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.
- package/CHANGELOG.md +41 -0
- package/PRIVACY.md +113 -25
- package/README.md +21 -15
- package/SECURITY.md +20 -8
- package/bin/agent-lookout.mjs +49 -24
- package/dist/THIRD-PARTY-LICENSES.md +195 -0
- package/dist/assets/HistoryPanel-CIjshvhu.js +1 -0
- package/dist/assets/SessionPanel-eBOdTLD9.js +1 -0
- package/dist/assets/index-B-myfVQS.js +2 -0
- package/dist/assets/index-Cceyz9yZ.css +1 -0
- package/dist/assets/radix-BH0JH8UU.js +41 -0
- package/dist/cli/agent-lookout.js +4 -4
- package/dist/cli/{chunk-PQ3B5TN6.js → chunk-63XPRBHW.js} +88 -2
- package/dist/cli/{chunk-XJM5RZNV.js → chunk-KNOLJ3IC.js} +1 -1
- package/dist/cli/{chunk-UYGESSPG.js → chunk-XVXSGVEW.js} +6 -2
- package/dist/cli/mcpServer-HGH6PY4W.js +23664 -0
- package/dist/cli/{startCommand-ZV2NQ6YG.js → startCommand-KNXMVM2U.js} +3417 -676
- package/dist/index.html +3 -3
- package/docs/API.md +301 -79
- package/docs/GUIDE.md +215 -67
- package/package.json +6 -6
- package/dist/assets/HistoryPanel-Llcz5XPi.js +0 -1
- package/dist/assets/SessionPanel-B4g_6Unu.js +0 -1
- package/dist/assets/atkinson-hyperlegible-mono-latin-400-normal-Cmjm2dBj.woff +0 -0
- package/dist/assets/atkinson-hyperlegible-mono-latin-500-normal-BV5ipwqM.woff +0 -0
- package/dist/assets/atkinson-hyperlegible-mono-latin-600-normal-CuPF9o0F.woff +0 -0
- package/dist/assets/atkinson-hyperlegible-mono-latin-ext-400-normal-ITMuFrSK.woff +0 -0
- package/dist/assets/atkinson-hyperlegible-mono-latin-ext-500-normal-BiHEOgiK.woff +0 -0
- package/dist/assets/atkinson-hyperlegible-mono-latin-ext-600-normal-ZiH-ObRk.woff +0 -0
- package/dist/assets/atkinson-hyperlegible-next-latin-400-normal-DPp7N0cD.woff +0 -0
- package/dist/assets/atkinson-hyperlegible-next-latin-500-normal-B0CYqHl3.woff +0 -0
- package/dist/assets/atkinson-hyperlegible-next-latin-600-normal-BhgCag5w.woff +0 -0
- package/dist/assets/atkinson-hyperlegible-next-latin-ext-400-normal-qxMiU51n.woff +0 -0
- package/dist/assets/atkinson-hyperlegible-next-latin-ext-500-normal-oZS3KxrF.woff +0 -0
- package/dist/assets/atkinson-hyperlegible-next-latin-ext-600-normal-BBAQIogt.woff +0 -0
- package/dist/assets/index-DRcy1hT5.js +0 -2
- package/dist/assets/index-Dz4q_OYZ.css +0 -1
- package/dist/assets/radix-27o0jeIu.js +0 -41
- package/dist/cli/mcpServer-CGLIGL4X.js +0 -246
|
@@ -1 +0,0 @@
|
|
|
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;--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}.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-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-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\.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-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-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-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\.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-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-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-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-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-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\: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\: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\]\: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\: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\:mr-auto{margin-right:auto}.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\: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-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-2{row-gap:calc(var(--spacing) * 2)}.max-mid\:gap-y-3{row-gap:calc(var(--spacing) * 3)}.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"),url(/assets/atkinson-hyperlegible-next-latin-ext-400-normal-qxMiU51n.woff)format("woff");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"),url(/assets/atkinson-hyperlegible-next-latin-400-normal-DPp7N0cD.woff)format("woff");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"),url(/assets/atkinson-hyperlegible-next-latin-ext-500-normal-oZS3KxrF.woff)format("woff");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"),url(/assets/atkinson-hyperlegible-next-latin-500-normal-B0CYqHl3.woff)format("woff");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"),url(/assets/atkinson-hyperlegible-next-latin-ext-600-normal-BBAQIogt.woff)format("woff");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"),url(/assets/atkinson-hyperlegible-next-latin-600-normal-BhgCag5w.woff)format("woff");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"),url(/assets/atkinson-hyperlegible-mono-latin-ext-400-normal-ITMuFrSK.woff)format("woff");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"),url(/assets/atkinson-hyperlegible-mono-latin-400-normal-Cmjm2dBj.woff)format("woff");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"),url(/assets/atkinson-hyperlegible-mono-latin-ext-500-normal-BiHEOgiK.woff)format("woff");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"),url(/assets/atkinson-hyperlegible-mono-latin-500-normal-BV5ipwqM.woff)format("woff");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"),url(/assets/atkinson-hyperlegible-mono-latin-ext-600-normal-ZiH-ObRk.woff)format("woff");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"),url(/assets/atkinson-hyperlegible-mono-latin-600-normal-CuPF9o0F.woff)format("woff");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)}}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
var wn=e=>{throw TypeError(e)};var xn=(e,t,n)=>t.has(e)||wn("Cannot "+n);var V=(e,t,n)=>(xn(e,t,"read from private field"),n?n.call(e):t.get(e)),Cn=(e,t,n)=>t.has(e)?wn("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),mt=(e,t,n,r)=>(xn(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);import{r as a,R as De,j as E,a as Vt,_ as de,b as zn,c as jo}from"./react-C2DiJaR6.js";var $o=Object.defineProperty,Ut=(e,t)=>$o(e,"name",{value:t,configurable:!0});function Ot(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}Ut(Ot,"setRef");function Kn(...e){return t=>{let n=!1;const r=e.map(o=>{const i=Ot(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():Ot(e[o],null)}}}}Ut(Kn,"composeRefs");function $(...e){return a.useCallback(Kn(...e),e)}Ut($,"useComposedRefs");var Bo=Object.defineProperty,ee=(e,t)=>Bo(e,"name",{value:t,configurable:!0});function me(e){const t=a.forwardRef((n,r)=>{let{children:o,...i}=n,s=null,c=!1;const l=[];At(o)&&typeof Ve=="function"&&(o=Ve(o._payload)),a.Children.forEach(o,d=>{if(Qn(d)){c=!0;const v=d;let h="child"in v.props?v.props.child:v.props.children;At(h)&&typeof Ve=="function"&&(h=Ve(h._payload)),s=Wo(v,h),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?Zn(s):void 0,m=$(r,f);if(!s){if(o||o===0)throw new Error(c?Vo(e):Go(e));return o}const u=qn(i,s.props??{});return s.type!==a.Fragment&&(u.ref=r?m:f),a.cloneElement(s,u)});return t.displayName=`${e}.Slot`,t}ee(me,"createSlot");var Fa=me("Slot"),Yn=Symbol.for("radix.slottable");function Xn(e){const t=ee(n=>"child"in n?n.children(n.child):n.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=Yn,t}ee(Xn,"createSlottable");var Wo=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 qn(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(qn,"mergeProps");function Zn(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(Zn,"getElementRef");function Qn(e){return a.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Yn}ee(Qn,"isSlottable");var Ho=Symbol.for("react.lazy");function At(e){return e!=null&&typeof e=="object"&&"$$typeof"in e&&e.$$typeof===Ho&&"_payload"in e&&Jn(e._payload)}ee(At,"isLazyComponent");function Jn(e){return typeof e=="object"&&e!==null&&"then"in e}ee(Jn,"isPromiseLike");var Go=ee(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),Vo=ee(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),Ve=De[" use ".trim().toString()],Uo=Object.defineProperty,zo=(e,t)=>Uo(e,"name",{value:t,configurable:!0}),Ko=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],U=Ko.reduce((e,t)=>{const n=me(`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 er(e,t){e&&Vt.flushSync(()=>e.dispatchEvent(t))}zo(er,"dispatchDiscreteCustomEvent");var Yo=Object.defineProperty,Xo=(e,t)=>Yo(e,"name",{value:t,configurable:!0}),qo=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"}),Zo=a.forwardRef(Xo(function(t,n){return E.jsx(U.span,{...t,ref:n,style:{...qo,...t.style}})},"VisuallyHidden")),Qo=Zo,Jo=Object.defineProperty,Q=(e,t)=>Jo(e,"name",{value:t,configurable:!0});function ei(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(ei,"createContext");function ue(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,...h}=u,p=d?.[e]?.[l]||c,g=a.useMemo(()=>h,Object.values(h));return E.jsx(p.Provider,{value:g,children:v})},"Provider");f.displayName=i+"Provider";function m(u,d,v={}){const{optional:h=!1}=v,p=d?.[e]?.[l]||c,g=a.useContext(p);if(g)return g;if(s!==void 0)return s;if(!h)throw new Error(`\`${u}\` must be used within \`${i}\``)}return Q(m,"useContext"),[f,m]}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,tr(o,...t)]}Q(ue,"createContextScope");function tr(...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(tr,"composeContextScopes");var ti=Object.defineProperty,H=(e,t)=>ti(e,"name",{value:t,configurable:!0});function nr(e){const t=e+"CollectionProvider",[n,r]=ue(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=H(p=>{const{scope:g,children:w}=p,y=a.useRef(null),b=a.useRef(new Map).current;return E.jsx(o,{scope:g,itemMap:b,collectionRef:y,children:w})},"CollectionProvider");s.displayName=t;const c=e+"CollectionSlot",l=me(c),f=a.forwardRef((p,g)=>{const{scope:w,children:y}=p,b=i(c,w),x=$(g,b.collectionRef);return E.jsx(l,{ref:x,children:y})});f.displayName=c;const m=e+"CollectionItemSlot",u="data-radix-collection-item",d=me(m),v=a.forwardRef((p,g)=>{const{scope:w,children:y,...b}=p,x=a.useRef(null),R=$(g,x),C=i(m,w);return a.useEffect(()=>(C.itemMap.set(x,{ref:x,...b}),()=>{C.itemMap.delete(x)})),E.jsx(d,{[u]:"",ref:R,children:y})});v.displayName=m;function h(p){const g=i(e+"CollectionConsumer",p);return a.useCallback(()=>{const y=g.collectionRef.current;if(!y)return[];const b=Array.from(y.querySelectorAll(`[${u}]`));return Array.from(g.itemMap.values()).sort((C,S)=>b.indexOf(C.ref.current)-b.indexOf(S.ref.current))},[g.collectionRef,g.itemMap])}return H(h,"useCollection"),[{Provider:s,Slot:f,ItemSlot:v},h,r]}H(nr,"createCollection");var Rn=new WeakMap,j,q,ht=(q=class extends Map{constructor(n){super(n);Cn(this,j);mt(this,j,[...super.keys()]),Rn.set(this,!0)}set(n,r){return Rn.get(this)&&(this.has(n)?V(this,j)[V(this,j).indexOf(n)]=n:V(this,j).push(n)),super.set(n,r),this}insert(n,r,o){const i=this.has(r),s=V(this,j).length,c=zt(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 m=this.size+(i?0:1);c<0&&l++;const u=[...V(this,j)];let d,v=!1;for(let h=l;h<m;h++)if(l===h){let p=u[h];u[h]===r&&(p=u[h+1]),i&&this.delete(r),d=this.get(p),this.set(r,o)}else{!v&&u[h-1]===r&&(v=!0);const p=u[v?h:h-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,j).indexOf(n)-1;if(!(r<0))return this.entryAt(r)}setBefore(n,r,o){const i=V(this,j).indexOf(n);return i===-1?this:this.insert(i,r,o)}after(n){let r=V(this,j).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,j).indexOf(n);return i===-1?this:this.insert(i+1,r,o)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return mt(this,j,[]),super.clear()}delete(n){const r=super.delete(n);return r&&V(this,j).splice(V(this,j).indexOf(n),1),r}deleteAt(n){const r=this.keyAt(n);return r!==void 0?this.delete(r):!1}at(n){const r=Ze(V(this,j),n);if(r!==void 0)return this.get(r)}entryAt(n){const r=Ze(V(this,j),n);if(r!==void 0)return[r,this.get(r)]}indexOf(n){return V(this,j).indexOf(n)}keyAt(n){return Ze(V(this,j),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}},j=new WeakMap,H(q,"OrderedDict"),q);function Ze(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);const n=rr(e,t);return n===-1?void 0:e[n]}H(Ze,"at");function rr(e,t){const n=e.length,r=zt(t),o=r>=0?r:n+r;return o<0||o>=n?-1:o}H(rr,"toSafeIndex");function zt(e){return e!==e||e===0?0:Math.trunc(e)}H(zt,"toSafeInteger");function ni(e){const t=e+"CollectionProvider",[n,r]=ue(t),[o,i]=n(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new ht,setItemMap:H(()=>{},"setItemMap")}),s=H(({state:b,...x})=>b?E.jsx(l,{...x,state:b}):E.jsx(c,{...x}),"CollectionProvider");s.displayName=t;const c=H(b=>{const x=g();return E.jsx(l,{...b,state:x})},"CollectionInit");c.displayName=t+"Init";const l=H(b=>{const{scope:x,children:R,state:C}=b,S=a.useRef(null),[O,P]=a.useState(null),T=$(S,P),[L,A]=C;return a.useEffect(()=>{if(!O)return;const _=sr(()=>{});return _.observe(O,{childList:!0,subtree:!0}),()=>{_.disconnect()}},[O]),E.jsx(o,{scope:x,itemMap:L,setItemMap:A,collectionRef:T,collectionRefObject:S,collectionElement:O,children:R})},"CollectionProviderImpl");l.displayName=t+"Impl";const f=e+"CollectionSlot",m=me(f),u=a.forwardRef((b,x)=>{const{scope:R,children:C}=b,S=i(f,R),O=$(x,S.collectionRef);return E.jsx(m,{ref:O,children:C})});u.displayName=f;const d=e+"CollectionItemSlot",v="data-radix-collection-item",h=me(d),p=a.forwardRef((b,x)=>{const{scope:R,children:C,...S}=b,O=a.useRef(null),[P,T]=a.useState(null),L=$(x,O,T),A=i(d,R),{setItemMap:_}=A,M=a.useRef(S);or(M.current,S)||(M.current=S);const B=M.current;return a.useEffect(()=>{const F=B;return _(D=>P?D.has(P)?D.set(P,{...F,element:P}).toSorted(Tt):(D.set(P,{...F,element:P}),D.toSorted(Tt)):D),()=>{_(D=>!P||!D.has(P)?D:(D.delete(P),new ht(D)))}},[P,B,_]),E.jsx(h,{[v]:"",ref:L,children:C})});p.displayName=d;function g(){return a.useState(new ht)}H(g,"useInitCollection");function w(b){const{itemMap:x}=i(e+"CollectionConsumer",b);return x}return H(w,"useCollection"),[{Provider:s,Slot:u,ItemSlot:p},{createCollectionScope:r,useCollection:w,useInitCollection:g}]}H(ni,"createCollection");function or(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}H(or,"shallowEqual");function ir(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}H(ir,"isElementPreceding");function Tt(e,t){return!e[1].element||!t[1].element?0:ir(e[1].element,t[1].element)?-1:1}H(Tt,"sortByDocumentPosition");function sr(e){return new MutationObserver(n=>{for(const r of n)if(r.type==="childList"){e();return}})}H(sr,"getChildListObserver");var ri=Object.defineProperty,Ie=(e,t)=>ri(e,"name",{value:t,configurable:!0}),cr=!!(typeof window<"u"&&window.document&&window.document.createElement);function N(e,t,{checkForDefaultPrevented:n=!0}={}){return Ie(function(o){if(e?.(o),n===!1||!o||!o.defaultPrevented)return t?.(o)},"handleEvent")}Ie(N,"composeEventHandlers");function oi(e){if(!cr)throw new Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window}Ie(oi,"getOwnerWindow");function _t(e){if(!cr)throw new Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}Ie(_t,"getOwnerDocument");function ar(e,t=!1){const{activeElement:n}=_t(e);if(!n?.nodeName)return null;if(lr(n)&&n.contentDocument)return ar(n.contentDocument.body,t);if(t){const r=n.getAttribute("aria-activedescendant");if(r){const o=_t(n).getElementById(r);if(o)return o}}return n}Ie(ar,"getActiveElement");function lr(e){return e.tagName==="IFRAME"}Ie(lr,"isFrame");var K=globalThis?.document?a.useLayoutEffect:()=>{},ii=Object.defineProperty,si=(e,t)=>ii(e,"name",{value:t,configurable:!0}),En=De[" useEffectEvent ".trim().toString()],Sn=De[" useInsertionEffect ".trim().toString()];function ur(e){if(typeof En=="function")return En(e);const t=a.useRef(()=>{throw new Error("Cannot call an event handler while rendering.")});return typeof Sn=="function"?Sn(()=>{t.current=e}):K(()=>{t.current=e}),a.useMemo(()=>((...n)=>t.current?.(...n)),[])}si(ur,"useEffectEvent");var ci=Object.defineProperty,$e=(e,t)=>ci(e,"name",{value:t,configurable:!0}),ai=De[" useInsertionEffect ".trim().toString()]||K;function Be({prop:e,defaultProp:t,onChange:n=$e(()=>{},"onChange"),caller:r}){const[o,i,s]=fr({defaultProp:t,onChange:n}),c=e!==void 0,l=c?e:o,f=a.useCallback(m=>{if(c){const u=dr(m)?m(e):m;u!==e&&s.current?.(u)}else i(m)},[c,e,i,s]);return[l,f]}$e(Be,"useControllableState");function fr({defaultProp:e,onChange:t}){const[n,r]=a.useState(e),o=a.useRef(n),i=a.useRef(t);return ai(()=>{i.current=t},[t]),a.useEffect(()=>{o.current!==n&&(i.current?.(n),o.current=n)},[n,o]),[n,r,i]}$e(fr,"useUncontrolledState");function dr(e){return typeof e=="function"}$e(dr,"isFunction");var Pn=Symbol("RADIX:SYNC_STATE");function li(e,t,n,r){const{prop:o,defaultProp:i,onChange:s,caller:c}=t,l=o!==void 0,f=ur(s),m=[{...n,state:i}];r&&m.push(r);const[u,d]=a.useReducer((g,w)=>{if(w.type===Pn)return{...g,state:w.state};const y=e(g,w);return l&&!Object.is(y.state,g.state)&&f(y.state),y},...m),v=u.state,h=a.useRef(v);a.useEffect(()=>{h.current!==v&&(h.current=v,l||f(v))},[v,h,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:Pn,state:o})},[o,u.state,l]),[p,d]}$e(li,"useControllableStateReducer");var ui=Object.defineProperty,ae=(e,t)=>ui(e,"name",{value:t,configurable:!0});function pr(e,t){return a.useReducer((n,r)=>t[n][r]??n,e)}ae(pr,"useStateMachine");var We=ae(e=>{const{present:t,children:n}=e,r=mr(t),o=typeof n=="function"?n({present:r.isPresent}):a.Children.only(n),i=hr(r.ref,vr(o));return typeof n=="function"||r.isPresent?a.cloneElement(o,{ref:i}):null},"Presence");function mr(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]=pr(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??Oe(r.current),s.current=void 0):i.current="none"},[l]),K(()=>{const m=r.current,u=o.current;if(u!==e){const v=i.current,h=Oe(m);e?(s.current=h,f("MOUNT")):h==="none"||m?.display==="none"?f("UNMOUNT"):f(u&&v!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,f]),K(()=>{if(t){let m;const u=t.ownerDocument.defaultView??window,d=ae(h=>{const g=Oe(r.current).includes(CSS.escape(h.animationName));if(h.target===t&&g&&(f("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",m=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},"handleAnimationEnd"),v=ae(h=>{h.target===t&&(i.current=Oe(r.current))},"handleAnimationStart");return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{u.clearTimeout(m),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(m=>{if(m){const u=getComputedStyle(m);r.current=u,s.current=Oe(u)}else r.current=null;n(m)},[])}}ae(mr,"usePresence");function Dt(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}ae(Dt,"setRef");function hr(...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=Dt(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():Dt(r[s],null)}}},[])}ae(hr,"useStableComposedRefs");function Oe(e){return e?.animationName||"none"}ae(Oe,"getAnimationName");function vr(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)}ae(vr,"getElementRef");var fi=Object.defineProperty,di=(e,t)=>fi(e,"name",{value:t,configurable:!0}),pi=De[" useId ".trim().toString()]||(()=>{}),mi=0;function Ae(e){const[t,n]=a.useState(pi());return K(()=>{e||n(r=>r??String(mi++))},[e]),e||(t?`radix-${t}`:"")}di(Ae,"useId");var hi=Object.defineProperty,vi=(e,t)=>hi(e,"name",{value:t,configurable:!0}),gi=a.createContext(void 0);function Kt(e){const t=a.useContext(gi);return e||t||"ltr"}vi(Kt,"useDirection");var yi=Object.defineProperty,bi=(e,t)=>yi(e,"name",{value:t,configurable:!0});function he(e){const t=a.useRef(e);return a.useEffect(()=>{t.current=e}),a.useMemo(()=>((...n)=>t.current?.(...n)),[])}bi(he,"useCallbackRef");var wi=Object.defineProperty,W=(e,t)=>wi(e,"name",{value:t,configurable:!0}),It="dismissableLayer.update",xi="dismissableLayer.pointerDownOutside",Ci="dismissableLayer.focusOutside",On,gr=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),yr=a.forwardRef(W(function(t,n){const{disableOutsidePointerEvents:r=!1,deferPointerDownOutside:o=!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:c,onInteractOutside:l,onDismiss:f,...m}=t,u=a.useContext(gr),[d,v]=a.useState(null),h=d?.ownerDocument??globalThis?.document,[,p]=a.useState({}),g=$(n,v),w=Array.from(u.layers),[y]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),b=y?w.indexOf(y):-1,x=d?w.indexOf(d):-1,R=u.layersWithOutsidePointerEventsDisabled.size>0,C=x>=b,S=a.useRef(!1),O=wr(A=>{s?.(A),l?.(A),A.defaultPrevented||f?.()},{ownerDocument:h,deferPointerDownOutside:o,isDeferredPointerDownOutsideRef:S,dismissableSurfaces:u.dismissableSurfaces,shouldHandlePointerDownOutside:a.useCallback(A=>{if(!(A instanceof Node))return!1;const _=[...u.branches].some(M=>M.contains(A));return C&&!_},[u.branches,C])}),P=xr(A=>{if(o&&S.current)return;const _=A.target;[...u.branches].some(B=>B.contains(_))||(c?.(A),l?.(A),A.defaultPrevented||f?.())},h),T=d?x===w.length-1:!1,L=he(A=>{A.key==="Escape"&&(i?.(A),!A.defaultPrevented&&f&&(A.preventDefault(),f()))});return a.useEffect(()=>{if(T)return h.addEventListener("keydown",L,{capture:!0}),()=>h.removeEventListener("keydown",L,{capture:!0})},[h,T,L]),a.useEffect(()=>{if(d)return r&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(On=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),Mt(),()=>{r&&(u.layersWithOutsidePointerEventsDisabled.delete(d),u.layersWithOutsidePointerEventsDisabled.size===0&&(h.body.style.pointerEvents=On))}},[d,h,r,u]),a.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),Mt())},[d,u]),a.useEffect(()=>{const A=W(()=>p({}),"handleUpdate");return document.addEventListener(It,A),()=>document.removeEventListener(It,A)},[]),E.jsx(U.div,{...m,ref:g,style:{pointerEvents:R?C?"auto":"none":void 0,...t.style},onFocusCapture:N(t.onFocusCapture,P.onFocusCapture),onBlurCapture:N(t.onBlurCapture,P.onBlurCapture),onPointerDownCapture:N(t.onPointerDownCapture,O.onPointerDownCapture)})},"DismissableLayer"));function br(){const e=a.useContext(gr),[t,n]=a.useState(null);return a.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n}W(br,"useDismissableLayerSurface");var Ri=W(()=>!0,"IS_TRUE");function wr(e,t){const{ownerDocument:n=globalThis?.document,deferPointerDownOutside:r=!1,isDeferredPointerDownOutsideRef:o,dismissableSurfaces:i,shouldHandlePointerDownOutside:s=Ri}=t,c=he(e),l=a.useRef(!1),f=a.useRef(!1),m=a.useRef(new Map),u=a.useRef(()=>{});return a.useEffect(()=>{function d(){f.current=!1,o.current=!1,m.current.clear()}W(d,"resetOutsideInteraction");function v(){return Array.from(m.current.values()).some(Boolean)}W(v,"isOutsideInteractionIntercepted");function h(b){if(!f.current)return;const x=b.target;x instanceof Node&&[...i].some(C=>C.contains(x))||m.current.set(b.type,!0),b.type==="click"&&window.setTimeout(()=>{f.current&&u.current()},0)}W(h,"handleInteractionCapture");function p(b){f.current&&m.current.set(b.type,!1)}W(p,"handleInteractionBubble");const g=W(b=>{if(b.target&&!l.current){let x=function(){n.removeEventListener("click",u.current);const C=v();d(),C||Yt(xi,c,R,{discrete:!0})};if(W(x,"handleAndDispatchPointerDownOutsideEvent"),!s(b.target)){n.removeEventListener("click",u.current),d(),l.current=!1;return}const R={originalEvent:b};f.current=!0,o.current=r&&b.button===0,m.current.clear(),!r||b.button!==0?x():(n.removeEventListener("click",u.current),u.current=x,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 b of w)n.addEventListener(b,h,!0),n.addEventListener(b,p);const y=window.setTimeout(()=>{n.addEventListener("pointerdown",g)},0);return()=>{window.clearTimeout(y),n.removeEventListener("pointerdown",g),n.removeEventListener("click",u.current);for(const b of w)n.removeEventListener(b,h,!0),n.removeEventListener(b,p)}},[n,c,r,o,i,s]),{onPointerDownCapture:W(()=>l.current=!0,"onPointerDownCapture")}}W(wr,"usePointerDownOutside");function xr(e,t=globalThis?.document){const n=he(e),r=a.useRef(!1);return a.useEffect(()=>{const o=W(i=>{i.target&&!r.current&&Yt(Ci,n,{originalEvent:i},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:W(()=>r.current=!0,"onFocusCapture"),onBlurCapture:W(()=>r.current=!1,"onBlurCapture")}}W(xr,"useFocusOutside");function Mt(){const e=new CustomEvent(It);document.dispatchEvent(e)}W(Mt,"dispatchUpdate");function Yt(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?er(o,i):o.dispatchEvent(i)}W(Yt,"handleAndDispatchCustomEvent");var Ei=Object.defineProperty,z=(e,t)=>Ei(e,"name",{value:t,configurable:!0}),vt="focusScope.autoFocusOnMount",gt="focusScope.autoFocusOnUnmount",An={bubbles:!1,cancelable:!0},Si=a.forwardRef(z(function(t,n){const{loop:r=!1,trapped:o=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...c}=t,[l,f]=a.useState(null),m=he(i),u=he(s),d=a.useRef(null),v=$(n,f),h=a.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a.useEffect(()=>{if(o){let g=function(x){if(h.paused||!l)return;const R=x.target;l.contains(R)?d.current=R:ie(d.current,{select:!0})},w=function(x){if(h.paused||!l)return;const R=x.relatedTarget;R!==null&&(l.contains(R)||ie(d.current,{select:!0}))},y=function(x){if(document.activeElement===document.body)for(const C of x)C.removedNodes.length>0&&ie(l)};z(g,"handleFocusIn"),z(w,"handleFocusOut"),z(y,"handleMutations"),document.addEventListener("focusin",g),document.addEventListener("focusout",w);const b=new MutationObserver(y);return l&&b.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",w),b.disconnect()}}},[o,l,h.paused]),a.useEffect(()=>{if(l){Tn.add(h);const g=document.activeElement;if(!l.contains(g)){const y=new CustomEvent(vt,An);l.addEventListener(vt,m),l.dispatchEvent(y),y.defaultPrevented||(Cr(Or(Xt(l)),{select:!0}),document.activeElement===g&&ie(l))}return()=>{l.removeEventListener(vt,m),setTimeout(()=>{const y=new CustomEvent(gt,An);l.addEventListener(gt,u),l.dispatchEvent(y),y.defaultPrevented||ie(g??document.body,{select:!0}),l.removeEventListener(gt,u),Tn.remove(h)},0)}}},[l,m,u,h]);const p=a.useCallback(g=>{if(!r&&!o||h.paused)return;const w=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,y=document.activeElement;if(w&&y){const b=g.currentTarget,[x,R]=Rr(b);x&&R?!g.shiftKey&&y===R?(g.preventDefault(),r&&ie(x,{select:!0})):g.shiftKey&&y===x&&(g.preventDefault(),r&&ie(R,{select:!0})):y===b&&g.preventDefault()}},[r,o,h.paused]);return E.jsx(U.div,{tabIndex:-1,...c,ref:v,onKeyDown:p})},"FocusScope"));function Cr(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(ie(r,{select:t}),document.activeElement!==n)return}z(Cr,"focusFirst");function Rr(e){const t=Xt(e),n=Lt(t,e),r=Lt(t.reverse(),e);return[n,r]}z(Rr,"getTabbableEdges");function Xt(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(Xt,"getTabbableCandidates");function Lt(e,t){const n=typeof t.checkVisibility=="function"&&t.checkVisibility({checkVisibilityCSS:!0});for(const r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):Er(r,{upTo:t})))return r}z(Lt,"findVisible");function Er(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(Er,"isHidden");function Sr(e){return e instanceof HTMLInputElement&&"select"in e}z(Sr,"isSelectableInput");function ie(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Sr(e)&&t&&e.select()}}z(ie,"focus");var Tn=Pr();function Pr(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=Ft(e,t),e.unshift(t)},remove(t){e=Ft(e,t),e[0]?.resume()}}}z(Pr,"createFocusScopesStack");function Ft(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}z(Ft,"arrayRemove");function Or(e){return e.filter(t=>t.tagName!=="A")}z(Or,"removeLinks");var Pi=Object.defineProperty,Oi=(e,t)=>Pi(e,"name",{value:t,configurable:!0}),Ar=a.forwardRef(Oi(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?Vt.createPortal(E.jsx(U.div,{...o,ref:n}),c):null},"Portal")),Ai=Object.defineProperty,qt=(e,t)=>Ai(e,"name",{value:t,configurable:!0}),Ue=0,Re=null;function Ti(e){return Zt(),e.children}qt(Ti,"FocusGuards");function Zt(){a.useEffect(()=>{Re||(Re={start:Nt(),end:Nt()});const{start:e,end:t}=Re;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),Ue++,()=>{Ue===1&&(Re?.start.remove(),Re?.end.remove(),Re=null),Ue=Math.max(0,Ue-1)}},[])}qt(Zt,"useFocusGuards");function Nt(){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}qt(Nt,"createFocusGuard");var Qe="right-scroll-bar-position",Je="width-before-scroll-bar",_i="with-scroll-bars-hidden",Di="--removed-body-scroll-bar-size";function yt(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Ii(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 Mi=typeof window<"u"?a.useLayoutEffect:a.useEffect,_n=new WeakMap;function Li(e,t){var n=Ii(null,function(r){return e.forEach(function(o){return yt(o,r)})});return Mi(function(){var r=_n.get(n);if(r){var o=new Set(r),i=new Set(e),s=n.current;o.forEach(function(c){i.has(c)||yt(c,null)}),i.forEach(function(c){o.has(c)||yt(c,s)})}_n.set(n,e)},[e]),n}function Fi(e){return e}function Ni(e,t){t===void 0&&(t=Fi);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 m=s;s=[],m.forEach(i)},f=function(){return Promise.resolve().then(l)};f(),n={push:function(m){s.push(m),f()},filter:function(m){return s=s.filter(m),n}}}};return o}function ki(e){e===void 0&&(e={});var t=Ni(null);return t.options=de({async:!0,ssr:!1},e),t}var Tr=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,de({},n))};Tr.isSideCarExport=!0;function ji(e,t){return e.useMedium(t),Tr}var _r=ki(),bt=function(){},it=a.forwardRef(function(e,t){var n=a.useRef(null),r=a.useState({onScrollCapture:bt,onWheelCapture:bt,onTouchMoveCapture:bt}),o=r[0],i=r[1],s=e.forwardProps,c=e.children,l=e.className,f=e.removeScrollBar,m=e.enabled,u=e.shards,d=e.sideCar,v=e.noRelative,h=e.noIsolation,p=e.inert,g=e.allowPinchZoom,w=e.as,y=w===void 0?"div":w,b=e.gapMode,x=zn(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=d,C=Li([n,t]),S=de(de({},x),o);return a.createElement(a.Fragment,null,m&&a.createElement(R,{sideCar:_r,removeScrollBar:f,shards:u,noRelative:v,noIsolation:h,inert:p,setCallbacks:i,allowPinchZoom:!!g,lockRef:n,gapMode:b}),s?a.cloneElement(a.Children.only(c),de(de({},S),{ref:C})):a.createElement(y,de({},S,{className:l,ref:C}),c))});it.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};it.classNames={fullWidth:Je,zeroRight:Qe};var $i=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Bi(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=$i();return t&&e.setAttribute("nonce",t),e}function Wi(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Hi(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Gi=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Bi())&&(Wi(t,n),Hi(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Vi=function(){var e=Gi();return function(t,n){a.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Dr=function(){var e=Vi(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Ui={left:0,top:0,right:0,gap:0},wt=function(e){return parseInt(e||"",10)||0},zi=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[wt(n),wt(r),wt(o)]},Ki=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Ui;var t=zi(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])}},Yi=Dr(),Te="data-scroll-locked",Xi=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(_i,` {
|
|
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(Qe,` {
|
|
20
|
-
right: `).concat(c,"px ").concat(r,`;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.`).concat(Je,` {
|
|
24
|
-
margin-right: `).concat(c,"px ").concat(r,`;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.`).concat(Qe," .").concat(Qe,` {
|
|
28
|
-
right: 0 `).concat(r,`;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.`).concat(Je," .").concat(Je,` {
|
|
32
|
-
margin-right: 0 `).concat(r,`;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
body[`).concat(Te,`] {
|
|
36
|
-
`).concat(Di,": ").concat(c,`px;
|
|
37
|
-
}
|
|
38
|
-
`)},Dn=function(){var e=parseInt(document.body.getAttribute(Te)||"0",10);return isFinite(e)?e:0},qi=function(){a.useEffect(function(){return document.body.setAttribute(Te,(Dn()+1).toString()),function(){var e=Dn()-1;e<=0?document.body.removeAttribute(Te):document.body.setAttribute(Te,e.toString())}},[])},Zi=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;qi();var i=a.useMemo(function(){return Ki(o)},[o]);return a.createElement(Yi,{styles:Xi(i,!t,o,n?"":"!important")})},kt=!1;if(typeof window<"u")try{var ze=Object.defineProperty({},"passive",{get:function(){return kt=!0,!0}});window.addEventListener("test",ze,ze),window.removeEventListener("test",ze,ze)}catch{kt=!1}var Ee=kt?{passive:!1}:!1,Qi=function(e){return e.tagName==="TEXTAREA"},Ir=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Qi(e)&&n[t]==="visible")},Ji=function(e){return Ir(e,"overflowY")},es=function(e){return Ir(e,"overflowX")},In=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Mr(e,r);if(o){var i=Lr(e,r),s=i[1],c=i[2];if(s>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},ts=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},ns=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Mr=function(e,t){return e==="v"?Ji(t):es(t)},Lr=function(e,t){return e==="v"?ts(t):ns(t)},rs=function(e,t){return e==="h"&&t==="rtl"?-1:1},os=function(e,t,n,r,o){var i=rs(e,window.getComputedStyle(t).direction),s=i*r,c=n.target,l=t.contains(c),f=!1,m=s>0,u=0,d=0;do{if(!c)break;var v=Lr(e,c),h=v[0],p=v[1],g=v[2],w=p-g-i*h;(h||w)&&Mr(e,c)&&(u+=w,d+=h);var y=c.parentNode;c=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!l&&c!==document.body||l&&(t.contains(c)||t===c));return(m&&Math.abs(u)<1||!m&&Math.abs(d)<1)&&(f=!0),f},Ke=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Mn=function(e){return[e.deltaX,e.deltaY]},Ln=function(e){return e&&"current"in e?e.current:e},is=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ss=function(e){return`
|
|
39
|
-
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
40
|
-
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
41
|
-
`)},cs=0,Se=[];function as(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(cs++)[0],i=a.useState(Dr)[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=jo([e.lockRef.current],(e.shards||[]).map(Ln),!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=Ke(p),y=n.current,b="deltaX"in p?p.deltaX:y[0]-w[0],x="deltaY"in p?p.deltaY:y[1]-w[1],R,C=p.target,S=Math.abs(b)>Math.abs(x)?"h":"v";if("touches"in p&&S==="h"&&C.type==="range")return!1;var O=window.getSelection(),P=O&&O.anchorNode,T=P?P===C||P.contains(C):!1;if(T)return!1;var L=In(S,C);if(!L)return!0;if(L?R=S:(R=S==="v"?"h":"v",L=In(S,C)),!L)return!1;if(!r.current&&"changedTouches"in p&&(b||x)&&(r.current=R),!R)return!0;var A=r.current||R;return os(A,g,p,A==="h"?b:x)},[]),l=a.useCallback(function(p){var g=p;if(!(!Se.length||Se[Se.length-1]!==i)){var w="deltaY"in g?Mn(g):Ke(g),y=t.current.filter(function(R){return R.name===g.type&&(R.target===g.target||g.target===R.shadowParent)&&is(R.delta,w)})[0];if(y&&y.should){g.cancelable&&g.preventDefault();return}if(!y){var b=(s.current.shards||[]).map(Ln).filter(Boolean).filter(function(R){return R.contains(g.target)}),x=b.length>0?c(g,b[0]):!s.current.noIsolation;x&&g.cancelable&&g.preventDefault()}}},[]),f=a.useCallback(function(p,g,w,y){var b={name:p,delta:g,target:w,should:y,shadowParent:ls(w)};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(x){return x!==b})},1)},[]),m=a.useCallback(function(p){n.current=Ke(p),r.current=void 0},[]),u=a.useCallback(function(p){f(p.type,Mn(p),p.target,c(p,e.lockRef.current))},[]),d=a.useCallback(function(p){f(p.type,Ke(p),p.target,c(p,e.lockRef.current))},[]);a.useEffect(function(){return Se.push(i),e.setCallbacks({onScrollCapture:u,onWheelCapture:u,onTouchMoveCapture:d}),document.addEventListener("wheel",l,Ee),document.addEventListener("touchmove",l,Ee),document.addEventListener("touchstart",m,Ee),function(){Se=Se.filter(function(p){return p!==i}),document.removeEventListener("wheel",l,Ee),document.removeEventListener("touchmove",l,Ee),document.removeEventListener("touchstart",m,Ee)}},[]);var v=e.removeScrollBar,h=e.inert;return a.createElement(a.Fragment,null,h?a.createElement(i,{styles:ss(o)}):null,v?a.createElement(Zi,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function ls(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const us=ji(_r,as);var Fr=a.forwardRef(function(e,t){return a.createElement(it,de({},e,{ref:t,sideCar:us}))});Fr.classNames=it.classNames;var fs=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Pe=new WeakMap,Ye=new WeakMap,Xe={},xt=0,Nr=function(e){return e&&(e.host||Nr(e.parentNode))},ds=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Nr(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})},ps=function(e,t,n,r){var o=ds(t,Array.isArray(e)?e:[e]);Xe[n]||(Xe[n]=new WeakMap);var i=Xe[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 m=function(u){!u||l.has(u)||Array.prototype.forEach.call(u.children,function(d){if(c.has(d))m(d);else try{var v=d.getAttribute(r),h=v!==null&&v!=="false",p=(Pe.get(d)||0)+1,g=(i.get(d)||0)+1;Pe.set(d,p),i.set(d,g),s.push(d),p===1&&h&&Ye.set(d,!0),g===1&&d.setAttribute(n,"true"),h||d.setAttribute(r,"true")}catch(w){console.error("aria-hidden: cannot operate on ",d,w)}})};return m(t),c.clear(),xt++,function(){s.forEach(function(u){var d=Pe.get(u)-1,v=i.get(u)-1;Pe.set(u,d),i.set(u,v),d||(Ye.has(u)||u.removeAttribute(r),Ye.delete(u)),v||u.removeAttribute(n)}),xt--,xt||(Pe=new WeakMap,Pe=new WeakMap,Ye=new WeakMap,Xe={})}},ms=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=fs(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),ps(r,o,n,"aria-hidden")):function(){return null}},hs=Object.defineProperty,J=(e,t)=>hs(e,"name",{value:t,configurable:!0}),Qt="Dialog",[kr,Na]=ue(Qt),[vs,oe]=kr(Qt),ka=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,m]=Be({prop:r,defaultProp:o??!1,onChange:i,caller:Qt}),[u,d]=a.useState(0),[v,h]=a.useState(0);return E.jsx(vs,{scope:t,triggerRef:c,contentRef:l,contentId:Ae(),titleId:Ae(),descriptionId:Ae(),titlePresent:u>0,descriptionPresent:v>0,setTitleCount:d,setDescriptionCount:h,open:f,onOpenChange:m,onOpenToggle:a.useCallback(()=>m(p=>!p),[m]),modal:s,children:n})},"Dialog"),jr="DialogPortal",[gs,$r]=kr(jr,{forceMount:void 0}),ja=J(e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=oe(jr,t);return E.jsx(gs,{scope:t,forceMount:n,children:a.Children.map(r,s=>E.jsx(We,{present:n||i.open,children:E.jsx(Ar,{asChild:!0,container:o,children:s})}))})},"DialogPortal"),jt="DialogOverlay",$a=a.forwardRef(J(function(t,n){const r=$r(jt,t.__scopeDialog),{forceMount:o=r.forceMount,...i}=t,s=oe(jt,t.__scopeDialog);return s.modal?E.jsx(We,{present:o||s.open,children:E.jsx(bs,{...i,ref:n})}):null},"DialogOverlay")),ys=me("DialogOverlay.RemoveScroll"),bs=a.forwardRef(J(function(t,n){const{__scopeDialog:r,...o}=t,i=oe(jt,r),s=br(),c=$(n,s);return E.jsx(Fr,{as:ys,allowPinchZoom:!0,shards:[i.contentRef],children:E.jsx(U.div,{"data-state":Jt(i.open),...o,ref:c,style:{pointerEvents:"auto",...o.style}})})},"DialogOverlayImpl")),Fe="DialogContent",Ba=a.forwardRef(J(function(t,n){const r=$r(Fe,t.__scopeDialog),{forceMount:o=r.forceMount,...i}=t,s=oe(Fe,t.__scopeDialog);return E.jsx(We,{present:o||s.open,children:s.modal?E.jsx(ws,{...i,ref:n}):E.jsx(xs,{...i,ref:n})})},"DialogContent")),ws=a.forwardRef(J(function(t,n){const r=oe(Fe,t.__scopeDialog),o=a.useRef(null),i=$(n,r.contentRef,o);return a.useEffect(()=>{const s=o.current;if(s)return ms(s)},[]),E.jsx(Br,{...t,ref:i,trapFocus:r.open,disableOutsidePointerEvents:r.open,onCloseAutoFocus:N(t.onCloseAutoFocus,s=>{s.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:N(t.onPointerDownOutside,s=>{const c=s.detail.originalEvent,l=c.button===0&&c.ctrlKey===!0;(c.button===2||l)&&s.preventDefault()}),onFocusOutside:N(t.onFocusOutside,s=>s.preventDefault())})},"DialogContentModal")),xs=a.forwardRef(J(function(t,n){const r=oe(Fe,t.__scopeDialog),o=a.useRef(!1),i=a.useRef(!1);return E.jsx(Br,{...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")),Br=a.forwardRef(J(function(t,n){const{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:s,...c}=t,l=oe(Fe,r);return Zt(),E.jsx(E.Fragment,{children:E.jsx(Si,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:s,children:E.jsx(yr,{role:"dialog",id:l.contentId,"aria-describedby":l.descriptionPresent?l.descriptionId:void 0,"aria-labelledby":l.titlePresent?l.titleId:void 0,"data-state":Jt(l.open),...c,ref:n,deferPointerDownOutside:!0,onDismiss:()=>l.onOpenChange(!1)})})})},"DialogContentImpl")),Cs="DialogTitle",Wa=a.forwardRef(J(function(t,n){const{__scopeDialog:r,...o}=t,i=oe(Cs,r),{setTitleCount:s}=i;return K(()=>(s(c=>c+1),()=>s(c=>c-1)),[s]),E.jsx(U.h2,{id:i.titleId,...o,ref:n})},"DialogTitle")),Rs="DialogDescription",Ha=a.forwardRef(J(function(t,n){const{__scopeDialog:r,...o}=t,i=oe(Rs,r),{setDescriptionCount:s}=i;return K(()=>(s(c=>c+1),()=>s(c=>c-1)),[s]),E.jsx(U.p,{id:i.descriptionId,...o,ref:n})},"DialogDescription")),Es="DialogClose",Ga=a.forwardRef(J(function(t,n){const{__scopeDialog:r,...o}=t,i=oe(Es,r);return E.jsx(U.button,{type:"button",...o,ref:n,onClick:N(t.onClick,()=>i.onOpenChange(!1))})},"DialogClose"));function Jt(e){return e?"open":"closed"}J(Jt,"getState");var Ss=Object.defineProperty,Ps=(e,t)=>Ss(e,"name",{value:t,configurable:!0});function en(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}Ps(en,"useSize");const Os=["top","right","bottom","left"],ve=Math.min,se=Math.max,tt=Math.round,qe=Math.floor,ce=e=>({x:e,y:e}),As={left:"right",right:"left",bottom:"top",top:"bottom"};function Wr(e,t,n){return se(e,ve(t,n))}function le(e,t){return typeof e=="function"?e(t):e}function ge(e){return e.split("-")[0]}function Me(e){return e.split("-")[1]}function tn(e){return e==="x"?"y":"x"}function nn(e){return e==="y"?"height":"width"}function te(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function rn(e){return tn(te(e))}function Ts(e,t,n){n===void 0&&(n=!1);const r=Me(e),o=rn(e),i=nn(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=nt(s)),[s,nt(s)]}function _s(e){const t=nt(e);return[$t(e),t,$t(t)]}function $t(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const Fn=["left","right"],Nn=["right","left"],Ds=["top","bottom"],Is=["bottom","top"];function Ms(e,t,n){switch(e){case"top":case"bottom":return n?t?Nn:Fn:t?Fn:Nn;case"left":case"right":return t?Ds:Is;default:return[]}}function Ls(e,t,n,r){const o=Me(e);let i=Ms(ge(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map($t)))),i}function nt(e){const t=ge(e);return As[t]+e.slice(t.length)}function Fs(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 Hr(e){return typeof e!="number"?Fs(e):{top:e,right:e,bottom:e,left:e}}function rt(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 kn(e,t,n){let{reference:r,floating:o}=e;const i=te(t),s=rn(t),c=nn(s),l=ge(t),f=i==="y",m=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:m,y:r.y-o.height};break;case"bottom":v={x:m,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 h=Me(t);return h&&(v[s]+=d*(h==="end"?1:-1)*(n&&f?-1:1)),v}async function Ns(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:m="viewport",elementContext:u="floating",altBoundary:d=!1,padding:v=0}=le(t,e),h=Hr(v),g=c[d?u==="floating"?"reference":"floating":u],w=rt(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:m,strategy:l})),y=u==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),x=await(i.isElement==null?void 0:i.isElement(b))&&await(i.getScale==null?void 0:i.getScale(b))||{x:1,y:1},R=rt(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:y,offsetParent:b,strategy:l}):y);return{top:(w.top-R.top+h.top)/x.y,bottom:(R.bottom-w.bottom+h.bottom)/x.y,left:(w.left-R.left+h.left)/x.x,right:(R.right-w.right+h.right)/x.x}}const ks=50,js=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,c=s.detectOverflow?s:{...s,detectOverflow:Ns},l=await(s.isRTL==null?void 0:s.isRTL(t));let f=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:m,y:u}=kn(f,r,l),d=r,v=0;const h={};for(let p=0;p<i.length;p++){const g=i[p];if(!g)continue;const{name:w,fn:y}=g,{x:b,y:x,data:R,reset:C}=await y({x:m,y:u,initialPlacement:r,placement:d,strategy:o,middlewareData:h,rects:f,platform:c,elements:{reference:e,floating:t}});m=b??m,u=x??u,h[w]={...h[w],...R},C&&v<ks&&(v++,typeof C=="object"&&(C.placement&&(d=C.placement),C.rects&&(f=C.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):C.rects),{x:m,y:u}=kn(f,d,l)),p=-1)}return{x:m,y:u,placement:d,strategy:o,middlewareData:h}},$s=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:m=0}=le(e,t)||{};if(f==null)return{};const u=Hr(m),d={x:n,y:r},v=rn(o),h=nn(v),p=await s.getDimensions(f),g=v==="y",w=g?"top":"left",y=g?"bottom":"right",b=g?"clientHeight":"clientWidth",x=i.reference[h]+i.reference[v]-d[v]-i.floating[h],R=d[v]-i.reference[v],C=await(s.getOffsetParent==null?void 0:s.getOffsetParent(f));let S=C?C[b]:0;(!S||!await(s.isElement==null?void 0:s.isElement(C)))&&(S=c.floating[b]||i.floating[h]);const O=x/2-R/2,P=S/2-p[h]/2-1,T=ve(u[w],P),L=ve(u[y],P),A=S-p[h]-L,_=S/2-p[h]/2+O,M=Wr(T,_,A),B=!l.arrow&&Me(o)!=null&&_!==M&&i.reference[h]/2-(_<T?T:L)-p[h]/2<0,F=B?_<T?_-T:_-A:0;return{[v]:d[v]+F,data:{[v]:M,centerOffset:_-M-F,...B&&{alignmentOffset:F}},reset:B}}}),Bs=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:m=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:p=!0,...g}=le(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const w=ge(o),y=te(c),b=ge(c)===c,x=await(l.isRTL==null?void 0:l.isRTL(f.floating)),R=d||(b||!p?[nt(c)]:_s(c)),C=h!=="none";!d&&C&&R.push(...Ls(c,p,h,x));const S=[c,...R],O=await l.detectOverflow(t,g),P=[];let T=((r=i.flip)==null?void 0:r.overflows)||[];if(m&&P.push(O[w]),u){const M=Ts(o,s,x);P.push(O[M[0]],O[M[1]])}if(T=[...T,{placement:o,overflows:P}],!P.every(M=>M<=0)){var L,A;const M=(((L=i.flip)==null?void 0:L.index)||0)+1,B=S[M];if(B&&(!(u==="alignment"?y!==te(B):!1)||T.every(I=>te(I.placement)===y?I.overflows[0]>0:!0)))return{data:{index:M,overflows:T},reset:{placement:B}};let F=(A=T.filter(D=>D.overflows[0]<=0).sort((D,I)=>D.overflows[1]-I.overflows[1])[0])==null?void 0:A.placement;if(!F)switch(v){case"bestFit":{var _;const D=(_=T.filter(I=>{if(C){const k=te(I.placement);return k===y||k==="y"}return!0}).map(I=>[I.placement,I.overflows.filter(k=>k>0).reduce((k,Z)=>k+Z,0)]).sort((I,k)=>I[1]-k[1])[0])==null?void 0:_[0];D&&(F=D);break}case"initialPlacement":F=c;break}if(o!==F)return{reset:{placement:F}}}return{}}}};function jn(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function $n(e){return Os.some(t=>e[t]>=0)}const Ws=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n,platform:r}=t,{strategy:o="referenceHidden",...i}=le(e,t);switch(o){case"referenceHidden":{const s=await r.detectOverflow(t,{...i,elementContext:"reference"}),c=jn(s,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:$n(c)}}}case"escaped":{const s=await r.detectOverflow(t,{...i,altBoundary:!0}),c=jn(s,n.floating);return{data:{escapedOffsets:c,escaped:$n(c)}}}default:return{}}}}},Gr=new Set(["left","top"]);async function Hs(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=ge(n),c=Me(n),l=te(n)==="y",f=Gr.has(s)?-1:1,m=i&&l?-1:1,u=le(t,e);let{mainAxis:d,crossAxis:v,alignmentAxis:h}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return c&&typeof h=="number"&&(v=c==="end"?h*-1:h),l?{x:v*m,y:d*f}:{x:d*f,y:v*m}}const Gs=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 Hs(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}}}}},Vs=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:y=>{let{x:b,y:x}=y;return{x:b,y:x}}},...f}=le(e,t),m={x:n,y:r},u=await i.detectOverflow(t,f),d=te(o),v=tn(d);let h=m[v],p=m[d];const g=(y,b)=>Wr(b+u[y==="y"?"top":"left"],b,b-u[y==="y"?"bottom":"right"]);s&&(h=g(v,h)),c&&(p=g(d,p));const w=l.fn({...t,[v]:h,[d]:p});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[v]:s,[d]:c}}}}}},Us=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:m=!0,crossAxis:u=!0}=le(e,t),d={x:o,y:i},v=te(s),h=tn(v);let p=d[h],g=d[v];const w=le(f,t),y=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:(n=w.mainAxis)!=null?n:0,crossAxis:(r=w.crossAxis)!=null?r:0};if(m){const R=h==="y"?"height":"width",C=c.reference[h]-c.floating[R]+y.mainAxis,S=c.reference[h]+c.reference[R]-y.mainAxis;p<C?p=C:p>S&&(p=S)}if(u){var b,x;const R=h==="y"?"width":"height",C=Gr.has(ge(s)),S=c.reference[v]-c.floating[R]+(C&&((b=l.offset)==null?void 0:b[v])||0)+(C?0:y.crossAxis),O=c.reference[v]+c.reference[R]+(C?0:((x=l.offset)==null?void 0:x[v])||0)-(C?y.crossAxis:0);g<S?g=S:g>O&&(g=O)}return{[h]:p,[v]:g}}}},zs=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}=le(e,t),l=await o.detectOverflow(t,c),f=ge(n),m=Me(n),u=te(n)==="y",{width:d,height:v}=r.floating;let h,p;f==="top"||f==="bottom"?(h=f,p=m===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(p=f,h=m==="end"?"top":"bottom");const g=v-l.top-l.bottom,w=d-l.left-l.right,y=ve(v-l[h],g),b=ve(d-l[p],w),x=t.middlewareData.shift,R=!x;let C=y,S=b;x!=null&&x.enabled.x&&(S=w),x!=null&&x.enabled.y&&(C=g),R&&!m&&(u?S=d-2*se(l.left,l.right):C=v-2*se(l.top,l.bottom)),await s({...t,availableWidth:S,availableHeight:C});const O=await o.getDimensions(i.floating);return d!==O.width||v!==O.height?{reset:{rects:!0}}:{}}}};function st(){return typeof window<"u"}function Le(e){return Vr(e)?(e.nodeName||"").toLowerCase():"#document"}function Y(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function fe(e){var t;return(t=(Vr(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Vr(e){return st()?e instanceof Node||e instanceof Y(e).Node:!1}function ne(e){return st()?e instanceof Element||e instanceof Y(e).Element:!1}function ye(e){return st()?e instanceof HTMLElement||e instanceof Y(e).HTMLElement:!1}function Bn(e){return!st()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Y(e).ShadowRoot}function ct(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 Ks(e){return/^(table|td|th)$/.test(Le(e))}function at(e){try{if(e.matches(":popover-open"))return!0}catch{}try{return e.matches(":modal")}catch{return!1}}const Ys=/transform|translate|scale|rotate|perspective|filter/,Xs=/paint|layout|strict|content/,be=e=>!!e&&e!=="none";let Ct;function on(e){const t=ne(e)?re(e):e;return be(t.transform)||be(t.translate)||be(t.scale)||be(t.rotate)||be(t.perspective)||!sn()&&(be(t.backdropFilter)||be(t.filter))||Ys.test(t.willChange||"")||Xs.test(t.contain||"")}function qs(e){let t=we(e);for(;ye(t)&&!Ne(t);){if(on(t))return t;if(at(t))return null;t=we(t)}return null}function sn(){return Ct==null&&(Ct=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Ct}function Ne(e){return/^(html|body|#document)$/.test(Le(e))}function re(e){return Y(e).getComputedStyle(e)}function lt(e){return ne(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function we(e){if(Le(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Bn(e)&&e.host||fe(e);return Bn(t)?t.host:t}function Ur(e){const t=we(e);return Ne(t)?(e.ownerDocument||e).body:ye(t)&&ct(t)?t:Ur(t)}function ke(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Ur(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=Y(o);if(i){const c=Bt(s);return t.concat(s,s.visualViewport||[],ct(o)?o:[],c&&n?ke(c):[])}else return t.concat(o,ke(o,[],n))}function Bt(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function zr(e){const t=re(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ye(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,c=tt(n)!==i||tt(r)!==s;return c&&(n=i,r=s),{width:n,height:r,$:c}}function cn(e){return ne(e)?e:e.contextElement}function _e(e){const t=cn(e);if(!ye(t))return ce(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=zr(t);let s=(i?tt(n.width):n.width)/r,c=(i?tt(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Zs=ce(0);function Kr(e){const t=Y(e);return!sn()||!t.visualViewport?Zs:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Qs(e,t,n){return t===void 0&&(t=!1),!!n&&t&&n===Y(e)}function xe(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=cn(e);let s=ce(1);t&&(r?ne(r)&&(s=_e(r)):s=_e(e));const c=Qs(i,n,r)?Kr(i):ce(0);let l=(o.left+c.x)/s.x,f=(o.top+c.y)/s.y,m=o.width/s.x,u=o.height/s.y;if(i&&r){const d=Y(i),v=ne(r)?Y(r):r;let h=d,p=Bt(h);for(;p&&v!==h;){const g=_e(p),w=p.getBoundingClientRect(),y=re(p),b=w.left+(p.clientLeft+parseFloat(y.paddingLeft))*g.x,x=w.top+(p.clientTop+parseFloat(y.paddingTop))*g.y;l*=g.x,f*=g.y,m*=g.x,u*=g.y,l+=b,f+=x,h=Y(p),p=Bt(h)}}return rt({width:m,height:u,x:l,y:f})}function ut(e,t){const n=lt(e).scrollLeft;return t?t.left+n:xe(fe(e)).left+n}function Yr(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-ut(e,n),o=n.top+t.scrollTop;return{x:r,y:o}}function Js(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=fe(r),c=t?at(t.floating):!1;if(r===s||c&&i)return n;let l={scrollLeft:0,scrollTop:0},f=ce(1);const m=ce(0),u=ye(r);if((u||!i)&&((Le(r)!=="body"||ct(s))&&(l=lt(r)),u)){const v=xe(r);f=_e(r),m.x=v.x+r.clientLeft,m.y=v.y+r.clientTop}const d=s&&!u&&!i?Yr(s,l):ce(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-l.scrollLeft*f.x+m.x+d.x,y:n.y*f.y-l.scrollTop*f.y+m.y+d.y}}function ec(e){return e.getClientRects?Array.from(e.getClientRects()):[]}function tc(e){const t=lt(e),n=e.ownerDocument.body,r=se(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=se(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let i=-t.scrollLeft+ut(e);const s=-t.scrollTop;return re(n).direction==="rtl"&&(i+=se(e.clientWidth,n.clientWidth)-r),{width:r,height:o,x:i,y:s}}const nc=25;function rc(e,t,n){n===void 0&&(n="viewport");const r=n==="layoutViewport",o=Y(e),i=fe(e),s=o.visualViewport;let c=i.clientWidth,l=i.clientHeight,f=0,m=0;if(s){const d=!sn()||t==="fixed";r?d||(f=-s.offsetLeft,m=-s.offsetTop):(c=s.width,l=s.height,d&&(f=s.offsetLeft,m=s.offsetTop))}if(ut(i)<=0){const d=i.ownerDocument,v=d.body,h=getComputedStyle(v),p=d.compatMode==="CSS1Compat"&&parseFloat(h.marginLeft)+parseFloat(h.marginRight)||0,g=Math.abs(i.clientWidth-v.clientWidth-p),w=getComputedStyle(i).scrollbarGutter==="stable both-edges"?g/2:g;w<=nc&&(c-=w)}return{width:c,height:l,x:f,y:m}}function oc(e,t){const n=xe(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=_e(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 Wn(e,t,n){let r;if(t==="viewport"||t==="layoutViewport")r=rc(e,n,t);else if(t==="document")r=tc(fe(e));else if(ne(t))r=oc(t,n);else{const o=Kr(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return rt(r)}function ic(e,t){const n=t.get(e);if(n)return n;let r=ke(e,[],!1).filter(c=>ne(c)&&Le(c)!=="body"),o=null;const i=re(e).position==="fixed";let s=i?we(e):e;for(;ne(s)&&!Ne(s);){const c=re(s),l=on(s),f=o?o.position:i?"fixed":"";!l&&(f==="fixed"||f==="absolute"&&c.position==="static")?r=r.filter(u=>u!==s):o=c,s=we(s)}return t.set(e,r),r}function sc(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?at(t)?[]:ic(t,this._c):[].concat(n),r],c=Wn(t,s[0],o);let l=c.top,f=c.right,m=c.bottom,u=c.left;for(let d=1;d<s.length;d++){const v=Wn(t,s[d],o);l=se(v.top,l),f=ve(v.right,f),m=ve(v.bottom,m),u=se(v.left,u)}return{width:f-u,height:m-l,x:u,y:l}}function cc(e){const{width:t,height:n}=zr(e);return{width:t,height:n}}function ac(e,t,n){const r=ye(t),o=fe(t),i=n==="fixed",s=xe(e,!0,i,t);let c={scrollLeft:0,scrollTop:0};const l=ce(0);if((r||!i)&&((Le(t)!=="body"||ct(o))&&(c=lt(t)),r)){const d=xe(t,!0,i,t);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}!r&&o&&(l.x=ut(o));const f=o&&!r&&!i?Yr(o,c):ce(0),m=s.left+c.scrollLeft-l.x-f.x,u=s.top+c.scrollTop-l.y-f.y;return{x:m,y:u,width:s.width,height:s.height}}function Rt(e){return re(e).position==="static"}function Hn(e,t){if(!ye(e)||re(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return fe(e)===n&&(n=n.ownerDocument.body),n}function Xr(e,t){const n=Y(e);if(at(e))return n;if(!ye(e)){let o=we(e);for(;o&&!Ne(o);){if(ne(o)&&!Rt(o))return o;o=we(o)}return n}let r=Hn(e,t);for(;r&&Ks(r)&&Rt(r);)r=Hn(r,t);return r&&Ne(r)&&Rt(r)&&!on(r)?n:r||qs(e)||n}const lc=async function(e){const t=this.getOffsetParent||Xr,n=this.getDimensions,r=await n(e.floating);return{reference:ac(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function uc(e){return re(e).direction==="rtl"}const fc={convertOffsetParentRelativeRectToViewportRelativeRect:Js,getDocumentElement:fe,getClippingRect:sc,getOffsetParent:Xr,getElementRects:lc,getClientRects:ec,getDimensions:cc,getScale:_e,isElement:ne,isRTL:uc};function qr(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function dc(e,t,n){let r=null,o;const i=fe(e);function s(){var m;clearTimeout(o),(m=r)==null||m.disconnect(),r=null}function c(m,u){m===void 0&&(m=!1),u===void 0&&(u=1),s();const d=e.getBoundingClientRect(),{left:v,top:h,width:p,height:g}=d;if(m||t(),!p||!g)return;const w=qe(h),y=qe(i.clientWidth-(v+p)),b=qe(i.clientHeight-(h+g)),x=qe(v),C={rootMargin:-w+"px "+-y+"px "+-b+"px "+-x+"px",threshold:se(0,ve(1,u))||1};let S=!0;function O(P){const T=P[0].intersectionRatio;if(!qr(d,e.getBoundingClientRect()))return c();if(T!==u){if(!S)return c();T?c(!1,T):o=setTimeout(()=>{c(!1,1e-7)},1e3)}S=!1}try{r=new IntersectionObserver(O,{...C,root:i.ownerDocument})}catch{r=new IntersectionObserver(O,C)}r.observe(e)}const l=Y(e),f=()=>c(n);return l.addEventListener("resize",f),c(!0),()=>{l.removeEventListener("resize",f),s()}}function pc(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=cn(e),m=o||i?[...f?ke(f):[],...t?ke(t):[]]:[];m.forEach(w=>{o&&w.addEventListener("scroll",n),i&&w.addEventListener("resize",n)});const u=f&&c?dc(f,n,i):null;let d=-1,v=null;s&&(v=new ResizeObserver(w=>{let[y]=w;y&&y.target===f&&v&&t&&(v.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var b;(b=v)==null||b.observe(t)})),n()}),f&&!l&&v.observe(f),t&&v.observe(t));let h,p=l?xe(e):null;l&&g();function g(){const w=xe(e);p&&!qr(p,w)&&n(),p=w,h=requestAnimationFrame(g)}return n(),()=>{var w;m.forEach(y=>{o&&y.removeEventListener("scroll",n),i&&y.removeEventListener("resize",n)}),u?.(),(w=v)==null||w.disconnect(),v=null,l&&cancelAnimationFrame(h)}}const mc=Gs,hc=Vs,vc=Bs,gc=zs,yc=Ws,Gn=$s,bc=Us,wc=(e,t,n)=>{const r=new Map,o=n??{},i={...fc,...o.platform,_c:r};return js(e,t,{...o,platform:i})};var xc=typeof document<"u",Cc=function(){},et=xc?a.useLayoutEffect:Cc;function ot(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(!ot(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)&&!ot(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Zr(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Vn(e,t){const n=Zr(e);return Math.round(t*n)/n}function Et(e){const t=a.useRef(e);return et(()=>{t.current=e}),t}function Rc(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,[m,u]=a.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[d,v]=a.useState(r);ot(d,r)||v(r);const[h,p]=a.useState(null),[g,w]=a.useState(null),y=a.useCallback(I=>{I!==C.current&&(C.current=I,p(I))},[]),b=a.useCallback(I=>{I!==S.current&&(S.current=I,w(I))},[]),x=i||h,R=s||g,C=a.useRef(null),S=a.useRef(null),O=a.useRef(m),P=l!=null,T=Et(l),L=Et(o),A=Et(f),_=a.useCallback(()=>{if(!C.current||!S.current)return;const I={placement:t,strategy:n,middleware:d};L.current&&(I.platform=L.current),wc(C.current,S.current,I).then(k=>{const Z={...k,isPositioned:A.current!==!1};M.current&&!ot(O.current,Z)&&(O.current=Z,Vt.flushSync(()=>{u(Z)}))})},[d,t,n,L,A]);et(()=>{f===!1&&O.current.isPositioned&&(O.current.isPositioned=!1,u(I=>({...I,isPositioned:!1})))},[f]);const M=a.useRef(!1);et(()=>(M.current=!0,()=>{M.current=!1}),[]),et(()=>{if(x&&(C.current=x),R&&(S.current=R),x&&R){if(T.current)return T.current(x,R,_);_()}},[x,R,_,T,P]);const B=a.useMemo(()=>({reference:C,floating:S,setReference:y,setFloating:b}),[y,b]),F=a.useMemo(()=>({reference:x,floating:R}),[x,R]),D=a.useMemo(()=>{const I={position:n,left:0,top:0};if(!F.floating)return I;const k=Vn(F.floating,m.x),Z=Vn(F.floating,m.y);return c?{...I,transform:"translate("+k+"px, "+Z+"px)",...Zr(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:k,top:Z}},[n,c,F.floating,m.x,m.y]);return a.useMemo(()=>({...m,update:_,refs:B,elements:F,floatingStyles:D}),[m,_,B,F,D])}const Ec=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?Gn({element:r.current,padding:o}).fn(n):{}:r?Gn({element:r,padding:o}).fn(n):{}}}},Sc=(e,t)=>{const n=mc(e);return{name:n.name,fn:n.fn,options:[e,t]}},Pc=(e,t)=>{const n=hc(e);return{name:n.name,fn:n.fn,options:[e,t]}},Oc=(e,t)=>({fn:bc(e).fn,options:[e,t]}),Ac=(e,t)=>{const n=vc(e);return{name:n.name,fn:n.fn,options:[e,t]}},Tc=(e,t)=>{const n=gc(e);return{name:n.name,fn:n.fn,options:[e,t]}},_c=(e,t)=>{const n=yc(e);return{name:n.name,fn:n.fn,options:[e,t]}},Dc=(e,t)=>{const n=Ec(e);return{name:n.name,fn:n.fn,options:[e,t]}};var Ic=Object.defineProperty,pe=(e,t)=>Ic(e,"name",{value:t,configurable:!0}),Qr="Popper",[Jr,eo]=ue(Qr),[Mc,to]=Jr(Qr),Lc=pe(e=>{const{__scopePopper:t,children:n}=e,[r,o]=a.useState(null),[i,s]=a.useState(void 0);return E.jsx(Mc,{scope:t,anchor:r,onAnchorChange:o,placementState:i,setPlacementState:s,children:n})},"Popper"),Fc="PopperAnchor",Nc=a.forwardRef(pe(function(t,n){const{__scopePopper:r,virtualRef:o,...i}=t,s=to(Fc,r),c=a.useRef(null),l=s.onAnchorChange,f=a.useCallback(p=>{c.current=p,p&&l(p)},[l]),m=$(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&&ft(s.placementState),v=d?.[0],h=d?.[1];return o?null:E.jsx(U.div,{"data-radix-popper-side":v,"data-radix-popper-align":h,...i,ref:m})},"PopperAnchor")),no="PopperContent",[kc,Va]=Jr(no),jc=a.forwardRef(pe(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:m=[],collisionPadding:u=0,sticky:d="partial",hideWhenDetached:v=!1,updatePositionStrategy:h="optimized",onPlaced:p,...g}=t,w=to(no,r),[y,b]=a.useState(null),x=$(n,b),[R,C]=a.useState(null),S=en(R),O=S?.width??0,P=S?.height??0,T=o+(s!=="center"?"-"+s:""),L=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},A=Array.isArray(m)?m:[m],_=A.length>0,M={padding:L,boundary:A.filter(ro),altBoundary:_},{refs:B,floatingStyles:F,placement:D,isPositioned:I,middlewareData:k}=Rc({strategy:"fixed",placement:T,whileElementsMounted:pe((...pt)=>pc(...pt,{animationFrame:h==="always"}),"whileElementsMounted"),elements:{reference:w.anchor},middleware:[Sc({mainAxis:i+P,alignmentAxis:c}),f&&Pc({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?Oc():void 0,...M}),f&&Ac({...M}),Tc({...M,apply:pe(({elements:pt,rects:bn,availableWidth:Lo,availableHeight:Fo})=>{const{width:No,height:ko}=bn.reference,Ge=pt.floating.style;Ge.setProperty("--radix-popper-available-width",`${Lo}px`),Ge.setProperty("--radix-popper-available-height",`${Fo}px`),Ge.setProperty("--radix-popper-anchor-width",`${No}px`),Ge.setProperty("--radix-popper-anchor-height",`${ko}px`)},"apply")}),R&&Dc({element:R,padding:l}),$c({arrowWidth:O,arrowHeight:P}),v&&_c({strategy:"referenceHidden",...M,boundary:_?M.boundary:void 0})]}),Z=w.setPlacementState;K(()=>(Z(D),()=>{Z(void 0)}),[D,Z]);const[vn,gn]=ft(D),yn=he(p);K(()=>{I&&yn?.()},[I,yn]);const To=k.arrow?.x,_o=k.arrow?.y,Do=k.arrow?.centerOffset!==0,[Io,Mo]=a.useState();return K(()=>{y&&Mo(window.getComputedStyle(y).zIndex)},[y]),E.jsx("div",{ref:B.setFloating,"data-radix-popper-content-wrapper":"",style:{...F,transform:I?F.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Io,"--radix-popper-transform-origin":[k.transformOrigin?.x,k.transformOrigin?.y].join(" "),...k.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:E.jsx(kc,{scope:r,placedSide:vn,placedAlign:gn,onArrowChange:C,arrowX:To,arrowY:_o,shouldHideArrow:Do,children:E.jsx(U.div,{"data-side":vn,"data-align":gn,...g,ref:x,style:{...g.style,animation:I?g.style?.animation:"none"}})})})},"PopperContent"));function ro(e){return e!==null}pe(ro,"isNotNull");var $c=pe(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,m]=ft(n),u={start:"0%",center:"50%",end:"100%"}[m],d=(o.arrow?.x??0)+c/2,v=(o.arrow?.y??0)+l/2;let h="",p="";return f==="bottom"?(h=s?u:`${d}px`,p=`${-l}px`):f==="top"?(h=s?u:`${d}px`,p=`${r.floating.height+l}px`):f==="right"?(h=`${-l}px`,p=s?u:`${v}px`):f==="left"&&(h=`${r.floating.width+l}px`,p=s?u:`${v}px`),{data:{x:h,y:p}}}}),"transformOrigin");function ft(e){const[t,n="center"]=e.split("-");return[t,n]}pe(ft,"getSideAndAlignFromPlacement");var Bc=Lc,Wc=Nc,Hc=jc,Gc=Object.defineProperty,an=(e,t)=>Gc(e,"name",{value:t,configurable:!0}),St=!1;function oo(){const[e,t]=a.useState(St);return a.useEffect(()=>{St||(St=!0,t(!0))},[]),e}an(oo,"useIsHydrated");var io=De[" useSyncExternalStore ".trim().toString()];function so(){return()=>{}}an(so,"subscribe");function co(){return io(so,()=>!0,()=>!1)}an(co,"useIsHydratedModern");var Vc=typeof io=="function"?co:oo,Uc=Object.defineProperty,Ce=(e,t)=>Uc(e,"name",{value:t,configurable:!0}),Pt="rovingFocusGroup.onEntryFocus",zc={bubbles:!1,cancelable:!0},dt="RovingFocusGroup",[Wt,ao,Kc]=nr(dt),[Yc,lo]=ue(dt,[Kc]),[Xc,qc]=Yc(dt),Zc=a.forwardRef(Ce(function(t,n){return E.jsx(Wt.Provider,{scope:t.__scopeRovingFocusGroup,children:E.jsx(Wt.Slot,{scope:t.__scopeRovingFocusGroup,children:E.jsx(Qc,{...t,ref:n})})})},"RovingFocusGroup")),Qc=a.forwardRef(Ce(function(t,n){const{__scopeRovingFocusGroup:r,orientation:o,loop:i=!1,dir:s,currentTabStopId:c,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:f,onEntryFocus:m,preventScrollOnEntryFocus:u=!1,...d}=t,v=a.useRef(null),h=$(n,v),p=Kt(s),[g,w]=Be({prop:c,defaultProp:l??null,onChange:f,caller:dt}),[y,b]=a.useState(!1),x=he(m),R=ao(r),C=a.useRef(!1),[S,O]=a.useState(0);return a.useEffect(()=>{const P=v.current;if(P)return P.addEventListener(Pt,x),()=>P.removeEventListener(Pt,x)},[x]),E.jsx(Xc,{scope:r,orientation:o,dir:p,loop:i,currentTabStopId:g,onItemFocus:a.useCallback(P=>w(P),[w]),onItemShiftTab:a.useCallback(()=>b(!0),[]),onFocusableItemAdd:a.useCallback(()=>O(P=>P+1),[]),onFocusableItemRemove:a.useCallback(()=>O(P=>P-1),[]),children:E.jsx(U.div,{tabIndex:y||S===0?-1:0,"data-orientation":o,...d,ref:h,style:{outline:"none",...t.style},onMouseDown:N(t.onMouseDown,()=>{C.current=!0}),onFocus:N(t.onFocus,P=>{const T=!C.current;if(P.target===P.currentTarget&&T&&!y){const L=new CustomEvent(Pt,zc);if(P.currentTarget.dispatchEvent(L),!L.defaultPrevented){const A=R().filter(D=>D.focusable),_=A.find(D=>D.active),M=A.find(D=>D.id===g),F=[_,M,...A].filter(Boolean).map(D=>D.ref.current);ln(F,u)}}C.current=!1}),onBlur:N(t.onBlur,()=>b(!1))})})},"RovingFocusGroupImpl")),Jc="RovingFocusGroupItem",ea=a.forwardRef(Ce(function(t,n){const{__scopeRovingFocusGroup:r,focusable:o=!0,active:i=!1,tabStopId:s,children:c,...l}=t,f=Ae(),m=s||f,u=qc(Jc,r),d=u.currentTabStopId===m,v=ao(r),{onFocusableItemAdd:h,onFocusableItemRemove:p,currentTabStopId:g}=u,w=Vc();return K(()=>{if(!(!w||!o))return h(),()=>p()},[w,o,h,p]),a.useEffect(()=>{if(!(w||!o))return h(),()=>p()},[w,o,h,p]),E.jsx(Wt.ItemSlot,{scope:r,id:m,focusable:o,active:i,children:E.jsx(U.span,{tabIndex:d?0:-1,"data-orientation":u.orientation,...l,ref:n,onMouseDown:N(t.onMouseDown,y=>{o?u.onItemFocus(m):y.preventDefault()}),onFocus:N(t.onFocus,()=>u.onItemFocus(m)),onKeyDown:N(t.onKeyDown,y=>{if(y.key==="Tab"&&y.shiftKey){u.onItemShiftTab();return}if(y.target!==y.currentTarget)return;const b=fo(y,u.orientation,u.dir);if(b!==void 0){if(y.metaKey||y.ctrlKey||y.altKey||y.shiftKey)return;y.preventDefault();let R=v().filter(C=>C.focusable).map(C=>C.ref.current);if(b==="last")R.reverse();else if(b==="prev"||b==="next"){b==="prev"&&R.reverse();const C=R.indexOf(y.currentTarget);R=u.loop?po(R,C+1):R.slice(C+1)}setTimeout(()=>ln(R))}}),children:typeof c=="function"?c({isCurrentTabStop:d,hasTabStop:g!=null}):c})})},"RovingFocusGroupItem")),ta={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function uo(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}Ce(uo,"getDirectionAwareKey");function fo(e,t,n){const r=uo(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return ta[r]}Ce(fo,"getFocusIntent");function ln(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}Ce(ln,"focusFirst");function po(e,t){return e.map((n,r)=>e[(t+r)%e.length])}Ce(po,"wrapArray");var na=Zc,ra=ea,oa=Object.defineProperty,X=(e,t)=>oa(e,"name",{value:t,configurable:!0}),mo="Radio",[ia,ho]=ue(mo),[sa,un]=ia(mo);function vo(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:m}=e,[u,d]=a.useState(null),[v,h]=a.useState(null),p=a.useRef(!1),[g,w]=a.useReducer(x=>x+1,0),y=u?!!i||!!u.closest("form"):!0,b={checked:n,disabled:o,required:l,name:s,form:i,value:f,control:u,setControl:d,hasConsumerStoppedPropagationRef:p,userInteractionCount:g,onUserInteraction:w,isFormControl:y,bubbleInput:v,setBubbleInput:h,onCheck:X(()=>c?.(),"onCheck")};return E.jsx(sa,{scope:t,...b,children:go(m)?m(b):r})}X(vo,"RadioProvider");var ca="RadioTrigger",aa=a.forwardRef(X(function({__scopeRadio:t,onClick:n,...r},o){const{checked:i,disabled:s,value:c,setControl:l,onCheck:f,hasConsumerStoppedPropagationRef:m,onUserInteraction:u,isFormControl:d,bubbleInput:v}=un(ca,t),h=$(o,l);return E.jsx(U.button,{type:"button",role:"radio","aria-checked":i,"data-state":yo(i),"data-disabled":s?"":void 0,disabled:s,value:c,...r,ref:h,onClick:N(n,p=>{i||(u(),f()),v&&d&&(m.current=p.isPropagationStopped(),m.current||p.stopPropagation())})})},"RadioTrigger")),la="RadioBubbleInput",ua=a.forwardRef(X(function({__scopeRadio:t,onClick:n,...r},o){const{control:i,checked:s,required:c,disabled:l,name:f,value:m,form:u,bubbleInput:d,setBubbleInput:v,hasConsumerStoppedPropagationRef:h,userInteractionCount:p}=un(la,t),g=$(o,v),w=en(i),y=a.useRef(!1),b=a.useRef(s),x=a.useRef(p);a.useEffect(()=>{const C=d;if(!C)return;const S=window.HTMLInputElement.prototype,P=Object.getOwnPropertyDescriptor(S,"checked").set,T=p!==x.current;x.current=p;const L=b.current!==s;b.current=s;const A=!(T&&h.current);if(L&&P){y.current=!T;const _=new Event("click",{bubbles:A});P.call(C,s),C.dispatchEvent(_),y.current=!1}},[d,s,h,p]);const R=a.useRef(s);return E.jsx(U.input,{type:"radio","aria-hidden":!0,defaultChecked:R.current,required:c,disabled:l,name:f,value:m,form:u,...r,tabIndex:-1,ref:g,onClick:N(n,C=>{y.current&&C.stopPropagation()}),style:{...r.style,...w,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})},"RadioBubbleInput"));function go(e){return typeof e=="function"}X(go,"isFunction");function yo(e){return e?"checked":"unchecked"}X(yo,"getState");var fa=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],fn="RadioGroup",[da,Ua]=ue(fn,[lo,ho]),bo=lo(),dn=ho(),[pa,ma]=da(fn),za=a.forwardRef(X(function(t,n){const{__scopeRadioGroup:r,name:o,form:i,defaultValue:s,value:c,required:l=!1,disabled:f=!1,orientation:m,dir:u,loop:d=!0,onValueChange:v,...h}=t,p=bo(r),g=Kt(u),[w,y]=Be({prop:c,defaultProp:s??null,onChange:v,caller:fn}),[b,x]=a.useState(null),R=$(n,x),C=a.useRef(w);return a.useEffect(()=>{const S=i?b?.ownerDocument.getElementById(i):b?.closest("form");if(S instanceof HTMLFormElement){const O=X(()=>y(C.current),"reset");return S.addEventListener("reset",O),()=>S.removeEventListener("reset",O)}},[b,i,y]),E.jsx(pa,{scope:r,name:o,form:i,required:l,disabled:f,value:w,onValueChange:y,children:E.jsx(na,{asChild:!0,...p,orientation:m,dir:g,loop:d,children:E.jsx(U.div,{role:"radiogroup","aria-required":l,"aria-orientation":m,"data-disabled":f?"":void 0,dir:g,...h,ref:R})})})},"RadioGroup")),ha="RadioGroupItemProvider",va="RadioGroupItemTrigger";function wo(e){const{__scopeRadioGroup:t,value:n,disabled:r,children:o,internal_do_not_use_render:i}=e,s=ma(ha,t),c=dn(t),l=s.disabled||r;return E.jsx(vo,{...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(wo,"RadioGroupItemProvider");var ga=a.forwardRef(X(function(t,n){const{__scopeRadioGroup:r,...o}=t,i=bo(r),s=dn(r),{checked:c,disabled:l}=un(va,s.__scopeRadio),f=a.useRef(null),m=$(n,f),u=a.useRef(!1);return a.useEffect(()=>{const d=X(h=>{fa.includes(h.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(ra,{asChild:!0,...i,focusable:!l,active:c,children:E.jsx(aa,{...s,...o,ref:m,onKeyDown:N(o.onKeyDown,d=>{d.key==="Enter"&&d.preventDefault()}),onFocus:N(o.onFocus,()=>{u.current&&f.current?.click()})})})},"RadioGroupItemTrigger")),Ka=a.forwardRef(X(function(t,n){const{__scopeRadioGroup:r,value:o,disabled:i,...s}=t;return E.jsx(wo,{__scopeRadioGroup:r,value:o,disabled:i,internal_do_not_use_render:({isFormControl:c})=>E.jsxs(E.Fragment,{children:[E.jsx(ga,{...s,ref:n,__scopeRadioGroup:r}),c&&E.jsx(ya,{__scopeRadioGroup:r})]})})},"RadioGroupItem")),ya=a.forwardRef(X(function(t,n){const{__scopeRadioGroup:r,...o}=t,i=dn(r);return E.jsx(ua,{...i,...o,ref:n})},"RadioGroupItemBubbleInput")),ba=Object.defineProperty,G=(e,t)=>ba(e,"name",{value:t,configurable:!0}),[pn,Ya]=ue("Tooltip",[eo]),mn=eo(),wa="TooltipProvider",xa=700,Ht="tooltip.open",[Ca,hn]=pn(wa),Ra=G(e=>{const{__scopeTooltip:t,delayDuration:n=xa,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(Ca,{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"),Gt="Tooltip",[Ea,He]=pn(Gt),Sa=G(e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o,onOpenChange:i,disableHoverableContent:s,delayDuration:c}=e,l=hn(Gt,e.__scopeTooltip),f=mn(t),[m,u]=a.useState(null),[d,v]=a.useState(void 0),h=Ae(),p=a.useRef(0),g=s??l.disableHoverableContent,w=c??l.delayDuration,y=a.useRef(!1),[b,x]=Be({prop:r,defaultProp:o??!1,onChange:G(T=>{T?(l.onOpen(),document.dispatchEvent(new CustomEvent(Ht))):l.onClose(),i?.(T)},"onChange"),caller:Gt}),R=a.useMemo(()=>b?y.current?"delayed-open":"instant-open":"closed",[b]),C=a.useCallback(()=>{window.clearTimeout(p.current),p.current=0,y.current=!1,x(!0)},[x]),S=a.useCallback(()=>{window.clearTimeout(p.current),p.current=0,x(!1)},[x]),O=a.useCallback(()=>{window.clearTimeout(p.current),p.current=window.setTimeout(()=>{y.current=!0,x(!0),p.current=0},w)},[w,x]);a.useEffect(()=>()=>{p.current&&(window.clearTimeout(p.current),p.current=0)},[]);const P=d??h;return E.jsx(Bc,{...f,children:E.jsx(Ea,{scope:t,contentId:P,setContentId:v,open:b,stateAttribute:R,trigger:m,onTriggerChange:u,onTriggerEnter:a.useCallback(()=>{l.isOpenDelayedRef.current?O():C()},[l.isOpenDelayedRef,O,C]),onTriggerLeave:a.useCallback(()=>{g?S():(window.clearTimeout(p.current),p.current=0)},[S,g]),onOpen:C,onClose:S,disableHoverableContent:g,children:n})})},"Tooltip"),Un="TooltipTrigger",Pa=a.forwardRef(G(function(t,n){const{__scopeTooltip:r,...o}=t,i=He(Un,r),s=hn(Un,r),c=mn(r),l=a.useRef(null),f=$(n,l,i.onTriggerChange),m=a.useRef(!1),u=a.useRef(!1),d=a.useCallback(()=>m.current=!1,[]);return a.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),E.jsx(Wc,{asChild:!0,...c,children:E.jsx(U.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...o,ref:f,onPointerMove:N(t.onPointerMove,v=>{v.pointerType!=="touch"&&!u.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),u.current=!0)}),onPointerLeave:N(t.onPointerLeave,()=>{i.onTriggerLeave(),u.current=!1}),onPointerDown:N(t.onPointerDown,()=>{i.open&&i.onClose(),m.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:N(t.onFocus,()=>{m.current||i.onOpen()}),onBlur:N(t.onBlur,i.onClose),onClick:N(t.onClick,i.onClose)})})},"TooltipTrigger")),xo="TooltipPortal",[Oa,Aa]=pn(xo,{forceMount:void 0}),Ta=G(e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,i=He(xo,t);return E.jsx(Oa,{scope:t,forceMount:n,children:E.jsx(We,{present:n||i.open,children:E.jsx(Ar,{asChild:!0,container:o,children:r})})})},"TooltipPortal"),je="TooltipContent",_a=a.forwardRef(G(function(t,n){const r=Aa(je,t.__scopeTooltip),{forceMount:o=r.forceMount,side:i="top",...s}=t,c=He(je,t.__scopeTooltip);return E.jsx(We,{present:o||c.open,children:c.disableHoverableContent?E.jsx(Co,{side:i,...s,ref:n}):E.jsx(Da,{side:i,...s,ref:n})})},"TooltipContent")),Da=a.forwardRef(G(function(t,n){const r=He(je,t.__scopeTooltip),o=hn(je,t.__scopeTooltip),i=a.useRef(null),s=$(n,i),[c,l]=a.useState(null),{trigger:f,onClose:m}=r,u=i.current,{onPointerInTransitChange:d}=o,v=a.useCallback(()=>{l(null),d(!1)},[d]),h=a.useCallback((p,g)=>{const w=p.currentTarget,y={x:p.clientX,y:p.clientY},b=Ro(y,w.getBoundingClientRect()),x=Eo(y,b),R=So(g.getBoundingClientRect()),C=Oo([...x,...R]);l(C),d(!0)},[d]);return a.useEffect(()=>()=>v(),[v]),a.useEffect(()=>{if(f&&u){const p=G(w=>h(w,u),"handleTriggerLeave"),g=G(w=>h(w,f),"handleContentLeave");return f.addEventListener("pointerleave",p),u.addEventListener("pointerleave",g),()=>{f.removeEventListener("pointerleave",p),u.removeEventListener("pointerleave",g)}}},[f,u,h,v]),a.useEffect(()=>{if(c){const p=G(g=>{const w=g.target,y={x:g.clientX,y:g.clientY},b=f?.contains(w)||u?.contains(w),x=!Po(y,c);b?v():x&&(v(),m())},"handleTrackPointerGrace");return document.addEventListener("pointermove",p),()=>document.removeEventListener("pointermove",p)}},[f,u,c,m,v]),E.jsx(Co,{...t,ref:s})},"TooltipContentHoverable")),Ia=Xn("TooltipContent"),Co=a.forwardRef(G(function(t,n){const{__scopeTooltip:r,children:o,"aria-label":i,id:s,onEscapeKeyDown:c,onPointerDownOutside:l,...f}=t,m=He(je,r),u=mn(r),{onClose:d}=m;a.useEffect(()=>(document.addEventListener(Ht,d),()=>document.removeEventListener(Ht,d)),[d]),a.useEffect(()=>{if(m.trigger){const h=G(p=>{p.target instanceof Node&&p.target.contains(m.trigger)&&d()},"handleScroll");return window.addEventListener("scroll",h,{capture:!0}),()=>window.removeEventListener("scroll",h,{capture:!0})}},[m.trigger,d]);const{setContentId:v}=m;return K(()=>(v(s),()=>{v(void 0)}),[s,v]),E.jsx(yr,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:c,onPointerDownOutside:l,onFocusOutside:h=>h.preventDefault(),onDismiss:d,children:E.jsxs(Hc,{"data-state":m.stateAttribute,role:i?void 0:"tooltip",id:i?void 0:m.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(Ia,{children:o}),i?E.jsx(Qo,{id:m.contentId,role:"tooltip",children:i}):null]})})},"TooltipContentImpl"));function Ro(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")}}G(Ro,"getExitSideFromRect");function Eo(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}G(Eo,"getPaddedExitPoints");function So(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}]}G(So,"getPointsFromRect");function Po(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,m=c.y,u=l.x,d=l.y;m>r!=d>r&&n<(u-f)*(r-m)/(d-m)+f&&(o=!o)}return o}G(Po,"isPointInPolygon");function Oo(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),Ao(t)}G(Oo,"getHull");function Ao(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)}G(Ao,"getHullPresorted");var Xa=Ra,qa=Sa,Za=Pa,Qa=Ta,Ja=_a;export{Ja as C,ka as D,Xa as P,qa as R,Fa as S,Za as T,Qa as a,za as b,Ka as c,ja as d,$a as e,Ba as f,Wa as g,Ha as h,Ga as i};
|