diff --git a/server/public/assets/index-BJwrnf9g.css b/server/public/assets/index-BJwrnf9g.css new file mode 100644 index 00000000..e9c5b429 --- /dev/null +++ b/server/public/assets/index-BJwrnf9g.css @@ -0,0 +1 @@ +*,: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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}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-feature-settings:normal;font-variation-settings:normal;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;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([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]:where(:not([hidden=until-found])){display:none}.\!container{width:100%!important}.container{width:100%}@media(min-width:640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media(min-width:768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media(min-width:1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media(min-width:1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media(min-width:1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.panel{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));padding:.125rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.panel-section{--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity));padding:.125rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.panel-muted{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.surface{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity));padding:.125rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.surface-muted{--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity));padding:.125rem;--tw-text-opacity: 1;color:rgb(245 245 245 / var(--tw-text-opacity))}.field-input{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity));padding:.125rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.field-input:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(14 165 233 / var(--tw-ring-opacity))}.button-dark{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity));padding:.125rem;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.button-dark:hover{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.button-danger{--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity));padding:.125rem;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.button-danger:hover{--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}.rainbow-animate-bg{background:linear-gradient(270deg,red,#ff7f00,#ffff00b3,#0f0,#00f,indigo,#8b00ff);background-size:1400% 1400%;animation:rainbowBG 300s ease infinite}@keyframes rainbowBG{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.\!visible{visibility:visible!important}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.bottom-0{bottom:0}.bottom-0\.5{bottom:.125rem}.left-0{left:0}.left-1{left:.25rem}.left-1\/2{left:50%}.right-1{right:.25rem}.top-0{top:0}.top-0\.5{top:.125rem}.top-1{top:.25rem}.top-1\/2{top:50%}.top-10{top:2.5rem}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.col-span-full{grid-column:1 / -1}.m-0\.5{margin:.125rem}.mx-auto{margin-left:auto;margin-right:auto}.mr-2{margin-right:.5rem}.mt-0\.5{margin-top:.125rem}.mt-2{margin-top:.5rem}.\!block{display:block!important}.block{display:block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.aspect-video{aspect-ratio:16 / 9}.h-10{height:2.5rem}.h-12{height:3rem}.h-2{height:.5rem}.h-28{height:7rem}.h-4{height:1rem}.h-40{height:10rem}.h-48{height:12rem}.h-52{height:13rem}.h-64{height:16rem}.h-\[220px\]{height:220px}.h-\[260px\]{height:260px}.h-\[70\%\]{height:70%}.h-full{height:100%}.h-screen{height:100vh}.max-h-40{max-height:10rem}.max-h-80{max-height:20rem}.max-h-\[85vh\]{max-height:85vh}.max-h-\[90vh\]{max-height:90vh}.min-h-0{min-height:0px}.min-h-\[14rem\]{min-height:14rem}.min-h-\[16rem\]{min-height:16rem}.min-h-screen{min-height:100vh}.w-1\/2{width:50%}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-28{width:7rem}.w-4{width:1rem}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-\[10rem\]{min-width:10rem}.min-w-\[12rem\]{min-width:12rem}.max-w-4xl{max-width:56rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-\[1\.1\]{flex:1.1}.flex-\[1\.8\]{flex:1.8}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-not-allowed{cursor:not-allowed}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\[minmax\(0\,0\.7fr\)_minmax\(0\,2\.1fr\)_minmax\(0\,0\.7fr\)\]{grid-template-columns:minmax(0,.7fr) minmax(0,2.1fr) minmax(0,.7fr)}.grid-cols-\[minmax\(0\,1fr\)_minmax\(0\,1fr\)\]{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.grid-rows-\[1fr_1fr_auto\]{grid-template-rows:1fr 1fr auto}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-nowrap{text-wrap:nowrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-amber-400\/30{border-color:#fbbf244d}.border-cyan-500\/40{border-color:#06b6d466}.border-emerald-700{--tw-border-opacity: 1;border-color:rgb(4 120 87 / var(--tw-border-opacity))}.border-indigo-400\/30{border-color:#818cf84d}.border-rose-800{--tw-border-opacity: 1;border-color:rgb(159 18 57 / var(--tw-border-opacity))}.border-slate-600{--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity))}.border-slate-700{--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}.border-slate-800{--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}.border-white\/40{border-color:#fff6}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.bg-amber-500\/30{background-color:#f59e0b4d}.bg-amber-600{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}.bg-amber-700{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}.bg-amber-900{--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}.bg-amber-900\/60{background-color:#78350f99}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-black\/20{background-color:#0003}.bg-black\/30{background-color:#0000004d}.bg-black\/60{background-color:#0009}.bg-black\/70{background-color:#000000b3}.bg-black\/80{background-color:#000c}.bg-black\/85{background-color:#000000d9}.bg-cyan-300\/80{background-color:#67e8f9cc}.bg-cyan-400\/10{background-color:#22d3ee1a}.bg-cyan-500{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}.bg-cyan-600{--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}.bg-cyan-800{--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}.bg-emerald-400{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}.bg-emerald-500\/30{background-color:#10b9814d}.bg-emerald-600{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}.bg-emerald-700{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}.bg-emerald-800{--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}.bg-emerald-900{--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}.bg-emerald-900\/80{background-color:#064e3bcc}.bg-fuchsia-600{--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.bg-indigo-500\/30{background-color:#6366f14d}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-indigo-700{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.bg-indigo-900\/20{background-color:#312e8133}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-red-500\/30{background-color:#ef44444d}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-red-900\/40{background-color:#7f1d1d66}.bg-red-900\/60{background-color:#7f1d1d99}.bg-rose-900\/80{background-color:#881337cc}.bg-sky-600{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}.bg-sky-700{--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}.bg-slate-500{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.bg-slate-600{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.bg-slate-700{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}.bg-slate-800{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.bg-slate-900{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}.bg-slate-900\/40{background-color:#0f172a66}.bg-transparent{background-color:transparent}.bg-zinc-900{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.bg-zinc-950{--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}.bg-zinc-950\/95{background-color:#09090bf2}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-indigo-500{--tw-gradient-from: #6366f1 var(--tw-gradient-from-position);--tw-gradient-to: rgb(99 102 241 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-purple-500{--tw-gradient-to: rgb(168 85 247 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #a855f7 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-pink-500{--tw-gradient-to: #ec4899 var(--tw-gradient-to-position)}.fill-slate-200{fill:#e2e8f0}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.px-0\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-\[2px\]{padding-top:2px;padding-bottom:2px}.pb-0\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.pr-0\.5{padding-right:.125rem}.pt-1{padding-top:.25rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[0\.65rem\]{font-size:.65rem}.text-\[0\.6rem\]{font-size:.6rem}.text-\[0\.75rem\]{font-size:.75rem}.text-\[0\.7rem\]{font-size:.7rem}.text-\[0\.85rem\]{font-size:.85rem}.text-\[0\.8rem\]{font-size:.8rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-tight{line-height:1.25}.tracking-wide{letter-spacing:.025em}.text-amber-100{--tw-text-opacity: 1;color:rgb(254 243 199 / var(--tw-text-opacity))}.text-amber-200{--tw-text-opacity: 1;color:rgb(253 230 138 / var(--tw-text-opacity))}.text-amber-300{--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity))}.text-amber-400{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity))}.text-amber-50{--tw-text-opacity: 1;color:rgb(255 251 235 / var(--tw-text-opacity))}.text-amber-900{--tw-text-opacity: 1;color:rgb(120 53 15 / var(--tw-text-opacity))}.text-amber-950{--tw-text-opacity: 1;color:rgb(69 26 3 / var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-black\/80{color:#000c}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.text-emerald-100{--tw-text-opacity: 1;color:rgb(209 250 229 / var(--tw-text-opacity))}.text-emerald-200{--tw-text-opacity: 1;color:rgb(167 243 208 / var(--tw-text-opacity))}.text-emerald-300{--tw-text-opacity: 1;color:rgb(110 231 183 / var(--tw-text-opacity))}.text-emerald-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity))}.text-emerald-50{--tw-text-opacity: 1;color:rgb(236 253 245 / var(--tw-text-opacity))}.text-emerald-50\/80{color:#ecfdf5cc}.text-emerald-950{--tw-text-opacity: 1;color:rgb(2 44 34 / var(--tw-text-opacity))}.text-indigo-100{--tw-text-opacity: 1;color:rgb(224 231 255 / var(--tw-text-opacity))}.text-indigo-200{--tw-text-opacity: 1;color:rgb(199 210 254 / var(--tw-text-opacity))}.text-indigo-50{--tw-text-opacity: 1;color:rgb(238 242 255 / var(--tw-text-opacity))}.text-lime-300{--tw-text-opacity: 1;color:rgb(190 242 100 / var(--tw-text-opacity))}.text-lime-400{--tw-text-opacity: 1;color:rgb(163 230 53 / var(--tw-text-opacity))}.text-red-100{--tw-text-opacity: 1;color:rgb(254 226 226 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-rose-50{--tw-text-opacity: 1;color:rgb(255 241 242 / var(--tw-text-opacity))}.text-sky-300{--tw-text-opacity: 1;color:rgb(125 211 252 / var(--tw-text-opacity))}.text-slate-100{--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}.text-slate-200{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}.text-slate-300{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.text-teal-400{--tw-text-opacity: 1;color:rgb(45 212 191 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-white\/90{color:#ffffffe6}.underline{text-decoration-line:underline}.accent-cyan-400{accent-color:#22d3ee}.accent-cyan-500{accent-color:#06b6d4}.accent-emerald-400{accent-color:#34d399}.opacity-50{opacity:.5}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px 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)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px 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-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px 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-black\/40{--tw-shadow-color: rgb(0 0 0 / .4);--tw-shadow: var(--tw-shadow-colored)}.outline{outline-style:solid}.outline-2{outline-width:2px}.outline-cyan-400\/60{outline-color:#22d3ee99}.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)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[height\]{transition-property:height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[width\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.no-touch-select{-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-touch-callout:none}.\[clip-path\:circle\(50\%\)\]{clip-path:circle(50%)}:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}body{margin:0;min-height:100vh;--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}*{scrollbar-width:thin;scrollbar-color:#3b82f6 rgba(255,255,255,.08)}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}*::-webkit-scrollbar{width:1px;height:1px}*::-webkit-scrollbar-track{background:#ffffff14}*::-webkit-scrollbar-thumb{background-color:#3b82f6;border-radius:9999px}.hover\:bg-amber-300:hover{--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}.hover\:bg-amber-500:hover{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.hover\:bg-cyan-400:hover{--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}.hover\:bg-emerald-400:hover{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}.hover\:bg-emerald-500:hover{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}.hover\:bg-emerald-600:hover{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}.hover\:bg-emerald-800:hover{--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}.hover\:bg-indigo-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:bg-indigo-600:hover{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.hover\:bg-rose-800:hover{--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}.hover\:bg-sky-500:hover{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.hover\:from-indigo-600:hover{--tw-gradient-from: #4f46e5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(79 70 229 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:via-purple-600:hover{--tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #9333ea var(--tw-gradient-via-position), var(--tw-gradient-to)}.hover\:to-pink-600:hover{--tw-gradient-to: #db2777 var(--tw-gradient-to-position)}.hover\:text-blue-500:hover{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:brightness-110:hover{--tw-brightness: brightness(1.1);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)}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-1:focus-visible{outline-width:1px}.focus-visible\:outline-offset-1:focus-visible{outline-offset:1px}.focus-visible\:outline-slate-500:focus-visible{outline-color:#64748b}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-emerald-400:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(52 211 153 / var(--tw-ring-opacity))}.focus-visible\:ring-indigo-400:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(129 140 248 / var(--tw-ring-opacity))}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-30:disabled{opacity:.3}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:hover\:bg-inherit:hover:disabled{background-color:inherit}@media(min-width:640px){.sm\:min-h-\[18rem\]{min-height:18rem}.sm\:basis-auto{flex-basis:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:items-center{align-items:center}}@media(min-width:768px){.md\:h-full{height:100%}.md\:h-screen{height:100vh}.md\:min-h-0{min-height:0px}.md\:min-h-\[22rem\]{min-height:22rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-\[minmax\(0\,1fr\)_18rem\]{grid-template-columns:minmax(0,1fr) 18rem}.md\:grid-cols-\[minmax\(0\,2fr\)_minmax\(0\,1fr\)\]{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}.md\:overflow-hidden{overflow:hidden}.md\:overflow-y-auto{overflow-y:auto}}@media(min-width:1024px){.lg\:grid-cols-\[minmax\(0\,1fr\)_20rem\]{grid-template-columns:minmax(0,1fr) 20rem}} diff --git a/server/public/assets/index-DpzaTbCt.css b/server/public/assets/index-DpzaTbCt.css deleted file mode 100644 index 1bf8af68..00000000 --- a/server/public/assets/index-DpzaTbCt.css +++ /dev/null @@ -1 +0,0 @@ -*,: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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}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-feature-settings:normal;font-variation-settings:normal;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;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([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]:where(:not([hidden=until-found])){display:none}.\!container{width:100%!important}.container{width:100%}@media(min-width:640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media(min-width:768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media(min-width:1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media(min-width:1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media(min-width:1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.panel{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));padding:.125rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.panel-section{--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity));padding:.125rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.panel-muted{font-size:.875rem;line-height:1.25rem;--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.surface{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity));padding:.125rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.surface-muted{--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity));padding:.125rem;--tw-text-opacity: 1;color:rgb(245 245 245 / var(--tw-text-opacity))}.field-input{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity));padding:.125rem;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.field-input:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(14 165 233 / var(--tw-ring-opacity))}.button-dark{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity));padding:.125rem;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.button-dark:hover{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.button-danger{--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity));padding:.125rem;font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity));transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.button-danger:hover{--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}.rainbow-animate-bg{background:linear-gradient(270deg,red,#ff7f00,#ffff00b3,#0f0,#00f,indigo,#8b00ff);background-size:1400% 1400%;animation:rainbowBG 300s ease infinite}@keyframes rainbowBG{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.\!visible{visibility:visible!important}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.bottom-0{bottom:0}.bottom-0\.5{bottom:.125rem}.left-0{left:0}.left-1{left:.25rem}.left-1\/2{left:50%}.right-0{right:0}.right-1{right:.25rem}.top-0{top:0}.top-0\.5{top:.125rem}.top-1{top:.25rem}.top-1\/2{top:50%}.top-10{top:2.5rem}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.col-span-full{grid-column:1 / -1}.m-0\.5{margin:.125rem}.mx-auto{margin-left:auto;margin-right:auto}.mr-2{margin-right:.5rem}.mt-0\.5{margin-top:.125rem}.mt-2{margin-top:.5rem}.\!block{display:block!important}.block{display:block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.aspect-video{aspect-ratio:16 / 9}.h-10{height:2.5rem}.h-12{height:3rem}.h-2{height:.5rem}.h-28{height:7rem}.h-4{height:1rem}.h-40{height:10rem}.h-48{height:12rem}.h-52{height:13rem}.h-6{height:1.5rem}.h-64{height:16rem}.h-\[220px\]{height:220px}.h-\[260px\]{height:260px}.h-\[70\%\]{height:70%}.h-full{height:100%}.h-screen{height:100vh}.max-h-40{max-height:10rem}.max-h-80{max-height:20rem}.max-h-\[85vh\]{max-height:85vh}.max-h-\[90vh\]{max-height:90vh}.min-h-0{min-height:0px}.min-h-\[14rem\]{min-height:14rem}.min-h-\[16rem\]{min-height:16rem}.min-h-screen{min-height:100vh}.w-1\/2{width:50%}.w-1\/4{width:25%}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-28{width:7rem}.w-4{width:1rem}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-\[10rem\]{min-width:10rem}.min-w-\[12rem\]{min-width:12rem}.max-w-4xl{max-width:56rem}.max-w-md{max-width:28rem}.max-w-sm{max-width:24rem}.flex-1{flex:1 1 0%}.flex-\[1\.1\]{flex:1.1}.flex-\[1\.8\]{flex:1.8}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-not-allowed{cursor:not-allowed}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\[minmax\(0\,0\.7fr\)_minmax\(0\,2\.1fr\)_minmax\(0\,0\.7fr\)\]{grid-template-columns:minmax(0,.7fr) minmax(0,2.1fr) minmax(0,.7fr)}.grid-cols-\[minmax\(0\,1fr\)_minmax\(0\,1fr\)\]{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.content-center{align-content:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.space-y-0\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.125rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.125rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-nowrap{text-wrap:nowrap}.break-words{overflow-wrap:break-word}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-amber-400\/30{border-color:#fbbf244d}.border-cyan-500\/40{border-color:#06b6d466}.border-emerald-700{--tw-border-opacity: 1;border-color:rgb(4 120 87 / var(--tw-border-opacity))}.border-indigo-400\/30{border-color:#818cf84d}.border-rose-800{--tw-border-opacity: 1;border-color:rgb(159 18 57 / var(--tw-border-opacity))}.border-slate-600{--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity))}.border-slate-700{--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}.border-slate-800{--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.bg-amber-500\/30{background-color:#f59e0b4d}.bg-amber-600{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}.bg-amber-700{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}.bg-amber-900{--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}.bg-amber-900\/60{background-color:#78350f99}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-black\/20{background-color:#0003}.bg-black\/30{background-color:#0000004d}.bg-black\/60{background-color:#0009}.bg-black\/70{background-color:#000000b3}.bg-black\/80{background-color:#000c}.bg-black\/85{background-color:#000000d9}.bg-cyan-300\/80{background-color:#67e8f9cc}.bg-cyan-400\/10{background-color:#22d3ee1a}.bg-cyan-500{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}.bg-cyan-600{--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}.bg-cyan-800{--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}.bg-emerald-400{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}.bg-emerald-500\/30{background-color:#10b9814d}.bg-emerald-600{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}.bg-emerald-700{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}.bg-emerald-800{--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}.bg-emerald-900{--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}.bg-emerald-900\/80{background-color:#064e3bcc}.bg-fuchsia-600{--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.bg-indigo-500\/30{background-color:#6366f14d}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-indigo-700{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.bg-indigo-900\/20{background-color:#312e8133}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-red-500\/30{background-color:#ef44444d}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-red-900\/40{background-color:#7f1d1d66}.bg-red-900\/60{background-color:#7f1d1d99}.bg-rose-900\/80{background-color:#881337cc}.bg-sky-600{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}.bg-sky-700{--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}.bg-slate-500{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.bg-slate-600{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.bg-slate-800{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.bg-slate-900{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}.bg-slate-900\/40{background-color:#0f172a66}.bg-transparent{background-color:transparent}.bg-zinc-900{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.bg-zinc-950{--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}.bg-zinc-950\/95{background-color:#09090bf2}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.from-indigo-500{--tw-gradient-from: #6366f1 var(--tw-gradient-from-position);--tw-gradient-to: rgb(99 102 241 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.via-purple-500{--tw-gradient-to: rgb(168 85 247 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #a855f7 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-pink-500{--tw-gradient-to: #ec4899 var(--tw-gradient-to-position)}.fill-slate-200{fill:#e2e8f0}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.px-0\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-\[2px\]{padding-top:2px;padding-bottom:2px}.pb-0\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.pr-0\.5{padding-right:.125rem}.pt-1{padding-top:.25rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[0\.65rem\]{font-size:.65rem}.text-\[0\.6rem\]{font-size:.6rem}.text-\[0\.75rem\]{font-size:.75rem}.text-\[0\.7rem\]{font-size:.7rem}.text-\[0\.85rem\]{font-size:.85rem}.text-\[0\.8rem\]{font-size:.8rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-tight{line-height:1.25}.tracking-wide{letter-spacing:.025em}.text-amber-100{--tw-text-opacity: 1;color:rgb(254 243 199 / var(--tw-text-opacity))}.text-amber-200{--tw-text-opacity: 1;color:rgb(253 230 138 / var(--tw-text-opacity))}.text-amber-300{--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity))}.text-amber-400{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity))}.text-amber-50{--tw-text-opacity: 1;color:rgb(255 251 235 / var(--tw-text-opacity))}.text-amber-900{--tw-text-opacity: 1;color:rgb(120 53 15 / var(--tw-text-opacity))}.text-amber-950{--tw-text-opacity: 1;color:rgb(69 26 3 / var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-black\/80{color:#000c}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.text-emerald-100{--tw-text-opacity: 1;color:rgb(209 250 229 / var(--tw-text-opacity))}.text-emerald-200{--tw-text-opacity: 1;color:rgb(167 243 208 / var(--tw-text-opacity))}.text-emerald-300{--tw-text-opacity: 1;color:rgb(110 231 183 / var(--tw-text-opacity))}.text-emerald-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity))}.text-emerald-50{--tw-text-opacity: 1;color:rgb(236 253 245 / var(--tw-text-opacity))}.text-emerald-50\/80{color:#ecfdf5cc}.text-emerald-950{--tw-text-opacity: 1;color:rgb(2 44 34 / var(--tw-text-opacity))}.text-indigo-100{--tw-text-opacity: 1;color:rgb(224 231 255 / var(--tw-text-opacity))}.text-indigo-200{--tw-text-opacity: 1;color:rgb(199 210 254 / var(--tw-text-opacity))}.text-indigo-50{--tw-text-opacity: 1;color:rgb(238 242 255 / var(--tw-text-opacity))}.text-lime-300{--tw-text-opacity: 1;color:rgb(190 242 100 / var(--tw-text-opacity))}.text-lime-400{--tw-text-opacity: 1;color:rgb(163 230 53 / var(--tw-text-opacity))}.text-red-100{--tw-text-opacity: 1;color:rgb(254 226 226 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-rose-50{--tw-text-opacity: 1;color:rgb(255 241 242 / var(--tw-text-opacity))}.text-sky-300{--tw-text-opacity: 1;color:rgb(125 211 252 / var(--tw-text-opacity))}.text-slate-100{--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}.text-slate-200{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}.text-slate-300{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-teal-400{--tw-text-opacity: 1;color:rgb(45 212 191 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-white\/90{color:#ffffffe6}.underline{text-decoration-line:underline}.accent-cyan-400{accent-color:#22d3ee}.accent-cyan-500{accent-color:#06b6d4}.accent-emerald-400{accent-color:#34d399}.opacity-50{opacity:.5}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px 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)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px 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-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px 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-black\/40{--tw-shadow-color: rgb(0 0 0 / .4);--tw-shadow: var(--tw-shadow-colored)}.outline{outline-style:solid}.outline-2{outline-width:2px}.outline-cyan-400\/60{outline-color:#22d3ee99}.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)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[height\]{transition-property:height;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[width\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.no-touch-select{-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none;-webkit-touch-callout:none}.\[clip-path\:circle\(50\%\)\]{clip-path:circle(50%)}:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}body{margin:0;min-height:100vh;--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity));--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}*{scrollbar-width:thin;scrollbar-color:#3b82f6 rgba(255,255,255,.08)}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}*::-webkit-scrollbar{width:1px;height:1px}*::-webkit-scrollbar-track{background:#ffffff14}*::-webkit-scrollbar-thumb{background-color:#3b82f6;border-radius:9999px}.hover\:bg-amber-300:hover{--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}.hover\:bg-amber-500:hover{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.hover\:bg-cyan-400:hover{--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}.hover\:bg-emerald-400:hover{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}.hover\:bg-emerald-500:hover{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}.hover\:bg-emerald-800:hover{--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}.hover\:bg-indigo-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:bg-rose-800:hover{--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}.hover\:bg-sky-500:hover{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.hover\:from-indigo-600:hover{--tw-gradient-from: #4f46e5 var(--tw-gradient-from-position);--tw-gradient-to: rgb(79 70 229 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.hover\:via-purple-600:hover{--tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), #9333ea var(--tw-gradient-via-position), var(--tw-gradient-to)}.hover\:to-pink-600:hover{--tw-gradient-to: #db2777 var(--tw-gradient-to-position)}.hover\:text-blue-500:hover{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:brightness-110:hover{--tw-brightness: brightness(1.1);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)}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-1:focus-visible{outline-width:1px}.focus-visible\:outline-offset-1:focus-visible{outline-offset:1px}.focus-visible\:outline-slate-500:focus-visible{outline-color:#64748b}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-30:disabled{opacity:.3}.disabled\:opacity-40:disabled{opacity:.4}.disabled\:opacity-50:disabled{opacity:.5}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:hover\:bg-inherit:hover:disabled{background-color:inherit}@media(min-width:640px){.sm\:min-h-\[18rem\]{min-height:18rem}.sm\:basis-auto{flex-basis:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:items-center{align-items:center}}@media(min-width:768px){.md\:h-full{height:100%}.md\:h-screen{height:100vh}.md\:min-h-0{min-height:0px}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-\[minmax\(0\,1fr\)_18rem\]{grid-template-columns:minmax(0,1fr) 18rem}.md\:overflow-hidden{overflow:hidden}.md\:overflow-y-auto{overflow-y:auto}}@media(min-width:1024px){.lg\:grid-cols-\[minmax\(0\,1fr\)_20rem\]{grid-template-columns:minmax(0,1fr) 20rem}} diff --git a/server/public/assets/index-cJvNDfdb.js b/server/public/assets/index-cJvNDfdb.js new file mode 100644 index 00000000..c1ee194d --- /dev/null +++ b/server/public/assets/index-cJvNDfdb.js @@ -0,0 +1,12 @@ +(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const f of document.querySelectorAll('link[rel="modulepreload"]'))u(f);new MutationObserver(f=>{for(const h of f)if(h.type==="childList")for(const m of h.addedNodes)m.tagName==="LINK"&&m.rel==="modulepreload"&&u(m)}).observe(document,{childList:!0,subtree:!0});function s(f){const h={};return f.integrity&&(h.integrity=f.integrity),f.referrerPolicy&&(h.referrerPolicy=f.referrerPolicy),f.crossOrigin==="use-credentials"?h.credentials="include":f.crossOrigin==="anonymous"?h.credentials="omit":h.credentials="same-origin",h}function u(f){if(f.ep)return;f.ep=!0;const h=s(f);fetch(f.href,h)}})();function lv(l){return l&&l.__esModule&&Object.prototype.hasOwnProperty.call(l,"default")?l.default:l}var jc={exports:{}},ni={};var Rm;function iv(){if(Rm)return ni;Rm=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.fragment");function s(u,f,h){var m=null;if(h!==void 0&&(m=""+h),f.key!==void 0&&(m=""+f.key),"key"in f){h={};for(var v in f)v!=="key"&&(h[v]=f[v])}else h=f;return f=h.ref,{$$typeof:l,type:u,key:m,ref:f!==void 0?f:null,props:h}}return ni.Fragment=i,ni.jsx=s,ni.jsxs=s,ni}var _m;function sv(){return _m||(_m=1,jc.exports=iv()),jc.exports}var o=sv(),Nc={exports:{}},fe={};var Mm;function rv(){if(Mm)return fe;Mm=1;var l=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),h=Symbol.for("react.consumer"),m=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),A=Symbol.for("react.activity"),C=Symbol.iterator;function w(q){return q===null||typeof q!="object"?null:(q=C&&q[C]||q["@@iterator"],typeof q=="function"?q:null)}var T={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,j={};function _(q,U,K){this.props=q,this.context=U,this.refs=j,this.updater=K||T}_.prototype.isReactComponent={},_.prototype.setState=function(q,U){if(typeof q!="object"&&typeof q!="function"&&q!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,q,U,"setState")},_.prototype.forceUpdate=function(q){this.updater.enqueueForceUpdate(this,q,"forceUpdate")};function k(){}k.prototype=_.prototype;function V(q,U,K){this.props=q,this.context=U,this.refs=j,this.updater=K||T}var I=V.prototype=new k;I.constructor=V,E(I,_.prototype),I.isPureReactComponent=!0;var ae=Array.isArray;function te(){}var Q={H:null,A:null,T:null,S:null},J=Object.prototype.hasOwnProperty;function ue(q,U,K){var G=K.ref;return{$$typeof:l,type:q,key:U,ref:G!==void 0?G:null,props:K}}function qe(q,U){return ue(q.type,U,q.props)}function be(q){return typeof q=="object"&&q!==null&&q.$$typeof===l}function me(q){var U={"=":"=0",":":"=2"};return"$"+q.replace(/[=:]/g,function(K){return U[K]})}var F=/\/+/g;function P(q,U){return typeof q=="object"&&q!==null&&q.key!=null?me(""+q.key):U.toString(36)}function $(q){switch(q.status){case"fulfilled":return q.value;case"rejected":throw q.reason;default:switch(typeof q.status=="string"?q.then(te,te):(q.status="pending",q.then(function(U){q.status==="pending"&&(q.status="fulfilled",q.value=U)},function(U){q.status==="pending"&&(q.status="rejected",q.reason=U)})),q.status){case"fulfilled":return q.value;case"rejected":throw q.reason}}throw q}function z(q,U,K,G,W){var ie=typeof q;(ie==="undefined"||ie==="boolean")&&(q=null);var oe=!1;if(q===null)oe=!0;else switch(ie){case"bigint":case"string":case"number":oe=!0;break;case"object":switch(q.$$typeof){case l:case i:oe=!0;break;case b:return oe=q._init,z(oe(q._payload),U,K,G,W)}}if(oe)return W=W(q),oe=G===""?"."+P(q,0):G,ae(W)?(K="",oe!=null&&(K=oe.replace(F,"$&/")+"/"),z(W,U,K,"",function(lt){return lt})):W!=null&&(be(W)&&(W=qe(W,K+(W.key==null||q&&q.key===W.key?"":(""+W.key).replace(F,"$&/")+"/")+oe)),U.push(W)),1;oe=0;var ze=G===""?".":G+":";if(ae(q))for(var pe=0;pe>>1,se=z[ne];if(0>>1;nef(K,Z))Gf(W,K)?(z[ne]=W,z[G]=Z,ne=G):(z[ne]=K,z[U]=Z,ne=U);else if(Gf(W,Z))z[ne]=W,z[G]=Z,ne=G;else break e}}return X}function f(z,X){var Z=z.sortIndex-X.sortIndex;return Z!==0?Z:z.id-X.id}if(l.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var h=performance;l.unstable_now=function(){return h.now()}}else{var m=Date,v=m.now();l.unstable_now=function(){return m.now()-v}}var g=[],y=[],b=1,A=null,C=3,w=!1,T=!1,E=!1,j=!1,_=typeof setTimeout=="function"?setTimeout:null,k=typeof clearTimeout=="function"?clearTimeout:null,V=typeof setImmediate<"u"?setImmediate:null;function I(z){for(var X=s(y);X!==null;){if(X.callback===null)u(y);else if(X.startTime<=z)u(y),X.sortIndex=X.expirationTime,i(g,X);else break;X=s(y)}}function ae(z){if(E=!1,I(z),!T)if(s(g)!==null)T=!0,te||(te=!0,me());else{var X=s(y);X!==null&&$(ae,X.startTime-z)}}var te=!1,Q=-1,J=5,ue=-1;function qe(){return j?!0:!(l.unstable_now()-uez&&qe());){var ne=A.callback;if(typeof ne=="function"){A.callback=null,C=A.priorityLevel;var se=ne(A.expirationTime<=z);if(z=l.unstable_now(),typeof se=="function"){A.callback=se,I(z),X=!0;break t}A===s(g)&&u(g),I(z)}else u(g);A=s(g)}if(A!==null)X=!0;else{var q=s(y);q!==null&&$(ae,q.startTime-z),X=!1}}break e}finally{A=null,C=Z,w=!1}X=void 0}}finally{X?me():te=!1}}}var me;if(typeof V=="function")me=function(){V(be)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,P=F.port2;F.port1.onmessage=be,me=function(){P.postMessage(null)}}else me=function(){_(be,0)};function $(z,X){Q=_(function(){z(l.unstable_now())},X)}l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(z){z.callback=null},l.unstable_forceFrameRate=function(z){0>z||125ne?(z.sortIndex=Z,i(y,z),s(g)===null&&z===s(y)&&(E?(k(Q),Q=-1):E=!0,$(ae,Z-ne))):(z.sortIndex=se,i(g,z),T||w||(T=!0,te||(te=!0,me()))),z},l.unstable_shouldYield=qe,l.unstable_wrapCallback=function(z){var X=C;return function(){var Z=C;C=X;try{return z.apply(this,arguments)}finally{C=Z}}}})(Tc)),Tc}var zm;function cv(){return zm||(zm=1,wc.exports=uv()),wc.exports}var Rc={exports:{}},at={};var km;function ov(){if(km)return at;km=1;var l=ro();function i(g){var y="https://react.dev/errors/"+g;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(i){console.error(i)}}return l(),Rc.exports=ov(),Rc.exports}var Um;function dv(){if(Um)return ai;Um=1;var l=cv(),i=ro(),s=fv();function u(e){var t="https://react.dev/errors/"+e;if(1se||(e.current=ne[se],ne[se]=null,se--)}function K(e,t){se++,ne[se]=e.current,e.current=t}var G=q(null),W=q(null),ie=q(null),oe=q(null);function ze(e,t){switch(K(ie,t),K(W,e),K(G,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Ph(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Ph(t),e=em(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}U(G),K(G,e)}function pe(){U(G),U(W),U(ie)}function lt(e){e.memoizedState!==null&&K(oe,e);var t=G.current,n=em(t,e.type);t!==n&&(K(W,e),K(G,n))}function An(e){W.current===e&&(U(G),U(W)),oe.current===e&&(U(oe),Il._currentValue=Z)}var va,vi;function $t(e){if(va===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);va=t&&t[1]||"",vi=-1)":-1r||S[a]!==O[r]){var L=` +`+S[a].replace(" at new "," at ");return e.displayName&&L.includes("")&&(L=L.replace("",e.displayName)),L}while(1<=a&&0<=r);break}}}finally{Sn=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?$t(n):""}function xi(e,t){switch(e.tag){case 26:case 27:case 5:return $t(e.type);case 16:return $t("Lazy");case 13:return e.child!==t&&t!==null?$t("Suspense Fallback"):$t("Suspense");case 19:return $t("SuspenseList");case 0:case 15:return $n(e.type,!1);case 11:return $n(e.type.render,!1);case 1:return $n(e.type,!0);case 31:return $t("Activity");default:return""}}function To(e){try{var t="",n=null;do t+=xi(e,n),n=e,e=e.return;while(e);return t}catch(a){return` +Error generating stack: `+a.message+` +`+a.stack}}var or=Object.prototype.hasOwnProperty,fr=l.unstable_scheduleCallback,dr=l.unstable_cancelCallback,k0=l.unstable_shouldYield,B0=l.unstable_requestPaint,ht=l.unstable_now,U0=l.unstable_getCurrentPriorityLevel,Ro=l.unstable_ImmediatePriority,_o=l.unstable_UserBlockingPriority,bi=l.unstable_NormalPriority,L0=l.unstable_LowPriority,Mo=l.unstable_IdlePriority,H0=l.log,Y0=l.unstable_setDisableYieldValue,ol=null,mt=null;function qn(e){if(typeof H0=="function"&&Y0(e),mt&&typeof mt.setStrictMode=="function")try{mt.setStrictMode(ol,e)}catch{}}var pt=Math.clz32?Math.clz32:G0,V0=Math.log,Q0=Math.LN2;function G0(e){return e>>>=0,e===0?32:31-(V0(e)/Q0|0)|0}var Ai=256,Si=262144,qi=4194304;function Fn(e){var t=e&42;if(t!==0)return t;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ei(e,t,n){var a=e.pendingLanes;if(a===0)return 0;var r=0,c=e.suspendedLanes,d=e.pingedLanes;e=e.warmLanes;var x=a&134217727;return x!==0?(a=x&~c,a!==0?r=Fn(a):(d&=x,d!==0?r=Fn(d):n||(n=x&~e,n!==0&&(r=Fn(n))))):(x=a&~c,x!==0?r=Fn(x):d!==0?r=Fn(d):n||(n=a&~e,n!==0&&(r=Fn(n)))),r===0?0:t!==0&&t!==r&&(t&c)===0&&(c=r&-r,n=t&-t,c>=n||c===32&&(n&4194048)!==0)?t:r}function fl(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function X0(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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 t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Oo(){var e=qi;return qi<<=1,(qi&62914560)===0&&(qi=4194304),e}function hr(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function dl(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function K0(e,t,n,a,r,c){var d=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var x=e.entanglements,S=e.expirationTimes,O=e.hiddenUpdates;for(n=d&~n;0"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var I0=/[\n"\\]/g;function Et(e){return e.replace(I0,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function xr(e,t,n,a,r,c,d,x){e.name="",d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"?e.type=d:e.removeAttribute("type"),t!=null?d==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+qt(t)):e.value!==""+qt(t)&&(e.value=""+qt(t)):d!=="submit"&&d!=="reset"||e.removeAttribute("value"),t!=null?br(e,d,qt(t)):n!=null?br(e,d,qt(n)):a!=null&&e.removeAttribute("value"),r==null&&c!=null&&(e.defaultChecked=!!c),r!=null&&(e.checked=r&&typeof r!="function"&&typeof r!="symbol"),x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?e.name=""+qt(x):e.removeAttribute("name")}function Ko(e,t,n,a,r,c,d,x){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),t!=null||n!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){vr(e);return}n=n!=null?""+qt(n):"",t=t!=null?""+qt(t):n,x||t===e.value||(e.value=t),e.defaultValue=t}a=a??r,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=x?e.checked:!!a,e.defaultChecked=!!a,d!=null&&typeof d!="function"&&typeof d!="symbol"&&typeof d!="boolean"&&(e.name=d),vr(e)}function br(e,t,n){t==="number"&&Ci(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function Ea(e,t,n,a){if(e=e.options,t){t={};for(var r=0;r"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),jr=!1;if(It)try{var yl={};Object.defineProperty(yl,"passive",{get:function(){jr=!0}}),window.addEventListener("test",yl,yl),window.removeEventListener("test",yl,yl)}catch{jr=!1}var jn=null,Nr=null,Ti=null;function Po(){if(Ti)return Ti;var e,t=Nr,n=t.length,a,r="value"in jn?jn.value:jn.textContent,c=r.length;for(e=0;e=xl),sf=" ",rf=!1;function uf(e,t){switch(e){case"keyup":return Ny.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function cf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var wa=!1;function wy(e,t){switch(e){case"compositionend":return cf(t);case"keypress":return t.which!==32?null:(rf=!0,sf);case"textInput":return e=t.data,e===sf&&rf?null:e;default:return null}}function Ty(e,t){if(wa)return e==="compositionend"||!_r&&uf(e,t)?(e=Po(),Ti=Nr=jn=null,wa=!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=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=gf(n)}}function xf(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?xf(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function bf(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ci(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ci(e.document)}return t}function Dr(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")}var By=It&&"documentMode"in document&&11>=document.documentMode,Ta=null,zr=null,ql=null,kr=!1;function Af(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;kr||Ta==null||Ta!==Ci(a)||(a=Ta,"selectionStart"in a&&Dr(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),ql&&Sl(ql,a)||(ql=a,a=Ss(zr,"onSelect"),0>=d,r-=d,Vt=1<<32-pt(t)+r|n<he?(xe=le,le=null):xe=le.sibling;var je=D(R,le,M[he],H);if(je===null){le===null&&(le=xe);break}e&&le&&je.alternate===null&&t(R,le),N=c(je,N,he),Ee===null?re=je:Ee.sibling=je,Ee=je,le=xe}if(he===M.length)return n(R,le),Ae&&en(R,he),re;if(le===null){for(;hehe?(xe=le,le=null):xe=le.sibling;var Zn=D(R,le,je.value,H);if(Zn===null){le===null&&(le=xe);break}e&&le&&Zn.alternate===null&&t(R,le),N=c(Zn,N,he),Ee===null?re=Zn:Ee.sibling=Zn,Ee=Zn,le=xe}if(je.done)return n(R,le),Ae&&en(R,he),re;if(le===null){for(;!je.done;he++,je=M.next())je=Y(R,je.value,H),je!==null&&(N=c(je,N,he),Ee===null?re=je:Ee.sibling=je,Ee=je);return Ae&&en(R,he),re}for(le=a(le);!je.done;he++,je=M.next())je=B(le,R,he,je.value,H),je!==null&&(e&&je.alternate!==null&&le.delete(je.key===null?he:je.key),N=c(je,N,he),Ee===null?re=je:Ee.sibling=je,Ee=je);return e&&le.forEach(function(av){return t(R,av)}),Ae&&en(R,he),re}function _e(R,N,M,H){if(typeof M=="object"&&M!==null&&M.type===E&&M.key===null&&(M=M.props.children),typeof M=="object"&&M!==null){switch(M.$$typeof){case w:e:{for(var re=M.key;N!==null;){if(N.key===re){if(re=M.type,re===E){if(N.tag===7){n(R,N.sibling),H=r(N,M.props.children),H.return=R,R=H;break e}}else if(N.elementType===re||typeof re=="object"&&re!==null&&re.$$typeof===J&&ra(re)===N.type){n(R,N.sibling),H=r(N,M.props),Tl(H,M),H.return=R,R=H;break e}n(R,N);break}else t(R,N);N=N.sibling}M.type===E?(H=na(M.props.children,R.mode,H,M.key),H.return=R,R=H):(H=Li(M.type,M.key,M.props,null,R.mode,H),Tl(H,M),H.return=R,R=H)}return d(R);case T:e:{for(re=M.key;N!==null;){if(N.key===re)if(N.tag===4&&N.stateNode.containerInfo===M.containerInfo&&N.stateNode.implementation===M.implementation){n(R,N.sibling),H=r(N,M.children||[]),H.return=R,R=H;break e}else{n(R,N);break}else t(R,N);N=N.sibling}H=Qr(M,R.mode,H),H.return=R,R=H}return d(R);case J:return M=ra(M),_e(R,N,M,H)}if($(M))return ee(R,N,M,H);if(me(M)){if(re=me(M),typeof re!="function")throw Error(u(150));return M=re.call(M),ce(R,N,M,H)}if(typeof M.then=="function")return _e(R,N,Ki(M),H);if(M.$$typeof===V)return _e(R,N,Vi(R,M),H);Zi(R,M)}return typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint"?(M=""+M,N!==null&&N.tag===6?(n(R,N.sibling),H=r(N,M),H.return=R,R=H):(n(R,N),H=Vr(M,R.mode,H),H.return=R,R=H),d(R)):n(R,N)}return function(R,N,M,H){try{wl=0;var re=_e(R,N,M,H);return Ha=null,re}catch(le){if(le===La||le===Gi)throw le;var Ee=gt(29,le,null,R.mode);return Ee.lanes=H,Ee.return=R,Ee}finally{}}}var ca=Gf(!0),Xf=Gf(!1),Rn=!1;function tu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function nu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function _n(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Mn(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(Ne&2)!==0){var r=a.pending;return r===null?t.next=t:(t.next=r.next,r.next=t),a.pending=t,t=Ui(e),wf(e,null,n),t}return Bi(e,a,t,n),Ui(e)}function Rl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,zo(e,n)}}function au(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var r=null,c=null;if(n=n.firstBaseUpdate,n!==null){do{var d={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};c===null?r=c=d:c=c.next=d,n=n.next}while(n!==null);c===null?r=c=t:c=c.next=t}else r=c=t;n={baseState:a.baseState,firstBaseUpdate:r,lastBaseUpdate:c,shared:a.shared,callbacks:a.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var lu=!1;function _l(){if(lu){var e=Ua;if(e!==null)throw e}}function Ml(e,t,n,a){lu=!1;var r=e.updateQueue;Rn=!1;var c=r.firstBaseUpdate,d=r.lastBaseUpdate,x=r.shared.pending;if(x!==null){r.shared.pending=null;var S=x,O=S.next;S.next=null,d===null?c=O:d.next=O,d=S;var L=e.alternate;L!==null&&(L=L.updateQueue,x=L.lastBaseUpdate,x!==d&&(x===null?L.firstBaseUpdate=O:x.next=O,L.lastBaseUpdate=S))}if(c!==null){var Y=r.baseState;d=0,L=O=S=null,x=c;do{var D=x.lane&-536870913,B=D!==x.lane;if(B?(ve&D)===D:(a&D)===D){D!==0&&D===Ba&&(lu=!0),L!==null&&(L=L.next={lane:0,tag:x.tag,payload:x.payload,callback:null,next:null});e:{var ee=e,ce=x;D=t;var _e=n;switch(ce.tag){case 1:if(ee=ce.payload,typeof ee=="function"){Y=ee.call(_e,Y,D);break e}Y=ee;break e;case 3:ee.flags=ee.flags&-65537|128;case 0:if(ee=ce.payload,D=typeof ee=="function"?ee.call(_e,Y,D):ee,D==null)break e;Y=A({},Y,D);break e;case 2:Rn=!0}}D=x.callback,D!==null&&(e.flags|=64,B&&(e.flags|=8192),B=r.callbacks,B===null?r.callbacks=[D]:B.push(D))}else B={lane:D,tag:x.tag,payload:x.payload,callback:x.callback,next:null},L===null?(O=L=B,S=Y):L=L.next=B,d|=D;if(x=x.next,x===null){if(x=r.shared.pending,x===null)break;B=x,x=B.next,B.next=null,r.lastBaseUpdate=B,r.shared.pending=null}}while(!0);L===null&&(S=Y),r.baseState=S,r.firstBaseUpdate=O,r.lastBaseUpdate=L,c===null&&(r.shared.lanes=0),Bn|=d,e.lanes=d,e.memoizedState=Y}}function Kf(e,t){if(typeof e!="function")throw Error(u(191,e));e.call(t)}function Zf(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;ec?c:8;var d=z.T,x={};z.T=x,qu(e,!1,t,n);try{var S=r(),O=z.S;if(O!==null&&O(x,S),S!==null&&typeof S=="object"&&typeof S.then=="function"){var L=Ky(S,a);zl(e,t,L,St(e))}else zl(e,t,a,St(e))}catch(Y){zl(e,t,{then:function(){},status:"rejected",reason:Y},St())}finally{X.p=c,d!==null&&x.types!==null&&(d.types=x.types),z.T=d}}function Iy(){}function Au(e,t,n,a){if(e.tag!==5)throw Error(u(476));var r=jd(e).queue;Ed(e,r,t,Z,n===null?Iy:function(){return Nd(e),n(a)})}function jd(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Z,baseState:Z,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ln,lastRenderedState:Z},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ln,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Nd(e){var t=jd(e);t.next===null&&(t=e.alternate.memoizedState),zl(e,t.next.queue,{},St())}function Su(){return et(Il)}function Cd(){return Ye().memoizedState}function wd(){return Ye().memoizedState}function Py(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=St();e=_n(n);var a=Mn(t,e,n);a!==null&&(dt(a,t,n),Rl(a,t,n)),t={cache:Wr()},e.payload=t;return}t=t.return}}function eg(e,t,n){var a=St();n={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},as(e)?Rd(t,n):(n=Hr(e,t,n,a),n!==null&&(dt(n,e,a),_d(n,t,a)))}function Td(e,t,n){var a=St();zl(e,t,n,a)}function zl(e,t,n,a){var r={lane:a,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(as(e))Rd(t,r);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var d=t.lastRenderedState,x=c(d,n);if(r.hasEagerState=!0,r.eagerState=x,yt(x,d))return Bi(e,t,r,0),Me===null&&ki(),!1}catch{}finally{}if(n=Hr(e,t,r,a),n!==null)return dt(n,e,a),_d(n,t,a),!0}return!1}function qu(e,t,n,a){if(a={lane:2,revertLane:tc(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},as(e)){if(t)throw Error(u(479))}else t=Hr(e,n,a,2),t!==null&&dt(t,e,2)}function as(e){var t=e.alternate;return e===de||t!==null&&t===de}function Rd(e,t){Va=Fi=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function _d(e,t,n){if((n&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,zo(e,n)}}var kl={readContext:et,use:Pi,useCallback:Ue,useContext:Ue,useEffect:Ue,useImperativeHandle:Ue,useLayoutEffect:Ue,useInsertionEffect:Ue,useMemo:Ue,useReducer:Ue,useRef:Ue,useState:Ue,useDebugValue:Ue,useDeferredValue:Ue,useTransition:Ue,useSyncExternalStore:Ue,useId:Ue,useHostTransitionStatus:Ue,useFormState:Ue,useActionState:Ue,useOptimistic:Ue,useMemoCache:Ue,useCacheRefresh:Ue};kl.useEffectEvent=Ue;var Md={readContext:et,use:Pi,useCallback:function(e,t){return it().memoizedState=[e,t===void 0?null:t],e},useContext:et,useEffect:pd,useImperativeHandle:function(e,t,n){n=n!=null?n.concat([e]):null,ts(4194308,4,xd.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ts(4194308,4,e,t)},useInsertionEffect:function(e,t){ts(4,2,e,t)},useMemo:function(e,t){var n=it();t=t===void 0?null:t;var a=e();if(oa){qn(!0);try{e()}finally{qn(!1)}}return n.memoizedState=[a,t],a},useReducer:function(e,t,n){var a=it();if(n!==void 0){var r=n(t);if(oa){qn(!0);try{n(t)}finally{qn(!1)}}}else r=t;return a.memoizedState=a.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},a.queue=e,e=e.dispatch=eg.bind(null,de,e),[a.memoizedState,e]},useRef:function(e){var t=it();return e={current:e},t.memoizedState=e},useState:function(e){e=yu(e);var t=e.queue,n=Td.bind(null,de,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:xu,useDeferredValue:function(e,t){var n=it();return bu(n,e,t)},useTransition:function(){var e=yu(!1);return e=Ed.bind(null,de,e.queue,!0,!1),it().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var a=de,r=it();if(Ae){if(n===void 0)throw Error(u(407));n=n()}else{if(n=t(),Me===null)throw Error(u(349));(ve&127)!==0||Pf(a,t,n)}r.memoizedState=n;var c={value:n,getSnapshot:t};return r.queue=c,pd(td.bind(null,a,c,e),[e]),a.flags|=2048,Ga(9,{destroy:void 0},ed.bind(null,a,c,n,t),null),n},useId:function(){var e=it(),t=Me.identifierPrefix;if(Ae){var n=Qt,a=Vt;n=(a&~(1<<32-pt(a)-1)).toString(32)+n,t="_"+t+"R_"+n,n=Wi++,0<\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof a.is=="string"?d.createElement("select",{is:a.is}):d.createElement("select"),a.multiple?c.multiple=!0:a.size&&(c.size=a.size);break;default:c=typeof a.is=="string"?d.createElement(r,{is:a.is}):d.createElement(r)}}c[Ie]=t,c[st]=a;e:for(d=t.child;d!==null;){if(d.tag===5||d.tag===6)c.appendChild(d.stateNode);else if(d.tag!==4&&d.tag!==27&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===t)break e;for(;d.sibling===null;){if(d.return===null||d.return===t)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}t.stateNode=c;e:switch(nt(c,r,a),r){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&rn(t)}}return De(t),Bu(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&rn(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(u(166));if(e=ie.current,za(t)){if(e=t.stateNode,n=t.memoizedProps,a=null,r=Pe,r!==null)switch(r.tag){case 27:case 5:a=r.memoizedProps}e[Ie]=t,e=!!(e.nodeValue===n||a!==null&&a.suppressHydrationWarning===!0||Wh(e.nodeValue,n)),e||wn(t,!0)}else e=qs(e).createTextNode(a),e[Ie]=t,t.stateNode=e}return De(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(a=za(t),n!==null){if(e===null){if(!a)throw Error(u(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(557));e[Ie]=t}else aa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;De(t),e=!1}else n=Zr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(xt(t),t):(xt(t),null);if((t.flags&128)!==0)throw Error(u(558))}return De(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(r=za(t),a!==null&&a.dehydrated!==null){if(e===null){if(!r)throw Error(u(318));if(r=t.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(u(317));r[Ie]=t}else aa(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;De(t),r=!1}else r=Zr(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return t.flags&256?(xt(t),t):(xt(t),null)}return xt(t),(t.flags&128)!==0?(t.lanes=n,t):(n=a!==null,e=e!==null&&e.memoizedState!==null,n&&(a=t.child,r=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(r=a.alternate.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==r&&(a.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),us(t,t.updateQueue),De(t),null);case 4:return pe(),e===null&&ic(t.stateNode.containerInfo),De(t),null;case 10:return nn(t.type),De(t),null;case 19:if(U(He),a=t.memoizedState,a===null)return De(t),null;if(r=(t.flags&128)!==0,c=a.rendering,c===null)if(r)Ul(a,!1);else{if(Le!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=$i(e),c!==null){for(t.flags|=128,Ul(a,!1),e=c.updateQueue,t.updateQueue=e,us(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)Tf(n,e),n=n.sibling;return K(He,He.current&1|2),Ae&&en(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&ht()>hs&&(t.flags|=128,r=!0,Ul(a,!1),t.lanes=4194304)}else{if(!r)if(e=$i(c),e!==null){if(t.flags|=128,r=!0,e=e.updateQueue,t.updateQueue=e,us(t,e),Ul(a,!0),a.tail===null&&a.tailMode==="hidden"&&!c.alternate&&!Ae)return De(t),null}else 2*ht()-a.renderingStartTime>hs&&n!==536870912&&(t.flags|=128,r=!0,Ul(a,!1),t.lanes=4194304);a.isBackwards?(c.sibling=t.child,t.child=c):(e=a.last,e!==null?e.sibling=c:t.child=c,a.last=c)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=ht(),e.sibling=null,n=He.current,K(He,r?n&1|2:n&1),Ae&&en(t,a.treeForkCount),e):(De(t),null);case 22:case 23:return xt(t),su(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(n&536870912)!==0&&(t.flags&128)===0&&(De(t),t.subtreeFlags&6&&(t.flags|=8192)):De(t),n=t.updateQueue,n!==null&&us(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),e!==null&&U(sa),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),nn(Qe),De(t),null;case 25:return null;case 30:return null}throw Error(u(156,t.tag))}function ig(e,t){switch(Xr(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return nn(Qe),pe(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return An(t),null;case 31:if(t.memoizedState!==null){if(xt(t),t.alternate===null)throw Error(u(340));aa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(xt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(u(340));aa()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(He),null;case 4:return pe(),null;case 10:return nn(t.type),null;case 22:case 23:return xt(t),su(),e!==null&&U(sa),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return nn(Qe),null;case 25:return null;default:return null}}function nh(e,t){switch(Xr(t),t.tag){case 3:nn(Qe),pe();break;case 26:case 27:case 5:An(t);break;case 4:pe();break;case 31:t.memoizedState!==null&&xt(t);break;case 13:xt(t);break;case 19:U(He);break;case 10:nn(t.type);break;case 22:case 23:xt(t),su(),e!==null&&U(sa);break;case 24:nn(Qe)}}function Ll(e,t){try{var n=t.updateQueue,a=n!==null?n.lastEffect:null;if(a!==null){var r=a.next;n=r;do{if((n.tag&e)===e){a=void 0;var c=n.create,d=n.inst;a=c(),d.destroy=a}n=n.next}while(n!==r)}}catch(x){we(t,t.return,x)}}function zn(e,t,n){try{var a=t.updateQueue,r=a!==null?a.lastEffect:null;if(r!==null){var c=r.next;a=c;do{if((a.tag&e)===e){var d=a.inst,x=d.destroy;if(x!==void 0){d.destroy=void 0,r=t;var S=n,O=x;try{O()}catch(L){we(r,S,L)}}}a=a.next}while(a!==c)}}catch(L){we(t,t.return,L)}}function ah(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Zf(t,n)}catch(a){we(e,e.return,a)}}}function lh(e,t,n){n.props=fa(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(a){we(e,t,a)}}function Hl(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof n=="function"?e.refCleanup=n(a):n.current=a}}catch(r){we(e,t,r)}}function Gt(e,t){var n=e.ref,a=e.refCleanup;if(n!==null)if(typeof a=="function")try{a()}catch(r){we(e,t,r)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n=="function")try{n(null)}catch(r){we(e,t,r)}else n.current=null}function ih(e){var t=e.type,n=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&a.focus();break e;case"img":n.src?a.src=n.src:n.srcSet&&(a.srcset=n.srcSet)}}catch(r){we(e,e.return,r)}}function Uu(e,t,n){try{var a=e.stateNode;Cg(a,e.type,n,t),a[st]=t}catch(r){we(e,e.return,r)}}function sh(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Vn(e.type)||e.tag===4}function Lu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||sh(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.tag===27&&Vn(e.type)||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 Hu(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Wt));else if(a!==4&&(a===27&&Vn(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(Hu(e,t,n),e=e.sibling;e!==null;)Hu(e,t,n),e=e.sibling}function cs(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(a===27&&Vn(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(cs(e,t,n),e=e.sibling;e!==null;)cs(e,t,n),e=e.sibling}function rh(e){var t=e.stateNode,n=e.memoizedProps;try{for(var a=e.type,r=t.attributes;r.length;)t.removeAttributeNode(r[0]);nt(t,a,n),t[Ie]=e,t[st]=n}catch(c){we(e,e.return,c)}}var un=!1,Ke=!1,Yu=!1,uh=typeof WeakSet=="function"?WeakSet:Set,We=null;function sg(e,t){if(e=e.containerInfo,uc=Rs,e=bf(e),Dr(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var r=a.anchorOffset,c=a.focusNode;a=a.focusOffset;try{n.nodeType,c.nodeType}catch{n=null;break e}var d=0,x=-1,S=-1,O=0,L=0,Y=e,D=null;t:for(;;){for(var B;Y!==n||r!==0&&Y.nodeType!==3||(x=d+r),Y!==c||a!==0&&Y.nodeType!==3||(S=d+a),Y.nodeType===3&&(d+=Y.nodeValue.length),(B=Y.firstChild)!==null;)D=Y,Y=B;for(;;){if(Y===e)break t;if(D===n&&++O===r&&(x=d),D===c&&++L===a&&(S=d),(B=Y.nextSibling)!==null)break;Y=D,D=Y.parentNode}Y=B}n=x===-1||S===-1?null:{start:x,end:S}}else n=null}n=n||{start:0,end:0}}else n=null;for(cc={focusedElem:e,selectionRange:n},Rs=!1,We=t;We!==null;)if(t=We,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,We=e;else for(;We!==null;){switch(t=We,c=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(n=0;n title"))),nt(c,a,n),c[Ie]=e,Fe(c),a=c;break e;case"link":var d=mm("link","href",r).get(a+(n.href||""));if(d){for(var x=0;x_e&&(d=_e,_e=ce,ce=d);var R=vf(x,ce),N=vf(x,_e);if(R&&N&&(B.rangeCount!==1||B.anchorNode!==R.node||B.anchorOffset!==R.offset||B.focusNode!==N.node||B.focusOffset!==N.offset)){var M=Y.createRange();M.setStart(R.node,R.offset),B.removeAllRanges(),ce>_e?(B.addRange(M),B.extend(N.node,N.offset)):(M.setEnd(N.node,N.offset),B.addRange(M))}}}}for(Y=[],B=x;B=B.parentNode;)B.nodeType===1&&Y.push({element:B,left:B.scrollLeft,top:B.scrollTop});for(typeof x.focus=="function"&&x.focus(),x=0;xn?32:n,z.T=null,n=Ju,Ju=null;var c=Ln,d=hn;if($e=0,$a=Ln=null,hn=0,(Ne&6)!==0)throw Error(u(331));var x=Ne;if(Ne|=4,xh(c.current),yh(c,c.current,d,n),Ne=x,Kl(0,!1),mt&&typeof mt.onPostCommitFiberRoot=="function")try{mt.onPostCommitFiberRoot(ol,c)}catch{}return!0}finally{X.p=r,z.T=a,Bh(e,t)}}function Lh(e,t,n){t=Nt(n,t),t=Cu(e.stateNode,t,2),e=Mn(e,t,2),e!==null&&(dl(e,2),Xt(e))}function we(e,t,n){if(e.tag===3)Lh(e,e,n);else for(;t!==null;){if(t.tag===3){Lh(t,e,n);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Un===null||!Un.has(a))){e=Nt(n,e),n=Hd(2),a=Mn(t,n,2),a!==null&&(Yd(n,a,t,e),dl(a,2),Xt(a));break}}t=t.return}}function Iu(e,t,n){var a=e.pingCache;if(a===null){a=e.pingCache=new cg;var r=new Set;a.set(t,r)}else r=a.get(t),r===void 0&&(r=new Set,a.set(t,r));r.has(n)||(Gu=!0,r.add(n),e=mg.bind(null,e,t,n),t.then(e,e))}function mg(e,t,n){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Me===e&&(ve&n)===n&&(Le===4||Le===3&&(ve&62914560)===ve&&300>ht()-ds?(Ne&2)===0&&Fa(e,0):Xu|=n,Ja===ve&&(Ja=0)),Xt(e)}function Hh(e,t){t===0&&(t=Oo()),e=ta(e,t),e!==null&&(dl(e,t),Xt(e))}function pg(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Hh(e,n)}function yg(e,t){var n=0;switch(e.tag){case 31:case 13:var a=e.stateNode,r=e.memoizedState;r!==null&&(n=r.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(u(314))}a!==null&&a.delete(t),Hh(e,n)}function gg(e,t){return fr(e,t)}var xs=null,Ia=null,Pu=!1,bs=!1,ec=!1,Yn=0;function Xt(e){e!==Ia&&e.next===null&&(Ia===null?xs=Ia=e:Ia=Ia.next=e),bs=!0,Pu||(Pu=!0,xg())}function Kl(e,t){if(!ec&&bs){ec=!0;do for(var n=!1,a=xs;a!==null;){if(e!==0){var r=a.pendingLanes;if(r===0)var c=0;else{var d=a.suspendedLanes,x=a.pingedLanes;c=(1<<31-pt(42|e)+1)-1,c&=r&~(d&~x),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(n=!0,Gh(a,c))}else c=ve,c=Ei(a,a===Me?c:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(c&3)===0||fl(a,c)||(n=!0,Gh(a,c));a=a.next}while(n);ec=!1}}function vg(){Yh()}function Yh(){bs=Pu=!1;var e=0;Yn!==0&&Tg()&&(e=Yn);for(var t=ht(),n=null,a=xs;a!==null;){var r=a.next,c=Vh(a,t);c===0?(a.next=null,n===null?xs=r:n.next=r,r===null&&(Ia=n)):(n=a,(e!==0||(c&3)!==0)&&(bs=!0)),a=r}$e!==0&&$e!==5||Kl(e),Yn!==0&&(Yn=0)}function Vh(e,t){for(var n=e.suspendedLanes,a=e.pingedLanes,r=e.expirationTimes,c=e.pendingLanes&-62914561;0x)break;var L=S.transferSize,Y=S.initiatorType;L&&Ih(Y)&&(S=S.responseEnd,d+=L*(S"u"?null:document;function om(e,t,n){var a=Pa;if(a&&typeof t=="string"&&t){var r=Et(t);r='link[rel="'+e+'"][href="'+r+'"]',typeof n=="string"&&(r+='[crossorigin="'+n+'"]'),cm.has(r)||(cm.add(r),e={rel:e,crossOrigin:n,href:t},a.querySelector(r)===null&&(t=a.createElement("link"),nt(t,"link",e),Fe(t),a.head.appendChild(t)))}}function Ug(e){mn.D(e),om("dns-prefetch",e,null)}function Lg(e,t){mn.C(e,t),om("preconnect",e,t)}function Hg(e,t,n){mn.L(e,t,n);var a=Pa;if(a&&e&&t){var r='link[rel="preload"][as="'+Et(t)+'"]';t==="image"&&n&&n.imageSrcSet?(r+='[imagesrcset="'+Et(n.imageSrcSet)+'"]',typeof n.imageSizes=="string"&&(r+='[imagesizes="'+Et(n.imageSizes)+'"]')):r+='[href="'+Et(e)+'"]';var c=r;switch(t){case"style":c=el(e);break;case"script":c=tl(e)}Mt.has(c)||(e=A({rel:"preload",href:t==="image"&&n&&n.imageSrcSet?void 0:e,as:t},n),Mt.set(c,e),a.querySelector(r)!==null||t==="style"&&a.querySelector(Fl(c))||t==="script"&&a.querySelector(Wl(c))||(t=a.createElement("link"),nt(t,"link",e),Fe(t),a.head.appendChild(t)))}}function Yg(e,t){mn.m(e,t);var n=Pa;if(n&&e){var a=t&&typeof t.as=="string"?t.as:"script",r='link[rel="modulepreload"][as="'+Et(a)+'"][href="'+Et(e)+'"]',c=r;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=tl(e)}if(!Mt.has(c)&&(e=A({rel:"modulepreload",href:e},t),Mt.set(c,e),n.querySelector(r)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Wl(c)))return}a=n.createElement("link"),nt(a,"link",e),Fe(a),n.head.appendChild(a)}}}function Vg(e,t,n){mn.S(e,t,n);var a=Pa;if(a&&e){var r=Sa(a).hoistableStyles,c=el(e);t=t||"default";var d=r.get(c);if(!d){var x={loading:0,preload:null};if(d=a.querySelector(Fl(c)))x.loading=5;else{e=A({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Mt.get(c))&&yc(e,n);var S=d=a.createElement("link");Fe(S),nt(S,"link",e),S._p=new Promise(function(O,L){S.onload=O,S.onerror=L}),S.addEventListener("load",function(){x.loading|=1}),S.addEventListener("error",function(){x.loading|=2}),x.loading|=4,js(d,t,a)}d={type:"stylesheet",instance:d,count:1,state:x},r.set(c,d)}}}function Qg(e,t){mn.X(e,t);var n=Pa;if(n&&e){var a=Sa(n).hoistableScripts,r=tl(e),c=a.get(r);c||(c=n.querySelector(Wl(r)),c||(e=A({src:e,async:!0},t),(t=Mt.get(r))&&gc(e,t),c=n.createElement("script"),Fe(c),nt(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(r,c))}}function Gg(e,t){mn.M(e,t);var n=Pa;if(n&&e){var a=Sa(n).hoistableScripts,r=tl(e),c=a.get(r);c||(c=n.querySelector(Wl(r)),c||(e=A({src:e,async:!0,type:"module"},t),(t=Mt.get(r))&&gc(e,t),c=n.createElement("script"),Fe(c),nt(c,"link",e),n.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},a.set(r,c))}}function fm(e,t,n,a){var r=(r=ie.current)?Es(r):null;if(!r)throw Error(u(446));switch(e){case"meta":case"title":return null;case"style":return typeof n.precedence=="string"&&typeof n.href=="string"?(t=el(n.href),n=Sa(r).hoistableStyles,a=n.get(t),a||(a={type:"style",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(n.rel==="stylesheet"&&typeof n.href=="string"&&typeof n.precedence=="string"){e=el(n.href);var c=Sa(r).hoistableStyles,d=c.get(e);if(d||(r=r.ownerDocument||r,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,d),(c=r.querySelector(Fl(e)))&&!c._p&&(d.instance=c,d.state.loading=5),Mt.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Mt.set(e,n),c||Xg(r,e,n,d.state))),t&&a===null)throw Error(u(528,""));return d}if(t&&a!==null)throw Error(u(529,""));return null;case"script":return t=n.async,n=n.src,typeof n=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=tl(n),n=Sa(r).hoistableScripts,a=n.get(t),a||(a={type:"script",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(u(444,e))}}function el(e){return'href="'+Et(e)+'"'}function Fl(e){return'link[rel="stylesheet"]['+e+"]"}function dm(e){return A({},e,{"data-precedence":e.precedence,precedence:null})}function Xg(e,t,n,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),nt(t,"link",n),Fe(t),e.head.appendChild(t))}function tl(e){return'[src="'+Et(e)+'"]'}function Wl(e){return"script[async]"+e}function hm(e,t,n){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+Et(n.href)+'"]');if(a)return t.instance=a,Fe(a),a;var r=A({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),Fe(a),nt(a,"style",r),js(a,n.precedence,e),t.instance=a;case"stylesheet":r=el(n.href);var c=e.querySelector(Fl(r));if(c)return t.state.loading|=4,t.instance=c,Fe(c),c;a=dm(n),(r=Mt.get(r))&&yc(a,r),c=(e.ownerDocument||e).createElement("link"),Fe(c);var d=c;return d._p=new Promise(function(x,S){d.onload=x,d.onerror=S}),nt(c,"link",a),t.state.loading|=4,js(c,n.precedence,e),t.instance=c;case"script":return c=tl(n.src),(r=e.querySelector(Wl(c)))?(t.instance=r,Fe(r),r):(a=n,(r=Mt.get(c))&&(a=A({},n),gc(a,r)),e=e.ownerDocument||e,r=e.createElement("script"),Fe(r),nt(r,"link",a),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(u(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,js(a,n.precedence,e));return t.instance}function js(e,t,n){for(var a=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),r=a.length?a[a.length-1]:null,c=r,d=0;d title"):null)}function Kg(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function ym(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Zg(e,t,n,a){if(n.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(n.state.loading&4)===0){if(n.instance===null){var r=el(a.href),c=t.querySelector(Fl(r));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Cs.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=c,Fe(c);return}c=t.ownerDocument||t,a=dm(a),(r=Mt.get(r))&&yc(a,r),c=c.createElement("link"),Fe(c);var d=c;d._p=new Promise(function(x,S){d.onload=x,d.onerror=S}),nt(c,"link",a),n.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&(n.state.loading&3)===0&&(e.count++,n=Cs.bind(e),t.addEventListener("load",n),t.addEventListener("error",n))}}var vc=0;function Jg(e,t){return e.stylesheets&&e.count===0&&Ts(e,e.stylesheets),0vc?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(r)}}:null}function Cs(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ts(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var ws=null;function Ts(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,ws=new Map,t.forEach($g,e),ws=null,Cs.call(e))}function $g(e,t){if(!(t.state.loading&4)){var n=ws.get(e);if(n)var a=n.get(null);else{n=new Map,ws.set(e,n);for(var r=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(l)}catch(i){console.error(i)}}return l(),Cc.exports=dv(),Cc.exports}var mv=hv();var Hm="popstate";function pv(l={}){function i(u,f){let{pathname:h,search:m,hash:v}=u.location;return Kc("",{pathname:h,search:m,hash:v},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function s(u,f){return typeof f=="string"?f:fi(f)}return gv(i,s,null,l)}function Be(l,i){if(l===!1||l===null||typeof l>"u")throw new Error(i)}function Ht(l,i){if(!l){typeof console<"u"&&console.warn(i);try{throw new Error(i)}catch{}}}function yv(){return Math.random().toString(36).substring(2,10)}function Ym(l,i){return{usr:l.state,key:l.key,idx:i}}function Kc(l,i,s=null,u){return{pathname:typeof l=="string"?l:l.pathname,search:"",hash:"",...typeof i=="string"?rl(i):i,state:s,key:i&&i.key||u||yv()}}function fi({pathname:l="/",search:i="",hash:s=""}){return i&&i!=="?"&&(l+=i.charAt(0)==="?"?i:"?"+i),s&&s!=="#"&&(l+=s.charAt(0)==="#"?s:"#"+s),l}function rl(l){let i={};if(l){let s=l.indexOf("#");s>=0&&(i.hash=l.substring(s),l=l.substring(0,s));let u=l.indexOf("?");u>=0&&(i.search=l.substring(u),l=l.substring(0,u)),l&&(i.pathname=l)}return i}function gv(l,i,s,u={}){let{window:f=document.defaultView,v5Compat:h=!1}=u,m=f.history,v="POP",g=null,y=b();y==null&&(y=0,m.replaceState({...m.state,idx:y},""));function b(){return(m.state||{idx:null}).idx}function A(){v="POP";let j=b(),_=j==null?null:j-y;y=j,g&&g({action:v,location:E.location,delta:_})}function C(j,_){v="PUSH";let k=Kc(E.location,j,_);y=b()+1;let V=Ym(k,y),I=E.createHref(k);try{m.pushState(V,"",I)}catch(ae){if(ae instanceof DOMException&&ae.name==="DataCloneError")throw ae;f.location.assign(I)}h&&g&&g({action:v,location:E.location,delta:1})}function w(j,_){v="REPLACE";let k=Kc(E.location,j,_);y=b();let V=Ym(k,y),I=E.createHref(k);m.replaceState(V,"",I),h&&g&&g({action:v,location:E.location,delta:0})}function T(j){return vv(j)}let E={get action(){return v},get location(){return l(f,m)},listen(j){if(g)throw new Error("A history only accepts one active listener");return f.addEventListener(Hm,A),g=j,()=>{f.removeEventListener(Hm,A),g=null}},createHref(j){return i(f,j)},createURL:T,encodeLocation(j){let _=T(j);return{pathname:_.pathname,search:_.search,hash:_.hash}},push:C,replace:w,go(j){return m.go(j)}};return E}function vv(l,i=!1){let s="http://localhost";typeof window<"u"&&(s=window.location.origin!=="null"?window.location.origin:window.location.href),Be(s,"No window.location.(origin|href) available to create URL");let u=typeof l=="string"?l:fi(l);return u=u.replace(/ $/,"%20"),!i&&u.startsWith("//")&&(u=s+u),new URL(u,s)}function Ep(l,i,s="/"){return xv(l,i,s,!1)}function xv(l,i,s,u){let f=typeof i=="string"?rl(i):i,h=xn(f.pathname||"/",s);if(h==null)return null;let m=jp(l);bv(m);let v=null;for(let g=0;v==null&&g{let b={relativePath:y===void 0?m.path||"":y,caseSensitive:m.caseSensitive===!0,childrenIndex:v,route:m};if(b.relativePath.startsWith("/")){if(!b.relativePath.startsWith(u)&&g)return;Be(b.relativePath.startsWith(u),`Absolute route path "${b.relativePath}" nested under path "${u}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),b.relativePath=b.relativePath.slice(u.length)}let A=gn([u,b.relativePath]),C=s.concat(b);m.children&&m.children.length>0&&(Be(m.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${A}".`),jp(m.children,i,C,A,g)),!(m.path==null&&!m.index)&&i.push({path:A,score:Cv(A,m.index),routesMeta:C})};return l.forEach((m,v)=>{if(m.path===""||!m.path?.includes("?"))h(m,v);else for(let g of Np(m.path))h(m,v,!0,g)}),i}function Np(l){let i=l.split("/");if(i.length===0)return[];let[s,...u]=i,f=s.endsWith("?"),h=s.replace(/\?$/,"");if(u.length===0)return f?[h,""]:[h];let m=Np(u.join("/")),v=[];return v.push(...m.map(g=>g===""?h:[h,g].join("/"))),f&&v.push(...m),v.map(g=>l.startsWith("/")&&g===""?"/":g)}function bv(l){l.sort((i,s)=>i.score!==s.score?s.score-i.score:wv(i.routesMeta.map(u=>u.childrenIndex),s.routesMeta.map(u=>u.childrenIndex)))}var Av=/^:[\w-]+$/,Sv=3,qv=2,Ev=1,jv=10,Nv=-2,Vm=l=>l==="*";function Cv(l,i){let s=l.split("/"),u=s.length;return s.some(Vm)&&(u+=Nv),i&&(u+=qv),s.filter(f=>!Vm(f)).reduce((f,h)=>f+(Av.test(h)?Sv:h===""?Ev:jv),u)}function wv(l,i){return l.length===i.length&&l.slice(0,-1).every((u,f)=>u===i[f])?l[l.length-1]-i[i.length-1]:0}function Tv(l,i,s=!1){let{routesMeta:u}=l,f={},h="/",m=[];for(let v=0;v{if(b==="*"){let T=v[C]||"";m=h.slice(0,h.length-T.length).replace(/(.)\/+$/,"$1")}const w=v[C];return A&&!w?y[b]=void 0:y[b]=(w||"").replace(/%2F/g,"/"),y},{}),pathname:h,pathnameBase:m,pattern:l}}function Rv(l,i=!1,s=!0){Ht(l==="*"||!l.endsWith("*")||l.endsWith("/*"),`Route path "${l}" will be treated as if it were "${l.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${l.replace(/\*$/,"/*")}".`);let u=[],f="^"+l.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(m,v,g)=>(u.push({paramName:v,isOptional:g!=null}),g?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return l.endsWith("*")?(u.push({paramName:"*"}),f+=l==="*"||l==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):s?f+="\\/*$":l!==""&&l!=="/"&&(f+="(?:(?=\\/|$))"),[new RegExp(f,i?void 0:"i"),u]}function _v(l){try{return l.split("/").map(i=>decodeURIComponent(i).replace(/\//g,"%2F")).join("/")}catch(i){return Ht(!1,`The URL path "${l}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${i}).`),l}}function xn(l,i){if(i==="/")return l;if(!l.toLowerCase().startsWith(i.toLowerCase()))return null;let s=i.endsWith("/")?i.length-1:i.length,u=l.charAt(s);return u&&u!=="/"?null:l.slice(s)||"/"}var Mv=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ov=l=>Mv.test(l);function Dv(l,i="/"){let{pathname:s,search:u="",hash:f=""}=typeof l=="string"?rl(l):l,h;if(s)if(Ov(s))h=s;else{if(s.includes("//")){let m=s;s=s.replace(/\/\/+/g,"/"),Ht(!1,`Pathnames cannot have embedded double slashes - normalizing ${m} -> ${s}`)}s.startsWith("/")?h=Qm(s.substring(1),"/"):h=Qm(s,i)}else h=i;return{pathname:h,search:Bv(u),hash:Uv(f)}}function Qm(l,i){let s=i.replace(/\/+$/,"").split("/");return l.split("/").forEach(f=>{f===".."?s.length>1&&s.pop():f!=="."&&s.push(f)}),s.length>1?s.join("/"):"/"}function _c(l,i,s,u){return`Cannot include a '${l}' character in a manually specified \`to.${i}\` field [${JSON.stringify(u)}]. Please separate it out to the \`to.${s}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function zv(l){return l.filter((i,s)=>s===0||i.route.path&&i.route.path.length>0)}function Cp(l){let i=zv(l);return i.map((s,u)=>u===i.length-1?s.pathname:s.pathnameBase)}function wp(l,i,s,u=!1){let f;typeof l=="string"?f=rl(l):(f={...l},Be(!f.pathname||!f.pathname.includes("?"),_c("?","pathname","search",f)),Be(!f.pathname||!f.pathname.includes("#"),_c("#","pathname","hash",f)),Be(!f.search||!f.search.includes("#"),_c("#","search","hash",f)));let h=l===""||f.pathname==="",m=h?"/":f.pathname,v;if(m==null)v=s;else{let A=i.length-1;if(!u&&m.startsWith("..")){let C=m.split("/");for(;C[0]==="..";)C.shift(),A-=1;f.pathname=C.join("/")}v=A>=0?i[A]:"/"}let g=Dv(f,v),y=m&&m!=="/"&&m.endsWith("/"),b=(h||m===".")&&s.endsWith("/");return!g.pathname.endsWith("/")&&(y||b)&&(g.pathname+="/"),g}var gn=l=>l.join("/").replace(/\/\/+/g,"/"),kv=l=>l.replace(/\/+$/,"").replace(/^\/*/,"/"),Bv=l=>!l||l==="?"?"":l.startsWith("?")?l:"?"+l,Uv=l=>!l||l==="#"?"":l.startsWith("#")?l:"#"+l;function Lv(l){return l!=null&&typeof l.status=="number"&&typeof l.statusText=="string"&&typeof l.internal=="boolean"&&"data"in l}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Tp=["POST","PUT","PATCH","DELETE"];new Set(Tp);var Hv=["GET",...Tp];new Set(Hv);var ul=p.createContext(null);ul.displayName="DataRouter";var nr=p.createContext(null);nr.displayName="DataRouterState";p.createContext(!1);var Rp=p.createContext({isTransitioning:!1});Rp.displayName="ViewTransition";var Yv=p.createContext(new Map);Yv.displayName="Fetchers";var Vv=p.createContext(null);Vv.displayName="Await";var Jt=p.createContext(null);Jt.displayName="Navigation";var hi=p.createContext(null);hi.displayName="Location";var bn=p.createContext({outlet:null,matches:[],isDataRoute:!1});bn.displayName="Route";var uo=p.createContext(null);uo.displayName="RouteError";function Qv(l,{relative:i}={}){Be(mi(),"useHref() may be used only in the context of a component.");let{basename:s,navigator:u}=p.useContext(Jt),{hash:f,pathname:h,search:m}=pi(l,{relative:i}),v=h;return s!=="/"&&(v=h==="/"?s:gn([s,h])),u.createHref({pathname:v,search:m,hash:f})}function mi(){return p.useContext(hi)!=null}function ya(){return Be(mi(),"useLocation() may be used only in the context of a component."),p.useContext(hi).location}var _p="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Mp(l){p.useContext(Jt).static||p.useLayoutEffect(l)}function Gv(){let{isDataRoute:l}=p.useContext(bn);return l?ax():Xv()}function Xv(){Be(mi(),"useNavigate() may be used only in the context of a component.");let l=p.useContext(ul),{basename:i,navigator:s}=p.useContext(Jt),{matches:u}=p.useContext(bn),{pathname:f}=ya(),h=JSON.stringify(Cp(u)),m=p.useRef(!1);return Mp(()=>{m.current=!0}),p.useCallback((g,y={})=>{if(Ht(m.current,_p),!m.current)return;if(typeof g=="number"){s.go(g);return}let b=wp(g,JSON.parse(h),f,y.relative==="path");l==null&&i!=="/"&&(b.pathname=b.pathname==="/"?i:gn([i,b.pathname])),(y.replace?s.replace:s.push)(b,y.state,y)},[i,s,h,f,l])}p.createContext(null);function pi(l,{relative:i}={}){let{matches:s}=p.useContext(bn),{pathname:u}=ya(),f=JSON.stringify(Cp(s));return p.useMemo(()=>wp(l,JSON.parse(f),u,i==="path"),[l,f,u,i])}function Kv(l,i){return Op(l,i)}function Op(l,i,s,u,f){Be(mi(),"useRoutes() may be used only in the context of a component.");let{navigator:h}=p.useContext(Jt),{matches:m}=p.useContext(bn),v=m[m.length-1],g=v?v.params:{},y=v?v.pathname:"/",b=v?v.pathnameBase:"/",A=v&&v.route;{let k=A&&A.path||"";Dp(y,!A||k.endsWith("*")||k.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${y}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. + +Please change the parent to .`)}let C=ya(),w;if(i){let k=typeof i=="string"?rl(i):i;Be(b==="/"||k.pathname?.startsWith(b),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${b}" but pathname "${k.pathname}" was given in the \`location\` prop.`),w=k}else w=C;let T=w.pathname||"/",E=T;if(b!=="/"){let k=b.replace(/^\//,"").split("/");E="/"+T.replace(/^\//,"").split("/").slice(k.length).join("/")}let j=Ep(l,{pathname:E});Ht(A||j!=null,`No routes matched location "${w.pathname}${w.search}${w.hash}" `),Ht(j==null||j[j.length-1].route.element!==void 0||j[j.length-1].route.Component!==void 0||j[j.length-1].route.lazy!==void 0,`Matched leaf route at location "${w.pathname}${w.search}${w.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let _=Wv(j&&j.map(k=>Object.assign({},k,{params:Object.assign({},g,k.params),pathname:gn([b,h.encodeLocation?h.encodeLocation(k.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:k.pathname]),pathnameBase:k.pathnameBase==="/"?b:gn([b,h.encodeLocation?h.encodeLocation(k.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:k.pathnameBase])})),m,s,u,f);return i&&_?p.createElement(hi.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...w},navigationType:"POP"}},_):_}function Zv(){let l=nx(),i=Lv(l)?`${l.status} ${l.statusText}`:l instanceof Error?l.message:JSON.stringify(l),s=l instanceof Error?l.stack:null,u="rgba(200,200,200, 0.5)",f={padding:"0.5rem",backgroundColor:u},h={padding:"2px 4px",backgroundColor:u},m=null;return console.error("Error handled by React Router default ErrorBoundary:",l),m=p.createElement(p.Fragment,null,p.createElement("p",null,"💿 Hey developer 👋"),p.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",p.createElement("code",{style:h},"ErrorBoundary")," or"," ",p.createElement("code",{style:h},"errorElement")," prop on your route.")),p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},i),s?p.createElement("pre",{style:f},s):null,m)}var Jv=p.createElement(Zv,null),$v=class extends p.Component{constructor(l){super(l),this.state={location:l.location,revalidation:l.revalidation,error:l.error}}static getDerivedStateFromError(l){return{error:l}}static getDerivedStateFromProps(l,i){return i.location!==l.location||i.revalidation!=="idle"&&l.revalidation==="idle"?{error:l.error,location:l.location,revalidation:l.revalidation}:{error:l.error!==void 0?l.error:i.error,location:i.location,revalidation:l.revalidation||i.revalidation}}componentDidCatch(l,i){this.props.onError?this.props.onError(l,i):console.error("React Router caught the following error during render",l)}render(){return this.state.error!==void 0?p.createElement(bn.Provider,{value:this.props.routeContext},p.createElement(uo.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Fv({routeContext:l,match:i,children:s}){let u=p.useContext(ul);return u&&u.static&&u.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(u.staticContext._deepestRenderedBoundaryId=i.route.id),p.createElement(bn.Provider,{value:l},s)}function Wv(l,i=[],s=null,u=null,f=null){if(l==null){if(!s)return null;if(s.errors)l=s.matches;else if(i.length===0&&!s.initialized&&s.matches.length>0)l=s.matches;else return null}let h=l,m=s?.errors;if(m!=null){let b=h.findIndex(A=>A.route.id&&m?.[A.route.id]!==void 0);Be(b>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(m).join(",")}`),h=h.slice(0,Math.min(h.length,b+1))}let v=!1,g=-1;if(s)for(let b=0;b=0?h=h.slice(0,g+1):h=[h[0]];break}}}let y=s&&u?(b,A)=>{u(b,{location:s.location,params:s.matches?.[0]?.params??{},errorInfo:A})}:void 0;return h.reduceRight((b,A,C)=>{let w,T=!1,E=null,j=null;s&&(w=m&&A.route.id?m[A.route.id]:void 0,E=A.route.errorElement||Jv,v&&(g<0&&C===0?(Dp("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),T=!0,j=null):g===C&&(T=!0,j=A.route.hydrateFallbackElement||null)));let _=i.concat(h.slice(0,C+1)),k=()=>{let V;return w?V=E:T?V=j:A.route.Component?V=p.createElement(A.route.Component,null):A.route.element?V=A.route.element:V=b,p.createElement(Fv,{match:A,routeContext:{outlet:b,matches:_,isDataRoute:s!=null},children:V})};return s&&(A.route.ErrorBoundary||A.route.errorElement||C===0)?p.createElement($v,{location:s.location,revalidation:s.revalidation,component:E,error:w,children:k(),routeContext:{outlet:null,matches:_,isDataRoute:!0},onError:y}):k()},null)}function co(l){return`${l} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Iv(l){let i=p.useContext(ul);return Be(i,co(l)),i}function Pv(l){let i=p.useContext(nr);return Be(i,co(l)),i}function ex(l){let i=p.useContext(bn);return Be(i,co(l)),i}function oo(l){let i=ex(l),s=i.matches[i.matches.length-1];return Be(s.route.id,`${l} can only be used on routes that contain a unique "id"`),s.route.id}function tx(){return oo("useRouteId")}function nx(){let l=p.useContext(uo),i=Pv("useRouteError"),s=oo("useRouteError");return l!==void 0?l:i.errors?.[s]}function ax(){let{router:l}=Iv("useNavigate"),i=oo("useNavigate"),s=p.useRef(!1);return Mp(()=>{s.current=!0}),p.useCallback(async(f,h={})=>{Ht(s.current,_p),s.current&&(typeof f=="number"?l.navigate(f):await l.navigate(f,{fromRouteId:i,...h}))},[l,i])}var Gm={};function Dp(l,i,s){!i&&!Gm[l]&&(Gm[l]=!0,Ht(!1,s))}p.memo(lx);function lx({routes:l,future:i,state:s,unstable_onError:u}){return Op(l,void 0,s,u,i)}function Zc(l){Be(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function ix({basename:l="/",children:i=null,location:s,navigationType:u="POP",navigator:f,static:h=!1}){Be(!mi(),"You cannot render a inside another . You should never have more than one in your app.");let m=l.replace(/^\/*/,"/"),v=p.useMemo(()=>({basename:m,navigator:f,static:h,future:{}}),[m,f,h]);typeof s=="string"&&(s=rl(s));let{pathname:g="/",search:y="",hash:b="",state:A=null,key:C="default"}=s,w=p.useMemo(()=>{let T=xn(g,m);return T==null?null:{location:{pathname:T,search:y,hash:b,state:A,key:C},navigationType:u}},[m,g,y,b,A,C,u]);return Ht(w!=null,` is not able to match the URL "${g}${y}${b}" because it does not start with the basename, so the won't render anything.`),w==null?null:p.createElement(Jt.Provider,{value:v},p.createElement(hi.Provider,{children:i,value:w}))}function sx({children:l,location:i}){return Kv(Jc(l),i)}function Jc(l,i=[]){let s=[];return p.Children.forEach(l,(u,f)=>{if(!p.isValidElement(u))return;let h=[...i,f];if(u.type===p.Fragment){s.push.apply(s,Jc(u.props.children,h));return}Be(u.type===Zc,`[${typeof u.type=="string"?u.type:u.type.name}] is not a component. All component children of must be a or `),Be(!u.props.index||!u.props.children,"An index route cannot have child routes.");let m={id:u.props.id||h.join("-"),caseSensitive:u.props.caseSensitive,element:u.props.element,Component:u.props.Component,index:u.props.index,path:u.props.path,middleware:u.props.middleware,loader:u.props.loader,action:u.props.action,hydrateFallbackElement:u.props.hydrateFallbackElement,HydrateFallback:u.props.HydrateFallback,errorElement:u.props.errorElement,ErrorBoundary:u.props.ErrorBoundary,hasErrorBoundary:u.props.hasErrorBoundary===!0||u.props.ErrorBoundary!=null||u.props.errorElement!=null,shouldRevalidate:u.props.shouldRevalidate,handle:u.props.handle,lazy:u.props.lazy};u.props.children&&(m.children=Jc(u.props.children,h)),s.push(m)}),s}var Xs="get",Ks="application/x-www-form-urlencoded";function ar(l){return l!=null&&typeof l.tagName=="string"}function rx(l){return ar(l)&&l.tagName.toLowerCase()==="button"}function ux(l){return ar(l)&&l.tagName.toLowerCase()==="form"}function cx(l){return ar(l)&&l.tagName.toLowerCase()==="input"}function ox(l){return!!(l.metaKey||l.altKey||l.ctrlKey||l.shiftKey)}function fx(l,i){return l.button===0&&(!i||i==="_self")&&!ox(l)}var Bs=null;function dx(){if(Bs===null)try{new FormData(document.createElement("form"),0),Bs=!1}catch{Bs=!0}return Bs}var hx=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Mc(l){return l!=null&&!hx.has(l)?(Ht(!1,`"${l}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Ks}"`),null):l}function mx(l,i){let s,u,f,h,m;if(ux(l)){let v=l.getAttribute("action");u=v?xn(v,i):null,s=l.getAttribute("method")||Xs,f=Mc(l.getAttribute("enctype"))||Ks,h=new FormData(l)}else if(rx(l)||cx(l)&&(l.type==="submit"||l.type==="image")){let v=l.form;if(v==null)throw new Error('Cannot submit a + ) : null + } + /> + + ); +} + +function ActionButton({ title, description, statuses, onClick, disabled, tone, keyAction, keymap }) { + const colors = + tone === 'indigo' + ? 'bg-indigo-700 hover:bg-indigo-600 focus-visible:ring-indigo-400' + : 'bg-emerald-700 hover:bg-emerald-600 focus-visible:ring-emerald-400'; + const keyLabel = keyAction ? formatKeyLabel(keymap?.[keyAction]?.[0]) : ''; + return ( + + ); +} + +function KeyPill({ label }) { + return {label}; +} + +function StatusPill({ label, active }) { + return ( + + {label} + + ); +} + +function InlineCameraTilt({ keymap }) { + const { + state: { roverId, camera }, + actions: { setServoAngle }, + } = useControlSystem(); + + const config = camera?.config; + const enabled = Boolean(roverId && camera?.enabled && config); + const min = typeof config?.minAngle === 'number' ? config.minAngle : -30; + const max = typeof config?.maxAngle === 'number' ? config.maxAngle : 30; + const value = + typeof camera?.angle === 'number' + ? camera.angle + : typeof config?.homeAngle === 'number' + ? config.homeAngle + : (min + max) / 2; + + const [pendingAngle, setPendingAngle] = useState(value); + const throttleRef = useRef(null); + const draggingRef = useRef(false); + + useEffect(() => { + if (!draggingRef.current) { + setPendingAngle(value); + } + }, [value]); + + useEffect( + () => () => { + if (throttleRef.current) { + clearTimeout(throttleRef.current); + } + }, + [], + ); + + const scheduleSend = (next) => { + if (throttleRef.current) { + clearTimeout(throttleRef.current); + } + throttleRef.current = setTimeout(() => { + setServoAngle(next); + }, 150); + }; + + const handleSlider = (event) => { + const next = Number.parseFloat(event.target.value); + if (Number.isNaN(next)) return; + draggingRef.current = true; + setPendingAngle(next); + scheduleSend(next); + }; + + const commitSlider = () => { + draggingRef.current = false; + if (throttleRef.current) { + clearTimeout(throttleRef.current); + } + setServoAngle(pendingAngle); + }; + + if (!enabled) return null; + const upLabel = formatKeyLabel(keymap?.cameraUp?.[0]); + const downLabel = formatKeyLabel(keymap?.cameraDown?.[0]); + + return ( +
+
+ Camera tilt + {formatDegrees(value)} +
+
+ +
+ + {downLabel ? : null} + {formatDegrees(min)} + + + {formatDegrees(max)} + {upLabel ? : null} + +
+
+
+ ); +} + +function formatDegrees(value) { + if (typeof value !== 'number' || Number.isNaN(value)) return '—'; + return `${value > 0 ? '+' : ''}${value.toFixed(1)}°`; +} diff --git a/webui/src/components/RightPaneTabs.jsx b/webui/src/components/RightPaneTabs.jsx index a05556c3..f3f3d75e 100644 --- a/webui/src/components/RightPaneTabs.jsx +++ b/webui/src/components/RightPaneTabs.jsx @@ -1,6 +1,5 @@ import TelemetryPanel from './TelemetryPanel.jsx'; -import DrivePanel from './DrivePanel.jsx'; -import CameraServoPanel from './CameraServoPanel.jsx'; +import ControlSummary from './ControlSummary.jsx'; import RoomCameraPanel from './RoomCameraPanel.jsx'; import HomeAssistantControls from './HomeAssistantControls.jsx'; import SettingsPanel from './SettingsPanel.jsx'; @@ -19,11 +18,10 @@ export default function RightPaneTabs({ layout, onOpenHelpOverlay }) {
- + -
diff --git a/webui/src/components/TelemetryPanel.jsx b/webui/src/components/TelemetryPanel.jsx index 2f58d485..5dd8d024 100644 --- a/webui/src/components/TelemetryPanel.jsx +++ b/webui/src/components/TelemetryPanel.jsx @@ -1,7 +1,6 @@ -import { useMemo, useState } from 'react'; +import { useMemo } from 'react'; import { useSession } from '../context/SessionContext.jsx'; import { useTelemetryFrame } from '../context/TelemetryContext.jsx'; -import RoverRoster from './RoverRoster.jsx'; function formatMetric(value, fallback = '--') { if (value == null || value === '') return fallback; @@ -9,7 +8,7 @@ function formatMetric(value, fallback = '--') { } export default function TelemetryPanel() { - const { connected, session, requestControl } = useSession(); + const { connected, session } = useSession(); const roverId = session?.assignment?.roverId; const frame = useTelemetryFrame(roverId); const sensors = frame?.sensors || {}; @@ -19,9 +18,7 @@ export default function TelemetryPanel() { const charge = sensors.batteryChargeMah; const capacity = sensors.batteryCapacityMah; const updated = frame?.receivedAt ? new Date(frame.receivedAt).toLocaleTimeString() : null; - // const rawSnippet = frame?.raw ? (frame.raw.length > 80 ? `${frame.raw.slice(0, 80)}…` : frame.raw) : null; const rawSnippet = frame?.raw ? frame.raw : null; - const roster = session?.roster ?? []; const activeDriverId = roverId ? session?.activeDrivers?.[roverId] : null; const driverLabel = useMemo(() => { if (!roverId) return 'n/a'; @@ -30,20 +27,6 @@ export default function TelemetryPanel() { const user = (session?.users || []).find((entry) => entry.socketId === activeDriverId); return user?.nickname || activeDriverId.slice(0, 6); }, [activeDriverId, roverId, session?.socketId, session?.users]); - const canRequest = useMemo(() => session?.role && session.role !== 'spectator', [session?.role]); - const [pending, setPending] = useState({}); - - async function handleRequest(roverId) { - if (!roverId) return; - setPending((prev) => ({ ...prev, [roverId]: true })); - try { - await requestControl(roverId); - } catch (err) { - alert(err.message); - } finally { - setPending((prev) => ({ ...prev, [roverId]: false })); - } - } return (
@@ -60,528 +43,154 @@ export default function TelemetryPanel() {

Waiting for sensor frames…

) : ( <> -
- - - - - - - - -
- - -
- - - -
+ + )} - - - {rawSnippet && ( - // console.log('rawSnippet:', rawSnippet), -
-          {rawSnippet}
-        
+
{rawSnippet}
)} - - canRequest ? ( - - ) : null - } - />
); } -function CliffBar({ value }) { - // Render a small vertical bar; value is clamped to 0-100 for display - // const pct = value == null ? 0 : Math.max(0, Math.min(100, value)); - // goes from 0 to 4095. calculate percentage for height - const pct = value == null ? 0 : Math.max(0, Math.min(100, (value / 4095) * 100)); - const height = `${pct}%`; +function TelemetrySummary({ sensors, voltage, current, batteryTemp, charge, capacity }) { + const chargePct = charge != null && capacity ? `${Math.round((charge / capacity) * 100)}%` : '--'; + const oiMode = sensors?.oiMode?.label || '--'; + const docked = sensors?.chargingSources?.homeBase ? 'Yes' : 'No'; + const charging = sensors?.chargingState?.label || '--'; + return ( - //
- //
- //
- -
- {/* {label} */} -
-
-
- {value != null ? `${value}` : '--'} -
-
+
+ + + + + + + + +
- ); } function Metric({ label, value }) { return ( -
- {label}: {value} +
+ {label} + {value}
); } -// a reusable motor current bar, with overcurrent coloring. Use the overcurrent from sensors for each motor. -// include a label to indicate which motor it is, with the label to the left of the bar -function MotorCurrentBar({ label, value, overcurrent }) { - const pct = value == null ? 0 : Math.max(0, Math.min(100, (value / 1000) * 100)); - const height = `${pct}%`; - const barColor = overcurrent ? 'bg-red-500' : 'bg-emerald-500'; - return ( -
- {label} -
-
-
- {value != null ? `${value} mA` : '--'} -
-
-
- ); -} - -function DirtMeter({ label, value }) { - const pct = value == null ? 0 : Math.max(0, Math.min(100, (value / 255) * 100)); - const width = `${pct}%`; - return ( -
-
-
-
-
- {label} - {value != null ? value : '--'} -
-
- ); -} - -function IrPill({ label, value }) { - return ( -
- {label}: {value != null && value !== 0 ? value : '--'} -
- ); -} - -function SituationalMap({ sensors, variant = 'full' }) { - const size = variant === 'mini' ? 190 : 240; - const center = size / 2; - const innerCircle = variant === 'mini' ? 78 : 96; - const lightRingInner = variant === 'mini' ? 78 : 92; - const lightRingOuter = variant === 'mini' ? 86 : 100; - const cliffRingInner = variant === 'mini' ? 62 : 76; - const cliffRingOuter = variant === 'mini' ? 70 : 84; - const bumpRingInner = variant === 'mini' ? 82 : 104; - const bumpRingOuter = variant === 'mini' ? 90 : 114; - const wheelLineOffset = variant === 'mini' ? 50 : 68; +function SensorDetails({ sensors }) { + const bumps = sensors?.bumpsAndWheelDrops || {}; + const over = sensors?.wheelOvercurrents || {}; const lightSignals = [ - sensors?.lightBumpLeftSignal, - sensors?.lightBumpFrontLeftSignal, - sensors?.lightBumpCenterLeftSignal, - sensors?.lightBumpCenterRightSignal, - sensors?.lightBumpFrontRightSignal, - sensors?.lightBumpRightSignal, - ].filter((v) => v != null); - const observedLightMax = lightSignals.length ? Math.max(...lightSignals) : 0; - const effectiveLightMax = Math.max(observedLightMax, 1200); // adaptive gain; these rarely hit 4095 - const bumps = sensors?.bumpsAndWheelDrops || {}; - const wheelCurrentLeft = sensors?.wheelLeftCurrentMa ?? 0; - const wheelCurrentRight = sensors?.wheelRightCurrentMa ?? 0; - const sideBrushCurrent = sensors?.sideBrushCurrentMa ?? 0; - const mainBrushCurrent = sensors?.mainBrushCurrentMa ?? 0; - const wheelOver = sensors?.wheelOvercurrents || {}; - - const lightAngles = buildSegments({ - count: 6, - totalSpan: 140, - gap: 6, - startAngle: -70, - }); - const lightLabels = ['L', 'FL', 'CL', 'CR', 'FR', 'R']; - const lightValues = [ - sensors?.lightBumpLeftSignal, - sensors?.lightBumpFrontLeftSignal, - sensors?.lightBumpCenterLeftSignal, - sensors?.lightBumpCenterRightSignal, - sensors?.lightBumpFrontRightSignal, - sensors?.lightBumpRightSignal, + { label: 'Left', value: sensors?.lightBumpLeftSignal }, + { label: 'Front Left', value: sensors?.lightBumpFrontLeftSignal }, + { label: 'Center Left', value: sensors?.lightBumpCenterLeftSignal }, + { label: 'Center Right', value: sensors?.lightBumpCenterRightSignal }, + { label: 'Front Right', value: sensors?.lightBumpFrontRightSignal }, + { label: 'Right', value: sensors?.lightBumpRightSignal }, ]; - const lightActive = [ - sensors?.lightBumper?.left, - sensors?.lightBumper?.frontLeft, - sensors?.lightBumper?.centerLeft, - sensors?.lightBumper?.centerRight, - sensors?.lightBumper?.frontRight, - sensors?.lightBumper?.right, - ]; - const lightSegments = lightAngles.map((ang, idx) => ({ - label: lightLabels[idx], - start: ang.start, - end: ang.end, - value: lightValues[idx], - active: lightActive[idx], - })); - const cliffSegments = [ - { label: 'Cliff L', start: -65, end: -45, value: sensors?.cliffLeftSignal, active: sensors?.cliffLeft }, - { label: 'Cliff FL', start: -25, end: -5, value: sensors?.cliffFrontLeftSignal, active: sensors?.cliffFrontLeft }, - { label: 'Cliff FR', start: 5, end: 25, value: sensors?.cliffFrontRightSignal, active: sensors?.cliffFrontRight }, - { label: 'Cliff R', start: 45, end: 65, value: sensors?.cliffRightSignal, active: sensors?.cliffRight }, + const cliffSignals = [ + { label: 'Left', value: sensors?.cliffLeftSignal, active: sensors?.cliffLeft }, + { label: 'Front Left', value: sensors?.cliffFrontLeftSignal, active: sensors?.cliffFrontLeft }, + { label: 'Front Right', value: sensors?.cliffFrontRightSignal, active: sensors?.cliffFrontRight }, + { label: 'Right', value: sensors?.cliffRightSignal, active: sensors?.cliffRight }, + ]; + + const currents = [ + { label: 'Wheel L', value: sensors?.wheelLeftCurrentMa, over: over.leftWheel }, + { label: 'Wheel R', value: sensors?.wheelRightCurrentMa, over: over.rightWheel }, + { label: 'Side brush', value: sensors?.sideBrushCurrentMa, over: over.sideBrush }, + { label: 'Main brush', value: sensors?.mainBrushCurrentMa, over: over.mainBrush }, ]; return ( -
-
Top-down
-
0–{effectiveLightMax}
- - - - - - - {lightSegments.map((seg) => { - const color = lightBumpColor(seg.value); - return ( - - ); - })} - {cliffSegments.map((seg) => { - const color = cliffColor(seg.value, seg.active); - return ( - - ); - })} - - - +
+ + } /> + } /> + } /> + } /> + + + + {lightSignals.map((entry) => ( + + ))} + + + + {cliffSignals.map((entry) => ( + + ))} + + + + {currents.map((entry) => ( + + {formatNumber(entry.value, 'mA')} + {entry.over ? : null} + + } + /> + ))} + + + + + +
); } -function ArcSegment({ cx, cy, rInner, rOuter, startDeg, endDeg, color, pulse = false, opacity = 1 }) { - const rMid = (rInner + rOuter) / 2; - const strokeWidth = rOuter - rInner; - const path = describeArc(cx, cy, rMid, startDeg, endDeg); +function DetailCard({ title, children }) { return ( - <> - - {pulse ? ( - - ) : null} - +
+
{title}
+
{children}
+
); } -function describeArc(cx, cy, r, startDeg, endDeg) { - let start = startDeg; - let end = endDeg; - if (end <= start) end += 360; - const startPt = polarToCartesian(cx, cy, r, start); - const endPt = polarToCartesian(cx, cy, r, end); - return ['M', startPt.x, startPt.y, 'A', r, r, 0, 0, 1, endPt.x, endPt.y].join(' '); -} - -function polarToCartesian(cx, cy, r, angleDeg) { - const rad = toRad(angleDeg); - return { - x: cx + r * Math.cos(rad), - y: cy + r * Math.sin(rad), - }; -} - -function toRad(angleDeg) { - return ((angleDeg - 90) * Math.PI) / 180; -} - -function currentColor(value, overcurrent) { - if (overcurrent) return '#ef4444'; - const mag = Math.abs(value); - if (mag > 900) return '#f59e0b'; - if (mag > 300) return '#22c55e'; - return '#64748b'; // unified idle tone for wheels/brushes -} - -function clamp01(value) { - return Math.max(0, Math.min(1, value)); -} - -function WheelVisual({ cx, cy, current, drop, overcurrent, label }) { - const mag = Math.abs(current); - const pct = clamp01(mag / 1200); - const color = currentColor(current, overcurrent); - const barH = 56; - const currentW = 14; - const dropW = 9; - const gap = 3; - const currentFill = barH * pct; - const sign = label === 'L' ? -1 : 1; - const currentCenterX = sign * (-dropW / 2 - gap / 2); - const dropCenterX = sign * (currentW / 2 + gap / 2); - const groupWidth = currentW + dropW + gap + 2; - const groupHeight = barH + 4; +function ValueRow({ label, value }) { return ( - - - - - - - {label} - - +
+ {label} + {value} +
); } -function SideBrushVisual({ cx, cy, current, overcurrent }) { - const mag = Math.abs(current); - const color = currentColor(current * 3, overcurrent); // more sensitive; side brush draws little current - const armLength = 42; - const spinDuration = mag > 0 ? 0.65 : null; // spin only when drawing current - return ( - - - {[0, 120, 240].map((deg) => { - const rad = toRad(deg); - const x2 = cx + armLength * Math.cos(rad); - const y2 = cy + armLength * Math.sin(rad); - return ; - })} - {overcurrent ? : null} - - ); +function Pill({ active, tone = 'green', label }) { + const base = 'rounded px-1.5 py-0.5 text-[0.7rem] font-semibold'; + const colors = + tone === 'red' + ? active + ? 'bg-red-600 text-white' + : 'bg-slate-700 text-slate-300' + : tone === 'amber' + ? active + ? 'bg-amber-500 text-slate-900' + : 'bg-slate-700 text-slate-300' + : active + ? 'bg-emerald-600 text-white' + : 'bg-slate-700 text-slate-300'; + return {label || (active ? 'true' : 'false')}; } -function MainBrushVisual({ cx, cy, current, overcurrent, variant, dirtLeft, dirtRight }) { - const mag = Math.abs(current); - const color = currentColor(current, overcurrent); - const opacity = 1; - const rollerWidth = 96; - const rollerHeight = 12; - const patternA = `main-brush-pattern-a-${variant}`; - const patternB = `main-brush-pattern-b-${variant}`; - const dur = mag > 0 ? 0.6 : null; // only scroll when drawing current - const dir = current >= 0 ? 1 : -1; - return ( - - - {[patternA, patternB].map((id, idx) => ( - - - - {dur ? ( - - ) : null} - - ))} - - - - - - {overcurrent ? ( - - ) : null} - - ); -} - -function buildSegments({ count, totalSpan, gap, startAngle }) { - const usable = totalSpan - gap * (count - 1); - const width = usable / count; - const segments = []; - let cursor = startAngle; - for (let i = 0; i < count; i += 1) { - const end = cursor + width; - segments.push({ start: cursor, end }); - cursor = end + gap; - } - return segments; -} - -const LIGHT_BUMP_SENSITIVITY = 1; // increase to spin through hues faster -function lightBumpColor(value) { - if (value == null || value <= 0) return '#000000'; - const hue = (value * LIGHT_BUMP_SENSITIVITY) % 360; // cycles through the whole spectrum - return `hsl(${hue} 100% 60%)`; // fully saturated, bright -} - -function cliffColor(value, active) { - if (active) return '#ef4444'; - const t = clamp01(value == null ? 0 : value / 4095); - const start = [47, 55, 69]; // #2f3745-ish dark gray - const end = [245, 158, 11]; // amber - const [r, g, b] = start.map((s, i) => Math.round(s + (end[i] - s) * t)); - return `rgb(${r}, ${g}, ${b})`; +function formatNumber(value, unit) { + if (value == null || Number.isNaN(value)) return '--'; + return unit ? `${value} ${unit}` : value; } diff --git a/webui/src/components/TopDownMap.jsx b/webui/src/components/TopDownMap.jsx new file mode 100644 index 00000000..f45fdc43 --- /dev/null +++ b/webui/src/components/TopDownMap.jsx @@ -0,0 +1,329 @@ +import React from 'react'; + +function TopDownMap({ sensors = {}, variant = 'full', size: overrideSize }) { + const size = overrideSize || (variant === 'mini' ? 190 : 260); + const center = size / 2; + const innerCircle = center * 0.8; // keep proportions consistent as size changes + const lightRingInner = innerCircle - 4; + const lightRingOuter = innerCircle + 4; + const cliffRingInner = innerCircle - 14; + const cliffRingOuter = innerCircle - 6; + const wheelLineOffset = innerCircle * 0.65; + + const bumps = sensors?.bumpsAndWheelDrops || {}; + const wheelOver = sensors?.wheelOvercurrents || {}; + const wheelCurrentLeft = sensors?.wheelLeftCurrentMa ?? 0; + const wheelCurrentRight = sensors?.wheelRightCurrentMa ?? 0; + const sideBrushCurrent = sensors?.sideBrushCurrentMa ?? 0; + const mainBrushCurrent = sensors?.mainBrushCurrentMa ?? 0; + + const lightAngles = buildSegments({ + count: 6, + totalSpan: 140, + gap: 6, + startAngle: -70, + }); + const lightLabels = ['L', 'FL', 'CL', 'CR', 'FR', 'R']; + const lightValues = [ + sensors?.lightBumpLeftSignal, + sensors?.lightBumpFrontLeftSignal, + sensors?.lightBumpCenterLeftSignal, + sensors?.lightBumpCenterRightSignal, + sensors?.lightBumpFrontRightSignal, + sensors?.lightBumpRightSignal, + ]; + const lightSegments = lightAngles.map((ang, idx) => ({ + label: lightLabels[idx], + start: ang.start, + end: ang.end, + value: lightValues[idx], + })); + + const cliffSegments = [ + { label: 'Cliff L', start: -60, end: -46, value: sensors?.cliffLeftSignal, active: sensors?.cliffLeft }, + { label: 'Cliff FL', start: -32, end: -16, value: sensors?.cliffFrontLeftSignal, active: sensors?.cliffFrontLeft }, + { label: 'Cliff FR', start: 16, end: 32, value: sensors?.cliffFrontRightSignal, active: sensors?.cliffFrontRight }, + { label: 'Cliff R', start: 46, end: 60, value: sensors?.cliffRightSignal, active: sensors?.cliffRight }, + ]; + + const lightMaxSamples = lightValues.filter((v) => v != null); + const maxLight = lightMaxSamples.length ? Math.max(...lightMaxSamples, 1200) : 1200; + + return ( +
+
Top-down
+
0–{maxLight}
+ + + + + + + {lightSegments.map((seg) => { + const color = lightBumpColor(seg.value); + return ( + + ); + })} + {cliffSegments.map((seg) => { + const color = cliffColor(seg.value, seg.active); + return ( + + ); + })} + + + +
+ ); +} + +function ArcSegment({ cx, cy, rInner, rOuter, startDeg, endDeg, color, pulse = false, opacity = 1 }) { + const rMid = (rInner + rOuter) / 2; + const strokeWidth = rOuter - rInner; + const path = describeArc(cx, cy, rMid, startDeg, endDeg); + return ( + <> + + {pulse ? ( + + ) : null} + + ); +} + +function describeArc(cx, cy, r, startDeg, endDeg) { + let start = startDeg; + let end = endDeg; + if (end <= start) end += 360; + const startPt = polarToCartesian(cx, cy, r, start); + const endPt = polarToCartesian(cx, cy, r, end); + return ['M', startPt.x, startPt.y, 'A', r, r, 0, 0, 1, endPt.x, endPt.y].join(' '); +} + +function polarToCartesian(cx, cy, r, angleDeg) { + const rad = toRad(angleDeg); + return { + x: cx + r * Math.cos(rad), + y: cy + r * Math.sin(rad), + }; +} + +function toRad(angleDeg) { + return ((angleDeg - 90) * Math.PI) / 180; +} + +function currentColor(value, overcurrent) { + if (overcurrent) return '#ef4444'; + const mag = Math.abs(value); + if (mag > 900) return '#f59e0b'; + if (mag > 300) return '#22c55e'; + return '#64748b'; +} + +function clamp01(value) { + return Math.max(0, Math.min(1, value)); +} + +function WheelVisual({ cx, cy, current, drop, overcurrent, label }) { + const mag = Math.abs(current); + const pct = clamp01(mag / 1200); + const color = currentColor(current, overcurrent); + const barH = 56; + const currentW = 14; + const dropW = 9; + const gap = 3; + const currentFill = barH * pct; + const sign = label === 'L' ? -1 : 1; + const currentCenterX = sign * (-dropW / 2 - gap / 2); + const dropCenterX = sign * (currentW / 2 + gap / 2); + const groupWidth = currentW + dropW + gap + 2; + const groupHeight = barH + 4; + return ( + + + + + + + {label} + + + ); +} + +function SideBrushVisual({ cx, cy, current, overcurrent }) { + const mag = Math.abs(current); + const color = currentColor(current * 3, overcurrent); + const armLength = 42; + const spinDuration = mag > 0 ? 0.65 : null; + return ( + + + {[0, 120, 240].map((deg) => { + const rad = toRad(deg); + const x2 = cx + armLength * Math.cos(rad); + const y2 = cy + armLength * Math.sin(rad); + return ; + })} + {overcurrent ? : null} + + ); +} + +function MainBrushVisual({ cx, cy, current, overcurrent, variant, dirtLeft, dirtRight }) { + const mag = Math.abs(current); + const color = currentColor(current, overcurrent); + const opacity = 1; + const rollerWidth = 96; + const rollerHeight = 12; + const patternA = `main-brush-pattern-a-${variant}`; + const patternB = `main-brush-pattern-b-${variant}`; + const dur = mag > 0 ? 0.6 : null; + const dir = current >= 0 ? 1 : -1; + return ( + + + {[patternA, patternB].map((id, idx) => ( + + + + {dur ? ( + + ) : null} + + ))} + + + + + + {overcurrent ? ( + + ) : null} + + ); +} + +const LIGHT_BUMP_SENSITIVITY = 0.18; +function lightBumpColor(value) { + if (value == null || value <= 0) return '#000000'; + const hue = (value * LIGHT_BUMP_SENSITIVITY) % 360; + return `hsl(${hue} 100% 60%)`; +} + +function cliffColor(value, active) { + if (active) return '#ef4444'; + const t = clamp01(value == null ? 0 : value / 4095); + const start = [47, 55, 69]; + const end = [245, 158, 11]; + const [r, g, b] = start.map((s, i) => Math.round(s + (end[i] - s) * t)); + return `rgb(${r}, ${g}, ${b})`; +} + +function buildSegments({ count, totalSpan, gap, startAngle }) { + const usable = totalSpan - gap * (count - 1); + const width = usable / count; + const segments = []; + let cursor = startAngle; + for (let i = 0; i < count; i += 1) { + const end = cursor + width; + segments.push({ start: cursor, end }); + cursor = end + gap; + } + return segments; +} + +export default TopDownMap;