@graphty/compact-mantine 0.9.28 → 0.9.29

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/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("@mantine/core"),u=require("react"),o=require("react/jsx-runtime"),ae=require("@mantine/hooks"),Lr=require("react-dom"),We=require("@tanstack/react-table"),Vn=require("@tanstack/react-virtual"),R={WIDTH:240,PAD_LEFT:16,PAD_RIGHT:8,CONTENT:216,BODY:184,FIELD:88,GUTTER:8,TRAIL_GAP:8,TRAIL:24,TRIPLE:184/3,TRIPLE_GAP:0,CONTROL_HEIGHT:24,ROW_PITCH:32,TOGGLE_PITCH:32,DATA_PITCH:32,SECTION_HEADER:40,SECTION_PAD_BOTTOM:12,GLYPH_SLOT:24,GLYPH:12,CHEVRON:10,VALUE_INSET:24,SPARKLINE_HEIGHT:32,HISTOGRAM_HEIGHT:64,LABEL_COLUMN:72,FIELD_ROW:48,CAPTION_ROW:50,LEGEND:16,POPOVER_WIDTH:240,POPOVER_HEADER:40},xe={VALUE:"var(--cm-text)",CHROME:"var(--cm-text-secondary)",PROSE:"var(--cm-text-secondary)",PLACEHOLDER:"var(--cm-text-tertiary)",DISABLED:"var(--cm-text-disabled)",SURFACE:"var(--cm-bg-secondary)",PANEL:"var(--cm-bg)",RAISED:"var(--cm-bg-pressed)",SELECTED:"var(--cm-bg-selected)",ON_SELECTED:"var(--cm-icon-brand)",BORDER:"var(--cm-border)",DIVIDER:"var(--cm-border)",ACCENT:"var(--cm-bg-brand)",ON_ACCENT:"var(--cm-text-onbrand)",WARNING:"var(--cm-bg-warning)",SUCCESS:"var(--cm-bg-success)",DANGER:"var(--cm-bg-danger)",HOVER:"var(--cm-bg-hover)",PRESSED:"var(--cm-bg-pressed)",TRANSPARENT_HOVER:"var(--cm-bg-transparent-hover)",TRANSPARENT_PRESSED:"var(--cm-bg-transparent-pressed)",SELECTED_HOVER:"var(--cm-bg-selected-hover)",SELECTED_SECONDARY:"var(--cm-bg-selected-secondary)",BRAND_TEXT:"var(--cm-text-brand)",TERTIARY:"var(--cm-icon-tertiary)",FOCUS:"var(--cm-border-selected)",TRANSLUCENT:"var(--cm-border-translucent)",TRANSLUCENT_STRONG:"var(--cm-border-translucent-strong)",MENU:"var(--cm-bg-menu)",ON_MENU:"var(--cm-text-menu)",ON_MENU_SECONDARY:"var(--cm-text-menu-secondary)",COMPONENT:"var(--cm-text-component)"},Gn=["#ffffff","#b3b3b3","#8c8c8c","#757575","#444444","#444444","#383838","#2c2c2c","#1e1e1e","#111111"],qn=["#e5f4ff","#bde3ff","#80caff","#4db5ff","#7cc4f8","#30a8ff","#0d99ff","#007be5","#0c8ce9","#0a6dc2"],Wn={...d.DEFAULT_THEME.colors,dark:Gn,brand:qn};function ci(){return o.jsxs("svg",{className:"cm-button-spinner",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",focusable:"false",children:[o.jsx("circle",{cx:"8",cy:"8",r:"5.25",stroke:"currentColor",strokeOpacity:"0.3",strokeWidth:"1.5"}),o.jsx("path",{d:"M8 2.75A5.25 5.25 0 0 1 13.25 8",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})}function li(){return o.jsx("svg",{className:"cm-close-glyph",viewBox:"0 0 10 10",fill:"none","aria-hidden":"true",focusable:"false",children:o.jsx("path",{d:"M0.5 0.5L9.5 9.5M9.5 0.5L0.5 9.5",stroke:"currentColor",strokeWidth:"1",vectorEffect:"non-scaling-stroke"})})}const di={compactSize:"sm",sizes:{xs:{"--button-height":"20px","--button-fz":"11px","--button-padding-x":"6px"},sm:{"--button-height":"24px","--button-fz":"11px","--button-padding-x":"8px"},md:{"--button-height":"32px","--button-fz":"11px","--button-padding-x":"12px"},lg:{"--button-height":"36px","--button-fz":"13px","--button-padding-x":"16px"},xl:{"--button-height":"44px","--button-fz":"15px","--button-padding-x":"20px"}}},ui={compactSize:"sm",sizes:{xs:{"--ai-size":"18px"},sm:{"--ai-size":"24px"},md:{"--ai-size":"32px","--cm-ai-padding":"0 4px"},lg:{"--ai-size":"36px"},xl:{"--ai-size":"44px"}}},mi={compactSize:"sm",sizes:{xs:{"--cb-size":"16px","--cb-icon-size":"10px"},sm:{"--cb-size":"24px","--cb-icon-size":"10px"},md:{"--cb-size":"32px","--cb-icon-size":"12px"},lg:{"--cb-size":"36px","--cb-icon-size":"14px"},xl:{"--cb-size":"44px","--cb-icon-size":"16px"}}},Ke="transparent",ee=e=>`var(--cm-${e})`,Go={bg:Ke,hover:ee("bg-transparent-hover"),pressed:ee("bg-transparent-pressed"),color:ee("text"),pressedColor:ee("text"),outline:Ke,shortcut:ee("text-secondary"),disabled:"text"},Pr={...Go,outline:ee("border-translucent"),disabled:"outline"};function _t(e,t=ee("text-onbrand"),r=ee("text-onbrand-secondary")){return{bg:ee(e),hover:ee(`${e}-hover`),pressed:ee(`${e}-pressed`),color:t,pressedColor:r,outline:Ke,shortcut:r,disabled:"solid"}}const pi=`light-dark(${ee("text-onbrand-secondary")}, ${ee("text-oninverse")})`,Mr={filled:_t("bg-brand"),danger:_t("bg-danger"),success:_t("bg-success"),inverse:{..._t("bg-inverse",ee("text-oninverse"),pi)},default:Pr,outline:Pr,subtle:Go,"danger-outline":{...Go,color:ee("text-danger"),pressedColor:ee("text-danger"),outline:ee("border-danger"),shortcut:ee("text-danger"),disabled:"outline"},light:{bg:ee("bg-selected"),hover:ee("bg-selected-hover"),pressed:ee("bg-selected-pressed"),color:ee("text-brand"),pressedColor:ee("text-brand"),outline:Ke,shortcut:ee("text-brand"),disabled:"text"}},hi=new Set(["danger","danger-outline","inverse","success","default","outline","subtle"]);function Yn(e,t){return e==null||e===t||e==="brand"}function fi(e,t,r){const n=e??"filled";if(n==="filled"&&t==="red")return Mr.danger;const a=Mr[n];if(a)return hi.has(n)||Yn(t,r)?a:void 0}const bi={solid:{bg:ee("bg-disabled"),color:ee("text-ondisabled"),outline:Ke},outline:{bg:Ke,color:ee("text-disabled"),outline:ee("border-disabled")},text:{bg:Ke,color:ee("text-disabled"),outline:Ke}};function xi(e,t,r){const n=fi(e,t,r);if(!n)return{};const a=bi[n.disabled];return{"--button-bg":n.bg,"--button-hover":n.hover,"--button-color":n.color,"--button-hover-color":"var(--button-color)","--button-bd":"none","--cm-btn-pressed":n.pressed,"--cm-btn-pressed-color":n.pressedColor,"--cm-btn-outline":n.outline,"--cm-btn-shortcut":n.shortcut,"--cm-btn-disabled-bg":a.bg,"--cm-btn-disabled-color":a.color,"--cm-btn-disabled-outline":a.outline}}const Or={bg:Ke,hover:ee("bg-transparent-hover"),pressed:ee("bg-transparent-pressed"),color:ee("icon"),outline:Ke},gi={subtle:Or,default:{...Or,outline:ee("border-translucent"),disabledOutline:ee("border-disabled")},light:{bg:ee("bg-selected"),hover:ee("bg-selected-hover"),pressed:ee("bg-selected-pressed"),color:ee("icon-brand"),outline:Ke},filled:{bg:ee("bg-brand"),hover:ee("bg-brand-hover"),pressed:ee("bg-brand-pressed"),color:ee("text-onbrand"),outline:Ke,disabledBg:ee("bg-disabled"),disabledColor:ee("icon-ondisabled")},joined:{bg:ee("bg-secondary"),hover:ee("bg-pressed"),pressed:ee("bg-pressed"),color:ee("icon"),outline:Ke,disabledBg:ee("bg-secondary")}},vi=new Set(["gray","dark"]);function wi(e,t,r){const n=e??"subtle",a=gi[n],s=n==="subtle"||n==="default"||n==="joined";return!a||!(Yn(t,r)||s&&vi.has(String(t)))?{}:{"--ai-bg":a.bg,"--ai-hover":a.hover,"--ai-color":a.color,"--ai-hover-color":"var(--ai-color)","--ai-bd":"none","--cm-ai-pressed":a.pressed,"--cm-ai-outline":a.outline,...a.disabledBg?{"--cm-ai-disabled-bg":a.disabledBg}:{},...a.disabledColor?{"--cm-ai-disabled-color":a.disabledColor}:{},...a.disabledOutline?{"--cm-ai-disabled-outline":a.disabledOutline}:{}}}function pe(e,t){const r=t==null?e.compactSize:String(t);return e.sizes[r]??e.sizes[e.compactSize]}const yi={Button:d.Button.extend({defaultProps:{size:"sm",loaderProps:{size:16,children:u.createElement(ci)}},classNames:{root:"cm-button",inner:"cm-button-inner",label:"cm-button-label",section:"cm-button-section",loader:"cm-button-loader"},vars:(e,t)=>({root:{...pe(di,t==null?void 0:t.size),...xi(t==null?void 0:t.variant,t==null?void 0:t.color,e==null?void 0:e.primaryColor)}})}),ActionIcon:d.ActionIcon.extend({defaultProps:{size:"sm",variant:"subtle"},classNames:{root:"cm-action-icon",icon:"cm-action-icon-icon",loader:"cm-action-icon-loader"},vars:(e,t)=>({root:{...pe(ui,t==null?void 0:t.size),...wi(t==null?void 0:t.variant,t==null?void 0:t.color,e==null?void 0:e.primaryColor)}})}),ActionIconGroup:d.ActionIconGroup.extend({classNames:{group:"cm-ai-group"}}),CloseButton:d.CloseButton.extend({defaultProps:{size:"sm",icon:u.createElement(li)},classNames:{root:"cm-close-button"},vars:(e,t)=>({root:pe(mi,t==null?void 0:t.size)})})},ki=Object.freeze(Object.defineProperty({__proto__:null,buttonComponentExtensions:yi},Symbol.toStringTag,{value:"Module"})),Dr={slider:"cm-color-slider",sliderOverlay:"cm-color-slider-track",thumb:"cm-color-thumb"};function Si(e){const t=e.variant==="field",r={};return(t||e.size===void 0)&&(r["--cs-size"]=t?"14px":"16px"),(t||e.radius===void 0)&&(r["--cs-radius"]=t?"2px":"20%"),r}const ji={ColorSwatch:d.ColorSwatch.extend({classNames:{root:"cm-chit",alphaOverlay:"cm-chit-alpha",shadowOverlay:"cm-chit-shadow"},vars:(e,t)=>({root:Si(t)})}),HueSlider:{defaultProps:{classNames:Dr}},AlphaSlider:{defaultProps:{classNames:Dr}}},Ti=Object.freeze(Object.defineProperty({__proto__:null,colorComponentExtensions:ji},Symbol.toStringTag,{value:"Module"})),Br="M5 8.5L7.5 11L11.5 5",Ci="M5 8H11",Ai="M5 8H10.5";function Ei({indeterminate:e,...t}){const r=e===!0,n=r?Ci:Br,a=r?"crispEdges":"geometricPrecision";return o.jsxs("svg",{viewBox:"0 0 16 16",fill:"none","aria-hidden":"true","data-glyph":r?"dash":"check",...t,children:[o.jsx("path",{className:"cm-checkbox-halo",d:n,pathLength:12,strokeLinecap:"round",strokeLinejoin:"round",shapeRendering:a}),o.jsx("path",{className:"cm-checkbox-glyph",d:r?Ai:Br,pathLength:12,strokeLinecap:"round",strokeLinejoin:"round",shapeRendering:a})]})}const lo=new WeakSet;function Ni(e){const t=e.currentTarget;lo.delete(t),!(e.button!==0||t.matches(":disabled, [data-disabled]"))&&(t.click(),lo.add(t))}function Ii(e){lo.delete(e.currentTarget)&&e.stopPropagation()}function Fr(e){lo.delete(e.currentTarget)}const uo=new WeakMap;function zi(e){const t=e.currentTarget;if(uo.delete(t),e.button!==0||!(e.target instanceof Element))return;const r=e.target.closest("label"),n=r==null?void 0:r.htmlFor;if(!n)return;const a=t.ownerDocument.getElementById(n);a instanceof HTMLInputElement&&a.type==="radio"&&!a.disabled&&!a.checked&&(a.click(),uo.set(t,r))}function Ri(e){const t=uo.get(e.currentTarget);uo.delete(e.currentTarget),t&&e.target instanceof Node&&t.contains(e.target)&&e.preventDefault()}const Li={compactSize:"sm",sizes:{xs:{"--switch-height":"12px","--switch-width":"24px","--switch-thumb-size":"6px","--switch-track-label-padding":"2px","--switch-label-font-size":"4px"},sm:{"--switch-height":"16px","--switch-width":"32px","--switch-thumb-size":"8px","--switch-track-label-padding":"2px","--switch-label-font-size":"5px"},md:{"--switch-height":"20px","--switch-width":"40px","--switch-thumb-size":"10px","--switch-track-label-padding":"3px","--switch-label-font-size":"7px"},lg:{"--switch-height":"24px","--switch-width":"48px","--switch-thumb-size":"12px","--switch-track-label-padding":"3px","--switch-label-font-size":"9px"},xl:{"--switch-height":"28px","--switch-width":"56px","--switch-thumb-size":"14px","--switch-track-label-padding":"4px","--switch-label-font-size":"11px"}}},Pi={compactSize:"sm",sizes:{xs:{"--checkbox-size":"12px"},sm:{"--checkbox-size":"16px"},md:{"--checkbox-size":"20px"},lg:{"--checkbox-size":"24px"},xl:{"--checkbox-size":"28px"}}},Mi={compactSize:"sm",sizes:{xs:{"--radio-size":"12px","--radio-icon-size":"4px"},sm:{"--radio-size":"16px","--radio-icon-size":"6px"},md:{"--radio-size":"20px","--radio-icon-size":"8px"},lg:{"--radio-size":"24px","--radio-icon-size":"10px"},xl:{"--radio-size":"28px","--radio-icon-size":"12px"}}},Hr={compactSize:"sm",sizes:{xs:{"--slider-size":"6px","--slider-thumb-size":"10px"},sm:{"--slider-size":"8px","--slider-thumb-size":"12px"},md:{"--slider-size":"10px","--slider-thumb-size":"16px"},lg:{"--slider-size":"12px","--slider-thumb-size":"20px"},xl:{"--slider-size":"16px","--slider-thumb-size":"24px"}}},Oi={compactSize:"sm",sizes:{xs:{"--sc-font-size":"9px","--sc-padding":"0 6px"},sm:{"--sc-font-size":"11px","--sc-padding":"0 8px"},md:{"--sc-font-size":"13px","--sc-padding":"0 10px"},lg:{"--sc-font-size":"15px","--sc-padding":"0 12px"},xl:{"--sc-font-size":"17px","--sc-padding":"0 16px"}}},Di={root:"cm-checkbox",body:"cm-checkbox-body",inner:"cm-checkbox-inner",input:"cm-checkbox-input",icon:"cm-checkbox-icon",label:"cm-checkbox-label",description:"cm-control-description",error:"cm-control-error"},Bi={root:"cm-radio",body:"cm-radio-body",inner:"cm-radio-inner",radio:"cm-radio-input",icon:"cm-radio-icon",label:"cm-radio-label",description:"cm-control-description",error:"cm-control-error"},Fi={root:"cm-switch",body:"cm-switch-body",input:"cm-switch-input",track:"cm-switch-track cm-focus-switch",thumb:"cm-switch-thumb",label:"cm-switch-label",description:"cm-control-description",error:"cm-control-error"},Ur={root:"cm-slider",track:"cm-slider-track",bar:"cm-slider-bar",thumb:"cm-slider-thumb",mark:"cm-slider-mark",markLabel:"cm-slider-mark-label"},Hi={root:"cm-sc",control:"cm-sc-control",input:"cm-sc-input",label:"cm-sc-label",innerLabel:"cm-sc-inner",indicator:"cm-sc-indicator"},Ui={SegmentedControl:d.SegmentedControl.extend({defaultProps:{size:"sm",withItemsBorders:!1,transitionDuration:0,onMouseDown:zi,onClickCapture:Ri},vars:(e,t)=>({root:pe(Oi,t==null?void 0:t.size)}),classNames:Hi}),Checkbox:d.Checkbox.extend({defaultProps:{size:"sm",icon:Ei},vars:(e,t)=>({root:pe(Pi,t==null?void 0:t.size)}),classNames:Di}),Switch:d.Switch.extend({defaultProps:{size:"sm",withThumbIndicator:!1},vars:(e,t)=>({root:pe(Li,t==null?void 0:t.size)}),classNames:Fi}),Slider:d.Slider.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:pe(Hr,t==null?void 0:t.size)}),classNames:Ur}),Radio:d.Radio.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:pe(Mi,t==null?void 0:t.size)}),classNames:Bi}),RangeSlider:d.RangeSlider.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:pe(Hr,t==null?void 0:t.size)}),classNames:Ur})},Vi=Object.freeze(Object.defineProperty({__proto__:null,controlComponentExtensions:Ui},Symbol.toStringTag,{value:"Module"})),Gi={compactSize:"sm",sizes:{xs:{"--badge-height":"14px","--badge-fz":"9px","--badge-padding-x":"3px","--badge-lh":"14px"},sm:{"--badge-height":"16px","--badge-fz":"11px","--badge-padding-x":"4px","--badge-lh":"16px"},md:{"--badge-height":"20px","--badge-fz":"11px","--badge-padding-x":"6px","--badge-lh":"20px"},lg:{"--badge-height":"24px","--badge-fz":"13px","--badge-padding-x":"8px","--badge-lh":"24px"},xl:{"--badge-height":"28px","--badge-fz":"15px","--badge-padding-x":"10px","--badge-lh":"28px"}}},qi={compactSize:"sm",sizes:{xs:{"--avatar-size":"16px"},sm:{"--avatar-size":"24px"},md:{"--avatar-size":"32px"},lg:{"--avatar-size":"40px"},xl:{"--avatar-size":"48px"}}},Wi={compactSize:"sm",sizes:{xs:{"--ti-size":"16px"},sm:{"--ti-size":"24px"},md:{"--ti-size":"32px"},lg:{"--ti-size":"40px"},xl:{"--ti-size":"48px"}}},Yi={compactSize:"sm",sizes:{xs:{"--indicator-size":"7px"},sm:{"--indicator-size":"9px"},md:{"--indicator-size":"11px"},lg:{"--indicator-size":"13px"},xl:{"--indicator-size":"15px"}}},Ki={compactSize:"sm",sizes:{xs:{"--kbd-fz":"9px","--kbd-lh":"14px","--kbd-height":"21px","--kbd-min-width":"22px"},sm:{"--kbd-fz":"11px","--kbd-lh":"16px","--kbd-height":"25px","--kbd-min-width":"26px"},md:{"--kbd-fz":"14px","--kbd-lh":"24px","--kbd-height":"31px","--kbd-min-width":"32px"},lg:{"--kbd-fz":"16px","--kbd-lh":"26px","--kbd-height":"35px","--kbd-min-width":"36px"},xl:{"--kbd-fz":"20px","--kbd-lh":"30px","--kbd-height":"41px","--kbd-min-width":"42px"}}},Xi={compactSize:"sm",sizes:{xs:{"--pill-height":"16px","--pill-fz":"9px"},sm:{"--pill-height":"20px","--pill-fz":"11px"},md:{"--pill-height":"24px","--pill-fz":"13px"},lg:{"--pill-height":"28px","--pill-fz":"15px"},xl:{"--pill-height":"32px","--pill-fz":"16px"}}};function Y(e,t,r){return{light:e,dark:t,figma:r}}const Ji={bg:Y("#ffffff","#2c2c2c","--color-bg"),"bg-secondary":Y("#f5f5f5","#383838","--color-bg-secondary"),"bg-hover":Y("#f5f5f5","#383838","--color-bg-hover"),"bg-pressed":Y("#e6e6e6","#444444","--color-bg-pressed"),"bg-tertiary":Y("#e6e6e6","#444444","--color-bg-tertiary"),"bg-secondary-hover":Y("#e6e6e6","#444444","--color-bg-secondary-hover"),"bg-secondary-pressed":Y("#d9d9d9","#757575","--color-bg-secondary-pressed"),"bg-transparent-hover":Y("#0000000d","#ffffff0d","--color-bg-transparent-hover"),"bg-transparent-pressed":Y("#0000001a","#ffffff1a","--color-bg-transparent-pressed"),"bg-selected":Y("#e5f4ff","#394360","--color-bg-selected"),"bg-selected-hover":Y("#bde3ff","#4a5878","--color-bg-selected-hover"),"bg-selected-secondary":Y("#f2f9ff","#32394d","--color-bg-selected-secondary"),"bg-selected-pressed":Y("#80caff","#394360","--color-bg-selected-pressed"),"bg-brand":Y("#0d99ff","#0c8ce9","--color-bg-brand"),"bg-brand-hover":Y("#007be5","#0a6dc2","--color-bg-brand-hover"),"bg-brand-pressed":Y("#0768cf","#105cad","--color-bg-brand-pressed"),"bg-disabled":Y("#d9d9d9","#757575","--color-bg-disabled"),"bg-menu":Y("#1e1e1e","#1e1e1e","--color-bg-menu"),"bg-tooltip":Y("#1e1e1e","#1e1e1e","--color-bg-tooltip"),"bg-toolbar":Y("#2c2c2c","#2c2c2c","--color-bg-toolbar"),"bg-inverse":Y("#2c2c2c","#ffffff","--color-bg-inverse"),"bg-inverse-hover":Y("#383838","#f5f5f5","--color-bg-inverse-hover"),"bg-inverse-pressed":Y("#444444","#e6e6e6","--color-bg-inverse-pressed"),"bg-danger":Y("#f24822","#e03e1a","--color-bg-danger"),"bg-danger-hover":Y("#dc3412","#c4381c","--color-bg-danger-hover"),"bg-danger-pressed":Y("#bd2915","#963323","--color-bg-danger-pressed"),"bg-success":Y("#14ae5c","#198f51","--color-bg-success"),"bg-success-hover":Y("#009951","#078348","--color-bg-success-hover"),"bg-success-pressed":Y("#008043","#0a5c35","--color-bg-success-pressed"),"bg-warning":Y("#ffcd29","#f3c11b","--color-bg-warning"),"bg-component-tertiary":Y("#f1e5ff","#473956","--color-bg-component-tertiary"),"bg-mode-switcher":Y("#f5f5f5","#444444","--color-bgtoolbarmodeswitcher"),"bg-mode-switcher-hover":Y("#e6e6e6","#383838","--color-bgtoolbarmodeswitcher-hover"),"bg-info":Y("#e5f4ff","#394360","--color-bg-info"),text:Y("#000000e5","#ffffff","--color-text"),"text-secondary":Y("#00000080","#ffffffb2","--color-text-secondary"),"text-tertiary":Y("#0000004d","#ffffff66","--color-text-tertiary"),"text-disabled":Y("#0000004d","#ffffff66","--color-text-disabled"),"text-brand":Y("#007be5","#7cc4f8","--color-text-brand"),"text-onbrand":Y("#ffffff","#ffffff","--color-text-onbrand"),"text-onbrand-secondary":Y("#ffffffcc","#ffffffcc","--color-text-onbrand-secondary"),"text-ondisabled":Y("#ffffff","#2c2c2c","--color-text-ondisabled"),"text-oninverse":Y("#ffffffe5","#000000e5","--color-text-oninverse"),"text-component":Y("#8638e5","#d1a8ff","--color-text-component"),"text-danger":Y("#dc3412","#fca397","--color-text-danger"),"text-menu":Y("#ffffff","#ffffff","--color-text-menu"),"text-menu-secondary":Y("#ffffffb2","#ffffffb2","--color-text-menu-secondary"),"text-menu-disabled":Y("#ffffff66","#ffffff66","--color-text-menu-disabled"),icon:Y("#000000e5","#ffffff","--color-icon"),"icon-secondary":Y("#00000080","#ffffffb2","--color-icon-secondary"),"icon-tertiary":Y("#0000004d","#ffffff66","--color-icon-tertiary"),"icon-brand":Y("#007be5","#7cc4f8","--color-icon-brand"),"icon-disabled":Y("#0000004d","#ffffff66","--color-icon-disabled"),"icon-ondisabled":Y("#ffffff","#2c2c2c","--color-icon-ondisabled"),"icon-component-tertiary":Y("#c5b2dc","#7f699b","--color-icon-component-tertiary"),border:Y("#e6e6e6","#444444","--color-border"),"border-strong":Y("#2c2c2c","#ffffffe5","--color-border-strong"),"border-selected":Y("#0d99ff","#0c8ce9","--color-border-selected"),"border-selected-strong":Y("#007be5","#7cc4f8","--color-border-selected-strong"),"border-disabled":Y("#e6e6e6","#444444","--color-border-disabled"),"border-danger":Y("#ffc7c2","#864537","--color-border-danger"),"border-danger-strong":Y("#dc3412","#fca397","--color-border-danger-strong"),"border-translucent":Y("#0000001a","#ffffff1a","--color-bordertranslucent"),"border-translucent-strong":Y("#00000033","#ffffff33","--color-bordertranslucentstrong"),"control-icon-outline":Y("#0000001a","#0000001a","--color-controliconoutline"),"control-knob-off-outline":Y("#00000033","#00000033","--color-controlknoboffoutline"),"border-menu":Y("#383838","#383838","--color-border-menu"),scrollbar:Y("#b3b3b380","#b3b3b380","--color-scrollbar"),"text-highlight":Y("#0d99ff66","#0d99ff66","--color-texthighlight"),"modal-backdrop":Y("#00000080","#00000080","--color-modalbackdrop"),"field-edge":Y("transparent","transparent"),"field-edge-hover":Y("#e6e6e6","#444444"),"segment-edge":Y("#e6e6e6","#444444")},fe=e=>`var(--mantine-primary-color-${e})`,rt=(e,t,r)=>`color-mix(in srgb, ${e} ${t}%, ${r})`,Zi={"bg-brand":{light:fe(6),dark:fe(8)},"bg-brand-hover":{light:fe(7),dark:fe(9)},"bg-brand-pressed":{light:rt(fe(7),85,"#000000"),dark:rt(fe(9),85,"#000000")},"bg-selected":{light:fe(0),dark:rt(fe(8),25,"#2c2c2c")},"bg-selected-hover":{light:fe(1),dark:rt(fe(8),35,"#2c2c2c")},"bg-selected-secondary":{light:rt(fe(0),50,"#ffffff"),dark:rt(fe(8),15,"#2c2c2c")},"bg-selected-pressed":{light:fe(2),dark:rt(fe(8),25,"#2c2c2c")},"bg-info":{light:fe(0),dark:rt(fe(8),25,"#2c2c2c")},"text-brand":{light:fe(7),dark:fe(4)},"icon-brand":{light:fe(7),dark:fe(4)},"border-selected":{light:fe(6),dark:fe(8)},"border-selected-strong":{light:fe(7),dark:fe(4)},"text-highlight":{light:rt(fe(6),40,"transparent"),dark:rt(fe(6),40,"transparent")}},Qi={"text-secondary":{light:"#0000008c",dark:"#ffffffb2"},"icon-secondary":{light:"#0000008c",dark:"#ffffffb2"},"border-translucent-strong":{light:"#00000073",dark:"#ffffff59"},"field-edge":{light:"#00000073",dark:"#ffffff59"},"field-edge-hover":{light:"#000000a6",dark:"#ffffff80"},"segment-edge":{light:"#00000073",dark:"#ffffff73"},"text-tertiary":{light:"#0000008c",dark:"#ffffffb2"},"border-selected":{light:"#007be5",dark:"#0c8ce9"},"bg-brand":{light:"#0768cf",dark:"#0a6dc2"},"bg-brand-hover":{light:"#0768cf",dark:"#105cad"},"bg-brand-pressed":{light:"#105cad",dark:"#105cad"},"text-brand":{light:"#0768cf",dark:"#7cc4f8"},"icon-brand":{light:"#0768cf",dark:"#7cc4f8"},"bg-danger":{light:"#bd2915",dark:"#963323"},"bg-success":{light:"#008043",dark:"#0a5c35"}},Kn={100:{light:["0 0 .5px rgba(0,0,0,.3)","0 1px 3px rgba(0,0,0,.15)"],dark:["0 0 .5px rgba(0,0,0,.5)","0 1px 3px rgba(0,0,0,.4)","inset 0 .5px 0 rgba(255,255,255,.1)","inset 0 0 .5px rgba(255,255,255,.3)"]},200:{light:["0 0 .5px rgba(0,0,0,.18)","0 3px 8px rgba(0,0,0,.1)","0 1px 3px rgba(0,0,0,.1)"],dark:["0 3px 8px rgba(0,0,0,.35)","0 1px 3px rgba(0,0,0,.5)","inset 0 .5px 0 rgba(255,255,255,.08)","inset 0 0 .5px rgba(255,255,255,.3)"]},300:{light:["0 0 .5px rgba(0,0,0,.15)","0 5px 12px rgba(0,0,0,.13)","0 1px 3px rgba(0,0,0,.1)"],dark:["0 5px 12px rgba(0,0,0,.35)","0 1px 3px rgba(0,0,0,.5)","inset 0 .5px 0 rgba(255,255,255,.08)","inset 0 0 .5px rgba(255,255,255,.3)"]},400:{light:["0 0 .5px rgba(0,0,0,.12)","0 10px 16px rgba(0,0,0,.12)","0 2px 5px rgba(0,0,0,.15)"],dark:["0 10px 16px rgba(0,0,0,.35)","0 2px 5px rgba(0,0,0,.35)","inset 0 .5px 0 rgba(255,255,255,.08)","inset 0 0 .5px rgba(255,255,255,.35)"]},500:{light:["0 0 .5px rgba(0,0,0,.08)","0 10px 24px rgba(0,0,0,.18)","0 2px 5px rgba(0,0,0,.15)"],dark:["0 10px 24px rgba(0,0,0,.45)","0 3px 5px rgba(0,0,0,.35)","inset 0 .5px 0 rgba(255,255,255,.08)","inset 0 0 .5px rgba(255,255,255,.35)"]}},_i="0 1px 3px rgba(0,0,0,.4), inset 0 0 .5px rgba(255,255,255,.3), inset 0 .5px 0 rgba(255,255,255,.1), 0 0 .5px rgba(0,0,0,.5)",$i=/rgba\([^)]*\)/;function Xn(e){const{light:t,dark:r}=Kn[e],n=(a,s)=>a.replace($i,c=>s==="light"?`light-dark(${c}, transparent)`:`light-dark(transparent, ${c})`);return[...t.map(a=>n(a,"light")),...r.map(a=>n(a,"dark"))].join(", ")}const es={"duration-sm":"100ms","duration-md":"200ms","ease-out":"ease-out","ease-in-out":"cubic-bezier(.645,.045,.355,1)","ease-loading":"cubic-bezier(.65,0,.35,1)"},qo='"Inter Variable", "Inter", ui-sans-serif, system-ui, -apple-system, "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica Neue", sans-serif',Jn='"Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace',Ft={body:{fontSize:11,lineHeight:16,fontWeight:450,letterSpacing:"0.055px"},bodyStrong:{fontSize:11,lineHeight:16,fontWeight:550,letterSpacing:"0.055px"},headingSmall:{fontSize:13,lineHeight:22,fontWeight:550,letterSpacing:"-0.032px"},headingMedium:{fontSize:15,lineHeight:25,fontWeight:550,letterSpacing:"-0.075px"},captionStrong:{fontSize:9,lineHeight:14,fontWeight:500,letterSpacing:"0.27px"},caption:{fontSize:9,lineHeight:14,fontWeight:450,letterSpacing:"0.045px"},layerTop:{fontSize:11,lineHeight:32,fontWeight:600,letterSpacing:"0.055px"},layerNested:{fontSize:11,lineHeight:32,fontWeight:400,letterSpacing:"0.055px"},legend:{fontSize:11,lineHeight:16,fontWeight:400,letterSpacing:"normal"},largeRow:{fontSize:13,lineHeight:24,fontWeight:400,letterSpacing:"-0.003px"},sheet:{fontSize:12,lineHeight:16,fontWeight:400,letterSpacing:"normal"},keyCap:{fontSize:14,lineHeight:24,fontWeight:400,letterSpacing:"normal"}};function q(e){const t=Ft[e];return`font-size: ${t.fontSize}px; line-height: ${t.lineHeight}px; font-weight: ${t.fontWeight}; letter-spacing: ${t.letterSpacing};`}const ts={xs:"9px",sm:"11px",md:"13px",lg:"15px",xl:"24px"},os={xs:"14px",sm:"16px",md:"22px",lg:"25px",xl:"32px"},rs={xs:"4px",sm:"8px",md:"8px",lg:"12px",xl:"16px"},ns={xs:"2px",sm:"5px",md:"5px",lg:"13px",xl:"13px"},as={xs:"var(--cm-elevation-100)",sm:"var(--cm-elevation-200)",md:"var(--cm-elevation-300)",lg:"var(--cm-elevation-400)",xl:"var(--cm-elevation-500)"};function is(){const e=[];for(const[t,r]of Object.entries(Ji))e.push(`--cm-${t}: ${or(r)};`);for(const t of Object.keys(Kn))e.push(`--cm-elevation-${t}: ${Xn(t)};`);e.push(`--cm-elevation-toast: ${_i};`);for(const[t,r]of Object.entries(es))e.push(`--cm-${t}: ${r};`);return e.push(`--cm-font-family: ${qo};`,`--cm-font-family-mono: ${Jn};`),e.join(`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("@mantine/core"),u=require("react"),o=require("react/jsx-runtime"),ie=require("@mantine/hooks"),Lr=require("react-dom"),We=require("@tanstack/react-table"),Vn=require("@tanstack/react-virtual"),R={WIDTH:240,PAD_LEFT:16,PAD_RIGHT:8,CONTENT:216,BODY:184,FIELD:88,GUTTER:8,TRAIL_GAP:8,TRAIL:24,TRIPLE:184/3,TRIPLE_GAP:0,CONTROL_HEIGHT:24,ROW_PITCH:32,TOGGLE_PITCH:32,DATA_PITCH:32,SECTION_HEADER:40,SECTION_PAD_BOTTOM:12,GLYPH_SLOT:24,GLYPH:12,CHEVRON:10,VALUE_INSET:24,SPARKLINE_HEIGHT:32,HISTOGRAM_HEIGHT:64,LABEL_COLUMN:72,FIELD_ROW:48,CAPTION_ROW:50,LEGEND:16,POPOVER_WIDTH:240,POPOVER_HEADER:40},xe={VALUE:"var(--cm-text)",CHROME:"var(--cm-text-secondary)",PROSE:"var(--cm-text-secondary)",PLACEHOLDER:"var(--cm-text-tertiary)",DISABLED:"var(--cm-text-disabled)",SURFACE:"var(--cm-bg-secondary)",PANEL:"var(--cm-bg)",RAISED:"var(--cm-bg-pressed)",SELECTED:"var(--cm-bg-selected)",ON_SELECTED:"var(--cm-icon-brand)",BORDER:"var(--cm-border)",DIVIDER:"var(--cm-border)",ACCENT:"var(--cm-bg-brand)",ON_ACCENT:"var(--cm-text-onbrand)",WARNING:"var(--cm-bg-warning)",SUCCESS:"var(--cm-bg-success)",DANGER:"var(--cm-bg-danger)",HOVER:"var(--cm-bg-hover)",PRESSED:"var(--cm-bg-pressed)",TRANSPARENT_HOVER:"var(--cm-bg-transparent-hover)",TRANSPARENT_PRESSED:"var(--cm-bg-transparent-pressed)",SELECTED_HOVER:"var(--cm-bg-selected-hover)",SELECTED_SECONDARY:"var(--cm-bg-selected-secondary)",BRAND_TEXT:"var(--cm-text-brand)",TERTIARY:"var(--cm-icon-tertiary)",FOCUS:"var(--cm-border-selected)",TRANSLUCENT:"var(--cm-border-translucent)",TRANSLUCENT_STRONG:"var(--cm-border-translucent-strong)",MENU:"var(--cm-bg-menu)",ON_MENU:"var(--cm-text-menu)",ON_MENU_SECONDARY:"var(--cm-text-menu-secondary)",COMPONENT:"var(--cm-text-component)"},Gn=["#ffffff","#b3b3b3","#8c8c8c","#757575","#444444","#444444","#383838","#2c2c2c","#1e1e1e","#111111"],qn=["#e5f4ff","#bde3ff","#80caff","#4db5ff","#7cc4f8","#30a8ff","#0d99ff","#007be5","#0c8ce9","#0a6dc2"],Wn={...d.DEFAULT_THEME.colors,dark:Gn,brand:qn};function ci(){return o.jsxs("svg",{className:"cm-button-spinner",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",focusable:"false",children:[o.jsx("circle",{cx:"8",cy:"8",r:"5.25",stroke:"currentColor",strokeOpacity:"0.3",strokeWidth:"1.5"}),o.jsx("path",{d:"M8 2.75A5.25 5.25 0 0 1 13.25 8",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})]})}function li(){return o.jsx("svg",{className:"cm-close-glyph",viewBox:"0 0 10 10",fill:"none","aria-hidden":"true",focusable:"false",children:o.jsx("path",{d:"M0.5 0.5L9.5 9.5M9.5 0.5L0.5 9.5",stroke:"currentColor",strokeWidth:"1",vectorEffect:"non-scaling-stroke"})})}const di={compactSize:"sm",sizes:{xs:{"--button-height":"20px","--button-fz":"11px","--button-padding-x":"6px"},sm:{"--button-height":"24px","--button-fz":"11px","--button-padding-x":"8px"},md:{"--button-height":"32px","--button-fz":"11px","--button-padding-x":"12px"},lg:{"--button-height":"36px","--button-fz":"13px","--button-padding-x":"16px"},xl:{"--button-height":"44px","--button-fz":"15px","--button-padding-x":"20px"}}},ui={compactSize:"sm",sizes:{xs:{"--ai-size":"18px"},sm:{"--ai-size":"24px"},md:{"--ai-size":"32px","--cm-ai-padding":"0 4px"},lg:{"--ai-size":"36px"},xl:{"--ai-size":"44px"}}},mi={compactSize:"sm",sizes:{xs:{"--cb-size":"16px","--cb-icon-size":"10px"},sm:{"--cb-size":"24px","--cb-icon-size":"10px"},md:{"--cb-size":"32px","--cb-icon-size":"12px"},lg:{"--cb-size":"36px","--cb-icon-size":"14px"},xl:{"--cb-size":"44px","--cb-icon-size":"16px"}}},Ke="transparent",te=e=>`var(--cm-${e})`,Go={bg:Ke,hover:te("bg-transparent-hover"),pressed:te("bg-transparent-pressed"),color:te("text"),pressedColor:te("text"),outline:Ke,shortcut:te("text-secondary"),disabled:"text"},Pr={...Go,outline:te("border-translucent"),disabled:"outline"};function _t(e,t=te("text-onbrand"),r=te("text-onbrand-secondary")){return{bg:te(e),hover:te(`${e}-hover`),pressed:te(`${e}-pressed`),color:t,pressedColor:r,outline:Ke,shortcut:r,disabled:"solid"}}const pi=`light-dark(${te("text-onbrand-secondary")}, ${te("text-oninverse")})`,Mr={filled:_t("bg-brand"),danger:_t("bg-danger"),success:_t("bg-success"),inverse:{..._t("bg-inverse",te("text-oninverse"),pi)},default:Pr,outline:Pr,subtle:Go,"danger-outline":{...Go,color:te("text-danger"),pressedColor:te("text-danger"),outline:te("border-danger"),shortcut:te("text-danger"),disabled:"outline"},light:{bg:te("bg-selected"),hover:te("bg-selected-hover"),pressed:te("bg-selected-pressed"),color:te("text-brand"),pressedColor:te("text-brand"),outline:Ke,shortcut:te("text-brand"),disabled:"text"}},hi=new Set(["danger","danger-outline","inverse","success","default","outline","subtle"]);function Yn(e,t){return e==null||e===t||e==="brand"}function fi(e,t,r){const n=e??"filled";if(n==="filled"&&t==="red")return Mr.danger;const a=Mr[n];if(a)return hi.has(n)||Yn(t,r)?a:void 0}const bi={solid:{bg:te("bg-disabled"),color:te("text-ondisabled"),outline:Ke},outline:{bg:Ke,color:te("text-disabled"),outline:te("border-disabled")},text:{bg:Ke,color:te("text-disabled"),outline:Ke}};function xi(e,t,r){const n=fi(e,t,r);if(!n)return{};const a=bi[n.disabled];return{"--button-bg":n.bg,"--button-hover":n.hover,"--button-color":n.color,"--button-hover-color":"var(--button-color)","--button-bd":"none","--cm-btn-pressed":n.pressed,"--cm-btn-pressed-color":n.pressedColor,"--cm-btn-outline":n.outline,"--cm-btn-shortcut":n.shortcut,"--cm-btn-disabled-bg":a.bg,"--cm-btn-disabled-color":a.color,"--cm-btn-disabled-outline":a.outline}}const Or={bg:Ke,hover:te("bg-transparent-hover"),pressed:te("bg-transparent-pressed"),color:te("icon"),outline:Ke},gi={subtle:Or,default:{...Or,outline:te("border-translucent"),disabledOutline:te("border-disabled")},light:{bg:te("bg-selected"),hover:te("bg-selected-hover"),pressed:te("bg-selected-pressed"),color:te("icon-brand"),outline:Ke},filled:{bg:te("bg-brand"),hover:te("bg-brand-hover"),pressed:te("bg-brand-pressed"),color:te("text-onbrand"),outline:Ke,disabledBg:te("bg-disabled"),disabledColor:te("icon-ondisabled")},joined:{bg:te("bg-secondary"),hover:te("bg-pressed"),pressed:te("bg-pressed"),color:te("icon"),outline:Ke,disabledBg:te("bg-secondary")}},vi=new Set(["gray","dark"]);function wi(e,t,r){const n=e??"subtle",a=gi[n],s=n==="subtle"||n==="default"||n==="joined";return!a||!(Yn(t,r)||s&&vi.has(String(t)))?{}:{"--ai-bg":a.bg,"--ai-hover":a.hover,"--ai-color":a.color,"--ai-hover-color":"var(--ai-color)","--ai-bd":"none","--cm-ai-pressed":a.pressed,"--cm-ai-outline":a.outline,...a.disabledBg?{"--cm-ai-disabled-bg":a.disabledBg}:{},...a.disabledColor?{"--cm-ai-disabled-color":a.disabledColor}:{},...a.disabledOutline?{"--cm-ai-disabled-outline":a.disabledOutline}:{}}}function pe(e,t){const r=t==null?e.compactSize:String(t);return e.sizes[r]??e.sizes[e.compactSize]}const yi={Button:d.Button.extend({defaultProps:{size:"sm",loaderProps:{size:16,children:u.createElement(ci)}},classNames:{root:"cm-button",inner:"cm-button-inner",label:"cm-button-label",section:"cm-button-section",loader:"cm-button-loader"},vars:(e,t)=>({root:{...pe(di,t==null?void 0:t.size),...xi(t==null?void 0:t.variant,t==null?void 0:t.color,e==null?void 0:e.primaryColor)}})}),ActionIcon:d.ActionIcon.extend({defaultProps:{size:"sm",variant:"subtle"},classNames:{root:"cm-action-icon",icon:"cm-action-icon-icon",loader:"cm-action-icon-loader"},vars:(e,t)=>({root:{...pe(ui,t==null?void 0:t.size),...wi(t==null?void 0:t.variant,t==null?void 0:t.color,e==null?void 0:e.primaryColor)}})}),ActionIconGroup:d.ActionIconGroup.extend({classNames:{group:"cm-ai-group"}}),CloseButton:d.CloseButton.extend({defaultProps:{size:"sm",icon:u.createElement(li)},classNames:{root:"cm-close-button"},vars:(e,t)=>({root:pe(mi,t==null?void 0:t.size)})})},ki=Object.freeze(Object.defineProperty({__proto__:null,buttonComponentExtensions:yi},Symbol.toStringTag,{value:"Module"})),Dr={slider:"cm-color-slider",sliderOverlay:"cm-color-slider-track",thumb:"cm-color-thumb"};function Si(e){const t=e.variant==="field",r={};return(t||e.size===void 0)&&(r["--cs-size"]=t?"14px":"16px"),(t||e.radius===void 0)&&(r["--cs-radius"]=t?"2px":"20%"),r}const ji={ColorSwatch:d.ColorSwatch.extend({classNames:{root:"cm-chit",alphaOverlay:"cm-chit-alpha",shadowOverlay:"cm-chit-shadow"},vars:(e,t)=>({root:Si(t)})}),HueSlider:{defaultProps:{classNames:Dr}},AlphaSlider:{defaultProps:{classNames:Dr}}},Ti=Object.freeze(Object.defineProperty({__proto__:null,colorComponentExtensions:ji},Symbol.toStringTag,{value:"Module"})),Br="M5 8.5L7.5 11L11.5 5",Ci="M5 8H11",Ai="M5 8H10.5";function Ei({indeterminate:e,...t}){const r=e===!0,n=r?Ci:Br,a=r?"crispEdges":"geometricPrecision";return o.jsxs("svg",{viewBox:"0 0 16 16",fill:"none","aria-hidden":"true","data-glyph":r?"dash":"check",...t,children:[o.jsx("path",{className:"cm-checkbox-halo",d:n,pathLength:12,strokeLinecap:"round",strokeLinejoin:"round",shapeRendering:a}),o.jsx("path",{className:"cm-checkbox-glyph",d:r?Ai:Br,pathLength:12,strokeLinecap:"round",strokeLinejoin:"round",shapeRendering:a})]})}const lo=new WeakSet;function Ni(e){const t=e.currentTarget;lo.delete(t),!(e.button!==0||t.matches(":disabled, [data-disabled]"))&&(t.click(),lo.add(t))}function Ii(e){lo.delete(e.currentTarget)&&e.stopPropagation()}function Fr(e){lo.delete(e.currentTarget)}const uo=new WeakMap;function zi(e){const t=e.currentTarget;if(uo.delete(t),e.button!==0||!(e.target instanceof Element))return;const r=e.target.closest("label"),n=r==null?void 0:r.htmlFor;if(!n)return;const a=t.ownerDocument.getElementById(n);a instanceof HTMLInputElement&&a.type==="radio"&&!a.disabled&&!a.checked&&(a.click(),uo.set(t,r))}function Ri(e){const t=uo.get(e.currentTarget);uo.delete(e.currentTarget),t&&e.target instanceof Node&&t.contains(e.target)&&e.preventDefault()}const Li={compactSize:"sm",sizes:{xs:{"--switch-height":"12px","--switch-width":"24px","--switch-thumb-size":"6px","--switch-track-label-padding":"2px","--switch-label-font-size":"4px"},sm:{"--switch-height":"16px","--switch-width":"32px","--switch-thumb-size":"8px","--switch-track-label-padding":"2px","--switch-label-font-size":"5px"},md:{"--switch-height":"20px","--switch-width":"40px","--switch-thumb-size":"10px","--switch-track-label-padding":"3px","--switch-label-font-size":"7px"},lg:{"--switch-height":"24px","--switch-width":"48px","--switch-thumb-size":"12px","--switch-track-label-padding":"3px","--switch-label-font-size":"9px"},xl:{"--switch-height":"28px","--switch-width":"56px","--switch-thumb-size":"14px","--switch-track-label-padding":"4px","--switch-label-font-size":"11px"}}},Pi={compactSize:"sm",sizes:{xs:{"--checkbox-size":"12px"},sm:{"--checkbox-size":"16px"},md:{"--checkbox-size":"20px"},lg:{"--checkbox-size":"24px"},xl:{"--checkbox-size":"28px"}}},Mi={compactSize:"sm",sizes:{xs:{"--radio-size":"12px","--radio-icon-size":"4px"},sm:{"--radio-size":"16px","--radio-icon-size":"6px"},md:{"--radio-size":"20px","--radio-icon-size":"8px"},lg:{"--radio-size":"24px","--radio-icon-size":"10px"},xl:{"--radio-size":"28px","--radio-icon-size":"12px"}}},Hr={compactSize:"sm",sizes:{xs:{"--slider-size":"6px","--slider-thumb-size":"10px"},sm:{"--slider-size":"8px","--slider-thumb-size":"12px"},md:{"--slider-size":"10px","--slider-thumb-size":"16px"},lg:{"--slider-size":"12px","--slider-thumb-size":"20px"},xl:{"--slider-size":"16px","--slider-thumb-size":"24px"}}},Oi={compactSize:"sm",sizes:{xs:{"--sc-font-size":"9px","--sc-padding":"0 6px"},sm:{"--sc-font-size":"11px","--sc-padding":"0 8px"},md:{"--sc-font-size":"13px","--sc-padding":"0 10px"},lg:{"--sc-font-size":"15px","--sc-padding":"0 12px"},xl:{"--sc-font-size":"17px","--sc-padding":"0 16px"}}},Di={root:"cm-checkbox",body:"cm-checkbox-body",inner:"cm-checkbox-inner",input:"cm-checkbox-input",icon:"cm-checkbox-icon",label:"cm-checkbox-label",description:"cm-control-description",error:"cm-control-error"},Bi={root:"cm-radio",body:"cm-radio-body",inner:"cm-radio-inner",radio:"cm-radio-input",icon:"cm-radio-icon",label:"cm-radio-label",description:"cm-control-description",error:"cm-control-error"},Fi={root:"cm-switch",body:"cm-switch-body",input:"cm-switch-input",track:"cm-switch-track cm-focus-switch",thumb:"cm-switch-thumb",label:"cm-switch-label",description:"cm-control-description",error:"cm-control-error"},Ur={root:"cm-slider",track:"cm-slider-track",bar:"cm-slider-bar",thumb:"cm-slider-thumb",mark:"cm-slider-mark",markLabel:"cm-slider-mark-label"},Hi={root:"cm-sc",control:"cm-sc-control",input:"cm-sc-input",label:"cm-sc-label",innerLabel:"cm-sc-inner",indicator:"cm-sc-indicator"},Ui={SegmentedControl:d.SegmentedControl.extend({defaultProps:{size:"sm",withItemsBorders:!1,transitionDuration:0,onMouseDown:zi,onClickCapture:Ri},vars:(e,t)=>({root:pe(Oi,t==null?void 0:t.size)}),classNames:Hi}),Checkbox:d.Checkbox.extend({defaultProps:{size:"sm",icon:Ei},vars:(e,t)=>({root:pe(Pi,t==null?void 0:t.size)}),classNames:Di}),Switch:d.Switch.extend({defaultProps:{size:"sm",withThumbIndicator:!1},vars:(e,t)=>({root:pe(Li,t==null?void 0:t.size)}),classNames:Fi}),Slider:d.Slider.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:pe(Hr,t==null?void 0:t.size)}),classNames:Ur}),Radio:d.Radio.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:pe(Mi,t==null?void 0:t.size)}),classNames:Bi}),RangeSlider:d.RangeSlider.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:pe(Hr,t==null?void 0:t.size)}),classNames:Ur})},Vi=Object.freeze(Object.defineProperty({__proto__:null,controlComponentExtensions:Ui},Symbol.toStringTag,{value:"Module"})),Gi={compactSize:"sm",sizes:{xs:{"--badge-height":"14px","--badge-fz":"9px","--badge-padding-x":"3px","--badge-lh":"14px"},sm:{"--badge-height":"16px","--badge-fz":"11px","--badge-padding-x":"4px","--badge-lh":"16px"},md:{"--badge-height":"20px","--badge-fz":"11px","--badge-padding-x":"6px","--badge-lh":"20px"},lg:{"--badge-height":"24px","--badge-fz":"13px","--badge-padding-x":"8px","--badge-lh":"24px"},xl:{"--badge-height":"28px","--badge-fz":"15px","--badge-padding-x":"10px","--badge-lh":"28px"}}},qi={compactSize:"sm",sizes:{xs:{"--avatar-size":"16px"},sm:{"--avatar-size":"24px"},md:{"--avatar-size":"32px"},lg:{"--avatar-size":"40px"},xl:{"--avatar-size":"48px"}}},Wi={compactSize:"sm",sizes:{xs:{"--ti-size":"16px"},sm:{"--ti-size":"24px"},md:{"--ti-size":"32px"},lg:{"--ti-size":"40px"},xl:{"--ti-size":"48px"}}},Yi={compactSize:"sm",sizes:{xs:{"--indicator-size":"7px"},sm:{"--indicator-size":"9px"},md:{"--indicator-size":"11px"},lg:{"--indicator-size":"13px"},xl:{"--indicator-size":"15px"}}},Ki={compactSize:"sm",sizes:{xs:{"--kbd-fz":"9px","--kbd-lh":"14px","--kbd-height":"21px","--kbd-min-width":"22px"},sm:{"--kbd-fz":"11px","--kbd-lh":"16px","--kbd-height":"25px","--kbd-min-width":"26px"},md:{"--kbd-fz":"14px","--kbd-lh":"24px","--kbd-height":"31px","--kbd-min-width":"32px"},lg:{"--kbd-fz":"16px","--kbd-lh":"26px","--kbd-height":"35px","--kbd-min-width":"36px"},xl:{"--kbd-fz":"20px","--kbd-lh":"30px","--kbd-height":"41px","--kbd-min-width":"42px"}}},Xi={compactSize:"sm",sizes:{xs:{"--pill-height":"16px","--pill-fz":"9px"},sm:{"--pill-height":"20px","--pill-fz":"11px"},md:{"--pill-height":"24px","--pill-fz":"13px"},lg:{"--pill-height":"28px","--pill-fz":"15px"},xl:{"--pill-height":"32px","--pill-fz":"16px"}}};function q(e,t,r){return{light:e,dark:t,figma:r}}const Ji={bg:q("#ffffff","#2c2c2c","--color-bg"),"bg-secondary":q("#f5f5f5","#383838","--color-bg-secondary"),"bg-hover":q("#f5f5f5","#383838","--color-bg-hover"),"bg-pressed":q("#e6e6e6","#444444","--color-bg-pressed"),"bg-tertiary":q("#e6e6e6","#444444","--color-bg-tertiary"),"bg-secondary-hover":q("#e6e6e6","#444444","--color-bg-secondary-hover"),"bg-secondary-pressed":q("#d9d9d9","#757575","--color-bg-secondary-pressed"),"bg-transparent-hover":q("#0000000d","#ffffff0d","--color-bg-transparent-hover"),"bg-transparent-pressed":q("#0000001a","#ffffff1a","--color-bg-transparent-pressed"),"bg-selected":q("#e5f4ff","#394360","--color-bg-selected"),"bg-selected-hover":q("#bde3ff","#4a5878","--color-bg-selected-hover"),"bg-selected-secondary":q("#f2f9ff","#32394d","--color-bg-selected-secondary"),"bg-selected-pressed":q("#80caff","#394360","--color-bg-selected-pressed"),"bg-brand":q("#0d99ff","#0c8ce9","--color-bg-brand"),"bg-brand-hover":q("#007be5","#0a6dc2","--color-bg-brand-hover"),"bg-brand-pressed":q("#0768cf","#105cad","--color-bg-brand-pressed"),"bg-disabled":q("#d9d9d9","#757575","--color-bg-disabled"),"bg-menu":q("#1e1e1e","#1e1e1e","--color-bg-menu"),"bg-tooltip":q("#1e1e1e","#1e1e1e","--color-bg-tooltip"),"bg-toolbar":q("#2c2c2c","#2c2c2c","--color-bg-toolbar"),"bg-inverse":q("#2c2c2c","#ffffff","--color-bg-inverse"),"bg-inverse-hover":q("#383838","#f5f5f5","--color-bg-inverse-hover"),"bg-inverse-pressed":q("#444444","#e6e6e6","--color-bg-inverse-pressed"),"bg-danger":q("#f24822","#e03e1a","--color-bg-danger"),"bg-danger-hover":q("#dc3412","#c4381c","--color-bg-danger-hover"),"bg-danger-pressed":q("#bd2915","#963323","--color-bg-danger-pressed"),"bg-success":q("#14ae5c","#198f51","--color-bg-success"),"bg-success-hover":q("#009951","#078348","--color-bg-success-hover"),"bg-success-pressed":q("#008043","#0a5c35","--color-bg-success-pressed"),"bg-warning":q("#ffcd29","#f3c11b","--color-bg-warning"),"bg-component-tertiary":q("#f1e5ff","#473956","--color-bg-component-tertiary"),"bg-mode-switcher":q("#f5f5f5","#444444","--color-bgtoolbarmodeswitcher"),"bg-mode-switcher-hover":q("#e6e6e6","#383838","--color-bgtoolbarmodeswitcher-hover"),"bg-info":q("#e5f4ff","#394360","--color-bg-info"),text:q("#000000e5","#ffffff","--color-text"),"text-secondary":q("#00000080","#ffffffb2","--color-text-secondary"),"text-tertiary":q("#0000004d","#ffffff66","--color-text-tertiary"),"text-disabled":q("#0000004d","#ffffff66","--color-text-disabled"),"text-brand":q("#007be5","#7cc4f8","--color-text-brand"),"text-onbrand":q("#ffffff","#ffffff","--color-text-onbrand"),"text-onbrand-secondary":q("#ffffffcc","#ffffffcc","--color-text-onbrand-secondary"),"text-ondisabled":q("#ffffff","#2c2c2c","--color-text-ondisabled"),"text-oninverse":q("#ffffffe5","#000000e5","--color-text-oninverse"),"text-component":q("#8638e5","#d1a8ff","--color-text-component"),"text-danger":q("#dc3412","#fca397","--color-text-danger"),"text-menu":q("#ffffff","#ffffff","--color-text-menu"),"text-menu-secondary":q("#ffffffb2","#ffffffb2","--color-text-menu-secondary"),"text-menu-disabled":q("#ffffff66","#ffffff66","--color-text-menu-disabled"),icon:q("#000000e5","#ffffff","--color-icon"),"icon-secondary":q("#00000080","#ffffffb2","--color-icon-secondary"),"icon-tertiary":q("#0000004d","#ffffff66","--color-icon-tertiary"),"icon-brand":q("#007be5","#7cc4f8","--color-icon-brand"),"icon-disabled":q("#0000004d","#ffffff66","--color-icon-disabled"),"icon-ondisabled":q("#ffffff","#2c2c2c","--color-icon-ondisabled"),"icon-component-tertiary":q("#c5b2dc","#7f699b","--color-icon-component-tertiary"),border:q("#e6e6e6","#444444","--color-border"),"border-strong":q("#2c2c2c","#ffffffe5","--color-border-strong"),"border-selected":q("#0d99ff","#0c8ce9","--color-border-selected"),"border-selected-strong":q("#007be5","#7cc4f8","--color-border-selected-strong"),"border-disabled":q("#e6e6e6","#444444","--color-border-disabled"),"border-danger":q("#ffc7c2","#864537","--color-border-danger"),"border-danger-strong":q("#dc3412","#fca397","--color-border-danger-strong"),"border-translucent":q("#0000001a","#ffffff1a","--color-bordertranslucent"),"border-translucent-strong":q("#00000033","#ffffff33","--color-bordertranslucentstrong"),"control-icon-outline":q("#0000001a","#0000001a","--color-controliconoutline"),"control-knob-off-outline":q("#00000033","#00000033","--color-controlknoboffoutline"),"border-menu":q("#383838","#383838","--color-border-menu"),scrollbar:q("#b3b3b380","#b3b3b380","--color-scrollbar"),"text-highlight":q("#0d99ff66","#0d99ff66","--color-texthighlight"),"modal-backdrop":q("#00000080","#00000080","--color-modalbackdrop"),"field-edge":q("transparent","transparent"),"field-edge-hover":q("#e6e6e6","#444444"),"segment-edge":q("#e6e6e6","#444444")},fe=e=>`var(--mantine-primary-color-${e})`,rt=(e,t,r)=>`color-mix(in srgb, ${e} ${t}%, ${r})`,Zi={"bg-brand":{light:fe(6),dark:fe(8)},"bg-brand-hover":{light:fe(7),dark:fe(9)},"bg-brand-pressed":{light:rt(fe(7),85,"#000000"),dark:rt(fe(9),85,"#000000")},"bg-selected":{light:fe(0),dark:rt(fe(8),25,"#2c2c2c")},"bg-selected-hover":{light:fe(1),dark:rt(fe(8),35,"#2c2c2c")},"bg-selected-secondary":{light:rt(fe(0),50,"#ffffff"),dark:rt(fe(8),15,"#2c2c2c")},"bg-selected-pressed":{light:fe(2),dark:rt(fe(8),25,"#2c2c2c")},"bg-info":{light:fe(0),dark:rt(fe(8),25,"#2c2c2c")},"text-brand":{light:fe(7),dark:fe(4)},"icon-brand":{light:fe(7),dark:fe(4)},"border-selected":{light:fe(6),dark:fe(8)},"border-selected-strong":{light:fe(7),dark:fe(4)},"text-highlight":{light:rt(fe(6),40,"transparent"),dark:rt(fe(6),40,"transparent")}},Qi={"text-secondary":{light:"#0000008c",dark:"#ffffffb2"},"icon-secondary":{light:"#0000008c",dark:"#ffffffb2"},"border-translucent-strong":{light:"#00000073",dark:"#ffffff59"},"field-edge":{light:"#00000073",dark:"#ffffff59"},"field-edge-hover":{light:"#000000a6",dark:"#ffffff80"},"segment-edge":{light:"#00000073",dark:"#ffffff73"},"text-tertiary":{light:"#0000008c",dark:"#ffffffb2"},"border-selected":{light:"#007be5",dark:"#0c8ce9"},"bg-brand":{light:"#0768cf",dark:"#0a6dc2"},"bg-brand-hover":{light:"#0768cf",dark:"#105cad"},"bg-brand-pressed":{light:"#105cad",dark:"#105cad"},"text-brand":{light:"#0768cf",dark:"#7cc4f8"},"icon-brand":{light:"#0768cf",dark:"#7cc4f8"},"bg-danger":{light:"#bd2915",dark:"#963323"},"bg-success":{light:"#008043",dark:"#0a5c35"}},Kn={100:{light:["0 0 .5px rgba(0,0,0,.3)","0 1px 3px rgba(0,0,0,.15)"],dark:["0 0 .5px rgba(0,0,0,.5)","0 1px 3px rgba(0,0,0,.4)","inset 0 .5px 0 rgba(255,255,255,.1)","inset 0 0 .5px rgba(255,255,255,.3)"]},200:{light:["0 0 .5px rgba(0,0,0,.18)","0 3px 8px rgba(0,0,0,.1)","0 1px 3px rgba(0,0,0,.1)"],dark:["0 3px 8px rgba(0,0,0,.35)","0 1px 3px rgba(0,0,0,.5)","inset 0 .5px 0 rgba(255,255,255,.08)","inset 0 0 .5px rgba(255,255,255,.3)"]},300:{light:["0 0 .5px rgba(0,0,0,.15)","0 5px 12px rgba(0,0,0,.13)","0 1px 3px rgba(0,0,0,.1)"],dark:["0 5px 12px rgba(0,0,0,.35)","0 1px 3px rgba(0,0,0,.5)","inset 0 .5px 0 rgba(255,255,255,.08)","inset 0 0 .5px rgba(255,255,255,.3)"]},400:{light:["0 0 .5px rgba(0,0,0,.12)","0 10px 16px rgba(0,0,0,.12)","0 2px 5px rgba(0,0,0,.15)"],dark:["0 10px 16px rgba(0,0,0,.35)","0 2px 5px rgba(0,0,0,.35)","inset 0 .5px 0 rgba(255,255,255,.08)","inset 0 0 .5px rgba(255,255,255,.35)"]},500:{light:["0 0 .5px rgba(0,0,0,.08)","0 10px 24px rgba(0,0,0,.18)","0 2px 5px rgba(0,0,0,.15)"],dark:["0 10px 24px rgba(0,0,0,.45)","0 3px 5px rgba(0,0,0,.35)","inset 0 .5px 0 rgba(255,255,255,.08)","inset 0 0 .5px rgba(255,255,255,.35)"]}},_i="0 1px 3px rgba(0,0,0,.4), inset 0 0 .5px rgba(255,255,255,.3), inset 0 .5px 0 rgba(255,255,255,.1), 0 0 .5px rgba(0,0,0,.5)",$i=/rgba\([^)]*\)/;function Xn(e){const{light:t,dark:r}=Kn[e],n=(a,s)=>a.replace($i,c=>s==="light"?`light-dark(${c}, transparent)`:`light-dark(transparent, ${c})`);return[...t.map(a=>n(a,"light")),...r.map(a=>n(a,"dark"))].join(", ")}const es={"duration-sm":"100ms","duration-md":"200ms","ease-out":"ease-out","ease-in-out":"cubic-bezier(.645,.045,.355,1)","ease-loading":"cubic-bezier(.65,0,.35,1)"},qo='"Inter Variable", "Inter", ui-sans-serif, system-ui, -apple-system, "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica Neue", sans-serif',Jn='"Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace',Ft={body:{fontSize:11,lineHeight:16,fontWeight:450,letterSpacing:"0.055px"},bodyStrong:{fontSize:11,lineHeight:16,fontWeight:550,letterSpacing:"0.055px"},headingSmall:{fontSize:13,lineHeight:22,fontWeight:550,letterSpacing:"-0.032px"},headingMedium:{fontSize:15,lineHeight:25,fontWeight:550,letterSpacing:"-0.075px"},captionStrong:{fontSize:9,lineHeight:14,fontWeight:500,letterSpacing:"0.27px"},caption:{fontSize:9,lineHeight:14,fontWeight:450,letterSpacing:"0.045px"},layerTop:{fontSize:11,lineHeight:32,fontWeight:600,letterSpacing:"0.055px"},layerNested:{fontSize:11,lineHeight:32,fontWeight:400,letterSpacing:"0.055px"},legend:{fontSize:11,lineHeight:16,fontWeight:400,letterSpacing:"normal"},largeRow:{fontSize:13,lineHeight:24,fontWeight:400,letterSpacing:"-0.003px"},sheet:{fontSize:12,lineHeight:16,fontWeight:400,letterSpacing:"normal"},keyCap:{fontSize:14,lineHeight:24,fontWeight:400,letterSpacing:"normal"}};function V(e){const t=Ft[e];return`font-size: ${t.fontSize}px; line-height: ${t.lineHeight}px; font-weight: ${t.fontWeight}; letter-spacing: ${t.letterSpacing};`}const ts={xs:"9px",sm:"11px",md:"13px",lg:"15px",xl:"24px"},os={xs:"14px",sm:"16px",md:"22px",lg:"25px",xl:"32px"},rs={xs:"4px",sm:"8px",md:"8px",lg:"12px",xl:"16px"},ns={xs:"2px",sm:"5px",md:"5px",lg:"13px",xl:"13px"},as={xs:"var(--cm-elevation-100)",sm:"var(--cm-elevation-200)",md:"var(--cm-elevation-300)",lg:"var(--cm-elevation-400)",xl:"var(--cm-elevation-500)"};function is(){const e=[];for(const[t,r]of Object.entries(Ji))e.push(`--cm-${t}: ${or(r)};`);for(const t of Object.keys(Kn))e.push(`--cm-elevation-${t}: ${Xn(t)};`);e.push(`--cm-elevation-toast: ${_i};`);for(const[t,r]of Object.entries(es))e.push(`--cm-${t}: ${r};`);return e.push(`--cm-font-family: ${qo};`,`--cm-font-family-mono: ${Jn};`),e.join(`
2
2
  `)}function ss(){return Object.entries(Qi).map(([e,t])=>`--cm-${e}: ${or(t)};`).join(`
3
3
  `)}function cs(){return Object.entries(Zi).map(([e,t])=>`--cm-${e}: ${or(t)};`).join(`
4
- `)}function or({light:e,dark:t}){return e===t?e:`light-dark(${e}, ${t})`}const ls={outline:{"--badge-bg":"transparent","--badge-color":"var(--cm-text)"},filled:{"--badge-bg":"var(--cm-bg-brand)","--badge-color":"var(--cm-text-onbrand)"},light:{"--badge-bg":"var(--cm-bg-selected)","--badge-color":"var(--cm-text-brand)"}},ds={sm:{"--cm-text-fw":String(Ft.body.fontWeight),"--cm-text-ls":Ft.body.letterSpacing},xs:{"--cm-text-fw":String(Ft.caption.fontWeight),"--cm-text-ls":Ft.caption.letterSpacing}},us={filled:{"--ti-bg":"var(--cm-bg-brand)","--ti-color":"var(--cm-text-onbrand)"},light:{"--ti-bg":"var(--cm-bg-selected)","--ti-color":"var(--cm-icon-brand)"}},ms={Text:d.Text.extend({classNames:{root:"cm-text"},vars:(e,t)=>({root:ds[String(t==null?void 0:t.size)]??{}})}),Badge:d.Badge.extend({defaultProps:{size:"sm",variant:"outline"},classNames:{root:"cm-badge"},vars:(e,t)=>({root:{...pe(Gi,t==null?void 0:t.size),...(t==null?void 0:t.radius)===void 0?{"--badge-radius":"5px"}:{},...t!=null&&t.color?{}:{...ls[(t==null?void 0:t.variant)??"outline"],"--badge-bd":"0 solid transparent"}}})}),Pill:d.Pill.extend({defaultProps:{size:"sm",removeButtonProps:{"aria-label":"Remove",tabIndex:0,"aria-hidden":!1},attributes:{remove:{tabIndex:0,"aria-hidden":!1}}},classNames:{root:"cm-pill"},vars:(e,t)=>({root:{...pe(Xi,t==null?void 0:t.size),...(t==null?void 0:t.radius)===void 0?{"--pill-radius":"5px"}:{}}})}),Avatar:d.Avatar.extend({defaultProps:{size:"sm",variant:"filled"},classNames:{root:"cm-avatar",placeholder:"cm-avatar-placeholder"},vars:(e,t)=>({root:pe(qi,t==null?void 0:t.size)})}),AvatarGroup:d.Avatar.Group.extend({defaultProps:{spacing:"7px"}}),ThemeIcon:d.ThemeIcon.extend({defaultProps:{size:"sm"},classNames:{root:"cm-theme-icon"},vars:(e,t)=>({root:{...pe(Wi,t==null?void 0:t.size),...(t==null?void 0:t.radius)===void 0?{"--ti-radius":"5px"}:{},...t!=null&&t.color?{}:us[(t==null?void 0:t.variant)??"filled"]??{}}})}),Indicator:d.Indicator.extend({defaultProps:{size:"sm",withBorder:!0},classNames:{indicator:"cm-indicator"},vars:(e,t)=>({root:{...pe(Yi,t==null?void 0:t.size),...(t==null?void 0:t.radius)===void 0?{"--indicator-radius":"100%"}:{},...t!=null&&t.color?{}:{"--indicator-color":"var(--cm-bg-brand)"}}})}),Card:d.Card.extend({defaultProps:{padding:8,radius:"sm",withBorder:!0},classNames:{root:"cm-card"}}),Kbd:d.Kbd.extend({defaultProps:{size:"sm"},classNames:{root:"cm-kbd"},vars:(e,t)=>({root:pe(Ki,t==null?void 0:t.size)})})},ps=Object.freeze(Object.defineProperty({__proto__:null,displayComponentExtensions:ms},Symbol.toStringTag,{value:"Module"})),hs={compactSize:"sm",sizes:{xs:{"--loader-size":"14px"},sm:{"--loader-size":"16px"},md:{"--loader-size":"24px"},lg:{"--loader-size":"30px"},xl:{"--loader-size":"38px"}}},fs={compactSize:"sm",sizes:{xs:{"--progress-size":"2px"},sm:{"--progress-size":"4px"},md:{"--progress-size":"6px"},lg:{"--progress-size":"8px"},xl:{"--progress-size":"10px"}}},bs={label:{fontSize:9}},xs="9999px",gs={root:"cm-loader"},vs={root:"cm-progress",section:"cm-progress-section",label:"cm-progress-label"},ws={root:"cm-ring-progress",curve:"cm-ring-curve",label:"cm-ring-progress-label"},ys={Loader:d.Loader.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:pe(hs,t==null?void 0:t.size)}),classNames:gs}),Progress:d.Progress.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:{...pe(fs,t==null?void 0:t.size),...(t==null?void 0:t.radius)===void 0&&{"--progress-radius":xs}}}),styles:bs,classNames:vs}),RingProgress:d.RingProgress.extend({classNames:ws})},ks=Object.freeze(Object.defineProperty({__proto__:null,feedbackComponentExtensions:ys},Symbol.toStringTag,{value:"Module"})),Wo=1e3,Nt=1100,Ss=Nt+100,Zn=0,Qn=0,_n=["sizeSmallest","sizeLargest","width","opacity","attribute","scaleSqrt","scaleLinear","scaleLog"],$n=["N","E","W","D","K"],js=["chevronDown","chevronRight","chevronLeft","close","plus","minus","gear","warning","check","eye","refresh","copy","pin","keepOpen","info","reset","caretDown","caretRight","dash","eyeClosed","lock","unlock","search","settings","link","unlink","eyedropper","rotate","flipHorizontal","flipVertical","alignLeft","alignCenterH","alignRight","alignTop","alignCenterV","alignBottom","more","help","frame","rectangle","ellipse","text","component","group"],ea={viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"};function ta(e){return 16/e}const Be={fill:"currentColor",stroke:"none"},Ts={sizeSmallest:e=>o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"3",cy:"11.25",r:"1.75",...e?Be:{}}),o.jsx("circle",{cx:"10.25",cy:"9.25",r:"3.75",...e?Be:{}})]}),sizeLargest:e=>o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"2.5",cy:"12",r:"1",...e?Be:{}}),o.jsx("circle",{cx:"9.5",cy:"8.5",r:"4.5",...e?Be:{}})]}),width:e=>o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"2.5",y1:"8",x2:"13.5",y2:"8"}),o.jsx("polyline",{points:"5,5.5 2.5,8 5,10.5",...e?Be:{}}),o.jsx("polyline",{points:"11,5.5 13.5,8 11,10.5",...e?Be:{}})]}),opacity:e=>e?o.jsx("circle",{cx:"8",cy:"8",r:"5.5",...Be}):o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"8",cy:"8",r:"5.5"}),o.jsx("path",{d:"M8 2.5a5.5 5.5 0 0 1 0 11z",...Be})]}),attribute:e=>e?o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M2.5 7.2V3.5a1 1 0 0 1 1-1h3.7l6.3 6.3-4.7 4.7z",...Be}),o.jsx("circle",{cx:"5.5",cy:"5.5",r:"0.75",style:{fill:xe.SURFACE},stroke:"none"})]}):o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M2.5 7.2V3.5a1 1 0 0 1 1-1h3.7l6.3 6.3-4.7 4.7z"}),o.jsx("circle",{cx:"5.5",cy:"5.5",r:"1.5",...Be})]}),scaleSqrt:()=>o.jsx("path",{d:"M2.5 13.5C4.5 5 8 2.5 13.5 2.5"}),scaleLinear:()=>o.jsx("line",{x1:"2.5",y1:"13.5",x2:"13.5",y2:"2.5"}),scaleLog:()=>o.jsx("path",{d:"M2.5 13.5C8 13.5 11.5 11 13.5 2.5"})},Cs={chevronDown:o.jsx("polyline",{points:"4,6 8,10 12,6"}),chevronRight:o.jsx("polyline",{points:"6,4 10,8 6,12"}),chevronLeft:o.jsx("polyline",{points:"10,4 6,8 10,12"}),close:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"2.5",y1:"2.5",x2:"13.5",y2:"13.5"}),o.jsx("line",{x1:"13.5",y1:"2.5",x2:"2.5",y2:"13.5"})]}),plus:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"8",y1:"3",x2:"8",y2:"13"}),o.jsx("line",{x1:"3",y1:"8",x2:"13",y2:"8"})]}),minus:o.jsx("line",{x1:"3",y1:"8",x2:"13",y2:"8"}),gear:o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"8",cy:"8",r:"2.25"}),o.jsx("circle",{cx:"8",cy:"8",r:"4.75"}),o.jsx("path",{d:"M8 1.5v2M8 12.5v2M1.5 8h2M12.5 8h2M3.4 3.4l1.4 1.4M11.2 11.2l1.4 1.4M12.6 3.4l-1.4 1.4M4.8 11.2l-1.4 1.4"})]}),warning:o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M8 2.5l6 11H2z"}),o.jsx("line",{x1:"8",y1:"6.5",x2:"8",y2:"9.5"}),o.jsx("line",{x1:"8",y1:"11.5",x2:"8",y2:"11.75"})]}),check:o.jsx("polyline",{points:"3.5,8.5 6.5,11.75 12.5,3.25"}),eye:o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M1.5 8s2.5-4.5 6.5-4.5S14.5 8 14.5 8s-2.5 4.5-6.5 4.5S1.5 8 1.5 8z"}),o.jsx("circle",{cx:"8",cy:"8",r:"2"})]}),refresh:o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M2.5 8a5.5 5.5 0 1 0 1.6-3.9"}),o.jsx("polyline",{points:"2.5,2.5 2.5,6 6,6"})]}),copy:o.jsxs(o.Fragment,{children:[o.jsx("rect",{x:"5.5",y:"5.5",width:"8",height:"8",rx:"1"}),o.jsx("path",{d:"M10.5 5.5v-2a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2"})]}),pin:o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M6 2.5h4l-.5 3.5 2 2.5H4.5l2-2.5z"}),o.jsx("line",{x1:"8",y1:"8.5",x2:"8",y2:"13.5"})]}),keepOpen:o.jsxs(o.Fragment,{children:[o.jsx("rect",{x:"3.5",y:"7",width:"9",height:"6.5",rx:"1"}),o.jsx("path",{d:"M5.75 7V5.25a2.25 2.25 0 0 1 4.5 0V7"})]}),info:o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"8",cy:"8",r:"6.5"}),o.jsx("line",{x1:"8",y1:"7",x2:"8",y2:"11.5"}),o.jsx("line",{x1:"8",y1:"4.5",x2:"8",y2:"4.75"})]}),reset:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"4",y1:"4",x2:"12",y2:"12"}),o.jsx("line",{x1:"12",y1:"4",x2:"4",y2:"12"})]}),caretDown:o.jsx("path",{d:"M4 5.6h8L8 10.4z",...Be}),caretRight:o.jsx("path",{d:"M5.6 4v8L10.4 8z",...Be}),dash:o.jsx("rect",{x:"4",y:"7",width:"8",height:"2",...Be}),eyeClosed:o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M1.5 6.5s2.5 3.5 6.5 3.5 6.5-3.5 6.5-3.5"}),o.jsx("path",{d:"M4 9l-1.5 2M8 10v2.5M12 9l1.5 2"})]}),lock:o.jsxs(o.Fragment,{children:[o.jsx("rect",{x:"3.5",y:"7",width:"9",height:"6.5",rx:"1"}),o.jsx("path",{d:"M5.75 7V5.25a2.25 2.25 0 0 1 4.5 0V7"})]}),unlock:o.jsxs(o.Fragment,{children:[o.jsx("rect",{x:"3.5",y:"7",width:"9",height:"6.5",rx:"1"}),o.jsx("path",{d:"M5.75 7V5.25a2.25 2.25 0 0 1 4.4-.7"})]}),search:o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"7",cy:"7",r:"4.5"}),o.jsx("line",{x1:"10.5",y1:"10.5",x2:"13.5",y2:"13.5"})]}),settings:o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"8",cy:"8",r:"2.25"}),o.jsx("circle",{cx:"8",cy:"8",r:"4.75"}),o.jsx("path",{d:"M8 1.5v2M8 12.5v2M1.5 8h2M12.5 8h2M3.4 3.4l1.4 1.4M11.2 11.2l1.4 1.4M12.6 3.4l-1.4 1.4M4.8 11.2l-1.4 1.4"})]}),link:o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M6.5 5L8 3.5a2.5 2.5 0 0 1 3.5 3.5L10 8.5"}),o.jsx("path",{d:"M9.5 11L8 12.5A2.5 2.5 0 0 1 4.5 9L6 7.5"}),o.jsx("line",{x1:"6.5",y1:"9.5",x2:"9.5",y2:"6.5"})]}),unlink:o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M6.5 5L8 3.5a2.5 2.5 0 0 1 3.5 3.5L10 8.5"}),o.jsx("path",{d:"M9.5 11L8 12.5A2.5 2.5 0 0 1 4.5 9L6 7.5"}),o.jsx("path",{d:"M2.5 5.5h2M5.5 2.5v2M13.5 10.5h-2M10.5 13.5v-2"})]}),eyedropper:o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M10.5 2.5l3 3-1.5 1.5-3-3z"}),o.jsx("path",{d:"M9.5 5l1.5 1.5-6 6H3.5V11z"})]}),rotate:o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M13 8a5 5 0 1 1-1.5-3.5"}),o.jsx("polyline",{points:"12,1.5 12,4.5 9,4.5"})]}),flipHorizontal:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"8",y1:"2",x2:"8",y2:"14"}),o.jsx("path",{d:"M5.5 4.5L2.5 11.5h3z"}),o.jsx("path",{d:"M10.5 4.5l3 7h-3z"})]}),flipVertical:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"2",y1:"8",x2:"14",y2:"8"}),o.jsx("path",{d:"M4.5 5.5l7-3v3z"}),o.jsx("path",{d:"M4.5 10.5l7 3v-3z"})]}),alignLeft:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"2.5",y1:"2.5",x2:"2.5",y2:"13.5"}),o.jsx("rect",{x:"4.5",y:"4",width:"8",height:"3"}),o.jsx("rect",{x:"4.5",y:"9",width:"5",height:"3"})]}),alignCenterH:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"8",y1:"2.5",x2:"8",y2:"13.5"}),o.jsx("rect",{x:"3.5",y:"4",width:"9",height:"3"}),o.jsx("rect",{x:"5.5",y:"9",width:"5",height:"3"})]}),alignRight:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"13.5",y1:"2.5",x2:"13.5",y2:"13.5"}),o.jsx("rect",{x:"3.5",y:"4",width:"8",height:"3"}),o.jsx("rect",{x:"6.5",y:"9",width:"5",height:"3"})]}),alignTop:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"2.5",y1:"2.5",x2:"13.5",y2:"2.5"}),o.jsx("rect",{x:"4",y:"4.5",width:"3",height:"8"}),o.jsx("rect",{x:"9",y:"4.5",width:"3",height:"5"})]}),alignCenterV:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"2.5",y1:"8",x2:"13.5",y2:"8"}),o.jsx("rect",{x:"4",y:"3.5",width:"3",height:"9"}),o.jsx("rect",{x:"9",y:"5.5",width:"3",height:"5"})]}),alignBottom:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"2.5",y1:"13.5",x2:"13.5",y2:"13.5"}),o.jsx("rect",{x:"4",y:"3.5",width:"3",height:"8"}),o.jsx("rect",{x:"9",y:"6.5",width:"3",height:"5"})]}),more:o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"4",cy:"8",r:"1",...Be}),o.jsx("circle",{cx:"8",cy:"8",r:"1",...Be}),o.jsx("circle",{cx:"12",cy:"8",r:"1",...Be})]}),help:o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"8",cy:"8",r:"6.5"}),o.jsx("path",{d:"M6.25 6.25a1.75 1.75 0 1 1 2.5 1.6c-.5.25-.75.6-.75 1.15"}),o.jsx("line",{x1:"8",y1:"11.25",x2:"8",y2:"11.5"})]}),frame:o.jsx("path",{d:"M5.5 2v12M10.5 2v12M2 5.5h12M2 10.5h12"}),rectangle:o.jsx("rect",{x:"3",y:"3",width:"10",height:"10"}),ellipse:o.jsx("circle",{cx:"8",cy:"8",r:"5"}),text:o.jsx("path",{d:"M3.5 3.5h9M8 3.5v9"}),component:o.jsx("path",{d:"M8 2l2 2-2 2-2-2zM8 10l2 2-2 2-2-2zM2 8l2-2 2 2-2 2zM10 8l2-2 2 2-2 2z"}),group:o.jsx("rect",{x:"3",y:"3",width:"10",height:"10",strokeDasharray:"2 2"})};function St({name:e,filled:t=!1,size:r=R.GLYPH}){return o.jsx("svg",{width:r,height:r,...ea,strokeWidth:ta(r),"aria-hidden":"true",focusable:"false","data-glyph":e,"data-filled":t?"true":"false",style:{flex:"0 0 auto",display:"block"},children:Ts[e](t)})}function he({name:e,size:t=R.GLYPH}){return o.jsx("svg",{width:t,height:t,...ea,strokeWidth:ta(t),"aria-hidden":"true",focusable:"false","data-glyph":e,style:{flex:"0 0 auto",display:"block"},children:Cs[e]})}function rr(e){return typeof e=="string"&&_n.includes(e)}function nr(e){return typeof e=="string"&&$n.includes(e)}const oa=8,As=2*oa,mo=4,Vt=6;function bo(e){const{reference:t}=e.elements;return t instanceof Element?{anchor:(t.closest(".cm-input-wrapper")??t).getBoundingClientRect(),reference:t.getBoundingClientRect()}:null}function ra(e){const{floating:t}=e.elements,r=bo(e),n=getComputedStyle(t).direction==="rtl",a=t.querySelector("[data-checked]")??t.querySelector('[aria-selected="true"]');if(!r)return{mainAxis:mo,alignmentAxis:0};const{anchor:s,reference:c}=r,i=v=>n?c.right-s.right-v:s.left-v-c.left;if(!a)return t.style.maxHeight="",{mainAxis:s.bottom-c.bottom+mo,alignmentAxis:i(0)};const m=s.top-(a.getBoundingClientRect().top-t.getBoundingClientRect().top+t.scrollTop),l=t.ownerDocument.documentElement.clientHeight-Vt,p=s.top>=Vt&&s.bottom<=l,f=p?Math.max(m,Vt):m,b=Math.min(m+t.scrollHeight,l);return t.style.maxHeight=p?`${String(b-f)}px`:"",t.scrollTop=f-m,{mainAxis:f-c.bottom,alignmentAxis:i(oa)}}function na(e){var r;const t=((r=bo(e))==null?void 0:r.anchor.width)??e.rects.reference.width;e.elements.floating.style.minWidth=`${String(t+As)}px`}function aa(e){var r;const t=((r=bo(e))==null?void 0:r.anchor.width)??e.rects.reference.width;e.elements.floating.style.minWidth=`${String(t)}px`}function ia(e){const t=bo(e);if(!t)return{mainAxis:mo,alignmentAxis:0};const{anchor:r,reference:n}=t,a=getComputedStyle(e.elements.floating).direction==="rtl";return{mainAxis:r.bottom-n.bottom+mo,alignmentAxis:a?n.right-r.right:r.left-n.left}}const Es={fn:e=>({x:e.x,y:e.y})};function ar(){return{position:"bottom-start",offset:ra,middlewares:{flip:!1,shift:{crossAxis:!0,padding:Vt,limiter:Es},size:{apply:na}},width:"max-content",transitionProps:{duration:0},zIndex:Nt}}function Ns(){return{position:"bottom-start",offset:ia,middlewares:{flip:!0,shift:{padding:Vt},size:{apply:aa}},width:"max-content",transitionProps:{duration:0},zIndex:Nt}}function To(e){const{reference:t}=e.elements;return t instanceof Element&&t.closest(".cm-select")!==null}function Is(){const e=ar(),t=r=>{const n=!To(r);return{mainAxis:n,crossAxis:n}};return{...e,offset:(r=>To(r)?ra(r):ia(r)),middlewares:{...e.middlewares,flip:t,size:{apply:r=>{To(r)?na(r):aa(r)}}}}}const Vr="data-cm-modality";let Gr=!1;function qr(){if(Gr||typeof document>"u")return;Gr=!0;const e=document.documentElement,t=r=>n=>{n.isTrusted&&e.getAttribute(Vr)!==r&&e.setAttribute(Vr,r)};document.addEventListener("pointerdown",t("pointer"),!0),document.addEventListener("keydown",t("keyboard"),!0)}const zs=500;let Wr=!1;function Yr(e){if(!(e instanceof HTMLInputElement)||!e.readOnly||e.dataset.expanded===void 0||!e.closest(".cm-input-wrapper"))return null;const t=e.getAttribute("aria-controls");return t?e.ownerDocument.getElementById(t):null}function Co(e,t,r){const n=[...t.querySelectorAll("[data-combobox-option]")],a=n.indexOf(r),s=n.filter(i=>i.dataset.comboboxDisabled===void 0),c=n.indexOf(s[s.length-1]);for(let i=0;i<=n.length+1;i++){const m=n.findIndex(f=>f.dataset.comboboxSelected!==void 0);if(m===a)return;const p=(m===-1?a!==c:m<a)?"ArrowDown":"ArrowUp";e.dispatchEvent(new KeyboardEvent("keydown",{key:p,code:p,bubbles:!0}))}}function Rs(){if(Wr||typeof document>"u")return;Wr=!0;let e="",t=0,r=null;const n=s=>{const c=s.target;r=s.isTrusted&&c instanceof HTMLInputElement&&c.dataset.expanded===void 0?c:null},a=s=>{const c=s.target;!s.isTrusted||c!==r||(r=null,globalThis.setTimeout(()=>{const i=Yr(c);if(!i||!(c instanceof HTMLInputElement)||c.hasAttribute("aria-activedescendant"))return;const m=i.querySelector("[data-combobox-option][data-combobox-active]");if(!m||m.dataset.comboboxDisabled!==void 0)return;const l=i.closest(".cm-listbox")??i,p=l.scrollTop;Co(c,i,m),l.scrollTop=p},0))};document.addEventListener("keydown",n,!0),document.addEventListener("click",n,!0),document.addEventListener("keydown",a),document.addEventListener("click",a),document.addEventListener("keydown",s=>{const c=Yr(s.target),i=s.target;if(!c||s.ctrlKey||s.metaKey||s.altKey)return;const m=[...c.querySelectorAll("[data-combobox-option]")].filter(w=>w.dataset.comboboxDisabled===void 0);if(m.length===0)return;if(s.key==="Home"||s.key==="End"){s.preventDefault(),Co(i,c,s.key==="Home"?m[0]:m[m.length-1]);return}if(s.key.length!==1||s.key===" ")return;s.preventDefault();const l=s.timeStamp;e=l-t>zs?s.key:e+s.key,t=l;const p=m.findIndex(w=>w.dataset.comboboxSelected!==void 0),f=e.length>1&&e===e[0].repeat(e.length),b=(f?e[0]:e).toLocaleLowerCase(),v=e.length===1||f?p+1:Math.max(p,0),S=m.length;for(let w=0;w<S;w++){const A=m[(v+w)%S];if((A.textContent??"").trim().toLocaleLowerCase().startsWith(b)){Co(i,c,A);return}}},!0)}function sa(){return o.jsx("span",{className:"cm-menu-row-check","aria-hidden":"true",children:o.jsx(he,{name:"check",size:16})})}function ca({option:e}){return o.jsxs(o.Fragment,{children:[o.jsx(sa,{}),o.jsx("span",{className:"cm-listbox-label",children:e.label??e.value})]})}function ir(){return o.jsx("span",{className:"cm-field-caret","aria-hidden":"true",children:o.jsx(he,{name:"caretDown",size:10})})}const Ls={"--menu-item-fz":"11px"},Ps={dropdown:"cm-menu-surface cm-menu",item:"cm-menu-row cm-menu-item",itemLabel:"cm-menu-item-label",itemSection:"cm-menu-item-section",label:"cm-menu-label",divider:"cm-menu-divider"},po=6;function Ms({availableHeight:e,elements:t}){t.floating.style.maxHeight=`${Math.max(0,Math.floor(e))}px`}const Os={flip:!0,shift:{padding:po},size:{padding:po,apply:Ms}},Ds={mainAxis:4,alignmentAxis:-8},At={duration:0},Yo=1e3,ho=300,la=8.5,da=6,Bs=da-la/2,Fs={tooltip:"cm-tooltip",arrow:"cm-tooltip-arrow"},Kr={dropdown:"cm-popover-surface cm-popover",arrow:"cm-popover-arrow"},Hs={root:"cm-modal",overlay:"cm-modal-overlay",content:"cm-modal-content",header:"cm-modal-header",title:"cm-modal-title",close:"cm-modal-close",body:"cm-modal-body"},Us={root:"cm-toast",icon:"cm-toast-icon",body:"cm-toast-body",title:"cm-toast-title",description:"cm-toast-description",closeButton:"cm-toast-close"},Vs={root:"cm-scroll-root",viewport:"cm-scroll-viewport",scrollbar:"cm-scroll-scrollbar",thumb:"cm-scroll-thumb",corner:"cm-scroll-corner"},Gs=10,qs=new Set(["Shift","Control","Alt","AltGraph","Meta","CapsLock","Fn","OS"]),Ws=new Set(["cm-overlay-mount","cm-tooltip-mount"]),Xr=24,Ys=4;let Jr=!1,Ko=0,Xo=0;function ua(e){return Array.from(document.querySelectorAll(".cm-tooltip")).some(t=>t!==e&&t.dataset.cmSeen!==void 0&&t.dataset.cmHeld===void 0&&t.dataset.cmDismissed===void 0)}function ma(e){return e.id?document.querySelector(`[aria-describedby~="${CSS.escape(e.id)}"]`):null}function $t(){ua()&&(Ko=performance.now()+ho);for(const e of document.querySelectorAll(".cm-tooltip")){const t=ma(e);t&&(t.matches(":hover")||t===document.activeElement)&&(e.dataset.cmDismissed="")}}function Ks(e){const t=ma(e);return!t||t!==document.activeElement||t.matches(":hover")?!1:!(Xo>=Ko-ho&&Xo<Ko)&&!ua(e)}function Xs(e){Ks(e)&&(e.dataset.cmHeld="",globalThis.setTimeout(()=>{delete e.dataset.cmHeld},Yo)),e.dataset.cmSeen=""}function Js(e){return Array.from(e.querySelectorAll('[role^="menuitem"]')).filter(t=>t.closest(".cm-menu")===e&&t.dataset.disabled===void 0&&t.getAttribute("aria-disabled")!=="true")}function Zs(e){var s;if(e.defaultPrevented||e.ctrlKey||e.metaKey||e.altKey||e.key.length!==1||e.key===" ")return;const t=e.target instanceof Element?e.target.closest(".cm-menu"):null;if(!t)return;const r=Js(t),n=r.indexOf(e.target),a=e.key.toLowerCase();for(let c=1;c<=r.length;c++){const i=r[(n+c+r.length)%r.length];if((((s=(i.querySelector(".cm-menu-item-label")??i).textContent)==null?void 0:s.trim().toLowerCase())??"").startsWith(a)){e.preventDefault(),i.focus();return}}}function Jo(e){const t=e.scrollTop>0,r=e.scrollTop+e.clientHeight<e.scrollHeight-1;e.toggleAttribute("data-cm-scroll-up",t),e.toggleAttribute("data-cm-scroll-down",r)}const It=typeof ResizeObserver>"u"?null:new ResizeObserver(e=>{for(const{target:t}of e)t.isConnected?Jo(t):It==null||It.unobserve(t)});let at=null;function sr(){at&&(cancelAnimationFrame(at.frame),at=null)}function Zr(e,t){if((at==null?void 0:at.menu)===e&&at.direction===t)return;sr();const r=()=>{at&&(e.scrollTop+=t*Ys,at.frame=requestAnimationFrame(r))};at={menu:e,direction:t,frame:requestAnimationFrame(r)}}function Qs(e){const t=e.target instanceof Element?e.target.closest(".cm-menu"):null;if(t){const r=t.getBoundingClientRect();if(t.dataset.cmScrollUp!==void 0&&e.clientY<r.top+Xr){Zr(t,-1);return}if(t.dataset.cmScrollDown!==void 0&&e.clientY>r.bottom-Xr){Zr(t,1);return}}sr()}function Zo(){if(Jr||typeof document>"u")return;Jr=!0;const e={capture:!0,passive:!0};document.addEventListener("pointerdown",$t,e),document.addEventListener("wheel",$t,e),document.addEventListener("focusin",()=>{Xo=performance.now()},e),document.addEventListener("keydown",t=>{qs.has(t.key)||$t()},e),document.addEventListener("mouseout",t=>{t.relatedTarget||($t(),sr())}),document.addEventListener("keydown",Zs),document.addEventListener("pointermove",Qs,{passive:!0}),document.addEventListener("scroll",t=>{t.target instanceof HTMLElement&&t.target.classList.contains("cm-menu")&&Jo(t.target)},e),document.addEventListener("animationstart",t=>{!Ws.has(t.animationName)||!(t.target instanceof HTMLElement)||(t.target.classList.contains("cm-tooltip")?Xs(t.target):t.target.classList.contains("cm-menu")&&(Jo(t.target),It==null||It.observe(t.target)))})}function Ot(e,t,r){return{"--input-height":e,"--input-size":e,"--input-fz":t,"--input-line-height":r}}function it(e,t,r,n){return{"--input-height":e,"--input-fz":r,"--input-line-height":n,"--input-padding-y":t}}const gt={compactSize:"sm",sizes:{xs:Ot("20px","11px","16px"),sm:Ot("24px","11px","16px"),md:Ot("32px","13px","24px"),lg:Ot("36px","15px","25px"),xl:Ot("44px","24px","32px")}},Qr={compactSize:"sm",sizes:{xs:it("48px","4px","11px","16px"),sm:it("56px","4px","11px","16px"),md:it("64px","4px","13px","22px"),lg:it("72px","6px","15px","25px"),xl:it("88px","8px","24px","32px")}},Ao={compactSize:"sm",sizes:{xs:it("20px","0px","11px","16px"),sm:it("24px","2px","11px","16px"),md:it("32px","6px","13px","24px"),lg:it("36px","8px","15px","25px"),xl:it("44px","12px","24px","32px")}},_s={compactSize:"xs",sizes:{xs:{"--cb-size":"16px","--cb-icon-size":"10px","--cb-radius":"5px"},sm:{"--cb-size":"20px","--cb-icon-size":"12px","--cb-radius":"5px"},md:{"--cb-size":"24px","--cb-icon-size":"14px","--cb-radius":"5px"},lg:{"--cb-size":"28px","--cb-icon-size":"16px","--cb-radius":"5px"},xl:{"--cb-size":"32px","--cb-icon-size":"20px","--cb-radius":"5px"}}};function _r(e){return/\bcolou?r\b/i.test(e)?e:`${e} color`}const cr={mixed:"Mixed",fieldBound:"Bound to a data attribute",fieldPending:"Set but not yet applied",scaleSqrt:"Square root scale",scaleLinear:"Linear scale",scaleLog:"Logarithmic scale",details:"Details",departure:"Warning",percentile:e=>`${e} percentile`,expandSection:e=>`Expand ${e}`,collapseSection:e=>`Collapse ${e}`,addToSection:e=>`Add ${e}`,sectionHasConfiguredValues:e=>`${e} has configured values`,about:e=>`About ${e}`,resetToDefault:e=>`Reset ${e} to default`,colorSwatch:"Pick color",colorHexValue:"Color hex value",pickColor:e=>`Pick ${_r(e)}`,colorValue:e=>_r(e),colorOpacity:e=>`${e} opacity`,opacity:"Opacity",colorPanelTitle:"Color",colorGenericName:"color",colorStops:"Color Stops",addColorStop:"Add color stop",colorStopPosition:e=>`Stop ${e} position`,removeColorStop:e=>`Remove color stop ${e}`,editColorStop:e=>`Edit stop ${e} color`,colorStopColor:e=>`Stop ${e} color`,direction:"Direction",gradientDirection:"Gradient direction",degrees:e=>`${e}°`,percent:e=>`${e}%`,dataTable:"Data table",search:"Search",searchPlaceholder:"Search",clearSearch:"Clear search",noRows:"No rows",noMatchingRows:"No rows match the search",rowsShown:(e,t)=>`${e} of ${t} rows`,rowsSelected:e=>`${e} selected`,columnMenu:e=>`Options for ${e}`,yes:"Yes",no:"No",closePanel:"Close panel",settings:"Settings",toolbar:"Tools",navigation:"Navigation",help:"Help",keyboardShortcuts:"Keyboard shortcuts",close:"Close",quickActions:"Quick actions",searchActions:"Search actions",noResults:"No results",passwordReveal:"Show the password",ordinal:(e,t)=>{switch(t){case"one":return`${e}st`;case"two":return`${e}nd`;case"few":return`${e}rd`;default:return`${e}th`}}},$s="en",Qo=u.createContext(cr),_o=u.createContext(void 0);function ec(e){return e!==void 0&&e!==""?e:typeof document<"u"&&document.documentElement.lang!==""?document.documentElement.lang:typeof navigator<"u"&&navigator.language!==""?navigator.language:$s}function tc({labels:e,locale:t,children:r}){const n=u.useContext(Qo),a=u.useContext(_o),s=u.useMemo(()=>({...n,...e}),[n,e]),c=t??a;return o.jsx(_o.Provider,{value:c,children:o.jsx(Qo.Provider,{value:s,children:r})})}function ve(){return u.useContext(Qo)}function Lt(){const e=u.useContext(_o);return ec(e)}const oc=1234.5,rc="9876543210",nc=9876543210,ac=new Set([" "," "," "," ","'","’"]),ic="−",sc=/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?/iu,$r=new Map;function cc(e){var m,l;const t=$r.get(e);if(t!==void 0)return t;const r=new Intl.NumberFormat(e).formatToParts(oc),n=((m=r.find(p=>p.type==="decimal"))==null?void 0:m.value)??".",a=((l=r.find(p=>p.type==="group"))==null?void 0:l.value)??"",s=new Map;for(const p of"0123456789")s.set(p,p);const c=new Intl.NumberFormat(e,{useGrouping:!1}).format(nc);Array.from(c).forEach((p,f)=>{s.set(p,rc[f])});const i={decimal:n,digits:s,group:a};return $r.set(e,i),i}function pa(e,t){const r=cc(t);let n="";for(const s of e.trim()){const c=r.digits.get(s);if(c!==void 0){n+=c;continue}if(s===r.decimal){n+=".";continue}if(!(s===r.group||ac.has(s))){if(s==="-"||s===ic){n+="-";continue}if(s==="+"){n+="+";continue}if(s==="e"||s==="E"){n+=s;continue}break}}const a=sc.exec(n);return a===null?Number.NaN:Number(a[0])}function mt(e){const t=Lt(),r=JSON.stringify(e??{});return u.useMemo(()=>new Intl.NumberFormat(t,e),[t,r])}function ha(){const e=Lt(),t=ve(),r=mt(),n=u.useMemo(()=>new Intl.PluralRules(e,{type:"ordinal"}),[e]);return u.useCallback(a=>t.ordinal(r.format(a),n.select(a)),[t,r,n])}function fa(e){const t=Lt(),r=JSON.stringify(e??{});return u.useMemo(()=>new Intl.Collator(t,e),[t,r])}function qt(){const e=Lt();return u.useCallback(t=>pa(t,e),[e])}const lc="M7.5 11C4.80285 11 2.52952 9.62184 1.09622 7.50001C2.52952 5.37816 4.80285 4 7.5 4C10.1971 4 12.4705 5.37816 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11ZM7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C1.65639 10.2936 4.30786 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C13.3436 4.70638 10.6921 3 7.5 3ZM7.5 9.5C8.60457 9.5 9.5 8.60457 9.5 7.5C9.5 6.39543 8.60457 5.5 7.5 5.5C6.39543 5.5 5.5 6.39543 5.5 7.5C5.5 8.60457 6.39543 9.5 7.5 9.5Z",dc="M13.3536 2.35355C13.5488 2.15829 13.5488 1.84171 13.3536 1.64645C13.1583 1.45118 12.8417 1.45118 12.6464 1.64645L10.6828 3.61012C9.70652 3.21671 8.63759 3 7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C0.902945 9.08812 2.02314 10.1861 3.36061 10.9323L1.64645 12.6464C1.45118 12.8417 1.45118 13.1583 1.64645 13.3536C1.84171 13.5488 2.15829 13.5488 2.35355 13.3536L4.31723 11.3899C5.29348 11.7833 6.36241 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C14.0971 5.9119 12.9769 4.81391 11.6394 4.06771L13.3536 2.35355ZM9.90428 4.38861C9.15332 4.1361 8.34759 4 7.5 4C4.80285 4 2.52952 5.37816 1.09622 7.50001C1.87284 8.6497 2.89609 9.58106 4.09974 10.1931L9.90428 4.38861ZM5.09572 10.6114L10.9003 4.80685C12.1039 5.41894 13.1272 6.35031 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11C6.65241 11 5.84668 10.8639 5.09572 10.6114Z";function uc({reveal:e}){const t=ve();return o.jsxs(o.Fragment,{children:[o.jsx("svg",{viewBox:"0 0 15 15",fill:"none","aria-hidden":!0,style:{width:"var(--psi-icon-size)",height:"var(--psi-icon-size)"},children:o.jsx("path",{d:e?dc:lc,fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}),o.jsx(d.VisuallyHidden,{children:t.passwordReveal})]})}function mc(e,t){return e==="unstyled"?"none":e==="outlined"||e==="default"?"outlined":e==="filled"?"filled":t}const pc={label:"cm-field-label",description:"cm-field-description",error:"cm-field-error"};function dt(e,t=""){return(r,n)=>{const a=mc(n.variant,e);return a==="none"?{}:{wrapper:["cm-field",a==="outlined"?"cm-field-outlined":"","cm-input-wrapper",t].filter(Boolean).join(" "),input:"cm-input",section:"cm-input-section"}}}const hc={dropdown:"cm-menu-surface cm-menu cm-listbox",options:"cm-listbox-options",option:"cm-menu-row cm-listbox-option",group:"cm-listbox-group",groupLabel:"cm-listbox-group-label",empty:"cm-listbox-empty"},en={dropdown:"cm-menu-surface cm-menu cm-listbox cm-listbox-multi",pill:"cm-input-pill",pillsList:"cm-input-pills",inputField:"cm-input-pills-field"};function eo(e,t="",r={}){const n=dt(e,t);return(a,s)=>({...n(a,s),...hc,...r})}const Eo=u.createElement(ir),fc={comboboxProps:ar(),withScrollArea:!1,renderOption:ca},No={comboboxProps:Ns(),withScrollArea:!1,renderOption:ca};function to(e,t){return Zo(),{root:{},wrapper:pe(e,t)}}const bc={InputWrapper:d.InputWrapper.extend({classNames:pc}),TextInput:d.TextInput.extend({defaultProps:{size:"sm",variant:"filled"},vars:(e,t)=>({root:{},wrapper:pe(gt,t==null?void 0:t.size)}),classNames:dt("filled")}),NumberInput:d.NumberInput.extend({defaultProps:{size:"sm",variant:"filled",hideControls:!0},vars:(e,t)=>({root:{},wrapper:pe(gt,t==null?void 0:t.size),controls:{}}),classNames:dt("filled")}),Select:d.Select.extend({defaultProps:{size:"sm",variant:"outlined",rightSection:Eo,role:"combobox",...fc},vars:(e,t)=>(qr(),Rs(),to(gt,t==null?void 0:t.size)),classNames:eo("outlined","cm-select")}),NativeSelect:d.NativeSelect.extend({defaultProps:{size:"sm",variant:"outlined",rightSection:Eo},vars:(e,t)=>(qr(),{root:{},wrapper:pe(gt,t==null?void 0:t.size)}),classNames:dt("outlined","cm-select")}),Textarea:d.Textarea.extend({defaultProps:{size:"sm",variant:"filled"},vars:(e,t)=>({root:{},wrapper:{...pe(Qr,t==null?void 0:t.size),...t!=null&&t.autosize||(t==null?void 0:t.minRows)!==void 0||(t==null?void 0:t.maxRows)!==void 0?{"--input-height":`calc(${t.minRows??1} * var(--input-line-height) + 2 * var(--input-padding-y))`}:{}}}),classNames:dt("filled")}),PasswordInput:d.PasswordInput.extend({defaultProps:{size:"sm",variant:"filled",visibilityToggleButtonProps:{},visibilityToggleIcon:uc},vars:(e,t)=>({root:{"--psi-button-size":"24px","--psi-icon-size":"12px"},wrapper:pe(gt,t==null?void 0:t.size)}),classNames:(e,t)=>({...dt("filled")(e,t),innerInput:"cm-input-inner",visibilityToggle:"cm-input-toggle"})}),Autocomplete:d.Autocomplete.extend({defaultProps:{size:"sm",variant:"filled",role:"combobox",...No},vars:(e,t)=>to(gt,t==null?void 0:t.size),classNames:eo("filled")}),MultiSelect:d.MultiSelect.extend({defaultProps:{size:"sm",variant:"filled",rightSection:Eo,...No},vars:(e,t)=>to(Ao,t==null?void 0:t.size),classNames:eo("filled","cm-pills-field",en)}),TagsInput:d.TagsInput.extend({defaultProps:{size:"sm",variant:"filled",...No},vars:(e,t)=>to(Ao,t==null?void 0:t.size),classNames:eo("filled","cm-pills-field",en)}),PillsInput:d.PillsInput.extend({defaultProps:{size:"sm",variant:"filled"},vars:(e,t)=>({root:{},wrapper:pe(Ao,t==null?void 0:t.size)}),classNames:dt("filled","cm-pills-field")}),FileInput:d.FileInput.extend({defaultProps:{size:"sm",variant:"filled"},vars:(e,t)=>({root:{},wrapper:pe(gt,t==null?void 0:t.size)}),classNames:(e,t)=>({...dt("filled")(e,t),placeholder:"cm-input-placeholder"})}),JsonInput:d.JsonInput.extend({defaultProps:{size:"sm",variant:"filled"},vars:(e,t)=>({root:{},wrapper:{...pe(Qr,t==null?void 0:t.size),...t!=null&&t.autosize||(t==null?void 0:t.minRows)!==void 0||(t==null?void 0:t.maxRows)!==void 0?{"--input-height":`calc(${t.minRows??1} * var(--input-line-height) + 2 * var(--input-padding-y))`}:{}}}),classNames:dt("filled")}),Combobox:d.Combobox.extend({defaultProps:{...Is()}}),ComboboxTarget:d.Combobox.Target.extend({defaultProps:{withExpandedAttribute:!0}}),InputClearButton:d.InputClearButton.extend({defaultProps:{size:"xs"},vars:(e,t)=>({root:pe(_s,t==null?void 0:t.size)}),classNames:{root:"cm-input-clear cm-focus-outside"}})},xc=Object.freeze(Object.defineProperty({__proto__:null,inputComponentExtensions:bc},Symbol.toStringTag,{value:"Module"})),gc="cm-tab-label";function vc(e){if(!u.isValidElement(e))return e;const{className:t,children:r}=e.props;return!(t!=null&&t.split(" ").includes(gc))||typeof r!="string"&&typeof r!="number"?e:u.cloneElement(e,void 0,r,o.jsx("span",{className:"cm-tab-reserve","data-text":String(r),"aria-hidden":"true"},"cm-tab-reserve"))}function wc(e){const{children:t,...r}=e;return o.jsx("button",{...r,children:u.Children.map(t,vc)})}const yc={compactSize:"sm",sizes:{xs:{"--pagination-control-size":"20px","--pagination-control-fz":"9px"},sm:{"--pagination-control-size":"24px","--pagination-control-fz":"11px"},md:{"--pagination-control-size":"30px","--pagination-control-fz":"13px"},lg:{"--pagination-control-size":"36px","--pagination-control-fz":"15px"},xl:{"--pagination-control-size":"44px","--pagination-control-fz":"17px"}}},kc={compactSize:"sm",sizes:{xs:{"--stepper-icon-size":"20px","--stepper-fz":"9px","--stepper-spacing":"4px"},sm:{"--stepper-icon-size":"24px","--stepper-fz":"11px","--stepper-spacing":"8px"},md:{"--stepper-icon-size":"30px","--stepper-fz":"13px","--stepper-spacing":"12px"},lg:{"--stepper-icon-size":"36px","--stepper-fz":"15px","--stepper-spacing":"16px"},xl:{"--stepper-icon-size":"44px","--stepper-fz":"17px","--stepper-spacing":"20px"}}},Sc={compactSize:"sm",sizes:{xs:{"--burger-size":"14px","--burger-line-size":"1.5px"},sm:{"--burger-size":"18px","--burger-line-size":"1.5px"},md:{"--burger-size":"24px","--burger-line-size":"2px"},lg:{"--burger-size":"30px","--burger-line-size":"3px"},xl:{"--burger-size":"38px","--burger-line-size":"4px"}}},jc={root:"cm-anchor"},Tc={root:"cm-burger cm-focus-outside",burger:"cm-burger-lines"},Cc={root:"cm-navlink",label:"cm-navlink-label",description:"cm-navlink-description",section:"cm-navlink-section",body:"cm-navlink-body"},Ac={root:"cm-pagination",control:"cm-pagination-control cm-focus-outside",dots:"cm-pagination-dots"},Ec={root:"cm-stepper",step:"cm-stepper-step",stepIcon:"cm-stepper-icon",stepLabel:"cm-stepper-label",stepDescription:"cm-stepper-description",separator:"cm-stepper-separator"},Nc={root:"cm-tabs",list:"cm-tabs-list",tab:"cm-tab",tabLabel:"cm-tab-label",tabSection:"cm-tab-section",panel:"cm-tabs-panel"},Ic={onMouseDown:Ni,onClickCapture:Ii,onMouseLeave:Fr,onKeyDown:Fr,renderRoot:wc},zc={first:"First page",previous:"Previous page",next:"Next page",last:"Last page"},Rc={Anchor:d.Anchor.extend({defaultProps:{size:"sm",underline:"never"},classNames:jc}),Burger:d.Burger.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:pe(Sc,t==null?void 0:t.size)}),classNames:Tc}),NavLink:d.NavLink.extend({classNames:Cc}),Pagination:d.Pagination.extend({defaultProps:{size:"sm",getControlProps:e=>({"aria-label":zc[e]})},vars:(e,t)=>({root:pe(yc,t==null?void 0:t.size)}),classNames:Ac}),Stepper:d.Stepper.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:pe(kc,t==null?void 0:t.size)}),classNames:Ec}),Tabs:d.Tabs.extend({defaultProps:{variant:"pills",activateTabWithKeyboard:!0,loop:!0},classNames:Nc}),TabsTab:d.Tabs.Tab.extend({defaultProps:Ic})},Lc=Object.freeze(Object.defineProperty({__proto__:null,navigationComponentExtensions:Rc},Symbol.toStringTag,{value:"Module"})),Pc={Menu:d.Menu.extend({defaultProps:{zIndex:Nt,withInitialFocusPlaceholder:!1,position:"bottom-start",offset:4,loop:!0,trapFocus:!0,transitionProps:At,middlewares:Os},classNames:Ps,vars:()=>(Zo(),{dropdown:Ls})}),MenuSub:d.Menu.Sub.extend({defaultProps:{openDelay:0,closeDelay:0,offset:Ds,floatingStrategy:"fixed",transitionProps:At,middlewares:{flip:!0,shift:{padding:po,crossAxis:!0}}}}),MenuSubItem:d.Menu.Sub.Item.extend({defaultProps:{rightSection:u.createElement("span",{className:"cm-menu-chevron","aria-hidden":!0},u.createElement(he,{name:"caretRight",size:10}))}}),Tooltip:d.Tooltip.extend({defaultProps:{zIndex:Ss,position:"bottom",offset:Bs,withArrow:!0,arrowSize:la,openDelay:Yo,closeDelay:ho,transitionProps:At,events:{hover:!0,focus:!0,touch:!1},middlewares:{flip:!0,shift:{padding:po}}},classNames:Fs,vars:()=>(Zo(),{tooltip:{}})}),TooltipGroup:d.Tooltip.Group.extend({defaultProps:{openDelay:Yo,closeDelay:ho}}),Popover:d.Popover.extend({defaultProps:{zIndex:Nt,transitionProps:At},classNames:Kr}),HoverCard:d.HoverCard.extend({defaultProps:{zIndex:Nt,transitionProps:At},classNames:Kr}),Modal:d.Modal.extend({defaultProps:{centered:!0,withOverlay:!1,transitionProps:At,closeButtonProps:{"aria-label":"Close"}},classNames:Hs}),ModalHeader:d.Modal.Header.extend({defaultProps:{role:"none"}}),Drawer:d.Drawer.extend({defaultProps:{closeButtonProps:{"aria-label":"Close"}}}),DrawerHeader:d.Drawer.Header.extend({defaultProps:{role:"none"}}),Notification:d.Notification.extend({defaultProps:{closeButtonProps:{iconSize:10}},classNames:Us}),ScrollArea:d.ScrollArea.extend({defaultProps:{type:"hover",scrollHideDelay:0,scrollbarSize:Gs},classNames:Vs})},Mc=Object.freeze(Object.defineProperty({__proto__:null,overlayComponentExtensions:Pc},Symbol.toStringTag,{value:"Module"})),tn=Object.assign({"./buttons.ts":ki,"./color.ts":Ti,"./controls.ts":Vi,"./display.ts":ps,"./feedback.ts":ks,"./inputs.ts":xc,"./navigation.ts":Lc,"./overlays.ts":Mc});function Oc(){const e={},t={};for(const r of Object.keys(tn).sort())for(const[n,a]of Object.entries(tn[r]))if(n.endsWith("ComponentExtensions"))for(const[s,c]of Object.entries(a)){if(s in t)throw new Error(`compact-mantine: ${s} is extended in both ${t[s]} and ${r}`);t[s]=r,e[s]=c}return e}const Dc=Oc(),B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/aXanhx8bT7aVauoJ81roNL64KfMd8Sj0Rtfge+SohT0+ShTwFVwhK1KW45QTKfoZNrjU4poyxfT6QTmZlc+GpmMrLLWuHv26eonGfHyrlIqK1kXkTsd6eStxRnuKdSRqBapI1Ffpa5MEY1iOvVVugLU/LBXx6A1CuG6/RzGbhBarFJiuBQvbvkwWJIFSwAUwqV4kWPD5BEGsHNgl0kYMExsoHumATSWF28A8Zt8m6AE9w5Ar/3gsARAIUyvsQEQsFPAAABsAIDuAWgAbwDxK3AV1Mg9NsmPCvFmjM39+cmxXPF4EnoWKsaVX2nwQhAzQ84QJtFHLOZ9XyEdIPQUZJ7mEWV4FzjWEB2HUia6pvsjX/c196Wa/Kcqdtsqql2UbjmGZ4HCzYgVhidjl1XUbVlr3XLXgfYNROYdDBJHYa13NSw58stFXNu+N+t5WGAU1doYgvhRsJmWa/0f4Ys7r6o1nW1LF8pCcxJM0H9YbRjb5gVb1go9Y9/SxF08sf0p8GbuymWEe+zrfrqQc8Rnc8lptIpSPWmoLslM6sWzOZaLyLaco1nYjntDeIpj5e/663Cvs+oZM4Z+HNgvV5U0ktw/VU411pkVh8q/32PH77H8z9qVLwAAAA==",Fc="U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",Hc=`--cm-field-shadow: none;
4
+ `)}function or({light:e,dark:t}){return e===t?e:`light-dark(${e}, ${t})`}const ls={outline:{"--badge-bg":"transparent","--badge-color":"var(--cm-text)"},filled:{"--badge-bg":"var(--cm-bg-brand)","--badge-color":"var(--cm-text-onbrand)"},light:{"--badge-bg":"var(--cm-bg-selected)","--badge-color":"var(--cm-text-brand)"}},ds={sm:{"--cm-text-fw":String(Ft.body.fontWeight),"--cm-text-ls":Ft.body.letterSpacing},xs:{"--cm-text-fw":String(Ft.caption.fontWeight),"--cm-text-ls":Ft.caption.letterSpacing}},us={filled:{"--ti-bg":"var(--cm-bg-brand)","--ti-color":"var(--cm-text-onbrand)"},light:{"--ti-bg":"var(--cm-bg-selected)","--ti-color":"var(--cm-icon-brand)"}},ms={Text:d.Text.extend({classNames:{root:"cm-text"},vars:(e,t)=>({root:ds[String(t==null?void 0:t.size)]??{}})}),Badge:d.Badge.extend({defaultProps:{size:"sm",variant:"outline"},classNames:{root:"cm-badge"},vars:(e,t)=>({root:{...pe(Gi,t==null?void 0:t.size),...(t==null?void 0:t.radius)===void 0?{"--badge-radius":"5px"}:{},...t!=null&&t.color?{}:{...ls[(t==null?void 0:t.variant)??"outline"],"--badge-bd":"0 solid transparent"}}})}),Pill:d.Pill.extend({defaultProps:{size:"sm",removeButtonProps:{"aria-label":"Remove",tabIndex:0,"aria-hidden":!1},attributes:{remove:{tabIndex:0,"aria-hidden":!1}}},classNames:{root:"cm-pill"},vars:(e,t)=>({root:{...pe(Xi,t==null?void 0:t.size),...(t==null?void 0:t.radius)===void 0?{"--pill-radius":"5px"}:{}}})}),Avatar:d.Avatar.extend({defaultProps:{size:"sm",variant:"filled"},classNames:{root:"cm-avatar",placeholder:"cm-avatar-placeholder"},vars:(e,t)=>({root:pe(qi,t==null?void 0:t.size)})}),AvatarGroup:d.Avatar.Group.extend({defaultProps:{spacing:"7px"}}),ThemeIcon:d.ThemeIcon.extend({defaultProps:{size:"sm"},classNames:{root:"cm-theme-icon"},vars:(e,t)=>({root:{...pe(Wi,t==null?void 0:t.size),...(t==null?void 0:t.radius)===void 0?{"--ti-radius":"5px"}:{},...t!=null&&t.color?{}:us[(t==null?void 0:t.variant)??"filled"]??{}}})}),Indicator:d.Indicator.extend({defaultProps:{size:"sm",withBorder:!0},classNames:{indicator:"cm-indicator"},vars:(e,t)=>({root:{...pe(Yi,t==null?void 0:t.size),...(t==null?void 0:t.radius)===void 0?{"--indicator-radius":"100%"}:{},...t!=null&&t.color?{}:{"--indicator-color":"var(--cm-bg-brand)"}}})}),Card:d.Card.extend({defaultProps:{padding:8,radius:"sm",withBorder:!0},classNames:{root:"cm-card"}}),Kbd:d.Kbd.extend({defaultProps:{size:"sm"},classNames:{root:"cm-kbd"},vars:(e,t)=>({root:pe(Ki,t==null?void 0:t.size)})})},ps=Object.freeze(Object.defineProperty({__proto__:null,displayComponentExtensions:ms},Symbol.toStringTag,{value:"Module"})),hs={compactSize:"sm",sizes:{xs:{"--loader-size":"14px"},sm:{"--loader-size":"16px"},md:{"--loader-size":"24px"},lg:{"--loader-size":"30px"},xl:{"--loader-size":"38px"}}},fs={compactSize:"sm",sizes:{xs:{"--progress-size":"2px"},sm:{"--progress-size":"4px"},md:{"--progress-size":"6px"},lg:{"--progress-size":"8px"},xl:{"--progress-size":"10px"}}},bs={label:{fontSize:9}},xs="9999px",gs={root:"cm-loader"},vs={root:"cm-progress",section:"cm-progress-section",label:"cm-progress-label"},ws={root:"cm-ring-progress",curve:"cm-ring-curve",label:"cm-ring-progress-label"},ys={Loader:d.Loader.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:pe(hs,t==null?void 0:t.size)}),classNames:gs}),Progress:d.Progress.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:{...pe(fs,t==null?void 0:t.size),...(t==null?void 0:t.radius)===void 0&&{"--progress-radius":xs}}}),styles:bs,classNames:vs}),RingProgress:d.RingProgress.extend({classNames:ws})},ks=Object.freeze(Object.defineProperty({__proto__:null,feedbackComponentExtensions:ys},Symbol.toStringTag,{value:"Module"})),Wo=1e3,Nt=1100,Ss=Nt+100,Zn=0,Qn=0,_n=["sizeSmallest","sizeLargest","width","opacity","attribute","scaleSqrt","scaleLinear","scaleLog"],$n=["N","E","W","D","K"],js=["chevronDown","chevronRight","chevronLeft","close","plus","minus","gear","warning","check","eye","refresh","copy","pin","keepOpen","info","reset","caretDown","caretRight","dash","eyeClosed","lock","unlock","search","settings","link","unlink","eyedropper","rotate","flipHorizontal","flipVertical","alignLeft","alignCenterH","alignRight","alignTop","alignCenterV","alignBottom","more","help","frame","rectangle","ellipse","text","component","group"],ea={viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"};function ta(e){return 16/e}const He={fill:"currentColor",stroke:"none"},Ts={sizeSmallest:e=>o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"3",cy:"11.25",r:"1.75",...e?He:{}}),o.jsx("circle",{cx:"10.25",cy:"9.25",r:"3.75",...e?He:{}})]}),sizeLargest:e=>o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"2.5",cy:"12",r:"1",...e?He:{}}),o.jsx("circle",{cx:"9.5",cy:"8.5",r:"4.5",...e?He:{}})]}),width:e=>o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"2.5",y1:"8",x2:"13.5",y2:"8"}),o.jsx("polyline",{points:"5,5.5 2.5,8 5,10.5",...e?He:{}}),o.jsx("polyline",{points:"11,5.5 13.5,8 11,10.5",...e?He:{}})]}),opacity:e=>e?o.jsx("circle",{cx:"8",cy:"8",r:"5.5",...He}):o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"8",cy:"8",r:"5.5"}),o.jsx("path",{d:"M8 2.5a5.5 5.5 0 0 1 0 11z",...He})]}),attribute:e=>e?o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M2.5 7.2V3.5a1 1 0 0 1 1-1h3.7l6.3 6.3-4.7 4.7z",...He}),o.jsx("circle",{cx:"5.5",cy:"5.5",r:"0.75",style:{fill:xe.SURFACE},stroke:"none"})]}):o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M2.5 7.2V3.5a1 1 0 0 1 1-1h3.7l6.3 6.3-4.7 4.7z"}),o.jsx("circle",{cx:"5.5",cy:"5.5",r:"1.5",...He})]}),scaleSqrt:()=>o.jsx("path",{d:"M2.5 13.5C4.5 5 8 2.5 13.5 2.5"}),scaleLinear:()=>o.jsx("line",{x1:"2.5",y1:"13.5",x2:"13.5",y2:"2.5"}),scaleLog:()=>o.jsx("path",{d:"M2.5 13.5C8 13.5 11.5 11 13.5 2.5"})},Cs={chevronDown:o.jsx("polyline",{points:"4,6 8,10 12,6"}),chevronRight:o.jsx("polyline",{points:"6,4 10,8 6,12"}),chevronLeft:o.jsx("polyline",{points:"10,4 6,8 10,12"}),close:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"2.5",y1:"2.5",x2:"13.5",y2:"13.5"}),o.jsx("line",{x1:"13.5",y1:"2.5",x2:"2.5",y2:"13.5"})]}),plus:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"8",y1:"3",x2:"8",y2:"13"}),o.jsx("line",{x1:"3",y1:"8",x2:"13",y2:"8"})]}),minus:o.jsx("line",{x1:"3",y1:"8",x2:"13",y2:"8"}),gear:o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"8",cy:"8",r:"2.25"}),o.jsx("circle",{cx:"8",cy:"8",r:"4.75"}),o.jsx("path",{d:"M8 1.5v2M8 12.5v2M1.5 8h2M12.5 8h2M3.4 3.4l1.4 1.4M11.2 11.2l1.4 1.4M12.6 3.4l-1.4 1.4M4.8 11.2l-1.4 1.4"})]}),warning:o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M8 2.5l6 11H2z"}),o.jsx("line",{x1:"8",y1:"6.5",x2:"8",y2:"9.5"}),o.jsx("line",{x1:"8",y1:"11.5",x2:"8",y2:"11.75"})]}),check:o.jsx("polyline",{points:"3.5,8.5 6.5,11.75 12.5,3.25"}),eye:o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M1.5 8s2.5-4.5 6.5-4.5S14.5 8 14.5 8s-2.5 4.5-6.5 4.5S1.5 8 1.5 8z"}),o.jsx("circle",{cx:"8",cy:"8",r:"2"})]}),refresh:o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M2.5 8a5.5 5.5 0 1 0 1.6-3.9"}),o.jsx("polyline",{points:"2.5,2.5 2.5,6 6,6"})]}),copy:o.jsxs(o.Fragment,{children:[o.jsx("rect",{x:"5.5",y:"5.5",width:"8",height:"8",rx:"1"}),o.jsx("path",{d:"M10.5 5.5v-2a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2"})]}),pin:o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M6 2.5h4l-.5 3.5 2 2.5H4.5l2-2.5z"}),o.jsx("line",{x1:"8",y1:"8.5",x2:"8",y2:"13.5"})]}),keepOpen:o.jsxs(o.Fragment,{children:[o.jsx("rect",{x:"3.5",y:"7",width:"9",height:"6.5",rx:"1"}),o.jsx("path",{d:"M5.75 7V5.25a2.25 2.25 0 0 1 4.5 0V7"})]}),info:o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"8",cy:"8",r:"6.5"}),o.jsx("line",{x1:"8",y1:"7",x2:"8",y2:"11.5"}),o.jsx("line",{x1:"8",y1:"4.5",x2:"8",y2:"4.75"})]}),reset:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"4",y1:"4",x2:"12",y2:"12"}),o.jsx("line",{x1:"12",y1:"4",x2:"4",y2:"12"})]}),caretDown:o.jsx("path",{d:"M4 5.6h8L8 10.4z",...He}),caretRight:o.jsx("path",{d:"M5.6 4v8L10.4 8z",...He}),dash:o.jsx("rect",{x:"4",y:"7",width:"8",height:"2",...He}),eyeClosed:o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M1.5 6.5s2.5 3.5 6.5 3.5 6.5-3.5 6.5-3.5"}),o.jsx("path",{d:"M4 9l-1.5 2M8 10v2.5M12 9l1.5 2"})]}),lock:o.jsxs(o.Fragment,{children:[o.jsx("rect",{x:"3.5",y:"7",width:"9",height:"6.5",rx:"1"}),o.jsx("path",{d:"M5.75 7V5.25a2.25 2.25 0 0 1 4.5 0V7"})]}),unlock:o.jsxs(o.Fragment,{children:[o.jsx("rect",{x:"3.5",y:"7",width:"9",height:"6.5",rx:"1"}),o.jsx("path",{d:"M5.75 7V5.25a2.25 2.25 0 0 1 4.4-.7"})]}),search:o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"7",cy:"7",r:"4.5"}),o.jsx("line",{x1:"10.5",y1:"10.5",x2:"13.5",y2:"13.5"})]}),settings:o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"8",cy:"8",r:"2.25"}),o.jsx("circle",{cx:"8",cy:"8",r:"4.75"}),o.jsx("path",{d:"M8 1.5v2M8 12.5v2M1.5 8h2M12.5 8h2M3.4 3.4l1.4 1.4M11.2 11.2l1.4 1.4M12.6 3.4l-1.4 1.4M4.8 11.2l-1.4 1.4"})]}),link:o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M6.5 5L8 3.5a2.5 2.5 0 0 1 3.5 3.5L10 8.5"}),o.jsx("path",{d:"M9.5 11L8 12.5A2.5 2.5 0 0 1 4.5 9L6 7.5"}),o.jsx("line",{x1:"6.5",y1:"9.5",x2:"9.5",y2:"6.5"})]}),unlink:o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M6.5 5L8 3.5a2.5 2.5 0 0 1 3.5 3.5L10 8.5"}),o.jsx("path",{d:"M9.5 11L8 12.5A2.5 2.5 0 0 1 4.5 9L6 7.5"}),o.jsx("path",{d:"M2.5 5.5h2M5.5 2.5v2M13.5 10.5h-2M10.5 13.5v-2"})]}),eyedropper:o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M10.5 2.5l3 3-1.5 1.5-3-3z"}),o.jsx("path",{d:"M9.5 5l1.5 1.5-6 6H3.5V11z"})]}),rotate:o.jsxs(o.Fragment,{children:[o.jsx("path",{d:"M13 8a5 5 0 1 1-1.5-3.5"}),o.jsx("polyline",{points:"12,1.5 12,4.5 9,4.5"})]}),flipHorizontal:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"8",y1:"2",x2:"8",y2:"14"}),o.jsx("path",{d:"M5.5 4.5L2.5 11.5h3z"}),o.jsx("path",{d:"M10.5 4.5l3 7h-3z"})]}),flipVertical:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"2",y1:"8",x2:"14",y2:"8"}),o.jsx("path",{d:"M4.5 5.5l7-3v3z"}),o.jsx("path",{d:"M4.5 10.5l7 3v-3z"})]}),alignLeft:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"2.5",y1:"2.5",x2:"2.5",y2:"13.5"}),o.jsx("rect",{x:"4.5",y:"4",width:"8",height:"3"}),o.jsx("rect",{x:"4.5",y:"9",width:"5",height:"3"})]}),alignCenterH:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"8",y1:"2.5",x2:"8",y2:"13.5"}),o.jsx("rect",{x:"3.5",y:"4",width:"9",height:"3"}),o.jsx("rect",{x:"5.5",y:"9",width:"5",height:"3"})]}),alignRight:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"13.5",y1:"2.5",x2:"13.5",y2:"13.5"}),o.jsx("rect",{x:"3.5",y:"4",width:"8",height:"3"}),o.jsx("rect",{x:"6.5",y:"9",width:"5",height:"3"})]}),alignTop:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"2.5",y1:"2.5",x2:"13.5",y2:"2.5"}),o.jsx("rect",{x:"4",y:"4.5",width:"3",height:"8"}),o.jsx("rect",{x:"9",y:"4.5",width:"3",height:"5"})]}),alignCenterV:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"2.5",y1:"8",x2:"13.5",y2:"8"}),o.jsx("rect",{x:"4",y:"3.5",width:"3",height:"9"}),o.jsx("rect",{x:"9",y:"5.5",width:"3",height:"5"})]}),alignBottom:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"2.5",y1:"13.5",x2:"13.5",y2:"13.5"}),o.jsx("rect",{x:"4",y:"3.5",width:"3",height:"8"}),o.jsx("rect",{x:"9",y:"6.5",width:"3",height:"5"})]}),more:o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"4",cy:"8",r:"1",...He}),o.jsx("circle",{cx:"8",cy:"8",r:"1",...He}),o.jsx("circle",{cx:"12",cy:"8",r:"1",...He})]}),help:o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"8",cy:"8",r:"6.5"}),o.jsx("path",{d:"M6.25 6.25a1.75 1.75 0 1 1 2.5 1.6c-.5.25-.75.6-.75 1.15"}),o.jsx("line",{x1:"8",y1:"11.25",x2:"8",y2:"11.5"})]}),frame:o.jsx("path",{d:"M5.5 2v12M10.5 2v12M2 5.5h12M2 10.5h12"}),rectangle:o.jsx("rect",{x:"3",y:"3",width:"10",height:"10"}),ellipse:o.jsx("circle",{cx:"8",cy:"8",r:"5"}),text:o.jsx("path",{d:"M3.5 3.5h9M8 3.5v9"}),component:o.jsx("path",{d:"M8 2l2 2-2 2-2-2zM8 10l2 2-2 2-2-2zM2 8l2-2 2 2-2 2zM10 8l2-2 2 2-2 2z"}),group:o.jsx("rect",{x:"3",y:"3",width:"10",height:"10",strokeDasharray:"2 2"})};function St({name:e,filled:t=!1,size:r=R.GLYPH}){return o.jsx("svg",{width:r,height:r,...ea,strokeWidth:ta(r),"aria-hidden":"true",focusable:"false","data-glyph":e,"data-filled":t?"true":"false",style:{flex:"0 0 auto",display:"block"},children:Ts[e](t)})}function he({name:e,size:t=R.GLYPH}){return o.jsx("svg",{width:t,height:t,...ea,strokeWidth:ta(t),"aria-hidden":"true",focusable:"false","data-glyph":e,style:{flex:"0 0 auto",display:"block"},children:Cs[e]})}function rr(e){return typeof e=="string"&&_n.includes(e)}function nr(e){return typeof e=="string"&&$n.includes(e)}const oa=8,As=2*oa,mo=4,Vt=6;function bo(e){const{reference:t}=e.elements;return t instanceof Element?{anchor:(t.closest(".cm-input-wrapper")??t).getBoundingClientRect(),reference:t.getBoundingClientRect()}:null}function ra(e){const{floating:t}=e.elements,r=bo(e),n=getComputedStyle(t).direction==="rtl",a=t.querySelector("[data-checked]")??t.querySelector('[aria-selected="true"]');if(!r)return{mainAxis:mo,alignmentAxis:0};const{anchor:s,reference:c}=r,i=v=>n?c.right-s.right-v:s.left-v-c.left;if(!a)return t.style.maxHeight="",{mainAxis:s.bottom-c.bottom+mo,alignmentAxis:i(0)};const m=s.top-(a.getBoundingClientRect().top-t.getBoundingClientRect().top+t.scrollTop),l=t.ownerDocument.documentElement.clientHeight-Vt,p=s.top>=Vt&&s.bottom<=l,f=p?Math.max(m,Vt):m,b=Math.min(m+t.scrollHeight,l);return t.style.maxHeight=p?`${String(b-f)}px`:"",t.scrollTop=f-m,{mainAxis:f-c.bottom,alignmentAxis:i(oa)}}function na(e){var r;const t=((r=bo(e))==null?void 0:r.anchor.width)??e.rects.reference.width;e.elements.floating.style.minWidth=`${String(t+As)}px`}function aa(e){var r;const t=((r=bo(e))==null?void 0:r.anchor.width)??e.rects.reference.width;e.elements.floating.style.minWidth=`${String(t)}px`}function ia(e){const t=bo(e);if(!t)return{mainAxis:mo,alignmentAxis:0};const{anchor:r,reference:n}=t,a=getComputedStyle(e.elements.floating).direction==="rtl";return{mainAxis:r.bottom-n.bottom+mo,alignmentAxis:a?n.right-r.right:r.left-n.left}}const Es={fn:e=>({x:e.x,y:e.y})};function ar(){return{position:"bottom-start",offset:ra,middlewares:{flip:!1,shift:{crossAxis:!0,padding:Vt,limiter:Es},size:{apply:na}},width:"max-content",transitionProps:{duration:0},zIndex:Nt}}function Ns(){return{position:"bottom-start",offset:ia,middlewares:{flip:!0,shift:{padding:Vt},size:{apply:aa}},width:"max-content",transitionProps:{duration:0},zIndex:Nt}}function To(e){const{reference:t}=e.elements;return t instanceof Element&&t.closest(".cm-select")!==null}function Is(){const e=ar(),t=r=>{const n=!To(r);return{mainAxis:n,crossAxis:n}};return{...e,offset:(r=>To(r)?ra(r):ia(r)),middlewares:{...e.middlewares,flip:t,size:{apply:r=>{To(r)?na(r):aa(r)}}}}}const Vr="data-cm-modality";let Gr=!1;function qr(){if(Gr||typeof document>"u")return;Gr=!0;const e=document.documentElement,t=r=>n=>{n.isTrusted&&e.getAttribute(Vr)!==r&&e.setAttribute(Vr,r)};document.addEventListener("pointerdown",t("pointer"),!0),document.addEventListener("keydown",t("keyboard"),!0)}const zs=500;let Wr=!1;function Yr(e){if(!(e instanceof HTMLInputElement)||!e.readOnly||e.dataset.expanded===void 0||!e.closest(".cm-input-wrapper"))return null;const t=e.getAttribute("aria-controls");return t?e.ownerDocument.getElementById(t):null}function Co(e,t,r){const n=[...t.querySelectorAll("[data-combobox-option]")],a=n.indexOf(r),s=n.filter(i=>i.dataset.comboboxDisabled===void 0),c=n.indexOf(s[s.length-1]);for(let i=0;i<=n.length+1;i++){const m=n.findIndex(f=>f.dataset.comboboxSelected!==void 0);if(m===a)return;const p=(m===-1?a!==c:m<a)?"ArrowDown":"ArrowUp";e.dispatchEvent(new KeyboardEvent("keydown",{key:p,code:p,bubbles:!0}))}}function Rs(){if(Wr||typeof document>"u")return;Wr=!0;let e="",t=0,r=null;const n=s=>{const c=s.target;r=s.isTrusted&&c instanceof HTMLInputElement&&c.dataset.expanded===void 0?c:null},a=s=>{const c=s.target;!s.isTrusted||c!==r||(r=null,globalThis.setTimeout(()=>{const i=Yr(c);if(!i||!(c instanceof HTMLInputElement)||c.hasAttribute("aria-activedescendant"))return;const m=i.querySelector("[data-combobox-option][data-combobox-active]");if(!m||m.dataset.comboboxDisabled!==void 0)return;const l=i.closest(".cm-listbox")??i,p=l.scrollTop;Co(c,i,m),l.scrollTop=p},0))};document.addEventListener("keydown",n,!0),document.addEventListener("click",n,!0),document.addEventListener("keydown",a),document.addEventListener("click",a),document.addEventListener("keydown",s=>{const c=Yr(s.target),i=s.target;if(!c||s.ctrlKey||s.metaKey||s.altKey)return;const m=[...c.querySelectorAll("[data-combobox-option]")].filter(w=>w.dataset.comboboxDisabled===void 0);if(m.length===0)return;if(s.key==="Home"||s.key==="End"){s.preventDefault(),Co(i,c,s.key==="Home"?m[0]:m[m.length-1]);return}if(s.key.length!==1||s.key===" ")return;s.preventDefault();const l=s.timeStamp;e=l-t>zs?s.key:e+s.key,t=l;const p=m.findIndex(w=>w.dataset.comboboxSelected!==void 0),f=e.length>1&&e===e[0].repeat(e.length),b=(f?e[0]:e).toLocaleLowerCase(),v=e.length===1||f?p+1:Math.max(p,0),S=m.length;for(let w=0;w<S;w++){const A=m[(v+w)%S];if((A.textContent??"").trim().toLocaleLowerCase().startsWith(b)){Co(i,c,A);return}}},!0)}function sa(){return o.jsx("span",{className:"cm-menu-row-check","aria-hidden":"true",children:o.jsx(he,{name:"check",size:16})})}function ca({option:e}){return o.jsxs(o.Fragment,{children:[o.jsx(sa,{}),o.jsx("span",{className:"cm-listbox-label",children:e.label??e.value})]})}function ir(){return o.jsx("span",{className:"cm-field-caret","aria-hidden":"true",children:o.jsx(he,{name:"caretDown",size:10})})}const Ls={"--menu-item-fz":"11px"},Ps={dropdown:"cm-menu-surface cm-menu",item:"cm-menu-row cm-menu-item",itemLabel:"cm-menu-item-label",itemSection:"cm-menu-item-section",label:"cm-menu-label",divider:"cm-menu-divider"},po=6;function Ms({availableHeight:e,elements:t}){t.floating.style.maxHeight=`${Math.max(0,Math.floor(e))}px`}const Os={flip:!0,shift:{padding:po},size:{padding:po,apply:Ms}},Ds={mainAxis:4,alignmentAxis:-8},At={duration:0},Yo=1e3,ho=300,la=8.5,da=6,Bs=da-la/2,Fs={tooltip:"cm-tooltip",arrow:"cm-tooltip-arrow"},Kr={dropdown:"cm-popover-surface cm-popover",arrow:"cm-popover-arrow"},Hs={root:"cm-modal",overlay:"cm-modal-overlay",content:"cm-modal-content",header:"cm-modal-header",title:"cm-modal-title",close:"cm-modal-close",body:"cm-modal-body"},Us={root:"cm-toast",icon:"cm-toast-icon",body:"cm-toast-body",title:"cm-toast-title",description:"cm-toast-description",closeButton:"cm-toast-close"},Vs={root:"cm-scroll-root",viewport:"cm-scroll-viewport",scrollbar:"cm-scroll-scrollbar",thumb:"cm-scroll-thumb",corner:"cm-scroll-corner"},Gs=10,qs=new Set(["Shift","Control","Alt","AltGraph","Meta","CapsLock","Fn","OS"]),Ws=new Set(["cm-overlay-mount","cm-tooltip-mount"]),Xr=24,Ys=4;let Jr=!1,Ko=0,Xo=0;function ua(e){return Array.from(document.querySelectorAll(".cm-tooltip")).some(t=>t!==e&&t.dataset.cmSeen!==void 0&&t.dataset.cmHeld===void 0&&t.dataset.cmDismissed===void 0)}function ma(e){return e.id?document.querySelector(`[aria-describedby~="${CSS.escape(e.id)}"]`):null}function $t(){ua()&&(Ko=performance.now()+ho);for(const e of document.querySelectorAll(".cm-tooltip")){const t=ma(e);t&&(t.matches(":hover")||t===document.activeElement)&&(e.dataset.cmDismissed="")}}function Ks(e){const t=ma(e);return!t||t!==document.activeElement||t.matches(":hover")?!1:!(Xo>=Ko-ho&&Xo<Ko)&&!ua(e)}function Xs(e){Ks(e)&&(e.dataset.cmHeld="",globalThis.setTimeout(()=>{delete e.dataset.cmHeld},Yo)),e.dataset.cmSeen=""}function Js(e){return Array.from(e.querySelectorAll('[role^="menuitem"]')).filter(t=>t.closest(".cm-menu")===e&&t.dataset.disabled===void 0&&t.getAttribute("aria-disabled")!=="true")}function Zs(e){var s;if(e.defaultPrevented||e.ctrlKey||e.metaKey||e.altKey||e.key.length!==1||e.key===" ")return;const t=e.target instanceof Element?e.target.closest(".cm-menu"):null;if(!t)return;const r=Js(t),n=r.indexOf(e.target),a=e.key.toLowerCase();for(let c=1;c<=r.length;c++){const i=r[(n+c+r.length)%r.length];if((((s=(i.querySelector(".cm-menu-item-label")??i).textContent)==null?void 0:s.trim().toLowerCase())??"").startsWith(a)){e.preventDefault(),i.focus();return}}}function Jo(e){const t=e.scrollTop>0,r=e.scrollTop+e.clientHeight<e.scrollHeight-1;e.toggleAttribute("data-cm-scroll-up",t),e.toggleAttribute("data-cm-scroll-down",r)}const It=typeof ResizeObserver>"u"?null:new ResizeObserver(e=>{for(const{target:t}of e)t.isConnected?Jo(t):It==null||It.unobserve(t)});let at=null;function sr(){at&&(cancelAnimationFrame(at.frame),at=null)}function Zr(e,t){if((at==null?void 0:at.menu)===e&&at.direction===t)return;sr();const r=()=>{at&&(e.scrollTop+=t*Ys,at.frame=requestAnimationFrame(r))};at={menu:e,direction:t,frame:requestAnimationFrame(r)}}function Qs(e){const t=e.target instanceof Element?e.target.closest(".cm-menu"):null;if(t){const r=t.getBoundingClientRect();if(t.dataset.cmScrollUp!==void 0&&e.clientY<r.top+Xr){Zr(t,-1);return}if(t.dataset.cmScrollDown!==void 0&&e.clientY>r.bottom-Xr){Zr(t,1);return}}sr()}function Zo(){if(Jr||typeof document>"u")return;Jr=!0;const e={capture:!0,passive:!0};document.addEventListener("pointerdown",$t,e),document.addEventListener("wheel",$t,e),document.addEventListener("focusin",()=>{Xo=performance.now()},e),document.addEventListener("keydown",t=>{qs.has(t.key)||$t()},e),document.addEventListener("mouseout",t=>{t.relatedTarget||($t(),sr())}),document.addEventListener("keydown",Zs),document.addEventListener("pointermove",Qs,{passive:!0}),document.addEventListener("scroll",t=>{t.target instanceof HTMLElement&&t.target.classList.contains("cm-menu")&&Jo(t.target)},e),document.addEventListener("animationstart",t=>{!Ws.has(t.animationName)||!(t.target instanceof HTMLElement)||(t.target.classList.contains("cm-tooltip")?Xs(t.target):t.target.classList.contains("cm-menu")&&(Jo(t.target),It==null||It.observe(t.target)))})}function Ot(e,t,r){return{"--input-height":e,"--input-size":e,"--input-fz":t,"--input-line-height":r}}function it(e,t,r,n){return{"--input-height":e,"--input-fz":r,"--input-line-height":n,"--input-padding-y":t}}const gt={compactSize:"sm",sizes:{xs:Ot("20px","11px","16px"),sm:Ot("24px","11px","16px"),md:Ot("32px","13px","24px"),lg:Ot("36px","15px","25px"),xl:Ot("44px","24px","32px")}},Qr={compactSize:"sm",sizes:{xs:it("48px","4px","11px","16px"),sm:it("56px","4px","11px","16px"),md:it("64px","4px","13px","22px"),lg:it("72px","6px","15px","25px"),xl:it("88px","8px","24px","32px")}},Ao={compactSize:"sm",sizes:{xs:it("20px","0px","11px","16px"),sm:it("24px","2px","11px","16px"),md:it("32px","6px","13px","24px"),lg:it("36px","8px","15px","25px"),xl:it("44px","12px","24px","32px")}},_s={compactSize:"xs",sizes:{xs:{"--cb-size":"16px","--cb-icon-size":"10px","--cb-radius":"5px"},sm:{"--cb-size":"20px","--cb-icon-size":"12px","--cb-radius":"5px"},md:{"--cb-size":"24px","--cb-icon-size":"14px","--cb-radius":"5px"},lg:{"--cb-size":"28px","--cb-icon-size":"16px","--cb-radius":"5px"},xl:{"--cb-size":"32px","--cb-icon-size":"20px","--cb-radius":"5px"}}};function _r(e){return/\bcolou?r\b/i.test(e)?e:`${e} color`}const cr={mixed:"Mixed",fieldBound:"Bound to a data attribute",fieldPending:"Set but not yet applied",scaleSqrt:"Square root scale",scaleLinear:"Linear scale",scaleLog:"Logarithmic scale",details:"Details",departure:"Warning",percentile:e=>`${e} percentile`,expandSection:e=>`Expand ${e}`,collapseSection:e=>`Collapse ${e}`,addToSection:e=>`Add ${e}`,sectionHasConfiguredValues:e=>`${e} has configured values`,about:e=>`About ${e}`,resetToDefault:e=>`Reset ${e} to default`,colorSwatch:"Pick color",colorHexValue:"Color hex value",pickColor:e=>`Pick ${_r(e)}`,colorValue:e=>_r(e),colorOpacity:e=>`${e} opacity`,opacity:"Opacity",colorPanelTitle:"Color",colorGenericName:"color",colorStops:"Color Stops",addColorStop:"Add color stop",colorStopPosition:e=>`Stop ${e} position`,removeColorStop:e=>`Remove color stop ${e}`,editColorStop:e=>`Edit stop ${e} color`,colorStopColor:e=>`Stop ${e} color`,direction:"Direction",gradientDirection:"Gradient direction",degrees:e=>`${e}°`,percent:e=>`${e}%`,dataTable:"Data table",search:"Search",searchPlaceholder:"Search",clearSearch:"Clear search",noRows:"No rows",noMatchingRows:"No rows match the search",rowsShown:(e,t)=>`${e} of ${t} rows`,rowsSelected:e=>`${e} selected`,columnMenu:e=>`Options for ${e}`,yes:"Yes",no:"No",closePanel:"Close panel",settings:"Settings",toolbar:"Tools",navigation:"Navigation",help:"Help",keyboardShortcuts:"Keyboard shortcuts",close:"Close",quickActions:"Quick actions",searchActions:"Search actions",noResults:"No results",passwordReveal:"Show the password",ordinal:(e,t)=>{switch(t){case"one":return`${e}st`;case"two":return`${e}nd`;case"few":return`${e}rd`;default:return`${e}th`}}},$s="en",Qo=u.createContext(cr),_o=u.createContext(void 0);function ec(e){return e!==void 0&&e!==""?e:typeof document<"u"&&document.documentElement.lang!==""?document.documentElement.lang:typeof navigator<"u"&&navigator.language!==""?navigator.language:$s}function tc({labels:e,locale:t,children:r}){const n=u.useContext(Qo),a=u.useContext(_o),s=u.useMemo(()=>({...n,...e}),[n,e]),c=t??a;return o.jsx(_o.Provider,{value:c,children:o.jsx(Qo.Provider,{value:s,children:r})})}function we(){return u.useContext(Qo)}function Lt(){const e=u.useContext(_o);return ec(e)}const oc=1234.5,rc="9876543210",nc=9876543210,ac=new Set([" "," "," "," ","'","’"]),ic="−",sc=/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?/iu,$r=new Map;function cc(e){var m,l;const t=$r.get(e);if(t!==void 0)return t;const r=new Intl.NumberFormat(e).formatToParts(oc),n=((m=r.find(p=>p.type==="decimal"))==null?void 0:m.value)??".",a=((l=r.find(p=>p.type==="group"))==null?void 0:l.value)??"",s=new Map;for(const p of"0123456789")s.set(p,p);const c=new Intl.NumberFormat(e,{useGrouping:!1}).format(nc);Array.from(c).forEach((p,f)=>{s.set(p,rc[f])});const i={decimal:n,digits:s,group:a};return $r.set(e,i),i}function pa(e,t){const r=cc(t);let n="";for(const s of e.trim()){const c=r.digits.get(s);if(c!==void 0){n+=c;continue}if(s===r.decimal){n+=".";continue}if(!(s===r.group||ac.has(s))){if(s==="-"||s===ic){n+="-";continue}if(s==="+"){n+="+";continue}if(s==="e"||s==="E"){n+=s;continue}break}}const a=sc.exec(n);return a===null?Number.NaN:Number(a[0])}function mt(e){const t=Lt(),r=JSON.stringify(e??{});return u.useMemo(()=>new Intl.NumberFormat(t,e),[t,r])}function ha(){const e=Lt(),t=we(),r=mt(),n=u.useMemo(()=>new Intl.PluralRules(e,{type:"ordinal"}),[e]);return u.useCallback(a=>t.ordinal(r.format(a),n.select(a)),[t,r,n])}function fa(e){const t=Lt(),r=JSON.stringify(e??{});return u.useMemo(()=>new Intl.Collator(t,e),[t,r])}function qt(){const e=Lt();return u.useCallback(t=>pa(t,e),[e])}const lc="M7.5 11C4.80285 11 2.52952 9.62184 1.09622 7.50001C2.52952 5.37816 4.80285 4 7.5 4C10.1971 4 12.4705 5.37816 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11ZM7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C1.65639 10.2936 4.30786 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C13.3436 4.70638 10.6921 3 7.5 3ZM7.5 9.5C8.60457 9.5 9.5 8.60457 9.5 7.5C9.5 6.39543 8.60457 5.5 7.5 5.5C6.39543 5.5 5.5 6.39543 5.5 7.5C5.5 8.60457 6.39543 9.5 7.5 9.5Z",dc="M13.3536 2.35355C13.5488 2.15829 13.5488 1.84171 13.3536 1.64645C13.1583 1.45118 12.8417 1.45118 12.6464 1.64645L10.6828 3.61012C9.70652 3.21671 8.63759 3 7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C0.902945 9.08812 2.02314 10.1861 3.36061 10.9323L1.64645 12.6464C1.45118 12.8417 1.45118 13.1583 1.64645 13.3536C1.84171 13.5488 2.15829 13.5488 2.35355 13.3536L4.31723 11.3899C5.29348 11.7833 6.36241 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C14.0971 5.9119 12.9769 4.81391 11.6394 4.06771L13.3536 2.35355ZM9.90428 4.38861C9.15332 4.1361 8.34759 4 7.5 4C4.80285 4 2.52952 5.37816 1.09622 7.50001C1.87284 8.6497 2.89609 9.58106 4.09974 10.1931L9.90428 4.38861ZM5.09572 10.6114L10.9003 4.80685C12.1039 5.41894 13.1272 6.35031 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11C6.65241 11 5.84668 10.8639 5.09572 10.6114Z";function uc({reveal:e}){const t=we();return o.jsxs(o.Fragment,{children:[o.jsx("svg",{viewBox:"0 0 15 15",fill:"none","aria-hidden":!0,style:{width:"var(--psi-icon-size)",height:"var(--psi-icon-size)"},children:o.jsx("path",{d:e?dc:lc,fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}),o.jsx(d.VisuallyHidden,{children:t.passwordReveal})]})}function mc(e,t){return e==="unstyled"?"none":e==="outlined"||e==="default"?"outlined":e==="filled"?"filled":t}const pc={label:"cm-field-label",description:"cm-field-description",error:"cm-field-error"};function dt(e,t=""){return(r,n)=>{const a=mc(n.variant,e);return a==="none"?{}:{wrapper:["cm-field",a==="outlined"?"cm-field-outlined":"","cm-input-wrapper",t].filter(Boolean).join(" "),input:"cm-input",section:"cm-input-section"}}}const hc={dropdown:"cm-menu-surface cm-menu cm-listbox",options:"cm-listbox-options",option:"cm-menu-row cm-listbox-option",group:"cm-listbox-group",groupLabel:"cm-listbox-group-label",empty:"cm-listbox-empty"},en={dropdown:"cm-menu-surface cm-menu cm-listbox cm-listbox-multi",pill:"cm-input-pill",pillsList:"cm-input-pills",inputField:"cm-input-pills-field"};function eo(e,t="",r={}){const n=dt(e,t);return(a,s)=>({...n(a,s),...hc,...r})}const Eo=u.createElement(ir),fc={comboboxProps:ar(),withScrollArea:!1,renderOption:ca},No={comboboxProps:Ns(),withScrollArea:!1,renderOption:ca};function to(e,t){return Zo(),{root:{},wrapper:pe(e,t)}}const bc={InputWrapper:d.InputWrapper.extend({classNames:pc}),TextInput:d.TextInput.extend({defaultProps:{size:"sm",variant:"filled"},vars:(e,t)=>({root:{},wrapper:pe(gt,t==null?void 0:t.size)}),classNames:dt("filled")}),NumberInput:d.NumberInput.extend({defaultProps:{size:"sm",variant:"filled",hideControls:!0},vars:(e,t)=>({root:{},wrapper:pe(gt,t==null?void 0:t.size),controls:{}}),classNames:dt("filled")}),Select:d.Select.extend({defaultProps:{size:"sm",variant:"outlined",rightSection:Eo,role:"combobox",...fc},vars:(e,t)=>(qr(),Rs(),to(gt,t==null?void 0:t.size)),classNames:eo("outlined","cm-select")}),NativeSelect:d.NativeSelect.extend({defaultProps:{size:"sm",variant:"outlined",rightSection:Eo},vars:(e,t)=>(qr(),{root:{},wrapper:pe(gt,t==null?void 0:t.size)}),classNames:dt("outlined","cm-select")}),Textarea:d.Textarea.extend({defaultProps:{size:"sm",variant:"filled"},vars:(e,t)=>({root:{},wrapper:{...pe(Qr,t==null?void 0:t.size),...t!=null&&t.autosize||(t==null?void 0:t.minRows)!==void 0||(t==null?void 0:t.maxRows)!==void 0?{"--input-height":`calc(${t.minRows??1} * var(--input-line-height) + 2 * var(--input-padding-y))`}:{}}}),classNames:dt("filled")}),PasswordInput:d.PasswordInput.extend({defaultProps:{size:"sm",variant:"filled",visibilityToggleButtonProps:{},visibilityToggleIcon:uc},vars:(e,t)=>({root:{"--psi-button-size":"24px","--psi-icon-size":"12px"},wrapper:pe(gt,t==null?void 0:t.size)}),classNames:(e,t)=>({...dt("filled")(e,t),innerInput:"cm-input-inner",visibilityToggle:"cm-input-toggle"})}),Autocomplete:d.Autocomplete.extend({defaultProps:{size:"sm",variant:"filled",role:"combobox",...No},vars:(e,t)=>to(gt,t==null?void 0:t.size),classNames:eo("filled")}),MultiSelect:d.MultiSelect.extend({defaultProps:{size:"sm",variant:"filled",rightSection:Eo,...No},vars:(e,t)=>to(Ao,t==null?void 0:t.size),classNames:eo("filled","cm-pills-field",en)}),TagsInput:d.TagsInput.extend({defaultProps:{size:"sm",variant:"filled",...No},vars:(e,t)=>to(Ao,t==null?void 0:t.size),classNames:eo("filled","cm-pills-field",en)}),PillsInput:d.PillsInput.extend({defaultProps:{size:"sm",variant:"filled"},vars:(e,t)=>({root:{},wrapper:pe(Ao,t==null?void 0:t.size)}),classNames:dt("filled","cm-pills-field")}),FileInput:d.FileInput.extend({defaultProps:{size:"sm",variant:"filled"},vars:(e,t)=>({root:{},wrapper:pe(gt,t==null?void 0:t.size)}),classNames:(e,t)=>({...dt("filled")(e,t),placeholder:"cm-input-placeholder"})}),JsonInput:d.JsonInput.extend({defaultProps:{size:"sm",variant:"filled"},vars:(e,t)=>({root:{},wrapper:{...pe(Qr,t==null?void 0:t.size),...t!=null&&t.autosize||(t==null?void 0:t.minRows)!==void 0||(t==null?void 0:t.maxRows)!==void 0?{"--input-height":`calc(${t.minRows??1} * var(--input-line-height) + 2 * var(--input-padding-y))`}:{}}}),classNames:dt("filled")}),Combobox:d.Combobox.extend({defaultProps:{...Is()}}),ComboboxTarget:d.Combobox.Target.extend({defaultProps:{withExpandedAttribute:!0}}),InputClearButton:d.InputClearButton.extend({defaultProps:{size:"xs"},vars:(e,t)=>({root:pe(_s,t==null?void 0:t.size)}),classNames:{root:"cm-input-clear cm-focus-outside"}})},xc=Object.freeze(Object.defineProperty({__proto__:null,inputComponentExtensions:bc},Symbol.toStringTag,{value:"Module"})),gc="cm-tab-label";function vc(e){if(!u.isValidElement(e))return e;const{className:t,children:r}=e.props;return!(t!=null&&t.split(" ").includes(gc))||typeof r!="string"&&typeof r!="number"?e:u.cloneElement(e,void 0,r,o.jsx("span",{className:"cm-tab-reserve","data-text":String(r),"aria-hidden":"true"},"cm-tab-reserve"))}function wc(e){const{children:t,...r}=e;return o.jsx("button",{...r,children:u.Children.map(t,vc)})}const yc={compactSize:"sm",sizes:{xs:{"--pagination-control-size":"20px","--pagination-control-fz":"9px"},sm:{"--pagination-control-size":"24px","--pagination-control-fz":"11px"},md:{"--pagination-control-size":"30px","--pagination-control-fz":"13px"},lg:{"--pagination-control-size":"36px","--pagination-control-fz":"15px"},xl:{"--pagination-control-size":"44px","--pagination-control-fz":"17px"}}},kc={compactSize:"sm",sizes:{xs:{"--stepper-icon-size":"20px","--stepper-fz":"9px","--stepper-spacing":"4px"},sm:{"--stepper-icon-size":"24px","--stepper-fz":"11px","--stepper-spacing":"8px"},md:{"--stepper-icon-size":"30px","--stepper-fz":"13px","--stepper-spacing":"12px"},lg:{"--stepper-icon-size":"36px","--stepper-fz":"15px","--stepper-spacing":"16px"},xl:{"--stepper-icon-size":"44px","--stepper-fz":"17px","--stepper-spacing":"20px"}}},Sc={compactSize:"sm",sizes:{xs:{"--burger-size":"14px","--burger-line-size":"1.5px"},sm:{"--burger-size":"18px","--burger-line-size":"1.5px"},md:{"--burger-size":"24px","--burger-line-size":"2px"},lg:{"--burger-size":"30px","--burger-line-size":"3px"},xl:{"--burger-size":"38px","--burger-line-size":"4px"}}},jc={root:"cm-anchor"},Tc={root:"cm-burger cm-focus-outside",burger:"cm-burger-lines"},Cc={root:"cm-navlink",label:"cm-navlink-label",description:"cm-navlink-description",section:"cm-navlink-section",body:"cm-navlink-body"},Ac={root:"cm-pagination",control:"cm-pagination-control cm-focus-outside",dots:"cm-pagination-dots"},Ec={root:"cm-stepper",step:"cm-stepper-step",stepIcon:"cm-stepper-icon",stepLabel:"cm-stepper-label",stepDescription:"cm-stepper-description",separator:"cm-stepper-separator"},Nc={root:"cm-tabs",list:"cm-tabs-list",tab:"cm-tab",tabLabel:"cm-tab-label",tabSection:"cm-tab-section",panel:"cm-tabs-panel"},Ic={onMouseDown:Ni,onClickCapture:Ii,onMouseLeave:Fr,onKeyDown:Fr,renderRoot:wc},zc={first:"First page",previous:"Previous page",next:"Next page",last:"Last page"},Rc={Anchor:d.Anchor.extend({defaultProps:{size:"sm",underline:"never"},classNames:jc}),Burger:d.Burger.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:pe(Sc,t==null?void 0:t.size)}),classNames:Tc}),NavLink:d.NavLink.extend({classNames:Cc}),Pagination:d.Pagination.extend({defaultProps:{size:"sm",getControlProps:e=>({"aria-label":zc[e]})},vars:(e,t)=>({root:pe(yc,t==null?void 0:t.size)}),classNames:Ac}),Stepper:d.Stepper.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:pe(kc,t==null?void 0:t.size)}),classNames:Ec}),Tabs:d.Tabs.extend({defaultProps:{variant:"pills",activateTabWithKeyboard:!0,loop:!0},classNames:Nc}),TabsTab:d.Tabs.Tab.extend({defaultProps:Ic})},Lc=Object.freeze(Object.defineProperty({__proto__:null,navigationComponentExtensions:Rc},Symbol.toStringTag,{value:"Module"})),Pc={Menu:d.Menu.extend({defaultProps:{zIndex:Nt,withInitialFocusPlaceholder:!1,position:"bottom-start",offset:4,loop:!0,trapFocus:!0,transitionProps:At,middlewares:Os},classNames:Ps,vars:()=>(Zo(),{dropdown:Ls})}),MenuSub:d.Menu.Sub.extend({defaultProps:{openDelay:0,closeDelay:0,offset:Ds,floatingStrategy:"fixed",transitionProps:At,middlewares:{flip:!0,shift:{padding:po,crossAxis:!0}}}}),MenuSubItem:d.Menu.Sub.Item.extend({defaultProps:{rightSection:u.createElement("span",{className:"cm-menu-chevron","aria-hidden":!0},u.createElement(he,{name:"caretRight",size:10}))}}),Tooltip:d.Tooltip.extend({defaultProps:{zIndex:Ss,position:"bottom",offset:Bs,withArrow:!0,arrowSize:la,openDelay:Yo,closeDelay:ho,transitionProps:At,events:{hover:!0,focus:!0,touch:!1},middlewares:{flip:!0,shift:{padding:po}}},classNames:Fs,vars:()=>(Zo(),{tooltip:{}})}),TooltipGroup:d.Tooltip.Group.extend({defaultProps:{openDelay:Yo,closeDelay:ho}}),Popover:d.Popover.extend({defaultProps:{zIndex:Nt,transitionProps:At},classNames:Kr}),HoverCard:d.HoverCard.extend({defaultProps:{zIndex:Nt,transitionProps:At},classNames:Kr}),Modal:d.Modal.extend({defaultProps:{centered:!0,withOverlay:!1,transitionProps:At,closeButtonProps:{"aria-label":"Close"}},classNames:Hs}),ModalHeader:d.Modal.Header.extend({defaultProps:{role:"none"}}),Drawer:d.Drawer.extend({defaultProps:{closeButtonProps:{"aria-label":"Close"}}}),DrawerHeader:d.Drawer.Header.extend({defaultProps:{role:"none"}}),Notification:d.Notification.extend({defaultProps:{closeButtonProps:{iconSize:10}},classNames:Us}),ScrollArea:d.ScrollArea.extend({defaultProps:{type:"hover",scrollHideDelay:0,scrollbarSize:Gs},classNames:Vs})},Mc=Object.freeze(Object.defineProperty({__proto__:null,overlayComponentExtensions:Pc},Symbol.toStringTag,{value:"Module"})),tn=Object.assign({"./buttons.ts":ki,"./color.ts":Ti,"./controls.ts":Vi,"./display.ts":ps,"./feedback.ts":ks,"./inputs.ts":xc,"./navigation.ts":Lc,"./overlays.ts":Mc});function Oc(){const e={},t={};for(const r of Object.keys(tn).sort())for(const[n,a]of Object.entries(tn[r]))if(n.endsWith("ComponentExtensions"))for(const[s,c]of Object.entries(a)){if(s in t)throw new Error(`compact-mantine: ${s} is extended in both ${t[s]} and ${r}`);t[s]=r,e[s]=c}return e}const Dc=Oc(),Bc="data:font/woff2;base64,d09GMgABAAAAALyAABUAAAAB4CAAALwFAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoZeG4KyRBzVcD9IVkFSi2k/TVZBUl4GYD9TVEFUgU4nJgCFNi9sEQgKgbtAgaEUC4gOADCCnD4BNgIkA5AYBCAFhi4HoQQMB1tzzZFCvBvP7u3DbGpQpdsQgMqps1L7r3ADN3ekcLpSd3VjDvdRxlSwXT24HeDivrPV7P/////PTiZjjG6zbhuAgIaVWf//oFG6m0fKpZa1GtEM3hHeiRiGTOHDNEtW1uphm9xD8Yfsc845xSOllI6MZ0bgBa6OXQbsGPkQKYlQqD3X9YVVvH2KntB6YJwvZMXkp+C5yraOrUrG4lPZsKGIy79I0v3UzBZt9SM6yqcJLyKfWogpGCTMhFHtxxQ74e+iXfmlkqJiNbeKZ4KLcfByGbnFit+pfrn4okou/l1zuyzDbEtoImSSXDLgSfrNakEiSjNkyuNXIhj2Rtg8HXFaJ1HMmcuGV+Se8CUCw/bq3NAqMQ78EUkhmkVBNNkIe66aFY24EF5FxJKmvYhLeZu+817KeHDRANVOdSZTE0mx05wGy3iIsAUf0f92lq9M9/vv/v/fb8Oa8yVqT0nuI2nTGlyeDouviNs9inRBSSqDf7jIJKu0nX6r99J6jx/12cSUdscJp/KxG3QT7RY/9SEwOBbgQ6o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20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",Hc=`--cm-field-shadow: none;
5
5
  --cm-field-shadow-hover: none;
6
6
  --cm-field-border: var(--cm-border);`,Uc=`--cm-field-shadow: inset 0 0 0 1px var(--cm-field-edge);
7
7
  --cm-field-shadow-hover: inset 0 0 0 1px var(--cm-field-edge-hover);
@@ -46,7 +46,7 @@ ${lr(':root[data-cm-contrast="high"]')}
46
46
 
47
47
  body {
48
48
  font-family: var(--cm-font-family);
49
- ${q("body")}
49
+ ${V("body")}
50
50
  color: var(--cm-text);
51
51
  background-color: var(--cm-bg);
52
52
  }
@@ -130,7 +130,7 @@ ${Vc} {
130
130
  border: 0;
131
131
  border-radius: 5px;
132
132
  color: var(--cm-text);
133
- ${q("body")}
133
+ ${V("body")}
134
134
  outline: 1px solid transparent;
135
135
  outline-offset: -1px;
136
136
  box-shadow: var(--cm-field-shadow);
@@ -184,7 +184,7 @@ ${Vc} {
184
184
  padding: 0 16px;
185
185
  background: transparent;
186
186
  color: var(--cm-text-menu);
187
- ${q("body")}
187
+ ${V("body")}
188
188
  cursor: default;
189
189
  }
190
190
  .cm-menu-row::before {
@@ -450,7 +450,7 @@ ${Dt}${ft} {
450
450
  .cm-split {
451
451
  display: inline-flex;
452
452
  gap: 1px;
453
- ${q("body")}
453
+ ${V("body")}
454
454
  }
455
455
  .cm-split > .cm-split-main { border-radius: 5px 0 0 5px; }
456
456
  .cm-split > .cm-split-chevron {
@@ -516,7 +516,7 @@ ${Dt}${ft} {
516
516
  .cm-section-title {
517
517
  display: block;
518
518
  min-width: 0;
519
- ${q("bodyStrong")}
519
+ ${V("bodyStrong")}
520
520
  line-height: 32px;
521
521
  letter-spacing: normal;
522
522
  color: inherit;
@@ -532,7 +532,7 @@ ${Dt}${ft} {
532
532
  flex: 0 100 auto;
533
533
  min-width: 0;
534
534
  margin-inline-start: 8px;
535
- ${q("body")}
535
+ ${V("body")}
536
536
  line-height: 32px;
537
537
  color: var(--cm-text-secondary);
538
538
  overflow: hidden;
@@ -565,7 +565,7 @@ ${Dt}${ft} {
565
565
  .cm-caption {
566
566
  display: block;
567
567
  min-width: 0;
568
- ${q("captionStrong")}
568
+ ${V("captionStrong")}
569
569
  color: var(--cm-text-secondary);
570
570
  overflow: hidden;
571
571
  text-overflow: ellipsis;
@@ -574,7 +574,7 @@ ${Dt}${ft} {
574
574
 
575
575
  /* Property rows (spec 9.6). */
576
576
  .cm-row-reading {
577
- ${q("body")}
577
+ ${V("body")}
578
578
  color: var(--cm-text-secondary);
579
579
  }
580
580
  .cm-row-reading[data-disabled] { color: var(--cm-text-disabled); }
@@ -613,7 +613,7 @@ ${Dt}${ft} {
613
613
  background-color: var(--cm-bg-secondary);
614
614
  border-radius: 5px;
615
615
  color: var(--cm-text);
616
- ${q("body")}
616
+ ${V("body")}
617
617
  }
618
618
  /* The interactive readout is itself the focused element, so it writes the whole outline:
619
619
  Mantine's .mantine-focus-never:focus { outline: none } would otherwise erase cm-field's ring. */
@@ -623,12 +623,12 @@ ${Dt}${ft} {
623
623
 
624
624
  /* Chart, ramp and prose rows (spec 9.8). */
625
625
  .cm-chart-text {
626
- ${q("body")}
626
+ ${V("body")}
627
627
  color: var(--cm-text-secondary);
628
628
  }
629
- .cm-chart-value { ${q("body")} color: var(--cm-text); }
629
+ .cm-chart-value { ${V("body")} color: var(--cm-text); }
630
630
  .cm-prose {
631
- ${q("body")}
631
+ ${V("body")}
632
632
  color: var(--cm-text-secondary);
633
633
  }
634
634
 
@@ -735,7 +735,7 @@ ${Dt}${ft} {
735
735
  .cm-paint-label {
736
736
  margin-bottom: 4px;
737
737
  color: var(--cm-text-secondary);
738
- ${q("legend")}
738
+ ${V("legend")}
739
739
  }
740
740
 
741
741
  /* 7.2 Paint field: one 24-tall field, a 1px border in the fill color that hover and focus
@@ -756,7 +756,7 @@ ${Dt}${ft} {
756
756
  border-radius: 5px;
757
757
  background-color: var(--cm-bg-secondary);
758
758
  color: var(--cm-text);
759
- ${q("body")}
759
+ ${V("body")}
760
760
  box-shadow: var(--cm-field-shadow);
761
761
  }
762
762
  .cm-paint-field:hover,
@@ -870,6 +870,13 @@ ${Dt}${ft} {
870
870
  user-select: none;
871
871
  touch-action: none;
872
872
  }
873
+ /* A field too narrow for the hex and the opacity box together keeps the hex: the opacity box goes,
874
+ and the opacity stays editable in the picker. 120 is the chit, the hex's six digits and the
875
+ 54px opacity box. */
876
+ .cm-paint-field { container-type: inline-size; }
877
+ @container (max-width: 119px) {
878
+ .cm-paint-opacity { display: none; }
879
+ }
873
880
  .cm-paint-opacity[data-disabled] .cm-paint-suffix {
874
881
  color: var(--cm-text-disabled);
875
882
  cursor: default;
@@ -880,7 +887,7 @@ ${Dt}${ft} {
880
887
  box-sizing: border-box;
881
888
  width: 240px;
882
889
  color: var(--cm-text);
883
- ${q("body")}
890
+ ${V("body")}
884
891
  }
885
892
  .cm-color-picker-types {
886
893
  display: flex;
@@ -1088,7 +1095,7 @@ ${Dt}${ft} {
1088
1095
  width: 100%;
1089
1096
  padding-bottom: 12px;
1090
1097
  color: var(--cm-text);
1091
- ${q("body")}
1098
+ ${V("body")}
1092
1099
  }
1093
1100
  .cm-gradient-row {
1094
1101
  display: flex;
@@ -1165,7 +1172,7 @@ ${Dt}${ft} {
1165
1172
  height: 32px;
1166
1173
  margin-top: 8px;
1167
1174
  padding-inline: 16px 8px;
1168
- ${q("bodyStrong")}
1175
+ ${V("bodyStrong")}
1169
1176
  }
1170
1177
  .cm-gradient-header > :last-child { margin-inline-start: auto; }
1171
1178
  .cm-gradient-stops { margin-top: 4px; }
@@ -1306,16 +1313,16 @@ ${Dt}${ft} {
1306
1313
  display: flex;
1307
1314
  align-items: center;
1308
1315
  min-height: 16px;
1309
- ${q("captionStrong")}
1316
+ ${V("captionStrong")}
1310
1317
  color: var(--cm-text-secondary);
1311
1318
  margin: 0 0 4px 0;
1312
1319
  }
1313
1320
  .cm-field-description {
1314
- ${q("legend")}
1321
+ ${V("legend")}
1315
1322
  color: var(--cm-text-secondary);
1316
1323
  }
1317
1324
  .cm-field-error {
1318
- ${q("legend")}
1325
+ ${V("legend")}
1319
1326
  color: var(--cm-text-danger);
1320
1327
  }
1321
1328
 
@@ -1428,7 +1435,7 @@ ${Dt}${ft} {
1428
1435
  align-items: center;
1429
1436
  height: 24px;
1430
1437
  padding: 0 32px;
1431
- ${q("body")}
1438
+ ${V("body")}
1432
1439
  color: var(--cm-text-menu-secondary);
1433
1440
  }
1434
1441
  .cm-listbox .cm-listbox-group-label::after {
@@ -1451,7 +1458,7 @@ ${Dt}${ft} {
1451
1458
  align-items: center;
1452
1459
  height: 24px;
1453
1460
  padding: 0 16px;
1454
- ${q("body")}
1461
+ ${V("body")}
1455
1462
  color: var(--cm-text-menu-secondary);
1456
1463
  }
1457
1464
 
@@ -1480,7 +1487,7 @@ ${Dt}${ft} {
1480
1487
  border-radius: 5px;
1481
1488
  background-color: var(--cm-bg);
1482
1489
  color: var(--cm-text);
1483
- ${q("body")}
1490
+ ${V("body")}
1484
1491
  }
1485
1492
  /* The label fills the 18px inside the pill's 1px edges; its text centered in it. */
1486
1493
  .cm-input-pill .mantine-Pill-label,
@@ -1583,7 +1590,7 @@ ${Dt}${ft} {
1583
1590
  border-inline-start: 1px solid var(--cm-bg);
1584
1591
  }
1585
1592
  .cm-combo-suffix {
1586
- ${q("body")}
1593
+ ${V("body")}
1587
1594
  color: var(--cm-text-secondary);
1588
1595
  white-space: nowrap;
1589
1596
  }
@@ -1616,7 +1623,7 @@ ${Dt}${ft} {
1616
1623
  border-radius: 5px;
1617
1624
  background-color: var(--cm-bg);
1618
1625
  color: var(--cm-text);
1619
- ${q("body")}
1626
+ ${V("body")}
1620
1627
  white-space: nowrap;
1621
1628
  overflow: hidden;
1622
1629
  text-overflow: ellipsis;
@@ -1653,7 +1660,7 @@ ${Dt}${ft} {
1653
1660
  outline: 0;
1654
1661
  background: transparent;
1655
1662
  color: var(--cm-text);
1656
- ${q("body")}
1663
+ ${V("body")}
1657
1664
  font-family: inherit;
1658
1665
  }
1659
1666
  /* Detach shows while the field is hovered or holds focus. It is never display:none, so the
@@ -1718,7 +1725,7 @@ ${Dt}${ft} {
1718
1725
  outline-offset: -1px;
1719
1726
  background: transparent;
1720
1727
  color: var(--cm-text);
1721
- ${q("body")}
1728
+ ${V("body")}
1722
1729
  text-align: start;
1723
1730
  cursor: default;
1724
1731
  }
@@ -1890,7 +1897,7 @@ ${Dt}${ft} {
1890
1897
  height: 24px;
1891
1898
  padding: 0 16px;
1892
1899
  color: var(--cm-text-menu-secondary);
1893
- ${q("body")}
1900
+ ${V("body")}
1894
1901
  }
1895
1902
 
1896
1903
  /* Menu.Divider: a full-width 1px line with 8px above and below (17px between two rows). */
@@ -1917,7 +1924,7 @@ ${Dt}${ft} {
1917
1924
  white-space: normal;
1918
1925
  overflow-wrap: break-word;
1919
1926
  pointer-events: none;
1920
- ${q("body")}
1927
+ ${V("body")}
1921
1928
  }
1922
1929
  .cm-tooltip-arrow { border: 0; }
1923
1930
  /* Hidden by overlayBehavior.ts: dismissed (pointer-down, key, wheel, pointer left the window)
@@ -1961,7 +1968,7 @@ ${Dt}${ft} {
1961
1968
  white-space: nowrap;
1962
1969
  overflow: hidden;
1963
1970
  text-overflow: ellipsis;
1964
- ${q("bodyStrong")}
1971
+ ${V("bodyStrong")}
1965
1972
  letter-spacing: normal;
1966
1973
  }
1967
1974
  .cm-popout-tabs { flex: 1; min-width: 0; }
@@ -1986,7 +1993,7 @@ ${Dt}${ft} {
1986
1993
  box-sizing: border-box;
1987
1994
  padding: 12px 16px;
1988
1995
  color: var(--cm-text-secondary);
1989
- ${q("body")}
1996
+ ${V("body")}
1990
1997
  }
1991
1998
 
1992
1999
  /* ---------------------------------------------------------------- 8.5 modal */
@@ -2016,7 +2023,7 @@ ${Dt}${ft} {
2016
2023
  .cm-modal-title {
2017
2024
  margin: 0;
2018
2025
  color: var(--cm-text);
2019
- ${q("bodyStrong")}
2026
+ ${V("bodyStrong")}
2020
2027
  /* Figma's dialog title (dialog-file--save-to-version-history h2): 0.055px. */
2021
2028
  letter-spacing: 0.055px;
2022
2029
  }
@@ -2024,7 +2031,7 @@ ${Dt}${ft} {
2024
2031
  /* Every Figma dialog capture (save-to-version-history, color-profile, export-frames-to-pdf,
2025
2032
  element 29): 8px 16px, so the first field sits 8px below the header divider. */
2026
2033
  padding: 8px 16px;
2027
- ${q("body")}
2034
+ ${V("body")}
2028
2035
  }
2029
2036
  /* ModalFooter: 40 tall across the modal's full width (it cancels the body's 8px 16px padding,
2030
2037
  leaving Figma's 8px between the last field and the footer),
@@ -2073,9 +2080,9 @@ ${Dt}${ft} {
2073
2080
  display: flex;
2074
2081
  align-items: center;
2075
2082
  color: inherit;
2076
- ${q("bodyStrong")}
2083
+ ${V("bodyStrong")}
2077
2084
  }
2078
- .cm-toast-title { color: inherit; ${q("bodyStrong")} }
2085
+ .cm-toast-title { color: inherit; ${V("bodyStrong")} }
2079
2086
  /* The message: padding 8, 11/16 550. */
2080
2087
  .cm-toast-message {
2081
2088
  display: flex;
@@ -2084,7 +2091,7 @@ ${Dt}${ft} {
2084
2091
  padding: 8px;
2085
2092
  white-space: nowrap;
2086
2093
  color: var(--cm-text-menu);
2087
- ${q("bodyStrong")}
2094
+ ${V("bodyStrong")}
2088
2095
  }
2089
2096
  /* The action: Figma's secondary button in the dark scope -- 24 tall, transparent, a 1px
2090
2097
  translucent outline, radius 5; hover #373737 (the transparent hover over #2c2c2c). */
@@ -2099,7 +2106,7 @@ ${Dt}${ft} {
2099
2106
  color: var(--cm-text-menu);
2100
2107
  outline: 1px solid var(--cm-border-translucent);
2101
2108
  outline-offset: -1px;
2102
- ${q("body")}
2109
+ ${V("body")}
2103
2110
  }
2104
2111
  /* The button's own inner parts carry no inset of their own here: the 8px is the action's. */
2105
2112
  .cm-toast-action .mantine-Button-inner,
@@ -2179,12 +2186,12 @@ ${Dt}${ft} {
2179
2186
  border-radius: 9999px;
2180
2187
  }
2181
2188
  .cm-progress-section { background-color: var(--progress-section-color, var(--cm-bg-brand)); }
2182
- .cm-progress-label { ${q("caption")} color: var(--cm-text-onbrand); }
2189
+ .cm-progress-label { ${V("caption")} color: var(--cm-text-onbrand); }
2183
2190
 
2184
2191
  /* RingProgress: the track in the field fill and the label in the text color. Mantine sets the
2185
2192
  track at [scheme] .m_x (0,2,0). */
2186
2193
  .cm-ring-progress .cm-ring-curve { --rp-curve-root-color: var(--cm-bg-secondary); }
2187
- .cm-ring-progress-label { color: var(--cm-text); ${q("body")} }
2194
+ .cm-ring-progress-label { color: var(--cm-text); ${V("body")} }
2188
2195
  `,tl=Object.freeze(Object.defineProperty({__proto__:null,default:el},Symbol.toStringTag,{value:"Module"})),ol=`
2189
2196
  /* Mouse focus: Mantine's .mantine-focus-never:focus { outline: none } would drop the resting
2190
2197
  transparent ring slot on a pressed control; keep it, so only :focus-visible paints a ring. */
@@ -2204,7 +2211,7 @@ ${Dt}${ft} {
2204
2211
  .cm-checkbox-label,
2205
2212
  .cm-radio-label,
2206
2213
  .cm-switch-label {
2207
- ${q("body")}
2214
+ ${V("body")}
2208
2215
  color: var(--cm-text);
2209
2216
  padding-block: 4px;
2210
2217
  padding-inline-start: 8px;
@@ -2213,13 +2220,13 @@ ${Dt}${ft} {
2213
2220
  .cm-radio-label[data-disabled],
2214
2221
  .cm-switch-label[data-disabled] { color: var(--cm-text-disabled); }
2215
2222
  .cm-control-description {
2216
- ${q("body")}
2223
+ ${V("body")}
2217
2224
  color: var(--cm-text-secondary);
2218
2225
  margin-top: 0;
2219
2226
  padding-inline-start: 8px;
2220
2227
  }
2221
2228
  .cm-control-error {
2222
- ${q("body")}
2229
+ ${V("body")}
2223
2230
  color: var(--cm-text-danger);
2224
2231
  padding-inline-start: 8px;
2225
2232
  }
@@ -2441,7 +2448,7 @@ ${Dt}${ft} {
2441
2448
  height: 24px;
2442
2449
  padding: var(--sc-padding);
2443
2450
  border-radius: 5px;
2444
- ${q("body")}
2451
+ ${V("body")}
2445
2452
  font-size: var(--sc-font-size);
2446
2453
  color: var(--cm-text-secondary);
2447
2454
  background-color: transparent;
@@ -2517,7 +2524,7 @@ ${Dt}${ft} {
2517
2524
  }
2518
2525
 
2519
2526
  /* ---------------------------------------------------------------- Tabs (5.1) */
2520
- .cm-tab { ${q("body")} }
2527
+ .cm-tab { ${V("body")} }
2521
2528
  .cm-tabs[data-variant="pills"] .cm-tabs-list { gap: 4px; }
2522
2529
  .cm-tabs[data-variant="pills"] .cm-tab {
2523
2530
  box-sizing: border-box;
@@ -2604,13 +2611,13 @@ ${Dt}${ft} {
2604
2611
  }
2605
2612
  .cm-slider-mark { border-width: 1px; border-color: var(--cm-border-translucent-strong); background-color: var(--cm-bg); }
2606
2613
  .cm-slider-mark[data-filled] { border-color: var(--cm-bg-brand); }
2607
- .cm-slider-mark-label { ${q("caption")} margin-top: 2px; color: var(--cm-text-secondary); }
2614
+ .cm-slider-mark-label { ${V("caption")} margin-top: 2px; color: var(--cm-text-secondary); }
2608
2615
 
2609
2616
  /* ---------------------------------------------------------------- Anchor (4.2) */
2610
2617
  .cm-anchor {
2611
2618
  position: relative;
2612
2619
  isolation: isolate;
2613
- ${q("body")}
2620
+ ${V("body")}
2614
2621
  color: var(--cm-text-brand);
2615
2622
  text-decoration: none;
2616
2623
  border-radius: 2px;
@@ -2662,7 +2669,7 @@ ${Dt}${ft} {
2662
2669
  box-sizing: border-box;
2663
2670
  min-height: 32px;
2664
2671
  padding: 4px 16px;
2665
- ${q("body")}
2672
+ ${V("body")}
2666
2673
  color: var(--cm-text);
2667
2674
  background-color: transparent;
2668
2675
  border-radius: 5px;
@@ -2690,14 +2697,14 @@ ${Dt}${ft} {
2690
2697
  outline-offset: 0;
2691
2698
  }
2692
2699
  .cm-navlink-label { font-size: 11px; line-height: 16px; }
2693
- .cm-navlink-description { ${q("body")} color: var(--cm-text-secondary); }
2700
+ .cm-navlink-description { ${V("body")} color: var(--cm-text-secondary); }
2694
2701
  .cm-navlink-section { color: var(--cm-icon-secondary); }
2695
2702
 
2696
2703
  /* ---------------------------------------------------------------- Pagination (5.9) */
2697
2704
  .cm-pagination-control {
2698
2705
  border: 0;
2699
2706
  border-radius: 5px;
2700
- ${q("body")}
2707
+ ${V("body")}
2701
2708
  font-size: var(--pagination-control-fz);
2702
2709
  color: var(--cm-text);
2703
2710
  background-color: transparent;
@@ -2723,7 +2730,7 @@ ${Dt}${ft} {
2723
2730
  border: 0;
2724
2731
  background-color: var(--cm-bg-secondary);
2725
2732
  color: var(--cm-text);
2726
- ${q("body")}
2733
+ ${V("body")}
2727
2734
  font-size: var(--stepper-fz);
2728
2735
  }
2729
2736
  .cm-stepper-step[data-progress] .cm-stepper-icon,
@@ -2732,8 +2739,8 @@ ${Dt}${ft} {
2732
2739
  background-color: var(--cm-bg-brand);
2733
2740
  color: var(--cm-text-onbrand);
2734
2741
  }
2735
- .cm-stepper-label { ${q("body")} font-size: var(--stepper-fz); color: var(--cm-text); }
2736
- .cm-stepper-description { ${q("body")} color: var(--cm-text-secondary); }
2742
+ .cm-stepper-label { ${V("body")} font-size: var(--stepper-fz); color: var(--cm-text); }
2743
+ .cm-stepper-description { ${V("body")} color: var(--cm-text-secondary); }
2737
2744
  .cm-stepper-separator { background-color: var(--cm-border); }
2738
2745
  .cm-stepper-separator[data-active] { background-color: var(--cm-bg-brand); }
2739
2746
  .cm-stepper-step:focus-visible {
@@ -2845,7 +2852,7 @@ ${Dt}${ft} {
2845
2852
 
2846
2853
  /* ---- Badge (C51; bt/mode-metronome-full #296) -------------------------------------------- */
2847
2854
  .cm-badge {
2848
- ${q("body")}
2855
+ ${V("body")}
2849
2856
  text-transform: none;
2850
2857
  outline: 1px solid transparent;
2851
2858
  outline-offset: -1px;
@@ -2907,7 +2914,7 @@ ${Dt}${ft} {
2907
2914
  height: auto;
2908
2915
  min-width: 0;
2909
2916
  padding: 0 4px;
2910
- ${q("body")}
2917
+ ${V("body")}
2911
2918
  border-color: var(--cm-border);
2912
2919
  background-color: transparent;
2913
2920
  color: var(--cm-text-secondary);
@@ -2915,7 +2922,7 @@ ${Dt}${ft} {
2915
2922
 
2916
2923
  /* ---- Pill: the variable-pill shape (spec 6.6 / 6.7) --------------------------------------- */
2917
2924
  .cm-pill {
2918
- ${q("body")}
2925
+ ${V("body")}
2919
2926
  padding-inline: 4px;
2920
2927
  background-color: var(--cm-bg);
2921
2928
  color: var(--cm-text);
@@ -2954,7 +2961,7 @@ ${Dt}${ft} {
2954
2961
  color: var(--cm-text);
2955
2962
  border-radius: 13px;
2956
2963
  box-shadow: ${oo};
2957
- ${q("body")}
2964
+ ${V("body")}
2958
2965
  }
2959
2966
  .cm-toolbar[data-floating] {
2960
2967
  position: fixed;
@@ -3069,7 +3076,7 @@ ${Dt}${ft} {
3069
3076
  color: var(--cm-text);
3070
3077
  border-radius: 13px;
3071
3078
  box-shadow: ${oo};
3072
- ${q("body")}
3079
+ ${V("body")}
3073
3080
  }
3074
3081
  .cm-secondary-toolbar[data-flush] { padding: 0; }
3075
3082
  .cm-secondary-divider {
@@ -3131,7 +3138,7 @@ ${Dt}${ft} {
3131
3138
  background-color: var(--cm-bg-info);
3132
3139
  color: var(--cm-text-brand);
3133
3140
  border-radius: 13px 13px 0 0;
3134
- ${q("headingSmall")}
3141
+ ${V("headingSmall")}
3135
3142
  font-weight: 500;
3136
3143
  }
3137
3144
 
@@ -3147,7 +3154,7 @@ ${Dt}${ft} {
3147
3154
  background-color: var(--cm-bg);
3148
3155
  border-inline-end: 1px solid var(--cm-border);
3149
3156
  color: var(--cm-text);
3150
- ${q("body")}
3157
+ ${V("body")}
3151
3158
  }
3152
3159
  .cm-nav-rail-footer {
3153
3160
  display: flex;
@@ -3198,7 +3205,7 @@ ${Dt}${ft} {
3198
3205
  white-space: nowrap;
3199
3206
  text-align: center;
3200
3207
  color: var(--cm-text);
3201
- ${q("caption")}
3208
+ ${V("caption")}
3202
3209
  }
3203
3210
  .cm-rail-button:hover .cm-rail-pill,
3204
3211
  .cm-rail-button:active .cm-rail-pill,
@@ -3341,7 +3348,7 @@ ${Dt}${ft} {
3341
3348
  width: 302px;
3342
3349
  }
3343
3350
  .cm-sheet-column-title {
3344
- ${q("sheet")}
3351
+ ${V("sheet")}
3345
3352
  color: var(--cm-text-menu);
3346
3353
  padding: 8px 0 4px;
3347
3354
  }
@@ -3423,7 +3430,7 @@ ${Dt}${ft} {
3423
3430
  color: var(--cm-text);
3424
3431
  border-radius: 13px;
3425
3432
  box-shadow: ${oo};
3426
- ${q("largeRow")}
3433
+ ${V("largeRow")}
3427
3434
  overflow: hidden;
3428
3435
  }
3429
3436
  .cm-qa-search.cm-field {
@@ -3432,7 +3439,7 @@ ${Dt}${ft} {
3432
3439
  flex: none;
3433
3440
  height: 32px;
3434
3441
  margin: 8px 8px 0;
3435
- ${q("largeRow")}
3442
+ ${V("largeRow")}
3436
3443
  }
3437
3444
  /* Figma draws no ring on the palette's search: focus never leaves it, and the caret shows it
3438
3445
  (pm/quick-actions-open #37). The AA option keeps its 3:1 field edge (--cm-field-shadow is none
@@ -3492,7 +3499,7 @@ ${Dt}${ft} {
3492
3499
  .cm-qa-group + .cm-qa-group { margin-top: 12px; }
3493
3500
  .cm-qa-group-title {
3494
3501
  margin: 0 0 4px 8px;
3495
- ${q("body")}
3502
+ ${V("body")}
3496
3503
  color: var(--cm-text-secondary);
3497
3504
  }
3498
3505
  .cm-qa-row {
@@ -3545,7 +3552,7 @@ ${Dt}${ft} {
3545
3552
  overflow: hidden;
3546
3553
  white-space: nowrap;
3547
3554
  text-overflow: ellipsis;
3548
- ${q("body")}
3555
+ ${V("body")}
3549
3556
  color: var(--cm-text-secondary);
3550
3557
  }
3551
3558
  .cm-qa-row[aria-disabled="true"] .cm-qa-row-description { color: var(--cm-text-disabled); }
@@ -3560,7 +3567,7 @@ ${Dt}${ft} {
3560
3567
  .cm-qa-empty {
3561
3568
  display: block;
3562
3569
  padding: 12px 24px 0;
3563
- ${q("body")}
3570
+ ${V("body")}
3564
3571
  color: var(--cm-text-secondary);
3565
3572
  }
3566
3573
  `,al=Object.freeze(Object.defineProperty({__proto__:null,default:nl},Symbol.toStringTag,{value:"Module"})),il=`
@@ -3580,7 +3587,7 @@ ${Dt}${ft} {
3580
3587
  align-items: center;
3581
3588
  width: 100%;
3582
3589
  height: 32px;
3583
- ${q("layerNested")}
3590
+ ${V("layerNested")}
3584
3591
  color: var(--cm-text);
3585
3592
  outline: none;
3586
3593
  cursor: default;
@@ -3886,7 +3893,7 @@ ${Dt}${ft} {
3886
3893
  outline: none;
3887
3894
  box-shadow: none;
3888
3895
  color: var(--cm-text);
3889
- ${q("body")}
3896
+ ${V("body")}
3890
3897
  }
3891
3898
  .cm-rename.cm-rename .cm-rename-input::selection { background-color: var(--cm-text-highlight); }
3892
3899
 
@@ -4017,7 +4024,7 @@ ${Dt}${ft} {
4017
4024
  height: 32px;
4018
4025
  padding-block: 0;
4019
4026
  padding-inline: 16px;
4020
- ${q("bodyStrong")}
4027
+ ${V("bodyStrong")}
4021
4028
  color: var(--cm-text-secondary);
4022
4029
  }
4023
4030
  .cm-data-row-header-sort {
@@ -4073,13 +4080,13 @@ ${Dt}${ft} {
4073
4080
  outline-offset: -1px;
4074
4081
  background: transparent;
4075
4082
  color: var(--cm-text);
4076
- ${q("body")}
4083
+ ${V("body")}
4077
4084
  white-space: nowrap;
4078
4085
  }
4079
4086
 
4080
4087
  /* ---- DataTable (10.6) -------------------------------------------------------------------- */
4081
4088
  .cm-dt { display: flex; flex-direction: column; gap: 8px; width: 100%; color: var(--cm-text); }
4082
- .cm-dt-count { flex: none; color: var(--cm-text-secondary); ${q("body")} }
4089
+ .cm-dt-count { flex: none; color: var(--cm-text-secondary); ${V("body")} }
4083
4090
  .cm-dt-viewport { position: relative; overflow: auto; background: var(--cm-bg); }
4084
4091
  /* Every cell draws its grid line as a 1px outline over a 1px gap, so neighboring lines overlap
4085
4092
  instead of doubling. The table's 1px padding keeps the outer lines inside the scroll area. */
@@ -4090,7 +4097,7 @@ ${Dt}${ft} {
4090
4097
  padding: 1px;
4091
4098
  background: var(--cm-bg);
4092
4099
  color: var(--cm-text);
4093
- ${q("body")}
4100
+ ${V("body")}
4094
4101
  }
4095
4102
  /* z-index 2: above the pinned body cells (z-index 1) that scroll under it. */
4096
4103
  .cm-dt .cm-dt-head { display: grid; position: sticky; top: 1px; z-index: 2; background: var(--cm-bg); }
@@ -4117,7 +4124,7 @@ ${Dt}${ft} {
4117
4124
  .cm-dt .cm-dt-cell:first-child { padding: 0 16px; }
4118
4125
  .cm-dt .cm-dt-cell:first-child:not(.cm-dt-header) { font-weight: 400; letter-spacing: normal; }
4119
4126
  .cm-dt .cm-dt-cell.cm-dt-header { padding: 0 16px; }
4120
- .cm-dt .cm-dt-header { ${q("body")} font-weight: 600; letter-spacing: normal; color: var(--cm-text); }
4127
+ .cm-dt .cm-dt-header { ${V("body")} font-weight: 600; letter-spacing: normal; color: var(--cm-text); }
4121
4128
  .cm-dt .cm-dt-row[aria-selected="true"] > .cm-dt-cell { background: var(--cm-bg-selected); }
4122
4129
  /* The active (keyboard) cell: a 1px box drawn inside the cell; the grid line stays. */
4123
4130
  .cm-dt .cm-dt-cell::before,
@@ -4167,7 +4174,7 @@ ${Dt}${ft} {
4167
4174
  .cm-dt .cm-dt-header:hover .cm-dt-header-menu,
4168
4175
  .cm-dt .cm-dt-header:focus-within .cm-dt-header-menu,
4169
4176
  .cm-dt .cm-dt-header-menu[aria-expanded="true"] { opacity: 1; }
4170
- .cm-dt .cm-dt-sort-priority { flex: none; color: var(--cm-text-secondary); ${q("caption")} }
4177
+ .cm-dt .cm-dt-sort-priority { flex: none; color: var(--cm-text-secondary); ${V("caption")} }
4171
4178
  .cm-dt .cm-dt-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
4172
4179
  .cm-dt-empty {
4173
4180
  display: flex;
@@ -4175,9 +4182,9 @@ ${Dt}${ft} {
4175
4182
  justify-content: center;
4176
4183
  padding: 16px;
4177
4184
  color: var(--cm-text-secondary);
4178
- ${q("body")}
4185
+ ${V("body")}
4179
4186
  }
4180
4187
  `,sl=Object.freeze(Object.defineProperty({__proto__:null,default:il},Symbol.toStringTag,{value:"Module"})),rn=Object.assign({"./css/00-foundation.css.ts":qc,"./css/buttons.css.ts":Yc,"./css/chrome.css.ts":Xc,"./css/color.css.ts":Qc,"./css/inputs.css.ts":$c,"./css/overlays.css.ts":tl,"./css/selection.css.ts":rl,"./css/shell.css.ts":al,"./css/tree.css.ts":sl}),nn=Object.keys(rn).sort().map(e=>rn[e].default).join(`
4181
4188
  `),an="data-compact-mantine",sn="data-cm-contrast",cn="data-cm-accent";function ba(e={}){return e.highContrast?`${nn}
4182
- ${lr(":root, :host")}`:nn}let lt=null;function Wt(e={}){if(typeof document>"u")return;lt!=null&&lt.isConnected||(lt=document.head.querySelector(`style[${an}]`),lt||(lt=document.createElement("style"),lt.setAttribute(an,""),lt.textContent=ba(),document.head.appendChild(lt)));const t=e.highContrast?"high":"figma",r=document.documentElement;r.getAttribute(sn)!==t&&r.setAttribute(sn,t)}function cl(e){const t=e!=="brand";typeof document<"u"&&document.documentElement.hasAttribute(cn)!==t&&document.documentElement.toggleAttribute(cn,t)}function ll(e,t){const r={};for(const[n,a]of Object.entries(e)){const s=a.vars;r[n]={...a,vars:(...c)=>(Wt(t),cl(c[0].primaryColor),dl(s)?s(...c):{})}}return r}function dl(e){return typeof e=="function"}function xa(e={}){const t={highContrast:e.highContrast??!1};return Wt(t),d.createTheme({colors:Wn,primaryColor:"brand",primaryShade:{light:6,dark:8},white:"#ffffff",black:"#000000",fontFamily:qo,fontFamilyMonospace:Jn,headings:{fontFamily:qo,fontWeight:"550"},fontSizes:ts,lineHeights:os,spacing:rs,radius:ns,defaultRadius:"sm",shadows:as,fontSmoothing:!0,cursorType:"default",focusRing:"never",activeClassName:"",other:{panelGrid:R,compact:t},components:ll(Dc,t)})}const ga=xa(),ul=d.mergeMantineTheme(d.DEFAULT_THEME,ga),va=["#5B8FF9FF","#FF6B6BFF","#61D095FF","#F7B731FF","#9B59B6FF","#5B8FF980","#FF6B6B80","#61D09580","#F7B73180","#9B59B680"],wa="#888888",dr=255,ur=100;function mr(e){return Math.round(Number.parseInt(e,16)/dr*ur)}function xo(e){return Math.round(e/ur*dr).toString(16).padStart(2,"0")}function ml(e){let t=e.replace("#","");t.length===3?t=`${t.split("").map(s=>s+s).join("")}ff`:t.length===4?t=t.split("").map(s=>s+s).join(""):t.length===6&&(t=`${t}ff`);const r=`#${t.slice(0,6)}`,n=t.slice(6,8),a=mr(n);return{hex:r,opacity:a}}function pl(e,t){const r=e.replace("#",""),n=xo(t);return`#${r}${n}`}function ya(e){return/^#?([A-Fa-f0-9]{3}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/.test(e)}const hl=224;function $e(e){if(!ya(e))return;let t=e.replace("#","");return t.length<=4&&(t=t.replace(/./g,"$&$&")),t.length===6&&(t+="ff"),`#${t.toUpperCase()}`}function ka(e){const t=$e(e);return t===void 0?!1:[1,3,5].every(r=>Number.parseInt(t.slice(r,r+2),16)>=hl)}function Sa(e,t,r){const n=$e(e)??"#000000FF",a=$e(t)??"#000000FF",s=c=>{const i=Number.parseInt(n.slice(c,c+2),16),m=Number.parseInt(a.slice(c,c+2),16);return Math.round(i+(m-i)*r).toString(16).padStart(2,"0")};return`#${s(1)}${s(3)}${s(5)}`.toUpperCase()}function fl(e,t){const r=e===void 0?"":e.trim();return r===""?t:`${/[.!?]$/u.test(r)?r:`${r}.`} ${t}`}function go({name:e,enabledTitle:t,disabled:r=!1,disabledReason:n,extraDescriptions:a}){const s=u.useId(),c=r&&n!==void 0&&n!==""?n:void 0,i=[];for(const l of a??[])l!==void 0&&l!==""&&i.push(l);c!==void 0&&i.push(c);const m=i.length>0?i.join(". "):void 0;return{title:c===void 0?t:fl(t??e,c),description:m,describedBy:m===void 0?void 0:s}}function ut(e){const t=u.useRef(void 0);u.useEffect(()=>{process.env.NODE_ENV==="production"||e===void 0||t.current!==e&&(t.current=e,console.warn(e))},[e])}function pr({color:e,variant:t}){const r=$e(e)??"#000000FF",n=r.slice(0,7),a=!r.endsWith("FF");return o.jsx(d.ColorSwatch,{component:"span",color:n,variant:t,mod:{light:ka(n)},"aria-hidden":!0,children:a&&o.jsx("span",{className:"cm-chit-half",style:{"--cm-chit-color":r}})})}function Yt(e,t){const r=e.currentTarget;e.stopPropagation(),t(),r.dataset.cmReverting="true",r.blur(),delete r.dataset.cmReverting}function Kt(e){return e.currentTarget.dataset.cmReverting==="true"}const bl=0,xl=100,gl=.5,vl=10;function Ro(e){return Math.min(xl,Math.max(bl,e))}function ja({value:e,onCommit:t,ariaLabel:r,isDefault:n=!1,disabled:a=!1,describedBy:s,testId:c,onFocus:i,onBlur:m}){const l=mt({maximumFractionDigits:2}),p=qt(),[f,b]=u.useState(l.format(e)),v=u.useRef(null),S=u.useRef(null);u.useEffect(()=>{b(l.format(e))},[e,l]);const w=h=>{const N=p(f);if(Number.isNaN(N)){b(l.format(e));return}const I=Ro(N);b(l.format(I)),I!==e&&t(I,h)},A=h=>{if(h.key==="Enter"){w(h);return}if(h.key==="Escape"){Yt(h,()=>{b(l.format(e))});return}if(h.key==="ArrowUp"||h.key==="ArrowDown"){h.preventDefault();const N=(h.shiftKey?vl:1)*(h.key==="ArrowUp"?1:-1),I=p(f),E=Ro(Math.round((Number.isNaN(I)?e:I)+N));b(l.format(E)),E!==e&&t(E,h)}},x=h=>{document.documentElement.style.cursor=h,document.body.style.cursor=h},k=h=>{var N;a||h.button>0||(h.preventDefault(),(N=S.current)==null||N.focus({preventScroll:!0}),"setPointerCapture"in h.currentTarget&&h.currentTarget.setPointerCapture(h.pointerId),v.current={startX:h.clientX,start:e,last:e},x("ew-resize"))},C=h=>{const N=v.current;N!==null&&(N.last=Ro(Math.round(N.start+(h.clientX-N.startX)*gl)),b(l.format(N.last)))},T=h=>{const N=v.current;N!==null&&(v.current=null,x(""),N.last!==e&&t(N.last,h))};return o.jsxs("label",{className:"cm-paint-opacity","data-disabled":a||void 0,children:[o.jsx("input",{ref:S,className:"cm-paint-input",type:"text",inputMode:"decimal",autoComplete:"off",spellCheck:!1,"data-testid":c,"data-is-default":n?"true":"false","aria-label":r,"aria-describedby":s,disabled:a,value:f,onChange:h=>{b(h.currentTarget.value)},onFocus:h=>{h.currentTarget.select(),i==null||i(h)},onBlur:h=>{Kt(h)||w(h),m==null||m(h)},onKeyDown:A}),o.jsx("span",{className:"cm-paint-suffix","aria-hidden":!0,onPointerDown:k,onPointerMove:C,onPointerUp:T,onPointerCancel:T,children:"%"})]})}const wl={saturation:"Saturation and brightness",hue:"Hue",opacity:"Opacity",eyedropper:"Sample color",format:"Color format",value:"Color value",paintType:"Paint type",solid:"Solid",gradient:"Gradient",swatches:"Swatches"},yl=[{value:"hex",label:"Hex"},{value:"rgb",label:"RGB"},{value:"hsl",label:"HSL"},{value:"hsb",label:"HSB"}];function nt(e,t){return Math.min(t,Math.max(0,e))}function wt(e){return d.convertHsvaTo("hexa",e).toUpperCase()}function no(e,t){return t==="hex"?wt(e).slice(1,7):t==="hsb"?[e.h,e.s,e.v].map(n=>Math.round(n)).join(", "):(d.convertHsvaTo(t,e).match(/[\d.]+/g)??[]).map(n=>Math.round(Number(n))).join(", ")}function kl(e,t,r){if(t==="hex"){const s=e.trim().replace("#","");if(s.length!==3&&s.length!==6)return;const c=$e(s);return c===void 0?void 0:{...d.parseColor(c.slice(0,7)),a:r}}const n=e.split(/[\s,]+/).filter(Boolean).map(Number);if(n.length!==3||n.some(Number.isNaN))return;if(t==="hsb")return{h:nt(n[0],360),s:nt(n[1],100),v:nt(n[2],100),a:r};const a=t==="rgb"?`rgb(${nt(n[0],255)}, ${nt(n[1],255)}, ${nt(n[2],255)})`:`hsl(${nt(n[0],360)}, ${nt(n[1],100)}%, ${nt(n[2],100)}%)`;return d.isColorValid(a)?{...d.parseColor(a),a:r}:void 0}function ln(e,t,r){return n=>{const a=e===1?.01:1,s=a*(n.shiftKey?10:1),c={ArrowRight:t+s,ArrowUp:t+s,ArrowLeft:t-s,ArrowDown:t-s,Home:0,End:e};n.key in c&&(n.preventDefault(),n.stopPropagation(),r(Math.round(nt(c[n.key],e)/a)*a))}}function Sl(){return o.jsxs("svg",{width:16,height:16,viewBox:"0 0 16 16","aria-hidden":!0,focusable:"false",children:[o.jsx("rect",{x:"2.5",y:"2.5",width:"11",height:"11",rx:"1",fill:"none",stroke:"currentColor"}),o.jsx("rect",{x:"4.5",y:"4.5",width:"7",height:"7",fill:"currentColor"})]})}function jl(){return o.jsxs("svg",{width:16,height:16,viewBox:"0 0 16 16","aria-hidden":!0,focusable:"false",children:[o.jsx("rect",{x:"2.5",y:"2.5",width:"11",height:"11",rx:"1",fill:"none",stroke:"currentColor"}),o.jsx("path",{d:"M4.5 4.5h2v7h-2zM7.5 4.5h1.5v7H7.5zM10 4.5h1v7h-1z",fill:"currentColor",opacity:"0.8"})]})}function hr({value:e,onChange:t,onChangeEnd:r,withAlpha:n=!0,swatches:a=[],defaultFormat:s="hex",gradient:c,paintType:i="solid",onPaintTypeChange:m,labels:l}){const p={...wl,...l},[f,b]=u.useState(()=>d.parseColor($e(e)??"#000000FF")),v=u.useRef(f);v.current=f;const[S,w]=u.useState(s),[A,x]=u.useState(no(f,S));u.useEffect(()=>{const P=$e(e);P!==void 0&&P!==wt(v.current)&&b(d.parseColor(P))},[e]),u.useEffect(()=>{x(no(f,S))},[f,S]);const k=P=>n?P:P.slice(0,7),C=P=>{const z={...P,a:n?P.a:1};b(z),v.current=z,t(k(wt(z)))},T=()=>{r==null||r(k(wt(v.current)))},h=P=>{const z=$e(P);if(z===void 0)return;const j=d.parseColor(n?z:z.slice(0,7));b(j),v.current=j;const W=k(n?z:`${z.slice(0,7)}FF`);t(W),r==null||r(W)},{ref:N}=ae.useMove(({x:P,y:z})=>{C({...v.current,s:P*100,v:(1-z)*100})},{onScrubEnd:T}),I=P=>{const z=P.shiftKey?10:1,W={ArrowRight:[z,0],ArrowLeft:[-z,0],ArrowUp:[0,z],ArrowDown:[0,-z]}[P.key];if(W===void 0)return;P.preventDefault();const{current:L}=v,M=ae.clampUseMovePosition({x:(L.s+W[0])/100,y:(L.v+W[1])/100});C({...L,s:M.x*100,v:M.y*100}),T()},E=()=>{const P=kl(A,S,v.current.a);if(P===void 0){x(no(v.current,S));return}wt(P)!==wt(v.current)&&(C(P),T())},D=typeof window>"u"?void 0:window.EyeDropper,U=()=>{D!==void 0&&new D().open().then(P=>{h(`${P.sRGBHex}${xo(v.current.a*100)}`)}).catch(()=>{})},Q=wt(f).slice(0,7),B=Math.round(f.a*100),te=c!==void 0&&i==="gradient";return o.jsxs("div",{className:"cm-color-picker","data-testid":"color-picker-panel",children:[c!==void 0&&o.jsx("div",{className:"cm-color-picker-types",children:o.jsx(d.SegmentedControl,{variant:"loose","aria-label":p.paintType,value:i,onChange:P=>{m==null||m(P)},data:[{value:"solid",label:o.jsxs(o.Fragment,{children:[o.jsx(Sl,{}),o.jsx("span",{className:"cm-visually-hidden",children:p.solid})]})},{value:"gradient",label:o.jsxs(o.Fragment,{children:[o.jsx(jl,{}),o.jsx("span",{className:"cm-visually-hidden",children:p.gradient})]})}]})}),te?c:o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"cm-color-picker-body",children:[o.jsx("div",{ref:N,className:"cm-color-saturation","data-testid":"color-picker-saturation",role:"slider",tabIndex:0,"aria-label":p.saturation,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(f.s),"aria-valuetext":`${Math.round(f.s)}%, ${Math.round(f.v)}%`,onKeyDown:I,style:{"--cm-hue":f.h,"--cm-x":`${f.s}%`,"--cm-y":`${100-f.v}%`},children:o.jsx("div",{className:"cm-color-thumb",style:{background:Q}})}),o.jsxs("div",{className:"cm-color-picker-sliders",children:[o.jsx("div",{className:"cm-color-picker-eyedropper",children:D!==void 0&&o.jsx(d.ActionIcon,{variant:"subtle",size:24,"aria-label":p.eyedropper,onClick:U,children:o.jsx(he,{name:"eyedropper"})})}),o.jsxs("div",{className:"cm-color-picker-slider-stack",children:[o.jsx(d.HueSlider,{"aria-label":p.hue,"data-testid":"color-picker-hue",value:Math.round(f.h),onChange:P=>{C({...v.current,h:P})},onChangeEnd:T,onKeyDownCapture:ln(360,Math.round(f.h),P=>{C({...v.current,h:P}),T()})}),n&&o.jsx(d.AlphaSlider,{"aria-label":p.opacity,"data-testid":"color-picker-alpha",color:Q,thumbColor:Q,value:f.a,onChange:P=>{C({...v.current,a:P})},onChangeEnd:T,onKeyDownCapture:ln(1,f.a,P=>{C({...v.current,a:P}),T()})})]})]}),o.jsxs("div",{className:"cm-color-picker-values",children:[o.jsx(d.Select,{className:"cm-color-picker-format","aria-label":p.format,data:yl,value:S,allowDeselect:!1,comboboxProps:{withinPortal:!1},onChange:P=>{P!==null&&w(P)}}),o.jsxs("div",{className:"cm-joined-field",children:[o.jsx("input",{className:"cm-paint-input",type:"text",autoComplete:"off",spellCheck:!1,"aria-label":p.value,"data-testid":"color-picker-value",value:A,onChange:P=>{x(P.currentTarget.value)},onFocus:P=>{P.currentTarget.select()},onBlur:P=>{Kt(P)||E()},onKeyDown:P=>{P.key==="Enter"?E():P.key==="Escape"&&Yt(P,()=>{x(no(v.current,S))})}}),n&&o.jsx(ja,{value:B,ariaLabel:p.opacity,testId:"color-picker-opacity",onCommit:P=>{C({...v.current,a:P/100}),T()}})]})]})]}),a.length>0&&o.jsx("fieldset",{className:"cm-fieldset cm-color-swatches","aria-label":p.swatches,children:a.map((P,z)=>o.jsx("button",{type:"button",className:"cm-color-swatch-button cm-focus-double","aria-label":P,onClick:()=>{h(P)},children:o.jsx(pr,{color:P})},`${String(z)}-${P}`))})]})]})}const Ta=u.createContext(null);function Tl(){return u.useContext(Ta)}function Cl({children:e}){const t=u.useRef(null),r=u.useMemo(()=>({anchorRef:t}),[]);if(!u.isValidElement(e))throw new Error("PopoutAnchor requires a single valid React element as its child");const n=e,a=u.cloneElement(n,{ref:t});return o.jsx(Ta.Provider,{value:r,children:a})}function Al({children:e}){return o.jsx(d.Box,{className:"cm-popout-content",children:e})}const El=["[data-portal]","[data-combobox-dropdown]","[data-menu-dropdown]","[data-popover-dropdown]","[data-tooltip]","[data-hovercard-dropdown]","[data-dates-dropdown]","[data-modal]"].join(", ");function Nl(e,t=!0){u.useEffect(()=>{if(!t)return;const r=n=>{const a=n.target;a.closest('[role="dialog"]')||a.closest("[data-popout-trigger]")||a.closest("[data-popout-portal-container]")||a.closest(El)||e()};return document.addEventListener("mousedown",r),()=>{document.removeEventListener("mousedown",r)}},[e,t])}function Il(e,t=!0){u.useEffect(()=>{if(!t)return;const r=n=>{n.key==="Escape"&&(n.preventDefault(),e())};return document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r)}},[e,t])}const Ca=u.createContext(null);function zl({id:e,children:t}){return o.jsx(Ca.Provider,{value:e,children:t})}function Aa(){return u.useContext(Ca)}const fr=u.createContext(null),br=u.createContext(null);function vo(){const e=u.useContext(fr);if(!e)throw new Error("usePopoutContext must be used within a Popout component");return e}function Ea(){return u.useContext(fr)}function Na(){const e=u.useContext(br);if(!e)throw new Error("usePopoutManagerContext must be used within a PopoutManager");return e}function Rl(){return u.useContext(br)}function Ll(){const{closeAll:e,hasOpenPopouts:t}=Na();return u.useMemo(()=>({closeAll:e,hasOpenPopouts:t}),[e,t])}function Ia({children:e,parentId:t=null,opened:r,defaultOpened:n,onOpenChange:a,exclusive:s=!0}){const c=u.useId(),i=u.useRef(null),m=Aa(),[l,p]=ae.useUncontrolled({value:r,defaultValue:n,finalValue:!1,onChange:a}),f=u.useRef(p);u.useEffect(()=>{f.current=p});const b=u.useCallback((x,k)=>{if(k){f.current(x,k);return}f.current(x)},[]),v=u.useCallback(x=>{b(!0,x)},[b]),S=u.useCallback(x=>{b(!1,x)},[b]),w=u.useCallback(x=>{b(!l,x)},[l,b]),A=u.useMemo(()=>({id:c,isOpen:l,open:v,close:S,toggle:w,triggerRef:i,parentId:t,region:m,exclusive:s}),[c,l,v,S,w,t,m,s]);return o.jsx(fr.Provider,{value:A,children:e})}function Pl({children:e}){const[t,r]=u.useState(null),n=u.useRef([]),a=u.useRef(new Map),s=u.useRef(new Map),c=u.useRef(new Map),i=u.useRef(new Set),[m,l]=u.useState(0),p=u.useCallback((z,j)=>!i.current.has(z)&&(s.current.get(z)??null)===j,[]),f=u.useCallback(z=>n.current.filter(j=>p(j,z)),[p]),b=u.useCallback(z=>{const j=[];for(const W of n.current){let L=W;for(;L;){const M=s.current.get(L)??null;if(M===z){j.push(W);break}L=M}}return j},[]),v=u.useCallback(z=>{let j=0,W=z;for(;W;){const L=s.current.get(W)??null;if(!L)break;j++,W=L}return j},[]),S=u.useCallback(z=>{var W;const j=[...z].sort((L,M)=>v(M)-v(L));for(const L of j)(W=a.current.get(L))==null||W()},[v]),w=u.useCallback((z,j,W,L,M)=>{if(n.current.includes(z)){a.current.set(z,j);return}const _=W??null,V=L??null,X=M===!1?[]:f(_),ie=[];for(const ue of X)ie.push(ue,...b(ue));S(ie);const se=new Set(ie);n.current=n.current.filter(ue=>!se.has(ue)),n.current.push(z),a.current.set(z,j),s.current.set(z,_),c.current.set(z,V),M!==!1?i.current.delete(z):i.current.add(z),l(ue=>ue+1)},[f,b,S]),A=u.useCallback(z=>{if(!n.current.includes(z)){a.current.delete(z),s.current.delete(z),c.current.delete(z),i.current.delete(z);return}n.current=n.current.filter(j=>j!==z),a.current.delete(z),s.current.delete(z),c.current.delete(z),i.current.delete(z),l(j=>j+1)},[]),x=u.useCallback(z=>{const j=n.current.indexOf(z);return j>=0?Wo+j:Wo},[]),k=u.useCallback(z=>{const j=n.current,W=j.indexOf(z);W===-1||W===j.length-1||(n.current=[...j.filter(L=>L!==z),z],l(L=>L+1))},[]),C=u.useCallback(z=>s.current.get(z)??null,[]),T=u.useCallback((z,j)=>{let W=j;for(;W;){const L=s.current.get(W);if(L===z)return!0;W=L??null}return!1},[]),h=u.useCallback(z=>{const j=[],W=n.current;for(const L of W)T(z,L)&&j.push(L);return j},[T]),N=u.useCallback(z=>{const j=h(z);for(const W of[...j].reverse()){const L=a.current.get(W);L==null||L()}},[h]),I=u.useCallback(z=>{N(z);const j=a.current.get(z);j==null||j()},[N]),E=u.useCallback((z,j)=>{for(const W of n.current)W!==z&&p(W,j)&&I(W)},[I,p]),D=u.useCallback(()=>{const z=n.current;if(z.length===0)return;const j=z[z.length-1],W=a.current.get(j);W==null||W()},[]),U=u.useCallback(()=>{const z=[...n.current];for(const j of z){const W=a.current.get(j);W==null||W()}},[]),Q=u.useCallback(()=>n.current.length>0,[]),[B,te]=u.useState(!1);u.useEffect(()=>{te(n.current.length>0)},[m]),Il(D,B),Nl(U,B);const P=u.useMemo(()=>({register:w,unregister:A,getZIndex:x,bringToFront:k,portalContainer:t,zIndexVersion:m,closeFocused:D,closeAll:U,hasOpenPopouts:Q,closeWithDescendants:I,closeDescendants:N,closeSiblings:E,getParentId:C,isAncestor:T}),[w,A,x,k,t,m,D,U,Q,I,N,E,C,T]);return o.jsxs(br.Provider,{value:P,children:[e,o.jsx("div",{ref:r,"data-popout-portal-container":!0,style:{display:"contents"}})]})}function ct(){return d.useDirection().dir}function Ue(e){return e==="rtl"}function Ml(e,t){return Ue(t)?1-e:e}function Ol(e,t,r){return Ml(e,r)*t}function Dl(e){return Ue(e)?{transform:"scaleX(-1)"}:{}}const dn=3;function Bl(e){const{isOpen:t,onPress:r,onDragStart:n,onDrag:a,onDragEnd:s}=e,[c,i]=u.useState({left:0,top:0}),m=u.useRef(!1),l=u.useRef(!1),p=u.useRef(!1),f=u.useRef({x:0,y:0,offsetLeft:0,offsetTop:0}),b=u.useCallback(()=>{i({left:0,top:0})},[]),v=u.useCallback(()=>{const k=p.current;return p.current=!1,k},[]),S=u.useCallback(k=>{const C=k.target;if(!(C.tagName==="INPUT"||C.tagName==="TEXTAREA"||C.tagName==="BUTTON"||C.tagName==="SELECT"||C.closest("button")||C.closest("input")||C.closest("textarea")||C.closest("select"))){m.current=!0,l.current=!1,p.current=!1,f.current={x:k.clientX,y:k.clientY,offsetLeft:c.left,offsetTop:c.top},r==null||r(k);try{C.setPointerCapture(k.pointerId)}catch{}}},[c.left,c.top,r]),w=u.useCallback(k=>{if(!m.current)return;const C=k.clientX-f.current.x,T=k.clientY-f.current.y;if(!l.current){if(!(Math.abs(C)>=dn||Math.abs(T)>=dn))return;l.current=!0,n==null||n(k)}const h={left:f.current.offsetLeft+C,top:f.current.offsetTop+T};i(h),a==null||a(h,k)},[a,n]),A=u.useCallback(k=>{if(!m.current)return;m.current=!1;const C=k.target;C.hasPointerCapture(k.pointerId)&&C.releasePointerCapture(k.pointerId),l.current&&(l.current=!1,p.current=!0,s==null||s(k))},[s]),x=c.left!==0||c.top!==0;return t?{dragTriggerProps:{"data-drag-trigger":!0,onPointerDown:S,onPointerMove:w,onPointerUp:A,onPointerCancel:A,style:{cursor:"grab",userSelect:"none",touchAction:"none"}},dragOffset:c,resetDragOffset:b,hasDragged:x,consumeDragClick:v}:{dragTriggerProps:{},dragOffset:{left:0,top:0},resetDragOffset:b,hasDragged:!1,consumeDragClick:v}}function Fl({config:e,onClose:t,dragTriggerProps:r={},actions:n=[],activeTab:a,onTabChange:s,titleId:c,tabsId:i}){var f;const m=ve(),{style:l,...p}=r;return o.jsxs(d.Box,{"data-testid":"popout-header",className:"cm-popout-header",...p,style:l,children:[e.variant==="title"?o.jsx("h2",{id:c,"data-testid":"popout-header-title",className:"cm-popout-title",children:e.title}):o.jsxs(o.Fragment,{children:[o.jsx(d.VisuallyHidden,{id:c,children:((f=e.tabs[0])==null?void 0:f.label)??m.settings}),o.jsx(d.Tabs,{id:i,variant:"pills",value:a??null,onChange:b=>{b!==null&&(s==null||s(b))},className:"cm-popout-tabs",children:o.jsx(d.Tabs.List,{"data-testid":"popout-header-tabs",children:e.tabs.map(b=>o.jsx(d.Tabs.Tab,{value:b.id,children:b.label},b.id))})})]}),n.length>0?o.jsx("div",{className:"cm-popout-actions",children:n.map(b=>o.jsx(d.ActionIcon,{variant:"subtle",onClick:b.onClick,"aria-label":b.label,children:b.icon},b.id))}):null,o.jsx(d.CloseButton,{"data-testid":"popout-header-close",className:"cm-popout-close",onClick:t,"aria-label":m.closePanel})]})}function un(e,t=document){return e===null?null:t.querySelector(`[data-popout-id="${e}"]`)}function mn(e,t,r){const{trigger:n,parent:a,panel:s}=r;if(e!==void 0){if(typeof e=="object")return e.current;switch(e){case"parent":return a??s??n;case"panel":return s??a??n;case"trigger":return n;default:{const c=e;throw new Error(`Unknown anchor target: ${String(c)}`)}}}return t==="x"?a??s??n:n??a??s}function Hl(e,t){return e==="start"?Ue(t)?"right":"left":e==="end"?Ue(t)?"left":"right":e}function Ul(e,t,r=Zn,n={}){const{placement:a="left",alignment:s="start",panelHeight:c=0,crossAnchorRect:i=e,direction:m="ltr"}=n;let l,p;switch(a){case"left":l=e.left-t-r,p=pn(i,s,c);break;case"right":l=e.right+r,p=pn(i,s,c);break;case"top":l=hn(i,s,t,m),p=e.top-c-r;break;case"bottom":l=hn(i,s,t,m),p=e.bottom+r;break;default:{const f=a;throw new Error(`Unknown placement: ${String(f)}`)}}return{left:l,top:p}}function pn(e,t,r){switch(t){case"start":return e.top;case"center":return e.top+e.height/2-r/2;case"end":return e.bottom-r;default:{const n=t;throw new Error(`Unknown alignment: ${String(n)}`)}}}function hn(e,t,r,n){switch(t){case"start":return Ue(n)?e.right-r:e.left;case"center":return e.left+e.width/2-r/2;case"end":return Ue(n)?e.left:e.right-r;default:{const a=t;throw new Error(`Unknown alignment: ${String(a)}`)}}}function Vl(e,t){const r=e==null?void 0:e.getBoundingClientRect(),n=Gl(t);return{x:(r==null?void 0:r.left)??0,y:(r==null?void 0:r.top)??0,scaleX:n.x,scaleY:n.y}}function Gl(e){if(!e||e.offsetWidth===0||e.offsetHeight===0)return{x:1,y:1};const t=getComputedStyle(e),r=e.getBoundingClientRect(),n=(a,s)=>Math.round(a/Number.parseFloat(s)*1e4)/1e4;return{x:n(r.width,t.width),y:n(r.height,t.height)}}function ql(e,t){return`${e}-tab-${t??""}`}function Wl(e,t){return`${e}-panel-${t??""}`}function Yl(e){var Xe,Ge;const{width:t,height:r,header:n,label:a,children:s,anchorX:c,anchorY:i,placement:m="left",alignment:l="start",gap:p,actions:f,manageFocus:b=!0,onDragStart:v,onDrag:S,onDragEnd:w}=e,{isOpen:A,close:x,triggerRef:k,id:C,parentId:T,region:h,exclusive:N=!0}=vo(),{getZIndex:I,portalContainer:E,register:D,unregister:U,bringToFront:Q,closeDescendants:B}=Na(),te=Tl(),P=ct(),z=u.useId(),j=`popout-panel-${C}`,W=`popout-title-${z}`,L=`popout-tabs-${z}`,[M,_]=u.useState(null),V=u.useRef(!1),X=u.useRef(null),ie=u.useRef(null),se=u.useCallback(()=>{Q(C)},[Q,C]),{dragTriggerProps:ue,dragOffset:Fe,resetDragOffset:Ve,hasDragged:K,consumeDragClick:le}=Bl({isOpen:A,onPress:se,onDragStart:v,onDrag:S,onDragEnd:w}),ge=(n==null?void 0:n.variant)==="tabs",me=(n==null?void 0:n.variant)==="tabs"?n:null,Se=(me==null?void 0:me.defaultTab)??((Xe=me==null?void 0:me.tabs[0])==null?void 0:Xe.id),[we,F]=u.useState(Se),g=p??(T===null?0:Qn),H=u.useCallback((oe,de)=>{var ke;F(oe),(ke=me==null?void 0:me.onTabChange)==null||ke.call(me,oe,de)},[me]),$=u.useCallback(oe=>{oe.stopPropagation(),Q(C),!le()&&B(C)},[B,Q,le,C]),Z=u.useCallback(oe=>{B(C),x(oe)},[B,x,C]),J=u.useRef(x);u.useEffect(()=>{J.current=x});const re=u.useCallback(()=>{J.current()},[]);u.useEffect(()=>(A?D(C,re,T,h,N):U(C),()=>{U(C)}),[A,C,D,U,re,T,h,N]);const ye=u.useCallback(()=>{const oe={trigger:k.current,parent:un(T),panel:(te==null?void 0:te.anchorRef.current)??null};return{inline:mn(c,"x",oe),block:mn(i,"y",oe)}},[k,T,te,c,i]),Re=u.useCallback(()=>{var tt;const{inline:oe,block:de}=ye(),ke=oe??de,Ae=de??oe;if(!ke||!Ae)return;const je=(tt=X.current)==null?void 0:tt.getBoundingClientRect(),Ee=Vl(ie.current,X.current),Je=Math.max(t*Ee.scaleX,(je==null?void 0:je.width)??0),Le=Math.max((r??0)*Ee.scaleY,(je==null?void 0:je.height)??0),Ne=Hl(m,P),Ie=Ne==="top"||Ne==="bottom",Me=Ie?Ae:ke,et=Ie?ke:Ae,Oe=Ul(Me.getBoundingClientRect(),Je,g,{placement:Ne,alignment:l,panelHeight:Le,crossAnchorRect:et.getBoundingClientRect(),direction:P});if(typeof window<"u"){const ne=window.innerHeight-Le,ze=window.innerWidth-Je;Oe.top=Math.max(0,Math.min(Oe.top,ne)),Oe.left=Math.max(0,Math.min(Oe.left,ze))}Oe.left=(Oe.left-Ee.x)/Ee.scaleX,Oe.top=(Oe.top-Ee.y)/Ee.scaleY,_(ne=>(ne==null?void 0:ne.left)===Oe.left&&ne.top===Oe.top?ne:Oe)},[ye,t,r,m,l,g,P]);if(ae.useIsomorphicEffect(()=>{if(!A){_(null);return}V.current||(Ve(),ge&&F(Se)),Re()},[A,Re,Ve,ge,Se]),u.useEffect(()=>{if(!A)return;let oe=0;const de=()=>{var Ne;oe===0&&((Ne=X.current)==null||Ne.setAttribute("data-cm-repositioning",""),oe=requestAnimationFrame(()=>{var Ie;oe=0,Lr.flushSync(Re),(Ie=X.current)==null||Ie.removeAttribute("data-cm-repositioning")}))},ke=new ResizeObserver(de),Ae=new MutationObserver(de),{inline:je,block:Ee}=ye(),Je=K?un(T):null;for(const Ne of new Set([je,Ee].filter(Ie=>Ie!==null)))K&&Ne!==Je||(ke.observe(Ne),Ae.observe(Ne,{attributes:!0,attributeFilter:["style","class"]}));const Le=typeof document<"u"?document.fonts:void 0;return K||(X.current&&ke.observe(X.current),window.addEventListener("resize",de),window.addEventListener("scroll",de,!0),Le==null||Le.addEventListener("loadingdone",de)),()=>{var Ne;oe!==0&&cancelAnimationFrame(oe),(Ne=X.current)==null||Ne.removeAttribute("data-cm-repositioning"),ke.disconnect(),Ae.disconnect(),window.removeEventListener("resize",de),window.removeEventListener("scroll",de,!0),Le==null||Le.removeEventListener("loadingdone",de)}},[A,Re,ye,K,T]),u.useEffect(()=>{var oe;if(b){if(A){const de=setTimeout(()=>{var Ae;const ke=((Ae=X.current)==null?void 0:Ae.querySelector("[data-autofocus]"))??X.current;ke==null||ke.focus()},0);return()=>{clearTimeout(de)}}V.current&&((oe=k.current)==null||oe.focus())}},[A,b,k]),u.useEffect(()=>{V.current=A},[A]),!A||!E)return null;const Ce=I(C),He={left:((M==null?void 0:M.left)??0)+Fe.left,top:((M==null?void 0:M.top)??0)+Fe.top},pt=o.jsxs(d.Box,{ref:X,className:"cm-popover-surface cm-popout",id:j,role:"dialog","aria-modal":"false","aria-labelledby":n?W:void 0,"aria-label":n?void 0:a,tabIndex:-1,onClick:$,"data-testid":"popout-panel","data-popout-id":C,...T&&{"data-parent-id":T},style:{position:"fixed",left:He.left,top:He.top,minWidth:t,width:"min-content",...r!==void 0&&{minHeight:r},...M===null&&{visibility:"hidden"},zIndex:Ce},children:[n?o.jsx(Fl,{config:n,onClose:Z,dragTriggerProps:ue,activeTab:we,onTabChange:H,actions:f,titleId:W,tabsId:L}):null,ge?o.jsx(d.Box,{"data-testid":"popout-panel-content",role:"tabpanel",id:Wl(L,we),"aria-labelledby":ql(L,we),children:(Ge=me==null?void 0:me.tabs.find(oe=>oe.id===we))==null?void 0:Ge.content}):o.jsx(d.Box,{"data-testid":"popout-panel-content",children:s})]});return Lr.createPortal(o.jsxs(o.Fragment,{children:[o.jsx("div",{ref:ie,"aria-hidden":"true",style:{position:"fixed",left:0,top:0}}),pt]}),E)}function Kl({children:e,action:t="toggle"}){const{open:r,toggle:n,triggerRef:a,isOpen:s,id:c}=vo(),i=u.useCallback(p=>{if(p.stopPropagation(),t==="open"){r(p);return}n(p)},[t,r,n]);if(!u.isValidElement(e))throw new Error("PopoutTrigger requires a single valid React element as its child");const m=`popout-panel-${c}`,l=e;return u.cloneElement(l,{onClick:p=>{var f,b;(b=(f=l.props).onClick)==null||b.call(f,p),i(p)},ref:a,"data-popout-trigger":!0,"aria-expanded":s,"aria-controls":m,"aria-haspopup":"dialog"})}function Xl({children:e,opened:t,defaultOpened:r,onOpenChange:n}){const a=Ea(),s=(a==null?void 0:a.id)??null;return o.jsx(Ia,{parentId:s,opened:t,defaultOpened:r,onOpenChange:n,children:e})}const zt=Object.assign(Xl,{Trigger:Kl,Panel:Yl,Content:Al,Anchor:Cl}),Jl=u.forwardRef(function({icon:t,size:r="sm",...n},a){const{isOpen:s}=vo();return o.jsx(d.ActionIcon,{ref:a,"data-testid":"popout-button","data-open":s||void 0,variant:"subtle",size:r,...n,children:t})});function za({children:e}){return o.jsx(Pl,{children:e})}const Zl=R.BODY,Ql=100,fn=9,Lo=7;function _l({color:e,defaultColor:t,opacity:r,defaultOpacity:n=Ql,onColorChange:a,onOpacityChange:s,onChange:c,label:i,showOpacity:m=!0,disabled:l=!1,disabledReason:p,onFocus:f,onBlur:b,width:v=Zl,showReset:S=!0}){const w=ve(),A=u.useId(),x=go({name:i,disabled:l,disabledReason:p}),k=c!==void 0;ut(k&&(a!==void 0||s!==void 0)?"CompactColorInput was given onChange together with onColorChange or onOpacityChange. Only onChange is called; drop the other callbacks.":void 0);const[C,T]=ae.useUncontrolled({value:e,defaultValue:void 0,finalValue:void 0,onChange:k?void 0:a}),[h,N]=ae.useUncontrolled({value:r,defaultValue:void 0,finalValue:void 0,onChange:k?void 0:s}),I=C===void 0,E=h===void 0,D=I&&(!m||E),U=C??t,Q=h??n,B=V=>V.replace("#","").toUpperCase(),[te,P]=u.useState(B(U));u.useEffect(()=>{P(B(U))},[U]);const z=V=>{const X=V.length===fn,ie=V.slice(0,Lo).toUpperCase(),se=X&&m,ue=se?mr(V.slice(Lo,fn)):h;T(ie),se&&N(ue),c==null||c(ie,ue)},j=V=>{const X=te.trim().replace("#",""),ie=X.length===3||X.length===6?$e(X):void 0,se=ie==null?void 0:ie.slice(0,Lo);se!==void 0&&se!==U.toUpperCase()?(T(se,V),c==null||c(se,h,V)):P(B(U))},W=(V,X)=>{N(V,X),c==null||c(C,V,X)},L=V=>{T(void 0,V),m&&N(void 0,V),c==null||c(void 0,m?void 0:h,V)},M=`${U}${xo(Q)}`.toUpperCase(),_=o.jsxs("div",{className:"cm-paint","data-testid":"compact-color-input",title:i===void 0?x.title:void 0,"data-disabled":l?"true":void 0,children:[o.jsxs("div",{className:"cm-paint-field","data-testid":"compact-color-input-field","data-disabled":l||void 0,style:{width:v},children:[o.jsxs(zt,{children:[o.jsx(zt.Trigger,{children:o.jsx("button",{type:"button",className:"cm-paint-chit","data-testid":"compact-color-input-swatch",disabled:l,"aria-label":i===void 0?w.colorSwatch:w.pickColor(i),"aria-describedby":x.describedBy,children:o.jsx(pr,{color:m?M:U,variant:"field"})})}),o.jsx(zt.Panel,{width:R.POPOVER_WIDTH,header:{variant:"title",title:i??w.colorPanelTitle},children:o.jsx(hr,{value:M,onChange:z,withAlpha:m,swatches:va})})]}),o.jsx("input",{className:"cm-paint-input cm-paint-hex",type:"text",autoComplete:"off",spellCheck:!1,"data-testid":"compact-color-input-hex","data-is-default":I?"true":"false","aria-label":i===void 0?w.colorHexValue:w.colorValue(i),"aria-describedby":x.describedBy,disabled:l,value:te,onChange:V=>{P(V.currentTarget.value.toUpperCase())},onFocus:V=>{V.currentTarget.select(),f==null||f(V)},onBlur:V=>{Kt(V)||j(V),b==null||b(V)},onKeyDown:V=>{V.key==="Enter"?j(V):V.key==="Escape"&&Yt(V,()=>{P(B(U))})}}),m&&o.jsx(ja,{value:Q,onCommit:W,ariaLabel:i===void 0?w.opacity:w.colorOpacity(i),isDefault:E,disabled:l,describedBy:x.describedBy,testId:"compact-color-input-opacity",onFocus:f,onBlur:b})]}),S&&!D&&o.jsx(d.ActionIcon,{variant:"subtle",size:R.TRAIL,c:xe.CHROME,"data-testid":"compact-color-input-reset",disabled:l,"aria-label":w.resetToDefault(i??w.colorGenericName),onClick:L,children:o.jsx(he,{name:"reset",size:R.CHEVRON})}),x.description!==void 0&&o.jsx(d.VisuallyHidden,{id:x.describedBy,children:x.description})]});return i===void 0?_:o.jsxs("fieldset",{"data-testid":"compact-color-input-labeled",className:"cm-fieldset cm-paint-labeled","aria-labelledby":A,title:x.title,children:[o.jsx("div",{id:A,"data-testid":"compact-color-input-label",className:"cm-paint-label",children:i}),_]})}function Te(){const e=d.useMantineTheme().other.compact,t=e!==void 0,r=(e==null?void 0:e.highContrast)??!1;u.useInsertionEffect(()=>{t&&Wt({highContrast:r})},[t,r])}function $l({label:e,actions:t,children:r}){Te();const n=u.useId(),a=t!=null;return o.jsxs(d.Box,{"data-testid":"control-group",role:"group","aria-labelledby":n,children:[o.jsxs(d.Box,{"data-testid":"control-group-header",className:"cm-legend",style:{minHeight:R.LEGEND},children:[o.jsx(d.Box,{component:"span",id:n,"data-testid":"control-group-label",className:"cm-legend-text",title:e,style:{flex:"1 1 auto"},children:e}),a&&o.jsx(d.Box,{"data-testid":"control-group-actions",style:{display:"flex",alignItems:"center",gap:4,flex:"0 0 auto"},children:t})]}),o.jsx(d.Box,{"data-testid":"control-group-content",children:r})]})}function Ra({open:e,rtl:t}){return e?o.jsx(he,{name:"caretDown",size:R.CHEVRON}):o.jsx("span",{"data-caret":"closed",style:{display:"inline-flex",transform:t?"scaleX(-1)":void 0},children:o.jsx(he,{name:"caretRight",size:R.CHEVRON})})}const bn=R.POPOVER_WIDTH,ed=4;function td({name:e,bubbleId:t}){const{isOpen:r,open:n,close:a}=vo();return o.jsx(zt.Trigger,{action:"open",children:o.jsx(d.ActionIcon,{variant:"subtle",size:"sm","aria-label":e,"aria-describedby":r?t:void 0,"data-testid":"info-circle",onMouseEnter:n,onMouseLeave:a,onFocus:n,onBlur:a,children:o.jsx(he,{name:"info",size:R.GLYPH})})})}function La({children:e,label:t,opened:r,defaultOpened:n,onOpenChange:a}){var f;const s=ve(),c=u.useId(),i=Rl()!==null,m=((f=Ea())==null?void 0:f.id)??null,l=s.about(t),p=o.jsxs(Ia,{parentId:m,opened:r,defaultOpened:n,onOpenChange:a,exclusive:!1,children:[o.jsx(td,{name:l,bubbleId:c}),o.jsx(zt.Panel,{width:bn,label:l,placement:"bottom",alignment:"start",gap:ed,anchorX:"trigger",anchorY:"trigger",manageFocus:!1,children:o.jsx(d.Box,{id:c,w:bn,className:"cm-info-bubble",children:e})})]});return i?p:o.jsx(za,{children:p})}function Xt(e){return e!=null&&e!==!1}function st({children:e}){return o.jsx(d.Box,{"data-testid":"trailing-slot",style:{flex:"0 0 auto",width:R.TRAIL,height:R.CONTROL_HEIGHT,display:"flex",alignItems:"center",justifyContent:"center"},children:e})}const Pa=u.forwardRef(function(t,r){const{label:n,changed:a=!1,icon:s,onClick:c,disabled:i=!1,loading:m=!1,style:l,className:p,...f}=t,b=ve(),v=a?b.sectionHasConfiguredValues(n):n;return o.jsx(d.ActionIcon,{...f,ref:r,type:"button",variant:"subtle",size:R.TRAIL,className:p===void 0?"cm-advanced-button":`cm-advanced-button ${p}`,title:v,"aria-label":v,"aria-busy":m,disabled:i,loading:m,"data-testid":"advanced-button","data-changed":a?"true":"false",onClick:c,style:{flex:"0 0 auto",...l},children:s??o.jsx(he,{name:"settings",size:R.GLYPH})})}),od=u.forwardRef(function(t,r){const{label:n,onClick:a,disabled:s=!1,style:c,...i}=t,l=ve().resetToDefault(n);return o.jsx(d.ActionIcon,{...i,ref:r,type:"button",variant:"subtle",size:R.TRAIL,c:xe.CHROME,title:l,"aria-label":l,disabled:s,"data-testid":"reset-button",onClick:a,style:{flex:"0 0 auto",...c},children:o.jsx(he,{name:"reset",size:R.CHEVRON})})});function rd(e,t,r){const n=r===void 0?t:`${t} (${r})`;return o.jsxs(d.Box,{component:"span",id:e,title:n,"data-testid":"control-section-name",className:"cm-section-title",children:[t,r===void 0?null:o.jsx(d.Box,{component:"span","data-testid":"control-section-technical-name",className:"cm-section-technical",children:` (${r})`})]})}function nd(e){Te();const{label:t,technicalName:r,opened:n,defaultOpened:a,onOpenChange:s,hasConfiguredValues:c=!1,empty:i=!1,onAdd:m,info:l,actions:p,summary:f,children:b,collapsible:v=!0}=e,S=ve(),w=ct(),A=u.useId(),x=u.useId(),k=u.useId(),C=u.useId(),[T,h]=ae.useUncontrolled({value:n,defaultValue:a,finalValue:!0,onChange:s}),N=!i&&u.Children.toArray(b).length>0,I=l!=null,E=N&&v,D=N&&(!v||T),U=E&&!T&&f!==void 0&&f!==null&&f!=="";ut(i||N?void 0:`ControlSection "${t}" was given no children, and it holds the rows of a section. Pass the rows, set "empty" to draw it as a single row with a "+", or do not render it: a section header whose chevron opens onto nothing is a dead end for the reader.`);const Q=z=>{h(!T,z)},B=T?S.collapseSection(t):S.expandSection(t),te=S.addToSection(t),P=rd(A,t,r);return o.jsxs(d.Box,{role:"group","aria-labelledby":A,"aria-describedby":I?k:void 0,"data-testid":"control-section","data-empty":i?"true":void 0,className:"cm-section",children:[o.jsxs(d.Box,{"data-testid":"control-section-header",className:"cm-section-header",style:{height:R.SECTION_HEADER,paddingInlineStart:R.PAD_LEFT,paddingInlineEnd:R.PAD_RIGHT},children:[E?o.jsxs(d.UnstyledButton,{type:"button","data-testid":"control-section-toggle","data-collapsible":"true",className:"cm-section-lead cm-focus-inside","aria-label":B,"aria-expanded":T,"aria-controls":x,"aria-describedby":U?C:void 0,onClick:Q,children:[o.jsx(d.Box,{"data-testid":"control-section-chevron-slot",className:"cm-section-chevron",children:o.jsx(Ra,{open:T,rtl:Ue(w)})}),P,U&&o.jsx(d.Box,{component:"span",id:C,"data-testid":"control-section-summary",className:"cm-section-summary",children:f})]}):o.jsx(d.Box,{className:"cm-section-lead","data-testid":"control-section-lead",onClick:i&&m!==void 0?m:void 0,children:P}),c&&o.jsx(d.Box,{role:"img","aria-label":S.sectionHasConfiguredValues(t),"data-testid":"control-section-dot",className:"cm-section-dot"}),I&&o.jsx(La,{label:t,children:l}),p!=null&&o.jsx(d.Box,{"data-testid":"control-section-actions",className:"cm-section-actions",children:p}),i&&m!==void 0&&o.jsx(st,{children:o.jsx(d.ActionIcon,{type:"button",variant:"subtle",size:R.CONTROL_HEIGHT,className:"cm-section-add",title:te,"aria-label":te,"data-testid":"control-section-add",onClick:m,children:o.jsx(he,{name:"plus",size:R.GLYPH})})})]}),I&&o.jsx(d.Box,{id:k,"data-testid":"control-section-description",hidden:!0,children:l}),N&&o.jsx(d.Box,{id:x,hidden:!D,"data-testid":"control-section-content",className:"cm-section-content",style:{paddingInlineStart:R.PAD_LEFT,paddingInlineEnd:R.PAD_RIGHT,paddingBottom:R.SECTION_PAD_BOTTOM},children:b})]})}function Rt(e){if("key"in e)return{source:"keyboard"};const t=e.nativeEvent;return typeof PointerEvent<"u"&&t instanceof PointerEvent?{source:t.pointerType===""?"keyboard":"pointer"}:{source:t.detail===0?"keyboard":"pointer"}}function ad(e){const t=ve();return u.useMemo(()=>({...t,...e}),[t,e])}const Pe=-1;function kt(e,t,r){return Math.min(Math.max(e,t),r)}function id(e,t,r,n,a){const{rowCount:s,columnCount:c,pageSize:i}=r,m=s-1,l=c-1;if(c===0)return;const p=Ue(n)?"ArrowLeft":"ArrowRight",f=Ue(n)?"ArrowRight":"ArrowLeft";if(t===p)return{row:e.row,column:Math.min(e.column+1,l)};if(t===f)return{row:e.row,column:Math.max(e.column-1,0)};if(t==="ArrowDown")return{row:kt(e.row+1,Pe,m),column:e.column};if(t==="ArrowUp")return{row:kt(e.row-1,Pe,m),column:e.column};if(t==="Home")return a.jumpToEnd?{row:Pe,column:0}:{row:e.row,column:0};if(t==="End")return a.jumpToEnd?{row:Math.max(m,Pe),column:l}:{row:e.row,column:l};if(t==="PageDown")return{row:kt(Math.max(e.row,0)+i,0,Math.max(m,0)),column:e.column};if(t==="PageUp")return{row:kt(Math.max(e.row,0)-i,0,Math.max(m,0)),column:e.column}}function sd(e,t){const r=t.rowCount-1,n=Math.max(t.columnCount-1,0);return{row:kt(e.row,Pe,Math.max(r,Pe)),column:kt(e.column,0,n)}}function ao(e,t){return e.row===t.row&&e.column===t.column}function cd(e,t,r){const n=Math.min(t,r),a=Math.max(t,r);return e.slice(n,a+1)}function $o(e,t){const r=new Set(e),n=[];for(const a of r)t.includes(a)||n.push(a);for(const a of t)r.has(a)&&n.push(a);return n}function ld(e){const{ids:t,index:r,selected:n,anchor:a,modifiers:s,mode:c}=e,i=t[r];if(c==="none"||i===void 0)return{selected:[...n],anchor:a};if(c==="single")return{selected:[i],anchor:i};const m=a===void 0?-1:t.indexOf(a);if(s.extend&&m!==-1){const l=cd(t,m,r);return{selected:s.toggle?$o([...n,...l],t):l,anchor:a}}if(s.toggle){const l=new Set(n);return l.has(i)?l.delete(i):l.add(i),{selected:$o(l,t),anchor:i}}return{selected:[i],anchor:i}}function dd(e,t,r){return r!=="multiple"?{selected:[...t],anchor:void 0}:{selected:$o([...t,...e],e),anchor:e[0]}}function xn(e,t){return e==null?"":typeof e=="string"?e:typeof e=="number"?Number.isFinite(e)?t.number.format(e):"":typeof e=="boolean"?e?t.yes:t.no:Number.isNaN(e.getTime())?"":t.date.format(e)}function gn(e){return e==null?!0:typeof e=="number"?!Number.isFinite(e):e instanceof Date&&Number.isNaN(e.getTime())}function ud(e,t){return e===t?0:e?1:-1}function md(e,t,r){const n=gn(e),a=gn(t);return n||a?n&&a?0:n?-1:1:typeof e=="number"&&typeof t=="number"?e-t:typeof e=="boolean"&&typeof t=="boolean"?ud(e,t):e instanceof Date&&t instanceof Date?e.getTime()-t.getTime():r.compare(String(e),String(t))}const pd=We.tableFeatures({columnFilteringFeature:We.columnFilteringFeature,columnOrderingFeature:We.columnOrderingFeature,columnVisibilityFeature:We.columnVisibilityFeature,filteredRowModel:We.createFilteredRowModel(),globalFilteringFeature:We.globalFilteringFeature,rowSelectionFeature:We.rowSelectionFeature,rowSortingFeature:We.rowSortingFeature,sortedRowModel:We.createSortedRowModel()}),hd=320,fd=8,vn=R.ROW_PITCH,io=1,Po=[],bd=[];function wn(e){return e==="asc"?"ascending":e==="desc"?"descending":"none"}function yn(e,t){return e==null||e===!1?t:o.jsx(d.Tooltip,{label:e,children:t})}function xd(e,t){var Ir,zr,Rr;Te();const{data:r,rowCount:n,rowOffset:a=0,onRangeChange:s,columns:c,getRowId:i,label:m,labelledBy:l,labels:p,height:f=hd,rowHeight:b=vn,headerHeight:v=vn,overscan:S=fd,selectionMode:w="multiple",selectedIds:A,defaultSelectedIds:x,onSelectionChange:k,sorting:C,defaultSorting:T,onSortingChange:h,hiddenColumns:N,defaultHiddenColumns:I,onHiddenColumnsChange:E,columnOrder:D,defaultColumnOrder:U,onColumnOrderChange:Q,filter:B,defaultFilter:te,onFilterChange:P,searchable:z=!1,onRowClick:j,onRowDoubleClick:W,onRowContextMenu:L,onFocus:M,onBlur:_,empty:V}=e,X=ad(p),ie=ct(),se=Lt(),ue=mt(),Fe=fa({numeric:!0,sensitivity:"variant"}),Ve=u.useMemo(()=>new Intl.DateTimeFormat(se),[se]),K=u.useMemo(()=>({number:ue,date:Ve,yes:X.yes,no:X.no}),[ue,Ve,X.yes,X.no]),[le,ge]=ae.useUncontrolled({value:A,defaultValue:x,finalValue:Po,onChange:(y,O)=>{k==null||k([...y],O)}}),[me,Se]=ae.useUncontrolled({value:C,defaultValue:T,finalValue:bd,onChange:(y,O)=>{h==null||h([...y],O)}}),[we,F]=ae.useUncontrolled({value:N,defaultValue:I,finalValue:Po,onChange:(y,O)=>{E==null||E([...y],O)}}),[g,H]=ae.useUncontrolled({value:D,defaultValue:U,finalValue:Po,onChange:(y,O)=>{Q==null||Q([...y],O)}}),[$,Z]=ae.useUncontrolled({value:B,defaultValue:te,finalValue:"",onChange:(y,O)=>{P==null||P(y,O)}}),J=u.useMemo(()=>{const y=new Map;for(const O of c)y.set(O.id,O);return y},[c]),re=JSON.stringify(we),ye=u.useMemo(()=>{const y=new Set(we);return c.filter(O=>(O.filterable??!0)&&!y.has(O.id)).map(O=>O.id)},[c,re]),Re=u.useMemo(()=>{const y=$.trim();if(y!=="")return{query:y.toLocaleLowerCase(se),columnIds:ye}},[$,se,ye]),Ce=u.useMemo(()=>[...r],[r]),He=u.useMemo(()=>c.map(y=>({id:y.id,accessorFn:O=>y.value(O),enableSorting:y.sortable??!0,enableHiding:y.hideable??!0,enableGlobalFilter:y.filterable??!0,sortDescFirst:y.descendingFirst,sortFn:(O,G)=>md(y.value(O.original),y.value(G.original),Fe)})),[c,Fe]),pt=JSON.stringify(me),Xe=u.useMemo(()=>me.map(y=>({id:y.id,desc:y.desc})),[pt]),Ge=u.useMemo(()=>{const y={};for(const O of we)y[O]=!1;return y},[we]),oe=u.useMemo(()=>{const y={};for(const O of le)y[O]=!0;return y},[le]),de=u.useMemo(()=>[...g],[g]),ke=u.useRef(void 0),Ae=n!==void 0,je=Ae?a:0,Ee=We.useTable({features:pd,data:Ce,columns:He,getRowId:i,manualSorting:Ae,manualFiltering:Ae,enableRowSelection:w!=="none",enableMultiRowSelection:w==="multiple",getColumnCanGlobalFilter:()=>!0,globalFilterFn:(y,O,G)=>{const ce=G;if(!(ce!=null&&ce.columnIds.includes(O)))return!1;const be=J.get(O);return be===void 0?!1:xn(be.value(y.original),K).toLocaleLowerCase(se).includes(ce.query)},state:{sorting:Xe,columnVisibility:Ge,columnOrder:de,rowSelection:oe,globalFilter:Re},onSortingChange:y=>{const O=We.functionalUpdate(y,Xe);Se(O.map(G=>({id:G.id,desc:G.desc})),ke.current)},onColumnVisibilityChange:y=>{const O=We.functionalUpdate(y,Ge);F(Object.keys(O).filter(G=>!O[G]))},onColumnOrderChange:y=>{H(We.functionalUpdate(y,de))},onRowSelectionChange:y=>{ge(Object.keys(We.functionalUpdate(y,oe)))}}),{rows:Je}=Ee.getRowModel(),Le=Ee.getVisibleLeafColumns(),Ne=y=>{var O;return((O=J.get(y))==null?void 0:O.pinned)==="start"},Ie=[...Le.filter(y=>Ne(y.id)),...Le.filter(y=>!Ne(y.id))],Me=n??Je.length,et=Ie.length,Oe=u.useMemo(()=>Je.map(y=>y.id),[Je]),tt=u.useRef(null),ne=u.useRef(null),ze=Vn.useVirtualizer({count:Me,getScrollElement:()=>tt.current,estimateSize:()=>b,gap:io,getItemKey:y=>Oe[y-je]??y,overscan:S}),Ze=ze.getVirtualItems(),Pt=((Ir=Ze[0])==null?void 0:Ir.index)??0,Mt=(((zr=Ze.at(-1))==null?void 0:zr.index)??-1)+1;u.useEffect(()=>{s==null||s(Pt,Mt)},[Pt,Mt]);const[yr,Tt]=u.useState({row:Pe,column:0}),[oi,kr]=u.useState(null),qe=u.useMemo(()=>sd(yr,{rowCount:Me,columnCount:et}),[yr,Me,et]),yo=u.useRef(!1),ko=u.useRef(void 0),Sr=y=>{y.row>=0&&ze.scrollToIndex(y.row),yo.current=!0,Tt(O=>ao(O,y)?O:y)};u.useLayoutEffect(()=>{var G;if(!yo.current)return;const y=`[data-grid-row="${qe.row}"][data-grid-column="${qe.column}"]`,O=(G=ne.current)==null?void 0:G.querySelector(y);O instanceof HTMLElement&&(yo.current=!1,O.focus())});const jr=(y,O)=>{ko.current=y.anchor,!(y.selected.length===le.length&&y.selected.every((ce,be)=>ce===le[be]))&&ge(y.selected,O)},Jt=(y,O,G)=>{jr(ld({ids:Oe,index:y-je,selected:le,anchor:ko.current,modifiers:O,mode:w}),G)},Tr=(y,O,G)=>{const ce=Je[y-je];ce!==void 0&&(j==null||j(ce.original,O,G))},ri=(y,O)=>{y.getCanSort()&&(ke.current=O,y.toggleSorting(void 0,O.shiftKey&&y.getCanMultiSort()),ke.current=void 0)},ni=()=>{var G;const y=((G=tt.current)==null?void 0:G.clientHeight)??0,O=Math.floor((y===0?b*10:y)/b);return Math.max(1,O-1)},ai=y=>{var De,xt;if(!(y.target instanceof Node)||((De=ne.current)==null?void 0:De.contains(y.target))!==!0)return;const O=qe.row===Pe?Ie[qe.column]:void 0;if(O!==void 0&&((xt=J.get(O.id))==null?void 0:xt.menu)!==void 0&&(y.altKey&&y.key==="ArrowDown"||y.shiftKey&&y.key==="F10"||y.key==="ContextMenu")){y.preventDefault(),y.stopPropagation(),kr(O.id);return}const G=w==="multiple",ce=y.ctrlKey||y.metaKey;if(G&&ce&&(y.key==="a"||y.key==="A")){y.preventDefault(),jr(dd(Oe,le,w),y);return}if(qe.row>=0&&(y.key===" "||y.key==="Enter")){y.preventDefault(),y.key===" "?Jt(qe.row,{extend:y.shiftKey,toggle:!y.shiftKey},y):(Jt(qe.row,{extend:!1,toggle:!1},y),Tr(qe.row,y,{source:"keyboard"}));return}const be=id(qe,y.key,{rowCount:Me,columnCount:et,pageSize:ni()},ie,{jumpToEnd:ce});be!==void 0&&(y.preventDefault(),Sr(be),G&&y.shiftKey&&be.row>=0&&be.row!==qe.row&&Jt(be.row,{extend:!0,toggle:!1},y))};u.useImperativeHandle(t,()=>({scrollToRow:y=>{y>=0&&y<Me&&ze.scrollToIndex(y)},setColumnHidden:(y,O)=>{var G;(G=Ee.getColumn(y))==null||G.toggleVisibility(!O)},moveColumn:(y,O)=>{const G=Ee.getAllLeafColumns().map(be=>be.id),ce=G.indexOf(y);ce!==-1&&(G.splice(ce,1),G.splice(kt(O,0,G.length),0,y),Ee.setColumnOrder(G))},clearSelection:()=>{ko.current=void 0,ge([])}}),[Ee,ze,Me,ge]);const ii=Ie.reduce((y,O)=>{var G;return y+(((G=J.get(O.id))==null?void 0:G.width)??R.FIELD)},0),So=[];{let y=io;for(const O of Ie){if(!Ne(O.id))break;So.push(y),y+=(((Rr=J.get(O.id))==null?void 0:Rr.width)??R.FIELD)+io}}const Cr=(y,O)=>{const G=(y==null?void 0:y.width)??R.FIELD,ce=O<So.length?{position:"sticky",insetInlineStart:So[O],zIndex:1}:{};return{flex:O===et-1?`1 1 ${String(G)}px`:`0 0 ${String(G)}px`,justifyContent:(y==null?void 0:y.align)==="end"?"flex-end":"flex-start",...ce}},Ar=w!=="none",Er=n??r.length,Nr=X.rowsShown(ue.format(Me),ue.format(Er)),si=()=>V!==void 0?V:Er===0?X.noRows:X.noMatchingRows;return o.jsxs(d.Box,{"data-testid":"data-table",dir:Ue(ie)?"rtl":void 0,onFocus:M,onBlur:_,className:"cm-dt",children:[z&&o.jsxs(d.Box,{style:{display:"flex",alignItems:"center",gap:R.GUTTER},children:[o.jsx(d.TextInput,{"data-testid":"data-table-search",type:"search","aria-label":X.search,placeholder:X.searchPlaceholder,value:$,onChange:y=>{Z(y.currentTarget.value,y)},rightSection:$===""?void 0:o.jsx(d.ActionIcon,{"data-testid":"data-table-search-clear",variant:"subtle",size:R.CONTROL_HEIGHT,"aria-label":X.clearSearch,onClick:y=>{Z("",y)},children:o.jsx(he,{name:"close",size:R.CHEVRON})}),rightSectionPointerEvents:"all",style:{flex:"1 1 auto",minWidth:0}}),o.jsx(d.Box,{component:"span","data-testid":"data-table-count","aria-hidden":"true",dir:"auto",className:"cm-dt-count",children:Nr})]}),o.jsxs(d.VisuallyHidden,{role:"status","aria-live":"polite",dir:"auto","data-testid":"data-table-status",children:[Nr,Ar&&le.length>0?` ${X.rowsSelected(ue.format(le.length))}`:""]}),o.jsxs(d.Box,{ref:tt,"data-testid":"data-table-viewport",className:"cm-dt-viewport",style:{height:f},children:[o.jsxs(d.Table,{ref:ne,role:"grid","aria-label":l===void 0&&m===void 0?X.dataTable:m,"aria-labelledby":l,"aria-rowcount":Me+1,"aria-colcount":et,"aria-multiselectable":w==="multiple"?!0:void 0,onKeyDown:ai,stickyHeader:!0,tabularNums:!0,withRowBorders:!1,horizontalSpacing:0,verticalSpacing:0,className:"cm-dt-table",style:{minWidth:ii+io*(et+1)},children:[o.jsx(d.Table.Thead,{className:"cm-dt-head",children:o.jsx(d.Table.Tr,{role:"row","aria-rowindex":1,className:"cm-dt-row",style:{height:v},children:Ie.map((y,O)=>{const G=J.get(y.id),ce=y.getCanSort(),be=y.getIsSorted(),De=qe.row===Pe&&qe.column===O,xt=be===!1?-1:y.getSortIndex(),Zt=De?0:-1,Ct=(G==null?void 0:G.menu)!==void 0&&G.menu!==null,Qt=o.jsxs(o.Fragment,{children:[(G==null?void 0:G.icon)!==void 0&&G.icon!==null&&o.jsx("span",{className:"cm-dt-header-icon","data-testid":"data-table-header-icon","aria-hidden":"true",children:G.icon}),o.jsx(d.Box,{component:"span","data-testid":"data-table-header-label",dir:"auto",title:(G==null?void 0:G.headerTooltip)===void 0?G==null?void 0:G.header:void 0,style:{flex:"0 1 auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:(G==null?void 0:G.header)??y.id}),be!==!1&&o.jsx("span",{className:"cm-sort-caret","data-testid":"data-table-sort-glyph","data-direction":wn(be),"aria-hidden":"true",children:o.jsx(he,{name:"caretDown",size:R.CHEVRON})}),Xe.length>1&&xt>=0&&o.jsx(d.Box,{component:"span","data-testid":"data-table-sort-priority","aria-hidden":"true",className:"cm-dt-sort-priority",children:ue.format(xt+1)})]}),Qe=o.jsxs(d.Table.Th,{scope:"col","data-testid":"data-table-header","aria-colindex":O+1,"aria-sort":ce?wn(be):void 0,"data-grid-row":ce?void 0:Pe,"data-grid-column":ce?void 0:O,tabIndex:ce?void 0:Zt,className:"cm-dt-cell cm-dt-header","data-with-menu":Ct&&!ce?"":void 0,onFocus:ce?void 0:()=>{Tt(ot=>ao(ot,{row:Pe,column:O})?ot:{row:Pe,column:O})},style:{...Cr(G,O),gap:R.GUTTER/2},children:[ce?yn(G==null?void 0:G.headerTooltip,o.jsx(d.UnstyledButton,{type:"button","data-testid":"data-table-sort-button","data-grid-row":Pe,"data-grid-column":O,tabIndex:Zt,onClick:ot=>{Tt({row:Pe,column:O}),ri(y,ot)},onFocus:()=>{Tt(ot=>ao(ot,{row:Pe,column:O})?ot:{row:Pe,column:O})},className:"cm-dt-sort","data-align":(G==null?void 0:G.align)==="end"?"end":void 0,"data-with-menu":Ct?"":void 0,children:Qt})):Qt,Ct&&o.jsxs(d.Menu,{opened:oi===y.id,onChange:ot=>{kr(ot?y.id:null);const jo=document.activeElement;!ot&&(jo===null||jo===document.body||jo.closest('[role="menu"]')!==null)&&Sr({row:Pe,column:O})},returnFocus:!1,position:"bottom-end",children:[o.jsx(d.Menu.Target,{children:o.jsx(d.ActionIcon,{variant:"subtle",size:R.CONTROL_HEIGHT,tabIndex:-1,"aria-label":(X.columnMenu??cr.columnMenu)((G==null?void 0:G.header)??y.id),"data-testid":"data-table-header-menu",className:"cm-dt-header-menu",children:o.jsx(he,{name:"caretDown",size:R.CHEVRON})})}),o.jsx(d.Menu.Dropdown,{children:G==null?void 0:G.menu})]})]},y.id);return ce?Qe:o.jsx(u.Fragment,{children:yn(G==null?void 0:G.headerTooltip,Qe)},y.id)})})}),o.jsx(d.Table.Tbody,{style:{display:"block",position:"relative",height:ze.getTotalSize()},children:Ze.map(y=>{const O=Je[y.index-je];if(O===void 0)return null;const G=le.includes(O.id);return o.jsx(d.Table.Tr,{role:"row","data-testid":"data-table-row","data-index":y.index,"data-selected":G?"true":void 0,"aria-rowindex":y.index+2,"aria-selected":Ar?G:void 0,onDoubleClick:ce=>{W==null||W(O.original,ce)},onContextMenu:ce=>{L==null||L(O.original,ce)},className:"cm-dt-row",style:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:b,transform:`translateY(${String(y.start)}px)`},children:Ie.map((ce,be)=>{const De=J.get(ce.id),xt=qe.row===y.index&&qe.column===be,Zt=De==null?void 0:De.value(O.original),Ct=xn(Zt,K),Qt=(De==null?void 0:De.cell)===void 0?o.jsx("span",{className:"cm-dt-text",dir:"auto",children:Ct}):De.cell(O.original);return o.jsx(d.Table.Td,{role:"gridcell","data-testid":"data-table-cell","aria-colindex":be+1,"data-grid-row":y.index,"data-grid-column":be,tabIndex:xt?0:-1,className:"cm-dt-cell",title:(De==null?void 0:De.cell)===void 0?Ct:void 0,onFocus:()=>{Tt(Qe=>ao(Qe,{row:y.index,column:be})?Qe:{row:y.index,column:be})},onClick:Qe=>{Tt({row:y.index,column:be}),Jt(y.index,{extend:Qe.shiftKey,toggle:Qe.metaKey||Qe.ctrlKey},Qe),Tr(y.index,Qe,Rt(Qe))},style:Cr(De,be),children:Qt},ce.id)})},O.id)})})]}),Me===0&&o.jsx(d.Box,{"data-testid":"data-table-empty",className:"cm-dt-empty",children:si()})]})]})}const gd=u.forwardRef(xd);function vd(){return Array.from(crypto.getRandomValues(new Uint8Array(4)),e=>e.toString(16).padStart(2,"0")).join("")}function Gt(e,t){return{id:vd(),offset:e,color:t}}function Ma(){return[Gt(0,"#6366F1"),Gt(1,"#06B6D4")]}const wd=2,yd=5,_e=100,Bt=360,kd=90,Oa=10,Sd={flip:"Flip gradient",rotate:"Rotate gradient 90 degrees"};function Mo(e){return Math.min(_e,Math.max(0,e))}function kn({value:e,format:t,normalize:r,onCommit:n,className:a,ariaLabel:s,role:c,min:i,max:m,testId:l}){const p=qt(),[f,b]=u.useState(t(e));u.useEffect(()=>{b(t(e))},[e,t]);const v=(w,A)=>{const x=r(w);b(t(x)),x!==e&&n(x,A)},S=w=>{const A=p(f);if(Number.isNaN(A)){b(t(e));return}v(A,w)};return o.jsx("input",{className:a,type:"text",inputMode:"decimal",autoComplete:"off",spellCheck:!1,role:c,"aria-label":s,"aria-valuenow":c===void 0?void 0:e,"aria-valuemin":c===void 0?void 0:i,"aria-valuemax":c===void 0?void 0:m,"aria-valuetext":c===void 0?void 0:t(e),"data-testid":l,value:f,onChange:w=>{b(w.currentTarget.value)},onFocus:w=>{w.currentTarget.select()},onBlur:w=>{Kt(w)||S(w)},onKeyDown:w=>{if(w.key==="Enter")S(w);else if(w.key==="Escape")Yt(w,()=>{b(t(e))});else if(w.key==="ArrowUp"||w.key==="ArrowDown"){w.preventDefault();const A=(w.shiftKey?Oa:1)*(w.key==="ArrowUp"?1:-1);v(e+A,w)}}})}function jd({color:e,onCommit:t,ariaLabel:r}){const n=e.replace("#","").toUpperCase(),[a,s]=u.useState(n);u.useEffect(()=>{s(n)},[n]);const c=i=>{var p;const m=a.trim().replace("#",""),l=m.length===3||m.length===6?(p=$e(m))==null?void 0:p.slice(0,7):void 0;if(l===void 0||l===`#${n}`){s(n);return}t(l,i)};return o.jsx("input",{className:"cm-paint-input cm-paint-hex",type:"text",autoComplete:"off",spellCheck:!1,"aria-label":r,"data-testid":"gradient-editor-stop-hex",value:a,onChange:i=>{s(i.currentTarget.value.toUpperCase())},onFocus:i=>{i.currentTarget.select()},onBlur:i=>{Kt(i)||c(i)},onKeyDown:i=>{i.key==="Enter"?c(i):i.key==="Escape"&&Yt(i,()=>{s(n)})}})}function Td(){return o.jsxs("svg",{width:16,height:16,viewBox:"0 0 16 16","aria-hidden":!0,focusable:"false",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("path",{d:"M13 5.5H3M5 3.5l-2 2 2 2"}),o.jsx("path",{d:"M3 10.5h10M11 8.5l2 2-2 2"})]})}function Cd(){return o.jsxs("svg",{width:16,height:16,viewBox:"0 0 16 16","aria-hidden":!0,focusable:"false",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("path",{d:"M8 6.5l3.5 3.5L8 13.5 4.5 10z"}),o.jsx("path",{d:"M4.5 5.5l1-1a3.5 3.5 0 0 1 5 0l1.5 1.5M12 3.5v2.5H9.5"})]})}function Ad({stops:e,defaultStops:t,direction:r,defaultDirection:n=0,showDirection:a=!0,onChange:s,onChangeStart:c,onChangeEnd:i,minStops:m=wd,maxStops:l=yd,labels:p}){var we;const f=ve(),b={...Sd,...p},v=mt({maximumFractionDigits:0}),S=u.useId(),w=u.useId(),A=u.useMemo(()=>Ma(),[]),[x,k]=ae.useUncontrolled({value:e,defaultValue:t,finalValue:A,onChange:(F,g)=>{s==null||s(F,C,g)}}),[C,T]=ae.useUncontrolled({value:r,defaultValue:n,finalValue:0,onChange:(F,g)=>{s==null||s(x,F,g)}}),[h,N]=u.useState((we=x[0])==null?void 0:we.id),I=x.find(F=>F.id===h)??x[0],E=u.useRef(x);E.current=x;const D=u.useRef(null),U=u.useRef(null),Q=u.useRef(!1),B=u.useRef(null);u.useEffect(()=>{var H;const F=B.current;if(B.current=null,F===null)return;const g=(H=D.current)==null?void 0:H.querySelectorAll(".cm-gradient-handle");g!==void 0&&g.length>0&&g[Math.min(F,g.length-1)].focus()},[x]);const te=F=>f.percent(v.format(F)),P=F=>f.degrees(v.format(F)),z=(F,g)=>E.current.map((H,$)=>$===F?{...H,offset:Mo(g)/_e}:H),j=(F,g)=>{c==null||c(),k(F,g),E.current=F,i==null||i(F,C)},W=F=>{if(x.length>=l)return;const g=x[x.length-1],H=g===void 0?.5:(g.offset+1)/2,$=Gt(H,wa),Z=[...x,$].sort((J,re)=>J.offset-re.offset);N($.id),k(Z,F)},L=(F,g)=>{x.length<=m||k(x.filter((H,$)=>$!==F),g)},M=F=>{if(x.length>=l)return;const g=F.currentTarget.getBoundingClientRect();if(g.width===0)return;const H=Math.round(Mo((F.clientX-g.left)/g.width*_e))/_e,$=[...x].sort((Ce,He)=>Ce.offset-He.offset),Z=$.find(Ce=>Ce.offset>=H)??$[$.length-1],J=[...$].reverse().find(Ce=>Ce.offset<=H)??$[0],re=Z.offset-J.offset,ye=re>0?Sa(J.color,Z.color,(H-J.offset)/re):J.color,Re=Gt(H,ye);N(Re.id),k([...x,Re].sort((Ce,He)=>Ce.offset-He.offset),F)},_=(F,g)=>{N(x[F].id),!(g.button>0)&&(g.currentTarget.focus(),"setPointerCapture"in g.currentTarget&&g.currentTarget.setPointerCapture(g.pointerId),U.current={index:F,pointerId:g.pointerId},c==null||c(g))},V=F=>{const g=D.current;if(U.current===null||g===null)return;const H=g.getBoundingClientRect();if(H.width===0)return;const $=Math.round((F.clientX-H.left)/H.width*_e),Z=z(U.current.index,$);Z[U.current.index].offset!==E.current[U.current.index].offset&&(E.current=Z,k(Z))},X=()=>{U.current!==null&&(U.current=null,i==null||i(E.current,C))},ie=(F,g)=>{const H=x[F].offset*_e,$=g.shiftKey?Oa:1,Z={ArrowRight:H+$,ArrowUp:H+$,ArrowLeft:H-$,ArrowDown:H-$,Home:0,End:_e};if(g.key==="Delete"||g.key==="Backspace"){g.preventDefault(),x.length>m&&(B.current=F),L(F,g);return}if(!(g.key in Z))return;g.preventDefault();const J=z(F,Math.round(Z[g.key]));J[F].offset!==x[F].offset&&j(J,g)},se=(F,g)=>E.current.map(H=>H.id===F?{...H,color:g}:H),ue=F=>{if(I===void 0)return;Q.current||(Q.current=!0,c==null||c());const g=se(I.id,F);E.current=g,k(g)},Fe=()=>{Q.current&&(Q.current=!1,i==null||i(E.current,C))},Ve=F=>{const g=x.map(H=>({...H,offset:1-H.offset})).reverse();k(g,F)},K=F=>{T((C+kd)%Bt,F)},le=(F,g)=>{c==null||c(),T(F,g),i==null||i(x,F)},ge=[...x].sort((F,g)=>F.offset-g.offset).map(F=>`${F.color} ${F.offset*_e}%`).join(", "),me=x.length>=l,Se=x.length<=m;return o.jsxs("div",{className:"cm-gradient","data-testid":"gradient-editor",children:[a&&o.jsxs("fieldset",{className:"cm-fieldset cm-gradient-row cm-gradient-direction","data-testid":"gradient-editor-direction","aria-labelledby":w,children:[o.jsx("span",{id:w,className:"cm-visually-hidden","data-testid":"gradient-editor-direction-heading",children:f.direction}),o.jsx(kn,{className:"cm-field cm-gradient-angle",role:"spinbutton",min:0,max:Bt,ariaLabel:f.gradientDirection,testId:"gradient-editor-direction-input",value:C,format:P,normalize:F=>(Math.round(F)%Bt+Bt)%Bt,onCommit:le}),o.jsx(d.ActionIcon,{className:"cm-gradient-end",variant:"subtle",size:R.TRAIL,"aria-label":b.flip,"data-testid":"gradient-editor-flip",onClick:Ve,children:o.jsx(Td,{})}),o.jsx(d.ActionIcon,{variant:"subtle",size:R.TRAIL,"aria-label":b.rotate,"data-testid":"gradient-editor-rotate",onClick:K,children:o.jsx(Cd,{})})]}),o.jsxs("fieldset",{className:"cm-fieldset","aria-labelledby":S,children:[o.jsxs("div",{ref:D,className:"cm-gradient-area","data-testid":"gradient-editor-bar-area",children:[x.map((F,g)=>o.jsx("div",{className:"cm-gradient-handle cm-focus-outside","data-testid":"gradient-editor-handle","data-selected":F.id===(I==null?void 0:I.id)||void 0,role:"slider",tabIndex:0,"aria-label":f.colorStopPosition(v.format(g+1)),"aria-valuemin":0,"aria-valuemax":_e,"aria-valuenow":Math.round(F.offset*_e),"aria-valuetext":te(Math.round(F.offset*_e)),style:{"--cm-offset":F.offset},onFocus:()=>{N(F.id)},onPointerDown:H=>{_(g,H)},onPointerMove:V,onPointerUp:X,onPointerCancel:X,onKeyDown:H=>{ie(g,H)},children:o.jsx("span",{className:"cm-gradient-handle-chit",style:{"--cm-chit-color":F.color}})},F.id)),o.jsx("div",{className:"cm-gradient-bar","aria-hidden":!0,"data-testid":"gradient-editor-bar",style:{"--cm-gradient":ge},onClick:M})]}),I!==void 0&&o.jsx(hr,{value:I.color,withAlpha:!1,onChange:ue,onChangeEnd:Fe}),o.jsxs("div",{className:"cm-gradient-header",children:[o.jsx("span",{id:S,"data-testid":"gradient-editor-heading",children:f.colorStops}),o.jsx(d.ActionIcon,{variant:"subtle",size:R.TRAIL,"data-testid":"gradient-editor-add-stop",onClick:W,disabled:me,"aria-label":f.addColorStop,children:o.jsx(he,{name:"plus"})})]}),o.jsx("div",{className:"cm-gradient-stops","data-testid":"gradient-editor-stops",children:x.map((F,g)=>{const H=v.format(g+1),$=F.id===(I==null?void 0:I.id);return o.jsxs("div",{className:"cm-gradient-row cm-gradient-stop","data-testid":"gradient-editor-stop","data-selected":$||void 0,onPointerDown:()=>{N(F.id)},onFocus:()=>{N(F.id)},children:[o.jsx(kn,{className:"cm-field cm-gradient-position",ariaLabel:f.colorStopPosition(H),testId:"gradient-editor-stop-position",value:Math.round(F.offset*_e),format:te,normalize:Z=>Math.round(Mo(Z)),onCommit:(Z,J)=>{j(z(g,Z),J)}}),o.jsxs("div",{className:"cm-paint-field cm-gradient-color",children:[o.jsx("button",{type:"button",className:"cm-paint-chit","data-testid":"gradient-editor-stop-chit","aria-label":f.editColorStop(H),"aria-pressed":$,onClick:()=>{N(F.id)},children:o.jsx(pr,{color:F.color,variant:"field"})}),o.jsx(jd,{color:F.color,ariaLabel:f.colorStopColor(H),onCommit:(Z,J)=>{j(se(F.id,Z),J)}})]}),o.jsx(d.ActionIcon,{variant:"subtle",size:R.TRAIL,onClick:Z=>{L(g,Z)},"data-testid":"gradient-editor-remove-stop",disabled:Se,"aria-label":f.removeColorStop(H),children:o.jsx(he,{name:"minus"})})]},F.id)})})]})]})}function Ed({focusableViewport:e=!1,viewportProps:t,...r}){return o.jsx(d.ScrollArea,{...r,viewportProps:e?{tabIndex:0,...t}:t})}const Nd=Object.assign(Ed,{Autosize:d.ScrollArea.Autosize});function Id(e){const t=d.useInputWrapperContext();return o.jsx(d.SegmentedControl,{"aria-labelledby":t==null?void 0:t.labelId,"aria-describedby":t==null?void 0:t.describedBy,...e})}const Oo=4,zd=`${String(R.TOGGLE_PITCH)}px`;function Rd({label:e,checked:t,defaultChecked:r,onChange:n,disabled:a=!1,disabledReason:s,bound:c=!1,boundDescription:i,onFocus:m,onBlur:l,children:p}){const f=u.useId(),b=ve(),[v,S]=ae.useUncontrolled({value:t,defaultValue:r,finalValue:!1,onChange:n}),w=T=>{S(T.currentTarget.checked,T)},A={root:{minWidth:0},body:{alignItems:"center",minWidth:0},labelWrapper:{minWidth:0},label:{display:"block",height:R.TOGGLE_PITCH,paddingInlineStart:R.GUTTER,paddingBlock:0,fontSize:"var(--mantine-font-size-sm)",lineHeight:zd,color:a?xe.DISABLED:xe.VALUE,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},x=i??b.fieldBound,k=go({name:e,enabledTitle:e,disabled:a,disabledReason:s,extraDescriptions:c?[x]:void 0}),C=o.jsx(d.Checkbox,{variant:"neutral","data-testid":"toggle-with-content-checkbox",label:e,checked:v,disabled:a,"aria-expanded":v,"aria-controls":v?f:void 0,"aria-describedby":k.describedBy,onChange:w,onFocus:m,onBlur:l,wrapperProps:{title:k.title},styles:A});return o.jsxs(d.Box,{"data-testid":"toggle-with-content","data-checked":v?"true":"false","data-disabled":a?"true":void 0,"data-bound":c?"true":void 0,style:{display:"flex",flexDirection:"column",gap:Oo},children:[c?o.jsxs(d.Box,{"data-testid":"toggle-with-content-row",style:{display:"flex",alignItems:"center",gap:Oo},children:[C,o.jsx(d.Box,{component:"span","data-testid":"toggle-with-content-bound",style:{flex:"0 0 auto",display:"inline-flex",alignItems:"center",color:xe.CHROME},children:o.jsx(St,{name:"attribute",filled:!0})})]}):C,k.description!==void 0&&o.jsx(d.VisuallyHidden,{id:k.describedBy,children:k.description}),v&&o.jsx(d.Box,{id:f,"data-testid":"toggle-with-content-children",style:{display:"flex",flexDirection:"column",gap:Oo,paddingInlineStart:R.GUTTER},children:p})]})}function Ld({icon:e,label:t,onClick:r,menuLabel:n,children:a,size:s="md",disabled:c,menuProps:i,className:m,...l}){const p=ae.useId(i==null?void 0:i.id),[f,b]=ae.useUncontrolled({value:i==null?void 0:i.opened,defaultValue:i==null?void 0:i.defaultOpened,finalValue:!1,onChange:i==null?void 0:i.onChange});return o.jsxs(d.Box,{"data-testid":"split-button",...l,role:"group","aria-label":t,className:m?`cm-split ${m}`:"cm-split",children:[o.jsx(d.Tooltip,{label:t,children:o.jsx(d.ActionIcon,{className:"cm-split-main",size:s,"aria-label":t,disabled:c,onClick:r,children:e})}),o.jsxs(d.Menu,{position:"bottom-end",...i,id:p,opened:f,onChange:b,children:[o.jsx(d.Menu.Target,{children:o.jsx(d.Tooltip,{label:n,children:o.jsx(d.ActionIcon,{id:`${p}-target`,className:"cm-split-chevron",size:s,"aria-label":n,"aria-haspopup":"menu","aria-expanded":f,"aria-controls":f?`${p}-dropdown`:void 0,disabled:c,children:o.jsx(he,{name:"caretDown",size:R.CHEVRON})})})}),o.jsx(d.Menu.Dropdown,{children:a})]})]})}let Ut=null;const Sn=()=>{Ut=null},Pd=u.forwardRef(function({checked:t,defaultChecked:r,onChange:n,label:a,icon:s,checkedIcon:c,variant:i="fill",withTooltip:m=!0,disabled:l,className:p,onPointerDown:f,onPointerEnter:b,onClick:v,...S},w){const[A,x]=ae.useUncontrolled({value:t,defaultValue:r,finalValue:!1,onChange:n}),k=u.useRef(!1),C=I=>{f==null||f(I),!(I.button!==0||l)&&(k.current=!0,I.currentTarget.hasPointerCapture(I.pointerId)&&I.currentTarget.releasePointerCapture(I.pointerId),Ut=!A,globalThis.addEventListener("pointerup",Sn,{once:!0}),globalThis.addEventListener("pointercancel",Sn,{once:!0}),x(!A))},T=I=>{b==null||b(I),!(Ut===null||(I.buttons&1)===0||l||A===Ut)&&x(Ut)},h=I=>{v==null||v(I);const E=k.current&&I.detail>0;k.current=!1,E||x(!A)},N=o.jsx(d.ActionIcon,{"data-testid":"toggle-icon-button",...S,ref:w,variant:"subtle",className:p?`cm-toggle-icon ${p}`:"cm-toggle-icon","aria-label":a,"aria-pressed":A,"data-swap":i==="swap"||void 0,disabled:l,onPointerDown:C,onPointerEnter:T,onClick:h,children:A&&c?c:s});return m?o.jsx(d.Tooltip,{label:a,children:N}):N}),Do=new Set(["+","-","*","/","(",")"]);function Md(e,t=Number){const r=[];let n="";for(const l of e)Do.has(l)||/\s/.test(l)?(n&&(r.push(n),n=""),Do.has(l)&&r.push(l)):n+=l;if(n&&r.push(n),r.length===0)return null;let a=0;const s=()=>{throw new SyntaxError("not an expression")},c=()=>{const l=r[a++];if(l==="+"||l==="-"){const f=c();return l==="-"?-f:f}if(l==="("){const f=m();return r[a++]!==")"&&s(),f}if(l===void 0||Do.has(l))return s();const p=t(l);return Number.isNaN(p)?s():p},i=()=>{let l=c();for(;r[a]==="*"||r[a]==="/";)l=r[a++]==="*"?l*c():l/c();return l},m=()=>{let l=i();for(;r[a]==="+"||r[a]==="-";)l=r[a++]==="+"?l+i():l-i();return l};try{const l=m();return a===r.length&&Number.isFinite(l)?l:null}catch{return null}}function Od(e){return Math.round(e*1e10)/1e10}function Dd(e,t,r){let n=e;return t!==void 0&&n<t&&(n=t),r!==void 0&&n>r&&(n=r),n}const Bd=.5;function Bo(e){for(const t of[document.documentElement,document.body])t.style.cursor=e?"ew-resize":""}function Da(e,t,r){const n=u.useRef(!1),a=u.useRef(!1),s=u.useRef(0),c=u.useRef(0),i=u.useRef(r);if(i.current=r,u.useEffect(()=>()=>{a.current&&Bo(!1)},[]),!e)return;const m=l=>{var p,f,b;if(n.current&&(n.current=!1,a.current)){a.current=!1,Bo(!1),(f=(p=i.current).onEnd)==null||f.call(p,l);const v=(b=l.currentTarget.closest(".cm-input-wrapper"))==null?void 0:b.querySelector("input");v&&!v.disabled&&(v.focus({preventScroll:!0}),requestAnimationFrame(()=>{v.select()}))}};return{onPointerDown:l=>{if(l.button===0){l.preventDefault(),l.stopPropagation();try{l.currentTarget.setPointerCapture(l.pointerId)}catch{}n.current=!0,a.current=!1,s.current=l.clientX,c.current=l.clientX}},onPointerMove:l=>{var b,v,S,w;if(!n.current)return;const p=l.clientX-c.current;if(p===0)return;c.current=l.clientX,a.current||(a.current=!0,Bo(!0),(v=(b=i.current).onStart)==null||v.call(b,l));const f=t?-1:1;(w=(S=i.current).onMove)==null||w.call(S,f*p,f*(l.clientX-s.current),l)},onPointerUp:m,onPointerCancel:m,onLostPointerCapture:m}}function Ba(e){const{value:t,display:r,onCommit:n,parse:a,suffix:s,min:c,max:i,step:m=1,decimalScale:l,locked:p=!1}=e,f=e.format??String,[b,v]=u.useState(null),S=u.useRef(null),w=E=>{S.current=E,v(E)},A=u.useRef(!1),x=u.useRef(0),k=u.useRef(null),C=E=>{const D=Dd(Od(E),c,i);return l===void 0?D:Number(D.toFixed(l))},T=E=>{const D=s&&E.trimEnd().endsWith(s)?E.trimEnd().slice(0,-s.length):E;return Md(D,a)},h=E=>{const D=S.current;if(D===null)return;w(null);const U=T(D);if(U===null)return;const Q=C(U);Q!==t&&n(Q,E)};return{inputProps:{value:b??r,role:"spinbutton",inputMode:"decimal","aria-valuenow":t??void 0,"aria-valuemin":c,"aria-valuemax":i,onChange:E=>{p||w(E.currentTarget.value)},onKeyDown:E=>{var D;if((D=e.onKeyDown)==null||D.call(e,E),!(E.defaultPrevented||p)){if(E.key==="Enter"){E.preventDefault(),h(E);const U=E.currentTarget;requestAnimationFrame(()=>{U.select()})}else if(E.key==="Escape")S.current!==null&&(E.preventDefault(),w(null)),E.currentTarget.blur();else if(E.key==="ArrowUp"||E.key==="ArrowDown"){E.preventDefault();const U=(S.current!==null?T(S.current):null)??t??c??0,Q=(E.key==="ArrowUp"?m:-m)*(E.shiftKey?10:1),B=C(U+Q);w(null),B!==t&&n(B,E)}}},onFocus:E=>{var D;A.current=!0,(D=e.onFocus)==null||D.call(e,E)},onBlur:E=>{var D;A.current=!1,h(E),(D=e.onBlur)==null||D.call(e,E)},onMouseUp:E=>{A.current&&(A.current=!1,E.preventDefault(),E.currentTarget.select())}},scrub:{onStart:()=>{const E=S.current!==null?T(S.current):null;x.current=E??t??0,k.current=null},onMove:(E,D)=>{const U=C(x.current+D*Bd);k.current=U,w(f(U)+(s??""))},onEnd:E=>{const D=k.current;k.current=null,w(null),D!==null&&D!==t&&n(D,E)}},editing:b!==null}}function jn(e){return"separator"in e}const Fd=u.forwardRef(function(t,r){const{label:n,value:a,defaultValue:s,onChange:c,options:i,numeric:m=!1,min:l,max:p,step:f,suffix:b,glyph:v,divided:S=!1,width:w=R.FIELD,disabled:A=!1,placeholder:x,openLabel:k="Open list",className:C,style:T}=t,h=qt(),N=ct(),[I,E]=ae.useUncontrolled({value:a,defaultValue:s,finalValue:"",onChange:c}),[D,U]=u.useState(null),[Q,B]=u.useState(void 0),te=u.useRef(null),P=ae.useMergedRef(r,te),z=ae.useId(),j=d.useCombobox({onDropdownOpen:()=>{requestAnimationFrame(()=>{j.getSelectedOptionIndex()===-1&&j.selectActiveOption(),B(W())})},onDropdownClose:()=>{j.resetSelectedOption(),B(void 0)}}),W=()=>{var K;return((K=document.querySelector(`[id="${z}"] [data-combobox-selected]`))==null?void 0:K.id)||void 0},L=String(I),M=m&&L!==""?h(L):Number.NaN,_=Ba({value:Number.isNaN(M)?null:M,display:L,onCommit:(K,le)=>{E(K,le)},parse:h,min:l,max:p,step:f,locked:A}),V=Da(m&&v!==void 0&&!A,Ue(N),_.scrub),X=(K,le)=>{const ge=m?h(K):K;j.closeDropdown(),U(null),!(typeof ge=="number"&&Number.isNaN(ge))&&ge!==I&&E(ge,le)},ie=K=>{if(!j.dropdownOpened)return K.key==="ArrowDown"&&(K.ctrlKey||K.altKey)?(K.preventDefault(),j.openDropdown("keyboard"),!0):!1;const ge=we=>()=>{j.getSelectedOptionIndex()===-1&&j.selectActiveOption(),we()},Se={ArrowDown:ge(()=>j.selectNextOption()),ArrowUp:ge(()=>j.selectPreviousOption()),Home:()=>j.selectFirstOption(),End:()=>{j.selectOption(i.filter(we=>!jn(we)).length-1)}}[K.key];return Se?(K.preventDefault(),Se(),B(W()),!0):K.key==="Enter"?(K.preventDefault(),j.getSelectedOptionIndex()!==-1?j.clickSelectedOption():j.closeDropdown(),!0):K.key==="Escape"?(K.preventDefault(),K.stopPropagation(),j.closeDropdown(),!0):!1},se={value:D??L,onChange:K=>{U(K.currentTarget.value)},onKeyDown:K=>{ie(K)||(K.key==="Enter"&&D!==null?(K.preventDefault(),X(D,K)):K.key==="Escape"&&D!==null&&U(null))},onBlur:K=>{j.closeDropdown(),D!==null&&X(D,K)}},ue={..._.inputProps,role:void 0,"aria-valuenow":void 0,"aria-valuemin":void 0,"aria-valuemax":void 0,onKeyDown:K=>{ie(K)||_.inputProps.onKeyDown(K)},onBlur:K=>{j.closeDropdown(),_.inputProps.onBlur(K)}},Fe=S?R.GLYPH_SLOT+1:R.GLYPH_SLOT,Ve=o.jsxs(o.Fragment,{children:[b!==void 0&&o.jsx("span",{className:"cm-combo-suffix",children:b}),o.jsx("button",{type:"button",tabIndex:-1,className:"cm-combo-chevron","aria-label":k,disabled:A,onMouseDown:K=>{K.preventDefault()},onClick:()=>{var K;(K=te.current)==null||K.focus(),j.toggleDropdown()},children:o.jsx(ir,{})})]});return o.jsxs(d.Combobox,{store:j,onOptionSubmit:K=>{X(K)},...ar(),keepMounted:!1,disabled:A,children:[o.jsx(d.Combobox.Target,{withKeyboardNavigation:!1,withAriaAttributes:!1,children:o.jsx(d.TextInput,{ref:P,...m?ue:se,role:"combobox","aria-label":n,"aria-haspopup":"listbox","aria-expanded":j.dropdownOpened,"aria-controls":j.dropdownOpened?z:void 0,"aria-activedescendant":j.dropdownOpened?Q:void 0,"aria-autocomplete":"none",autoComplete:"off",placeholder:x,disabled:A,variant:"filled",className:C,style:{width:w,...T},classNames:{wrapper:["cm-combo",S?"cm-combo-divided":""].filter(Boolean).join(" ")},leftSection:v===void 0?void 0:o.jsx("span",{className:"cm-scrub-slot","data-scrub":V?"true":void 0,...V,children:v}),leftSectionPointerEvents:V?"all":"none",rightSection:Ve,rightSectionWidth:b===void 0?Fe:`calc(${String(b.length)}ch + ${String(Fe+4)}px)`,rightSectionPointerEvents:"all"})}),o.jsx(d.Combobox.Dropdown,{className:"cm-menu-surface cm-menu cm-listbox",children:o.jsx(d.Combobox.Options,{id:z,"aria-label":n,children:i.map((K,le)=>jn(K)?o.jsx("hr",{className:"cm-listbox-separator"},`separator-${String(le)}`):o.jsxs(d.Combobox.Option,{value:K.value,disabled:K.disabled,active:K.value===L,"aria-selected":K.value===L,"data-checked":K.value===L||void 0,className:"cm-menu-row cm-listbox-option",children:[o.jsx(sa,{}),o.jsx("span",{className:"cm-listbox-label",children:K.label??K.value})]},K.value))})})]})}),Hd=16,Ud=100,Vd=u.forwardRef(function(t,r){const{value:n,defaultValue:a,onChange:s,size:c="sm",rightSection:i,clearLabel:m,placeholder:l,classNames:p,wrapperProps:f,onKeyDown:b,onBlur:v,onFocus:S,disabled:w,"aria-label":A,...x}=t,k=ve(),[C,T]=ae.useUncontrolled({value:n,defaultValue:a,finalValue:"",onChange:s}),[h,N]=u.useState(!1),I=u.useRef(void 0),E=u.useRef(null);u.useEffect(()=>()=>{window.clearTimeout(I.current)},[]);const D=B=>{E.current=B,typeof r=="function"?r(B):r&&(r.current=B)},U=B=>{var te;T("",B),(te=E.current)==null||te.focus()},Q=o.jsx(d.TextInput,{...x,ref:D,size:c==="lg"?"md":"sm",value:C,disabled:w,placeholder:l??k.searchPlaceholder,"aria-label":A??(x.label===void 0?k.search:void 0),type:"search",onChange:B=>{T(B.currentTarget.value,B)},onKeyDown:B=>{b==null||b(B),!B.defaultPrevented&&B.key==="Escape"&&C!==""&&(B.preventDefault(),B.stopPropagation(),U(B))},onFocus:B=>{window.clearTimeout(I.current),N(!1),S==null||S(B)},onBlur:B=>{N(!0),I.current=window.setTimeout(()=>{N(!1)},Ud),v==null||v(B)},classNames:{...typeof p=="object"?p:void 0,wrapper:"cm-search"},wrapperProps:{...f,"data-cm-linger":h||void 0},leftSection:o.jsx("span",{className:"cm-search-icon","aria-hidden":"true",children:o.jsx(he,{name:"search",size:Hd})}),leftSectionPointerEvents:"none",rightSection:C!==""&&!w?o.jsx(d.Input.ClearButton,{"aria-label":m??k.clearSearch,onMouseDown:B=>{B.preventDefault()},onClick:B=>{U(B)}}):void 0});return i===void 0?Q:o.jsxs("div",{className:"cm-search-joined",children:[Q,o.jsx("div",{className:"cm-search-joined-end",children:i})]})}),Gd=156,qd=12;function Wd(e){const{name:t,value:r,onDetach:n,onClick:a,swatch:s,kind:c="variable",glyph:i,width:m,detachLabel:l="Detach variable",onValueCommit:p,valueLabel:f="Value",className:b,style:v}=e,[S,w]=u.useState(""),A=u.useRef(""),x=h=>{A.current=h,w(h)},k=h=>{const N=A.current.trim();x(""),N!==""&&(p==null||p(N,h))},C=r===void 0?t:`${t}
4183
- ${r}`,T=n===void 0?null:o.jsx("button",{type:"button",className:"cm-var-detach cm-focus-outside","aria-label":l,onClick:h=>{n(h)},children:o.jsx(he,{name:"unlink",size:qd})});return s!==void 0||c==="property"?o.jsxs("div",{className:["cm-var-fill",b].filter(Boolean).join(" "),style:{width:m??Gd,...v},"data-kind":c,children:[o.jsxs("button",{type:"button",className:"cm-var-fill-button","data-kind":c,"aria-label":r===void 0?t:`${t}, ${r}`,onClick:h=>{a==null||a(h)},children:[s!==void 0&&o.jsx("span",{className:"cm-var-chit",style:{background:s},"aria-hidden":"true"}),o.jsx("span",{className:"cm-var-name",children:t})]}),T]}):o.jsxs("div",{className:["cm-field","cm-var-field",b].filter(Boolean).join(" "),style:{width:m??R.FIELD,...v},"data-kind":c,children:[o.jsx("span",{className:"cm-scrub-slot",style:{width:R.GLYPH_SLOT,height:R.CONTROL_HEIGHT,flex:"none"},"aria-hidden":"true",children:i}),o.jsx("span",{className:"cm-var-pill-slot",children:o.jsx(d.Tooltip,{label:C,style:{whiteSpace:"pre-line"},children:o.jsx("button",{type:"button",className:"cm-var-pill cm-focus-outside","aria-label":r===void 0?t:`${r}, variable ${t}`,onClick:h=>{a==null||a(h)},children:r??t})})}),p!==void 0&&o.jsx("input",{className:"cm-var-input","aria-label":f,value:S,onChange:h=>{x(h.currentTarget.value)},onKeyDown:h=>{h.key==="Enter"?(h.preventDefault(),k(h)):h.key==="Escape"&&(x(""),h.currentTarget.blur())},onBlur:k}),T]})}const Tn={x:3,y:-5},Yd=500;function Kd({target:e,children:t,onChange:r,...n}){const[a,s]=u.useState(null),c=u.useRef({x:0,y:0}),i=u.useRef(null),m=u.useRef(-1/0),l=u.useRef(null),p=a!==null,f=(x,k)=>{i.current=document.activeElement instanceof HTMLElement?document.activeElement:null,c.current={x,y:k},s({x,y:k}),r==null||r(!0)},b=()=>{var x;s(null),r==null||r(!1),(x=i.current)==null||x.focus()};u.useEffect(()=>{if(!p)return;const x=setTimeout(()=>{var k,C;(C=(k=l.current)==null?void 0:k.querySelector("[data-menu-item]:not([data-disabled]):not(:disabled)"))==null||C.focus()},0);return()=>{clearTimeout(x)}},[p,a]);const v=x=>{var k,C;(C=(k=e.props).onContextMenu)==null||C.call(k,x),!x.defaultPrevented&&(x.preventDefault(),!(performance.now()-m.current<Yd)&&f(x.clientX+Tn.x,x.clientY+Tn.y))},S=x=>{var k,C;if((C=(k=e.props).onKeyDown)==null||C.call(k,x),!x.defaultPrevented&&(x.shiftKey&&x.key==="F10"||x.key==="ContextMenu")){x.preventDefault(),x.stopPropagation(),m.current=performance.now();const T=x.target.getBoundingClientRect();f(T.left,T.bottom)}},{x:w,y:A}=a??c.current;return o.jsxs(o.Fragment,{children:[u.cloneElement(e,{onContextMenu:v,onKeyDown:S}),o.jsxs(d.Menu,{...n,opened:p,onChange:x=>{x||b()},position:"bottom-start",offset:0,children:[o.jsx(d.Menu.Target,{children:o.jsx("span",{"aria-hidden":"true","data-context-menu-anchor":"",style:{position:"fixed",left:w,top:A-1,width:1,height:1,pointerEvents:"none"}})}),o.jsx(d.Menu.Dropdown,{ref:l,children:t})]})]})}function Xd({checked:e,radio:t=!1,...r}){return o.jsx(d.Menu.Item,{...r,leftSection:o.jsx("span",{className:"cm-menu-row-check","aria-hidden":"true",children:o.jsx(he,{name:"check",size:16})}),renderRoot:n=>o.jsx("button",{type:"button",...n,role:t?"menuitemradio":"menuitemcheckbox","aria-checked":e})})}function Jd({className:e,...t}){return o.jsx(d.Box,{className:e?`cm-modal-footer ${e}`:"cm-modal-footer",...t})}const Fa=u.forwardRef(function({message:t,icon:r,action:n,withCloseButton:a=!1,onClose:s,closeLabel:c="Dismiss",...i},m){return o.jsxs(d.Notification,{ref:m,role:"group",withCloseButton:a,onClose:s,closeButtonProps:{"aria-label":c,iconSize:10},"data-testid":"toast",...i,children:[o.jsxs("span",{role:"alert",className:"cm-toast-message",children:[r,t]}),n?o.jsx(d.Button,{variant:"default",className:"cm-toast-action",onClick:n.onClick,children:n.label}):null]})}),Zd=20,Qd=3e3,_d=6e3;function $d(e){if(e.duration!==void 0)return e.duration;if(e.action)return null;const t=typeof e.message=="string"?e.message:null;return t!==null&&t.length<Zd?Qd:_d}function eu(e){return typeof e=="object"&&e!==null&&"message"in e}const Ha=u.createContext(null);function tu({children:e,bottom:t=76,zIndex:r}){const[n,a]=u.useState(null),s=u.useRef(void 0),c=u.useRef(0),i=u.useCallback(()=>{clearTimeout(s.current),a(null)},[]),m=u.useCallback(f=>{const b=eu(f)?f:{message:f};clearTimeout(s.current),c.current+=1,a({...b,key:c.current});const v=$d(b);v!==null&&(s.current=setTimeout(i,v))},[i]);u.useEffect(()=>()=>{clearTimeout(s.current)},[]);const l=u.useMemo(()=>({show:m,hide:i}),[m,i]);let p=null;if(n){const{key:f,duration:b,...v}=n;p=o.jsx(d.Portal,{children:o.jsx("div",{className:"cm-toast-layer",style:{bottom:t,zIndex:r},children:o.jsx(Fa,{...v,onClose:i},f)})})}return o.jsxs(Ha.Provider,{value:l,children:[e,p]})}function ou(){const e=u.useContext(Ha);if(!e)throw new Error("useToast must be used inside a ToastProvider");return e}function ru({label:e,shortcut:t}){return o.jsxs("span",{className:"cm-tooltip-shortcut-row",children:[o.jsx("span",{children:e}),o.jsx("span",{className:"cm-tooltip-shortcut",children:t})]})}const nu=["top","middle","bottom"],au=["left","center","right"],co=nu.flatMap(e=>au.map(t=>`${e}-${t}`)),iu={"top-left":"Align top left","top-center":"Align top center","top-right":"Align top right","middle-left":"Align left","middle-center":"Align center","middle-right":"Align right","bottom-left":"Align bottom left","bottom-center":"Align bottom center","bottom-right":"Align bottom right"},su=[7,10,5],cu=["flex-start","center","flex-end"];function lu({value:e,defaultValue:t,onChange:r,direction:n="vertical",label:a="Alignment",cellLabels:s,disabled:c=!1,name:i}){const m=ae.useId(i),[l,p]=ae.useUncontrolled({value:e,defaultValue:t,finalValue:"top-left",onChange:r}),f=b=>{var k,C;const v={ArrowLeft:[0,-1],ArrowRight:[0,1],ArrowUp:[-1,0],ArrowDown:[1,0]}[b.key];if(c||v===void 0||b.altKey||b.ctrlKey||b.metaKey)return;b.preventDefault();const S=co.indexOf(l),w=Math.min(2,Math.max(0,Math.floor(S/3)+v[0])),A=Math.min(2,Math.max(0,S%3+v[1])),x=co[w*3+A];x!==l&&p(x,b),(C=(k=b.currentTarget.closest(".cm-align"))==null?void 0:k.querySelector(`input[value="${x}"]`))==null||C.focus()};return o.jsx("div",{role:"radiogroup","aria-label":a,"aria-disabled":c||void 0,className:"cm-align","data-direction":n,"data-disabled":c||void 0,"data-testid":"alignment-matrix",children:o.jsx("div",{className:"cm-align-grid",children:co.map((b,v)=>{const S=b===l,w=(s==null?void 0:s[b])??iu[b],A=cu[n==="vertical"?v%3:Math.floor(v/3)];return o.jsxs("div",{className:"cm-align-cell","data-value":b,"data-checked":S||void 0,style:{"--cm-align-cross":A},children:[o.jsx(d.Tooltip,{label:w,disabled:c,children:o.jsx("input",{type:"radio",name:m,value:b,checked:S,disabled:c,"aria-label":w,onKeyDown:f,onChange:x=>{p(b,x)}})}),o.jsx("span",{className:"cm-align-dot","aria-hidden":"true"}),o.jsx("span",{className:"cm-align-bars","aria-hidden":"true",children:su.map(x=>o.jsx("span",{className:"cm-align-bar",style:{"--cm-bar":`${String(x)}px`}},x))})]},b)})})})}const du=1,uu=10;function mu(e,{min:t,max:r}){let n="";return e<=t?n=" (min)":e>=r&&(n=" (max)"),`${String(e)} pixels${n}`}const pu=u.forwardRef(function({edge:t="end",value:r,defaultValue:n,min:a,max:s,onChange:c,onChangeEnd:i,label:m="Resize panel",valueText:l=mu,style:p,onPointerDown:f,onPointerMove:b,onPointerUp:v,onPointerCancel:S,onKeyDown:w,onDoubleClick:A,...x},k){Te();const C=Ue(ct()),T=n??a,[h,N]=ae.useUncontrolled({value:r,defaultValue:n,finalValue:a,onChange:c}),I=u.useRef(null),E=t==="start"||t==="end",D=t==="end"?1:-1;let U=t==="bottom"?1:-1;E&&(U=C?-D:D);const Q=M=>Math.min(s,Math.max(a,Math.round(M))),B=(M,_)=>{const V=Q(M);V!==h&&N(V),_&&(i==null||i(V))};let te="ns-resize";if(E){const M=U>0?"e":"w",_=U>0?"w":"e";te="ew-resize",h<=a?te=`${M}-resize`:h>=s&&(te=`${_}-resize`)}const P=M=>{if(f==null||f(M),M.defaultPrevented||M.button!==0)return;M.preventDefault(),M.currentTarget.setPointerCapture(M.pointerId);const _=E?M.clientX:M.clientY;I.current={start:_,from:h,last:h}},z=M=>{b==null||b(M);const _=I.current;if(!_)return;const V=E?M.clientX:M.clientY;_.last=Q(_.from+(V-_.start)*U),B(_.last,!1)},j=M=>{const _=I.current;I.current=null,_&&(M.currentTarget.hasPointerCapture(M.pointerId)&&M.currentTarget.releasePointerCapture(M.pointerId),i==null||i(_.last))},W=M=>{if(w==null||w(M),M.defaultPrevented)return;const _=M.shiftKey?uu:du,V=E?{ArrowRight:_,ArrowLeft:-_}:{ArrowDown:_,ArrowUp:-_};let X;M.key in V?X=h+V[M.key]*U:M.key==="Home"?X=a:M.key==="End"&&(X=s),X!==void 0&&(M.preventDefault(),B(X,!0))},L=M=>{A==null||A(M),B(T,!0)};return o.jsx(d.Box,{ref:k,role:"separator",tabIndex:0,"aria-label":m,"aria-orientation":E?"vertical":"horizontal","aria-valuenow":h,"aria-valuemin":a,"aria-valuemax":s,"aria-valuetext":l(h,{min:a,max:s}),"data-testid":"resize-handle","data-edge":t,className:"cm-resize-handle",...x,style:{cursor:te,...p},onPointerDown:P,onPointerMove:z,onPointerUp:M=>{v==null||v(M),j(M)},onPointerCancel:M=>{S==null||S(M),j(M)},onKeyDown:W,onDoubleClick:L})});function xr({value:e,onCommit:t,onCancel:r,label:n="Name",width:a}){Te();const s=u.useRef(null),c=u.useRef(null),i=u.useRef(!1);u.useEffect(()=>{var l,p;c.current=document.activeElement instanceof HTMLElement?document.activeElement:null,(l=s.current)==null||l.focus(),(p=s.current)==null||p.select()},[]);const m=(l,p)=>{var b;if(i.current)return;i.current=!0;const f=c.current;l?t(((b=s.current)==null?void 0:b.value)??e):r==null||r(),p&&(f!=null&&f.isConnected)&&f.focus()};return o.jsx(d.TextInput,{ref:s,"aria-label":n,defaultValue:e,spellCheck:!1,autoComplete:"off",classNames:{root:"cm-rename",wrapper:"cm-rename-wrapper",input:"cm-rename-input"},style:a===void 0?void 0:{width:a},onKeyDown:l=>{l.key==="Enter"?(l.preventDefault(),l.stopPropagation(),m(!0,!0)):l.key==="Escape"?(l.preventDefault(),l.stopPropagation(),m(!1,!0)):l.stopPropagation()},onFocus:()=>{i.current=!1},onBlur:()=>{m(!0,!1)},onClick:l=>{l.stopPropagation()},onDoubleClick:l=>{l.stopPropagation()}})}const Ua=u.forwardRef(function({name:t,current:r=!1,tone:n="page",selected:a=!1,divider:s=!1,nameSlot:c,tabIndex:i=0,description:m,descriptionTone:l="default",value:p,menu:f,...b},v){Te();const S=T=>!s&&T!==void 0&&T!==null&&T!==!1&&T!=="",w=S(m),A=S(p),x=S(f),k=o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"cm-page-name",children:t}),A&&o.jsx("span",{className:"cm-page-value",children:p})]});let C=k;return s?C=o.jsx("span",{className:"cm-page-divider"}):w&&(C=o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"cm-page-line",children:k}),o.jsx("span",{className:"cm-page-description","data-tone":l,children:m})]})),o.jsxs("div",{role:"row",className:x?"cm-page-row":void 0,children:[o.jsx("div",{ref:v,role:"gridcell",tabIndex:i,"aria-current":r?"page":void 0,"aria-selected":n==="group"?a:void 0,"aria-label":s?"Divider":void 0,"data-tone":n,"data-two-line":w?"":void 0,className:"cm-page-cell",...b,children:c??o.jsx("div",{className:"cm-page-button",title:s?void 0:t,children:C})}),x&&o.jsx("div",{role:"gridcell",className:"cm-page-menu",children:f})]})});function hu({items:e,current:t,defaultCurrent:r,onCurrentChange:n,tone:a="page",label:s="Pages",onRename:c,renameLabel:i="Page name"}){var T;Te();const[m,l]=ae.useUncontrolled({value:t,defaultValue:r,finalValue:null,onChange:(h,N)=>{h!==null&&(n==null||n(h,N))}}),[p,f]=u.useState(null),[b,v]=u.useState(null),S=u.useRef(new Map),w=u.useRef(null);u.useEffect(()=>{var h;(h=w.current)==null||h.querySelectorAll(".cm-page-menu :is(button, a[href], input, select, textarea, [tabindex])").forEach(N=>{N.tabIndex=-1})});const A=e.filter(h=>h.divider!==!0),x=(p!==null&&A.some(h=>h.id===p)?p:null)??(m!==null&&A.some(h=>h.id===m)?m:null)??((T=A[0])==null?void 0:T.id)??null,k=h=>{var N;h!==void 0&&(f(h),(N=S.current.get(h))==null||N.focus())},C=h=>{var D,U,Q,B,te,P,z;const N=h.target,I=N.closest(".cm-page-menu");if(I!==null){if(h.key==="ArrowLeft"){const j=(D=I.parentElement)==null?void 0:D.querySelector(".cm-page-cell");j&&(h.preventDefault(),j.focus())}return}if(N.getAttribute("role")!=="gridcell"||x===null)return;const E=A.findIndex(j=>j.id===x);switch(h.key){case"ArrowDown":k((U=A[E+1])==null?void 0:U.id);break;case"ArrowUp":k((Q=A[E-1])==null?void 0:Q.id);break;case"Home":k((B=A[0])==null?void 0:B.id);break;case"End":k((te=A[A.length-1])==null?void 0:te.id);break;case"ArrowRight":{const j=(z=(P=N.parentElement)==null?void 0:P.querySelector(".cm-page-menu"))==null?void 0:z.querySelector("button, a[href], input, select, [tabindex]");if(!j)return;j.focus();break}case"Enter":case" ":l(x,h);break;case"F2":if(!c)return;v(x);break;default:return}h.preventDefault()};return o.jsx("div",{ref:w,role:"grid","aria-label":s,className:"cm-page-list",tabIndex:-1,onFocus:h=>{h.target===h.currentTarget&&x!==null&&k(x)},onKeyDown:C,children:e.map(h=>{const N=h.id===m;return o.jsx(Ua,{ref:I=>{I?S.current.set(h.id,I):S.current.delete(h.id)},"data-id":h.id,name:h.name,divider:h.divider,description:h.description,descriptionTone:h.descriptionTone,value:h.value,menu:h.menu,tone:a,current:a==="page"&&N,selected:a==="group"&&N,tabIndex:h.id===x?0:-1,nameSlot:b===h.id?o.jsx(xr,{value:h.name,label:i,onCommit:I=>{v(null),I!==""&&I!==h.name&&(c==null||c(h.id,I))},onCancel:()=>{v(null)}}):void 0,onFocus:I=>{I.target===I.currentTarget&&h.divider!==!0&&f(h.id)},onClick:I=>{h.divider!==!0&&(f(h.id),l(h.id,I))},onDoubleClick:()=>{c&&h.divider!==!0&&v(h.id)}},h.id)})})}function fu(e,t){const r=t?e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase()):-1;return!t||r<0?e:o.jsxs(o.Fragment,{children:[e.slice(0,r),o.jsx("span",{className:"cm-result-match",children:e.slice(r,r+t.length)}),e.slice(r+t.length)]})}const bu=u.forwardRef(function({name:t,match:r,path:n,icon:a,current:s=!1,tone:c="default",onMouseDown:i,...m},l){return Te(),o.jsxs("div",{ref:l,role:"option","aria-selected":s,"data-tone":c==="component"?"component":void 0,className:"cm-result-row",tabIndex:-1,onMouseDown:p=>{p.preventDefault(),i==null||i(p)},...m,children:[o.jsx("span",{className:"cm-result-icon","aria-hidden":"true",children:a}),o.jsxs("span",{className:"cm-result-text",children:[o.jsx("span",{className:"cm-result-name",title:t,children:fu(t,r)}),n!=null&&o.jsx("span",{className:"cm-result-path",children:n})]})]})});function xu(e,t){const r=[],n=(a,s,c)=>{a.forEach((i,m)=>{var f;const l=(((f=i.children)==null?void 0:f.length)??0)>0,p=l&&t.has(i.id);r.push({node:i,level:s,parentId:c,posInSet:m+1,setSize:a.length,hasChildren:l,expanded:p}),p&&i.children&&n(i.children,s+1,i.id)})};return n(e,1,null),r}function gu(e,t,r,n){const a=e[t-1],s=e[t+1],c=a!==void 0&&n.has(a.node.id)&&r[t-1]!=="parent",i=s!==void 0&&n.has(s.node.id)&&!s.expanded;return c&&i?"middle":i?"first":c?"last":"selected"}function vu(e,t){const r=[],n=[];return e.forEach((a,s)=>{for(;n.length>0&&n[n.length-1].level>=a.level;)n.pop();const c=n.find(l=>l.selected),i=t.has(a.node.id),m=e[s+1];i?r.push(a.expanded?"parent":gu(e,s,r,t)):c?r.push(m===void 0||m.level<=c.level?"child-last":"child"):r.push("none"),n.push({level:a.level,selected:i})}),r}function wu(e,t,r,n){const a=e[r],s=e.find(S=>S.node.id===t);if(!a||!s)return null;const c=a.node.children!==void 0;let i,m,l=null,p=null;const f=S=>{let w=S;for(;w+1<e.length&&e[w+1].level>e[S].level;)w++;return w};let b;if(n<.25?b="before":n>.75?b=a.expanded?"first":"after":c?b="into":b=n<.5?"before":"after",b==="into")i=a.node.id,m=0,l=r;else if(b==="first")i=a.node.id,m=0,p={boundary:r+1,level:a.level+1},l=r;else{({parentId:i}=a),m=b==="before"?a.posInSet-1:a.posInSet,p={boundary:b==="before"?r:f(r)+1,level:a.level};const S=i===null?-1:e.findIndex(w=>w.node.id===i);l=S>=0?S:null}const v=new Map(e.map(S=>[S.node.id,S.parentId]));for(let S=i;S!==null;S=v.get(S)??null)if(S===t)return null;return s.parentId===i&&s.posInSet-1<m&&(m-=1),s.parentId===i&&s.posInSet-1===m?null:{move:{id:t,parentId:i,index:m},boxRow:l,line:p}}function Va(e){return 16+24*(e-1)}function yu(e,t){let r;const n=m=>m.flatMap(l=>l.id===t.id?(r=l,[]):[l.children?{...l,children:n(l.children)}:l]),a=n(e),s=r;if(s===void 0)return[...e];const c=m=>{const l=[...m??[]];return l.splice(t.index,0,s),l},i=m=>m.map(l=>l.id===t.parentId?{...l,children:c(l.children)}:l.children?{...l,children:i(l.children)}:l);return t.parentId===null?c(a):i(a)}function Ga(e,t,r){return e.map(n=>n.id===t?{...n,name:r}:n.children?{...n,children:Ga(n.children,t,r)}:n)}const ku=200,Su=500,ju=10,Cn=".cm-tree-actions :is(button, a[href], input, select, textarea, [tabindex]):not(:disabled)",qa=u.forwardRef(function({name:t,label:r,icon:n,level:a=1,hasChildren:s=!1,expanded:c=!1,selected:i=!1,tint:m,tone:l="default",dimmed:p=!1,strong:f,actions:b,posInSet:v,setSize:S,nameSlot:w,swatch:A,count:x,progress:k,description:C,onExpandToggle:T,className:h,onClick:N,onDoubleClick:I,onKeyDown:E,tabIndex:D=-1,...U},Q){Te();const B=f??(a===1&&s),te=b!=null&&b!==!1,P=A!=null&&A!==!1,z=x!=null&&x!==!1&&x!=="",j=C!==void 0&&C!=="",W=u.useId(),L=`${W}-count`,M=`${W}-description`,_=[z?L:null,j?M:null].filter(ie=>ie!==null).join(" "),V=typeof k=="number"?Math.min(1,Math.max(0,k)):void 0,X=ie=>{const se=ie.target,ue=se.closest("button, a, input, select, textarea, [role], [tabindex]");return ue!==null&&ue.closest(".cm-tree-actions")!==null?"actions":se.closest(".cm-tree-caret")?"caret":"row"};return o.jsxs("div",{ref:Q,role:"treeitem","aria-label":r??t,"aria-level":a,"aria-posinset":v,"aria-setsize":S,"aria-expanded":s?c:void 0,"aria-selected":i,"aria-describedby":_===""?void 0:_,"data-tint":m??(i?"selected":"none"),"data-tone":l==="component"?"component":void 0,"data-dimmed":p?"":void 0,"data-strong":B?"":void 0,className:h?`cm-tree-row ${h}`:"cm-tree-row",tabIndex:D,onKeyDown:E,onClick:ie=>{const se=X(ie);se==="caret"&&s?T==null||T(ie):se==="row"&&(N==null||N(ie))},onDoubleClick:ie=>{X(ie)==="row"&&(I==null||I(ie))},...U,children:[o.jsx("span",{className:"cm-tree-indent",style:{width:Va(a)-16}}),o.jsx("span",{className:"cm-tree-caret","aria-hidden":"true","data-testid":"tree-caret",children:s&&o.jsx(he,{name:c?"caretDown":"caretRight",size:R.CHEVRON})}),o.jsx("span",{className:"cm-tree-icon","aria-hidden":"true",children:n}),P&&o.jsx("span",{className:"cm-tree-swatch","aria-hidden":"true","data-testid":"tree-swatch",children:A}),w??o.jsx("span",{className:"cm-tree-name",title:t,children:t}),z&&o.jsx("span",{className:"cm-tree-count",id:L,"data-testid":"tree-count",children:x}),te&&o.jsx("span",{className:"cm-tree-actions",children:b}),j&&o.jsx("span",{id:M,hidden:!0,children:C}),k!==void 0&&o.jsx("span",{className:"cm-tree-progress",role:"progressbar","aria-label":t,"aria-valuemin":V===void 0?void 0:0,"aria-valuemax":V===void 0?void 0:100,"aria-valuenow":V===void 0?void 0:Math.round(V*100),"data-indeterminate":V===void 0?"":void 0,"data-testid":"tree-progress",children:o.jsx("span",{className:"cm-tree-progress-fill",style:V===void 0?void 0:{width:`${String(V*100)}%`}})}),o.jsx("span",{className:"cm-tree-ring","aria-hidden":"true"})]})});function Tu({items:e,label:t="Layers",selected:r,defaultSelected:n,onSelect:a,expanded:s,defaultExpanded:c,onExpandedChange:i,multiselect:m=!0,onRename:l,onMove:p,stickyRoots:f=!1,height:b=480,renameLabel:v="Layer name",onRowKeyDown:S}){var we,F;Te();const[w,A]=ae.useUncontrolled({value:r,defaultValue:n,finalValue:[],onChange:(g,H)=>{a==null||a([...g],H)}}),[x,k]=ae.useUncontrolled({value:s,defaultValue:c,finalValue:[],onChange:g=>{i==null||i([...g])}}),C=u.useMemo(()=>new Set(x),[x]),T=u.useMemo(()=>new Set(w),[w]),h=u.useMemo(()=>xu(e,C),[e,C]),N=u.useMemo(()=>vu(h,T),[h,T]),I=u.useMemo(()=>new Map(h.map((g,H)=>[g.node.id,H])),[h]),[E,D]=u.useState(null),[U,Q]=u.useState(null),[B,te]=u.useState(null),P=u.useRef(null),z=u.useRef(null),j=u.useRef(!1),W=u.useRef({text:"",at:0}),L=u.useRef(null),M=h.length>ku,_=Vn.useVirtualizer({count:M?h.length:0,getScrollElement:()=>L.current,estimateSize:()=>R.DATA_PITCH,overscan:ju}),V=(E!==null&&I.has(E)?E:null)??((we=h.find(g=>T.has(g.node.id)))==null?void 0:we.node.id)??((F=h[0])==null?void 0:F.node.id)??null;u.useLayoutEffect(()=>{var g;(g=L.current)==null||g.querySelectorAll(Cn).forEach(H=>{H.tabIndex=-1})}),u.useLayoutEffect(()=>{var H;if(!j.current||V===null)return;const g=(H=L.current)==null?void 0:H.querySelector(`[data-id="${CSS.escape(V)}"]`);g?(j.current=!1,g.focus()):M&&_.scrollToIndex(I.get(V)??0)});const X=g=>{g!==void 0&&(j.current=!0,D(g),M&&_.scrollToIndex(I.get(g)??0))},ie=(g,H)=>{C.has(g)!==H&&k(H?[...x,g]:x.filter($=>$!==g))},se=(g,H,$)=>{if(!m||H==="replace"||H==="range"&&P.current===null){P.current=g,A([g],$);return}if(H==="toggle"){P.current=g,A(T.has(g)?w.filter(re=>re!==g):[...w,g],$);return}const Z=I.get(P.current??g)??0,J=I.get(g)??0;A(h.slice(Math.min(Z,J),Math.max(Z,J)+1).map(re=>re.node.id),$)},ue=g=>g.shiftKey?"range":g.metaKey||g.ctrlKey?"toggle":"replace",Fe=g=>g===null?[]:[...g.querySelectorAll(Cn)],Ve=(g,H)=>{var re,ye;const $=Fe(H),Z=$.indexOf(g.target),J=I.get(H.dataset.id??"");if(!(Z===-1||J===void 0||g.defaultPrevented||g.altKey)){if(g.key==="ArrowRight")(re=$[Z+1])==null||re.focus();else if(g.key==="ArrowLeft"&&Z===0||g.key==="Escape")H.focus();else if(g.key==="ArrowLeft")$[Z-1].focus();else if(g.key==="ArrowDown"||g.key==="ArrowUp")X(((ye=h[J+(g.key==="ArrowDown"?1:-1)])==null?void 0:ye.node.id)??h[J].node.id);else return;g.preventDefault()}},K=g=>{var Re,Ce,He,pt,Xe,Ge;const H=g.target,$=H.closest("[role='treeitem']");if($!==null&&$!==H&&H.closest(".cm-tree-actions")!==null){Ve(g,$);return}if(H.getAttribute("role")!=="treeitem"||V===null)return;const Z=I.get(V)??0,J=h[Z];if(S==null||S(J.node.id,g),g.defaultPrevented)return;const re=Fe(H)[0];if(g.key==="ArrowRight"&&re&&(g.altKey||!J.hasChildren)){g.preventDefault(),re.focus();return}if(p&&g.altKey&&(g.key==="ArrowUp"||g.key==="ArrowDown")){g.preventDefault();const oe=J.posInSet-1+(g.key==="ArrowUp"?-1:1);oe>=0&&oe<J.setSize&&(p({id:J.node.id,parentId:J.parentId,index:oe}),X(J.node.id));return}let ye=!0;switch(g.key){case"ArrowDown":X((Re=h[Z+1])==null?void 0:Re.node.id);break;case"ArrowUp":X((Ce=h[Z-1])==null?void 0:Ce.node.id);break;case"ArrowRight":J.hasChildren&&!J.expanded?ie(J.node.id,!0):J.expanded&&X((He=h[Z+1])==null?void 0:He.node.id);break;case"ArrowLeft":J.expanded?ie(J.node.id,!1):J.parentId!==null&&X(J.parentId);break;case"Home":X((pt=h[0])==null?void 0:pt.node.id);break;case"End":X((Xe=h[h.length-1])==null?void 0:Xe.node.id);break;case"Enter":case" ":se(J.node.id,ue(g),g);break;case"*":{const oe=h.filter(de=>de.parentId===J.parentId&&de.hasChildren).map(de=>de.node.id);k([...new Set([...x,...oe])]);break}case"F2":l?Q(J.node.id):ye=!1;break;default:if(g.altKey&&g.code==="KeyL"){k([]);let oe=J;for(;oe.parentId!==null;)oe=h[I.get(oe.parentId)??0];X(oe.node.id)}else if(g.key.length===1&&!g.ctrlKey&&!g.metaKey&&!g.altKey){const oe=Date.now(),de=W.current;de.text=oe-de.at>Su?g.key:de.text+g.key,de.at=oe;const ke=de.text.toLocaleLowerCase(),Ae=de.text.length===1?Z+1:Z,je=[...h.slice(Ae),...h.slice(0,Ae)];X((Ge=je.find(Ee=>Ee.node.name.toLocaleLowerCase().startsWith(ke)))==null?void 0:Ge.node.id)}else ye=!1}ye&&g.preventDefault()},le=()=>{z.current=null,te(null)},ge=(g,H,$)=>{const{id:Z}=g.node,J=U===Z;return o.jsx(qa,{"data-id":Z,"data-index":H,name:g.node.name,label:g.node.label,icon:g.node.icon,level:g.level,hasChildren:g.hasChildren,expanded:g.expanded,selected:T.has(Z),tint:N[H],tone:g.node.tone,dimmed:g.node.dimmed,strong:g.node.strong??(g.level===1&&g.node.children!==void 0),actions:g.node.actions,swatch:g.node.swatch,count:g.node.count,progress:g.node.progress,description:g.node.description,posInSet:g.posInSet,setSize:g.setSize,tabIndex:Z===V?0:-1,style:$,draggable:p!==void 0&&!J,nameSlot:J?o.jsx(xr,{value:g.node.name,label:v,onCommit:re=>{Q(null),re!==""&&re!==g.node.name&&(l==null||l(Z,re))},onCancel:()=>{Q(null)}}):void 0,onFocus:re=>{re.target===re.currentTarget&&E!==Z&&D(Z)},onExpandToggle:()=>{ie(Z,!g.expanded)},onClick:re=>{D(Z),se(Z,ue(re),re)},onDoubleClick:()=>{l&&Q(Z)},onDragStart:re=>{z.current=Z,re.dataTransfer.effectAllowed="move",re.dataTransfer.setData("text/plain",g.node.name)},onDragOver:re=>{if(z.current===null)return;const ye=re.currentTarget.getBoundingClientRect(),Re=wu(h,z.current,H,(re.clientY-ye.top)/ye.height);Re&&(re.preventDefault(),re.dataTransfer.dropEffect="move"),JSON.stringify(Re)!==JSON.stringify(B)&&te(Re)},onDrop:re=>{re.preventDefault(),B&&(p==null||p(B.move)),le()},onDragEnd:le},Z)};let me;if(M)me=_.getVirtualItems().map(g=>ge(h[g.index],g.index,{position:"absolute",top:0,left:0,transform:`translateY(${String(g.start)}px)`}));else{const g=[];h.forEach((H,$)=>{H.level===1&&g.push({id:H.node.id,rows:[]}),g[g.length-1].rows.push(ge(H,$))}),me=g.map(H=>o.jsx("div",{role:"none",className:"cm-tree-block",children:H.rows},H.id))}const Se=R.DATA_PITCH;return o.jsx("div",{ref:L,role:"tree","aria-label":t,"aria-multiselectable":m||void 0,className:"cm-tree","data-virtual":M?"":void 0,"data-sticky-roots":f&&!M?"":void 0,style:M?{height:b}:void 0,tabIndex:-1,onFocus:g=>{g.target===g.currentTarget&&V!==null&&X(V)},onKeyDown:K,onDragLeave:g=>{g.currentTarget.contains(g.relatedTarget)||te(null)},children:o.jsxs("div",{className:"cm-tree-content",role:"none",style:M?{height:_.getTotalSize()}:void 0,children:[me,(B==null?void 0:B.boxRow)!==null&&(B==null?void 0:B.boxRow)!==void 0&&o.jsx("div",{className:"cm-tree-drop-box","data-testid":"tree-drop-box",style:{top:B.boxRow*Se}}),(B==null?void 0:B.line)&&o.jsx("div",{className:"cm-tree-drop-line","data-testid":"tree-drop-line",style:{top:B.line.boundary*Se-1,insetInlineStart:Va(B.line.level)}})]})})}const Cu='button, input[type="radio"], [role="radio"]';function gr(e){const t=u.useRef(null),r=u.useRef(null),n=()=>{var i;return Array.from(((i=t.current)==null?void 0:i.querySelectorAll(Cu))??[]).filter(m=>!m.disabled)},a=(i,m)=>{r.current=m;for(const l of i)l.tabIndex=l===m?0:-1};return u.useLayoutEffect(()=>{const i=n();if(i.length===0)return;const m=r.current&&i.includes(r.current)?r.current:null,l=i.find(p=>p.getAttribute("aria-pressed")==="true"||p.dataset.active!==void 0||p.checked);a(i,m??l??i[0])}),{ref:t,onFocus:i=>{const m=n(),l=i.target;m.includes(l)&&a(m,l)},onKeyDown:i=>{const m=e==="horizontal"&&t.current!==null&&getComputedStyle(t.current).direction==="rtl";let l=m?"ArrowRight":"ArrowLeft",p=m?"ArrowLeft":"ArrowRight";if(e==="vertical"&&([l,p]=["ArrowUp","ArrowDown"]),![l,p,"Home","End"].includes(i.key))return;const f=n(),b=f.indexOf(document.activeElement);if(b<0)return;i.preventDefault();let v=(b+(i.key===p?1:-1)+f.length)%f.length;i.key==="Home"?v=0:i.key==="End"&&(v=f.length-1),f[v].focus()}}}function jt(){const e=d.useMantineTheme();Wt(e.other.compact)}function Au(){return o.jsx("svg",{width:"30",height:"32",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",style:{flex:"none"},children:o.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M11.69 16.572q.357 0 .61.254a.83.83 0 0 1 .26.616q0 .236-.12.435a.9.9 0 0 1-.315.32.84.84 0 0 1-.435.114.85.85 0 0 1-.615-.253.85.85 0 0 1-.254-.616.84.84 0 0 1 .254-.616.85.85 0 0 1 .615-.254m.332-10.884q1.002 0 1.763.416.76.41 1.19 1.13.428.712.428 1.635 0 .61-.193 1.111a2.9 2.9 0 0 1-.58.924 4.8 4.8 0 0 1-.954.797 4.6 4.6 0 0 0-.863.718 2.1 2.1 0 0 0-.459.815q-.138.453-.15 1.117c0 .18-.146.326-.326.326h-.44a.326.326 0 0 1-.327-.326q.006-.954.21-1.551.207-.598.604-1.009a5.5 5.5 0 0 1 1.003-.797q.447-.29.748-.61.308-.325.465-.711a2.2 2.2 0 0 0 .163-.852q0-.651-.307-1.14a2.04 2.04 0 0 0-.822-.755 2.450 2.450 0 0 0-1.153-.272q-.603 0-1.129.266a2.15 2.15 0 0 0-1.138 1.483c-.067.3-.312.545-.619.545-.323 0-.588-.269-.53-.587a3.12 3.12 0 0 1 1.678-2.268 3.7 3.7 0 0 1 1.738-.405"})})}function Eu({label:e,children:t,menuProps:r,className:n,...a}){jt();const s=ve(),c=e??s.help,i=o.jsx(d.UnstyledButton,{...a,"aria-label":c,className:n?`cm-help-button ${n}`:"cm-help-button",children:o.jsx(Au,{})}),m=l=>o.jsx(d.Tooltip,{label:c,position:"top",openDelay:0,closeDelay:0,children:l});return t?o.jsxs(d.Menu,{position:"top-end",offset:4,classNames:{dropdown:"cm-menu-surface",item:"cm-menu-row"},...r,children:[m(o.jsx(d.Menu.Target,{children:i})),o.jsx(d.Menu.Dropdown,{children:t})]}):m(i)}function vr({label:e,shortcut:t}){return o.jsxs(o.Fragment,{children:[e,t?o.jsx("span",{className:"cm-tip-shortcut",children:t}):null]})}const Wa=u.forwardRef(function({label:t,icon:r,shortcut:n,selected:a,tooltipPosition:s="top",disabledReason:c,className:i,onClick:m,...l},p){jt();const f=c!==void 0;return o.jsx(d.Tooltip,{label:o.jsx(vr,{label:f?`${t}. ${c}`:t,shortcut:n}),position:s,children:o.jsx(d.UnstyledButton,{...l,ref:p,"aria-label":t,"aria-pressed":a,"aria-disabled":f||void 0,"aria-description":c,onClick:f?void 0:m,className:i?`cm-tool ${i}`:"cm-tool",children:o.jsx("span",{className:"cm-tool-icon","aria-hidden":"true",children:r})})})}),Nu=500;function Iu({footer:e,children:t,className:r,onKeyDown:n,onFocus:a,...s}){jt();const c=ve(),i=gr("vertical");return o.jsxs(d.Box,{...s,ref:i.ref,role:"toolbar","aria-label":s["aria-label"]??c.navigation,"aria-orientation":"vertical",className:r?`cm-nav-rail ${r}`:"cm-nav-rail",onKeyDown:m=>{n==null||n(m),i.onKeyDown(m)},onFocus:m=>{a==null||a(m),i.onFocus(m)},children:[t,e?o.jsx("div",{className:"cm-nav-rail-footer",children:e}):null]})}function zu(){return o.jsx("hr",{className:"cm-nav-rail-separator"})}const Ru=Object.assign(Iu,{Separator:zu}),Lu=u.forwardRef(function({icon:t,label:r,shortcut:n,active:a,className:s,...c},i){const m=a===!0||c["aria-expanded"]===!0||c["aria-expanded"]==="true";return o.jsx(d.Tooltip,{label:o.jsx(vr,{label:r,shortcut:n}),position:"right",offset:{mainAxis:da,crossAxis:-8},openDelay:Nu,withArrow:!0,disabled:m,children:o.jsxs(d.UnstyledButton,{...c,ref:i,"aria-label":r,className:s?`cm-rail-button ${s}`:"cm-rail-button",mod:{active:m},children:[o.jsx("span",{className:"cm-rail-pill","aria-hidden":"true",children:t}),o.jsx("span",{className:"cm-rail-label","aria-hidden":"true",children:r})]})})});function Pu(){return o.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32","aria-hidden":"true",focusable:"false",style:{display:"block"},children:o.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.847 19.555c-1.096.934-2.517 1.498-4.07 1.498-3.467 0-6.277-2.81-6.277-6.276 0-3.467 2.81-6.277 6.277-6.277 3.466 0 6.276 2.81 6.276 6.277 0 1.553-.564 2.975-1.499 4.07l3.945 3.945-.707.708zm1.206-4.778c0 2.914-2.362 5.276-5.276 5.276-2.915 0-5.277-2.362-5.277-5.276 0-2.915 2.362-5.277 5.277-5.277 2.914 0 5.276 2.362 5.276 5.277"})})}function Mu({label:e}){const t=Math.min(8,Math.ceil(e.length/3));return o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"cm-qa-row-head",children:e.slice(0,e.length-t)}),o.jsx("span",{className:"cm-qa-row-tail",children:e.slice(e.length-t)})]})}function Ou(e,t){const r=t.trim().toLowerCase();return r===""||e.label.toLowerCase().includes(r)||(e.keywords??[]).some(n=>n.toLowerCase().includes(r))}function Du({actions:e,onRun:t,onClose:r,query:n,onQueryChange:a,filter:s=Ou,header:c,searchAction:i,listId:m,truncate:l="end",placeholder:p,width:f=529,height:b=354,className:v,style:S,...w}){var z;jt();const A=ve(),x=ae.useId(),k=m??`${x}-list`,C=u.useRef(null),[T,h]=ae.useUncontrolled({value:n,defaultValue:"",finalValue:"",onChange:a}),N=u.useMemo(()=>{const j=new Map;for(const W of e){if(!s(W,T))continue;const L=T.trim()===""?W.section??"":"";j.set(L,[...j.get(L)??[],W])}return[...j.entries()]},[e,s,T]),I=N.flatMap(([,j])=>j).filter(j=>!j.disabled),[E,D]=u.useState({search:""}),U=E.search===T&&I.some(j=>j.value===E.value)?E.value:(z=I[0])==null?void 0:z.value,Q=j=>{D({search:T,value:j})};u.useEffect(()=>{var j;(j=C.current)==null||j.focus()},[]);const B=j=>`${x}-option-${j}`,te=j=>{var L,M;const W=I.findIndex(_=>_.value===U);if(j.key==="ArrowDown"||j.key==="ArrowUp"){if(j.preventDefault(),I.length===0)return;const _=j.key==="ArrowDown"?1:-1,V=I[(W+_+I.length)%I.length];Q(V.value),(M=(L=document.getElementById(B(V.value)))==null?void 0:L.scrollIntoView)==null||M.call(L,{block:"nearest"})}else j.key==="Enter"&&U!==void 0?(j.preventDefault(),t(U)):j.key==="Escape"&&r&&(j.preventDefault(),j.stopPropagation(),r())},P=w["aria-label"]??A.quickActions;return o.jsxs("div",{role:"dialog","aria-label":P,className:v?`cm-quick-actions ${v}`:"cm-quick-actions",style:{width:f,height:b,...S},children:[o.jsxs("div",{className:"cm-field cm-qa-search",children:[o.jsx("span",{className:"cm-qa-search-icon","aria-hidden":"true",children:o.jsx(Pu,{})}),o.jsx("input",{ref:C,className:"cm-qa-input",type:"text",role:"combobox","aria-label":p??A.searchActions,"aria-expanded":"true","aria-controls":k,"aria-autocomplete":"list","aria-activedescendant":U===void 0?void 0:B(U),placeholder:p??A.searchActions,value:T,onChange:j=>{h(j.currentTarget.value)},onKeyDown:te}),T!==""||i?o.jsx("span",{className:"cm-qa-search-action",children:T===""?i:o.jsx(d.CloseButton,{"aria-label":A.clearSearch,onMouseDown:j=>{j.preventDefault()},onClick:()=>{var j;h(""),(j=C.current)==null||j.focus()}})}):null]}),c?o.jsx("div",{className:"cm-qa-header",children:c}):null,N.length===0?o.jsx("output",{className:"cm-qa-empty",children:A.noResults}):null,o.jsx("div",{className:"cm-qa-list",id:k,role:"listbox","aria-label":P,children:N.map(([j,W])=>o.jsxs("div",{className:"cm-qa-group",role:"group","aria-label":j||void 0,children:[j?o.jsx("div",{className:"cm-qa-group-title","aria-hidden":"true",children:j}):null,W.map(L=>o.jsxs("div",{id:B(L.value),role:"option","aria-selected":L.value===U,"aria-disabled":L.disabled||void 0,"aria-label":L.description||l==="middle"?L.label:void 0,"aria-describedby":L.description?`${B(L.value)}-description`:void 0,title:l==="middle"?L.label:void 0,"data-two-line":L.description?"":void 0,className:"cm-qa-row","data-highlighted":L.value===U||void 0,onMouseMove:()=>{L.disabled||Q(L.value)},onMouseDown:M=>{M.preventDefault()},tabIndex:-1,onClick:()=>{L.disabled||t(L.value)},onKeyDown:M=>{M.key==="Enter"&&!L.disabled&&t(L.value)},children:[o.jsx("span",{className:"cm-qa-row-icon","aria-hidden":"true",children:L.icon}),o.jsxs("span",{className:"cm-qa-row-text",children:[o.jsx("span",{className:"cm-qa-row-label","data-truncate":l,children:l==="middle"?o.jsx(Mu,{label:L.label}):L.label}),L.description?o.jsx("span",{className:"cm-qa-row-description",id:`${B(L.value)}-description`,children:L.description}):null]}),L.shortcut?o.jsx("span",{className:"cm-qa-row-shortcut",children:L.shortcut}):null]},L.value))]},j))})]})}function Bu({flush:e,children:t,className:r,onKeyDown:n,onFocus:a,...s}){jt();const c=gr("horizontal");return o.jsx(d.Box,{...s,ref:c.ref,role:"toolbar","aria-orientation":"horizontal",className:r?`cm-secondary-toolbar ${r}`:"cm-secondary-toolbar",mod:{flush:e},onKeyDown:i=>{n==null||n(i),c.onKeyDown(i)},onFocus:i=>{a==null||a(i),c.onFocus(i)},children:t})}const Fu=u.forwardRef(function({icon:t,selected:r,dropdown:n,children:a,className:s,...c},i){return o.jsxs(d.UnstyledButton,{...c,ref:i,"aria-pressed":r,className:s?`cm-secondary-item ${s}`:"cm-secondary-item",mod:{dropdown:n},children:[t?o.jsx("span",{className:"cm-tool-icon","aria-hidden":"true",children:t}):null,a?o.jsx("span",{className:"cm-secondary-item-label",style:t?void 0:{paddingInlineStart:8},children:a}):null,n?o.jsx("span",{className:"cm-secondary-item-chevron","aria-hidden":"true",children:o.jsx(he,{name:"chevronDown",size:10})}):null]})});function Hu(){return o.jsx("hr",{className:"cm-secondary-divider","aria-orientation":"vertical"})}const Uu=Object.assign(Bu,{Button:Fu,Divider:Hu});function Vu({tabs:e,value:t,defaultValue:r,onChange:n,onClose:a,className:s,style:c,...i}){var C;jt();const m=ve(),l=ae.useId(),p=u.useRef([]),[f,b]=ae.useUncontrolled({value:t,defaultValue:r,finalValue:(C=e[0])==null?void 0:C.value,onChange:n}),v=Math.max(0,e.findIndex(T=>T.value===f)),S=e[v],w=i["aria-label"]??m.keyboardShortcuts,A=(S==null?void 0:S.variant)==="essential",x=T=>{T.key==="Escape"&&a&&(T.stopPropagation(),a())},k=T=>{var D;x(T);const h=getComputedStyle(T.currentTarget).direction==="rtl",N=h?"ArrowLeft":"ArrowRight",I=h?"ArrowRight":"ArrowLeft";let E;if(T.key===N)E=(v+1)%e.length;else if(T.key===I)E=(v-1+e.length)%e.length;else if(T.key==="Home")E=0;else if(T.key==="End")E=e.length-1;else return;T.preventDefault(),b(e[E].value),(D=p.current[E])==null||D.focus()};return o.jsxs("section",{className:s?`cm-shortcut-sheet ${s}`:"cm-shortcut-sheet",style:c,"aria-label":w,children:[o.jsxs("div",{className:"cm-sheet-strip",children:[o.jsxs("div",{className:"cm-sheet-tablist",role:"tablist","aria-label":w,children:[o.jsx("span",{className:"cm-sheet-filler","data-left-of-active":v===0||void 0}),e.map((T,h)=>o.jsx(d.UnstyledButton,{ref:N=>{p.current[h]=N},role:"tab",id:`${l}-tab-${h}`,"aria-selected":h===v,"aria-controls":`${l}-panel`,tabIndex:h===v?0:-1,className:"cm-sheet-tab",onKeyDown:k,"data-left-of-active":h===v-1||void 0,"data-right-of-active":h===v+1||void 0,onClick:()=>{b(T.value)},children:T.label},T.value)),o.jsx("span",{className:"cm-sheet-filler","data-right-of-active":v===e.length-1||void 0})]}),a?o.jsx(d.UnstyledButton,{className:"cm-sheet-close","aria-label":m.close,onClick:a,onKeyDown:x,children:o.jsx(he,{name:"close",size:12})}):null]}),o.jsx("div",{className:"cm-sheet-body",role:"tabpanel",id:`${l}-panel`,"aria-labelledby":`${l}-tab-${v}`,"data-variant":A?"essential":void 0,children:o.jsxs("div",{className:"cm-sheet-content",children:[S!=null&&S.caption?o.jsx("div",{className:"cm-sheet-caption",children:S.caption}):null,o.jsx("div",{className:"cm-sheet-columns",children:S==null?void 0:S.groups.map((T,h)=>o.jsxs("div",{className:"cm-sheet-column",children:[A?o.jsx("span",{className:"cm-sheet-step","aria-hidden":"true",children:h+1}):null,T.title?o.jsx("div",{className:"cm-sheet-column-title",children:T.title}):null,T.shortcuts.map((N,I)=>o.jsxs("div",{className:"cm-sheet-row","data-highlighted":N.highlighted||void 0,children:[N.icon?o.jsx("span",{className:"cm-sheet-row-icon","aria-hidden":"true",children:N.icon}):null,o.jsxs("span",{className:"cm-sheet-row-label",children:[N.label,N.description?o.jsx("span",{className:"cm-sheet-row-description",children:N.description}):null]}),o.jsx("span",{className:"cm-sheet-keys",children:N.keys.map((E,D)=>o.jsx(d.Kbd,{size:A?"md":void 0,mod:{active:N.highlighted},children:E},D))})]},I))]},h))})]})})]})}function Gu({floating:e,children:t,className:r,onKeyDown:n,onFocus:a,...s}){jt();const c=ve(),i=gr("horizontal");return o.jsx(d.Box,{...s,ref:i.ref,role:"toolbar","aria-label":s["aria-label"]??c.toolbar,"aria-orientation":"horizontal",className:r?`cm-toolbar ${r}`:"cm-toolbar",mod:{floating:e},onKeyDown:m=>{n==null||n(m),i.onKeyDown(m)},onFocus:m=>{a==null||a(m),i.onFocus(m)},children:t})}function qu(){return o.jsx("hr",{className:"cm-toolbar-divider","aria-orientation":"vertical"})}const Wu=Object.assign(Gu,{Divider:qu});function Yu(e){e==null||e.setAttribute("role","menuitemradio")}function Ku({label:e,tools:t,activeTool:r,onToolChange:n,defaultFace:a,chevronProps:s}){var x;const[c,i]=u.useState(a??((x=t[0])==null?void 0:x.value)),m=t.some(k=>k.value===r);u.useEffect(()=>{m&&r&&i(r)},[m,r]);const l=m&&r?r:c,p=t.find(k=>k.value===l)??t[0],f=k=>{i(k),n==null||n(k)},b=u.useRef(null),v=u.useRef(null),S=u.useRef(null),w=u.useRef(!1),A=()=>{var T;const k=w.current?b.current:v.current;w.current=!1;const C=document.activeElement;(C===null||C===document.body||(T=S.current)!=null&&T.contains(C)||C===v.current)&&(k==null||k.focus())};return o.jsxs("fieldset",{className:"cm-fieldset cm-tool-group","aria-label":p.label,children:[o.jsx(Wa,{ref:b,label:p.label,icon:p.icon,shortcut:p.shortcut,selected:r===void 0?void 0:r===p.value,onClick:()=>{f(p.value)}}),o.jsxs(d.Menu,{position:"top-start",offset:4,returnFocus:!1,onClose:A,classNames:{dropdown:"cm-menu-surface",item:"cm-menu-row cm-tool-flyout-row"},children:[o.jsx(d.Tooltip,{label:o.jsx(vr,{label:e}),position:"top",children:o.jsx(d.Menu.Target,{children:o.jsx(d.UnstyledButton,{...s,ref:v,className:"cm-tool-chevron","aria-label":e,children:o.jsx(he,{name:"chevronDown",size:10})})})}),o.jsx(d.Menu.Dropdown,{ref:S,"aria-label":e,children:t.map(k=>o.jsx(d.Menu.Item,{ref:Yu,"aria-checked":k.value===p.value,leftSection:o.jsxs("span",{className:"cm-tool-flyout-lead",children:[o.jsx("span",{className:"cm-tool-flyout-check",children:o.jsx(he,{name:"check",size:16})}),o.jsx("span",{className:"cm-tool-icon",children:k.icon})]}),rightSection:k.shortcut,onClick:()=>{w.current=!0,f(k.value)},children:k.label},k.value))})]})]})}function Ya(e,t){return e!==void 0?e:t===void 0?"off":"polite"}function bt(e,t){const r=Ya(e,t);return r==="off"?{"aria-busy":t}:{"aria-live":r,"aria-atomic":!0,"aria-busy":t}}const Fo=4,Xu="(hover: none)";function Ju(e){if(typeof e=="string")return e;if(typeof e=="number")return String(e)}function Zu(e){Te();const{state:t,stateTitle:r,busy:n,live:a,actions:s,residentActions:c,actionsVisible:i,reveal:m="always",disabled:l=!1,onClick:p,onFocus:f,onBlur:b}=e,v=bt(a,n),{hovered:S,ref:w}=ae.useHover(),A=ae.useMediaQuery(Xu)??!1,[x,k]=u.useState(!1),C=u.useId(),T=x||(i??(m==="always"||S||A)),h=s!==void 0||c!==void 0,N=Ju(t),I=r!==void 0&&r!==N,E=r??N,D=h&&t!==void 0,U=I?o.jsxs(o.Fragment,{children:[o.jsx("span",{"aria-hidden":"true",children:t}),o.jsx(d.VisuallyHidden,{"data-testid":"action-row-state-full",children:r})]}):t;ut(p!==void 0&&t===void 0?"ActionRow was given onClick but no state, and its own activation is carried by the text it reports. That text is also what names the row for a screen reader, so a row with nothing to report has nothing to activate. Give the row a state, or put the action on a control in actions.":void 0);const Q=j=>{k(!0),f==null||f(j)},B=j=>{j.currentTarget.contains(j.relatedTarget)||k(!1),b==null||b(j)},te=j=>{l||p==null||p(j,Rt(j))},P={flex:"1 1 auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},z={...P,alignSelf:"stretch",lineHeight:`${R.ROW_PITCH}px`,textAlign:"start",borderRadius:5};return o.jsxs(d.Box,{ref:w,"data-testid":"action-row",role:D?"group":void 0,"aria-labelledby":D?C:void 0,"aria-disabled":l||void 0,"data-disabled":l||void 0,onFocus:Q,onBlur:B,style:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box",gap:R.TRAIL_GAP,height:R.ROW_PITCH},children:[t!==void 0&&(p===void 0?o.jsx(d.Box,{component:"span",id:C,"data-testid":"action-row-state",title:E,...v,className:"cm-row-reading","data-disabled":l||void 0,style:P,children:U}):o.jsx(d.UnstyledButton,{type:"button",id:C,"data-testid":"action-row-state",title:E,...v,className:"cm-row-reading cm-row-target","data-disabled":l||void 0,onClick:te,style:z,children:U})),h&&o.jsxs(d.Box,{"data-testid":"action-row-affordances",style:{flex:"0 0 auto",marginInlineStart:"auto",display:"flex",alignItems:"center",gap:Fo},children:[s!==void 0&&o.jsx(d.Box,{"data-testid":"action-row-actions","data-visible":T?"true":"false",className:"cm-row-actions",style:{flex:"0 0 auto",display:"flex",alignItems:"center",gap:Fo,opacity:T?1:0,pointerEvents:T?void 0:"none"},children:s}),c!==void 0&&o.jsx(d.Box,{"data-testid":"action-row-resident-actions",style:{flex:"0 0 auto",display:"flex",alignItems:"center",gap:Fo},children:c})]})]})}function Qu({name:e,value:t,stat:r=!1,icon:n,selected:a=!1,onClick:s,onFocus:c,onBlur:i,trailing:m}){Te();const l=u.useId(),p=mt({maximumFractionDigits:20}),f=typeof t=="number"?p.format(t):t,b=s!==void 0,v=n!=null,S=t!=null,w=Xt(m),A=a?!0:void 0,x=C=>{s==null||s(C,Rt(C))},k=o.jsxs(o.Fragment,{children:[v&&o.jsx("span",{className:"cm-data-row-icon","data-testid":"data-row-icon",children:n}),o.jsx("span",{className:"cm-data-row-name","data-testid":"data-row-name",id:r?l:void 0,title:e,children:e}),S&&o.jsx("span",{className:"cm-data-row-value","data-testid":"data-row-value",children:f})]});return o.jsxs("div",{"data-testid":"data-row",className:"cm-data-row",role:r?"group":void 0,"aria-labelledby":r?l:void 0,"data-stat":r?"":void 0,"data-selected":a?"true":void 0,"data-interactive":b?"":void 0,"data-trailing":w?"":void 0,children:[b?o.jsx("button",{type:"button",className:"cm-data-row-body","data-testid":"data-row-button","aria-current":A,onClick:x,onFocus:c,onBlur:i,children:k}):o.jsx("div",{className:"cm-data-row-body","data-testid":"data-row-body","aria-current":A,onFocus:c,onBlur:i,children:k}),w&&o.jsx(st,{children:m})]})}function _u({label:e,unit:t,sortDirection:r,defaultSortDirection:n,onSortChange:a,sortPriority:s}){Te();const[c,i]=ae.useUncontrolled({value:r,defaultValue:n,finalValue:"none",onChange:a}),m=mt(),l=a!==void 0,p=c!=="none",f=x=>{i(c==="ascending"?"descending":"ascending",x)},b=o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"cm-data-row-header-label","data-testid":"data-row-header-label",title:e,children:e}),t!==void 0&&o.jsx("span",{"data-testid":"data-row-header-unit",style:{flex:"0 0 auto",whiteSpace:"nowrap"},children:t}),s!==void 0&&p&&o.jsx("span",{"aria-hidden":"true",style:{flex:"0 0 auto",display:"flex"},children:o.jsx(wr,{children:m.format(s)})}),p&&o.jsx("span",{className:"cm-sort-caret","data-testid":"data-row-header-sort-glyph","data-direction":c,children:o.jsx(he,{name:"caretDown",size:R.CHEVRON})})]}),v=u.useRef(null),[S,w]=u.useState(!1);u.useLayoutEffect(()=>{var k;const x=(k=v.current)==null?void 0:k.parentElement;w((x==null?void 0:x.getAttribute("role"))==="row"||(x==null?void 0:x.tagName)==="TR")},[]);const A=S&&(l||p);return o.jsx("div",{ref:v,"data-testid":"data-row-header",className:"cm-data-row-header","data-sorted":p?"":void 0,role:A?"columnheader":void 0,"aria-sort":A?c:void 0,children:l?o.jsx("button",{type:"button",className:"cm-data-row-header-sort","data-testid":"data-row-header-sort",onClick:f,children:b}):b})}function wr({children:e}){return Te(),o.jsx("span",{className:"cm-rank-chip","data-testid":"rank-chip",children:e})}const An=2,$u=1,em=16,tm=2,om=1,rm=1,nm=64,Ka=4,En=Ka/2,Xa=4,yt=100,am=1,Ja="var(--cm-icon-secondary)",er=100;function fo({children:e,end:t,id:r}){return o.jsx(d.Box,{component:"span",id:r,"data-testid":`chart-axis-${t}`,className:"cm-chart-text",style:{flex:"0 0 auto",minWidth:0,whiteSpace:"nowrap"},children:e})}function Za(){return o.jsx(d.Box,{"data-testid":"chart-baseline",style:{flex:"0 0 auto",height:$u,background:xe.BORDER}})}function Qa({caption:e,rows:t,testId:r}){return o.jsxs(d.VisuallyHidden,{component:"table","data-testid":r,children:[e!==void 0&&o.jsx("caption",{children:e}),o.jsx("tbody",{children:t.map(n=>o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:n.header}),o.jsx("td",{children:n.value})]},n.id))})]})}function im(e,t){if(e.length===0)return null;const r=yt/2;if(e.length===1)return`0,${r} ${yt},${r}`;const n=Math.min(...e),s=Math.max(...e)-n,c=e.length-1;return e.map((i,m)=>{const l=Ol(m/c,yt,t),p=s===0?r:yt-(i-n)/s*yt;return`${l},${p}`}).join(" ")}function _a(){const e=u.useId(),t=`${e}min`,r=`${e}max`;return{min:t,max:r,describedBy:`${t} ${r}`}}function sm({bins:e,label:t,minLabel:r,maxLabel:n,busy:a,live:s,trailing:c}){Te();const i=mt(),m=_a(),l=e.reduce((f,b)=>Math.max(f,b.count,0),0),p=e.map((f,b)=>({id:`${f.label}-${String(b)}`,header:f.label,value:i.format(f.count)}));return o.jsxs(d.Box,{"data-testid":"histogram-row","aria-busy":a,style:{display:"flex",alignItems:"flex-start",gap:R.TRAIL_GAP,height:R.HISTOGRAM_HEIGHT},children:[o.jsxs(d.Box,{"data-testid":"histogram-chart",...bt(s,a),style:{flex:"1 1 auto",minWidth:0,height:"100%",display:"flex",flexDirection:"column",gap:An},children:[o.jsxs(d.Box,{"data-testid":"histogram-drawing",role:t===void 0?void 0:"img","aria-label":t,"aria-describedby":t===void 0?void 0:m.describedBy,"aria-hidden":t===void 0?!0:void 0,style:{flex:"1 1 auto",minHeight:0,display:"flex",flexDirection:"column",gap:An},children:[o.jsx(d.Box,{"data-testid":"histogram-plot",style:{flex:"1 1 auto",minHeight:0,display:"flex",alignItems:"flex-end",gap:tm},children:e.map((f,b)=>{const v=Math.max(0,f.count),S=l===0?0:v/l*er,w=f.highlighted===!0;return o.jsx(d.Box,{"data-testid":"histogram-bar","data-highlighted":w?"true":"false","aria-hidden":"true",title:f.label,style:{flex:"1 1 0",minWidth:0,height:`${String(S)}%`,minHeight:v>0?rm:0,background:w?xe.ACCENT:Ja,borderRadius:om}},`${f.label}-${String(b)}`)})}),o.jsx(Za,{})]}),o.jsxs(d.Box,{"data-testid":"chart-axis",style:{flex:"0 0 auto",height:em,display:"flex",alignItems:"center",justifyContent:"space-between",gap:Xa},children:[o.jsx(fo,{end:"min",id:m.min,children:r}),o.jsx(fo,{end:"max",id:m.max,children:n})]})]}),o.jsx(Qa,{caption:t,rows:p,testId:"histogram-values"}),Xt(c)&&o.jsx(st,{children:c})]})}function cm({values:e,label:t,minLabel:r,maxLabel:n,busy:a,live:s,trailing:c}){Te();const i=ct(),m=mt(),l=_a(),p=im(e,i),f=e.map((b,v)=>({id:`point-${String(v)}`,header:m.format(v+1),value:m.format(b)}));return o.jsxs(d.Box,{"data-testid":"sparkline-row","aria-busy":a,style:{display:"flex",alignItems:"center",gap:R.TRAIL_GAP,height:R.SPARKLINE_HEIGHT},children:[o.jsxs(d.Box,{"data-testid":"sparkline-chart",...bt(s,a),style:{flex:"1 1 auto",minWidth:0,display:"flex",alignItems:"center",gap:Xa},children:[o.jsx(fo,{end:"min",id:l.min,children:r}),o.jsxs(d.Box,{"data-testid":"sparkline-drawing",role:t===void 0?void 0:"img","aria-label":t,"aria-describedby":t===void 0?void 0:l.describedBy,"aria-hidden":t===void 0?!0:void 0,style:{flex:"1 1 auto",minWidth:0,display:"flex",flexDirection:"column",color:Ja},children:[o.jsx(d.Box,{component:"svg","data-testid":"sparkline-plot",width:"100%",height:R.CONTROL_HEIGHT,viewBox:`0 0 ${String(yt)} ${String(yt)}`,preserveAspectRatio:"none",fill:"none",stroke:"currentColor",strokeWidth:am,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false",style:{display:"block",overflow:"visible"},children:p!==null&&o.jsx("polyline",{points:p,vectorEffect:"non-scaling-stroke"})}),o.jsx(Za,{})]}),o.jsx(fo,{end:"max",id:l.max,children:n})]}),o.jsx(Qa,{caption:t,rows:f,testId:"sparkline-values"}),Xt(c)&&o.jsx(st,{children:c})]})}function lm({name:e,percentile:t,value:r,rank:n,busy:a,live:s,onClick:c,onDoubleClick:i,onContextMenu:m,onFocus:l,onBlur:p}){Te();const f=ve(),b=ha(),v=u.useId(),S=c,w=S!==void 0,A=Math.min(er,Math.max(0,t)),x=f.percentile(b(Math.round(A))),k=T=>{S!==void 0&&S(T,Rt(T))},C=T=>{S!==void 0&&(T.key==="Enter"||T.key===" ")&&(T.preventDefault(),S(T,Rt(T)))};return o.jsxs(d.Box,{"data-testid":"metric-row",role:w?"button":void 0,tabIndex:w?0:void 0,className:w?"cm-row-target":void 0,...bt(s,a),onClick:k,onKeyDown:C,onDoubleClick:i,onContextMenu:m,onFocus:l,onBlur:p,style:{display:"flex",alignItems:"center",gap:R.GUTTER,height:R.ROW_PITCH,cursor:w?"pointer":"default"},children:[o.jsx(d.Box,{component:"span",id:v,"data-testid":"metric-row-name",title:e,className:"cm-chart-value",style:{flex:"1 1 auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e}),o.jsx(d.Progress.Root,{"data-testid":"metric-row-bar",role:"progressbar","aria-labelledby":v,"aria-valuemin":0,"aria-valuemax":er,"aria-valuenow":A,"aria-valuetext":x,title:x,size:Ka,style:{flex:`0 0 ${String(nm)}px`,borderRadius:En,background:xe.SURFACE},children:o.jsx(d.Progress.Section,{"data-testid":"metric-row-fill",value:A,withAria:!1,color:xe.ACCENT,style:{borderRadius:En}})}),o.jsx(d.Box,{component:"span","data-testid":"metric-row-value",className:"cm-chart-value",style:{flex:"0 0 auto"},children:r}),n!==void 0&&o.jsx(wr,{children:n})]})}const $a=u.createContext(!1);function tr({showLabels:e=!1,children:t}){return o.jsx($a.Provider,{value:e,children:t})}function wo(){return u.useContext($a)}const Nn=8,dm=2,ei=1,um=2,mm=3;function pm(e){if(e.fullValue!==void 0)return e.fullValue;if(typeof e.value=="string")return e.value;if(typeof e.value=="number")return String(e.value)}function hm({segment:e,grow:t,index:r}){const{glyph:n,value:a,unit:s,mono:c=!1}=e;let i=null;rr(n)?i=o.jsx(St,{name:n}):nr(n)?i=o.jsx(d.Box,{component:"span","data-letter":n,children:n}):n!=null&&(i=n);const m=pm(e),l=e.fullValue!==void 0,p=r>0?ei:0;return o.jsxs(d.Box,{"data-testid":"compound-segment","data-segment-index":r,"data-grow":t?"true":"false",style:{display:"flex",alignItems:"center",boxSizing:"border-box",flex:t?"1 1 auto":"0 0 auto",minWidth:0,height:R.CONTROL_HEIGHT,paddingBlock:0,paddingInlineStart:i===null?Nn-p:0,paddingInlineEnd:Nn},children:[i!==null&&o.jsx(d.Box,{"data-testid":"compound-segment-slot",style:{flex:"0 0 auto",width:R.GLYPH_SLOT,height:R.GLYPH_SLOT,display:"flex",alignItems:"center",justifyContent:"center",color:xe.CHROME},children:i}),o.jsx(d.Box,{component:"span","data-testid":"compound-segment-value","data-mono":c?"true":"false",title:m,"aria-hidden":l?!0:void 0,style:{flex:t?"1 1 auto":"0 0 auto",minWidth:0,fontFamily:c?"var(--mantine-font-family-monospace)":void 0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",unicodeBidi:"isolate"},children:a}),l&&o.jsx(d.VisuallyHidden,{children:e.fullValue}),s!==void 0&&o.jsx(d.Box,{component:"span","data-testid":"compound-segment-unit",className:"cm-compound-unit",style:{flex:"0 0 auto",marginInlineStart:dm},children:s})]})}function fm(e,t){if(!(t>=um&&t<=mm))return`CompoundRow "${e}" was given ${String(t)} ${t===1?"segment":"segments"}, and it holds two or three. A compound row shows one value together with the parts that belong to it: use PanelField for a single value, and a table or a list of rows for more than three.`}function bm(e,t){if(t!==1)return`CompoundRow "${e}" was given ${String(t)} segments that set grow, and exactly one should. The segment that sets grow takes the box's leftover width and should be the main value, with the rest sized to their content. Using the first segment that sets it, or the leading segment when none does.`}function xm({label:e,segments:t,width:r=R.BODY,trailing:n,busy:a,live:s,onClick:c,onFocus:i,onBlur:m}){Te();const l=wo(),p=u.useId(),f=t.filter(N=>N.grow===!0).length;ut(fm(e,t.length)),ut(bm(e,f));const b=t.findIndex(N=>N.grow===!0),v=b===-1?0:b,S=c!==void 0,w=Ya(s,a)!=="off",A=S||w,x=S?void 0:p,k=A?void 0:p,C=A||l,T={display:"flex",alignItems:"center",boxSizing:"border-box",flex:l?"1 1 auto":"0 0 auto",width:l?void 0:r,minWidth:0,height:R.CONTROL_HEIGHT,textAlign:"start",cursor:S?"pointer":void 0},h=o.jsxs(o.Fragment,{children:[A&&o.jsx(d.VisuallyHidden,{id:x,children:e}),t.map((N,I)=>o.jsxs(u.Fragment,{children:[I>0&&o.jsx(d.Box,{"data-testid":"compound-row-hairline",className:"cm-compound-seam",style:{flex:"0 0 auto",width:ei,height:R.CONTROL_HEIGHT}}),o.jsx(hm,{segment:N,grow:I===v,index:I})]},I))]});return o.jsxs(d.Box,{"data-testid":"compound-row",style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:R.TRAIL_GAP,height:R.ROW_PITCH},children:[l&&o.jsx(d.Box,{component:"span",id:k,"data-testid":"compound-row-label",title:e,"aria-hidden":A?!0:void 0,className:"cm-row-reading",style:{flex:`0 0 ${R.LABEL_COLUMN}px`,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e}),S?o.jsx(d.UnstyledButton,{type:"button",title:e,"data-testid":"compound-row-box","data-interactive":"true",className:"cm-compound cm-field",...bt(s,a),onClick:c,onFocus:i,onBlur:m,style:T,children:h}):o.jsx(d.Box,{role:"group","aria-label":C?void 0:e,"aria-labelledby":C?p:void 0,title:e,"data-testid":"compound-row-box","data-interactive":"false",className:"cm-compound",...bt(s,a),onFocus:i,onBlur:m,style:T,children:h}),o.jsx(st,{children:n})]})}const gm=R.VALUE_INSET-R.GLYPH_SLOT,In=8,vm="Use arrow keys to change the value",zn=4,Rn=4,wm=R.VALUE_INSET+R.LABEL_COLUMN,Ln={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},ti=u.forwardRef(function(t,r){const{label:n,glyph:a,kind:s,value:c,defaultValue:i,onChange:m,data:l,unit:p,width:f=R.FIELD,bound:b=!1,mixed:v=!1,placeholder:S,pending:w=!1,min:A,max:x,step:k,decimalScale:C,stepHint:T=vm,onScrubStart:h,onScrub:N,onScrubEnd:I,onClick:E,disabled:D=!1,disabledReason:U,readOnly:Q,boundDescription:B,pendingDescription:te,title:P,style:z,className:j,onKeyDown:W,...L}=t,M=wo(),_=ve(),V=qt(),X=ct(),ie=ae.useMediaQuery("(pointer: coarse)"),{ref:se,width:ue}=ae.useElementSize(),[Fe,Ve]=ae.useUncontrolled({value:c===null?"":c,defaultValue:i,finalValue:"",onChange:m}),K=s??(l!==void 0?"select":"text"),le=K==="select",ge=K==="select"&&l!==void 0,me=Q??(m===void 0&&i===void 0),Se=String(Fe),we=S===!0,F=v||we;let g;v?g=_.mixed:we?g=Se:typeof S=="string"&&(g=S);const H=[];v&&H.push(_.mixed);const $=B??_.fieldBound,Z=te??_.fieldPending;b&&$!==""&&H.push($),w&&Z!==""&&H.push(Z);const J=go({name:n,enabledTitle:P??n,disabled:D,disabledReason:U,extraDescriptions:H}),{description:re}=J,ye=K==="number",Re=h!==void 0||N!==void 0||I!==void 0,Ce=ye&&N===void 0&&!me,He=(Re||Ce)&&!D&&!ie,pt=F?"":Se,Xe=Se===""||v?Number.NaN:V(Se),Ge=Ba({value:Number.isNaN(Xe)?null:Xe,display:pt,onCommit:(ne,ze)=>{Ve(ne,ze)},parse:V,min:A,max:x,step:k,decimalScale:C,locked:D||me}),oe=Da(He,Ue(X),{onStart:ne=>{var ze,Ze;h==null||h(ne),Ce&&((Ze=(ze=Ge.scrub).onStart)==null||Ze.call(ze,ne))},onMove:(ne,ze,Ze)=>{var Pt,Mt;N==null||N(ne,Ze),Ce&&((Mt=(Pt=Ge.scrub).onMove)==null||Mt.call(Pt,ne,ze,Ze))},onEnd:ne=>{var ze,Ze;Ce&&((Ze=(ze=Ge.scrub).onEnd)==null||Ze.call(ze,ne)),I==null||I(ne)}}),de=ne=>{D||E==null||E(ne)},ke=ne=>{W==null||W(ne),!(E===void 0||D||ne.defaultPrevented)&&(ge||(ne.key==="Enter"||ne.key===" "&&me)&&(ne.preventDefault(),E(ne)))},Ae=(ne,ze)=>{Ve(ne,ze)};let je=null;rr(a)?je=o.jsx(St,{name:a,filled:b}):nr(a)?je=o.jsx(d.Box,{component:"span","data-letter":a,style:{fontSize:"var(--mantine-font-size-sm)",lineHeight:1},children:a}):a!=null&&(je=a);const Ee=o.jsxs(o.Fragment,{children:[o.jsxs(d.Box,{"data-testid":"panel-field-slot",className:"cm-scrub-slot","data-scrub":He?"true":void 0,...oe,style:{position:"relative",flex:"0 0 auto",width:R.GLYPH_SLOT,height:R.GLYPH_SLOT},children:[je,w&&o.jsx(d.Box,{"data-testid":"panel-field-pending",style:{position:"absolute",insetInlineStart:0,bottom:0,width:Rn,height:Rn,background:xe.ACCENT}})]}),M&&o.jsx(d.Box,{component:"span","data-testid":"panel-field-label","aria-hidden":"true",style:{flex:"1 1 auto",minWidth:0,marginInlineStart:zn,fontSize:"var(--mantine-font-size-sm)",lineHeight:1,color:xe.CHROME,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:n})]}),Je=le&&je===null&&!w&&!M,Le=p!==void 0,Ne=Le||le?o.jsxs(o.Fragment,{children:[Le&&o.jsx(d.Box,{component:"span","data-testid":"panel-field-unit",style:{flex:"0 0 auto",lineHeight:1,paddingInlineEnd:le?0:In},children:o.jsx("span",{ref:se,style:{display:"inline-block"},children:p})}),le&&o.jsx(d.Box,{component:"span","data-testid":"panel-field-chevron",style:{flex:"0 0 auto",display:"flex",alignItems:"center",justifyContent:"center",width:R.GLYPH_SLOT},children:o.jsx(ir,{})})]}):void 0;let Ie=Le?zn:0;Ie+=le?R.GLYPH_SLOT:In;let Me;Le&&ue>0?Me=Math.ceil(ue)+Ie:Le?Me=`calc(${String(p.length)}ch + ${String(Ie)}px)`:le&&(Me=Ie);const et=He?"auto":"none",tt={"data-testid":"panel-field-value",...L,ref:r,className:j,label:n,description:re,placeholder:g,disabled:D,readOnly:me,onClick:de,onKeyDown:ke,variant:le?"outlined":"filled",leftSection:Je?void 0:Ee,leftSectionWidth:M?wm:R.VALUE_INSET,leftSectionPointerEvents:et,leftSectionProps:{style:{insetInlineStart:0,justifyContent:"flex-start",paddingInlineStart:gm}},rightSection:Ne,rightSectionWidth:Me,rightSectionPointerEvents:"none",rightSectionProps:{style:{insetInlineEnd:0,justifyContent:"flex-end",fontSize:"var(--mantine-font-size-sm)",color:xe.CHROME}},styles:{wrapper:{marginTop:0,marginBottom:0,"--input-placeholder-color":v?xe.VALUE:xe.PLACEHOLDER},label:Ln,description:Ln},wrapperProps:{title:J.title,"data-testid":"panel-field","data-kind":K,"data-bound":b?"true":void 0,"data-mixed":v?"true":void 0,"data-pending":w?"true":void 0,"data-disabled":D?"true":void 0},style:{flex:f==="fill"?"1 1 auto":"0 0 auto",width:f==="fill"?"100%":f,minWidth:0,...z}};if(ye){const ne=T===""?{}:{"aria-description":T};return o.jsx(d.TextInput,{...tt,...Ge.inputProps,...ne,onKeyDown:Ge.inputProps.onKeyDown,classNames:{wrapper:"cm-number-field"}})}return ge?o.jsx(d.Select,{...tt,data:l,value:F||Se===""?null:Se,onChange:ne=>{Ae(ne??"")}}):o.jsx(d.TextInput,{...tt,value:F?"":Se,onChange:ne=>{Ae(ne.currentTarget.value,ne)}})}),ym=2,km=R.BODY+R.TRAIL_GAP,Pn=(R.CAPTION_ROW-R.CONTROL_HEIGHT-14)/3;function Sm(e){return u.Children.toArray(e).flatMap(t=>u.isValidElement(t)&&t.type===u.Fragment?u.Children.toArray(t.props.children):[t])}function Mn(e,t){return u.isValidElement(e)&&e.key!==null?e.key:`field-row-${String(t)}`}function Ho(e){if(u.isValidElement(e)&&typeof e.props.label=="string")return e.props.label}function Uo(e){return u.isValidElement(e)&&e.type===ti?u.cloneElement(e,{width:"fill"}):e}const jm=u.forwardRef(function({children:t,trailing:r,groupLabel:n,labelPosition:a="above",role:s,style:c,"aria-label":i,"aria-labelledby":m,...l},p){Te();const f=wo(),b=Sm(t),v=b.length,S=v===1?"field":"fields";ut(v===0||v>ym?`FieldRow was given ${String(v)} ${S}, and it holds one field, or two side by side. A row with none is an empty 32px gap, and a third field has nowhere to go in the 240px panel the row is measured for. Put the extra fields on rows of their own.`:void 0);const w=n??i,x=s??(w!==void 0||m!==void 0?"group":void 0),k=Xt(r);if(f&&a==="inline"&&v>1)return o.jsx(d.Box,{ref:p,"data-testid":"field-row-labeled","data-fields":v,role:x,"aria-label":w,"aria-labelledby":m,...l,style:{display:"flex",flexDirection:"column",...c},children:b.map((E,D)=>{const U=Ho(E);return o.jsxs(d.Box,{"data-testid":"field-row","data-labeled":"true",style:{display:"flex",alignItems:"center",height:R.ROW_PITCH},children:[o.jsx(d.Box,{component:"span","data-testid":"field-row-label",title:U,className:"cm-row-reading",style:{flex:`0 0 ${String(R.LABEL_COLUMN)}px`,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:U}),o.jsx(d.Box,{"data-testid":"field-row-slot","data-width":"fill",style:{display:"flex",alignItems:"center",flex:"1 1 auto",minWidth:0,marginInlineStart:R.GUTTER,marginInlineEnd:R.TRAIL_GAP},children:o.jsx(tr,{showLabels:!1,children:Uo(E)})}),o.jsx(st,{children:D===0?r:null})]},Mn(E,D))})});const C=f&&a==="above",T=v<=1,h=T&&!k;let N=R.FIELD;T&&(N=h?km:R.BODY);const I=h?void 0:R.TRAIL_GAP;return o.jsxs(d.Box,{ref:p,"data-testid":"field-row","data-fields":v,role:x,"aria-label":w,"aria-labelledby":m,...l,"data-captions":C?"true":void 0,style:{display:"flex",alignItems:C?"flex-end":"center",boxSizing:"border-box",height:C?R.CAPTION_ROW:R.ROW_PITCH,paddingBlockEnd:C?Pn:void 0,...c},children:[b.map((E,D)=>o.jsx(d.Box,{"data-testid":"field-row-slot","data-width":N,style:{display:"flex",flexDirection:C?"column":void 0,alignItems:C?"stretch":"center",gap:C?Pn:void 0,flex:`0 0 ${String(N)}px`,minWidth:0,marginInlineStart:D===0?void 0:R.GUTTER,marginInlineEnd:D===v-1?I:void 0},children:C?o.jsxs(o.Fragment,{children:[o.jsx(d.Box,{component:"span","aria-hidden":"true","data-testid":"field-row-caption",className:"cm-caption",title:Ho(E),children:Ho(E)}),o.jsx(tr,{showLabels:!1,children:Uo(E)})]}):Uo(E)},Mn(E,D))),o.jsx(st,{children:r})]})}),so=16,On=4,Tm=20,Dn=220,Bn=2,Fn=new RegExp("\\p{Sentence_Terminal}","u"),Cm=/[.!?]/u,Hn=/\s/u;function Am(e){const t=Array.from(e);let r=0,n=0,a=0;for(;n<t.length;){if(!Fn.test(t[n])){n+=1;continue}let c=n;for(;c+1<t.length&&Fn.test(t[c+1]);)c+=1;const i=t[c+1],m=Cm.test(t[c]);n=c+1,(!m||i===void 0||Hn.test(i))&&(r+=1,a=n)}return t.slice(a).some(c=>!Hn.test(c))?r+1:r}function Em(e){return Array.from(e).length}function Nm(e,t){if(e!=="reading"||typeof t!="string")return;const r=Em(t);if(r>Dn)return`ProseBlock was given a reading of ${String(r)} characters, and a reading is at most ${String(Dn)} characters. Shorten it, or it has stopped being a reading and become an explanation.`;const n=Am(t);if(n>Bn)return`ProseBlock was given a reading of ${String(n)} sentences, and a reading is at most ${String(Bn)} sentences. Delete any sentence that repeats what is already on screen, and move the rest into an InfoCircle.`}function Im(e,t){if(!(t===void 0||e==="runRecord"))return`ProseBlock was given onDetails on the "${e}" shape, and it belongs to "runRecord". A reading and a departure line carry no chevron, so the handler is ignored.`}function zm({variant:e,children:t,onDetails:r,busy:n,live:a}){Te();const s=ve(),c=ct(),i=u.useId(),m=u.useId();ut(Nm(e,t)),ut(Im(e,r));const l=bt(a,n);if(e==="reading")return o.jsx(d.Text,{...l,"data-testid":"prose-block","data-variant":e,className:"cm-prose",children:t});if(e==="departure")return o.jsxs(d.Box,{...l,role:"note","aria-labelledby":`${m} ${i}`,"data-testid":"prose-block","data-variant":e,style:{display:"flex",alignItems:"flex-start",gap:On},children:[o.jsx(d.VisuallyHidden,{component:"span",id:m,children:s.departure}),o.jsx(d.Box,{"aria-hidden":!0,"data-testid":"prose-block-warning",style:{flex:"0 0 auto",inlineSize:so,blockSize:so,display:"flex",alignItems:"center",justifyContent:"center",color:xe.WARNING},children:o.jsx(he,{name:"warning",size:R.GLYPH})}),o.jsx(d.Text,{span:!0,id:i,"data-testid":"prose-block-text",className:"cm-chart-value",children:t})]});const p=typeof t=="string"?t:void 0;return o.jsxs(d.Box,{...l,"data-testid":"prose-block","data-variant":e,style:{display:"flex",alignItems:"center",gap:On,blockSize:Tm},children:[o.jsx(d.Text,{span:!0,truncate:"end",id:i,title:p,"data-testid":"prose-block-text",className:"cm-prose",style:{flex:"1 1 auto",minInlineSize:0},children:t}),r!==void 0&&o.jsx(d.UnstyledButton,{type:"button",title:s.details,"aria-label":s.details,"aria-describedby":i,"data-testid":"prose-block-details",className:"cm-focus-outside",onClick:r,style:{flex:"0 0 auto",inlineSize:so,blockSize:so,borderRadius:5,display:"inline-flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",background:"transparent",color:"var(--cm-icon-secondary)",cursor:"pointer"},children:o.jsx(Ra,{open:!1,rtl:Ue(c)})})]})}const Vo=4,Rm=4,Lm=`polygon(0 calc(100% - ${Rm}px), 100% 0, 100% 100%, 0 100%)`,Pm=96,Mm=`linear-gradient(to right, ${xe.SURFACE}, ${xe.ACCENT})`,Om={sqrt:"scaleSqrt",linear:"scaleLinear",log:"scaleLog"},Un={flex:"0 0 auto",whiteSpace:"nowrap"},Dm="var(--cm-icon-secondary)";function Bm({min:e,max:t,label:r,variant:n="size",gradient:a,scale:s,busy:c,live:i,onScaleClick:m,trailing:l}){Te();const p=ve(),f=ct(),b=u.useId(),v=n==="color",S=s===void 0?void 0:Om[s],w=S===void 0?void 0:p[S],A=`${b}-label`,x=`${b}-min`,k=`${b}-max`,C=`${b}-scale`,T=[r===void 0?void 0:A,x,k,w===void 0?void 0:C].filter(I=>I!==void 0);let h=null;S!==void 0&&w!==void 0&&(m===void 0?h=o.jsx(d.Box,{"data-testid":"ramp-row-scale","aria-hidden":"true",title:w,style:{flex:"0 0 auto",width:R.TRAIL,height:R.CONTROL_HEIGHT,display:"flex",alignItems:"center",justifyContent:"center",color:xe.CHROME},children:o.jsx(St,{name:S})}):h=o.jsx(Pa,{label:w,icon:o.jsx(St,{name:S}),onClick:m}));const N=Xt(l)?l:h;return o.jsxs(d.Box,{"data-testid":"ramp-row","data-variant":n,"data-scale":s,style:{display:"flex",alignItems:"center",gap:Vo,height:R.ROW_PITCH},children:[o.jsxs(d.Box,{"data-testid":"ramp-row-figure",role:"img","aria-labelledby":T.join(" "),...bt(i,c),style:{flex:"1 1 auto",minWidth:0,display:"flex",alignItems:"center",gap:Vo},children:[r!==void 0&&o.jsx(d.VisuallyHidden,{"data-testid":"ramp-row-a11y-label",id:A,children:r}),o.jsx(d.Text,{span:!0,id:x,"data-testid":"ramp-row-min",className:"cm-chart-text",style:Un,children:e}),o.jsx(d.Box,{"data-testid":"ramp-row-ramp","data-variant":n,"aria-hidden":"true",style:{flex:"1 1 auto",minWidth:Pm,height:R.GLYPH,boxSizing:"border-box",background:v?a??Mm:Dm,borderRadius:v?"var(--mantine-radius-xs)":void 0,border:v?`1px solid ${xe.BORDER}`:void 0,clipPath:v?void 0:Lm,...Dl(f)}}),o.jsx(d.Text,{span:!0,id:k,"data-testid":"ramp-row-max",className:"cm-chart-text",style:Un,children:t}),w!==void 0&&o.jsx(d.VisuallyHidden,{"data-testid":"ramp-row-a11y-scale",id:C,children:w})]}),o.jsx(d.Box,{style:{flex:"0 0 auto",display:"flex",marginInlineStart:R.TRAIL_GAP-Vo},children:o.jsx(st,{children:N})})]})}const Fm=R.GUTTER,Hm=`${String(R.TOGGLE_PITCH)}px`,Um=2;function Vm({label:e,checked:t,defaultChecked:r,onChange:n,control:a="checkbox",trailing:s,disabled:c=!1,disabledReason:i,bound:m=!1,boundDescription:l,onFocus:p,onBlur:f,"aria-expanded":b,"aria-controls":v}){const S=ve(),[w,A]=ae.useUncontrolled({value:t,defaultValue:r,finalValue:!1,onChange:n}),x=I=>{A(I.currentTarget.checked,I)},k={root:{flex:"1 1 auto",minWidth:0},body:{alignItems:"center",minWidth:0},labelWrapper:{minWidth:0},label:{display:"block",height:R.TOGGLE_PITCH,paddingInlineStart:Fm,paddingBlock:0,fontSize:"var(--mantine-font-size-sm)",lineHeight:Hm,color:c?xe.DISABLED:xe.VALUE,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},C=l??S.fieldBound,T=go({name:e,enabledTitle:e,disabled:c,disabledReason:i,extraDescriptions:m?[C]:void 0}),h={title:T.title},N=m?o.jsx(d.Box,{component:"span","data-testid":"toggle-row-bound",style:{flex:"0 0 auto",display:"inline-flex",alignItems:"center",color:xe.CHROME},children:o.jsx(St,{name:"attribute",filled:!0})}):null;return o.jsxs(d.Box,{"data-testid":"toggle-row","data-control":a,"data-checked":w?"true":"false","data-disabled":c?"true":void 0,"data-bound":m?"true":void 0,style:{display:"flex",alignItems:"center",boxSizing:"border-box",gap:R.TRAIL_GAP,height:R.TOGGLE_PITCH},children:[a==="switch"?o.jsx(d.Switch,{"data-testid":"toggle-row-control",label:e,checked:w,disabled:c,"aria-describedby":T.describedBy,"aria-expanded":b,"aria-controls":v,onChange:x,onFocus:p,onBlur:f,wrapperProps:h,styles:k}):o.jsx(d.Checkbox,{variant:"neutral","data-testid":"toggle-row-control",label:e,checked:w,disabled:c,"aria-describedby":T.describedBy,"aria-expanded":b,"aria-controls":v,onChange:x,onFocus:p,onBlur:f,wrapperProps:h,styles:k}),T.description!==void 0&&o.jsx(d.VisuallyHidden,{id:T.describedBy,children:T.description}),N,o.jsx(st,{children:s})]})}function Gm({children:e,label:t,labelledBy:r}){const n=u.Children.toArray(e).length,a=n===1?"row":"rows";return ut(n<Um?`ToggleRowGroup was given ${String(n)} ${a}, and it holds two or more. A single checkbox on a row of its own interrupts a column of rows to say one bit: put it in the trailing slot of the row it modifies, or make it one tile of a group of icon buttons. Rendering it anyway.`:void 0),o.jsx(d.Box,{role:"group","aria-label":r===void 0?t:void 0,"aria-labelledby":r,"data-testid":"toggle-row-group","data-rows":n,style:{display:"flex",flexDirection:"column"},children:e})}function qm(e="dark"){return d.useComputedColorScheme(e)}const Wm={xs:d.rem(4),sm:d.rem(8),md:d.rem(16),lg:d.rem(24),xl:d.rem(32)},Ym={HEIGHT:24,FONT_SIZE:11,CONTROL_PADDING:8,SECTION_GAP:4};exports.ALIGNMENT_MATRIX_VALUES=co;exports.ActionRow=Zu;exports.AdvancedButton=Pa;exports.AlignmentMatrix=lu;exports.COMPACT_SIZING=Ym;exports.ColorPickerPanel=hr;exports.ComboInput=Fd;exports.CompactColorInput=_l;exports.CompoundRow=xm;exports.ContextMenu=Kd;exports.ControlGroup=$l;exports.ControlSection=nd;exports.DEFAULT_GRADIENT_STOP_COLOR=wa;exports.DataRow=Qu;exports.DataRowHeader=_u;exports.DataTable=gd;exports.FIELD_GLYPH_NAMES=_n;exports.FIELD_LETTERS=$n;exports.FieldGlyph=St;exports.FieldRow=jm;exports.GradientEditor=Ad;exports.HelpButton=Eu;exports.HistogramRow=sm;exports.InfoCircle=La;exports.InlineRename=xr;exports.LabelsProvider=tc;exports.MANTINE_SPACING=Wm;exports.MAX_ALPHA_HEX=dr;exports.MAX_OPACITY_PERCENT=ur;exports.MenuCheckItem=Xd;exports.MetricRow=lm;exports.ModalFooter=Jd;exports.NavRail=Ru;exports.PANEL_GRID=R;exports.PANEL_INK=xe;exports.POPOUT_GAP=Zn;exports.POPOUT_NESTED_GAP=Qn;exports.POPOUT_Z_INDEX_BASE=Wo;exports.PageList=hu;exports.PageRow=Ua;exports.PanelField=ti;exports.PanelLabelsProvider=tr;exports.Popout=zt;exports.PopoutButton=Jl;exports.PopoutManager=za;exports.PopoutRegion=zl;exports.ProseBlock=zm;exports.QuickActions=Du;exports.RailButton=Lu;exports.RampRow=Bm;exports.RankChip=wr;exports.ResetButton=od;exports.ResizeHandle=pu;exports.ResultRow=bu;exports.SWATCH_COLORS_HEXA=va;exports.ScrollArea=Nd;exports.SearchInput=Vd;exports.SecondaryToolbar=Uu;exports.SegmentedControl=Id;exports.ShortcutSheet=Vu;exports.SparklineRow=cm;exports.SplitButton=Ld;exports.Toast=Fa;exports.ToastProvider=tu;exports.ToggleIconButton=Pd;exports.ToggleRow=Vm;exports.ToggleRowGroup=Gm;exports.ToggleWithContent=Rd;exports.ToolButton=Wa;exports.ToolGroup=Ku;exports.Toolbar=Wu;exports.TooltipShortcut=ru;exports.TrailingSlot=st;exports.Tree=Tu;exports.TreeItem=qa;exports.UI_GLYPH_NAMES=js;exports.UiGlyph=he;exports.VariablePill=Wd;exports.compactBrandColors=qn;exports.compactColors=Wn;exports.compactDarkColors=Gn;exports.compactGlobalCss=ba;exports.compactTheme=ul;exports.compactThemeOverride=ga;exports.createColorStop=Gt;exports.createCompactTheme=xa;exports.createDefaultGradientStops=Ma;exports.defaultLabels=cr;exports.ensureCompactStyles=Wt;exports.getActivationMeta=Rt;exports.isFieldGlyphName=rr;exports.isFieldLetter=nr;exports.isLightColor=ka;exports.isRtl=Ue;exports.isValidHex=ya;exports.mixHex=Sa;exports.moveTreeItem=yu;exports.normalizeHexa=$e;exports.opacityToAlphaHex=xo;exports.parseAlphaFromHexa=mr;exports.parseHexaColor=ml;exports.parseLocaleNumber=pa;exports.renameTreeItem=Ga;exports.toHexaColor=pl;exports.useActualColorScheme=qm;exports.useCollator=fa;exports.useDirection=ct;exports.useLabels=ve;exports.useLocale=Lt;exports.useNumberFormatter=mt;exports.useNumberParser=qt;exports.useOrdinalFormatter=ha;exports.usePanelLabels=wo;exports.usePopoutManager=Ll;exports.usePopoutRegion=Aa;exports.useToast=ou;
4189
+ ${lr(":root, :host")}`:nn}let lt=null;function Wt(e={}){if(typeof document>"u")return;lt!=null&&lt.isConnected||(lt=document.head.querySelector(`style[${an}]`),lt||(lt=document.createElement("style"),lt.setAttribute(an,""),lt.textContent=ba(),document.head.appendChild(lt)));const t=e.highContrast?"high":"figma",r=document.documentElement;r.getAttribute(sn)!==t&&r.setAttribute(sn,t)}function cl(e){const t=e!=="brand";typeof document<"u"&&document.documentElement.hasAttribute(cn)!==t&&document.documentElement.toggleAttribute(cn,t)}function ll(e,t){const r={};for(const[n,a]of Object.entries(e)){const s=a.vars;r[n]={...a,vars:(...c)=>(Wt(t),cl(c[0].primaryColor),dl(s)?s(...c):{})}}return r}function dl(e){return typeof e=="function"}function xa(e={}){const t={highContrast:e.highContrast??!1};return Wt(t),d.createTheme({colors:Wn,primaryColor:"brand",primaryShade:{light:6,dark:8},white:"#ffffff",black:"#000000",fontFamily:qo,fontFamilyMonospace:Jn,headings:{fontFamily:qo,fontWeight:"550"},fontSizes:ts,lineHeights:os,spacing:rs,radius:ns,defaultRadius:"sm",shadows:as,fontSmoothing:!0,cursorType:"default",focusRing:"never",activeClassName:"",other:{panelGrid:R,compact:t},components:ll(Dc,t)})}const ga=xa(),ul=d.mergeMantineTheme(d.DEFAULT_THEME,ga),va=["#5B8FF9FF","#FF6B6BFF","#61D095FF","#F7B731FF","#9B59B6FF","#5B8FF980","#FF6B6B80","#61D09580","#F7B73180","#9B59B680"],wa="#888888",dr=255,ur=100;function mr(e){return Math.round(Number.parseInt(e,16)/dr*ur)}function xo(e){return Math.round(e/ur*dr).toString(16).padStart(2,"0")}function ml(e){let t=e.replace("#","");t.length===3?t=`${t.split("").map(s=>s+s).join("")}ff`:t.length===4?t=t.split("").map(s=>s+s).join(""):t.length===6&&(t=`${t}ff`);const r=`#${t.slice(0,6)}`,n=t.slice(6,8),a=mr(n);return{hex:r,opacity:a}}function pl(e,t){const r=e.replace("#",""),n=xo(t);return`#${r}${n}`}function ya(e){return/^#?([A-Fa-f0-9]{3}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/.test(e)}const hl=224;function $e(e){if(!ya(e))return;let t=e.replace("#","");return t.length<=4&&(t=t.replace(/./g,"$&$&")),t.length===6&&(t+="ff"),`#${t.toUpperCase()}`}function ka(e){const t=$e(e);return t===void 0?!1:[1,3,5].every(r=>Number.parseInt(t.slice(r,r+2),16)>=hl)}function Sa(e,t,r){const n=$e(e)??"#000000FF",a=$e(t)??"#000000FF",s=c=>{const i=Number.parseInt(n.slice(c,c+2),16),m=Number.parseInt(a.slice(c,c+2),16);return Math.round(i+(m-i)*r).toString(16).padStart(2,"0")};return`#${s(1)}${s(3)}${s(5)}`.toUpperCase()}function fl(e,t){const r=e===void 0?"":e.trim();return r===""?t:`${/[.!?]$/u.test(r)?r:`${r}.`} ${t}`}function go({name:e,enabledTitle:t,disabled:r=!1,disabledReason:n,extraDescriptions:a}){const s=u.useId(),c=r&&n!==void 0&&n!==""?n:void 0,i=[];for(const l of a??[])l!==void 0&&l!==""&&i.push(l);c!==void 0&&i.push(c);const m=i.length>0?i.join(". "):void 0;return{title:c===void 0?t:fl(t??e,c),description:m,describedBy:m===void 0?void 0:s}}function ut(e){const t=u.useRef(void 0);u.useEffect(()=>{process.env.NODE_ENV==="production"||e===void 0||t.current!==e&&(t.current=e,console.warn(e))},[e])}function pr({color:e,variant:t}){const r=$e(e)??"#000000FF",n=r.slice(0,7),a=!r.endsWith("FF");return o.jsx(d.ColorSwatch,{component:"span",color:n,variant:t,mod:{light:ka(n)},"aria-hidden":!0,children:a&&o.jsx("span",{className:"cm-chit-half",style:{"--cm-chit-color":r}})})}function Yt(e,t){const r=e.currentTarget;e.stopPropagation(),t(),r.dataset.cmReverting="true",r.blur(),delete r.dataset.cmReverting}function Kt(e){return e.currentTarget.dataset.cmReverting==="true"}const bl=0,xl=100,gl=.5,vl=10;function Ro(e){return Math.min(xl,Math.max(bl,e))}function ja({value:e,onCommit:t,ariaLabel:r,isDefault:n=!1,disabled:a=!1,describedBy:s,testId:c,onFocus:i,onBlur:m}){const l=mt({maximumFractionDigits:2}),p=qt(),[f,b]=u.useState(l.format(e)),v=u.useRef(null),S=u.useRef(null);u.useEffect(()=>{b(l.format(e))},[e,l]);const w=h=>{const I=p(f);if(Number.isNaN(I)){b(l.format(e));return}const N=Ro(I);b(l.format(N)),N!==e&&t(N,h)},A=h=>{if(h.key==="Enter"){w(h);return}if(h.key==="Escape"){Yt(h,()=>{b(l.format(e))});return}if(h.key==="ArrowUp"||h.key==="ArrowDown"){h.preventDefault();const I=(h.shiftKey?vl:1)*(h.key==="ArrowUp"?1:-1),N=p(f),E=Ro(Math.round((Number.isNaN(N)?e:N)+I));b(l.format(E)),E!==e&&t(E,h)}},x=h=>{document.documentElement.style.cursor=h,document.body.style.cursor=h},k=h=>{var I;a||h.button>0||(h.preventDefault(),(I=S.current)==null||I.focus({preventScroll:!0}),"setPointerCapture"in h.currentTarget&&h.currentTarget.setPointerCapture(h.pointerId),v.current={startX:h.clientX,start:e,last:e},x("ew-resize"))},T=h=>{const I=v.current;I!==null&&(I.last=Ro(Math.round(I.start+(h.clientX-I.startX)*gl)),b(l.format(I.last)))},C=h=>{const I=v.current;I!==null&&(v.current=null,x(""),I.last!==e&&t(I.last,h))};return o.jsxs("label",{className:"cm-paint-opacity","data-disabled":a||void 0,children:[o.jsx("input",{ref:S,className:"cm-paint-input",type:"text",inputMode:"decimal",autoComplete:"off",spellCheck:!1,"data-testid":c,"data-is-default":n?"true":"false","aria-label":r,"aria-describedby":s,disabled:a,value:f,onChange:h=>{b(h.currentTarget.value)},onFocus:h=>{h.currentTarget.select(),i==null||i(h)},onBlur:h=>{Kt(h)||w(h),m==null||m(h)},onKeyDown:A}),o.jsx("span",{className:"cm-paint-suffix","aria-hidden":!0,onPointerDown:k,onPointerMove:T,onPointerUp:C,onPointerCancel:C,children:"%"})]})}const wl={saturation:"Saturation and brightness",hue:"Hue",opacity:"Opacity",eyedropper:"Sample color",format:"Color format",value:"Color value",paintType:"Paint type",solid:"Solid",gradient:"Gradient",swatches:"Swatches"},yl=[{value:"hex",label:"Hex"},{value:"rgb",label:"RGB"},{value:"hsl",label:"HSL"},{value:"hsb",label:"HSB"}];function nt(e,t){return Math.min(t,Math.max(0,e))}function wt(e){return d.convertHsvaTo("hexa",e).toUpperCase()}function no(e,t){return t==="hex"?wt(e).slice(1,7):t==="hsb"?[e.h,e.s,e.v].map(n=>Math.round(n)).join(", "):(d.convertHsvaTo(t,e).match(/[\d.]+/g)??[]).map(n=>Math.round(Number(n))).join(", ")}function kl(e,t,r){if(t==="hex"){const s=e.trim().replace("#","");if(s.length!==3&&s.length!==6)return;const c=$e(s);return c===void 0?void 0:{...d.parseColor(c.slice(0,7)),a:r}}const n=e.split(/[\s,]+/).filter(Boolean).map(Number);if(n.length!==3||n.some(Number.isNaN))return;if(t==="hsb")return{h:nt(n[0],360),s:nt(n[1],100),v:nt(n[2],100),a:r};const a=t==="rgb"?`rgb(${nt(n[0],255)}, ${nt(n[1],255)}, ${nt(n[2],255)})`:`hsl(${nt(n[0],360)}, ${nt(n[1],100)}%, ${nt(n[2],100)}%)`;return d.isColorValid(a)?{...d.parseColor(a),a:r}:void 0}function ln(e,t,r){return n=>{const a=e===1?.01:1,s=a*(n.shiftKey?10:1),c={ArrowRight:t+s,ArrowUp:t+s,ArrowLeft:t-s,ArrowDown:t-s,Home:0,End:e};n.key in c&&(n.preventDefault(),n.stopPropagation(),r(Math.round(nt(c[n.key],e)/a)*a))}}function Sl(){return o.jsxs("svg",{width:16,height:16,viewBox:"0 0 16 16","aria-hidden":!0,focusable:"false",children:[o.jsx("rect",{x:"2.5",y:"2.5",width:"11",height:"11",rx:"1",fill:"none",stroke:"currentColor"}),o.jsx("rect",{x:"4.5",y:"4.5",width:"7",height:"7",fill:"currentColor"})]})}function jl(){return o.jsxs("svg",{width:16,height:16,viewBox:"0 0 16 16","aria-hidden":!0,focusable:"false",children:[o.jsx("rect",{x:"2.5",y:"2.5",width:"11",height:"11",rx:"1",fill:"none",stroke:"currentColor"}),o.jsx("path",{d:"M4.5 4.5h2v7h-2zM7.5 4.5h1.5v7H7.5zM10 4.5h1v7h-1z",fill:"currentColor",opacity:"0.8"})]})}function hr({value:e,onChange:t,onChangeEnd:r,withAlpha:n=!0,swatches:a=[],defaultFormat:s="hex",gradient:c,paintType:i="solid",onPaintTypeChange:m,labels:l}){const p={...wl,...l},[f,b]=u.useState(()=>d.parseColor($e(e)??"#000000FF")),v=u.useRef(f);v.current=f;const[S,w]=u.useState(s),[A,x]=u.useState(no(f,S));u.useEffect(()=>{const P=$e(e);P!==void 0&&P!==wt(v.current)&&b(d.parseColor(P))},[e]),u.useEffect(()=>{x(no(f,S))},[f,S]);const k=P=>n?P:P.slice(0,7),T=P=>{const z={...P,a:n?P.a:1};b(z),v.current=z,t(k(wt(z)))},C=()=>{r==null||r(k(wt(v.current)))},h=P=>{const z=$e(P);if(z===void 0)return;const j=d.parseColor(n?z:z.slice(0,7));b(j),v.current=j;const G=k(n?z:`${z.slice(0,7)}FF`);t(G),r==null||r(G)},{ref:I}=ie.useMove(({x:P,y:z})=>{T({...v.current,s:P*100,v:(1-z)*100})},{onScrubEnd:C}),N=P=>{const z=P.shiftKey?10:1,G={ArrowRight:[z,0],ArrowLeft:[-z,0],ArrowUp:[0,z],ArrowDown:[0,-z]}[P.key];if(G===void 0)return;P.preventDefault();const{current:L}=v,O=ie.clampUseMovePosition({x:(L.s+G[0])/100,y:(L.v+G[1])/100});T({...L,s:O.x*100,v:O.y*100}),C()},E=()=>{const P=kl(A,S,v.current.a);if(P===void 0){x(no(v.current,S));return}wt(P)!==wt(v.current)&&(T(P),C())},D=typeof window>"u"?void 0:window.EyeDropper,W=()=>{D!==void 0&&new D().open().then(P=>{h(`${P.sRGBHex}${xo(v.current.a*100)}`)}).catch(()=>{})},Q=wt(f).slice(0,7),M=Math.round(f.a*100),oe=c!==void 0&&i==="gradient";return o.jsxs("div",{className:"cm-color-picker","data-testid":"color-picker-panel",children:[c!==void 0&&o.jsx("div",{className:"cm-color-picker-types",children:o.jsx(d.SegmentedControl,{variant:"loose","aria-label":p.paintType,value:i,onChange:P=>{m==null||m(P)},data:[{value:"solid",label:o.jsxs(o.Fragment,{children:[o.jsx(Sl,{}),o.jsx("span",{className:"cm-visually-hidden",children:p.solid})]})},{value:"gradient",label:o.jsxs(o.Fragment,{children:[o.jsx(jl,{}),o.jsx("span",{className:"cm-visually-hidden",children:p.gradient})]})}]})}),oe?c:o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"cm-color-picker-body",children:[o.jsx("div",{ref:I,className:"cm-color-saturation","data-testid":"color-picker-saturation",role:"slider",tabIndex:0,"aria-label":p.saturation,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(f.s),"aria-valuetext":`${Math.round(f.s)}%, ${Math.round(f.v)}%`,onKeyDown:N,style:{"--cm-hue":f.h,"--cm-x":`${f.s}%`,"--cm-y":`${100-f.v}%`},children:o.jsx("div",{className:"cm-color-thumb",style:{background:Q}})}),o.jsxs("div",{className:"cm-color-picker-sliders",children:[o.jsx("div",{className:"cm-color-picker-eyedropper",children:D!==void 0&&o.jsx(d.ActionIcon,{variant:"subtle",size:24,"aria-label":p.eyedropper,onClick:W,children:o.jsx(he,{name:"eyedropper"})})}),o.jsxs("div",{className:"cm-color-picker-slider-stack",children:[o.jsx(d.HueSlider,{"aria-label":p.hue,"data-testid":"color-picker-hue",value:Math.round(f.h),onChange:P=>{T({...v.current,h:P})},onChangeEnd:C,onKeyDownCapture:ln(360,Math.round(f.h),P=>{T({...v.current,h:P}),C()})}),n&&o.jsx(d.AlphaSlider,{"aria-label":p.opacity,"data-testid":"color-picker-alpha",color:Q,thumbColor:Q,value:f.a,onChange:P=>{T({...v.current,a:P})},onChangeEnd:C,onKeyDownCapture:ln(1,f.a,P=>{T({...v.current,a:P}),C()})})]})]}),o.jsxs("div",{className:"cm-color-picker-values",children:[o.jsx(d.Select,{className:"cm-color-picker-format","aria-label":p.format,data:yl,value:S,allowDeselect:!1,comboboxProps:{withinPortal:!1},onChange:P=>{P!==null&&w(P)}}),o.jsxs("div",{className:"cm-joined-field",children:[o.jsx("input",{className:"cm-paint-input",type:"text",autoComplete:"off",spellCheck:!1,"aria-label":p.value,"data-testid":"color-picker-value",value:A,onChange:P=>{x(P.currentTarget.value)},onFocus:P=>{P.currentTarget.select()},onBlur:P=>{Kt(P)||E()},onKeyDown:P=>{P.key==="Enter"?E():P.key==="Escape"&&Yt(P,()=>{x(no(v.current,S))})}}),n&&o.jsx(ja,{value:M,ariaLabel:p.opacity,testId:"color-picker-opacity",onCommit:P=>{T({...v.current,a:P/100}),C()}})]})]})]}),a.length>0&&o.jsx("fieldset",{className:"cm-fieldset cm-color-swatches","aria-label":p.swatches,children:a.map((P,z)=>o.jsx("button",{type:"button",className:"cm-color-swatch-button cm-focus-double","aria-label":P,onClick:()=>{h(P)},children:o.jsx(pr,{color:P})},`${String(z)}-${P}`))})]})]})}const Ta=u.createContext(null);function Tl(){return u.useContext(Ta)}function Cl({children:e}){const t=u.useRef(null),r=u.useMemo(()=>({anchorRef:t}),[]);if(!u.isValidElement(e))throw new Error("PopoutAnchor requires a single valid React element as its child");const n=e,a=u.cloneElement(n,{ref:t});return o.jsx(Ta.Provider,{value:r,children:a})}function Al({children:e}){return o.jsx(d.Box,{className:"cm-popout-content",children:e})}const El=["[data-portal]","[data-combobox-dropdown]","[data-menu-dropdown]","[data-popover-dropdown]","[data-tooltip]","[data-hovercard-dropdown]","[data-dates-dropdown]","[data-modal]"].join(", ");function Nl(e,t=!0){u.useEffect(()=>{if(!t)return;const r=n=>{const a=n.target;a.closest('[role="dialog"]')||a.closest("[data-popout-trigger]")||a.closest("[data-popout-portal-container]")||a.closest(El)||e()};return document.addEventListener("mousedown",r),()=>{document.removeEventListener("mousedown",r)}},[e,t])}function Il(e,t=!0){u.useEffect(()=>{if(!t)return;const r=n=>{n.key==="Escape"&&(n.preventDefault(),e())};return document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r)}},[e,t])}const Ca=u.createContext(null);function zl({id:e,children:t}){return o.jsx(Ca.Provider,{value:e,children:t})}function Aa(){return u.useContext(Ca)}const fr=u.createContext(null),br=u.createContext(null);function vo(){const e=u.useContext(fr);if(!e)throw new Error("usePopoutContext must be used within a Popout component");return e}function Ea(){return u.useContext(fr)}function Na(){const e=u.useContext(br);if(!e)throw new Error("usePopoutManagerContext must be used within a PopoutManager");return e}function Rl(){return u.useContext(br)}function Ll(){const{closeAll:e,hasOpenPopouts:t}=Na();return u.useMemo(()=>({closeAll:e,hasOpenPopouts:t}),[e,t])}function Ia({children:e,parentId:t=null,opened:r,defaultOpened:n,onOpenChange:a,exclusive:s=!0}){const c=u.useId(),i=u.useRef(null),m=Aa(),[l,p]=ie.useUncontrolled({value:r,defaultValue:n,finalValue:!1,onChange:a}),f=u.useRef(p);u.useEffect(()=>{f.current=p});const b=u.useCallback((x,k)=>{if(k){f.current(x,k);return}f.current(x)},[]),v=u.useCallback(x=>{b(!0,x)},[b]),S=u.useCallback(x=>{b(!1,x)},[b]),w=u.useCallback(x=>{b(!l,x)},[l,b]),A=u.useMemo(()=>({id:c,isOpen:l,open:v,close:S,toggle:w,triggerRef:i,parentId:t,region:m,exclusive:s}),[c,l,v,S,w,t,m,s]);return o.jsx(fr.Provider,{value:A,children:e})}function Pl({children:e}){const[t,r]=u.useState(null),n=u.useRef([]),a=u.useRef(new Map),s=u.useRef(new Map),c=u.useRef(new Map),i=u.useRef(new Set),[m,l]=u.useState(0),p=u.useCallback((z,j)=>!i.current.has(z)&&(s.current.get(z)??null)===j,[]),f=u.useCallback(z=>n.current.filter(j=>p(j,z)),[p]),b=u.useCallback(z=>{const j=[];for(const G of n.current){let L=G;for(;L;){const O=s.current.get(L)??null;if(O===z){j.push(G);break}L=O}}return j},[]),v=u.useCallback(z=>{let j=0,G=z;for(;G;){const L=s.current.get(G)??null;if(!L)break;j++,G=L}return j},[]),S=u.useCallback(z=>{var G;const j=[...z].sort((L,O)=>v(O)-v(L));for(const L of j)(G=a.current.get(L))==null||G()},[v]),w=u.useCallback((z,j,G,L,O)=>{if(n.current.includes(z)){a.current.set(z,j);return}const _=G??null,ee=L??null,X=O===!1?[]:f(_),K=[];for(const se of X)K.push(se,...b(se));S(K);const ce=new Set(K);n.current=n.current.filter(se=>!ce.has(se)),n.current.push(z),a.current.set(z,j),s.current.set(z,_),c.current.set(z,ee),O!==!1?i.current.delete(z):i.current.add(z),l(se=>se+1)},[f,b,S]),A=u.useCallback(z=>{if(!n.current.includes(z)){a.current.delete(z),s.current.delete(z),c.current.delete(z),i.current.delete(z);return}n.current=n.current.filter(j=>j!==z),a.current.delete(z),s.current.delete(z),c.current.delete(z),i.current.delete(z),l(j=>j+1)},[]),x=u.useCallback(z=>{const j=n.current.indexOf(z);return j>=0?Wo+j:Wo},[]),k=u.useCallback(z=>{const j=n.current,G=j.indexOf(z);G===-1||G===j.length-1||(n.current=[...j.filter(L=>L!==z),z],l(L=>L+1))},[]),T=u.useCallback(z=>s.current.get(z)??null,[]),C=u.useCallback((z,j)=>{let G=j;for(;G;){const L=s.current.get(G);if(L===z)return!0;G=L??null}return!1},[]),h=u.useCallback(z=>{const j=[],G=n.current;for(const L of G)C(z,L)&&j.push(L);return j},[C]),I=u.useCallback(z=>{const j=h(z);for(const G of[...j].reverse()){const L=a.current.get(G);L==null||L()}},[h]),N=u.useCallback(z=>{I(z);const j=a.current.get(z);j==null||j()},[I]),E=u.useCallback((z,j)=>{for(const G of n.current)G!==z&&p(G,j)&&N(G)},[N,p]),D=u.useCallback(()=>{const z=n.current;if(z.length===0)return;const j=z[z.length-1],G=a.current.get(j);G==null||G()},[]),W=u.useCallback(()=>{const z=[...n.current];for(const j of z){const G=a.current.get(j);G==null||G()}},[]),Q=u.useCallback(()=>n.current.length>0,[]),[M,oe]=u.useState(!1);u.useEffect(()=>{oe(n.current.length>0)},[m]),Il(D,M),Nl(W,M);const P=u.useMemo(()=>({register:w,unregister:A,getZIndex:x,bringToFront:k,portalContainer:t,zIndexVersion:m,closeFocused:D,closeAll:W,hasOpenPopouts:Q,closeWithDescendants:N,closeDescendants:I,closeSiblings:E,getParentId:T,isAncestor:C}),[w,A,x,k,t,m,D,W,Q,N,I,E,T,C]);return o.jsxs(br.Provider,{value:P,children:[e,o.jsx("div",{ref:r,"data-popout-portal-container":!0,style:{display:"contents"}})]})}function ct(){return d.useDirection().dir}function Ve(e){return e==="rtl"}function Ml(e,t){return Ve(t)?1-e:e}function Ol(e,t,r){return Ml(e,r)*t}function Dl(e){return Ve(e)?{transform:"scaleX(-1)"}:{}}const dn=3;function Bl(e){const{isOpen:t,onPress:r,onDragStart:n,onDrag:a,onDragEnd:s}=e,[c,i]=u.useState({left:0,top:0}),m=u.useRef(!1),l=u.useRef(!1),p=u.useRef(!1),f=u.useRef({x:0,y:0,offsetLeft:0,offsetTop:0}),b=u.useCallback(()=>{i({left:0,top:0})},[]),v=u.useCallback(()=>{const k=p.current;return p.current=!1,k},[]),S=u.useCallback(k=>{const T=k.target;if(!(T.tagName==="INPUT"||T.tagName==="TEXTAREA"||T.tagName==="BUTTON"||T.tagName==="SELECT"||T.closest("button")||T.closest("input")||T.closest("textarea")||T.closest("select"))){m.current=!0,l.current=!1,p.current=!1,f.current={x:k.clientX,y:k.clientY,offsetLeft:c.left,offsetTop:c.top},r==null||r(k);try{T.setPointerCapture(k.pointerId)}catch{}}},[c.left,c.top,r]),w=u.useCallback(k=>{if(!m.current)return;const T=k.clientX-f.current.x,C=k.clientY-f.current.y;if(!l.current){if(!(Math.abs(T)>=dn||Math.abs(C)>=dn))return;l.current=!0,n==null||n(k)}const h={left:f.current.offsetLeft+T,top:f.current.offsetTop+C};i(h),a==null||a(h,k)},[a,n]),A=u.useCallback(k=>{if(!m.current)return;m.current=!1;const T=k.target;T.hasPointerCapture(k.pointerId)&&T.releasePointerCapture(k.pointerId),l.current&&(l.current=!1,p.current=!0,s==null||s(k))},[s]),x=c.left!==0||c.top!==0;return t?{dragTriggerProps:{"data-drag-trigger":!0,onPointerDown:S,onPointerMove:w,onPointerUp:A,onPointerCancel:A,style:{cursor:"grab",userSelect:"none",touchAction:"none"}},dragOffset:c,resetDragOffset:b,hasDragged:x,consumeDragClick:v}:{dragTriggerProps:{},dragOffset:{left:0,top:0},resetDragOffset:b,hasDragged:!1,consumeDragClick:v}}function Fl({config:e,onClose:t,dragTriggerProps:r={},actions:n=[],activeTab:a,onTabChange:s,titleId:c,tabsId:i}){var f;const m=we(),{style:l,...p}=r;return o.jsxs(d.Box,{"data-testid":"popout-header",className:"cm-popout-header",...p,style:l,children:[e.variant==="title"?o.jsx("h2",{id:c,"data-testid":"popout-header-title",className:"cm-popout-title",children:e.title}):o.jsxs(o.Fragment,{children:[o.jsx(d.VisuallyHidden,{id:c,children:((f=e.tabs[0])==null?void 0:f.label)??m.settings}),o.jsx(d.Tabs,{id:i,variant:"pills",value:a??null,onChange:b=>{b!==null&&(s==null||s(b))},className:"cm-popout-tabs",children:o.jsx(d.Tabs.List,{"data-testid":"popout-header-tabs",children:e.tabs.map(b=>o.jsx(d.Tabs.Tab,{value:b.id,children:b.label},b.id))})})]}),n.length>0?o.jsx("div",{className:"cm-popout-actions",children:n.map(b=>o.jsx(d.ActionIcon,{variant:"subtle",onClick:b.onClick,"aria-label":b.label,children:b.icon},b.id))}):null,o.jsx(d.CloseButton,{"data-testid":"popout-header-close",className:"cm-popout-close",onClick:t,"aria-label":m.closePanel})]})}function un(e,t=document){return e===null?null:t.querySelector(`[data-popout-id="${e}"]`)}function mn(e,t,r){const{trigger:n,parent:a,panel:s}=r;if(e!==void 0){if(typeof e=="object")return e.current;switch(e){case"parent":return a??s??n;case"panel":return s??a??n;case"trigger":return n;default:{const c=e;throw new Error(`Unknown anchor target: ${String(c)}`)}}}return t==="x"?a??s??n:n??a??s}function Hl(e,t){return e==="start"?Ve(t)?"right":"left":e==="end"?Ve(t)?"left":"right":e}function Ul(e,t,r=Zn,n={}){const{placement:a="left",alignment:s="start",panelHeight:c=0,crossAnchorRect:i=e,direction:m="ltr"}=n;let l,p;switch(a){case"left":l=e.left-t-r,p=pn(i,s,c);break;case"right":l=e.right+r,p=pn(i,s,c);break;case"top":l=hn(i,s,t,m),p=e.top-c-r;break;case"bottom":l=hn(i,s,t,m),p=e.bottom+r;break;default:{const f=a;throw new Error(`Unknown placement: ${String(f)}`)}}return{left:l,top:p}}function pn(e,t,r){switch(t){case"start":return e.top;case"center":return e.top+e.height/2-r/2;case"end":return e.bottom-r;default:{const n=t;throw new Error(`Unknown alignment: ${String(n)}`)}}}function hn(e,t,r,n){switch(t){case"start":return Ve(n)?e.right-r:e.left;case"center":return e.left+e.width/2-r/2;case"end":return Ve(n)?e.left:e.right-r;default:{const a=t;throw new Error(`Unknown alignment: ${String(a)}`)}}}function Vl(e,t){const r=e==null?void 0:e.getBoundingClientRect(),n=Gl(t);return{x:(r==null?void 0:r.left)??0,y:(r==null?void 0:r.top)??0,scaleX:n.x,scaleY:n.y}}function Gl(e){if(!e||e.offsetWidth===0||e.offsetHeight===0)return{x:1,y:1};const t=getComputedStyle(e),r=e.getBoundingClientRect(),n=(a,s)=>Math.round(a/Number.parseFloat(s)*1e4)/1e4;return{x:n(r.width,t.width),y:n(r.height,t.height)}}function ql(e,t){return`${e}-tab-${t??""}`}function Wl(e,t){return`${e}-panel-${t??""}`}function Yl(e){var Xe,Ge;const{width:t,height:r,header:n,label:a,children:s,anchorX:c,anchorY:i,placement:m="left",alignment:l="start",gap:p,actions:f,manageFocus:b=!0,onDragStart:v,onDrag:S,onDragEnd:w}=e,{isOpen:A,close:x,triggerRef:k,id:T,parentId:C,region:h,exclusive:I=!0}=vo(),{getZIndex:N,portalContainer:E,register:D,unregister:W,bringToFront:Q,closeDescendants:M}=Na(),oe=Tl(),P=ct(),z=u.useId(),j=`popout-panel-${T}`,G=`popout-title-${z}`,L=`popout-tabs-${z}`,[O,_]=u.useState(null),ee=u.useRef(!1),X=u.useRef(null),K=u.useRef(null),ce=u.useCallback(()=>{Q(T)},[Q,T]),{dragTriggerProps:se,dragOffset:ve,resetDragOffset:Me,hasDragged:Y,consumeDragClick:de}=Bl({isOpen:A,onPress:ce,onDragStart:v,onDrag:S,onDragEnd:w}),ge=(n==null?void 0:n.variant)==="tabs",me=(n==null?void 0:n.variant)==="tabs"?n:null,je=(me==null?void 0:me.defaultTab)??((Xe=me==null?void 0:me.tabs[0])==null?void 0:Xe.id),[ye,F]=u.useState(je),g=p??(C===null?0:Qn),H=u.useCallback((re,ue)=>{var Se;F(re),(Se=me==null?void 0:me.onTabChange)==null||Se.call(me,re,ue)},[me]),$=u.useCallback(re=>{re.stopPropagation(),Q(T),!de()&&M(T)},[M,Q,de,T]),Z=u.useCallback(re=>{M(T),x(re)},[M,x,T]),J=u.useRef(x);u.useEffect(()=>{J.current=x});const ne=u.useCallback(()=>{J.current()},[]);u.useEffect(()=>(A?D(T,ne,C,h,I):W(T),()=>{W(T)}),[A,T,D,W,ne,C,h,I]);const ke=u.useCallback(()=>{const re={trigger:k.current,parent:un(C),panel:(oe==null?void 0:oe.anchorRef.current)??null};return{inline:mn(c,"x",re),block:mn(i,"y",re)}},[k,C,oe,c,i]),Le=u.useCallback(()=>{var tt;const{inline:re,block:ue}=ke(),Se=re??ue,Ee=ue??re;if(!Se||!Ee)return;const Te=(tt=X.current)==null?void 0:tt.getBoundingClientRect(),Ne=Vl(K.current,X.current),Je=Math.max(t*Ne.scaleX,(Te==null?void 0:Te.width)??0),Pe=Math.max((r??0)*Ne.scaleY,(Te==null?void 0:Te.height)??0),Ie=Hl(m,P),ze=Ie==="top"||Ie==="bottom",De=ze?Ee:Se,et=ze?Se:Ee,Be=Ul(De.getBoundingClientRect(),Je,g,{placement:Ie,alignment:l,panelHeight:Pe,crossAnchorRect:et.getBoundingClientRect(),direction:P});if(typeof window<"u"){const ae=window.innerHeight-Pe,Re=window.innerWidth-Je;Be.top=Math.max(0,Math.min(Be.top,ae)),Be.left=Math.max(0,Math.min(Be.left,Re))}Be.left=(Be.left-Ne.x)/Ne.scaleX,Be.top=(Be.top-Ne.y)/Ne.scaleY,_(ae=>(ae==null?void 0:ae.left)===Be.left&&ae.top===Be.top?ae:Be)},[ke,t,r,m,l,g,P]);if(ie.useIsomorphicEffect(()=>{if(!A){_(null);return}ee.current||(Me(),ge&&F(je)),Le()},[A,Le,Me,ge,je]),u.useEffect(()=>{if(!A)return;let re=0;const ue=()=>{var Ie;re===0&&((Ie=X.current)==null||Ie.setAttribute("data-cm-repositioning",""),re=requestAnimationFrame(()=>{var ze;re=0,Lr.flushSync(Le),(ze=X.current)==null||ze.removeAttribute("data-cm-repositioning")}))},Se=new ResizeObserver(ue),Ee=new MutationObserver(ue),{inline:Te,block:Ne}=ke(),Je=Y?un(C):null;for(const Ie of new Set([Te,Ne].filter(ze=>ze!==null)))Y&&Ie!==Je||(Se.observe(Ie),Ee.observe(Ie,{attributes:!0,attributeFilter:["style","class"]}));const Pe=typeof document<"u"?document.fonts:void 0;return Y||(X.current&&Se.observe(X.current),window.addEventListener("resize",ue),window.addEventListener("scroll",ue,!0),Pe==null||Pe.addEventListener("loadingdone",ue)),()=>{var Ie;re!==0&&cancelAnimationFrame(re),(Ie=X.current)==null||Ie.removeAttribute("data-cm-repositioning"),Se.disconnect(),Ee.disconnect(),window.removeEventListener("resize",ue),window.removeEventListener("scroll",ue,!0),Pe==null||Pe.removeEventListener("loadingdone",ue)}},[A,Le,ke,Y,C]),u.useEffect(()=>{var re;if(b){if(A){const ue=setTimeout(()=>{var Ee;const Se=((Ee=X.current)==null?void 0:Ee.querySelector("[data-autofocus]"))??X.current;Se==null||Se.focus()},0);return()=>{clearTimeout(ue)}}ee.current&&((re=k.current)==null||re.focus())}},[A,b,k]),u.useEffect(()=>{ee.current=A},[A]),!A||!E)return null;const Ae=N(T),Ue={left:((O==null?void 0:O.left)??0)+ve.left,top:((O==null?void 0:O.top)??0)+ve.top},pt=o.jsxs(d.Box,{ref:X,className:"cm-popover-surface cm-popout",id:j,role:"dialog","aria-modal":"false","aria-labelledby":n?G:void 0,"aria-label":n?void 0:a,tabIndex:-1,onClick:$,"data-testid":"popout-panel","data-popout-id":T,...C&&{"data-parent-id":C},style:{position:"fixed",left:Ue.left,top:Ue.top,minWidth:t,width:"min-content",...r!==void 0&&{minHeight:r},...O===null&&{visibility:"hidden"},zIndex:Ae},children:[n?o.jsx(Fl,{config:n,onClose:Z,dragTriggerProps:se,activeTab:ye,onTabChange:H,actions:f,titleId:G,tabsId:L}):null,ge?o.jsx(d.Box,{"data-testid":"popout-panel-content",role:"tabpanel",id:Wl(L,ye),"aria-labelledby":ql(L,ye),children:(Ge=me==null?void 0:me.tabs.find(re=>re.id===ye))==null?void 0:Ge.content}):o.jsx(d.Box,{"data-testid":"popout-panel-content",children:s})]});return Lr.createPortal(o.jsxs(o.Fragment,{children:[o.jsx("div",{ref:K,"aria-hidden":"true",style:{position:"fixed",left:0,top:0}}),pt]}),E)}function Kl({children:e,action:t="toggle"}){const{open:r,toggle:n,triggerRef:a,isOpen:s,id:c}=vo(),i=u.useCallback(p=>{if(p.stopPropagation(),t==="open"){r(p);return}n(p)},[t,r,n]);if(!u.isValidElement(e))throw new Error("PopoutTrigger requires a single valid React element as its child");const m=`popout-panel-${c}`,l=e;return u.cloneElement(l,{onClick:p=>{var f,b;(b=(f=l.props).onClick)==null||b.call(f,p),i(p)},ref:a,"data-popout-trigger":!0,"aria-expanded":s,"aria-controls":m,"aria-haspopup":"dialog"})}function Xl({children:e,opened:t,defaultOpened:r,onOpenChange:n}){const a=Ea(),s=(a==null?void 0:a.id)??null;return o.jsx(Ia,{parentId:s,opened:t,defaultOpened:r,onOpenChange:n,children:e})}const zt=Object.assign(Xl,{Trigger:Kl,Panel:Yl,Content:Al,Anchor:Cl}),Jl=u.forwardRef(function({icon:t,size:r="sm",...n},a){const{isOpen:s}=vo();return o.jsx(d.ActionIcon,{ref:a,"data-testid":"popout-button","data-open":s||void 0,variant:"subtle",size:r,...n,children:t})});function za({children:e}){return o.jsx(Pl,{children:e})}const Zl=R.BODY,Ql=100,fn=9,Lo=7;function _l({color:e,defaultColor:t,opacity:r,defaultOpacity:n=Ql,onColorChange:a,onOpacityChange:s,onChange:c,label:i,showOpacity:m=!0,disabled:l=!1,disabledReason:p,onFocus:f,onBlur:b,width:v=Zl,showReset:S=!0,hideLabel:w=!1,swatches:A=va}){const x=we(),k=u.useId(),T=go({name:i,disabled:l,disabledReason:p}),C=c!==void 0;ut(C&&(a!==void 0||s!==void 0)?"CompactColorInput was given onChange together with onColorChange or onOpacityChange. Only onChange is called; drop the other callbacks.":void 0);const[h,I]=ie.useUncontrolled({value:e,defaultValue:void 0,finalValue:void 0,onChange:C?void 0:a}),[N,E]=ie.useUncontrolled({value:r,defaultValue:void 0,finalValue:void 0,onChange:C?void 0:s}),D=h===void 0,W=N===void 0,Q=D&&(!m||W),M=h??t,oe=N??n,P=K=>K.replace("#","").toUpperCase(),[z,j]=u.useState(P(M));u.useEffect(()=>{j(P(M))},[M]);const G=K=>{const ce=K.length===fn,se=K.slice(0,Lo).toUpperCase(),ve=ce&&m,Me=ve?mr(K.slice(Lo,fn)):N;I(se),ve&&E(Me),c==null||c(se,Me)},L=K=>{const ce=z.trim().replace("#",""),se=ce.length===3||ce.length===6?$e(ce):void 0,ve=se==null?void 0:se.slice(0,Lo);ve!==void 0&&ve!==M.toUpperCase()?(I(ve,K),c==null||c(ve,N,K)):j(P(M))},O=(K,ce)=>{E(K,ce),c==null||c(h,K,ce)},_=K=>{I(void 0,K),m&&E(void 0,K),c==null||c(void 0,m?void 0:N,K)},ee=`${M}${xo(oe)}`.toUpperCase(),X=o.jsxs("div",{className:"cm-paint","data-testid":"compact-color-input",title:i===void 0||w?T.title:void 0,"data-disabled":l?"true":void 0,children:[o.jsxs("div",{className:"cm-paint-field","data-testid":"compact-color-input-field","data-disabled":l||void 0,style:{width:v},children:[o.jsxs(zt,{children:[o.jsx(zt.Trigger,{children:o.jsx("button",{type:"button",className:"cm-paint-chit","data-testid":"compact-color-input-swatch",disabled:l,"aria-label":i===void 0?x.colorSwatch:x.pickColor(i),"aria-describedby":T.describedBy,children:o.jsx(pr,{color:m?ee:M,variant:"field"})})}),o.jsx(zt.Panel,{width:R.POPOVER_WIDTH,header:{variant:"title",title:i??x.colorPanelTitle},children:o.jsx(hr,{value:ee,onChange:G,withAlpha:m,swatches:A})})]}),o.jsx("input",{className:"cm-paint-input cm-paint-hex",type:"text",autoComplete:"off",spellCheck:!1,"data-testid":"compact-color-input-hex","data-is-default":D?"true":"false","aria-label":i===void 0?x.colorHexValue:x.colorValue(i),"aria-describedby":T.describedBy,disabled:l,value:z,onChange:K=>{j(K.currentTarget.value.toUpperCase())},onFocus:K=>{K.currentTarget.select(),f==null||f(K)},onBlur:K=>{Kt(K)||L(K),b==null||b(K)},onKeyDown:K=>{K.key==="Enter"?L(K):K.key==="Escape"&&Yt(K,()=>{j(P(M))})}}),m&&o.jsx(ja,{value:oe,onCommit:O,ariaLabel:i===void 0?x.opacity:x.colorOpacity(i),isDefault:W,disabled:l,describedBy:T.describedBy,testId:"compact-color-input-opacity",onFocus:f,onBlur:b})]}),S&&!Q&&o.jsx(d.ActionIcon,{variant:"subtle",size:R.TRAIL,c:xe.CHROME,"data-testid":"compact-color-input-reset",disabled:l,"aria-label":x.resetToDefault(i??x.colorGenericName),onClick:_,children:o.jsx(he,{name:"reset",size:R.CHEVRON})}),T.description!==void 0&&o.jsx(d.VisuallyHidden,{id:T.describedBy,children:T.description})]});return i===void 0||w?X:o.jsxs("fieldset",{"data-testid":"compact-color-input-labeled",className:"cm-fieldset cm-paint-labeled","aria-labelledby":k,title:T.title,children:[o.jsx("div",{id:k,"data-testid":"compact-color-input-label",className:"cm-paint-label",children:i}),X]})}function Ce(){const e=d.useMantineTheme().other.compact,t=e!==void 0,r=(e==null?void 0:e.highContrast)??!1;u.useInsertionEffect(()=>{t&&Wt({highContrast:r})},[t,r])}function $l({label:e,actions:t,children:r}){Ce();const n=u.useId(),a=t!=null;return o.jsxs(d.Box,{"data-testid":"control-group",role:"group","aria-labelledby":n,children:[o.jsxs(d.Box,{"data-testid":"control-group-header",className:"cm-legend",style:{minHeight:R.LEGEND},children:[o.jsx(d.Box,{component:"span",id:n,"data-testid":"control-group-label",className:"cm-legend-text",title:e,style:{flex:"1 1 auto"},children:e}),a&&o.jsx(d.Box,{"data-testid":"control-group-actions",style:{display:"flex",alignItems:"center",gap:4,flex:"0 0 auto"},children:t})]}),o.jsx(d.Box,{"data-testid":"control-group-content",children:r})]})}function Ra({open:e,rtl:t}){return e?o.jsx(he,{name:"caretDown",size:R.CHEVRON}):o.jsx("span",{"data-caret":"closed",style:{display:"inline-flex",transform:t?"scaleX(-1)":void 0},children:o.jsx(he,{name:"caretRight",size:R.CHEVRON})})}const bn=R.POPOVER_WIDTH,ed=4;function td({name:e,bubbleId:t}){const{isOpen:r,open:n,close:a}=vo();return o.jsx(zt.Trigger,{action:"open",children:o.jsx(d.ActionIcon,{variant:"subtle",size:"sm","aria-label":e,"aria-describedby":r?t:void 0,"data-testid":"info-circle",onMouseEnter:n,onMouseLeave:a,onFocus:n,onBlur:a,children:o.jsx(he,{name:"info",size:R.GLYPH})})})}function La({children:e,label:t,opened:r,defaultOpened:n,onOpenChange:a}){var f;const s=we(),c=u.useId(),i=Rl()!==null,m=((f=Ea())==null?void 0:f.id)??null,l=s.about(t),p=o.jsxs(Ia,{parentId:m,opened:r,defaultOpened:n,onOpenChange:a,exclusive:!1,children:[o.jsx(td,{name:l,bubbleId:c}),o.jsx(zt.Panel,{width:bn,label:l,placement:"bottom",alignment:"start",gap:ed,anchorX:"trigger",anchorY:"trigger",manageFocus:!1,children:o.jsx(d.Box,{id:c,w:bn,className:"cm-info-bubble",children:e})})]});return i?p:o.jsx(za,{children:p})}function Xt(e){return e!=null&&e!==!1}function st({children:e}){return o.jsx(d.Box,{"data-testid":"trailing-slot",style:{flex:"0 0 auto",width:R.TRAIL,height:R.CONTROL_HEIGHT,display:"flex",alignItems:"center",justifyContent:"center"},children:e})}const Pa=u.forwardRef(function(t,r){const{label:n,changed:a=!1,icon:s,onClick:c,disabled:i=!1,loading:m=!1,style:l,className:p,...f}=t,b=we(),v=a?b.sectionHasConfiguredValues(n):n;return o.jsx(d.ActionIcon,{...f,ref:r,type:"button",variant:"subtle",size:R.TRAIL,className:p===void 0?"cm-advanced-button":`cm-advanced-button ${p}`,title:v,"aria-label":v,"aria-busy":m,disabled:i,loading:m,"data-testid":"advanced-button","data-changed":a?"true":"false",onClick:c,style:{flex:"0 0 auto",...l},children:s??o.jsx(he,{name:"settings",size:R.GLYPH})})}),od=u.forwardRef(function(t,r){const{label:n,onClick:a,disabled:s=!1,style:c,...i}=t,l=we().resetToDefault(n);return o.jsx(d.ActionIcon,{...i,ref:r,type:"button",variant:"subtle",size:R.TRAIL,c:xe.CHROME,title:l,"aria-label":l,disabled:s,"data-testid":"reset-button",onClick:a,style:{flex:"0 0 auto",...c},children:o.jsx(he,{name:"reset",size:R.CHEVRON})})});function rd(e,t,r){const n=r===void 0?t:`${t} (${r})`;return o.jsxs(d.Box,{component:"span",id:e,title:n,"data-testid":"control-section-name",className:"cm-section-title",children:[t,r===void 0?null:o.jsx(d.Box,{component:"span","data-testid":"control-section-technical-name",className:"cm-section-technical",children:` (${r})`})]})}function nd(e){Ce();const{label:t,technicalName:r,opened:n,defaultOpened:a,onOpenChange:s,hasConfiguredValues:c=!1,empty:i=!1,onAdd:m,info:l,actions:p,summary:f,children:b,collapsible:v=!0}=e,S=we(),w=ct(),A=u.useId(),x=u.useId(),k=u.useId(),T=u.useId(),[C,h]=ie.useUncontrolled({value:n,defaultValue:a,finalValue:!0,onChange:s}),I=!i&&u.Children.toArray(b).length>0,N=l!=null,E=I&&v,D=I&&(!v||C),W=E&&!C&&f!==void 0&&f!==null&&f!=="";ut(i||I?void 0:`ControlSection "${t}" was given no children, and it holds the rows of a section. Pass the rows, set "empty" to draw it as a single row with a "+", or do not render it: a section header whose chevron opens onto nothing is a dead end for the reader.`);const Q=z=>{h(!C,z)},M=C?S.collapseSection(t):S.expandSection(t),oe=S.addToSection(t),P=rd(A,t,r);return o.jsxs(d.Box,{role:"group","aria-labelledby":A,"aria-describedby":N?k:void 0,"data-testid":"control-section","data-empty":i?"true":void 0,className:"cm-section",children:[o.jsxs(d.Box,{"data-testid":"control-section-header",className:"cm-section-header",style:{height:R.SECTION_HEADER,paddingInlineStart:R.PAD_LEFT,paddingInlineEnd:R.PAD_RIGHT},children:[E?o.jsxs(d.UnstyledButton,{type:"button","data-testid":"control-section-toggle","data-collapsible":"true",className:"cm-section-lead cm-focus-inside","aria-label":M,"aria-expanded":C,"aria-controls":x,"aria-describedby":W?T:void 0,onClick:Q,children:[o.jsx(d.Box,{"data-testid":"control-section-chevron-slot",className:"cm-section-chevron",children:o.jsx(Ra,{open:C,rtl:Ve(w)})}),P,W&&o.jsx(d.Box,{component:"span",id:T,"data-testid":"control-section-summary",className:"cm-section-summary",children:f})]}):o.jsx(d.Box,{className:"cm-section-lead","data-testid":"control-section-lead",onClick:i&&m!==void 0?m:void 0,children:P}),c&&o.jsx(d.Box,{role:"img","aria-label":S.sectionHasConfiguredValues(t),"data-testid":"control-section-dot",className:"cm-section-dot"}),N&&o.jsx(La,{label:t,children:l}),p!=null&&o.jsx(d.Box,{"data-testid":"control-section-actions",className:"cm-section-actions",children:p}),i&&m!==void 0&&o.jsx(st,{children:o.jsx(d.ActionIcon,{type:"button",variant:"subtle",size:R.CONTROL_HEIGHT,className:"cm-section-add",title:oe,"aria-label":oe,"data-testid":"control-section-add",onClick:m,children:o.jsx(he,{name:"plus",size:R.GLYPH})})})]}),N&&o.jsx(d.Box,{id:k,"data-testid":"control-section-description",hidden:!0,children:l}),I&&o.jsx(d.Box,{id:x,hidden:!D,"data-testid":"control-section-content",className:"cm-section-content",style:{paddingInlineStart:R.PAD_LEFT,paddingInlineEnd:R.PAD_RIGHT,paddingBottom:R.SECTION_PAD_BOTTOM},children:b})]})}function Rt(e){if("key"in e)return{source:"keyboard"};const t=e.nativeEvent;return typeof PointerEvent<"u"&&t instanceof PointerEvent?{source:t.pointerType===""?"keyboard":"pointer"}:{source:t.detail===0?"keyboard":"pointer"}}function ad(e){const t=we();return u.useMemo(()=>({...t,...e}),[t,e])}const Oe=-1;function kt(e,t,r){return Math.min(Math.max(e,t),r)}function id(e,t,r,n,a){const{rowCount:s,columnCount:c,pageSize:i}=r,m=s-1,l=c-1;if(c===0)return;const p=Ve(n)?"ArrowLeft":"ArrowRight",f=Ve(n)?"ArrowRight":"ArrowLeft";if(t===p)return{row:e.row,column:Math.min(e.column+1,l)};if(t===f)return{row:e.row,column:Math.max(e.column-1,0)};if(t==="ArrowDown")return{row:kt(e.row+1,Oe,m),column:e.column};if(t==="ArrowUp")return{row:kt(e.row-1,Oe,m),column:e.column};if(t==="Home")return a.jumpToEnd?{row:Oe,column:0}:{row:e.row,column:0};if(t==="End")return a.jumpToEnd?{row:Math.max(m,Oe),column:l}:{row:e.row,column:l};if(t==="PageDown")return{row:kt(Math.max(e.row,0)+i,0,Math.max(m,0)),column:e.column};if(t==="PageUp")return{row:kt(Math.max(e.row,0)-i,0,Math.max(m,0)),column:e.column}}function sd(e,t){const r=t.rowCount-1,n=Math.max(t.columnCount-1,0);return{row:kt(e.row,Oe,Math.max(r,Oe)),column:kt(e.column,0,n)}}function ao(e,t){return e.row===t.row&&e.column===t.column}function cd(e,t,r){const n=Math.min(t,r),a=Math.max(t,r);return e.slice(n,a+1)}function $o(e,t){const r=new Set(e),n=[];for(const a of r)t.includes(a)||n.push(a);for(const a of t)r.has(a)&&n.push(a);return n}function ld(e){const{ids:t,index:r,selected:n,anchor:a,modifiers:s,mode:c}=e,i=t[r];if(c==="none"||i===void 0)return{selected:[...n],anchor:a};if(c==="single")return{selected:[i],anchor:i};const m=a===void 0?-1:t.indexOf(a);if(s.extend&&m!==-1){const l=cd(t,m,r);return{selected:s.toggle?$o([...n,...l],t):l,anchor:a}}if(s.toggle){const l=new Set(n);return l.has(i)?l.delete(i):l.add(i),{selected:$o(l,t),anchor:i}}return{selected:[i],anchor:i}}function dd(e,t,r){return r!=="multiple"?{selected:[...t],anchor:void 0}:{selected:$o([...t,...e],e),anchor:e[0]}}function xn(e,t){return e==null?"":typeof e=="string"?e:typeof e=="number"?Number.isFinite(e)?t.number.format(e):"":typeof e=="boolean"?e?t.yes:t.no:Number.isNaN(e.getTime())?"":t.date.format(e)}function gn(e){return e==null?!0:typeof e=="number"?!Number.isFinite(e):e instanceof Date&&Number.isNaN(e.getTime())}function ud(e,t){return e===t?0:e?1:-1}function md(e,t,r){const n=gn(e),a=gn(t);return n||a?n&&a?0:n?-1:1:typeof e=="number"&&typeof t=="number"?e-t:typeof e=="boolean"&&typeof t=="boolean"?ud(e,t):e instanceof Date&&t instanceof Date?e.getTime()-t.getTime():r.compare(String(e),String(t))}const pd=We.tableFeatures({columnFilteringFeature:We.columnFilteringFeature,columnOrderingFeature:We.columnOrderingFeature,columnVisibilityFeature:We.columnVisibilityFeature,filteredRowModel:We.createFilteredRowModel(),globalFilteringFeature:We.globalFilteringFeature,rowSelectionFeature:We.rowSelectionFeature,rowSortingFeature:We.rowSortingFeature,sortedRowModel:We.createSortedRowModel()}),hd=320,fd=8,vn=R.ROW_PITCH,io=1,Po=[],bd=[];function wn(e){return e==="asc"?"ascending":e==="desc"?"descending":"none"}function yn(e,t){return e==null||e===!1?t:o.jsx(d.Tooltip,{label:e,children:t})}function xd(e,t){var Ir,zr,Rr;Ce();const{data:r,rowCount:n,rowOffset:a=0,onRangeChange:s,columns:c,getRowId:i,label:m,labelledBy:l,labels:p,height:f=hd,rowHeight:b=vn,headerHeight:v=vn,overscan:S=fd,selectionMode:w="multiple",selectedIds:A,defaultSelectedIds:x,onSelectionChange:k,sorting:T,defaultSorting:C,onSortingChange:h,hiddenColumns:I,defaultHiddenColumns:N,onHiddenColumnsChange:E,columnOrder:D,defaultColumnOrder:W,onColumnOrderChange:Q,filter:M,defaultFilter:oe,onFilterChange:P,searchable:z=!1,onRowClick:j,onRowDoubleClick:G,onRowContextMenu:L,onFocus:O,onBlur:_,empty:ee}=e,X=ad(p),K=ct(),ce=Lt(),se=mt(),ve=fa({numeric:!0,sensitivity:"variant"}),Me=u.useMemo(()=>new Intl.DateTimeFormat(ce),[ce]),Y=u.useMemo(()=>({number:se,date:Me,yes:X.yes,no:X.no}),[se,Me,X.yes,X.no]),[de,ge]=ie.useUncontrolled({value:A,defaultValue:x,finalValue:Po,onChange:(y,B)=>{k==null||k([...y],B)}}),[me,je]=ie.useUncontrolled({value:T,defaultValue:C,finalValue:bd,onChange:(y,B)=>{h==null||h([...y],B)}}),[ye,F]=ie.useUncontrolled({value:I,defaultValue:N,finalValue:Po,onChange:(y,B)=>{E==null||E([...y],B)}}),[g,H]=ie.useUncontrolled({value:D,defaultValue:W,finalValue:Po,onChange:(y,B)=>{Q==null||Q([...y],B)}}),[$,Z]=ie.useUncontrolled({value:M,defaultValue:oe,finalValue:"",onChange:(y,B)=>{P==null||P(y,B)}}),J=u.useMemo(()=>{const y=new Map;for(const B of c)y.set(B.id,B);return y},[c]),ne=JSON.stringify(ye),ke=u.useMemo(()=>{const y=new Set(ye);return c.filter(B=>(B.filterable??!0)&&!y.has(B.id)).map(B=>B.id)},[c,ne]),Le=u.useMemo(()=>{const y=$.trim();if(y!=="")return{query:y.toLocaleLowerCase(ce),columnIds:ke}},[$,ce,ke]),Ae=u.useMemo(()=>[...r],[r]),Ue=u.useMemo(()=>c.map(y=>({id:y.id,accessorFn:B=>y.value(B),enableSorting:y.sortable??!0,enableHiding:y.hideable??!0,enableGlobalFilter:y.filterable??!0,sortDescFirst:y.descendingFirst,sortFn:(B,U)=>md(y.value(B.original),y.value(U.original),ve)})),[c,ve]),pt=JSON.stringify(me),Xe=u.useMemo(()=>me.map(y=>({id:y.id,desc:y.desc})),[pt]),Ge=u.useMemo(()=>{const y={};for(const B of ye)y[B]=!1;return y},[ye]),re=u.useMemo(()=>{const y={};for(const B of de)y[B]=!0;return y},[de]),ue=u.useMemo(()=>[...g],[g]),Se=u.useRef(void 0),Ee=n!==void 0,Te=Ee?a:0,Ne=We.useTable({features:pd,data:Ae,columns:Ue,getRowId:i,manualSorting:Ee,manualFiltering:Ee,enableRowSelection:w!=="none",enableMultiRowSelection:w==="multiple",getColumnCanGlobalFilter:()=>!0,globalFilterFn:(y,B,U)=>{const le=U;if(!(le!=null&&le.columnIds.includes(B)))return!1;const be=J.get(B);return be===void 0?!1:xn(be.value(y.original),Y).toLocaleLowerCase(ce).includes(le.query)},state:{sorting:Xe,columnVisibility:Ge,columnOrder:ue,rowSelection:re,globalFilter:Le},onSortingChange:y=>{const B=We.functionalUpdate(y,Xe);je(B.map(U=>({id:U.id,desc:U.desc})),Se.current)},onColumnVisibilityChange:y=>{const B=We.functionalUpdate(y,Ge);F(Object.keys(B).filter(U=>!B[U]))},onColumnOrderChange:y=>{H(We.functionalUpdate(y,ue))},onRowSelectionChange:y=>{ge(Object.keys(We.functionalUpdate(y,re)))}}),{rows:Je}=Ne.getRowModel(),Pe=Ne.getVisibleLeafColumns(),Ie=y=>{var B;return((B=J.get(y))==null?void 0:B.pinned)==="start"},ze=[...Pe.filter(y=>Ie(y.id)),...Pe.filter(y=>!Ie(y.id))],De=n??Je.length,et=ze.length,Be=u.useMemo(()=>Je.map(y=>y.id),[Je]),tt=u.useRef(null),ae=u.useRef(null),Re=Vn.useVirtualizer({count:De,getScrollElement:()=>tt.current,estimateSize:()=>b,gap:io,getItemKey:y=>Be[y-Te]??y,overscan:S}),Ze=Re.getVirtualItems(),Pt=((Ir=Ze[0])==null?void 0:Ir.index)??0,Mt=(((zr=Ze.at(-1))==null?void 0:zr.index)??-1)+1;u.useEffect(()=>{s==null||s(Pt,Mt)},[Pt,Mt]);const[yr,Tt]=u.useState({row:Oe,column:0}),[oi,kr]=u.useState(null),qe=u.useMemo(()=>sd(yr,{rowCount:De,columnCount:et}),[yr,De,et]),yo=u.useRef(!1),ko=u.useRef(void 0),Sr=y=>{y.row>=0&&Re.scrollToIndex(y.row),yo.current=!0,Tt(B=>ao(B,y)?B:y)};u.useLayoutEffect(()=>{var U;if(!yo.current)return;const y=`[data-grid-row="${qe.row}"][data-grid-column="${qe.column}"]`,B=(U=ae.current)==null?void 0:U.querySelector(y);B instanceof HTMLElement&&(yo.current=!1,B.focus())});const jr=(y,B)=>{ko.current=y.anchor,!(y.selected.length===de.length&&y.selected.every((le,be)=>le===de[be]))&&ge(y.selected,B)},Jt=(y,B,U)=>{jr(ld({ids:Be,index:y-Te,selected:de,anchor:ko.current,modifiers:B,mode:w}),U)},Tr=(y,B,U)=>{const le=Je[y-Te];le!==void 0&&(j==null||j(le.original,B,U))},ri=(y,B)=>{y.getCanSort()&&(Se.current=B,y.toggleSorting(void 0,B.shiftKey&&y.getCanMultiSort()),Se.current=void 0)},ni=()=>{var U;const y=((U=tt.current)==null?void 0:U.clientHeight)??0,B=Math.floor((y===0?b*10:y)/b);return Math.max(1,B-1)},ai=y=>{var Fe,xt;if(!(y.target instanceof Node)||((Fe=ae.current)==null?void 0:Fe.contains(y.target))!==!0)return;const B=qe.row===Oe?ze[qe.column]:void 0;if(B!==void 0&&((xt=J.get(B.id))==null?void 0:xt.menu)!==void 0&&(y.altKey&&y.key==="ArrowDown"||y.shiftKey&&y.key==="F10"||y.key==="ContextMenu")){y.preventDefault(),y.stopPropagation(),kr(B.id);return}const U=w==="multiple",le=y.ctrlKey||y.metaKey;if(U&&le&&(y.key==="a"||y.key==="A")){y.preventDefault(),jr(dd(Be,de,w),y);return}if(qe.row>=0&&(y.key===" "||y.key==="Enter")){y.preventDefault(),y.key===" "?Jt(qe.row,{extend:y.shiftKey,toggle:!y.shiftKey},y):(Jt(qe.row,{extend:!1,toggle:!1},y),Tr(qe.row,y,{source:"keyboard"}));return}const be=id(qe,y.key,{rowCount:De,columnCount:et,pageSize:ni()},K,{jumpToEnd:le});be!==void 0&&(y.preventDefault(),Sr(be),U&&y.shiftKey&&be.row>=0&&be.row!==qe.row&&Jt(be.row,{extend:!0,toggle:!1},y))};u.useImperativeHandle(t,()=>({scrollToRow:y=>{y>=0&&y<De&&Re.scrollToIndex(y)},setColumnHidden:(y,B)=>{var U;(U=Ne.getColumn(y))==null||U.toggleVisibility(!B)},moveColumn:(y,B)=>{const U=Ne.getAllLeafColumns().map(be=>be.id),le=U.indexOf(y);le!==-1&&(U.splice(le,1),U.splice(kt(B,0,U.length),0,y),Ne.setColumnOrder(U))},clearSelection:()=>{ko.current=void 0,ge([])}}),[Ne,Re,De,ge]);const ii=ze.reduce((y,B)=>{var U;return y+(((U=J.get(B.id))==null?void 0:U.width)??R.FIELD)},0),So=[];{let y=io;for(const B of ze){if(!Ie(B.id))break;So.push(y),y+=(((Rr=J.get(B.id))==null?void 0:Rr.width)??R.FIELD)+io}}const Cr=(y,B)=>{const U=(y==null?void 0:y.width)??R.FIELD,le=B<So.length?{position:"sticky",insetInlineStart:So[B],zIndex:1}:{};return{flex:B===et-1?`1 1 ${String(U)}px`:`0 0 ${String(U)}px`,justifyContent:(y==null?void 0:y.align)==="end"?"flex-end":"flex-start",...le}},Ar=w!=="none",Er=n??r.length,Nr=X.rowsShown(se.format(De),se.format(Er)),si=()=>ee!==void 0?ee:Er===0?X.noRows:X.noMatchingRows;return o.jsxs(d.Box,{"data-testid":"data-table",dir:Ve(K)?"rtl":void 0,onFocus:O,onBlur:_,className:"cm-dt",children:[z&&o.jsxs(d.Box,{style:{display:"flex",alignItems:"center",gap:R.GUTTER},children:[o.jsx(d.TextInput,{"data-testid":"data-table-search",type:"search","aria-label":X.search,placeholder:X.searchPlaceholder,value:$,onChange:y=>{Z(y.currentTarget.value,y)},rightSection:$===""?void 0:o.jsx(d.ActionIcon,{"data-testid":"data-table-search-clear",variant:"subtle",size:R.CONTROL_HEIGHT,"aria-label":X.clearSearch,onClick:y=>{Z("",y)},children:o.jsx(he,{name:"close",size:R.CHEVRON})}),rightSectionPointerEvents:"all",style:{flex:"1 1 auto",minWidth:0}}),o.jsx(d.Box,{component:"span","data-testid":"data-table-count","aria-hidden":"true",dir:"auto",className:"cm-dt-count",children:Nr})]}),o.jsxs(d.VisuallyHidden,{role:"status","aria-live":"polite",dir:"auto","data-testid":"data-table-status",children:[Nr,Ar&&de.length>0?` ${X.rowsSelected(se.format(de.length))}`:""]}),o.jsxs(d.Box,{ref:tt,"data-testid":"data-table-viewport",className:"cm-dt-viewport",style:{height:f},children:[o.jsxs(d.Table,{ref:ae,role:"grid","aria-label":l===void 0&&m===void 0?X.dataTable:m,"aria-labelledby":l,"aria-rowcount":De+1,"aria-colcount":et,"aria-multiselectable":w==="multiple"?!0:void 0,onKeyDown:ai,stickyHeader:!0,tabularNums:!0,withRowBorders:!1,horizontalSpacing:0,verticalSpacing:0,className:"cm-dt-table",style:{minWidth:ii+io*(et+1)},children:[o.jsx(d.Table.Thead,{className:"cm-dt-head",children:o.jsx(d.Table.Tr,{role:"row","aria-rowindex":1,className:"cm-dt-row",style:{height:v},children:ze.map((y,B)=>{const U=J.get(y.id),le=y.getCanSort(),be=y.getIsSorted(),Fe=qe.row===Oe&&qe.column===B,xt=be===!1?-1:y.getSortIndex(),Zt=Fe?0:-1,Ct=(U==null?void 0:U.menu)!==void 0&&U.menu!==null,Qt=o.jsxs(o.Fragment,{children:[(U==null?void 0:U.icon)!==void 0&&U.icon!==null&&o.jsx("span",{className:"cm-dt-header-icon","data-testid":"data-table-header-icon","aria-hidden":"true",children:U.icon}),o.jsx(d.Box,{component:"span","data-testid":"data-table-header-label",dir:"auto",title:(U==null?void 0:U.headerTooltip)===void 0?U==null?void 0:U.header:void 0,style:{flex:"0 1 auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:(U==null?void 0:U.header)??y.id}),be!==!1&&o.jsx("span",{className:"cm-sort-caret","data-testid":"data-table-sort-glyph","data-direction":wn(be),"aria-hidden":"true",children:o.jsx(he,{name:"caretDown",size:R.CHEVRON})}),Xe.length>1&&xt>=0&&o.jsx(d.Box,{component:"span","data-testid":"data-table-sort-priority","aria-hidden":"true",className:"cm-dt-sort-priority",children:se.format(xt+1)})]}),Qe=o.jsxs(d.Table.Th,{scope:"col","data-testid":"data-table-header","aria-colindex":B+1,"aria-sort":le?wn(be):void 0,"data-grid-row":le?void 0:Oe,"data-grid-column":le?void 0:B,tabIndex:le?void 0:Zt,className:"cm-dt-cell cm-dt-header","data-with-menu":Ct&&!le?"":void 0,onFocus:le?void 0:()=>{Tt(ot=>ao(ot,{row:Oe,column:B})?ot:{row:Oe,column:B})},style:{...Cr(U,B),gap:R.GUTTER/2},children:[le?yn(U==null?void 0:U.headerTooltip,o.jsx(d.UnstyledButton,{type:"button","data-testid":"data-table-sort-button","data-grid-row":Oe,"data-grid-column":B,tabIndex:Zt,onClick:ot=>{Tt({row:Oe,column:B}),ri(y,ot)},onFocus:()=>{Tt(ot=>ao(ot,{row:Oe,column:B})?ot:{row:Oe,column:B})},className:"cm-dt-sort","data-align":(U==null?void 0:U.align)==="end"?"end":void 0,"data-with-menu":Ct?"":void 0,children:Qt})):Qt,Ct&&o.jsxs(d.Menu,{opened:oi===y.id,onChange:ot=>{kr(ot?y.id:null);const jo=document.activeElement;!ot&&(jo===null||jo===document.body||jo.closest('[role="menu"]')!==null)&&Sr({row:Oe,column:B})},returnFocus:!1,position:"bottom-end",children:[o.jsx(d.Menu.Target,{children:o.jsx(d.ActionIcon,{variant:"subtle",size:R.CONTROL_HEIGHT,tabIndex:-1,"aria-label":(X.columnMenu??cr.columnMenu)((U==null?void 0:U.header)??y.id),"data-testid":"data-table-header-menu",className:"cm-dt-header-menu",children:o.jsx(he,{name:"caretDown",size:R.CHEVRON})})}),o.jsx(d.Menu.Dropdown,{children:U==null?void 0:U.menu})]})]},y.id);return le?Qe:o.jsx(u.Fragment,{children:yn(U==null?void 0:U.headerTooltip,Qe)},y.id)})})}),o.jsx(d.Table.Tbody,{style:{display:"block",position:"relative",height:Re.getTotalSize()},children:Ze.map(y=>{const B=Je[y.index-Te];if(B===void 0)return null;const U=de.includes(B.id);return o.jsx(d.Table.Tr,{role:"row","data-testid":"data-table-row","data-index":y.index,"data-selected":U?"true":void 0,"aria-rowindex":y.index+2,"aria-selected":Ar?U:void 0,onDoubleClick:le=>{G==null||G(B.original,le)},onContextMenu:le=>{L==null||L(B.original,le)},className:"cm-dt-row",style:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:b,transform:`translateY(${String(y.start)}px)`},children:ze.map((le,be)=>{const Fe=J.get(le.id),xt=qe.row===y.index&&qe.column===be,Zt=Fe==null?void 0:Fe.value(B.original),Ct=xn(Zt,Y),Qt=(Fe==null?void 0:Fe.cell)===void 0?o.jsx("span",{className:"cm-dt-text",dir:"auto",children:Ct}):Fe.cell(B.original);return o.jsx(d.Table.Td,{role:"gridcell","data-testid":"data-table-cell","aria-colindex":be+1,"data-grid-row":y.index,"data-grid-column":be,tabIndex:xt?0:-1,className:"cm-dt-cell",title:(Fe==null?void 0:Fe.cell)===void 0?Ct:void 0,onFocus:()=>{Tt(Qe=>ao(Qe,{row:y.index,column:be})?Qe:{row:y.index,column:be})},onClick:Qe=>{Tt({row:y.index,column:be}),Jt(y.index,{extend:Qe.shiftKey,toggle:Qe.metaKey||Qe.ctrlKey},Qe),Tr(y.index,Qe,Rt(Qe))},style:Cr(Fe,be),children:Qt},le.id)})},B.id)})})]}),De===0&&o.jsx(d.Box,{"data-testid":"data-table-empty",className:"cm-dt-empty",children:si()})]})]})}const gd=u.forwardRef(xd);function vd(){return Array.from(crypto.getRandomValues(new Uint8Array(4)),e=>e.toString(16).padStart(2,"0")).join("")}function Gt(e,t){return{id:vd(),offset:e,color:t}}function Ma(){return[Gt(0,"#6366F1"),Gt(1,"#06B6D4")]}const wd=2,yd=5,_e=100,Bt=360,kd=90,Oa=10,Sd={flip:"Flip gradient",rotate:"Rotate gradient 90 degrees"};function Mo(e){return Math.min(_e,Math.max(0,e))}function kn({value:e,format:t,normalize:r,onCommit:n,className:a,ariaLabel:s,role:c,min:i,max:m,testId:l}){const p=qt(),[f,b]=u.useState(t(e));u.useEffect(()=>{b(t(e))},[e,t]);const v=(w,A)=>{const x=r(w);b(t(x)),x!==e&&n(x,A)},S=w=>{const A=p(f);if(Number.isNaN(A)){b(t(e));return}v(A,w)};return o.jsx("input",{className:a,type:"text",inputMode:"decimal",autoComplete:"off",spellCheck:!1,role:c,"aria-label":s,"aria-valuenow":c===void 0?void 0:e,"aria-valuemin":c===void 0?void 0:i,"aria-valuemax":c===void 0?void 0:m,"aria-valuetext":c===void 0?void 0:t(e),"data-testid":l,value:f,onChange:w=>{b(w.currentTarget.value)},onFocus:w=>{w.currentTarget.select()},onBlur:w=>{Kt(w)||S(w)},onKeyDown:w=>{if(w.key==="Enter")S(w);else if(w.key==="Escape")Yt(w,()=>{b(t(e))});else if(w.key==="ArrowUp"||w.key==="ArrowDown"){w.preventDefault();const A=(w.shiftKey?Oa:1)*(w.key==="ArrowUp"?1:-1);v(e+A,w)}}})}function jd({color:e,onCommit:t,ariaLabel:r}){const n=e.replace("#","").toUpperCase(),[a,s]=u.useState(n);u.useEffect(()=>{s(n)},[n]);const c=i=>{var p;const m=a.trim().replace("#",""),l=m.length===3||m.length===6?(p=$e(m))==null?void 0:p.slice(0,7):void 0;if(l===void 0||l===`#${n}`){s(n);return}t(l,i)};return o.jsx("input",{className:"cm-paint-input cm-paint-hex",type:"text",autoComplete:"off",spellCheck:!1,"aria-label":r,"data-testid":"gradient-editor-stop-hex",value:a,onChange:i=>{s(i.currentTarget.value.toUpperCase())},onFocus:i=>{i.currentTarget.select()},onBlur:i=>{Kt(i)||c(i)},onKeyDown:i=>{i.key==="Enter"?c(i):i.key==="Escape"&&Yt(i,()=>{s(n)})}})}function Td(){return o.jsxs("svg",{width:16,height:16,viewBox:"0 0 16 16","aria-hidden":!0,focusable:"false",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("path",{d:"M13 5.5H3M5 3.5l-2 2 2 2"}),o.jsx("path",{d:"M3 10.5h10M11 8.5l2 2-2 2"})]})}function Cd(){return o.jsxs("svg",{width:16,height:16,viewBox:"0 0 16 16","aria-hidden":!0,focusable:"false",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("path",{d:"M8 6.5l3.5 3.5L8 13.5 4.5 10z"}),o.jsx("path",{d:"M4.5 5.5l1-1a3.5 3.5 0 0 1 5 0l1.5 1.5M12 3.5v2.5H9.5"})]})}function Ad({stops:e,defaultStops:t,direction:r,defaultDirection:n=0,showDirection:a=!0,onChange:s,onChangeStart:c,onChangeEnd:i,minStops:m=wd,maxStops:l=yd,labels:p}){var ye;const f=we(),b={...Sd,...p},v=mt({maximumFractionDigits:0}),S=u.useId(),w=u.useId(),A=u.useMemo(()=>Ma(),[]),[x,k]=ie.useUncontrolled({value:e,defaultValue:t,finalValue:A,onChange:(F,g)=>{s==null||s(F,T,g)}}),[T,C]=ie.useUncontrolled({value:r,defaultValue:n,finalValue:0,onChange:(F,g)=>{s==null||s(x,F,g)}}),[h,I]=u.useState((ye=x[0])==null?void 0:ye.id),N=x.find(F=>F.id===h)??x[0],E=u.useRef(x);E.current=x;const D=u.useRef(null),W=u.useRef(null),Q=u.useRef(!1),M=u.useRef(null);u.useEffect(()=>{var H;const F=M.current;if(M.current=null,F===null)return;const g=(H=D.current)==null?void 0:H.querySelectorAll(".cm-gradient-handle");g!==void 0&&g.length>0&&g[Math.min(F,g.length-1)].focus()},[x]);const oe=F=>f.percent(v.format(F)),P=F=>f.degrees(v.format(F)),z=(F,g)=>E.current.map((H,$)=>$===F?{...H,offset:Mo(g)/_e}:H),j=(F,g)=>{c==null||c(),k(F,g),E.current=F,i==null||i(F,T)},G=F=>{if(x.length>=l)return;const g=x[x.length-1],H=g===void 0?.5:(g.offset+1)/2,$=Gt(H,wa),Z=[...x,$].sort((J,ne)=>J.offset-ne.offset);I($.id),k(Z,F)},L=(F,g)=>{x.length<=m||k(x.filter((H,$)=>$!==F),g)},O=F=>{if(x.length>=l)return;const g=F.currentTarget.getBoundingClientRect();if(g.width===0)return;const H=Math.round(Mo((F.clientX-g.left)/g.width*_e))/_e,$=[...x].sort((Ae,Ue)=>Ae.offset-Ue.offset),Z=$.find(Ae=>Ae.offset>=H)??$[$.length-1],J=[...$].reverse().find(Ae=>Ae.offset<=H)??$[0],ne=Z.offset-J.offset,ke=ne>0?Sa(J.color,Z.color,(H-J.offset)/ne):J.color,Le=Gt(H,ke);I(Le.id),k([...x,Le].sort((Ae,Ue)=>Ae.offset-Ue.offset),F)},_=(F,g)=>{I(x[F].id),!(g.button>0)&&(g.currentTarget.focus(),"setPointerCapture"in g.currentTarget&&g.currentTarget.setPointerCapture(g.pointerId),W.current={index:F,pointerId:g.pointerId},c==null||c(g))},ee=F=>{const g=D.current;if(W.current===null||g===null)return;const H=g.getBoundingClientRect();if(H.width===0)return;const $=Math.round((F.clientX-H.left)/H.width*_e),Z=z(W.current.index,$);Z[W.current.index].offset!==E.current[W.current.index].offset&&(E.current=Z,k(Z))},X=()=>{W.current!==null&&(W.current=null,i==null||i(E.current,T))},K=(F,g)=>{const H=x[F].offset*_e,$=g.shiftKey?Oa:1,Z={ArrowRight:H+$,ArrowUp:H+$,ArrowLeft:H-$,ArrowDown:H-$,Home:0,End:_e};if(g.key==="Delete"||g.key==="Backspace"){g.preventDefault(),x.length>m&&(M.current=F),L(F,g);return}if(!(g.key in Z))return;g.preventDefault();const J=z(F,Math.round(Z[g.key]));J[F].offset!==x[F].offset&&j(J,g)},ce=(F,g)=>E.current.map(H=>H.id===F?{...H,color:g}:H),se=F=>{if(N===void 0)return;Q.current||(Q.current=!0,c==null||c());const g=ce(N.id,F);E.current=g,k(g)},ve=()=>{Q.current&&(Q.current=!1,i==null||i(E.current,T))},Me=F=>{const g=x.map(H=>({...H,offset:1-H.offset})).reverse();k(g,F)},Y=F=>{C((T+kd)%Bt,F)},de=(F,g)=>{c==null||c(),C(F,g),i==null||i(x,F)},ge=[...x].sort((F,g)=>F.offset-g.offset).map(F=>`${F.color} ${F.offset*_e}%`).join(", "),me=x.length>=l,je=x.length<=m;return o.jsxs("div",{className:"cm-gradient","data-testid":"gradient-editor",children:[a&&o.jsxs("fieldset",{className:"cm-fieldset cm-gradient-row cm-gradient-direction","data-testid":"gradient-editor-direction","aria-labelledby":w,children:[o.jsx("span",{id:w,className:"cm-visually-hidden","data-testid":"gradient-editor-direction-heading",children:f.direction}),o.jsx(kn,{className:"cm-field cm-gradient-angle",role:"spinbutton",min:0,max:Bt,ariaLabel:f.gradientDirection,testId:"gradient-editor-direction-input",value:T,format:P,normalize:F=>(Math.round(F)%Bt+Bt)%Bt,onCommit:de}),o.jsx(d.ActionIcon,{className:"cm-gradient-end",variant:"subtle",size:R.TRAIL,"aria-label":b.flip,"data-testid":"gradient-editor-flip",onClick:Me,children:o.jsx(Td,{})}),o.jsx(d.ActionIcon,{variant:"subtle",size:R.TRAIL,"aria-label":b.rotate,"data-testid":"gradient-editor-rotate",onClick:Y,children:o.jsx(Cd,{})})]}),o.jsxs("fieldset",{className:"cm-fieldset","aria-labelledby":S,children:[o.jsxs("div",{ref:D,className:"cm-gradient-area","data-testid":"gradient-editor-bar-area",children:[x.map((F,g)=>o.jsx("div",{className:"cm-gradient-handle cm-focus-outside","data-testid":"gradient-editor-handle","data-selected":F.id===(N==null?void 0:N.id)||void 0,role:"slider",tabIndex:0,"aria-label":f.colorStopPosition(v.format(g+1)),"aria-valuemin":0,"aria-valuemax":_e,"aria-valuenow":Math.round(F.offset*_e),"aria-valuetext":oe(Math.round(F.offset*_e)),style:{"--cm-offset":F.offset},onFocus:()=>{I(F.id)},onPointerDown:H=>{_(g,H)},onPointerMove:ee,onPointerUp:X,onPointerCancel:X,onKeyDown:H=>{K(g,H)},children:o.jsx("span",{className:"cm-gradient-handle-chit",style:{"--cm-chit-color":F.color}})},F.id)),o.jsx("div",{className:"cm-gradient-bar","aria-hidden":!0,"data-testid":"gradient-editor-bar",style:{"--cm-gradient":ge},onClick:O})]}),N!==void 0&&o.jsx(hr,{value:N.color,withAlpha:!1,onChange:se,onChangeEnd:ve}),o.jsxs("div",{className:"cm-gradient-header",children:[o.jsx("span",{id:S,"data-testid":"gradient-editor-heading",children:f.colorStops}),o.jsx(d.ActionIcon,{variant:"subtle",size:R.TRAIL,"data-testid":"gradient-editor-add-stop",onClick:G,disabled:me,"aria-label":f.addColorStop,children:o.jsx(he,{name:"plus"})})]}),o.jsx("div",{className:"cm-gradient-stops","data-testid":"gradient-editor-stops",children:x.map((F,g)=>{const H=v.format(g+1),$=F.id===(N==null?void 0:N.id);return o.jsxs("div",{className:"cm-gradient-row cm-gradient-stop","data-testid":"gradient-editor-stop","data-selected":$||void 0,onPointerDown:()=>{I(F.id)},onFocus:()=>{I(F.id)},children:[o.jsx(kn,{className:"cm-field cm-gradient-position",ariaLabel:f.colorStopPosition(H),testId:"gradient-editor-stop-position",value:Math.round(F.offset*_e),format:oe,normalize:Z=>Math.round(Mo(Z)),onCommit:(Z,J)=>{j(z(g,Z),J)}}),o.jsxs("div",{className:"cm-paint-field cm-gradient-color",children:[o.jsx("button",{type:"button",className:"cm-paint-chit","data-testid":"gradient-editor-stop-chit","aria-label":f.editColorStop(H),"aria-pressed":$,onClick:()=>{I(F.id)},children:o.jsx(pr,{color:F.color,variant:"field"})}),o.jsx(jd,{color:F.color,ariaLabel:f.colorStopColor(H),onCommit:(Z,J)=>{j(ce(F.id,Z),J)}})]}),o.jsx(d.ActionIcon,{variant:"subtle",size:R.TRAIL,onClick:Z=>{L(g,Z)},"data-testid":"gradient-editor-remove-stop",disabled:je,"aria-label":f.removeColorStop(H),children:o.jsx(he,{name:"minus"})})]},F.id)})})]})]})}function Ed({focusableViewport:e=!1,viewportProps:t,...r}){return o.jsx(d.ScrollArea,{...r,viewportProps:e?{tabIndex:0,...t}:t})}const Nd=Object.assign(Ed,{Autosize:d.ScrollArea.Autosize});function Id(e){const t=d.useInputWrapperContext();return o.jsx(d.SegmentedControl,{"aria-labelledby":t==null?void 0:t.labelId,"aria-describedby":t==null?void 0:t.describedBy,...e})}const Oo=4,zd=`${String(R.TOGGLE_PITCH)}px`;function Rd({label:e,checked:t,defaultChecked:r,onChange:n,disabled:a=!1,disabledReason:s,bound:c=!1,boundDescription:i,onFocus:m,onBlur:l,children:p}){const f=u.useId(),b=we(),[v,S]=ie.useUncontrolled({value:t,defaultValue:r,finalValue:!1,onChange:n}),w=C=>{S(C.currentTarget.checked,C)},A={root:{minWidth:0},body:{alignItems:"center",minWidth:0},labelWrapper:{minWidth:0},label:{display:"block",height:R.TOGGLE_PITCH,paddingInlineStart:R.GUTTER,paddingBlock:0,fontSize:"var(--mantine-font-size-sm)",lineHeight:zd,color:a?xe.DISABLED:xe.VALUE,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},x=i??b.fieldBound,k=go({name:e,enabledTitle:e,disabled:a,disabledReason:s,extraDescriptions:c?[x]:void 0}),T=o.jsx(d.Checkbox,{variant:"neutral","data-testid":"toggle-with-content-checkbox",label:e,checked:v,disabled:a,"aria-expanded":v,"aria-controls":v?f:void 0,"aria-describedby":k.describedBy,onChange:w,onFocus:m,onBlur:l,wrapperProps:{title:k.title},styles:A});return o.jsxs(d.Box,{"data-testid":"toggle-with-content","data-checked":v?"true":"false","data-disabled":a?"true":void 0,"data-bound":c?"true":void 0,style:{display:"flex",flexDirection:"column",gap:Oo},children:[c?o.jsxs(d.Box,{"data-testid":"toggle-with-content-row",style:{display:"flex",alignItems:"center",gap:Oo},children:[T,o.jsx(d.Box,{component:"span","data-testid":"toggle-with-content-bound",style:{flex:"0 0 auto",display:"inline-flex",alignItems:"center",color:xe.CHROME},children:o.jsx(St,{name:"attribute",filled:!0})})]}):T,k.description!==void 0&&o.jsx(d.VisuallyHidden,{id:k.describedBy,children:k.description}),v&&o.jsx(d.Box,{id:f,"data-testid":"toggle-with-content-children",style:{display:"flex",flexDirection:"column",gap:Oo,paddingInlineStart:R.GUTTER},children:p})]})}function Ld({icon:e,label:t,onClick:r,menuLabel:n,children:a,size:s="md",disabled:c,menuProps:i,className:m,...l}){const p=ie.useId(i==null?void 0:i.id),[f,b]=ie.useUncontrolled({value:i==null?void 0:i.opened,defaultValue:i==null?void 0:i.defaultOpened,finalValue:!1,onChange:i==null?void 0:i.onChange});return o.jsxs(d.Box,{"data-testid":"split-button",...l,role:"group","aria-label":t,className:m?`cm-split ${m}`:"cm-split",children:[o.jsx(d.Tooltip,{label:t,children:o.jsx(d.ActionIcon,{className:"cm-split-main",size:s,"aria-label":t,disabled:c,onClick:r,children:e})}),o.jsxs(d.Menu,{position:"bottom-end",...i,id:p,opened:f,onChange:b,children:[o.jsx(d.Menu.Target,{children:o.jsx(d.Tooltip,{label:n,children:o.jsx(d.ActionIcon,{id:`${p}-target`,className:"cm-split-chevron",size:s,"aria-label":n,"aria-haspopup":"menu","aria-expanded":f,"aria-controls":f?`${p}-dropdown`:void 0,disabled:c,children:o.jsx(he,{name:"caretDown",size:R.CHEVRON})})})}),o.jsx(d.Menu.Dropdown,{children:a})]})]})}let Ut=null;const Sn=()=>{Ut=null},Pd=u.forwardRef(function({checked:t,defaultChecked:r,onChange:n,label:a,icon:s,checkedIcon:c,variant:i="fill",withTooltip:m=!0,disabled:l,className:p,onPointerDown:f,onPointerEnter:b,onClick:v,...S},w){const[A,x]=ie.useUncontrolled({value:t,defaultValue:r,finalValue:!1,onChange:n}),k=u.useRef(!1),T=N=>{f==null||f(N),!(N.button!==0||l)&&(k.current=!0,N.currentTarget.hasPointerCapture(N.pointerId)&&N.currentTarget.releasePointerCapture(N.pointerId),Ut=!A,globalThis.addEventListener("pointerup",Sn,{once:!0}),globalThis.addEventListener("pointercancel",Sn,{once:!0}),x(!A))},C=N=>{b==null||b(N),!(Ut===null||(N.buttons&1)===0||l||A===Ut)&&x(Ut)},h=N=>{v==null||v(N);const E=k.current&&N.detail>0;k.current=!1,E||x(!A)},I=o.jsx(d.ActionIcon,{"data-testid":"toggle-icon-button",...S,ref:w,variant:"subtle",className:p?`cm-toggle-icon ${p}`:"cm-toggle-icon","aria-label":a,"aria-pressed":A,"data-swap":i==="swap"||void 0,disabled:l,onPointerDown:T,onPointerEnter:C,onClick:h,children:A&&c?c:s});return m?o.jsx(d.Tooltip,{label:a,children:I}):I}),Do=new Set(["+","-","*","/","(",")"]);function Md(e,t=Number){const r=[];let n="";for(const l of e)Do.has(l)||/\s/.test(l)?(n&&(r.push(n),n=""),Do.has(l)&&r.push(l)):n+=l;if(n&&r.push(n),r.length===0)return null;let a=0;const s=()=>{throw new SyntaxError("not an expression")},c=()=>{const l=r[a++];if(l==="+"||l==="-"){const f=c();return l==="-"?-f:f}if(l==="("){const f=m();return r[a++]!==")"&&s(),f}if(l===void 0||Do.has(l))return s();const p=t(l);return Number.isNaN(p)?s():p},i=()=>{let l=c();for(;r[a]==="*"||r[a]==="/";)l=r[a++]==="*"?l*c():l/c();return l},m=()=>{let l=i();for(;r[a]==="+"||r[a]==="-";)l=r[a++]==="+"?l+i():l-i();return l};try{const l=m();return a===r.length&&Number.isFinite(l)?l:null}catch{return null}}function Od(e){return Math.round(e*1e10)/1e10}function Dd(e,t,r){let n=e;return t!==void 0&&n<t&&(n=t),r!==void 0&&n>r&&(n=r),n}const Bd=.5;function Bo(e){for(const t of[document.documentElement,document.body])t.style.cursor=e?"ew-resize":""}function Da(e,t,r){const n=u.useRef(!1),a=u.useRef(!1),s=u.useRef(0),c=u.useRef(0),i=u.useRef(r);if(i.current=r,u.useEffect(()=>()=>{a.current&&Bo(!1)},[]),!e)return;const m=l=>{var p,f,b;if(n.current&&(n.current=!1,a.current)){a.current=!1,Bo(!1),(f=(p=i.current).onEnd)==null||f.call(p,l);const v=(b=l.currentTarget.closest(".cm-input-wrapper"))==null?void 0:b.querySelector("input");v&&!v.disabled&&(v.focus({preventScroll:!0}),requestAnimationFrame(()=>{v.select()}))}};return{onPointerDown:l=>{if(l.button===0){l.preventDefault(),l.stopPropagation();try{l.currentTarget.setPointerCapture(l.pointerId)}catch{}n.current=!0,a.current=!1,s.current=l.clientX,c.current=l.clientX}},onPointerMove:l=>{var b,v,S,w;if(!n.current)return;const p=l.clientX-c.current;if(p===0)return;c.current=l.clientX,a.current||(a.current=!0,Bo(!0),(v=(b=i.current).onStart)==null||v.call(b,l));const f=t?-1:1;(w=(S=i.current).onMove)==null||w.call(S,f*p,f*(l.clientX-s.current),l)},onPointerUp:m,onPointerCancel:m,onLostPointerCapture:m}}function Ba(e){const{value:t,display:r,onCommit:n,parse:a,suffix:s,min:c,max:i,step:m=1,decimalScale:l,locked:p=!1}=e,f=e.format??String,[b,v]=u.useState(null),S=u.useRef(null),w=E=>{S.current=E,v(E)},A=u.useRef(!1),x=u.useRef(0),k=u.useRef(null),T=E=>{const D=Dd(Od(E),c,i);return l===void 0?D:Number(D.toFixed(l))},C=E=>{const D=s&&E.trimEnd().endsWith(s)?E.trimEnd().slice(0,-s.length):E;return Md(D,a)},h=E=>{const D=S.current;if(D===null)return;w(null);const W=C(D);if(W===null)return;const Q=T(W);Q!==t&&n(Q,E)};return{inputProps:{value:b??r,role:"spinbutton",inputMode:"decimal","aria-valuenow":t??void 0,"aria-valuemin":c,"aria-valuemax":i,onChange:E=>{p||w(E.currentTarget.value)},onKeyDown:E=>{var D;if((D=e.onKeyDown)==null||D.call(e,E),!(E.defaultPrevented||p)){if(E.key==="Enter"){E.preventDefault(),h(E);const W=E.currentTarget;requestAnimationFrame(()=>{W.select()})}else if(E.key==="Escape")S.current!==null&&(E.preventDefault(),w(null)),E.currentTarget.blur();else if(E.key==="ArrowUp"||E.key==="ArrowDown"){E.preventDefault();const W=(S.current!==null?C(S.current):null)??t??c??0,Q=(E.key==="ArrowUp"?m:-m)*(E.shiftKey?10:1),M=T(W+Q);w(null),M!==t&&n(M,E)}}},onFocus:E=>{var D;A.current=!0,(D=e.onFocus)==null||D.call(e,E)},onBlur:E=>{var D;A.current=!1,h(E),(D=e.onBlur)==null||D.call(e,E)},onMouseUp:E=>{A.current&&(A.current=!1,E.preventDefault(),E.currentTarget.select())}},scrub:{onStart:()=>{const E=S.current!==null?C(S.current):null;x.current=E??t??0,k.current=null},onMove:(E,D)=>{const W=T(x.current+D*Bd);k.current=W,w(f(W)+(s??""))},onEnd:E=>{const D=k.current;k.current=null,w(null),D!==null&&D!==t&&n(D,E)}},editing:b!==null}}function jn(e){return"separator"in e}const Fd=u.forwardRef(function(t,r){const{label:n,value:a,defaultValue:s,onChange:c,options:i,numeric:m=!1,min:l,max:p,step:f,suffix:b,glyph:v,divided:S=!1,width:w=R.FIELD,disabled:A=!1,placeholder:x,openLabel:k="Open list",className:T,style:C}=t,h=qt(),I=ct(),[N,E]=ie.useUncontrolled({value:a,defaultValue:s,finalValue:"",onChange:c}),[D,W]=u.useState(null),[Q,M]=u.useState(void 0),oe=u.useRef(null),P=ie.useMergedRef(r,oe),z=ie.useId(),j=d.useCombobox({onDropdownOpen:()=>{requestAnimationFrame(()=>{j.getSelectedOptionIndex()===-1&&j.selectActiveOption(),M(G())})},onDropdownClose:()=>{j.resetSelectedOption(),M(void 0)}}),G=()=>{var Y;return((Y=document.querySelector(`[id="${z}"] [data-combobox-selected]`))==null?void 0:Y.id)||void 0},L=String(N),O=m&&L!==""?h(L):Number.NaN,_=Ba({value:Number.isNaN(O)?null:O,display:L,onCommit:(Y,de)=>{E(Y,de)},parse:h,min:l,max:p,step:f,locked:A}),ee=Da(m&&v!==void 0&&!A,Ve(I),_.scrub),X=(Y,de)=>{const ge=m?h(Y):Y;j.closeDropdown(),W(null),!(typeof ge=="number"&&Number.isNaN(ge))&&ge!==N&&E(ge,de)},K=Y=>{if(!j.dropdownOpened)return Y.key==="ArrowDown"&&(Y.ctrlKey||Y.altKey)?(Y.preventDefault(),j.openDropdown("keyboard"),!0):!1;const ge=ye=>()=>{j.getSelectedOptionIndex()===-1&&j.selectActiveOption(),ye()},je={ArrowDown:ge(()=>j.selectNextOption()),ArrowUp:ge(()=>j.selectPreviousOption()),Home:()=>j.selectFirstOption(),End:()=>{j.selectOption(i.filter(ye=>!jn(ye)).length-1)}}[Y.key];return je?(Y.preventDefault(),je(),M(G()),!0):Y.key==="Enter"?(Y.preventDefault(),j.getSelectedOptionIndex()!==-1?j.clickSelectedOption():j.closeDropdown(),!0):Y.key==="Escape"?(Y.preventDefault(),Y.stopPropagation(),j.closeDropdown(),!0):!1},ce={value:D??L,onChange:Y=>{W(Y.currentTarget.value)},onKeyDown:Y=>{K(Y)||(Y.key==="Enter"&&D!==null?(Y.preventDefault(),X(D,Y)):Y.key==="Escape"&&D!==null&&W(null))},onBlur:Y=>{j.closeDropdown(),D!==null&&X(D,Y)}},se={..._.inputProps,role:void 0,"aria-valuenow":void 0,"aria-valuemin":void 0,"aria-valuemax":void 0,onKeyDown:Y=>{K(Y)||_.inputProps.onKeyDown(Y)},onBlur:Y=>{j.closeDropdown(),_.inputProps.onBlur(Y)}},ve=S?R.GLYPH_SLOT+1:R.GLYPH_SLOT,Me=o.jsxs(o.Fragment,{children:[b!==void 0&&o.jsx("span",{className:"cm-combo-suffix",children:b}),o.jsx("button",{type:"button",tabIndex:-1,className:"cm-combo-chevron","aria-label":k,disabled:A,onMouseDown:Y=>{Y.preventDefault()},onClick:()=>{var Y;(Y=oe.current)==null||Y.focus(),j.toggleDropdown()},children:o.jsx(ir,{})})]});return o.jsxs(d.Combobox,{store:j,onOptionSubmit:Y=>{X(Y)},...ar(),keepMounted:!1,disabled:A,children:[o.jsx(d.Combobox.Target,{withKeyboardNavigation:!1,withAriaAttributes:!1,children:o.jsx(d.TextInput,{ref:P,...m?se:ce,role:"combobox","aria-label":n,"aria-haspopup":"listbox","aria-expanded":j.dropdownOpened,"aria-controls":j.dropdownOpened?z:void 0,"aria-activedescendant":j.dropdownOpened?Q:void 0,"aria-autocomplete":"none",autoComplete:"off",placeholder:x,disabled:A,variant:"filled",className:T,style:{width:w,...C},classNames:{wrapper:["cm-combo",S?"cm-combo-divided":""].filter(Boolean).join(" ")},leftSection:v===void 0?void 0:o.jsx("span",{className:"cm-scrub-slot","data-scrub":ee?"true":void 0,...ee,children:v}),leftSectionPointerEvents:ee?"all":"none",rightSection:Me,rightSectionWidth:b===void 0?ve:`calc(${String(b.length)}ch + ${String(ve+4)}px)`,rightSectionPointerEvents:"all"})}),o.jsx(d.Combobox.Dropdown,{className:"cm-menu-surface cm-menu cm-listbox",children:o.jsx(d.Combobox.Options,{id:z,"aria-label":n,children:i.map((Y,de)=>jn(Y)?o.jsx("hr",{className:"cm-listbox-separator"},`separator-${String(de)}`):o.jsxs(d.Combobox.Option,{value:Y.value,disabled:Y.disabled,active:Y.value===L,"aria-selected":Y.value===L,"data-checked":Y.value===L||void 0,className:"cm-menu-row cm-listbox-option",children:[o.jsx(sa,{}),o.jsx("span",{className:"cm-listbox-label",children:Y.label??Y.value})]},Y.value))})})]})}),Hd=16,Ud=100,Vd=u.forwardRef(function(t,r){const{value:n,defaultValue:a,onChange:s,size:c="sm",rightSection:i,clearLabel:m,placeholder:l,classNames:p,wrapperProps:f,onKeyDown:b,onBlur:v,onFocus:S,disabled:w,"aria-label":A,...x}=t,k=we(),[T,C]=ie.useUncontrolled({value:n,defaultValue:a,finalValue:"",onChange:s}),[h,I]=u.useState(!1),N=u.useRef(void 0),E=u.useRef(null);u.useEffect(()=>()=>{window.clearTimeout(N.current)},[]);const D=M=>{E.current=M,typeof r=="function"?r(M):r&&(r.current=M)},W=M=>{var oe;C("",M),(oe=E.current)==null||oe.focus()},Q=o.jsx(d.TextInput,{...x,ref:D,size:c==="lg"?"md":"sm",value:T,disabled:w,placeholder:l??k.searchPlaceholder,"aria-label":A??(x.label===void 0?k.search:void 0),type:"search",onChange:M=>{C(M.currentTarget.value,M)},onKeyDown:M=>{b==null||b(M),!M.defaultPrevented&&M.key==="Escape"&&T!==""&&(M.preventDefault(),M.stopPropagation(),W(M))},onFocus:M=>{window.clearTimeout(N.current),I(!1),S==null||S(M)},onBlur:M=>{I(!0),N.current=window.setTimeout(()=>{I(!1)},Ud),v==null||v(M)},classNames:{...typeof p=="object"?p:void 0,wrapper:"cm-search"},wrapperProps:{...f,"data-cm-linger":h||void 0},leftSection:o.jsx("span",{className:"cm-search-icon","aria-hidden":"true",children:o.jsx(he,{name:"search",size:Hd})}),leftSectionPointerEvents:"none",rightSection:T!==""&&!w?o.jsx(d.Input.ClearButton,{"aria-label":m??k.clearSearch,onMouseDown:M=>{M.preventDefault()},onClick:M=>{W(M)}}):void 0});return i===void 0?Q:o.jsxs("div",{className:"cm-search-joined",children:[Q,o.jsx("div",{className:"cm-search-joined-end",children:i})]})}),Gd=156,qd=12;function Wd(e){const{name:t,value:r,onDetach:n,onClick:a,swatch:s,kind:c="variable",glyph:i,width:m,detachLabel:l="Detach variable",onValueCommit:p,valueLabel:f="Value",className:b,style:v}=e,[S,w]=u.useState(""),A=u.useRef(""),x=h=>{A.current=h,w(h)},k=h=>{const I=A.current.trim();x(""),I!==""&&(p==null||p(I,h))},T=r===void 0?t:`${t}
4190
+ ${r}`,C=n===void 0?null:o.jsx("button",{type:"button",className:"cm-var-detach cm-focus-outside","aria-label":l,onClick:h=>{n(h)},children:o.jsx(he,{name:"unlink",size:qd})});return s!==void 0||c==="property"?o.jsxs("div",{className:["cm-var-fill",b].filter(Boolean).join(" "),style:{width:m??Gd,...v},"data-kind":c,children:[o.jsxs("button",{type:"button",className:"cm-var-fill-button","data-kind":c,"aria-label":r===void 0?t:`${t}, ${r}`,onClick:h=>{a==null||a(h)},children:[s!==void 0&&o.jsx("span",{className:"cm-var-chit",style:{background:s},"aria-hidden":"true"}),o.jsx("span",{className:"cm-var-name",children:t})]}),C]}):o.jsxs("div",{className:["cm-field","cm-var-field",b].filter(Boolean).join(" "),style:{width:m??R.FIELD,...v},"data-kind":c,children:[o.jsx("span",{className:"cm-scrub-slot",style:{width:R.GLYPH_SLOT,height:R.CONTROL_HEIGHT,flex:"none"},"aria-hidden":"true",children:i}),o.jsx("span",{className:"cm-var-pill-slot",children:o.jsx(d.Tooltip,{label:T,style:{whiteSpace:"pre-line"},children:o.jsx("button",{type:"button",className:"cm-var-pill cm-focus-outside","aria-label":r===void 0?t:`${r}, variable ${t}`,onClick:h=>{a==null||a(h)},children:r??t})})}),p!==void 0&&o.jsx("input",{className:"cm-var-input","aria-label":f,value:S,onChange:h=>{x(h.currentTarget.value)},onKeyDown:h=>{h.key==="Enter"?(h.preventDefault(),k(h)):h.key==="Escape"&&(x(""),h.currentTarget.blur())},onBlur:k}),C]})}const Tn={x:3,y:-5},Yd=500;function Kd({target:e,children:t,onChange:r,...n}){const[a,s]=u.useState(null),c=u.useRef({x:0,y:0}),i=u.useRef(null),m=u.useRef(-1/0),l=u.useRef(null),p=a!==null,f=(x,k)=>{i.current=document.activeElement instanceof HTMLElement?document.activeElement:null,c.current={x,y:k},s({x,y:k}),r==null||r(!0)},b=()=>{var x;s(null),r==null||r(!1),(x=i.current)==null||x.focus()};u.useEffect(()=>{if(!p)return;const x=setTimeout(()=>{var k,T;(T=(k=l.current)==null?void 0:k.querySelector("[data-menu-item]:not([data-disabled]):not(:disabled)"))==null||T.focus()},0);return()=>{clearTimeout(x)}},[p,a]);const v=x=>{var k,T;(T=(k=e.props).onContextMenu)==null||T.call(k,x),!x.defaultPrevented&&(x.preventDefault(),!(performance.now()-m.current<Yd)&&f(x.clientX+Tn.x,x.clientY+Tn.y))},S=x=>{var k,T;if((T=(k=e.props).onKeyDown)==null||T.call(k,x),!x.defaultPrevented&&(x.shiftKey&&x.key==="F10"||x.key==="ContextMenu")){x.preventDefault(),x.stopPropagation(),m.current=performance.now();const C=x.target.getBoundingClientRect();f(C.left,C.bottom)}},{x:w,y:A}=a??c.current;return o.jsxs(o.Fragment,{children:[u.cloneElement(e,{onContextMenu:v,onKeyDown:S}),o.jsxs(d.Menu,{...n,opened:p,onChange:x=>{x||b()},position:"bottom-start",offset:0,children:[o.jsx(d.Menu.Target,{children:o.jsx("span",{"aria-hidden":"true","data-context-menu-anchor":"",style:{position:"fixed",left:w,top:A-1,width:1,height:1,pointerEvents:"none"}})}),o.jsx(d.Menu.Dropdown,{ref:l,children:t})]})]})}function Xd({checked:e,radio:t=!1,...r}){return o.jsx(d.Menu.Item,{...r,leftSection:o.jsx("span",{className:"cm-menu-row-check","aria-hidden":"true",children:o.jsx(he,{name:"check",size:16})}),renderRoot:n=>o.jsx("button",{type:"button",...n,role:t?"menuitemradio":"menuitemcheckbox","aria-checked":e})})}function Jd({className:e,...t}){return o.jsx(d.Box,{className:e?`cm-modal-footer ${e}`:"cm-modal-footer",...t})}const Fa=u.forwardRef(function({message:t,icon:r,action:n,withCloseButton:a=!1,onClose:s,closeLabel:c="Dismiss",...i},m){return o.jsxs(d.Notification,{ref:m,role:"group",withCloseButton:a,onClose:s,closeButtonProps:{"aria-label":c,iconSize:10},"data-testid":"toast",...i,children:[o.jsxs("span",{role:"alert",className:"cm-toast-message",children:[r,t]}),n?o.jsx(d.Button,{variant:"default",className:"cm-toast-action",onClick:n.onClick,children:n.label}):null]})}),Zd=20,Qd=3e3,_d=6e3;function $d(e){if(e.duration!==void 0)return e.duration;if(e.action)return null;const t=typeof e.message=="string"?e.message:null;return t!==null&&t.length<Zd?Qd:_d}function eu(e){return typeof e=="object"&&e!==null&&"message"in e}const Ha=u.createContext(null);function tu({children:e,bottom:t=76,zIndex:r}){const[n,a]=u.useState(null),s=u.useRef(void 0),c=u.useRef(0),i=u.useCallback(()=>{clearTimeout(s.current),a(null)},[]),m=u.useCallback(f=>{const b=eu(f)?f:{message:f};clearTimeout(s.current),c.current+=1,a({...b,key:c.current});const v=$d(b);v!==null&&(s.current=setTimeout(i,v))},[i]);u.useEffect(()=>()=>{clearTimeout(s.current)},[]);const l=u.useMemo(()=>({show:m,hide:i}),[m,i]);let p=null;if(n){const{key:f,duration:b,...v}=n;p=o.jsx(d.Portal,{children:o.jsx("div",{className:"cm-toast-layer",style:{bottom:t,zIndex:r},children:o.jsx(Fa,{...v,onClose:i},f)})})}return o.jsxs(Ha.Provider,{value:l,children:[e,p]})}function ou(){const e=u.useContext(Ha);if(!e)throw new Error("useToast must be used inside a ToastProvider");return e}function ru({label:e,shortcut:t}){return o.jsxs("span",{className:"cm-tooltip-shortcut-row",children:[o.jsx("span",{children:e}),o.jsx("span",{className:"cm-tooltip-shortcut",children:t})]})}const nu=["top","middle","bottom"],au=["left","center","right"],co=nu.flatMap(e=>au.map(t=>`${e}-${t}`)),iu={"top-left":"Align top left","top-center":"Align top center","top-right":"Align top right","middle-left":"Align left","middle-center":"Align center","middle-right":"Align right","bottom-left":"Align bottom left","bottom-center":"Align bottom center","bottom-right":"Align bottom right"},su=[7,10,5],cu=["flex-start","center","flex-end"];function lu({value:e,defaultValue:t,onChange:r,direction:n="vertical",label:a="Alignment",cellLabels:s,disabled:c=!1,name:i}){const m=ie.useId(i),[l,p]=ie.useUncontrolled({value:e,defaultValue:t,finalValue:"top-left",onChange:r}),f=b=>{var k,T;const v={ArrowLeft:[0,-1],ArrowRight:[0,1],ArrowUp:[-1,0],ArrowDown:[1,0]}[b.key];if(c||v===void 0||b.altKey||b.ctrlKey||b.metaKey)return;b.preventDefault();const S=co.indexOf(l),w=Math.min(2,Math.max(0,Math.floor(S/3)+v[0])),A=Math.min(2,Math.max(0,S%3+v[1])),x=co[w*3+A];x!==l&&p(x,b),(T=(k=b.currentTarget.closest(".cm-align"))==null?void 0:k.querySelector(`input[value="${x}"]`))==null||T.focus()};return o.jsx("div",{role:"radiogroup","aria-label":a,"aria-disabled":c||void 0,className:"cm-align","data-direction":n,"data-disabled":c||void 0,"data-testid":"alignment-matrix",children:o.jsx("div",{className:"cm-align-grid",children:co.map((b,v)=>{const S=b===l,w=(s==null?void 0:s[b])??iu[b],A=cu[n==="vertical"?v%3:Math.floor(v/3)];return o.jsxs("div",{className:"cm-align-cell","data-value":b,"data-checked":S||void 0,style:{"--cm-align-cross":A},children:[o.jsx(d.Tooltip,{label:w,disabled:c,children:o.jsx("input",{type:"radio",name:m,value:b,checked:S,disabled:c,"aria-label":w,onKeyDown:f,onChange:x=>{p(b,x)}})}),o.jsx("span",{className:"cm-align-dot","aria-hidden":"true"}),o.jsx("span",{className:"cm-align-bars","aria-hidden":"true",children:su.map(x=>o.jsx("span",{className:"cm-align-bar",style:{"--cm-bar":`${String(x)}px`}},x))})]},b)})})})}const du=1,uu=10;function mu(e,{min:t,max:r}){let n="";return e<=t?n=" (min)":e>=r&&(n=" (max)"),`${String(e)} pixels${n}`}const pu=u.forwardRef(function({edge:t="end",value:r,defaultValue:n,min:a,max:s,onChange:c,onChangeEnd:i,label:m="Resize panel",valueText:l=mu,style:p,onPointerDown:f,onPointerMove:b,onPointerUp:v,onPointerCancel:S,onKeyDown:w,onDoubleClick:A,...x},k){Ce();const T=Ve(ct()),C=n??a,[h,I]=ie.useUncontrolled({value:r,defaultValue:n,finalValue:a,onChange:c}),N=u.useRef(null),E=t==="start"||t==="end",D=t==="end"?1:-1;let W=t==="bottom"?1:-1;E&&(W=T?-D:D);const Q=O=>Math.min(s,Math.max(a,Math.round(O))),M=(O,_)=>{const ee=Q(O);ee!==h&&I(ee),_&&(i==null||i(ee))};let oe="ns-resize";if(E){const O=W>0?"e":"w",_=W>0?"w":"e";oe="ew-resize",h<=a?oe=`${O}-resize`:h>=s&&(oe=`${_}-resize`)}const P=O=>{if(f==null||f(O),O.defaultPrevented||O.button!==0)return;O.preventDefault(),O.currentTarget.setPointerCapture(O.pointerId);const _=E?O.clientX:O.clientY;N.current={start:_,from:h,last:h}},z=O=>{b==null||b(O);const _=N.current;if(!_)return;const ee=E?O.clientX:O.clientY;_.last=Q(_.from+(ee-_.start)*W),M(_.last,!1)},j=O=>{const _=N.current;N.current=null,_&&(O.currentTarget.hasPointerCapture(O.pointerId)&&O.currentTarget.releasePointerCapture(O.pointerId),i==null||i(_.last))},G=O=>{if(w==null||w(O),O.defaultPrevented)return;const _=O.shiftKey?uu:du,ee=E?{ArrowRight:_,ArrowLeft:-_}:{ArrowDown:_,ArrowUp:-_};let X;O.key in ee?X=h+ee[O.key]*W:O.key==="Home"?X=a:O.key==="End"&&(X=s),X!==void 0&&(O.preventDefault(),M(X,!0))},L=O=>{A==null||A(O),M(C,!0)};return o.jsx(d.Box,{ref:k,role:"separator",tabIndex:0,"aria-label":m,"aria-orientation":E?"vertical":"horizontal","aria-valuenow":h,"aria-valuemin":a,"aria-valuemax":s,"aria-valuetext":l(h,{min:a,max:s}),"data-testid":"resize-handle","data-edge":t,className:"cm-resize-handle",...x,style:{cursor:oe,...p},onPointerDown:P,onPointerMove:z,onPointerUp:O=>{v==null||v(O),j(O)},onPointerCancel:O=>{S==null||S(O),j(O)},onKeyDown:G,onDoubleClick:L})});function xr({value:e,onCommit:t,onCancel:r,label:n="Name",width:a}){Ce();const s=u.useRef(null),c=u.useRef(null),i=u.useRef(!1);u.useEffect(()=>{var l,p;c.current=document.activeElement instanceof HTMLElement?document.activeElement:null,(l=s.current)==null||l.focus(),(p=s.current)==null||p.select()},[]);const m=(l,p)=>{var b;if(i.current)return;i.current=!0;const f=c.current;l?t(((b=s.current)==null?void 0:b.value)??e):r==null||r(),p&&(f!=null&&f.isConnected)&&f.focus()};return o.jsx(d.TextInput,{ref:s,"aria-label":n,defaultValue:e,spellCheck:!1,autoComplete:"off",classNames:{root:"cm-rename",wrapper:"cm-rename-wrapper",input:"cm-rename-input"},style:a===void 0?void 0:{width:a},onKeyDown:l=>{l.key==="Enter"?(l.preventDefault(),l.stopPropagation(),m(!0,!0)):l.key==="Escape"?(l.preventDefault(),l.stopPropagation(),m(!1,!0)):l.stopPropagation()},onFocus:()=>{i.current=!1},onBlur:()=>{m(!0,!1)},onClick:l=>{l.stopPropagation()},onDoubleClick:l=>{l.stopPropagation()}})}const Ua=u.forwardRef(function({name:t,current:r=!1,tone:n="page",selected:a=!1,divider:s=!1,nameSlot:c,tabIndex:i=0,description:m,descriptionTone:l="default",value:p,menu:f,...b},v){Ce();const S=C=>!s&&C!==void 0&&C!==null&&C!==!1&&C!=="",w=S(m),A=S(p),x=S(f),k=o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"cm-page-name",children:t}),A&&o.jsx("span",{className:"cm-page-value",children:p})]});let T=k;return s?T=o.jsx("span",{className:"cm-page-divider"}):w&&(T=o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"cm-page-line",children:k}),o.jsx("span",{className:"cm-page-description","data-tone":l,children:m})]})),o.jsxs("div",{role:"row",className:x?"cm-page-row":void 0,children:[o.jsx("div",{ref:v,role:"gridcell",tabIndex:i,"aria-current":r?"page":void 0,"aria-selected":n==="group"?a:void 0,"aria-label":s?"Divider":void 0,"data-tone":n,"data-two-line":w?"":void 0,className:"cm-page-cell",...b,children:c??o.jsx("div",{className:"cm-page-button",title:s?void 0:t,children:T})}),x&&o.jsx("div",{role:"gridcell",className:"cm-page-menu",children:f})]})});function hu({items:e,current:t,defaultCurrent:r,onCurrentChange:n,tone:a="page",label:s="Pages",onRename:c,renameLabel:i="Page name"}){var C;Ce();const[m,l]=ie.useUncontrolled({value:t,defaultValue:r,finalValue:null,onChange:(h,I)=>{h!==null&&(n==null||n(h,I))}}),[p,f]=u.useState(null),[b,v]=u.useState(null),S=u.useRef(new Map),w=u.useRef(null);u.useEffect(()=>{var h;(h=w.current)==null||h.querySelectorAll(".cm-page-menu :is(button, a[href], input, select, textarea, [tabindex])").forEach(I=>{I.tabIndex=-1})});const A=e.filter(h=>h.divider!==!0),x=(p!==null&&A.some(h=>h.id===p)?p:null)??(m!==null&&A.some(h=>h.id===m)?m:null)??((C=A[0])==null?void 0:C.id)??null,k=h=>{var I;h!==void 0&&(f(h),(I=S.current.get(h))==null||I.focus())},T=h=>{var D,W,Q,M,oe,P,z;const I=h.target,N=I.closest(".cm-page-menu");if(N!==null){if(h.key==="ArrowLeft"){const j=(D=N.parentElement)==null?void 0:D.querySelector(".cm-page-cell");j&&(h.preventDefault(),j.focus())}return}if(I.getAttribute("role")!=="gridcell"||x===null)return;const E=A.findIndex(j=>j.id===x);switch(h.key){case"ArrowDown":k((W=A[E+1])==null?void 0:W.id);break;case"ArrowUp":k((Q=A[E-1])==null?void 0:Q.id);break;case"Home":k((M=A[0])==null?void 0:M.id);break;case"End":k((oe=A[A.length-1])==null?void 0:oe.id);break;case"ArrowRight":{const j=(z=(P=I.parentElement)==null?void 0:P.querySelector(".cm-page-menu"))==null?void 0:z.querySelector("button, a[href], input, select, [tabindex]");if(!j)return;j.focus();break}case"Enter":case" ":l(x,h);break;case"F2":if(!c)return;v(x);break;default:return}h.preventDefault()};return o.jsx("div",{ref:w,role:"grid","aria-label":s,className:"cm-page-list",tabIndex:-1,onFocus:h=>{h.target===h.currentTarget&&x!==null&&k(x)},onKeyDown:T,children:e.map(h=>{const I=h.id===m;return o.jsx(Ua,{ref:N=>{N?S.current.set(h.id,N):S.current.delete(h.id)},"data-id":h.id,name:h.name,divider:h.divider,description:h.description,descriptionTone:h.descriptionTone,value:h.value,menu:h.menu,tone:a,current:a==="page"&&I,selected:a==="group"&&I,tabIndex:h.id===x?0:-1,nameSlot:b===h.id?o.jsx(xr,{value:h.name,label:i,onCommit:N=>{v(null),N!==""&&N!==h.name&&(c==null||c(h.id,N))},onCancel:()=>{v(null)}}):void 0,onFocus:N=>{N.target===N.currentTarget&&h.divider!==!0&&f(h.id)},onClick:N=>{h.divider!==!0&&(f(h.id),l(h.id,N))},onDoubleClick:()=>{c&&h.divider!==!0&&v(h.id)}},h.id)})})}function fu(e,t){const r=t?e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase()):-1;return!t||r<0?e:o.jsxs(o.Fragment,{children:[e.slice(0,r),o.jsx("span",{className:"cm-result-match",children:e.slice(r,r+t.length)}),e.slice(r+t.length)]})}const bu=u.forwardRef(function({name:t,match:r,path:n,icon:a,current:s=!1,tone:c="default",onMouseDown:i,...m},l){return Ce(),o.jsxs("div",{ref:l,role:"option","aria-selected":s,"data-tone":c==="component"?"component":void 0,className:"cm-result-row",tabIndex:-1,onMouseDown:p=>{p.preventDefault(),i==null||i(p)},...m,children:[o.jsx("span",{className:"cm-result-icon","aria-hidden":"true",children:a}),o.jsxs("span",{className:"cm-result-text",children:[o.jsx("span",{className:"cm-result-name",title:t,children:fu(t,r)}),n!=null&&o.jsx("span",{className:"cm-result-path",children:n})]})]})});function xu(e,t){const r=[],n=(a,s,c)=>{a.forEach((i,m)=>{var f;const l=(((f=i.children)==null?void 0:f.length)??0)>0,p=l&&t.has(i.id);r.push({node:i,level:s,parentId:c,posInSet:m+1,setSize:a.length,hasChildren:l,expanded:p}),p&&i.children&&n(i.children,s+1,i.id)})};return n(e,1,null),r}function gu(e,t,r,n){const a=e[t-1],s=e[t+1],c=a!==void 0&&n.has(a.node.id)&&r[t-1]!=="parent",i=s!==void 0&&n.has(s.node.id)&&!s.expanded;return c&&i?"middle":i?"first":c?"last":"selected"}function vu(e,t){const r=[],n=[];return e.forEach((a,s)=>{for(;n.length>0&&n[n.length-1].level>=a.level;)n.pop();const c=n.find(l=>l.selected),i=t.has(a.node.id),m=e[s+1];i?r.push(a.expanded?"parent":gu(e,s,r,t)):c?r.push(m===void 0||m.level<=c.level?"child-last":"child"):r.push("none"),n.push({level:a.level,selected:i})}),r}function wu(e,t,r,n){const a=e[r],s=e.find(S=>S.node.id===t);if(!a||!s)return null;const c=a.node.children!==void 0;let i,m,l=null,p=null;const f=S=>{let w=S;for(;w+1<e.length&&e[w+1].level>e[S].level;)w++;return w};let b;if(n<.25?b="before":n>.75?b=a.expanded?"first":"after":c?b="into":b=n<.5?"before":"after",b==="into")i=a.node.id,m=0,l=r;else if(b==="first")i=a.node.id,m=0,p={boundary:r+1,level:a.level+1},l=r;else{({parentId:i}=a),m=b==="before"?a.posInSet-1:a.posInSet,p={boundary:b==="before"?r:f(r)+1,level:a.level};const S=i===null?-1:e.findIndex(w=>w.node.id===i);l=S>=0?S:null}const v=new Map(e.map(S=>[S.node.id,S.parentId]));for(let S=i;S!==null;S=v.get(S)??null)if(S===t)return null;return s.parentId===i&&s.posInSet-1<m&&(m-=1),s.parentId===i&&s.posInSet-1===m?null:{move:{id:t,parentId:i,index:m},boxRow:l,line:p}}function Va(e){return 16+24*(e-1)}function yu(e,t){let r;const n=m=>m.flatMap(l=>l.id===t.id?(r=l,[]):[l.children?{...l,children:n(l.children)}:l]),a=n(e),s=r;if(s===void 0)return[...e];const c=m=>{const l=[...m??[]];return l.splice(t.index,0,s),l},i=m=>m.map(l=>l.id===t.parentId?{...l,children:c(l.children)}:l.children?{...l,children:i(l.children)}:l);return t.parentId===null?c(a):i(a)}function Ga(e,t,r){return e.map(n=>n.id===t?{...n,name:r}:n.children?{...n,children:Ga(n.children,t,r)}:n)}const ku=200,Su=500,ju=10,Cn=".cm-tree-actions :is(button, a[href], input, select, textarea, [tabindex]):not(:disabled)",qa=u.forwardRef(function({name:t,label:r,icon:n,level:a=1,hasChildren:s=!1,expanded:c=!1,selected:i=!1,tint:m,tone:l="default",dimmed:p=!1,strong:f,actions:b,posInSet:v,setSize:S,nameSlot:w,swatch:A,count:x,progress:k,description:T,onExpandToggle:C,className:h,onClick:I,onDoubleClick:N,onKeyDown:E,tabIndex:D=-1,...W},Q){Ce();const M=f??(a===1&&s),oe=b!=null&&b!==!1,P=A!=null&&A!==!1,z=x!=null&&x!==!1&&x!=="",j=T!==void 0&&T!=="",G=u.useId(),L=`${G}-count`,O=`${G}-description`,_=[z?L:null,j?O:null].filter(K=>K!==null).join(" "),ee=typeof k=="number"?Math.min(1,Math.max(0,k)):void 0,X=K=>{const ce=K.target,se=ce.closest("button, a, input, select, textarea, [role], [tabindex]");return se!==null&&se.closest(".cm-tree-actions")!==null?"actions":ce.closest(".cm-tree-caret")?"caret":"row"};return o.jsxs("div",{ref:Q,role:"treeitem","aria-label":r??t,"aria-level":a,"aria-posinset":v,"aria-setsize":S,"aria-expanded":s?c:void 0,"aria-selected":i,"aria-describedby":_===""?void 0:_,"data-tint":m??(i?"selected":"none"),"data-tone":l==="component"?"component":void 0,"data-dimmed":p?"":void 0,"data-strong":M?"":void 0,className:h?`cm-tree-row ${h}`:"cm-tree-row",tabIndex:D,onKeyDown:E,onClick:K=>{const ce=X(K);ce==="caret"&&s?C==null||C(K):ce==="row"&&(I==null||I(K))},onDoubleClick:K=>{X(K)==="row"&&(N==null||N(K))},...W,children:[o.jsx("span",{className:"cm-tree-indent",style:{width:Va(a)-16}}),o.jsx("span",{className:"cm-tree-caret","aria-hidden":"true","data-testid":"tree-caret",children:s&&o.jsx(he,{name:c?"caretDown":"caretRight",size:R.CHEVRON})}),o.jsx("span",{className:"cm-tree-icon","aria-hidden":"true",children:n}),P&&o.jsx("span",{className:"cm-tree-swatch","aria-hidden":"true","data-testid":"tree-swatch",children:A}),w??o.jsx("span",{className:"cm-tree-name",title:t,children:t}),z&&o.jsx("span",{className:"cm-tree-count",id:L,"data-testid":"tree-count",children:x}),oe&&o.jsx("span",{className:"cm-tree-actions",children:b}),j&&o.jsx("span",{id:O,hidden:!0,children:T}),k!==void 0&&o.jsx("span",{className:"cm-tree-progress",role:"progressbar","aria-label":t,"aria-valuemin":ee===void 0?void 0:0,"aria-valuemax":ee===void 0?void 0:100,"aria-valuenow":ee===void 0?void 0:Math.round(ee*100),"data-indeterminate":ee===void 0?"":void 0,"data-testid":"tree-progress",children:o.jsx("span",{className:"cm-tree-progress-fill",style:ee===void 0?void 0:{width:`${String(ee*100)}%`}})}),o.jsx("span",{className:"cm-tree-ring","aria-hidden":"true"})]})});function Tu({items:e,label:t="Layers",selected:r,defaultSelected:n,onSelect:a,expanded:s,defaultExpanded:c,onExpandedChange:i,multiselect:m=!0,onRename:l,onMove:p,stickyRoots:f=!1,height:b=480,renameLabel:v="Layer name",onRowKeyDown:S}){var ye,F;Ce();const[w,A]=ie.useUncontrolled({value:r,defaultValue:n,finalValue:[],onChange:(g,H)=>{a==null||a([...g],H)}}),[x,k]=ie.useUncontrolled({value:s,defaultValue:c,finalValue:[],onChange:g=>{i==null||i([...g])}}),T=u.useMemo(()=>new Set(x),[x]),C=u.useMemo(()=>new Set(w),[w]),h=u.useMemo(()=>xu(e,T),[e,T]),I=u.useMemo(()=>vu(h,C),[h,C]),N=u.useMemo(()=>new Map(h.map((g,H)=>[g.node.id,H])),[h]),[E,D]=u.useState(null),[W,Q]=u.useState(null),[M,oe]=u.useState(null),P=u.useRef(null),z=u.useRef(null),j=u.useRef(!1),G=u.useRef({text:"",at:0}),L=u.useRef(null),O=h.length>ku,_=Vn.useVirtualizer({count:O?h.length:0,getScrollElement:()=>L.current,estimateSize:()=>R.DATA_PITCH,overscan:ju}),ee=(E!==null&&N.has(E)?E:null)??((ye=h.find(g=>C.has(g.node.id)))==null?void 0:ye.node.id)??((F=h[0])==null?void 0:F.node.id)??null;u.useLayoutEffect(()=>{var g;(g=L.current)==null||g.querySelectorAll(Cn).forEach(H=>{H.tabIndex=-1})}),u.useLayoutEffect(()=>{var H;if(!j.current||ee===null)return;const g=(H=L.current)==null?void 0:H.querySelector(`[data-id="${CSS.escape(ee)}"]`);g?(j.current=!1,g.focus()):O&&_.scrollToIndex(N.get(ee)??0)});const X=g=>{g!==void 0&&(j.current=!0,D(g),O&&_.scrollToIndex(N.get(g)??0))},K=(g,H)=>{T.has(g)!==H&&k(H?[...x,g]:x.filter($=>$!==g))},ce=(g,H,$)=>{if(!m||H==="replace"||H==="range"&&P.current===null){P.current=g,A([g],$);return}if(H==="toggle"){P.current=g,A(C.has(g)?w.filter(ne=>ne!==g):[...w,g],$);return}const Z=N.get(P.current??g)??0,J=N.get(g)??0;A(h.slice(Math.min(Z,J),Math.max(Z,J)+1).map(ne=>ne.node.id),$)},se=g=>g.shiftKey?"range":g.metaKey||g.ctrlKey?"toggle":"replace",ve=g=>g===null?[]:[...g.querySelectorAll(Cn)],Me=(g,H)=>{var ne,ke;const $=ve(H),Z=$.indexOf(g.target),J=N.get(H.dataset.id??"");if(!(Z===-1||J===void 0||g.defaultPrevented||g.altKey)){if(g.key==="ArrowRight")(ne=$[Z+1])==null||ne.focus();else if(g.key==="ArrowLeft"&&Z===0||g.key==="Escape")H.focus();else if(g.key==="ArrowLeft")$[Z-1].focus();else if(g.key==="ArrowDown"||g.key==="ArrowUp")X(((ke=h[J+(g.key==="ArrowDown"?1:-1)])==null?void 0:ke.node.id)??h[J].node.id);else return;g.preventDefault()}},Y=g=>{var Le,Ae,Ue,pt,Xe,Ge;const H=g.target,$=H.closest("[role='treeitem']");if($!==null&&$!==H&&H.closest(".cm-tree-actions")!==null){Me(g,$);return}if(H.getAttribute("role")!=="treeitem"||ee===null)return;const Z=N.get(ee)??0,J=h[Z];if(S==null||S(J.node.id,g),g.defaultPrevented)return;const ne=ve(H)[0];if(g.key==="ArrowRight"&&ne&&(g.altKey||!J.hasChildren)){g.preventDefault(),ne.focus();return}if(p&&g.altKey&&(g.key==="ArrowUp"||g.key==="ArrowDown")){g.preventDefault();const re=J.posInSet-1+(g.key==="ArrowUp"?-1:1);re>=0&&re<J.setSize&&(p({id:J.node.id,parentId:J.parentId,index:re}),X(J.node.id));return}let ke=!0;switch(g.key){case"ArrowDown":X((Le=h[Z+1])==null?void 0:Le.node.id);break;case"ArrowUp":X((Ae=h[Z-1])==null?void 0:Ae.node.id);break;case"ArrowRight":J.hasChildren&&!J.expanded?K(J.node.id,!0):J.expanded&&X((Ue=h[Z+1])==null?void 0:Ue.node.id);break;case"ArrowLeft":J.expanded?K(J.node.id,!1):J.parentId!==null&&X(J.parentId);break;case"Home":X((pt=h[0])==null?void 0:pt.node.id);break;case"End":X((Xe=h[h.length-1])==null?void 0:Xe.node.id);break;case"Enter":case" ":ce(J.node.id,se(g),g);break;case"*":{const re=h.filter(ue=>ue.parentId===J.parentId&&ue.hasChildren).map(ue=>ue.node.id);k([...new Set([...x,...re])]);break}case"F2":l?Q(J.node.id):ke=!1;break;default:if(g.altKey&&g.code==="KeyL"){k([]);let re=J;for(;re.parentId!==null;)re=h[N.get(re.parentId)??0];X(re.node.id)}else if(g.key.length===1&&!g.ctrlKey&&!g.metaKey&&!g.altKey){const re=Date.now(),ue=G.current;ue.text=re-ue.at>Su?g.key:ue.text+g.key,ue.at=re;const Se=ue.text.toLocaleLowerCase(),Ee=ue.text.length===1?Z+1:Z,Te=[...h.slice(Ee),...h.slice(0,Ee)];X((Ge=Te.find(Ne=>Ne.node.name.toLocaleLowerCase().startsWith(Se)))==null?void 0:Ge.node.id)}else ke=!1}ke&&g.preventDefault()},de=()=>{z.current=null,oe(null)},ge=(g,H,$)=>{const{id:Z}=g.node,J=W===Z;return o.jsx(qa,{"data-id":Z,"data-index":H,name:g.node.name,label:g.node.label,icon:g.node.icon,level:g.level,hasChildren:g.hasChildren,expanded:g.expanded,selected:C.has(Z),tint:I[H],tone:g.node.tone,dimmed:g.node.dimmed,strong:g.node.strong??(g.level===1&&g.node.children!==void 0),actions:g.node.actions,swatch:g.node.swatch,count:g.node.count,progress:g.node.progress,description:g.node.description,posInSet:g.posInSet,setSize:g.setSize,tabIndex:Z===ee?0:-1,style:$,draggable:p!==void 0&&!J,nameSlot:J?o.jsx(xr,{value:g.node.name,label:v,onCommit:ne=>{Q(null),ne!==""&&ne!==g.node.name&&(l==null||l(Z,ne))},onCancel:()=>{Q(null)}}):void 0,onFocus:ne=>{ne.target===ne.currentTarget&&E!==Z&&D(Z)},onExpandToggle:()=>{K(Z,!g.expanded)},onClick:ne=>{D(Z),ce(Z,se(ne),ne)},onDoubleClick:()=>{l&&Q(Z)},onDragStart:ne=>{z.current=Z,ne.dataTransfer.effectAllowed="move",ne.dataTransfer.setData("text/plain",g.node.name)},onDragOver:ne=>{if(z.current===null)return;const ke=ne.currentTarget.getBoundingClientRect(),Le=wu(h,z.current,H,(ne.clientY-ke.top)/ke.height);Le&&(ne.preventDefault(),ne.dataTransfer.dropEffect="move"),JSON.stringify(Le)!==JSON.stringify(M)&&oe(Le)},onDrop:ne=>{ne.preventDefault(),M&&(p==null||p(M.move)),de()},onDragEnd:de},Z)};let me;if(O)me=_.getVirtualItems().map(g=>ge(h[g.index],g.index,{position:"absolute",top:0,left:0,transform:`translateY(${String(g.start)}px)`}));else{const g=[];h.forEach((H,$)=>{H.level===1&&g.push({id:H.node.id,rows:[]}),g[g.length-1].rows.push(ge(H,$))}),me=g.map(H=>o.jsx("div",{role:"none",className:"cm-tree-block",children:H.rows},H.id))}const je=R.DATA_PITCH;return o.jsx("div",{ref:L,role:"tree","aria-label":t,"aria-multiselectable":m||void 0,className:"cm-tree","data-virtual":O?"":void 0,"data-sticky-roots":f&&!O?"":void 0,style:O?{height:b}:void 0,tabIndex:-1,onFocus:g=>{g.target===g.currentTarget&&ee!==null&&X(ee)},onKeyDown:Y,onDragLeave:g=>{g.currentTarget.contains(g.relatedTarget)||oe(null)},children:o.jsxs("div",{className:"cm-tree-content",role:"none",style:O?{height:_.getTotalSize()}:void 0,children:[me,(M==null?void 0:M.boxRow)!==null&&(M==null?void 0:M.boxRow)!==void 0&&o.jsx("div",{className:"cm-tree-drop-box","data-testid":"tree-drop-box",style:{top:M.boxRow*je}}),(M==null?void 0:M.line)&&o.jsx("div",{className:"cm-tree-drop-line","data-testid":"tree-drop-line",style:{top:M.line.boundary*je-1,insetInlineStart:Va(M.line.level)}})]})})}const Cu='button, input[type="radio"], [role="radio"]';function gr(e){const t=u.useRef(null),r=u.useRef(null),n=()=>{var i;return Array.from(((i=t.current)==null?void 0:i.querySelectorAll(Cu))??[]).filter(m=>!m.disabled)},a=(i,m)=>{r.current=m;for(const l of i)l.tabIndex=l===m?0:-1};return u.useLayoutEffect(()=>{const i=n();if(i.length===0)return;const m=r.current&&i.includes(r.current)?r.current:null,l=i.find(p=>p.getAttribute("aria-pressed")==="true"||p.dataset.active!==void 0||p.checked);a(i,m??l??i[0])}),{ref:t,onFocus:i=>{const m=n(),l=i.target;m.includes(l)&&a(m,l)},onKeyDown:i=>{const m=e==="horizontal"&&t.current!==null&&getComputedStyle(t.current).direction==="rtl";let l=m?"ArrowRight":"ArrowLeft",p=m?"ArrowLeft":"ArrowRight";if(e==="vertical"&&([l,p]=["ArrowUp","ArrowDown"]),![l,p,"Home","End"].includes(i.key))return;const f=n(),b=f.indexOf(document.activeElement);if(b<0)return;i.preventDefault();let v=(b+(i.key===p?1:-1)+f.length)%f.length;i.key==="Home"?v=0:i.key==="End"&&(v=f.length-1),f[v].focus()}}}function jt(){const e=d.useMantineTheme();Wt(e.other.compact)}function Au(){return o.jsx("svg",{width:"30",height:"32",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",style:{flex:"none"},children:o.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M11.69 16.572q.357 0 .61.254a.83.83 0 0 1 .26.616q0 .236-.12.435a.9.9 0 0 1-.315.32.84.84 0 0 1-.435.114.85.85 0 0 1-.615-.253.85.85 0 0 1-.254-.616.84.84 0 0 1 .254-.616.85.85 0 0 1 .615-.254m.332-10.884q1.002 0 1.763.416.76.41 1.19 1.13.428.712.428 1.635 0 .61-.193 1.111a2.9 2.9 0 0 1-.58.924 4.8 4.8 0 0 1-.954.797 4.6 4.6 0 0 0-.863.718 2.1 2.1 0 0 0-.459.815q-.138.453-.15 1.117c0 .18-.146.326-.326.326h-.44a.326.326 0 0 1-.327-.326q.006-.954.21-1.551.207-.598.604-1.009a5.5 5.5 0 0 1 1.003-.797q.447-.29.748-.61.308-.325.465-.711a2.2 2.2 0 0 0 .163-.852q0-.651-.307-1.14a2.04 2.04 0 0 0-.822-.755 2.450 2.450 0 0 0-1.153-.272q-.603 0-1.129.266a2.15 2.15 0 0 0-1.138 1.483c-.067.3-.312.545-.619.545-.323 0-.588-.269-.53-.587a3.12 3.12 0 0 1 1.678-2.268 3.7 3.7 0 0 1 1.738-.405"})})}function Eu({label:e,children:t,menuProps:r,className:n,...a}){jt();const s=we(),c=e??s.help,i=o.jsx(d.UnstyledButton,{...a,"aria-label":c,className:n?`cm-help-button ${n}`:"cm-help-button",children:o.jsx(Au,{})}),m=l=>o.jsx(d.Tooltip,{label:c,position:"top",openDelay:0,closeDelay:0,children:l});return t?o.jsxs(d.Menu,{position:"top-end",offset:4,classNames:{dropdown:"cm-menu-surface",item:"cm-menu-row"},...r,children:[m(o.jsx(d.Menu.Target,{children:i})),o.jsx(d.Menu.Dropdown,{children:t})]}):m(i)}function vr({label:e,shortcut:t}){return o.jsxs(o.Fragment,{children:[e,t?o.jsx("span",{className:"cm-tip-shortcut",children:t}):null]})}const Wa=u.forwardRef(function({label:t,icon:r,shortcut:n,selected:a,tooltipPosition:s="top",disabledReason:c,className:i,onClick:m,...l},p){jt();const f=c!==void 0;return o.jsx(d.Tooltip,{label:o.jsx(vr,{label:f?`${t}. ${c}`:t,shortcut:n}),position:s,children:o.jsx(d.UnstyledButton,{...l,ref:p,"aria-label":t,"aria-pressed":a,"aria-disabled":f||void 0,"aria-description":c,onClick:f?void 0:m,className:i?`cm-tool ${i}`:"cm-tool",children:o.jsx("span",{className:"cm-tool-icon","aria-hidden":"true",children:r})})})}),Nu=500;function Iu({footer:e,children:t,className:r,onKeyDown:n,onFocus:a,...s}){jt();const c=we(),i=gr("vertical");return o.jsxs(d.Box,{...s,ref:i.ref,role:"toolbar","aria-label":s["aria-label"]??c.navigation,"aria-orientation":"vertical",className:r?`cm-nav-rail ${r}`:"cm-nav-rail",onKeyDown:m=>{n==null||n(m),i.onKeyDown(m)},onFocus:m=>{a==null||a(m),i.onFocus(m)},children:[t,e?o.jsx("div",{className:"cm-nav-rail-footer",children:e}):null]})}function zu(){return o.jsx("hr",{className:"cm-nav-rail-separator"})}const Ru=Object.assign(Iu,{Separator:zu}),Lu=u.forwardRef(function({icon:t,label:r,shortcut:n,active:a,className:s,...c},i){const m=a===!0||c["aria-expanded"]===!0||c["aria-expanded"]==="true";return o.jsx(d.Tooltip,{label:o.jsx(vr,{label:r,shortcut:n}),position:"right",offset:{mainAxis:da,crossAxis:-8},openDelay:Nu,withArrow:!0,disabled:m,children:o.jsxs(d.UnstyledButton,{...c,ref:i,"aria-label":r,className:s?`cm-rail-button ${s}`:"cm-rail-button",mod:{active:m},children:[o.jsx("span",{className:"cm-rail-pill","aria-hidden":"true",children:t}),o.jsx("span",{className:"cm-rail-label","aria-hidden":"true",children:r})]})})});function Pu(){return o.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32","aria-hidden":"true",focusable:"false",style:{display:"block"},children:o.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M18.847 19.555c-1.096.934-2.517 1.498-4.07 1.498-3.467 0-6.277-2.81-6.277-6.276 0-3.467 2.81-6.277 6.277-6.277 3.466 0 6.276 2.81 6.276 6.277 0 1.553-.564 2.975-1.499 4.07l3.945 3.945-.707.708zm1.206-4.778c0 2.914-2.362 5.276-5.276 5.276-2.915 0-5.277-2.362-5.277-5.276 0-2.915 2.362-5.277 5.277-5.277 2.914 0 5.276 2.362 5.276 5.277"})})}function Mu({label:e}){const t=Math.min(8,Math.ceil(e.length/3));return o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"cm-qa-row-head",children:e.slice(0,e.length-t)}),o.jsx("span",{className:"cm-qa-row-tail",children:e.slice(e.length-t)})]})}function Ou(e,t){const r=t.trim().toLowerCase();return r===""||e.label.toLowerCase().includes(r)||(e.keywords??[]).some(n=>n.toLowerCase().includes(r))}function Du({actions:e,onRun:t,onClose:r,query:n,onQueryChange:a,filter:s=Ou,header:c,searchAction:i,listId:m,truncate:l="end",placeholder:p,width:f=529,height:b=354,className:v,style:S,...w}){var z;jt();const A=we(),x=ie.useId(),k=m??`${x}-list`,T=u.useRef(null),[C,h]=ie.useUncontrolled({value:n,defaultValue:"",finalValue:"",onChange:a}),I=u.useMemo(()=>{const j=new Map;for(const G of e){if(!s(G,C))continue;const L=C.trim()===""?G.section??"":"";j.set(L,[...j.get(L)??[],G])}return[...j.entries()]},[e,s,C]),N=I.flatMap(([,j])=>j).filter(j=>!j.disabled),[E,D]=u.useState({search:""}),W=E.search===C&&N.some(j=>j.value===E.value)?E.value:(z=N[0])==null?void 0:z.value,Q=j=>{D({search:C,value:j})};u.useEffect(()=>{var j;(j=T.current)==null||j.focus()},[]);const M=j=>`${x}-option-${j}`,oe=j=>{var L,O;const G=N.findIndex(_=>_.value===W);if(j.key==="ArrowDown"||j.key==="ArrowUp"){if(j.preventDefault(),N.length===0)return;const _=j.key==="ArrowDown"?1:-1,ee=N[(G+_+N.length)%N.length];Q(ee.value),(O=(L=document.getElementById(M(ee.value)))==null?void 0:L.scrollIntoView)==null||O.call(L,{block:"nearest"})}else j.key==="Enter"&&W!==void 0?(j.preventDefault(),t(W)):j.key==="Escape"&&r&&(j.preventDefault(),j.stopPropagation(),r())},P=w["aria-label"]??A.quickActions;return o.jsxs("div",{role:"dialog","aria-label":P,className:v?`cm-quick-actions ${v}`:"cm-quick-actions",style:{width:f,height:b,...S},children:[o.jsxs("div",{className:"cm-field cm-qa-search",children:[o.jsx("span",{className:"cm-qa-search-icon","aria-hidden":"true",children:o.jsx(Pu,{})}),o.jsx("input",{ref:T,className:"cm-qa-input",type:"text",role:"combobox","aria-label":p??A.searchActions,"aria-expanded":"true","aria-controls":k,"aria-autocomplete":"list","aria-activedescendant":W===void 0?void 0:M(W),placeholder:p??A.searchActions,value:C,onChange:j=>{h(j.currentTarget.value)},onKeyDown:oe}),C!==""||i?o.jsx("span",{className:"cm-qa-search-action",children:C===""?i:o.jsx(d.CloseButton,{"aria-label":A.clearSearch,onMouseDown:j=>{j.preventDefault()},onClick:()=>{var j;h(""),(j=T.current)==null||j.focus()}})}):null]}),c?o.jsx("div",{className:"cm-qa-header",children:c}):null,I.length===0?o.jsx("output",{className:"cm-qa-empty",children:A.noResults}):null,o.jsx("div",{className:"cm-qa-list",id:k,role:"listbox","aria-label":P,children:I.map(([j,G])=>o.jsxs("div",{className:"cm-qa-group",role:"group","aria-label":j||void 0,children:[j?o.jsx("div",{className:"cm-qa-group-title","aria-hidden":"true",children:j}):null,G.map(L=>o.jsxs("div",{id:M(L.value),role:"option","aria-selected":L.value===W,"aria-disabled":L.disabled||void 0,"aria-label":L.description||l==="middle"?L.label:void 0,"aria-describedby":L.description?`${M(L.value)}-description`:void 0,title:l==="middle"?L.label:void 0,"data-two-line":L.description?"":void 0,className:"cm-qa-row","data-highlighted":L.value===W||void 0,onMouseMove:()=>{L.disabled||Q(L.value)},onMouseDown:O=>{O.preventDefault()},tabIndex:-1,onClick:()=>{L.disabled||t(L.value)},onKeyDown:O=>{O.key==="Enter"&&!L.disabled&&t(L.value)},children:[o.jsx("span",{className:"cm-qa-row-icon","aria-hidden":"true",children:L.icon}),o.jsxs("span",{className:"cm-qa-row-text",children:[o.jsx("span",{className:"cm-qa-row-label","data-truncate":l,children:l==="middle"?o.jsx(Mu,{label:L.label}):L.label}),L.description?o.jsx("span",{className:"cm-qa-row-description",id:`${M(L.value)}-description`,children:L.description}):null]}),L.shortcut?o.jsx("span",{className:"cm-qa-row-shortcut",children:L.shortcut}):null]},L.value))]},j))})]})}function Bu({flush:e,children:t,className:r,onKeyDown:n,onFocus:a,...s}){jt();const c=gr("horizontal");return o.jsx(d.Box,{...s,ref:c.ref,role:"toolbar","aria-orientation":"horizontal",className:r?`cm-secondary-toolbar ${r}`:"cm-secondary-toolbar",mod:{flush:e},onKeyDown:i=>{n==null||n(i),c.onKeyDown(i)},onFocus:i=>{a==null||a(i),c.onFocus(i)},children:t})}const Fu=u.forwardRef(function({icon:t,selected:r,dropdown:n,children:a,className:s,...c},i){return o.jsxs(d.UnstyledButton,{...c,ref:i,"aria-pressed":r,className:s?`cm-secondary-item ${s}`:"cm-secondary-item",mod:{dropdown:n},children:[t?o.jsx("span",{className:"cm-tool-icon","aria-hidden":"true",children:t}):null,a?o.jsx("span",{className:"cm-secondary-item-label",style:t?void 0:{paddingInlineStart:8},children:a}):null,n?o.jsx("span",{className:"cm-secondary-item-chevron","aria-hidden":"true",children:o.jsx(he,{name:"chevronDown",size:10})}):null]})});function Hu(){return o.jsx("hr",{className:"cm-secondary-divider","aria-orientation":"vertical"})}const Uu=Object.assign(Bu,{Button:Fu,Divider:Hu});function Vu({tabs:e,value:t,defaultValue:r,onChange:n,onClose:a,className:s,style:c,...i}){var T;jt();const m=we(),l=ie.useId(),p=u.useRef([]),[f,b]=ie.useUncontrolled({value:t,defaultValue:r,finalValue:(T=e[0])==null?void 0:T.value,onChange:n}),v=Math.max(0,e.findIndex(C=>C.value===f)),S=e[v],w=i["aria-label"]??m.keyboardShortcuts,A=(S==null?void 0:S.variant)==="essential",x=C=>{C.key==="Escape"&&a&&(C.stopPropagation(),a())},k=C=>{var D;x(C);const h=getComputedStyle(C.currentTarget).direction==="rtl",I=h?"ArrowLeft":"ArrowRight",N=h?"ArrowRight":"ArrowLeft";let E;if(C.key===I)E=(v+1)%e.length;else if(C.key===N)E=(v-1+e.length)%e.length;else if(C.key==="Home")E=0;else if(C.key==="End")E=e.length-1;else return;C.preventDefault(),b(e[E].value),(D=p.current[E])==null||D.focus()};return o.jsxs("section",{className:s?`cm-shortcut-sheet ${s}`:"cm-shortcut-sheet",style:c,"aria-label":w,children:[o.jsxs("div",{className:"cm-sheet-strip",children:[o.jsxs("div",{className:"cm-sheet-tablist",role:"tablist","aria-label":w,children:[o.jsx("span",{className:"cm-sheet-filler","data-left-of-active":v===0||void 0}),e.map((C,h)=>o.jsx(d.UnstyledButton,{ref:I=>{p.current[h]=I},role:"tab",id:`${l}-tab-${h}`,"aria-selected":h===v,"aria-controls":`${l}-panel`,tabIndex:h===v?0:-1,className:"cm-sheet-tab",onKeyDown:k,"data-left-of-active":h===v-1||void 0,"data-right-of-active":h===v+1||void 0,onClick:()=>{b(C.value)},children:C.label},C.value)),o.jsx("span",{className:"cm-sheet-filler","data-right-of-active":v===e.length-1||void 0})]}),a?o.jsx(d.UnstyledButton,{className:"cm-sheet-close","aria-label":m.close,onClick:a,onKeyDown:x,children:o.jsx(he,{name:"close",size:12})}):null]}),o.jsx("div",{className:"cm-sheet-body",role:"tabpanel",id:`${l}-panel`,"aria-labelledby":`${l}-tab-${v}`,"data-variant":A?"essential":void 0,children:o.jsxs("div",{className:"cm-sheet-content",children:[S!=null&&S.caption?o.jsx("div",{className:"cm-sheet-caption",children:S.caption}):null,o.jsx("div",{className:"cm-sheet-columns",children:S==null?void 0:S.groups.map((C,h)=>o.jsxs("div",{className:"cm-sheet-column",children:[A?o.jsx("span",{className:"cm-sheet-step","aria-hidden":"true",children:h+1}):null,C.title?o.jsx("div",{className:"cm-sheet-column-title",children:C.title}):null,C.shortcuts.map((I,N)=>o.jsxs("div",{className:"cm-sheet-row","data-highlighted":I.highlighted||void 0,children:[I.icon?o.jsx("span",{className:"cm-sheet-row-icon","aria-hidden":"true",children:I.icon}):null,o.jsxs("span",{className:"cm-sheet-row-label",children:[I.label,I.description?o.jsx("span",{className:"cm-sheet-row-description",children:I.description}):null]}),o.jsx("span",{className:"cm-sheet-keys",children:I.keys.map((E,D)=>o.jsx(d.Kbd,{size:A?"md":void 0,mod:{active:I.highlighted},children:E},D))})]},N))]},h))})]})})]})}function Gu({floating:e,children:t,className:r,onKeyDown:n,onFocus:a,...s}){jt();const c=we(),i=gr("horizontal");return o.jsx(d.Box,{...s,ref:i.ref,role:"toolbar","aria-label":s["aria-label"]??c.toolbar,"aria-orientation":"horizontal",className:r?`cm-toolbar ${r}`:"cm-toolbar",mod:{floating:e},onKeyDown:m=>{n==null||n(m),i.onKeyDown(m)},onFocus:m=>{a==null||a(m),i.onFocus(m)},children:t})}function qu(){return o.jsx("hr",{className:"cm-toolbar-divider","aria-orientation":"vertical"})}const Wu=Object.assign(Gu,{Divider:qu});function Yu(e){e==null||e.setAttribute("role","menuitemradio")}function Ku({label:e,tools:t,activeTool:r,onToolChange:n,defaultFace:a,chevronProps:s}){var x;const[c,i]=u.useState(a??((x=t[0])==null?void 0:x.value)),m=t.some(k=>k.value===r);u.useEffect(()=>{m&&r&&i(r)},[m,r]);const l=m&&r?r:c,p=t.find(k=>k.value===l)??t[0],f=k=>{i(k),n==null||n(k)},b=u.useRef(null),v=u.useRef(null),S=u.useRef(null),w=u.useRef(!1),A=()=>{var C;const k=w.current?b.current:v.current;w.current=!1;const T=document.activeElement;(T===null||T===document.body||(C=S.current)!=null&&C.contains(T)||T===v.current)&&(k==null||k.focus())};return o.jsxs("fieldset",{className:"cm-fieldset cm-tool-group","aria-label":p.label,children:[o.jsx(Wa,{ref:b,label:p.label,icon:p.icon,shortcut:p.shortcut,selected:r===void 0?void 0:r===p.value,onClick:()=>{f(p.value)}}),o.jsxs(d.Menu,{position:"top-start",offset:4,returnFocus:!1,onClose:A,classNames:{dropdown:"cm-menu-surface",item:"cm-menu-row cm-tool-flyout-row"},children:[o.jsx(d.Tooltip,{label:o.jsx(vr,{label:e}),position:"top",children:o.jsx(d.Menu.Target,{children:o.jsx(d.UnstyledButton,{...s,ref:v,className:"cm-tool-chevron","aria-label":e,children:o.jsx(he,{name:"chevronDown",size:10})})})}),o.jsx(d.Menu.Dropdown,{ref:S,"aria-label":e,children:t.map(k=>o.jsx(d.Menu.Item,{ref:Yu,"aria-checked":k.value===p.value,leftSection:o.jsxs("span",{className:"cm-tool-flyout-lead",children:[o.jsx("span",{className:"cm-tool-flyout-check",children:o.jsx(he,{name:"check",size:16})}),o.jsx("span",{className:"cm-tool-icon",children:k.icon})]}),rightSection:k.shortcut,onClick:()=>{w.current=!0,f(k.value)},children:k.label},k.value))})]})]})}function Ya(e,t){return e!==void 0?e:t===void 0?"off":"polite"}function bt(e,t){const r=Ya(e,t);return r==="off"?{"aria-busy":t}:{"aria-live":r,"aria-atomic":!0,"aria-busy":t}}const Fo=4,Xu="(hover: none)";function Ju(e){if(typeof e=="string")return e;if(typeof e=="number")return String(e)}function Zu(e){Ce();const{state:t,stateTitle:r,busy:n,live:a,actions:s,residentActions:c,actionsVisible:i,reveal:m="always",disabled:l=!1,onClick:p,onFocus:f,onBlur:b}=e,v=bt(a,n),{hovered:S,ref:w}=ie.useHover(),A=ie.useMediaQuery(Xu)??!1,[x,k]=u.useState(!1),T=u.useId(),C=x||(i??(m==="always"||S||A)),h=s!==void 0||c!==void 0,I=Ju(t),N=r!==void 0&&r!==I,E=r??I,D=h&&t!==void 0,W=N?o.jsxs(o.Fragment,{children:[o.jsx("span",{"aria-hidden":"true",children:t}),o.jsx(d.VisuallyHidden,{"data-testid":"action-row-state-full",children:r})]}):t;ut(p!==void 0&&t===void 0?"ActionRow was given onClick but no state, and its own activation is carried by the text it reports. That text is also what names the row for a screen reader, so a row with nothing to report has nothing to activate. Give the row a state, or put the action on a control in actions.":void 0);const Q=j=>{k(!0),f==null||f(j)},M=j=>{j.currentTarget.contains(j.relatedTarget)||k(!1),b==null||b(j)},oe=j=>{l||p==null||p(j,Rt(j))},P={flex:"1 1 auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},z={...P,alignSelf:"stretch",lineHeight:`${R.ROW_PITCH}px`,textAlign:"start",borderRadius:5};return o.jsxs(d.Box,{ref:w,"data-testid":"action-row",role:D?"group":void 0,"aria-labelledby":D?T:void 0,"aria-disabled":l||void 0,"data-disabled":l||void 0,onFocus:Q,onBlur:M,style:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box",gap:R.TRAIL_GAP,height:R.ROW_PITCH},children:[t!==void 0&&(p===void 0?o.jsx(d.Box,{component:"span",id:T,"data-testid":"action-row-state",title:E,...v,className:"cm-row-reading","data-disabled":l||void 0,style:P,children:W}):o.jsx(d.UnstyledButton,{type:"button",id:T,"data-testid":"action-row-state",title:E,...v,className:"cm-row-reading cm-row-target","data-disabled":l||void 0,onClick:oe,style:z,children:W})),h&&o.jsxs(d.Box,{"data-testid":"action-row-affordances",style:{flex:"0 0 auto",marginInlineStart:"auto",display:"flex",alignItems:"center",gap:Fo},children:[s!==void 0&&o.jsx(d.Box,{"data-testid":"action-row-actions","data-visible":C?"true":"false",className:"cm-row-actions",style:{flex:"0 0 auto",display:"flex",alignItems:"center",gap:Fo,opacity:C?1:0,pointerEvents:C?void 0:"none"},children:s}),c!==void 0&&o.jsx(d.Box,{"data-testid":"action-row-resident-actions",style:{flex:"0 0 auto",display:"flex",alignItems:"center",gap:Fo},children:c})]})]})}function Qu({name:e,value:t,stat:r=!1,icon:n,selected:a=!1,onClick:s,onFocus:c,onBlur:i,trailing:m}){Ce();const l=u.useId(),p=mt({maximumFractionDigits:20}),f=typeof t=="number"?p.format(t):t,b=s!==void 0,v=n!=null,S=t!=null,w=Xt(m),A=a?!0:void 0,x=T=>{s==null||s(T,Rt(T))},k=o.jsxs(o.Fragment,{children:[v&&o.jsx("span",{className:"cm-data-row-icon","data-testid":"data-row-icon",children:n}),o.jsx("span",{className:"cm-data-row-name","data-testid":"data-row-name",id:r?l:void 0,title:e,children:e}),S&&o.jsx("span",{className:"cm-data-row-value","data-testid":"data-row-value",children:f})]});return o.jsxs("div",{"data-testid":"data-row",className:"cm-data-row",role:r?"group":void 0,"aria-labelledby":r?l:void 0,"data-stat":r?"":void 0,"data-selected":a?"true":void 0,"data-interactive":b?"":void 0,"data-trailing":w?"":void 0,children:[b?o.jsx("button",{type:"button",className:"cm-data-row-body","data-testid":"data-row-button","aria-current":A,onClick:x,onFocus:c,onBlur:i,children:k}):o.jsx("div",{className:"cm-data-row-body","data-testid":"data-row-body","aria-current":A,onFocus:c,onBlur:i,children:k}),w&&o.jsx(st,{children:m})]})}function _u({label:e,unit:t,sortDirection:r,defaultSortDirection:n,onSortChange:a,sortPriority:s}){Ce();const[c,i]=ie.useUncontrolled({value:r,defaultValue:n,finalValue:"none",onChange:a}),m=mt(),l=a!==void 0,p=c!=="none",f=x=>{i(c==="ascending"?"descending":"ascending",x)},b=o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"cm-data-row-header-label","data-testid":"data-row-header-label",title:e,children:e}),t!==void 0&&o.jsx("span",{"data-testid":"data-row-header-unit",style:{flex:"0 0 auto",whiteSpace:"nowrap"},children:t}),s!==void 0&&p&&o.jsx("span",{"aria-hidden":"true",style:{flex:"0 0 auto",display:"flex"},children:o.jsx(wr,{children:m.format(s)})}),p&&o.jsx("span",{className:"cm-sort-caret","data-testid":"data-row-header-sort-glyph","data-direction":c,children:o.jsx(he,{name:"caretDown",size:R.CHEVRON})})]}),v=u.useRef(null),[S,w]=u.useState(!1);u.useLayoutEffect(()=>{var k;const x=(k=v.current)==null?void 0:k.parentElement;w((x==null?void 0:x.getAttribute("role"))==="row"||(x==null?void 0:x.tagName)==="TR")},[]);const A=S&&(l||p);return o.jsx("div",{ref:v,"data-testid":"data-row-header",className:"cm-data-row-header","data-sorted":p?"":void 0,role:A?"columnheader":void 0,"aria-sort":A?c:void 0,children:l?o.jsx("button",{type:"button",className:"cm-data-row-header-sort","data-testid":"data-row-header-sort",onClick:f,children:b}):b})}function wr({children:e}){return Ce(),o.jsx("span",{className:"cm-rank-chip","data-testid":"rank-chip",children:e})}const An=2,$u=1,em=16,tm=2,om=1,rm=1,nm=64,Ka=4,En=Ka/2,Xa=4,yt=100,am=1,Ja="var(--cm-icon-secondary)",er=100;function fo({children:e,end:t,id:r}){return o.jsx(d.Box,{component:"span",id:r,"data-testid":`chart-axis-${t}`,className:"cm-chart-text",style:{flex:"0 0 auto",minWidth:0,whiteSpace:"nowrap"},children:e})}function Za(){return o.jsx(d.Box,{"data-testid":"chart-baseline",style:{flex:"0 0 auto",height:$u,background:xe.BORDER}})}function Qa({caption:e,rows:t,testId:r}){return o.jsxs(d.VisuallyHidden,{component:"table","data-testid":r,children:[e!==void 0&&o.jsx("caption",{children:e}),o.jsx("tbody",{children:t.map(n=>o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:n.header}),o.jsx("td",{children:n.value})]},n.id))})]})}function im(e,t){if(e.length===0)return null;const r=yt/2;if(e.length===1)return`0,${r} ${yt},${r}`;const n=Math.min(...e),s=Math.max(...e)-n,c=e.length-1;return e.map((i,m)=>{const l=Ol(m/c,yt,t),p=s===0?r:yt-(i-n)/s*yt;return`${l},${p}`}).join(" ")}function _a(){const e=u.useId(),t=`${e}min`,r=`${e}max`;return{min:t,max:r,describedBy:`${t} ${r}`}}function sm({bins:e,label:t,minLabel:r,maxLabel:n,busy:a,live:s,trailing:c}){Ce();const i=mt(),m=_a(),l=e.reduce((f,b)=>Math.max(f,b.count,0),0),p=e.map((f,b)=>({id:`${f.label}-${String(b)}`,header:f.label,value:i.format(f.count)}));return o.jsxs(d.Box,{"data-testid":"histogram-row","aria-busy":a,style:{display:"flex",alignItems:"flex-start",gap:R.TRAIL_GAP,height:R.HISTOGRAM_HEIGHT},children:[o.jsxs(d.Box,{"data-testid":"histogram-chart",...bt(s,a),style:{flex:"1 1 auto",minWidth:0,height:"100%",display:"flex",flexDirection:"column",gap:An},children:[o.jsxs(d.Box,{"data-testid":"histogram-drawing",role:t===void 0?void 0:"img","aria-label":t,"aria-describedby":t===void 0?void 0:m.describedBy,"aria-hidden":t===void 0?!0:void 0,style:{flex:"1 1 auto",minHeight:0,display:"flex",flexDirection:"column",gap:An},children:[o.jsx(d.Box,{"data-testid":"histogram-plot",style:{flex:"1 1 auto",minHeight:0,display:"flex",alignItems:"flex-end",gap:tm},children:e.map((f,b)=>{const v=Math.max(0,f.count),S=l===0?0:v/l*er,w=f.highlighted===!0;return o.jsx(d.Box,{"data-testid":"histogram-bar","data-highlighted":w?"true":"false","aria-hidden":"true",title:f.label,style:{flex:"1 1 0",minWidth:0,height:`${String(S)}%`,minHeight:v>0?rm:0,background:w?xe.ACCENT:Ja,borderRadius:om}},`${f.label}-${String(b)}`)})}),o.jsx(Za,{})]}),o.jsxs(d.Box,{"data-testid":"chart-axis",style:{flex:"0 0 auto",height:em,display:"flex",alignItems:"center",justifyContent:"space-between",gap:Xa},children:[o.jsx(fo,{end:"min",id:m.min,children:r}),o.jsx(fo,{end:"max",id:m.max,children:n})]})]}),o.jsx(Qa,{caption:t,rows:p,testId:"histogram-values"}),Xt(c)&&o.jsx(st,{children:c})]})}function cm({values:e,label:t,minLabel:r,maxLabel:n,busy:a,live:s,trailing:c}){Ce();const i=ct(),m=mt(),l=_a(),p=im(e,i),f=e.map((b,v)=>({id:`point-${String(v)}`,header:m.format(v+1),value:m.format(b)}));return o.jsxs(d.Box,{"data-testid":"sparkline-row","aria-busy":a,style:{display:"flex",alignItems:"center",gap:R.TRAIL_GAP,height:R.SPARKLINE_HEIGHT},children:[o.jsxs(d.Box,{"data-testid":"sparkline-chart",...bt(s,a),style:{flex:"1 1 auto",minWidth:0,display:"flex",alignItems:"center",gap:Xa},children:[o.jsx(fo,{end:"min",id:l.min,children:r}),o.jsxs(d.Box,{"data-testid":"sparkline-drawing",role:t===void 0?void 0:"img","aria-label":t,"aria-describedby":t===void 0?void 0:l.describedBy,"aria-hidden":t===void 0?!0:void 0,style:{flex:"1 1 auto",minWidth:0,display:"flex",flexDirection:"column",color:Ja},children:[o.jsx(d.Box,{component:"svg","data-testid":"sparkline-plot",width:"100%",height:R.CONTROL_HEIGHT,viewBox:`0 0 ${String(yt)} ${String(yt)}`,preserveAspectRatio:"none",fill:"none",stroke:"currentColor",strokeWidth:am,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false",style:{display:"block",overflow:"visible"},children:p!==null&&o.jsx("polyline",{points:p,vectorEffect:"non-scaling-stroke"})}),o.jsx(Za,{})]}),o.jsx(fo,{end:"max",id:l.max,children:n})]}),o.jsx(Qa,{caption:t,rows:f,testId:"sparkline-values"}),Xt(c)&&o.jsx(st,{children:c})]})}function lm({name:e,percentile:t,value:r,rank:n,busy:a,live:s,onClick:c,onDoubleClick:i,onContextMenu:m,onFocus:l,onBlur:p}){Ce();const f=we(),b=ha(),v=u.useId(),S=c,w=S!==void 0,A=Math.min(er,Math.max(0,t)),x=f.percentile(b(Math.round(A))),k=C=>{S!==void 0&&S(C,Rt(C))},T=C=>{S!==void 0&&(C.key==="Enter"||C.key===" ")&&(C.preventDefault(),S(C,Rt(C)))};return o.jsxs(d.Box,{"data-testid":"metric-row",role:w?"button":void 0,tabIndex:w?0:void 0,className:w?"cm-row-target":void 0,...bt(s,a),onClick:k,onKeyDown:T,onDoubleClick:i,onContextMenu:m,onFocus:l,onBlur:p,style:{display:"flex",alignItems:"center",gap:R.GUTTER,height:R.ROW_PITCH,cursor:w?"pointer":"default"},children:[o.jsx(d.Box,{component:"span",id:v,"data-testid":"metric-row-name",title:e,className:"cm-chart-value",style:{flex:"1 1 auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e}),o.jsx(d.Progress.Root,{"data-testid":"metric-row-bar",role:"progressbar","aria-labelledby":v,"aria-valuemin":0,"aria-valuemax":er,"aria-valuenow":A,"aria-valuetext":x,title:x,size:Ka,style:{flex:`0 0 ${String(nm)}px`,borderRadius:En,background:xe.SURFACE},children:o.jsx(d.Progress.Section,{"data-testid":"metric-row-fill",value:A,withAria:!1,color:xe.ACCENT,style:{borderRadius:En}})}),o.jsx(d.Box,{component:"span","data-testid":"metric-row-value",className:"cm-chart-value",style:{flex:"0 0 auto"},children:r}),n!==void 0&&o.jsx(wr,{children:n})]})}const $a=u.createContext(!1);function tr({showLabels:e=!1,children:t}){return o.jsx($a.Provider,{value:e,children:t})}function wo(){return u.useContext($a)}const Nn=8,dm=2,ei=1,um=2,mm=3;function pm(e){if(e.fullValue!==void 0)return e.fullValue;if(typeof e.value=="string")return e.value;if(typeof e.value=="number")return String(e.value)}function hm({segment:e,grow:t,index:r}){const{glyph:n,value:a,unit:s,mono:c=!1}=e;let i=null;rr(n)?i=o.jsx(St,{name:n}):nr(n)?i=o.jsx(d.Box,{component:"span","data-letter":n,children:n}):n!=null&&(i=n);const m=pm(e),l=e.fullValue!==void 0,p=r>0?ei:0;return o.jsxs(d.Box,{"data-testid":"compound-segment","data-segment-index":r,"data-grow":t?"true":"false",style:{display:"flex",alignItems:"center",boxSizing:"border-box",flex:t?"1 1 auto":"0 0 auto",minWidth:0,height:R.CONTROL_HEIGHT,paddingBlock:0,paddingInlineStart:i===null?Nn-p:0,paddingInlineEnd:Nn},children:[i!==null&&o.jsx(d.Box,{"data-testid":"compound-segment-slot",style:{flex:"0 0 auto",width:R.GLYPH_SLOT,height:R.GLYPH_SLOT,display:"flex",alignItems:"center",justifyContent:"center",color:xe.CHROME},children:i}),o.jsx(d.Box,{component:"span","data-testid":"compound-segment-value","data-mono":c?"true":"false",title:m,"aria-hidden":l?!0:void 0,style:{flex:t?"1 1 auto":"0 0 auto",minWidth:0,fontFamily:c?"var(--mantine-font-family-monospace)":void 0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",unicodeBidi:"isolate"},children:a}),l&&o.jsx(d.VisuallyHidden,{children:e.fullValue}),s!==void 0&&o.jsx(d.Box,{component:"span","data-testid":"compound-segment-unit",className:"cm-compound-unit",style:{flex:"0 0 auto",marginInlineStart:dm},children:s})]})}function fm(e,t){if(!(t>=um&&t<=mm))return`CompoundRow "${e}" was given ${String(t)} ${t===1?"segment":"segments"}, and it holds two or three. A compound row shows one value together with the parts that belong to it: use PanelField for a single value, and a table or a list of rows for more than three.`}function bm(e,t){if(t!==1)return`CompoundRow "${e}" was given ${String(t)} segments that set grow, and exactly one should. The segment that sets grow takes the box's leftover width and should be the main value, with the rest sized to their content. Using the first segment that sets it, or the leading segment when none does.`}function xm({label:e,segments:t,width:r=R.BODY,trailing:n,busy:a,live:s,onClick:c,onFocus:i,onBlur:m}){Ce();const l=wo(),p=u.useId(),f=t.filter(I=>I.grow===!0).length;ut(fm(e,t.length)),ut(bm(e,f));const b=t.findIndex(I=>I.grow===!0),v=b===-1?0:b,S=c!==void 0,w=Ya(s,a)!=="off",A=S||w,x=S?void 0:p,k=A?void 0:p,T=A||l,C={display:"flex",alignItems:"center",boxSizing:"border-box",flex:l?"1 1 auto":"0 0 auto",width:l?void 0:r,minWidth:0,height:R.CONTROL_HEIGHT,textAlign:"start",cursor:S?"pointer":void 0},h=o.jsxs(o.Fragment,{children:[A&&o.jsx(d.VisuallyHidden,{id:x,children:e}),t.map((I,N)=>o.jsxs(u.Fragment,{children:[N>0&&o.jsx(d.Box,{"data-testid":"compound-row-hairline",className:"cm-compound-seam",style:{flex:"0 0 auto",width:ei,height:R.CONTROL_HEIGHT}}),o.jsx(hm,{segment:I,grow:N===v,index:N})]},N))]});return o.jsxs(d.Box,{"data-testid":"compound-row",style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:R.TRAIL_GAP,height:R.ROW_PITCH},children:[l&&o.jsx(d.Box,{component:"span",id:k,"data-testid":"compound-row-label",title:e,"aria-hidden":A?!0:void 0,className:"cm-row-reading",style:{flex:`0 0 ${R.LABEL_COLUMN}px`,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e}),S?o.jsx(d.UnstyledButton,{type:"button",title:e,"data-testid":"compound-row-box","data-interactive":"true",className:"cm-compound cm-field",...bt(s,a),onClick:c,onFocus:i,onBlur:m,style:C,children:h}):o.jsx(d.Box,{role:"group","aria-label":T?void 0:e,"aria-labelledby":T?p:void 0,title:e,"data-testid":"compound-row-box","data-interactive":"false",className:"cm-compound",...bt(s,a),onFocus:i,onBlur:m,style:C,children:h}),o.jsx(st,{children:n})]})}const gm=R.VALUE_INSET-R.GLYPH_SLOT,In=8,vm="Use arrow keys to change the value",zn=4,Rn=4,wm=R.VALUE_INSET+R.LABEL_COLUMN,Ln={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},ti=u.forwardRef(function(t,r){const{label:n,glyph:a,kind:s,value:c,defaultValue:i,onChange:m,data:l,unit:p,width:f=R.FIELD,bound:b=!1,mixed:v=!1,placeholder:S,pending:w=!1,min:A,max:x,step:k,decimalScale:T,stepHint:C=vm,onScrubStart:h,onScrub:I,onScrubEnd:N,onClick:E,disabled:D=!1,disabledReason:W,readOnly:Q,boundDescription:M,pendingDescription:oe,title:P,style:z,className:j,onKeyDown:G,...L}=t,O=wo(),_=we(),ee=qt(),X=ct(),K=ie.useMediaQuery("(pointer: coarse)"),{ref:ce,width:se}=ie.useElementSize(),[ve,Me]=ie.useUncontrolled({value:c===null?"":c,defaultValue:i,finalValue:"",onChange:m}),Y=s??(l!==void 0?"select":"text"),de=Y==="select",ge=Y==="select"&&l!==void 0,me=Q??(m===void 0&&i===void 0),je=String(ve),ye=S===!0,F=v||ye;let g;v?g=_.mixed:ye?g=je:typeof S=="string"&&(g=S);const H=[];v&&H.push(_.mixed);const $=M??_.fieldBound,Z=oe??_.fieldPending;b&&$!==""&&H.push($),w&&Z!==""&&H.push(Z);const J=go({name:n,enabledTitle:P??n,disabled:D,disabledReason:W,extraDescriptions:H}),{description:ne}=J,ke=Y==="number",Le=h!==void 0||I!==void 0||N!==void 0,Ae=ke&&I===void 0&&!me,Ue=(Le||Ae)&&!D&&!K,pt=F?"":je,Xe=je===""||v?Number.NaN:ee(je),Ge=Ba({value:Number.isNaN(Xe)?null:Xe,display:pt,onCommit:(ae,Re)=>{Me(ae,Re)},parse:ee,min:A,max:x,step:k,decimalScale:T,locked:D||me}),re=Da(Ue,Ve(X),{onStart:ae=>{var Re,Ze;h==null||h(ae),Ae&&((Ze=(Re=Ge.scrub).onStart)==null||Ze.call(Re,ae))},onMove:(ae,Re,Ze)=>{var Pt,Mt;I==null||I(ae,Ze),Ae&&((Mt=(Pt=Ge.scrub).onMove)==null||Mt.call(Pt,ae,Re,Ze))},onEnd:ae=>{var Re,Ze;Ae&&((Ze=(Re=Ge.scrub).onEnd)==null||Ze.call(Re,ae)),N==null||N(ae)}}),ue=ae=>{D||E==null||E(ae)},Se=ae=>{G==null||G(ae),!(E===void 0||D||ae.defaultPrevented)&&(ge||(ae.key==="Enter"||ae.key===" "&&me)&&(ae.preventDefault(),E(ae)))},Ee=(ae,Re)=>{Me(ae,Re)};let Te=null;rr(a)?Te=o.jsx(St,{name:a,filled:b}):nr(a)?Te=o.jsx(d.Box,{component:"span","data-letter":a,style:{fontSize:"var(--mantine-font-size-sm)",lineHeight:1},children:a}):a!=null&&(Te=a);const Ne=o.jsxs(o.Fragment,{children:[o.jsxs(d.Box,{"data-testid":"panel-field-slot",className:"cm-scrub-slot","data-scrub":Ue?"true":void 0,...re,style:{position:"relative",flex:"0 0 auto",width:R.GLYPH_SLOT,height:R.GLYPH_SLOT},children:[Te,w&&o.jsx(d.Box,{"data-testid":"panel-field-pending",style:{position:"absolute",insetInlineStart:0,bottom:0,width:Rn,height:Rn,background:xe.ACCENT}})]}),O&&o.jsx(d.Box,{component:"span","data-testid":"panel-field-label","aria-hidden":"true",style:{flex:"1 1 auto",minWidth:0,marginInlineStart:zn,fontSize:"var(--mantine-font-size-sm)",lineHeight:1,color:xe.CHROME,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:n})]}),Je=de&&Te===null&&!w&&!O,Pe=p!==void 0,Ie=Pe||de?o.jsxs(o.Fragment,{children:[Pe&&o.jsx(d.Box,{component:"span","data-testid":"panel-field-unit",style:{flex:"0 0 auto",lineHeight:1,paddingInlineEnd:de?0:In},children:o.jsx("span",{ref:ce,style:{display:"inline-block"},children:p})}),de&&o.jsx(d.Box,{component:"span","data-testid":"panel-field-chevron",style:{flex:"0 0 auto",display:"flex",alignItems:"center",justifyContent:"center",width:R.GLYPH_SLOT},children:o.jsx(ir,{})})]}):void 0;let ze=Pe?zn:0;ze+=de?R.GLYPH_SLOT:In;let De;Pe&&se>0?De=Math.ceil(se)+ze:Pe?De=`calc(${String(p.length)}ch + ${String(ze)}px)`:de&&(De=ze);const et=Ue?"auto":"none",tt={"data-testid":"panel-field-value",...L,ref:r,className:j,label:n,description:ne,placeholder:g,disabled:D,readOnly:me,onClick:ue,onKeyDown:Se,variant:de?"outlined":"filled",leftSection:Je?void 0:Ne,leftSectionWidth:O?wm:R.VALUE_INSET,leftSectionPointerEvents:et,leftSectionProps:{style:{insetInlineStart:0,justifyContent:"flex-start",paddingInlineStart:gm}},rightSection:Ie,rightSectionWidth:De,rightSectionPointerEvents:"none",rightSectionProps:{style:{insetInlineEnd:0,justifyContent:"flex-end",fontSize:"var(--mantine-font-size-sm)",color:xe.CHROME}},styles:{wrapper:{marginTop:0,marginBottom:0,"--input-placeholder-color":v?xe.VALUE:xe.PLACEHOLDER},label:Ln,description:Ln},wrapperProps:{title:J.title,"data-testid":"panel-field","data-kind":Y,"data-bound":b?"true":void 0,"data-mixed":v?"true":void 0,"data-pending":w?"true":void 0,"data-disabled":D?"true":void 0},style:{flex:f==="fill"?"1 1 auto":"0 0 auto",width:f==="fill"?"100%":f,minWidth:0,...z}};if(ke){const ae=C===""?{}:{"aria-description":C};return o.jsx(d.TextInput,{...tt,...Ge.inputProps,...ae,onKeyDown:Ge.inputProps.onKeyDown,classNames:{wrapper:"cm-number-field"}})}return ge?o.jsx(d.Select,{...tt,data:l,value:F||je===""?null:je,onChange:ae=>{Ee(ae??"")}}):o.jsx(d.TextInput,{...tt,value:F?"":je,onChange:ae=>{Ee(ae.currentTarget.value,ae)}})}),ym=2,km=R.BODY+R.TRAIL_GAP,Pn=(R.CAPTION_ROW-R.CONTROL_HEIGHT-14)/3;function Sm(e){return u.Children.toArray(e).flatMap(t=>u.isValidElement(t)&&t.type===u.Fragment?u.Children.toArray(t.props.children):[t])}function Mn(e,t){return u.isValidElement(e)&&e.key!==null?e.key:`field-row-${String(t)}`}function Ho(e){if(u.isValidElement(e)&&typeof e.props.label=="string")return e.props.label}function Uo(e){return u.isValidElement(e)&&e.type===ti?u.cloneElement(e,{width:"fill"}):e}const jm=u.forwardRef(function({children:t,trailing:r,groupLabel:n,labelPosition:a="above",role:s,style:c,"aria-label":i,"aria-labelledby":m,...l},p){Ce();const f=wo(),b=Sm(t),v=b.length,S=v===1?"field":"fields";ut(v===0||v>ym?`FieldRow was given ${String(v)} ${S}, and it holds one field, or two side by side. A row with none is an empty 32px gap, and a third field has nowhere to go in the 240px panel the row is measured for. Put the extra fields on rows of their own.`:void 0);const w=n??i,x=s??(w!==void 0||m!==void 0?"group":void 0),k=Xt(r);if(f&&a==="inline"&&v>1)return o.jsx(d.Box,{ref:p,"data-testid":"field-row-labeled","data-fields":v,role:x,"aria-label":w,"aria-labelledby":m,...l,style:{display:"flex",flexDirection:"column",...c},children:b.map((E,D)=>{const W=Ho(E);return o.jsxs(d.Box,{"data-testid":"field-row","data-labeled":"true",style:{display:"flex",alignItems:"center",height:R.ROW_PITCH},children:[o.jsx(d.Box,{component:"span","data-testid":"field-row-label",title:W,className:"cm-row-reading",style:{flex:`0 0 ${String(R.LABEL_COLUMN)}px`,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:W}),o.jsx(d.Box,{"data-testid":"field-row-slot","data-width":"fill",style:{display:"flex",alignItems:"center",flex:"1 1 auto",minWidth:0,marginInlineStart:R.GUTTER,marginInlineEnd:R.TRAIL_GAP},children:o.jsx(tr,{showLabels:!1,children:Uo(E)})}),o.jsx(st,{children:D===0?r:null})]},Mn(E,D))})});const T=f&&a==="above",C=v<=1,h=C&&!k;let I=R.FIELD;C&&(I=h?km:R.BODY);const N=h?void 0:R.TRAIL_GAP;return o.jsxs(d.Box,{ref:p,"data-testid":"field-row","data-fields":v,role:x,"aria-label":w,"aria-labelledby":m,...l,"data-captions":T?"true":void 0,style:{display:"flex",alignItems:T?"flex-end":"center",boxSizing:"border-box",height:T?R.CAPTION_ROW:R.ROW_PITCH,paddingBlockEnd:T?Pn:void 0,...c},children:[b.map((E,D)=>o.jsx(d.Box,{"data-testid":"field-row-slot","data-width":I,style:{display:"flex",flexDirection:T?"column":void 0,alignItems:T?"stretch":"center",gap:T?Pn:void 0,flex:`0 0 ${String(I)}px`,minWidth:0,marginInlineStart:D===0?void 0:R.GUTTER,marginInlineEnd:D===v-1?N:void 0},children:T?o.jsxs(o.Fragment,{children:[o.jsx(d.Box,{component:"span","aria-hidden":"true","data-testid":"field-row-caption",className:"cm-caption",title:Ho(E),children:Ho(E)}),o.jsx(tr,{showLabels:!1,children:Uo(E)})]}):Uo(E)},Mn(E,D))),o.jsx(st,{children:r})]})}),so=16,On=4,Tm=20,Dn=220,Bn=2,Fn=new RegExp("\\p{Sentence_Terminal}","u"),Cm=/[.!?]/u,Hn=/\s/u;function Am(e){const t=Array.from(e);let r=0,n=0,a=0;for(;n<t.length;){if(!Fn.test(t[n])){n+=1;continue}let c=n;for(;c+1<t.length&&Fn.test(t[c+1]);)c+=1;const i=t[c+1],m=Cm.test(t[c]);n=c+1,(!m||i===void 0||Hn.test(i))&&(r+=1,a=n)}return t.slice(a).some(c=>!Hn.test(c))?r+1:r}function Em(e){return Array.from(e).length}function Nm(e,t){if(e!=="reading"||typeof t!="string")return;const r=Em(t);if(r>Dn)return`ProseBlock was given a reading of ${String(r)} characters, and a reading is at most ${String(Dn)} characters. Shorten it, or it has stopped being a reading and become an explanation.`;const n=Am(t);if(n>Bn)return`ProseBlock was given a reading of ${String(n)} sentences, and a reading is at most ${String(Bn)} sentences. Delete any sentence that repeats what is already on screen, and move the rest into an InfoCircle.`}function Im(e,t){if(!(t===void 0||e==="runRecord"))return`ProseBlock was given onDetails on the "${e}" shape, and it belongs to "runRecord". A reading and a departure line carry no chevron, so the handler is ignored.`}function zm({variant:e,children:t,onDetails:r,busy:n,live:a}){Ce();const s=we(),c=ct(),i=u.useId(),m=u.useId();ut(Nm(e,t)),ut(Im(e,r));const l=bt(a,n);if(e==="reading")return o.jsx(d.Text,{...l,"data-testid":"prose-block","data-variant":e,className:"cm-prose",children:t});if(e==="departure")return o.jsxs(d.Box,{...l,role:"note","aria-labelledby":`${m} ${i}`,"data-testid":"prose-block","data-variant":e,style:{display:"flex",alignItems:"flex-start",gap:On},children:[o.jsx(d.VisuallyHidden,{component:"span",id:m,children:s.departure}),o.jsx(d.Box,{"aria-hidden":!0,"data-testid":"prose-block-warning",style:{flex:"0 0 auto",inlineSize:so,blockSize:so,display:"flex",alignItems:"center",justifyContent:"center",color:xe.WARNING},children:o.jsx(he,{name:"warning",size:R.GLYPH})}),o.jsx(d.Text,{span:!0,id:i,"data-testid":"prose-block-text",className:"cm-chart-value",children:t})]});const p=typeof t=="string"?t:void 0;return o.jsxs(d.Box,{...l,"data-testid":"prose-block","data-variant":e,style:{display:"flex",alignItems:"center",gap:On,blockSize:Tm},children:[o.jsx(d.Text,{span:!0,truncate:"end",id:i,title:p,"data-testid":"prose-block-text",className:"cm-prose",style:{flex:"1 1 auto",minInlineSize:0},children:t}),r!==void 0&&o.jsx(d.UnstyledButton,{type:"button",title:s.details,"aria-label":s.details,"aria-describedby":i,"data-testid":"prose-block-details",className:"cm-focus-outside",onClick:r,style:{flex:"0 0 auto",inlineSize:so,blockSize:so,borderRadius:5,display:"inline-flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",background:"transparent",color:"var(--cm-icon-secondary)",cursor:"pointer"},children:o.jsx(Ra,{open:!1,rtl:Ve(c)})})]})}const Vo=4,Rm=4,Lm=`polygon(0 calc(100% - ${Rm}px), 100% 0, 100% 100%, 0 100%)`,Pm=96,Mm=`linear-gradient(to right, ${xe.SURFACE}, ${xe.ACCENT})`,Om={sqrt:"scaleSqrt",linear:"scaleLinear",log:"scaleLog"},Un={flex:"0 0 auto",whiteSpace:"nowrap"},Dm="var(--cm-icon-secondary)";function Bm({min:e,max:t,label:r,variant:n="size",gradient:a,scale:s,busy:c,live:i,onScaleClick:m,trailing:l}){Ce();const p=we(),f=ct(),b=u.useId(),v=n==="color",S=s===void 0?void 0:Om[s],w=S===void 0?void 0:p[S],A=`${b}-label`,x=`${b}-min`,k=`${b}-max`,T=`${b}-scale`,C=[r===void 0?void 0:A,x,k,w===void 0?void 0:T].filter(N=>N!==void 0);let h=null;S!==void 0&&w!==void 0&&(m===void 0?h=o.jsx(d.Box,{"data-testid":"ramp-row-scale","aria-hidden":"true",title:w,style:{flex:"0 0 auto",width:R.TRAIL,height:R.CONTROL_HEIGHT,display:"flex",alignItems:"center",justifyContent:"center",color:xe.CHROME},children:o.jsx(St,{name:S})}):h=o.jsx(Pa,{label:w,icon:o.jsx(St,{name:S}),onClick:m}));const I=Xt(l)?l:h;return o.jsxs(d.Box,{"data-testid":"ramp-row","data-variant":n,"data-scale":s,style:{display:"flex",alignItems:"center",gap:Vo,height:R.ROW_PITCH},children:[o.jsxs(d.Box,{"data-testid":"ramp-row-figure",role:"img","aria-labelledby":C.join(" "),...bt(i,c),style:{flex:"1 1 auto",minWidth:0,display:"flex",alignItems:"center",gap:Vo},children:[r!==void 0&&o.jsx(d.VisuallyHidden,{"data-testid":"ramp-row-a11y-label",id:A,children:r}),o.jsx(d.Text,{span:!0,id:x,"data-testid":"ramp-row-min",className:"cm-chart-text",style:Un,children:e}),o.jsx(d.Box,{"data-testid":"ramp-row-ramp","data-variant":n,"aria-hidden":"true",style:{flex:"1 1 auto",minWidth:Pm,height:R.GLYPH,boxSizing:"border-box",background:v?a??Mm:Dm,borderRadius:v?"var(--mantine-radius-xs)":void 0,border:v?`1px solid ${xe.BORDER}`:void 0,clipPath:v?void 0:Lm,...Dl(f)}}),o.jsx(d.Text,{span:!0,id:k,"data-testid":"ramp-row-max",className:"cm-chart-text",style:Un,children:t}),w!==void 0&&o.jsx(d.VisuallyHidden,{"data-testid":"ramp-row-a11y-scale",id:T,children:w})]}),o.jsx(d.Box,{style:{flex:"0 0 auto",display:"flex",marginInlineStart:R.TRAIL_GAP-Vo},children:o.jsx(st,{children:I})})]})}const Fm=R.GUTTER,Hm=`${String(R.TOGGLE_PITCH)}px`,Um=2;function Vm({label:e,checked:t,defaultChecked:r,onChange:n,control:a="checkbox",trailing:s,disabled:c=!1,disabledReason:i,bound:m=!1,boundDescription:l,onFocus:p,onBlur:f,"aria-expanded":b,"aria-controls":v}){const S=we(),[w,A]=ie.useUncontrolled({value:t,defaultValue:r,finalValue:!1,onChange:n}),x=N=>{A(N.currentTarget.checked,N)},k={root:{flex:"1 1 auto",minWidth:0},body:{alignItems:"center",minWidth:0},labelWrapper:{minWidth:0},label:{display:"block",height:R.TOGGLE_PITCH,paddingInlineStart:Fm,paddingBlock:0,fontSize:"var(--mantine-font-size-sm)",lineHeight:Hm,color:c?xe.DISABLED:xe.VALUE,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},T=l??S.fieldBound,C=go({name:e,enabledTitle:e,disabled:c,disabledReason:i,extraDescriptions:m?[T]:void 0}),h={title:C.title},I=m?o.jsx(d.Box,{component:"span","data-testid":"toggle-row-bound",style:{flex:"0 0 auto",display:"inline-flex",alignItems:"center",color:xe.CHROME},children:o.jsx(St,{name:"attribute",filled:!0})}):null;return o.jsxs(d.Box,{"data-testid":"toggle-row","data-control":a,"data-checked":w?"true":"false","data-disabled":c?"true":void 0,"data-bound":m?"true":void 0,style:{display:"flex",alignItems:"center",boxSizing:"border-box",gap:R.TRAIL_GAP,height:R.TOGGLE_PITCH},children:[a==="switch"?o.jsx(d.Switch,{"data-testid":"toggle-row-control",label:e,checked:w,disabled:c,"aria-describedby":C.describedBy,"aria-expanded":b,"aria-controls":v,onChange:x,onFocus:p,onBlur:f,wrapperProps:h,styles:k}):o.jsx(d.Checkbox,{variant:"neutral","data-testid":"toggle-row-control",label:e,checked:w,disabled:c,"aria-describedby":C.describedBy,"aria-expanded":b,"aria-controls":v,onChange:x,onFocus:p,onBlur:f,wrapperProps:h,styles:k}),C.description!==void 0&&o.jsx(d.VisuallyHidden,{id:C.describedBy,children:C.description}),I,o.jsx(st,{children:s})]})}function Gm({children:e,label:t,labelledBy:r}){const n=u.Children.toArray(e).length,a=n===1?"row":"rows";return ut(n<Um?`ToggleRowGroup was given ${String(n)} ${a}, and it holds two or more. A single checkbox on a row of its own interrupts a column of rows to say one bit: put it in the trailing slot of the row it modifies, or make it one tile of a group of icon buttons. Rendering it anyway.`:void 0),o.jsx(d.Box,{role:"group","aria-label":r===void 0?t:void 0,"aria-labelledby":r,"data-testid":"toggle-row-group","data-rows":n,style:{display:"flex",flexDirection:"column"},children:e})}function qm(e="dark"){return d.useComputedColorScheme(e)}const Wm={xs:d.rem(4),sm:d.rem(8),md:d.rem(16),lg:d.rem(24),xl:d.rem(32)},Ym={HEIGHT:24,FONT_SIZE:11,CONTROL_PADDING:8,SECTION_GAP:4};exports.ALIGNMENT_MATRIX_VALUES=co;exports.ActionRow=Zu;exports.AdvancedButton=Pa;exports.AlignmentMatrix=lu;exports.COMPACT_SIZING=Ym;exports.ColorPickerPanel=hr;exports.ComboInput=Fd;exports.CompactColorInput=_l;exports.CompoundRow=xm;exports.ContextMenu=Kd;exports.ControlGroup=$l;exports.ControlSection=nd;exports.DEFAULT_GRADIENT_STOP_COLOR=wa;exports.DataRow=Qu;exports.DataRowHeader=_u;exports.DataTable=gd;exports.FIELD_GLYPH_NAMES=_n;exports.FIELD_LETTERS=$n;exports.FieldGlyph=St;exports.FieldRow=jm;exports.GradientEditor=Ad;exports.HelpButton=Eu;exports.HistogramRow=sm;exports.InfoCircle=La;exports.InlineRename=xr;exports.LabelsProvider=tc;exports.MANTINE_SPACING=Wm;exports.MAX_ALPHA_HEX=dr;exports.MAX_OPACITY_PERCENT=ur;exports.MenuCheckItem=Xd;exports.MetricRow=lm;exports.ModalFooter=Jd;exports.NavRail=Ru;exports.PANEL_GRID=R;exports.PANEL_INK=xe;exports.POPOUT_GAP=Zn;exports.POPOUT_NESTED_GAP=Qn;exports.POPOUT_Z_INDEX_BASE=Wo;exports.PageList=hu;exports.PageRow=Ua;exports.PanelField=ti;exports.PanelLabelsProvider=tr;exports.Popout=zt;exports.PopoutButton=Jl;exports.PopoutManager=za;exports.PopoutRegion=zl;exports.ProseBlock=zm;exports.QuickActions=Du;exports.RailButton=Lu;exports.RampRow=Bm;exports.RankChip=wr;exports.ResetButton=od;exports.ResizeHandle=pu;exports.ResultRow=bu;exports.SWATCH_COLORS_HEXA=va;exports.ScrollArea=Nd;exports.SearchInput=Vd;exports.SecondaryToolbar=Uu;exports.SegmentedControl=Id;exports.ShortcutSheet=Vu;exports.SparklineRow=cm;exports.SplitButton=Ld;exports.Toast=Fa;exports.ToastProvider=tu;exports.ToggleIconButton=Pd;exports.ToggleRow=Vm;exports.ToggleRowGroup=Gm;exports.ToggleWithContent=Rd;exports.ToolButton=Wa;exports.ToolGroup=Ku;exports.Toolbar=Wu;exports.TooltipShortcut=ru;exports.TrailingSlot=st;exports.Tree=Tu;exports.TreeItem=qa;exports.UI_GLYPH_NAMES=js;exports.UiGlyph=he;exports.VariablePill=Wd;exports.compactBrandColors=qn;exports.compactColors=Wn;exports.compactDarkColors=Gn;exports.compactGlobalCss=ba;exports.compactTheme=ul;exports.compactThemeOverride=ga;exports.createColorStop=Gt;exports.createCompactTheme=xa;exports.createDefaultGradientStops=Ma;exports.defaultLabels=cr;exports.ensureCompactStyles=Wt;exports.getActivationMeta=Rt;exports.isFieldGlyphName=rr;exports.isFieldLetter=nr;exports.isLightColor=ka;exports.isRtl=Ve;exports.isValidHex=ya;exports.mixHex=Sa;exports.moveTreeItem=yu;exports.normalizeHexa=$e;exports.opacityToAlphaHex=xo;exports.parseAlphaFromHexa=mr;exports.parseHexaColor=ml;exports.parseLocaleNumber=pa;exports.renameTreeItem=Ga;exports.toHexaColor=pl;exports.useActualColorScheme=qm;exports.useCollator=fa;exports.useDirection=ct;exports.useLabels=we;exports.useLocale=Lt;exports.useNumberFormatter=mt;exports.useNumberParser=qt;exports.useOrdinalFormatter=ha;exports.usePanelLabels=wo;exports.usePopoutManager=Ll;exports.usePopoutRegion=Aa;exports.useToast=ou;