agent-lookout 0.2.1 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/PRIVACY.md +113 -25
  3. package/README.md +21 -15
  4. package/SECURITY.md +20 -8
  5. package/bin/agent-lookout.mjs +49 -24
  6. package/dist/THIRD-PARTY-LICENSES.md +195 -0
  7. package/dist/assets/HistoryPanel-CIjshvhu.js +1 -0
  8. package/dist/assets/SessionPanel-eBOdTLD9.js +1 -0
  9. package/dist/assets/index-B-myfVQS.js +2 -0
  10. package/dist/assets/index-Cceyz9yZ.css +1 -0
  11. package/dist/assets/radix-BH0JH8UU.js +41 -0
  12. package/dist/cli/agent-lookout.js +4 -4
  13. package/dist/cli/{chunk-PQ3B5TN6.js → chunk-63XPRBHW.js} +88 -2
  14. package/dist/cli/{chunk-XJM5RZNV.js → chunk-KNOLJ3IC.js} +1 -1
  15. package/dist/cli/{chunk-UYGESSPG.js → chunk-XVXSGVEW.js} +6 -2
  16. package/dist/cli/mcpServer-HGH6PY4W.js +23664 -0
  17. package/dist/cli/{startCommand-ZV2NQ6YG.js → startCommand-KNXMVM2U.js} +3417 -676
  18. package/dist/index.html +3 -3
  19. package/docs/API.md +301 -79
  20. package/docs/GUIDE.md +215 -67
  21. package/package.json +6 -6
  22. package/dist/assets/HistoryPanel-Llcz5XPi.js +0 -1
  23. package/dist/assets/SessionPanel-B4g_6Unu.js +0 -1
  24. package/dist/assets/atkinson-hyperlegible-mono-latin-400-normal-Cmjm2dBj.woff +0 -0
  25. package/dist/assets/atkinson-hyperlegible-mono-latin-500-normal-BV5ipwqM.woff +0 -0
  26. package/dist/assets/atkinson-hyperlegible-mono-latin-600-normal-CuPF9o0F.woff +0 -0
  27. package/dist/assets/atkinson-hyperlegible-mono-latin-ext-400-normal-ITMuFrSK.woff +0 -0
  28. package/dist/assets/atkinson-hyperlegible-mono-latin-ext-500-normal-BiHEOgiK.woff +0 -0
  29. package/dist/assets/atkinson-hyperlegible-mono-latin-ext-600-normal-ZiH-ObRk.woff +0 -0
  30. package/dist/assets/atkinson-hyperlegible-next-latin-400-normal-DPp7N0cD.woff +0 -0
  31. package/dist/assets/atkinson-hyperlegible-next-latin-500-normal-B0CYqHl3.woff +0 -0
  32. package/dist/assets/atkinson-hyperlegible-next-latin-600-normal-BhgCag5w.woff +0 -0
  33. package/dist/assets/atkinson-hyperlegible-next-latin-ext-400-normal-qxMiU51n.woff +0 -0
  34. package/dist/assets/atkinson-hyperlegible-next-latin-ext-500-normal-oZS3KxrF.woff +0 -0
  35. package/dist/assets/atkinson-hyperlegible-next-latin-ext-600-normal-BBAQIogt.woff +0 -0
  36. package/dist/assets/index-DRcy1hT5.js +0 -2
  37. package/dist/assets/index-Dz4q_OYZ.css +0 -1
  38. package/dist/assets/radix-27o0jeIu.js +0 -41
  39. package/dist/cli/mcpServer-CGLIGL4X.js +0 -246
@@ -0,0 +1 @@
1
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-content:"";--tw-ease:initial;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--spacing:.25rem;--container-md:28rem;--container-3xl:48rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--font-sans:"Atkinson Hyperlegible Next", system-ui, sans-serif;--font-mono:"Atkinson Hyperlegible Mono", ui-monospace, "SF Mono", Menlo, monospace;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--text-wait:46px;--text-wait--line-height:.95;--text-wait--letter-spacing:-.03em;--text-name:34px;--text-name--line-height:1.05;--text-name--letter-spacing:-.025em;--text-stat:28px;--text-stat--line-height:1;--text-stat--letter-spacing:-.02em;--text-unit:22px;--text-unit--line-height:1;--text-unit--letter-spacing:0;--text-wordmark:19px;--text-wordmark--line-height:1;--text-wordmark--letter-spacing:-.015em;--text-lead:16px;--text-lead--line-height:1.2;--text-title:15px;--text-title--line-height:1.3;--text-title--letter-spacing:-.006em;--text-row:14px;--text-row--line-height:1.45;--text-body:13px;--text-body--line-height:1.45;--text-fact:12.5px;--text-fact--line-height:1.45;--text-caption:12px;--text-caption--line-height:1.35;--text-micro:11px;--text-micro--line-height:1.2;--leading-tight:1.2;--radius-panel:24px;--radius-chrome:22px;--radius-inner:14px;--radius-row:10px;--radius-capsule:999px;--radius-tube:6px;--radius-bar:4px;--spacing-window:12px;--spacing-rail:76px;--spacing-header:56px;--spacing-row:44px;--spacing-group:40px;--spacing-log-row:38px;--spacing-control:30px;--spacing-button:28px;--spacing-button-hero:38px;--spacing-mark:14px;--spacing-icon:20px;--spacing-track:30px;--spacing-label-col:188px;--spacing-bar-needs-you:16px;--spacing-bar-working:10px;--spacing-bar-idle:2px;--spacing-waited-name:132px;--ease-out:cubic-bezier(.2, .7, .2, 1);--animate-lamp:lamp 3.2s ease-in-out infinite;--animate-spin-loader:spin-loader .9s linear infinite;--animate-rise-fast:rise .24s ease-out both;--animate-fade-in:fade-in .2s ease-out both;--animate-fade-out:fade-out .15s ease-in both;--animate-drop:drop .15s ease-in both}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}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;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--hairline);outline-color:var(--focus)}html{background-color:var(--ground-top)}body{min-height:100vh;color:var(--ink);-webkit-font-smoothing:antialiased;text-rendering:optimizelegibility;background-color:#0000;font-size:14px;line-height:1.45}code,kbd,samp,pre{letter-spacing:-.02em;word-spacing:-.22em;font-variant-numeric:tabular-nums}:focus-visible{outline:2px solid var(--focus);outline-offset:2px}::selection{background-color:var(--focus)}@supports (color:color-mix(in lab,red,red)){::selection{background-color:color-mix(in srgb,var(--focus) 32%,transparent)}}}@layer components{.ground{z-index:-1;pointer-events:none;background-image:var(--ground);position:fixed;inset:0;overflow:hidden}.ground>i{will-change:transform;border-radius:50%;display:block;position:absolute}.ground-main{top:var(--field-main-top);right:var(--field-main-right);width:var(--field-main-width);height:var(--field-main-height);transform:rotate(var(--field-main-turn));background-image:radial-gradient(closest-side,rgb(var(--field) / var(--field-strength)),rgb(var(--field) / calc(var(--field-strength) * .4)) 52%,transparent 100%)}.ground-deep{background-image:radial-gradient(closest-side,rgb(var(--field-deep) / calc(var(--field-strength) * .85)),rgb(var(--field-deep) / calc(var(--field-strength) * .3)) 55%,transparent 100%);width:1180px;height:880px;top:520px;left:-300px}.ground-far{background-image:radial-gradient(closest-side,rgb(var(--field) / calc(var(--field-strength) * .45)),transparent 100%);width:900px;height:600px;top:820px;left:46%}.ground:after{content:"";opacity:var(--grain);mix-blend-mode:overlay;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");position:absolute;inset:0}@media(prefers-reduced-motion:no-preference){.ground-main{animation:96s ease-in-out infinite alternate drift-main}.ground-deep{animation:124s ease-in-out infinite alternate drift-deep}.ground-far{animation:150s ease-in-out infinite alternate drift-far}.ground[data-drift=paused]>i{animation-play-state:paused}}@keyframes drift-main{to{transform:rotate(var(--field-main-turn)) translate3d(-90px,70px,0) scale(1.06)}}@keyframes drift-deep{to{transform:translate(120px,-60px)scale(1.04)}}@keyframes drift-far{to{transform:translate(-140px,-40px)}}.glass-chrome,.glass-card,.glass-raised,.glass-float{isolation:isolate;position:relative}.glass-chrome{--rim-paint:var(--rim);border-radius:var(--radius-chrome);background-color:var(--glass-chrome);box-shadow:var(--elev-1)}.glass-card{--rim-paint:var(--rim);border-radius:var(--radius-panel);background-color:var(--glass-card);box-shadow:var(--elev-2)}.glass-raised{--rim-paint:var(--rim-raised);border-radius:var(--radius-panel);background-color:var(--glass-raised);box-shadow:var(--elev-3)}.glass-raised[data-light=lamp]{--rim-paint:var(--rim-lamp), var(--rim-raised)}.glass-raised[data-light=rest]{--rim-paint:var(--rim-rest), var(--rim-raised)}.glass-float{--rim-paint:var(--rim-raised);border-radius:var(--radius-panel);background-color:var(--glass-float);box-shadow:var(--elev-3)}:is(.glass-chrome,.glass-card,.glass-raised,.glass-float):before{content:"";z-index:3;border-radius:inherit;pointer-events:none;background:var(--rim-paint);padding:1px;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#000 0 0),linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0),linear-gradient(#000 0 0);-webkit-mask-position:0 0,0 0;mask-position:0 0,0 0;-webkit-mask-size:auto,auto;mask-size:auto,auto;-webkit-mask-repeat:repeat,repeat;mask-repeat:repeat,repeat;-webkit-mask-clip:content-box,border-box;mask-clip:content-box,border-box;-webkit-mask-origin:content-box,border-box;mask-origin:content-box,border-box;-webkit-mask-composite:xor;mask-composite:exclude;-webkit-mask-source-type:auto,auto;mask-mode:match-source,match-source}:is(.glass-chrome,.glass-card,.glass-raised,.glass-float):after{content:"";z-index:-1;border-radius:inherit;pointer-events:none;background-image:var(--sheen);position:absolute;inset:0}@supports not ((mask-composite:exclude) or (-webkit-mask-composite:xor)){:is(.glass-chrome,.glass-card,.glass-raised,.glass-float):before{box-shadow:inset 0 1px 0 var(--control-top),inset 0 0 0 1px var(--rule);background:0 0;padding:0;-webkit-mask:none;mask:none}}.glass-blur{-webkit-backdrop-filter:blur(var(--glass-blur)) saturate(var(--saturate));backdrop-filter:blur(var(--glass-blur)) saturate(var(--saturate))}.lamp-light,.rest-light{--light-reach:60px;z-index:0;top:-90px;left:calc(var(--light-reach) * -1);width:min(820px,calc(100% + var(--light-reach)));pointer-events:none;height:520px;filter:saturate(var(--saturate-hero));-webkit-mask-image:linear-gradient(to right,transparent calc(var(--light-reach) - var(--spacing-window)),#000 var(--light-reach));mask-image:linear-gradient(to right,transparent calc(var(--light-reach) - var(--spacing-window)),#000 var(--light-reach));position:absolute}.lamp-light:before,.rest-light:before{content:"";border-radius:50%;position:absolute}.lamp-light{background-image:radial-gradient(closest-side,rgb(var(--lamp) / calc(var(--lamp-strength) * .3)),rgb(var(--lamp) / calc(var(--lamp-strength) * .09)) 50%,transparent 100%)}.lamp-light:before{background-image:radial-gradient(closest-side,rgb(var(--lamp) / var(--lamp-strength)),rgb(var(--lamp) / calc(var(--lamp-strength) * .35)) 55%,transparent 100%);width:63%;height:330px;top:50px;left:3.7%}.rest-light{background-image:radial-gradient(closest-side,rgb(var(--rest) / calc(var(--rest-strength) * .5)),rgb(var(--rest) / calc(var(--rest-strength) * .2)) 50%,transparent 100%)}.rest-light:before{background-image:radial-gradient(closest-side,rgb(var(--rest) / var(--rest-strength)),rgb(var(--rest) / calc(var(--rest-strength) * .35)) 55%,transparent 100%);width:78%;height:360px;top:40px;left:14.6%}@media(prefers-reduced-motion:no-preference){.lamp-light{animation:lamp-rise 1.2s var(--ease-out) both}}@keyframes lamp-rise{0%{opacity:0;transform:translateY(90px)scale(.9)}}.bar-open{background-color:var(--status-needs-you);box-shadow:inset 0 0 0 1px var(--status-needs-you-edge),var(--bar-glow,0 0 transparent)}.bar-glow{--bar-glow:0 0 16px -3px var(--glow-needs-you)}.bar-answered{background-color:var(--answered-fill);box-shadow:inset 0 0 0 1.5px var(--status-idle)}.bar-working{background-color:var(--status-working-fill);box-shadow:inset 0 1px 0 var(--status-working-top)}.bar-idle{background-color:var(--status-idle)}.stale-dots{background-image:repeating-linear-gradient(to right,var(--status-idle) 0 2px,transparent 2px 6px)}.bar-tube{background-color:var(--tube);box-shadow:inset 0 0 0 1px var(--tube-rim),inset 0 1px 0 var(--tube-top)}.unmeasured-hatch{background-image:repeating-linear-gradient(135deg,var(--unmeasured) 0 1px,transparent 1px 6px)}.thin-scroll::-webkit-scrollbar{width:4px;height:4px}.thin-scroll::-webkit-scrollbar-thumb{background-color:var(--rule-strong);border-radius:999px}.thin-scroll::-webkit-scrollbar-track{background:0 0}@supports not selector(::-webkit-scrollbar){.thin-scroll{scrollbar-width:thin;scrollbar-color:var(--rule-strong) transparent}}[data-host=app] :is([data-slot=header],[data-slot=rail-buttons],[data-slot=ground-above]){-webkit-app-region:drag}[data-host=app] :is([data-slot=header],[data-slot=rail]) :is(a,button,input,select,textarea,summary,[role=button],[tabindex]),[data-host=app] body>:not(#root){-webkit-app-region:no-drag}[data-host=app]{scrollbar-width:thin}}@layer utilities{.\@container{container-type:inline-size}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.inset-y-0\.75{inset-block:calc(var(--spacing) * .75)}.-top-1\.75{top:calc(var(--spacing) * -1.75)}.top-0{top:0}.top-1\.75{top:calc(var(--spacing) * 1.75)}.top-1\/2{top:50%}.top-2{top:calc(var(--spacing) * 2)}.top-window{top:var(--spacing-window)}.-right-7\.5{right:calc(var(--spacing) * -7.5)}.right-0{right:0}.right-full{right:100%}.bottom-0{bottom:0}.bottom-1\/2{bottom:50%}.bottom-auto{bottom:auto}.left-0{left:0}.left-0\.75{left:calc(var(--spacing) * .75)}.left-1\/2{left:50%}.left-3\.5{left:calc(var(--spacing) * 3.5)}.isolate{isolation:isolate}.z-0{z-index:0}.z-1{z-index:1}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.z-60{z-index:60}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.col-span-4{grid-column:span 4/span 4}.col-span-8{grid-column:span 8/span 8}.col-start-1{grid-column-start:1}.col-start-2{grid-column-start:2}.row-start-1{grid-row-start:1}.row-start-2{grid-row-start:2}.row-start-3{grid-row-start:3}.row-start-4{grid-row-start:4}.container{width:100%}@media(min-width:761px){.container{max-width:761px}}@media(min-width:1181px){.container{max-width:1181px}}.-m-2{margin:calc(var(--spacing) * -2)}.-mx-1\.5{margin-inline:calc(var(--spacing) * -1.5)}.mx-1\.5{margin-inline:calc(var(--spacing) * 1.5)}.mx-2\.5{margin-inline:calc(var(--spacing) * 2.5)}.mx-auto{margin-inline:auto}.-my-0\.5{margin-block:calc(var(--spacing) * -.5)}.-my-2\.5{margin-block:calc(var(--spacing) * -2.5)}.my-auto{margin-block:auto}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-0\.75{margin-top:calc(var(--spacing) * .75)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-2\.5{margin-top:calc(var(--spacing) * 2.5)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-3\.5{margin-top:calc(var(--spacing) * 3.5)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-10{margin-top:calc(var(--spacing) * 10)}.mt-\[6vh\]{margin-top:6vh}.mt-px{margin-top:1px}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-11\.5{margin-right:calc(var(--spacing) * 11.5)}.mb-2\.5{margin-bottom:calc(var(--spacing) * 2.5)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.-ml-0\.5{margin-left:calc(var(--spacing) * -.5)}.ml-0\.5{margin-left:calc(var(--spacing) * .5)}.ml-6{margin-left:calc(var(--spacing) * 6)}.ml-auto{margin-left:auto}.ml-label-col{margin-left:var(--spacing-label-col)}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-6\.5{width:calc(var(--spacing) * 6.5);height:calc(var(--spacing) * 6.5)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-button{width:var(--spacing-button);height:var(--spacing-button)}.size-icon{width:var(--spacing-icon);height:var(--spacing-icon)}.size-mark{width:var(--spacing-mark);height:var(--spacing-mark)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-5{height:calc(var(--spacing) * 5)}.h-5\.5{height:calc(var(--spacing) * 5.5)}.h-7{height:calc(var(--spacing) * 7)}.h-11{height:calc(var(--spacing) * 11)}.h-55{height:calc(var(--spacing) * 55)}.h-bar-idle{height:var(--spacing-bar-idle)}.h-bar-needs-you{height:var(--spacing-bar-needs-you)}.h-bar-working{height:var(--spacing-bar-working)}.h-button{height:var(--spacing-button)}.h-button-hero{height:var(--spacing-button-hero)}.h-control{height:var(--spacing-control)}.h-full{height:100%}.h-group{height:var(--spacing-group)}.h-header{height:var(--spacing-header)}.h-px{height:1px}.h-row{height:var(--spacing-row)}.h-track{height:var(--spacing-track)}.h-window{height:var(--spacing-window)}.max-h-57{max-height:calc(var(--spacing) * 57)}.max-h-\[min\(26rem\,55vh\)\]{max-height:min(26rem,55vh)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-28{min-height:calc(var(--spacing) * 28)}.min-h-65{min-height:calc(var(--spacing) * 65)}.min-h-button{min-height:var(--spacing-button)}.min-h-log-row{min-height:var(--spacing-log-row)}.min-h-screen{min-height:100vh}.w-0{width:0}.w-0\.5{width:calc(var(--spacing) * .5)}.w-3\.5{width:calc(var(--spacing) * 3.5)}.w-5\.5{width:calc(var(--spacing) * 5.5)}.w-15\.5{width:calc(var(--spacing) * 15.5)}.w-16{width:calc(var(--spacing) * 16)}.w-24{width:calc(var(--spacing) * 24)}.w-25{width:calc(var(--spacing) * 25)}.w-28{width:calc(var(--spacing) * 28)}.w-30{width:calc(var(--spacing) * 30)}.w-40{width:calc(var(--spacing) * 40)}.w-96{width:calc(var(--spacing) * 96)}.w-\[min\(440px\,100\%\)\]{width:min(440px,100%)}.w-\[min\(600px\,100\%\)\]{width:min(600px,100%)}.w-\[min\(760px\,100\%\)\]{width:min(760px,100%)}.w-fit{width:fit-content}.w-full{width:100%}.w-label-col{width:var(--spacing-label-col)}.w-mark{width:var(--spacing-mark)}.w-px{width:1px}.w-rail{width:var(--spacing-rail)}.w-waited-name{width:var(--spacing-waited-name)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-155{max-width:calc(var(--spacing) * 155)}.max-w-\[52ch\]{max-width:52ch}.max-w-\[56ch\]{max-width:56ch}.max-w-\[620px\]{max-width:620px}.max-w-\[min\(26rem\,calc\(100vw-1\.5rem\)\)\]{max-width:min(26rem,100vw - 1.5rem)}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.min-w-0{min-width:0}.min-w-0\.5{min-width:calc(var(--spacing) * .5)}.min-w-0\.75{min-width:calc(var(--spacing) * .75)}.min-w-4{min-width:calc(var(--spacing) * 4)}.min-w-5\.5{min-width:calc(var(--spacing) * 5.5)}.min-w-16{min-width:calc(var(--spacing) * 16)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-32{flex-basis:calc(var(--spacing) * 32)}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-full{flex-basis:100%}.table-fixed{table-layout:fixed}.border-collapse{border-collapse:collapse}.border-separate{border-collapse:separate}.border-spacing-0{--tw-border-spacing-x:0px;--tw-border-spacing-y:0px;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y)}.-translate-x-1\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-spin-loader{animation:var(--animate-spin-loader)}.cursor-crosshair{cursor:crosshair}.cursor-pointer{cursor:pointer}.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-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.grid-cols-\[auto_minmax\(0\,1fr\)\]{grid-template-columns:auto minmax(0,1fr)}.grid-cols-\[minmax\(0\,1\.75fr\)_minmax\(0\,1fr\)\]{grid-template-columns:minmax(0,1.75fr) minmax(0,1fr)}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.25{gap:calc(var(--spacing) * 1.25)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-3\.5{gap:calc(var(--spacing) * 3.5)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-px{gap:1px}.gap-window{gap:var(--spacing-window)}.gap-x-1{column-gap:var(--spacing)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-3\.5{column-gap:calc(var(--spacing) * 3.5)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-12{column-gap:calc(var(--spacing) * 12)}.gap-y-1{row-gap:var(--spacing)}.gap-y-1\.5{row-gap:calc(var(--spacing) * 1.5)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-4{row-gap:calc(var(--spacing) * 4)}.gap-y-7{row-gap:calc(var(--spacing) * 7)}.gap-y-px{row-gap:1px}.self-center{align-self:center}.justify-self-start{justify-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-clip{overflow-x:clip}.overflow-y-auto{overflow-y:auto}.rounded-bar{border-radius:var(--radius-bar)}.rounded-capsule{border-radius:var(--radius-capsule)}.rounded-chrome{border-radius:var(--radius-chrome)}.rounded-inner{border-radius:var(--radius-inner)}.rounded-panel{border-radius:var(--radius-panel)}.rounded-row{border-radius:var(--radius-row)}.rounded-tube{border-radius:var(--radius-tube)}.rounded-t-chrome{border-top-left-radius:var(--radius-chrome);border-top-right-radius:var(--radius-chrome)}.rounded-t-tube{border-top-left-radius:var(--radius-tube);border-top-right-radius:var(--radius-tube)}.rounded-b-bar{border-bottom-right-radius:var(--radius-bar);border-bottom-left-radius:var(--radius-bar)}.border{border-style:var(--tw-border-style);border-width:1px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dotted{--tw-border-style:dotted;border-style:dotted}.border-hairline{border-color:var(--hairline)}.border-ink-muted{border-color:var(--ink-muted)}.border-rule{border-color:var(--rule)}.border-rule-strong{border-color:var(--rule-strong)}.border-t-ink-secondary{border-top-color:var(--ink-secondary)}.bg-fill-quiet{background-color:var(--fill-quiet)}.bg-fill-selected{background-color:var(--fill-selected)}.bg-fill-zebra{background-color:var(--fill-zebra)}.bg-glass-float{background-color:var(--glass-float)}.bg-hairline{background-color:var(--hairline)}.bg-rule{background-color:var(--rule)}.bg-rule-strong{background-color:var(--rule-strong)}.bg-scrim{background-color:var(--scrim)}.bg-status-finished{background-color:var(--status-finished)}.bg-status-needs-you{background-color:var(--status-needs-you)}.bg-thumb{background-color:var(--thumb)}.bg-transparent{background-color:#0000}.bg-well{background-color:var(--well)}.bg-fixed{background-attachment:fixed}.fill-ink-muted{fill:var(--ink-muted)}.fill-status-needs-you{fill:var(--status-needs-you)}.stroke-status-needs-you-edge{stroke:var(--status-needs-you-edge)}.p-0\.75{padding:calc(var(--spacing) * .75)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-10{padding:calc(var(--spacing) * 10)}.p-window{padding:var(--spacing-window)}.px-0{padding-inline:0}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-3\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-6\.5{padding-inline:calc(var(--spacing) * 6.5)}.px-7{padding-inline:calc(var(--spacing) * 7)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-8{padding-block:calc(var(--spacing) * 8)}.py-14{padding-block:calc(var(--spacing) * 14)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-4\.5{padding-top:calc(var(--spacing) * 4.5)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pt-\[6vh\]{padding-top:6vh}.pt-\[12vh\]{padding-top:12vh}.pr-0\.5{padding-right:calc(var(--spacing) * .5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3\.5{padding-right:calc(var(--spacing) * 3.5)}.pb-1{padding-bottom:var(--spacing)}.pb-1\.5{padding-bottom:calc(var(--spacing) * 1.5)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-2\.5{padding-bottom:calc(var(--spacing) * 2.5)}.pb-2\.25{padding-bottom:calc(var(--spacing) * 2.25)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-3\.5{padding-bottom:calc(var(--spacing) * 3.5)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-4\.5{padding-bottom:calc(var(--spacing) * 4.5)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-5\.5{padding-bottom:calc(var(--spacing) * 5.5)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.pb-7{padding-bottom:calc(var(--spacing) * 7)}.pb-24{padding-bottom:calc(var(--spacing) * 24)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.pl-6{padding-left:calc(var(--spacing) * 6)}.pl-10{padding-left:calc(var(--spacing) * 10)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-bottom{vertical-align:bottom}.align-top{vertical-align:top}.font-mono{font-family:var(--font-mono)}.text-name{font-size:var(--text-name);line-height:var(--tw-leading,var(--text-name--line-height));letter-spacing:var(--tw-tracking,var(--text-name--letter-spacing))}.text-stat{font-size:var(--text-stat);line-height:var(--tw-leading,var(--text-stat--line-height));letter-spacing:var(--tw-tracking,var(--text-stat--letter-spacing))}.text-title{font-size:var(--text-title);line-height:var(--tw-leading,var(--text-title--line-height));letter-spacing:var(--tw-tracking,var(--text-title--letter-spacing))}.text-unit{font-size:var(--text-unit);line-height:var(--tw-leading,var(--text-unit--line-height));letter-spacing:var(--tw-tracking,var(--text-unit--letter-spacing))}.text-wait{font-size:var(--text-wait);line-height:var(--tw-leading,var(--text-wait--line-height));letter-spacing:var(--tw-tracking,var(--text-wait--letter-spacing))}.text-wordmark{font-size:var(--text-wordmark);line-height:var(--tw-leading,var(--text-wordmark--line-height));letter-spacing:var(--tw-tracking,var(--text-wordmark--letter-spacing))}.text-body{font-size:var(--text-body);line-height:var(--tw-leading,var(--text-body--line-height))}.text-caption{font-size:var(--text-caption);line-height:var(--tw-leading,var(--text-caption--line-height))}.text-fact{font-size:var(--text-fact);line-height:var(--tw-leading,var(--text-fact--line-height))}.text-lead{font-size:var(--text-lead);line-height:var(--tw-leading,var(--text-lead--line-height))}.text-micro{font-size:var(--text-micro);line-height:var(--tw-leading,var(--text-micro--line-height))}.text-row{font-size:var(--text-row);line-height:var(--tw-leading,var(--text-row--line-height))}.leading-3\.5{--tw-leading:calc(var(--spacing) * 3.5);line-height:calc(var(--spacing) * 3.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.font-mono{letter-spacing:-.02em;word-spacing:-.22em;font-variant-numeric:tabular-nums}.text-pretty{text-wrap:pretty}.wrap-anywhere{overflow-wrap:anywhere}.wrap-break-word{overflow-wrap:break-word}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-ink{color:var(--ink)}.text-ink-muted{color:var(--ink-muted)}.text-ink-secondary{color:var(--ink-secondary)}.text-label-needs-you{color:var(--label-needs-you)}.text-on-needs-you{color:var(--on-needs-you)}.text-status-finished{color:var(--status-finished)}.text-status-idle{color:var(--status-idle)}.text-status-needs-you-edge{color:var(--status-needs-you-edge)}.text-status-working{color:var(--status-working)}.lowercase{text-transform:lowercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.decoration-rule-strong{-webkit-text-decoration-color:var(--rule-strong);text-decoration-color:var(--rule-strong)}.underline-offset-2{text-underline-offset:2px}.opacity-70{opacity:.7}.shadow-edge{--tw-shadow:inset 3px 0 0 var(--tw-shadow-color,var(--ink));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-glow{--tw-shadow:0 8px 22px -8px var(--tw-shadow-color,var(--glow-needs-you));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-thumb{--tw-shadow:0 2px 6px -2px var(--tw-shadow-color,var(--thumb-drop));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.inset-shadow-lit{--tw-inset-shadow:inset 0 1px 0 var(--tw-inset-shadow-color,var(--lit-top));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.inset-shadow-top{--tw-inset-shadow:inset 0 1px 0 var(--tw-inset-shadow-color,var(--control-top));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.inset-shadow-well{--tw-inset-shadow:inset 0 1px 2px var(--tw-inset-shadow-color,var(--well-shade));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.inset-ring{--tw-inset-ring-shadow:inset 0 0 0 1px var(--tw-inset-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.inset-ring-control-rim{--tw-inset-ring-color:var(--control-rim)}.inset-ring-hairline{--tw-inset-ring-color:var(--hairline)}.inset-ring-rule{--tw-inset-ring-color:var(--rule)}.inset-ring-rule-strong{--tw-inset-ring-color:var(--rule-strong)}.inset-ring-status-idle{--tw-inset-ring-color:var(--status-idle)}.inset-ring-status-needs-you-edge{--tw-inset-ring-color:var(--status-needs-you-edge)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.sepia{--tw-sepia:sepia(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,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,color\,filter\]{transition-property:background-color,color,filter;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-120{--tw-duration:.12s;transition-duration:.12s}.duration-220{--tw-duration:.22s;transition-duration:.22s}.fade-in-0{--tw-enter-opacity:0}.outline-none{--tw-outline-style:none;outline-style:none}.select-text{-webkit-user-select:text;user-select:text}.fade-in{--tw-enter-opacity:0}.fade-out{--tw-exit-opacity:0}.paused{animation-play-state:paused}.running{animation-play-state:running}@media(hover:hover){.group-hover\:bg-fill-selected:is(:where(.group):hover *){background-color:var(--fill-selected)}.group-hover\:text-ink:is(:where(.group):hover *){color:var(--ink)}}.placeholder\:text-ink-muted::placeholder{color:var(--ink-muted)}.before\:pointer-events-none:before{content:var(--tw-content);pointer-events:none}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:-inset-x-1:before{content:var(--tw-content);inset-inline:calc(var(--spacing) * -1)}.before\:inset-x-0:before{content:var(--tw-content);inset-inline:0}.before\:inset-x-2\.5:before{content:var(--tw-content);inset-inline:calc(var(--spacing) * 2.5)}.before\:inset-y-0:before{content:var(--tw-content);inset-block:0}.before\:inset-y-px:before{content:var(--tw-content);inset-block:1px}.before\:-top-2:before{content:var(--tw-content);top:calc(var(--spacing) * -2)}.before\:top-1\/2:before{content:var(--tw-content);top:50%}.before\:right-0:before{content:var(--tw-content);right:0}.before\:left-1\/2:before{content:var(--tw-content);left:50%}.before\:-z-10:before{content:var(--tw-content);z-index:-10}.before\:h-1:before{content:var(--tw-content);height:var(--spacing)}.before\:h-px:before{content:var(--tw-content);height:1px}.before\:w-px:before{content:var(--tw-content);width:1px}.before\:rounded-inner:before{content:var(--tw-content);border-radius:var(--radius-inner)}.before\:bg-hairline:before{content:var(--tw-content);background-color:var(--hairline)}.before\:bg-rule-strong:before{content:var(--tw-content);background-color:var(--rule-strong)}.before\:transition-colors:before{content:var(--tw-content);transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.before\:duration-120:before{content:var(--tw-content);--tw-duration:.12s;transition-duration:.12s}@media(hover:hover){.group-hover\:before\:bg-fill-hover:is(:where(.group):hover *):before{content:var(--tw-content);background-color:var(--fill-hover)}}.group-has-\[a\[data-part\=name\]\:focus-visible\]\:before\:outline-2:is(:where(.group):has(:is(a[data-part=name]:focus-visible)) *):before{content:var(--tw-content);outline-style:var(--tw-outline-style);outline-width:2px}.group-has-\[a\[data-part\=name\]\:focus-visible\]\:before\:outline-offset-2:is(:where(.group):has(:is(a[data-part=name]:focus-visible)) *):before{content:var(--tw-content);outline-offset:2px}.group-has-\[a\[data-part\=name\]\:focus-visible\]\:before\:outline-focus:is(:where(.group):has(:is(a[data-part=name]:focus-visible)) *):before{content:var(--tw-content);outline-color:var(--focus)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:-inset-1:after{content:var(--tw-content);inset:calc(var(--spacing) * -1)}.after\:inset-0:after{content:var(--tw-content);inset:0}.after\:rounded-inner:after{content:var(--tw-content);border-radius:var(--radius-inner)}.first\:pl-6:first-child{padding-left:calc(var(--spacing) * 6)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pr-4\.5:last-child{padding-right:calc(var(--spacing) * 4.5)}.odd\:bg-fill-zebra:nth-child(odd){background-color:var(--fill-zebra)}@media(hover:hover){.hover\:bg-fill-hover:hover{background-color:var(--fill-hover)}.hover\:bg-fill-selected:hover{background-color:var(--fill-selected)}.hover\:text-ink:hover{color:var(--ink)}.hover\:text-ink-secondary:hover{color:var(--ink-secondary)}.hover\:decoration-ink:hover{-webkit-text-decoration-color:var(--ink);text-decoration-color:var(--ink)}.hover\:brightness-105:hover{--tw-brightness:brightness(105%);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\:z-20:focus-visible{z-index:20}.focus-visible\:bg-fill-selected:focus-visible{background-color:var(--fill-selected)}.focus-visible\:text-ink:focus-visible{color:var(--ink)}.focus-visible\:-outline-offset-2:focus-visible{outline-offset:-2px}.focus-visible\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\:brightness-97:active{--tw-brightness:brightness(97%);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,)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-default:disabled{cursor:default}.disabled\:opacity-50:disabled{opacity:.5}.has-\[a\[data-part\=name\]\:focus-visible\]\:outline-2:has(:is(a[data-part=name]:focus-visible)){outline-style:var(--tw-outline-style);outline-width:2px}.has-\[a\[data-part\=name\]\:focus-visible\]\:outline-offset-2:has(:is(a[data-part=name]:focus-visible)){outline-offset:2px}.has-\[a\[data-part\=name\]\:focus-visible\]\:outline-focus:has(:is(a[data-part=name]:focus-visible)){outline-color:var(--focus)}.has-\[button\:focus-visible\]\:outline-2:has(:is(button:focus-visible)){outline-style:var(--tw-outline-style);outline-width:2px}.has-\[button\:focus-visible\]\:outline-offset-2:has(:is(button:focus-visible)){outline-offset:2px}.has-\[button\:focus-visible\]\:outline-focus:has(:is(button:focus-visible)){outline-color:var(--focus)}.data-\[state\=checked\]\:bg-fill-selected[data-state=checked]{background-color:var(--fill-selected)}.data-\[state\=checked\]\:text-ink[data-state=checked]{color:var(--ink)}.data-\[state\=closed\]\:animate-drop[data-state=closed]{animation:var(--animate-drop)}.data-\[state\=closed\]\:animate-fade-out[data-state=closed]{animation:var(--animate-fade-out)}.data-\[state\=open\]\:animate-fade-in[data-state=open]{animation:var(--animate-fade-in)}.data-\[state\=open\]\:animate-rise-fast[data-state=open]{animation:var(--animate-rise-fast)}@media(prefers-reduced-motion:no-preference){.motion-safe\:animate-lamp{animation:var(--animate-lamp)}.motion-safe\:transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.motion-safe\:duration-220{--tw-duration:.22s;transition-duration:.22s}.motion-safe\:ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}}@media not all and (min-width:1181px){.max-wide\:col-span-1{grid-column:span 1/span 1}.max-wide\:col-start-1{grid-column-start:1}.max-wide\:row-start-2{grid-row-start:2}.max-wide\:row-start-3{grid-row-start:3}.max-wide\:row-start-4{grid-row-start:4}.max-wide\:row-start-5{grid-row-start:5}.max-wide\:row-start-6{grid-row-start:6}.max-wide\:flex{display:flex}.max-wide\:hidden{display:none}.max-wide\:h-50{height:calc(var(--spacing) * 50)}.max-wide\:max-h-120{max-height:calc(var(--spacing) * 120)}.max-wide\:min-h-0{min-height:0}.max-wide\:w-full{width:100%}.max-wide\:flex-none{flex:none}.max-wide\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.max-wide\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-wide\:flex-col{flex-direction:column}.max-wide\:flex-wrap{flex-wrap:wrap}.max-wide\:gap-y-3\.5{row-gap:calc(var(--spacing) * 3.5)}}@media not all and (min-width:761px){.max-mid\:sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.max-mid\:order-last{order:9999}.max-mid\:col-start-1{grid-column-start:1}.max-mid\:col-start-2{grid-column-start:2}.max-mid\:row-start-1{grid-row-start:1}.max-mid\:row-start-2{grid-row-start:2}.max-mid\:my-0{margin-block:0}.max-mid\:mr-auto{margin-right:auto}.max-mid\:grid{display:grid}.max-mid\:hidden{display:none}.max-mid\:w-11{width:calc(var(--spacing) * 11)}.max-mid\:w-14{width:calc(var(--spacing) * 14)}.max-mid\:w-auto{width:auto}.max-mid\:min-w-0{min-width:0}.max-mid\:flex-1{flex:1}.max-mid\:basis-full{flex-basis:100%}.max-mid\:grid-cols-\[minmax\(0\,1fr\)_auto\]{grid-template-columns:minmax(0,1fr) auto}.max-mid\:flex-col{flex-direction:column}.max-mid\:flex-wrap{flex-wrap:wrap}.max-mid\:items-start{align-items:flex-start}.max-mid\:items-stretch{align-items:stretch}.max-mid\:justify-between{justify-content:space-between}.max-mid\:gap-0\.5{gap:calc(var(--spacing) * .5)}.max-mid\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-mid\:gap-2{gap:calc(var(--spacing) * 2)}.max-mid\:gap-2\.5{gap:calc(var(--spacing) * 2.5)}.max-mid\:gap-4{gap:calc(var(--spacing) * 4)}.max-mid\:gap-x-4{column-gap:calc(var(--spacing) * 4)}.max-mid\:gap-y-1{row-gap:var(--spacing)}.max-mid\:gap-y-1\.5{row-gap:calc(var(--spacing) * 1.5)}.max-mid\:gap-y-2{row-gap:calc(var(--spacing) * 2)}.max-mid\:gap-y-3{row-gap:calc(var(--spacing) * 3)}.max-mid\:justify-self-end{justify-self:flex-end}.max-mid\:border-l-0{border-left-style:var(--tw-border-style);border-left-width:0}.max-mid\:p-5{padding:calc(var(--spacing) * 5)}.max-mid\:px-5{padding-inline:calc(var(--spacing) * 5)}.max-mid\:py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.max-mid\:pl-0{padding-left:0}.max-mid\:pl-4{padding-left:calc(var(--spacing) * 4)}.max-mid\:text-left{text-align:left}}@media(min-width:1181px){.wide\:absolute{position:absolute}.wide\:inset-0{inset:0}}@container not (min-width:42rem){.\@max-\[42rem\]\:hidden{display:none}}@container (min-width:26rem){.\@min-\[26rem\]\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (min-width:47rem){.\@min-\[47rem\]\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.dark\:text-status-working:where([data-theme=dark],[data-theme=dark] *){color:var(--status-working)}.in-app\:w-rail:where([data-host=app] *){width:var(--spacing-rail)}.in-app-windowed\:block:where([data-host=app]:not([data-fullscreen]) *){display:block}.in-app-windowed\:rounded-inner:where([data-host=app]:not([data-fullscreen]) *){border-radius:var(--radius-inner)}}@property --tw-animation-delay{syntax:"*";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:"*";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:"*";inherits:false}@property --tw-animation-fill-mode{syntax:"*";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-blur{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:"*";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:"*";inherits:false;initial-value:0}@font-face{font-family:Atkinson Hyperlegible Next;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/atkinson-hyperlegible-next-latin-ext-400-normal-BalHKn7d.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Atkinson Hyperlegible Next;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/atkinson-hyperlegible-next-latin-400-normal-FfmJh7DR.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Atkinson Hyperlegible Next;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/atkinson-hyperlegible-next-latin-ext-500-normal-CUASR3PD.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Atkinson Hyperlegible Next;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/atkinson-hyperlegible-next-latin-500-normal-gHP6TDRs.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Atkinson Hyperlegible Next;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/atkinson-hyperlegible-next-latin-ext-600-normal-kZZEtAc7.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Atkinson Hyperlegible Next;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/atkinson-hyperlegible-next-latin-600-normal-BBuhw47K.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Atkinson Hyperlegible Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/atkinson-hyperlegible-mono-latin-ext-400-normal-CpVFOiMk.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Atkinson Hyperlegible Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/assets/atkinson-hyperlegible-mono-latin-400-normal-CmMGer93.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Atkinson Hyperlegible Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/atkinson-hyperlegible-mono-latin-ext-500-normal-DE1cvYE7.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Atkinson Hyperlegible Mono;font-style:normal;font-display:swap;font-weight:500;src:url(/assets/atkinson-hyperlegible-mono-latin-500-normal-CfDLaOZW.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Atkinson Hyperlegible Mono;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/atkinson-hyperlegible-mono-latin-ext-600-normal-DKhxRsTL.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Atkinson Hyperlegible Mono;font-style:normal;font-display:swap;font-weight:600;src:url(/assets/atkinson-hyperlegible-mono-latin-600-normal-BiYyYOKJ.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--field-main-width:1760px;--field-main-height:470px;--field-main-right:-420px;--field-main-top:-150px;--field-main-turn:-13deg;--glass-blur:30px;--lit-top:#ffffff8c}:root,[data-theme=dark]{color-scheme:dark;--ground-top:#090908;--ground:linear-gradient(180deg, #090908 0%, #0b0a09 46%, #11100e 100%);--field:218 214 207;--field-deep:142 137 130;--field-strength:.23;--grain:.5;--lamp:255 166 60;--lamp-strength:.48;--rest:226 221 213;--rest-strength:.34;--glass-chrome:#100f0e99;--glass-card:#1312119e;--glass-raised:#211f1da8;--glass-float:#1e1c1ad6;--saturate:118%;--saturate-hero:185%;--rim:linear-gradient(205deg, #fff8ee4d 0%, #fff8ee17 20%, #fff8ee08 58%, #fff8ee14 100%);--rim-raised:linear-gradient(205deg, #fff8ee6b 0%, #fff8ee21 20%, #fff8ee0b 58%, #fff8ee1f 100%);--rim-lamp:linear-gradient(135deg, #ffb8608c 0%, #ffb86029 22%, #ffb86000 46%);--rim-rest:linear-gradient(135deg, #f0eae057 0%, #f0eae017 24%, #f0eae000 48%);--sheen:linear-gradient(180deg, #fff8ee11, #fff8ee03 120px, #fff8ee00 260px);--elev-1:0 0 0 1px #0000008c, 0 1px 1px #00000059, 0 14px 34px -18px #000c;--elev-2:0 0 0 1px #00000094, 0 1px 1px #00000061, 0 26px 52px -26px #000000e0;--elev-3:0 0 0 1px #0000009e, 0 2px 2px #0000006b, 0 44px 90px -34px #000000f2;--fill-quiet:#fff8ee0e;--fill-hover:#fff8ee0b;--fill-selected:#fff8ee1a;--fill-zebra:#fff8ee06;--control-rim:#fff8ee1a;--control-top:#fff8ee1a;--well:#0000004d;--well-shade:#00000059;--thumb:#fff8ee1c;--thumb-drop:#00000059;--hairline:#fff8ee13;--rule:#fff8ee1f;--rule-strong:#fff8ee38;--ink:#f3f0ea;--ink-secondary:#c3beb5;--ink-muted:#9e988f;--status-needs-you:#ffb547;--status-needs-you-edge:#ffb547;--label-needs-you:#ffb547;--on-needs-you:#221400;--glow-needs-you:#ffaa3c80;--status-working:#a9bcd4;--status-working-fill:#86a0bd;--status-working-top:#ffffff29;--status-idle:#948e85;--answered-fill:#948e8542;--status-finished:#9e988f;--tube:#fff8ee0a;--tube-rim:#fff8ee26;--tube-top:#fff8ee33;--unmeasured:#4b463f;--focus:#c3d3e6;--scrim:#0009}[data-theme=light]{color-scheme:light;--ground-top:#d4d0ca;--ground:linear-gradient(180deg, #d4d0ca, #ebe9e5);--field:255 255 255;--field-deep:240 235 227;--field-strength:.72;--grain:.3;--lamp:255 176 80;--lamp-strength:.46;--rest:255 255 255;--rest-strength:.7;--glass-chrome:#fcfbf985;--glass-card:#fffffe8f;--glass-raised:#ffffffa8;--glass-float:#fdfcfad6;--saturate:160%;--saturate-hero:190%;--rim:linear-gradient(205deg, #fff 0%, #ffffff9e 20%, #ffffff6b 60%, #fffc 100%);--rim-raised:linear-gradient(205deg, #fff 0%, #ffffffbf 20%, #ffffff85 60%, #ffffffe6 100%);--rim-lamp:linear-gradient(135deg, #e896288c 0%, #e8962824 22%, #e8962800 46%);--rim-rest:linear-gradient(135deg, #ffffffe6 0%, #fff0 40%);--sheen:linear-gradient(180deg, #fff6, #fff0 96px);--elev-1:0 0 0 .5px #26201a1f, 0 1px 2px #26201a0f, 0 14px 30px -18px #26201a4d;--elev-2:0 0 0 .5px #26201a1f, 0 1px 2px #26201a0f, 0 24px 46px -26px #26201a5c;--elev-3:0 0 0 .5px #26201a24, 0 2px 3px #26201a12, 0 40px 80px -34px #26201a73;--fill-quiet:#ffffff9e;--fill-hover:#ffffff8c;--fill-selected:#ffffffd9;--fill-zebra:#26201a09;--control-rim:#26201a21;--control-top:#ffffffe6;--well:#26201a0e;--well-shade:#26201a0f;--thumb:#fff;--thumb-drop:#26201a4d;--hairline:#26201a14;--rule:#26201a21;--rule-strong:#26201a47;--ink:#181613;--ink-secondary:#3f3b36;--ink-muted:#5b564f;--status-needs-you:#f4a62a;--status-needs-you-edge:#a35a00;--label-needs-you:#864600;--on-needs-you:#221400;--glow-needs-you:#d6801466;--status-working:#36577e;--status-working-fill:#5b7ca4;--status-working-top:#ffffff38;--status-idle:#6f6961;--answered-fill:#6f696124;--status-finished:#5b564f;--tube:#ffffff9e;--tube-rim:#26201a29;--tube-top:#fff;--unmeasured:#b2aca3;--focus:#36577e;--scrim:#26201a47}@media not all and (min-width:761px){:root{--text-name:28px;--text-wait:38px;--spacing-label-col:140px;--spacing-waited-name:104px}}@media(prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important;animation-delay:0s!important}}@property --tw-border-spacing-x{syntax:"<length>";inherits:false;initial-value:0}@property --tw-border-spacing-y{syntax:"<length>";inherits:false;initial-value:0}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-ease{syntax:"*";inherits:false}@keyframes lamp{0%,to{stroke-opacity:.38}50%{stroke-opacity:.8}}@keyframes spin-loader{to{transform:rotate(360deg)}}@keyframes rise{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes fade-in{0%{opacity:0}}@keyframes fade-out{to{opacity:0}}@keyframes drop{to{transform:translateY(6px)}}
@@ -0,0 +1,41 @@
1
+ var Sn=e=>{throw TypeError(e)};var Pn=(e,t,n)=>t.has(e)||Sn("Cannot "+n);var V=(e,t,n)=>(Pn(e,t,"read from private field"),n?n.call(e):t.get(e)),On=(e,t,n)=>t.has(e)?Sn("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),gt=(e,t,n,r)=>(Pn(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);import{r as a,R as ke,j as E,a as Kt,_ as he,b as Zn,c as Vo}from"./react-C2DiJaR6.js";var zo=Object.defineProperty,Yt=(e,t)=>zo(e,"name",{value:t,configurable:!0});function It(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}Yt(It,"setRef");function Qn(...e){return t=>{let n=!1;const r=e.map(o=>{const i=It(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():It(e[o],null)}}}}Yt(Qn,"composeRefs");function N(...e){return a.useCallback(Qn(...e),e)}Yt(N,"useComposedRefs");var Ko=Object.defineProperty,ee=(e,t)=>Ko(e,"name",{value:t,configurable:!0});function ve(e){const t=a.forwardRef((n,r)=>{let{children:o,...i}=n,s=null,c=!1;const l=[];Tt(o)&&typeof ze=="function"&&(o=ze(o._payload)),a.Children.forEach(o,d=>{if(rr(d)){c=!0;const v=d;let m="child"in v.props?v.props.child:v.props.children;Tt(m)&&typeof ze=="function"&&(m=ze(m._payload)),s=Yo(v,m),l.push(s?.props?.children)}else l.push(d)}),s?s=a.cloneElement(s,void 0,l):!c&&a.Children.count(o)===1&&a.isValidElement(o)&&(s=o);const f=s?nr(s):void 0,h=N(r,f);if(!s){if(o||o===0)throw new Error(c?Zo(e):qo(e));return o}const u=tr(i,s.props??{});return s.type!==a.Fragment&&(u.ref=r?h:f),a.cloneElement(s,u)});return t.displayName=`${e}.Slot`,t}ee(ve,"createSlot");var qa=ve("Slot"),Jn=Symbol.for("radix.slottable");function er(e){const t=ee(n=>"child"in n?n.children(n.child):n.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=Jn,t}ee(er,"createSlottable");var Yo=ee((e,t)=>{if("child"in e.props){const n=e.props.child;return a.isValidElement(n)?a.cloneElement(n,void 0,e.props.children(n.props.children)):null}return a.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function tr(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...c)=>{const l=i(...c);return o(...c),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}ee(tr,"mergeProps");function nr(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}ee(nr,"getElementRef");function rr(e){return a.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Jn}ee(rr,"isSlottable");var Xo=Symbol.for("react.lazy");function Tt(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Xo&&"_payload"in e&&or(e._payload)}ee(Tt,"isLazyComponent");function or(e){return typeof e=="object"&&e!==null&&"then"in e}ee(or,"isPromiseLike");var qo=ee(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),Zo=ee(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),ze=ke[" use ".trim().toString()],Qo=Object.defineProperty,Jo=(e,t)=>Qo(e,"name",{value:t,configurable:!0}),ei=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],B=ei.reduce((e,t)=>{const n=ve(`Primitive.${t}`),r=a.forwardRef((o,i)=>{const{asChild:s,...c}=o,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),E.jsx(l,{...c,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function ir(e,t){e&&Kt.flushSync(()=>e.dispatchEvent(t))}Jo(ir,"dispatchDiscreteCustomEvent");var ti=Object.defineProperty,ni=(e,t)=>ti(e,"name",{value:t,configurable:!0}),ri=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),oi=a.forwardRef(ni(function(t,n){return E.jsx(B.span,{...t,ref:n,style:{...ri,...t.style}})},"VisuallyHidden")),ii=oi,si=Object.defineProperty,Q=(e,t)=>si(e,"name",{value:t,configurable:!0});function ci(e,t){const n=a.createContext(t);n.displayName=e+"Context";const r=Q(i=>{const{children:s,...c}=i,l=a.useMemo(()=>c,Object.values(c));return E.jsx(n.Provider,{value:l,children:s})},"Provider");r.displayName=e+"Provider";function o(i,s={}){const{optional:c=!1}=s,l=a.useContext(n);if(l)return l;if(t!==void 0)return t;if(!c)throw new Error(`\`${i}\` must be used within \`${e}\``)}return Q(o,"useContext"),[r,o]}Q(ci,"createContext");function oe(e,t=[]){let n=[];function r(i,s){const c=a.createContext(s);c.displayName=i+"Context";const l=n.length;n=[...n,s];const f=Q(u=>{const{scope:d,children:v,...m}=u,p=d?.[e]?.[l]||c,g=a.useMemo(()=>m,Object.values(m));return E.jsx(p.Provider,{value:g,children:v})},"Provider");f.displayName=i+"Provider";function h(u,d,v={}){const{optional:m=!1}=v,p=d?.[e]?.[l]||c,g=a.useContext(p);if(g)return g;if(s!==void 0)return s;if(!m)throw new Error(`\`${u}\` must be used within \`${i}\``)}return Q(h,"useContext"),[f,h]}Q(r,"createContext");const o=Q(()=>{const i=n.map(s=>a.createContext(s));return Q(function(c){const l=c?.[e]||i;return a.useMemo(()=>({[`__scope${e}`]:{...c,[e]:l}}),[c,l])},"useScope")},"createScope");return o.scopeName=e,[r,sr(o,...t)]}Q(oe,"createContextScope");function sr(...e){const t=e[0];if(e.length===1)return t;const n=Q(()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return Q(function(i){const s=r.reduce((c,{useScope:l,scopeName:f})=>{const u=l(i)[`__scope${f}`];return{...c,...u}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])},"useComposedScopes")},"createScope");return n.scopeName=t.scopeName,n}Q(sr,"composeContextScopes");var ai=Object.defineProperty,G=(e,t)=>ai(e,"name",{value:t,configurable:!0});function cr(e){const t=e+"CollectionProvider",[n,r]=oe(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=G(p=>{const{scope:g,children:w}=p,b=a.useRef(null),y=a.useRef(new Map).current;return E.jsx(o,{scope:g,itemMap:y,collectionRef:b,children:w})},"CollectionProvider");s.displayName=t;const c=e+"CollectionSlot",l=ve(c),f=a.forwardRef((p,g)=>{const{scope:w,children:b}=p,y=i(c,w),C=N(g,y.collectionRef);return E.jsx(l,{ref:C,children:b})});f.displayName=c;const h=e+"CollectionItemSlot",u="data-radix-collection-item",d=ve(h),v=a.forwardRef((p,g)=>{const{scope:w,children:b,...y}=p,C=a.useRef(null),R=N(g,C),x=i(h,w);return a.useEffect(()=>(x.itemMap.set(C,{ref:C,...y}),()=>{x.itemMap.delete(C)})),E.jsx(d,{[u]:"",ref:R,children:b})});v.displayName=h;function m(p){const g=i(e+"CollectionConsumer",p);return a.useCallback(()=>{const b=g.collectionRef.current;if(!b)return[];const y=Array.from(b.querySelectorAll(`[${u}]`));return Array.from(g.itemMap.values()).sort((x,S)=>y.indexOf(x.ref.current)-y.indexOf(S.ref.current))},[g.collectionRef,g.itemMap])}return G(m,"useCollection"),[{Provider:s,Slot:f,ItemSlot:v},m,r]}G(cr,"createCollection");var _n=new WeakMap,$,q,yt=(q=class extends Map{constructor(n){super(n);On(this,$);gt(this,$,[...super.keys()]),_n.set(this,!0)}set(n,r){return _n.get(this)&&(this.has(n)?V(this,$)[V(this,$).indexOf(n)]=n:V(this,$).push(n)),super.set(n,r),this}insert(n,r,o){const i=this.has(r),s=V(this,$).length,c=Xt(n);let l=c>=0?c:s+c;const f=l<0||l>=s?-1:l;if(f===this.size||i&&f===this.size-1||f===-1)return this.set(r,o),this;const h=this.size+(i?0:1);c<0&&l++;const u=[...V(this,$)];let d,v=!1;for(let m=l;m<h;m++)if(l===m){let p=u[m];u[m]===r&&(p=u[m+1]),i&&this.delete(r),d=this.get(p),this.set(r,o)}else{!v&&u[m-1]===r&&(v=!0);const p=u[v?m:m-1],g=d;d=this.get(p),this.delete(p),this.set(p,g)}return this}with(n,r,o){const i=new q(this);return i.insert(n,r,o),i}before(n){const r=V(this,$).indexOf(n)-1;if(!(r<0))return this.entryAt(r)}setBefore(n,r,o){const i=V(this,$).indexOf(n);return i===-1?this:this.insert(i,r,o)}after(n){let r=V(this,$).indexOf(n);if(r=r===-1||r===this.size-1?-1:r+1,r!==-1)return this.entryAt(r)}setAfter(n,r,o){const i=V(this,$).indexOf(n);return i===-1?this:this.insert(i+1,r,o)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return gt(this,$,[]),super.clear()}delete(n){const r=super.delete(n);return r&&V(this,$).splice(V(this,$).indexOf(n),1),r}deleteAt(n){const r=this.keyAt(n);return r!==void 0?this.delete(r):!1}at(n){const r=Je(V(this,$),n);if(r!==void 0)return this.get(r)}entryAt(n){const r=Je(V(this,$),n);if(r!==void 0)return[r,this.get(r)]}indexOf(n){return V(this,$).indexOf(n)}keyAt(n){return Je(V(this,$),n)}from(n,r){const o=this.indexOf(n);if(o===-1)return;let i=o+r;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.at(i)}keyFrom(n,r){const o=this.indexOf(n);if(o===-1)return;let i=o+r;return i<0&&(i=0),i>=this.size&&(i=this.size-1),this.keyAt(i)}find(n,r){let o=0;for(const i of this){if(Reflect.apply(n,r,[i,o,this]))return i;o++}}findIndex(n,r){let o=0;for(const i of this){if(Reflect.apply(n,r,[i,o,this]))return o;o++}return-1}filter(n,r){const o=[];let i=0;for(const s of this)Reflect.apply(n,r,[s,i,this])&&o.push(s),i++;return new q(o)}map(n,r){const o=[];let i=0;for(const s of this)o.push([s[0],Reflect.apply(n,r,[s,i,this])]),i++;return new q(o)}reduce(...n){const[r,o]=n;let i=0,s=o??this.at(0);for(const c of this)i===0&&n.length===1?s=c:s=Reflect.apply(r,this,[s,c,i,this]),i++;return s}reduceRight(...n){const[r,o]=n;let i=o??this.at(-1);for(let s=this.size-1;s>=0;s--){const c=this.at(s);s===this.size-1&&n.length===1?i=c:i=Reflect.apply(r,this,[i,c,s,this])}return i}toSorted(n){const r=[...this.entries()].sort(n);return new q(r)}toReversed(){const n=new q;for(let r=this.size-1;r>=0;r--){const o=this.keyAt(r),i=this.get(o);n.set(o,i)}return n}toSpliced(...n){const r=[...this.entries()];return r.splice(...n),new q(r)}slice(n,r){const o=new q;let i=this.size-1;if(n===void 0)return o;n<0&&(n=n+this.size),r!==void 0&&r>0&&(i=r-1);for(let s=n;s<=i;s++){const c=this.keyAt(s),l=this.get(c);o.set(c,l)}return o}every(n,r){let o=0;for(const i of this){if(!Reflect.apply(n,r,[i,o,this]))return!1;o++}return!0}some(n,r){let o=0;for(const i of this){if(Reflect.apply(n,r,[i,o,this]))return!0;o++}return!1}},$=new WeakMap,G(q,"OrderedDict"),q);function Je(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);const n=ar(e,t);return n===-1?void 0:e[n]}G(Je,"at");function ar(e,t){const n=e.length,r=Xt(t),o=r>=0?r:n+r;return o<0||o>=n?-1:o}G(ar,"toSafeIndex");function Xt(e){return e!==e||e===0?0:Math.trunc(e)}G(Xt,"toSafeInteger");function li(e){const t=e+"CollectionProvider",[n,r]=oe(t),[o,i]=n(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new yt,setItemMap:G(()=>{},"setItemMap")}),s=G(({state:y,...C})=>y?E.jsx(l,{...C,state:y}):E.jsx(c,{...C}),"CollectionProvider");s.displayName=t;const c=G(y=>{const C=g();return E.jsx(l,{...y,state:C})},"CollectionInit");c.displayName=t+"Init";const l=G(y=>{const{scope:C,children:R,state:x}=y,S=a.useRef(null),[O,P]=a.useState(null),A=N(S,P),[D,_]=x;return a.useEffect(()=>{if(!O)return;const I=fr(()=>{});return I.observe(O,{childList:!0,subtree:!0}),()=>{I.disconnect()}},[O]),E.jsx(o,{scope:C,itemMap:D,setItemMap:_,collectionRef:A,collectionRefObject:S,collectionElement:O,children:R})},"CollectionProviderImpl");l.displayName=t+"Impl";const f=e+"CollectionSlot",h=ve(f),u=a.forwardRef((y,C)=>{const{scope:R,children:x}=y,S=i(f,R),O=N(C,S.collectionRef);return E.jsx(h,{ref:O,children:x})});u.displayName=f;const d=e+"CollectionItemSlot",v="data-radix-collection-item",m=ve(d),p=a.forwardRef((y,C)=>{const{scope:R,children:x,...S}=y,O=a.useRef(null),[P,A]=a.useState(null),D=N(C,O,A),_=i(d,R),{setItemMap:I}=_,k=a.useRef(S);lr(k.current,S)||(k.current=S);const W=k.current;return a.useEffect(()=>{const F=W;return I(T=>P?T.has(P)?T.set(P,{...F,element:P}).toSorted(Dt):(T.set(P,{...F,element:P}),T.toSorted(Dt)):T),()=>{I(T=>!P||!T.has(P)?T:(T.delete(P),new yt(T)))}},[P,W,I]),E.jsx(m,{[v]:"",ref:D,children:x})});p.displayName=d;function g(){return a.useState(new yt)}G(g,"useInitCollection");function w(y){const{itemMap:C}=i(e+"CollectionConsumer",y);return C}return G(w,"useCollection"),[{Provider:s,Slot:u,ItemSlot:p},{createCollectionScope:r,useCollection:w,useInitCollection:g}]}G(li,"createCollection");function lr(e,t){if(e===t)return!0;if(typeof e!="object"||typeof t!="object"||e==null||t==null)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const o of n)if(!Object.prototype.hasOwnProperty.call(t,o)||e[o]!==t[o])return!1;return!0}G(lr,"shallowEqual");function ur(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}G(ur,"isElementPreceding");function Dt(e,t){return!e[1].element||!t[1].element?0:ur(e[1].element,t[1].element)?-1:1}G(Dt,"sortByDocumentPosition");function fr(e){return new MutationObserver(n=>{for(const r of n)if(r.type==="childList"){e();return}})}G(fr,"getChildListObserver");var ui=Object.defineProperty,Me=(e,t)=>ui(e,"name",{value:t,configurable:!0}),dr=!!(typeof window<"u"&&window.document&&window.document.createElement);function L(e,t,{checkForDefaultPrevented:n=!0}={}){return Me(function(o){if(e?.(o),n===!1||!o||!o.defaultPrevented)return t?.(o)},"handleEvent")}Me(L,"composeEventHandlers");function fi(e){if(!dr)throw new Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window}Me(fi,"getOwnerWindow");function kt(e){if(!dr)throw new Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}Me(kt,"getOwnerDocument");function pr(e,t=!1){const{activeElement:n}=kt(e);if(!n?.nodeName)return null;if(hr(n)&&n.contentDocument)return pr(n.contentDocument.body,t);if(t){const r=n.getAttribute("aria-activedescendant");if(r){const o=kt(n).getElementById(r);if(o)return o}}return n}Me(pr,"getActiveElement");function hr(e){return e.tagName==="IFRAME"}Me(hr,"isFrame");var K=globalThis?.document?a.useLayoutEffect:()=>{},di=Object.defineProperty,pi=(e,t)=>di(e,"name",{value:t,configurable:!0}),An=ke[" useEffectEvent ".trim().toString()],In=ke[" useInsertionEffect ".trim().toString()];function mr(e){if(typeof An=="function")return An(e);const t=a.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return typeof In=="function"?In(()=>{t.current=e}):K(()=>{t.current=e}),a.useMemo(()=>((...n)=>t.current?.(...n)),[])}pi(mr,"useEffectEvent");var hi=Object.defineProperty,Ge=(e,t)=>hi(e,"name",{value:t,configurable:!0}),mi=ke[" useInsertionEffect ".trim().toString()]||K;function Le({prop:e,defaultProp:t,onChange:n=Ge(()=>{},"onChange"),caller:r}){const[o,i,s]=vr({defaultProp:t,onChange:n}),c=e!==void 0,l=c?e:o,f=a.useCallback(h=>{if(c){const u=gr(h)?h(e):h;u!==e&&s.current?.(u)}else i(h)},[c,e,i,s]);return[l,f]}Ge(Le,"useControllableState");function vr({defaultProp:e,onChange:t}){const[n,r]=a.useState(e),o=a.useRef(n),i=a.useRef(t);return mi(()=>{i.current=t},[t]),a.useEffect(()=>{o.current!==n&&(i.current?.(n),o.current=n)},[n,o]),[n,r,i]}Ge(vr,"useUncontrolledState");function gr(e){return typeof e=="function"}Ge(gr,"isFunction");var Tn=Symbol("RADIX:SYNC_STATE");function vi(e,t,n,r){const{prop:o,defaultProp:i,onChange:s,caller:c}=t,l=o!==void 0,f=mr(s),h=[{...n,state:i}];r&&h.push(r);const[u,d]=a.useReducer((g,w)=>{if(w.type===Tn)return{...g,state:w.state};const b=e(g,w);return l&&!Object.is(b.state,g.state)&&f(b.state),b},...h),v=u.state,m=a.useRef(v);a.useEffect(()=>{m.current!==v&&(m.current=v,l||f(v))},[v,m,l]);const p=a.useMemo(()=>o!==void 0?{...u,state:o}:u,[u,o]);return a.useEffect(()=>{l&&!Object.is(o,u.state)&&d({type:Tn,state:o})},[o,u.state,l]),[p,d]}Ge(vi,"useControllableStateReducer");var gi=Object.defineProperty,ue=(e,t)=>gi(e,"name",{value:t,configurable:!0});function yr(e,t){return a.useReducer((n,r)=>t[n][r]??n,e)}ue(yr,"useStateMachine");var Fe=ue(e=>{const{present:t,children:n}=e,r=br(t),o=typeof n=="function"?n({present:r.isPresent}):a.Children.only(n),i=wr(r.ref,Cr(o));return typeof n=="function"||r.isPresent?a.cloneElement(o,{ref:i}):null},"Presence");function br(e){const[t,n]=a.useState(),r=a.useRef(null),o=a.useRef(e),i=a.useRef("none"),s=a.useRef(void 0),c=e?"mounted":"unmounted",[l,f]=yr(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return a.useEffect(()=>{l==="mounted"?(i.current=s.current??Ae(r.current),s.current=void 0):i.current="none"},[l]),K(()=>{const h=r.current,u=o.current;if(u!==e){const v=i.current,m=Ae(h);e?(s.current=m,f("MOUNT")):m==="none"||h?.display==="none"?f("UNMOUNT"):f(u&&v!==m?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,f]),K(()=>{if(t){let h;const u=t.ownerDocument.defaultView??window,d=ue(m=>{const g=Ae(r.current).includes(CSS.escape(m.animationName));if(m.target===t&&g&&(f("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",h=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},"handleAnimationEnd"),v=ue(m=>{m.target===t&&(i.current=Ae(r.current))},"handleAnimationStart");return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{u.clearTimeout(h),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else f("ANIMATION_END")},[t,f]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:a.useCallback(h=>{if(h){const u=getComputedStyle(h);r.current=u,s.current=Ae(u)}else r.current=null;n(h)},[])}}ue(br,"usePresence");function Mt(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}ue(Mt,"setRef");function wr(...e){const t=a.useRef(e);return t.current=e,a.useCallback(n=>{const r=t.current;let o=!1;const i=r.map(s=>{const c=Mt(s,n);return!o&&typeof c=="function"&&(o=!0),c});if(o)return()=>{for(let s=0;s<i.length;s++){const c=i[s];typeof c=="function"?c():Mt(r[s],null)}}},[])}ue(wr,"useStableComposedRefs");function Ae(e){return e?.animationName||"none"}ue(Ae,"getAnimationName");function Cr(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}ue(Cr,"getElementRef");var yi=Object.defineProperty,bi=(e,t)=>yi(e,"name",{value:t,configurable:!0}),wi=ke[" useId ".trim().toString()]||(()=>{}),Ci=0;function Ie(e){const[t,n]=a.useState(wi());return K(()=>{e||n(r=>r??String(Ci++))},[e]),e||(t?`radix-${t}`:"")}bi(Ie,"useId");var xi=Object.defineProperty,Ri=(e,t)=>xi(e,"name",{value:t,configurable:!0}),Ei=a.createContext(void 0);function qt(e){const t=a.useContext(Ei);return e||t||"ltr"}Ri(qt,"useDirection");var Si=Object.defineProperty,Pi=(e,t)=>Si(e,"name",{value:t,configurable:!0});function ge(e){const t=a.useRef(e);return a.useEffect(()=>{t.current=e}),a.useMemo(()=>((...n)=>t.current?.(...n)),[])}Pi(ge,"useCallbackRef");var Oi=Object.defineProperty,H=(e,t)=>Oi(e,"name",{value:t,configurable:!0}),Lt="dismissableLayer.update",_i="dismissableLayer.pointerDownOutside",Ai="dismissableLayer.focusOutside",Dn,xr=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),Rr=a.forwardRef(H(function(t,n){const{disableOutsidePointerEvents:r=!1,deferPointerDownOutside:o=!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:c,onInteractOutside:l,onDismiss:f,...h}=t,u=a.useContext(xr),[d,v]=a.useState(null),m=d?.ownerDocument??globalThis?.document,[,p]=a.useState({}),g=N(n,v),w=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),y=b?w.indexOf(b):-1,C=d?w.indexOf(d):-1,R=u.layersWithOutsidePointerEventsDisabled.size>0,x=C>=y,S=a.useRef(!1),O=Sr(_=>{s?.(_),l?.(_),_.defaultPrevented||f?.()},{ownerDocument:m,deferPointerDownOutside:o,isDeferredPointerDownOutsideRef:S,dismissableSurfaces:u.dismissableSurfaces,shouldHandlePointerDownOutside:a.useCallback(_=>{if(!(_ instanceof Node))return!1;const I=[...u.branches].some(k=>k.contains(_));return x&&!I},[u.branches,x])}),P=Pr(_=>{if(o&&S.current)return;const I=_.target;[...u.branches].some(W=>W.contains(I))||(c?.(_),l?.(_),_.defaultPrevented||f?.())},m),A=d?C===w.length-1:!1,D=ge(_=>{_.key==="Escape"&&(i?.(_),!_.defaultPrevented&&f&&(_.preventDefault(),f()))});return a.useEffect(()=>{if(A)return m.addEventListener("keydown",D,{capture:!0}),()=>m.removeEventListener("keydown",D,{capture:!0})},[m,A,D]),a.useEffect(()=>{if(d)return r&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Dn=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),Ft(),()=>{r&&(u.layersWithOutsidePointerEventsDisabled.delete(d),u.layersWithOutsidePointerEventsDisabled.size===0&&(m.body.style.pointerEvents=Dn))}},[d,m,r,u]),a.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),Ft())},[d,u]),a.useEffect(()=>{const _=H(()=>p({}),"handleUpdate");return document.addEventListener(Lt,_),()=>document.removeEventListener(Lt,_)},[]),E.jsx(B.div,{...h,ref:g,style:{pointerEvents:R?x?"auto":"none":void 0,...t.style},onFocusCapture:L(t.onFocusCapture,P.onFocusCapture),onBlurCapture:L(t.onBlurCapture,P.onBlurCapture),onPointerDownCapture:L(t.onPointerDownCapture,O.onPointerDownCapture)})},"DismissableLayer"));function Er(){const e=a.useContext(xr),[t,n]=a.useState(null);return a.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}H(Er,"useDismissableLayerSurface");var Ii=H(()=>!0,"IS_TRUE");function Sr(e,t){const{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:i,shouldHandlePointerDownOutside:s=Ii}=t,c=ge(e),l=a.useRef(!1),f=a.useRef(!1),h=a.useRef(new Map),u=a.useRef(()=>{});return a.useEffect(()=>{function d(){f.current=!1,o.current=!1,h.current.clear()}H(d,"resetOutsideInteraction");function v(){return Array.from(h.current.values()).some(Boolean)}H(v,"isOutsideInteractionIntercepted");function m(y){if(!f.current)return;const C=y.target;C instanceof Node&&[...i].some(x=>x.contains(C))||h.current.set(y.type,!0),y.type==="click"&&window.setTimeout(()=>{f.current&&u.current()},0)}H(m,"handleInteractionCapture");function p(y){f.current&&h.current.set(y.type,!1)}H(p,"handleInteractionBubble");const g=H(y=>{if(y.target&&!l.current){let C=function(){n.removeEventListener("click",u.current);const x=v();d(),x||Zt(_i,c,R,{discrete:!0})};if(H(C,"handleAndDispatchPointerDownOutsideEvent"),!s(y.target)){n.removeEventListener("click",u.current),d(),l.current=!1;return}const R={originalEvent:y};f.current=!0,o.current=r&&y.button===0,h.current.clear(),!r||y.button!==0?C():(n.removeEventListener("click",u.current),u.current=C,n.addEventListener("click",u.current,{once:!0}))}else n.removeEventListener("click",u.current),d();l.current=!1},"handlePointerDown"),w=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(const y of w)n.addEventListener(y,m,!0),n.addEventListener(y,p);const b=window.setTimeout(()=>{n.addEventListener("pointerdown",g)},0);return()=>{window.clearTimeout(b),n.removeEventListener("pointerdown",g),n.removeEventListener("click",u.current);for(const y of w)n.removeEventListener(y,m,!0),n.removeEventListener(y,p)}},[n,c,r,o,i,s]),{onPointerDownCapture:H(()=>l.current=!0,"onPointerDownCapture")}}H(Sr,"usePointerDownOutside");function Pr(e,t=globalThis?.document){const n=ge(e),r=a.useRef(!1);return a.useEffect(()=>{const o=H(i=>{i.target&&!r.current&&Zt(Ai,n,{originalEvent:i},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:H(()=>r.current=!0,"onFocusCapture"),onBlurCapture:H(()=>r.current=!1,"onBlurCapture")}}H(Pr,"useFocusOutside");function Ft(){const e=new CustomEvent(Lt);document.dispatchEvent(e)}H(Ft,"dispatchUpdate");function Zt(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?ir(o,i):o.dispatchEvent(i)}H(Zt,"handleAndDispatchCustomEvent");var Ti=Object.defineProperty,z=(e,t)=>Ti(e,"name",{value:t,configurable:!0}),bt="focusScope.autoFocusOnMount",wt="focusScope.autoFocusOnUnmount",kn={bubbles:!1,cancelable:!0},Di=a.forwardRef(z(function(t,n){const{loop:r=!1,trapped:o=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...c}=t,[l,f]=a.useState(null),h=ge(i),u=ge(s),d=a.useRef(null),v=N(n,f),m=a.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a.useEffect(()=>{if(o){let g=function(C){if(m.paused||!l)return;const R=C.target;l.contains(R)?d.current=R:se(d.current,{select:!0})},w=function(C){if(m.paused||!l)return;const R=C.relatedTarget;R!==null&&(l.contains(R)||se(d.current,{select:!0}))},b=function(C){if(document.activeElement===document.body)for(const x of C)x.removedNodes.length>0&&se(l)};z(g,"handleFocusIn"),z(w,"handleFocusOut"),z(b,"handleMutations"),document.addEventListener("focusin",g),document.addEventListener("focusout",w);const y=new MutationObserver(b);return l&&y.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",w),y.disconnect()}}},[o,l,m.paused]),a.useEffect(()=>{if(l){Mn.add(m);const g=document.activeElement;if(!l.contains(g)){const b=new CustomEvent(bt,kn);l.addEventListener(bt,h),l.dispatchEvent(b),b.defaultPrevented||(Or(Dr(Qt(l)),{select:!0}),document.activeElement===g&&se(l))}return()=>{l.removeEventListener(bt,h),setTimeout(()=>{const b=new CustomEvent(wt,kn);l.addEventListener(wt,u),l.dispatchEvent(b),b.defaultPrevented||se(g??document.body,{select:!0}),l.removeEventListener(wt,u),Mn.remove(m)},0)}}},[l,h,u,m]);const p=a.useCallback(g=>{if(!r&&!o||m.paused)return;const w=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,b=document.activeElement;if(w&&b){const y=g.currentTarget,[C,R]=_r(y);C&&R?!g.shiftKey&&b===R?(g.preventDefault(),r&&se(C,{select:!0})):g.shiftKey&&b===C&&(g.preventDefault(),r&&se(R,{select:!0})):b===y&&g.preventDefault()}},[r,o,m.paused]);return E.jsx(B.div,{tabIndex:-1,...c,ref:v,onKeyDown:p})},"FocusScope"));function Or(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(se(r,{select:t}),document.activeElement!==n)return}z(Or,"focusFirst");function _r(e){const t=Qt(e),n=Nt(t,e),r=Nt(t.reverse(),e);return[n,r]}z(_r,"getTabbableEdges");function Qt(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:z(r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}z(Qt,"getTabbableCandidates");function Nt(e,t){const n=typeof t.checkVisibility=="function"&&t.checkVisibility({checkVisibilityCSS:!0});for(const r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):Ar(r,{upTo:t})))return r}z(Nt,"findVisible");function Ar(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}z(Ar,"isHidden");function Ir(e){return e instanceof HTMLInputElement&&"select"in e}z(Ir,"isSelectableInput");function se(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Ir(e)&&t&&e.select()}}z(se,"focus");var Mn=Tr();function Tr(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=jt(e,t),e.unshift(t)},remove(t){e=jt(e,t),e[0]?.resume()}}}z(Tr,"createFocusScopesStack");function jt(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}z(jt,"arrayRemove");function Dr(e){return e.filter(t=>t.tagName!=="A")}z(Dr,"removeLinks");var ki=Object.defineProperty,Mi=(e,t)=>ki(e,"name",{value:t,configurable:!0}),kr=a.forwardRef(Mi(function(t,n){const{container:r,...o}=t,[i,s]=a.useState(!1);K(()=>s(!0),[]);const c=r||i&&globalThis?.document?.body;return c?Kt.createPortal(E.jsx(B.div,{...o,ref:n}),c):null},"Portal")),Li=Object.defineProperty,Jt=(e,t)=>Li(e,"name",{value:t,configurable:!0}),Ke=0,Se=null;function Fi(e){return en(),e.children}Jt(Fi,"FocusGuards");function en(){a.useEffect(()=>{Se||(Se={start:$t(),end:$t()});const{start:e,end:t}=Se;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),Ke++,()=>{Ke===1&&(Se?.start.remove(),Se?.end.remove(),Se=null),Ke=Math.max(0,Ke-1)}},[])}Jt(en,"useFocusGuards");function $t(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}Jt($t,"createFocusGuard");var et="right-scroll-bar-position",tt="width-before-scroll-bar",Ni="with-scroll-bars-hidden",ji="--removed-body-scroll-bar-size";function Ct(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function $i(e,t){var n=a.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Bi=typeof window<"u"?a.useLayoutEffect:a.useEffect,Ln=new WeakMap;function Wi(e,t){var n=$i(null,function(r){return e.forEach(function(o){return Ct(o,r)})});return Bi(function(){var r=Ln.get(n);if(r){var o=new Set(r),i=new Set(e),s=n.current;o.forEach(function(c){i.has(c)||Ct(c,null)}),i.forEach(function(c){o.has(c)||Ct(c,s)})}Ln.set(n,e)},[e]),n}function Hi(e){return e}function Gi(e,t){t===void 0&&(t=Hi);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var s=t(i,r);return n.push(s),function(){n=n.filter(function(c){return c!==s})}},assignSyncMedium:function(i){for(r=!0;n.length;){var s=n;n=[],s.forEach(i)}n={push:function(c){return i(c)},filter:function(){return n}}},assignMedium:function(i){r=!0;var s=[];if(n.length){var c=n;n=[],c.forEach(i),s=n}var l=function(){var h=s;s=[],h.forEach(i)},f=function(){return Promise.resolve().then(l)};f(),n={push:function(h){s.push(h),f()},filter:function(h){return s=s.filter(h),n}}}};return o}function Ui(e){e===void 0&&(e={});var t=Gi(null);return t.options=he({async:!0,ssr:!1},e),t}var Mr=function(e){var t=e.sideCar,n=Zn(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return a.createElement(r,he({},n))};Mr.isSideCarExport=!0;function Vi(e,t){return e.useMedium(t),Mr}var Lr=Ui(),xt=function(){},ct=a.forwardRef(function(e,t){var n=a.useRef(null),r=a.useState({onScrollCapture:xt,onWheelCapture:xt,onTouchMoveCapture:xt}),o=r[0],i=r[1],s=e.forwardProps,c=e.children,l=e.className,f=e.removeScrollBar,h=e.enabled,u=e.shards,d=e.sideCar,v=e.noRelative,m=e.noIsolation,p=e.inert,g=e.allowPinchZoom,w=e.as,b=w===void 0?"div":w,y=e.gapMode,C=Zn(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=d,x=Wi([n,t]),S=he(he({},C),o);return a.createElement(a.Fragment,null,h&&a.createElement(R,{sideCar:Lr,removeScrollBar:f,shards:u,noRelative:v,noIsolation:m,inert:p,setCallbacks:i,allowPinchZoom:!!g,lockRef:n,gapMode:y}),s?a.cloneElement(a.Children.only(c),he(he({},S),{ref:x})):a.createElement(b,he({},S,{className:l,ref:x}),c))});ct.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ct.classNames={fullWidth:tt,zeroRight:et};var zi=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Ki(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=zi();return t&&e.setAttribute("nonce",t),e}function Yi(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Xi(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var qi=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Ki())&&(Yi(t,n),Xi(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Zi=function(){var e=qi();return function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Fr=function(){var e=Zi(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Qi={left:0,top:0,right:0,gap:0},Rt=function(e){return parseInt(e||"",10)||0},Ji=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Rt(n),Rt(r),Rt(o)]},es=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Qi;var t=Ji(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},ts=Fr(),Te="data-scroll-locked",ns=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,c=e.gap;return n===void 0&&(n="margin"),`
2
+ .`.concat(Ni,` {
3
+ overflow: hidden `).concat(r,`;
4
+ padding-right: `).concat(c,"px ").concat(r,`;
5
+ }
6
+ body[`).concat(Te,`] {
7
+ overflow: hidden `).concat(r,`;
8
+ overscroll-behavior: contain;
9
+ `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
10
+ padding-left: `.concat(o,`px;
11
+ padding-top: `).concat(i,`px;
12
+ padding-right: `).concat(s,`px;
13
+ margin-left:0;
14
+ margin-top:0;
15
+ margin-right: `).concat(c,"px ").concat(r,`;
16
+ `),n==="padding"&&"padding-right: ".concat(c,"px ").concat(r,";")].filter(Boolean).join(""),`
17
+ }
18
+
19
+ .`).concat(et,` {
20
+ right: `).concat(c,"px ").concat(r,`;
21
+ }
22
+
23
+ .`).concat(tt,` {
24
+ margin-right: `).concat(c,"px ").concat(r,`;
25
+ }
26
+
27
+ .`).concat(et," .").concat(et,` {
28
+ right: 0 `).concat(r,`;
29
+ }
30
+
31
+ .`).concat(tt," .").concat(tt,` {
32
+ margin-right: 0 `).concat(r,`;
33
+ }
34
+
35
+ body[`).concat(Te,`] {
36
+ `).concat(ji,": ").concat(c,`px;
37
+ }
38
+ `)},Fn=function(){var e=parseInt(document.body.getAttribute(Te)||"0",10);return isFinite(e)?e:0},rs=function(){a.useEffect(function(){return document.body.setAttribute(Te,(Fn()+1).toString()),function(){var e=Fn()-1;e<=0?document.body.removeAttribute(Te):document.body.setAttribute(Te,e.toString())}},[])},os=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;rs();var i=a.useMemo(function(){return es(o)},[o]);return a.createElement(ts,{styles:ns(i,!t,o,n?"":"!important")})},Bt=!1;if(typeof window<"u")try{var Ye=Object.defineProperty({},"passive",{get:function(){return Bt=!0,!0}});window.addEventListener("test",Ye,Ye),window.removeEventListener("test",Ye,Ye)}catch{Bt=!1}var Pe=Bt?{passive:!1}:!1,is=function(e){return e.tagName==="TEXTAREA"},Nr=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!is(e)&&n[t]==="visible")},ss=function(e){return Nr(e,"overflowY")},cs=function(e){return Nr(e,"overflowX")},Nn=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=jr(e,r);if(o){var i=$r(e,r),s=i[1],c=i[2];if(s>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},as=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},ls=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},jr=function(e,t){return e==="v"?ss(t):cs(t)},$r=function(e,t){return e==="v"?as(t):ls(t)},us=function(e,t){return e==="h"&&t==="rtl"?-1:1},fs=function(e,t,n,r,o){var i=us(e,window.getComputedStyle(t).direction),s=i*r,c=n.target,l=t.contains(c),f=!1,h=s>0,u=0,d=0;do{if(!c)break;var v=$r(e,c),m=v[0],p=v[1],g=v[2],w=p-g-i*m;(m||w)&&jr(e,c)&&(u+=w,d+=m);var b=c.parentNode;c=b&&b.nodeType===Node.DOCUMENT_FRAGMENT_NODE?b.host:b}while(!l&&c!==document.body||l&&(t.contains(c)||t===c));return(h&&Math.abs(u)<1||!h&&Math.abs(d)<1)&&(f=!0),f},Xe=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},jn=function(e){return[e.deltaX,e.deltaY]},$n=function(e){return e&&"current"in e?e.current:e},ds=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ps=function(e){return`
39
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
40
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
41
+ `)},hs=0,Oe=[];function ms(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(hs++)[0],i=a.useState(Fr)[0],s=a.useRef(e);a.useEffect(function(){s.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var p=Vo([e.lockRef.current],(e.shards||[]).map($n),!0).filter(Boolean);return p.forEach(function(g){return g.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),p.forEach(function(g){return g.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=a.useCallback(function(p,g){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!s.current.allowPinchZoom;var w=Xe(p),b=n.current,y="deltaX"in p?p.deltaX:b[0]-w[0],C="deltaY"in p?p.deltaY:b[1]-w[1],R,x=p.target,S=Math.abs(y)>Math.abs(C)?"h":"v";if("touches"in p&&S==="h"&&x.type==="range")return!1;var O=window.getSelection(),P=O&&O.anchorNode,A=P?P===x||P.contains(x):!1;if(A)return!1;var D=Nn(S,x);if(!D)return!0;if(D?R=S:(R=S==="v"?"h":"v",D=Nn(S,x)),!D)return!1;if(!r.current&&"changedTouches"in p&&(y||C)&&(r.current=R),!R)return!0;var _=r.current||R;return fs(_,g,p,_==="h"?y:C)},[]),l=a.useCallback(function(p){var g=p;if(!(!Oe.length||Oe[Oe.length-1]!==i)){var w="deltaY"in g?jn(g):Xe(g),b=t.current.filter(function(R){return R.name===g.type&&(R.target===g.target||g.target===R.shadowParent)&&ds(R.delta,w)})[0];if(b&&b.should){g.cancelable&&g.preventDefault();return}if(!b){var y=(s.current.shards||[]).map($n).filter(Boolean).filter(function(R){return R.contains(g.target)}),C=y.length>0?c(g,y[0]):!s.current.noIsolation;C&&g.cancelable&&g.preventDefault()}}},[]),f=a.useCallback(function(p,g,w,b){var y={name:p,delta:g,target:w,should:b,shadowParent:vs(w)};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(C){return C!==y})},1)},[]),h=a.useCallback(function(p){n.current=Xe(p),r.current=void 0},[]),u=a.useCallback(function(p){f(p.type,jn(p),p.target,c(p,e.lockRef.current))},[]),d=a.useCallback(function(p){f(p.type,Xe(p),p.target,c(p,e.lockRef.current))},[]);a.useEffect(function(){return Oe.push(i),e.setCallbacks({onScrollCapture:u,onWheelCapture:u,onTouchMoveCapture:d}),document.addEventListener("wheel",l,Pe),document.addEventListener("touchmove",l,Pe),document.addEventListener("touchstart",h,Pe),function(){Oe=Oe.filter(function(p){return p!==i}),document.removeEventListener("wheel",l,Pe),document.removeEventListener("touchmove",l,Pe),document.removeEventListener("touchstart",h,Pe)}},[]);var v=e.removeScrollBar,m=e.inert;return a.createElement(a.Fragment,null,m?a.createElement(i,{styles:ps(o)}):null,v?a.createElement(os,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function vs(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const gs=Vi(Lr,ms);var Br=a.forwardRef(function(e,t){return a.createElement(ct,he({},e,{ref:t,sideCar:gs}))});Br.classNames=ct.classNames;var ys=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},_e=new WeakMap,qe=new WeakMap,Ze={},Et=0,Wr=function(e){return e&&(e.host||Wr(e.parentNode))},bs=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Wr(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},ws=function(e,t,n,r){var o=bs(t,Array.isArray(e)?e:[e]);Ze[n]||(Ze[n]=new WeakMap);var i=Ze[n],s=[],c=new Set,l=new Set(o),f=function(u){!u||c.has(u)||(c.add(u),f(u.parentNode))};o.forEach(f);var h=function(u){!u||l.has(u)||Array.prototype.forEach.call(u.children,function(d){if(c.has(d))h(d);else try{var v=d.getAttribute(r),m=v!==null&&v!=="false",p=(_e.get(d)||0)+1,g=(i.get(d)||0)+1;_e.set(d,p),i.set(d,g),s.push(d),p===1&&m&&qe.set(d,!0),g===1&&d.setAttribute(n,"true"),m||d.setAttribute(r,"true")}catch(w){console.error("aria-hidden: cannot operate on ",d,w)}})};return h(t),c.clear(),Et++,function(){s.forEach(function(u){var d=_e.get(u)-1,v=i.get(u)-1;_e.set(u,d),i.set(u,v),d||(qe.has(u)||u.removeAttribute(r),qe.delete(u)),v||u.removeAttribute(n)}),Et--,Et||(_e=new WeakMap,_e=new WeakMap,qe=new WeakMap,Ze={})}},Cs=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=ys(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),ws(r,o,n,"aria-hidden")):function(){return null}},xs=Object.defineProperty,J=(e,t)=>xs(e,"name",{value:t,configurable:!0}),tn="Dialog",[Hr,Za]=oe(tn),[Rs,ie]=Hr(tn),Qa=J(e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:s=!0}=e,c=a.useRef(null),l=a.useRef(null),[f,h]=Le({prop:r,defaultProp:o??!1,onChange:i,caller:tn}),[u,d]=a.useState(0),[v,m]=a.useState(0);return E.jsx(Rs,{scope:t,triggerRef:c,contentRef:l,contentId:Ie(),titleId:Ie(),descriptionId:Ie(),titlePresent:u>0,descriptionPresent:v>0,setTitleCount:d,setDescriptionCount:m,open:f,onOpenChange:h,onOpenToggle:a.useCallback(()=>h(p=>!p),[h]),modal:s,children:n})},"Dialog"),Gr="DialogPortal",[Es,Ur]=Hr(Gr,{forceMount:void 0}),Ja=J(e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=ie(Gr,t);return E.jsx(Es,{scope:t,forceMount:n,children:a.Children.map(r,s=>E.jsx(Fe,{present:n||i.open,children:E.jsx(kr,{asChild:!0,container:o,children:s})}))})},"DialogPortal"),Wt="DialogOverlay",el=a.forwardRef(J(function(t,n){const r=Ur(Wt,t.__scopeDialog),{forceMount:o=r.forceMount,...i}=t,s=ie(Wt,t.__scopeDialog);return s.modal?E.jsx(Fe,{present:o||s.open,children:E.jsx(Ps,{...i,ref:n})}):null},"DialogOverlay")),Ss=ve("DialogOverlay.RemoveScroll"),Ps=a.forwardRef(J(function(t,n){const{__scopeDialog:r,...o}=t,i=ie(Wt,r),s=Er(),c=N(n,s);return E.jsx(Br,{as:Ss,allowPinchZoom:!0,shards:[i.contentRef],children:E.jsx(B.div,{"data-state":nn(i.open),...o,ref:c,style:{pointerEvents:"auto",...o.style}})})},"DialogOverlayImpl")),$e="DialogContent",tl=a.forwardRef(J(function(t,n){const r=Ur($e,t.__scopeDialog),{forceMount:o=r.forceMount,...i}=t,s=ie($e,t.__scopeDialog);return E.jsx(Fe,{present:o||s.open,children:s.modal?E.jsx(Os,{...i,ref:n}):E.jsx(_s,{...i,ref:n})})},"DialogContent")),Os=a.forwardRef(J(function(t,n){const r=ie($e,t.__scopeDialog),o=a.useRef(null),i=N(n,r.contentRef,o);return a.useEffect(()=>{const s=o.current;if(s)return Cs(s)},[]),E.jsx(Vr,{...t,ref:i,trapFocus:r.open,disableOutsidePointerEvents:r.open,onCloseAutoFocus:L(t.onCloseAutoFocus,s=>{s.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:L(t.onPointerDownOutside,s=>{const c=s.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&s.preventDefault()}),onFocusOutside:L(t.onFocusOutside,s=>s.preventDefault())})},"DialogContentModal")),_s=a.forwardRef(J(function(t,n){const r=ie($e,t.__scopeDialog),o=a.useRef(!1),i=a.useRef(!1);return E.jsx(Vr,{...t,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{t.onCloseAutoFocus?.(s),s.defaultPrevented||(o.current||r.triggerRef.current?.focus(),s.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:s=>{t.onInteractOutside?.(s),s.defaultPrevented||(o.current=!0,s.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const c=s.target;r.triggerRef.current?.contains(c)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&i.current&&s.preventDefault()}})},"DialogContentNonModal")),Vr=a.forwardRef(J(function(t,n){const{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:s,...c}=t,l=ie($e,r);return en(),E.jsx(E.Fragment,{children:E.jsx(Di,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:s,children:E.jsx(Rr,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionPresent?l.descriptionId:void 0,"aria-labelledby":l.titlePresent?l.titleId:void 0,"data-state":nn(l.open),...c,ref:n,deferPointerDownOutside:!0,onDismiss:()=>l.onOpenChange(!1)})})})},"DialogContentImpl")),As="DialogTitle",nl=a.forwardRef(J(function(t,n){const{__scopeDialog:r,...o}=t,i=ie(As,r),{setTitleCount:s}=i;return K(()=>(s(c=>c+1),()=>s(c=>c-1)),[s]),E.jsx(B.h2,{id:i.titleId,...o,ref:n})},"DialogTitle")),Is="DialogDescription",rl=a.forwardRef(J(function(t,n){const{__scopeDialog:r,...o}=t,i=ie(Is,r),{setDescriptionCount:s}=i;return K(()=>(s(c=>c+1),()=>s(c=>c-1)),[s]),E.jsx(B.p,{id:i.descriptionId,...o,ref:n})},"DialogDescription")),Ts="DialogClose",ol=a.forwardRef(J(function(t,n){const{__scopeDialog:r,...o}=t,i=ie(Ts,r);return E.jsx(B.button,{type:"button",...o,ref:n,onClick:L(t.onClick,()=>i.onOpenChange(!1))})},"DialogClose"));function nn(e){return e?"open":"closed"}J(nn,"getState");var Ds=Object.defineProperty,ks=(e,t)=>Ds(e,"name",{value:t,configurable:!0});function at(e){const[t,n]=a.useState(void 0);return K(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,c;if("borderBoxSize"in i){const l=i.borderBoxSize,f=Array.isArray(l)?l[0]:l;s=f.inlineSize,c=f.blockSize}else s=e.offsetWidth,c=e.offsetHeight;n({width:s,height:c})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}ks(at,"useSize");var Ms=Object.defineProperty,fe=(e,t)=>Ms(e,"name",{value:t,configurable:!0}),rn="Checkbox",[Ls,il]=oe(rn),[Fs,on]=Ls(rn);function zr(e){const{__scopeCheckbox:t,checked:n,children:r,defaultChecked:o,disabled:i,form:s,name:c,onCheckedChange:l,required:f,value:h="on",internal_do_not_use_render:u}=e,[d,v]=Le({prop:n,defaultProp:o??!1,onChange:l,caller:rn}),[m,p]=a.useState(null),[g,w]=a.useState(null),b=a.useRef(!1),[y,C]=a.useReducer(S=>S+1,0),R=m?!!s||!!m.closest("form"):!0,x={checked:d,disabled:i,setChecked:v,control:m,setControl:p,name:c,form:s,value:h,hasConsumerStoppedPropagationRef:b,userInteractionCount:y,onUserInteraction:C,required:f,defaultChecked:ce(o)?!1:o,isFormControl:R,bubbleInput:g,setBubbleInput:w};return E.jsx(Fs,{scope:t,...x,children:Kr(u)?u(x):r})}fe(zr,"CheckboxProvider");var Ns="CheckboxTrigger",js=a.forwardRef(fe(function({__scopeCheckbox:t,onKeyDown:n,onClick:r,...o},i){const{control:s,value:c,disabled:l,checked:f,required:h,setControl:u,setChecked:d,hasConsumerStoppedPropagationRef:v,onUserInteraction:m,isFormControl:p,bubbleInput:g}=on(Ns,t),w=N(i,u),b=a.useRef(f);return a.useEffect(()=>{const y=s?.form;if(y){const C=fe(()=>d(b.current),"reset");return y.addEventListener("reset",C),()=>y.removeEventListener("reset",C)}},[s,d]),E.jsx(B.button,{type:"button",role:"checkbox","aria-checked":ce(f)?"mixed":f,"aria-required":h,"data-state":sn(f),"data-disabled":l?"":void 0,disabled:l,value:c,...o,ref:w,onKeyDown:L(n,y=>{y.key==="Enter"&&y.preventDefault()}),onClick:L(r,y=>{m(),d(C=>ce(C)?!0:!C),g&&p&&(v.current=y.isPropagationStopped(),v.current||y.stopPropagation())})})},"CheckboxTrigger")),sl=a.forwardRef(fe(function(t,n){const{__scopeCheckbox:r,name:o,checked:i,defaultChecked:s,required:c,disabled:l,value:f,onCheckedChange:h,form:u,...d}=t;return E.jsx(zr,{__scopeCheckbox:r,checked:i,defaultChecked:s,disabled:l,required:c,onCheckedChange:h,name:o,form:u,value:f,internal_do_not_use_render:({isFormControl:v})=>E.jsxs(E.Fragment,{children:[E.jsx(js,{...d,ref:n,__scopeCheckbox:r}),v&&E.jsx(Ws,{__scopeCheckbox:r})]})})},"Checkbox")),$s="CheckboxIndicator",cl=a.forwardRef(fe(function(t,n){const{__scopeCheckbox:r,forceMount:o,...i}=t,s=on($s,r);return E.jsx(Fe,{present:o||ce(s.checked)||s.checked===!0,children:E.jsx(B.span,{"data-state":sn(s.checked),"data-disabled":s.disabled?"":void 0,...i,ref:n,style:{pointerEvents:"none",...t.style}})})},"CheckboxIndicator")),Bs="CheckboxBubbleInput",Ws=a.forwardRef(fe(function({__scopeCheckbox:t,onClick:n,...r},o){const{control:i,hasConsumerStoppedPropagationRef:s,userInteractionCount:c,checked:l,defaultChecked:f,required:h,disabled:u,name:d,value:v,form:m,bubbleInput:p,setBubbleInput:g}=on(Bs,t),w=N(o,g),b=at(i),y=a.useRef(!1),C=a.useRef(l),R=a.useRef(c);a.useEffect(()=>{const S=p;if(!S)return;const O=window.HTMLInputElement.prototype,A=Object.getOwnPropertyDescriptor(O,"checked").set,D=c!==R.current;R.current=c;const _=C.current!==l;C.current=l;const I=!(D&&s.current);if(_&&A){y.current=!D;const k=new Event("click",{bubbles:I});S.indeterminate=ce(l),A.call(S,ce(l)?!1:l),S.dispatchEvent(k),y.current=!1}},[p,l,s,c]);const x=a.useRef(ce(l)?!1:l);return E.jsx(B.input,{type:"checkbox","aria-hidden":!0,defaultChecked:f??x.current,required:h,disabled:u,name:d,value:v,form:m,...r,tabIndex:-1,ref:w,onClick:L(n,S=>{y.current&&S.stopPropagation()}),style:{...r.style,...b,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"CheckboxBubbleInput"));function Kr(e){return typeof e=="function"}fe(Kr,"isFunction");function ce(e){return e==="indeterminate"}fe(ce,"isIndeterminate");function sn(e){return ce(e)?"indeterminate":e?"checked":"unchecked"}fe(sn,"getState");const Hs=["top","right","bottom","left"],ye=Math.min,ae=Math.max,rt=Math.round,Qe=Math.floor,le=e=>({x:e,y:e}),Gs={left:"right",right:"left",bottom:"top",top:"bottom"};function Yr(e,t,n){return ae(e,ye(t,n))}function de(e,t){return typeof e=="function"?e(t):e}function be(e){return e.split("-")[0]}function Ne(e){return e.split("-")[1]}function cn(e){return e==="x"?"y":"x"}function an(e){return e==="y"?"height":"width"}function te(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function ln(e){return cn(te(e))}function Us(e,t,n){n===void 0&&(n=!1);const r=Ne(e),o=ln(e),i=an(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=ot(s)),[s,ot(s)]}function Vs(e){const t=ot(e);return[Ht(e),t,Ht(t)]}function Ht(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Bn=["left","right"],Wn=["right","left"],zs=["top","bottom"],Ks=["bottom","top"];function Ys(e,t,n){switch(e){case"top":case"bottom":return n?t?Wn:Bn:t?Bn:Wn;case"left":case"right":return t?zs:Ks;default:return[]}}function Xs(e,t,n,r){const o=Ne(e);let i=Ys(be(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Ht)))),i}function ot(e){const t=be(e);return Gs[t]+e.slice(t.length)}function qs(e){var t,n,r,o;return{top:(t=e.top)!=null?t:0,right:(n=e.right)!=null?n:0,bottom:(r=e.bottom)!=null?r:0,left:(o=e.left)!=null?o:0}}function Xr(e){return typeof e!="number"?qs(e):{top:e,right:e,bottom:e,left:e}}function it(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Hn(e,t,n){let{reference:r,floating:o}=e;const i=te(t),s=ln(t),c=an(s),l=be(t),f=i==="y",h=r.x+r.width/2-o.width/2,u=r.y+r.height/2-o.height/2,d=r[c]/2-o[c]/2;let v;switch(l){case"top":v={x:h,y:r.y-o.height};break;case"bottom":v={x:h,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:u};break;case"left":v={x:r.x-o.width,y:u};break;default:v={x:r.x,y:r.y}}const m=Ne(t);return m&&(v[s]+=d*(m==="end"?1:-1)*(n&&f?-1:1)),v}async function Zs(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:c,strategy:l}=e,{boundary:f="clippingAncestors",rootBoundary:h="viewport",elementContext:u="floating",altBoundary:d=!1,padding:v=0}=de(t,e),m=Xr(v),g=c[d?u==="floating"?"reference":"floating":u],w=it(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:f,rootBoundary:h,strategy:l})),b=u==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),C=await(i.isElement==null?void 0:i.isElement(y))&&await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1},R=it(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:b,offsetParent:y,strategy:l}):b);return{top:(w.top-R.top+m.top)/C.y,bottom:(R.bottom-w.bottom+m.bottom)/C.y,left:(w.left-R.left+m.left)/C.x,right:(R.right-w.right+m.right)/C.x}}const Qs=50,Js=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,c=s.detectOverflow?s:{...s,detectOverflow:Zs},l=await(s.isRTL==null?void 0:s.isRTL(t));let f=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y:u}=Hn(f,r,l),d=r,v=0;const m={};for(let p=0;p<i.length;p++){const g=i[p];if(!g)continue;const{name:w,fn:b}=g,{x:y,y:C,data:R,reset:x}=await b({x:h,y:u,initialPlacement:r,placement:d,strategy:o,middlewareData:m,rects:f,platform:c,elements:{reference:e,floating:t}});h=y??h,u=C??u,m[w]={...m[w],...R},x&&v<Qs&&(v++,typeof x=="object"&&(x.placement&&(d=x.placement),x.rects&&(f=x.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):x.rects),{x:h,y:u}=Hn(f,d,l)),p=-1)}return{x:h,y:u,placement:d,strategy:o,middlewareData:m}},ec=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:c,middlewareData:l}=t,{element:f,padding:h=0}=de(e,t)||{};if(f==null)return{};const u=Xr(h),d={x:n,y:r},v=ln(o),m=an(v),p=await s.getDimensions(f),g=v==="y",w=g?"top":"left",b=g?"bottom":"right",y=g?"clientHeight":"clientWidth",C=i.reference[m]+i.reference[v]-d[v]-i.floating[m],R=d[v]-i.reference[v],x=await(s.getOffsetParent==null?void 0:s.getOffsetParent(f));let S=x?x[y]:0;(!S||!await(s.isElement==null?void 0:s.isElement(x)))&&(S=c.floating[y]||i.floating[m]);const O=C/2-R/2,P=S/2-p[m]/2-1,A=ye(u[w],P),D=ye(u[b],P),_=S-p[m]-D,I=S/2-p[m]/2+O,k=Yr(A,I,_),W=!l.arrow&&Ne(o)!=null&&I!==k&&i.reference[m]/2-(I<A?A:D)-p[m]/2<0,F=W?I<A?I-A:I-_:0;return{[v]:d[v]+F,data:{[v]:k,centerOffset:I-k-F,...W&&{alignmentOffset:F}},reset:W}}}),tc=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:c,platform:l,elements:f}=t,{mainAxis:h=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:p=!0,...g}=de(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const w=be(o),b=te(c),y=be(c)===c,C=await(l.isRTL==null?void 0:l.isRTL(f.floating)),R=d||(y||!p?[ot(c)]:Vs(c)),x=m!=="none";!d&&x&&R.push(...Xs(c,p,m,C));const S=[c,...R],O=await l.detectOverflow(t,g),P=[];let A=((r=i.flip)==null?void 0:r.overflows)||[];if(h&&P.push(O[w]),u){const k=Us(o,s,C);P.push(O[k[0]],O[k[1]])}if(A=[...A,{placement:o,overflows:P}],!P.every(k=>k<=0)){var D,_;const k=(((D=i.flip)==null?void 0:D.index)||0)+1,W=S[k];if(W&&(!(u==="alignment"?b!==te(W):!1)||A.every(M=>te(M.placement)===b?M.overflows[0]>0:!0)))return{data:{index:k,overflows:A},reset:{placement:W}};let F=(_=A.filter(T=>T.overflows[0]<=0).sort((T,M)=>T.overflows[1]-M.overflows[1])[0])==null?void 0:_.placement;if(!F)switch(v){case"bestFit":{var I;const T=(I=A.filter(M=>{if(x){const j=te(M.placement);return j===b||j==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(j=>j>0).reduce((j,Z)=>j+Z,0)]).sort((M,j)=>M[1]-j[1])[0])==null?void 0:I[0];T&&(F=T);break}case"initialPlacement":F=c;break}if(o!==F)return{reset:{placement:F}}}return{}}}};function Gn(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Un(e){return Hs.some(t=>e[t]>=0)}const nc=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...i}=de(e,t);switch(o){case"referenceHidden":{const s=await r.detectOverflow(t,{...i,elementContext:"reference"}),c=Gn(s,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:Un(c)}}}case"escaped":{const s=await r.detectOverflow(t,{...i,altBoundary:!0}),c=Gn(s,n.floating);return{data:{escapedOffsets:c,escaped:Un(c)}}}default:return{}}}}},qr=new Set(["left","top"]);async function rc(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=be(n),c=Ne(n),l=te(n)==="y",f=qr.has(s)?-1:1,h=i&&l?-1:1,u=de(t,e);let{mainAxis:d,crossAxis:v,alignmentAxis:m}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof m=="number"&&(v=c==="end"?m*-1:m),l?{x:v*h,y:d*f}:{x:d*f,y:v*h}}const oc=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:c}=t,l=await rc(t,e);return s===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},ic=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o,platform:i}=t,{mainAxis:s=!0,crossAxis:c=!1,limiter:l={fn:b=>{let{x:y,y:C}=b;return{x:y,y:C}}},...f}=de(e,t),h={x:n,y:r},u=await i.detectOverflow(t,f),d=te(o),v=cn(d);let m=h[v],p=h[d];const g=(b,y)=>Yr(y+u[b==="y"?"top":"left"],y,y-u[b==="y"?"bottom":"right"]);s&&(m=g(v,m)),c&&(p=g(d,p));const w=l.fn({...t,[v]:m,[d]:p});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[v]:s,[d]:c}}}}}},sc=function(e){return e===void 0&&(e={}),{options:e,fn(t){var n,r;const{x:o,y:i,placement:s,rects:c,middlewareData:l}=t,{offset:f=0,mainAxis:h=!0,crossAxis:u=!0}=de(e,t),d={x:o,y:i},v=te(s),m=cn(v);let p=d[m],g=d[v];const w=de(f,t),b=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:(n=w.mainAxis)!=null?n:0,crossAxis:(r=w.crossAxis)!=null?r:0};if(h){const R=m==="y"?"height":"width",x=c.reference[m]-c.floating[R]+b.mainAxis,S=c.reference[m]+c.reference[R]-b.mainAxis;p<x?p=x:p>S&&(p=S)}if(u){var y,C;const R=m==="y"?"width":"height",x=qr.has(be(s)),S=c.reference[v]-c.floating[R]+(x&&((y=l.offset)==null?void 0:y[v])||0)+(x?0:b.crossAxis),O=c.reference[v]+c.reference[R]+(x?0:((C=l.offset)==null?void 0:C[v])||0)-(x?b.crossAxis:0);g<S?g=S:g>O&&(g=O)}return{[m]:p,[v]:g}}}},cc=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:s=()=>{},...c}=de(e,t),l=await o.detectOverflow(t,c),f=be(n),h=Ne(n),u=te(n)==="y",{width:d,height:v}=r.floating;let m,p;f==="top"||f==="bottom"?(m=f,p=h===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(p=f,m=h==="end"?"top":"bottom");const g=v-l.top-l.bottom,w=d-l.left-l.right,b=ye(v-l[m],g),y=ye(d-l[p],w),C=t.middlewareData.shift,R=!C;let x=b,S=y;C!=null&&C.enabled.x&&(S=w),C!=null&&C.enabled.y&&(x=g),R&&!h&&(u?S=d-2*ae(l.left,l.right):x=v-2*ae(l.top,l.bottom)),await s({...t,availableWidth:S,availableHeight:x});const O=await o.getDimensions(i.floating);return d!==O.width||v!==O.height?{reset:{rects:!0}}:{}}}};function lt(){return typeof window<"u"}function je(e){return Zr(e)?(e.nodeName||"").toLowerCase():"#document"}function Y(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pe(e){var t;return(t=(Zr(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Zr(e){return lt()?e instanceof Node||e instanceof Y(e).Node:!1}function ne(e){return lt()?e instanceof Element||e instanceof Y(e).Element:!1}function we(e){return lt()?e instanceof HTMLElement||e instanceof Y(e).HTMLElement:!1}function Vn(e){return!lt()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Y(e).ShadowRoot}function ut(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=re(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&o!=="inline"&&o!=="contents"}function ac(e){return/^(table|td|th)$/.test(je(e))}function ft(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const lc=/transform|translate|scale|rotate|perspective|filter/,uc=/paint|layout|strict|content/,Ce=e=>!!e&&e!=="none";let St;function un(e){const t=ne(e)?re(e):e;return Ce(t.transform)||Ce(t.translate)||Ce(t.scale)||Ce(t.rotate)||Ce(t.perspective)||!fn()&&(Ce(t.backdropFilter)||Ce(t.filter))||lc.test(t.willChange||"")||uc.test(t.contain||"")}function fc(e){let t=xe(e);for(;we(t)&&!Be(t);){if(un(t))return t;if(ft(t))return null;t=xe(t)}return null}function fn(){return St==null&&(St=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),St}function Be(e){return/^(html|body|#document)$/.test(je(e))}function re(e){return Y(e).getComputedStyle(e)}function dt(e){return ne(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function xe(e){if(je(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Vn(e)&&e.host||pe(e);return Vn(t)?t.host:t}function Qr(e){const t=xe(e);return Be(t)?(e.ownerDocument||e).body:we(t)&&ut(t)?t:Qr(t)}function We(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Qr(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=Y(o);if(i){const c=Gt(s);return t.concat(s,s.visualViewport||[],ut(o)?o:[],c&&n?We(c):[])}else return t.concat(o,We(o,[],n))}function Gt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Jr(e){const t=re(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=we(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,c=rt(n)!==i||rt(r)!==s;return c&&(n=i,r=s),{width:n,height:r,$:c}}function dn(e){return ne(e)?e:e.contextElement}function De(e){const t=dn(e);if(!we(t))return le(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Jr(t);let s=(i?rt(n.width):n.width)/r,c=(i?rt(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const dc=le(0);function eo(e){const t=Y(e);return!fn()||!t.visualViewport?dc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function pc(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===Y(e)}function Re(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=dn(e);let s=le(1);t&&(r?ne(r)&&(s=De(r)):s=De(e));const c=pc(i,n,r)?eo(i):le(0);let l=(o.left+c.x)/s.x,f=(o.top+c.y)/s.y,h=o.width/s.x,u=o.height/s.y;if(i&&r){const d=Y(i),v=ne(r)?Y(r):r;let m=d,p=Gt(m);for(;p&&v!==m;){const g=De(p),w=p.getBoundingClientRect(),b=re(p),y=w.left+(p.clientLeft+parseFloat(b.paddingLeft))*g.x,C=w.top+(p.clientTop+parseFloat(b.paddingTop))*g.y;l*=g.x,f*=g.y,h*=g.x,u*=g.y,l+=y,f+=C,m=Y(p),p=Gt(m)}}return it({width:h,height:u,x:l,y:f})}function pt(e,t){const n=dt(e).scrollLeft;return t?t.left+n:Re(pe(e)).left+n}function to(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-pt(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function hc(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=pe(r),c=t?ft(t.floating):!1;if(r===s||c&&i)return n;let l={scrollLeft:0,scrollTop:0},f=le(1);const h=le(0),u=we(r);if((u||!i)&&((je(r)!=="body"||ut(s))&&(l=dt(r)),u)){const v=Re(r);f=De(r),h.x=v.x+r.clientLeft,h.y=v.y+r.clientTop}const d=s&&!u&&!i?to(s,l):le(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-l.scrollLeft*f.x+h.x+d.x,y:n.y*f.y-l.scrollTop*f.y+h.y+d.y}}function mc(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function vc(e){const t=dt(e),n=e.ownerDocument.body,r=ae(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=ae(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let i=-t.scrollLeft+pt(e);const s=-t.scrollTop;return re(n).direction==="rtl"&&(i+=ae(e.clientWidth,n.clientWidth)-r),{width:r,height:o,x:i,y:s}}const gc=25;function yc(e,t,n){n===void 0&&(n="viewport");const r=n==="layoutViewport",o=Y(e),i=pe(e),s=o.visualViewport;let c=i.clientWidth,l=i.clientHeight,f=0,h=0;if(s){const d=!fn()||t==="fixed";r?d||(f=-s.offsetLeft,h=-s.offsetTop):(c=s.width,l=s.height,d&&(f=s.offsetLeft,h=s.offsetTop))}if(pt(i)<=0){const d=i.ownerDocument,v=d.body,m=getComputedStyle(v),p=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,g=Math.abs(i.clientWidth-v.clientWidth-p),w=getComputedStyle(i).scrollbarGutter==="stable both-edges"?g/2:g;w<=gc&&(c-=w)}return{width:c,height:l,x:f,y:h}}function bc(e,t){const n=Re(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=De(e),s=e.clientWidth*i.x,c=e.clientHeight*i.y,l=o*i.x,f=r*i.y;return{width:s,height:c,x:l,y:f}}function zn(e,t,n){let r;if(t==="viewport"||t==="layoutViewport")r=yc(e,n,t);else if(t==="document")r=vc(pe(e));else if(ne(t))r=bc(t,n);else{const o=eo(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return it(r)}function wc(e,t){const n=t.get(e);if(n)return n;let r=We(e,[],!1).filter(c=>ne(c)&&je(c)!=="body"),o=null;const i=re(e).position==="fixed";let s=i?xe(e):e;for(;ne(s)&&!Be(s);){const c=re(s),l=un(s),f=o?o.position:i?"fixed":"";!l&&(f==="fixed"||f==="absolute"&&c.position==="static")?r=r.filter(u=>u!==s):o=c,s=xe(s)}return t.set(e,r),r}function Cc(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?ft(t)?[]:wc(t,this._c):[].concat(n),r],c=zn(t,s[0],o);let l=c.top,f=c.right,h=c.bottom,u=c.left;for(let d=1;d<s.length;d++){const v=zn(t,s[d],o);l=ae(v.top,l),f=ye(v.right,f),h=ye(v.bottom,h),u=ae(v.left,u)}return{width:f-u,height:h-l,x:u,y:l}}function xc(e){const{width:t,height:n}=Jr(e);return{width:t,height:n}}function Rc(e,t,n){const r=we(t),o=pe(t),i=n==="fixed",s=Re(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const l=le(0);if((r||!i)&&((je(t)!=="body"||ut(o))&&(c=dt(t)),r)){const d=Re(t,!0,i,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}!r&&o&&(l.x=pt(o));const f=o&&!r&&!i?to(o,c):le(0),h=s.left+c.scrollLeft-l.x-f.x,u=s.top+c.scrollTop-l.y-f.y;return{x:h,y:u,width:s.width,height:s.height}}function Pt(e){return re(e).position==="static"}function Kn(e,t){if(!we(e)||re(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return pe(e)===n&&(n=n.ownerDocument.body),n}function no(e,t){const n=Y(e);if(ft(e))return n;if(!we(e)){let o=xe(e);for(;o&&!Be(o);){if(ne(o)&&!Pt(o))return o;o=xe(o)}return n}let r=Kn(e,t);for(;r&&ac(r)&&Pt(r);)r=Kn(r,t);return r&&Be(r)&&Pt(r)&&!un(r)?n:r||fc(e)||n}const Ec=async function(e){const t=this.getOffsetParent||no,n=this.getDimensions,r=await n(e.floating);return{reference:Rc(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Sc(e){return re(e).direction==="rtl"}const Pc={convertOffsetParentRelativeRectToViewportRelativeRect:hc,getDocumentElement:pe,getClippingRect:Cc,getOffsetParent:no,getElementRects:Ec,getClientRects:mc,getDimensions:xc,getScale:De,isElement:ne,isRTL:Sc};function ro(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Oc(e,t,n){let r=null,o;const i=pe(e);function s(){var h;clearTimeout(o),(h=r)==null||h.disconnect(),r=null}function c(h,u){h===void 0&&(h=!1),u===void 0&&(u=1),s();const d=e.getBoundingClientRect(),{left:v,top:m,width:p,height:g}=d;if(h||t(),!p||!g)return;const w=Qe(m),b=Qe(i.clientWidth-(v+p)),y=Qe(i.clientHeight-(m+g)),C=Qe(v),x={rootMargin:-w+"px "+-b+"px "+-y+"px "+-C+"px",threshold:ae(0,ye(1,u))||1};let S=!0;function O(P){const A=P[0].intersectionRatio;if(!ro(d,e.getBoundingClientRect()))return c();if(A!==u){if(!S)return c();A?c(!1,A):o=setTimeout(()=>{c(!1,1e-7)},1e3)}S=!1}try{r=new IntersectionObserver(O,{...x,root:i.ownerDocument})}catch{r=new IntersectionObserver(O,x)}r.observe(e)}const l=Y(e),f=()=>c(n);return l.addEventListener("resize",f),c(!0),()=>{l.removeEventListener("resize",f),s()}}function _c(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,f=dn(e),h=o||i?[...f?We(f):[],...t?We(t):[]]:[];h.forEach(w=>{o&&w.addEventListener("scroll",n),i&&w.addEventListener("resize",n)});const u=f&&c?Oc(f,n,i):null;let d=-1,v=null;s&&(v=new ResizeObserver(w=>{let[b]=w;b&&b.target===f&&v&&t&&(v.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var y;(y=v)==null||y.observe(t)})),n()}),f&&!l&&v.observe(f),t&&v.observe(t));let m,p=l?Re(e):null;l&&g();function g(){const w=Re(e);p&&!ro(p,w)&&n(),p=w,m=requestAnimationFrame(g)}return n(),()=>{var w;h.forEach(b=>{o&&b.removeEventListener("scroll",n),i&&b.removeEventListener("resize",n)}),u?.(),(w=v)==null||w.disconnect(),v=null,l&&cancelAnimationFrame(m)}}const Ac=oc,Ic=ic,Tc=tc,Dc=cc,kc=nc,Yn=ec,Mc=sc,Lc=(e,t,n)=>{const r=new Map,o=n??{},i={...Pc,...o.platform,_c:r};return Js(e,t,{...o,platform:i})};var Fc=typeof document<"u",Nc=function(){},nt=Fc?a.useLayoutEffect:Nc;function st(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!st(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!st(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function oo(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Xn(e,t){const n=oo(e);return Math.round(t*n)/n}function Ot(e){const t=a.useRef(e);return nt(()=>{t.current=e}),t}function jc(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:c=!0,whileElementsMounted:l,open:f}=e,[h,u]=a.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,v]=a.useState(r);st(d,r)||v(r);const[m,p]=a.useState(null),[g,w]=a.useState(null),b=a.useCallback(M=>{M!==x.current&&(x.current=M,p(M))},[]),y=a.useCallback(M=>{M!==S.current&&(S.current=M,w(M))},[]),C=i||m,R=s||g,x=a.useRef(null),S=a.useRef(null),O=a.useRef(h),P=l!=null,A=Ot(l),D=Ot(o),_=Ot(f),I=a.useCallback(()=>{if(!x.current||!S.current)return;const M={placement:t,strategy:n,middleware:d};D.current&&(M.platform=D.current),Lc(x.current,S.current,M).then(j=>{const Z={...j,isPositioned:_.current!==!1};k.current&&!st(O.current,Z)&&(O.current=Z,Kt.flushSync(()=>{u(Z)}))})},[d,t,n,D,_]);nt(()=>{f===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,u(M=>({...M,isPositioned:!1})))},[f]);const k=a.useRef(!1);nt(()=>(k.current=!0,()=>{k.current=!1}),[]),nt(()=>{if(C&&(x.current=C),R&&(S.current=R),C&&R){if(A.current)return A.current(C,R,I);I()}},[C,R,I,A,P]);const W=a.useMemo(()=>({reference:x,floating:S,setReference:b,setFloating:y}),[b,y]),F=a.useMemo(()=>({reference:C,floating:R}),[C,R]),T=a.useMemo(()=>{const M={position:n,left:0,top:0};if(!F.floating)return M;const j=Xn(F.floating,h.x),Z=Xn(F.floating,h.y);return c?{...M,transform:"translate("+j+"px, "+Z+"px)",...oo(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:j,top:Z}},[n,c,F.floating,h.x,h.y]);return a.useMemo(()=>({...h,update:I,refs:W,elements:F,floatingStyles:T}),[h,I,W,F,T])}const $c=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Yn({element:r.current,padding:o}).fn(n):{}:r?Yn({element:r,padding:o}).fn(n):{}}}},Bc=(e,t)=>{const n=Ac(e);return{name:n.name,fn:n.fn,options:[e,t]}},Wc=(e,t)=>{const n=Ic(e);return{name:n.name,fn:n.fn,options:[e,t]}},Hc=(e,t)=>({fn:Mc(e).fn,options:[e,t]}),Gc=(e,t)=>{const n=Tc(e);return{name:n.name,fn:n.fn,options:[e,t]}},Uc=(e,t)=>{const n=Dc(e);return{name:n.name,fn:n.fn,options:[e,t]}},Vc=(e,t)=>{const n=kc(e);return{name:n.name,fn:n.fn,options:[e,t]}},zc=(e,t)=>{const n=$c(e);return{name:n.name,fn:n.fn,options:[e,t]}};var Kc=Object.defineProperty,me=(e,t)=>Kc(e,"name",{value:t,configurable:!0}),io="Popper",[so,co]=oe(io),[Yc,ao]=so(io),Xc=me(e=>{const{__scopePopper:t,children:n}=e,[r,o]=a.useState(null),[i,s]=a.useState(void 0);return E.jsx(Yc,{scope:t,anchor:r,onAnchorChange:o,placementState:i,setPlacementState:s,children:n})},"Popper"),qc="PopperAnchor",Zc=a.forwardRef(me(function(t,n){const{__scopePopper:r,virtualRef:o,...i}=t,s=ao(qc,r),c=a.useRef(null),l=s.onAnchorChange,f=a.useCallback(p=>{c.current=p,p&&l(p)},[l]),h=N(n,f),u=a.useRef(null);a.useEffect(()=>{if(!o)return;const p=u.current;u.current=o.current,p!==u.current&&l(u.current)});const d=s.placementState&&ht(s.placementState),v=d?.[0],m=d?.[1];return o?null:E.jsx(B.div,{"data-radix-popper-side":v,"data-radix-popper-align":m,...i,ref:h})},"PopperAnchor")),lo="PopperContent",[Qc,al]=so(lo),Jc=a.forwardRef(me(function(t,n){const{__scopePopper:r,side:o="bottom",sideOffset:i=0,align:s="center",alignOffset:c=0,arrowPadding:l=0,avoidCollisions:f=!0,collisionBoundary:h=[],collisionPadding:u=0,sticky:d="partial",hideWhenDetached:v=!1,updatePositionStrategy:m="optimized",onPlaced:p,...g}=t,w=ao(lo,r),[b,y]=a.useState(null),C=N(n,y),[R,x]=a.useState(null),S=at(R),O=S?.width??0,P=S?.height??0,A=o+(s!=="center"?"-"+s:""),D=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},_=Array.isArray(h)?h:[h],I=_.length>0,k={padding:D,boundary:_.filter(uo),altBoundary:I},{refs:W,floatingStyles:F,placement:T,isPositioned:M,middlewareData:j}=jc({strategy:"fixed",placement:A,whileElementsMounted:me((...vt)=>_c(...vt,{animationFrame:m==="always"}),"whileElementsMounted"),elements:{reference:w.anchor},middleware:[Bc({mainAxis:i+P,alignmentAxis:c}),f&&Wc({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?Hc():void 0,...k}),f&&Gc({...k}),Uc({...k,apply:me(({elements:vt,rects:En,availableWidth:Wo,availableHeight:Ho})=>{const{width:Go,height:Uo}=En.reference,Ve=vt.floating.style;Ve.setProperty("--radix-popper-available-width",`${Wo}px`),Ve.setProperty("--radix-popper-available-height",`${Ho}px`),Ve.setProperty("--radix-popper-anchor-width",`${Go}px`),Ve.setProperty("--radix-popper-anchor-height",`${Uo}px`)},"apply")}),R&&zc({element:R,padding:l}),ea({arrowWidth:O,arrowHeight:P}),v&&Vc({strategy:"referenceHidden",...k,boundary:I?k.boundary:void 0})]}),Z=w.setPlacementState;K(()=>(Z(T),()=>{Z(void 0)}),[T,Z]);const[Cn,xn]=ht(T),Rn=ge(p);K(()=>{M&&Rn?.()},[M,Rn]);const Fo=j.arrow?.x,No=j.arrow?.y,jo=j.arrow?.centerOffset!==0,[$o,Bo]=a.useState();return K(()=>{b&&Bo(window.getComputedStyle(b).zIndex)},[b]),E.jsx("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...F,transform:M?F.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:$o,"--radix-popper-transform-origin":[j.transformOrigin?.x,j.transformOrigin?.y].join(" "),...j.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:E.jsx(Qc,{scope:r,placedSide:Cn,placedAlign:xn,onArrowChange:x,arrowX:Fo,arrowY:No,shouldHideArrow:jo,children:E.jsx(B.div,{"data-side":Cn,"data-align":xn,...g,ref:C,style:{...g.style,animation:M?g.style?.animation:"none"}})})})},"PopperContent"));function uo(e){return e!==null}me(uo,"isNotNull");var ea=me(e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,s=o.arrow?.centerOffset!==0,c=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[f,h]=ht(n),u={start:"0%",center:"50%",end:"100%"}[h],d=(o.arrow?.x??0)+c/2,v=(o.arrow?.y??0)+l/2;let m="",p="";return f==="bottom"?(m=s?u:`${d}px`,p=`${-l}px`):f==="top"?(m=s?u:`${d}px`,p=`${r.floating.height+l}px`):f==="right"?(m=`${-l}px`,p=s?u:`${v}px`):f==="left"&&(m=`${r.floating.width+l}px`,p=s?u:`${v}px`),{data:{x:m,y:p}}}}),"transformOrigin");function ht(e){const[t,n="center"]=e.split("-");return[t,n]}me(ht,"getSideAndAlignFromPlacement");var ta=Xc,na=Zc,ra=Jc,oa=Object.defineProperty,pn=(e,t)=>oa(e,"name",{value:t,configurable:!0}),_t=!1;function fo(){const[e,t]=a.useState(_t);return a.useEffect(()=>{_t||(_t=!0,t(!0))},[]),e}pn(fo,"useIsHydrated");var po=ke[" useSyncExternalStore ".trim().toString()];function ho(){return()=>{}}pn(ho,"subscribe");function mo(){return po(ho,()=>!0,()=>!1)}pn(mo,"useIsHydratedModern");var ia=typeof po=="function"?mo:fo,sa=Object.defineProperty,Ee=(e,t)=>sa(e,"name",{value:t,configurable:!0}),At="rovingFocusGroup.onEntryFocus",ca={bubbles:!1,cancelable:!0},mt="RovingFocusGroup",[Ut,vo,aa]=cr(mt),[la,go]=oe(mt,[aa]),[ua,fa]=la(mt),da=a.forwardRef(Ee(function(t,n){return E.jsx(Ut.Provider,{scope:t.__scopeRovingFocusGroup,children:E.jsx(Ut.Slot,{scope:t.__scopeRovingFocusGroup,children:E.jsx(pa,{...t,ref:n})})})},"RovingFocusGroup")),pa=a.forwardRef(Ee(function(t,n){const{__scopeRovingFocusGroup:r,orientation:o,loop:i=!1,dir:s,currentTabStopId:c,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:f,onEntryFocus:h,preventScrollOnEntryFocus:u=!1,...d}=t,v=a.useRef(null),m=N(n,v),p=qt(s),[g,w]=Le({prop:c,defaultProp:l??null,onChange:f,caller:mt}),[b,y]=a.useState(!1),C=ge(h),R=vo(r),x=a.useRef(!1),[S,O]=a.useState(0);return a.useEffect(()=>{const P=v.current;if(P)return P.addEventListener(At,C),()=>P.removeEventListener(At,C)},[C]),E.jsx(ua,{scope:r,orientation:o,dir:p,loop:i,currentTabStopId:g,onItemFocus:a.useCallback(P=>w(P),[w]),onItemShiftTab:a.useCallback(()=>y(!0),[]),onFocusableItemAdd:a.useCallback(()=>O(P=>P+1),[]),onFocusableItemRemove:a.useCallback(()=>O(P=>P-1),[]),children:E.jsx(B.div,{tabIndex:b||S===0?-1:0,"data-orientation":o,...d,ref:m,style:{outline:"none",...t.style},onMouseDown:L(t.onMouseDown,()=>{x.current=!0}),onFocus:L(t.onFocus,P=>{const A=!x.current;if(P.target===P.currentTarget&&A&&!b){const D=new CustomEvent(At,ca);if(P.currentTarget.dispatchEvent(D),!D.defaultPrevented){const _=R().filter(T=>T.focusable),I=_.find(T=>T.active),k=_.find(T=>T.id===g),F=[I,k,..._].filter(Boolean).map(T=>T.ref.current);hn(F,u)}}x.current=!1}),onBlur:L(t.onBlur,()=>y(!1))})})},"RovingFocusGroupImpl")),ha="RovingFocusGroupItem",ma=a.forwardRef(Ee(function(t,n){const{__scopeRovingFocusGroup:r,focusable:o=!0,active:i=!1,tabStopId:s,children:c,...l}=t,f=Ie(),h=s||f,u=fa(ha,r),d=u.currentTabStopId===h,v=vo(r),{onFocusableItemAdd:m,onFocusableItemRemove:p,currentTabStopId:g}=u,w=ia();return K(()=>{if(!(!w||!o))return m(),()=>p()},[w,o,m,p]),a.useEffect(()=>{if(!(w||!o))return m(),()=>p()},[w,o,m,p]),E.jsx(Ut.ItemSlot,{scope:r,id:h,focusable:o,active:i,children:E.jsx(B.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...l,ref:n,onMouseDown:L(t.onMouseDown,b=>{o?u.onItemFocus(h):b.preventDefault()}),onFocus:L(t.onFocus,()=>u.onItemFocus(h)),onKeyDown:L(t.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){u.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const y=bo(b,u.orientation,u.dir);if(y!==void 0){if(b.metaKey||b.ctrlKey||b.altKey||b.shiftKey)return;b.preventDefault();let R=v().filter(x=>x.focusable).map(x=>x.ref.current);if(y==="last")R.reverse();else if(y==="prev"||y==="next"){y==="prev"&&R.reverse();const x=R.indexOf(b.currentTarget);R=u.loop?wo(R,x+1):R.slice(x+1)}setTimeout(()=>hn(R))}}),children:typeof c=="function"?c({isCurrentTabStop:d,hasTabStop:g!=null}):c})})},"RovingFocusGroupItem")),va={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function yo(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}Ee(yo,"getDirectionAwareKey");function bo(e,t,n){const r=yo(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return va[r]}Ee(bo,"getFocusIntent");function hn(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}Ee(hn,"focusFirst");function wo(e,t){return e.map((n,r)=>e[(t+r)%e.length])}Ee(wo,"wrapArray");var ga=da,ya=ma,ba=Object.defineProperty,X=(e,t)=>ba(e,"name",{value:t,configurable:!0}),Co="Radio",[wa,xo]=oe(Co),[Ca,mn]=wa(Co);function Ro(e){const{__scopeRadio:t,checked:n=!1,children:r,disabled:o,form:i,name:s,onCheck:c,required:l,value:f="on",internal_do_not_use_render:h}=e,[u,d]=a.useState(null),[v,m]=a.useState(null),p=a.useRef(!1),[g,w]=a.useReducer(C=>C+1,0),b=u?!!i||!!u.closest("form"):!0,y={checked:n,disabled:o,required:l,name:s,form:i,value:f,control:u,setControl:d,hasConsumerStoppedPropagationRef:p,userInteractionCount:g,onUserInteraction:w,isFormControl:b,bubbleInput:v,setBubbleInput:m,onCheck:X(()=>c?.(),"onCheck")};return E.jsx(Ca,{scope:t,...y,children:Eo(h)?h(y):r})}X(Ro,"RadioProvider");var xa="RadioTrigger",Ra=a.forwardRef(X(function({__scopeRadio:t,onClick:n,...r},o){const{checked:i,disabled:s,value:c,setControl:l,onCheck:f,hasConsumerStoppedPropagationRef:h,onUserInteraction:u,isFormControl:d,bubbleInput:v}=mn(xa,t),m=N(o,l);return E.jsx(B.button,{type:"button",role:"radio","aria-checked":i,"data-state":So(i),"data-disabled":s?"":void 0,disabled:s,value:c,...r,ref:m,onClick:L(n,p=>{i||(u(),f()),v&&d&&(h.current=p.isPropagationStopped(),h.current||p.stopPropagation())})})},"RadioTrigger")),Ea="RadioBubbleInput",Sa=a.forwardRef(X(function({__scopeRadio:t,onClick:n,...r},o){const{control:i,checked:s,required:c,disabled:l,name:f,value:h,form:u,bubbleInput:d,setBubbleInput:v,hasConsumerStoppedPropagationRef:m,userInteractionCount:p}=mn(Ea,t),g=N(o,v),w=at(i),b=a.useRef(!1),y=a.useRef(s),C=a.useRef(p);a.useEffect(()=>{const x=d;if(!x)return;const S=window.HTMLInputElement.prototype,P=Object.getOwnPropertyDescriptor(S,"checked").set,A=p!==C.current;C.current=p;const D=y.current!==s;y.current=s;const _=!(A&&m.current);if(D&&P){b.current=!A;const I=new Event("click",{bubbles:_});P.call(x,s),x.dispatchEvent(I),b.current=!1}},[d,s,m,p]);const R=a.useRef(s);return E.jsx(B.input,{type:"radio","aria-hidden":!0,defaultChecked:R.current,required:c,disabled:l,name:f,value:h,form:u,...r,tabIndex:-1,ref:g,onClick:L(n,x=>{b.current&&x.stopPropagation()}),style:{...r.style,...w,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"RadioBubbleInput"));function Eo(e){return typeof e=="function"}X(Eo,"isFunction");function So(e){return e?"checked":"unchecked"}X(So,"getState");var Pa=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],vn="RadioGroup",[Oa,ll]=oe(vn,[go,xo]),Po=go(),gn=xo(),[_a,Aa]=Oa(vn),ul=a.forwardRef(X(function(t,n){const{__scopeRadioGroup:r,name:o,form:i,defaultValue:s,value:c,required:l=!1,disabled:f=!1,orientation:h,dir:u,loop:d=!0,onValueChange:v,...m}=t,p=Po(r),g=qt(u),[w,b]=Le({prop:c,defaultProp:s??null,onChange:v,caller:vn}),[y,C]=a.useState(null),R=N(n,C),x=a.useRef(w);return a.useEffect(()=>{const S=i?y?.ownerDocument.getElementById(i):y?.closest("form");if(S instanceof HTMLFormElement){const O=X(()=>b(x.current),"reset");return S.addEventListener("reset",O),()=>S.removeEventListener("reset",O)}},[y,i,b]),E.jsx(_a,{scope:r,name:o,form:i,required:l,disabled:f,value:w,onValueChange:b,children:E.jsx(ga,{asChild:!0,...p,orientation:h,dir:g,loop:d,children:E.jsx(B.div,{role:"radiogroup","aria-required":l,"aria-orientation":h,"data-disabled":f?"":void 0,dir:g,...m,ref:R})})})},"RadioGroup")),Ia="RadioGroupItemProvider",Ta="RadioGroupItemTrigger";function Oo(e){const{__scopeRadioGroup:t,value:n,disabled:r,children:o,internal_do_not_use_render:i}=e,s=Aa(Ia,t),c=gn(t),l=s.disabled||r;return E.jsx(Ro,{...c,checked:s.value===n,disabled:l,required:s.required,name:s.name,form:s.form,value:n,onCheck:()=>s.onValueChange(n),internal_do_not_use_render:i,children:o})}X(Oo,"RadioGroupItemProvider");var Da=a.forwardRef(X(function(t,n){const{__scopeRadioGroup:r,...o}=t,i=Po(r),s=gn(r),{checked:c,disabled:l}=mn(Ta,s.__scopeRadio),f=a.useRef(null),h=N(n,f),u=a.useRef(!1);return a.useEffect(()=>{const d=X(m=>{Pa.includes(m.key)&&(u.current=!0)},"handleKeyDown"),v=X(()=>u.current=!1,"handleKeyUp");return document.addEventListener("keydown",d),document.addEventListener("keyup",v),()=>{document.removeEventListener("keydown",d),document.removeEventListener("keyup",v)}},[]),E.jsx(ya,{asChild:!0,...i,focusable:!l,active:c,children:E.jsx(Ra,{...s,...o,ref:h,onKeyDown:L(o.onKeyDown,d=>{d.key==="Enter"&&d.preventDefault()}),onFocus:L(o.onFocus,()=>{u.current&&f.current?.click()})})})},"RadioGroupItemTrigger")),fl=a.forwardRef(X(function(t,n){const{__scopeRadioGroup:r,value:o,disabled:i,...s}=t;return E.jsx(Oo,{__scopeRadioGroup:r,value:o,disabled:i,internal_do_not_use_render:({isFormControl:c})=>E.jsxs(E.Fragment,{children:[E.jsx(Da,{...s,ref:n,__scopeRadioGroup:r}),c&&E.jsx(ka,{__scopeRadioGroup:r})]})})},"RadioGroupItem")),ka=a.forwardRef(X(function(t,n){const{__scopeRadioGroup:r,...o}=t,i=gn(r);return E.jsx(Sa,{...i,...o,ref:n})},"RadioGroupItemBubbleInput")),Ma=Object.defineProperty,U=(e,t)=>Ma(e,"name",{value:t,configurable:!0}),[yn,dl]=oe("Tooltip",[co]),bn=co(),La="TooltipProvider",Fa=700,Vt="tooltip.open",[Na,wn]=yn(La),ja=U(e=>{const{__scopeTooltip:t,delayDuration:n=Fa,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,s=a.useRef(!0),c=a.useRef(!1),l=a.useRef(0);return a.useEffect(()=>{const f=l.current;return()=>window.clearTimeout(f)},[]),E.jsx(Na,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:a.useCallback(()=>{r<=0||(window.clearTimeout(l.current),s.current=!1)},[r]),onClose:a.useCallback(()=>{r<=0||(window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r))},[r]),isPointerInTransitRef:c,onPointerInTransitChange:a.useCallback(f=>{c.current=f},[]),disableHoverableContent:o,children:i})},"TooltipProvider"),zt="Tooltip",[$a,Ue]=yn(zt),Ba=U(e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o,onOpenChange:i,disableHoverableContent:s,delayDuration:c}=e,l=wn(zt,e.__scopeTooltip),f=bn(t),[h,u]=a.useState(null),[d,v]=a.useState(void 0),m=Ie(),p=a.useRef(0),g=s??l.disableHoverableContent,w=c??l.delayDuration,b=a.useRef(!1),[y,C]=Le({prop:r,defaultProp:o??!1,onChange:U(A=>{A?(l.onOpen(),document.dispatchEvent(new CustomEvent(Vt))):l.onClose(),i?.(A)},"onChange"),caller:zt}),R=a.useMemo(()=>y?b.current?"delayed-open":"instant-open":"closed",[y]),x=a.useCallback(()=>{window.clearTimeout(p.current),p.current=0,b.current=!1,C(!0)},[C]),S=a.useCallback(()=>{window.clearTimeout(p.current),p.current=0,C(!1)},[C]),O=a.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{b.current=!0,C(!0),p.current=0},w)},[w,C]);a.useEffect(()=>()=>{p.current&&(window.clearTimeout(p.current),p.current=0)},[]);const P=d??m;return E.jsx(ta,{...f,children:E.jsx($a,{scope:t,contentId:P,setContentId:v,open:y,stateAttribute:R,trigger:h,onTriggerChange:u,onTriggerEnter:a.useCallback(()=>{l.isOpenDelayedRef.current?O():x()},[l.isOpenDelayedRef,O,x]),onTriggerLeave:a.useCallback(()=>{g?S():(window.clearTimeout(p.current),p.current=0)},[S,g]),onOpen:x,onClose:S,disableHoverableContent:g,children:n})})},"Tooltip"),qn="TooltipTrigger",Wa=a.forwardRef(U(function(t,n){const{__scopeTooltip:r,...o}=t,i=Ue(qn,r),s=wn(qn,r),c=bn(r),l=a.useRef(null),f=N(n,l,i.onTriggerChange),h=a.useRef(!1),u=a.useRef(!1),d=a.useCallback(()=>h.current=!1,[]);return a.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),E.jsx(na,{asChild:!0,...c,children:E.jsx(B.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...o,ref:f,onPointerMove:L(t.onPointerMove,v=>{v.pointerType!=="touch"&&!u.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),u.current=!0)}),onPointerLeave:L(t.onPointerLeave,()=>{i.onTriggerLeave(),u.current=!1}),onPointerDown:L(t.onPointerDown,()=>{i.open&&i.onClose(),h.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:L(t.onFocus,()=>{h.current||i.onOpen()}),onBlur:L(t.onBlur,i.onClose),onClick:L(t.onClick,i.onClose)})})},"TooltipTrigger")),_o="TooltipPortal",[Ha,Ga]=yn(_o,{forceMount:void 0}),Ua=U(e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,i=Ue(_o,t);return E.jsx(Ha,{scope:t,forceMount:n,children:E.jsx(Fe,{present:n||i.open,children:E.jsx(kr,{asChild:!0,container:o,children:r})})})},"TooltipPortal"),He="TooltipContent",Va=a.forwardRef(U(function(t,n){const r=Ga(He,t.__scopeTooltip),{forceMount:o=r.forceMount,side:i="top",...s}=t,c=Ue(He,t.__scopeTooltip);return E.jsx(Fe,{present:o||c.open,children:c.disableHoverableContent?E.jsx(Ao,{side:i,...s,ref:n}):E.jsx(za,{side:i,...s,ref:n})})},"TooltipContent")),za=a.forwardRef(U(function(t,n){const r=Ue(He,t.__scopeTooltip),o=wn(He,t.__scopeTooltip),i=a.useRef(null),s=N(n,i),[c,l]=a.useState(null),{trigger:f,onClose:h}=r,u=i.current,{onPointerInTransitChange:d}=o,v=a.useCallback(()=>{l(null),d(!1)},[d]),m=a.useCallback((p,g)=>{const w=p.currentTarget,b={x:p.clientX,y:p.clientY},y=Io(b,w.getBoundingClientRect()),C=To(b,y),R=Do(g.getBoundingClientRect()),x=Mo([...C,...R]);l(x),d(!0)},[d]);return a.useEffect(()=>()=>v(),[v]),a.useEffect(()=>{if(f&&u){const p=U(w=>m(w,u),"handleTriggerLeave"),g=U(w=>m(w,f),"handleContentLeave");return f.addEventListener("pointerleave",p),u.addEventListener("pointerleave",g),()=>{f.removeEventListener("pointerleave",p),u.removeEventListener("pointerleave",g)}}},[f,u,m,v]),a.useEffect(()=>{if(c){const p=U(g=>{const w=g.target,b={x:g.clientX,y:g.clientY},y=f?.contains(w)||u?.contains(w),C=!ko(b,c);y?v():C&&(v(),h())},"handleTrackPointerGrace");return document.addEventListener("pointermove",p),()=>document.removeEventListener("pointermove",p)}},[f,u,c,h,v]),E.jsx(Ao,{...t,ref:s})},"TooltipContentHoverable")),Ka=er("TooltipContent"),Ao=a.forwardRef(U(function(t,n){const{__scopeTooltip:r,children:o,"aria-label":i,id:s,onEscapeKeyDown:c,onPointerDownOutside:l,...f}=t,h=Ue(He,r),u=bn(r),{onClose:d}=h;a.useEffect(()=>(document.addEventListener(Vt,d),()=>document.removeEventListener(Vt,d)),[d]),a.useEffect(()=>{if(h.trigger){const m=U(p=>{p.target instanceof Node&&p.target.contains(h.trigger)&&d()},"handleScroll");return window.addEventListener("scroll",m,{capture:!0}),()=>window.removeEventListener("scroll",m,{capture:!0})}},[h.trigger,d]);const{setContentId:v}=h;return K(()=>(v(s),()=>{v(void 0)}),[s,v]),E.jsx(Rr,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:c,onPointerDownOutside:l,onFocusOutside:m=>m.preventDefault(),onDismiss:d,children:E.jsxs(ra,{"data-state":h.stateAttribute,role:i?void 0:"tooltip",id:i?void 0:h.contentId,...u,...f,ref:n,style:{...f.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[E.jsx(Ka,{children:o}),i?E.jsx(ii,{id:h.contentId,role:"tooltip",children:i}):null]})})},"TooltipContentImpl"));function Io(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}U(Io,"getExitSideFromRect");function To(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}U(To,"getPaddedExitPoints");function Do(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}U(Do,"getPointsFromRect");function ko(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const c=t[i],l=t[s],f=c.x,h=c.y,u=l.x,d=l.y;h>r!=d>r&&n<(u-f)*(r-h)/(d-h)+f&&(o=!o)}return o}U(ko,"isPointInPolygon");function Mo(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),Lo(t)}U(Mo,"getHull");function Lo(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}U(Lo,"getHullPresorted");var pl=ja,hl=Ba,ml=Wa,vl=Ua,gl=Va;export{gl as C,Qa as D,pl as P,hl as R,qa as S,ml as T,vl as a,sl as b,cl as c,ul as d,fl as e,Ja as f,el as g,tl as h,nl as i,rl as j,ol as k};
@@ -3,13 +3,13 @@ import {
3
3
  statusJson,
4
4
  statusReport,
5
5
  statusText
6
- } from "./chunk-UYGESSPG.js";
6
+ } from "./chunk-XVXSGVEW.js";
7
7
  import {
8
8
  addressesToTry,
9
9
  findSnapshot,
10
10
  readAppVersion,
11
11
  readSessions
12
- } from "./chunk-PQ3B5TN6.js";
12
+ } from "./chunk-63XPRBHW.js";
13
13
 
14
14
  // src/cli/agentLookout.ts
15
15
  import { isatty } from "node:tty";
@@ -167,7 +167,7 @@ async function runCommand(options) {
167
167
  return EXIT.notKnown;
168
168
  }
169
169
  if (parsed.kind === "start") {
170
- const { startCommand } = await import("./startCommand-ZV2NQ6YG.js");
170
+ const { startCommand } = await import("./startCommand-KNXMVM2U.js");
171
171
  const url = await startCommand({
172
172
  ...parsed.options,
173
173
  distDir: options.distDir ?? fileURLToPath(new URL("../../dist/", import.meta.url)),
@@ -187,7 +187,7 @@ async function runCommand(options) {
187
187
  const read = options.read ?? ((address) => readSessions(address));
188
188
  const now = options.now ?? Date.now;
189
189
  if (parsed.kind === "mcp") {
190
- const { serveMcp } = await import("./mcpServer-CGLIGL4X.js");
190
+ const { serveMcp } = await import("./mcpServer-HGH6PY4W.js");
191
191
  await serveMcp({
192
192
  addresses: toTry,
193
193
  read,
@@ -1,3 +1,37 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __commonJS = (cb, mod) => function __require() {
8
+ try {
9
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
10
+ } catch (e) {
11
+ throw mod = 0, e;
12
+ }
13
+ };
14
+ var __export = (target, all) => {
15
+ for (var name in all)
16
+ __defProp(target, name, { get: all[name], enumerable: true });
17
+ };
18
+ var __copyProps = (to, from, except, desc) => {
19
+ if (from && typeof from === "object" || typeof from === "function") {
20
+ for (let key of __getOwnPropNames(from))
21
+ if (!__hasOwnProp.call(to, key) && key !== except)
22
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
23
+ }
24
+ return to;
25
+ };
26
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
27
+ // If the importer is in node compatibility mode or this is not an ESM
28
+ // file that has been converted to a CommonJS file using a Babel-
29
+ // compatible transform (i.e. "__esModule" has not been set), then set
30
+ // "default" to the CommonJS "module.exports" for node compatibility.
31
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
32
+ mod
33
+ ));
34
+
1
35
  // src/collector/version.ts
2
36
  import { readFileSync } from "node:fs";
3
37
  function readAppVersion() {
@@ -241,6 +275,7 @@ var SESSION_STATUSES = [
241
275
  "unknown"
242
276
  ];
243
277
  var WAITING_REASONS = ["permission", "question", "other"];
278
+ var CHECKS_STATES = ["failing", "pending", "passing", "none"];
244
279
  var SOURCE_STATE_LABEL = {
245
280
  ok: "Watching",
246
281
  searching: "Searching",
@@ -255,7 +290,8 @@ var CAPABILITIES = [
255
290
  "failed",
256
291
  "names",
257
292
  "jump",
258
- "quiet-for"
293
+ "quiet-for",
294
+ "stop"
259
295
  ];
260
296
  var CAPABILITY_LABEL = {
261
297
  "working-and-idle": "Working and idle",
@@ -264,9 +300,21 @@ var CAPABILITY_LABEL = {
264
300
  failed: "Failed",
265
301
  names: "Names",
266
302
  jump: "Jump",
267
- "quiet-for": "Quiet for"
303
+ "quiet-for": "Quiet for",
304
+ stop: "Stop"
268
305
  };
269
306
  var CAPABILITY_LEVELS = ["yes", "no", "partly"];
307
+ var EVENT_KINDS = ["appeared", "status-changed", "ended", "stopped"];
308
+ var STATUS_EVENT_KINDS = [
309
+ "appeared",
310
+ "status-changed",
311
+ "ended"
312
+ ];
313
+ function isStatusEvent(event) {
314
+ return STATUS_EVENT_KINDS.includes(event.kind);
315
+ }
316
+ var EVENT_ACTORS = ["agent-lookout"];
317
+ var EVENT_SEVERITIES = ["advisory", "warning", "critical"];
270
318
  function withoutWaitingText(session) {
271
319
  if (session.waitingText === void 0) return session;
272
320
  const { waitingText: _forgotten, ...rest } = session;
@@ -276,6 +324,32 @@ function agentName(session, sources) {
276
324
  return session.agent ?? sources.find((source) => source.id === session.source)?.label ?? null;
277
325
  }
278
326
 
327
+ // src/core/sessions/pullRequest.ts
328
+ var OWNER = /^[A-Za-z0-9][A-Za-z0-9-]{0,38}$/;
329
+ var NAME = /^[A-Za-z0-9._-]{1,100}$/;
330
+ var MAX_PULL_REQUEST_NUMBER = 1e9;
331
+ function isGitHubRepository(owner, name) {
332
+ return OWNER.test(owner) && NAME.test(name) && name !== "." && name !== "..";
333
+ }
334
+ function isPullRequestNumber(value) {
335
+ return typeof value === "number" && Number.isInteger(value) && value > 0 && value <= MAX_PULL_REQUEST_NUMBER;
336
+ }
337
+ function pullRequestUrl(repository, number) {
338
+ return `https://github.com/${repository.owner}/${repository.name}/pull/${number}`;
339
+ }
340
+ function checksStateOf(counts) {
341
+ if (counts.failing > 0) return "failing";
342
+ if (counts.pending > 0) return "pending";
343
+ return counts.passing > 0 ? "passing" : "none";
344
+ }
345
+ function pullRequestSummaryOf(value) {
346
+ if (typeof value !== "object" || value === null) return null;
347
+ const { number, checks } = value;
348
+ if (!isPullRequestNumber(number) || typeof checks !== "object" || checks === null) return null;
349
+ const state = checks.state;
350
+ return CHECKS_STATES.includes(state) ? { number, checks: state } : null;
351
+ }
352
+
279
353
  // src/core/notices/waiting.ts
280
354
  var WAITING_LABEL = {
281
355
  permission: "Waiting for permission",
@@ -358,6 +432,9 @@ function oneLine(text, max = MAX_LINE_LENGTH) {
358
432
  }
359
433
 
360
434
  export {
435
+ __commonJS,
436
+ __export,
437
+ __toESM,
361
438
  readAppVersion,
362
439
  loopbackAddress,
363
440
  addressesToTry,
@@ -374,8 +451,17 @@ export {
374
451
  CAPABILITIES,
375
452
  CAPABILITY_LABEL,
376
453
  CAPABILITY_LEVELS,
454
+ EVENT_KINDS,
455
+ isStatusEvent,
456
+ EVENT_ACTORS,
457
+ EVENT_SEVERITIES,
377
458
  withoutWaitingText,
378
459
  agentName,
460
+ isGitHubRepository,
461
+ isPullRequestNumber,
462
+ pullRequestUrl,
463
+ checksStateOf,
464
+ pullRequestSummaryOf,
379
465
  waitingLabel,
380
466
  waitingPhrase,
381
467
  sessionTitle,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SESSION_STATUSES
3
- } from "./chunk-PQ3B5TN6.js";
3
+ } from "./chunk-63XPRBHW.js";
4
4
 
5
5
  // src/core/sessions/sorting.ts
6
6
  var STATUS_ORDER = SESSION_STATUSES;