@graphty/compact-mantine 0.9.33 → 0.9.34
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/README.md +1 -1
- package/dist/index.cjs +796 -228
- package/dist/index.d.cts +1151 -70
- package/dist/index.d.ts +1151 -70
- package/dist/index.js +9898 -6886
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -1,44 +1,48 @@
|
|
|
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"),Fr=require("react-dom"),We=require("@tanstack/react-table"),Yn=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)",ACCENT_GRAPHIC:"var(--cm-graphic-brand)",ON_SOLID:"var(--cm-text-onsolid)",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)",DANGER_TEXT:"var(--cm-text-danger)",WARNING_TEXT:"var(--cm-text-warning)",SUCCESS_TEXT:"var(--cm-text-success)",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)"},Kn=["#ffffff","#b3b3b3","#8c8c8c","#757575","#444444","#444444","#383838","#2c2c2c","#1e1e1e","#111111"],Xn=["#e5f4ff","#bde3ff","#80caff","#4db5ff","#7cc4f8","#30a8ff","#0d99ff","#007be5","#0c8ce9","#0a6dc2"],Jn=["#f1fbd3","#e2f7a8","#d3f47c","#c9ef5a","#c4f23a","#aedf10","#97c800","#588300","#c4f23a","#aedf10"],Zn={...d.DEFAULT_THEME.colors,dark:Kn,brand:Xn,graphty:Jn};function mi(){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 pi(){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 hi={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"}}},fi={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"}}},bi={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",$=e=>`var(--cm-${e})`,Ko={bg:Ke,hover:$("bg-transparent-hover"),pressed:$("bg-transparent-pressed"),color:$("text"),pressedColor:$("text"),outline:Ke,shortcut:$("text-secondary"),disabled:"text"},Hr={...Ko,outline:$("border-translucent"),disabled:"outline"};function $t(e,t=$("text-onsolid"),r=$("text-onsolid-secondary")){return{bg:$(e),hover:$(`${e}-hover`),pressed:$(`${e}-pressed`),color:t,pressedColor:r,outline:Ke,shortcut:r,disabled:"solid"}}const xi=`light-dark(${$("text-onsolid-secondary")}, ${$("text-oninverse")})`,Ur={filled:$t("bg-brand",$("text-onbrand"),$("text-onbrand-secondary")),danger:$t("bg-danger"),success:$t("bg-success"),inverse:{...$t("bg-inverse",$("text-oninverse"),xi)},default:Hr,outline:Hr,subtle:Ko,"danger-outline":{...Ko,color:$("text-danger"),pressedColor:$("text-danger"),outline:$("border-danger"),shortcut:$("text-danger"),disabled:"outline"},light:{bg:$("bg-selected"),hover:$("bg-selected-hover"),pressed:$("bg-selected-pressed"),color:$("text-onselected"),pressedColor:$("text-onselected"),outline:Ke,shortcut:$("text-onselected"),disabled:"text"}},gi=new Set(["danger","danger-outline","inverse","success","default","outline","subtle"]);function Qn(e,t){return e==null||e===t||e==="brand"}function vi(e,t,r){const n=e??"filled";if(n==="filled"&&t==="red")return Ur.danger;const a=Ur[n];if(a)return gi.has(n)||Qn(t,r)?a:void 0}const wi={solid:{bg:$("bg-disabled"),color:$("text-ondisabled"),outline:Ke},outline:{bg:Ke,color:$("text-disabled"),outline:$("border-disabled")},text:{bg:Ke,color:$("text-disabled"),outline:Ke}};function yi(e,t,r){const n=vi(e,t,r);if(!n)return{};const a=wi[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 Vr={bg:Ke,hover:$("bg-transparent-hover"),pressed:$("bg-transparent-pressed"),color:$("icon"),outline:Ke},ki={subtle:Vr,default:{...Vr,outline:$("border-translucent"),disabledOutline:$("border-disabled")},light:{bg:$("bg-selected"),hover:$("bg-selected-hover"),pressed:$("bg-selected-pressed"),color:$("icon-brand"),outline:Ke},filled:{bg:$("bg-brand"),hover:$("bg-brand-hover"),pressed:$("bg-brand-pressed"),color:$("text-onbrand"),outline:Ke,disabledBg:$("bg-disabled"),disabledColor:$("icon-ondisabled")},joined:{bg:$("bg-secondary"),hover:$("bg-pressed"),pressed:$("bg-pressed"),color:$("icon"),outline:Ke,disabledBg:$("bg-secondary")}},Si=new Set(["gray","dark"]);function Ti(e,t,r){const n=e??"subtle",a=ki[n],s=n==="subtle"||n==="default"||n==="joined";return!a||!(Qn(t,r)||s&&Si.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 ji={Button:d.Button.extend({defaultProps:{size:"sm",loaderProps:{size:16,children:u.createElement(mi)}},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(hi,t==null?void 0:t.size),...yi(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(fi,t==null?void 0:t.size),...Ti(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(pi)},classNames:{root:"cm-close-button"},vars:(e,t)=>({root:pe(bi,t==null?void 0:t.size)})})},Ci=Object.freeze(Object.defineProperty({__proto__:null,buttonComponentExtensions:ji},Symbol.toStringTag,{value:"Module"})),Gr={slider:"cm-color-slider",sliderOverlay:"cm-color-slider-track",thumb:"cm-color-thumb"};function Ai(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 Ei={ColorSwatch:d.ColorSwatch.extend({classNames:{root:"cm-chit",alphaOverlay:"cm-chit-alpha",shadowOverlay:"cm-chit-shadow"},vars:(e,t)=>({root:Ai(t)})}),HueSlider:{defaultProps:{classNames:Gr}},AlphaSlider:{defaultProps:{classNames:Gr}}},Ni=Object.freeze(Object.defineProperty({__proto__:null,colorComponentExtensions:Ei},Symbol.toStringTag,{value:"Module"})),qr="M5 8.5L7.5 11L11.5 5",Ii="M5 8H11",zi="M5 8H10.5";function Ri({indeterminate:e,...t}){const r=e===!0,n=r?Ii:qr,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?zi:qr,pathLength:12,strokeLinecap:"round",strokeLinejoin:"round",shapeRendering:a})]})}const uo=new WeakSet;function Li(e){const t=e.currentTarget;uo.delete(t),!(e.button!==0||t.matches(":disabled, [data-disabled]"))&&(t.click(),uo.add(t))}function Pi(e){uo.delete(e.currentTarget)&&e.stopPropagation()}function Wr(e){uo.delete(e.currentTarget)}const mo=new WeakMap;function Mi(e){const t=e.currentTarget;if(mo.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(),mo.set(t,r))}function Oi(e){const t=mo.get(e.currentTarget);mo.delete(e.currentTarget),t&&e.target instanceof Node&&t.contains(e.target)&&e.preventDefault()}const Di={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"}}},Bi={compactSize:"sm",sizes:{xs:{"--checkbox-size":"12px"},sm:{"--checkbox-size":"16px"},md:{"--checkbox-size":"20px"},lg:{"--checkbox-size":"24px"},xl:{"--checkbox-size":"28px"}}},Fi={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"}}},Yr={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"}}},Hi={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"}}},Ui={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"},Vi={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"},Gi={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"},Kr={root:"cm-slider",track:"cm-slider-track",bar:"cm-slider-bar",thumb:"cm-slider-thumb",mark:"cm-slider-mark",markLabel:"cm-slider-mark-label"},qi={root:"cm-sc",control:"cm-sc-control",input:"cm-sc-input",label:"cm-sc-label",innerLabel:"cm-sc-inner",indicator:"cm-sc-indicator"},Wi={SegmentedControl:d.SegmentedControl.extend({defaultProps:{size:"sm",withItemsBorders:!1,transitionDuration:0,onMouseDown:Mi,onClickCapture:Oi},vars:(e,t)=>({root:pe(Hi,t==null?void 0:t.size)}),classNames:qi}),Checkbox:d.Checkbox.extend({defaultProps:{size:"sm",icon:Ri},vars:(e,t)=>({root:pe(Bi,t==null?void 0:t.size)}),classNames:Ui}),Switch:d.Switch.extend({defaultProps:{size:"sm",withThumbIndicator:!1},vars:(e,t)=>({root:pe(Di,t==null?void 0:t.size)}),classNames:Gi}),Slider:d.Slider.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:pe(Yr,t==null?void 0:t.size)}),classNames:Kr}),Radio:d.Radio.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:pe(Fi,t==null?void 0:t.size)}),classNames:Vi}),RangeSlider:d.RangeSlider.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:pe(Yr,t==null?void 0:t.size)}),classNames:Kr})},Yi=Object.freeze(Object.defineProperty({__proto__:null,controlComponentExtensions:Wi},Symbol.toStringTag,{value:"Module"})),Ki={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"}}},Xi={compactSize:"sm",sizes:{xs:{"--avatar-size":"16px"},sm:{"--avatar-size":"24px"},md:{"--avatar-size":"32px"},lg:{"--avatar-size":"40px"},xl:{"--avatar-size":"48px"}}},Ji={compactSize:"sm",sizes:{xs:{"--ti-size":"16px"},sm:{"--ti-size":"24px"},md:{"--ti-size":"32px"},lg:{"--ti-size":"40px"},xl:{"--ti-size":"48px"}}},Zi={compactSize:"sm",sizes:{xs:{"--indicator-size":"7px"},sm:{"--indicator-size":"9px"},md:{"--indicator-size":"11px"},lg:{"--indicator-size":"13px"},xl:{"--indicator-size":"15px"}}},Qi={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"}}},_i={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 U(e,t,r){return{light:e,dark:t,figma:r}}const $i={bg:U("#ffffff","#2c2c2c","--color-bg"),"bg-secondary":U("#f5f5f5","#383838","--color-bg-secondary"),"bg-hover":U("#f5f5f5","#383838","--color-bg-hover"),"bg-pressed":U("#e6e6e6","#444444","--color-bg-pressed"),"bg-tertiary":U("#e6e6e6","#444444","--color-bg-tertiary"),"bg-secondary-hover":U("#e6e6e6","#444444","--color-bg-secondary-hover"),"bg-secondary-pressed":U("#d9d9d9","#757575","--color-bg-secondary-pressed"),"bg-transparent-hover":U("#0000000d","#ffffff0d","--color-bg-transparent-hover"),"bg-transparent-pressed":U("#0000001a","#ffffff1a","--color-bg-transparent-pressed"),"bg-selected":U("#e5f4ff","#394360","--color-bg-selected"),"bg-selected-hover":U("#bde3ff","#4a5878","--color-bg-selected-hover"),"bg-selected-secondary":U("#f2f9ff","#32394d","--color-bg-selected-secondary"),"bg-selected-pressed":U("#80caff","#394360","--color-bg-selected-pressed"),"bg-brand":U("#0d99ff","#0c8ce9","--color-bg-brand"),"bg-brand-hover":U("#007be5","#0a6dc2","--color-bg-brand-hover"),"bg-brand-pressed":U("#0768cf","#105cad","--color-bg-brand-pressed"),"bg-disabled":U("#d9d9d9","#757575","--color-bg-disabled"),"bg-menu":U("#1e1e1e","#1e1e1e","--color-bg-menu"),"bg-tooltip":U("#1e1e1e","#1e1e1e","--color-bg-tooltip"),"bg-toolbar":U("#2c2c2c","#2c2c2c","--color-bg-toolbar"),"bg-inverse":U("#2c2c2c","#ffffff","--color-bg-inverse"),"bg-inverse-hover":U("#383838","#f5f5f5","--color-bg-inverse-hover"),"bg-inverse-pressed":U("#444444","#e6e6e6","--color-bg-inverse-pressed"),"bg-danger":U("#f24822","#e03e1a","--color-bg-danger"),"bg-danger-hover":U("#dc3412","#c4381c","--color-bg-danger-hover"),"bg-danger-pressed":U("#bd2915","#963323","--color-bg-danger-pressed"),"bg-success":U("#14ae5c","#198f51","--color-bg-success"),"bg-success-hover":U("#009951","#078348","--color-bg-success-hover"),"bg-success-pressed":U("#008043","#0a5c35","--color-bg-success-pressed"),"bg-warning":U("#ffcd29","#f3c11b","--color-bg-warning"),"bg-component-tertiary":U("#f1e5ff","#473956","--color-bg-component-tertiary"),"bg-mode-switcher":U("#f5f5f5","#444444","--color-bgtoolbarmodeswitcher"),"bg-mode-switcher-hover":U("#e6e6e6","#383838","--color-bgtoolbarmodeswitcher-hover"),"bg-info":U("#e5f4ff","#394360","--color-bg-info"),text:U("#000000e5","#ffffff","--color-text"),"text-secondary":U("#00000080","#ffffffb2","--color-text-secondary"),"text-tertiary":U("#0000004d","#ffffff66","--color-text-tertiary"),"text-disabled":U("#0000004d","#ffffff66","--color-text-disabled"),"text-brand":U("#007be5","#7cc4f8","--color-text-brand"),"text-onbrand":U("#ffffff","#ffffff","--color-text-onbrand"),"text-onbrand-secondary":U("#ffffffcc","#ffffffcc","--color-text-onbrand-secondary"),"text-ondisabled":U("#ffffff","#2c2c2c","--color-text-ondisabled"),"text-oninverse":U("#ffffffe5","#000000e5","--color-text-oninverse"),"text-component":U("#8638e5","#d1a8ff","--color-text-component"),"text-danger":U("#dc3412","#fca397","--color-text-danger"),"text-warning":U("#a65900","#f7d15f"),"text-success":U("#008043","#79d297"),"text-menu":U("#ffffff","#ffffff","--color-text-menu"),"text-menu-secondary":U("#ffffffb2","#ffffffb2","--color-text-menu-secondary"),"text-menu-disabled":U("#ffffff66","#ffffff66","--color-text-menu-disabled"),"bg-menu-page":U("#ffffff","#1e1e1e"),"text-menu-page":U("#000000e5","#ffffff"),"text-menu-page-secondary":U("#0000008c","#ffffffb2"),"text-menu-page-disabled":U("#0000004d","#ffffff66"),"border-menu-page":U("#e6e6e6","#383838"),icon:U("#000000e5","#ffffff","--color-icon"),"icon-secondary":U("#00000080","#ffffffb2","--color-icon-secondary"),"icon-tertiary":U("#0000004d","#ffffff66","--color-icon-tertiary"),"icon-brand":U("#007be5","#7cc4f8","--color-icon-brand"),"icon-disabled":U("#0000004d","#ffffff66","--color-icon-disabled"),"icon-ondisabled":U("#ffffff","#2c2c2c","--color-icon-ondisabled"),"icon-component-tertiary":U("#c5b2dc","#7f699b","--color-icon-component-tertiary"),border:U("#e6e6e6","#444444","--color-border"),"border-strong":U("#2c2c2c","#ffffffe5","--color-border-strong"),"border-selected":U("#0d99ff","#0c8ce9","--color-border-selected"),"border-selected-strong":U("#007be5","#7cc4f8","--color-border-selected-strong"),"border-disabled":U("#e6e6e6","#444444","--color-border-disabled"),"border-danger":U("#ffc7c2","#864537","--color-border-danger"),"border-danger-strong":U("#dc3412","#fca397","--color-border-danger-strong"),"border-translucent":U("#0000001a","#ffffff1a","--color-bordertranslucent"),"border-translucent-strong":U("#00000033","#ffffff33","--color-bordertranslucentstrong"),"control-icon-outline":U("#0000001a","#0000001a","--color-controliconoutline"),"control-knob-off-outline":U("#00000033","#00000033","--color-controlknoboffoutline"),"border-menu":U("#383838","#383838","--color-border-menu"),scrollbar:U("#b3b3b380","#b3b3b380","--color-scrollbar"),"text-highlight":U("#0d99ff66","#0d99ff66","--color-texthighlight"),"modal-backdrop":U("#00000080","#00000080","--color-modalbackdrop"),"field-edge":U("transparent","transparent"),"field-edge-hover":U("#e6e6e6","#444444"),"segment-edge":U("#e6e6e6","#444444"),"text-onsolid":U("#ffffff","#ffffff"),"text-onsolid-secondary":U("#ffffffcc","#ffffffcc"),"text-onselected":U("var(--cm-text-brand)","var(--cm-text-brand)"),"graphic-brand":U("var(--cm-bg-brand)","var(--cm-bg-brand)")},fe=e=>`var(--mantine-primary-color-${e})`,rt=(e,t,r)=>`color-mix(in srgb, ${e} ${t}%, ${r})`,es={"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")}},ts={"bg-brand":{light:"#97c800",dark:"#c4f23a"},"bg-brand-hover":{light:"#86b200",dark:"#aedf10"},"bg-brand-pressed":{light:"#7aa600",dark:"#94be0e"},"bg-selected":{light:"#f1fbd3",dark:"#4a542f"},"bg-selected-hover":{light:"#e2f7a8",dark:"#566330"},"bg-selected-secondary":{light:"#f8fde9",dark:"#3e442e"},"bg-selected-pressed":{light:"#d3f47c",dark:"#4a542f"},"bg-info":{light:"#f1fbd3",dark:"#4a542f"},"text-brand":{light:"#588300",dark:"#c4f23a"},"text-onbrand":{light:"#14161f",dark:"#111111"},"text-onbrand-secondary":{light:"#14161fcc",dark:"#111111cc"},"text-onselected":{light:"#14161f",dark:"#c4f23a"},"icon-brand":{light:"#588300",dark:"#c4f23a"},"graphic-brand":{light:"#588300",dark:"#c4f23a"},"border-selected":{light:"#588300",dark:"#c4f23a"},"border-selected-strong":{light:"#588300",dark:"#c4f23a"},"text-highlight":{light:"#c4f23a99",dark:"#c4f23a66"}},os={"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"},"text-danger":{light:"#c4381c",dark:"#fca397"},"bg-danger":{light:"#bd2915",dark:"#963323"},"bg-success":{light:"#008043",dark:"#0a5c35"}},ir={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)"]}},rs="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)",ns=/rgba\([^)]*\)/;function _n(e){const{light:t,dark:r}=ir[e],n=(a,s)=>a.replace(ns,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 as={"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)"},Xo='"Inter Variable", "Inter", ui-sans-serif, system-ui, -apple-system, "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica Neue", sans-serif',$n='"Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace',Ht={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 G(e){const t=Ht[e];return`font-size: ${t.fontSize}px; line-height: ${t.lineHeight}px; font-weight: ${t.fontWeight}; letter-spacing: ${t.letterSpacing};`}const is={xs:"9px",sm:"11px",md:"13px",lg:"15px",xl:"24px"},ss={xs:"14px",sm:"16px",md:"22px",lg:"25px",xl:"32px"},cs={xs:"4px",sm:"8px",md:"8px",lg:"12px",xl:"16px"},ls={xs:"2px",sm:"5px",md:"5px",lg:"13px",xl:"13px"},ds={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 us(){const e=[];for(const[t,r]of Object.entries($i))e.push(`--cm-${t}: ${xo(r)};`);for(const t of Object.keys(ir))e.push(`--cm-elevation-${t}: ${_n(t)};`);e.push(`--cm-elevation-toast: ${rs};`);for(const[t,r]of Object.entries(as))e.push(`--cm-${t}: ${r};`);return e.push(`--cm-font-family: ${Xo};`,`--cm-font-family-mono: ${$n};`),e.join(`
|
|
2
|
-
`)}function
|
|
3
|
-
`)}function
|
|
4
|
-
`)}function
|
|
5
|
-
`)}function xo({light:e,dark:t}){return e===t?e:`light-dark(${e}, ${t})`}const fs={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-onselected)"}},bs={sm:{"--cm-text-fw":String(Ht.body.fontWeight),"--cm-text-ls":Ht.body.letterSpacing},xs:{"--cm-text-fw":String(Ht.caption.fontWeight),"--cm-text-ls":Ht.caption.letterSpacing}},xs={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)"}},gs={Text:d.Text.extend({classNames:{root:"cm-text"},vars:(e,t)=>({root:bs[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(Ki,t==null?void 0:t.size),...(t==null?void 0:t.radius)===void 0?{"--badge-radius":"5px"}:{},...t!=null&&t.color?{}:{...fs[(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(_i,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(Xi,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(Ji,t==null?void 0:t.size),...(t==null?void 0:t.radius)===void 0?{"--ti-radius":"5px"}:{},...t!=null&&t.color?{}:xs[(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(Zi,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)","--indicator-text-color":"var(--cm-text-onbrand)"}}})}),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(Qi,t==null?void 0:t.size)})})},vs=Object.freeze(Object.defineProperty({__proto__:null,displayComponentExtensions:gs},Symbol.toStringTag,{value:"Module"})),ws={compactSize:"sm",sizes:{xs:{"--loader-size":"14px"},sm:{"--loader-size":"16px"},md:{"--loader-size":"24px"},lg:{"--loader-size":"30px"},xl:{"--loader-size":"38px"}}},ys={compactSize:"sm",sizes:{xs:{"--progress-size":"2px"},sm:{"--progress-size":"4px"},md:{"--progress-size":"6px"},lg:{"--progress-size":"8px"},xl:{"--progress-size":"10px"}}},ks={label:{fontSize:9}},Ss="9999px",Ts={root:"cm-loader"},js={root:"cm-progress",section:"cm-progress-section",label:"cm-progress-label"},Cs={root:"cm-ring-progress",curve:"cm-ring-curve",label:"cm-ring-progress-label"},As={Loader:d.Loader.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:pe(ws,t==null?void 0:t.size)}),classNames:Ts}),Progress:d.Progress.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:{...pe(ys,t==null?void 0:t.size),...(t==null?void 0:t.radius)===void 0&&{"--progress-radius":Ss}}}),styles:ks,classNames:js}),RingProgress:d.RingProgress.extend({classNames:Cs})},Es=Object.freeze(Object.defineProperty({__proto__:null,feedbackComponentExtensions:As},Symbol.toStringTag,{value:"Module"})),Jo=1e3,It=1100,Ns=It+100,ea=0,ta=0,oa=["sizeSmallest","sizeLargest","width","opacity","attribute","scaleSqrt","scaleLinear","scaleLog"],ra=["N","E","W","D","K"],Is=["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"],na={viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"};function aa(e){return 16/e}const He={fill:"currentColor",stroke:"none"},zs={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"})},Rs={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,...na,strokeWidth:aa(r),"aria-hidden":"true",focusable:"false","data-glyph":e,"data-filled":t?"true":"false",style:{flex:"0 0 auto",display:"block"},children:zs[e](t)})}function he({name:e,size:t=R.GLYPH}){return o.jsx("svg",{width:t,height:t,...na,strokeWidth:aa(t),"aria-hidden":"true",focusable:"false","data-glyph":e,style:{flex:"0 0 auto",display:"block"},children:Rs[e]})}function sr(e){return typeof e=="string"&&oa.includes(e)}function cr(e){return typeof e=="string"&&ra.includes(e)}const ia=8,Ls=2*ia,po=4,Gt=6;function go(e){const{reference:t}=e.elements;return t instanceof Element?{anchor:(t.closest(".cm-input-wrapper")??t).getBoundingClientRect(),reference:t.getBoundingClientRect()}:null}function sa(e){const{floating:t}=e.elements,r=go(e),n=getComputedStyle(t).direction==="rtl",a=t.querySelector("[data-checked]")??t.querySelector('[aria-selected="true"]');if(!r)return{mainAxis:po,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+po,alignmentAxis:i(0)};const m=s.top-(a.getBoundingClientRect().top-t.getBoundingClientRect().top+t.scrollTop),l=t.ownerDocument.documentElement.clientHeight-Gt,p=s.top>=Gt&&s.bottom<=l,f=p?Math.max(m,Gt):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(ia)}}function ca(e){var r;const t=((r=go(e))==null?void 0:r.anchor.width)??e.rects.reference.width;e.elements.floating.style.minWidth=`${String(t+Ls)}px`}function la(e){var r;const t=((r=go(e))==null?void 0:r.anchor.width)??e.rects.reference.width;e.elements.floating.style.minWidth=`${String(t)}px`}function da(e){const t=go(e);if(!t)return{mainAxis:po,alignmentAxis:0};const{anchor:r,reference:n}=t,a=getComputedStyle(e.elements.floating).direction==="rtl";return{mainAxis:r.bottom-n.bottom+po,alignmentAxis:a?n.right-r.right:r.left-n.left}}const Ps={fn:e=>({x:e.x,y:e.y})};function lr(){return{position:"bottom-start",offset:sa,middlewares:{flip:!1,shift:{crossAxis:!0,padding:Gt,limiter:Ps},size:{apply:ca}},width:"max-content",transitionProps:{duration:0},zIndex:It}}function Ms(){return{position:"bottom-start",offset:da,middlewares:{flip:!0,shift:{padding:Gt},size:{apply:la}},width:"max-content",transitionProps:{duration:0},zIndex:It}}function Ao(e){const{reference:t}=e.elements;return t instanceof Element&&t.closest(".cm-select")!==null}function Os(){const e=lr(),t=r=>{const n=!Ao(r);return{mainAxis:n,crossAxis:n}};return{...e,offset:(r=>Ao(r)?sa(r):da(r)),middlewares:{...e.middlewares,flip:t,size:{apply:r=>{Ao(r)?ca(r):la(r)}}}}}const Xr="data-cm-modality";let Jr=!1;function Zr(){if(Jr||typeof document>"u")return;Jr=!0;const e=document.documentElement,t=r=>n=>{n.isTrusted&&e.getAttribute(Xr)!==r&&e.setAttribute(Xr,r)};document.addEventListener("pointerdown",t("pointer"),!0),document.addEventListener("keydown",t("keyboard"),!0)}const Ds=500;let Qr=!1;function _r(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 Eo(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 Bs(){if(Qr||typeof document>"u")return;Qr=!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=_r(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;Eo(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=_r(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(),Eo(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>Ds?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)){Eo(i,c,A);return}}},!0)}function ua(){return o.jsx("span",{className:"cm-menu-row-check","aria-hidden":"true",children:o.jsx(he,{name:"check",size:16})})}function ma({option:e}){return o.jsxs(o.Fragment,{children:[o.jsx(ua,{}),o.jsx("span",{className:"cm-listbox-label",children:e.label??e.value})]})}function dr(){return o.jsx("span",{className:"cm-field-caret","aria-hidden":"true",children:o.jsx(he,{name:"caretDown",size:10})})}const Fs={"--menu-item-fz":"11px"},No={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"},ho=6;function Hs({availableHeight:e,elements:t}){t.floating.style.maxHeight=`${Math.max(0,Math.floor(e))}px`}const Us={flip:!0,shift:{padding:ho},size:{padding:ho,apply:Hs}},Vs={mainAxis:4,alignmentAxis:-8},Et={duration:0},Zo=1e3,fo=300,pa=8.5,ha=6,Gs=ha-pa/2,qs={tooltip:"cm-tooltip",arrow:"cm-tooltip-arrow"},$r={dropdown:"cm-popover-surface cm-popover",arrow:"cm-popover-arrow"},Ws={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"},Ys={root:"cm-toast",icon:"cm-toast-icon",body:"cm-toast-body",title:"cm-toast-title",description:"cm-toast-description",closeButton:"cm-toast-close"},Ks={root:"cm-scroll-root",viewport:"cm-scroll-viewport",scrollbar:"cm-scroll-scrollbar",thumb:"cm-scroll-thumb",corner:"cm-scroll-corner"},Xs=10,Js=new Set(["Shift","Control","Alt","AltGraph","Meta","CapsLock","Fn","OS"]),Zs=new Set(["cm-overlay-mount","cm-tooltip-mount"]),en=24,Qs=4;let tn=!1,Qo=0,_o=0;function fa(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 ba(e){return e.id?document.querySelector(`[aria-describedby~="${CSS.escape(e.id)}"]`):null}function eo(){fa()&&(Qo=performance.now()+fo);for(const e of document.querySelectorAll(".cm-tooltip")){const t=ba(e);t&&(t.matches(":hover")||t===document.activeElement)&&(e.dataset.cmDismissed="")}}function _s(e){const t=ba(e);return!t||t!==document.activeElement||t.matches(":hover")?!1:!(_o>=Qo-fo&&_o<Qo)&&!fa(e)}function $s(e){_s(e)&&(e.dataset.cmHeld="",globalThis.setTimeout(()=>{delete e.dataset.cmHeld},Zo)),e.dataset.cmSeen=""}function ec(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 tc(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=ec(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 $o(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 zt=typeof ResizeObserver>"u"?null:new ResizeObserver(e=>{for(const{target:t}of e)t.isConnected?$o(t):zt==null||zt.unobserve(t)});let at=null;function ur(){at&&(cancelAnimationFrame(at.frame),at=null)}function on(e,t){if((at==null?void 0:at.menu)===e&&at.direction===t)return;ur();const r=()=>{at&&(e.scrollTop+=t*Qs,at.frame=requestAnimationFrame(r))};at={menu:e,direction:t,frame:requestAnimationFrame(r)}}function oc(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+en){on(t,-1);return}if(t.dataset.cmScrollDown!==void 0&&e.clientY>r.bottom-en){on(t,1);return}}ur()}function er(){if(tn||typeof document>"u")return;tn=!0;const e={capture:!0,passive:!0};document.addEventListener("pointerdown",eo,e),document.addEventListener("wheel",eo,e),document.addEventListener("focusin",()=>{_o=performance.now()},e),document.addEventListener("keydown",t=>{Js.has(t.key)||eo()},e),document.addEventListener("mouseout",t=>{t.relatedTarget||(eo(),ur())}),document.addEventListener("keydown",tc),document.addEventListener("pointermove",oc,{passive:!0}),document.addEventListener("scroll",t=>{t.target instanceof HTMLElement&&t.target.classList.contains("cm-menu")&&$o(t.target)},e),document.addEventListener("animationstart",t=>{!Zs.has(t.animationName)||!(t.target instanceof HTMLElement)||(t.target.classList.contains("cm-tooltip")?$s(t.target):t.target.classList.contains("cm-menu")&&($o(t.target),zt==null||zt.observe(t.target)))})}function Dt(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:Dt("20px","11px","16px"),sm:Dt("24px","11px","16px"),md:Dt("32px","13px","24px"),lg:Dt("36px","15px","25px"),xl:Dt("44px","24px","32px")}},rn={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")}},Io={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")}},rc={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 nn(e){return/\bcolou?r\b/i.test(e)?e:`${e} color`}const mr={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 ${nn(e)}`,colorValue:e=>nn(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`}}},nc="en",tr=u.createContext(mr),or=u.createContext(void 0);function ac(e){return e!==void 0&&e!==""?e:typeof document<"u"&&document.documentElement.lang!==""?document.documentElement.lang:typeof navigator<"u"&&navigator.language!==""?navigator.language:nc}function ic({labels:e,locale:t,children:r}){const n=u.useContext(tr),a=u.useContext(or),s=u.useMemo(()=>({...n,...e}),[n,e]),c=t??a;return o.jsx(or.Provider,{value:c,children:o.jsx(tr.Provider,{value:s,children:r})})}function we(){return u.useContext(tr)}function Pt(){const e=u.useContext(or);return ac(e)}const sc=1234.5,cc="9876543210",lc=9876543210,dc=new Set([" "," "," "," ","'","’"]),uc="−",mc=/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?/iu,an=new Map;function pc(e){var m,l;const t=an.get(e);if(t!==void 0)return t;const r=new Intl.NumberFormat(e).formatToParts(sc),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(lc);Array.from(c).forEach((p,f)=>{s.set(p,cc[f])});const i={decimal:n,digits:s,group:a};return an.set(e,i),i}function xa(e,t){const r=pc(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||dc.has(s))){if(s==="-"||s===uc){n+="-";continue}if(s==="+"){n+="+";continue}if(s==="e"||s==="E"){n+=s;continue}break}}const a=mc.exec(n);return a===null?Number.NaN:Number(a[0])}function mt(e){const t=Pt(),r=JSON.stringify(e??{});return u.useMemo(()=>new Intl.NumberFormat(t,e),[t,r])}function ga(){const e=Pt(),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 va(e){const t=Pt(),r=JSON.stringify(e??{});return u.useMemo(()=>new Intl.Collator(t,e),[t,r])}function Wt(){const e=Pt();return u.useCallback(t=>xa(t,e),[e])}const hc="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",fc="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 bc({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?fc:hc,fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}),o.jsx(d.VisuallyHidden,{children:t.passwordReveal})]})}function xc(e,t){return e==="unstyled"?"none":e==="outlined"||e==="default"?"outlined":e==="filled"?"filled":t}const gc={label:"cm-field-label",description:"cm-field-description",error:"cm-field-error"};function dt(e,t=""){return(r,n)=>{const a=xc(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 vc={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"},sn={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 to(e,t="",r={}){const n=dt(e,t);return(a,s)=>({...n(a,s),...vc,...r})}const zo=u.createElement(dr),wc={comboboxProps:lr(),withScrollArea:!1,renderOption:ma},Ro={comboboxProps:Ms(),withScrollArea:!1,renderOption:ma};function oo(e,t){return er(),{root:{},wrapper:pe(e,t)}}const yc={InputWrapper:d.InputWrapper.extend({classNames:gc}),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:zo,role:"combobox",...wc},vars:(e,t)=>(Zr(),Bs(),oo(gt,t==null?void 0:t.size)),classNames:to("outlined","cm-select")}),NativeSelect:d.NativeSelect.extend({defaultProps:{size:"sm",variant:"outlined",rightSection:zo},vars:(e,t)=>(Zr(),{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(rn,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:bc},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",...Ro},vars:(e,t)=>oo(gt,t==null?void 0:t.size),classNames:to("filled")}),MultiSelect:d.MultiSelect.extend({defaultProps:{size:"sm",variant:"filled",rightSection:zo,...Ro},vars:(e,t)=>oo(Io,t==null?void 0:t.size),classNames:to("filled","cm-pills-field",sn)}),TagsInput:d.TagsInput.extend({defaultProps:{size:"sm",variant:"filled",...Ro},vars:(e,t)=>oo(Io,t==null?void 0:t.size),classNames:to("filled","cm-pills-field",sn)}),PillsInput:d.PillsInput.extend({defaultProps:{size:"sm",variant:"filled"},vars:(e,t)=>({root:{},wrapper:pe(Io,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(rn,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:{...Os()}}),ComboboxTarget:d.Combobox.Target.extend({defaultProps:{withExpandedAttribute:!0}}),InputClearButton:d.InputClearButton.extend({defaultProps:{size:"xs"},vars:(e,t)=>({root:pe(rc,t==null?void 0:t.size)}),classNames:{root:"cm-input-clear cm-focus-outside"}})},kc=Object.freeze(Object.defineProperty({__proto__:null,inputComponentExtensions:yc},Symbol.toStringTag,{value:"Module"})),Sc="cm-tab-label";function Tc(e){if(!u.isValidElement(e))return e;const{className:t,children:r}=e.props;return!(t!=null&&t.split(" ").includes(Sc))||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 jc(e){const{children:t,...r}=e;return o.jsx("button",{...r,children:u.Children.map(t,Tc)})}const Cc={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"}}},Ac={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"}}},Ec={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"}}},Nc={root:"cm-anchor"},Ic={root:"cm-burger cm-focus-outside",burger:"cm-burger-lines"},zc={root:"cm-navlink",label:"cm-navlink-label",description:"cm-navlink-description",section:"cm-navlink-section",body:"cm-navlink-body"},Rc={root:"cm-pagination",control:"cm-pagination-control cm-focus-outside",dots:"cm-pagination-dots"},Lc={root:"cm-stepper",step:"cm-stepper-step",stepIcon:"cm-stepper-icon",stepLabel:"cm-stepper-label",stepDescription:"cm-stepper-description",separator:"cm-stepper-separator"},Pc={root:"cm-tabs",list:"cm-tabs-list",tab:"cm-tab",tabLabel:"cm-tab-label",tabSection:"cm-tab-section",panel:"cm-tabs-panel"},Mc={onMouseDown:Li,onClickCapture:Pi,onMouseLeave:Wr,onKeyDown:Wr,renderRoot:jc},Oc={first:"First page",previous:"Previous page",next:"Next page",last:"Last page"},Dc={Anchor:d.Anchor.extend({defaultProps:{size:"sm",underline:"never"},classNames:Nc}),Burger:d.Burger.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:pe(Ec,t==null?void 0:t.size)}),classNames:Ic}),NavLink:d.NavLink.extend({classNames:zc}),Pagination:d.Pagination.extend({defaultProps:{size:"sm",getControlProps:e=>({"aria-label":Oc[e]})},vars:(e,t)=>({root:pe(Cc,t==null?void 0:t.size)}),classNames:Rc}),Stepper:d.Stepper.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:pe(Ac,t==null?void 0:t.size)}),classNames:Lc}),Tabs:d.Tabs.extend({defaultProps:{variant:"pills",activateTabWithKeyboard:!0,loop:!0},classNames:Pc}),TabsTab:d.Tabs.Tab.extend({defaultProps:Mc})},Bc=Object.freeze(Object.defineProperty({__proto__:null,navigationComponentExtensions:Dc},Symbol.toStringTag,{value:"Module"})),Fc={Menu:d.Menu.extend({defaultProps:{zIndex:It,withInitialFocusPlaceholder:!1,position:"bottom-start",offset:4,loop:!0,trapFocus:!0,transitionProps:Et,middlewares:Us},classNames:(e,t)=>t.variant==="inverse"?{...No,dropdown:`${No.dropdown} cm-menu-inverse`}:No,vars:()=>(er(),{dropdown:Fs})}),MenuSub:d.Menu.Sub.extend({defaultProps:{openDelay:0,closeDelay:0,offset:Vs,floatingStrategy:"fixed",transitionProps:Et,middlewares:{flip:!0,shift:{padding:ho,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:Ns,position:"bottom",offset:Gs,withArrow:!0,arrowSize:pa,openDelay:Zo,closeDelay:fo,transitionProps:Et,events:{hover:!0,focus:!0,touch:!1},middlewares:{flip:!0,shift:{padding:ho}}},classNames:qs,vars:()=>(er(),{tooltip:{}})}),TooltipGroup:d.Tooltip.Group.extend({defaultProps:{openDelay:Zo,closeDelay:fo}}),Popover:d.Popover.extend({defaultProps:{zIndex:It,transitionProps:Et},classNames:$r}),HoverCard:d.HoverCard.extend({defaultProps:{zIndex:It,transitionProps:Et},classNames:$r}),Modal:d.Modal.extend({defaultProps:{centered:!0,withOverlay:!1,transitionProps:Et,closeButtonProps:{"aria-label":"Close"}},classNames:Ws}),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:Ys}),ScrollArea:d.ScrollArea.extend({defaultProps:{type:"hover",scrollHideDelay:0,scrollbarSize:Xs},classNames:Ks})},Hc=Object.freeze(Object.defineProperty({__proto__:null,overlayComponentExtensions:Fc},Symbol.toStringTag,{value:"Module"})),cn=Object.assign({"./buttons.ts":Ci,"./color.ts":Ni,"./controls.ts":Yi,"./display.ts":vs,"./feedback.ts":Es,"./inputs.ts":kc,"./navigation.ts":Bc,"./overlays.ts":Hc});function Uc(){const e={},t={};for(const r of Object.keys(cn).sort())for(const[n,a]of Object.entries(cn[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 Vc=Uc(),Gc="data:font/woff2;base64,d09GMgABAAAAALyAABU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j0Rtfge+SohT0+ShTwFVwhK1KW45QTKfoZNrjU4poyxfT6QTmZlc+GpmMrLLWuHv26eonGfHyrlIqK1kXkTsd6eStxRnuKdSRqBapI1Ffpa5MEY1iOvVVugLU/LBXx6A1CuG6/RzGbhBarFJiuBQvbvkwWJIFSwAUwqV4kWPD5BEGsHNgl0kYMExsoHumATSWF28A8Zt8m6AE9w5Ar/3gsARAIUyvsQEQsFPAAABsAIDuAWgAbwDxK3AV1Mg9NsmPCvFmjM39+cmxXPF4EnoWKsaVX2nwQhAzQ84QJtFHLOZ9XyEdIPQUZJ7mEWV4FzjWEB2HUia6pvsjX/c196Wa/Kcqdtsqql2UbjmGZ4HCzYgVhidjl1XUbVlr3XLXgfYNROYdDBJHYa13NSw58stFXNu+N+t5WGAU1doYgvhRsJmWa/0f4Ys7r6o1nW1LF8pCcxJM0H9YbRjb5gVb1go9Y9/SxF08sf0p8GbuymWEe+zrfrqQc8Rnc8lptIpSPWmoLslM6sWzOZaLyLaco1nYjntDeIpj5e/663Cvs+oZM4Z+HNgvV5U0ktw/VU411pkVh8q/32PH77H8z9qVLwAAAA==",qc="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",Wc=`--cm-field-shadow: none;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("@mantine/core"),l=require("react"),o=require("react/jsx-runtime"),ye=require("@mantine/hooks"),No=require("react-dom"),mt=require("@tanstack/react-table"),ii=require("@tanstack/react-virtual"),D={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},Ie={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)",ACCENT_GRAPHIC:"var(--cm-graphic-brand)",ON_SOLID:"var(--cm-text-onsolid)",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)",DANGER_TEXT:"var(--cm-text-danger)",WARNING_TEXT:"var(--cm-text-warning)",SUCCESS_TEXT:"var(--cm-text-success)",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)"},si=["#ffffff","#b3b3b3","#8c8c8c","#757575","#444444","#444444","#383838","#2c2c2c","#1e1e1e","#111111"],ci=["#e5f4ff","#bde3ff","#80caff","#4db5ff","#7cc4f8","#30a8ff","#0d99ff","#007be5","#0c8ce9","#0a6dc2"],li=["#f1fbd3","#e2f7a8","#d3f47c","#c9ef5a","#c4f23a","#aedf10","#97c800","#588300","#c4f23a","#aedf10"],di={...u.DEFAULT_THEME.colors,dark:si,brand:ci,graphty:li};function ec(){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 tc(){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 oc={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"}}},nc={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"}}},rc={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"}}},ht="transparent",le=e=>`var(--cm-${e})`,Jn={bg:ht,hover:le("bg-transparent-hover"),pressed:le("bg-transparent-pressed"),color:le("text"),pressedColor:le("text"),outline:ht,shortcut:le("text-secondary"),disabled:"text"},Kr={...Jn,outline:le("border-translucent"),disabled:"outline"};function Bo(e,t=le("text-onsolid"),n=le("text-onsolid-secondary")){return{bg:le(e),hover:le(`${e}-hover`),pressed:le(`${e}-pressed`),color:t,pressedColor:n,outline:ht,shortcut:n,disabled:"solid"}}const ac=`light-dark(${le("text-onsolid-secondary")}, ${le("text-oninverse")})`,Yr={filled:Bo("bg-brand",le("text-onbrand"),le("text-onbrand-secondary")),danger:Bo("bg-danger"),success:Bo("bg-success"),inverse:{...Bo("bg-inverse",le("text-oninverse"),ac)},default:Kr,outline:Kr,subtle:Jn,"danger-outline":{...Jn,color:le("text-danger"),pressedColor:le("text-danger"),outline:le("border-danger"),shortcut:le("text-danger"),disabled:"outline"},light:{bg:le("bg-selected"),hover:le("bg-selected-hover"),pressed:le("bg-selected-pressed"),color:le("text-onselected"),pressedColor:le("text-onselected"),outline:ht,shortcut:le("text-onselected"),disabled:"text"}},ic=new Set(["danger","danger-outline","inverse","success","default","outline","subtle"]);function ui(e,t){return e==null||e===t||e==="brand"}function sc(e,t,n){const r=e??"filled";if(r==="filled"&&t==="red")return Yr.danger;const a=Yr[r];if(a)return ic.has(r)||ui(t,n)?a:void 0}const cc={solid:{bg:le("bg-disabled"),color:le("text-ondisabled"),outline:ht},outline:{bg:ht,color:le("text-disabled"),outline:le("border-disabled")},text:{bg:ht,color:le("text-disabled"),outline:ht}};function lc(e,t,n){const r=sc(e,t,n);if(!r)return{};const a=cc[r.disabled];return{"--button-bg":r.bg,"--button-hover":r.hover,"--button-color":r.color,"--button-hover-color":"var(--button-color)","--button-bd":"none","--cm-btn-pressed":r.pressed,"--cm-btn-pressed-color":r.pressedColor,"--cm-btn-outline":r.outline,"--cm-btn-shortcut":r.shortcut,"--cm-btn-disabled-bg":a.bg,"--cm-btn-disabled-color":a.color,"--cm-btn-disabled-outline":a.outline}}const Xr={bg:ht,hover:le("bg-transparent-hover"),pressed:le("bg-transparent-pressed"),color:le("icon"),outline:ht},dc={subtle:Xr,default:{...Xr,outline:le("border-translucent"),disabledOutline:le("border-disabled")},light:{bg:le("bg-selected"),hover:le("bg-selected-hover"),pressed:le("bg-selected-pressed"),color:le("icon-brand"),outline:ht},filled:{bg:le("bg-brand"),hover:le("bg-brand-hover"),pressed:le("bg-brand-pressed"),color:le("text-onbrand"),outline:ht,disabledBg:le("bg-disabled"),disabledColor:le("icon-ondisabled")},joined:{bg:le("bg-secondary"),hover:le("bg-pressed"),pressed:le("bg-pressed"),color:le("icon"),outline:ht,disabledBg:le("bg-secondary")}},uc=new Set(["gray","dark"]);function mc(e,t,n){const r=e??"subtle",a=dc[r],i=r==="subtle"||r==="default"||r==="joined";return!a||!(ui(t,n)||i&&uc.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 ze(e,t){const n=t==null?e.compactSize:String(t);return e.sizes[n]??e.sizes[e.compactSize]}const pc={Button:u.Button.extend({defaultProps:{size:"sm",loaderProps:{size:16,children:l.createElement(ec)}},classNames:{root:"cm-button",inner:"cm-button-inner",label:"cm-button-label",section:"cm-button-section",loader:"cm-button-loader"},vars:(e,t)=>({root:{...ze(oc,t==null?void 0:t.size),...lc(t==null?void 0:t.variant,t==null?void 0:t.color,e==null?void 0:e.primaryColor)}})}),ActionIcon:u.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:{...ze(nc,t==null?void 0:t.size),...mc(t==null?void 0:t.variant,t==null?void 0:t.color,e==null?void 0:e.primaryColor)}})}),ActionIconGroup:u.ActionIconGroup.extend({classNames:{group:"cm-ai-group"}}),CloseButton:u.CloseButton.extend({defaultProps:{size:"sm",icon:l.createElement(tc)},classNames:{root:"cm-close-button"},vars:(e,t)=>({root:ze(rc,t==null?void 0:t.size)})})},hc=Object.freeze(Object.defineProperty({__proto__:null,buttonComponentExtensions:pc},Symbol.toStringTag,{value:"Module"})),Jr={slider:"cm-color-slider",sliderOverlay:"cm-color-slider-track",thumb:"cm-color-thumb"};function fc(e){const t=e.variant==="field",n={};return(t||e.size===void 0)&&(n["--cs-size"]=t?"14px":"16px"),(t||e.radius===void 0)&&(n["--cs-radius"]=t?"2px":"20%"),n}const bc={ColorSwatch:u.ColorSwatch.extend({classNames:{root:"cm-chit",alphaOverlay:"cm-chit-alpha",shadowOverlay:"cm-chit-shadow"},vars:(e,t)=>({root:fc(t)})}),HueSlider:{defaultProps:{classNames:Jr}},AlphaSlider:{defaultProps:{classNames:Jr}}},xc=Object.freeze(Object.defineProperty({__proto__:null,colorComponentExtensions:bc},Symbol.toStringTag,{value:"Module"})),Zr="M5 8.5L7.5 11L11.5 5",gc="M5 8H11",vc="M5 8H10.5";function wc({indeterminate:e,...t}){const n=e===!0,r=n?gc:Zr,a=n?"crispEdges":"geometricPrecision";return o.jsxs("svg",{viewBox:"0 0 16 16",fill:"none","aria-hidden":"true","data-glyph":n?"dash":"check",...t,children:[o.jsx("path",{className:"cm-checkbox-halo",d:r,pathLength:12,strokeLinecap:"round",strokeLinejoin:"round",shapeRendering:a}),o.jsx("path",{className:"cm-checkbox-glyph",d:n?vc:Zr,pathLength:12,strokeLinecap:"round",strokeLinejoin:"round",shapeRendering:a})]})}const en=new WeakSet;function yc(e){const t=e.currentTarget;en.delete(t),!(e.button!==0||t.matches(":disabled, [data-disabled]"))&&(t.click(),en.add(t))}function kc(e){en.delete(e.currentTarget)&&e.stopPropagation()}function Qr(e){en.delete(e.currentTarget)}const tn=new WeakMap;function Sc(e){const t=e.currentTarget;if(tn.delete(t),e.button!==0||!(e.target instanceof Element))return;const n=e.target.closest("label"),r=n==null?void 0:n.htmlFor;if(!r)return;const a=t.ownerDocument.getElementById(r);a instanceof HTMLInputElement&&a.type==="radio"&&!a.disabled&&!a.checked&&(a.click(),tn.set(t,n))}function Ec(e){const t=tn.get(e.currentTarget);tn.delete(e.currentTarget),t&&e.target instanceof Node&&t.contains(e.target)&&e.preventDefault()}const Tc={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"}}},Ac={compactSize:"sm",sizes:{xs:{"--checkbox-size":"12px"},sm:{"--checkbox-size":"16px"},md:{"--checkbox-size":"20px"},lg:{"--checkbox-size":"24px"},xl:{"--checkbox-size":"28px"}}},jc={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"}}},_r={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"}}},Cc={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"}}},Nc={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"},Ic={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"},zc={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"},$r={root:"cm-slider",track:"cm-slider-track",bar:"cm-slider-bar",thumb:"cm-slider-thumb",mark:"cm-slider-mark",markLabel:"cm-slider-mark-label"},Rc={root:"cm-sc",control:"cm-sc-control",input:"cm-sc-input",label:"cm-sc-label",innerLabel:"cm-sc-inner",indicator:"cm-sc-indicator"},Lc={SegmentedControl:u.SegmentedControl.extend({defaultProps:{size:"sm",withItemsBorders:!1,transitionDuration:0,onMouseDown:Sc,onClickCapture:Ec},vars:(e,t)=>({root:ze(Cc,t==null?void 0:t.size)}),classNames:Rc}),Checkbox:u.Checkbox.extend({defaultProps:{size:"sm",icon:wc},vars:(e,t)=>({root:ze(Ac,t==null?void 0:t.size)}),classNames:Nc}),Switch:u.Switch.extend({defaultProps:{size:"sm",withThumbIndicator:!1},vars:(e,t)=>({root:ze(Tc,t==null?void 0:t.size)}),classNames:zc}),Slider:u.Slider.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:ze(_r,t==null?void 0:t.size)}),classNames:$r}),Radio:u.Radio.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:ze(jc,t==null?void 0:t.size)}),classNames:Ic}),RangeSlider:u.RangeSlider.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:ze(_r,t==null?void 0:t.size)}),classNames:$r})},Pc=Object.freeze(Object.defineProperty({__proto__:null,controlComponentExtensions:Lc},Symbol.toStringTag,{value:"Module"})),Mc={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"}}},Oc={compactSize:"sm",sizes:{xs:{"--avatar-size":"16px"},sm:{"--avatar-size":"24px"},md:{"--avatar-size":"32px"},lg:{"--avatar-size":"40px"},xl:{"--avatar-size":"48px"}}},Fc={compactSize:"sm",sizes:{xs:{"--ti-size":"16px"},sm:{"--ti-size":"24px"},md:{"--ti-size":"32px"},lg:{"--ti-size":"40px"},xl:{"--ti-size":"48px"}}},Dc={compactSize:"sm",sizes:{xs:{"--indicator-size":"7px"},sm:{"--indicator-size":"9px"},md:{"--indicator-size":"11px"},lg:{"--indicator-size":"13px"},xl:{"--indicator-size":"15px"}}},Bc={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"}}},Hc={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 W(e,t,n){return{light:e,dark:t,figma:n}}const Uc={bg:W("#ffffff","#2c2c2c","--color-bg"),"bg-secondary":W("#f5f5f5","#383838","--color-bg-secondary"),"bg-hover":W("#f5f5f5","#383838","--color-bg-hover"),"bg-pressed":W("#e6e6e6","#444444","--color-bg-pressed"),"bg-tertiary":W("#e6e6e6","#444444","--color-bg-tertiary"),"bg-secondary-hover":W("#e6e6e6","#444444","--color-bg-secondary-hover"),"bg-secondary-pressed":W("#d9d9d9","#757575","--color-bg-secondary-pressed"),"bg-transparent-hover":W("#0000000d","#ffffff0d","--color-bg-transparent-hover"),"bg-transparent-pressed":W("#0000001a","#ffffff1a","--color-bg-transparent-pressed"),"bg-selected":W("#e5f4ff","#394360","--color-bg-selected"),"bg-selected-hover":W("#bde3ff","#4a5878","--color-bg-selected-hover"),"bg-selected-secondary":W("#f2f9ff","#32394d","--color-bg-selected-secondary"),"bg-selected-pressed":W("#80caff","#394360","--color-bg-selected-pressed"),"bg-brand":W("#0d99ff","#0c8ce9","--color-bg-brand"),"bg-brand-hover":W("#007be5","#0a6dc2","--color-bg-brand-hover"),"bg-brand-pressed":W("#0768cf","#105cad","--color-bg-brand-pressed"),"bg-disabled":W("#d9d9d9","#757575","--color-bg-disabled"),"bg-menu":W("#1e1e1e","#1e1e1e","--color-bg-menu"),"bg-tooltip":W("#1e1e1e","#1e1e1e","--color-bg-tooltip"),"bg-toolbar":W("#2c2c2c","#2c2c2c","--color-bg-toolbar"),"bg-inverse":W("#2c2c2c","#ffffff","--color-bg-inverse"),"bg-inverse-hover":W("#383838","#f5f5f5","--color-bg-inverse-hover"),"bg-inverse-pressed":W("#444444","#e6e6e6","--color-bg-inverse-pressed"),"bg-danger":W("#f24822","#e03e1a","--color-bg-danger"),"bg-danger-hover":W("#dc3412","#c4381c","--color-bg-danger-hover"),"bg-danger-pressed":W("#bd2915","#963323","--color-bg-danger-pressed"),"bg-success":W("#14ae5c","#198f51","--color-bg-success"),"bg-success-hover":W("#009951","#078348","--color-bg-success-hover"),"bg-success-pressed":W("#008043","#0a5c35","--color-bg-success-pressed"),"bg-warning":W("#ffcd29","#f3c11b","--color-bg-warning"),"bg-component-tertiary":W("#f1e5ff","#473956","--color-bg-component-tertiary"),"bg-mode-switcher":W("#f5f5f5","#444444","--color-bgtoolbarmodeswitcher"),"bg-mode-switcher-hover":W("#e6e6e6","#383838","--color-bgtoolbarmodeswitcher-hover"),"bg-info":W("#e5f4ff","#394360","--color-bg-info"),text:W("#000000e5","#ffffff","--color-text"),"text-secondary":W("#00000080","#ffffffb2","--color-text-secondary"),"text-tertiary":W("#0000004d","#ffffff66","--color-text-tertiary"),"text-disabled":W("#0000004d","#ffffff66","--color-text-disabled"),"text-brand":W("#007be5","#7cc4f8","--color-text-brand"),"text-onbrand":W("#ffffff","#ffffff","--color-text-onbrand"),"text-onbrand-secondary":W("#ffffffcc","#ffffffcc","--color-text-onbrand-secondary"),"text-ondisabled":W("#ffffff","#2c2c2c","--color-text-ondisabled"),"text-oninverse":W("#ffffffe5","#000000e5","--color-text-oninverse"),"text-component":W("#8638e5","#d1a8ff","--color-text-component"),"text-danger":W("#dc3412","#fca397","--color-text-danger"),"text-warning":W("#b86200","#f7d15f","--color-text-warning"),"text-success":W("#009951","#7cd797","--color-text-success"),"text-menu":W("#ffffff","#ffffff","--color-text-menu"),"text-menu-secondary":W("#ffffffb2","#ffffffb2","--color-text-menu-secondary"),"text-menu-disabled":W("#ffffff66","#ffffff66","--color-text-menu-disabled"),"bg-menu-page":W("#ffffff","#1e1e1e"),"text-menu-page":W("#000000e5","#ffffff"),"text-menu-page-secondary":W("#00000080","#ffffffb2"),"text-menu-page-disabled":W("#0000004d","#ffffff66"),"border-menu-page":W("#e6e6e6","#383838"),icon:W("#000000e5","#ffffff","--color-icon"),"icon-secondary":W("#00000080","#ffffffb2","--color-icon-secondary"),"icon-tertiary":W("#0000004d","#ffffff66","--color-icon-tertiary"),"icon-brand":W("#007be5","#7cc4f8","--color-icon-brand"),"icon-disabled":W("#0000004d","#ffffff66","--color-icon-disabled"),"icon-ondisabled":W("#ffffff","#2c2c2c","--color-icon-ondisabled"),"icon-component-tertiary":W("#c5b2dc","#7f699b","--color-icon-component-tertiary"),border:W("#e6e6e6","#444444","--color-border"),"border-strong":W("#2c2c2c","#ffffffe5","--color-border-strong"),"border-selected":W("#0d99ff","#0c8ce9","--color-border-selected"),"border-selected-strong":W("#007be5","#7cc4f8","--color-border-selected-strong"),"border-disabled":W("#e6e6e6","#444444","--color-border-disabled"),"border-danger":W("#ffc7c2","#864537","--color-border-danger"),"border-danger-strong":W("#dc3412","#fca397","--color-border-danger-strong"),"border-translucent":W("#0000001a","#ffffff1a","--color-bordertranslucent"),"border-translucent-strong":W("#00000033","#ffffff33","--color-bordertranslucentstrong"),"control-icon-outline":W("#0000001a","#0000001a","--color-controliconoutline"),"control-knob-off-outline":W("#00000033","#00000033","--color-controlknoboffoutline"),"border-menu":W("#383838","#383838","--color-border-menu"),scrollbar:W("#b3b3b380","#b3b3b380","--color-scrollbar"),"text-highlight":W("#0d99ff66","#0d99ff66","--color-texthighlight"),"modal-backdrop":W("#00000080","#00000080","--color-modalbackdrop"),"field-edge":W("transparent","transparent"),"field-edge-hover":W("#e6e6e6","#444444"),"segment-edge":W("#e6e6e6","#444444"),"swatch-ring":W("#0000001a","#ffffff1a"),"tab-edge":W("transparent","transparent"),"tree-parent-selected":W("var(--cm-bg-selected)","var(--cm-bg-selected)"),"tree-child-hover":W("var(--cm-bg-selected-hover)","var(--cm-bg-selected-hover)"),"chart-bar-ring":W("transparent","transparent"),"menu-onbrand-secondary":W("var(--cm-text-onbrand-secondary)","var(--cm-text-onbrand-secondary)"),"text-onsolid":W("#ffffff","#ffffff"),"text-onsolid-secondary":W("#ffffffcc","#ffffffcc"),"text-onselected":W("var(--cm-text-brand)","var(--cm-text-brand)"),"graphic-brand":W("var(--cm-bg-brand)","var(--cm-bg-brand)"),"entity-node":W("#0a6fd6","#6cb8f5"),"entity-edge":W("#b84f00","#f59a4a")},Oe=e=>`var(--mantine-primary-color-${e})`,Tt=(e,t,n)=>`color-mix(in srgb, ${e} ${t}%, ${n})`,Vc={"bg-brand":{light:Oe(6),dark:Oe(8)},"bg-brand-hover":{light:Oe(7),dark:Oe(9)},"bg-brand-pressed":{light:Tt(Oe(7),85,"#000000"),dark:Tt(Oe(9),85,"#000000")},"bg-selected":{light:Oe(0),dark:Tt(Oe(8),25,"#2c2c2c")},"bg-selected-hover":{light:Oe(1),dark:Tt(Oe(8),35,"#2c2c2c")},"bg-selected-secondary":{light:Tt(Oe(0),50,"#ffffff"),dark:Tt(Oe(8),15,"#2c2c2c")},"bg-selected-pressed":{light:Oe(2),dark:Tt(Oe(8),25,"#2c2c2c")},"bg-info":{light:Oe(0),dark:Tt(Oe(8),25,"#2c2c2c")},"text-brand":{light:Oe(7),dark:Oe(4)},"icon-brand":{light:Oe(7),dark:Oe(4)},"border-selected":{light:Oe(6),dark:Oe(8)},"border-selected-strong":{light:Oe(7),dark:Oe(4)},"text-highlight":{light:Tt(Oe(6),40,"transparent"),dark:Tt(Oe(6),40,"transparent")}},Gc={"bg-brand":{light:"#97c800",dark:"#c4f23a"},"bg-brand-hover":{light:"#86b200",dark:"#aedf10"},"bg-brand-pressed":{light:"#7aa600",dark:"#94be0e"},"bg-selected":{light:"#f1fbd3",dark:"#4a542f"},"bg-selected-hover":{light:"#e2f7a8",dark:"#566330"},"bg-selected-secondary":{light:"#f8fde9",dark:"#3e442e"},"bg-selected-pressed":{light:"#d3f47c",dark:"#4a542f"},"bg-info":{light:"#f1fbd3",dark:"#4a542f"},"text-brand":{light:"#588300",dark:"#c4f23a"},"text-onbrand":{light:"#14161f",dark:"#111111"},"text-onbrand-secondary":{light:"#14161fcc",dark:"#111111cc"},"text-onselected":{light:"#14161f",dark:"#c4f23a"},"icon-brand":{light:"#588300",dark:"#c4f23a"},"graphic-brand":{light:"#588300",dark:"#c4f23a"},"border-selected":{light:"#588300",dark:"#c4f23a"},"border-selected-strong":{light:"#588300",dark:"#c4f23a"},"text-highlight":{light:"#c4f23a99",dark:"#c4f23a66"}},qc={"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"},"text-danger":{light:"#c4381c",dark:"#fca397"},"bg-danger":{light:"#bd2915",dark:"#963323"},"bg-success":{light:"#008043",dark:"#0a5c35"},"text-warning":{light:"#a65900",dark:"#f7d15f"},"text-success":{light:"#008043",dark:"#7cd797"},"swatch-ring":{light:"#00000073",dark:"#ffffff80"},"chart-bar-ring":{light:"transparent",dark:"#ffffffb2"},"tab-edge":{light:"#00000073",dark:"#ffffff73"},"tree-parent-selected":{light:"var(--cm-bg-selected-hover)",dark:"var(--cm-bg-selected-hover)"},"tree-child-hover":{light:"var(--cm-bg-selected)",dark:"var(--cm-bg-selected)"},"text-menu-page-secondary":{light:"#0000008c",dark:"#ffffffb2"},"menu-onbrand-secondary":{light:"var(--cm-text-onbrand)",dark:"var(--cm-text-onbrand)"}},fr={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)"]}},Wc="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)",Kc=/rgba\([^)]*\)/;function mi(e){const{light:t,dark:n}=fr[e],r=(a,i)=>a.replace(Kc,s=>i==="light"?`light-dark(${s}, transparent)`:`light-dark(transparent, ${s})`);return[...t.map(a=>r(a,"light")),...n.map(a=>r(a,"dark"))].join(", ")}const Yc={"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)"},Zn='"Inter Variable", "Inter", ui-sans-serif, system-ui, -apple-system, "BlinkMacSystemFont", "Segoe UI", "Roboto", "Helvetica Neue", sans-serif',pi='"Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace',To={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=To[e];return`font-size: ${t.fontSize}px; line-height: ${t.lineHeight}px; font-weight: ${t.fontWeight}; letter-spacing: ${t.letterSpacing};`}const Xc={xs:"9px",sm:"11px",md:"13px",lg:"15px",xl:"24px"},Jc={xs:"14px",sm:"16px",md:"22px",lg:"25px",xl:"32px"},Zc={xs:"4px",sm:"8px",md:"8px",lg:"12px",xl:"16px"},Qc={xs:"2px",sm:"5px",md:"5px",lg:"13px",xl:"13px"},_c={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 $c(){const e=[];for(const[t,n]of Object.entries(Uc))e.push(`--cm-${t}: ${mn(n)};`);for(const t of Object.keys(fr))e.push(`--cm-elevation-${t}: ${mi(t)};`);e.push(`--cm-elevation-toast: ${Wc};`);for(const[t,n]of Object.entries(Yc))e.push(`--cm-${t}: ${n};`);return e.push(`--cm-font-family: ${Zn};`,`--cm-font-family-mono: ${pi};`),e.join(`
|
|
2
|
+
`)}function el(){return Object.entries(qc).map(([e,t])=>`--cm-${e}: ${mn(t)};`).join(`
|
|
3
|
+
`)}function tl(){return Object.entries(Vc).map(([e,t])=>`--cm-${e}: ${mn(t)};`).join(`
|
|
4
|
+
`)}function ol(){return Object.entries(Gc).map(([e,t])=>`--cm-${e}: ${mn(t)};`).join(`
|
|
5
|
+
`)}function mn({light:e,dark:t}){return e===t?e:`light-dark(${e}, ${t})`}const nl={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-onselected)"}},rl={sm:{"--cm-text-fw":String(To.body.fontWeight),"--cm-text-ls":To.body.letterSpacing},xs:{"--cm-text-fw":String(To.caption.fontWeight),"--cm-text-ls":To.caption.letterSpacing}},al={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)"}},il={Text:u.Text.extend({classNames:{root:"cm-text"},vars:(e,t)=>({root:rl[String(t==null?void 0:t.size)]??{}})}),Badge:u.Badge.extend({defaultProps:{size:"sm",variant:"outline"},classNames:{root:"cm-badge"},vars:(e,t)=>({root:{...ze(Mc,t==null?void 0:t.size),...(t==null?void 0:t.radius)===void 0?{"--badge-radius":"5px"}:{},...t!=null&&t.color?{}:{...nl[(t==null?void 0:t.variant)??"outline"],"--badge-bd":"0 solid transparent"}}})}),Pill:u.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:{...ze(Hc,t==null?void 0:t.size),...(t==null?void 0:t.radius)===void 0?{"--pill-radius":"5px"}:{}}})}),Avatar:u.Avatar.extend({defaultProps:{size:"sm",variant:"filled"},classNames:{root:"cm-avatar",placeholder:"cm-avatar-placeholder"},vars:(e,t)=>({root:ze(Oc,t==null?void 0:t.size)})}),AvatarGroup:u.Avatar.Group.extend({defaultProps:{spacing:"7px"}}),ThemeIcon:u.ThemeIcon.extend({defaultProps:{size:"sm"},classNames:{root:"cm-theme-icon"},vars:(e,t)=>({root:{...ze(Fc,t==null?void 0:t.size),...(t==null?void 0:t.radius)===void 0?{"--ti-radius":"5px"}:{},...t!=null&&t.color?{}:al[(t==null?void 0:t.variant)??"filled"]??{}}})}),Indicator:u.Indicator.extend({defaultProps:{size:"sm",withBorder:!0},classNames:{indicator:"cm-indicator"},vars:(e,t)=>({root:{...ze(Dc,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)","--indicator-text-color":"var(--cm-text-onbrand)"}}})}),Card:u.Card.extend({defaultProps:{padding:8,radius:"sm",withBorder:!0},classNames:{root:"cm-card"}}),Kbd:u.Kbd.extend({defaultProps:{size:"sm"},classNames:{root:"cm-kbd"},vars:(e,t)=>({root:ze(Bc,t==null?void 0:t.size)})})},sl=Object.freeze(Object.defineProperty({__proto__:null,displayComponentExtensions:il},Symbol.toStringTag,{value:"Module"})),cl={compactSize:"sm",sizes:{xs:{"--loader-size":"14px"},sm:{"--loader-size":"16px"},md:{"--loader-size":"24px"},lg:{"--loader-size":"30px"},xl:{"--loader-size":"38px"}}},ll={compactSize:"sm",sizes:{xs:{"--progress-size":"2px"},sm:{"--progress-size":"4px"},md:{"--progress-size":"6px"},lg:{"--progress-size":"8px"},xl:{"--progress-size":"10px"}}},dl={label:{fontSize:9}},ul="9999px",ml={root:"cm-loader"},pl={root:"cm-progress",section:"cm-progress-section",label:"cm-progress-label"},hl={root:"cm-ring-progress",curve:"cm-ring-curve",label:"cm-ring-progress-label"},fl={Alert:u.Alert.extend({vars:(e,t)=>({root:(t==null?void 0:t.color)==="yellow"&&t.variant!=="filled"&&t.variant!=="white"?{"--alert-color":"var(--cm-text-warning)"}:{}})}),Loader:u.Loader.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:ze(cl,t==null?void 0:t.size)}),classNames:ml}),Progress:u.Progress.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:{...ze(ll,t==null?void 0:t.size),...(t==null?void 0:t.radius)===void 0&&{"--progress-radius":ul}}}),styles:dl,classNames:pl}),RingProgress:u.RingProgress.extend({classNames:hl})},bl=Object.freeze(Object.defineProperty({__proto__:null,feedbackComponentExtensions:fl},Symbol.toStringTag,{value:"Module"})),Qn=1e3,go=1100,xl=go+100,hi=0,fi=0,pn=255,br=100;function xr(e){return Math.round(Number.parseInt(e,16)/pn*br)}function hn(e){return Math.round(e/br*pn).toString(16).padStart(2,"0")}function gl(e){let t=e.replace("#","");t.length===3?t=`${t.split("").map(i=>i+i).join("")}ff`:t.length===4?t=t.split("").map(i=>i+i).join(""):t.length===6&&(t=`${t}ff`);const n=`#${t.slice(0,6)}`,r=t.slice(6,8),a=xr(r);return{hex:n,opacity:a}}function vl(e,t){const n=e.replace("#",""),r=hn(t);return`#${n}${r}`}function bi(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 wl=224;function vt(e){if(!bi(e))return;let t=e.replace("#","");return t.length<=4&&(t=t.replace(/./g,"$&$&")),t.length===6&&(t+="ff"),`#${t.toUpperCase()}`}function xi(e){const t=vt(e);return t===void 0?!1:[1,3,5].every(n=>Number.parseInt(t.slice(n,n+2),16)>=wl)}function gi(e,t,n){const r=vt(e)??"#000000FF",a=vt(t)??"#000000FF",i=s=>{const c=Number.parseInt(r.slice(s,s+2),16),m=Number.parseInt(a.slice(s,s+2),16);return Math.round(c+(m-c)*n).toString(16).padStart(2,"0")};return`#${i(1)}${i(3)}${i(5)}`.toUpperCase()}const yl="alice blue F0F8FF,antique white FAEBD7,aquamarine 7FFFD4,azure F0FFFF,beige F5F5DC,bisque FFE4C4,black 000000,blanched almond FFEBCD,blue 0000FF,blue violet 8A2BE2,brown A52A2A,burlywood DEB887,cadet blue 5F9EA0,chartreuse 7FFF00,chocolate D2691E,coral FF7F50,cornflower blue 6495ED,cornsilk FFF8DC,crimson DC143C,cyan 00FFFF,dark blue 00008B,dark cyan 008B8B,dark goldenrod B8860B,dark gray A9A9A9,dark green 006400,dark khaki BDB76B,dark magenta 8B008B,dark olive green 556B2F,dark orange FF8C00,dark orchid 9932CC,dark red 8B0000,dark salmon E9967A,dark sea green 8FBC8F,dark slate blue 483D8B,dark slate gray 2F4F4F,dark turquoise 00CED1,dark violet 9400D3,deep pink FF1493,deep sky blue 00BFFF,dim gray 696969,dodger blue 1E90FF,firebrick B22222,floral white FFFAF0,forest green 228B22,gainsboro DCDCDC,ghost white F8F8FF,gold FFD700,goldenrod DAA520,gray 808080,green 008000,green yellow ADFF2F,honeydew F0FFF0,hot pink FF69B4,indian red CD5C5C,indigo 4B0082,ivory FFFFF0,khaki F0E68C,lavender E6E6FA,lavender blush FFF0F5,lawn green 7CFC00,lemon chiffon FFFACD,light blue ADD8E6,light coral F08080,light cyan E0FFFF,light goldenrod yellow FAFAD2,light gray D3D3D3,light green 90EE90,light pink FFB6C1,light salmon FFA07A,light sea green 20B2AA,light sky blue 87CEFA,light slate gray 778899,light steel blue B0C4DE,light yellow FFFFE0,lime 00FF00,lime green 32CD32,linen FAF0E6,magenta FF00FF,maroon 800000,medium aquamarine 66CDAA,medium blue 0000CD,medium orchid BA55D3,medium purple 9370DB,medium sea green 3CB371,medium slate blue 7B68EE,medium spring green 00FA9A,medium turquoise 48D1CC,medium violet red C71585,midnight blue 191970,mint cream F5FFFA,misty rose FFE4E1,moccasin FFE4B5,navajo white FFDEAD,navy 000080,old lace FDF5E6,olive 808000,olive drab 6B8E23,orange FFA500,orange red FF4500,orchid DA70D6,pale goldenrod EEE8AA,pale green 98FB98,pale turquoise AFEEEE,pale violet red DB7093,papaya whip FFEFD5,peach puff FFDAB9,peru CD853F,pink FFC0CB,plum DDA0DD,powder blue B0E0E6,purple 800080,rebecca purple 663399,red FF0000,rosy brown BC8F8F,royal blue 4169E1,saddle brown 8B4513,salmon FA8072,sandy brown F4A460,sea green 2E8B57,seashell FFF5EE,sienna A0522D,silver C0C0C0,sky blue 87CEEB,slate blue 6A5ACD,slate gray 708090,snow FFFAFA,spring green 00FF7F,steel blue 4682B4,tan D2B48C,teal 008080,thistle D8BFD8,tomato FF6347,turquoise 40E0D0,violet EE82EE,wheat F5DEB3,white FFFFFF,white smoke F5F5F5,yellow FFFF00,yellow green 9ACD32",kl=new Map(yl.split(",").map(e=>{const t=e.lastIndexOf(" ");return[`#${e.slice(t+1)}`,e.slice(0,t)]})),Sl=[[15,"red"],[45,"orange"],[70,"yellow"],[170,"green"],[195,"teal"],[235,"blue"],[260,"indigo"],[280,"violet"],[320,"purple"],[350,"pink"],[360,"red"]];function El(e){return e<.1?"black":e>.94?"white":e<.4?"dark gray":e>.75?"light gray":"gray"}function Tl(e,t,n,r,a){return r===e?((t-n)/a+6)%6:r===t?(n-e)/a+2:(e-t)/a+4}function gr(e){var p;const t=vt(e);if(t===void 0)return"";const n=kl.get(t.slice(0,7));if(n!==void 0)return n;const[r,a,i]=[1,3,5].map(g=>Number.parseInt(t.slice(g,g+2),16)/pn),s=Math.max(r,a,i),c=Math.min(r,a,i),m=(s+c)/2,d=s-c;if(d<.1)return El(m);const f=Tl(r,a,i,s,d),h=((p=Sl.find(([g])=>f*60<g))==null?void 0:p[1])??"red";return(h==="orange"||h==="yellow")&&m<.35?"brown":m<.3?`dark ${h}`:m>.75?`light ${h}`:h}function ea(e){return/\bcolou?r\b/i.test(e)?e:`${e} color`}function Al(e){return/^[A-Z][a-z]/.test(e)?e.charAt(0).toLowerCase()+e.slice(1):e}const Vt={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`,fieldNotSet:e=>e===""?"not set":`not set, ${e}`,fieldSet:"set here",colorDrawn:(e,t)=>t===void 0?`drawn ${e}`:`drawn ${e} ${t}`,treeMoved:(e,t,n,r)=>t===null?`${e} moved to the top level, ${n} of ${r}`:`${e} moved into ${t}, ${n} of ${r}`,colorSwatch:"Pick color",colorHexValue:"Color hex value",pickColor:e=>`Pick ${Al(ea(e))}`,colorValue:e=>ea(e),notAColor:e=>`${e} is not a color`,colorRefused:e=>`"${e}" is not a color. Type a color name or a hex code such as 2E8B57.`,colorRefusedKept:(e,t)=>`"${e}" is not a color, so this stays ${t}. Type a color name or a hex code such as 2E8B57.`,colorEditDiscarded:e=>`Edit discarded; this stays ${e}.`,colorWord:gr,colorOpacity:e=>`${e} opacity`,opacity:"Opacity",colorPanelTitle:"Color",colorGenericName:"color",colorStops:"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}`,emptyCell:"No value",sortedBy:e=>e?"sorted descending":"sorted ascending",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",listNoMatch:e=>`No option starts with "${e}"`,passwordReveal:"Show the password",entityNode:"Node",entityEdge:"Edge",fileChoose:"Choose file",fileUrl:"URL",ordinal:(e,t)=>{switch(t){case"one":return`${e}st`;case"two":return`${e}nd`;case"few":return`${e}rd`;default:return`${e}th`}}},vi=["sizeSmallest","sizeLargest","width","opacity","attribute","scaleSqrt","scaleLinear","scaleLog"],wi=["N","E","W","D","K"],jl=["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","upload"],yi={viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"};function ki(e){return 16/e}const rt={fill:"currentColor",stroke:"none"},Cl={sizeSmallest:e=>o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"3",cy:"11.25",r:"1.75",...e?rt:{}}),o.jsx("circle",{cx:"10.25",cy:"9.25",r:"3.75",...e?rt:{}})]}),sizeLargest:e=>o.jsxs(o.Fragment,{children:[o.jsx("circle",{cx:"2.5",cy:"12",r:"1",...e?rt:{}}),o.jsx("circle",{cx:"9.5",cy:"8.5",r:"4.5",...e?rt:{}})]}),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?rt:{}}),o.jsx("polyline",{points:"11,5.5 13.5,8 11,10.5",...e?rt:{}})]}),opacity:e=>e?o.jsx("circle",{cx:"8",cy:"8",r:"5.5",...rt}):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",...rt})]}),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",...rt}),o.jsx("circle",{cx:"5.5",cy:"5.5",r:"0.75",style:{fill:Ie.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",...rt})]}),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"})},Nl={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.jsx("line",{x1:"3",y1:"8",x2:"13",y2:"8"}),caretDown:o.jsx("path",{d:"M4 5.6h8L8 10.4z",...rt}),caretRight:o.jsx("path",{d:"M5.6 4v8L10.4 8z",...rt}),dash:o.jsx("rect",{x:"4",y:"7",width:"8",height:"2",...rt}),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",...rt}),o.jsx("circle",{cx:"8",cy:"8",r:"1",...rt}),o.jsx("circle",{cx:"12",cy:"8",r:"1",...rt})]}),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"}),upload:o.jsxs(o.Fragment,{children:[o.jsx("line",{x1:"8",y1:"10.5",x2:"8",y2:"2.5"}),o.jsx("polyline",{points:"5,5.5 8,2.5 11,5.5"}),o.jsx("path",{d:"M2.5 10.5v2a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1v-2"})]})};function oo({name:e,filled:t=!1,size:n=D.GLYPH}){return o.jsx("svg",{width:n,height:n,...yi,strokeWidth:ki(n),"aria-hidden":"true",focusable:"false","data-glyph":e,"data-filled":t?"true":"false",style:{flex:"0 0 auto",display:"block"},children:Cl[e](t)})}function Ce({name:e,size:t=D.GLYPH}){return o.jsx("svg",{width:t,height:t,...yi,strokeWidth:ki(t),"aria-hidden":"true",focusable:"false","data-glyph":e,style:{flex:"0 0 auto",display:"block"},children:Nl[e]})}function vr(e){return typeof e=="string"&&vi.includes(e)}function wr(e){return typeof e=="string"&&wi.includes(e)}const Si=8,Il=2*Si,on=4,bo=6;function fn(e){const{reference:t}=e.elements;return t instanceof Element?{anchor:(t.closest(".cm-input-wrapper")??t).getBoundingClientRect(),reference:t.getBoundingClientRect()}:null}function Ei(e){const{floating:t}=e.elements,n=fn(e),r=getComputedStyle(t).direction==="rtl",a=Ti(t);if(!n)return{mainAxis:on,alignmentAxis:0};const{anchor:i,reference:s}=n,c=g=>r?s.right-i.right-g:i.left-g-s.left;if(!a)return t.style.maxHeight="",{mainAxis:i.bottom-s.bottom+on,alignmentAxis:c(0)};const m=i.top-(a.getBoundingClientRect().top-t.getBoundingClientRect().top+t.scrollTop),d=t.ownerDocument.documentElement.clientHeight-bo,f=i.top>=bo&&i.bottom<=d&&t.scrollHeight>d-bo,h=f?Math.max(m,bo):m,p=Math.min(m+t.scrollHeight,d);return t.style.maxHeight=f?`${String(p-h)}px`:"",t.scrollTop=h-m,{mainAxis:h-s.bottom,alignmentAxis:c(Si)}}function Ti(e){return e.querySelector("[data-checked]")??e.querySelector('[aria-selected="true"]')}function Ai(e){var r;const t=((r=fn(e))==null?void 0:r.anchor.width)??e.rects.reference.width,n=Ti(e.elements.floating)?Il:0;e.elements.floating.style.minWidth=`${String(t+n)}px`}function ji(e){var n;const t=((n=fn(e))==null?void 0:n.anchor.width)??e.rects.reference.width;e.elements.floating.style.minWidth=`${String(t)}px`}function Ci(e){const t=fn(e);if(!t)return{mainAxis:on,alignmentAxis:0};const{anchor:n,reference:r}=t,a=getComputedStyle(e.elements.floating).direction==="rtl";return{mainAxis:n.bottom-r.bottom+on,alignmentAxis:a?r.right-n.right:n.left-r.left}}const zl={fn:e=>({x:e.x,y:e.y})};function yr(){return{position:"bottom-start",offset:Ei,middlewares:{flip:!1,shift:{crossAxis:!0,padding:bo,limiter:zl},size:{apply:Ai}},width:"max-content",transitionProps:{duration:0},zIndex:go}}function Rl(){return{position:"bottom-start",offset:Ci,middlewares:{flip:!0,shift:{padding:bo},size:{apply:ji}},width:"max-content",transitionProps:{duration:0},zIndex:go}}function Tn(e){const{reference:t}=e.elements;return t instanceof Element&&t.closest(".cm-select")!==null}function Ll(){const e=yr(),t=n=>{const r=!Tn(n);return{mainAxis:r,crossAxis:r}};return{...e,offset:(n=>Tn(n)?Ei(n):Ci(n)),middlewares:{...e.middlewares,flip:t,size:{apply:n=>{Tn(n)?Ai(n):ji(n)}}}}}const _n="data-cm-modality";let ta=!1;function $n(){if(ta||typeof document>"u")return;ta=!0;const e=document.documentElement,t=n=>r=>{r.isTrusted&&e.getAttribute(_n)!==n&&e.setAttribute(_n,n)};document.addEventListener("pointerdown",t("pointer"),!0),document.addEventListener("keydown",t("keyboard"),!0)}function Pl(e){$n(),document.documentElement.setAttribute(_n,"keyboard"),e.focus()}const Ml=10,Ol=500;let oa=!1,{listNoMatch:Ni}=Vt;function Fl(e){Ni=e}function na(e,t){const n=e.closest(".cm-listbox")??e,r=n.querySelector(":scope > .cm-listbox-said");if(r===null){if(t==="")return;const a=n.ownerDocument.createElement("div");a.className="cm-listbox-said cm-visually-hidden",a.setAttribute("role","status"),n.append(a),a.dataset.say=t,requestAnimationFrame(()=>{a.textContent=a.dataset.say??""});return}r.dataset.say=t,r.textContent=t}function ra(e){if(!(e instanceof HTMLInputElement)||e.dataset.expanded===void 0)return null;const t=e.getAttribute("aria-controls");return t?e.ownerDocument.getElementById(t):null}function uo(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 aa(e,t){const n=t.querySelector("[data-combobox-option][data-combobox-active]"),r=e.dataset.inForce;return n!==null||r===void 0?n:[...t.querySelectorAll("[data-combobox-option]")].find(a=>a.getAttribute("value")===r)??null}function An(e,t,n){const r=[...t.querySelectorAll("[data-combobox-option]")],a=r.indexOf(n),i=r.filter(c=>c.dataset.comboboxDisabled===void 0),s=r.indexOf(i[i.length-1]);for(let c=0;c<=r.length+1;c++){const m=r.findIndex(h=>h.dataset.comboboxSelected!==void 0);if(m===a)return;const f=(m===-1?a!==s:m<a)?"ArrowDown":"ArrowUp";e.dispatchEvent(new KeyboardEvent("keydown",{key:f,code:f,bubbles:!0}))}}function Ii(e){e.key==="Escape"&&"expanded"in e.currentTarget.dataset&&(e.preventDefault(),e.stopPropagation())}function ia(){if(oa||typeof document>"u")return;oa=!0;let e="",t=0,n=null,r=null,a=null,i=null,s=null;const c=x=>{const b=x.target;n=x.isTrusted&&b instanceof HTMLInputElement&&b.dataset.expanded===void 0?b:null,n!==null&&(r=null)},m=x=>{const b=x.target;!x.isTrusted||b!==n||(n=null,globalThis.setTimeout(()=>{const v=uo(b);if(!v||!(b instanceof HTMLInputElement)||b.hasAttribute("aria-activedescendant")&&b.dataset.inForce===void 0)return;const T=aa(b,v);if(!T||T.dataset.comboboxDisabled!==void 0||T.dataset.comboboxSelected!==void 0)return;const A=v.closest(".cm-listbox")??v,y=A.scrollTop;An(b,v,T),A.scrollTop=y},0))},d=x=>{for(const b of(x==null?void 0:x.querySelectorAll("[data-combobox-option]"))??[])b.setAttribute("aria-selected",b.dataset.checked!==void 0?"true":"false")};document.addEventListener("keydown",x=>{d(ra(x.target))}),document.addEventListener("mouseover",x=>{const b=x.target instanceof Element?x.target.closest("[role=listbox]"):null,v=b!=null&&b.id?document.querySelector(`[aria-controls="${b.id}"]`):null;d(ra(v))}),document.addEventListener("focusout",x=>{const b=uo(x.target),v=x.relatedTarget;b&&v instanceof Node&&!b.contains(v)&&x.target.click()}),document.addEventListener("keydown",c,!0),document.addEventListener("click",c,!0),document.addEventListener("keydown",m),document.addEventListener("click",m);let f=null;const h=x=>{const b=x.timeStamp;e=b-t>Ol||x.target!==f?x.key:e+x.key,t=Math.max(b,performance.now()),f=x.target},p=(x,b,v,T)=>{var I;const A=e.length>1&&e===e[0].repeat(e.length),y=(A?e[0]:e).toLocaleLowerCase(),k=e.length===1||A?T+1:Math.max(T,0),j=v.length;for(let B=0;B<j;B++){const C=v[(k+B)%j];if((C.textContent??"").trim().toLocaleLowerCase().startsWith(y)){r=null,na(b,""),An(x,b,C),t=performance.now();return}}r=x,na(b,Ni(e)),(I=b.querySelector("[data-combobox-selected]"))==null||I.removeAttribute("data-combobox-selected"),x.removeAttribute("aria-activedescendant"),t=performance.now()},g=x=>[...x.querySelectorAll("[data-combobox-option]")].filter(b=>b.dataset.comboboxDisabled===void 0),S=x=>x.key.length===1&&x.key!==" "&&!x.ctrlKey&&!x.metaKey&&!x.altKey,N=(x,b,v)=>{if(b===null){if(s===null||s!==v)return!1;i=v}else{a==null||a();const T=r===v?null:b.querySelector("[data-combobox-selected]");if(r!==v&&T===null)return!1;T==null||T.click()}return x.preventDefault(),x.stopPropagation(),!0};document.addEventListener("keydown",x=>{if(x.key==="Enter"&&!x.ctrlKey&&!x.metaKey&&!x.altKey&&N(x,uo(x.target),x.target))return;const b=uo(x.target),v=x.target;if(!b||x.ctrlKey||x.metaKey||x.altKey)return;if(x.key==="Tab"){x.preventDefault();return}S(x)||(r=null);const T=g(b);if(T.length!==0){if(x.key==="Home"||x.key==="End"){x.preventDefault(),An(v,b,x.key==="Home"?T[0]:T[T.length-1]);return}S(x)&&(x.preventDefault(),h(x),p(v,b,T,T.findIndex(A=>A.dataset.comboboxSelected!==void 0)))}},!0),document.addEventListener("keydown",x=>{const b=x.target;if(x.defaultPrevented||!S(x)||!(b instanceof HTMLInputElement)||!b.readOnly||b.disabled||b.dataset.expanded!==void 0||b.getAttribute("aria-haspopup")!=="listbox"||!b.closest(".cm-input-wrapper")||(x.preventDefault(),h(x),s===b))return;s=b,b.dispatchEvent(new KeyboardEvent("keydown",{key:"ArrowDown",code:"ArrowDown",bubbles:!0}));const v=T=>{const A=uo(b),y=A?g(A):[];if(A===null||y.length===0){T>0?requestAnimationFrame(()=>{v(T-1)}):(s=null,i=null);return}const k=()=>{var C;if(a!==k)return;a=null,s=null;const j=uo(b);if(j===null){i=null;return}const I=aa(b,j),B=g(j);p(b,j,B,I===null?-1:B.indexOf(I)),i===b&&(i=null,r!==b&&((C=j.querySelector("[data-combobox-selected]"))==null||C.click()))};a=k,globalThis.setTimeout(k,0)};v(Ml)})}function kr(){return o.jsx("span",{className:"cm-menu-row-check","aria-hidden":"true",children:o.jsx(Ce,{name:"check",size:16})})}function zi({option:e}){return o.jsxs(o.Fragment,{children:[o.jsx(kr,{}),o.jsx("span",{className:"cm-listbox-label",children:e.label??e.value})]})}function Sr(){return o.jsx("span",{className:"cm-field-caret","aria-hidden":"true",children:o.jsx(Ce,{name:"caretDown",size:10})})}const Dl={"--menu-item-fz":"11px"},jn={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"},nn=6;function Bl({availableHeight:e,elements:t}){t.floating.style.maxHeight=`${Math.max(0,Math.floor(e))}px`}const Hl={flip:!0,shift:{padding:nn},size:{padding:nn,apply:Bl}},Ul={mainAxis:4,alignmentAxis:-8},mo={duration:0},rn=1e3,an=300,Ri=8.5,Li=6,Vl=Li-Ri/2,Gl={tooltip:"cm-tooltip",arrow:"cm-tooltip-arrow"},sa={dropdown:"cm-popover-surface cm-popover",arrow:"cm-popover-arrow"},ql={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"},Wl={root:"cm-toast",icon:"cm-toast-icon",body:"cm-toast-body",title:"cm-toast-title",description:"cm-toast-description",closeButton:"cm-toast-close"},Kl={root:"cm-scroll-root",viewport:"cm-scroll-viewport",scrollbar:"cm-scroll-scrollbar",thumb:"cm-scroll-thumb",corner:"cm-scroll-corner"},Yl=10,Xl={top:"bottom",bottom:"top",left:"right",right:"left"},Pi=new WeakMap;function Jl(e){return Pi.get(e)??null}function Zl(e){const{reference:t,floating:n}=e.elements;t instanceof Element&&Pi.set(n,t);const[r,a]=e.initialPlacement.split("-"),i=Xl[r]??"top";return{fallbackPlacements:[a?`${i}-${a}`:i]}}const Ql=new Set(["Shift","Control","Alt","AltGraph","Meta","CapsLock","Fn","OS"]),_l=new Set(["cm-overlay-mount","cm-tooltip-mount"]),ca=24,$l=4;let la=!1,er=0,tr=0;const ed=new Set(["Tab","ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","F6"]);let Ho=!1,Mi=!1,fo=null,or=null,to=null,Oi=[],nr=!1;function Er(e){return Array.from(document.querySelectorAll(".cm-tooltip")).some(t=>t!==e&&t.dataset.cmSeen!==void 0&&t.dataset.cmHeld===void 0&&t.dataset.cmStill===void 0&&t.dataset.cmDismissed===void 0)}function io(e){return Jl(e)??(e.id?document.querySelector(`[aria-describedby~="${CSS.escape(e.id)}"]`):null)}const td='[aria-expanded="true"][aria-haspopup]:not([aria-haspopup="false"])';function od(e){var t;return((t=io(e))==null?void 0:t.matches(td))===!0}const sn=':disabled, [aria-disabled="true"], [data-disabled]',Cn=typeof MutationObserver>"u"?null:new MutationObserver(e=>{var t,n;for(const{target:r}of e)if(!(!(r instanceof Element)||!r.matches(sn)))for(const a of((t=r.getAttribute("aria-describedby"))==null?void 0:t.split(/\s+/))??[])(n=document.getElementById(a))==null||n.removeAttribute("data-cm-dismissed")});function Uo(e=null){Er()&&(er=performance.now()+an);for(const t of document.querySelectorAll(".cm-tooltip:not([data-cm-still])")){const n=io(t),r=(n==null?void 0:n.matches(sn))===!0&&e instanceof Node&&n.contains(e);n&&!r&&(n.matches(":hover")||n===document.activeElement)&&(t.dataset.cmDismissed="",n.matches(sn)||Cn==null||Cn.observe(n,{attributes:!0,attributeFilter:["disabled","aria-disabled","data-disabled"]}))}}function nd(e){e.key!=="Escape"||e.isComposing||Er()||document.querySelector(".cm-tooltip")===null||(document.dispatchEvent(new CompositionEvent("compositionstart")),globalThis.setTimeout(()=>{document.dispatchEvent(new CompositionEvent("compositionend"))},0))}function rd(e){const t=io(e);return!t||t!==document.activeElement||t.matches(":hover")?!1:!(tr>=er-an&&tr<er)&&!Er(e)}function Fi(e){e.dataset.cmHeld="",globalThis.setTimeout(()=>{delete e.dataset.cmHeld},rn)}function ad(e){const t=io(e);return!!t&&t!==document.activeElement&&t.matches(":hover")&&!(or instanceof Node&&t.contains(or))}function Di(e){var t;if(e instanceof Node)for(const n of document.querySelectorAll(".cm-tooltip[data-cm-still]"))(t=io(n))!=null&&t.contains(e)&&(delete n.dataset.cmStill,Fi(n))}function id(e){e.isTrusted&&(fo==null?void 0:fo.x)===e.clientX&&fo.y===e.clientY||(fo={x:e.clientX,y:e.clientY},or=e.target,to&&!(e.target instanceof Node&&to.contains(e.target))&&(to=null),Di(e.target))}function sd(e){const t=io(e);return!!t&&t===document.activeElement&&!t.matches(":hover")&&!Mi}function cd(e){const t=io(e);return!to||!t||t.matches(sn)?!1:t.contains(to)||Oi.includes(t)}function ld(e){cd(e)||od(e)||sd(e)?e.dataset.cmDismissed="":ad(e)?e.dataset.cmStill="":rd(e)&&Fi(e),e.dataset.cmSeen=""}function rr(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 dd(e){var i;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 n=rr(t),r=n.indexOf(e.target),a=e.key.toLowerCase();for(let s=1;s<=n.length;s++){const c=n[(r+s+n.length)%n.length];if((((i=(c.querySelector(".cm-menu-item-label")??c).textContent)==null?void 0:i.trim().toLowerCase())??"").startsWith(a)){e.preventDefault(),c.focus();return}}}function ud(e){e.key==="Escape"&&e.target instanceof Element&&e.target.closest(".cm-menu")&&e.preventDefault()}function md(e){const t=e.target instanceof HTMLElement?e.target:null,n=t==null?void 0:t.closest(".cm-menu");if(!t||!n||!t.matches('[role^="menuitem"]'))return;const r=Array.from(n.querySelectorAll('[role^="menuitem"]')).find(s=>s.closest(".cm-menu")===n);if(t!==r&&rr(n).includes(t))return;const a=e.relatedTarget;if(a instanceof Node&&a!==n&&n.contains(a))return;const i=nr?rr(n).at(0):void 0;t!==i&&(i==null||i.setAttribute("data-autofocus",""),(i??n).focus())}function ar(e){const t=e.scrollTop>0,n=e.scrollTop+e.clientHeight<e.scrollHeight-1;e.toggleAttribute("data-cm-scroll-up",t),e.toggleAttribute("data-cm-scroll-down",n)}const vo=typeof ResizeObserver>"u"?null:new ResizeObserver(e=>{for(const{target:t}of e)t.isConnected?ar(t):vo==null||vo.unobserve(t)});let jt=null;function Tr(){jt&&(cancelAnimationFrame(jt.frame),jt=null)}function da(e,t){if((jt==null?void 0:jt.menu)===e&&jt.direction===t)return;Tr();const n=()=>{jt&&(e.scrollTop+=t*$l,jt.frame=requestAnimationFrame(n))};jt={menu:e,direction:t,frame:requestAnimationFrame(n)}}function pd(e){const t=e.target instanceof Element?e.target.closest(".cm-menu"):null;if(t){const n=t.getBoundingClientRect();if(t.dataset.cmScrollUp!==void 0&&e.clientY<n.top+ca){da(t,-1);return}if(t.dataset.cmScrollDown!==void 0&&e.clientY>n.bottom-ca){da(t,1);return}}Tr()}function cn(){if(la||typeof document>"u")return;la=!0;const e={capture:!0,passive:!0};document.addEventListener("pointerdown",t=>{nr=!1;const n=t.target instanceof Element?t.target:null;to=(n==null?void 0:n.closest("button, a, input, select, textarea, [role], [tabindex]"))??n,Oi=t.composedPath(),Ho=!1,Uo(t.target)},e),document.addEventListener("wheel",()=>{Uo()},e),document.addEventListener("focusin",t=>{tr=performance.now(),Mi=Ho,Ho=!1,Di(t.target)},e),document.addEventListener("keydown",t=>{nr=!0,Ql.has(t.key)||(nd(t),Ho=ed.has(t.key),Uo(t.key==="Enter"||t.key===" "?t.target:null))},e),document.addEventListener("mouseout",t=>{t.relatedTarget||(fo=null,to=null,Uo(),Tr())}),document.addEventListener("keydown",ud,!0),document.addEventListener("keydown",dd),document.addEventListener("focusin",md),document.addEventListener("pointermove",pd,{passive:!0}),document.addEventListener("pointermove",id,e),document.addEventListener("scroll",t=>{t.target instanceof HTMLElement&&t.target.classList.contains("cm-menu")&&ar(t.target)},e),document.addEventListener("animationstart",t=>{!_l.has(t.animationName)||!(t.target instanceof HTMLElement)||(t.target.classList.contains("cm-tooltip")?t.target.dataset.cmSeen===void 0&&ld(t.target):t.target.classList.contains("cm-menu")&&(ar(t.target),vo==null||vo.observe(t.target)))})}let ir=null;function hd(){ir=document.activeElement instanceof HTMLElement?document.activeElement:null}function fd(){const e=ir;ir=null;const t=document.activeElement;e!=null&&e.isConnected&&(t===null||t===document.body||t.closest("[data-menu-dropdown]"))&&e.focus({preventScroll:!0})}function bd(e){var t;(t=e.currentTarget)==null||t.dispatchEvent(new KeyboardEvent("keydown",{key:"ArrowRight",bubbles:!0}))}function ko(e,t,n){return{"--input-height":e,"--input-size":e,"--input-fz":t,"--input-line-height":n}}function Ct(e,t,n,r){return{"--input-height":e,"--input-fz":n,"--input-line-height":r,"--input-padding-y":t}}const eo={compactSize:"sm",sizes:{xs:ko("20px","11px","16px"),sm:ko("24px","11px","16px"),md:ko("32px","13px","24px"),lg:ko("36px","15px","25px"),xl:ko("44px","24px","32px")}},ua={compactSize:"sm",sizes:{xs:Ct("48px","4px","11px","16px"),sm:Ct("56px","4px","11px","16px"),md:Ct("64px","4px","13px","22px"),lg:Ct("72px","6px","15px","25px"),xl:Ct("88px","8px","24px","32px")}},Nn={compactSize:"sm",sizes:{xs:Ct("20px","0px","11px","16px"),sm:Ct("24px","2px","11px","16px"),md:Ct("32px","6px","13px","24px"),lg:Ct("36px","8px","15px","25px"),xl:Ct("44px","12px","24px","32px")}},xd={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"}}},gd="en",sr=l.createContext(Vt),cr=l.createContext(void 0);function vd(e){return e!==void 0&&e!==""?e:typeof document<"u"&&document.documentElement.lang!==""?document.documentElement.lang:typeof navigator<"u"&&navigator.language!==""?navigator.language:gd}function wd({labels:e,locale:t,children:n}){const r=l.useContext(sr),a=l.useContext(cr),i=l.useMemo(()=>({...r,...e}),[r,e]),s=t??a,c=e==null?void 0:e.listNoMatch;return l.useEffect(()=>{c!==void 0&&Fl(c)},[c]),o.jsx(cr.Provider,{value:s,children:o.jsx(sr.Provider,{value:i,children:n})})}function Me(){return l.useContext(sr)}function wo(){const e=l.useContext(cr);return vd(e)}const yd=1234.5,kd="9876543210",Sd=9876543210,Ed=new Set([" "," "," "," ","'","’"]),Td="−",Ad=/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?/iu,ma=new Map;function jd(e){var m,d;const t=ma.get(e);if(t!==void 0)return t;const n=new Intl.NumberFormat(e).formatToParts(yd),r=((m=n.find(f=>f.type==="decimal"))==null?void 0:m.value)??".",a=((d=n.find(f=>f.type==="group"))==null?void 0:d.value)??"",i=new Map;for(const f of"0123456789")i.set(f,f);const s=new Intl.NumberFormat(e,{useGrouping:!1}).format(Sd);Array.from(s).forEach((f,h)=>{i.set(f,kd[h])});const c={decimal:r,digits:i,group:a};return ma.set(e,c),c}function Bi(e,t){const n=jd(t);let r="";for(const i of e.trim()){const s=n.digits.get(i);if(s!==void 0){r+=s;continue}if(i===n.decimal){r+=".";continue}if(!(i===n.group||Ed.has(i))){if(i==="-"||i===Td){r+="-";continue}if(i==="+"){r+="+";continue}if(i==="e"||i==="E"){r+=i;continue}break}}const a=Ad.exec(r);return a===null?Number.NaN:Number(a[0])}function yt(e){const t=wo(),n=JSON.stringify(e??{});return l.useMemo(()=>new Intl.NumberFormat(t,e),[t,n])}function Hi(){const e=wo(),t=Me(),n=yt(),r=l.useMemo(()=>new Intl.PluralRules(e,{type:"ordinal"}),[e]);return l.useCallback(a=>t.ordinal(n.format(a),r.select(a)),[t,n,r])}function Ui(e){const t=wo(),n=JSON.stringify(e??{});return l.useMemo(()=>new Intl.Collator(t,e),[t,n])}function zo(){const e=wo();return l.useCallback(t=>Bi(t,e),[e])}const Cd="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",Nd="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 Id({reveal:e}){const t=Me();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?Nd:Cd,fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}),o.jsx(u.VisuallyHidden,{children:t.passwordReveal})]})}function zd(e,t){return e==="unstyled"?"none":e==="outlined"||e==="default"?"outlined":e==="filled"?"filled":t}const Rd={label:"cm-field-label",description:"cm-field-description",error:"cm-field-error"};function Lt(e,t=""){return(n,r)=>{const a=zd(r.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 Ld={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"},pa={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 Vo(e,t="",n={}){const r=Lt(e,t);return(a,i)=>({...r(a,i),...Ld,...n})}const In=l.createElement(Sr),Pd={comboboxProps:yr(),withScrollArea:!1,renderOption:zi,onKeyDown:Ii},zn={comboboxProps:Rl(),withScrollArea:!1,renderOption:zi,onKeyDown:Ii};function Go(e,t){return cn(),{root:{},wrapper:ze(e,t)}}const Md={InputWrapper:u.InputWrapper.extend({classNames:Rd}),TextInput:u.TextInput.extend({defaultProps:{size:"sm",variant:"filled"},vars:(e,t)=>({root:{},wrapper:ze(eo,t==null?void 0:t.size)}),classNames:Lt("filled")}),NumberInput:u.NumberInput.extend({defaultProps:{size:"sm",variant:"filled",hideControls:!0},vars:(e,t)=>({root:{},wrapper:ze(eo,t==null?void 0:t.size),controls:{}}),classNames:Lt("filled")}),Select:u.Select.extend({defaultProps:{size:"sm",variant:"outlined",rightSection:In,role:"combobox",...Pd},vars:(e,t)=>($n(),ia(),Go(eo,t==null?void 0:t.size)),classNames:Vo("outlined","cm-select")}),NativeSelect:u.NativeSelect.extend({defaultProps:{size:"sm",variant:"outlined",rightSection:In},vars:(e,t)=>($n(),{root:{},wrapper:ze(eo,t==null?void 0:t.size)}),classNames:Lt("outlined","cm-select")}),Textarea:u.Textarea.extend({defaultProps:{size:"sm",variant:"filled"},vars:(e,t)=>({root:{},wrapper:{...ze(ua,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:Lt("filled")}),PasswordInput:u.PasswordInput.extend({defaultProps:{size:"sm",variant:"filled",visibilityToggleButtonProps:{},visibilityToggleIcon:Id},vars:(e,t)=>({root:{"--psi-button-size":"24px","--psi-icon-size":"12px"},wrapper:ze(eo,t==null?void 0:t.size)}),classNames:(e,t)=>({...Lt("filled")(e,t),innerInput:"cm-input-inner",visibilityToggle:"cm-input-toggle"})}),Autocomplete:u.Autocomplete.extend({defaultProps:{size:"sm",variant:"filled",role:"combobox",...zn},vars:(e,t)=>(ia(),Go(eo,t==null?void 0:t.size)),classNames:Vo("filled")}),MultiSelect:u.MultiSelect.extend({defaultProps:{size:"sm",variant:"filled",rightSection:In,...zn},vars:(e,t)=>Go(Nn,t==null?void 0:t.size),classNames:Vo("filled","cm-pills-field",pa)}),TagsInput:u.TagsInput.extend({defaultProps:{size:"sm",variant:"filled",...zn},vars:(e,t)=>Go(Nn,t==null?void 0:t.size),classNames:Vo("filled","cm-pills-field",pa)}),PillsInput:u.PillsInput.extend({defaultProps:{size:"sm",variant:"filled"},vars:(e,t)=>({root:{},wrapper:ze(Nn,t==null?void 0:t.size)}),classNames:Lt("filled","cm-pills-field")}),FileInput:u.FileInput.extend({defaultProps:{size:"sm",variant:"filled"},vars:(e,t)=>({root:{},wrapper:ze(eo,t==null?void 0:t.size)}),classNames:(e,t)=>({...Lt("filled")(e,t),placeholder:"cm-input-placeholder"})}),JsonInput:u.JsonInput.extend({defaultProps:{size:"sm",variant:"filled"},vars:(e,t)=>({root:{},wrapper:{...ze(ua,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:Lt("filled")}),Combobox:u.Combobox.extend({defaultProps:{...Ll()}}),ComboboxTarget:u.Combobox.Target.extend({defaultProps:{withExpandedAttribute:!0}}),InputClearButton:u.InputClearButton.extend({defaultProps:{size:"xs"},vars:(e,t)=>({root:ze(xd,t==null?void 0:t.size)}),classNames:{root:"cm-input-clear cm-focus-outside"}})},Od=Object.freeze(Object.defineProperty({__proto__:null,inputComponentExtensions:Md},Symbol.toStringTag,{value:"Module"})),Fd="cm-tab-label";function Dd(e){if(!l.isValidElement(e))return e;const{className:t,children:n}=e.props;return!(t!=null&&t.split(" ").includes(Fd))||typeof n!="string"&&typeof n!="number"?e:l.cloneElement(e,void 0,n,o.jsx("span",{className:"cm-tab-reserve","data-text":String(n),"aria-hidden":"true"},"cm-tab-reserve"))}function Bd(e){const{children:t,...n}=e;return o.jsx("button",{...n,children:l.Children.map(t,Dd)})}const Hd={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"}}},Ud={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"}}},Vd={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"}}},Gd={root:"cm-anchor"},qd={root:"cm-burger cm-focus-outside",burger:"cm-burger-lines"},Wd={root:"cm-navlink",label:"cm-navlink-label",description:"cm-navlink-description",section:"cm-navlink-section",body:"cm-navlink-body"},Kd={root:"cm-pagination",control:"cm-pagination-control cm-focus-outside",dots:"cm-pagination-dots"},Yd={root:"cm-stepper",step:"cm-stepper-step",stepIcon:"cm-stepper-icon",stepLabel:"cm-stepper-label",stepDescription:"cm-stepper-description",separator:"cm-stepper-separator"},Xd={root:"cm-tabs",list:"cm-tabs-list",tab:"cm-tab",tabLabel:"cm-tab-label",tabSection:"cm-tab-section",panel:"cm-tabs-panel"},Jd={onMouseDown:yc,onClickCapture:kc,onMouseLeave:Qr,onKeyDown:Qr,renderRoot:Bd},Zd={first:"First page",previous:"Previous page",next:"Next page",last:"Last page"},Qd={Anchor:u.Anchor.extend({defaultProps:{size:"sm",underline:"never"},classNames:Gd}),Burger:u.Burger.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:ze(Vd,t==null?void 0:t.size)}),classNames:qd}),NavLink:u.NavLink.extend({classNames:Wd}),Pagination:u.Pagination.extend({defaultProps:{size:"sm",getControlProps:e=>({"aria-label":Zd[e]})},vars:(e,t)=>({root:ze(Hd,t==null?void 0:t.size)}),classNames:Kd}),Stepper:u.Stepper.extend({defaultProps:{size:"sm"},vars:(e,t)=>({root:ze(Ud,t==null?void 0:t.size)}),classNames:Yd}),Tabs:u.Tabs.extend({defaultProps:{variant:"pills",activateTabWithKeyboard:!0,loop:!0},classNames:Xd}),TabsTab:u.Tabs.Tab.extend({defaultProps:Jd})},_d=Object.freeze(Object.defineProperty({__proto__:null,navigationComponentExtensions:Qd},Symbol.toStringTag,{value:"Module"}));cn();const $d={closeMenuOnClick:!1,onClick:bd,rightSection:l.createElement("span",{className:"cm-menu-chevron","aria-hidden":!0},l.createElement(Ce,{name:"caretRight",size:10}))},eu={Menu:u.Menu.extend({defaultProps:{zIndex:go,withInitialFocusPlaceholder:!1,position:"bottom-start",offset:4,loop:!0,trapFocus:!0,returnFocus:!1,onOpen:hd,onClose:fd,transitionProps:mo,middlewares:Hl},classNames:(e,t)=>t.variant==="inverse"?{...jn,dropdown:`${jn.dropdown} cm-menu-inverse`}:jn,vars:()=>(cn(),{dropdown:Dl})}),MenuSub:u.Menu.Sub.extend({defaultProps:{openDelay:0,closeDelay:0,offset:Ul,floatingStrategy:"fixed",transitionProps:mo,middlewares:{flip:!0,shift:{padding:nn,crossAxis:!0}}}}),MenuSubItem:u.Menu.Sub.Item.extend({defaultProps:$d}),Tooltip:u.Tooltip.extend({defaultProps:{zIndex:xl,position:"bottom",offset:Vl,withArrow:!0,arrowSize:Ri,openDelay:rn,closeDelay:an,transitionProps:mo,events:{hover:!0,focus:!0,touch:!1},middlewares:{flip:Zl,shift:{padding:nn}}},classNames:Gl,vars:()=>(cn(),{tooltip:{}})}),TooltipGroup:u.Tooltip.Group.extend({defaultProps:{openDelay:rn,closeDelay:an}}),Popover:u.Popover.extend({defaultProps:{zIndex:go,transitionProps:mo},classNames:sa}),HoverCard:u.HoverCard.extend({defaultProps:{zIndex:go,transitionProps:mo},classNames:sa}),Modal:u.Modal.extend({defaultProps:{centered:!0,withOverlay:!0,overlayProps:{backgroundOpacity:0},transitionProps:mo,closeButtonProps:{"aria-label":"Close"}},classNames:ql}),ModalHeader:u.Modal.Header.extend({defaultProps:{role:"none"}}),Drawer:u.Drawer.extend({defaultProps:{closeButtonProps:{"aria-label":"Close"}}}),DrawerHeader:u.Drawer.Header.extend({defaultProps:{role:"none"}}),Notification:u.Notification.extend({defaultProps:{closeButtonProps:{iconSize:10}},classNames:Wl}),ScrollArea:u.ScrollArea.extend({defaultProps:{type:"hover",scrollHideDelay:0,scrollbarSize:Yl},classNames:Kl})},tu=Object.freeze(Object.defineProperty({__proto__:null,overlayComponentExtensions:eu},Symbol.toStringTag,{value:"Module"})),ha=Object.assign({"./buttons.ts":hc,"./color.ts":xc,"./controls.ts":Pc,"./display.ts":sl,"./feedback.ts":bl,"./inputs.ts":Od,"./navigation.ts":_d,"./overlays.ts":tu});function ou(){const e={},t={};for(const n of Object.keys(ha).sort())for(const[r,a]of Object.entries(ha[n]))if(r.endsWith("ComponentExtensions"))for(const[i,s]of Object.entries(a)){if(i in t)throw new Error(`compact-mantine: ${i} is extended in both ${t[i]} and ${n}`);t[i]=n,e[i]=s}return e}const nu=ou(),ru="data:font/woff2;base64,d09GMgABAAAAALyAABUAAAAB4CAAALwFAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGoZeG4KyRBzVcD9IVkFSi2k/TVZBUl4GYD9TVEFUgU4nJgCFNi9sEQgKgbtAgaEUC4gOADCCnD4BNgIkA5AYBCAFhi4HoQQMB1tzzZFCvBvP7u3DbGpQpdsQgMqps1L7r3ADN3ekcLpSd3VjDvdRxlSwXT24HeDivrPV7P/////PTiZjjG6zbhuAgIaVWf//oFG6m0fKpZa1GtEM3hHeiRiGTOHDNEtW1uphm9xD8Yfsc845xSOllI6MZ0bgBa6OXQbsGPkQKYlQqD3X9YVVvH2KntB6YJwvZMXkp+C5yraOrUrG4lPZsKGIy79I0v3UzBZt9SM6yqcJLyKfWogpGCTMhFHtxxQ74e+iXfmlkqJiNbeKZ4KLcfByGbnFit+pfrn4okou/l1zuyzDbEtoImSSXDLgSfrNakEiSjNkyuNXIhj2Rtg8HXFaJ1HMmcuGV+Se8CUCw/bq3NAqMQ78EUkhmkVBNNkIe66aFY24EF5FxJKmvYhLeZu+817KeHDRANVOdSZTE0mx05wGy3iIsAUf0f92lq9M9/vv/v/fb8Oa8yVqT0nuI2nTGlyeDouviNs9inRBSSqDf7jIJKu0nX6r99J6jx/12cSUdscJp/KxG3QT7RY/9SEwOBbgQ6oeY7Wz9aQv/8DXVf25LyKzMVb1gPyyV/Vl7QRt6Yojsq2qemYjy5LWBREQDCugh4gIihyuKEEw4qrLEgyHmBCRJ4m6LkFU2IMVOZKIiIiYOEQeMxhxWTBhSKjoeZiRLHLKDI9u9i8BQgghYQQIEEKYUxQFUXDWDq/aau0aNzrutm2vd78V8cbevb39PbuWZ+c8x6yKiPAv2cH/SXIzsw/6FFq5J1BCrkRshmBunSgGwlBJAxEEpGLApFwUq2DBGCNGjN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/4Wm3PXzIpptkYWUEuOSWOSeiFlTtDoo8Svu934LOxpa21kFbwX59qcBh+Zn+RImvyj5kNJLxXJvJ8d8VrfkJKFVrRJ05tK/aXanhx8bT7aVauoJ81roNL64KfMd8Sj0Rtfge+SohT0+ShTwFVwhK1KW45QTKfoZNrjU4poyxfT6QTmZlc+GpmMrLLWuHv26eonGfHyrlIqK1kXkTsd6eStxRnuKdSRqBapI1Ffpa5MEY1iOvVVugLU/LBXx6A1CuG6/RzGbhBarFJiuBQvbvkwWJIFSwAUwqV4kWPD5BEGsHNgl0kYMExsoHumATSWF28A8Zt8m6AE9w5Ar/3gsARAIUyvsQEQsFPAAABsAIDuAWgAbwDxK3AV1Mg9NsmPCvFmjM39+cmxXPF4EnoWKsaVX2nwQhAzQ84QJtFHLOZ9XyEdIPQUZJ7mEWV4FzjWEB2HUia6pvsjX/c196Wa/Kcqdtsqql2UbjmGZ4HCzYgVhidjl1XUbVlr3XLXgfYNROYdDBJHYa13NSw58stFXNu+N+t5WGAU1doYgvhRsJmWa/0f4Ys7r6o1nW1LF8pCcxJM0H9YbRjb5gVb1go9Y9/SxF08sf0p8GbuymWEe+zrfrqQc8Rnc8lptIpSPWmoLslM6sWzOZaLyLaco1nYjntDeIpj5e/663Cvs+oZM4Z+HNgvV5U0ktw/VU411pkVh8q/32PH77H8z9qVLwAAAA==",au="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",iu=`--cm-field-shadow: none;
|
|
6
6
|
--cm-field-shadow-hover: none;
|
|
7
|
-
--cm-field-border: var(--cm-border)
|
|
7
|
+
--cm-field-border: var(--cm-border);
|
|
8
|
+
--cm-segment-chosen-weight: 450;
|
|
9
|
+
--cm-tree-action-overlap: -4px;`,su=`--cm-field-shadow: inset 0 0 0 1px var(--cm-field-edge);
|
|
8
10
|
--cm-field-shadow-hover: inset 0 0 0 1px var(--cm-field-edge-hover);
|
|
9
11
|
--cm-field-border: var(--cm-field-edge);
|
|
10
|
-
--
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
${
|
|
15
|
-
}`}
|
|
12
|
+
--cm-segment-chosen-weight: 600;
|
|
13
|
+
--cm-tree-action-overlap: 0px;
|
|
14
|
+
--mantine-color-dimmed: var(--cm-text-secondary) !important;`;function Ar(e){return`${e} {
|
|
15
|
+
${el()}
|
|
16
|
+
${su}
|
|
17
|
+
}`}function jr(e){return`${e} {
|
|
18
|
+
${ol()}
|
|
19
|
+
}`}const Cr="--cm-row-ink: var(--cm-text-onbrand); --cm-row-ink-secondary: var(--cm-text-onbrand-secondary);",no="--cm-row-ink: initial; --cm-row-ink-secondary: initial;",cu=".cm-focus-outside, .cm-focus-flush, .cm-focus-inside, .cm-focus-inside-2, .cm-focus-double",lu=`
|
|
16
20
|
@font-face {
|
|
17
21
|
font-family: "Inter Variable";
|
|
18
22
|
font-style: normal;
|
|
19
23
|
font-display: swap;
|
|
20
24
|
font-weight: 100 900;
|
|
21
|
-
src: url("${
|
|
22
|
-
unicode-range: ${
|
|
25
|
+
src: url("${ru}") format("woff2");
|
|
26
|
+
unicode-range: ${au};
|
|
23
27
|
}
|
|
24
28
|
|
|
25
29
|
:root,
|
|
26
30
|
:host {
|
|
27
|
-
${
|
|
28
|
-
${
|
|
31
|
+
${$c()}
|
|
32
|
+
${iu}
|
|
29
33
|
}
|
|
30
34
|
|
|
31
|
-
${
|
|
35
|
+
${Ar(':root[data-cm-contrast="high"]')}
|
|
32
36
|
|
|
33
37
|
/* A theme whose primaryColor is not "brand" (global-styles.ts sets the attribute): the accent
|
|
34
38
|
tokens follow the primary palette. After the AA block, so a custom accent wins there too. */
|
|
35
39
|
:root[data-cm-accent] {
|
|
36
|
-
${
|
|
40
|
+
${tl()}
|
|
37
41
|
}
|
|
38
42
|
|
|
39
43
|
/* The graphty brand accent (createCompactTheme({ accent: "graphty" })): fixed brand values, so
|
|
40
44
|
after the derived block above. */
|
|
41
|
-
${
|
|
45
|
+
${jr(':root[data-cm-accent="graphty"]')}
|
|
42
46
|
|
|
43
47
|
/* Reduced motion: the few things that move (spec 2.8: a checkbox tick, a switch knob, a hover
|
|
44
48
|
color, the help button's ring, the loading fade) change in one frame. Every such transition
|
|
@@ -53,7 +57,7 @@ ${hr(':root[data-cm-accent="graphty"]')}
|
|
|
53
57
|
|
|
54
58
|
body {
|
|
55
59
|
font-family: var(--cm-font-family);
|
|
56
|
-
${
|
|
60
|
+
${Q("body")}
|
|
57
61
|
color: var(--cm-text);
|
|
58
62
|
background-color: var(--cm-bg);
|
|
59
63
|
}
|
|
@@ -65,9 +69,22 @@ body {
|
|
|
65
69
|
/* Focus ring (spec 2.7): 1px, keyboard focus only, the resting outline reserves the slot so
|
|
66
70
|
focus never shifts layout. The focus rules write the whole outline shorthand because Mantine's
|
|
67
71
|
.mantine-focus-never:focus { outline: none } has the same specificity. */
|
|
68
|
-
${
|
|
72
|
+
${cu} {
|
|
69
73
|
outline: 1px solid transparent;
|
|
70
74
|
}
|
|
75
|
+
/* The default ring: a Mantine focusable the theme gave no cm- class (an UnstyledButton with the
|
|
76
|
+
app's own class) still rings on keyboard focus. A control with a cm- class draws its own ring,
|
|
77
|
+
so it is left out; :where keeps this at Mantine's specificity so any later rule wins. */
|
|
78
|
+
.mantine-focus-never:where(:not([class^="cm-"], [class*=" cm-"])):focus-visible {
|
|
79
|
+
outline: 1px solid var(--cm-border-selected);
|
|
80
|
+
outline-offset: 1px;
|
|
81
|
+
}
|
|
82
|
+
/* One cursor for every control: the arrow (the theme's cursorType, Figma's and the desktop's
|
|
83
|
+
convention). Mantine's UnstyledButton, the base of the rail, the toolbars and an app's own
|
|
84
|
+
buttons, draws the hand; without this a rail button showed the hand while a Button, a Checkbox
|
|
85
|
+
and a segment beside it showed the arrow. Only text drawn as a link (Anchor) keeps the hand.
|
|
86
|
+
The class is doubled to win whatever order the two stylesheets load in. */
|
|
87
|
+
.mantine-UnstyledButton-root.mantine-UnstyledButton-root { cursor: default; }
|
|
71
88
|
.cm-focus-outside { outline-offset: 1px; }
|
|
72
89
|
.cm-focus-flush { outline-offset: 0; }
|
|
73
90
|
.cm-focus-inside { outline-offset: -1px; }
|
|
@@ -137,7 +154,7 @@ ${Kc} {
|
|
|
137
154
|
border: 0;
|
|
138
155
|
border-radius: 5px;
|
|
139
156
|
color: var(--cm-text);
|
|
140
|
-
${
|
|
157
|
+
${Q("body")}
|
|
141
158
|
outline: 1px solid transparent;
|
|
142
159
|
outline-offset: -1px;
|
|
143
160
|
box-shadow: var(--cm-field-shadow);
|
|
@@ -169,9 +186,8 @@ ${Kc} {
|
|
|
169
186
|
/* The menu surface (spec 6.5, 8.1): menus, list boxes and context menus follow the page's
|
|
170
187
|
scheme. Every rule inside reads the menu tokens (--cm-bg-menu, --cm-text-menu, ...), which on
|
|
171
188
|
their own are the always-dark values; this surface points them at the page-following set, so a
|
|
172
|
-
light app gets a light menu with dark ink and a dark app the dark menu. The highlights are
|
|
173
|
-
|
|
174
|
-
on them meet 4.5:1 and the pill meets 3:1 against the surface.
|
|
189
|
+
light app gets a light menu with dark ink and a dark app the dark menu. The highlights are
|
|
190
|
+
Figma's brand and danger fills; the AA option darkens them and the shortcut on them.
|
|
175
191
|
|
|
176
192
|
The class cm-menu-inverse keeps Figma's always-dark menu in both schemes (a Menu adds it for
|
|
177
193
|
variant="inverse"; any other dropdown, a Select's or a Combobox's, takes it through
|
|
@@ -192,13 +208,11 @@ ${Kc} {
|
|
|
192
208
|
--cm-text-menu-secondary: var(--cm-text-menu-page-secondary);
|
|
193
209
|
--cm-text-menu-disabled: var(--cm-text-menu-page-disabled);
|
|
194
210
|
--cm-border-menu: var(--cm-border-menu-page);
|
|
195
|
-
--cm-
|
|
196
|
-
--cm-bg-danger: light-dark(var(--cm-bg-danger-pressed), var(--cm-bg-danger-hover));
|
|
197
|
-
--cm-text-onbrand-secondary: var(--cm-text-onbrand);
|
|
211
|
+
--cm-text-onbrand-secondary: var(--cm-menu-onbrand-secondary);
|
|
198
212
|
}
|
|
199
213
|
.cm-menu-surface.cm-menu-inverse { color-scheme: dark; }
|
|
200
214
|
:where([data-mantine-color-scheme="light"]) .cm-menu-surface.cm-menu-inverse {
|
|
201
|
-
--cm-menu-shadow: ${
|
|
215
|
+
--cm-menu-shadow: ${fr[400].light.join(", ")};
|
|
202
216
|
}
|
|
203
217
|
|
|
204
218
|
/* A menu or listbox row: 24 tall, text 16px from the menu edge, the highlight an inner pill
|
|
@@ -214,7 +228,7 @@ ${Kc} {
|
|
|
214
228
|
padding: 0 16px;
|
|
215
229
|
background: transparent;
|
|
216
230
|
color: var(--cm-row-ink, var(--cm-text-menu));
|
|
217
|
-
${
|
|
231
|
+
${Q("body")}
|
|
218
232
|
cursor: default;
|
|
219
233
|
}
|
|
220
234
|
.cm-menu-row::before {
|
|
@@ -234,17 +248,17 @@ ${Kc} {
|
|
|
234
248
|
.cm-menu-row:hover,
|
|
235
249
|
.cm-menu-row[data-hovered],
|
|
236
250
|
.cm-menu-row[data-combobox-selected],
|
|
237
|
-
.cm-menu-row[aria-selected="true"] { ${
|
|
238
|
-
.cm-menu-surface:has(.cm-menu-row:hover) .cm-menu-row[aria-selected="true"]:not(:hover)::before {
|
|
251
|
+
.cm-menu-row[aria-selected="true"] { ${Cr} }
|
|
252
|
+
.cm-menu-surface:not(.cm-pointer-still):has(.cm-menu-row:hover) .cm-menu-row[aria-selected="true"]:not(:hover)::before {
|
|
239
253
|
background: transparent;
|
|
240
254
|
}
|
|
241
|
-
.cm-menu-surface:has(.cm-menu-row:hover) .cm-menu-row[aria-selected="true"]:not(:hover) { ${
|
|
255
|
+
.cm-menu-surface:not(.cm-pointer-still):has(.cm-menu-row:hover) .cm-menu-row[aria-selected="true"]:not(:hover) { ${no} }
|
|
242
256
|
.cm-menu-row[data-disabled],
|
|
243
257
|
.cm-menu-row[aria-disabled="true"] { color: var(--cm-text-menu-disabled); }
|
|
244
258
|
.cm-menu-row[data-disabled]::before,
|
|
245
259
|
.cm-menu-row[aria-disabled="true"]::before { background: transparent; }
|
|
246
260
|
.cm-menu-row[data-disabled],
|
|
247
|
-
.cm-menu-row[aria-disabled="true"] { ${
|
|
261
|
+
.cm-menu-row[aria-disabled="true"] { ${no} }
|
|
248
262
|
/* The 16 x 16 check column; its glyph shows on a checked or selected row. */
|
|
249
263
|
.cm-menu-row-check {
|
|
250
264
|
display: inline-flex;
|
|
@@ -267,7 +281,7 @@ ${Kc} {
|
|
|
267
281
|
border-radius: 13px;
|
|
268
282
|
box-shadow: var(--cm-elevation-400);
|
|
269
283
|
}
|
|
270
|
-
`,
|
|
284
|
+
`,du=Object.freeze(Object.defineProperty({__proto__:null,ROW_LIT:Cr,ROW_UNLIT:no,default:lu,graphtyAccentBlock:jr,highContrastBlock:Ar},Symbol.toStringTag,{value:"Module"})),po=':is(:hover, [data-state="hover"])',Bt=':is(:active, [data-state="press"])',zt=':is(:focus-visible, [data-state="focus"])',pt=":not(:disabled, [data-disabled], [data-loading])",Ht=":is(:disabled, [data-disabled]):not([data-loading])",fa=':is([data-variant="default"], [data-variant="outline"], [data-variant="danger-outline"])',Rn=':is([data-variant="default"], [aria-haspopup]:not([aria-haspopup="false"]))',Ln=':is([aria-expanded="true"], [aria-pressed="true"])',So='.cm-ai-group > .cm-action-icon:is([data-variant="subtle"], [data-variant="default"], [data-variant="joined"])',uu=`
|
|
271
285
|
/* ---------- Button (4.1) ---------- */
|
|
272
286
|
.cm-button {
|
|
273
287
|
display: inline-flex;
|
|
@@ -289,8 +303,9 @@ ${Kc} {
|
|
|
289
303
|
outline-offset: -1px;
|
|
290
304
|
}
|
|
291
305
|
.cm-button:where([data-block]) { display: flex; }
|
|
292
|
-
/* A full-width button
|
|
293
|
-
|
|
306
|
+
/* A full-width button's content spans it, so Mantine's justify prop (--button-justify) can place it,
|
|
307
|
+
and never grows past its width: a label too long for it ends in an ellipsis. */
|
|
308
|
+
.cm-button:where([data-block]) > .cm-button-inner { flex: 1; min-width: 0; }
|
|
294
309
|
.cm-button:where([data-block]) .cm-button-label { display: block; height: auto; min-width: 0; text-overflow: ellipsis; }
|
|
295
310
|
.cm-button:where([data-with-left-section], [data-with-right-section]) { padding: 0; }
|
|
296
311
|
.cm-button-inner { transition: opacity var(--cm-duration-md) var(--cm-ease-loading); }
|
|
@@ -311,16 +326,16 @@ ${Kc} {
|
|
|
311
326
|
padding-inline-start: 4px;
|
|
312
327
|
color: var(--cm-btn-shortcut, inherit);
|
|
313
328
|
}
|
|
314
|
-
.cm-button${
|
|
329
|
+
.cm-button${po}${pt} {
|
|
315
330
|
background-color: var(--button-hover);
|
|
316
331
|
color: var(--button-hover-color, var(--button-color));
|
|
317
332
|
}
|
|
318
|
-
.cm-button${
|
|
333
|
+
.cm-button${Bt}${pt} {
|
|
319
334
|
background-color: var(--cm-btn-pressed, var(--button-hover));
|
|
320
335
|
color: var(--cm-btn-pressed-color, var(--button-color));
|
|
321
336
|
}
|
|
322
|
-
.cm-button${
|
|
323
|
-
.cm-button${
|
|
337
|
+
.cm-button${Bt}${pt} .cm-button-section[data-position="right"] { color: var(--cm-btn-pressed-color); }
|
|
338
|
+
.cm-button${zt} {
|
|
324
339
|
outline: 1px solid var(--cm-border-selected);
|
|
325
340
|
outline-offset: 1px;
|
|
326
341
|
}
|
|
@@ -336,19 +351,19 @@ ${Kc} {
|
|
|
336
351
|
outline: 1px solid transparent;
|
|
337
352
|
outline-offset: 1px;
|
|
338
353
|
}
|
|
339
|
-
.cm-button${
|
|
354
|
+
.cm-button${fa}${zt} {
|
|
340
355
|
outline: 1px solid var(--cm-btn-outline, transparent);
|
|
341
356
|
outline-offset: -1px;
|
|
342
357
|
}
|
|
343
|
-
.cm-button${
|
|
344
|
-
.cm-button${
|
|
358
|
+
.cm-button${fa}${zt}::before { outline-color: var(--cm-border-selected); }
|
|
359
|
+
.cm-button${Ht} {
|
|
345
360
|
background: var(--cm-btn-disabled-bg, var(--mantine-color-disabled));
|
|
346
361
|
color: var(--cm-btn-disabled-color, var(--mantine-color-disabled-color));
|
|
347
362
|
outline-color: var(--cm-btn-disabled-outline, transparent);
|
|
348
363
|
border: var(--button-bd, 1px solid transparent);
|
|
349
364
|
cursor: auto;
|
|
350
365
|
}
|
|
351
|
-
.cm-button${
|
|
366
|
+
.cm-button${Ht} .cm-button-section[data-position="right"] { color: inherit; }
|
|
352
367
|
/* Loading: width unchanged, the label fades out, a 16px spinner fades in centered (2.8). */
|
|
353
368
|
.cm-button[data-loading] { cursor: progress; }
|
|
354
369
|
.cm-button[data-loading] .cm-button-inner { opacity: 0; transform: none; }
|
|
@@ -374,16 +389,16 @@ ${Kc} {
|
|
|
374
389
|
outline-offset: -1px;
|
|
375
390
|
}
|
|
376
391
|
.cm-action-icon-icon { transition: none; }
|
|
377
|
-
.cm-action-icon${
|
|
392
|
+
.cm-action-icon${po}${pt} {
|
|
378
393
|
background-color: var(--ai-hover);
|
|
379
394
|
color: var(--ai-hover-color, var(--ai-color));
|
|
380
395
|
}
|
|
381
|
-
.cm-action-icon${
|
|
382
|
-
.cm-action-icon${
|
|
396
|
+
.cm-action-icon${Bt}${pt} { background-color: var(--cm-ai-pressed, var(--ai-hover)); }
|
|
397
|
+
.cm-action-icon${zt} {
|
|
383
398
|
outline: 1px solid var(--cm-border-selected);
|
|
384
399
|
outline-offset: 1px;
|
|
385
400
|
}
|
|
386
|
-
.cm-action-icon${
|
|
401
|
+
.cm-action-icon${Rn}::before {
|
|
387
402
|
content: "";
|
|
388
403
|
position: absolute;
|
|
389
404
|
inset: 0;
|
|
@@ -392,27 +407,45 @@ ${Kc} {
|
|
|
392
407
|
outline: 1px solid transparent;
|
|
393
408
|
outline-offset: 1px;
|
|
394
409
|
}
|
|
395
|
-
.cm-action-icon${
|
|
410
|
+
.cm-action-icon${Rn}${zt} {
|
|
396
411
|
outline: 1px solid var(--cm-ai-outline, transparent);
|
|
397
412
|
outline-offset: -1px;
|
|
398
413
|
}
|
|
399
|
-
.cm-action-icon${
|
|
414
|
+
.cm-action-icon${Rn}${zt}::before { outline-color: var(--cm-border-selected); }
|
|
400
415
|
/* Open (aria-expanded) and toggled on (aria-pressed): selected ground, brand glyph. */
|
|
401
|
-
.cm-action-icon${
|
|
416
|
+
.cm-action-icon${Ln}:not(:disabled, [data-disabled]) {
|
|
402
417
|
background-color: var(--cm-bg-selected);
|
|
403
418
|
color: var(--cm-icon-brand);
|
|
404
419
|
}
|
|
405
|
-
.cm-action-icon${
|
|
406
|
-
.cm-action-icon${
|
|
407
|
-
.cm-action-icon${
|
|
420
|
+
.cm-action-icon${Ln}${po}${pt} { background-color: var(--cm-bg-selected-secondary); }
|
|
421
|
+
.cm-action-icon${Ln}${Bt}${pt} { background-color: var(--cm-bg-selected); }
|
|
422
|
+
.cm-action-icon${Ht} {
|
|
408
423
|
background: var(--cm-ai-disabled-bg, transparent);
|
|
409
424
|
color: var(--cm-ai-disabled-color, var(--cm-icon-disabled));
|
|
410
425
|
outline-color: var(--cm-ai-disabled-outline, var(--cm-ai-outline, transparent));
|
|
411
426
|
border: var(--ai-bd, 1px solid transparent);
|
|
412
427
|
cursor: auto;
|
|
413
428
|
}
|
|
414
|
-
.cm-action-icon[aria-pressed="true"]${
|
|
429
|
+
.cm-action-icon[aria-pressed="true"]${Ht} { background: var(--cm-bg-selected); }
|
|
430
|
+
/* A button disabled by aria-disabled stays in the tab order, so it shows where focus is like any
|
|
431
|
+
other (WCAG 2.4.7): the disabled outline above must not hide the focus ring. */
|
|
432
|
+
.cm-action-icon${Ht}${zt} { outline: 1px solid var(--cm-border-selected); outline-offset: 1px; }
|
|
415
433
|
.cm-action-icon[data-loading] { cursor: progress; }
|
|
434
|
+
/* A finger needs more than the 24px sm box: under a coarse pointer an invisible ::after grows its
|
|
435
|
+
hit target to 32 x 32 without moving anything (::before is the edged variants' focus ring).
|
|
436
|
+
32 keeps neighbors 4px apart from stealing each other's taps; an icon with room around it sets
|
|
437
|
+
--cm-ai-touch-target (44px is the touch guideline) for a bigger one. */
|
|
438
|
+
@media (pointer: coarse) {
|
|
439
|
+
.cm-action-icon[data-size="sm"]::after {
|
|
440
|
+
content: "";
|
|
441
|
+
position: absolute;
|
|
442
|
+
top: 50%;
|
|
443
|
+
left: 50%;
|
|
444
|
+
width: var(--cm-ai-touch-target, 32px);
|
|
445
|
+
height: var(--cm-ai-touch-target, 32px);
|
|
446
|
+
transform: translate(-50%, -50%);
|
|
447
|
+
}
|
|
448
|
+
}
|
|
416
449
|
.cm-action-icon[data-loading] .cm-action-icon-icon { opacity: 0; transform: none; }
|
|
417
450
|
.cm-action-icon-loader {
|
|
418
451
|
inset: 0;
|
|
@@ -430,15 +463,15 @@ ${Kc} {
|
|
|
430
463
|
width: 88px;
|
|
431
464
|
}
|
|
432
465
|
.cm-ai-group[data-orientation="horizontal"] > .cm-action-icon { width: auto; min-width: 0; }
|
|
433
|
-
${
|
|
466
|
+
${So} {
|
|
434
467
|
background-color: var(--cm-bg-secondary);
|
|
435
468
|
color: var(--cm-icon);
|
|
436
469
|
outline-color: transparent;
|
|
437
470
|
}
|
|
438
|
-
${
|
|
439
|
-
${
|
|
440
|
-
${
|
|
441
|
-
${
|
|
471
|
+
${So}::before { content: none; }
|
|
472
|
+
${So}${po}${pt},
|
|
473
|
+
${So}${Bt}${pt} { background-color: var(--cm-bg-pressed); }
|
|
474
|
+
${So}${zt} {
|
|
442
475
|
outline: 1px solid var(--cm-border-selected);
|
|
443
476
|
outline-offset: -1px;
|
|
444
477
|
}
|
|
@@ -454,9 +487,9 @@ ${Bt}${ft} {
|
|
|
454
487
|
outline: 1px solid transparent;
|
|
455
488
|
outline-offset: -1px;
|
|
456
489
|
}
|
|
457
|
-
.cm-close-button${
|
|
458
|
-
.cm-close-button${
|
|
459
|
-
.cm-close-button${
|
|
490
|
+
.cm-close-button${po}:not(:disabled, [data-disabled]) { background-color: var(--cm-bg-transparent-hover); }
|
|
491
|
+
.cm-close-button${Bt}:not(:disabled, [data-disabled]) { background-color: var(--cm-bg-transparent-pressed); }
|
|
492
|
+
.cm-close-button${zt} {
|
|
460
493
|
outline: 1px solid var(--cm-border-selected);
|
|
461
494
|
outline-offset: 1px;
|
|
462
495
|
}
|
|
@@ -472,25 +505,29 @@ ${Bt}${ft} {
|
|
|
472
505
|
}
|
|
473
506
|
|
|
474
507
|
/* ---------- ToggleIconButton (4.4): an ActionIcon with aria-pressed; the "on" rules above ---------- */
|
|
508
|
+
/* The glyph swaps on the press (pointerdown), so the node under the pointer is gone by the
|
|
509
|
+
mousedown and the browser finds nothing to focus: focus fell to the page. The pointer hits the
|
|
510
|
+
button, which stays, rather than the glyph. */
|
|
511
|
+
.cm-toggle-icon svg { pointer-events: none; }
|
|
475
512
|
.cm-toggle-icon[data-swap][aria-pressed="true"]:not(:disabled, [data-disabled]) {
|
|
476
513
|
background-color: var(--ai-bg);
|
|
477
514
|
color: var(--ai-color);
|
|
478
515
|
}
|
|
479
|
-
.cm-toggle-icon[data-swap][aria-pressed="true"]${
|
|
480
|
-
.cm-toggle-icon[data-swap][aria-pressed="true"]${
|
|
481
|
-
.cm-toggle-icon[data-swap][aria-pressed="true"]${
|
|
516
|
+
.cm-toggle-icon[data-swap][aria-pressed="true"]${po}${pt} { background-color: var(--ai-hover); }
|
|
517
|
+
.cm-toggle-icon[data-swap][aria-pressed="true"]${Bt}${pt} { background-color: var(--cm-ai-pressed); }
|
|
518
|
+
.cm-toggle-icon[data-swap][aria-pressed="true"]${Ht} { background: transparent; }
|
|
482
519
|
/* Disabled (spec 4.4, "disabled off / on"): the glyph takes --cm-icon-disabled and an "on" toggle
|
|
483
520
|
sits on --cm-bg-disabled (the swap variant is never filled); the pointer states paint nothing.
|
|
484
521
|
Figma's capture (bc/toggle-icon-off|on-disabled--*) draws it like the enabled toggle, which left
|
|
485
522
|
a disabled toggle indistinguishable from an enabled one (issue #2102); the spec text wins. */
|
|
486
|
-
.cm-toggle-icon${
|
|
487
|
-
.cm-toggle-icon:not([data-swap])[aria-pressed="true"]${
|
|
523
|
+
.cm-toggle-icon${Ht} { color: var(--cm-icon-disabled); }
|
|
524
|
+
.cm-toggle-icon:not([data-swap])[aria-pressed="true"]${Ht} { background: var(--cm-bg-disabled); }
|
|
488
525
|
|
|
489
526
|
/* ---------- SplitButton (4.5) ---------- */
|
|
490
527
|
.cm-split {
|
|
491
528
|
display: inline-flex;
|
|
492
529
|
gap: 1px;
|
|
493
|
-
${
|
|
530
|
+
${Q("body")}
|
|
494
531
|
}
|
|
495
532
|
.cm-split > .cm-split-main { border-radius: 5px 0 0 5px; }
|
|
496
533
|
.cm-split > .cm-split-chevron {
|
|
@@ -500,15 +537,15 @@ ${Bt}${ft} {
|
|
|
500
537
|
border-radius: 0 5px 5px 0;
|
|
501
538
|
}
|
|
502
539
|
/* Hovering either half lights both, so they read as one control with a 1px seam. */
|
|
503
|
-
.cm-split:is(:hover, [data-state="hover"]) > .cm-action-icon${
|
|
504
|
-
.cm-split > .cm-action-icon${
|
|
540
|
+
.cm-split:is(:hover, [data-state="hover"]) > .cm-action-icon${pt} { background-color: var(--cm-bg-transparent-hover); }
|
|
541
|
+
.cm-split > .cm-action-icon${Bt}${pt} { background-color: var(--cm-bg-transparent-pressed); }
|
|
505
542
|
/* The chevron while its menu is open: selected ground, brand caret, square (header-and-modes/present-dropdown-open #73). */
|
|
506
543
|
.cm-split > .cm-split-chevron[aria-expanded="true"]:not(:disabled, [data-disabled]) {
|
|
507
544
|
background-color: var(--cm-bg-selected);
|
|
508
545
|
color: var(--cm-icon-brand);
|
|
509
546
|
border-radius: 0;
|
|
510
547
|
}
|
|
511
|
-
`,
|
|
548
|
+
`,mu=Object.freeze(Object.defineProperty({__proto__:null,default:uu},Symbol.toStringTag,{value:"Module"})),pu=`
|
|
512
549
|
/* Mantine Divider: Figma's divider color (spec 9.7). Doubled class so it outranks Mantine's
|
|
513
550
|
per-scheme rule; a caller's color prop still wins because Mantine writes it inline. */
|
|
514
551
|
.mantine-Divider-root.mantine-Divider-root { --divider-color: var(--cm-border); }
|
|
@@ -556,7 +593,7 @@ ${Bt}${ft} {
|
|
|
556
593
|
.cm-section-title {
|
|
557
594
|
display: block;
|
|
558
595
|
min-width: 0;
|
|
559
|
-
${
|
|
596
|
+
${Q("bodyStrong")}
|
|
560
597
|
line-height: 32px;
|
|
561
598
|
letter-spacing: normal;
|
|
562
599
|
color: inherit;
|
|
@@ -565,6 +602,15 @@ ${Bt}${ft} {
|
|
|
565
602
|
white-space: nowrap;
|
|
566
603
|
transition: color var(--cm-duration-sm) var(--cm-ease-out);
|
|
567
604
|
}
|
|
605
|
+
/* A wrapping label (wrapLabel): one line is the same 32px as above; a longer one takes more lines. */
|
|
606
|
+
.cm-section[data-wrap-label] .cm-section-header { height: auto; min-height: 40px; }
|
|
607
|
+
.cm-section[data-wrap-label] .cm-section-lead { height: auto; min-height: 32px; }
|
|
608
|
+
.cm-section[data-wrap-label] .cm-section-title {
|
|
609
|
+
line-height: 16px;
|
|
610
|
+
padding-block: 8px;
|
|
611
|
+
white-space: normal;
|
|
612
|
+
overflow-wrap: anywhere;
|
|
613
|
+
}
|
|
568
614
|
.cm-section-technical { font-weight: 450; color: var(--cm-text-secondary); }
|
|
569
615
|
/* A collapsed section's summary: after the name, in the secondary ink, and the first to give
|
|
570
616
|
way to an ellipsis when the header is narrow. */
|
|
@@ -572,7 +618,7 @@ ${Bt}${ft} {
|
|
|
572
618
|
flex: 0 100 auto;
|
|
573
619
|
min-width: 0;
|
|
574
620
|
margin-inline-start: 8px;
|
|
575
|
-
${
|
|
621
|
+
${Q("body")}
|
|
576
622
|
line-height: 32px;
|
|
577
623
|
color: var(--cm-text-secondary);
|
|
578
624
|
overflow: hidden;
|
|
@@ -605,7 +651,7 @@ ${Bt}${ft} {
|
|
|
605
651
|
.cm-caption {
|
|
606
652
|
display: block;
|
|
607
653
|
min-width: 0;
|
|
608
|
-
${
|
|
654
|
+
${Q("captionStrong")}
|
|
609
655
|
color: var(--cm-text-secondary);
|
|
610
656
|
overflow: hidden;
|
|
611
657
|
text-overflow: ellipsis;
|
|
@@ -614,7 +660,7 @@ ${Bt}${ft} {
|
|
|
614
660
|
|
|
615
661
|
/* Property rows (spec 9.6). */
|
|
616
662
|
.cm-row-reading {
|
|
617
|
-
${
|
|
663
|
+
${Q("body")}
|
|
618
664
|
color: var(--cm-text-secondary);
|
|
619
665
|
}
|
|
620
666
|
.cm-row-reading[data-disabled] { color: var(--cm-text-disabled); }
|
|
@@ -653,7 +699,7 @@ ${Bt}${ft} {
|
|
|
653
699
|
background-color: var(--cm-bg-secondary);
|
|
654
700
|
border-radius: 5px;
|
|
655
701
|
color: var(--cm-text);
|
|
656
|
-
${
|
|
702
|
+
${Q("body")}
|
|
657
703
|
}
|
|
658
704
|
/* The interactive readout is itself the focused element, so it writes the whole outline:
|
|
659
705
|
Mantine's .mantine-focus-never:focus { outline: none } would otherwise erase cm-field's ring. */
|
|
@@ -662,13 +708,35 @@ ${Bt}${ft} {
|
|
|
662
708
|
.cm-compound-unit { color: var(--cm-text-secondary); }
|
|
663
709
|
|
|
664
710
|
/* Chart, ramp and prose rows (spec 9.8). */
|
|
711
|
+
/* A bar painted in a mapping's color can be as dark as the dark panel (a palette's black end): the
|
|
712
|
+
AA option rings each painted bar in the dark scheme, 3:1 against the panel. */
|
|
713
|
+
.cm-histogram-bar[data-painted] {
|
|
714
|
+
box-shadow: inset 0 0 0 1px var(--cm-chart-bar-ring);
|
|
715
|
+
}
|
|
716
|
+
/* A histogram with a range: the bars inside it in a darker brand step than the plain accent, and
|
|
717
|
+
the bars outside it in a pale gray, so the two differ by lightness at 3:1 or more in both schemes. */
|
|
718
|
+
:root {
|
|
719
|
+
--cm-histogram-in: light-dark(var(--cm-bg-brand-pressed), var(--cm-text-brand));
|
|
720
|
+
--cm-histogram-dim: var(--cm-bg-tertiary);
|
|
721
|
+
}
|
|
722
|
+
.cm-histogram-ghost {
|
|
723
|
+
background: var(--cm-bg-secondary);
|
|
724
|
+
box-shadow: inset 0 0 0 1px var(--cm-border);
|
|
725
|
+
}
|
|
726
|
+
.cm-histogram-brush-body { cursor: grab; border-radius: 2px; outline: 1px solid transparent; }
|
|
727
|
+
.cm-histogram-brush-body:active { cursor: grabbing; }
|
|
728
|
+
.cm-histogram-brush-body:focus-visible { outline: 1px solid var(--cm-border-selected); outline-offset: -1px; }
|
|
729
|
+
/* The track between the thumbs belongs to the body: a press there drags the whole range, not the
|
|
730
|
+
nearer thumb. Only the thumbs themselves take the pointer. */
|
|
731
|
+
.cm-histogram-brush-thumbs { pointer-events: none; }
|
|
732
|
+
.cm-histogram-brush-thumbs .cm-slider-thumb { pointer-events: auto; }
|
|
665
733
|
.cm-chart-text {
|
|
666
|
-
${
|
|
734
|
+
${Q("body")}
|
|
667
735
|
color: var(--cm-text-secondary);
|
|
668
736
|
}
|
|
669
|
-
.cm-chart-value { ${
|
|
737
|
+
.cm-chart-value { ${Q("body")} color: var(--cm-text); }
|
|
670
738
|
.cm-prose {
|
|
671
|
-
${
|
|
739
|
+
${Q("body")}
|
|
672
740
|
color: var(--cm-text-secondary);
|
|
673
741
|
}
|
|
674
742
|
|
|
@@ -722,6 +790,22 @@ ${Bt}${ft} {
|
|
|
722
790
|
width: 120px;
|
|
723
791
|
transform: translateX(-50%);
|
|
724
792
|
}
|
|
793
|
+
/* A finger needs a wider strip than the 8px a mouse gets: 24px under a coarse pointer, still
|
|
794
|
+
drawing nothing, and the focus pill keeps its 4px. */
|
|
795
|
+
@media (pointer: coarse) {
|
|
796
|
+
.cm-resize-handle[data-edge="end"],
|
|
797
|
+
.cm-resize-handle[data-edge="start"] { width: 24px; }
|
|
798
|
+
.cm-resize-handle[data-edge="end"] { inset-inline-end: -12px; }
|
|
799
|
+
.cm-resize-handle[data-edge="start"] { inset-inline-start: -12px; }
|
|
800
|
+
.cm-resize-handle[data-edge="top"],
|
|
801
|
+
.cm-resize-handle[data-edge="bottom"] { height: 24px; }
|
|
802
|
+
.cm-resize-handle[data-edge="top"] { top: -12px; }
|
|
803
|
+
.cm-resize-handle[data-edge="bottom"] { bottom: -12px; }
|
|
804
|
+
.cm-resize-handle[data-edge="end"]:focus-visible::before,
|
|
805
|
+
.cm-resize-handle[data-edge="start"]:focus-visible::before { left: 10px; right: 10px; }
|
|
806
|
+
.cm-resize-handle[data-edge="top"]:focus-visible::before,
|
|
807
|
+
.cm-resize-handle[data-edge="bottom"]:focus-visible::before { top: 10px; bottom: 10px; }
|
|
808
|
+
}
|
|
725
809
|
|
|
726
810
|
/* States-story hooks (spec 16): a story cannot hold a real :hover or :focus-visible, so a
|
|
727
811
|
wrapper with data-cm-force draws the state on its subtree. Nothing in a component sets it. */
|
|
@@ -733,7 +817,7 @@ ${Bt}${ft} {
|
|
|
733
817
|
outline: 1px solid var(--cm-border-selected);
|
|
734
818
|
outline-offset: -1px;
|
|
735
819
|
}
|
|
736
|
-
|
|
820
|
+
`,hu=Object.freeze(Object.defineProperty({__proto__:null,default:pu},Symbol.toStringTag,{value:"Module"})),Ao="repeating-conic-gradient(#ffffff 0 25%, #e1e1e1 0 50%) 0 0 / 6px 6px",fu="repeating-conic-gradient(light-dark(#ffffff, #2c2c2c) 0 25%, light-dark(#e1e1e1, #383838) 0 50%) 0 0 / 10.667px 10.667px",bu=`
|
|
737
821
|
/* States a story cannot reach with a pointer are forced with data-state="hover" / "focus"
|
|
738
822
|
(design/figma-spec.md 16); each rule below lists the forced state beside the real one. */
|
|
739
823
|
|
|
@@ -745,7 +829,7 @@ ${Bt}${ft} {
|
|
|
745
829
|
inset-block: 0;
|
|
746
830
|
inset-inline: 50% 0;
|
|
747
831
|
border-radius: 0;
|
|
748
|
-
background: ${
|
|
832
|
+
background: ${Ao};
|
|
749
833
|
}
|
|
750
834
|
.cm-chit .cm-chit-shadow { z-index: 3; box-shadow: none; }
|
|
751
835
|
.cm-chit[data-light] .cm-chit-shadow { box-shadow: inset 0 0 0 2px var(--cm-border-translucent); }
|
|
@@ -753,7 +837,7 @@ ${Bt}${ft} {
|
|
|
753
837
|
position: absolute;
|
|
754
838
|
inset-block: 0;
|
|
755
839
|
inset-inline: 50% 0;
|
|
756
|
-
background: linear-gradient(var(--cm-chit-color), var(--cm-chit-color)), ${
|
|
840
|
+
background: linear-gradient(var(--cm-chit-color), var(--cm-chit-color)), ${Ao};
|
|
757
841
|
}
|
|
758
842
|
/* Field form: 14 x 14, radius 2, a half-pixel inner border drawn at double size and scaled. */
|
|
759
843
|
.cm-chit[data-variant="field"]::after {
|
|
@@ -771,24 +855,36 @@ ${Bt}${ft} {
|
|
|
771
855
|
pointer-events: none;
|
|
772
856
|
}
|
|
773
857
|
|
|
774
|
-
/* A paint field's own label
|
|
858
|
+
/* A paint field's own label: the same caption as every other field's label (.cm-field-label,
|
|
859
|
+
9/14 500, secondary, in a 16 band, 4 above the field), so a panel mixing kinds reads as one. */
|
|
775
860
|
.cm-paint-label {
|
|
776
|
-
|
|
861
|
+
display: flex;
|
|
862
|
+
align-items: center;
|
|
863
|
+
min-height: 16px;
|
|
864
|
+
margin: 0 0 4px 0;
|
|
777
865
|
color: var(--cm-text-secondary);
|
|
778
|
-
${
|
|
866
|
+
${Q("captionStrong")}
|
|
779
867
|
}
|
|
780
868
|
|
|
781
869
|
/* 7.2 Paint field: one 24-tall field, a 1px border in the fill color that hover and focus
|
|
782
870
|
repaint, the chit at x+5, hex from x+24, a 1px seam, then opacity and its "%" handle. */
|
|
871
|
+
/* The field and its reset share one line, the field giving way when the row is narrow, so the
|
|
872
|
+
reset never drops under the field. */
|
|
783
873
|
.cm-paint {
|
|
784
|
-
display:
|
|
874
|
+
display: grid;
|
|
875
|
+
grid-template-columns: minmax(0, max-content) auto;
|
|
876
|
+
justify-content: start;
|
|
785
877
|
align-items: center;
|
|
786
|
-
gap: 8px;
|
|
878
|
+
gap: 4px 8px;
|
|
787
879
|
}
|
|
788
880
|
.cm-paint-field {
|
|
789
881
|
position: relative;
|
|
790
882
|
display: flex;
|
|
791
|
-
|
|
883
|
+
/* Its width until the row is narrower (a panel with a scrollbar), then it gives way, so the
|
|
884
|
+
reset button beside it stays inside the row instead of pushing the panel sideways. */
|
|
885
|
+
flex: 0 1 auto;
|
|
886
|
+
min-width: 0;
|
|
887
|
+
max-width: 100%;
|
|
792
888
|
align-items: center;
|
|
793
889
|
box-sizing: border-box;
|
|
794
890
|
height: 24px;
|
|
@@ -796,7 +892,7 @@ ${Bt}${ft} {
|
|
|
796
892
|
border-radius: 5px;
|
|
797
893
|
background-color: var(--cm-bg-secondary);
|
|
798
894
|
color: var(--cm-text);
|
|
799
|
-
${
|
|
895
|
+
${Q("body")}
|
|
800
896
|
box-shadow: var(--cm-field-shadow);
|
|
801
897
|
}
|
|
802
898
|
.cm-paint-field:hover,
|
|
@@ -825,7 +921,8 @@ ${Bt}${ft} {
|
|
|
825
921
|
[data-testid="field-row"]:has(.cm-paint-chit[aria-expanded="true"]):dir(rtl) {
|
|
826
922
|
border-image-outset: 0 16px 0 8px;
|
|
827
923
|
}
|
|
828
|
-
|
|
924
|
+
/* Disabled by its own prop, by a disabled fieldset around it, or by aria-disabled around it. */
|
|
925
|
+
.cm-paint-field:is([data-disabled], :has(:disabled), [aria-disabled="true"] *) {
|
|
829
926
|
border-color: var(--cm-border-disabled);
|
|
830
927
|
background-color: var(--cm-bg);
|
|
831
928
|
color: var(--cm-text-disabled);
|
|
@@ -846,7 +943,34 @@ ${Bt}${ft} {
|
|
|
846
943
|
cursor: default;
|
|
847
944
|
}
|
|
848
945
|
.cm-paint-chit:focus-visible .cm-chit::after { box-shadow: inset 0 0 0 2px var(--cm-border-selected); }
|
|
849
|
-
.cm-paint-chit:disabled .cm-chit { opacity: 0.4; }
|
|
946
|
+
.cm-paint-chit:is(:disabled, [aria-disabled="true"] *) .cm-chit { opacity: 0.4; }
|
|
947
|
+
/* Mixed: no color is in force, so the swatch is a dash in an outline, which still opens the
|
|
948
|
+
picker. */
|
|
949
|
+
.cm-paint-chit:is([data-mixed], [data-empty]) {
|
|
950
|
+
align-items: center;
|
|
951
|
+
justify-content: center;
|
|
952
|
+
border-radius: 2px;
|
|
953
|
+
box-shadow: inset 0 0 0 1px var(--cm-border);
|
|
954
|
+
color: var(--cm-text-secondary);
|
|
955
|
+
}
|
|
956
|
+
.cm-paint-chit:is([data-mixed], [data-empty]):focus-visible { box-shadow: inset 0 0 0 2px var(--cm-border-selected); }
|
|
957
|
+
/* The chip form: the swatch alone, 24 square (WCAG 2.2, 2.5.8). Mixed draws a dash in an outline,
|
|
958
|
+
which cannot be taken for a color. */
|
|
959
|
+
.cm-paint-chip-wrap { display: inline-flex; flex: none; }
|
|
960
|
+
.cm-paint-chit.cm-paint-chip {
|
|
961
|
+
align-items: center;
|
|
962
|
+
justify-content: center;
|
|
963
|
+
width: 24px;
|
|
964
|
+
height: 24px;
|
|
965
|
+
margin: 0;
|
|
966
|
+
border-radius: 5px;
|
|
967
|
+
color: var(--cm-text-secondary);
|
|
968
|
+
}
|
|
969
|
+
.cm-paint-chip .cm-chit { width: 24px; height: 24px; border-radius: 5px; }
|
|
970
|
+
.cm-paint-chip .cm-chit::after { border-radius: 10px; }
|
|
971
|
+
.cm-paint-chip:is([data-mixed], [data-empty]) { box-shadow: inset 0 0 0 1px var(--cm-border); }
|
|
972
|
+
.cm-paint-chip:is([data-mixed], [data-empty]):focus-visible { box-shadow: inset 0 0 0 2px var(--cm-border-selected); }
|
|
973
|
+
.cm-paint-chip:is(:disabled, [aria-disabled="true"] *) { color: var(--cm-text-disabled); }
|
|
850
974
|
.cm-paint-input {
|
|
851
975
|
box-sizing: border-box;
|
|
852
976
|
min-width: 0;
|
|
@@ -860,18 +984,19 @@ ${Bt}${ft} {
|
|
|
860
984
|
font: inherit;
|
|
861
985
|
letter-spacing: inherit;
|
|
862
986
|
outline: none;
|
|
987
|
+
/* Figma's arrow until the box is focused (rs/fill-opacity-default). */
|
|
863
988
|
cursor: default;
|
|
864
989
|
}
|
|
865
990
|
.cm-paint-input:focus { cursor: text; }
|
|
866
|
-
.cm-paint-input
|
|
867
|
-
.cm-paint-input[
|
|
868
|
-
|
|
869
|
-
font-style: italic;
|
|
870
|
-
}
|
|
991
|
+
.cm-paint-input::placeholder { color: var(--cm-text-tertiary); opacity: 1; }
|
|
992
|
+
.cm-paint-input:is(:disabled, [aria-disabled="true"] *),
|
|
993
|
+
.cm-paint-input:is(:disabled, [aria-disabled="true"] *)::placeholder { color: var(--cm-text-disabled); }
|
|
871
994
|
.cm-paint-hex {
|
|
872
995
|
flex: 1 1 0;
|
|
996
|
+
/* No width of its own: an input's default (about 20 characters) was its share of the field's
|
|
997
|
+
min-content, so a field filling a pop-out ("100%") widened the pop-out past its width. */
|
|
998
|
+
width: 0;
|
|
873
999
|
margin-inline-start: 5px;
|
|
874
|
-
text-transform: uppercase;
|
|
875
1000
|
}
|
|
876
1001
|
.cm-paint-opacity {
|
|
877
1002
|
position: relative;
|
|
@@ -913,21 +1038,37 @@ ${Bt}${ft} {
|
|
|
913
1038
|
/* A field too narrow for the hex and the opacity box together keeps the hex: the opacity box goes,
|
|
914
1039
|
and the opacity stays editable in the picker. 120 is the chit, the hex's six digits and the
|
|
915
1040
|
54px opacity box. */
|
|
916
|
-
.cm-paint-field {
|
|
1041
|
+
.cm-paint-field {
|
|
1042
|
+
container-type: inline-size;
|
|
1043
|
+
/* A size container's own content gives it no width, and the field's column is sized to its
|
|
1044
|
+
content: without this a field given a share of its row ("100%") collapses to its border. */
|
|
1045
|
+
contain-intrinsic-inline-size: ${String(D.BODY)}px;
|
|
1046
|
+
}
|
|
917
1047
|
@container (max-width: 119px) {
|
|
918
1048
|
.cm-paint-opacity { display: none; }
|
|
919
1049
|
}
|
|
920
|
-
|
|
1050
|
+
/* Figma's "%" keeps its color on hover. The rule stays, drawing nothing new: Chromium's touch
|
|
1051
|
+
adjustment moves a tap off an element with no hover rule onto the text box beside it, and the
|
|
1052
|
+
scrub never starts. */
|
|
1053
|
+
.cm-paint-opacity:not([data-disabled]) .cm-paint-suffix:hover {
|
|
1054
|
+
color: var(--cm-text-secondary);
|
|
1055
|
+
}
|
|
1056
|
+
.cm-paint-opacity[data-disabled] .cm-paint-suffix,
|
|
1057
|
+
[aria-disabled="true"] .cm-paint-suffix {
|
|
921
1058
|
color: var(--cm-text-disabled);
|
|
922
1059
|
cursor: default;
|
|
923
1060
|
}
|
|
1061
|
+
/* Under a locked panel (aria-disabled around it) the field's reset dims with its text, as a
|
|
1062
|
+
disabled prop dims it. */
|
|
1063
|
+
.cm-paint { --cm-paint-reset-ink: var(--cm-text-secondary); }
|
|
1064
|
+
.cm-paint:is([data-disabled], [aria-disabled="true"] *) { --cm-paint-reset-ink: var(--cm-text-disabled); }
|
|
924
1065
|
|
|
925
1066
|
/* 7.3 Color picker, the body of a light popover 240 wide. */
|
|
926
1067
|
.cm-color-picker {
|
|
927
1068
|
box-sizing: border-box;
|
|
928
1069
|
width: 240px;
|
|
929
1070
|
color: var(--cm-text);
|
|
930
|
-
${
|
|
1071
|
+
${Q("body")}
|
|
931
1072
|
}
|
|
932
1073
|
.cm-color-picker-types {
|
|
933
1074
|
display: flex;
|
|
@@ -1019,7 +1160,10 @@ ${Bt}${ft} {
|
|
|
1019
1160
|
border-start-end-radius: 5px;
|
|
1020
1161
|
border-end-end-radius: 5px;
|
|
1021
1162
|
}
|
|
1163
|
+
/* Static, not the paint field's relative (which only places its seam): a positioned opacity box
|
|
1164
|
+
paints over the field's inset outline, so the focus and hover ring covered the hex half only. */
|
|
1022
1165
|
.cm-joined-field .cm-paint-opacity {
|
|
1166
|
+
position: static;
|
|
1023
1167
|
border-radius: 0;
|
|
1024
1168
|
border-start-end-radius: 5px;
|
|
1025
1169
|
border-end-end-radius: 5px;
|
|
@@ -1077,7 +1221,7 @@ ${Bt}${ft} {
|
|
|
1077
1221
|
box-shadow: none !important;
|
|
1078
1222
|
}
|
|
1079
1223
|
.cm-color-slider[data-alpha] .cm-color-slider-track:first-child {
|
|
1080
|
-
background: ${
|
|
1224
|
+
background: ${fu} !important;
|
|
1081
1225
|
}
|
|
1082
1226
|
.cm-color-slider::after {
|
|
1083
1227
|
content: "";
|
|
@@ -1135,7 +1279,7 @@ ${Bt}${ft} {
|
|
|
1135
1279
|
width: 100%;
|
|
1136
1280
|
padding-bottom: 12px;
|
|
1137
1281
|
color: var(--cm-text);
|
|
1138
|
-
${
|
|
1282
|
+
${Q("body")}
|
|
1139
1283
|
}
|
|
1140
1284
|
.cm-gradient-row {
|
|
1141
1285
|
display: flex;
|
|
@@ -1158,7 +1302,7 @@ ${Bt}${ft} {
|
|
|
1158
1302
|
.cm-gradient-bar {
|
|
1159
1303
|
height: 32px;
|
|
1160
1304
|
border-radius: 5px;
|
|
1161
|
-
background: linear-gradient(to right, var(--cm-gradient)), ${
|
|
1305
|
+
background: linear-gradient(to right, var(--cm-gradient)), ${Ao};
|
|
1162
1306
|
outline: 1px solid var(--cm-border-translucent);
|
|
1163
1307
|
outline-offset: -1px;
|
|
1164
1308
|
}
|
|
@@ -1203,7 +1347,7 @@ ${Bt}${ft} {
|
|
|
1203
1347
|
height: 14px;
|
|
1204
1348
|
border: 1px solid var(--cm-border-translucent);
|
|
1205
1349
|
border-radius: 2px;
|
|
1206
|
-
background: linear-gradient(var(--cm-chit-color), var(--cm-chit-color)), ${
|
|
1350
|
+
background: linear-gradient(var(--cm-chit-color), var(--cm-chit-color)), ${Ao};
|
|
1207
1351
|
}
|
|
1208
1352
|
.cm-gradient-header {
|
|
1209
1353
|
display: flex;
|
|
@@ -1212,7 +1356,7 @@ ${Bt}${ft} {
|
|
|
1212
1356
|
height: 32px;
|
|
1213
1357
|
margin-top: 8px;
|
|
1214
1358
|
padding-inline: 16px 8px;
|
|
1215
|
-
${
|
|
1359
|
+
${Q("bodyStrong")}
|
|
1216
1360
|
}
|
|
1217
1361
|
.cm-gradient-header > :last-child { margin-inline-start: auto; }
|
|
1218
1362
|
.cm-gradient-stops { margin-top: 4px; }
|
|
@@ -1228,7 +1372,7 @@ ${Bt}${ft} {
|
|
|
1228
1372
|
.cm-gradient-color .cm-chit::after { border-radius: 20%; }
|
|
1229
1373
|
.cm-gradient-color .cm-paint-chit:not(:focus-visible) .cm-chit::after { content: none; }
|
|
1230
1374
|
.cm-gradient-color .cm-paint-hex { margin-inline-start: 0; padding-inline-start: 4px; }
|
|
1231
|
-
`,
|
|
1375
|
+
`,xu=Object.freeze(Object.defineProperty({__proto__:null,CHECKER:Ao,default:bu},Symbol.toStringTag,{value:"Module"})),gu=`
|
|
1232
1376
|
/* ---- The field (spec 6, shared rules) ---- */
|
|
1233
1377
|
.cm-input-wrapper {
|
|
1234
1378
|
--input-color: var(--cm-text);
|
|
@@ -1273,7 +1417,14 @@ ${Bt}${ft} {
|
|
|
1273
1417
|
color: var(--cm-text-disabled);
|
|
1274
1418
|
cursor: default;
|
|
1275
1419
|
}
|
|
1420
|
+
/* Disabled by its own prop, by a disabled fieldset around it (its inputs match :disabled), or by
|
|
1421
|
+
aria-disabled on it or around it. */
|
|
1422
|
+
.cm-input-wrapper .cm-input:is(:disabled, [data-disabled], [aria-disabled="true"], [aria-disabled="true"] *),
|
|
1423
|
+
.cm-input-wrapper .cm-input:is(:disabled, [data-disabled], [aria-disabled="true"], [aria-disabled="true"] *)::placeholder {
|
|
1424
|
+
color: var(--cm-text-disabled);
|
|
1425
|
+
}
|
|
1276
1426
|
.cm-input-wrapper[data-disabled],
|
|
1427
|
+
.cm-input-wrapper:is([aria-disabled="true"] *),
|
|
1277
1428
|
.cm-input-wrapper:has(:disabled) {
|
|
1278
1429
|
--input-color: var(--cm-text-disabled);
|
|
1279
1430
|
--input-placeholder-color: var(--cm-text-disabled);
|
|
@@ -1353,16 +1504,16 @@ ${Bt}${ft} {
|
|
|
1353
1504
|
display: flex;
|
|
1354
1505
|
align-items: center;
|
|
1355
1506
|
min-height: 16px;
|
|
1356
|
-
${
|
|
1507
|
+
${Q("captionStrong")}
|
|
1357
1508
|
color: var(--cm-text-secondary);
|
|
1358
1509
|
margin: 0 0 4px 0;
|
|
1359
1510
|
}
|
|
1360
1511
|
.cm-field-description {
|
|
1361
|
-
${
|
|
1512
|
+
${Q("legend")}
|
|
1362
1513
|
color: var(--cm-text-secondary);
|
|
1363
1514
|
}
|
|
1364
1515
|
.cm-field-error {
|
|
1365
|
-
${
|
|
1516
|
+
${Q("legend")}
|
|
1366
1517
|
color: var(--cm-text-danger);
|
|
1367
1518
|
}
|
|
1368
1519
|
|
|
@@ -1405,6 +1556,12 @@ ${Bt}${ft} {
|
|
|
1405
1556
|
.cm-input-wrapper:is([data-disabled], :has(:disabled)) .cm-field-caret {
|
|
1406
1557
|
color: var(--cm-text-disabled);
|
|
1407
1558
|
}
|
|
1559
|
+
/* A disabled select keeps its caret, dimmed with its text (Figma, spec 6.4), and draws its edge in
|
|
1560
|
+
the disabled ink like every disabled field. */
|
|
1561
|
+
.cm-select.cm-field-outlined.cm-input-wrapper:is([data-disabled], :has(:disabled)),
|
|
1562
|
+
.cm-select.cm-field-outlined.cm-input-wrapper:is([data-disabled], :has(:disabled)):hover:not(:focus-within) {
|
|
1563
|
+
border-color: var(--cm-border-disabled);
|
|
1564
|
+
}
|
|
1408
1565
|
|
|
1409
1566
|
/* ---- The listbox (spec 6.5): the menu surface, following the page's scheme ---- */
|
|
1410
1567
|
/* The surface restated at two classes: a Combobox dropdown is a Mantine Popover dropdown, so it
|
|
@@ -1451,16 +1608,22 @@ ${Bt}${ft} {
|
|
|
1451
1608
|
.cm-listbox .cm-listbox-option[data-combobox-disabled]::before {
|
|
1452
1609
|
background: transparent;
|
|
1453
1610
|
}
|
|
1454
|
-
.cm-listbox .cm-listbox-option[data-combobox-disabled] { ${
|
|
1611
|
+
.cm-listbox .cm-listbox-option[data-combobox-disabled] { ${no} }
|
|
1455
1612
|
/* Only one row is ever filled: the pointer's row, else the keyboard's, else the selected one. */
|
|
1456
|
-
.cm-listbox:has(.cm-menu-row:hover) .cm-menu-row[data-combobox-selected]:not(:hover)::before,
|
|
1613
|
+
.cm-listbox:not(.cm-pointer-still):has(.cm-menu-row:hover) .cm-menu-row[data-combobox-selected]:not(:hover)::before,
|
|
1457
1614
|
.cm-listbox:has([data-combobox-selected]) .cm-menu-row[aria-selected="true"]:not([data-combobox-selected])::before,
|
|
1458
1615
|
.cm-listbox-multi .cm-menu-row[aria-selected="true"]:not(:hover):not([data-combobox-selected])::before {
|
|
1459
1616
|
background: transparent;
|
|
1460
1617
|
}
|
|
1618
|
+
/* A pointer that has not moved since the list opened is not hovering a choice: the
|
|
1619
|
+
row under it is not filled, and the selected row keeps its fill. The row still takes a press, so
|
|
1620
|
+
a click or a tap that comes with no move lands. */
|
|
1621
|
+
.cm-listbox.cm-pointer-still .cm-menu-row:hover:not([data-combobox-selected], [aria-selected="true"])::before {
|
|
1622
|
+
background: transparent;
|
|
1623
|
+
}
|
|
1461
1624
|
.cm-listbox:has(.cm-menu-row:hover) .cm-menu-row[data-combobox-selected]:not(:hover),
|
|
1462
1625
|
.cm-listbox:has([data-combobox-selected]) .cm-menu-row[aria-selected="true"]:not([data-combobox-selected]),
|
|
1463
|
-
.cm-listbox-multi .cm-menu-row[aria-selected="true"]:not(:hover):not([data-combobox-selected]) { ${
|
|
1626
|
+
.cm-listbox-multi .cm-menu-row[aria-selected="true"]:not(:hover):not([data-combobox-selected]) { ${no} }
|
|
1464
1627
|
/* The check follows the value (data-checked), not aria-selected: Mantine's store moves
|
|
1465
1628
|
aria-selected along with the keyboard highlight. */
|
|
1466
1629
|
.cm-listbox .cm-menu-row .cm-menu-row-check {
|
|
@@ -1469,6 +1632,62 @@ ${Bt}${ft} {
|
|
|
1469
1632
|
.cm-listbox .cm-menu-row[data-checked] .cm-menu-row-check {
|
|
1470
1633
|
opacity: 1;
|
|
1471
1634
|
}
|
|
1635
|
+
/* A StyleSelect laid out as a grid (layout="grid"): one cell per option, its glyph over its name.
|
|
1636
|
+
The columns are set inline by the select; the fill keeps 2px from the cell's sides. The value in
|
|
1637
|
+
force carries the list's check, in the cell's top corner, so a grid and a list mark it alike. */
|
|
1638
|
+
.cm-listbox .cm-listbox-grid {
|
|
1639
|
+
display: grid;
|
|
1640
|
+
padding: 0 8px;
|
|
1641
|
+
}
|
|
1642
|
+
.cm-listbox .cm-listbox-grid .cm-listbox-option {
|
|
1643
|
+
position: relative;
|
|
1644
|
+
flex-direction: column;
|
|
1645
|
+
justify-content: flex-start;
|
|
1646
|
+
align-items: center;
|
|
1647
|
+
gap: 2px;
|
|
1648
|
+
min-width: 64px;
|
|
1649
|
+
min-height: 52px;
|
|
1650
|
+
height: auto;
|
|
1651
|
+
padding: 4px;
|
|
1652
|
+
}
|
|
1653
|
+
.cm-listbox .cm-listbox-grid .cm-menu-row::before {
|
|
1654
|
+
inset: 0 2px;
|
|
1655
|
+
}
|
|
1656
|
+
.cm-listbox .cm-listbox-grid .cm-menu-row-check {
|
|
1657
|
+
position: absolute;
|
|
1658
|
+
inset-block-start: 2px;
|
|
1659
|
+
inset-inline-start: 4px;
|
|
1660
|
+
}
|
|
1661
|
+
/* A name is never cut: it wraps between words, and the columns are as wide as the longest word
|
|
1662
|
+
(the label's min-content). */
|
|
1663
|
+
.cm-listbox .cm-listbox-grid .cm-listbox-label {
|
|
1664
|
+
width: min-content;
|
|
1665
|
+
min-width: 100%;
|
|
1666
|
+
font-size: 11px;
|
|
1667
|
+
line-height: 13px;
|
|
1668
|
+
text-align: center;
|
|
1669
|
+
white-space: normal;
|
|
1670
|
+
overflow: visible;
|
|
1671
|
+
text-overflow: clip;
|
|
1672
|
+
}
|
|
1673
|
+
.cm-listbox .cm-listbox-option-content {
|
|
1674
|
+
display: contents;
|
|
1675
|
+
}
|
|
1676
|
+
.cm-listbox .cm-listbox-glyph {
|
|
1677
|
+
display: inline-flex;
|
|
1678
|
+
flex: none;
|
|
1679
|
+
width: 24px;
|
|
1680
|
+
height: 24px;
|
|
1681
|
+
align-items: center;
|
|
1682
|
+
justify-content: center;
|
|
1683
|
+
}
|
|
1684
|
+
/* Any depth: a caller's glyph may wrap its svg (a catalog's markup in a span), and an svg left at
|
|
1685
|
+
its own size spills over the value's words. */
|
|
1686
|
+
.cm-style-select-glyph svg,
|
|
1687
|
+
.cm-listbox .cm-listbox-glyph svg {
|
|
1688
|
+
width: 100%;
|
|
1689
|
+
height: 100%;
|
|
1690
|
+
}
|
|
1472
1691
|
.cm-listbox .cm-listbox-label {
|
|
1473
1692
|
min-width: 0;
|
|
1474
1693
|
overflow: hidden;
|
|
@@ -1479,7 +1698,7 @@ ${Bt}${ft} {
|
|
|
1479
1698
|
align-items: center;
|
|
1480
1699
|
height: 24px;
|
|
1481
1700
|
padding: 0 32px;
|
|
1482
|
-
${
|
|
1701
|
+
${Q("body")}
|
|
1483
1702
|
color: var(--cm-text-menu-secondary);
|
|
1484
1703
|
}
|
|
1485
1704
|
.cm-listbox .cm-listbox-group-label::after {
|
|
@@ -1502,7 +1721,7 @@ ${Bt}${ft} {
|
|
|
1502
1721
|
align-items: center;
|
|
1503
1722
|
height: 24px;
|
|
1504
1723
|
padding: 0 16px;
|
|
1505
|
-
${
|
|
1724
|
+
${Q("body")}
|
|
1506
1725
|
color: var(--cm-text-menu-secondary);
|
|
1507
1726
|
}
|
|
1508
1727
|
|
|
@@ -1531,7 +1750,7 @@ ${Bt}${ft} {
|
|
|
1531
1750
|
border-radius: 5px;
|
|
1532
1751
|
background-color: var(--cm-bg);
|
|
1533
1752
|
color: var(--cm-text);
|
|
1534
|
-
${
|
|
1753
|
+
${Q("body")}
|
|
1535
1754
|
}
|
|
1536
1755
|
/* The label fills the 18px inside the pill's 1px edges; its text centered in it. */
|
|
1537
1756
|
.cm-input-pill .mantine-Pill-label,
|
|
@@ -1634,7 +1853,7 @@ ${Bt}${ft} {
|
|
|
1634
1853
|
border-inline-start: 1px solid var(--cm-bg);
|
|
1635
1854
|
}
|
|
1636
1855
|
.cm-combo-suffix {
|
|
1637
|
-
${
|
|
1856
|
+
${Q("body")}
|
|
1638
1857
|
color: var(--cm-text-secondary);
|
|
1639
1858
|
white-space: nowrap;
|
|
1640
1859
|
}
|
|
@@ -1667,7 +1886,7 @@ ${Bt}${ft} {
|
|
|
1667
1886
|
border-radius: 5px;
|
|
1668
1887
|
background-color: var(--cm-bg);
|
|
1669
1888
|
color: var(--cm-text);
|
|
1670
|
-
${
|
|
1889
|
+
${Q("body")}
|
|
1671
1890
|
white-space: nowrap;
|
|
1672
1891
|
overflow: hidden;
|
|
1673
1892
|
text-overflow: ellipsis;
|
|
@@ -1683,6 +1902,15 @@ ${Bt}${ft} {
|
|
|
1683
1902
|
gap: 0;
|
|
1684
1903
|
padding-inline-end: 3px;
|
|
1685
1904
|
}
|
|
1905
|
+
/* A field with no glyph: the pill sits 2px in from the field's edge, as it does from its top. */
|
|
1906
|
+
.cm-var-field:not(:has(> .cm-scrub-slot)) {
|
|
1907
|
+
padding-inline-start: 2px;
|
|
1908
|
+
}
|
|
1909
|
+
/* The pill and Detach ring themselves on keyboard focus, so the field around them does not ring
|
|
1910
|
+
too: one ring, on the control that has focus. The field still rings for its own input. */
|
|
1911
|
+
.cm-var-field.cm-field:has(.cm-var-pill:focus-visible, .cm-var-detach:focus-visible) {
|
|
1912
|
+
outline-color: transparent;
|
|
1913
|
+
}
|
|
1686
1914
|
.cm-var-field .cm-var-pill-slot {
|
|
1687
1915
|
display: flex;
|
|
1688
1916
|
flex: 1 1 auto;
|
|
@@ -1704,7 +1932,7 @@ ${Bt}${ft} {
|
|
|
1704
1932
|
outline: 0;
|
|
1705
1933
|
background: transparent;
|
|
1706
1934
|
color: var(--cm-text);
|
|
1707
|
-
${
|
|
1935
|
+
${Q("body")}
|
|
1708
1936
|
font-family: inherit;
|
|
1709
1937
|
}
|
|
1710
1938
|
/* Detach shows while the field is hovered or holds focus. It is never display:none, so the
|
|
@@ -1769,7 +1997,7 @@ ${Bt}${ft} {
|
|
|
1769
1997
|
outline-offset: -1px;
|
|
1770
1998
|
background: transparent;
|
|
1771
1999
|
color: var(--cm-text);
|
|
1772
|
-
${
|
|
2000
|
+
${Q("body")}
|
|
1773
2001
|
text-align: start;
|
|
1774
2002
|
cursor: default;
|
|
1775
2003
|
}
|
|
@@ -1789,7 +2017,13 @@ ${Bt}${ft} {
|
|
|
1789
2017
|
width: 14px;
|
|
1790
2018
|
height: 14px;
|
|
1791
2019
|
border-radius: 2px;
|
|
1792
|
-
box-shadow: inset 0 0 0 1px var(--cm-
|
|
2020
|
+
box-shadow: inset 0 0 0 1px var(--cm-swatch-ring);
|
|
2021
|
+
}
|
|
2022
|
+
/* tone="component": the name drawn in the component purple, as the tree's component rows are. */
|
|
2023
|
+
.cm-var-name[data-tone="component"],
|
|
2024
|
+
.cm-var-pill[data-tone="component"] {
|
|
2025
|
+
color: var(--cm-text-component);
|
|
2026
|
+
font-weight: 600;
|
|
1793
2027
|
}
|
|
1794
2028
|
.cm-var-name {
|
|
1795
2029
|
min-width: 0;
|
|
@@ -1797,7 +2031,40 @@ ${Bt}${ft} {
|
|
|
1797
2031
|
text-overflow: ellipsis;
|
|
1798
2032
|
white-space: nowrap;
|
|
1799
2033
|
}
|
|
1800
|
-
|
|
2034
|
+
/* ---- FileSource: a URL field, a drop target or a button ---- */
|
|
2035
|
+
.cm-file-source {
|
|
2036
|
+
display: flex;
|
|
2037
|
+
flex-direction: column;
|
|
2038
|
+
gap: 8px;
|
|
2039
|
+
min-width: 0;
|
|
2040
|
+
}
|
|
2041
|
+
.cm-file-source[data-variant="row"][data-over] .cm-file-url .cm-input-wrapper,
|
|
2042
|
+
.cm-file-source[data-variant="row"][data-over] > .mantine-Button-root {
|
|
2043
|
+
outline: 1px solid var(--cm-border-selected);
|
|
2044
|
+
outline-offset: -1px;
|
|
2045
|
+
}
|
|
2046
|
+
.cm-file-drop-target {
|
|
2047
|
+
display: flex;
|
|
2048
|
+
flex-direction: column;
|
|
2049
|
+
align-items: center;
|
|
2050
|
+
gap: 8px;
|
|
2051
|
+
padding: 16px 8px;
|
|
2052
|
+
border: 1px dashed var(--cm-border);
|
|
2053
|
+
border-radius: 5px;
|
|
2054
|
+
color: var(--cm-icon-secondary);
|
|
2055
|
+
}
|
|
2056
|
+
.cm-file-source[data-over] .cm-file-drop-target {
|
|
2057
|
+
border-color: var(--cm-border-selected);
|
|
2058
|
+
background-color: var(--cm-bg-selected);
|
|
2059
|
+
}
|
|
2060
|
+
.cm-file-source[data-disabled] .cm-file-drop-target {
|
|
2061
|
+
border-color: var(--cm-border-disabled);
|
|
2062
|
+
color: var(--cm-icon-disabled);
|
|
2063
|
+
}
|
|
2064
|
+
.cm-file-drop-glyph {
|
|
2065
|
+
display: inline-flex;
|
|
2066
|
+
}
|
|
2067
|
+
`,vu=Object.freeze(Object.defineProperty({__proto__:null,default:gu},Symbol.toStringTag,{value:"Module"})),wu=`
|
|
1801
2068
|
/* ---------------------------------------------------------------- 8.1 menu */
|
|
1802
2069
|
|
|
1803
2070
|
/* The dropdown: the foundation's cm-menu-surface (the page's scheme, or always dark with
|
|
@@ -1885,6 +2152,20 @@ ${Bt}${ft} {
|
|
|
1885
2152
|
text-overflow: ellipsis;
|
|
1886
2153
|
}
|
|
1887
2154
|
|
|
2155
|
+
/* A row with a second line (MenuItemDescription), which Figma never draws: it grows to hold both
|
|
2156
|
+
lines whole (38: 16 + 14 + 4 above and below); the leading and trailing slots stay centered. */
|
|
2157
|
+
.cm-menu-item:has(.cm-menu-item-description) {
|
|
2158
|
+
height: auto;
|
|
2159
|
+
padding-block: 4px;
|
|
2160
|
+
}
|
|
2161
|
+
.cm-menu-item-description {
|
|
2162
|
+
display: block;
|
|
2163
|
+
overflow: hidden;
|
|
2164
|
+
text-overflow: ellipsis;
|
|
2165
|
+
color: var(--cm-text-menu-secondary);
|
|
2166
|
+
${Q("caption")}
|
|
2167
|
+
}
|
|
2168
|
+
|
|
1888
2169
|
/* Leading slot: a 24 x 24 icon starts 12px from the menu edge with a 4px gap to the label; the
|
|
1889
2170
|
16 x 16 check column starts at 16 with no gap (labels 32 from the edge). */
|
|
1890
2171
|
.cm-menu-item-section {
|
|
@@ -1911,23 +2192,24 @@ ${Bt}${ft} {
|
|
|
1911
2192
|
|
|
1912
2193
|
/* Highlight: pointer (:hover, from the foundation), keyboard (:focus: Mantine moves focus
|
|
1913
2194
|
through the rows) and an open submenu's parent row. Only one row is ever filled: a row under
|
|
1914
|
-
the pointer takes the highlight from a keyboard-focused one.
|
|
1915
|
-
.
|
|
2195
|
+
the pointer takes the highlight from a keyboard-focused one. A disabled row never takes it,
|
|
2196
|
+
focused (it stays focusable to show its reason) or hovered. */
|
|
2197
|
+
.cm-menu-item:not([data-disabled], :disabled):focus::before,
|
|
1916
2198
|
.cm-menu-item[aria-expanded="true"]::before {
|
|
1917
2199
|
background: var(--cm-bg-brand);
|
|
1918
2200
|
}
|
|
1919
2201
|
.cm-menu-item:focus,
|
|
1920
|
-
.cm-menu-item[aria-expanded="true"] { ${
|
|
2202
|
+
.cm-menu-item[aria-expanded="true"] { ${Cr} }
|
|
1921
2203
|
.cm-menu:has(> .cm-menu-item:hover) > .cm-menu-item:focus:not(:hover, [aria-expanded="true"])::before {
|
|
1922
2204
|
background: transparent;
|
|
1923
2205
|
}
|
|
1924
|
-
.cm-menu:has(> .cm-menu-item:hover) > .cm-menu-item:focus:not(:hover, [aria-expanded="true"]) { ${
|
|
2206
|
+
.cm-menu:has(> .cm-menu-item:hover) > .cm-menu-item:focus:not(:hover, [aria-expanded="true"]) { ${no} }
|
|
1925
2207
|
/* The trailing slot (shortcut, chevron) takes the dimmed ink on the highlight. */
|
|
1926
2208
|
.cm-menu-item-section[data-position="right"] {
|
|
1927
2209
|
color: var(--cm-row-ink-secondary, var(--cm-text-menu-secondary));
|
|
1928
2210
|
}
|
|
1929
2211
|
.cm-menu-item:where([data-disabled], :disabled)::before { background: transparent; }
|
|
1930
|
-
.cm-menu-item:where([data-disabled], :disabled) { ${
|
|
2212
|
+
.cm-menu-item:where([data-disabled], :disabled) { ${no} }
|
|
1931
2213
|
.cm-menu-item:where([data-disabled], :disabled) .cm-menu-item-section { color: var(--cm-text-menu-disabled); }
|
|
1932
2214
|
.cm-menu-item:focus { outline: none; }
|
|
1933
2215
|
|
|
@@ -1935,8 +2217,8 @@ ${Bt}${ft} {
|
|
|
1935
2217
|
the danger slots replace the menu's. ponytail: keyed on the inline style Mantine writes for
|
|
1936
2218
|
color="red"; any other color keeps the menu's ink. */
|
|
1937
2219
|
.cm-menu-item[style*="--mantine-color-red"] { color: var(--cm-text-danger); }
|
|
1938
|
-
.cm-menu-item[style*="--mantine-color-red"]:is(:hover, :focus, [data-hovered])::before { background: var(--cm-bg-danger); }
|
|
1939
|
-
.cm-menu-item[style*="--mantine-color-red"]:is(:hover, :focus, [data-hovered]) {
|
|
2220
|
+
.cm-menu-item[style*="--mantine-color-red"]:not([data-disabled], :disabled):is(:hover, :focus, [data-hovered])::before { background: var(--cm-bg-danger); }
|
|
2221
|
+
.cm-menu-item[style*="--mantine-color-red"]:not([data-disabled], :disabled):is(:hover, :focus, [data-hovered]) {
|
|
1940
2222
|
color: var(--cm-text-onsolid);
|
|
1941
2223
|
--cm-row-ink-secondary: var(--cm-text-onsolid-secondary);
|
|
1942
2224
|
}
|
|
@@ -1949,7 +2231,7 @@ ${Bt}${ft} {
|
|
|
1949
2231
|
height: 24px;
|
|
1950
2232
|
padding: 0 16px;
|
|
1951
2233
|
color: var(--cm-text-menu-secondary);
|
|
1952
|
-
${
|
|
2234
|
+
${Q("body")}
|
|
1953
2235
|
}
|
|
1954
2236
|
|
|
1955
2237
|
/* Menu.Divider: a full-width 1px line with 8px above and below (17px between two rows). */
|
|
@@ -1976,16 +2258,19 @@ ${Bt}${ft} {
|
|
|
1976
2258
|
white-space: normal;
|
|
1977
2259
|
overflow-wrap: break-word;
|
|
1978
2260
|
pointer-events: none;
|
|
1979
|
-
${
|
|
2261
|
+
${Q("body")}
|
|
1980
2262
|
}
|
|
1981
2263
|
.cm-tooltip-arrow { border: 0; }
|
|
1982
2264
|
/* Hidden by overlayBehavior.ts: dismissed (pointer-down, key, wheel, pointer left the window)
|
|
1983
|
-
for the rest of this tooltip's life,
|
|
1984
|
-
|
|
2265
|
+
for the rest of this tooltip's life, held for the cold delay after a keyboard focus, or still:
|
|
2266
|
+
its trigger came under a resting pointer and nobody has pointed at it yet. */
|
|
2267
|
+
.cm-tooltip:is([data-cm-dismissed], [data-cm-held], [data-cm-still]) { visibility: hidden; }
|
|
1985
2268
|
|
|
1986
2269
|
/* TooltipShortcut: the label, then the shortcut 12px after it in the secondary text color. */
|
|
1987
2270
|
.cm-tooltip-shortcut-row { display: flex; align-items: center; white-space: nowrap; }
|
|
1988
2271
|
.cm-tooltip-shortcut { margin-inline-start: 12px; color: var(--cm-text-menu-secondary); }
|
|
2272
|
+
/* A cut section title's technical name, in the tooltip's own secondary ink. */
|
|
2273
|
+
.cm-tooltip .cm-section-technical { color: var(--cm-text-menu-secondary); }
|
|
1989
2274
|
|
|
1990
2275
|
/* ---------------------------------------------------------------- 8.4 light popover */
|
|
1991
2276
|
|
|
@@ -1993,8 +2278,12 @@ ${Bt}${ft} {
|
|
|
1993
2278
|
.cm-popover { padding: 8px; }
|
|
1994
2279
|
.cm-popover-arrow { border: 0; }
|
|
1995
2280
|
|
|
1996
|
-
/* The Popout panel.
|
|
1997
|
-
|
|
2281
|
+
/* The Popout panel. Never taller than the window: the header stays and the body scrolls, so every
|
|
2282
|
+
field can be reached, and focus moving to a field scrolls it into view. */
|
|
2283
|
+
/* 6px off the window's bottom (POPOUT_WINDOW_MARGIN in PopoutPanel.tsx). */
|
|
2284
|
+
.cm-popout { overflow: hidden; display: flex; flex-direction: column; max-height: calc(100vh - 6px); }
|
|
2285
|
+
.cm-popout > .cm-popout-header { flex-shrink: 0; }
|
|
2286
|
+
.cm-popout-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
|
|
1998
2287
|
.cm-popout:focus { outline: none; }
|
|
1999
2288
|
.cm-popout:focus-visible { outline: 1px solid var(--cm-border-selected); outline-offset: -1px; }
|
|
2000
2289
|
|
|
@@ -2020,7 +2309,7 @@ ${Bt}${ft} {
|
|
|
2020
2309
|
white-space: nowrap;
|
|
2021
2310
|
overflow: hidden;
|
|
2022
2311
|
text-overflow: ellipsis;
|
|
2023
|
-
${
|
|
2312
|
+
${Q("bodyStrong")}
|
|
2024
2313
|
letter-spacing: normal;
|
|
2025
2314
|
}
|
|
2026
2315
|
.cm-popout-tabs { flex: 1; min-width: 0; }
|
|
@@ -2045,7 +2334,7 @@ ${Bt}${ft} {
|
|
|
2045
2334
|
box-sizing: border-box;
|
|
2046
2335
|
padding: 12px 16px;
|
|
2047
2336
|
color: var(--cm-text-secondary);
|
|
2048
|
-
${
|
|
2337
|
+
${Q("body")}
|
|
2049
2338
|
}
|
|
2050
2339
|
|
|
2051
2340
|
/* ---------------------------------------------------------------- 8.5 modal */
|
|
@@ -2055,7 +2344,6 @@ ${Bt}${ft} {
|
|
|
2055
2344
|
--modal-size-md: 480px;
|
|
2056
2345
|
--modal-size-lg: 760px;
|
|
2057
2346
|
}
|
|
2058
|
-
.cm-modal-overlay { background: var(--cm-modal-backdrop); }
|
|
2059
2347
|
.cm-modal-content {
|
|
2060
2348
|
background-color: var(--cm-bg);
|
|
2061
2349
|
color: var(--cm-text);
|
|
@@ -2075,7 +2363,7 @@ ${Bt}${ft} {
|
|
|
2075
2363
|
.cm-modal-title {
|
|
2076
2364
|
margin: 0;
|
|
2077
2365
|
color: var(--cm-text);
|
|
2078
|
-
${
|
|
2366
|
+
${Q("bodyStrong")}
|
|
2079
2367
|
/* Figma's dialog title (dialog-file--save-to-version-history h2): 0.055px. */
|
|
2080
2368
|
letter-spacing: 0.055px;
|
|
2081
2369
|
}
|
|
@@ -2083,11 +2371,11 @@ ${Bt}${ft} {
|
|
|
2083
2371
|
/* Every Figma dialog capture (save-to-version-history, color-profile, export-frames-to-pdf,
|
|
2084
2372
|
element 29): 8px 16px, so the first field sits 8px below the header divider. */
|
|
2085
2373
|
padding: 8px 16px;
|
|
2086
|
-
${
|
|
2374
|
+
${Q("body")}
|
|
2087
2375
|
}
|
|
2088
2376
|
/* ModalFooter: 40 tall across the modal's full width (it cancels the body's 8px 16px padding,
|
|
2089
|
-
leaving Figma's 8px between the last field and the footer),
|
|
2090
|
-
|
|
2377
|
+
leaving Figma's 8px between the last field and the footer), a 1px top divider, buttons
|
|
2378
|
+
end-aligned 8px apart, padding 0 8 0 16 (pm/dialog-file--save-to-version-history). */
|
|
2091
2379
|
.cm-modal-footer {
|
|
2092
2380
|
display: flex;
|
|
2093
2381
|
align-items: center;
|
|
@@ -2132,9 +2420,9 @@ ${Bt}${ft} {
|
|
|
2132
2420
|
display: flex;
|
|
2133
2421
|
align-items: center;
|
|
2134
2422
|
color: inherit;
|
|
2135
|
-
${
|
|
2423
|
+
${Q("bodyStrong")}
|
|
2136
2424
|
}
|
|
2137
|
-
.cm-toast-title { color: inherit; ${
|
|
2425
|
+
.cm-toast-title { color: inherit; ${Q("bodyStrong")} }
|
|
2138
2426
|
/* The message: padding 8, 11/16 550. */
|
|
2139
2427
|
.cm-toast-message {
|
|
2140
2428
|
display: flex;
|
|
@@ -2143,7 +2431,7 @@ ${Bt}${ft} {
|
|
|
2143
2431
|
padding: 8px;
|
|
2144
2432
|
white-space: nowrap;
|
|
2145
2433
|
color: var(--cm-text-menu);
|
|
2146
|
-
${
|
|
2434
|
+
${Q("bodyStrong")}
|
|
2147
2435
|
}
|
|
2148
2436
|
/* The action: Figma's secondary button in the dark scope -- 24 tall, transparent, a 1px
|
|
2149
2437
|
translucent outline, radius 5; hover #373737 (the transparent hover over #2c2c2c). */
|
|
@@ -2158,7 +2446,7 @@ ${Bt}${ft} {
|
|
|
2158
2446
|
color: var(--cm-text-menu);
|
|
2159
2447
|
outline: 1px solid var(--cm-border-translucent);
|
|
2160
2448
|
outline-offset: -1px;
|
|
2161
|
-
${
|
|
2449
|
+
${Q("body")}
|
|
2162
2450
|
}
|
|
2163
2451
|
/* The button's own inner parts carry no inset of their own here: the 8px is the action's. */
|
|
2164
2452
|
.cm-toast-action .mantine-Button-inner,
|
|
@@ -2194,6 +2482,11 @@ ${Bt}${ft} {
|
|
|
2194
2482
|
|
|
2195
2483
|
/* ---------------------------------------------------------------- 8.7 overlay scrollbar */
|
|
2196
2484
|
|
|
2485
|
+
/* A ScrollArea that scrolls only up and down (scrollbars="y") is never wider than itself: its
|
|
2486
|
+
content takes the area's width, so a long row ellipsizes instead of widening the content past
|
|
2487
|
+
an edge it cannot scroll to. Mantine sizes that content to its widest row (min-content). */
|
|
2488
|
+
.cm-scroll-viewport[data-scrollbars="y"] > div { min-width: 0; }
|
|
2489
|
+
|
|
2197
2490
|
/* Track 10 wide, padding 2, transparent; shown only while the pointer is over the container.
|
|
2198
2491
|
Mantine's hover rule is :where(scheme) .m_x:hover (0,2,0) and its thumb rule under it (0,3,0),
|
|
2199
2492
|
answered with the same weight. */
|
|
@@ -2238,13 +2531,13 @@ ${Bt}${ft} {
|
|
|
2238
2531
|
border-radius: 9999px;
|
|
2239
2532
|
}
|
|
2240
2533
|
.cm-progress-section { background-color: var(--progress-section-color, var(--cm-graphic-brand)); }
|
|
2241
|
-
.cm-progress-label { ${
|
|
2534
|
+
.cm-progress-label { ${Q("caption")} color: var(--cm-text-onbrand); }
|
|
2242
2535
|
|
|
2243
2536
|
/* RingProgress: the track in the field fill and the label in the text color. Mantine sets the
|
|
2244
2537
|
track at [scheme] .m_x (0,2,0). */
|
|
2245
2538
|
.cm-ring-progress .cm-ring-curve { --rp-curve-root-color: var(--cm-bg-secondary); }
|
|
2246
|
-
.cm-ring-progress-label { color: var(--cm-text); ${
|
|
2247
|
-
`,
|
|
2539
|
+
.cm-ring-progress-label { color: var(--cm-text); ${Q("body")} }
|
|
2540
|
+
`,yu=Object.freeze(Object.defineProperty({__proto__:null,default:wu},Symbol.toStringTag,{value:"Module"})),ku=`
|
|
2248
2541
|
/* Mouse focus: Mantine's .mantine-focus-never:focus { outline: none } would drop the resting
|
|
2249
2542
|
transparent ring slot on a pressed control; keep it, so only :focus-visible paints a ring. */
|
|
2250
2543
|
.cm-checkbox-input:focus:not(:focus-visible),
|
|
@@ -2263,7 +2556,7 @@ ${Bt}${ft} {
|
|
|
2263
2556
|
.cm-checkbox-label,
|
|
2264
2557
|
.cm-radio-label,
|
|
2265
2558
|
.cm-switch-label {
|
|
2266
|
-
${
|
|
2559
|
+
${Q("body")}
|
|
2267
2560
|
color: var(--cm-text);
|
|
2268
2561
|
padding-block: 4px;
|
|
2269
2562
|
padding-inline-start: 8px;
|
|
@@ -2272,13 +2565,13 @@ ${Bt}${ft} {
|
|
|
2272
2565
|
.cm-radio-label[data-disabled],
|
|
2273
2566
|
.cm-switch-label[data-disabled] { color: var(--cm-text-disabled); }
|
|
2274
2567
|
.cm-control-description {
|
|
2275
|
-
${
|
|
2568
|
+
${Q("body")}
|
|
2276
2569
|
color: var(--cm-text-secondary);
|
|
2277
2570
|
margin-top: 0;
|
|
2278
2571
|
padding-inline-start: 8px;
|
|
2279
2572
|
}
|
|
2280
2573
|
.cm-control-error {
|
|
2281
|
-
${
|
|
2574
|
+
${Q("body")}
|
|
2282
2575
|
color: var(--cm-text-danger);
|
|
2283
2576
|
padding-inline-start: 8px;
|
|
2284
2577
|
}
|
|
@@ -2313,6 +2606,31 @@ ${Bt}${ft} {
|
|
|
2313
2606
|
outline: 1px solid var(--cm-border-selected);
|
|
2314
2607
|
outline-offset: 1px;
|
|
2315
2608
|
}
|
|
2609
|
+
/* The extra-small box is drawn 12 px but takes clicks over 24 x 24 (WCAG 2.5.8): the input grows
|
|
2610
|
+
6 px past the drawn box on every side (the negative margin keeps the layout) and paints nothing
|
|
2611
|
+
itself; ::before draws the 12 px face from the input's own state colors. A row drawn after it
|
|
2612
|
+
(a positioned row, as Tree's are) keeps its own clicks where the two overlap. */
|
|
2613
|
+
.cm-checkbox[data-size="xs"] .cm-checkbox-input {
|
|
2614
|
+
position: relative;
|
|
2615
|
+
width: 24px;
|
|
2616
|
+
height: 24px;
|
|
2617
|
+
margin: -6px;
|
|
2618
|
+
padding: 12px;
|
|
2619
|
+
border-style: none;
|
|
2620
|
+
background-clip: content-box;
|
|
2621
|
+
outline-offset: -5px;
|
|
2622
|
+
}
|
|
2623
|
+
.cm-checkbox[data-size="xs"] .cm-checkbox-input::before {
|
|
2624
|
+
content: "";
|
|
2625
|
+
position: absolute;
|
|
2626
|
+
inset: 6px;
|
|
2627
|
+
box-sizing: border-box;
|
|
2628
|
+
border: 1px solid;
|
|
2629
|
+
border-color: inherit;
|
|
2630
|
+
border-radius: inherit;
|
|
2631
|
+
background-color: inherit;
|
|
2632
|
+
pointer-events: none;
|
|
2633
|
+
}
|
|
2316
2634
|
/* The blue (filled, default) variant. */
|
|
2317
2635
|
.cm-checkbox:not([data-variant="neutral"]) .cm-checkbox-input:is(:checked, [data-indeterminate]) {
|
|
2318
2636
|
background-color: var(--cm-bg-brand);
|
|
@@ -2492,6 +2810,13 @@ ${Bt}${ft} {
|
|
|
2492
2810
|
}
|
|
2493
2811
|
.cm-sc-indicator { display: none; }
|
|
2494
2812
|
.cm-sc-control { flex: 1 1 0; min-width: 0; }
|
|
2813
|
+
/* A track that is not fullWidth gives every option an equal share, as Figma does, each as wide as
|
|
2814
|
+
the widest label with its padding, so no label is cut ("Leave out" beside "Add"). */
|
|
2815
|
+
.cm-sc:not([data-full-width], [data-content-width]) {
|
|
2816
|
+
display: inline-grid;
|
|
2817
|
+
grid-auto-flow: column;
|
|
2818
|
+
grid-auto-columns: 1fr;
|
|
2819
|
+
}
|
|
2495
2820
|
.cm-sc[data-content-width] .cm-sc-control { flex: 1 1 auto; min-width: 24px; }
|
|
2496
2821
|
.cm-sc[data-content-width] .cm-sc-label { padding-inline: 0; }
|
|
2497
2822
|
.cm-sc .cm-sc-label {
|
|
@@ -2502,8 +2827,9 @@ ${Bt}${ft} {
|
|
|
2502
2827
|
height: 24px;
|
|
2503
2828
|
padding: var(--sc-padding);
|
|
2504
2829
|
border-radius: 5px;
|
|
2505
|
-
${
|
|
2830
|
+
${Q("body")}
|
|
2506
2831
|
font-size: var(--sc-font-size);
|
|
2832
|
+
/* Figma's unchosen label: the secondary ink (bc/popover-advanced-stroke). */
|
|
2507
2833
|
color: var(--cm-text-secondary);
|
|
2508
2834
|
background-color: transparent;
|
|
2509
2835
|
outline: 1px solid transparent;
|
|
@@ -2513,6 +2839,8 @@ ${Bt}${ft} {
|
|
|
2513
2839
|
}
|
|
2514
2840
|
.cm-sc .cm-sc-label[data-active] {
|
|
2515
2841
|
color: var(--cm-text);
|
|
2842
|
+
/* Figma's 450; the AA option sets 600, so which side is chosen reads at 11px. */
|
|
2843
|
+
font-weight: var(--cm-segment-chosen-weight);
|
|
2516
2844
|
background-color: var(--cm-bg);
|
|
2517
2845
|
box-shadow: inset 0 0 0 1px var(--cm-segment-edge);
|
|
2518
2846
|
}
|
|
@@ -2578,7 +2906,7 @@ ${Bt}${ft} {
|
|
|
2578
2906
|
}
|
|
2579
2907
|
|
|
2580
2908
|
/* ---------------------------------------------------------------- Tabs (5.1) */
|
|
2581
|
-
.cm-tab { ${
|
|
2909
|
+
.cm-tab { ${Q("body")} }
|
|
2582
2910
|
.cm-tabs[data-variant="pills"] .cm-tabs-list { gap: 4px; }
|
|
2583
2911
|
.cm-tabs[data-variant="pills"] .cm-tab {
|
|
2584
2912
|
box-sizing: border-box;
|
|
@@ -2600,6 +2928,9 @@ ${Bt}${ft} {
|
|
|
2600
2928
|
color: var(--cm-text);
|
|
2601
2929
|
background-color: var(--cm-bg-secondary);
|
|
2602
2930
|
font-weight: 550;
|
|
2931
|
+
/* No edge in Figma; the AA option draws a 3:1 one (WCAG 1.4.11), so the selected pill is not
|
|
2932
|
+
told by its fill alone. */
|
|
2933
|
+
box-shadow: inset 0 0 0 1px var(--cm-tab-edge);
|
|
2603
2934
|
}
|
|
2604
2935
|
.cm-tabs[data-variant="pills"] .cm-tab:focus-visible {
|
|
2605
2936
|
outline: 1px solid var(--cm-border-selected);
|
|
@@ -2641,13 +2972,28 @@ ${Bt}${ft} {
|
|
|
2641
2972
|
border: 2px solid var(--cm-text-onsolid);
|
|
2642
2973
|
color: var(--cm-text-onsolid);
|
|
2643
2974
|
background-color: var(--cm-text-onsolid);
|
|
2644
|
-
|
|
2975
|
+
/* The ring in the secondary icon ink, 3:1 or more against the panel. */
|
|
2976
|
+
box-shadow: 0 0 0 1px var(--cm-icon-secondary), inset 0 0 0 1px var(--cm-control-knob-off-outline), var(--cm-elevation-300);
|
|
2645
2977
|
outline: 1px solid transparent;
|
|
2646
2978
|
outline-offset: -2px;
|
|
2647
2979
|
transition: none;
|
|
2648
2980
|
cursor: default;
|
|
2649
2981
|
}
|
|
2650
2982
|
.cm-slider .cm-slider-thumb[data-dragging] { transform: translate(-50%, -50%); }
|
|
2983
|
+
/* A finger needs more than a 12px thumb: under a coarse pointer the thumb draws at 20px and an
|
|
2984
|
+
invisible ::after grows its hit target to 44 x 44 (the touch guideline) without moving anything. */
|
|
2985
|
+
@media (pointer: coarse) {
|
|
2986
|
+
.cm-slider { --slider-thumb-size: 20px !important; }
|
|
2987
|
+
.cm-slider .cm-slider-thumb::after {
|
|
2988
|
+
content: "";
|
|
2989
|
+
position: absolute;
|
|
2990
|
+
top: 50%;
|
|
2991
|
+
left: 50%;
|
|
2992
|
+
width: 44px;
|
|
2993
|
+
height: 44px;
|
|
2994
|
+
transform: translate(-50%, -50%);
|
|
2995
|
+
}
|
|
2996
|
+
}
|
|
2651
2997
|
.cm-slider .cm-slider-thumb:focus-visible {
|
|
2652
2998
|
outline: 1px solid var(--cm-border-selected);
|
|
2653
2999
|
outline-offset: -2px;
|
|
@@ -2665,13 +3011,17 @@ ${Bt}${ft} {
|
|
|
2665
3011
|
}
|
|
2666
3012
|
.cm-slider-mark { border-width: 1px; border-color: var(--cm-border-translucent-strong); background-color: var(--cm-bg); }
|
|
2667
3013
|
.cm-slider-mark[data-filled] { border-color: var(--cm-bg-brand); }
|
|
2668
|
-
.cm-slider-mark-label { ${
|
|
3014
|
+
.cm-slider-mark-label { ${Q("caption")} margin-top: 2px; color: var(--cm-text-secondary); }
|
|
2669
3015
|
|
|
2670
3016
|
/* ---------------------------------------------------------------- Anchor (4.2) */
|
|
2671
3017
|
.cm-anchor {
|
|
2672
3018
|
position: relative;
|
|
2673
3019
|
isolation: isolate;
|
|
2674
|
-
${
|
|
3020
|
+
${Q("body")}
|
|
3021
|
+
/* The size prop's type, so a link in an xs caption is the caption's size (sm, the default, is
|
|
3022
|
+
the body role). The caption's weight and tracking come from the Text rule in shell.css. */
|
|
3023
|
+
font-size: var(--text-fz, var(--mantine-font-size-sm));
|
|
3024
|
+
line-height: var(--text-lh, var(--mantine-line-height-sm));
|
|
2675
3025
|
color: var(--cm-text-brand);
|
|
2676
3026
|
text-decoration: none;
|
|
2677
3027
|
border-radius: 2px;
|
|
@@ -2723,7 +3073,7 @@ ${Bt}${ft} {
|
|
|
2723
3073
|
box-sizing: border-box;
|
|
2724
3074
|
min-height: 32px;
|
|
2725
3075
|
padding: 4px 16px;
|
|
2726
|
-
${
|
|
3076
|
+
${Q("body")}
|
|
2727
3077
|
color: var(--cm-text);
|
|
2728
3078
|
background-color: transparent;
|
|
2729
3079
|
border-radius: 5px;
|
|
@@ -2751,14 +3101,14 @@ ${Bt}${ft} {
|
|
|
2751
3101
|
outline-offset: 0;
|
|
2752
3102
|
}
|
|
2753
3103
|
.cm-navlink-label { font-size: 11px; line-height: 16px; }
|
|
2754
|
-
.cm-navlink-description { ${
|
|
3104
|
+
.cm-navlink-description { ${Q("body")} color: var(--cm-text-secondary); }
|
|
2755
3105
|
.cm-navlink-section { color: var(--cm-icon-secondary); }
|
|
2756
3106
|
|
|
2757
3107
|
/* ---------------------------------------------------------------- Pagination (5.9) */
|
|
2758
3108
|
.cm-pagination-control {
|
|
2759
3109
|
border: 0;
|
|
2760
3110
|
border-radius: 5px;
|
|
2761
|
-
${
|
|
3111
|
+
${Q("body")}
|
|
2762
3112
|
font-size: var(--pagination-control-fz);
|
|
2763
3113
|
color: var(--cm-text);
|
|
2764
3114
|
background-color: transparent;
|
|
@@ -2784,7 +3134,7 @@ ${Bt}${ft} {
|
|
|
2784
3134
|
border: 0;
|
|
2785
3135
|
background-color: var(--cm-bg-secondary);
|
|
2786
3136
|
color: var(--cm-text);
|
|
2787
|
-
${
|
|
3137
|
+
${Q("body")}
|
|
2788
3138
|
font-size: var(--stepper-fz);
|
|
2789
3139
|
}
|
|
2790
3140
|
.cm-stepper-step[data-progress] .cm-stepper-icon,
|
|
@@ -2793,8 +3143,8 @@ ${Bt}${ft} {
|
|
|
2793
3143
|
background-color: var(--cm-bg-brand);
|
|
2794
3144
|
color: var(--cm-text-onbrand);
|
|
2795
3145
|
}
|
|
2796
|
-
.cm-stepper-label { ${
|
|
2797
|
-
.cm-stepper-description { ${
|
|
3146
|
+
.cm-stepper-label { ${Q("body")} font-size: var(--stepper-fz); color: var(--cm-text); }
|
|
3147
|
+
.cm-stepper-description { ${Q("body")} color: var(--cm-text-secondary); }
|
|
2798
3148
|
.cm-stepper-separator { background-color: var(--cm-border); }
|
|
2799
3149
|
.cm-stepper-separator[data-active] { background-color: var(--cm-bg-brand); }
|
|
2800
3150
|
.cm-stepper-step:focus-visible {
|
|
@@ -2892,7 +3242,7 @@ ${Bt}${ft} {
|
|
|
2892
3242
|
.cm-align[data-disabled] .cm-align-cell[data-checked] .cm-align-bars { color: var(--cm-icon-disabled); }
|
|
2893
3243
|
.cm-align[data-disabled] .cm-align-cell:not([data-checked]) .cm-align-bars { display: none; }
|
|
2894
3244
|
.cm-align[data-disabled] .cm-align-cell:not([data-checked]) .cm-align-dot { display: block; }
|
|
2895
|
-
`,
|
|
3245
|
+
`,Su=Object.freeze(Object.defineProperty({__proto__:null,default:ku},Symbol.toStringTag,{value:"Module"})),qo=mi("200").replace("0 0 .5px","0 0 1px"),Wo="light-dark(#000000, #ffffff)",Eu=`
|
|
2896
3246
|
/* ---- Card (C55; ls/panel-assets, ls/assets-component-tile-hover / -focus) --------------------- */
|
|
2897
3247
|
.cm-card {
|
|
2898
3248
|
background: transparent;
|
|
@@ -2906,7 +3256,7 @@ ${Bt}${ft} {
|
|
|
2906
3256
|
|
|
2907
3257
|
/* ---- Badge (C51; bt/mode-metronome-full #296) -------------------------------------------- */
|
|
2908
3258
|
.cm-badge {
|
|
2909
|
-
${
|
|
3259
|
+
${Q("body")}
|
|
2910
3260
|
text-transform: none;
|
|
2911
3261
|
outline: 1px solid transparent;
|
|
2912
3262
|
outline-offset: -1px;
|
|
@@ -2968,7 +3318,7 @@ ${Bt}${ft} {
|
|
|
2968
3318
|
height: auto;
|
|
2969
3319
|
min-width: 0;
|
|
2970
3320
|
padding: 0 4px;
|
|
2971
|
-
${
|
|
3321
|
+
${Q("body")}
|
|
2972
3322
|
border-color: var(--cm-border);
|
|
2973
3323
|
background-color: transparent;
|
|
2974
3324
|
color: var(--cm-text-secondary);
|
|
@@ -2976,7 +3326,7 @@ ${Bt}${ft} {
|
|
|
2976
3326
|
|
|
2977
3327
|
/* ---- Pill: the variable-pill shape (spec 6.6 / 6.7) --------------------------------------- */
|
|
2978
3328
|
.cm-pill {
|
|
2979
|
-
${
|
|
3329
|
+
${Q("body")}
|
|
2980
3330
|
padding-inline: 4px;
|
|
2981
3331
|
background-color: var(--cm-bg);
|
|
2982
3332
|
color: var(--cm-text);
|
|
@@ -3007,15 +3357,20 @@ ${Bt}${ft} {
|
|
|
3007
3357
|
display: inline-flex;
|
|
3008
3358
|
align-items: center;
|
|
3009
3359
|
gap: 8px;
|
|
3010
|
-
/* Content-sized, as Figma's floating bar is: a column flex parent would stretch it.
|
|
3011
|
-
|
|
3012
|
-
|
|
3360
|
+
/* Content-sized, as Figma's floating bar is: a column flex parent would stretch it. Narrower
|
|
3361
|
+
than its tools (a zoomed page, a narrow canvas), it wraps onto more rows rather than cut
|
|
3362
|
+
tools off (WCAG 1.4.10); fit-content, not max-content, so a container sized to its content
|
|
3363
|
+
can still be narrower than one row of tools. */
|
|
3364
|
+
flex-wrap: wrap;
|
|
3365
|
+
width: fit-content;
|
|
3366
|
+
max-width: 100%;
|
|
3367
|
+
min-height: 48px;
|
|
3013
3368
|
padding: 8px;
|
|
3014
3369
|
background-color: var(--cm-bg);
|
|
3015
3370
|
color: var(--cm-text);
|
|
3016
3371
|
border-radius: 13px;
|
|
3017
|
-
box-shadow: ${
|
|
3018
|
-
${
|
|
3372
|
+
box-shadow: ${qo};
|
|
3373
|
+
${Q("body")}
|
|
3019
3374
|
}
|
|
3020
3375
|
.cm-toolbar[data-floating] {
|
|
3021
3376
|
position: fixed;
|
|
@@ -3093,7 +3448,8 @@ ${Bt}${ft} {
|
|
|
3093
3448
|
}
|
|
3094
3449
|
/* The tooltip's shortcut, 12px after the label (spec 8.3). */
|
|
3095
3450
|
.cm-tip-shortcut {
|
|
3096
|
-
|
|
3451
|
+
/* 8px after the space before it: about 12px from the name. */
|
|
3452
|
+
margin-inline-start: 8px;
|
|
3097
3453
|
color: var(--cm-text-menu-secondary);
|
|
3098
3454
|
}
|
|
3099
3455
|
|
|
@@ -3129,8 +3485,8 @@ ${Bt}${ft} {
|
|
|
3129
3485
|
background-color: var(--cm-bg);
|
|
3130
3486
|
color: var(--cm-text);
|
|
3131
3487
|
border-radius: 13px;
|
|
3132
|
-
box-shadow: ${
|
|
3133
|
-
${
|
|
3488
|
+
box-shadow: ${qo};
|
|
3489
|
+
${Q("body")}
|
|
3134
3490
|
}
|
|
3135
3491
|
.cm-secondary-toolbar[data-flush] { padding: 0; }
|
|
3136
3492
|
.cm-secondary-divider {
|
|
@@ -3173,7 +3529,7 @@ ${Bt}${ft} {
|
|
|
3173
3529
|
.cm-secondary-item:focus-visible,
|
|
3174
3530
|
.cm-secondary-item[data-state="focus"] { outline: 1px solid var(--cm-border-selected); outline-offset: -1px; }
|
|
3175
3531
|
.cm-secondary-item-label { padding-inline-end: 8px; }
|
|
3176
|
-
.cm-secondary-item:not([aria-pressed="true"], [aria-expanded="true"]) .cm-secondary-item-label { color: ${
|
|
3532
|
+
.cm-secondary-item:not([aria-pressed="true"], [aria-expanded="true"]) .cm-secondary-item-label { color: ${Wo}; }
|
|
3177
3533
|
/* A dropdown item ("More", bt/secondary-vector-bar #53-#55): the label at x+8, then a 16px
|
|
3178
3534
|
chevron and 4px of end padding. */
|
|
3179
3535
|
.cm-secondary-item[data-dropdown] { padding-inline-end: 4px; }
|
|
@@ -3192,7 +3548,7 @@ ${Bt}${ft} {
|
|
|
3192
3548
|
background-color: var(--cm-bg-info);
|
|
3193
3549
|
color: var(--cm-text-onselected);
|
|
3194
3550
|
border-radius: 13px 13px 0 0;
|
|
3195
|
-
${
|
|
3551
|
+
${Q("headingSmall")}
|
|
3196
3552
|
font-weight: 500;
|
|
3197
3553
|
}
|
|
3198
3554
|
|
|
@@ -3203,12 +3559,14 @@ ${Bt}${ft} {
|
|
|
3203
3559
|
flex-direction: column;
|
|
3204
3560
|
align-items: center;
|
|
3205
3561
|
width: 56px;
|
|
3206
|
-
height
|
|
3562
|
+
/* Content-box keeps the 56 wide plus the 1px border; the height takes the 8 + 16 padding
|
|
3563
|
+
back out, so the rail fills its container exactly and its footer is not pushed 24px below. */
|
|
3564
|
+
height: calc(100% - 24px);
|
|
3207
3565
|
padding: 8px 0 16px;
|
|
3208
3566
|
background-color: var(--cm-bg);
|
|
3209
3567
|
border-inline-end: 1px solid var(--cm-border);
|
|
3210
3568
|
color: var(--cm-text);
|
|
3211
|
-
${
|
|
3569
|
+
${Q("body")}
|
|
3212
3570
|
}
|
|
3213
3571
|
.cm-nav-rail-footer {
|
|
3214
3572
|
display: flex;
|
|
@@ -3259,7 +3617,7 @@ ${Bt}${ft} {
|
|
|
3259
3617
|
white-space: nowrap;
|
|
3260
3618
|
text-align: center;
|
|
3261
3619
|
color: var(--cm-text);
|
|
3262
|
-
${
|
|
3620
|
+
${Q("caption")}
|
|
3263
3621
|
}
|
|
3264
3622
|
.cm-rail-button:hover .cm-rail-pill,
|
|
3265
3623
|
.cm-rail-button:active .cm-rail-pill,
|
|
@@ -3286,7 +3644,7 @@ ${Bt}${ft} {
|
|
|
3286
3644
|
border: 1px solid transparent;
|
|
3287
3645
|
background-color: var(--cm-bg);
|
|
3288
3646
|
color: var(--cm-icon);
|
|
3289
|
-
box-shadow: ${
|
|
3647
|
+
box-shadow: ${qo};
|
|
3290
3648
|
outline: 1px solid transparent;
|
|
3291
3649
|
outline-offset: -2px;
|
|
3292
3650
|
transition: outline-color var(--cm-duration-md) var(--cm-ease-out), border-color var(--cm-duration-md) var(--cm-ease-out);
|
|
@@ -3384,7 +3742,8 @@ ${Bt}${ft} {
|
|
|
3384
3742
|
display: flex;
|
|
3385
3743
|
flex: 1;
|
|
3386
3744
|
min-height: 0;
|
|
3387
|
-
|
|
3745
|
+
/* safe: a tab wider than the body starts at its left edge, so all of it can be scrolled to */
|
|
3746
|
+
justify-content: safe center;
|
|
3388
3747
|
padding: 8px 0 0;
|
|
3389
3748
|
overflow: auto;
|
|
3390
3749
|
}
|
|
@@ -3402,7 +3761,7 @@ ${Bt}${ft} {
|
|
|
3402
3761
|
width: 302px;
|
|
3403
3762
|
}
|
|
3404
3763
|
.cm-sheet-column-title {
|
|
3405
|
-
${
|
|
3764
|
+
${Q("sheet")}
|
|
3406
3765
|
color: var(--cm-text-menu);
|
|
3407
3766
|
padding: 8px 0 4px;
|
|
3408
3767
|
}
|
|
@@ -3483,8 +3842,8 @@ ${Bt}${ft} {
|
|
|
3483
3842
|
background-color: var(--cm-bg);
|
|
3484
3843
|
color: var(--cm-text);
|
|
3485
3844
|
border-radius: 13px;
|
|
3486
|
-
box-shadow: ${
|
|
3487
|
-
${
|
|
3845
|
+
box-shadow: ${qo};
|
|
3846
|
+
${Q("largeRow")}
|
|
3488
3847
|
overflow: hidden;
|
|
3489
3848
|
}
|
|
3490
3849
|
.cm-qa-search.cm-field {
|
|
@@ -3493,7 +3852,7 @@ ${Bt}${ft} {
|
|
|
3493
3852
|
flex: none;
|
|
3494
3853
|
height: 32px;
|
|
3495
3854
|
margin: 8px 8px 0;
|
|
3496
|
-
${
|
|
3855
|
+
${Q("largeRow")}
|
|
3497
3856
|
}
|
|
3498
3857
|
/* Figma draws no ring on the palette's search: focus never leaves it, and the caret shows it
|
|
3499
3858
|
(pm/quick-actions-open #37). The AA option keeps its 3:1 field edge (--cm-field-shadow is none
|
|
@@ -3530,7 +3889,7 @@ ${Bt}${ft} {
|
|
|
3530
3889
|
}
|
|
3531
3890
|
/* Its glyph takes the palette's label ink, pure black / white (#45: rgb(0,0,0)), not the
|
|
3532
3891
|
ghost button's #000000e5. */
|
|
3533
|
-
.cm-qa-search-action .cm-action-icon { color: ${
|
|
3892
|
+
.cm-qa-search-action .cm-action-icon { color: ${Wo}; }
|
|
3534
3893
|
/* The scope tabs' row: 32 tall, 8px below the search, tabs 8px in and 8px apart
|
|
3535
3894
|
(dt/light-dialog-quick-actions #51, #54-#68). */
|
|
3536
3895
|
.cm-qa-header {
|
|
@@ -3553,7 +3912,7 @@ ${Bt}${ft} {
|
|
|
3553
3912
|
.cm-qa-group + .cm-qa-group { margin-top: 12px; }
|
|
3554
3913
|
.cm-qa-group-title {
|
|
3555
3914
|
margin: 0 0 4px 8px;
|
|
3556
|
-
${
|
|
3915
|
+
${Q("body")}
|
|
3557
3916
|
color: var(--cm-text-secondary);
|
|
3558
3917
|
}
|
|
3559
3918
|
.cm-qa-row {
|
|
@@ -3564,7 +3923,7 @@ ${Bt}${ft} {
|
|
|
3564
3923
|
height: 32px;
|
|
3565
3924
|
padding: 4px;
|
|
3566
3925
|
border-radius: 5px;
|
|
3567
|
-
color: ${
|
|
3926
|
+
color: ${Wo};
|
|
3568
3927
|
cursor: default;
|
|
3569
3928
|
}
|
|
3570
3929
|
.cm-qa-row[data-highlighted] { background-color: var(--cm-bg-hover); }
|
|
@@ -3580,7 +3939,7 @@ ${Bt}${ft} {
|
|
|
3580
3939
|
flex: none;
|
|
3581
3940
|
width: 24px;
|
|
3582
3941
|
height: 24px;
|
|
3583
|
-
color: ${
|
|
3942
|
+
color: ${Wo};
|
|
3584
3943
|
}
|
|
3585
3944
|
.cm-qa-row-text {
|
|
3586
3945
|
display: flex;
|
|
@@ -3594,6 +3953,8 @@ ${Bt}${ft} {
|
|
|
3594
3953
|
white-space: nowrap;
|
|
3595
3954
|
text-overflow: ellipsis;
|
|
3596
3955
|
}
|
|
3956
|
+
/* tone="component": the name in the component purple, as VariablePill's and the tree's. */
|
|
3957
|
+
.cm-qa-row-label[data-tone="component"] { color: var(--cm-text-component); font-weight: 600; }
|
|
3597
3958
|
/* A middle cut: the head gives way to an ellipsis, the tail always shows. */
|
|
3598
3959
|
.cm-qa-row-label[data-truncate="middle"] { display: flex; text-overflow: clip; }
|
|
3599
3960
|
.cm-qa-row-head { min-width: 0; overflow: hidden; white-space: pre; text-overflow: ellipsis; }
|
|
@@ -3606,10 +3967,17 @@ ${Bt}${ft} {
|
|
|
3606
3967
|
overflow: hidden;
|
|
3607
3968
|
white-space: nowrap;
|
|
3608
3969
|
text-overflow: ellipsis;
|
|
3609
|
-
${
|
|
3970
|
+
${Q("body")}
|
|
3610
3971
|
color: var(--cm-text-secondary);
|
|
3611
3972
|
}
|
|
3612
3973
|
.cm-qa-row[aria-disabled="true"] .cm-qa-row-description { color: var(--cm-text-disabled); }
|
|
3974
|
+
/* Why a row cannot run is read whole: it wraps, and the row grows to hold it. */
|
|
3975
|
+
.cm-qa-row[aria-disabled="true"][data-two-line] { height: auto; min-height: 44px; }
|
|
3976
|
+
.cm-qa-row[aria-disabled="true"] .cm-qa-row-description { white-space: normal; overflow: visible; }
|
|
3977
|
+
/* A description at the end of the name's line: the row stays one line, the name gives way first. */
|
|
3978
|
+
.cm-qa-row-text[data-descriptions="end"] { flex-direction: row; align-items: baseline; gap: 8px; }
|
|
3979
|
+
.cm-qa-row-text[data-descriptions="end"] .cm-qa-row-label { flex: 1; }
|
|
3980
|
+
.cm-qa-row-text[data-descriptions="end"] .cm-qa-row-description { flex: 0 1 auto; max-width: 60%; }
|
|
3613
3981
|
.cm-qa-row-shortcut {
|
|
3614
3982
|
flex: none;
|
|
3615
3983
|
padding-inline-end: 4px;
|
|
@@ -3621,10 +3989,37 @@ ${Bt}${ft} {
|
|
|
3621
3989
|
.cm-qa-empty {
|
|
3622
3990
|
display: block;
|
|
3623
3991
|
padding: 12px 24px 0;
|
|
3624
|
-
${
|
|
3992
|
+
${Q("body")}
|
|
3625
3993
|
color: var(--cm-text-secondary);
|
|
3626
3994
|
}
|
|
3627
|
-
|
|
3995
|
+
.cm-qa-empty:empty {
|
|
3996
|
+
padding: 0;
|
|
3997
|
+
}
|
|
3998
|
+
|
|
3999
|
+
/* ---- StatusBar: the 24px row along the window's bottom ---- */
|
|
4000
|
+
.cm-status-bar {
|
|
4001
|
+
display: flex;
|
|
4002
|
+
align-items: center;
|
|
4003
|
+
justify-content: space-between;
|
|
4004
|
+
gap: 8px;
|
|
4005
|
+
height: 24px;
|
|
4006
|
+
padding: 0 8px;
|
|
4007
|
+
border-top: 1px solid var(--cm-border);
|
|
4008
|
+
background-color: var(--cm-bg);
|
|
4009
|
+
color: var(--cm-text-secondary);
|
|
4010
|
+
font-size: 11px;
|
|
4011
|
+
line-height: 16px;
|
|
4012
|
+
flex: none;
|
|
4013
|
+
box-sizing: border-box;
|
|
4014
|
+
}
|
|
4015
|
+
.cm-status-bar-start,
|
|
4016
|
+
.cm-status-bar-end {
|
|
4017
|
+
display: flex;
|
|
4018
|
+
align-items: center;
|
|
4019
|
+
gap: 8px;
|
|
4020
|
+
min-width: 0;
|
|
4021
|
+
}
|
|
4022
|
+
`,Tu=Object.freeze(Object.defineProperty({__proto__:null,default:Eu},Symbol.toStringTag,{value:"Module"})),Au=`
|
|
3628
4023
|
/* ---- Layer tree (10.1) ------------------------------------------------------------------- */
|
|
3629
4024
|
.cm-tree {
|
|
3630
4025
|
position: relative;
|
|
@@ -3641,11 +4036,15 @@ ${Bt}${ft} {
|
|
|
3641
4036
|
align-items: center;
|
|
3642
4037
|
width: 100%;
|
|
3643
4038
|
height: 32px;
|
|
3644
|
-
${
|
|
4039
|
+
${Q("layerNested")}
|
|
3645
4040
|
color: var(--cm-text);
|
|
3646
4041
|
outline: none;
|
|
3647
4042
|
cursor: default;
|
|
3648
4043
|
user-select: none;
|
|
4044
|
+
-webkit-user-select: none;
|
|
4045
|
+
/* No iOS callout or magnifier while a row is held; a vertical swipe still scrolls the list. */
|
|
4046
|
+
-webkit-touch-callout: none;
|
|
4047
|
+
touch-action: pan-y;
|
|
3649
4048
|
}
|
|
3650
4049
|
.cm-tree-row[data-strong] { font-weight: 600; }
|
|
3651
4050
|
.cm-tree-row::before,
|
|
@@ -3677,9 +4076,12 @@ ${Bt}${ft} {
|
|
|
3677
4076
|
.cm-tree-row[data-tint="first"]::after { height: 28px; border-radius: 5px 5px 0 0; }
|
|
3678
4077
|
.cm-tree-row[data-tint="middle"]::after { top: 0; height: 32px; border-radius: 0; }
|
|
3679
4078
|
.cm-tree-row[data-tint="last"]::after { top: 0; height: 28px; border-radius: 0 0 5px 5px; }
|
|
3680
|
-
.cm-tree-row[data-tint="parent"]::after {
|
|
4079
|
+
.cm-tree-row[data-tint="parent"][aria-selected="true"]::after {
|
|
3681
4080
|
box-sizing: content-box;
|
|
3682
4081
|
height: 24px;
|
|
4082
|
+
/* Figma's selected tint; the AA option takes the stronger one, since bg-selected sits within
|
|
4083
|
+
1.2:1 of the band in dark (#394360 on #32394d). */
|
|
4084
|
+
background: var(--cm-tree-parent-selected);
|
|
3683
4085
|
border-bottom: 4px solid var(--cm-bg-selected-secondary);
|
|
3684
4086
|
border-radius: 5px 5px 0 0;
|
|
3685
4087
|
}
|
|
@@ -3687,7 +4089,7 @@ ${Bt}${ft} {
|
|
|
3687
4089
|
.cm-tree-row[data-tint="child-last"]::before { display: block; }
|
|
3688
4090
|
.cm-tree-row[data-tint="child-last"]::before { bottom: 4px; border-radius: 0 0 5px 5px; }
|
|
3689
4091
|
.cm-tree-row[data-tint^="child"]:hover::after,
|
|
3690
|
-
.cm-tree-row[data-tint^="child"][data-state="hover"]::after { background: var(--cm-
|
|
4092
|
+
.cm-tree-row[data-tint^="child"][data-state="hover"]::after { background: var(--cm-tree-child-hover); }
|
|
3691
4093
|
|
|
3692
4094
|
/* Keyboard focus (ours; Figma rows take no focus): a 1px ring on the 24 pill area. */
|
|
3693
4095
|
.cm-tree-ring {
|
|
@@ -3712,14 +4114,33 @@ ${Bt}${ft} {
|
|
|
3712
4114
|
justify-content: center;
|
|
3713
4115
|
width: 16px;
|
|
3714
4116
|
height: 32px;
|
|
4117
|
+
/* Figma: hidden at rest, shown while the pointer is over the panel or the row is open. */
|
|
3715
4118
|
color: var(--cm-icon-tertiary);
|
|
3716
4119
|
visibility: hidden;
|
|
3717
4120
|
}
|
|
4121
|
+
/* The caret's pointer target: 24 wide, centered on the 16px slot and over its neighbours' edges,
|
|
4122
|
+
and the row's full 32px height, so a click anywhere above or below the glyph opens the row. */
|
|
4123
|
+
.cm-tree-caret-hit {
|
|
4124
|
+
position: relative;
|
|
4125
|
+
z-index: 1;
|
|
4126
|
+
flex: none;
|
|
4127
|
+
display: flex;
|
|
4128
|
+
align-items: center;
|
|
4129
|
+
justify-content: center;
|
|
4130
|
+
width: 24px;
|
|
4131
|
+
height: 32px;
|
|
4132
|
+
}
|
|
3718
4133
|
.cm-tree:hover .cm-tree-caret,
|
|
3719
4134
|
.cm-tree:focus-within .cm-tree-caret,
|
|
3720
4135
|
.cm-tree-row:hover .cm-tree-caret,
|
|
3721
4136
|
.cm-tree-row[data-state="hover"] .cm-tree-caret,
|
|
3722
4137
|
.cm-tree-row[aria-expanded="true"] .cm-tree-caret { visibility: visible; }
|
|
4138
|
+
.cm-tree-check {
|
|
4139
|
+
flex: none;
|
|
4140
|
+
display: flex;
|
|
4141
|
+
align-items: center;
|
|
4142
|
+
margin-right: 4px;
|
|
4143
|
+
}
|
|
3723
4144
|
.cm-tree-icon {
|
|
3724
4145
|
flex: none;
|
|
3725
4146
|
display: flex;
|
|
@@ -3744,7 +4165,30 @@ ${Bt}${ft} {
|
|
|
3744
4165
|
}
|
|
3745
4166
|
.cm-tree-row[data-dimmed] .cm-tree-name,
|
|
3746
4167
|
.cm-tree-row[data-dimmed] .cm-tree-icon { color: var(--cm-text-tertiary); }
|
|
3747
|
-
|
|
4168
|
+
/* The name field is 176 wide, or less where a deep row leaves less room: it never runs under the
|
|
4169
|
+
row's toggles. */
|
|
4170
|
+
.cm-tree-row .cm-rename { flex: 0 1 176px; min-width: 0; width: 176px; }
|
|
4171
|
+
/* A row that shows its description: the name, then the description on a second 16px line in the
|
|
4172
|
+
secondary ink; the row grows to 44 and its pill and ring to 36. A description too long for one
|
|
4173
|
+
line wraps onto more, and the row, pill and ring grow with it: it is never cut. */
|
|
4174
|
+
.cm-tree-row[data-two-line] { height: auto; min-height: 44px; padding-block: 6px; }
|
|
4175
|
+
.cm-tree-row[data-two-line]::after { height: auto; bottom: 4px; }
|
|
4176
|
+
.cm-tree-row[data-two-line] .cm-tree-ring { height: auto; bottom: 4px; }
|
|
4177
|
+
.cm-tree-lines {
|
|
4178
|
+
flex: 1 1 auto;
|
|
4179
|
+
display: flex;
|
|
4180
|
+
flex-direction: column;
|
|
4181
|
+
min-width: 0;
|
|
4182
|
+
margin-inline-start: 8px;
|
|
4183
|
+
line-height: 16px;
|
|
4184
|
+
}
|
|
4185
|
+
.cm-tree-lines .cm-tree-name { flex: none; margin-inline-start: 0; }
|
|
4186
|
+
.cm-tree-description {
|
|
4187
|
+
overflow-wrap: anywhere;
|
|
4188
|
+
color: var(--cm-text-secondary);
|
|
4189
|
+
font-weight: 400;
|
|
4190
|
+
font-variant-numeric: tabular-nums;
|
|
4191
|
+
}
|
|
3748
4192
|
|
|
3749
4193
|
/* The swatch between the glyph and the name, and the always-visible count before the toggles. */
|
|
3750
4194
|
.cm-tree-swatch {
|
|
@@ -3753,8 +4197,17 @@ ${Bt}${ft} {
|
|
|
3753
4197
|
align-items: center;
|
|
3754
4198
|
margin-inline-start: 8px;
|
|
3755
4199
|
}
|
|
4200
|
+
/* The count (a row's quiet text) yields to the name: when both do not fit, the count shortens
|
|
4201
|
+
first, down to a stub that still shows its ellipsis, and only then is the name cut. The name
|
|
4202
|
+
says which row this is ("friends-v2.csv"); the count only describes it. Its weight against the
|
|
4203
|
+
name's shrink of 1 makes it take the whole cut first; the name's tooltip carries both whole. */
|
|
3756
4204
|
.cm-tree-count {
|
|
3757
|
-
flex:
|
|
4205
|
+
flex: 0 1000 auto;
|
|
4206
|
+
min-width: 2.5em;
|
|
4207
|
+
overflow: hidden;
|
|
4208
|
+
text-overflow: ellipsis;
|
|
4209
|
+
white-space: nowrap;
|
|
4210
|
+
text-align: end;
|
|
3758
4211
|
margin-inline: 4px;
|
|
3759
4212
|
color: var(--cm-text-secondary);
|
|
3760
4213
|
font-weight: 450;
|
|
@@ -3787,8 +4240,9 @@ ${Bt}${ft} {
|
|
|
3787
4240
|
.cm-tree-progress[data-indeterminate] .cm-tree-progress-fill { width: 100%; opacity: 0.5; animation: none; }
|
|
3788
4241
|
}
|
|
3789
4242
|
|
|
3790
|
-
/* Lock / eye: 24 hit targets on
|
|
3791
|
-
is hovered or focused; a toggle that is on stays
|
|
4243
|
+
/* Lock / eye / pin: 24 hit targets on Figma's 20 pitch, ending 8 from the panel edge. The AA
|
|
4244
|
+
option and a coarse pointer set them side by side, each a whole 24 x 24 target (WCAG 2.5.8). Hidden until the row is hovered or focused; a toggle that is on stays
|
|
4245
|
+
visible, and so does an action marked data-at-rest (an eye an app shows on every row). */
|
|
3792
4246
|
.cm-tree-actions {
|
|
3793
4247
|
flex: none;
|
|
3794
4248
|
display: flex;
|
|
@@ -3796,9 +4250,26 @@ ${Bt}${ft} {
|
|
|
3796
4250
|
height: 24px;
|
|
3797
4251
|
margin-inline-end: 8px;
|
|
3798
4252
|
}
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
4253
|
+
/* A slot holding a pinned text (a row's quiet counts) gives way before the name does (four times as
|
|
4254
|
+
fast), so the text never squeezes the name to nothing, and the text ellipsizes. A slot of controls
|
|
4255
|
+
only (buttons, a checkbox) keeps its size: shrunk, it would cut the control off the row. (:has()
|
|
4256
|
+
does not nest, so a slot mixing text and a control keeps its size too.) */
|
|
4257
|
+
.cm-tree-actions:has(> [data-pinned]):not(:has(button, input)) {
|
|
4258
|
+
flex: 0 4 auto;
|
|
4259
|
+
min-width: 0;
|
|
4260
|
+
}
|
|
4261
|
+
.cm-tree-actions > * + * { margin-inline-start: var(--cm-tree-action-overlap); }
|
|
4262
|
+
@media (pointer: coarse) {
|
|
4263
|
+
.cm-tree-actions > * + * { margin-inline-start: 0; }
|
|
4264
|
+
}
|
|
4265
|
+
.cm-tree-actions > [data-pinned]:not(button, :has(button, input)) {
|
|
4266
|
+
min-width: 0;
|
|
4267
|
+
overflow: hidden;
|
|
4268
|
+
text-overflow: ellipsis;
|
|
4269
|
+
white-space: nowrap;
|
|
4270
|
+
}
|
|
4271
|
+
/* Neighboring buttons touch, so the shared button ring (1px outside the 24 box) would run into the
|
|
4272
|
+
next one. A focused row action rings just inside its own box instead. */
|
|
3802
4273
|
.cm-tree-actions :is(.cm-action-icon, .cm-button):is(:focus-visible, [data-state="focus"]) { outline-offset: -2px; }
|
|
3803
4274
|
.cm-tree-actions > * {
|
|
3804
4275
|
opacity: 0;
|
|
@@ -3811,7 +4282,12 @@ ${Bt}${ft} {
|
|
|
3811
4282
|
.cm-tree-actions > [aria-pressed="true"],
|
|
3812
4283
|
.cm-tree-actions > [aria-checked="true"],
|
|
3813
4284
|
.cm-tree-actions > [data-pinned],
|
|
4285
|
+
.cm-tree-actions > [data-at-rest],
|
|
3814
4286
|
.cm-tree-actions > :has([aria-pressed="true"], [aria-checked="true"], :checked) { opacity: 1; }
|
|
4287
|
+
/* A touch screen has no hover to reveal them, so the toggles stay visible (as ActionRow's do). */
|
|
4288
|
+
@media (hover: none) {
|
|
4289
|
+
.cm-tree-actions > * { opacity: 1; }
|
|
4290
|
+
}
|
|
3815
4291
|
|
|
3816
4292
|
/* Sticky expanded top-level rows (stickyRoots). */
|
|
3817
4293
|
.cm-tree[data-sticky-roots] .cm-tree-block > .cm-tree-row[aria-level="1"][aria-expanded="true"] {
|
|
@@ -3910,11 +4386,10 @@ ${Bt}${ft} {
|
|
|
3910
4386
|
line-height: 16px;
|
|
3911
4387
|
}
|
|
3912
4388
|
.cm-page-line { display: flex; align-items: center; min-width: 0; }
|
|
4389
|
+
/* The second line wraps rather than cut: a time or a status sentence is read whole. */
|
|
3913
4390
|
.cm-page-description {
|
|
3914
4391
|
min-width: 0;
|
|
3915
|
-
overflow:
|
|
3916
|
-
text-overflow: ellipsis;
|
|
3917
|
-
white-space: nowrap;
|
|
4392
|
+
overflow-wrap: anywhere;
|
|
3918
4393
|
color: var(--cm-text-secondary);
|
|
3919
4394
|
font-weight: 400;
|
|
3920
4395
|
letter-spacing: normal;
|
|
@@ -3947,7 +4422,7 @@ ${Bt}${ft} {
|
|
|
3947
4422
|
outline: none;
|
|
3948
4423
|
box-shadow: none;
|
|
3949
4424
|
color: var(--cm-text);
|
|
3950
|
-
${
|
|
4425
|
+
${Q("body")}
|
|
3951
4426
|
}
|
|
3952
4427
|
.cm-rename.cm-rename .cm-rename-input::selection { background-color: var(--cm-text-highlight); }
|
|
3953
4428
|
|
|
@@ -3973,7 +4448,7 @@ ${Bt}${ft} {
|
|
|
3973
4448
|
}
|
|
3974
4449
|
.cm-result-row:hover,
|
|
3975
4450
|
.cm-result-row[data-state="hover"] { background: var(--cm-bg-hover); border-color: var(--cm-bg-hover); }
|
|
3976
|
-
.cm-result-row[
|
|
4451
|
+
.cm-result-row[data-active] { background: var(--cm-bg-selected); border-color: var(--cm-bg-selected); }
|
|
3977
4452
|
.cm-result-icon {
|
|
3978
4453
|
flex: none;
|
|
3979
4454
|
display: flex;
|
|
@@ -3983,11 +4458,22 @@ ${Bt}${ft} {
|
|
|
3983
4458
|
height: 16px;
|
|
3984
4459
|
color: var(--cm-icon);
|
|
3985
4460
|
}
|
|
4461
|
+
.cm-result-picked { flex: none; display: flex; width: 16px; height: 16px; color: var(--cm-icon); }
|
|
3986
4462
|
.cm-result-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
|
|
3987
4463
|
.cm-result-name,
|
|
3988
4464
|
.cm-result-path { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3989
4465
|
.cm-result-match { font-weight: 600; }
|
|
3990
4466
|
.cm-result-path { font-size: 10px; line-height: 16px; color: var(--cm-text-secondary); }
|
|
4467
|
+
/* lines={2}: the name and the path each wrap to a second line before they end in "...". */
|
|
4468
|
+
.cm-result-row[data-lines="2"] .cm-result-name,
|
|
4469
|
+
.cm-result-row[data-lines="2"] .cm-result-path {
|
|
4470
|
+
display: -webkit-box;
|
|
4471
|
+
-webkit-box-orient: vertical;
|
|
4472
|
+
-webkit-line-clamp: 2;
|
|
4473
|
+
line-clamp: 2;
|
|
4474
|
+
white-space: normal;
|
|
4475
|
+
overflow-wrap: anywhere;
|
|
4476
|
+
}
|
|
3991
4477
|
.cm-result-row[data-tone="component"],
|
|
3992
4478
|
.cm-result-row[data-tone="component"] .cm-result-icon,
|
|
3993
4479
|
.cm-result-row[data-tone="component"] .cm-result-path { color: var(--cm-text-component); }
|
|
@@ -4015,9 +4501,9 @@ ${Bt}${ft} {
|
|
|
4015
4501
|
content: "";
|
|
4016
4502
|
position: absolute;
|
|
4017
4503
|
top: 4px;
|
|
4504
|
+
bottom: 4px;
|
|
4018
4505
|
inset-inline-start: 12px;
|
|
4019
4506
|
inset-inline-end: 8px;
|
|
4020
|
-
height: 24px;
|
|
4021
4507
|
border-radius: 5px;
|
|
4022
4508
|
pointer-events: none;
|
|
4023
4509
|
}
|
|
@@ -4030,10 +4516,16 @@ ${Bt}${ft} {
|
|
|
4030
4516
|
.cm-data-row[data-selected]:hover::after { background: var(--cm-bg-selected); }
|
|
4031
4517
|
.cm-data-row:has(.cm-data-row-body:focus-visible)::before,
|
|
4032
4518
|
.cm-data-row[data-state="focus"]::before { outline-color: var(--cm-border-selected); }
|
|
4519
|
+
/* A grid rather than a flex row: when the name and the value do not both fit, the grid hands
|
|
4520
|
+
them the width in equal halves, and a half one of them does not need goes to the other. So a
|
|
4521
|
+
short name stays whole beside a long value, a short value stays whole beside a long name, and
|
|
4522
|
+
only two long ones are each cut, at half the row. The name's track takes what is left over,
|
|
4523
|
+
which keeps the value at the trailing edge. */
|
|
4033
4524
|
.cm-data-row-body {
|
|
4034
|
-
display:
|
|
4525
|
+
display: grid;
|
|
4526
|
+
grid-template-columns: minmax(0, auto) minmax(0, max-content);
|
|
4035
4527
|
align-items: center;
|
|
4036
|
-
gap: 8px;
|
|
4528
|
+
column-gap: 8px;
|
|
4037
4529
|
flex: 1 1 auto;
|
|
4038
4530
|
min-width: 0;
|
|
4039
4531
|
height: 100%;
|
|
@@ -4047,8 +4539,10 @@ ${Bt}${ft} {
|
|
|
4047
4539
|
outline: none;
|
|
4048
4540
|
cursor: default;
|
|
4049
4541
|
}
|
|
4542
|
+
.cm-data-row-body:has(> .cm-data-row-icon) { grid-template-columns: 16px minmax(0, auto) minmax(0, max-content); }
|
|
4543
|
+
.cm-data-row-body:not(:has(> .cm-data-row-value)) { grid-template-columns: minmax(0, 1fr); }
|
|
4544
|
+
.cm-data-row-body:has(> .cm-data-row-icon):not(:has(> .cm-data-row-value)) { grid-template-columns: 16px minmax(0, 1fr); }
|
|
4050
4545
|
.cm-data-row-icon {
|
|
4051
|
-
flex: none;
|
|
4052
4546
|
display: flex;
|
|
4053
4547
|
align-items: center;
|
|
4054
4548
|
justify-content: center;
|
|
@@ -4057,17 +4551,41 @@ ${Bt}${ft} {
|
|
|
4057
4551
|
color: var(--cm-icon-secondary);
|
|
4058
4552
|
}
|
|
4059
4553
|
.cm-data-row-name {
|
|
4060
|
-
flex: 1 1 auto;
|
|
4061
4554
|
min-width: 0;
|
|
4062
4555
|
overflow: hidden;
|
|
4063
4556
|
text-overflow: ellipsis;
|
|
4064
4557
|
white-space: nowrap;
|
|
4065
4558
|
}
|
|
4066
|
-
.cm-data-row-value {
|
|
4559
|
+
.cm-data-row-value {
|
|
4560
|
+
min-width: 0;
|
|
4561
|
+
overflow: hidden;
|
|
4562
|
+
text-overflow: ellipsis;
|
|
4563
|
+
white-space: nowrap;
|
|
4564
|
+
color: var(--cm-text-secondary);
|
|
4565
|
+
}
|
|
4067
4566
|
.cm-data-row:not([data-trailing]) .cm-data-row-value { padding-inline-end: 8px; }
|
|
4068
4567
|
/* A stat row (VOCAB.md): the name is the label, the value the reading the reader came for. */
|
|
4069
4568
|
.cm-data-row[data-stat] .cm-data-row-name { color: var(--cm-text-secondary); font-weight: 400; }
|
|
4070
4569
|
.cm-data-row[data-stat] .cm-data-row-value { color: var(--cm-text); font-weight: 500; }
|
|
4570
|
+
/* A stat's reading is never cut: one that does not fit beside its name wraps onto more 16px lines
|
|
4571
|
+
in its own track, and the row grows. */
|
|
4572
|
+
.cm-data-row[data-stat] { height: auto; min-height: 32px; }
|
|
4573
|
+
.cm-data-row[data-stat] .cm-data-row-body { align-items: start; }
|
|
4574
|
+
.cm-data-row[data-stat] .cm-data-row-value {
|
|
4575
|
+
padding-block: 8px;
|
|
4576
|
+
line-height: 16px;
|
|
4577
|
+
white-space: normal;
|
|
4578
|
+
overflow-wrap: anywhere;
|
|
4579
|
+
text-align: end;
|
|
4580
|
+
}
|
|
4581
|
+
/* Nor is its name: a label too long for its half of the row ("Edges joining these nodes") wraps
|
|
4582
|
+
the same way, so a reader never meets a cut name. */
|
|
4583
|
+
.cm-data-row[data-stat] .cm-data-row-name {
|
|
4584
|
+
padding-block: 8px;
|
|
4585
|
+
line-height: 16px;
|
|
4586
|
+
white-space: normal;
|
|
4587
|
+
overflow-wrap: anywhere;
|
|
4588
|
+
}
|
|
4071
4589
|
|
|
4072
4590
|
.cm-data-row-header {
|
|
4073
4591
|
box-sizing: border-box;
|
|
@@ -4078,7 +4596,7 @@ ${Bt}${ft} {
|
|
|
4078
4596
|
height: 32px;
|
|
4079
4597
|
padding-block: 0;
|
|
4080
4598
|
padding-inline: 16px;
|
|
4081
|
-
${
|
|
4599
|
+
${Q("bodyStrong")}
|
|
4082
4600
|
color: var(--cm-text-secondary);
|
|
4083
4601
|
}
|
|
4084
4602
|
.cm-data-row-header-sort {
|
|
@@ -4134,13 +4652,37 @@ ${Bt}${ft} {
|
|
|
4134
4652
|
outline-offset: -1px;
|
|
4135
4653
|
background: transparent;
|
|
4136
4654
|
color: var(--cm-text);
|
|
4137
|
-
${
|
|
4655
|
+
${Q("body")}
|
|
4656
|
+
white-space: nowrap;
|
|
4657
|
+
}
|
|
4658
|
+
|
|
4659
|
+
/* ---- EntityChip: a node or edge count or name ------------------------------------------ */
|
|
4660
|
+
.cm-entity-chip {
|
|
4661
|
+
flex: none;
|
|
4662
|
+
box-sizing: border-box;
|
|
4663
|
+
display: inline-flex;
|
|
4664
|
+
align-items: center;
|
|
4665
|
+
gap: 4px;
|
|
4666
|
+
height: 20px;
|
|
4667
|
+
max-width: 100%;
|
|
4668
|
+
padding: 0 6px 0 4px;
|
|
4669
|
+
border: 0;
|
|
4670
|
+
border-radius: 10px;
|
|
4671
|
+
background: color-mix(in srgb, var(--cm-entity-ink) 12%, transparent);
|
|
4672
|
+
color: var(--cm-text);
|
|
4673
|
+
${Q("body")}
|
|
4138
4674
|
white-space: nowrap;
|
|
4139
4675
|
}
|
|
4676
|
+
.cm-entity-chip[data-kind="node"] { --cm-entity-ink: var(--cm-entity-node); }
|
|
4677
|
+
.cm-entity-chip[data-kind="edge"] { --cm-entity-ink: var(--cm-entity-edge); }
|
|
4678
|
+
.cm-entity-chip .cm-entity-icon { flex: none; color: var(--cm-entity-ink); }
|
|
4679
|
+
.cm-entity-chip .cm-entity-text { overflow: hidden; text-overflow: ellipsis; }
|
|
4680
|
+
button.cm-entity-chip { cursor: pointer; }
|
|
4681
|
+
button.cm-entity-chip:hover { background: color-mix(in srgb, var(--cm-entity-ink) 20%, transparent); }
|
|
4140
4682
|
|
|
4141
4683
|
/* ---- DataTable (10.6) -------------------------------------------------------------------- */
|
|
4142
4684
|
.cm-dt { display: flex; flex-direction: column; gap: 8px; width: 100%; color: var(--cm-text); }
|
|
4143
|
-
.cm-dt-count { flex: none; color: var(--cm-text-secondary); ${
|
|
4685
|
+
.cm-dt-count { flex: none; color: var(--cm-text-secondary); ${Q("body")} }
|
|
4144
4686
|
.cm-dt-viewport { position: relative; overflow: auto; background: var(--cm-bg); }
|
|
4145
4687
|
/* Every cell draws its grid line as a 1px outline over a 1px gap, so neighboring lines overlap
|
|
4146
4688
|
instead of doubling. The table's 1px padding keeps the outer lines inside the scroll area. */
|
|
@@ -4151,7 +4693,7 @@ ${Bt}${ft} {
|
|
|
4151
4693
|
padding: 1px;
|
|
4152
4694
|
background: var(--cm-bg);
|
|
4153
4695
|
color: var(--cm-text);
|
|
4154
|
-
${
|
|
4696
|
+
${Q("body")}
|
|
4155
4697
|
}
|
|
4156
4698
|
/* z-index 2: above the pinned body cells (z-index 1) that scroll under it. */
|
|
4157
4699
|
.cm-dt .cm-dt-head { display: grid; position: sticky; top: 1px; z-index: 2; background: var(--cm-bg); }
|
|
@@ -4178,8 +4720,13 @@ ${Bt}${ft} {
|
|
|
4178
4720
|
.cm-dt .cm-dt-cell:first-child { padding: 0 16px; }
|
|
4179
4721
|
.cm-dt .cm-dt-cell:first-child:not(.cm-dt-header) { font-weight: 400; letter-spacing: normal; }
|
|
4180
4722
|
.cm-dt .cm-dt-cell.cm-dt-header { padding: 0 16px; }
|
|
4181
|
-
|
|
4723
|
+
/* density="compact": a short list in a popover, where every pixel of a column is its content's. */
|
|
4724
|
+
.cm-dt.cm-dt-compact .cm-dt-cell,
|
|
4725
|
+
.cm-dt.cm-dt-compact .cm-dt-cell:first-child,
|
|
4726
|
+
.cm-dt.cm-dt-compact .cm-dt-cell.cm-dt-header { padding: 0 4px; }
|
|
4727
|
+
.cm-dt .cm-dt-header { ${Q("body")} font-weight: 600; letter-spacing: normal; color: var(--cm-text); }
|
|
4182
4728
|
.cm-dt .cm-dt-row[aria-selected="true"] > .cm-dt-cell { background: var(--cm-bg-selected); }
|
|
4729
|
+
.cm-dt .cm-dt-cell[data-tone="warning"] { color: var(--cm-text-warning); }
|
|
4183
4730
|
/* The active (keyboard) cell: a 1px box drawn inside the cell; the grid line stays. */
|
|
4184
4731
|
.cm-dt .cm-dt-cell::before,
|
|
4185
4732
|
.cm-dt .cm-dt-sort::before {
|
|
@@ -4217,6 +4764,22 @@ ${Bt}${ft} {
|
|
|
4217
4764
|
.cm-dt .cm-dt-header-icon { flex: none; display: inline-flex; align-items: center; color: var(--cm-icon-secondary); }
|
|
4218
4765
|
.cm-dt .cm-dt-sort[data-with-menu],
|
|
4219
4766
|
.cm-dt .cm-dt-cell.cm-dt-header[data-with-menu] { padding-inline-end: 32px; }
|
|
4767
|
+
/* A header's end controls (a warning): before the menu caret, always shown. */
|
|
4768
|
+
.cm-dt .cm-dt-header-end {
|
|
4769
|
+
position: absolute;
|
|
4770
|
+
inset-inline-end: 4px;
|
|
4771
|
+
top: 50%;
|
|
4772
|
+
z-index: 1;
|
|
4773
|
+
display: inline-flex;
|
|
4774
|
+
align-items: center;
|
|
4775
|
+
gap: 2px;
|
|
4776
|
+
transform: translateY(-50%);
|
|
4777
|
+
}
|
|
4778
|
+
.cm-dt .cm-dt-header-end[data-with-menu] { inset-inline-end: 32px; }
|
|
4779
|
+
.cm-dt .cm-dt-sort[data-with-end],
|
|
4780
|
+
.cm-dt .cm-dt-cell.cm-dt-header[data-with-end] { padding-inline-end: 32px; }
|
|
4781
|
+
.cm-dt .cm-dt-sort[data-with-end][data-with-menu],
|
|
4782
|
+
.cm-dt .cm-dt-cell.cm-dt-header[data-with-end][data-with-menu] { padding-inline-end: 56px; }
|
|
4220
4783
|
.cm-dt .cm-dt-header-menu {
|
|
4221
4784
|
position: absolute;
|
|
4222
4785
|
inset-inline-end: 4px;
|
|
@@ -4228,7 +4791,11 @@ ${Bt}${ft} {
|
|
|
4228
4791
|
.cm-dt .cm-dt-header:hover .cm-dt-header-menu,
|
|
4229
4792
|
.cm-dt .cm-dt-header:focus-within .cm-dt-header-menu,
|
|
4230
4793
|
.cm-dt .cm-dt-header-menu[aria-expanded="true"] { opacity: 1; }
|
|
4231
|
-
|
|
4794
|
+
/* A touch screen has no hover to reveal the column menu, so its caret stays visible. */
|
|
4795
|
+
@media (hover: none) {
|
|
4796
|
+
.cm-dt .cm-dt-header-menu { opacity: 1; }
|
|
4797
|
+
}
|
|
4798
|
+
.cm-dt .cm-dt-sort-priority { flex: none; color: var(--cm-text-secondary); ${Q("caption")} }
|
|
4232
4799
|
.cm-dt .cm-dt-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
4233
4800
|
.cm-dt-empty {
|
|
4234
4801
|
display: flex;
|
|
@@ -4236,10 +4803,11 @@ ${Bt}${ft} {
|
|
|
4236
4803
|
justify-content: center;
|
|
4237
4804
|
padding: 16px;
|
|
4238
4805
|
color: var(--cm-text-secondary);
|
|
4239
|
-
${
|
|
4240
|
-
}
|
|
4241
|
-
`,
|
|
4242
|
-
`),
|
|
4243
|
-
${
|
|
4244
|
-
${hr(":root, :host")}`:"";return`${pl}${t}${r}`}let lt=null;function Yt(e={}){if(typeof document>"u")return;lt!=null&<.isConnected||(lt=document.head.querySelector(`style[${un}]`),lt||(lt=document.createElement("style"),lt.setAttribute(un,""),lt.textContent=wa(),document.head.appendChild(lt)));const t=e.highContrast?"high":"figma",r=document.documentElement;r.getAttribute(mn)!==t&&r.setAttribute(mn,t)}function hl(e){if(typeof document>"u")return;const t=document.documentElement;if(e==="brand"){t.removeAttribute(Mo);return}const r=e==="graphty"?"graphty":"";t.getAttribute(Mo)!==r&&t.setAttribute(Mo,r)}function fl(e,t){const r={};for(const[n,a]of Object.entries(e)){const s=a.vars;r[n]={...a,vars:(...c)=>(Yt(t),hl(c[0].primaryColor),bl(s)?s(...c):{})}}return r}function bl(e){return typeof e=="function"}function ya(e={}){const t={highContrast:e.highContrast??!1,accent:e.accent??"figma"};return Yt(t),d.createTheme({colors:Zn,primaryColor:t.accent==="graphty"?"graphty":"brand",primaryShade:{light:6,dark:8},white:"#ffffff",black:"#000000",fontFamily:Xo,fontFamilyMonospace:$n,headings:{fontFamily:Xo,fontWeight:"550"},fontSizes:is,lineHeights:ss,spacing:cs,radius:ls,defaultRadius:"sm",shadows:ds,fontSmoothing:!0,cursorType:"default",focusRing:"never",activeClassName:"",other:{panelGrid:R,compact:t},components:fl(Vc,t)})}const ka=ya(),xl=d.mergeMantineTheme(d.DEFAULT_THEME,ka),Sa=["#5B8FF9FF","#FF6B6BFF","#61D095FF","#F7B731FF","#9B59B6FF","#5B8FF980","#FF6B6B80","#61D09580","#F7B73180","#9B59B680"],Ta="#888888",br=255,xr=100;function gr(e){return Math.round(Number.parseInt(e,16)/br*xr)}function vo(e){return Math.round(e/xr*br).toString(16).padStart(2,"0")}function gl(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=gr(n);return{hex:r,opacity:a}}function vl(e,t){const r=e.replace("#",""),n=vo(t);return`#${r}${n}`}function ja(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 wl=224;function $e(e){if(!ja(e))return;let t=e.replace("#","");return t.length<=4&&(t=t.replace(/./g,"$&$&")),t.length===6&&(t+="ff"),`#${t.toUpperCase()}`}function Ca(e){const t=$e(e);return t===void 0?!1:[1,3,5].every(r=>Number.parseInt(t.slice(r,r+2),16)>=wl)}function Aa(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 yl(e,t){const r=e===void 0?"":e.trim();return r===""?t:`${/[.!?]$/u.test(r)?r:`${r}.`} ${t}`}function wo({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:yl(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 vr({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:Ca(n)},"aria-hidden":!0,children:a&&o.jsx("span",{className:"cm-chit-half",style:{"--cm-chit-color":r}})})}function Kt(e,t){const r=e.currentTarget;e.stopPropagation(),t(),r.dataset.cmReverting="true",r.blur(),delete r.dataset.cmReverting}function Xt(e){return e.currentTarget.dataset.cmReverting==="true"}const kl=0,Sl=100,Tl=.5,jl=10;function Oo(e){return Math.min(Sl,Math.max(kl,e))}function Ea({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=Wt(),[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=Oo(I);b(l.format(N)),N!==e&&t(N,h)},A=h=>{if(h.key==="Enter"){w(h);return}if(h.key==="Escape"){Kt(h,()=>{b(l.format(e))});return}if(h.key==="ArrowUp"||h.key==="ArrowDown"){h.preventDefault();const I=(h.shiftKey?jl:1)*(h.key==="ArrowUp"?1:-1),N=p(f),E=Oo(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"))},j=h=>{const I=v.current;I!==null&&(I.last=Oo(Math.round(I.start+(h.clientX-I.startX)*Tl)),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=>{Xt(h)||w(h),m==null||m(h)},onKeyDown:A}),o.jsx("span",{className:"cm-paint-suffix","aria-hidden":!0,onPointerDown:k,onPointerMove:j,onPointerUp:C,onPointerCancel:C,children:"%"})]})}const Cl={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"},Al=[{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 ao(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 El(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 pn(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 Nl(){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 Il(){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 wr({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={...Cl,...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(ao(f,S));u.useEffect(()=>{const P=$e(e);P!==void 0&&P!==wt(v.current)&&b(d.parseColor(P))},[e]),u.useEffect(()=>{x(ao(f,S))},[f,S]);const k=P=>n?P:P.slice(0,7),j=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 T=d.parseColor(n?z:z.slice(0,7));b(T),v.current=T;const q=k(n?z:`${z.slice(0,7)}FF`);t(q),r==null||r(q)},{ref:I}=ie.useMove(({x:P,y:z})=>{j({...v.current,s:P*100,v:(1-z)*100})},{onScrubEnd:C}),N=P=>{const z=P.shiftKey?10:1,q={ArrowRight:[z,0],ArrowLeft:[-z,0],ArrowUp:[0,z],ArrowDown:[0,-z]}[P.key];if(q===void 0)return;P.preventDefault();const{current:L}=v,O=ie.clampUseMovePosition({x:(L.s+q[0])/100,y:(L.v+q[1])/100});j({...L,s:O.x*100,v:O.y*100}),C()},E=()=>{const P=El(A,S,v.current.a);if(P===void 0){x(ao(v.current,S));return}wt(P)!==wt(v.current)&&(j(P),C())},D=typeof window>"u"?void 0:window.EyeDropper,W=()=>{D!==void 0&&new D().open().then(P=>{h(`${P.sRGBHex}${vo(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(Nl,{}),o.jsx("span",{className:"cm-visually-hidden",children:p.solid})]})},{value:"gradient",label:o.jsxs(o.Fragment,{children:[o.jsx(Il,{}),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=>{j({...v.current,h:P})},onChangeEnd:C,onKeyDownCapture:pn(360,Math.round(f.h),P=>{j({...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=>{j({...v.current,a:P})},onChangeEnd:C,onKeyDownCapture:pn(1,f.a,P=>{j({...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:Al,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=>{Xt(P)||E()},onKeyDown:P=>{P.key==="Enter"?E():P.key==="Escape"&&Kt(P,()=>{x(ao(v.current,S))})}}),n&&o.jsx(Ea,{value:M,ariaLabel:p.opacity,testId:"color-picker-opacity",onCommit:P=>{j({...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(vr,{color:P})},`${String(z)}-${P}`))})]})]})}const Na=u.createContext(null);function zl(){return u.useContext(Na)}function Rl({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(Na.Provider,{value:r,children:a})}function Ll({children:e}){return o.jsx(d.Box,{className:"cm-popout-content",children:e})}const Pl=["[data-portal]","[data-combobox-dropdown]","[data-menu-dropdown]","[data-popover-dropdown]","[data-tooltip]","[data-hovercard-dropdown]","[data-dates-dropdown]","[data-modal]"].join(", ");function Ml(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(Pl)||e()};return document.addEventListener("mousedown",r),()=>{document.removeEventListener("mousedown",r)}},[e,t])}function Ol(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 Ia=u.createContext(null);function Dl({id:e,children:t}){return o.jsx(Ia.Provider,{value:e,children:t})}function za(){return u.useContext(Ia)}const yr=u.createContext(null),kr=u.createContext(null);function yo(){const e=u.useContext(yr);if(!e)throw new Error("usePopoutContext must be used within a Popout component");return e}function Ra(){return u.useContext(yr)}function La(){const e=u.useContext(kr);if(!e)throw new Error("usePopoutManagerContext must be used within a PopoutManager");return e}function Bl(){return u.useContext(kr)}function Fl(){const{closeAll:e,hasOpenPopouts:t}=La();return u.useMemo(()=>({closeAll:e,hasOpenPopouts:t}),[e,t])}function Pa({children:e,parentId:t=null,opened:r,defaultOpened:n,onOpenChange:a,exclusive:s=!0}){const c=u.useId(),i=u.useRef(null),m=za(),[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(yr.Provider,{value:A,children:e})}function Hl({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,T)=>!i.current.has(z)&&(s.current.get(z)??null)===T,[]),f=u.useCallback(z=>n.current.filter(T=>p(T,z)),[p]),b=u.useCallback(z=>{const T=[];for(const q of n.current){let L=q;for(;L;){const O=s.current.get(L)??null;if(O===z){T.push(q);break}L=O}}return T},[]),v=u.useCallback(z=>{let T=0,q=z;for(;q;){const L=s.current.get(q)??null;if(!L)break;T++,q=L}return T},[]),S=u.useCallback(z=>{var q;const T=[...z].sort((L,O)=>v(O)-v(L));for(const L of T)(q=a.current.get(L))==null||q()},[v]),w=u.useCallback((z,T,q,L,O)=>{if(n.current.includes(z)){a.current.set(z,T);return}const _=q??null,te=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,T),s.current.set(z,_),c.current.set(z,te),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(T=>T!==z),a.current.delete(z),s.current.delete(z),c.current.delete(z),i.current.delete(z),l(T=>T+1)},[]),x=u.useCallback(z=>{const T=n.current.indexOf(z);return T>=0?Jo+T:Jo},[]),k=u.useCallback(z=>{const T=n.current,q=T.indexOf(z);q===-1||q===T.length-1||(n.current=[...T.filter(L=>L!==z),z],l(L=>L+1))},[]),j=u.useCallback(z=>s.current.get(z)??null,[]),C=u.useCallback((z,T)=>{let q=T;for(;q;){const L=s.current.get(q);if(L===z)return!0;q=L??null}return!1},[]),h=u.useCallback(z=>{const T=[],q=n.current;for(const L of q)C(z,L)&&T.push(L);return T},[C]),I=u.useCallback(z=>{const T=h(z);for(const q of[...T].reverse()){const L=a.current.get(q);L==null||L()}},[h]),N=u.useCallback(z=>{I(z);const T=a.current.get(z);T==null||T()},[I]),E=u.useCallback((z,T)=>{for(const q of n.current)q!==z&&p(q,T)&&N(q)},[N,p]),D=u.useCallback(()=>{const z=n.current;if(z.length===0)return;const T=z[z.length-1],q=a.current.get(T);q==null||q()},[]),W=u.useCallback(()=>{const z=[...n.current];for(const T of z){const q=a.current.get(T);q==null||q()}},[]),Q=u.useCallback(()=>n.current.length>0,[]),[M,oe]=u.useState(!1);u.useEffect(()=>{oe(n.current.length>0)},[m]),Ol(D,M),Ml(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:j,isAncestor:C}),[w,A,x,k,t,m,D,W,Q,N,I,E,j,C]);return o.jsxs(kr.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 Ul(e,t){return Ve(t)?1-e:e}function Vl(e,t,r){return Ul(e,r)*t}function Gl(e){return Ve(e)?{transform:"scaleX(-1)"}:{}}const hn=3;function ql(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 j=k.target;if(!(j.tagName==="INPUT"||j.tagName==="TEXTAREA"||j.tagName==="BUTTON"||j.tagName==="SELECT"||j.closest("button")||j.closest("input")||j.closest("textarea")||j.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{j.setPointerCapture(k.pointerId)}catch{}}},[c.left,c.top,r]),w=u.useCallback(k=>{if(!m.current)return;const j=k.clientX-f.current.x,C=k.clientY-f.current.y;if(!l.current){if(!(Math.abs(j)>=hn||Math.abs(C)>=hn))return;l.current=!0,n==null||n(k)}const h={left:f.current.offsetLeft+j,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 j=k.target;j.hasPointerCapture(k.pointerId)&&j.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 Wl({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 fn(e,t=document){return e===null?null:t.querySelector(`[data-popout-id="${e}"]`)}function bn(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 Yl(e,t){return e==="start"?Ve(t)?"right":"left":e==="end"?Ve(t)?"left":"right":e}function Kl(e,t,r=ea,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=xn(i,s,c);break;case"right":l=e.right+r,p=xn(i,s,c);break;case"top":l=gn(i,s,t,m),p=e.top-c-r;break;case"bottom":l=gn(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 xn(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 gn(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 Xl(e,t){const r=e==null?void 0:e.getBoundingClientRect(),n=Jl(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 Jl(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 Zl(e,t){return`${e}-tab-${t??""}`}function Ql(e,t){return`${e}-panel-${t??""}`}function _l(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:j,parentId:C,region:h,exclusive:I=!0}=yo(),{getZIndex:N,portalContainer:E,register:D,unregister:W,bringToFront:Q,closeDescendants:M}=La(),oe=zl(),P=ct(),z=u.useId(),T=`popout-panel-${j}`,q=`popout-title-${z}`,L=`popout-tabs-${z}`,[O,_]=u.useState(null),te=u.useRef(!1),X=u.useRef(null),K=u.useRef(null),ce=u.useCallback(()=>{Q(j)},[Q,j]),{dragTriggerProps:se,dragOffset:ve,resetDragOffset:Me,hasDragged:Y,consumeDragClick:de}=ql({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,Te=(me==null?void 0:me.defaultTab)??((Xe=me==null?void 0:me.tabs[0])==null?void 0:Xe.id),[ye,F]=u.useState(Te),g=p??(C===null?0:ta),H=u.useCallback((re,ue)=>{var Se;F(re),(Se=me==null?void 0:me.onTabChange)==null||Se.call(me,re,ue)},[me]),ee=u.useCallback(re=>{re.stopPropagation(),Q(j),!de()&&M(j)},[M,Q,de,j]),Z=u.useCallback(re=>{M(j),x(re)},[M,x,j]),J=u.useRef(x);u.useEffect(()=>{J.current=x});const ne=u.useCallback(()=>{J.current()},[]);u.useEffect(()=>(A?D(j,ne,C,h,I):W(j),()=>{W(j)}),[A,j,D,W,ne,C,h,I]);const ke=u.useCallback(()=>{const re={trigger:k.current,parent:fn(C),panel:(oe==null?void 0:oe.anchorRef.current)??null};return{inline:bn(c,"x",re),block:bn(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 je=(tt=X.current)==null?void 0:tt.getBoundingClientRect(),Ne=Xl(K.current,X.current),Je=Math.max(t*Ne.scaleX,(je==null?void 0:je.width)??0),Pe=Math.max((r??0)*Ne.scaleY,(je==null?void 0:je.height)??0),Ie=Yl(m,P),ze=Ie==="top"||Ie==="bottom",De=ze?Ee:Se,et=ze?Se:Ee,Be=Kl(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}te.current||(Me(),ge&&F(Te)),Le()},[A,Le,Me,ge,Te]),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,Fr.flushSync(Le),(ze=X.current)==null||ze.removeAttribute("data-cm-repositioning")}))},Se=new ResizeObserver(ue),Ee=new MutationObserver(ue),{inline:je,block:Ne}=ke(),Je=Y?fn(C):null;for(const Ie of new Set([je,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)}}te.current&&((re=k.current)==null||re.focus())}},[A,b,k]),u.useEffect(()=>{te.current=A},[A]),!A||!E)return null;const Ae=N(j),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:T,role:"dialog","aria-modal":"false","aria-labelledby":n?q:void 0,"aria-label":n?void 0:a,tabIndex:-1,onClick:ee,"data-testid":"popout-panel","data-popout-id":j,...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(Wl,{config:n,onClose:Z,dragTriggerProps:se,activeTab:ye,onTabChange:H,actions:f,titleId:q,tabsId:L}):null,ge?o.jsx(d.Box,{"data-testid":"popout-panel-content",role:"tabpanel",id:Ql(L,ye),"aria-labelledby":Zl(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 Fr.createPortal(o.jsxs(o.Fragment,{children:[o.jsx("div",{ref:K,"aria-hidden":"true",style:{position:"fixed",left:0,top:0}}),pt]}),E)}function $l({children:e,action:t="toggle"}){const{open:r,toggle:n,triggerRef:a,isOpen:s,id:c}=yo(),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 ed({children:e,opened:t,defaultOpened:r,onOpenChange:n}){const a=Ra(),s=(a==null?void 0:a.id)??null;return o.jsx(Pa,{parentId:s,opened:t,defaultOpened:r,onOpenChange:n,children:e})}const Rt=Object.assign(ed,{Trigger:$l,Panel:_l,Content:Ll,Anchor:Rl}),td=u.forwardRef(function({icon:t,size:r="sm",...n},a){const{isOpen:s}=yo();return o.jsx(d.ActionIcon,{ref:a,"data-testid":"popout-button","data-open":s||void 0,variant:"subtle",size:r,...n,children:t})});function Ma({children:e}){return o.jsx(Hl,{children:e})}const od=R.BODY,rd=100,vn=9,Do=7;function nd({color:e,defaultColor:t,opacity:r,defaultOpacity:n=rd,onColorChange:a,onOpacityChange:s,onChange:c,label:i,showOpacity:m=!0,disabled:l=!1,disabledReason:p,onFocus:f,onBlur:b,width:v=od,showReset:S=!0,hideLabel:w=!1,swatches:A=Sa}){const x=we(),k=u.useId(),j=wo({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,T]=u.useState(P(M));u.useEffect(()=>{T(P(M))},[M]);const q=K=>{const ce=K.length===vn,se=K.slice(0,Do).toUpperCase(),ve=ce&&m,Me=ve?gr(K.slice(Do,vn)):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,Do);ve!==void 0&&ve!==M.toUpperCase()?(I(ve,K),c==null||c(ve,N,K)):T(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)},te=`${M}${vo(oe)}`.toUpperCase(),X=o.jsxs("div",{className:"cm-paint","data-testid":"compact-color-input",title:i===void 0||w?j.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(Rt,{children:[o.jsx(Rt.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":j.describedBy,children:o.jsx(vr,{color:m?te:M,variant:"field"})})}),o.jsx(Rt.Panel,{width:R.POPOVER_WIDTH,header:{variant:"title",title:i??x.colorPanelTitle},children:o.jsx(wr,{value:te,onChange:q,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":j.describedBy,disabled:l,value:z,onChange:K=>{T(K.currentTarget.value.toUpperCase())},onFocus:K=>{K.currentTarget.select(),f==null||f(K)},onBlur:K=>{Xt(K)||L(K),b==null||b(K)},onKeyDown:K=>{K.key==="Enter"?L(K):K.key==="Escape"&&Kt(K,()=>{T(P(M))})}}),m&&o.jsx(Ea,{value:oe,onCommit:O,ariaLabel:i===void 0?x.opacity:x.colorOpacity(i),isDefault:W,disabled:l,describedBy:j.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})}),j.description!==void 0&&o.jsx(d.VisuallyHidden,{id:j.describedBy,children:j.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:j.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&&Yt({highContrast:r})},[t,r])}function ad({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 Oa({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 wn=R.POPOVER_WIDTH,id=4;function sd({name:e,bubbleId:t}){const{isOpen:r,open:n,close:a}=yo();return o.jsx(Rt.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 Da({children:e,label:t,opened:r,defaultOpened:n,onOpenChange:a}){var f;const s=we(),c=u.useId(),i=Bl()!==null,m=((f=Ra())==null?void 0:f.id)??null,l=s.about(t),p=o.jsxs(Pa,{parentId:m,opened:r,defaultOpened:n,onOpenChange:a,exclusive:!1,children:[o.jsx(sd,{name:l,bubbleId:c}),o.jsx(Rt.Panel,{width:wn,label:l,placement:"bottom",alignment:"start",gap:id,anchorX:"trigger",anchorY:"trigger",manageFocus:!1,children:o.jsx(d.Box,{id:c,w:wn,className:"cm-info-bubble",children:e})})]});return i?p:o.jsx(Ma,{children:p})}function Jt(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 Ba=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})})}),cd=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 ld(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 dd(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(),j=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=ld(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?j:void 0,onClick:Q,children:[o.jsx(d.Box,{"data-testid":"control-section-chevron-slot",className:"cm-section-chevron",children:o.jsx(Oa,{open:C,rtl:Ve(w)})}),P,W&&o.jsx(d.Box,{component:"span",id:j,"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(Da,{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 Lt(e){if("key"in e)return{source:"keyboard"};const t=e.nativeEvent,r="pointerType"in t?t.pointerType:"";return{source:t.detail>0||r!==""?"pointer":"keyboard"}}function ud(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 md(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 pd(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 io(e,t){return e.row===t.row&&e.column===t.column}function hd(e,t,r){const n=Math.min(t,r),a=Math.max(t,r);return e.slice(n,a+1)}function rr(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 fd(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=hd(t,m,r);return{selected:s.toggle?rr([...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:rr(l,t),anchor:i}}return{selected:[i],anchor:i}}function bd(e,t,r){return r!=="multiple"?{selected:[...t],anchor:void 0}:{selected:rr([...t,...e],e),anchor:e[0]}}function yn(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 kn(e){return e==null?!0:typeof e=="number"?!Number.isFinite(e):e instanceof Date&&Number.isNaN(e.getTime())}function xd(e,t){return e===t?0:e?1:-1}function gd(e,t,r){const n=kn(e),a=kn(t);return n||a?n&&a?0:n?-1:1:typeof e=="number"&&typeof t=="number"?e-t:typeof e=="boolean"&&typeof t=="boolean"?xd(e,t):e instanceof Date&&t instanceof Date?e.getTime()-t.getTime():r.compare(String(e),String(t))}const vd=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()}),wd=320,yd=8,Sn=R.ROW_PITCH,so=1,Bo=[],kd=[];function Tn(e){return e==="asc"?"ascending":e==="desc"?"descending":"none"}function jn(e,t){return e==null||e===!1?t:o.jsx(d.Tooltip,{label:e,children:t})}function Sd(e,t){var Or,Dr,Br;Ce();const{data:r,rowCount:n,rowOffset:a=0,onRangeChange:s,columns:c,getRowId:i,label:m,labelledBy:l,labels:p,height:f=wd,rowHeight:b=Sn,headerHeight:v=Sn,overscan:S=yd,selectionMode:w="multiple",selectedIds:A,defaultSelectedIds:x,onSelectionChange:k,sorting:j,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:T,onRowDoubleClick:q,onRowContextMenu:L,onFocus:O,onBlur:_,empty:te}=e,X=ud(p),K=ct(),ce=Pt(),se=mt(),ve=va({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:Bo,onChange:(y,B)=>{k==null||k([...y],B)}}),[me,Te]=ie.useUncontrolled({value:j,defaultValue:C,finalValue:kd,onChange:(y,B)=>{h==null||h([...y],B)}}),[ye,F]=ie.useUncontrolled({value:I,defaultValue:N,finalValue:Bo,onChange:(y,B)=>{E==null||E([...y],B)}}),[g,H]=ie.useUncontrolled({value:D,defaultValue:W,finalValue:Bo,onChange:(y,B)=>{Q==null||Q([...y],B)}}),[ee,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=ee.trim();if(y!=="")return{query:y.toLocaleLowerCase(ce),columnIds:ke}},[ee,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,V)=>gd(y.value(B.original),y.value(V.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,je=Ee?a:0,Ne=We.useTable({features:vd,data:Ae,columns:Ue,getRowId:i,manualSorting:Ee,manualFiltering:Ee,enableRowSelection:w!=="none",enableMultiRowSelection:w==="multiple",getColumnCanGlobalFilter:()=>!0,globalFilterFn:(y,B,V)=>{const le=V;if(!(le!=null&&le.columnIds.includes(B)))return!1;const be=J.get(B);return be===void 0?!1:yn(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);Te(B.map(V=>({id:V.id,desc:V.desc})),Se.current)},onColumnVisibilityChange:y=>{const B=We.functionalUpdate(y,Ge);F(Object.keys(B).filter(V=>!B[V]))},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=Yn.useVirtualizer({count:De,getScrollElement:()=>tt.current,estimateSize:()=>b,gap:so,getItemKey:y=>Be[y-je]??y,overscan:S}),Ze=Re.getVirtualItems(),Mt=((Or=Ze[0])==null?void 0:Or.index)??0,Ot=(((Dr=Ze.at(-1))==null?void 0:Dr.index)??-1)+1;u.useEffect(()=>{s==null||s(Mt,Ot)},[Mt,Ot]);const[Ar,Ct]=u.useState({row:Oe,column:0}),[ii,Er]=u.useState(null),qe=u.useMemo(()=>pd(Ar,{rowCount:De,columnCount:et}),[Ar,De,et]),So=u.useRef(!1),To=u.useRef(void 0),Nr=y=>{y.row>=0&&Re.scrollToIndex(y.row),So.current=!0,Ct(B=>io(B,y)?B:y)};u.useLayoutEffect(()=>{var V;if(!So.current)return;const y=`[data-grid-row="${qe.row}"][data-grid-column="${qe.column}"]`,B=(V=ae.current)==null?void 0:V.querySelector(y);B instanceof HTMLElement&&(So.current=!1,B.focus())});const Ir=(y,B)=>{To.current=y.anchor,!(y.selected.length===de.length&&y.selected.every((le,be)=>le===de[be]))&&ge(y.selected,B)},Zt=(y,B,V)=>{Ir(fd({ids:Be,index:y-je,selected:de,anchor:To.current,modifiers:B,mode:w}),V)},zr=(y,B,V)=>{const le=Je[y-je];le!==void 0&&(T==null||T(le.original,B,V))},si=(y,B)=>{y.getCanSort()&&(Se.current=B,y.toggleSorting(void 0,B.shiftKey&&y.getCanMultiSort()),Se.current=void 0)},ci=()=>{var V;const y=((V=tt.current)==null?void 0:V.clientHeight)??0,B=Math.floor((y===0?b*10:y)/b);return Math.max(1,B-1)},li=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(),Er(B.id);return}const V=w==="multiple",le=y.ctrlKey||y.metaKey;if(V&&le&&(y.key==="a"||y.key==="A")){y.preventDefault(),Ir(bd(Be,de,w),y);return}if(qe.row>=0&&(y.key===" "||y.key==="Enter")){y.preventDefault(),y.key===" "?Zt(qe.row,{extend:y.shiftKey,toggle:!y.shiftKey},y):(Zt(qe.row,{extend:!1,toggle:!1},y),zr(qe.row,y,{source:"keyboard"}));return}const be=md(qe,y.key,{rowCount:De,columnCount:et,pageSize:ci()},K,{jumpToEnd:le});be!==void 0&&(y.preventDefault(),Nr(be),V&&y.shiftKey&&be.row>=0&&be.row!==qe.row&&Zt(be.row,{extend:!0,toggle:!1},y))};u.useImperativeHandle(t,()=>({scrollToRow:y=>{y>=0&&y<De&&Re.scrollToIndex(y)},setColumnHidden:(y,B)=>{var V;(V=Ne.getColumn(y))==null||V.toggleVisibility(!B)},moveColumn:(y,B)=>{const V=Ne.getAllLeafColumns().map(be=>be.id),le=V.indexOf(y);le!==-1&&(V.splice(le,1),V.splice(kt(B,0,V.length),0,y),Ne.setColumnOrder(V))},clearSelection:()=>{To.current=void 0,ge([])}}),[Ne,Re,De,ge]);const di=ze.reduce((y,B)=>{var V;return y+(((V=J.get(B.id))==null?void 0:V.width)??R.FIELD)},0),jo=[];{let y=so;for(const B of ze){if(!Ie(B.id))break;jo.push(y),y+=(((Br=J.get(B.id))==null?void 0:Br.width)??R.FIELD)+so}}const Rr=(y,B)=>{const V=(y==null?void 0:y.width)??R.FIELD,le=B<jo.length?{position:"sticky",insetInlineStart:jo[B],zIndex:1}:{};return{flex:B===et-1?`1 1 ${String(V)}px`:`0 0 ${String(V)}px`,justifyContent:(y==null?void 0:y.align)==="end"?"flex-end":"flex-start",...le}},Lr=w!=="none",Pr=n??r.length,Mr=X.rowsShown(se.format(De),se.format(Pr)),ui=()=>te!==void 0?te:Pr===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:ee,onChange:y=>{Z(y.currentTarget.value,y)},rightSection:ee===""?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:Mr})]}),o.jsxs(d.VisuallyHidden,{role:"status","aria-live":"polite",dir:"auto","data-testid":"data-table-status",children:[Mr,Lr&&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:li,stickyHeader:!0,tabularNums:!0,withRowBorders:!1,horizontalSpacing:0,verticalSpacing:0,className:"cm-dt-table",style:{minWidth:di+so*(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 V=J.get(y.id),le=y.getCanSort(),be=y.getIsSorted(),Fe=qe.row===Oe&&qe.column===B,xt=be===!1?-1:y.getSortIndex(),Qt=Fe?0:-1,At=(V==null?void 0:V.menu)!==void 0&&V.menu!==null,_t=o.jsxs(o.Fragment,{children:[(V==null?void 0:V.icon)!==void 0&&V.icon!==null&&o.jsx("span",{className:"cm-dt-header-icon","data-testid":"data-table-header-icon","aria-hidden":"true",children:V.icon}),o.jsx(d.Box,{component:"span","data-testid":"data-table-header-label",dir:"auto",title:(V==null?void 0:V.headerTooltip)===void 0?V==null?void 0:V.header:void 0,style:{flex:"0 1 auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:(V==null?void 0:V.header)??y.id}),be!==!1&&o.jsx("span",{className:"cm-sort-caret","data-testid":"data-table-sort-glyph","data-direction":Tn(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?Tn(be):void 0,"data-grid-row":le?void 0:Oe,"data-grid-column":le?void 0:B,tabIndex:le?void 0:Qt,className:"cm-dt-cell cm-dt-header","data-with-menu":At&&!le?"":void 0,onFocus:le?void 0:()=>{Ct(ot=>io(ot,{row:Oe,column:B})?ot:{row:Oe,column:B})},style:{...Rr(V,B),gap:R.GUTTER/2},children:[le?jn(V==null?void 0:V.headerTooltip,o.jsx(d.UnstyledButton,{type:"button","data-testid":"data-table-sort-button","data-grid-row":Oe,"data-grid-column":B,tabIndex:Qt,onClick:ot=>{Ct({row:Oe,column:B}),si(y,ot)},onFocus:()=>{Ct(ot=>io(ot,{row:Oe,column:B})?ot:{row:Oe,column:B})},className:"cm-dt-sort","data-align":(V==null?void 0:V.align)==="end"?"end":void 0,"data-with-menu":At?"":void 0,children:_t})):_t,At&&o.jsxs(d.Menu,{opened:ii===y.id,onChange:ot=>{Er(ot?y.id:null);const Co=document.activeElement;!ot&&(Co===null||Co===document.body||Co.closest('[role="menu"]')!==null)&&Nr({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??mr.columnMenu)((V==null?void 0:V.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:V==null?void 0:V.menu})]})]},y.id);return le?Qe:o.jsx(u.Fragment,{children:jn(V==null?void 0:V.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-je];if(B===void 0)return null;const V=de.includes(B.id);return o.jsx(d.Table.Tr,{role:"row","data-testid":"data-table-row","data-index":y.index,"data-selected":V?"true":void 0,"aria-rowindex":y.index+2,"aria-selected":Lr?V:void 0,onDoubleClick:le=>{q==null||q(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,Qt=Fe==null?void 0:Fe.value(B.original),At=yn(Qt,Y),_t=(Fe==null?void 0:Fe.cell)===void 0?o.jsx("span",{className:"cm-dt-text",dir:"auto",children:At}):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?At:void 0,onFocus:()=>{Ct(Qe=>io(Qe,{row:y.index,column:be})?Qe:{row:y.index,column:be})},onClick:Qe=>{Ct({row:y.index,column:be}),Zt(y.index,{extend:Qe.shiftKey,toggle:Qe.metaKey||Qe.ctrlKey},Qe),zr(y.index,Qe,Lt(Qe))},style:Rr(Fe,be),children:_t},le.id)})},B.id)})})]}),De===0&&o.jsx(d.Box,{"data-testid":"data-table-empty",className:"cm-dt-empty",children:ui()})]})]})}const Td=u.forwardRef(Sd);function jd(){return Array.from(crypto.getRandomValues(new Uint8Array(4)),e=>e.toString(16).padStart(2,"0")).join("")}function qt(e,t){return{id:jd(),offset:e,color:t}}function Fa(){return[qt(0,"#6366F1"),qt(1,"#06B6D4")]}const Cd=2,Ad=5,_e=100,Ft=360,Ed=90,Ha=10,Nd={flip:"Flip gradient",rotate:"Rotate gradient 90 degrees"};function Fo(e){return Math.min(_e,Math.max(0,e))}function Cn({value:e,format:t,normalize:r,onCommit:n,className:a,ariaLabel:s,role:c,min:i,max:m,testId:l}){const p=Wt(),[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=>{Xt(w)||S(w)},onKeyDown:w=>{if(w.key==="Enter")S(w);else if(w.key==="Escape")Kt(w,()=>{b(t(e))});else if(w.key==="ArrowUp"||w.key==="ArrowDown"){w.preventDefault();const A=(w.shiftKey?Ha:1)*(w.key==="ArrowUp"?1:-1);v(e+A,w)}}})}function Id({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=>{Xt(i)||c(i)},onKeyDown:i=>{i.key==="Enter"?c(i):i.key==="Escape"&&Kt(i,()=>{s(n)})}})}function zd(){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 Rd(){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 Ld({stops:e,defaultStops:t,direction:r,defaultDirection:n=0,showDirection:a=!0,onChange:s,onChangeStart:c,onChangeEnd:i,minStops:m=Cd,maxStops:l=Ad,labels:p}){var ye;const f=we(),b={...Nd,...p},v=mt({maximumFractionDigits:0}),S=u.useId(),w=u.useId(),A=u.useMemo(()=>Fa(),[]),[x,k]=ie.useUncontrolled({value:e,defaultValue:t,finalValue:A,onChange:(F,g)=>{s==null||s(F,j,g)}}),[j,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,ee)=>ee===F?{...H,offset:Fo(g)/_e}:H),T=(F,g)=>{c==null||c(),k(F,g),E.current=F,i==null||i(F,j)},q=F=>{if(x.length>=l)return;const g=x[x.length-1],H=g===void 0?.5:(g.offset+1)/2,ee=qt(H,Ta),Z=[...x,ee].sort((J,ne)=>J.offset-ne.offset);I(ee.id),k(Z,F)},L=(F,g)=>{x.length<=m||k(x.filter((H,ee)=>ee!==F),g)},O=F=>{if(x.length>=l)return;const g=F.currentTarget.getBoundingClientRect();if(g.width===0)return;const H=Math.round(Fo((F.clientX-g.left)/g.width*_e))/_e,ee=[...x].sort((Ae,Ue)=>Ae.offset-Ue.offset),Z=ee.find(Ae=>Ae.offset>=H)??ee[ee.length-1],J=[...ee].reverse().find(Ae=>Ae.offset<=H)??ee[0],ne=Z.offset-J.offset,ke=ne>0?Aa(J.color,Z.color,(H-J.offset)/ne):J.color,Le=qt(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))},te=F=>{const g=D.current;if(W.current===null||g===null)return;const H=g.getBoundingClientRect();if(H.width===0)return;const ee=Math.round((F.clientX-H.left)/H.width*_e),Z=z(W.current.index,ee);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,j))},K=(F,g)=>{const H=x[F].offset*_e,ee=g.shiftKey?Ha:1,Z={ArrowRight:H+ee,ArrowUp:H+ee,ArrowLeft:H-ee,ArrowDown:H-ee,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&&T(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,j))},Me=F=>{const g=x.map(H=>({...H,offset:1-H.offset})).reverse();k(g,F)},Y=F=>{C((j+Ed)%Ft,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,Te=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(Cn,{className:"cm-field cm-gradient-angle",role:"spinbutton",min:0,max:Ft,ariaLabel:f.gradientDirection,testId:"gradient-editor-direction-input",value:j,format:P,normalize:F=>(Math.round(F)%Ft+Ft)%Ft,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(zd,{})}),o.jsx(d.ActionIcon,{variant:"subtle",size:R.TRAIL,"aria-label":b.rotate,"data-testid":"gradient-editor-rotate",onClick:Y,children:o.jsx(Rd,{})})]}),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:te,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(wr,{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:q,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),ee=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":ee||void 0,onPointerDown:()=>{I(F.id)},onFocus:()=>{I(F.id)},children:[o.jsx(Cn,{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(Fo(Z)),onCommit:(Z,J)=>{T(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":ee,onClick:()=>{I(F.id)},children:o.jsx(vr,{color:F.color,variant:"field"})}),o.jsx(Id,{color:F.color,ariaLabel:f.colorStopColor(H),onCommit:(Z,J)=>{T(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:Te,"aria-label":f.removeColorStop(H),children:o.jsx(he,{name:"minus"})})]},F.id)})})]})]})}function Pd({focusableViewport:e=!1,viewportProps:t,...r}){return o.jsx(d.ScrollArea,{...r,viewportProps:e?{tabIndex:0,...t}:t})}const Md=Object.assign(Pd,{Autosize:d.ScrollArea.Autosize});function Od(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 Ho=4,Dd=`${String(R.TOGGLE_PITCH)}px`;function Bd({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:Dd,color:a?xe.DISABLED:xe.VALUE,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},x=i??b.fieldBound,k=wo({name:e,enabledTitle:e,disabled:a,disabledReason:s,extraDescriptions:c?[x]:void 0}),j=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:Ho},children:[c?o.jsxs(d.Box,{"data-testid":"toggle-with-content-row",style:{display:"flex",alignItems:"center",gap:Ho},children:[j,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})})]}):j,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:Ho,paddingInlineStart:R.GUTTER},children:p})]})}function Fd({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 Vt=null;const An=()=>{Vt=null},Hd=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),j=N=>{f==null||f(N),!(N.button!==0||l)&&(k.current=!0,N.currentTarget.hasPointerCapture(N.pointerId)&&N.currentTarget.releasePointerCapture(N.pointerId),Vt=!A,globalThis.addEventListener("pointerup",An,{once:!0}),globalThis.addEventListener("pointercancel",An,{once:!0}),x(!A))},C=N=>{b==null||b(N),!(Vt===null||(N.buttons&1)===0||l||A===Vt)&&x(Vt)},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:j,onPointerEnter:C,onClick:h,children:A&&c?c:s});return m?o.jsx(d.Tooltip,{label:a,children:I}):I}),Uo=new Set(["+","-","*","/","(",")"]);function Ud(e,t=Number){const r=[];let n="";for(const l of e)Uo.has(l)||/\s/.test(l)?(n&&(r.push(n),n=""),Uo.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||Uo.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 Vd(e){return Math.round(e*1e10)/1e10}function Gd(e,t,r){let n=e;return t!==void 0&&n<t&&(n=t),r!==void 0&&n>r&&(n=r),n}const qd=.5;function Vo(e){for(const t of[document.documentElement,document.body])t.style.cursor=e?"ew-resize":""}function Ua(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&&Vo(!1)},[]),!e)return;const m=l=>{var p,f,b;if(n.current&&(n.current=!1,a.current)){a.current=!1,Vo(!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,Vo(!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 Va(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),j=E=>{const D=Gd(Vd(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 Ud(D,a)},h=E=>{const D=S.current;if(D===null)return;w(null);const W=C(D);if(W===null)return;const Q=j(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=j(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=j(x.current+D*qd);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 En(e){return"separator"in e}const Wd=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:j,style:C}=t,h=Wt(),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(),T=d.useCombobox({onDropdownOpen:()=>{requestAnimationFrame(()=>{T.getSelectedOptionIndex()===-1&&T.selectActiveOption(),M(q())})},onDropdownClose:()=>{T.resetSelectedOption(),M(void 0)}}),q=()=>{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,_=Va({value:Number.isNaN(O)?null:O,display:L,onCommit:(Y,de)=>{E(Y,de)},parse:h,min:l,max:p,step:f,locked:A}),te=Ua(m&&v!==void 0&&!A,Ve(I),_.scrub),X=(Y,de)=>{const ge=m?h(Y):Y;T.closeDropdown(),W(null),!(typeof ge=="number"&&Number.isNaN(ge))&&ge!==N&&E(ge,de)},K=Y=>{if(!T.dropdownOpened)return Y.key==="ArrowDown"&&(Y.ctrlKey||Y.altKey)?(Y.preventDefault(),T.openDropdown("keyboard"),!0):!1;const ge=ye=>()=>{T.getSelectedOptionIndex()===-1&&T.selectActiveOption(),ye()},Te={ArrowDown:ge(()=>T.selectNextOption()),ArrowUp:ge(()=>T.selectPreviousOption()),Home:()=>T.selectFirstOption(),End:()=>{T.selectOption(i.filter(ye=>!En(ye)).length-1)}}[Y.key];return Te?(Y.preventDefault(),Te(),M(q()),!0):Y.key==="Enter"?(Y.preventDefault(),T.getSelectedOptionIndex()!==-1?T.clickSelectedOption():T.closeDropdown(),!0):Y.key==="Escape"?(Y.preventDefault(),Y.stopPropagation(),T.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=>{T.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=>{T.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(),T.toggleDropdown()},children:o.jsx(dr,{})})]});return o.jsxs(d.Combobox,{store:T,onOptionSubmit:Y=>{X(Y)},...lr(),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":T.dropdownOpened,"aria-controls":T.dropdownOpened?z:void 0,"aria-activedescendant":T.dropdownOpened?Q:void 0,"aria-autocomplete":"none",autoComplete:"off",placeholder:x,disabled:A,variant:"filled",className:j,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":te?"true":void 0,...te,children:v}),leftSectionPointerEvents:te?"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)=>En(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(ua,{}),o.jsx("span",{className:"cm-listbox-label",children:Y.label??Y.value})]},Y.value))})})]})}),Yd=16,Kd=100,Xd=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(),[j,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:j,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"&&j!==""&&(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)},Kd),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:Yd})}),leftSectionPointerEvents:"none",rightSection:j!==""&&!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})]})}),Jd=156,Zd=12;function Qd(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))},j=r===void 0?t:`${t}
|
|
4245
|
-
${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:Zd})});return s!==void 0||c==="property"?o.jsxs("div",{className:["cm-var-fill",b].filter(Boolean).join(" "),style:{width:m??Jd,...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:j,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 Nn={x:3,y:-5},_d=500;function $d({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,j;(j=(k=l.current)==null?void 0:k.querySelector("[data-menu-item]:not([data-disabled]):not(:disabled)"))==null||j.focus()},0);return()=>{clearTimeout(x)}},[p,a]);const v=x=>{var k,j;(j=(k=e.props).onContextMenu)==null||j.call(k,x),!x.defaultPrevented&&(x.preventDefault(),!(performance.now()-m.current<_d)&&f(x.clientX+Nn.x,x.clientY+Nn.y))},S=x=>{var k,j;if((j=(k=e.props).onKeyDown)==null||j.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 eu({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 tu({className:e,...t}){return o.jsx(d.Box,{className:e?`cm-modal-footer ${e}`:"cm-modal-footer",...t})}const Ga=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]})}),ou=20,ru=3e3,nu=6e3;function au(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<ou?ru:nu}function iu(e){return typeof e=="object"&&e!==null&&"message"in e}const qa=u.createContext(null);function su({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=iu(f)?f:{message:f};clearTimeout(s.current),c.current+=1,a({...b,key:c.current});const v=au(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(Ga,{...v,onClose:i},f)})})}return o.jsxs(qa.Provider,{value:l,children:[e,p]})}function cu(){const e=u.useContext(qa);if(!e)throw new Error("useToast must be used inside a ToastProvider");return e}function lu({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 du=["top","middle","bottom"],uu=["left","center","right"],lo=du.flatMap(e=>uu.map(t=>`${e}-${t}`)),mu={"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"},pu=[7,10,5],hu=["flex-start","center","flex-end"];function fu({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,j;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=lo.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=lo[w*3+A];x!==l&&p(x,b),(j=(k=b.currentTarget.closest(".cm-align"))==null?void 0:k.querySelector(`input[value="${x}"]`))==null||j.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:lo.map((b,v)=>{const S=b===l,w=(s==null?void 0:s[b])??mu[b],A=hu[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:pu.map(x=>o.jsx("span",{className:"cm-align-bar",style:{"--cm-bar":`${String(x)}px`}},x))})]},b)})})})}const bu=1,xu=10;function gu(e,{min:t,max:r}){let n="";return e<=t?n=" (min)":e>=r&&(n=" (max)"),`${String(e)} pixels${n}`}const vu=u.forwardRef(function({edge:t="end",value:r,defaultValue:n,min:a,max:s,onChange:c,onChangeEnd:i,label:m="Resize panel",valueText:l=gu,style:p,onPointerDown:f,onPointerMove:b,onPointerUp:v,onPointerCancel:S,onKeyDown:w,onDoubleClick:A,...x},k){Ce();const j=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=j?-D:D);const Q=O=>Math.min(s,Math.max(a,Math.round(O))),M=(O,_)=>{const te=Q(O);te!==h&&I(te),_&&(i==null||i(te))};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 te=E?O.clientX:O.clientY;_.last=Q(_.from+(te-_.start)*W),M(_.last,!1)},T=O=>{const _=N.current;N.current=null,_&&(O.currentTarget.hasPointerCapture(O.pointerId)&&O.currentTarget.releasePointerCapture(O.pointerId),i==null||i(_.last))},q=O=>{if(w==null||w(O),O.defaultPrevented)return;const _=O.shiftKey?xu:bu,te=E?{ArrowRight:_,ArrowLeft:-_}:{ArrowDown:_,ArrowUp:-_};let X;O.key in te?X=h+te[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),T(O)},onPointerCancel:O=>{S==null||S(O),T(O)},onKeyDown:q,onDoubleClick:L})});function Sr({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 Wa=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 j=k;return s?j=o.jsx("span",{className:"cm-page-divider"}):w&&(j=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:j})}),x&&o.jsx("div",{role:"gridcell",className:"cm-page-menu",children:f})]})});function wu({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())},j=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 T=(D=N.parentElement)==null?void 0:D.querySelector(".cm-page-cell");T&&(h.preventDefault(),T.focus())}return}if(I.getAttribute("role")!=="gridcell"||x===null)return;const E=A.findIndex(T=>T.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 T=(z=(P=I.parentElement)==null?void 0:P.querySelector(".cm-page-menu"))==null?void 0:z.querySelector("button, a[href], input, select, [tabindex]");if(!T)return;T.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:j,children:e.map(h=>{const I=h.id===m;return o.jsx(Wa,{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(Sr,{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 yu(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 ku=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:yu(t,r)}),n!=null&&o.jsx("span",{className:"cm-result-path",children:n})]})]})});function Su(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 Tu(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 ju(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":Tu(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 Cu(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 Ya(e){return 16+24*(e-1)}function Au(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 Ka(e,t,r){return e.map(n=>n.id===t?{...n,name:r}:n.children?{...n,children:Ka(n.children,t,r)}:n)}const Eu=200,Nu=500,Iu=10,In=".cm-tree-actions :is(button, a[href], input, select, textarea, [tabindex]):not(:disabled)",Xa=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:j,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!=="",T=j!==void 0&&j!=="",q=u.useId(),L=`${q}-count`,O=`${q}-description`,_=[z?L:null,T?O:null].filter(K=>K!==null).join(" "),te=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:Ya(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}),T&&o.jsx("span",{id:O,hidden:!0,children:j}),k!==void 0&&o.jsx("span",{className:"cm-tree-progress",role:"progressbar","aria-label":t,"aria-valuemin":te===void 0?void 0:0,"aria-valuemax":te===void 0?void 0:100,"aria-valuenow":te===void 0?void 0:Math.round(te*100),"data-indeterminate":te===void 0?"":void 0,"data-testid":"tree-progress",children:o.jsx("span",{className:"cm-tree-progress-fill",style:te===void 0?void 0:{width:`${String(te*100)}%`}})}),o.jsx("span",{className:"cm-tree-ring","aria-hidden":"true"})]})});function zu({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])}}),j=u.useMemo(()=>new Set(x),[x]),C=u.useMemo(()=>new Set(w),[w]),h=u.useMemo(()=>Su(e,j),[e,j]),I=u.useMemo(()=>ju(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),T=u.useRef(!1),q=u.useRef({text:"",at:0}),L=u.useRef(null),O=h.length>Eu,_=Yn.useVirtualizer({count:O?h.length:0,getScrollElement:()=>L.current,estimateSize:()=>R.DATA_PITCH,overscan:Iu}),te=(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(In).forEach(H=>{H.tabIndex=-1})}),u.useLayoutEffect(()=>{var H;if(!T.current||te===null)return;const g=(H=L.current)==null?void 0:H.querySelector(`[data-id="${CSS.escape(te)}"]`);g?(T.current=!1,g.focus()):O&&_.scrollToIndex(N.get(te)??0)});const X=g=>{g!==void 0&&(T.current=!0,D(g),O&&_.scrollToIndex(N.get(g)??0))},K=(g,H)=>{j.has(g)!==H&&k(H?[...x,g]:x.filter(ee=>ee!==g))},ce=(g,H,ee)=>{if(!m||H==="replace"||H==="range"&&P.current===null){P.current=g,A([g],ee);return}if(H==="toggle"){P.current=g,A(C.has(g)?w.filter(ne=>ne!==g):[...w,g],ee);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),ee)},se=g=>g.shiftKey?"range":g.metaKey||g.ctrlKey?"toggle":"replace",ve=g=>g===null?[]:[...g.querySelectorAll(In)],Me=(g,H)=>{var ne,ke;const ee=ve(H),Z=ee.indexOf(g.target),J=N.get(H.dataset.id??"");if(!(Z===-1||J===void 0||g.defaultPrevented||g.altKey)){if(g.key==="ArrowRight")(ne=ee[Z+1])==null||ne.focus();else if(g.key==="ArrowLeft"&&Z===0||g.key==="Escape")H.focus();else if(g.key==="ArrowLeft")ee[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,ee=H.closest("[role='treeitem']");if(ee!==null&&ee!==H&&H.closest(".cm-tree-actions")!==null){Me(g,ee);return}if(H.getAttribute("role")!=="treeitem"||te===null)return;const Z=N.get(te)??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=q.current;ue.text=re-ue.at>Nu?g.key:ue.text+g.key,ue.at=re;const Se=ue.text.toLocaleLowerCase(),Ee=ue.text.length===1?Z+1:Z,je=[...h.slice(Ee),...h.slice(0,Ee)];X((Ge=je.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,ee)=>{const{id:Z}=g.node,J=W===Z;return o.jsx(Xa,{"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===te?0:-1,style:ee,draggable:p!==void 0&&!J,nameSlot:J?o.jsx(Sr,{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=Cu(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,ee)=>{H.level===1&&g.push({id:H.node.id,rows:[]}),g[g.length-1].rows.push(ge(H,ee))}),me=g.map(H=>o.jsx("div",{role:"none",className:"cm-tree-block",children:H.rows},H.id))}const Te=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&&te!==null&&X(te)},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*Te}}),(M==null?void 0:M.line)&&o.jsx("div",{className:"cm-tree-drop-line","data-testid":"tree-drop-line",style:{top:M.line.boundary*Te-1,insetInlineStart:Ya(M.line.level)}})]})})}const Ru='button, input[type="radio"], [role="radio"]';function Tr(e){const t=u.useRef(null),r=u.useRef(null),n=()=>{var i;return Array.from(((i=t.current)==null?void 0:i.querySelectorAll(Ru))??[]).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();Yt(e.other.compact)}function Lu(){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 Pu({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(Lu,{})}),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 jr({label:e,shortcut:t}){return o.jsxs(o.Fragment,{children:[e,t?o.jsx("span",{className:"cm-tip-shortcut",children:t}):null]})}const Ja=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(jr,{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})})})}),Mu=500;function Ou({footer:e,children:t,className:r,onKeyDown:n,onFocus:a,...s}){jt();const c=we(),i=Tr("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 Du(){return o.jsx("hr",{className:"cm-nav-rail-separator"})}const Bu=Object.assign(Ou,{Separator:Du}),Fu=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(jr,{label:r,shortcut:n}),position:"right",offset:{mainAxis:ha,crossAxis:-8},openDelay:Mu,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 Hu(){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 Uu({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 Vu(e,t){const r=t.trim().toLowerCase();return r===""||e.label.toLowerCase().includes(r)||(e.keywords??[]).some(n=>n.toLowerCase().includes(r))}function Gu({actions:e,onRun:t,onClose:r,query:n,onQueryChange:a,filter:s=Vu,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`,j=u.useRef(null),[C,h]=ie.useUncontrolled({value:n,defaultValue:"",finalValue:"",onChange:a}),I=u.useMemo(()=>{const T=new Map;for(const q of e){if(!s(q,C))continue;const L=C.trim()===""?q.section??"":"";T.set(L,[...T.get(L)??[],q])}return[...T.entries()]},[e,s,C]),N=I.flatMap(([,T])=>T).filter(T=>!T.disabled),[E,D]=u.useState({search:""}),W=E.search===C&&N.some(T=>T.value===E.value)?E.value:(z=N[0])==null?void 0:z.value,Q=T=>{D({search:C,value:T})};u.useEffect(()=>{var T;(T=j.current)==null||T.focus()},[]);const M=T=>`${x}-option-${T}`,oe=T=>{var L,O;const q=N.findIndex(_=>_.value===W);if(T.key==="ArrowDown"||T.key==="ArrowUp"){if(T.preventDefault(),N.length===0)return;const _=T.key==="ArrowDown"?1:-1,te=N[(q+_+N.length)%N.length];Q(te.value),(O=(L=document.getElementById(M(te.value)))==null?void 0:L.scrollIntoView)==null||O.call(L,{block:"nearest"})}else T.key==="Enter"&&W!==void 0?(T.preventDefault(),t(W)):T.key==="Escape"&&r&&(T.preventDefault(),T.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(Hu,{})}),o.jsx("input",{ref:j,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:T=>{h(T.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:T=>{T.preventDefault()},onClick:()=>{var T;h(""),(T=j.current)==null||T.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(([T,q])=>o.jsxs("div",{className:"cm-qa-group",role:"group","aria-label":T||void 0,children:[T?o.jsx("div",{className:"cm-qa-group-title","aria-hidden":"true",children:T}):null,q.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(Uu,{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))]},T))})]})}function qu({flush:e,children:t,className:r,onKeyDown:n,onFocus:a,...s}){jt();const c=Tr("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 Wu=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 Yu(){return o.jsx("hr",{className:"cm-secondary-divider","aria-orientation":"vertical"})}const Ku=Object.assign(qu,{Button:Wu,Divider:Yu});function Xu({tabs:e,value:t,defaultValue:r,onChange:n,onClose:a,className:s,style:c,...i}){var j;jt();const m=we(),l=ie.useId(),p=u.useRef([]),[f,b]=ie.useUncontrolled({value:t,defaultValue:r,finalValue:(j=e[0])==null?void 0:j.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 Ju({floating:e,children:t,className:r,onKeyDown:n,onFocus:a,...s}){jt();const c=we(),i=Tr("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 Zu(){return o.jsx("hr",{className:"cm-toolbar-divider","aria-orientation":"vertical"})}const Qu=Object.assign(Ju,{Divider:Zu});function _u(e){e==null||e.setAttribute("role","menuitemradio")}function $u({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 j=document.activeElement;(j===null||j===document.body||(C=S.current)!=null&&C.contains(j)||j===v.current)&&(k==null||k.focus())};return o.jsxs("fieldset",{className:"cm-fieldset cm-tool-group","aria-label":p.label,children:[o.jsx(Ja,{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(jr,{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:_u,"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 Za(e,t){return e!==void 0?e:t===void 0?"off":"polite"}function bt(e,t){const r=Za(e,t);return r==="off"?{"aria-busy":t}:{"aria-live":r,"aria-atomic":!0,"aria-busy":t}}const Go=4,em="(hover: none)";function tm(e){if(typeof e=="string")return e;if(typeof e=="number")return String(e)}function om(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(em)??!1,[x,k]=u.useState(!1),j=u.useId(),C=x||(i??(m==="always"||S||A)),h=s!==void 0||c!==void 0,I=tm(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=T=>{k(!0),f==null||f(T)},M=T=>{T.currentTarget.contains(T.relatedTarget)||k(!1),b==null||b(T)},oe=T=>{l||p==null||p(T,Lt(T))},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?j: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:j,"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:j,"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:Go},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:Go,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:Go},children:c})]})]})}function rm({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=Jt(m),A=a?!0:void 0,x=j=>{s==null||s(j,Lt(j))},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 nm({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(Cr,{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 Cr({children:e}){return Ce(),o.jsx("span",{className:"cm-rank-chip","data-testid":"rank-chip",children:e})}const zn=2,am=1,im=16,sm=2,cm=1,lm=1,dm=64,Qa=4,Rn=Qa/2,_a=4,yt=100,um=1,$a="var(--cm-icon-secondary)",nr=100;function bo({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 ei(){return o.jsx(d.Box,{"data-testid":"chart-baseline",style:{flex:"0 0 auto",height:am,background:xe.BORDER}})}function ti({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 mm(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=Vl(m/c,yt,t),p=s===0?r:yt-(i-n)/s*yt;return`${l},${p}`}).join(" ")}function oi(){const e=u.useId(),t=`${e}min`,r=`${e}max`;return{min:t,max:r,describedBy:`${t} ${r}`}}function pm({bins:e,label:t,minLabel:r,maxLabel:n,busy:a,live:s,trailing:c}){Ce();const i=mt(),m=oi(),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:zn},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:zn},children:[o.jsx(d.Box,{"data-testid":"histogram-plot",style:{flex:"1 1 auto",minHeight:0,display:"flex",alignItems:"flex-end",gap:sm},children:e.map((f,b)=>{const v=Math.max(0,f.count),S=l===0?0:v/l*nr,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?lm:0,background:w?xe.ACCENT_GRAPHIC:$a,borderRadius:cm}},`${f.label}-${String(b)}`)})}),o.jsx(ei,{})]}),o.jsxs(d.Box,{"data-testid":"chart-axis",style:{flex:"0 0 auto",height:im,display:"flex",alignItems:"center",justifyContent:"space-between",gap:_a},children:[o.jsx(bo,{end:"min",id:m.min,children:r}),o.jsx(bo,{end:"max",id:m.max,children:n})]})]}),o.jsx(ti,{caption:t,rows:p,testId:"histogram-values"}),Jt(c)&&o.jsx(st,{children:c})]})}function hm({values:e,label:t,minLabel:r,maxLabel:n,busy:a,live:s,trailing:c}){Ce();const i=ct(),m=mt(),l=oi(),p=mm(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:_a},children:[o.jsx(bo,{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:$a},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:um,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(ei,{})]}),o.jsx(bo,{end:"max",id:l.max,children:n})]}),o.jsx(ti,{caption:t,rows:f,testId:"sparkline-values"}),Jt(c)&&o.jsx(st,{children:c})]})}function fm({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=ga(),v=u.useId(),S=c,w=S!==void 0,A=Math.min(nr,Math.max(0,t)),x=f.percentile(b(Math.round(A))),k=C=>{S!==void 0&&S(C,Lt(C))},j=C=>{S!==void 0&&(C.key==="Enter"||C.key===" ")&&(C.preventDefault(),S(C,Lt(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:j,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":nr,"aria-valuenow":A,"aria-valuetext":x,title:x,size:Qa,style:{flex:`0 0 ${String(dm)}px`,borderRadius:Rn,background:xe.SURFACE},children:o.jsx(d.Progress.Section,{"data-testid":"metric-row-fill",value:A,withAria:!1,color:xe.ACCENT_GRAPHIC,style:{borderRadius:Rn}})}),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(Cr,{children:n})]})}const ri=u.createContext(!1);function ar({showLabels:e=!1,children:t}){return o.jsx(ri.Provider,{value:e,children:t})}function ko(){return u.useContext(ri)}const Ln=8,bm=2,ni=1,xm=2,gm=3;function vm(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 wm({segment:e,grow:t,index:r}){const{glyph:n,value:a,unit:s,mono:c=!1}=e;let i=null;sr(n)?i=o.jsx(St,{name:n}):cr(n)?i=o.jsx(d.Box,{component:"span","data-letter":n,children:n}):n!=null&&(i=n);const m=vm(e),l=e.fullValue!==void 0,p=r>0?ni: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?Ln-p:0,paddingInlineEnd:Ln},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:bm},children:s})]})}function ym(e,t){if(!(t>=xm&&t<=gm))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 km(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 Sm({label:e,segments:t,width:r=R.BODY,trailing:n,busy:a,live:s,onClick:c,onFocus:i,onBlur:m}){Ce();const l=ko(),p=u.useId(),f=t.filter(I=>I.grow===!0).length;ut(ym(e,t.length)),ut(km(e,f));const b=t.findIndex(I=>I.grow===!0),v=b===-1?0:b,S=c!==void 0,w=Za(s,a)!=="off",A=S||w,x=S?void 0:p,k=A?void 0:p,j=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:ni,height:R.CONTROL_HEIGHT}}),o.jsx(wm,{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":j?void 0:e,"aria-labelledby":j?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 Tm=R.VALUE_INSET-R.GLYPH_SLOT,Pn=8,jm="Use arrow keys to change the value",Mn=4,On=4,Cm=R.VALUE_INSET+R.LABEL_COLUMN,Dn={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0},ai=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:j,stepHint:C=jm,onScrubStart:h,onScrub:I,onScrubEnd:N,onClick:E,disabled:D=!1,disabledReason:W,readOnly:Q,boundDescription:M,pendingDescription:oe,title:P,style:z,className:T,onKeyDown:q,...L}=t,O=ko(),_=we(),te=Wt(),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),Te=String(ve),ye=S===!0,F=v||ye;let g;v?g=_.mixed:ye?g=Te:typeof S=="string"&&(g=S);const H=[];v&&H.push(_.mixed);const ee=M??_.fieldBound,Z=oe??_.fieldPending;b&&ee!==""&&H.push(ee),w&&Z!==""&&H.push(Z);const J=wo({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?"":Te,Xe=Te===""||v?Number.NaN:te(Te),Ge=Va({value:Number.isNaN(Xe)?null:Xe,display:pt,onCommit:(ae,Re)=>{Me(ae,Re)},parse:te,min:A,max:x,step:k,decimalScale:j,locked:D||me}),re=Ua(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 Mt,Ot;I==null||I(ae,Ze),Ae&&((Ot=(Mt=Ge.scrub).onMove)==null||Ot.call(Mt,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=>{q==null||q(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 je=null;sr(a)?je=o.jsx(St,{name:a,filled:b}):cr(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 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:[je,w&&o.jsx(d.Box,{"data-testid":"panel-field-pending",style:{position:"absolute",insetInlineStart:0,bottom:0,width:On,height:On,background:xe.ACCENT_GRAPHIC}})]}),O&&o.jsx(d.Box,{component:"span","data-testid":"panel-field-label","aria-hidden":"true",style:{flex:"1 1 auto",minWidth:0,marginInlineStart:Mn,fontSize:"var(--mantine-font-size-sm)",lineHeight:1,color:xe.CHROME,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:n})]}),Je=de&&je===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:Pn},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(dr,{})})]}):void 0;let ze=Pe?Mn:0;ze+=de?R.GLYPH_SLOT:Pn;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:T,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?Cm:R.VALUE_INSET,leftSectionPointerEvents:et,leftSectionProps:{style:{insetInlineStart:0,justifyContent:"flex-start",paddingInlineStart:Tm}},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:Dn,description:Dn},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||Te===""?null:Te,onChange:ae=>{Ee(ae??"")}}):o.jsx(d.TextInput,{...tt,value:F?"":Te,onChange:ae=>{Ee(ae.currentTarget.value,ae)}})}),Am=2,Em=R.BODY+R.TRAIL_GAP,Bn=(R.CAPTION_ROW-R.CONTROL_HEIGHT-14)/3;function Nm(e){return u.Children.toArray(e).flatMap(t=>u.isValidElement(t)&&t.type===u.Fragment?u.Children.toArray(t.props.children):[t])}function Fn(e,t){return u.isValidElement(e)&&e.key!==null?e.key:`field-row-${String(t)}`}function qo(e){if(u.isValidElement(e)&&typeof e.props.label=="string")return e.props.label}function Wo(e){return u.isValidElement(e)&&e.type===ai?u.cloneElement(e,{width:"fill"}):e}const Im=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=ko(),b=Nm(t),v=b.length,S=v===1?"field":"fields";ut(v===0||v>Am?`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=Jt(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=qo(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(ar,{showLabels:!1,children:Wo(E)})}),o.jsx(st,{children:D===0?r:null})]},Fn(E,D))})});const j=f&&a==="above",C=v<=1,h=C&&!k;let I=R.FIELD;C&&(I=h?Em: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":j?"true":void 0,style:{display:"flex",alignItems:j?"flex-end":"center",boxSizing:"border-box",height:j?R.CAPTION_ROW:R.ROW_PITCH,paddingBlockEnd:j?Bn:void 0,...c},children:[b.map((E,D)=>o.jsx(d.Box,{"data-testid":"field-row-slot","data-width":I,style:{display:"flex",flexDirection:j?"column":void 0,alignItems:j?"stretch":"center",gap:j?Bn: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:j?o.jsxs(o.Fragment,{children:[o.jsx(d.Box,{component:"span","aria-hidden":"true","data-testid":"field-row-caption",className:"cm-caption",title:qo(E),children:qo(E)}),o.jsx(ar,{showLabels:!1,children:Wo(E)})]}):Wo(E)},Fn(E,D))),o.jsx(st,{children:r})]})}),co=16,Hn=4,zm=20,Un=220,Vn=2,Gn=new RegExp("\\p{Sentence_Terminal}","u"),Rm=/[.!?]/u,qn=/\s/u;function Lm(e){const t=Array.from(e);let r=0,n=0,a=0;for(;n<t.length;){if(!Gn.test(t[n])){n+=1;continue}let c=n;for(;c+1<t.length&&Gn.test(t[c+1]);)c+=1;const i=t[c+1],m=Rm.test(t[c]);n=c+1,(!m||i===void 0||qn.test(i))&&(r+=1,a=n)}return t.slice(a).some(c=>!qn.test(c))?r+1:r}function Pm(e){return Array.from(e).length}function Mm(e,t){if(e!=="reading"||typeof t!="string")return;const r=Pm(t);if(r>Un)return`ProseBlock was given a reading of ${String(r)} characters, and a reading is at most ${String(Un)} characters. Shorten it, or it has stopped being a reading and become an explanation.`;const n=Lm(t);if(n>Vn)return`ProseBlock was given a reading of ${String(n)} sentences, and a reading is at most ${String(Vn)} sentences. Delete any sentence that repeats what is already on screen, and move the rest into an InfoCircle.`}function Om(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 Dm({variant:e,children:t,onDetails:r,busy:n,live:a}){Ce();const s=we(),c=ct(),i=u.useId(),m=u.useId();ut(Mm(e,t)),ut(Om(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:Hn},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:co,blockSize:co,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:Hn,blockSize:zm},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:co,blockSize:co,borderRadius:5,display:"inline-flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",background:"transparent",color:"var(--cm-icon-secondary)",cursor:"pointer"},children:o.jsx(Oa,{open:!1,rtl:Ve(c)})})]})}const Yo=4,Bm=4,Fm=`polygon(0 calc(100% - ${Bm}px), 100% 0, 100% 100%, 0 100%)`,Hm=96,Um=`linear-gradient(to right, ${xe.SURFACE}, ${xe.ACCENT_GRAPHIC})`,Vm={sqrt:"scaleSqrt",linear:"scaleLinear",log:"scaleLog"},Wn={flex:"0 0 auto",whiteSpace:"nowrap"},Gm="var(--cm-icon-secondary)";function qm({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:Vm[s],w=S===void 0?void 0:p[S],A=`${b}-label`,x=`${b}-min`,k=`${b}-max`,j=`${b}-scale`,C=[r===void 0?void 0:A,x,k,w===void 0?void 0:j].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(Ba,{label:w,icon:o.jsx(St,{name:S}),onClick:m}));const I=Jt(l)?l:h;return o.jsxs(d.Box,{"data-testid":"ramp-row","data-variant":n,"data-scale":s,style:{display:"flex",alignItems:"center",gap:Yo,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:Yo},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:Wn,children:e}),o.jsx(d.Box,{"data-testid":"ramp-row-ramp","data-variant":n,"aria-hidden":"true",style:{flex:"1 1 auto",minWidth:Hm,height:R.GLYPH,boxSizing:"border-box",background:v?a??Um:Gm,borderRadius:v?"var(--mantine-radius-xs)":void 0,border:v?`1px solid ${xe.BORDER}`:void 0,clipPath:v?void 0:Fm,...Gl(f)}}),o.jsx(d.Text,{span:!0,id:k,"data-testid":"ramp-row-max",className:"cm-chart-text",style:Wn,children:t}),w!==void 0&&o.jsx(d.VisuallyHidden,{"data-testid":"ramp-row-a11y-scale",id:j,children:w})]}),o.jsx(d.Box,{style:{flex:"0 0 auto",display:"flex",marginInlineStart:R.TRAIL_GAP-Yo},children:o.jsx(st,{children:I})})]})}const Wm=R.GUTTER,Ym=`${String(R.TOGGLE_PITCH)}px`,Km=2;function Xm({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:Wm,paddingBlock:0,fontSize:"var(--mantine-font-size-sm)",lineHeight:Ym,color:c?xe.DISABLED:xe.VALUE,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},j=l??S.fieldBound,C=wo({name:e,enabledTitle:e,disabled:c,disabledReason:i,extraDescriptions:m?[j]: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 Jm({children:e,label:t,labelledBy:r}){const n=u.Children.toArray(e).length,a=n===1?"row":"rows";return ut(n<Km?`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 Zm(e="dark"){return d.useComputedColorScheme(e)}const Qm={xs:d.rem(4),sm:d.rem(8),md:d.rem(16),lg:d.rem(24),xl:d.rem(32)},_m={HEIGHT:24,FONT_SIZE:11,CONTROL_PADDING:8,SECTION_GAP:4};exports.ALIGNMENT_MATRIX_VALUES=lo;exports.ActionRow=om;exports.AdvancedButton=Ba;exports.AlignmentMatrix=fu;exports.COMPACT_SIZING=_m;exports.ColorPickerPanel=wr;exports.ComboInput=Wd;exports.CompactColorInput=nd;exports.CompoundRow=Sm;exports.ContextMenu=$d;exports.ControlGroup=ad;exports.ControlSection=dd;exports.DEFAULT_GRADIENT_STOP_COLOR=Ta;exports.DataRow=rm;exports.DataRowHeader=nm;exports.DataTable=Td;exports.FIELD_GLYPH_NAMES=oa;exports.FIELD_LETTERS=ra;exports.FieldGlyph=St;exports.FieldRow=Im;exports.GradientEditor=Ld;exports.HelpButton=Pu;exports.HistogramRow=pm;exports.InfoCircle=Da;exports.InlineRename=Sr;exports.LabelsProvider=ic;exports.MANTINE_SPACING=Qm;exports.MAX_ALPHA_HEX=br;exports.MAX_OPACITY_PERCENT=xr;exports.MenuCheckItem=eu;exports.MetricRow=fm;exports.ModalFooter=tu;exports.NavRail=Bu;exports.PANEL_GRID=R;exports.PANEL_INK=xe;exports.POPOUT_GAP=ea;exports.POPOUT_NESTED_GAP=ta;exports.POPOUT_Z_INDEX_BASE=Jo;exports.PageList=wu;exports.PageRow=Wa;exports.PanelField=ai;exports.PanelLabelsProvider=ar;exports.Popout=Rt;exports.PopoutButton=td;exports.PopoutManager=Ma;exports.PopoutRegion=Dl;exports.ProseBlock=Dm;exports.QuickActions=Gu;exports.RailButton=Fu;exports.RampRow=qm;exports.RankChip=Cr;exports.ResetButton=cd;exports.ResizeHandle=vu;exports.ResultRow=ku;exports.SWATCH_COLORS_HEXA=Sa;exports.ScrollArea=Md;exports.SearchInput=Xd;exports.SecondaryToolbar=Ku;exports.SegmentedControl=Od;exports.ShortcutSheet=Xu;exports.SparklineRow=hm;exports.SplitButton=Fd;exports.Toast=Ga;exports.ToastProvider=su;exports.ToggleIconButton=Hd;exports.ToggleRow=Xm;exports.ToggleRowGroup=Jm;exports.ToggleWithContent=Bd;exports.ToolButton=Ja;exports.ToolGroup=$u;exports.Toolbar=Qu;exports.TooltipShortcut=lu;exports.TrailingSlot=st;exports.Tree=zu;exports.TreeItem=Xa;exports.UI_GLYPH_NAMES=Is;exports.UiGlyph=he;exports.VariablePill=Qd;exports.compactBrandColors=Xn;exports.compactColors=Zn;exports.compactDarkColors=Kn;exports.compactGlobalCss=wa;exports.compactGraphtyColors=Jn;exports.compactTheme=xl;exports.compactThemeOverride=ka;exports.createColorStop=qt;exports.createCompactTheme=ya;exports.createDefaultGradientStops=Fa;exports.defaultLabels=mr;exports.ensureCompactStyles=Yt;exports.getActivationMeta=Lt;exports.isFieldGlyphName=sr;exports.isFieldLetter=cr;exports.isLightColor=Ca;exports.isRtl=Ve;exports.isValidHex=ja;exports.mixHex=Aa;exports.moveTreeItem=Au;exports.normalizeHexa=$e;exports.opacityToAlphaHex=vo;exports.parseAlphaFromHexa=gr;exports.parseHexaColor=gl;exports.parseLocaleNumber=xa;exports.renameTreeItem=Ka;exports.toHexaColor=vl;exports.useActualColorScheme=Zm;exports.useCollator=va;exports.useDirection=ct;exports.useLabels=we;exports.useLocale=Pt;exports.useNumberFormatter=mt;exports.useNumberParser=Wt;exports.useOrdinalFormatter=ga;exports.usePanelLabels=ko;exports.usePopoutManager=Fl;exports.usePopoutRegion=za;exports.useToast=cu;
|
|
4806
|
+
${Q("body")}
|
|
4807
|
+
}
|
|
4808
|
+
`,ju=Object.freeze(Object.defineProperty({__proto__:null,default:Au},Symbol.toStringTag,{value:"Module"})),ba=Object.assign({"./css/00-foundation.css.ts":du,"./css/buttons.css.ts":mu,"./css/chrome.css.ts":hu,"./css/color.css.ts":xu,"./css/inputs.css.ts":vu,"./css/overlays.css.ts":yu,"./css/selection.css.ts":Su,"./css/shell.css.ts":Tu,"./css/tree.css.ts":ju}),Cu=Object.keys(ba).sort().map(e=>ba[e].default).join(`
|
|
4809
|
+
`),xa="data-compact-mantine",ga="data-cm-contrast",Pn="data-cm-accent";function Vi(e={}){const t=e.highContrast?`
|
|
4810
|
+
${Ar(":root, :host")}`:"",n=e.accent==="graphty"?`
|
|
4811
|
+
${jr(":root, :host")}`:"";return`${Cu}${t}${n}`}let Rt=null;function Ro(e={}){if(typeof document>"u")return;Rt!=null&&Rt.isConnected||(Rt=document.head.querySelector(`style[${xa}]`),Rt||(Rt=document.createElement("style"),Rt.setAttribute(xa,""),Rt.textContent=Vi(),document.head.appendChild(Rt)));const t=e.highContrast?"high":"figma",n=document.documentElement;n.getAttribute(ga)!==t&&n.setAttribute(ga,t)}function Nu(e){if(typeof document>"u")return;const t=document.documentElement;if(e==="brand"){t.removeAttribute(Pn);return}const n=e==="graphty"?"graphty":"";t.getAttribute(Pn)!==n&&t.setAttribute(Pn,n)}function Iu(e,t){const n={};for(const[r,a]of Object.entries(e)){const i=a.vars;n[r]={...a,vars:(...s)=>(Ro(t),Nu(s[0].primaryColor),zu(i)?i(...s):{})}}return n}function zu(e){return typeof e=="function"}function Gi(e={}){const t={highContrast:e.highContrast??!1,accent:e.accent??"figma"};return Ro(t),u.createTheme({colors:di,primaryColor:t.accent==="graphty"?"graphty":"brand",primaryShade:{light:6,dark:8},white:"#ffffff",black:"#000000",fontFamily:Zn,fontFamilyMonospace:pi,headings:{fontFamily:Zn,fontWeight:"550"},fontSizes:Xc,lineHeights:Jc,spacing:Zc,radius:Qc,defaultRadius:"sm",shadows:_c,fontSmoothing:!0,cursorType:"default",focusRing:"never",activeClassName:"",other:{panelGrid:D,compact:t},components:Iu(nu,t)})}const qi=Gi(),Ru=u.mergeMantineTheme(u.DEFAULT_THEME,qi),Wi=["#5B8FF9FF","#FF6B6BFF","#61D095FF","#F7B731FF","#9B59B6FF","#5B8FF980","#FF6B6B80","#61D09580","#F7B73180","#9B59B680"],Ki="#888888";function va(e,t){const[n,r]=l.useState(void 0),[a,i]=l.useState(e);return Object.is(a,e)||(i(e),r(void 0)),[e??n,(c,...m)=>{r(c),t==null||t(c,...m)}]}function Lu(e,t){const n=e===void 0?"":e.trim();return n===""?t:`${/[.!?]$/u.test(n)?n:`${n}.`} ${t}`}function bn({name:e,enabledTitle:t,disabled:n=!1,disabledReason:r,extraDescriptions:a}){const i=l.useId(),s=n&&r!==void 0&&r!==""?r:void 0,c=[];for(const d of a??[])d!==void 0&&d!==""&&c.push(d);s!==void 0&&c.push(s);const m=c.length>0?c.join(". "):void 0;return{title:s===void 0?t:Lu(t??e,s),description:m,describedBy:m===void 0?void 0:i}}function Pt(e){const t=l.useRef(void 0);l.useEffect(()=>{process.env.NODE_ENV==="production"||e===void 0||t.current!==e&&(t.current=e,console.warn(e))},[e])}function Nr({color:e,variant:t}){const n=vt(e)??"#000000FF",r=n.slice(0,7),a=!n.endsWith("FF");return o.jsx(u.ColorSwatch,{component:"span",color:r,variant:t,mod:{light:xi(r)},"aria-hidden":!0,children:a&&o.jsx("span",{className:"cm-chit-half",style:{"--cm-chit-color":n}})})}const Pu=["[data-portal]","[data-combobox-dropdown]","[data-menu-dropdown]","[data-popover-dropdown]","[data-tooltip]","[data-hovercard-dropdown]","[data-dates-dropdown]","[data-modal]"].join(", ");function Mu(e,t=!0){l.useEffect(()=>{if(!t)return;const n=r=>{const a=r.target;a.closest('[role="dialog"]')||a.closest("[data-popout-trigger]")||a.closest("[data-popout-portal-container]")||a.closest(Pu)||e()};return document.addEventListener("mousedown",n),()=>{document.removeEventListener("mousedown",n)}},[e,t])}function Ou(e){var n;return e instanceof Element?(((n=e.getAttribute("aria-describedby"))==null?void 0:n.split(/\s+/))??[]).some(r=>{var a;return r!==""&&((a=document.getElementById(r))==null?void 0:a.getAttribute("role"))==="tooltip"}):!1}function Fu(e,t=!0){l.useEffect(()=>{if(!t)return;const n=i=>{i.key==="Escape"&&!i.defaultPrevented&&(i.preventDefault(),e())},r=new Set,a=i=>{if(i.key!=="Escape"||!Ou(i.target))return;const s=setTimeout(()=>{r.delete(s),i.defaultPrevented||e()});r.add(s)};return document.addEventListener("keydown",n),document.addEventListener("keydown",a,!0),()=>{document.removeEventListener("keydown",n),document.removeEventListener("keydown",a,!0);for(const i of r)clearTimeout(i)}},[e,t])}const Yi=l.createContext(null);function Du({id:e,children:t}){return o.jsx(Yi.Provider,{value:e,children:t})}function Xi(){return l.useContext(Yi)}const Ir=l.createContext(null),zr=l.createContext(null);function xn(){const e=l.useContext(Ir);if(!e)throw new Error("usePopoutContext must be used within a Popout component");return e}function Rr(){return l.useContext(Ir)}function Ji(){const e=l.useContext(zr);if(!e)throw new Error("usePopoutManagerContext must be used within a PopoutManager");return e}function Bu(){return l.useContext(zr)}function Hu(){const{closeAll:e,hasOpenPopouts:t}=Ji();return l.useMemo(()=>({closeAll:e,hasOpenPopouts:t}),[e,t])}function Zi({children:e,parentId:t=null,opened:n,defaultOpened:r,onOpenChange:a,exclusive:i=!0}){const s=l.useId(),c=l.useRef(null),m=Xi(),[d,f]=ye.useUncontrolled({value:n,defaultValue:r,finalValue:!1,onChange:a}),h=l.useRef(f);l.useEffect(()=>{h.current=f});const p=l.useCallback((b,v)=>{if(v){h.current(b,v);return}h.current(b)},[]),g=l.useCallback(b=>{p(!0,b)},[p]),S=l.useCallback(b=>{var T;const v=document.getElementById(`popout-panel-${s}`);v!=null&&v.contains(document.activeElement)&&((T=c.current)==null||T.focus()),p(!1,b)},[s,p]),N=l.useCallback(b=>{p(!d,b)},[d,p]),x=l.useMemo(()=>({id:s,isOpen:d,open:g,close:S,toggle:N,triggerRef:c,parentId:t,region:m,exclusive:i}),[s,d,g,S,N,t,m,i]);return o.jsx(Ir.Provider,{value:x,children:e})}function Uu({children:e}){const[t,n]=l.useState(null),r=l.useRef([]),a=l.useRef(new Map),i=l.useRef(new Map),s=l.useRef(new Map),c=l.useRef(new Set),[m,d]=l.useState(0),f=l.useCallback((P,F)=>!c.current.has(P)&&(i.current.get(P)??null)===F,[]),h=l.useCallback(P=>r.current.filter(F=>f(F,P)),[f]),p=l.useCallback(P=>{const F=[];for(const $ of r.current){let q=$;for(;q;){const z=i.current.get(q)??null;if(z===P){F.push($);break}q=z}}return F},[]),g=l.useCallback(P=>{let F=0,$=P;for(;$;){const q=i.current.get($)??null;if(!q)break;F++,$=q}return F},[]),S=l.useCallback(P=>{var $;const F=[...P].sort((q,z)=>g(z)-g(q));for(const q of F)($=a.current.get(q))==null||$()},[g]),N=l.useCallback((P,F,$,q,z)=>{if(r.current.includes(P)){a.current.set(P,F);return}const G=$??null,_=q??null,ae=z===!1?[]:h(G),me=[];for(const te of ae)me.push(te,...p(te));S(me);const we=new Set(me);r.current=r.current.filter(te=>!we.has(te)),r.current.push(P),a.current.set(P,F),i.current.set(P,G),s.current.set(P,_),z!==!1?c.current.delete(P):c.current.add(P),d(te=>te+1)},[h,p,S]),x=l.useCallback(P=>{if(!r.current.includes(P)){a.current.delete(P),i.current.delete(P),s.current.delete(P),c.current.delete(P);return}r.current=r.current.filter(F=>F!==P),a.current.delete(P),i.current.delete(P),s.current.delete(P),c.current.delete(P),d(F=>F+1)},[]),b=l.useCallback(P=>{const F=r.current.indexOf(P);return F>=0?Qn+F:Qn},[]),v=l.useCallback(P=>{const F=r.current,$=F.indexOf(P);$===-1||$===F.length-1||(r.current=[...F.filter(q=>q!==P),P],d(q=>q+1))},[]),T=l.useCallback(P=>i.current.get(P)??null,[]),A=l.useCallback((P,F)=>{let $=F;for(;$;){const q=i.current.get($);if(q===P)return!0;$=q??null}return!1},[]),y=l.useCallback(P=>{const F=[],$=r.current;for(const q of $)A(P,q)&&F.push(q);return F},[A]),k=l.useCallback(P=>{const F=y(P);for(const $ of[...F].reverse()){const q=a.current.get($);q==null||q()}},[y]),j=l.useCallback(P=>{k(P);const F=a.current.get(P);F==null||F()},[k]),I=l.useCallback((P,F)=>{for(const $ of r.current)$!==P&&f($,F)&&j($)},[j,f]),B=l.useCallback(()=>{const P=r.current;if(P.length===0)return;const F=P[P.length-1],$=a.current.get(F);$==null||$()},[]),C=l.useCallback(()=>{const P=[...r.current];for(const F of P){const $=a.current.get(F);$==null||$()}},[]),V=l.useCallback(()=>r.current.length>0,[]),[H,M]=l.useState(!1);l.useEffect(()=>{M(r.current.length>0)},[m]),Fu(B,H),Mu(C,H);const Y=l.useMemo(()=>({register:N,unregister:x,getZIndex:b,bringToFront:v,portalContainer:t,zIndexVersion:m,closeFocused:B,closeAll:C,hasOpenPopouts:V,closeWithDescendants:j,closeDescendants:k,closeSiblings:I,getParentId:T,isAncestor:A}),[N,x,b,v,t,m,B,C,V,j,k,I,T,A]);return o.jsxs(zr.Provider,{value:Y,children:[e,o.jsx("div",{ref:n,"data-popout-portal-container":!0,style:{display:"contents"}})]})}function Lo(e,t,n=!0){const r=e.currentTarget;!n&&r.closest("[data-popout-id]")!==null||(e.stopPropagation(),No.flushSync(t),r.select())}let ho=null;const wa=e=>{e.preventDefault()},ya=["pointerup","pointercancel","lostpointercapture"];function so(){var r;ho==null||ho();const e=document.documentElement.style,t={userSelect:e.userSelect,webkitUserSelect:e.getPropertyValue("-webkit-user-select")},n=()=>{if(ho===n){ho=null,document.removeEventListener("selectstart",wa,!0);for(const a of ya)globalThis.removeEventListener(a,n,!0);e.userSelect=t.userSelect,e.setProperty("-webkit-user-select",t.webkitUserSelect)}};ho=n,document.addEventListener("selectstart",wa,!0);for(const a of ya)globalThis.addEventListener(a,n,!0);return e.userSelect="none",e.setProperty("-webkit-user-select","none"),(r=globalThis.getSelection())==null||r.removeAllRanges(),n}const Vu=0,Gu=100,qu=.5,Wu=10;function Mn(e){return Math.min(Gu,Math.max(Vu,e))}function Qi({value:e,onCommit:t,ariaLabel:n,isDefault:r=!1,disabled:a=!1,describedBy:i,testId:s,onFocus:c,onBlur:m}){const d=yt({maximumFractionDigits:2}),f=zo(),[h,p]=l.useState(d.format(e)),g=l.useRef(null),S=l.useRef(null);l.useEffect(()=>{p(d.format(e))},[e,d]);const N=y=>{const k=f(h);if(Number.isNaN(k)){p(d.format(e));return}const j=Mn(k);p(d.format(j)),j!==e&&t(j,y)},x=y=>{if(y.key==="Enter"){N(y);return}if(y.key==="Escape"){Lo(y,()=>{p(d.format(e))},h!==d.format(e));return}if(y.key==="ArrowUp"||y.key==="ArrowDown"){y.preventDefault();const k=(y.shiftKey?Wu:1)*(y.key==="ArrowUp"?1:-1),j=f(h),I=Mn(Math.round((Number.isNaN(j)?e:j)+k));p(d.format(I)),I!==e&&t(I,y)}},b=y=>{document.documentElement.style.cursor=y,document.body.style.cursor=y},v=y=>{var k;a||y.button>0||(y.preventDefault(),(k=S.current)==null||k.focus({preventScroll:!0}),"setPointerCapture"in y.currentTarget&&y.currentTarget.setPointerCapture(y.pointerId),g.current={startX:y.clientX,start:e,last:e},so(),b("ew-resize"))},T=y=>{const k=g.current;k!==null&&(k.last=Mn(Math.round(k.start+(y.clientX-k.startX)*qu)),p(d.format(k.last)))},A=y=>{const k=g.current;k!==null&&(g.current=null,b(""),k.last!==e&&t(k.last,y))};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":s,"data-is-default":r?"true":"false","aria-label":n,"aria-describedby":i,disabled:a,value:h,onChange:y=>{p(y.currentTarget.value)},onFocus:y=>{y.currentTarget.select(),c==null||c(y)},onBlur:y=>{N(y),m==null||m(y)},onKeyDown:x}),o.jsx("span",{className:"cm-paint-suffix","aria-hidden":!0,onPointerDown:v,onPointerMove:T,onPointerUp:A,onPointerCancel:A,children:"%"})]})}const Ku=7;function Lr(e){var s;const t=e.trim(),n=/^[a-z]+(\s+[a-z]+)+$/i.test(t)?t.split(/\s+/).join(""):t,r=t.replace("#","");if(/^[0-9a-f]{3}$|^[0-9a-f]{6}$/i.test(r))return(s=vt(r))==null?void 0:s.slice(0,Ku).toUpperCase();if(n===""||typeof CSS>"u"||typeof CSS.supports!="function"||!CSS.supports("color",n))return;const a=document.createElement("canvas").getContext("2d");if(a===null)return;a.fillStyle="#000000",a.fillStyle=n;const i=a.fillStyle;return/^#[0-9a-f]{6}$/i.test(i)?i.toUpperCase():void 0}const ka={hex:"Type a color name or a hex code such as 2E8B57.",rgb:"Type three numbers such as 46, 139, 87.",hsl:"Type three numbers such as 146, 50, 36.",hsb:"Type three numbers such as 146, 67, 55."},Yu={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",colorWord:gr,swatch:(e,t,n)=>`${[e,t].filter(Boolean).join(" ")}${n?", the color before this edit":""}`,refused:(e,t)=>`"${e}" is not a color. ${ka[t]}`,refusedKept:(e,t,n)=>`"${e}" is not a color, so this stays ${t}. ${ka[n]}`},Xu=[{value:"hex",label:"Hex"},{value:"rgb",label:"RGB"},{value:"hsl",label:"HSL"},{value:"hsb",label:"HSB"}];function At(e,t){return Math.min(t,Math.max(0,e))}function Ut(e){return u.convertHsvaTo("hexa",e).toUpperCase()}function Ko(e,t){return t==="hex"?Ut(e).slice(1,7):t==="hsb"?[e.h,e.s,e.v].map(r=>Math.round(r)).join(", "):(u.convertHsvaTo(t,e).match(/[\d.]+/g)??[]).map(r=>Math.round(Number(r))).join(", ")}function Ju(e,t,n){if(t==="hex"){const i=Lr(e);return i===void 0?void 0:{...u.parseColor(i),a:n}}const r=e.split(/[\s,]+/).filter(Boolean).map(Number);if(r.length!==3||r.some(Number.isNaN))return;if(t==="hsb")return{h:At(r[0],360),s:At(r[1],100),v:At(r[2],100),a:n};const a=t==="rgb"?`rgb(${At(r[0],255)}, ${At(r[1],255)}, ${At(r[2],255)})`:`hsl(${At(r[0],360)}, ${At(r[1],100)}%, ${At(r[2],100)}%)`;return u.isColorValid(a)?{...u.parseColor(a),a:n}:void 0}function Sa(e,t,n){return r=>{const a=e===1?.01:1,i=a*(r.shiftKey?10:1),s={ArrowRight:t+i,ArrowUp:t+i,ArrowLeft:t-i,ArrowDown:t-i,Home:0,End:e};r.key in s&&(r.preventDefault(),r.stopPropagation(),n(Math.round(At(s[r.key],e)/a)*a))}}function Zu(){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 Qu(){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 Pr({value:e,onChange:t,onChangeEnd:n,withAlpha:r=!0,swatches:a=[],closeOnEnter:i=!1,defaultFormat:s="hex",gradient:c,paintType:m="solid",onPaintTypeChange:d,labels:f}){const h={...Yu,...f},[p,g]=l.useState(()=>u.parseColor(vt(e)??"#000000FF")),S=l.useRef(p);S.current=p;const[N,x]=l.useState(s),[b,v]=l.useState(Ko(p,N)),[T,A]=l.useState(""),y=Rr();l.useEffect(()=>{const z=vt(e);z!==void 0&&z!==Ut(S.current)&&g(u.parseColor(z))},[e]),l.useEffect(()=>{v(Ko(p,N)),A("")},[p,N]);const k=z=>r?z:z.slice(0,7),j=z=>{const G={...z,a:r?z.a:1};g(G),S.current=G,t(k(Ut(G)))},I=()=>{n==null||n(k(Ut(S.current)))},B=z=>{const G=vt(z);if(G===void 0)return;const _=u.parseColor(r?G:G.slice(0,7));g(_),S.current=_;const ae=k(r?G:`${G.slice(0,7)}FF`);t(ae),n==null||n(ae)},{ref:C}=ye.useMove(({x:z,y:G})=>{j({...S.current,s:z*100,v:(1-G)*100})},{onScrubEnd:I}),V=z=>{const G=z.shiftKey?10:1,ae={ArrowRight:[G,0],ArrowLeft:[-G,0],ArrowUp:[0,G],ArrowDown:[0,-G]}[z.key];if(ae===void 0)return;z.preventDefault();const{current:me}=S,we=ye.clampUseMovePosition({x:(me.s+ae[0])/100,y:(me.v+ae[1])/100});j({...me,s:we.x*100,v:we.y*100}),I()},H=()=>{const z=Ju(b,N,S.current.a);if(z===void 0){const G=b.trim(),_=Ko(S.current,N);A(G!==""&&b!==_?h.refusedKept(G,_,N):""),v(_);return}A(""),Ut(z)!==Ut(S.current)&&(j(z),I())},M=typeof window>"u"?void 0:window.EyeDropper,Y=()=>{M!==void 0&&new M().open().then(z=>{B(`${z.sRGBHex}${hn(S.current.a*100)}`)}).catch(()=>{})},P=Ut(p).slice(0,7),F=z=>{var _;const G=r?9:7;return((_=vt(z))==null?void 0:_.slice(0,G).toUpperCase())===Ut(p).slice(0,G)},$=Math.round(p.a*100),q=c!==void 0&&m==="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(u.SegmentedControl,{variant:"loose","aria-label":h.paintType,value:m,onChange:z=>{d==null||d(z)},data:[{value:"solid",label:o.jsxs(o.Fragment,{children:[o.jsx(Zu,{}),o.jsx("span",{className:"cm-visually-hidden",children:h.solid})]})},{value:"gradient",label:o.jsxs(o.Fragment,{children:[o.jsx(Qu,{}),o.jsx("span",{className:"cm-visually-hidden",children:h.gradient})]})}]})}),q?c:o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"cm-color-picker-body",children:[o.jsx("div",{ref:C,className:"cm-color-saturation","data-testid":"color-picker-saturation",role:"slider",tabIndex:0,"aria-label":h.saturation,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(p.s),"aria-valuetext":`${Math.round(p.s)}%, ${Math.round(p.v)}%`,onKeyDown:V,style:{"--cm-hue":p.h,"--cm-x":`${p.s}%`,"--cm-y":`${100-p.v}%`},children:o.jsx("div",{className:"cm-color-thumb",style:{background:P}})}),o.jsxs("div",{className:"cm-color-picker-sliders",children:[o.jsx("div",{className:"cm-color-picker-eyedropper",children:M!==void 0&&o.jsx(u.ActionIcon,{variant:"subtle",size:24,"aria-label":h.eyedropper,onClick:Y,children:o.jsx(Ce,{name:"eyedropper"})})}),o.jsxs("div",{className:"cm-color-picker-slider-stack",children:[o.jsx(u.HueSlider,{"aria-label":h.hue,"data-testid":"color-picker-hue",value:Math.round(p.h),onChange:z=>{j({...S.current,h:z})},onChangeEnd:I,onKeyDownCapture:Sa(360,Math.round(p.h),z=>{j({...S.current,h:z}),I()})}),r&&o.jsx(u.AlphaSlider,{"aria-label":h.opacity,"data-testid":"color-picker-alpha",color:P,thumbColor:P,value:p.a,onChange:z=>{j({...S.current,a:z})},onChangeEnd:I,onKeyDownCapture:Sa(1,p.a,z=>{j({...S.current,a:z}),I()})})]})]}),o.jsxs("div",{className:"cm-color-picker-values",children:[o.jsx(u.Select,{className:"cm-color-picker-format","aria-label":h.format,data:Xu,value:N,allowDeselect:!1,comboboxProps:{withinPortal:!1},onChange:z=>{z!==null&&x(z)}}),o.jsxs("div",{className:"cm-joined-field",children:[o.jsx("input",{className:"cm-paint-input",type:"text",autoComplete:"off",spellCheck:!1,"aria-label":h.value,"data-testid":"color-picker-value",value:b,onChange:z=>{A(""),v(z.currentTarget.value)},onFocus:z=>{z.currentTarget.select()},onBlur:()=>{H()},onKeyDown:z=>{if(z.key==="Enter")H(),i&&y!==null&&(z.preventDefault(),y.close(z));else if(z.key==="Escape"){const G=Ko(S.current,N);A(""),Lo(z,()=>{v(G)},b!==G)}}}),r&&o.jsx(Qi,{value:$,ariaLabel:h.opacity,testId:"color-picker-opacity",onCommit:z=>{j({...S.current,a:z/100}),I()}})]})]}),o.jsx(u.VisuallyHidden,{role:"status",children:T})]}),a.length>0&&o.jsx("fieldset",{className:"cm-fieldset cm-color-swatches","aria-label":h.swatches,children:a.map((z,G)=>{const _=vt(z),ae=h.swatch(h.colorWord(z),(_??z).replace("#","").replace(/(.{6})FF$/,"$1"),!1);return o.jsx(u.Tooltip,{label:ae,children:o.jsx("button",{type:"button",className:"cm-color-swatch-button cm-focus-double","aria-label":ae,"aria-pressed":F(z),onClick:()=>{B(z)},children:o.jsx(Nr,{color:z})})},`${String(G)}-${z}`)})})]})]})}function _i({text:e}){return o.jsx(u.VisuallyHidden,{role:"status",children:e})}const $i=l.createContext(null);function _u(){return l.useContext($i)}function $u({children:e}){const t=l.useRef(null),n=l.useMemo(()=>({anchorRef:t}),[]);if(!l.isValidElement(e))throw new Error("PopoutAnchor requires a single valid React element as its child");const r=e,a=l.cloneElement(r,{ref:t});return o.jsx($i.Provider,{value:n,children:a})}function em({children:e}){return o.jsx(u.Box,{className:"cm-popout-content",children:e})}function kt(){return u.useDirection().dir}function it(e){return e==="rtl"}function tm(e,t){return it(t)?1-e:e}function om(e,t,n){return tm(e,n)*t}function nm(e){return it(e)?{transform:"scaleX(-1)"}:{}}const Ea=3;function rm(e){const{isOpen:t,onPress:n,onDragStart:r,onDrag:a,onDragEnd:i}=e,[s,c]=l.useState({left:0,top:0}),m=l.useRef(!1),d=l.useRef(!1),f=l.useRef(!1),h=l.useRef({x:0,y:0,offsetLeft:0,offsetTop:0}),p=l.useCallback(()=>{c({left:0,top:0})},[]),g=l.useCallback(()=>{const v=f.current;return f.current=!1,v},[]),S=l.useCallback(v=>{const T=v.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,d.current=!1,f.current=!1,h.current={x:v.clientX,y:v.clientY,offsetLeft:s.left,offsetTop:s.top},so(),n==null||n(v);try{T.setPointerCapture(v.pointerId)}catch{}}},[s.left,s.top,n]),N=l.useCallback(v=>{if(!m.current)return;const T=v.clientX-h.current.x,A=v.clientY-h.current.y;if(!d.current){if(!(Math.abs(T)>=Ea||Math.abs(A)>=Ea))return;d.current=!0,r==null||r(v)}const y={left:h.current.offsetLeft+T,top:h.current.offsetTop+A};c(y),a==null||a(y,v)},[a,r]),x=l.useCallback(v=>{if(!m.current)return;m.current=!1;const T=v.target;T.hasPointerCapture(v.pointerId)&&T.releasePointerCapture(v.pointerId),d.current&&(d.current=!1,f.current=!0,i==null||i(v))},[i]),b=s.left!==0||s.top!==0;return t?{dragTriggerProps:{"data-drag-trigger":!0,onPointerDown:S,onPointerMove:N,onPointerUp:x,onPointerCancel:x,style:{cursor:"grab",userSelect:"none",touchAction:"none"}},dragOffset:s,resetDragOffset:p,hasDragged:b,consumeDragClick:g}:{dragTriggerProps:{},dragOffset:{left:0,top:0},resetDragOffset:p,hasDragged:!1,consumeDragClick:g}}function am({config:e,onClose:t,dragTriggerProps:n={},actions:r=[],activeTab:a,onTabChange:i,titleId:s,tabsId:c}){var h;const m=Me(),{style:d,...f}=n;return o.jsxs(u.Box,{"data-testid":"popout-header",className:"cm-popout-header",...f,style:d,children:[e.variant==="title"?o.jsx("h2",{id:s,"data-testid":"popout-header-title",className:"cm-popout-title",children:e.title}):o.jsxs(o.Fragment,{children:[o.jsx(u.VisuallyHidden,{id:s,children:((h=e.tabs[0])==null?void 0:h.label)??m.settings}),o.jsx(u.Tabs,{id:c,variant:"pills",value:a??null,onChange:p=>{p!==null&&(i==null||i(p))},className:"cm-popout-tabs",children:o.jsx(u.Tabs.List,{"data-testid":"popout-header-tabs",children:e.tabs.map(p=>o.jsx(u.Tabs.Tab,{value:p.id,children:p.label},p.id))})})]}),r.length>0?o.jsx("div",{className:"cm-popout-actions",children:r.map(p=>o.jsx(u.ActionIcon,{variant:"subtle",onClick:p.onClick,"aria-label":p.label,children:p.icon},p.id))}):null,o.jsx(u.CloseButton,{"data-testid":"popout-header-close",className:"cm-popout-close",onClick:t,"aria-label":m.closePanel})]})}function Ta(e,t=document){return e===null?null:t.querySelector(`[data-popout-id="${e}"]`)}function Aa(e,t,n){const{trigger:r,parent:a,panel:i}=n;if(e!==void 0){if(typeof e=="object")return e.current;switch(e){case"parent":return a??i??r;case"panel":return i??a??r;case"trigger":return r;default:{const s=e;throw new Error(`Unknown anchor target: ${String(s)}`)}}}return t==="x"?a??i??r:r??a??i}function im(e,t){return e==="start"?it(t)?"right":"left":e==="end"?it(t)?"left":"right":e}function sm(e,t,n=hi,r={}){const{placement:a="left",alignment:i="start",panelHeight:s=0,crossAnchorRect:c=e,direction:m="ltr"}=r;let d,f;switch(a){case"left":d=e.left-t-n,f=ja(c,i,s);break;case"right":d=e.right+n,f=ja(c,i,s);break;case"top":d=Ca(c,i,t,m),f=e.top-s-n;break;case"bottom":d=Ca(c,i,t,m),f=e.bottom+n;break;default:{const h=a;throw new Error(`Unknown placement: ${String(h)}`)}}return{left:d,top:f}}function ja(e,t,n){switch(t){case"start":return e.top;case"center":return e.top+e.height/2-n/2;case"end":return e.bottom-n;default:{const r=t;throw new Error(`Unknown alignment: ${String(r)}`)}}}function Ca(e,t,n,r){switch(t){case"start":return it(r)?e.right-n:e.left;case"center":return e.left+e.width/2-n/2;case"end":return it(r)?e.left:e.right-n;default:{const a=t;throw new Error(`Unknown alignment: ${String(a)}`)}}}function cm(e,t){const n=e==null?void 0:e.getBoundingClientRect(),r=lm(t);return{x:(n==null?void 0:n.left)??0,y:(n==null?void 0:n.top)??0,scaleX:r.x,scaleY:r.y}}function lm(e){if(!e||e.offsetWidth===0||e.offsetHeight===0)return{x:1,y:1};const t=getComputedStyle(e),n=e.getBoundingClientRect(),r=(a,i)=>Math.round(a/Number.parseFloat(i)*1e4)/1e4;return{x:r(n.width,t.width),y:r(n.height,t.height)}}function dm(e,t){return`${e}-tab-${t??""}`}function um(e,t){return`${e}-panel-${t??""}`}const es=6,lr=8;function mm(e,t,n,r){const{beside:a,boundaryTop:i,placed:s,within:c}=r,m=window.innerHeight-es-t.height;a&&(s==null?void 0:s.rowTop)===n.top?e.top=s.top:a&&e.top>m&&n.bottom-t.height>=i&&(e.top=n.bottom-t.height),e.top=Math.max(i,Math.min(e.top,m));const d=Math.max(0,c===null?0:c.left+lr),f=Math.min(window.innerWidth,c===null?window.innerWidth:c.right-lr);e.left=Math.max(d,Math.min(e.left,f-t.width))}const pm="a[href], button, input, select, textarea, summary, [tabindex]";function ts(e){return[...e.querySelectorAll(pm)].filter(t=>t.tabIndex>=0&&!t.matches(":disabled")&&t.getClientRects().length>0)}function hm(e,t,n){const r=ts(document).filter(s=>!t.contains(s)),a=s=>!e.contains(s)&&(e.compareDocumentPosition(s)&Node.DOCUMENT_POSITION_FOLLOWING)!==0;return n?r.includes(e)?e:r.filter(s=>!a(s)).at(-1)??r.at(-1):r.find(a)??r[0]}function fm(e){var bt,lt;const{width:t,height:n,header:r,label:a,children:i,anchorX:s,anchorY:c,placement:m="left",alignment:d="start",gap:f,actions:h,manageFocus:p=!0,boundaryTop:g=0,contained:S=!1,onDragStart:N,onDrag:x,onDragEnd:b}=e,{isOpen:v,close:T,triggerRef:A,id:y,parentId:k,region:j,exclusive:I=!0}=xn(),{getZIndex:B,portalContainer:C,register:V,unregister:H,bringToFront:M,closeDescendants:Y}=Ji(),P=_u(),F=kt(),$=l.useId(),q=`popout-panel-${y}`,z=`popout-title-${$}`,G=`popout-tabs-${$}`,[_,ae]=l.useState(null),[me,we]=l.useState(null),te=l.useRef(!1),de=l.useRef(null),J=l.useRef(null),ge=l.useRef(null),O=l.useCallback(()=>{M(y)},[M,y]),{dragTriggerProps:ie,dragOffset:pe,resetDragOffset:ve,hasDragged:ue,consumeDragClick:L}=rm({isOpen:v,onPress:O,onDragStart:N,onDrag:x,onDragEnd:b}),K=(r==null?void 0:r.variant)==="tabs",Z=(r==null?void 0:r.variant)==="tabs"?r:null,he=(Z==null?void 0:Z.defaultTab)??((bt=Z==null?void 0:Z.tabs[0])==null?void 0:bt.id),[be,Ae]=l.useState(he),De=f??(k===null?0:fi),Qe=l.useCallback((ce,Ee)=>{var se;Ae(ce),(se=Z==null?void 0:Z.onTabChange)==null||se.call(Z,ce,Ee)},[Z]),Fe=l.useCallback(ce=>{ce.stopPropagation(),M(y),!L()&&Y(y)},[Y,M,L,y]),Re=l.useCallback(ce=>{Y(y),T(ce)},[Y,T,y]),$e=l.useRef(!1),Ve=l.useRef(null),Ye=l.useRef(new Set),ft=l.useRef(T);l.useEffect(()=>{ft.current=T});const st=l.useCallback(()=>{ft.current()},[]);l.useEffect(()=>(v?V(y,st,k,j,I):H(y),()=>{H(y)}),[v,y,V,H,st,k,j,I]);const ot=l.useCallback(()=>{const ce={trigger:A.current,parent:Ta(k),panel:(P==null?void 0:P.anchorRef.current)??null};return{inline:Aa(s,"x",ce),block:Aa(c,"y",ce)}},[A,k,P,s,c]),ct=l.useCallback(ce=>{var Ke;const Ee=de.current;if(ce.key!=="Tab"||ce.defaultPrevented||ce.altKey||ce.ctrlKey||ce.metaKey||Ee===null||!(ce.target instanceof HTMLElement)||!Ee.contains(ce.target))return;const se=ts(Ee),Ne=ce.shiftKey?se[0]??Ee:se.at(-1);if(ce.target!==Ne&&!(ce.shiftKey&&ce.target===Ee))return;const Te=Ve.current;if(Te!==null&&Te!==se[0]&&se.some(dt=>!Ye.current.has(dt))){ce.preventDefault(),(Ke=ce.shiftKey?se.at(-1):se[0])==null||Ke.focus();return}const{inline:Pe,block:Ge}=ot(),qe=A.current??Ge??Pe,We=qe===null?void 0:hm(qe,Ee,ce.shiftKey);We!==void 0&&(ce.preventDefault(),$e.current=!0,Re(ce),We.focus())},[ot,A,Re]),ne=l.useCallback(()=>{var Xt,It;const{inline:ce,block:Ee}=ot(),se=ce??Ee,Ne=Ee??ce;if(!se||!Ne)return;const Te=(Xt=de.current)==null?void 0:Xt.getBoundingClientRect(),Pe=cm(J.current,de.current),Ge=S?((It=P==null?void 0:P.anchorRef.current)==null?void 0:It.getBoundingClientRect())??null:null,qe=Ge===null?1/0:Ge.width-2*lr,We=qe<t*Pe.scaleX;we(We?qe/Pe.scaleX:null);const Ke=We?qe:Math.max(t*Pe.scaleX,(Te==null?void 0:Te.width)??0),dt=Math.max((n??0)*Pe.scaleY,(Te==null?void 0:Te.height)??0),St=im(m,F),Ot=St==="top"||St==="bottom",Yt=Ot?Ne:se,Ft=Ot?se:Ne,Ze=sm(Yt.getBoundingClientRect(),Ke,De,{placement:St,alignment:d,panelHeight:dt,crossAnchorRect:Ft.getBoundingClientRect(),direction:F});if(typeof window<"u"){const w=Ft.getBoundingClientRect();mm(Ze,{width:Ke,height:dt},w,{beside:!Ot,boundaryTop:g,placed:ge.current,within:Ge}),ge.current={top:Ze.top,rowTop:w.top}}Ze.left=(Ze.left-Pe.x)/Pe.scaleX,Ze.top=(Ze.top-Pe.y)/Pe.scaleY,ae(w=>(w==null?void 0:w.left)===Ze.left&&w.top===Ze.top?w:Ze)},[ot,t,n,m,d,De,F,g,S,P]);if(ye.useIsomorphicEffect(()=>{if(!v){ae(null),ge.current=null;return}te.current||(ve(),K&&Ae(he)),ne()},[v,ne,ve,K,he]),l.useEffect(()=>{if(!v)return;let ce=0;const Ee=()=>{var We;ce===0&&((We=de.current)==null||We.setAttribute("data-cm-repositioning",""),ce=requestAnimationFrame(()=>{var Ke;ce=0,No.flushSync(ne),(Ke=de.current)==null||Ke.removeAttribute("data-cm-repositioning")}))},se=new ResizeObserver(Ee),Ne=new MutationObserver(Ee),{inline:Te,block:Pe}=ot(),Ge=ue?Ta(k):null;for(const We of new Set([Te,Pe].filter(Ke=>Ke!==null)))ue&&We!==Ge||(se.observe(We),Ne.observe(We,{attributes:!0,attributeFilter:["style","class"]}));const qe=typeof document<"u"?document.fonts:void 0;return ue||(de.current&&se.observe(de.current),window.addEventListener("resize",Ee),window.addEventListener("scroll",Ee,!0),qe==null||qe.addEventListener("loadingdone",Ee)),()=>{var We;ce!==0&&cancelAnimationFrame(ce),(We=de.current)==null||We.removeAttribute("data-cm-repositioning"),se.disconnect(),Ne.disconnect(),window.removeEventListener("resize",Ee),window.removeEventListener("scroll",Ee,!0),qe==null||qe.removeEventListener("loadingdone",Ee)}},[v,ne,ot,ue,k]),l.useEffect(()=>{var ce;if(p){if(v){$e.current=!1;const Ee=setTimeout(()=>{var Ne,Te;const se=((Ne=de.current)==null?void 0:Ne.querySelector("[data-autofocus]"))??null;Ye.current=new Set,Ve.current=se,(Te=se??de.current)==null||Te.focus()},0);return()=>{clearTimeout(Ee)}}te.current&&!$e.current&&((ce=A.current)==null||ce.focus())}},[v,p,A]),l.useEffect(()=>{te.current=v},[v]),!v||!C)return null;const Be=B(y),Xe={left:((_==null?void 0:_.left)??0)+pe.left,top:((_==null?void 0:_.top)??0)+pe.top},Je=o.jsxs(u.Box,{ref:de,className:"cm-popover-surface cm-popout",id:q,role:"dialog","aria-modal":"false","aria-labelledby":r?z:void 0,"aria-label":r?void 0:a,tabIndex:-1,onClick:Fe,onKeyDown:ct,onFocus:ce=>{Ye.current.add(ce.target)},"data-testid":"popout-panel","data-popout-id":y,...k&&{"data-parent-id":k},style:{position:"fixed",left:Xe.left,top:Xe.top,minWidth:me??t,width:"min-content",...n!==void 0&&{minHeight:n},...g>0&&{maxHeight:`calc(100vh - ${String(g+es)}px)`},..._===null&&{visibility:"hidden"},zIndex:Be},children:[r?o.jsx(am,{config:r,onClose:Re,dragTriggerProps:ie,activeTab:be,onTabChange:Qe,actions:h,titleId:z,tabsId:G}):null,K?o.jsx(u.Box,{className:"cm-popout-body","data-testid":"popout-panel-content",role:"tabpanel",id:um(G,be),"aria-labelledby":dm(G,be),children:(lt=Z==null?void 0:Z.tabs.find(ce=>ce.id===be))==null?void 0:lt.content}):o.jsx(u.Box,{className:"cm-popout-body","data-testid":"popout-panel-content",children:i})]});return No.createPortal(o.jsxs(o.Fragment,{children:[o.jsx("div",{ref:J,"aria-hidden":"true",style:{position:"fixed",left:0,top:0}}),Je]}),C)}function bm({children:e,action:t="toggle"}){const{open:n,toggle:r,triggerRef:a,isOpen:i,id:s}=xn(),c=l.useCallback(h=>{if(h.stopPropagation(),t==="open"){n(h);return}r(h)},[t,n,r]);if(!l.isValidElement(e))throw new Error("PopoutTrigger requires a single valid React element as its child");const m=`popout-panel-${s}`,d=e,f=h=>l.cloneElement(h,{onClick:p=>{var g,S;(S=(g=h.props).onClick)==null||S.call(g,p),c(p)},ref:a,"data-popout-trigger":!0,"aria-expanded":i,"aria-controls":m,"aria-haspopup":"dialog"});return d.type===u.Tooltip&&l.isValidElement(d.props.children)?l.cloneElement(d,{children:f(d.props.children)}):f(d)}function xm({children:e,opened:t,defaultOpened:n,onOpenChange:r}){const a=Rr(),i=(a==null?void 0:a.id)??null;return o.jsx(Zi,{parentId:i,opened:t,defaultOpened:n,onOpenChange:r,children:e})}const qt=Object.assign(xm,{Trigger:bm,Panel:fm,Content:em,Anchor:$u}),gm=l.forwardRef(function({icon:t,size:n="sm",...r},a){const{isOpen:i}=xn();return o.jsx(u.ActionIcon,{ref:a,"data-testid":"popout-button","data-open":i||void 0,variant:"subtle",size:n,...r,children:t})});function os({children:e}){return o.jsx(Uu,{children:e})}const vm=D.BODY,wm=100,Na=9,Ia=7;function ym(e,t){const{mixed:n,isColorDefault:r,emptyText:a,emptySwatch:i,displayColor:s,valueText:c}=t,m=n&&r,d=m?e.mixed:a,f=r&&d!==void 0?"":s.replace("#","").toUpperCase();let h;if(m)h=e.mixed;else if(r){const g=e.colorDrawn??Vt.colorDrawn;h=e.fieldNotSet(a??(i?"":g(s.toUpperCase(),c)))}else h=e.fieldSet;return{showsMixed:m,emptyWords:d,shownHex:f,hexState:h,wordsInState:m||r&&a===void 0}}function km(e,t,n){return e&&(t!==void 0||n!==void 0)?"CompactColorInput was given onChange together with onColorChange or onOpacityChange. Only onChange is called; drop the other callbacks.":void 0}function Sm(e,t){return t===void 0?{hexName:e.colorHexValue,swatchName:e.colorSwatch,opacityName:e.opacity}:{hexName:e.colorValue(t),swatchName:e.pickColor(t),opacityName:e.colorOpacity(t)}}function ns({showsMixed:e,empty:t,color:n}){return o.jsxs(o.Fragment,{children:[e&&o.jsx(Ce,{name:"dash",size:D.CHEVRON}),!e&&!t&&o.jsx(Nr,{color:n,variant:"field"})]})}function rs({annotation:e}){return e.description===void 0?null:o.jsx(u.VisuallyHidden,{id:e.describedBy,children:e.description})}function Em({labels:e,name:t,reading:n,isColorDefault:r,emptyText:a,emptySwatch:i,displayColor:s,valueText:c,chitColor:m,annotation:d,disabled:f,pickerPanel:h}){const{showsMixed:p,hexState:g}=n,S=t===void 0?e.colorSwatch:e.colorValue(t),N=`${S}, ${g}`,x=(v,T)=>T!==void 0&&!p?`${S}, ${T}`:r?v:`${v}, ${s.toUpperCase()}`,b=!p&&r&&(a!==void 0||i);return o.jsxs("span",{className:"cm-paint-chip-wrap",title:d.title,"data-disabled":f||void 0,children:[o.jsxs(qt,{children:[o.jsx(qt.Trigger,{children:o.jsx("button",{type:"button",className:"cm-paint-chit cm-paint-chip","data-testid":"compact-color-input-chip","data-is-default":r?"true":"false","data-mixed":p||void 0,"data-empty":b||void 0,disabled:f,"aria-label":x(N,c),"aria-describedby":d.describedBy,children:o.jsx(ns,{showsMixed:p,empty:b,color:m})})}),h]}),o.jsx(rs,{annotation:d})]})}function Tm({show:e,isDefault:t,name:n,labels:r,disabled:a,onReset:i}){return!e||t?null:o.jsx(u.Tooltip,{label:r.resetToDefault(n),children:o.jsx(u.ActionIcon,{variant:"subtle",size:D.TRAIL,c:"var(--cm-paint-reset-ink)","data-testid":"compact-color-input-reset",disabled:a,"aria-label":r.resetToDefault(n),onClick:i,children:o.jsx(Ce,{name:"reset",size:D.CHEVRON})})})}function Am({color:e,defaultColor:t,emptyText:n,emptySwatch:r=!1,mixed:a=!1,opacity:i,defaultOpacity:s=wm,onColorChange:c,onOpacityChange:m,onChange:d,onChangeEnd:f,swatches:h=Wi,label:p,showOpacity:g=!0,disabled:S=!1,disabledReason:N,onFocus:x,onBlur:b,width:v=vm,showReset:T=!0,"aria-label":A,variant:y="field",valueText:k,hideLabel:j=!1}){const I=Me(),B=p??A,C=l.useId(),V=bn({name:p,disabled:S,disabledReason:N}),H=d!==void 0;Pt(km(H,c,m));const M=H?{}:{onColorChange:c,onOpacityChange:m},[Y,P]=va(e,M.onColorChange),[F,$]=va(i,M.onOpacityChange),q=Y===void 0,z=F===void 0,G=Y??t,_=F??s,ae=ym(I,{mixed:a,isColorDefault:q,emptyText:n,emptySwatch:r,displayColor:G,valueText:k}),{showsMixed:me,emptyWords:we,shownHex:te,hexState:de}=ae,{hexName:J,swatchName:ge,opacityName:O}=Sm(I,B),[ie,pe]=l.useState(te),[ve,ue]=l.useState(void 0),[L,K]=l.useState(""),Z=l.useRef(null),he=l.useRef(!1),be=l.useRef(!1);l.useEffect(()=>{be.current=!1,pe(te),ue(void 0),K("")},[te]),l.useLayoutEffect(()=>{const ne=Z.current;he.current&&ne!==null&&ne===document.activeElement&&ie===te&&ne.select()},[ie,te]),l.useEffect(()=>{if(ve===void 0)return;const ne=Xe=>{Xe.target!==Z.current&&ue(void 0)},Be=setTimeout(()=>{document.addEventListener("focusin",ne)},0);return()=>{clearTimeout(Be),document.removeEventListener("focusin",ne)}},[ve]);const Ae=ne=>{const Be=ne.length===Na&&g;return{nextColor:ne.slice(0,Ia).toUpperCase(),nextOpacity:Be?xr(ne.slice(Ia,Na)):F,movesOpacity:Be}},De=ne=>{const{nextColor:Be,nextOpacity:Xe,movesOpacity:Je}=Ae(ne);P(Be),Je&&$(Xe),d==null||d(Be,Xe)},Qe=ne=>{const{nextColor:Be,nextOpacity:Xe}=Ae(ne);f==null||f(Be,Xe)},Fe=(ne,Be=!1)=>{const Xe=ie.trim(),Je=Lr(Xe),bt=q&&(Be||be.current);be.current=!1;const lt=Je!==G.toUpperCase()||te===""||bt;Je!==void 0&<?(ue(void 0),pe(Je.replace("#","").toUpperCase()),P(Je,ne),d==null||d(Je,F,ne),f==null||f(Je,F,ne)):Je===void 0&&Xe!==""&&ie!==te?(ue({message:I.colorRefusedKept(Xe,te===""?we??"":te)}),pe(te)):(ue(void 0),pe(te))},Re=(ne,Be)=>{$(ne,Be),d==null||d(Y,ne,Be),f==null||f(Y,ne,Be)},$e=ne=>{P(void 0,ne),g&&$(void 0,ne),d==null||d(void 0,g?void 0:F,ne),f==null||f(void 0,g?void 0:F,ne)},Ve=`${G}${hn(_)}`.toUpperCase(),Ye=o.jsx(qt.Panel,{width:D.POPOVER_WIDTH,header:{variant:"title",title:p??I.colorPanelTitle},children:o.jsx(Pr,{value:Ve,onChange:De,onChangeEnd:Qe,withAlpha:g,swatches:h,labels:{colorWord:I.colorWord}})}),ft=g?Ve:G;if(y==="chip")return o.jsx(Em,{labels:I,name:B,reading:ae,isColorDefault:q,emptyText:n,emptySwatch:r,displayColor:G,valueText:k,chitColor:ft,annotation:V,disabled:S,pickerPanel:Ye});const st=r&&!me&&q,ot=p===void 0||j,ct=o.jsxs("div",{className:"cm-paint","data-testid":"compact-color-input",title:ot?V.title:void 0,"data-disabled":S?"true":void 0,children:[o.jsxs("div",{className:"cm-paint-field","data-testid":"compact-color-input-field","data-disabled":S||void 0,"data-mixed":me||void 0,style:{width:v},children:[o.jsxs(qt,{children:[o.jsx(qt.Trigger,{children:o.jsx("button",{type:"button",className:"cm-paint-chit","data-testid":"compact-color-input-swatch","data-mixed":me||void 0,"data-empty":st||void 0,disabled:S,"aria-label":ge,"aria-describedby":V.describedBy,children:o.jsx(ns,{showsMixed:me,empty:st,color:ft})})}),Ye]}),o.jsx("input",{ref:Z,className:"cm-paint-input cm-paint-hex",type:"text",autoComplete:"off",spellCheck:!1,"data-testid":"compact-color-input-hex","data-is-default":q?"true":"false","aria-label":[J,de,ae.wordsInState?void 0:k].filter(ne=>ne!==void 0&&ne!=="").join(", "),"data-committed":ie===te||void 0,"aria-describedby":V.describedBy,disabled:S,value:ie,placeholder:we,onChange:ne=>{he.current=!1,ue(void 0),K(""),be.current=!0,pe(ne.currentTarget.value)},onMouseDown:ne=>{ne.button===0&&ie===te&&(ne.preventDefault(),ne.currentTarget.focus(),ne.currentTarget.select())},onFocus:ne=>{ne.currentTarget.select(),x==null||x(ne)},onBlur:ne=>{he.current=!1,K(""),Fe(ne),b==null||b(ne)},onKeyDown:ne=>{ne.key==="Enter"?(he.current=!0,Fe(ne,!0),ne.currentTarget.select()):ne.key==="Escape"&&(be.current=!1,ue(void 0),ie!==te&&K(I.colorEditDiscarded(te===""?we??"":te)),Lo(ne,()=>{pe(te)},ie!==te))}}),g&&o.jsx(Qi,{value:_,onCommit:Re,ariaLabel:O,isDefault:z,disabled:S,describedBy:V.describedBy,testId:"compact-color-input-opacity",onFocus:x,onBlur:b})]}),o.jsx(Tm,{show:T,isDefault:q&&(!g||z),name:p??I.colorGenericName,labels:I,disabled:S,onReset:$e}),o.jsx(_i,{text:(ve==null?void 0:ve.message)??L}),o.jsx(rs,{annotation:V})]});return ot?ct:o.jsxs("fieldset",{"data-testid":"compact-color-input-labeled",className:"cm-fieldset cm-paint-labeled","aria-labelledby":C,title:V.title,children:[o.jsx("div",{id:C,"data-testid":"compact-color-input-label",className:"cm-paint-label",children:p}),ct]})}function Ue(){const e=u.useMantineTheme().other.compact,t=e!==void 0,n=(e==null?void 0:e.highContrast)??!1;l.useInsertionEffect(()=>{t&&Ro({highContrast:n})},[t,n])}function jm({label:e,actions:t,children:n}){Ue();const r=l.useId(),a=t!=null;return o.jsxs(u.Box,{"data-testid":"control-group",role:"group","aria-labelledby":r,children:[o.jsxs(u.Box,{"data-testid":"control-group-header",className:"cm-legend",style:{minHeight:D.LEGEND},children:[o.jsx(u.Box,{component:"span",id:r,"data-testid":"control-group-label",className:"cm-legend-text",title:e,style:{flex:"1 1 auto"},children:e}),a&&o.jsx(u.Box,{"data-testid":"control-group-actions",style:{display:"flex",alignItems:"center",gap:4,flex:"0 0 auto"},children:t})]}),o.jsx(u.Box,{"data-testid":"control-group-content",children:n})]})}function as({open:e,rtl:t}){return e?o.jsx(Ce,{name:"caretDown",size:D.CHEVRON}):o.jsx("span",{"data-caret":"closed",style:{display:"inline-flex",transform:t?"scaleX(-1)":void 0},children:o.jsx(Ce,{name:"caretRight",size:D.CHEVRON})})}const Cm=D.POPOVER_WIDTH,Nm=4;function Im({name:e,bubbleId:t}){const{isOpen:n,open:r,close:a}=xn();return o.jsx(qt.Trigger,{action:"open",children:o.jsx(u.Tooltip,{label:e,events:{hover:!0,focus:!1,touch:!1},children:o.jsx(u.ActionIcon,{variant:"subtle",size:"sm","aria-label":e,"aria-describedby":n?t:void 0,"data-testid":"info-circle",onMouseEnter:r,onMouseLeave:a,onBlur:a,children:o.jsx(Ce,{name:"info",size:D.GLYPH})})})})}function is({children:e,label:t,opened:n,defaultOpened:r,onOpenChange:a}){var h;const i=Me(),s=l.useId(),c=Bu()!==null,m=((h=Rr())==null?void 0:h.id)??null,d=i.about(t),f=o.jsxs(Zi,{parentId:m,opened:n,defaultOpened:r,onOpenChange:a,exclusive:!1,children:[o.jsx(Im,{name:d,bubbleId:s}),o.jsx(qt.Panel,{width:Cm,label:d,placement:"bottom",alignment:"start",gap:Nm,anchorX:"trigger",anchorY:"trigger",manageFocus:!1,contained:!0,children:o.jsx(u.Box,{id:s,className:"cm-info-bubble",children:e})})]});return c?f:o.jsx(os,{children:f})}const zm="button, a, input, select, textarea, [role], [tabindex]",Rm="[data-ellipsized]",Lm="[data-row-detail]";function za(e){return e.scrollWidth>e.clientWidth?!0:getComputedStyle(e).webkitLineClamp!=="none"&&e.scrollHeight>e.clientHeight}function ro({name:e,className:t,id:n,testId:r,self:a=!1,detail:i}){const s=l.useRef(null),[c,m]=l.useState(null),[d,f]=l.useState(!1),h=i!=null&&i!==!1&&i!=="";return l.useEffect(()=>{const p=s.current,g=a?p:(p==null?void 0:p.parentElement)??null;if(m(g),p===null||g===null)return;const S=x=>{const b=x.target,v=b.closest(zm),T=v!==null&&v!==g&&g.contains(v),A=b.closest(Rm),y=A!==null&&A!==p&&A.scrollWidth>A.clientWidth,k=h?g.querySelector(Lm):null,j=k!==null&&za(k);No.flushSync(()=>{f(!T&&!y&&(za(p)||j))})},N=()=>{f(!1)};return g.addEventListener("pointerover",S),g.addEventListener("pointerdown",N),()=>{g.removeEventListener("pointerover",S),g.removeEventListener("pointerdown",N)}},[a,h]),o.jsxs(o.Fragment,{children:[o.jsx("span",{className:t,id:n,"data-testid":r,"data-ellipsized":a?"":void 0,ref:s,children:e}),c!==null&&d&&o.jsx(u.Tooltip,{label:h?o.jsxs(o.Fragment,{children:[o.jsx("div",{children:e}),o.jsx("div",{children:i})]}):e,target:c})]})}function Po(e){return e!=null&&e!==!1}function Nt({children:e}){return o.jsx(u.Box,{"data-testid":"trailing-slot",style:{flex:"0 0 auto",width:D.TRAIL,height:D.CONTROL_HEIGHT,display:"flex",alignItems:"center",justifyContent:"center"},children:e})}const ss=l.forwardRef(function(t,n){const{label:r,changed:a=!1,icon:i,onClick:s,disabled:c=!1,loading:m=!1,style:d,className:f,...h}=t,p=Me(),g=a?p.sectionHasConfiguredValues(r):r;return o.jsx(u.ActionIcon,{...h,ref:n,type:"button",variant:"subtle",size:D.TRAIL,className:f===void 0?"cm-advanced-button":`cm-advanced-button ${f}`,title:g,"aria-label":g,"aria-busy":m,disabled:c,loading:m,"data-testid":"advanced-button","data-changed":a?"true":"false",onClick:s,style:{flex:"0 0 auto",...d},children:i??o.jsx(Ce,{name:"settings",size:D.GLYPH})})}),cs=l.forwardRef(function(t,n){const{label:r,onClick:a,disabled:i=!1,style:s,...c}=t,d=Me().resetToDefault(r);return o.jsx(u.Tooltip,{label:d,children:o.jsx(u.ActionIcon,{...c,ref:n,type:"button",variant:"subtle",size:D.TRAIL,c:Ie.CHROME,"aria-label":d,disabled:i,"data-testid":"reset-button",onClick:a,style:{flex:"0 0 auto",...s},children:o.jsx(Ce,{name:"reset",size:D.CHEVRON})})})});function Pm({level:e,nameId:t,children:n}){return e===void 0?o.jsx(o.Fragment,{children:n}):o.jsx(u.Box,{role:"heading","aria-level":e,"aria-labelledby":t,style:{display:"contents"},children:n})}function Mm(e,t,n){return o.jsx(ro,{id:e,testId:"control-section-name",className:"cm-section-title",name:o.jsxs(o.Fragment,{children:[t,n===void 0?null:o.jsx(u.Box,{component:"span","data-testid":"control-section-technical-name",className:"cm-section-technical",children:` (${n})`})]})})}function Om({toggles:e,isOpen:t,rtl:n,name:r,toggleName:a,contentId:i,summary:s,summaryShown:c,summaryId:m,onToggle:d,onTitleAdd:f}){return e?o.jsxs(u.UnstyledButton,{type:"button","data-testid":"control-section-toggle","data-collapsible":"true",className:"cm-section-lead cm-focus-inside","aria-label":a,"aria-expanded":t,"aria-controls":i,"aria-describedby":c?m:void 0,onClick:d,children:[o.jsx(u.Box,{"data-testid":"control-section-chevron-slot",className:"cm-section-chevron",children:o.jsx(as,{open:t,rtl:n})}),r,c&&o.jsx(u.Box,{component:"span",id:m,"data-testid":"control-section-summary",className:"cm-section-summary",children:s})]}):o.jsx(u.Box,{className:"cm-section-lead","data-testid":"control-section-lead",onClick:f,children:r})}function Fm(e){Ue();const{label:t,technicalName:n,opened:r,defaultOpened:a,onOpenChange:i,hasConfiguredValues:s=!1,empty:c=!1,onAdd:m,info:d,actions:f,summary:h,children:p,collapsible:g=!0,wrapLabel:S=!1,headingLevel:N}=e,x=Me(),b=kt(),v=l.useId(),T=l.useId(),A=l.useId(),y=l.useId(),[k,j]=ye.useUncontrolled({value:r,defaultValue:a,finalValue:!0,onChange:i}),I=!c&&l.Children.toArray(p).length>0,B=d!=null,C=I&&g,V=I&&(!g||k),H=C&&!k&&h!==void 0&&h!==null&&h!=="";Pt(c||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 M=$=>{j(!k,$)},Y=k?x.collapseSection(t):x.expandSection(t),P=x.addToSection(t),F=Mm(v,t,n);return o.jsxs(u.Box,{role:"group","aria-labelledby":v,"aria-describedby":B?A:void 0,"data-testid":"control-section","data-empty":c?"true":void 0,"data-wrap-label":S?"true":void 0,className:"cm-section",children:[o.jsxs(u.Box,{"data-testid":"control-section-header",className:"cm-section-header",style:{height:S?void 0:D.SECTION_HEADER,minHeight:S?D.SECTION_HEADER:void 0,paddingInlineStart:D.PAD_LEFT,paddingInlineEnd:D.PAD_RIGHT},children:[o.jsx(Pm,{level:N,nameId:v,children:o.jsx(Om,{toggles:C,isOpen:k,rtl:it(b),name:F,toggleName:Y,contentId:T,summary:h,summaryShown:H,summaryId:y,onToggle:M,onTitleAdd:c?m:void 0})}),s&&o.jsx(u.Box,{role:"img","aria-label":x.sectionHasConfiguredValues(t),"data-testid":"control-section-dot",className:"cm-section-dot"}),B&&o.jsx(is,{label:t,children:d}),f!=null&&o.jsx(u.Box,{"data-testid":"control-section-actions",className:"cm-section-actions",children:f}),c&&m!==void 0&&o.jsx(Nt,{children:o.jsx(u.ActionIcon,{type:"button",variant:"subtle",size:D.CONTROL_HEIGHT,className:"cm-section-add",title:P,"aria-label":P,"data-testid":"control-section-add",onClick:m,children:o.jsx(Ce,{name:"plus",size:D.GLYPH})})})]}),B&&o.jsx(u.Box,{id:A,"data-testid":"control-section-description",hidden:!0,children:d}),I&&o.jsx(u.Box,{id:T,hidden:!V,"data-testid":"control-section-content",className:"cm-section-content",style:{paddingInlineStart:D.PAD_LEFT,paddingInlineEnd:D.PAD_RIGHT,paddingBottom:D.SECTION_PAD_BOTTOM},children:p})]})}function ao(e){if("key"in e)return{source:"keyboard"};const t=e.nativeEvent,n="pointerType"in t?t.pointerType:"";return{source:t.detail>0||n!==""?"pointer":"keyboard"}}function Dm(e){const t=Me();return l.useMemo(()=>({...t,...e}),[t,e])}const tt=-1;function Gt(e,t,n){return Math.min(Math.max(e,t),n)}function Bm(e,t,n,r,a){const{rowCount:i,columnCount:s,pageSize:c}=n,m=i-1,d=s-1;if(s===0)return;const f=it(r)?"ArrowLeft":"ArrowRight",h=it(r)?"ArrowRight":"ArrowLeft";if(t===f)return{row:e.row,column:Math.min(e.column+1,d)};if(t===h)return{row:e.row,column:Math.max(e.column-1,0)};if(t==="ArrowDown")return{row:Gt(e.row+1,tt,m),column:e.column};if(t==="ArrowUp")return{row:Gt(e.row-1,tt,m),column:e.column};if(t==="Home")return a.jumpToEnd?{row:tt,column:0}:{row:e.row,column:0};if(t==="End")return a.jumpToEnd?{row:Math.max(m,tt),column:d}:{row:e.row,column:d};if(t==="PageDown")return{row:Gt(Math.max(e.row,0)+c,0,Math.max(m,0)),column:e.column};if(t==="PageUp")return{row:Gt(Math.max(e.row,0)-c,0,Math.max(m,0)),column:e.column}}function Hm(e,t){const n=t.rowCount-1,r=Math.max(t.columnCount-1,0);return{row:Gt(e.row,tt,Math.max(n,tt)),column:Gt(e.column,0,r)}}function Yo(e,t){return e.row===t.row&&e.column===t.column}function Um(e,t,n){const r=Math.min(t,n),a=Math.max(t,n);return e.slice(r,a+1)}function dr(e,t){const n=new Set(e),r=[];for(const a of n)t.includes(a)||r.push(a);for(const a of t)n.has(a)&&r.push(a);return r}function Vm(e){const{ids:t,index:n,selected:r,anchor:a,modifiers:i,mode:s}=e,c=t[n];if(s==="none"||c===void 0)return{selected:[...r],anchor:a};if(s==="single")return{selected:[c],anchor:c};const m=a??(r.length===1?r[0]:void 0),d=m===void 0?-1:t.indexOf(m);if(i.extend&&d!==-1){const f=Um(t,d,n);return{selected:i.toggle?dr([...r,...f],t):f,anchor:m}}if(i.toggle){const f=new Set(r);return f.has(c)?f.delete(c):f.add(c),{selected:dr(f,t),anchor:c}}return{selected:[c],anchor:c}}function Gm(e,t,n){return n!=="multiple"?{selected:[...t],anchor:void 0}:{selected:dr([...t,...e],e),anchor:e[0]}}function On(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 Ra(e){return e==null?!0:typeof e=="number"?!Number.isFinite(e):e instanceof Date&&Number.isNaN(e.getTime())}function qm(e,t){return e===t?0:e?1:-1}function Wm(e,t,n){const r=Ra(e),a=Ra(t);return r||a?r&&a?0:r?-1:1:typeof e=="number"&&typeof t=="number"?e-t:typeof e=="boolean"&&typeof t=="boolean"?qm(e,t):e instanceof Date&&t instanceof Date?e.getTime()-t.getTime():n.compare(String(e),String(t))}const Km=mt.tableFeatures({columnFilteringFeature:mt.columnFilteringFeature,columnOrderingFeature:mt.columnOrderingFeature,columnVisibilityFeature:mt.columnVisibilityFeature,filteredRowModel:mt.createFilteredRowModel(),globalFilteringFeature:mt.globalFilteringFeature,rowSelectionFeature:mt.rowSelectionFeature,rowSortingFeature:mt.rowSortingFeature,sortedRowModel:mt.createSortedRowModel()}),Ym=320,Xm=8,La=40,Xo=1,Jm="a[href], button, input, select, textarea, [tabindex]",Fn=[],Zm=[],Qm=48,_m=320;function $m(e){const t=getComputedStyle(e),n=`${t.fontSize} ${t.fontFamily}`;return[`${t.fontWeight} ${n}`,`600 ${n}`]}function ep(e,t,n,r){const a=document.createElement("div");a.style.cssText="position: absolute; top: 0; left: 0; visibility: hidden; white-space: pre;";const i=[],s=(c,m,d)=>{for(const f of m)for(const h of f)if(!c.has(h)){c.set(h,0);const p=document.createElement("span");p.textContent=h,d&&(p.style.fontWeight="600",p.style.letterSpacing="normal"),a.append(p),i.push([c,h,p])}};if(s(t.cell,n,!1),s(t.header,r,!0),i.length===0)return!0;if(e.getClientRects().length===0){for(const[c,m]of i)c.delete(m);return!1}e.append(a);for(const[c,m,d]of i)c.set(m,d.getBoundingClientRect().width);return a.remove(),!0}function Pa(e,t){let n=0;for(const r of e)n+=t.get(r)??0;return n}function Ma(e){return e==="asc"?"ascending":e==="desc"?"descending":"none"}function Oa(e,t){return e==null||e===!1?t:o.jsx(u.Tooltip,{label:e,children:t})}function tp(e,t,n,r){let a=e?8:32;return t&&(a+=4+D.CHEVRON),n&&(a+=32-(e?4:16)),r&&(a+=20),a}function op(e){return e.altKey&&e.key==="ArrowDown"||e.shiftKey&&e.key==="F10"||e.key==="ContextMenu"}function Jo(e){return e!=null}function np(e,t){var Gr,qr;Ue();const{data:n,rowCount:r,rowOffset:a=0,onRangeChange:i,columns:s,getRowId:c,rowLabel:m,label:d,labelledBy:f,labels:h,height:p=Ym,rowHeight:g=La,headerHeight:S=La,overscan:N=Xm,selectionMode:x="multiple",selectedIds:b,defaultSelectedIds:v,onSelectionChange:T,sorting:A,defaultSorting:y,onSortingChange:k,hiddenColumns:j,defaultHiddenColumns:I,onHiddenColumnsChange:B,columnOrder:C,defaultColumnOrder:V,onColumnOrderChange:H,filter:M,defaultFilter:Y,onFilterChange:P,searchable:F=!1,onRowClick:$,onRowDoubleClick:q,onRowContextMenu:z,onFocus:G,onBlur:_,empty:ae,density:me="default",columnSizing:we="fixed",formatNumber:te}=e,de=Dm(h),J=kt(),ge=wo(),O=yt(),ie=Ui({numeric:!0,sensitivity:"variant"}),pe=l.useMemo(()=>new Intl.DateTimeFormat(ge),[ge]),ve=l.useMemo(()=>({number:te===void 0?O:{format:te},date:pe,yes:de.yes,no:de.no}),[O,te,pe,de.yes,de.no]),[ue,L]=ye.useUncontrolled({value:b,defaultValue:v,finalValue:Fn,onChange:(E,R)=>{T==null||T([...E],R)}}),[K,Z]=ye.useUncontrolled({value:A,defaultValue:y,finalValue:Zm,onChange:(E,R)=>{k==null||k([...E],R)}}),[he,be]=ye.useUncontrolled({value:j,defaultValue:I,finalValue:Fn,onChange:(E,R)=>{B==null||B([...E],R)}}),[Ae,De]=ye.useUncontrolled({value:C,defaultValue:V,finalValue:Fn,onChange:(E,R)=>{H==null||H([...E],R)}}),[Qe,Fe]=ye.useUncontrolled({value:M,defaultValue:Y,finalValue:"",onChange:(E,R)=>{P==null||P(E,R)}}),Re=l.useMemo(()=>{const E=new Map;for(const R of s)E.set(R.id,R);return E},[s]),$e=JSON.stringify(he),Ve=l.useMemo(()=>{const E=new Set(he);return s.filter(R=>(R.filterable??!0)&&!E.has(R.id)).map(R=>R.id)},[s,$e]),Ye=l.useMemo(()=>{const E=Qe.trim();if(E!=="")return{query:E.toLocaleLowerCase(ge),columnIds:Ve}},[Qe,ge,Ve]),ft=l.useMemo(()=>[...n],[n]),st=l.useMemo(()=>s.map(E=>({id:E.id,accessorFn:R=>E.value(R),enableSorting:E.sortable??!0,enableHiding:E.hideable??!0,enableGlobalFilter:E.filterable??!0,sortDescFirst:E.descendingFirst,sortFn:(R,X)=>Wm(E.value(R.original),E.value(X.original),ie)})),[s,ie]),ot=JSON.stringify(K),ct=l.useMemo(()=>K.map(E=>({id:E.id,desc:E.desc})),[ot]),ne=l.useMemo(()=>{const E={};for(const R of he)E[R]=!1;return E},[he]),Be=l.useMemo(()=>{const E={};for(const R of ue)E[R]=!0;return E},[ue]),Xe=l.useMemo(()=>[...Ae],[Ae]),Je=l.useRef(void 0),bt=r!==void 0,lt=bt?a:0,ce=mt.useTable({features:Km,data:ft,columns:st,getRowId:c,manualSorting:bt,manualFiltering:bt,enableRowSelection:x!=="none",enableMultiRowSelection:x==="multiple",getColumnCanGlobalFilter:()=>!0,globalFilterFn:(E,R,X)=>{const re=X;if(!(re!=null&&re.columnIds.includes(R)))return!1;const ke=Re.get(R);return ke===void 0?!1:On(ke.value(E.original),ve).toLocaleLowerCase(ge).includes(re.query)},state:{sorting:ct,columnVisibility:ne,columnOrder:Xe,rowSelection:Be,globalFilter:Ye},onSortingChange:E=>{const R=mt.functionalUpdate(E,ct);Z(R.map(X=>({id:X.id,desc:X.desc})),Je.current)},onColumnVisibilityChange:E=>{const R=mt.functionalUpdate(E,ne);be(Object.keys(R).filter(X=>!R[X]))},onColumnOrderChange:E=>{De(mt.functionalUpdate(E,Xe))},onRowSelectionChange:E=>{L(Object.keys(mt.functionalUpdate(E,Be)))}}),{rows:Ee}=ce.getRowModel(),se=ce.getVisibleLeafColumns(),Ne=E=>{var R;return((R=Re.get(E))==null?void 0:R.pinned)==="start"},Te=[...se.filter(E=>Ne(E.id)),...se.filter(E=>!Ne(E.id))],Pe=r??Ee.length,Ge=Te.length,qe=l.useMemo(()=>Ee.map(E=>E.id),[Ee]),We=l.useRef(null),Ke=l.useRef(null),dt=ii.useVirtualizer({count:Pe,getScrollElement:()=>We.current,estimateSize:()=>g,gap:Xo,getItemKey:E=>qe[E-lt]??E,overscan:N}),St=dt.getVirtualItems(),Ot=((Gr=St[0])==null?void 0:Gr.index)??0,Yt=(((qr=St.at(-1))==null?void 0:qr.index)??-1)+1;l.useEffect(()=>{i==null||i(Ot,Yt)},[Ot,Yt]);const[Ft,Ze]=l.useState({row:tt,column:0}),[Xt,It]=l.useState(null),w=l.useMemo(()=>Hm(Ft,{rowCount:Pe,columnCount:Ge}),[Ft,Pe,Ge]),U=l.useRef(!1),oe=l.useRef(void 0),ee=E=>{E.row>=0&&dt.scrollToIndex(E.row),U.current=!0,Ze(R=>Yo(R,E)?R:E)};l.useLayoutEffect(()=>{var X;if(!U.current)return;const E=`[data-grid-row="${w.row}"][data-grid-column="${w.column}"]`,R=(X=Ke.current)==null?void 0:X.querySelector(E);R instanceof HTMLElement&&(U.current=!1,R.focus())}),l.useLayoutEffect(()=>{const E=Ke.current;if(E!==null)for(const R of E.querySelectorAll("td[data-grid-row]")){const X=R.tabIndex===0;for(const re of R.querySelectorAll(Jm))if(!X&&re.tabIndex>=0)re.dataset.cmDtParked=re.getAttribute("tabindex")??"",re.tabIndex=-1;else if(X&&re.dataset.cmDtParked!==void 0){const ke=re.dataset.cmDtParked;delete re.dataset.cmDtParked,ke===""?re.removeAttribute("tabindex"):re.setAttribute("tabindex",ke)}}});const xe=(E,R)=>{oe.current=E.anchor,!(E.selected.length===ue.length&&E.selected.every((re,ke)=>re===ue[ke]))&&L(E.selected,R)},fe=(E,R,X)=>{xe(Vm({ids:qe,index:E-lt,selected:ue,anchor:oe.current,modifiers:R,mode:x}),X)},He=(E,R,X)=>{const re=Ee[E-lt];re!==void 0&&($==null||$(re.original,R,X))},je=(E,R)=>{!E.getCanSort()||"button"in R&&R.button!==0||(Je.current=R,E.toggleSorting(void 0,R.shiftKey&&E.getCanMultiSort()),Je.current=void 0)},xt=()=>{var X;const E=((X=We.current)==null?void 0:X.clientHeight)??0,R=Math.floor((E===0?g*10:E)/g);return Math.max(1,R-1)},lo=E=>{if(E.key===" "){fe(w.row,{extend:E.shiftKey,toggle:!E.shiftKey},E);return}const R=qe[w.row-lt];R!==void 0&&ue.includes(R)&&ue.length>1||fe(w.row,{extend:!1,toggle:!1},E),He(w.row,E,{source:"keyboard"})},Mo=E=>{var Se,nt;if(!(E.target instanceof Node)||((Se=Ke.current)==null?void 0:Se.contains(E.target))!==!0)return;const R=w.row===tt?Te[w.column]:void 0;if(R!==void 0&&((nt=Re.get(R.id))==null?void 0:nt.menu)!==void 0&&op(E)){E.preventDefault(),E.stopPropagation(),It(R.id);return}const X=x==="multiple",re=E.ctrlKey||E.metaKey;if(X&&re&&(E.key==="a"||E.key==="A")){E.preventDefault(),xe(Gm(qe,ue,x),E);return}if(w.row>=0&&(E.key===" "||E.key==="Enter")){E.preventDefault(),lo(E);return}const ke=Bm(w,E.key,{rowCount:Pe,columnCount:Ge,pageSize:xt()},J,{jumpToEnd:re});ke!==void 0&&(E.preventDefault(),ee(ke),X&&E.shiftKey&&ke.row>=0&&ke.row!==w.row&&fe(ke.row,{extend:!0,toggle:!1},E))};l.useImperativeHandle(t,()=>({scrollToRow:E=>{E>=0&&E<Pe&&dt.scrollToIndex(E)},setColumnHidden:(E,R)=>{var X;(X=ce.getColumn(E))==null||X.toggleVisibility(!R)},moveColumn:(E,R)=>{const X=ce.getAllLeafColumns().map(ke=>ke.id),re=X.indexOf(E);re!==-1&&(X.splice(re,1),X.splice(Gt(R,0,X.length),0,E),ce.setColumnOrder(X))},clearSelection:()=>{oe.current=void 0,L([])}}),[ce,dt,Pe,L]);const[Jt,Oo]=l.useState(null);l.useLayoutEffect(()=>{const E=Ke.current;if(we!=="content"||E===null)return;let R=!0;const X=()=>{R&&Oo({cell:new Map,header:new Map})},re=typeof document.fonts=="object"?document.fonts:void 0;if(re===void 0){X();return}const[ke,Se]=$m(E);return re.check(ke)&&re.check(Se)?X():Promise.all([re.load(ke),re.load(Se)]).finally(X),re.addEventListener("loadingdone",X),()=>{R=!1,re.removeEventListener("loadingdone",X)}},[we]);const Zt=l.useRef(new Map).current,Fo=(E,R)=>{const X=me==="compact",re=Te.flatMap((Se,nt)=>{const et=Re.get(Se.id);return et===void 0||et.width!==void 0?[]:[{column:Se,config:et,index:nt,texts:Ee.map(at=>On(et.value(at.original),ve))}]}),ke=re.flatMap(Se=>Se.texts);if(ep(E,R,ke,re.map(Se=>Se.config.header)))for(const{column:Se,config:nt,index:et,texts:at}of re){let Dt=20;X?Dt=8:et===0&&(Dt=32);const $t=tp(X,Se.getCanSort(),Jo(nt.menu),Jo(nt.icon));let _e=Math.max(Pa(nt.header,R.header)+$t,nt.minWidth??0);for(const $s of at)_e=Math.max(_e,Pa($s,R.cell)+Dt);const Wr=Gt(Math.ceil(_e),Qm,_m);Wr>(Zt.get(Se.id)??0)&&Zt.set(Se.id,Wr)}},Le=l.useRef(null);Jt!==Le.current&&(Zt.clear(),Le.current=Jt),Jt!==null&&Ke.current!==null&&Fo(Ke.current,Jt);const ut=E=>(E==null?void 0:E.width)??Zt.get((E==null?void 0:E.id)??"")??D.FIELD,Qt=(E,R,X)=>{const re=X===!1?-1:E.getSortIndex();return o.jsxs(o.Fragment,{children:[(R==null?void 0:R.icon)!==void 0&&R.icon!==null&&o.jsx("span",{className:"cm-dt-header-icon","data-testid":"data-table-header-icon",...R.iconLabel===void 0?{"aria-hidden":!0}:{role:"img","aria-label":R.iconLabel},children:R.icon}),o.jsx(u.Box,{component:"span","data-testid":"data-table-header-label",dir:"auto","data-cut-tip":(R==null?void 0:R.headerTooltip)===void 0?(R==null?void 0:R.header)??E.id:void 0,style:{flex:"0 1 auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:(R==null?void 0:R.header)??E.id}),X!==!1&&o.jsx("span",{className:"cm-sort-caret","data-testid":"data-table-sort-glyph","data-direction":Ma(X),"aria-hidden":"true",children:o.jsx(Ce,{name:"caretDown",size:D.CHEVRON})}),ct.length>1&&re>=0&&o.jsx(u.Box,{component:"span","data-testid":"data-table-sort-priority","aria-hidden":"true",className:"cm-dt-sort-priority",children:O.format(re+1)})]})},_t=(E,R,X,re,ke,Se,nt)=>{const et=E.getIsSorted();return o.jsx(u.UnstyledButton,{type:"button","data-testid":"data-table-sort-button","aria-label":et===!1?void 0:`${(R==null?void 0:R.header)??E.id}, ${(de.sortedBy??Vt.sortedBy)(et==="desc")}`,"data-grid-row":tt,"data-grid-column":X,tabIndex:re,onClick:at=>{Ze({row:tt,column:X}),je(E,at)},onFocus:()=>{Ze(at=>Yo(at,{row:tt,column:X})?at:{row:tt,column:X})},className:"cm-dt-sort","data-align":(R==null?void 0:R.align)==="end"?"end":void 0,"data-with-menu":ke?"":void 0,"data-with-end":Se?"":void 0,children:nt})},vn=(E,R,X)=>o.jsxs(u.Menu,{opened:Xt===E.id,onChange:re=>{It(re?E.id:null);const ke=document.activeElement;!re&&(ke===null||ke===document.body||ke.closest('[role="menu"]')!==null)&&ee({row:tt,column:X})},returnFocus:!1,position:"bottom-end",children:[o.jsx(u.Menu.Target,{children:o.jsx(u.Tooltip,{label:(de.columnMenu??Vt.columnMenu)((R==null?void 0:R.header)??E.id),children:o.jsx(u.ActionIcon,{variant:"subtle",size:D.CONTROL_HEIGHT,tabIndex:-1,"aria-label":(de.columnMenu??Vt.columnMenu)((R==null?void 0:R.header)??E.id),"data-testid":"data-table-header-menu",className:"cm-dt-header-menu",children:o.jsx(Ce,{name:"more"})})})}),o.jsx(u.Menu.Dropdown,{children:R==null?void 0:R.menu})]}),[Et,Hr]=l.useState(null),wn=l.useRef(void 0);l.useEffect(()=>()=>{clearTimeout(wn.current)},[]);const yn=()=>{clearTimeout(wn.current),Hr(null)},Xs=E=>{const R=E.target instanceof Element?E.target.closest("[data-cut-tip]"):null;R!==null&&R===(Et==null?void 0:Et.target)||(yn(),R instanceof HTMLElement&&R.scrollWidth>R.clientWidth&&(wn.current=setTimeout(()=>{Hr({target:R,text:R.dataset.cutTip||(R.textContent??"")})},rn)))},Js=Te.reduce((E,R)=>E+ut(Re.get(R.id)),0),kn=[];{let E=Xo;for(const R of Te){if(!Ne(R.id))break;kn.push(E),E+=ut(Re.get(R.id))+Xo}}const Ur=(E,R)=>{const X=ut(E),re=R<kn.length?{position:"sticky",insetInlineStart:kn[R],zIndex:1}:{};return{flex:R===Ge-1?`1 1 ${String(X)}px`:`0 0 ${String(X)}px`,justifyContent:(E==null?void 0:E.align)==="end"?"flex-end":"flex-start",...re}},Sn=x!=="none",Do=r??n.length,En=de.rowsShown(O.format(Pe),O.format(Do)),yo=Sn&&ue.length>0?`${En}, ${de.rowsSelected(O.format(ue.length))}`:En,[Zs,Qs]=l.useState(""),Vr=l.useRef(yo);l.useEffect(()=>{yo!==Vr.current&&(Vr.current=yo,Do>0&&Qs(yo))},[yo,Do]);const _s=()=>ae!==void 0?ae:Do===0?de.noRows:de.noMatchingRows;return o.jsxs(u.Box,{"data-testid":"data-table",dir:it(J)?"rtl":void 0,onFocus:G,onBlur:_,className:me==="compact"?"cm-dt cm-dt-compact":"cm-dt",children:[F&&o.jsxs(u.Box,{style:{display:"flex",alignItems:"center",gap:D.GUTTER},children:[o.jsx(u.TextInput,{"data-testid":"data-table-search",type:"search","aria-label":de.search,placeholder:de.searchPlaceholder,value:Qe,onChange:E=>{Fe(E.currentTarget.value,E)},rightSection:Qe===""?void 0:o.jsx(u.ActionIcon,{"data-testid":"data-table-search-clear",variant:"subtle",size:D.CONTROL_HEIGHT,"aria-label":de.clearSearch,onClick:E=>{Fe("",E)},children:o.jsx(Ce,{name:"close",size:D.CHEVRON})}),rightSectionPointerEvents:"all",style:{flex:"1 1 auto",minWidth:0}}),o.jsx(u.Box,{component:"span","data-testid":"data-table-count","aria-hidden":"true",dir:"auto",className:"cm-dt-count",children:En})]}),o.jsxs(u.Box,{ref:We,"data-testid":"data-table-viewport",className:"cm-dt-viewport",style:{height:p},onPointerOver:Xs,onPointerLeave:yn,onScroll:yn,children:[Et!==null&&o.jsx(u.Tooltip,{label:Et.text,opened:!0,target:Et.target}),o.jsxs(u.Table,{ref:Ke,role:"grid","aria-label":f===void 0&&d===void 0?de.dataTable:d,"aria-labelledby":f,"aria-rowcount":Pe+1,"aria-colcount":Ge,"aria-multiselectable":x==="multiple"?!0:void 0,onKeyDown:Mo,stickyHeader:!0,tabularNums:!0,withRowBorders:!1,horizontalSpacing:0,verticalSpacing:0,className:"cm-dt-table",style:{minWidth:Js+Xo*(Ge+1),userSelect:"none"},children:[o.jsx(u.Table.Thead,{className:"cm-dt-head",children:o.jsx(u.Table.Tr,{role:"row","aria-rowindex":1,className:"cm-dt-row",style:{height:S},children:Te.map((E,R)=>{const X=Re.get(E.id),re=E.getCanSort(),ke=E.getIsSorted(),nt=w.row===tt&&w.column===R?0:-1,et=Jo(X==null?void 0:X.menu),at=Jo(X==null?void 0:X.headerEnd),Dt=Qt(E,X,ke),$t=o.jsxs(u.Table.Th,{scope:"col","data-testid":"data-table-header","aria-colindex":R+1,"aria-sort":re?Ma(ke):void 0,...re?{}:{"data-grid-row":tt,"data-grid-column":R,tabIndex:nt},className:"cm-dt-cell cm-dt-header","data-with-menu":et&&!re?"":void 0,onContextMenu:et?_e=>{_e.preventDefault(),It(E.id)}:void 0,"data-with-end":at&&!re?"":void 0,onFocus:re?void 0:()=>{Ze(_e=>Yo(_e,{row:tt,column:R})?_e:{row:tt,column:R})},style:{...Ur(X,R),gap:D.GUTTER/2},children:[re?Oa(X==null?void 0:X.headerTooltip,_t(E,X,R,nt,et,at,Dt)):Dt,at&&o.jsx("span",{className:"cm-dt-header-end","data-testid":"data-table-header-end","data-with-menu":et?"":void 0,children:X==null?void 0:X.headerEnd}),et&&vn(E,X,R)]},E.id);return re?$t:o.jsx(l.Fragment,{children:Oa(X==null?void 0:X.headerTooltip,$t)},E.id)})})}),o.jsx(u.Table.Tbody,{style:{display:"block",position:"relative",height:dt.getTotalSize()},children:St.map(E=>{const R=Ee[E.index-lt];if(R===void 0)return null;const X=ue.includes(R.id);return o.jsx(u.Table.Tr,{role:"row","data-testid":"data-table-row","data-index":E.index,"data-selected":X?"true":void 0,"aria-rowindex":E.index+2,"aria-label":m==null?void 0:m(R.original),"aria-selected":Sn?X:void 0,onDoubleClick:re=>{q==null||q(R.original,re)},onContextMenu:re=>{z==null||z(R.original,re)},className:"cm-dt-row",style:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:g,transform:`translateY(${String(E.start)}px)`},children:Te.map((re,ke)=>{var $t;const Se=Re.get(re.id),nt=w.row===E.index&&w.column===ke,et=Se==null?void 0:Se.value(R.original),at=On(et,ve),Dt=(Se==null?void 0:Se.cell)===void 0?o.jsx("span",{className:"cm-dt-text",dir:"auto","data-cut-tip":"",children:at===""?o.jsx(u.VisuallyHidden,{component:"span",children:de.emptyCell??Vt.emptyCell}):at}):Se.cell(R.original);return o.jsx(u.Table.Td,{role:(Se==null?void 0:Se.rowHeader)===!0?"rowheader":"gridcell","aria-selected":Sn?X:void 0,"data-testid":"data-table-cell","data-tone":($t=Se==null?void 0:Se.cellTone)==null?void 0:$t.call(Se,R.original),"aria-colindex":ke+1,"data-grid-row":E.index,"data-grid-column":ke,tabIndex:nt?0:-1,className:"cm-dt-cell",onFocus:()=>{Ze(_e=>Yo(_e,{row:E.index,column:ke})?_e:{row:E.index,column:ke})},onClick:_e=>{Ze({row:E.index,column:ke}),fe(E.index,{extend:_e.shiftKey,toggle:_e.metaKey||_e.ctrlKey},_e),He(E.index,_e,ao(_e))},style:Ur(Se,ke),children:Dt},re.id)})},R.id)})})]}),Pe===0&&o.jsx(u.Box,{"data-testid":"data-table-empty",className:"cm-dt-empty",children:_s()})]}),o.jsx(u.VisuallyHidden,{role:"status","aria-live":"polite",dir:"auto","data-testid":"data-table-status",children:Zs})]})}const rp=l.forwardRef(np),Fa=12;function ap({kind:e}){return o.jsx("svg",{className:"cm-entity-icon",width:Fa,height:Fa,viewBox:"0 0 12 12","aria-hidden":"true",children:e==="node"?o.jsx("circle",{cx:"6",cy:"6",r:"4",fill:"currentColor"}):o.jsx("line",{x1:"1.5",y1:"10.5",x2:"10.5",y2:"1.5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})})}function ip({kind:e,children:t,onClick:n,className:r,style:a}){const i=Me(),s=["cm-entity-chip",r].filter(Boolean).join(" "),c=o.jsxs(o.Fragment,{children:[o.jsx(ap,{kind:e}),o.jsxs("span",{className:"cm-visually-hidden",children:[e==="node"?i.entityNode:i.entityEdge," "]}),o.jsx("span",{className:"cm-entity-text",children:t})]});return n===void 0?o.jsx("span",{className:s,style:a,"data-kind":e,children:c}):o.jsx("button",{type:"button",className:`${s} cm-focus-outside`,style:a,"data-kind":e,onClick:m=>{n(m)},children:c})}function sp(){return Array.from(crypto.getRandomValues(new Uint8Array(4)),e=>e.toString(16).padStart(2,"0")).join("")}function Io(e,t){return{id:sp(),offset:e,color:t}}function ls(){return[Io(0,"#6366F1"),Io(1,"#06B6D4")]}const cp=2,lp=5,gt=100,Eo=360,dp=90,ds=10,up={flip:"Flip gradient",rotate:"Rotate gradient 90 degrees"};function Dn(e){return Math.min(gt,Math.max(0,e))}function ur({value:e,format:t,normalize:n,onCommit:r,className:a,ariaLabel:i,role:s,min:c,max:m,testId:d,style:f}){const h=zo(),[p,g]=l.useState(t(e));l.useEffect(()=>{g(t(e))},[e,t]);const S=(x,b)=>{const v=n(x);g(t(v)),v!==e&&r(v,b)},N=x=>{const b=h(p);if(Number.isNaN(b)){g(t(e));return}S(b,x)};return o.jsx("input",{className:a,type:"text",inputMode:"decimal",autoComplete:"off",spellCheck:!1,role:s,"aria-label":i,"aria-valuenow":s===void 0?void 0:e,"aria-valuemin":s===void 0?void 0:c,"aria-valuemax":s===void 0?void 0:m,"aria-valuetext":s===void 0?void 0:t(e),"data-testid":d,style:f,value:p,onChange:x=>{g(x.currentTarget.value)},onFocus:x=>{x.currentTarget.select()},onBlur:x=>{N(x)},onKeyDown:x=>{if(x.key==="Enter")N(x);else if(x.key==="Escape")Lo(x,()=>{g(t(e))},p!==t(e));else if(x.key==="ArrowUp"||x.key==="ArrowDown"){x.preventDefault();const b=(x.shiftKey?ds:1)*(x.key==="ArrowUp"?1:-1);S(e+b,x)}}})}function mp({color:e,onCommit:t,ariaLabel:n}){const r=e.replace("#","").toUpperCase(),[a,i]=l.useState(r);l.useEffect(()=>{i(r)},[r]);const s=c=>{const m=Lr(a);if(m===void 0||m===`#${r}`){i(r);return}t(m,c)};return o.jsx("input",{className:"cm-paint-input cm-paint-hex",type:"text",autoComplete:"off",spellCheck:!1,"aria-label":n,"data-testid":"gradient-editor-stop-hex",value:a,onChange:c=>{i(c.currentTarget.value.toUpperCase())},onFocus:c=>{c.currentTarget.select()},onBlur:c=>{s(c)},onKeyDown:c=>{c.key==="Enter"?s(c):c.key==="Escape"&&Lo(c,()=>{i(r)},a!==r)}})}function us(){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 pp(){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 hp({stops:e,defaultStops:t,direction:n,defaultDirection:r=0,showDirection:a=!0,onChange:i,onChangeStart:s,onChangeEnd:c,minStops:m=cp,maxStops:d=lp,labels:f}){var ue;const h=Me(),p={...up,...f},g=yt({maximumFractionDigits:0}),S=l.useId(),N=l.useId(),x=l.useMemo(()=>ls(),[]),[b,v]=ye.useUncontrolled({value:e,defaultValue:t,finalValue:x,onChange:(L,K)=>{i==null||i(L,T,K)}}),[T,A]=ye.useUncontrolled({value:n,defaultValue:r,finalValue:0,onChange:(L,K)=>{i==null||i(b,L,K)}}),[y,k]=l.useState((ue=b[0])==null?void 0:ue.id),j=b.find(L=>L.id===y)??b[0],I=l.useRef(b);I.current=b;const B=l.useRef(null),C=l.useRef(null),V=l.useRef(!1),H=l.useRef(null);l.useEffect(()=>{var Z;const L=H.current;if(H.current=null,L===null)return;const K=(Z=B.current)==null?void 0:Z.querySelectorAll(".cm-gradient-handle");K!==void 0&&K.length>0&&K[Math.min(L,K.length-1)].focus()},[b]);const M=L=>h.percent(g.format(L)),Y=L=>h.degrees(g.format(L)),P=(L,K)=>I.current.map((Z,he)=>he===L?{...Z,offset:Dn(K)/gt}:Z),F=(L,K)=>{s==null||s(),v(L,K),I.current=L,c==null||c(L,T)},$=L=>{if(b.length>=d)return;const K=b[b.length-1],Z=K===void 0?.5:(K.offset+1)/2,he=Io(Z,Ki),be=[...b,he].sort((Ae,De)=>Ae.offset-De.offset);k(he.id),v(be,L)},q=(L,K)=>{b.length<=m||v(b.filter((Z,he)=>he!==L),K)},z=L=>{if(b.length>=d)return;const K=L.currentTarget.getBoundingClientRect();if(K.width===0)return;const Z=Math.round(Dn((L.clientX-K.left)/K.width*gt))/gt,he=[...b].sort((Re,$e)=>Re.offset-$e.offset),be=he.find(Re=>Re.offset>=Z)??he[he.length-1],Ae=[...he].reverse().find(Re=>Re.offset<=Z)??he[0],De=be.offset-Ae.offset,Qe=De>0?gi(Ae.color,be.color,(Z-Ae.offset)/De):Ae.color,Fe=Io(Z,Qe);k(Fe.id),v([...b,Fe].sort((Re,$e)=>Re.offset-$e.offset),L)},G=(L,K)=>{k(b[L].id),!(K.button>0)&&(K.currentTarget.focus(),"setPointerCapture"in K.currentTarget&&K.currentTarget.setPointerCapture(K.pointerId),C.current={index:L,pointerId:K.pointerId},so(),s==null||s(K))},_=L=>{const K=B.current;if(C.current===null||K===null)return;const Z=K.getBoundingClientRect();if(Z.width===0)return;const he=Math.round((L.clientX-Z.left)/Z.width*gt),be=P(C.current.index,he);be[C.current.index].offset!==I.current[C.current.index].offset&&(I.current=be,v(be))},ae=()=>{C.current!==null&&(C.current=null,c==null||c(I.current,T))},me=(L,K)=>{const Z=b[L].offset*gt,he=K.shiftKey?ds:1,be={ArrowRight:Z+he,ArrowUp:Z+he,ArrowLeft:Z-he,ArrowDown:Z-he,Home:0,End:gt};if(K.key==="Delete"||K.key==="Backspace"){K.preventDefault(),b.length>m&&(H.current=L),q(L,K);return}if(!(K.key in be))return;K.preventDefault();const Ae=P(L,Math.round(be[K.key]));Ae[L].offset!==b[L].offset&&F(Ae,K)},we=(L,K)=>I.current.map(Z=>Z.id===L?{...Z,color:K}:Z),te=L=>{if(j===void 0)return;V.current||(V.current=!0,s==null||s());const K=we(j.id,L);I.current=K,v(K)},de=()=>{V.current&&(V.current=!1,c==null||c(I.current,T))},J=L=>{const K=b.map(Z=>({...Z,offset:1-Z.offset})).reverse();v(K,L)},ge=L=>{A((T+dp)%Eo,L)},O=(L,K)=>{s==null||s(),A(L,K),c==null||c(b,L)},ie=[...b].sort((L,K)=>L.offset-K.offset).map(L=>`${L.color} ${L.offset*gt}%`).join(", "),pe=b.length>=d,ve=b.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":N,children:[o.jsx("span",{id:N,className:"cm-visually-hidden","data-testid":"gradient-editor-direction-heading",children:h.direction}),o.jsx(ur,{className:"cm-field cm-gradient-angle",role:"spinbutton",min:0,max:Eo,ariaLabel:h.gradientDirection,testId:"gradient-editor-direction-input",value:T,format:Y,normalize:L=>(Math.round(L)%Eo+Eo)%Eo,onCommit:O}),o.jsx(u.ActionIcon,{className:"cm-gradient-end",variant:"subtle",size:D.TRAIL,"aria-label":p.flip,"data-testid":"gradient-editor-flip",onClick:J,children:o.jsx(us,{})}),o.jsx(u.ActionIcon,{variant:"subtle",size:D.TRAIL,"aria-label":p.rotate,"data-testid":"gradient-editor-rotate",onClick:ge,children:o.jsx(pp,{})})]}),o.jsxs("fieldset",{className:"cm-fieldset","aria-labelledby":S,children:[o.jsxs("div",{ref:B,className:"cm-gradient-area","data-testid":"gradient-editor-bar-area",children:[b.map((L,K)=>o.jsx("div",{className:"cm-gradient-handle cm-focus-outside","data-testid":"gradient-editor-handle","data-selected":L.id===(j==null?void 0:j.id)||void 0,role:"slider",tabIndex:0,"aria-label":h.colorStopPosition(g.format(K+1)),"aria-valuemin":0,"aria-valuemax":gt,"aria-valuenow":Math.round(L.offset*gt),"aria-valuetext":M(Math.round(L.offset*gt)),style:{"--cm-offset":L.offset},onFocus:()=>{k(L.id)},onPointerDown:Z=>{G(K,Z)},onPointerMove:_,onPointerUp:ae,onPointerCancel:ae,onKeyDown:Z=>{me(K,Z)},children:o.jsx("span",{className:"cm-gradient-handle-chit",style:{"--cm-chit-color":L.color}})},L.id)),o.jsx("div",{className:"cm-gradient-bar","aria-hidden":!0,"data-testid":"gradient-editor-bar",style:{"--cm-gradient":ie},onClick:z})]}),j!==void 0&&o.jsx(Pr,{value:j.color,withAlpha:!1,onChange:te,onChangeEnd:de}),o.jsxs("div",{className:"cm-gradient-header",children:[o.jsx("span",{id:S,"data-testid":"gradient-editor-heading",children:h.colorStops}),o.jsx(u.ActionIcon,{variant:"subtle",size:D.TRAIL,"data-testid":"gradient-editor-add-stop",onClick:$,disabled:pe,"aria-label":h.addColorStop,children:o.jsx(Ce,{name:"plus"})})]}),o.jsx("div",{className:"cm-gradient-stops","data-testid":"gradient-editor-stops",children:b.map((L,K)=>{const Z=g.format(K+1),he=L.id===(j==null?void 0:j.id);return o.jsxs("div",{className:"cm-gradient-row cm-gradient-stop","data-testid":"gradient-editor-stop","data-selected":he||void 0,onPointerDown:()=>{k(L.id)},onFocus:()=>{k(L.id)},children:[o.jsx(ur,{className:"cm-field cm-gradient-position",ariaLabel:h.colorStopPosition(Z),testId:"gradient-editor-stop-position",value:Math.round(L.offset*gt),format:M,normalize:be=>Math.round(Dn(be)),onCommit:(be,Ae)=>{F(P(K,be),Ae)}}),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":h.editColorStop(Z),"aria-pressed":he,onClick:()=>{k(L.id)},children:o.jsx(Nr,{color:L.color,variant:"field"})}),o.jsx(mp,{color:L.color,ariaLabel:h.colorStopColor(Z),onCommit:(be,Ae)=>{F(we(L.id,be),Ae)}})]}),o.jsx(u.ActionIcon,{variant:"subtle",size:D.TRAIL,onClick:be=>{q(K,be)},"data-testid":"gradient-editor-remove-stop",disabled:ve,"aria-label":h.removeColorStop(Z),children:o.jsx(Ce,{name:"minus"})})]},L.id)})})]})]})}function fp({icon:e,label:t,onClick:n,menuLabel:r,children:a,size:i="md",disabled:s,menuProps:c,className:m,...d}){const f=ye.useId(c==null?void 0:c.id),[h,p]=ye.useUncontrolled({value:c==null?void 0:c.opened,defaultValue:c==null?void 0:c.defaultOpened,finalValue:!1,onChange:c==null?void 0:c.onChange});return o.jsxs(u.Box,{"data-testid":"split-button",...d,role:"group","aria-label":t,className:m?`cm-split ${m}`:"cm-split",children:[o.jsx(u.Tooltip,{label:t,children:o.jsx(u.ActionIcon,{className:"cm-split-main",size:i,"aria-label":t,disabled:s,onClick:n,children:e})}),o.jsxs(u.Menu,{position:"bottom-end",...c,id:f,opened:h,onChange:p,children:[o.jsx(u.Menu.Target,{children:o.jsx(u.Tooltip,{label:r,children:o.jsx(u.ActionIcon,{id:`${f}-target`,className:"cm-split-chevron",size:i,"aria-label":r,"aria-haspopup":"menu","aria-expanded":h,"aria-controls":h?`${f}-dropdown`:void 0,disabled:s,children:o.jsx(Ce,{name:"caretDown",size:D.CHEVRON})})})}),o.jsx(u.Menu.Dropdown,{children:a})]})]})}let jo=null;const Da=()=>{jo=null},ms=l.forwardRef(function({checked:t,defaultChecked:n,onChange:r,label:a,tooltip:i,icon:s,checkedIcon:c,variant:m="fill",withTooltip:d=!0,disabled:f,className:h,onPointerDown:p,onPointerEnter:g,onClick:S,...N},x){const[b,v]=ye.useUncontrolled({value:t,defaultValue:n,finalValue:!1,onChange:r}),T=l.useRef(!1),A=I=>{p==null||p(I),!(I.button!==0||f)&&(T.current=!0,I.currentTarget.hasPointerCapture(I.pointerId)&&I.currentTarget.releasePointerCapture(I.pointerId),jo=!b,globalThis.addEventListener("pointerup",Da,{once:!0}),globalThis.addEventListener("pointercancel",Da,{once:!0}),v(!b))},y=I=>{g==null||g(I),!(jo===null||(I.buttons&1)===0||f||b===jo)&&v(jo)},k=I=>{S==null||S(I);const B=T.current&&I.detail>0;T.current=!1,B||v(!b)},j=o.jsx(u.ActionIcon,{"data-testid":"toggle-icon-button",...N,ref:x,variant:"subtle",className:h?`cm-toggle-icon ${h}`:"cm-toggle-icon","aria-label":a,"aria-pressed":b,"data-swap":m==="swap"||void 0,disabled:f,onPointerDown:A,onPointerEnter:y,onClick:k,children:b&&c?c:s});return d?o.jsx(u.Tooltip,{label:i??a,children:j}):j});function ps(e,t){return e!==void 0?e:t===void 0?"off":"polite"}function Kt(e,t){const n=ps(e,t);return n==="off"?{"aria-busy":t}:{"aria-live":n,"aria-atomic":!0,"aria-busy":t}}const bp="button, a[href], input, select, textarea, label, [role]:not([role='presentation']), [tabindex]",xp=new RegExp("(?<=[@/_])|(?<=\\.)(?=\\D)");function gp(e){if(typeof e!="string")return e;const t=e.split(xp);if(t.length<2)return e;let n=0;return t.map(r=>{const a=n;return n+=r.length,o.jsxs(l.Fragment,{children:[a>0&&o.jsx("wbr",{}),r]},a)})}function vp({name:e,value:t,stat:n=!1,icon:r,selected:a=!1,onClick:i,onFocus:s,onBlur:c,trailing:m,description:d}){Ue();const f=l.useId(),h=yt({maximumFractionDigits:20}),p=n?gp(t):t,g=typeof t=="number"?h.format(t):p,S=i!==void 0,N=r!=null,x=t!=null,b=Po(m),v=a?!0:void 0,T=l.useRef(null),A=I=>{i==null||i(I,ao(I))},y=I=>{var C;const B=I.target.closest(bp);!S||B!==null&&I.currentTarget.contains(B)||((C=T.current)==null||C.focus(),i(I,ao(I)))},k=o.jsxs(o.Fragment,{children:[N&&o.jsx("span",{className:"cm-data-row-icon","data-testid":"data-row-icon",children:r}),o.jsx(ro,{className:"cm-data-row-name",testId:"data-row-name",id:n?f:void 0,name:e}),x&&o.jsx(ro,{self:!0,className:"cm-data-row-value",testId:"data-row-value",name:g})]}),j=d===void 0?{}:{"aria-description":d};return o.jsxs("div",{"data-testid":"data-row",className:"cm-data-row",role:n?"group":void 0,"aria-labelledby":n?f:void 0,"data-stat":n?"":void 0,"data-selected":a?"true":void 0,"data-interactive":S?"":void 0,"data-trailing":b?"":void 0,children:[S?o.jsx("button",{type:"button",className:"cm-data-row-body","data-testid":"data-row-button",ref:T,"aria-current":v,...j,onClick:A,onFocus:s,onBlur:c,children:k}):o.jsx("div",{className:"cm-data-row-body","data-testid":"data-row-body","aria-current":v,onFocus:s,onBlur:c,children:k}),b&&o.jsx("div",{role:"presentation",style:{display:"contents"},onClick:y,children:o.jsx(Nt,{children:m})})]})}function wp({label:e,unit:t,sortDirection:n,defaultSortDirection:r,onSortChange:a,sortPriority:i}){Ue();const[s,c]=ye.useUncontrolled({value:n,defaultValue:r,finalValue:"none",onChange:a}),m=yt(),d=a!==void 0,f=s!=="none",h=b=>{c(s==="ascending"?"descending":"ascending",b)},p=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}),i!==void 0&&f&&o.jsx("span",{"aria-hidden":"true",style:{flex:"0 0 auto",display:"flex"},children:o.jsx(Mr,{children:m.format(i)})}),f&&o.jsx("span",{className:"cm-sort-caret","data-testid":"data-row-header-sort-glyph","data-direction":s,children:o.jsx(Ce,{name:"caretDown",size:D.CHEVRON})})]}),g=l.useRef(null),[S,N]=l.useState(!1);l.useLayoutEffect(()=>{var v;const b=(v=g.current)==null?void 0:v.parentElement;N((b==null?void 0:b.getAttribute("role"))==="row"||(b==null?void 0:b.tagName)==="TR")},[]);const x=S&&(d||f);return o.jsx("div",{ref:g,"data-testid":"data-row-header",className:"cm-data-row-header","data-sorted":f?"":void 0,role:x?"columnheader":void 0,"aria-sort":x?s:void 0,children:d?o.jsx("button",{type:"button",className:"cm-data-row-header-sort","data-testid":"data-row-header-sort",onClick:h,children:p}):p})}function Mr({children:e}){return Ue(),o.jsx("span",{className:"cm-rank-chip","data-testid":"rank-chip",children:e})}function hs(e,t){e!==null&&e.querySelectorAll('[role="slider"]').forEach((n,r)=>{const i=typeof t=="function"?t(r===0?0:1):t,s=i==null?void 0:i["aria-valuetext"];typeof s=="string"||typeof s=="number"?n.setAttribute("aria-valuetext",String(s)):n.removeAttribute("aria-valuetext")})}const fs=l.forwardRef(function(t,n){const r=l.useRef(null),a=ye.useMergedRef(n,r);return l.useLayoutEffect(()=>{hs(r.current,t.thumbProps)}),o.jsx(u.RangeSlider,{...t,ref:a})}),yp=l.forwardRef(function(t,n){const r=l.useRef(null),a=ye.useMergedRef(n,r);return l.useLayoutEffect(()=>{hs(r.current,t.thumbProps)}),o.jsx(u.Slider,{...t,ref:a})}),kp=3,bs=16;function Ba(e,t,n){const r=Math.max(n.min-e[0],Math.min(n.max-e[1],t));return[e[0]+r,e[1]+r]}function xo(e,t){return t.max===t.min?0:(e-t.min)/(t.max-t.min)*100}function Sp({brush:e,plotHeight:t}){var f;const[n,r]=l.useState(null),a=typeof t=="number"?`${String(t)}px`:t,i=l.useRef(null),s=n??e.value,c=xo(s[0],e),m=xo(s[1],e),d=h=>{var p;r(h),(p=e.onChange)==null||p.call(e,h)};return o.jsxs(u.Box,{"data-testid":"histogram-brush",style:{position:"relative",height:bs},children:[o.jsx(u.Box,{"data-testid":"histogram-brush-body",role:"slider",tabIndex:0,"aria-label":e.bodyLabel,"aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":s[0],"aria-valuetext":(f=e.rangeText)==null?void 0:f.call(e,s),className:"cm-histogram-brush-body",style:{position:"absolute",left:`${String(c)}%`,width:`${String(Math.max(0,m-c))}%`,top:`calc(-1 * ${a})`,bottom:0,zIndex:2,touchAction:"none"},onPointerDown:h=>{var g;if(h.button!==0)return;const p=((g=h.currentTarget.parentElement)==null?void 0:g.getBoundingClientRect().width)??1;h.currentTarget.setPointerCapture(h.pointerId),i.current={x:h.clientX,start:e.value,moved:!1,width:p,at:null}},onPointerMove:h=>{const p=i.current;if(p===null)return;const g=h.clientX-p.x;if(!p.moved&&Math.abs(g)<kp)return;p.moved=!0;const S=Math.round(g/p.width*(e.max-e.min)/e.step)*e.step;p.at=Ba(p.start,S,e),d(p.at)},onPointerUp:()=>{var p;const h=i.current;i.current=null,(h==null?void 0:h.moved)===!0&&h.at!==null&&((p=e.onChangeEnd)==null||p.call(e,h.at)),r(null)},onPointerCancel:()=>{i.current=null,r(null)},onKeyDown:h=>{var N,x;const g={ArrowLeft:-e.step,ArrowDown:-e.step,ArrowRight:e.step,ArrowUp:e.step,PageDown:-10*e.step,PageUp:10*e.step,Home:e.min-e.value[0],End:e.max-e.value[1]}[h.key];if(g===void 0)return;h.preventDefault();const S=Ba(e.value,g,e);(N=e.onChange)==null||N.call(e,S),(x=e.onChangeEnd)==null||x.call(e,S)}}),o.jsx(fs,{className:"cm-histogram-brush-thumbs",min:e.min,max:e.max,step:e.step,minRange:e.step,value:[s[0],s[1]],label:e.thumbLabel===void 0?null:h=>{var p;return(p=e.thumbLabel)==null?void 0:p.call(e,h,0)},thumbFromLabel:e.startLabel,thumbToLabel:e.endLabel,thumbProps:h=>{var p;return{"aria-valuetext":(p=e.valueText)==null?void 0:p.call(e,s[h],h)}},style:{marginInline:"calc(var(--slider-size) * -1)",zIndex:3},onChange:h=>{d(h)},onChangeEnd:h=>{var p;r(null),(p=e.onChangeEnd)==null||p.call(e,h)}})]})}const Co=2,Ep=1,mr=16,Tp=mr+Co,Zo=2,Ha=1,Ap=1,jp=64,xs=4,Ua=xs/2,gs=4,wt=100,Cp=1,vs="var(--cm-icon-secondary)",ln=100;function dn({children:e,end:t,id:n}){return o.jsx(u.Box,{component:"span",id:n,"data-testid":`chart-axis-${t}`,className:"cm-chart-text",style:{flex:"0 0 auto",minWidth:0,whiteSpace:"nowrap"},children:e})}function ws(){return o.jsx(u.Box,{"data-testid":"chart-baseline",style:{flex:"0 0 auto",height:Ep,background:Ie.BORDER}})}function ys({caption:e,rows:t,testId:n}){return o.jsxs(u.VisuallyHidden,{component:"table","data-testid":n,children:[e!==void 0&&o.jsx("caption",{children:e}),o.jsx("tbody",{children:t.map(r=>o.jsxs("tr",{children:[o.jsx("th",{scope:"row",children:r.header}),o.jsx("td",{children:r.value})]},r.id))})]})}function Np(e,t){if(e.length===0)return null;const n=wt/2;if(e.length===1)return`0,${n} ${wt},${n}`;const r=Math.min(...e),i=Math.max(...e)-r,s=e.length-1;return e.map((c,m)=>{const d=om(m/s,wt,t),f=i===0?n:wt-(c-r)/i*wt;return`${d},${f}`}).join(" ")}function ks(){const e=l.useId(),t=`${e}min`,n=`${e}max`;return{min:t,max:n,describedBy:`${t} ${n}`}}function Ss({bins:e,label:t,minLabel:n,maxLabel:r,busy:a,live:i,trailing:s,brush:c,overlay:m}){Ue();const d=yt(),f=ks(),h=e.reduce((k,j)=>Math.max(k,j.count,j.ghost??0,0),0),p=c!==void 0&&e.every(k=>k.from!==void 0&&k.to!==void 0),g=k=>{if(!p||c===void 0)return{flex:"1 1 0",minWidth:0};const j=xo(k.from??0,c),I=xo(k.to??0,c)-j;return{position:"absolute",bottom:0,left:`calc(${String(j)}% + ${String(Zo/2)}px)`,width:`max(1px, calc(${String(I)}% - ${String(Zo)}px))`}},S=(k,j)=>p&&c!==void 0?(xo(k.from??0,c)+xo(k.to??0,c))/2:(j+.5)/Math.max(1,e.length)*ln,N=k=>h===0?0:Math.max(0,k)/h*ln,x=p?{position:"absolute",inset:0}:{position:"absolute",inset:0,display:"flex",alignItems:"flex-end",gap:Zo},b=e.some(k=>k.ghost!==void 0),v=e.some(k=>k.dimmed===!0),T=m===void 0?0:Math.max(0,...m.values),A=e.map((k,j)=>({id:`${k.label}-${String(j)}`,header:k.label,value:d.format(k.count)})),y=k=>{var M;if(c===void 0)return;const j=k.currentTarget.getBoundingClientRect(),I=c.min+(k.clientX-j.left)/Math.max(1,j.width)*(c.max-c.min);if(I>=c.value[0]&&I<c.value[1])return;const B=e.find(Y=>Y.from!==void 0&&Y.to!==void 0&&I>=Y.from&&I<Y.to),C=(B==null?void 0:B.from)??I,V=c.value[1]-c.value[0],H=Math.max(c.min,Math.min(c.max-V,C));(M=c.onChangeEnd)==null||M.call(c,[H,H+V])};return o.jsxs(u.Box,{"data-testid":"histogram-row","aria-busy":a,style:{display:"flex",alignItems:"flex-start",gap:D.TRAIL_GAP,height:c===void 0?D.HISTOGRAM_HEIGHT:D.HISTOGRAM_HEIGHT+bs+Co},children:[o.jsxs(u.Box,{"data-testid":"histogram-chart",...Kt(i,a),style:{flex:"1 1 auto",minWidth:0,height:"100%",display:"flex",flexDirection:"column",gap:Co},children:[o.jsxs(u.Box,{"data-testid":"histogram-drawing",role:t===void 0?void 0:"img","aria-label":t,"aria-describedby":t===void 0?void 0:f.describedBy,"aria-hidden":t===void 0?!0:void 0,style:{flex:"1 1 auto",minHeight:0,display:"flex",flexDirection:"column",gap:Co},children:[o.jsxs(u.Box,{"data-testid":"histogram-plot",onClick:c===void 0?void 0:y,style:{flex:"1 1 auto",minHeight:0,position:"relative",...p?{}:{display:"flex",alignItems:"flex-end",gap:Zo}},children:[b&&o.jsx(u.Box,{"aria-hidden":"true",style:{...x,pointerEvents:"none"},children:e.map((k,j)=>o.jsx(u.Box,{"data-testid":"histogram-ghost",className:"cm-histogram-ghost",style:{...g(k),height:`${String(N(k.ghost??0))}%`,borderRadius:Ha}},`ghost-${k.label}-${String(j)}`))}),e.map((k,j)=>{const I=Math.max(0,k.count),B=k.highlighted===!0,C=k.dimmed===!0&&!B;let V=k.paint??vs;return B?V=v?"var(--cm-histogram-in)":Ie.ACCENT_GRAPHIC:C&&(V="var(--cm-histogram-dim)"),o.jsx(u.Box,{"data-testid":"histogram-bar",className:"cm-histogram-bar","data-highlighted":B?"true":"false","data-dimmed":C?"true":void 0,"data-painted":k.paint!==void 0&&!B?"true":void 0,"aria-hidden":"true",title:k.label,style:{...g(k),...b&&!p?{position:"relative",zIndex:1}:{},...p?{zIndex:1}:{},height:`${String(N(k.count))}%`,minHeight:I>0?Ap:0,background:V,borderRadius:Ha}},`${k.label}-${String(j)}`)}),m!==void 0&&m.values.length>0&&o.jsx("svg",{"data-testid":"histogram-overlay",role:"img","aria-label":m.label,viewBox:`0 0 ${String(wt)} ${String(wt)}`,preserveAspectRatio:"none",style:{position:"absolute",inset:0,width:"100%",height:"100%",zIndex:2,pointerEvents:"none",overflow:"visible"},children:o.jsx("polyline",{fill:"none",stroke:"var(--cm-border-strong)",strokeWidth:1.5,vectorEffect:"non-scaling-stroke",points:m.values.map((k,j)=>{const I=e[j],B=I===void 0?0:S(I,j),C=wt-(T===0?0:Math.max(0,k)/T*wt);return`${String(B)},${String(C)}`}).join(" ")})})]}),o.jsx(ws,{})]}),c!==void 0&&o.jsx(Sp,{brush:c,plotHeight:`${String(D.HISTOGRAM_HEIGHT-mr-Co)}px`}),o.jsxs(u.Box,{"data-testid":"chart-axis",style:{flex:"0 0 auto",height:mr,display:"flex",alignItems:"center",justifyContent:"space-between",gap:gs},children:[o.jsx(dn,{end:"min",id:f.min,children:n}),o.jsx(dn,{end:"max",id:f.max,children:r})]})]}),o.jsx(ys,{caption:t,rows:A,testId:"histogram-values"}),Po(s)&&o.jsx(Nt,{children:s})]})}function Ip({values:e,label:t,minLabel:n,maxLabel:r,busy:a,live:i,trailing:s}){Ue();const c=kt(),m=yt(),d=ks(),f=Np(e,c),h=e.map((p,g)=>({id:`point-${String(g)}`,header:m.format(g+1),value:m.format(p)}));return o.jsxs(u.Box,{"data-testid":"sparkline-row","aria-busy":a,style:{display:"flex",alignItems:"center",gap:D.TRAIL_GAP,height:D.SPARKLINE_HEIGHT},children:[o.jsxs(u.Box,{"data-testid":"sparkline-chart",...Kt(i,a),style:{flex:"1 1 auto",minWidth:0,display:"flex",alignItems:"center",gap:gs},children:[o.jsx(dn,{end:"min",id:d.min,children:n}),o.jsxs(u.Box,{"data-testid":"sparkline-drawing",role:t===void 0?void 0:"img","aria-label":t,"aria-describedby":t===void 0?void 0:d.describedBy,"aria-hidden":t===void 0?!0:void 0,style:{flex:"1 1 auto",minWidth:0,display:"flex",flexDirection:"column",color:vs},children:[o.jsx(u.Box,{component:"svg","data-testid":"sparkline-plot",width:"100%",height:D.CONTROL_HEIGHT,viewBox:`0 0 ${String(wt)} ${String(wt)}`,preserveAspectRatio:"none",fill:"none",stroke:"currentColor",strokeWidth:Cp,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",focusable:"false",style:{display:"block",overflow:"visible"},children:f!==null&&o.jsx("polyline",{points:f,vectorEffect:"non-scaling-stroke"})}),o.jsx(ws,{})]}),o.jsx(dn,{end:"max",id:d.max,children:r})]}),o.jsx(ys,{caption:t,rows:h,testId:"sparkline-values"}),Po(s)&&o.jsx(Nt,{children:s})]})}function zp({name:e,percentile:t,value:n,rank:r,busy:a,live:i,onClick:s,onDoubleClick:c,onContextMenu:m,onFocus:d,onBlur:f}){Ue();const h=Me(),p=Hi(),g=l.useId(),S=s,N=S!==void 0,x=Math.min(ln,Math.max(0,t)),b=h.percentile(p(Math.round(x))),v=A=>{S!==void 0&&S(A,ao(A))},T=A=>{S!==void 0&&(A.key==="Enter"||A.key===" ")&&(A.preventDefault(),S(A,ao(A)))};return o.jsxs(u.Box,{"data-testid":"metric-row",role:N?"button":void 0,tabIndex:N?0:void 0,className:N?"cm-row-target":void 0,...Kt(i,a),onClick:v,onKeyDown:T,onDoubleClick:c,onContextMenu:m,onFocus:d,onBlur:f,style:{display:"flex",alignItems:"center",gap:D.GUTTER,height:D.ROW_PITCH,cursor:N?"pointer":"default"},children:[o.jsx(u.Box,{component:"span",id:g,"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(u.Progress.Root,{"data-testid":"metric-row-bar",role:"progressbar","aria-labelledby":g,"aria-valuemin":0,"aria-valuemax":ln,"aria-valuenow":x,"aria-valuetext":b,title:b,size:xs,style:{flex:`0 0 ${String(jp)}px`,borderRadius:Ua,background:Ie.SURFACE},children:o.jsx(u.Progress.Section,{"data-testid":"metric-row-fill",value:x,withAria:!1,color:Ie.ACCENT_GRAPHIC,style:{borderRadius:Ua}})}),o.jsx(u.Box,{component:"span","data-testid":"metric-row-value",className:"cm-chart-value",style:{flex:"0 0 auto"},children:n}),r!==void 0&&o.jsx(Mr,{children:r})]})}const Es=l.createContext(!1);function pr({showLabels:e=!1,children:t}){return o.jsx(Es.Provider,{value:e,children:t})}function gn(){return l.useContext(Es)}function Ts(e){return function(n){return o.jsxs(o.Fragment,{children:[n,o.jsx(_i,{text:e})]})}}const Bn=new Set(["+","-","*","/","(",")"]);function Rp(e,t=Number){const n=[];let r="";for(const d of e)Bn.has(d)||/\s/.test(d)?(r&&(n.push(r),r=""),Bn.has(d)&&n.push(d)):r+=d;if(r&&n.push(r),n.length===0)return null;let a=0;const i=()=>{throw new SyntaxError("not an expression")},s=()=>{const d=n[a++];if(d==="+"||d==="-"){const h=s();return d==="-"?-h:h}if(d==="("){const h=m();return n[a++]!==")"&&i(),h}if(d===void 0||Bn.has(d))return i();const f=t(d);return Number.isNaN(f)?i():f},c=()=>{let d=s();for(;n[a]==="*"||n[a]==="/";)d=n[a++]==="*"?d*s():d/s();return d},m=()=>{let d=c();for(;n[a]==="+"||n[a]==="-";)d=n[a++]==="+"?d+c():d-c();return d};try{const d=m();return a===n.length&&Number.isFinite(d)?d:null}catch{return null}}function Lp(e){return Math.round(e*1e10)/1e10}function Pp(e,t,n){let r=e;return t!==void 0&&r<t&&(r=t),n!==void 0&&r>n&&(r=n),r}const Mp=.5;function Hn(e){for(const t of[document.documentElement,document.body])t.style.cursor=e?"ew-resize":""}function As(e,t,n){const r=l.useRef(!1),a=l.useRef(!1),i=l.useRef(0),s=l.useRef(0),c=l.useRef(n);if(c.current=n,l.useEffect(()=>()=>{a.current&&Hn(!1)},[]),!e)return;const m=d=>{var f,h,p;if(r.current&&(r.current=!1,a.current)){a.current=!1,Hn(!1),(h=(f=c.current).onEnd)==null||h.call(f,d);const g=(p=d.currentTarget.closest(".cm-input-wrapper"))==null?void 0:p.querySelector("input");g&&!g.disabled&&(g.focus({preventScroll:!0}),requestAnimationFrame(()=>{g.select()}))}};return{onPointerDown:d=>{if(d.button===0){d.preventDefault(),d.stopPropagation();try{d.currentTarget.setPointerCapture(d.pointerId)}catch{}so(),r.current=!0,a.current=!1,i.current=d.clientX,s.current=d.clientX}},onPointerMove:d=>{var p,g,S,N;if(!r.current)return;const f=d.clientX-s.current;if(f===0)return;s.current=d.clientX,a.current||(a.current=!0,Hn(!0),(g=(p=c.current).onStart)==null||g.call(p,d));const h=t?-1:1;(N=(S=c.current).onMove)==null||N.call(S,h*f,h*(d.clientX-i.current),d)},onPointerUp:m,onPointerCancel:m,onLostPointerCapture:m}}function js(e){const{value:t,display:n,onCommit:r,parse:a,suffix:i,min:s,max:c,step:m=1,decimalScale:d,locked:f=!1}=e,h=e.format??String,[p,g]=l.useState(null),S=l.useRef(null),N=C=>{S.current=C,g(C)},x=l.useRef(!1),[b,v]=l.useState(!1),T=l.useRef(0),A=l.useRef(null),y=C=>{const V=Pp(Lp(C),s,c);return d===void 0?V:Number(V.toFixed(d))},k=C=>{const V=i&&C.trimEnd().endsWith(i)?C.trimEnd().slice(0,-i.length):C;return Rp(V,a)},j=C=>{const V=S.current;if(V===null)return;N(null);const H=k(V);if(H===null)return;const M=y(H);M!==t&&r(M,C)};return{inputProps:{value:p??n,role:t===null?void 0:"spinbutton",inputMode:"decimal","aria-valuenow":t??void 0,"aria-valuemin":s,"aria-valuemax":c,onChange:C=>{const V=C.currentTarget.value;f||(v(!1),N(V))},onKeyDown:C=>{var V,H;if((V=e.onKeyDown)==null||V.call(e,C),!(C.defaultPrevented||f)){if(C.key==="Enter"){C.preventDefault(),v(!1),j(C);const M=C.currentTarget,Y=(H=M.form)==null?void 0:H.querySelector('button[type="submit"], input[type="submit"]');requestAnimationFrame(()=>{var P;M.select(),(Y==null?void 0:Y.disabled)===!1&&Y.isConnected&&((P=M.form)==null||P.requestSubmit(Y))})}else if(C.key==="Escape")S.current!==null&&(C.preventDefault(),C.stopPropagation(),No.flushSync(()=>{N(null),v(!0)}),C.currentTarget.select());else if(C.key==="ArrowUp"||C.key==="ArrowDown"){C.preventDefault();const M=(S.current!==null?k(S.current):null)??t??s??0,Y=(C.key==="ArrowUp"?m:-m)*(C.shiftKey?10:1),P=y(M+Y);N(null),v(!1),P!==t&&r(P,C)}}},onFocus:C=>{var V;x.current=!0,C.currentTarget.select(),(V=e.onFocus)==null||V.call(e,C)},onBlur:C=>{var V;x.current=!1,v(!1),j(C),(V=e.onBlur)==null||V.call(e,C)},onMouseUp:C=>{x.current&&(x.current=!1,C.preventDefault(),C.currentTarget.select())}},scrub:{onStart:()=>{const C=S.current!==null?k(S.current):null;T.current=C??t??0,A.current=null},onMove:(C,V)=>{const H=y(T.current+V*Mp);A.current=H,N(h(H)+(i??""))},onEnd:C=>{const V=A.current;A.current=null,N(null),V!==null&&V!==t&&r(V,C)}},editing:p!==null,discarded:b}}const Op=D.VALUE_INSET-D.GLYPH_SLOT,Cs=8,Fp="Use arrow keys to change the value",Ns=4,Va=4,Dp=D.VALUE_INSET+D.LABEL_COLUMN,Ga={position:"absolute",width:1,height:1,margin:-1,padding:0,overflow:"hidden",clipPath:"inset(50%)",whiteSpace:"nowrap",border:0};function Bp(e,t,n,r){return t?e.mixed:n===!0?r:typeof n=="string"?n:void 0}function Hp(e,t){const n=[];t.mixed&&n.push(e.mixed);const r=t.boundDescription??e.fieldBound,a=t.pendingDescription??e.fieldPending;return t.bound&&r!==""&&n.push(r),t.pending&&a!==""&&n.push(a),n}function Up(e,t){return vr(e)?o.jsx(oo,{name:e,filled:t}):wr(e)?o.jsx(u.Box,{component:"span","data-letter":e,style:{fontSize:"var(--mantine-font-size-sm)",lineHeight:1},children:e}):e??null}function Vp(e,t,n){let r=e===void 0?0:Ns;return r+=n?D.GLYPH_SLOT:Cs,e!==void 0&&t>0?Math.ceil(t)+r:e!==void 0?`calc(${String(e.length)}ch + ${String(r)}px)`:n?r:void 0}function Gp({unit:e,showsChevron:t,unitRef:n}){return o.jsxs(o.Fragment,{children:[e!==void 0&&o.jsx(u.Box,{component:"span","data-testid":"panel-field-unit",style:{flex:"0 0 auto",lineHeight:1,paddingInlineEnd:t?0:Cs},children:o.jsx("span",{ref:n,style:{display:"inline-block"},children:e})}),t&&o.jsx(u.Box,{component:"span","data-testid":"panel-field-chevron",style:{flex:"0 0 auto",display:"flex",alignItems:"center",justifyContent:"center",width:D.GLYPH_SLOT},children:o.jsx(Sr,{})})]})}function qp({slotContent:e,canScrub:t,scrubHandlers:n,pending:r,showLabels:a,label:i}){return o.jsxs(o.Fragment,{children:[o.jsxs(u.Box,{"data-testid":"panel-field-slot",className:"cm-scrub-slot","data-scrub":t?"true":void 0,...n,style:{position:"relative",flex:"0 0 auto",width:D.GLYPH_SLOT,height:D.GLYPH_SLOT},children:[e,r&&o.jsx(u.Box,{"data-testid":"panel-field-pending",style:{position:"absolute",insetInlineStart:0,bottom:0,width:Va,height:Va,background:Ie.ACCENT_GRAPHIC}})]}),a&&o.jsx(u.Box,{component:"span","data-testid":"panel-field-label","aria-hidden":"true",style:{flex:"1 1 auto",minWidth:0,marginInlineStart:Ns,fontSize:"var(--mantine-font-size-sm)",lineHeight:1,color:Ie.CHROME,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:i})]})}function Wp(e,t,n){return{title:e,"data-testid":"panel-field","data-kind":t,"data-bound":n.bound?"true":void 0,"data-mixed":n.mixed?"true":void 0,"data-pending":n.pending?"true":void 0,"data-disabled":n.disabled?"true":void 0}}function Kp(e,t){return{flex:e==="fill"?"1 1 auto":"0 0 auto",width:e==="fill"?"100%":e,minWidth:0,...t}}function Yp(e){const t=e.isNumber&&!e.takenOver&&!e.isReadOnly,n=(e.wantsScrub||t)&&!e.disabled&&!e.coarsePointer;return{scrubsValue:t,canScrub:n}}function Xp(e,t,n,r){const a=t?"":e,i=e===""||n?Number.NaN:r(e);return{numberText:a,numberValue:Number.isNaN(i)?null:i}}function Jp(e,t,n,r,a){return t?e.colorEditDiscarded(n===""?r??"":`${n}${a??""}`):""}function Zp(e){if(e!==void 0)return function({option:n}){return o.jsxs("span",{className:"cm-listbox-option-content",title:n.label,children:[o.jsx(kr,{}),e[n.value]!==void 0&&o.jsx("span",{className:"cm-listbox-glyph","aria-hidden":"true",children:e[n.value]}),o.jsx("span",{className:"cm-listbox-label",children:n.label})]})}}function Qp(e,t){return e??(t!==void 0?"select":"text")}function _p(e,t){return e||t===""?null:t}const Or=l.forwardRef(function(t,n){const{label:r,glyph:a,kind:i,value:s,defaultValue:c,onChange:m,data:d,optionGlyphs:f,unit:h,width:p=D.FIELD,bound:g=!1,mixed:S=!1,placeholder:N,pending:x=!1,min:b,max:v,step:T,decimalScale:A,stepHint:y=Fp,onScrubStart:k,onScrub:j,onScrubEnd:I,onClick:B,disabled:C=!1,disabledReason:V,readOnly:H,boundDescription:M,pendingDescription:Y,title:P,style:F,className:$,onKeyDown:q,...z}=t,G=gn(),_=Me(),ae=zo(),me=kt(),we=ye.useMediaQuery("(pointer: coarse)"),{ref:te,width:de}=ye.useElementSize(),[J,ge]=ye.useUncontrolled({value:s===null?"":s,defaultValue:c,finalValue:"",onChange:m}),O=Qp(i,d),ie=O==="select",pe=O==="select"&&d!==void 0,ve=H??(m===void 0&&c===void 0),ue=String(J),K=S||N===!0,Z=Bp(_,S,N,ue),he=Hp(_,{mixed:S,bound:g,pending:x,boundDescription:M,pendingDescription:Y}),be=bn({name:r,enabledTitle:P??r,disabled:C,disabledReason:V,extraDescriptions:he}),{description:Ae}=be,De=O==="number",Qe=k!==void 0||j!==void 0||I!==void 0,{scrubsValue:Fe,canScrub:Re}=Yp({isNumber:De,wantsScrub:Qe,takenOver:j!==void 0,isReadOnly:ve,disabled:C,coarsePointer:we}),{numberText:$e,numberValue:Ve}=Xp(ue,K,S,ae),Ye=js({value:Ve,display:$e,onCommit:(se,Ne)=>{ge(se,Ne)},parse:ae,min:b,max:v,step:T,decimalScale:A,locked:C||ve}),ft=As(Re,it(me),{onStart:se=>{var Ne,Te;k==null||k(se),Fe&&((Te=(Ne=Ye.scrub).onStart)==null||Te.call(Ne,se))},onMove:(se,Ne,Te)=>{var Pe,Ge;j==null||j(se,Te),Fe&&((Ge=(Pe=Ye.scrub).onMove)==null||Ge.call(Pe,se,Ne,Te))},onEnd:se=>{var Ne,Te;Fe&&((Te=(Ne=Ye.scrub).onEnd)==null||Te.call(Ne,se)),I==null||I(se)}}),st=se=>{C||B==null||B(se)},ot=se=>{q==null||q(se),!(B===void 0||C||se.defaultPrevented)&&(pe||(se.key==="Enter"||se.key===" "&&ve)&&(se.preventDefault(),B(se)))},ct=(se,Ne)=>{ge(se,Ne)},ne=Up(a,g),Be=o.jsx(qp,{slotContent:ne,canScrub:Re,scrubHandlers:ft,pending:x,showLabels:G,label:r}),Xe=ie&&ne===null&&!x&&!G,Je=h!==void 0||ie?o.jsx(Gp,{unit:h,showsChevron:ie,unitRef:te}):void 0,bt=Vp(h,de,ie),lt=Re?"auto":"none",Ee={"data-testid":"panel-field-value",...z,ref:n,className:$,label:r,description:Ae,placeholder:Z,disabled:C,readOnly:ve,onClick:st,onKeyDown:ot,variant:ie?"outlined":"filled",leftSection:Xe?void 0:Be,leftSectionWidth:G?Dp:D.VALUE_INSET,leftSectionPointerEvents:lt,leftSectionProps:{style:{insetInlineStart:0,justifyContent:"flex-start",paddingInlineStart:Op}},rightSection:Je,rightSectionWidth:bt,rightSectionPointerEvents:"none",rightSectionProps:{style:{insetInlineEnd:0,justifyContent:"flex-end",fontSize:"var(--mantine-font-size-sm)",color:Ie.CHROME}},styles:{wrapper:{marginTop:0,marginBottom:0,"--input-placeholder-color":S?Ie.VALUE:Ie.PLACEHOLDER},label:Ga,description:Ga},wrapperProps:Wp(be.title,O,{bound:g,mixed:S,pending:x,disabled:C}),style:Kp(p,F)};if(De){const se=y===""?{}:{"aria-description":y},Ne=Jp(_,Ye.discarded,$e,Z,h);return o.jsx(u.TextInput,{...Ee,...Ye.inputProps,...se,onKeyDown:Ye.inputProps.onKeyDown,classNames:{wrapper:"cm-number-field"},inputContainer:Ts(Ne)})}return pe?o.jsx(u.Select,{...Ee,data:d,renderOption:Zp(f),value:_p(K,ue),onChange:se=>{ct(se??"")}}):o.jsx(u.TextInput,{...Ee,value:K?"":ue,onChange:se=>{ct(se.currentTarget.value,se)}})}),$p=2,eh=D.BODY+D.TRAIL_GAP,qa=(D.CAPTION_ROW-D.CONTROL_HEIGHT-14)/3;function th(e){return l.Children.toArray(e).flatMap(t=>l.isValidElement(t)&&t.type===l.Fragment?l.Children.toArray(t.props.children):[t])}function Wa(e,t){return l.isValidElement(e)&&e.key!==null?e.key:`field-row-${String(t)}`}function Un(e){if(l.isValidElement(e)&&typeof e.props.label=="string")return e.props.label}function Vn(e){return l.isValidElement(e)&&e.type===Or?l.cloneElement(e,{width:"fill"}):e}const Is=l.forwardRef(function({children:t,trailing:n,groupLabel:r,labelPosition:a="above",role:i,style:s,"aria-label":c,"aria-labelledby":m,...d},f){Ue();const h=gn(),p=th(t),g=p.length,S=g===1?"field":"fields";Pt(g===0||g>$p?`FieldRow was given ${String(g)} ${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 N=r??c,b=i??(N!==void 0||m!==void 0?"group":void 0),v=Po(n);if(h&&a==="inline"&&g>1)return o.jsx(u.Box,{ref:f,"data-testid":"field-row-labeled","data-fields":g,role:b,"aria-label":N,"aria-labelledby":m,...d,style:{display:"flex",flexDirection:"column",...s},children:p.map((I,B)=>{const C=Un(I);return o.jsxs(u.Box,{"data-testid":"field-row","data-labeled":"true",style:{display:"flex",alignItems:"center",height:D.ROW_PITCH},children:[o.jsx(u.Box,{component:"span","data-testid":"field-row-label",title:C,className:"cm-row-reading",style:{flex:`0 0 ${String(D.LABEL_COLUMN)}px`,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:C}),o.jsx(u.Box,{"data-testid":"field-row-slot","data-width":"fill",style:{display:"flex",alignItems:"center",flex:"1 1 auto",minWidth:0,marginInlineStart:D.GUTTER,marginInlineEnd:D.TRAIL_GAP},children:o.jsx(pr,{showLabels:!1,children:Vn(I)})}),o.jsx(Nt,{children:B===0?n:null})]},Wa(I,B))})});const T=h&&a==="above",A=g<=1,y=A&&!v;let k=D.FIELD;A&&(k=y?eh:D.BODY);const j=y?void 0:D.TRAIL_GAP;return o.jsxs(u.Box,{ref:f,"data-testid":"field-row","data-fields":g,role:b,"aria-label":N,"aria-labelledby":m,...d,"data-captions":T?"true":void 0,style:{display:"flex",alignItems:T?"flex-end":"center",boxSizing:"border-box",height:T?D.CAPTION_ROW:D.ROW_PITCH,paddingBlockEnd:T?qa:void 0,...s},children:[p.map((I,B)=>o.jsx(u.Box,{"data-testid":"field-row-slot","data-width":k,style:{display:"flex",flexDirection:T?"column":void 0,alignItems:T?"stretch":"center",gap:T?qa:void 0,flex:`0 1 ${String(k)}px`,minWidth:0,marginInlineStart:B===0?void 0:D.GUTTER,marginInlineEnd:B===g-1?j:void 0},children:T?o.jsxs(o.Fragment,{children:[o.jsx(u.Box,{component:"span","aria-hidden":"true","data-testid":"field-row-caption",className:"cm-caption",title:Un(I),children:Un(I)}),o.jsx(pr,{showLabels:!1,children:Vn(I)})]}):Vn(I)},Wa(I,B))),o.jsx(Nt,{children:n})]})}),Ka={handles:{domainLow:"Ramp start",domainHigh:"Ramp end",midpoint:"Midpoint",clampLow:"Lower clamp",clampHigh:"Upper clamp"},from:"Starts at",to:"Ends at",midpoint:"Midpoint",scale:"Scale",palette:"Palette",reverse:"Reverse palette",outside:e=>`${e} outside`,noValue:e=>`No value: ${e}`},oh=16,Ya=16,Xa="color-mix(in srgb, var(--cm-bg) 70%, transparent)";function Ja(e,t){const n=e.length;if(n===0||t<=e[0].from)return 0;for(let r=0;r<n;r++){const{from:a,to:i}=e[r];if(t<=i)return(r+(i===a?1:(t-a)/(i-a)))/n}return 1}function nh(e){return e.length===0?[]:[e[0].from,...e.map(t=>t.to)]}function hr(e,t){return Number((Math.round(e/t)*t).toPrecision(12))}function zs(e,t,n){return n?e.find(r=>r>t)??t:[...e].reverse().find(r=>r<t)??t}function rh({which:e,value:t,fraction:n,name:r,valueText:a,min:i,max:s,shape:c,onMove:m,edges:d,step:f,edgeAt:h}){const p=l.useRef(!1),g=c==="bracketLow"||c==="bracketHigh",S=b=>{b!==t&&m(b)},N=(b,v)=>{if(f===void 0){const y=v?Math.max(2,Math.ceil((d.length-1)/10)):1;let k=t;for(let j=0;j<y;j++)k=zs(d,k,b);return Math.min(s,Math.max(i,k))}const T=(d.at(-1)??s)-(d[0]??i),A=v?f*Math.max(2,Math.round(T/f/10)):f;return Math.min(s,Math.max(i,hr(t+(b?A:-A),f)))},x={ArrowRight:()=>N(!0,!1),ArrowUp:()=>N(!0,!1),ArrowLeft:()=>N(!1,!1),ArrowDown:()=>N(!1,!1),PageUp:()=>N(!0,!0),PageDown:()=>N(!1,!0),Home:()=>i,End:()=>s};return o.jsx("div",{role:"slider",tabIndex:0,className:"cm-focus-outside","data-testid":`ramp-editor-${e}`,"aria-label":r,"aria-valuemin":i,"aria-valuemax":s,"aria-valuenow":t,"aria-valuetext":a,title:a,style:{position:"absolute",insetInlineStart:`calc(${String(n*100)}% - ${String(Ya/2)}px)`,top:0,bottom:0,width:Ya,display:"flex",justifyContent:"center",alignItems:g?"stretch":"flex-start",cursor:"ew-resize",touchAction:"none"},onPointerDown:b=>{b.button>0||(b.currentTarget.focus(),b.currentTarget.setPointerCapture(b.pointerId),p.current=!0,so())},onPointerMove:b=>{if(!p.current)return;const v=h(b.clientX);v!==null&&S(v)},onPointerUp:()=>{p.current=!1},onPointerCancel:()=>{p.current=!1},onKeyDown:b=>{const v=x[b.key];v!==void 0&&(b.preventDefault(),S(v()))},children:o.jsx("span",{"aria-hidden":"true",style:g?{width:4,borderBlock:`2px solid ${Ie.VALUE}`,[c==="bracketLow"?"borderInlineStart":"borderInlineEnd"]:`2px solid ${Ie.VALUE}`,boxSizing:"border-box"}:{marginTop:2,width:10,height:10,background:Ie.VALUE,clipPath:c==="diamond"?"polygon(50% 0, 100% 50%, 50% 100%, 0 50%)":"polygon(50% 0, 100% 100%, 0 100%)"}})})}function ah({label:e,bins:t,domain:n,onDomainChange:r,midpoint:a,onMidpointChange:i,clamp:s,onClampChange:c,step:m,steps:d=[],describe:f,formatValue:h,scale:p,defaultScale:g,scales:S,onScaleChange:N,palette:x,defaultPalette:b,palettes:v,onPaletteChange:T,unsetText:A,reverse:y=!1,onReverseChange:k,noValue:j,onNoValueChange:I,labels:B}){Ue();const C={...Ka,...B,handles:{...Ka.handles,...B==null?void 0:B.handles}},V=yt(),H=h??(O=>V.format(O)),M=kt(),Y=l.useRef(null),P=nh(t),F=P[0]??0,$=P.at(-1)??0,[q,z]=n,G=O=>{var ue;const ie=(ue=Y.current)==null?void 0:ue.getBoundingClientRect();if(ie===void 0||ie.width===0||P.length===0)return null;const pe=M==="rtl"?ie.right-O:O-ie.left,ve=Math.round(Math.min(1,Math.max(0,pe/ie.width))*t.length);return m===void 0?P[ve]:hr(P[ve],m)},_=(O,ie)=>m===void 0?zs(P,O,ie):hr(O+(ie?m:-m),m),ae=(O,ie,pe,ve,ue=[F,$])=>o.jsx(rh,{which:O,value:ie,fraction:Ja(t,ie),name:C.handles[O],valueText:f(O,ie),min:ue[0],max:ue[1],shape:pe,onMove:ve,edges:P,step:m,edgeAt:G}),me=(O,ie,pe,ve)=>o.jsxs("label",{style:{display:"flex",flexDirection:"column",flex:"1 1 0",minWidth:0},children:[o.jsx("span",{className:"cm-field-label",children:O}),o.jsx(ur,{className:"cm-field",ariaLabel:O,testId:ie,style:{width:"100%"},value:pe,format:H,normalize:ue=>ue,onCommit:ve})]}),we=O=>`${String(Ja(t,O)*100)}%`,te=p??g,de=x??b,J=O=>`linear-gradient(to ${M==="rtl"?"left":"right"}, ${(y?[...O].reverse():O).join(", ")})`,ge=(O,ie,pe,ve,ue,L)=>{var he;const K=((he=ve.find(be=>be.value===pe))==null?void 0:he.label)??pe,Z=ie??(A===void 0?pe:void 0);return o.jsxs(u.Box,{style:{display:"flex",flexDirection:"column",minWidth:0},children:[o.jsx("span",{className:"cm-field-label","aria-hidden":"true",children:O}),o.jsx(Is,{trailing:ie!==void 0&&o.jsx(cs,{label:O,disabled:ie===pe,onClick:()=>{L==null||L(void 0)}}),children:o.jsx(Or,{label:O,kind:"select",width:"fill",value:ie??null,placeholder:A??K,data:ve.map(be=>({value:be.value,label:be.label})),glyph:Z===void 0?void 0:ue[Z],optionGlyphs:ue,onChange:be=>{L==null||L(String(be))}})})]})};return o.jsxs(u.Box,{"data-testid":"ramp-editor",style:{display:"flex",flexDirection:"column",gap:4},children:[o.jsxs(u.Box,{style:{position:"relative"},children:[o.jsx(Ss,{label:e,bins:t.map(O=>({label:O.label,count:O.count,paint:O.paint})),minLabel:H(F),maxLabel:H($)}),o.jsxs(u.Box,{"aria-hidden":s===void 0?!0:void 0,"data-testid":"ramp-editor-plot",style:{position:"absolute",inset:0,bottom:Tp,pointerEvents:"none"},children:[d.map(O=>o.jsx("span",{"aria-hidden":"true","data-testid":"ramp-editor-step",style:{position:"absolute",top:0,bottom:0,insetInlineStart:we(O),borderInlineStart:`1px dashed ${Ie.VALUE}`}},O)),s!==void 0&&o.jsxs(o.Fragment,{children:[o.jsx("span",{"aria-hidden":"true","data-testid":"ramp-editor-tail-low",style:{position:"absolute",top:0,bottom:0,insetInlineStart:0,width:we(s.low),background:Xa}}),o.jsx("span",{"aria-hidden":"true","data-testid":"ramp-editor-tail-high",style:{position:"absolute",top:0,bottom:0,insetInlineStart:we(s.high),insetInlineEnd:0,background:Xa}}),o.jsxs(u.Box,{style:{position:"absolute",inset:0,pointerEvents:"auto"},children:[ae("clampLow",s.low,"bracketLow",O=>{c==null||c([Math.min(O,s.high),s.high])},[F,s.high]),ae("clampHigh",s.high,"bracketHigh",O=>{c==null||c([s.low,Math.max(O,s.low)])},[s.low,$])]})]})]})]}),o.jsxs(u.Box,{ref:Y,"data-testid":"ramp-editor-track",style:{position:"relative",height:oh},children:[ae("domainLow",q,"caret",O=>{O<z&&(r==null||r([O,z]))},[F,_(z,!1)]),ae("domainHigh",z,"caret",O=>{O>q&&(r==null||r([q,O]))},[_(q,!0),$]),a!==void 0&&ae("midpoint",a,"diamond",O=>i==null?void 0:i(O))]}),(s!==void 0||j!==void 0)&&o.jsxs(u.Box,{className:"cm-chart-text",style:{display:"flex",alignItems:"center",gap:8,minHeight:D.CONTROL_HEIGHT},children:[s!==void 0&&o.jsx("span",{"data-testid":"ramp-editor-outside-low",children:C.outside(V.format(s.below))}),j!==void 0&&o.jsxs(u.UnstyledButton,{"data-testid":"ramp-editor-no-value",className:"cm-focus-outside","aria-pressed":j.paint!==null,disabled:I===void 0,onClick:()=>I==null?void 0:I(j.paint===null),style:{display:"inline-flex",alignItems:"center",gap:4,marginInline:"auto",paddingInline:6,height:20,borderRadius:10,border:`1px solid ${Ie.BORDER}`,font:"inherit",color:"inherit"},children:[o.jsx("span",{"aria-hidden":"true",style:{width:10,height:10,borderRadius:2,background:j.paint??"transparent",border:`1px ${j.paint===null?"dashed":"solid"} ${Ie.BORDER}`}}),C.noValue(V.format(j.count))]}),s!==void 0&&o.jsx("span",{"data-testid":"ramp-editor-outside-high",style:{marginInlineStart:"auto"},children:C.outside(V.format(s.above))})]}),(S!==void 0||v!==void 0)&&o.jsxs(u.Box,{style:{display:"flex",flexWrap:"wrap",alignItems:"flex-end",gap:8},children:[S!==void 0&&(te!==void 0||A!==void 0)&&o.jsx(u.Box,{style:{flex:"1 0 100%",minWidth:0},children:ge(C.scale,p,g,S,Object.fromEntries(S.map(O=>[O.value,O.glyph])),N)}),v!==void 0&&(de!==void 0||A!==void 0)&&o.jsx(u.Box,{style:{flex:"1 1 0",minWidth:0},children:ge(C.palette,x,b,v,Object.fromEntries(v.map(O=>[O.value,o.jsx("span",{"data-testid":"ramp-editor-strip",style:{display:"block",width:16,height:8,marginBlock:4,borderRadius:2,background:J(O.stops)}},O.value)])),T)}),k!==void 0&&o.jsx(ms,{label:C.reverse,checked:y,onChange:k,icon:o.jsx(us,{})})]}),o.jsxs(u.Box,{style:{display:"flex",gap:8},children:[me(C.from,"ramp-editor-from",q,O=>r==null?void 0:r([O,z])),me(C.to,"ramp-editor-to",z,O=>r==null?void 0:r([q,O])),a!==void 0&&me(C.midpoint,"ramp-editor-midpoint-field",a,O=>i==null?void 0:i(O))]})]})}function ih({focusableViewport:e=!1,viewportProps:t,...n}){return o.jsx(u.ScrollArea,{...n,viewportProps:e?{tabIndex:0,...t}:t})}const sh=Object.assign(ih,{Autosize:u.ScrollArea.Autosize});function ch({label:e,...t}){const n=u.useInputWrapperContext();return o.jsx(u.SegmentedControl,{"aria-labelledby":n==null?void 0:n.labelId,"aria-describedby":n==null?void 0:n.describedBy,...e===void 0||(n==null?void 0:n.labelId)!==void 0?{}:{"aria-label":e},...t})}const Gn=4,lh=`${String(D.TOGGLE_PITCH)}px`;function dh({label:e,checked:t,defaultChecked:n,onChange:r,disabled:a=!1,disabledReason:i,bound:s=!1,boundDescription:c,onFocus:m,onBlur:d,children:f}){const h=l.useId(),p=Me(),[g,S]=ye.useUncontrolled({value:t,defaultValue:n,finalValue:!1,onChange:r}),N=A=>{S(A.currentTarget.checked,A)},x={root:{minWidth:0},body:{alignItems:"center",minWidth:0},labelWrapper:{minWidth:0},label:{display:"block",height:D.TOGGLE_PITCH,paddingInlineStart:D.GUTTER,paddingBlock:0,fontSize:"var(--mantine-font-size-sm)",lineHeight:lh,color:a?Ie.DISABLED:Ie.VALUE,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},b=c??p.fieldBound,v=bn({name:e,enabledTitle:e,disabled:a,disabledReason:i,extraDescriptions:s?[b]:void 0}),T=o.jsx(u.Checkbox,{variant:"neutral","data-testid":"toggle-with-content-checkbox",label:e,checked:g,disabled:a,"aria-expanded":g,"aria-controls":g?h:void 0,"aria-describedby":v.describedBy,onChange:N,onFocus:m,onBlur:d,wrapperProps:{title:v.title},styles:x});return o.jsxs(u.Box,{"data-testid":"toggle-with-content","data-checked":g?"true":"false","data-disabled":a?"true":void 0,"data-bound":s?"true":void 0,style:{display:"flex",flexDirection:"column",gap:Gn},children:[s?o.jsxs(u.Box,{"data-testid":"toggle-with-content-row",style:{display:"flex",alignItems:"center",gap:Gn},children:[T,o.jsx(u.Box,{component:"span","data-testid":"toggle-with-content-bound",style:{flex:"0 0 auto",display:"inline-flex",alignItems:"center",color:Ie.CHROME},children:o.jsx(oo,{name:"attribute",filled:!0})})]}):T,v.description!==void 0&&o.jsx(u.VisuallyHidden,{id:v.describedBy,children:v.description}),g&&o.jsx(u.Box,{id:h,"data-testid":"toggle-with-content-children",style:{display:"flex",flexDirection:"column",gap:Gn,paddingInlineStart:D.GUTTER},children:f})]})}function uh(e,t,n){return e===""?t??"":e+(n??"")}function mh({glyph:e,scrub:t}){return o.jsx("span",{className:"cm-scrub-slot","data-scrub":t?"true":void 0,...t,children:e})}function ph(e,t,n,r,a){return e?{}:{role:"combobox","aria-haspopup":t?"listbox":void 0,"aria-expanded":n,"aria-controls":n?r:void 0,"aria-activedescendant":n?a:void 0,"aria-autocomplete":"none"}}function hh(e,t,n){if(!e||t==="")return null;const r=n(t);return Number.isNaN(r)?null:r}function fh(e,t,n){let r=0;return e&&(r=t?D.GLYPH_SLOT+1:D.GLYPH_SLOT),n===void 0?r||void 0:`calc(${String(n.length)}ch + ${String(r+4)}px)`}function qn(e){return"separator"in e}function bh(e,t,n){if(!t.dropdownOpened)return n.hasList&&e.key==="ArrowDown"&&(e.ctrlKey||e.altKey)?(e.preventDefault(),t.openDropdown("keyboard"),!0):!1;const r=s=>()=>{t.getSelectedOptionIndex()===-1&&t.selectActiveOption(),s()},i={ArrowDown:r(()=>t.selectNextOption()),ArrowUp:r(()=>t.selectPreviousOption()),Home:()=>t.selectFirstOption(),End:()=>{t.selectOption(n.choiceCount-1)}}[e.key];return i?(e.preventDefault(),i(),n.syncActive(),!0):e.key==="Enter"?(e.preventDefault(),t.getSelectedOptionIndex()!==-1?t.clickSelectedOption():t.closeDropdown(),!0):e.key==="Escape"?(e.preventDefault(),e.stopPropagation(),t.closeDropdown(),!0):!1}const xh=l.forwardRef(function(t,n){const{label:r,value:a,defaultValue:i,onChange:s,options:c,numeric:m=!1,min:d,max:f,step:h,suffix:p,glyph:g,divided:S=!1,width:N=D.FIELD,disabled:x=!1,placeholder:b,mixed:v=!1,variant:T="filled",openLabel:A="Open list",className:y,style:k}=t,j=zo(),I=Me(),B=v?I.mixed:b,C=kt(),[V,H]=ye.useUncontrolled({value:a,defaultValue:i,finalValue:"",onChange:s}),[M,Y]=l.useState(null),[P,F]=l.useState(void 0),$=l.useRef(null),q=ye.useMergedRef(n,$),z=ye.useId(),G=c.some(L=>!qn(L)),_=u.useCombobox({onDropdownOpen:()=>{requestAnimationFrame(()=>{_.getSelectedOptionIndex()===-1&&_.selectActiveOption(),F(ae())})},onDropdownClose:()=>{_.resetSelectedOption(),F(void 0)}}),ae=()=>{var L;return((L=document.querySelector(`[id="${z}"] [data-combobox-selected]`))==null?void 0:L.id)||void 0},me=String(V),we=js({value:hh(m,me,j),display:me,onCommit:(L,K)=>{H(L,K)},parse:j,min:d,max:f,step:h,locked:x}),te=As(m&&g!==void 0&&!x,it(C),we.scrub),de=(L,K)=>{const Z=m?j(L):L;_.closeDropdown(),Y(null),!(typeof Z=="number"&&Number.isNaN(Z))&&Z!==V&&H(Z,K)},J=L=>bh(L,_,{hasList:G,choiceCount:c.filter(K=>!qn(K)).length,syncActive:()=>{F(ae())}}),ge={value:M??me,onChange:L=>{Y(L.currentTarget.value)},onKeyDown:L=>{J(L)||(L.key==="Enter"&&M!==null?(L.preventDefault(),de(M,L)):L.key==="Escape"&&M!==null&&Y(null))},onBlur:L=>{_.closeDropdown(),M!==null&&de(M,L)}},O=m&&!G,ie={...we.inputProps,...O?{}:{role:void 0,"aria-valuenow":void 0,"aria-valuemin":void 0,"aria-valuemax":void 0},onKeyDown:L=>{J(L)||we.inputProps.onKeyDown(L)},onBlur:L=>{_.closeDropdown(),we.inputProps.onBlur(L)}},pe=fh(G,S,p),ve=m&&we.discarded?I.colorEditDiscarded(uh(me,B,p)):"",ue=o.jsxs(o.Fragment,{children:[p!==void 0&&o.jsx("span",{className:"cm-combo-suffix",children:p}),G&&o.jsx("button",{type:"button",tabIndex:-1,className:"cm-combo-chevron","aria-label":A,disabled:x,onMouseDown:L=>{L.preventDefault()},onClick:()=>{var L;(L=$.current)==null||L.focus(),_.toggleDropdown()},children:o.jsx(Sr,{})})]});return o.jsxs(u.Combobox,{store:_,onOptionSubmit:L=>{de(L)},...yr(),keepMounted:!1,disabled:x,children:[o.jsx(u.Combobox.Target,{withKeyboardNavigation:!1,withAriaAttributes:!1,children:o.jsx(u.TextInput,{ref:q,...m?ie:ge,...ph(O,G,_.dropdownOpened,z,P),"aria-label":r,autoComplete:"off",placeholder:B,disabled:x,variant:T,"data-is-default":B!==void 0&&me===""&&M===null?"true":void 0,className:y,style:{width:N,...k},styles:v?{wrapper:{"--input-placeholder-color":Ie.VALUE}}:void 0,classNames:{wrapper:["cm-combo",S?"cm-combo-divided":""].filter(Boolean).join(" ")},leftSection:g===void 0?void 0:o.jsx(mh,{glyph:g,scrub:te}),leftSectionPointerEvents:te?"all":"none",rightSection:G||p!==void 0?ue:void 0,rightSectionWidth:pe,rightSectionPointerEvents:"all",inputContainer:Ts(ve)})}),o.jsx(u.Combobox.Dropdown,{className:"cm-menu-surface cm-menu cm-listbox",children:o.jsx(u.Combobox.Options,{id:z,"aria-label":r,children:c.map((L,K)=>qn(L)?o.jsx("hr",{className:"cm-listbox-separator"},`separator-${String(K)}`):o.jsxs(u.Combobox.Option,{value:L.value,disabled:L.disabled,active:L.value===me,"aria-selected":L.value===me,"data-checked":L.value===me||void 0,className:"cm-menu-row cm-listbox-option",children:[o.jsx(kr,{}),o.jsx("span",{className:"cm-listbox-label",children:L.label??L.value})]},L.value))})})]})});function Rs({accept:e,multiple:t=!1}={}){return new Promise(n=>{const r=document.createElement("input");r.type="file",r.multiple=t,e!==void 0&&(r.accept=e),r.addEventListener("change",()=>{n([...r.files??[]])}),r.addEventListener("cancel",()=>{n([])}),r.click()})}function gh(e,t){const n=(t??"").split(",").map(i=>i.trim().toLowerCase()).filter(i=>i!=="");if(n.length===0)return!0;const r=e.name.toLowerCase(),a=e.type.toLowerCase();return n.some(i=>i.startsWith(".")?r.endsWith(i):i.endsWith("/*")?a.startsWith(i.slice(0,-1)):a===i)}function Qo(e){var t;return((t=e.dataTransfer)==null?void 0:t.types.includes("Files"))??!1}function Ls(e,t,n={}){const{accept:r,single:a=!1,disabled:i=!1}=n,[s,c]=l.useState(!1),m=l.useRef({onFiles:t,accept:r,single:a});return m.current={onFiles:t,accept:r,single:a},l.useEffect(()=>{const d=e==="window"?globalThis.window:e.current;if(i||d===null){c(!1);return}let f=0;const N=[["dragenter",x=>{Qo(x)&&(f+=1,c(!0))}],["dragleave",x=>{Qo(x)&&(f=Math.max(0,f-1),f===0&&c(!1))}],["dragover",x=>{!Qo(x)||x.defaultPrevented||(x.preventDefault(),x.dataTransfer&&(x.dataTransfer.dropEffect="copy"))}],["drop",x=>{var y;if(f=0,c(!1),!Qo(x)||x.defaultPrevented)return;x.preventDefault();const{onFiles:b,accept:v,single:T}=m.current,A=[...((y=x.dataTransfer)==null?void 0:y.files)??[]].filter(k=>gh(k,v));A.length>0&&b(T?A.slice(0,1):A)}]];for(const[x,b]of N)d.addEventListener(x,b);return()=>{for(const[x,b]of N)d.removeEventListener(x,b)}},[e,i]),{over:s}}const vh=280;function wh(e,t){const[n,r]=l.useState(void 0);return l.useLayoutEffect(()=>{const a=e.current;if(!t||a===null)return;r(a.getBoundingClientRect().width);const i=new ResizeObserver(([s])=>{r(s.contentRect.width)});return i.observe(a),()=>{i.disconnect()}},[e,t]),n}function yh(e){const{variant:t="auto",accept:n,multiple:r=!1,url:a,onFiles:i,onUrl:s,label:c,placeholder:m,disabled:d=!1,defaultValue:f=""}=e,h=Me(),p=l.useRef(null),S=(wh(p,t==="auto")??0)<vh?"row":"drop",N=t==="auto"?S:t,{over:x}=Ls(p,i,{accept:n,single:!r,disabled:d||N==="button"}),[b,v]=l.useState(f);l.useEffect(()=>{v(f)},[f]);const[T,A]=l.useState(!1),y=a??s!==void 0,k=c??h.fileChoose,j=m??h.fileUrl,I=()=>{Rs({accept:n,multiple:r}).then(M=>{M.length>0&&i(M)})},B=o.jsx(Ce,{name:"upload",size:16}),C=M=>o.jsx(u.TextInput,{type:"url",value:b,disabled:d,placeholder:j,"aria-label":j,error:T,className:"cm-file-url",rightSection:M,onChange:Y=>{v(Y.currentTarget.value),A(!1)},onKeyDown:Y=>{if(Y.key!=="Enter")return;Y.preventDefault();const P=Y.currentTarget,F=P.value.trim();if(F===""||!P.validity.valid){A(F!=="");return}s==null||s(F)}}),V=M=>o.jsx(u.Button,{variant:"default",disabled:d,leftSection:M?B:void 0,onClick:I,children:k});let H;return N==="button"?H=V(!0):N==="row"?H=y?C(o.jsx(u.ActionIcon,{disabled:d,title:k,"aria-label":k,onClick:I,children:B})):V(!0):H=o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"cm-file-drop-target",children:[o.jsx("span",{className:"cm-file-drop-glyph",children:o.jsx(Ce,{name:"upload",size:24})}),V(!1)]}),y&&C()]}),o.jsx("div",{ref:p,className:"cm-file-source","data-variant":N,"data-over":x||void 0,"data-disabled":d||void 0,children:H})}const kh=16,Sh=100,Eh=l.forwardRef(function(t,n){const{value:r,defaultValue:a,onChange:i,size:s="sm",rightSection:c,clearLabel:m,placeholder:d,classNames:f,wrapperProps:h,onKeyDown:p,onBlur:g,onFocus:S,disabled:N,"aria-label":x,...b}=t,v=Me(),[T,A]=ye.useUncontrolled({value:r,defaultValue:a,finalValue:"",onChange:i}),[y,k]=l.useState(!1),j=l.useRef(void 0),I=l.useRef(null);l.useEffect(()=>()=>{window.clearTimeout(j.current)},[]);const B=H=>{I.current=H,typeof n=="function"?n(H):n&&(n.current=H)},C=H=>{var M;A("",H),(M=I.current)==null||M.focus()},V=c===void 0?void 0:H=>o.jsxs("div",{className:"cm-search-joined",children:[H,o.jsx("div",{className:"cm-search-joined-end",children:c})]});return o.jsx(u.TextInput,{...b,inputContainer:V,ref:B,size:s==="lg"?"md":"sm",value:T,disabled:N,placeholder:d??v.searchPlaceholder,"aria-label":x??(b.label===void 0?v.search:void 0),type:"search",onChange:H=>{A(H.currentTarget.value,H)},onKeyDown:H=>{p==null||p(H),!H.defaultPrevented&&H.key==="Escape"&&T!==""&&(H.preventDefault(),H.stopPropagation(),C(H))},onFocus:H=>{window.clearTimeout(j.current),k(!1),S==null||S(H)},onBlur:H=>{k(!0),j.current=window.setTimeout(()=>{k(!1)},Sh),g==null||g(H)},classNames:{...typeof f=="object"?f:void 0,wrapper:"cm-search"},wrapperProps:{...h,"data-cm-linger":y||void 0},leftSection:o.jsx("span",{className:"cm-search-icon","aria-hidden":"true",children:o.jsx(Ce,{name:"search",size:kh})}),leftSectionPointerEvents:"none",rightSection:T!==""&&!N?o.jsx(u.Input.ClearButton,{"aria-label":m??v.clearSearch,onMouseDown:H=>{H.preventDefault()},onClick:H=>{C(H)},onKeyDown:H=>{H.key==="Escape"&&(H.preventDefault(),H.stopPropagation(),C(H))}}):void 0})}),Th=156,Ah=12;function jh(e){const{name:t,value:n,onDetach:r,onClick:a,swatch:i,swatchWidth:s,kind:c="variable",glyph:m,width:d,detachLabel:f="Detach variable","aria-label":h,"aria-describedby":p,tooltip:g,tone:S,onValueCommit:N,valueLabel:x="Value",className:b,style:v}=e;Ue();const[T,A]=l.useState(""),y=l.useRef(""),k=C=>{y.current=C,A(C)},j=C=>{const V=y.current.trim();k(""),V!==""&&(N==null||N(V,C))},I=g??(n===void 0?t:`${t}
|
|
4812
|
+
${n}`),B=r===void 0?null:o.jsx("button",{type:"button",className:"cm-var-detach cm-focus-outside","aria-label":f,onClick:C=>{r(C)},children:o.jsx(Ce,{name:"unlink",size:Ah})});return i!==void 0||c==="property"?o.jsxs("div",{className:["cm-var-fill",b].filter(Boolean).join(" "),style:{width:d??Th,...v},"data-kind":c,children:[o.jsx(u.Tooltip,{label:I,style:{whiteSpace:"pre-line"},children:o.jsxs("button",{type:"button",className:"cm-var-fill-button","data-kind":c,"aria-label":h??(n===void 0?t:`${t}, ${n}`),"aria-describedby":p,onClick:C=>{a==null||a(C)},children:[i!==void 0&&o.jsx("span",{className:"cm-var-chit",style:{background:i,...s===void 0?{}:{width:s}},"aria-hidden":"true"}),o.jsx("span",{className:"cm-var-name","data-tone":S,children:t})]})}),B]}):o.jsxs("div",{className:["cm-field","cm-var-field",b].filter(Boolean).join(" "),style:{width:d??D.FIELD,...v},"data-kind":c,children:[m!==void 0&&o.jsx("span",{className:"cm-scrub-slot",style:{width:D.GLYPH_SLOT,height:D.CONTROL_HEIGHT,flex:"none"},"aria-hidden":"true",children:m}),o.jsx("span",{className:"cm-var-pill-slot",children:o.jsx(u.Tooltip,{label:I,style:{whiteSpace:"pre-line"},children:o.jsx("button",{type:"button",className:"cm-var-pill cm-focus-outside","aria-label":h??(n===void 0?t:`${n}, variable ${t}`),"aria-describedby":p,"data-tone":n===void 0?S:void 0,onClick:C=>{a==null||a(C)},children:n??t})})}),N!==void 0&&o.jsx("input",{className:"cm-var-input","aria-label":x,value:T,onChange:C=>{k(C.currentTarget.value)},onKeyDown:C=>{C.key==="Enter"?(C.preventDefault(),j(C)):C.key==="Escape"&&(k(""),C.currentTarget.blur())},onBlur:j}),B]})}const Ch=500,Nh=8,Wt=new Map,Ih=()=>[...Wt.values()].some(e=>e.held),Ps=e=>{const t=Wt.get(e);t&&(Wt.delete(e),t.timer!==null&&clearTimeout(t.timer),Wt.size===0&&Rh(),t.handlers.forEach(n=>{var r;return(r=n.onEnd)==null?void 0:r.call(n)}))},Ms=e=>{const t=Wt.get(e.pointerId);if(!(!t||t.lifted||!(Math.hypot(e.clientX-t.down.clientX,e.clientY-t.down.clientY)>Nh))){if(!t.held){t.timer!==null&&(clearTimeout(t.timer),t.timer=null);return}t.lifted=!0,t.handlers.forEach(r=>{var a;return(a=r.onLift)==null?void 0:a.call(r,e)})}},un=e=>{Ps(e.pointerId)},Os=e=>{Ih()&&e.cancelable&&e.preventDefault()};function zh(){document.addEventListener("pointermove",Ms,!0),document.addEventListener("pointerup",un,!0),document.addEventListener("pointercancel",un,!0),document.addEventListener("touchmove",Os,{capture:!0,passive:!1})}function Rh(){document.removeEventListener("pointermove",Ms,!0),document.removeEventListener("pointerup",un,!0),document.removeEventListener("pointercancel",un,!0),document.removeEventListener("touchmove",Os,!0)}function Fs(e,t){let n=Wt.get(e.pointerId);if((n==null?void 0:n.down)!==e){Ps(e.pointerId),Wt.size===0&&zh();const r={down:e,held:!1,lifted:!1,timer:null,handlers:[]};r.timer=setTimeout(()=>{r.timer=null,r.held=!0,r.handlers.forEach(a=>{var i;return(i=a.onHold)==null?void 0:i.call(a)})},Ch),Wt.set(e.pointerId,r),n=r}n.handlers.push(t)}const Za={x:3,y:-5},Lh=500,Wn=["-webkit-touch-callout","-webkit-user-select","user-select"];function Ds({target:e,children:t,onChange:n,...r}){const[a,i]=l.useState(null),s=l.useRef({x:0,y:0}),c=l.useRef(null),m=l.useRef(-1/0),d=l.useRef(null),f=a!==null,h=l.useRef(null),p=l.useRef(!1),g=l.useRef(!1),S=l.useRef(!1),N=l.useRef(!1),x=l.useRef(!1),b=(M,Y,P=!1)=>{x.current=P,c.current=document.activeElement instanceof HTMLElement?document.activeElement:null,s.current={x:M,y:Y},i({x:M,y:Y}),n==null||n(!0)},v=()=>{var M;i(null),n==null||n(!1),(M=c.current)==null||M.focus()};l.useEffect(()=>{if(!f)return;const M=setTimeout(()=>{var P;const Y=d.current;if(!x.current){Y==null||Y.focus();return}(P=Y==null?void 0:Y.querySelector("[data-menu-item]:not([data-disabled]):not(:disabled)"))==null||P.focus()},0);return()=>{clearTimeout(M)}},[f,a]);const T=()=>{const M=h.current;h.current=null,M==null||M()};l.useEffect(()=>T,[]);const A=M=>{var me,we;const Y=M.defaultPrevented;if((we=(me=e.props).onPointerDown)==null||we.call(me,M),T(),p.current=!1,g.current=!1,M.defaultPrevented&&!Y||M.pointerType==="mouse"||!M.isPrimary)return;const F=M.currentTarget,$=M.target,{clientX:q,clientY:z}=M,G=Wn.map(te=>F.style.getPropertyValue(te));Wn.forEach(te=>{F.style.setProperty(te,"none")});const _=()=>{Wn.forEach((te,de)=>{F.style.setProperty(te,G[de])})};h.current=_;let ae=!1;Fs(M.nativeEvent,{onHold:()=>{h.current===_&&(T(),S.current=!0,$.dispatchEvent(new globalThis.MouseEvent("contextmenu",{bubbles:!0,cancelable:!0,clientX:q,clientY:z,button:2})),S.current=!1,ae=!0,N.current=!0,p.current=!0,g.current=!0)},onLift:()=>{ae&&(i(null),n==null||n(!1))},onEnd:()=>{h.current===_&&T()}})},y=M=>{var Y,P;(P=(Y=e.props).onTouchEnd)==null||P.call(Y,M),p.current&&M.cancelable&&M.preventDefault()},k=M=>{var Y,P;if(p.current){p.current=!1,M.preventDefault(),M.stopPropagation();return}(P=(Y=e.props).onClickCapture)==null||P.call(Y,M)},j=M=>{var F,$;const Y=S.current;if(g.current&&!Y){g.current=!1,M.preventDefault();return}h.current!==null&&!Y&&(T(),p.current=!0,N.current=!0);const P=M.defaultPrevented;($=(F=e.props).onContextMenu)==null||$.call(F,M),!(M.defaultPrevented&&!P)&&(M.preventDefault(),!(performance.now()-m.current<Lh)&&b(M.clientX+Za.x,M.clientY+Za.y))},I=M=>{var Y,P;if(N.current=!1,p.current=!1,g.current=!1,(P=(Y=e.props).onKeyDown)==null||P.call(Y,M),!M.defaultPrevented&&(M.shiftKey&&M.key==="F10"||M.key==="ContextMenu")){M.preventDefault(),M.stopPropagation(),m.current=performance.now();const F=M.target.getBoundingClientRect();b(F.left,F.bottom,!0)}},{x:B,y:C}=a??s.current,V=M=>{N.current&&(M.preventDefault(),M.stopPropagation())},H=()=>{N.current=!1};return o.jsxs(o.Fragment,{children:[l.cloneElement(e,{onContextMenu:j,onKeyDown:I,onPointerDown:A,onClickCapture:k,onTouchEnd:y}),o.jsxs(u.Menu,{...r,opened:f,onChange:M=>{M||v()},position:"bottom-start",offset:0,children:[o.jsx(u.Menu.Target,{children:o.jsx("span",{"aria-hidden":"true","data-context-menu-anchor":"",style:{position:"fixed",left:B,top:C-1,width:1,height:1,pointerEvents:"none"}})}),o.jsx(u.Menu.Dropdown,{ref:d,onPointerUpCapture:V,onClickCapture:V,onPointerDownCapture:H,onKeyDownCapture:H,children:t})]})]})}function Ph({checked:e,radio:t=!1,...n}){return o.jsx(u.Menu.Item,{...n,leftSection:o.jsx("span",{className:"cm-menu-row-check","aria-hidden":"true",children:o.jsx(Ce,{name:"check",size:16})}),renderRoot:r=>o.jsx("button",{type:"button",...r,role:t?"menuitemradio":"menuitemcheckbox","aria-checked":e})})}function Mh({children:e}){return o.jsx("span",{className:"cm-menu-item-description",children:e})}function Oh({children:e}){return o.jsx("span",{"aria-hidden":"true",children:e})}function Fh({className:e,...t}){return o.jsx(u.Box,{className:e?`cm-modal-footer ${e}`:"cm-modal-footer",...t})}const Bs=l.forwardRef(function({message:t,icon:n,action:r,withCloseButton:a=!1,onClose:i,closeLabel:s="Dismiss",alert:c=!0,...m},d){return o.jsxs(u.Notification,{ref:d,role:"group",withCloseButton:a,onClose:i,closeButtonProps:{"aria-label":s,iconSize:10},"data-testid":"toast",...m,children:[o.jsxs("span",{role:c?"alert":void 0,className:"cm-toast-message",children:[n,t]}),r?o.jsx(u.Button,{variant:"default",className:"cm-toast-action",onClick:r.onClick,children:r.label}):null]})}),Dh=20,Bh=3e3,Hh=6e3;function Uh(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<Dh?Bh:Hh}function Vh(e){return typeof e=="object"&&e!==null&&"message"in e}const Hs=l.createContext(null);function Gh({children:e,bottom:t=76,zIndex:n}){const[r,a]=l.useState(null),i=l.useRef(void 0),s=l.useRef(0),c=l.useCallback(()=>{clearTimeout(i.current),a(null)},[]),m=l.useCallback(h=>{const p=Vh(h)?h:{message:h};clearTimeout(i.current),s.current+=1,a({...p,key:s.current});const g=Uh(p);g!==null&&(i.current=setTimeout(c,g))},[c]);l.useEffect(()=>()=>{clearTimeout(i.current)},[]);const d=l.useMemo(()=>({show:m,hide:c}),[m,c]);let f=null;if(r){const{key:h,duration:p,...g}=r;f=o.jsx(u.Portal,{children:o.jsx("div",{className:"cm-toast-layer",style:{bottom:t,zIndex:n},children:o.jsx(Bs,{...g,onClose:c},h)})})}return o.jsxs(Hs.Provider,{value:d,children:[e,f]})}function qh(){const e=l.useContext(Hs);if(!e)throw new Error("useToast must be used inside a ToastProvider");return e}function Wh({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 Kh=["top","middle","bottom"],Yh=["left","center","right"],$o=Kh.flatMap(e=>Yh.map(t=>`${e}-${t}`)),Xh={"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"},Jh=[7,10,5],Zh=["flex-start","center","flex-end"];function Qh({value:e,defaultValue:t,onChange:n,direction:r="vertical",label:a="Alignment",cellLabels:i,disabled:s=!1,name:c}){const m=ye.useId(c),[d,f]=ye.useUncontrolled({value:e,defaultValue:t,finalValue:"top-left",onChange:n}),h=p=>{var v,T;const g={ArrowLeft:[0,-1],ArrowRight:[0,1],ArrowUp:[-1,0],ArrowDown:[1,0]}[p.key];if(s||g===void 0||p.altKey||p.ctrlKey||p.metaKey)return;p.preventDefault();const S=$o.indexOf(d),N=Math.min(2,Math.max(0,Math.floor(S/3)+g[0])),x=Math.min(2,Math.max(0,S%3+g[1])),b=$o[N*3+x];b!==d&&f(b,p),(T=(v=p.currentTarget.closest(".cm-align"))==null?void 0:v.querySelector(`input[value="${b}"]`))==null||T.focus()};return o.jsx("div",{role:"radiogroup","aria-label":a,"aria-disabled":s||void 0,className:"cm-align","data-direction":r,"data-disabled":s||void 0,"data-testid":"alignment-matrix",children:o.jsx("div",{className:"cm-align-grid",children:$o.map((p,g)=>{const S=p===d,N=(i==null?void 0:i[p])??Xh[p],x=Zh[r==="vertical"?g%3:Math.floor(g/3)];return o.jsxs("div",{className:"cm-align-cell","data-value":p,"data-checked":S||void 0,style:{"--cm-align-cross":x},children:[o.jsx(u.Tooltip,{label:N,disabled:s,children:o.jsx("input",{type:"radio",name:m,value:p,checked:S,disabled:s,"aria-label":N,onKeyDown:h,onChange:b=>{f(p,b)}})}),o.jsx("span",{className:"cm-align-dot","aria-hidden":"true"}),o.jsx("span",{className:"cm-align-bars","aria-hidden":"true",children:Jh.map(b=>o.jsx("span",{className:"cm-align-bar",style:{"--cm-bar":`${String(b)}px`}},b))})]},p)})})})}const _h=1,$h=10;function ef(e,{min:t,max:n}){let r="";return e<=t?r=" (min)":e>=n&&(r=" (max)"),`${String(e)} pixels${r}`}const tf=l.forwardRef(function({edge:t="end",value:n,defaultValue:r,min:a,max:i,onChange:s,onChangeEnd:c,label:m="Resize panel",valueText:d=ef,style:f,onPointerDown:h,onPointerMove:p,onPointerUp:g,onPointerCancel:S,onKeyDown:N,onDoubleClick:x,...b},v){Ue();const T=it(kt()),A=r??a,[y,k]=ye.useUncontrolled({value:n,defaultValue:r,finalValue:a,onChange:s}),j=l.useRef(null),I=t==="start"||t==="end",B=t==="end"?1:-1;let C=t==="bottom"?1:-1;I&&(C=T?-B:B);const V=z=>Math.min(i,Math.max(a,Math.round(z))),H=(z,G)=>{const _=V(z);_!==y&&k(_),G&&(c==null||c(_))};let M="ns-resize";if(I){const z=C>0?"e":"w",G=C>0?"w":"e";M="ew-resize",y<=a?M=`${z}-resize`:y>=i&&(M=`${G}-resize`)}const Y=z=>{if(h==null||h(z),z.defaultPrevented||z.button!==0)return;z.preventDefault(),z.currentTarget.setPointerCapture(z.pointerId),so();const G=I?z.clientX:z.clientY;j.current={start:G,from:y,last:y}},P=z=>{p==null||p(z);const G=j.current;if(!G)return;const _=I?z.clientX:z.clientY;G.last=V(G.from+(_-G.start)*C),H(G.last,!1)},F=z=>{const G=j.current;j.current=null,G&&(z.currentTarget.hasPointerCapture(z.pointerId)&&z.currentTarget.releasePointerCapture(z.pointerId),c==null||c(G.last))},$=z=>{if(N==null||N(z),z.defaultPrevented)return;const G=z.shiftKey?$h:_h,_=I?{ArrowRight:G,ArrowLeft:-G}:{ArrowDown:G,ArrowUp:-G};let ae;z.key in _?ae=y+_[z.key]*C:z.key==="Home"?ae=a:z.key==="End"&&(ae=i),ae!==void 0&&(z.preventDefault(),H(ae,!0))},q=z=>{x==null||x(z),H(A,!0)};return o.jsx(u.Box,{ref:v,role:"separator",tabIndex:0,"aria-label":m,"aria-orientation":I?"vertical":"horizontal","aria-valuenow":y,"aria-valuemin":a,"aria-valuemax":i,"aria-valuetext":d(y,{min:a,max:i}),"data-testid":"resize-handle","data-edge":t,className:"cm-resize-handle",...b,style:{cursor:M,...f},onPointerDown:Y,onPointerMove:P,onPointerUp:z=>{g==null||g(z),F(z)},onPointerCancel:z=>{S==null||S(z),F(z)},onKeyDown:$,onDoubleClick:q})});function Fr({value:e,onCommit:t,onCancel:n,label:r="Name",width:a}){Ue();const i=l.useRef(null),s=l.useRef(null),c=l.useRef(!1);l.useEffect(()=>{var f,h,p,g;const d=((h=(f=i.current)==null?void 0:f.parentElement)==null?void 0:h.closest("[tabindex]"))??null;s.current=d??(document.activeElement instanceof HTMLElement?document.activeElement:null),(p=i.current)==null||p.focus(),(g=i.current)==null||g.select()},[]);const m=(d,f)=>{var p;if(c.current)return;c.current=!0;const h=s.current;d?t(((p=i.current)==null?void 0:p.value)??e):n==null||n(),f&&(h!=null&&h.isConnected)&&h.focus()};return o.jsx(u.TextInput,{ref:i,"aria-label":r,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:d=>{d.key==="Enter"?(d.preventDefault(),d.stopPropagation(),m(!0,!0)):d.key==="Escape"?(d.preventDefault(),d.stopPropagation(),m(!1,!0)):d.stopPropagation()},onFocus:()=>{c.current=!1},onBlur:()=>{m(!0,!1)},onClick:d=>{d.stopPropagation()},onDoubleClick:d=>{d.stopPropagation()}})}const Us=l.forwardRef(function({name:t,current:n=!1,tone:r="page",selected:a=!1,divider:i=!1,nameSlot:s,tabIndex:c=0,description:m,descriptionTone:d="default",value:f,menu:h,...p},g){Ue();const S=A=>!i&&A!==void 0&&A!==null&&A!==!1&&A!=="",N=S(m),x=S(f),b=S(h),v=o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"cm-page-name",children:t}),x&&o.jsx("span",{className:"cm-page-value",children:f})]});let T=v;return i?T=o.jsx("span",{className:"cm-page-divider"}):N&&(T=o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"cm-page-line",children:v}),o.jsx("span",{className:"cm-page-description","data-tone":d,children:m})]})),o.jsxs("div",{role:"row",className:b?"cm-page-row":void 0,children:[o.jsx("div",{ref:g,role:"gridcell",tabIndex:c,"aria-current":n?"page":void 0,"aria-selected":r==="group"?a:void 0,"aria-label":i?"Divider":void 0,"data-tone":r,"data-two-line":N?"":void 0,className:"cm-page-cell",...p,children:s??o.jsx("div",{className:"cm-page-button",title:i?void 0:t,children:T})}),b&&o.jsx("div",{role:"gridcell",className:"cm-page-menu",children:h})]})});function of(e,t){var r;if(e.key!=="ArrowLeft")return;const n=(r=t.parentElement)==null?void 0:r.querySelector(".cm-page-cell");n&&(e.preventDefault(),n.focus())}function nf(e,t){var r,a;if(e.key==="F10"&&!e.shiftKey)return!1;const n=(a=(r=t.parentElement)==null?void 0:r.querySelector(".cm-page-menu"))==null?void 0:a.querySelector("button, a[href], input, select, [tabindex]");return n?(n.focus(),e.key!=="ArrowRight"&&n.click(),!0):!1}function rf({items:e,current:t,defaultCurrent:n,onCurrentChange:r,tone:a="page",label:i="Pages",onRename:s,renameLabel:c="Page name"}){var A;Ue();const[m,d]=ye.useUncontrolled({value:t,defaultValue:n,finalValue:null,onChange:(y,k)=>{y!==null&&(r==null||r(y,k))}}),[f,h]=l.useState(null),[p,g]=l.useState(null),S=l.useRef(new Map),N=l.useRef(null);l.useEffect(()=>{var y;(y=N.current)==null||y.querySelectorAll(".cm-page-menu :is(button, a[href], input, select, textarea, [tabindex])").forEach(k=>{k.tabIndex=-1})});const x=e.filter(y=>y.divider!==!0),b=(f!==null&&x.some(y=>y.id===f)?f:null)??(m!==null&&x.some(y=>y.id===m)?m:null)??((A=x[0])==null?void 0:A.id)??null,v=y=>{var k;y!==void 0&&(h(y),(k=S.current.get(y))==null||k.focus())},T=y=>{var B,C,V,H;const k=y.target,j=k.closest(".cm-page-menu");if(j!==null){of(y,j);return}if(k.getAttribute("role")!=="gridcell"||b===null)return;const I=x.findIndex(M=>M.id===b);switch(y.key){case"ArrowDown":v((B=x[I+1])==null?void 0:B.id);break;case"ArrowUp":v((C=x[I-1])==null?void 0:C.id);break;case"Home":v((V=x[0])==null?void 0:V.id);break;case"End":v((H=x[x.length-1])==null?void 0:H.id);break;case"ArrowRight":case"ContextMenu":case"F10":if(!nf(y,k))return;break;case"Enter":case" ":d(b,y);break;case"F2":if(!s)return;g(b);break;default:return}y.preventDefault()};return o.jsx("div",{ref:N,role:"grid","aria-label":i,className:"cm-page-list",tabIndex:-1,onFocus:y=>{y.target===y.currentTarget&&b!==null&&v(b)},onKeyDown:T,children:e.map(y=>{const k=y.id===m;return o.jsx(Us,{ref:j=>{j?S.current.set(y.id,j):S.current.delete(y.id)},"data-id":y.id,name:y.name,divider:y.divider,description:y.description,descriptionTone:y.descriptionTone,value:y.value,menu:y.menu,tone:a,current:a==="page"&&k,selected:a==="group"&&k,tabIndex:y.id===b?0:-1,nameSlot:p===y.id?o.jsx(Fr,{value:y.name,label:c,onCommit:j=>{g(null),j!==""&&j!==y.name&&(s==null||s(y.id,j))},onCancel:()=>{g(null)}}):void 0,onFocus:j=>{j.target===j.currentTarget&&y.divider!==!0&&h(y.id)},onClick:j=>{y.divider!==!0&&(h(y.id),d(y.id,j))},onDoubleClick:()=>{s&&y.divider!==!0&&g(y.id)}},y.id)})})}function af(e,t){const n=t?e.toLocaleLowerCase().indexOf(t.toLocaleLowerCase()):-1;return!t||n<0?e:o.jsxs(o.Fragment,{children:[e.slice(0,n),o.jsx("span",{className:"cm-result-match",children:e.slice(n,n+t.length)}),e.slice(n+t.length)]})}const sf=l.forwardRef(function({name:t,match:n,path:r,icon:a,current:i=!1,picked:s,tone:c="default",lines:m=1,onMouseDown:d,...f},h){return Ue(),o.jsxs("div",{ref:h,role:"option","aria-selected":i||s===!0,"data-active":i?"":void 0,"data-tone":c==="component"?"component":void 0,"data-lines":m===2?"2":void 0,className:"cm-result-row",tabIndex:-1,onMouseDown:p=>{p.preventDefault(),d==null||d(p)},...f,children:[o.jsx("span",{className:"cm-result-icon","aria-hidden":"true",children:a}),o.jsxs("span",{className:"cm-result-text",children:[o.jsx(ro,{name:af(t,n),className:"cm-result-name",detail:r}),r!=null&&o.jsx("span",{className:"cm-result-path","data-row-detail":"",children:r})]}),s===!0&&o.jsx("span",{className:"cm-result-picked","aria-hidden":"true",children:o.jsx(Ce,{name:"check",size:16})})]})});function cf(e,t){const n=[],r=(a,i,s)=>{a.forEach((c,m)=>{var h;const d=(((h=c.children)==null?void 0:h.length)??0)>0,f=d&&t.has(c.id);n.push({node:c,level:i,parentId:s,posInSet:m+1,setSize:a.length,hasChildren:d,expanded:f}),f&&c.children&&r(c.children,i+1,c.id)})};return r(e,1,null),n}function lf(e,t,n,r,a){const i=e[t-1],s=e[t+1],c=i!==void 0&&r.has(i.node.id)&&n[t-1]!=="parent",m=s!==void 0&&r.has(s.node.id)&&!(a&&s.expanded);return c&&m?"middle":m?"first":c?"last":"selected"}function df(e,t,n=!0){const r=[],a=[];return e.forEach((i,s)=>{for(;a.length>0&&a[a.length-1].level>=i.level;)a.pop();const c=n?a.find(f=>f.selected):void 0,m=t.has(i.node.id),d=e[s+1];m?r.push(n&&i.expanded?"parent":lf(e,s,r,t,n)):c?r.push(d===void 0||d.level<=c.level?"child-last":"child"):r.push("none"),a.push({level:i.level,selected:m})}),r}function uf(e,t){return t<.25?"before":t>.75?e.expanded?"first":"after":e.node.children!==void 0?"into":t<.5?"before":"after"}function mf(e,t){let n=t;for(;n+1<e.length&&e[n+1].level>e[t].level;)n++;return n}function pf(e,t,n,r){if(r==="into")return{parentId:t.node.id,index:0,boxRow:n,line:null};if(r==="first")return{parentId:t.node.id,index:0,boxRow:n,line:{boundary:n+1,level:t.level+1}};const{parentId:a}=t,i=r==="before",s=a===null?-1:e.findIndex(c=>c.node.id===a);return{parentId:a,index:i?t.posInSet-1:t.posInSet,boxRow:s>=0?s:null,line:{boundary:i?n:mf(e,n)+1,level:t.level}}}function hf(e,t,n){const r=new Map(e.map(a=>[a.node.id,a.parentId]));for(let a=t;a!==null;a=r.get(a)??null)if(a===n)return!0;return!1}function ff(e,t,n,r,a){const i=e[n],s=e.find(g=>g.node.id===t);if(!i||!s)return null;const c=pf(e,i,n,uf(i,r)),{parentId:m,boxRow:d,line:f}=c;let{index:h}=c;if(hf(e,m,t)||(s.parentId===m&&s.posInSet-1<h&&(h-=1),s.parentId===m&&s.posInSet-1===h))return null;const p={id:t,parentId:m,index:h};return a&&!a(p)?null:{move:p,boxRow:d,line:f}}function Mt(e,t){const n=(r,a)=>{for(let i=0;i<r.length;i++){const s=r[i];if(s.id===t)return{node:s,parentId:a,siblings:r,index:i};const c=s.children&&n(s.children,s.id);if(c)return c}};return n(e,null)}function bf(e,t){var r;if(t.parentId===null)return e;const n=Mt(e,t.parentId);if(n!=null&&n.node.children){for(let a=t.parentId;a!==null;a=((r=Mt(e,a))==null?void 0:r.parentId)??null)if(a===t.id)return;return n.node.children}}function Vs(e,t,n){const r=Mt(e,t.id);if(!r||r.node.movable===!1)return!1;const a=bf(e,t);if(a===void 0)return!1;const i=a.filter(s=>s.id!==t.id).length;return t.index<0||t.index>i||r.parentId===t.parentId&&r.index===t.index?!1:(n==null?void 0:n(t))??!0}function xf(e,t,n){const r=t.parentId===null?void 0:Mt(e,t.parentId);return r?[{id:n,parentId:r.parentId,index:r.index+1}]:[]}function gf(e,t,n){const r=[],a=n==="up"?-1:1,i=e.siblings[e.index+a];return i!=null&&i.children&&r.push({id:t,parentId:i.id,index:a<0?i.children.length:0}),i&&r.push({id:t,parentId:e.parentId,index:e.index+a}),r}function vf(e,t,n,r){const a=Mt(e,t);return a?(n==="out"?xf(e,a,t):gf(a,t,n)).find(s=>Vs(e,s,r))??null:null}function wf(e,t){var i;const n=Mt(e,t.id),r=t.parentId===null||(i=Mt(e,t.parentId))==null?void 0:i.node,a=r?r.children??[]:e;return{name:(n==null?void 0:n.node.name)??t.id,parent:(r==null?void 0:r.name)??null,position:t.index+1,count:a.filter(s=>s.id!==t.id).length+1}}function Gs(e){return 16+24*(e-1)}function yf(e,t){let n;const r=m=>m.flatMap(d=>d.id===t.id?(n=d,[]):[d.children?{...d,children:r(d.children)}:d]),a=r(e),i=n;if(i===void 0)return[...e];const s=m=>{const d=[...m??[]];return d.splice(t.index,0,i),d},c=m=>m.map(d=>d.id===t.parentId?{...d,children:s(d.children)}:d.children?{...d,children:c(d.children)}:d);return t.parentId===null?s(a):c(a)}function qs(e,t,n){return e.map(r=>r.id===t?{...r,name:n}:r.children?{...r,children:qs(r.children,t,n)}:r)}const kf=200,Sf=500,Ef=/^[\p{L}\p{N}]$/u,Tf=10,Af=4,Qa=24,jf=12;function Cf(e){for(let t=e;t!==null;t=t.parentElement){const{overflowY:n}=getComputedStyle(t);if((n==="auto"||n==="scroll")&&t.scrollHeight>t.clientHeight)return t}return null}const _a=".cm-tree-actions :is(button, a[href], input, select, textarea, [tabindex]):not(:disabled)";function Kn(e){return e!=null&&e!==!1}function Nf(e){const t=e.filter(n=>n!==null).join(" ");return t===""?void 0:t}function If(e){return{"data-tint":e.tint??(e.selected?"selected":"none"),"data-tone":e.tone==="component"?"component":void 0,"data-dimmed":e.dimmed?"":void 0,"data-strong":e.isStrong?"":void 0,"data-two-line":e.twoLine?"":void 0}}function zf({expanded:e}){return o.jsx("span",{className:"cm-tree-caret-hit",children:o.jsx(Ce,{name:e?"caretDown":"caretRight",size:D.CHEVRON})})}function Rf({twoLine:e,name:t,nameSlot:n,description:r,descriptionId:a,detail:i}){return e?o.jsxs("span",{className:"cm-tree-lines",children:[n??o.jsx(ro,{className:"cm-tree-name",name:t}),o.jsx("span",{className:"cm-tree-description",id:a,children:r})]}):n??o.jsx(ro,{className:"cm-tree-name",name:t,detail:i})}function Lf({progress:e,name:t}){if(e===void 0)return null;const n=typeof e=="number"?Math.min(1,Math.max(0,e)):void 0;return o.jsx("span",{className:"cm-tree-progress",role:"progressbar","aria-label":t,"aria-valuemin":n===void 0?void 0:0,"aria-valuemax":n===void 0?void 0:100,"aria-valuenow":n===void 0?void 0:Math.round(n*100),"data-indeterminate":n===void 0?"":void 0,"data-testid":"tree-progress",children:o.jsx("span",{className:"cm-tree-progress-fill",style:n===void 0?void 0:{width:`${String(n*100)}%`}})})}const Ws=l.forwardRef(function({name:t,label:n,icon:r,level:a=1,hasChildren:i=!1,expanded:s=!1,selected:c=!1,tint:m,tone:d="default",dimmed:f=!1,strong:h,actions:p,posInSet:g,setSize:S,nameSlot:N,swatch:x,count:b,progress:v,description:T,descriptionVisible:A=!1,checkbox:y=!1,partlySelected:k=!1,onExpandToggle:j,className:I,onClick:B,onDoubleClick:C,onKeyDown:V,tabIndex:H=-1,...M},Y){Ue();const P=h??(a===1&&i),F=Kn(p),$=Kn(x),q=Kn(b)&&b!=="",z=T!==void 0&&T!=="",G=z&&A,_=l.useId(),ae=`${_}-count`,me=`${_}-description`,we=Nf([q?ae:null,z?me:null]),te=l.useRef(null);l.useLayoutEffect(()=>{var J;(J=te.current)==null||J.querySelectorAll("button, a[href], input, select, textarea, [tabindex]").forEach(ge=>{ge.tabIndex=-1})});const de=J=>{const ge=J.target,O=ge.closest("button, a, input, select, textarea, [role], [tabindex]");return O!==null&&O.closest(".cm-tree-actions")!==null?"actions":ge.closest(".cm-tree-caret")?"caret":"row"};return o.jsxs("div",{ref:Y,role:"treeitem","aria-label":n??t,"aria-level":a,"aria-posinset":g,"aria-setsize":S,"aria-expanded":i?s:void 0,"aria-selected":c,"aria-describedby":we,...If({tint:m,selected:c,tone:d,dimmed:f,isStrong:P,twoLine:G}),className:I?`cm-tree-row ${I}`:"cm-tree-row",tabIndex:H,onKeyDown:V,onClick:J=>{const ge=de(J);ge==="caret"&&i?j==null||j(J):ge==="row"&&(B==null||B(J))},onDoubleClick:J=>{de(J)==="row"&&(C==null||C(J))},...M,children:[o.jsx("span",{className:"cm-tree-indent",style:{width:Gs(a)-16}}),o.jsx("span",{className:"cm-tree-caret","aria-hidden":"true","data-testid":"tree-caret",children:i&&o.jsx(zf,{expanded:s})}),y&&o.jsx("span",{className:"cm-tree-check","aria-hidden":"true","data-testid":"tree-check",children:o.jsx(u.Checkbox,{size:"xs",checked:c,indeterminate:!c&&k,readOnly:!0,tabIndex:-1})}),o.jsx("span",{className:"cm-tree-icon","aria-hidden":"true",children:r}),$&&o.jsx("span",{className:"cm-tree-swatch","aria-hidden":"true","data-testid":"tree-swatch",children:x}),o.jsx(Rf,{twoLine:G,name:t,nameSlot:N,description:T,descriptionId:me,detail:q?b:void 0}),q&&o.jsx("span",{className:"cm-tree-count",id:ae,"data-testid":"tree-count","data-row-detail":"",children:b}),F&&o.jsx("span",{ref:te,className:"cm-tree-actions",children:p}),z&&!A&&o.jsx("span",{id:me,hidden:!0,children:T}),o.jsx(Lf,{progress:v,name:t}),o.jsx("span",{className:"cm-tree-ring","aria-hidden":"true"})]})});function Pf({items:e,label:t="Layers",selected:n,defaultSelected:r,onSelect:a,expanded:i,defaultExpanded:s,onExpandedChange:c,multiselect:m=!0,checkboxes:d=!1,onRename:f,renaming:h,onRenamingChange:p,onMove:g,stickyRoots:S=!1,height:N=480,renameLabel:x="Layer name",onRowKeyDown:b,canDrop:v,rowMenu:T,childBand:A=!0,revealSelected:y=!1,restingId:k}){var Xt,It;Ue();const j=Me(),I=yt(),[B,C]=l.useState(""),[V,H]=ye.useUncontrolled({value:n,defaultValue:r,finalValue:[],onChange:(w,U)=>{a==null||a([...w],U)}}),[M,Y]=ye.useUncontrolled({value:i,defaultValue:s,finalValue:[],onChange:w=>{c==null||c([...w])}}),P=l.useMemo(()=>new Set(M),[M]),F=l.useMemo(()=>new Set(V),[V]),$=l.useMemo(()=>{const w=new Set,U=oe=>{let ee=!1;for(const xe of oe.children??[])(U(xe)||F.has(xe.id))&&(ee=!0);return ee&&w.add(oe.id),ee};return e.forEach(U),w},[e,F]),q=l.useMemo(()=>cf(e,P),[e,P]),z=l.useMemo(()=>df(q,F,A),[q,F,A]),G=l.useMemo(()=>new Map(q.map((w,U)=>[w.node.id,U])),[q]),[_,ae]=l.useState(null),[me,we]=ye.useUncontrolled({value:h,finalValue:null,onChange:p}),[te,de]=l.useState(null),[J,ge]=l.useState(null),[O,ie]=l.useState(null),pe=l.useRef(null),ve=l.useRef(null),ue=l.useRef(null),L=l.useRef(!1),K=w=>{const U=wf(e,w);C(j.treeMoved(U.name,U.parent,I.format(U.position),I.format(U.count)))},Z=l.useRef({rows:q,canDrop:v,onMove:g,announce:K});Z.current={rows:q,canDrop:v,onMove:g,announce:K};const he=l.useRef(!1),be=l.useRef({text:"",at:0}),Ae=l.useRef(null),De=q.length>kf,Qe=ii.useVirtualizer({count:De?q.length:0,getScrollElement:()=>Ae.current,estimateSize:()=>D.DATA_PITCH,overscan:Tf}),Fe=(_!==null&&G.has(_)?_:null)??((Xt=q.find(w=>F.has(w.node.id)))==null?void 0:Xt.node.id)??(k!==void 0&&G.has(k)?k:void 0)??((It=q[0])==null?void 0:It.node.id)??null;l.useLayoutEffect(()=>{var w;(w=Ae.current)==null||w.querySelectorAll(_a).forEach(U=>{U.tabIndex=-1})}),l.useLayoutEffect(()=>{var U;if(!he.current||Fe===null)return;const w=(U=Ae.current)==null?void 0:U.querySelector(`[data-id="${CSS.escape(Fe)}"]`);w?(he.current=!1,w.focus()):De&&Qe.scrollToIndex(G.get(Fe)??0)});const Re=l.useRef(0);l.useLayoutEffect(()=>{var ee;if(_===null)return;const w=G.get(_);if(w!==void 0){Re.current=w;return}const U=document.activeElement===null||document.activeElement===document.body,oe=(ee=q[Math.min(Re.current,q.length-1)])==null?void 0:ee.node.id;U&&oe!==void 0?Ve(oe):ae(null)});const $e=l.useRef("");l.useLayoutEffect(()=>{var oe,ee;const w=V.join(`
|
|
4813
|
+
`);if(!y||w===$e.current)return;$e.current=w;const U=new Set;for(const xe of V)for(let fe=(oe=Mt(e,xe))==null?void 0:oe.parentId;fe;fe=(ee=Mt(e,fe))==null?void 0:ee.parentId)P.has(fe)||U.add(fe);U.size>0&&Y([...M,...U]),requestAnimationFrame(()=>{var je,xt;const xe=Z.current.rows.findIndex(lo=>V.includes(lo.node.id)),fe=(je=Z.current.rows[xe])==null?void 0:je.node.id,He=fe===void 0?null:(xt=Ae.current)==null?void 0:xt.querySelector(`[data-id="${CSS.escape(fe)}"]`);He?He.scrollIntoView({block:"nearest"}):xe>=0&&De&&Qe.scrollToIndex(xe)})});const Ve=w=>{w!==void 0&&(he.current=!0,ae(w),De&&Qe.scrollToIndex(G.get(w)??0))},Ye=(w,U)=>{P.has(w)!==U&&Y(U?[...M,w]:M.filter(oe=>oe!==w))},ft=w=>!g||!Vs(e,w,v)?!1:(K(w),g(w),w.parentId!==null&&Ye(w.parentId,!0),Ve(w.id),!0),st=(w,U,oe)=>{if(!m||U==="replace"||U==="range"&&pe.current===null){pe.current=w,H([w],oe);return}if(U==="toggle"){pe.current=w,H(F.has(w)?V.filter(fe=>fe!==w):[...V,w],oe);return}const ee=G.get(pe.current??w)??0,xe=G.get(w)??0;H(q.slice(Math.min(ee,xe),Math.max(ee,xe)+1).map(fe=>fe.node.id),oe)},ot=w=>w.shiftKey?"range":w.metaKey||w.ctrlKey||d&&m?"toggle":"replace",ct=w=>w===null?[]:[...w.querySelectorAll(_a)],ne=(w,U)=>{var fe,He;const oe=ct(U),ee=oe.indexOf(w.target),xe=G.get(U.dataset.id??"");if(!(ee===-1||xe===void 0||w.defaultPrevented||w.altKey)){if(w.key==="ArrowRight")(fe=oe[ee+1])==null||fe.focus();else if(w.key==="ArrowLeft"&&ee===0||w.key==="Escape")U.focus();else if(w.key==="ArrowLeft")oe[ee-1].focus();else if(w.key==="ArrowDown"||w.key==="ArrowUp")Ve(((He=q[xe+(w.key==="ArrowDown"?1:-1)])==null?void 0:He.node.id)??q[xe].node.id);else return;w.preventDefault()}},Be=(w,U,oe)=>{const ee=ct(U)[0];return w.key==="ArrowRight"&&ee&&(w.altKey||!oe.hasChildren)?(w.preventDefault(),ee.focus(),!0):!1},Xe=(w,U)=>{const oe={ArrowUp:"up",ArrowDown:"down",ArrowLeft:"out"};if(!g||!w.altKey||!(w.key in oe))return!1;w.preventDefault();const ee=vf(e,U.node.id,oe[w.key],v);return ee&&ft(ee),!0},Je=(w,U,oe)=>{var xe;const ee=(xe=q[w.key==="ArrowDown"?U+1:U-1])==null?void 0:xe.node.id;Ve(ee),!(!w.shiftKey||!m||ee===void 0)&&((pe.current===null||!F.has(pe.current))&&(pe.current=oe.node.id),st(ee,"range",w))},bt=(w,U)=>{var oe;U.hasChildren&&!U.expanded?Ye(U.node.id,!0):U.expanded&&Ve((oe=q[w+1])==null?void 0:oe.node.id)},lt=w=>{w.expanded?Ye(w.node.id,!1):w.parentId!==null&&Ve(w.parentId)},ce=w=>{Y([]);let U=w;for(;U.parentId!==null;)U=q[G.get(U.parentId)??0];Ve(U.node.id)},Ee=w=>Ef.test(w.key)&&!w.ctrlKey&&!w.metaKey&&!w.altKey&&!w.shiftKey,se=(w,U)=>{var je;const oe=Date.now(),ee=be.current;ee.text=oe-ee.at>Sf?w.key:ee.text+w.key,ee.at=oe;const xe=ee.text.toLocaleLowerCase(),fe=ee.text.length===1?U+1:U,He=[...q.slice(fe),...q.slice(0,fe)];Ve((je=He.find(xt=>xt.node.name.toLocaleLowerCase().startsWith(xe)))==null?void 0:je.node.id)},Ne=(w,U,oe)=>w.altKey&&w.code==="KeyL"?(ce(oe),!0):Ee(w)?(se(w,U),!0):!1,Te=(w,U,oe)=>{var ee,xe;switch(w.key){case"ArrowDown":case"ArrowUp":return Je(w,U,oe),!0;case"ArrowRight":return bt(U,oe),!0;case"ArrowLeft":return lt(oe),!0;case"Home":return Ve((ee=q[0])==null?void 0:ee.node.id),!0;case"End":return Ve((xe=q.at(-1))==null?void 0:xe.node.id),!0;case"Enter":case" ":return st(oe.node.id,ot(w),w),!0;case"*":{const fe=q.filter(He=>He.parentId===oe.parentId&&He.hasChildren).map(He=>He.node.id);return Y([...new Set([...M,...fe])]),!0}case"F2":return f?(we(oe.node.id),!0):!1;default:return Ne(w,U,oe)}},Pe=w=>{const U=w.target,oe=U.closest("[role='treeitem']");if(oe!==null&&oe!==U&&U.closest(".cm-tree-actions")!==null){ne(w,oe);return}if(U.getAttribute("role")!=="treeitem"||Fe===null)return;const ee=G.get(Fe)??0,xe=q[ee];b==null||b(xe.node.id,w),!(w.defaultPrevented||Be(w,U,xe)||Xe(w,xe))&&Te(w,ee,xe)&&w.preventDefault()},Ge=w=>{JSON.stringify(w)!==JSON.stringify(ue.current)&&(ue.current=w,de(w))},qe=(w,U,oe)=>{var je,xt;const ee=(je=document.elementFromPoint(U,oe))==null?void 0:je.closest(".cm-tree-row[data-index]");if(!ee||!((xt=Ae.current)!=null&&xt.contains(ee)))return null;const xe=ee.getBoundingClientRect(),{rows:fe,canDrop:He}=Z.current;return ff(fe,w,Number(ee.dataset.index),(oe-xe.top)/xe.height,He)};l.useEffect(()=>()=>{var w;return(w=ve.current)==null?void 0:w.stop()},[]);const We=(w,U)=>{var Fo;L.current=!1,(Fo=ve.current)==null||Fo.stop();const oe=U.pointerType==="touch",ee=U.currentTarget,{pointerId:xe}=U;let fe=0,He;const je={id:w,pointerId:xe,row:ee,x:U.clientX,y:U.clientY,started:!1,stop:()=>{document.removeEventListener("pointermove",Mo,!0),document.removeEventListener("pointerup",Jt,!0),document.removeEventListener("pointercancel",Oo,!0),document.removeEventListener("keydown",Zt,!0),cancelAnimationFrame(fe),He==null||He(),ve.current===je&&(ve.current=null),Ge(null),ge(null)}},xt=()=>{const Le=Ae.current,ut=Le&&Cf(Le);if(ut){const Qt=ut.getBoundingClientRect(),_t=Qt.top+Qa-je.y,vn=je.y-(Qt.bottom-Qa),Et=_t>0?-_t:Math.max(vn,0);Et!==0&&(ut.scrollTop+=Math.sign(Et)*Math.min(jf,Math.abs(Et)/2),Ge(qe(w,je.x,je.y)))}fe=requestAnimationFrame(xt)},lo=(Le,ut)=>{je.started=!0,He=so(),je.x=Le,je.y=ut;try{ee.setPointerCapture(xe)}catch{}ge(w),Ge(qe(w,Le,ut)),fe=requestAnimationFrame(xt)},Mo=Le=>{if(Le.pointerId===xe){if(!je.started){!oe&&Math.hypot(Le.clientX-je.x,Le.clientY-je.y)>Af&&lo(Le.clientX,Le.clientY);return}je.x=Le.clientX,je.y=Le.clientY,Ge(qe(w,Le.clientX,Le.clientY))}},Jt=Le=>{var Qt,_t;if(Le.pointerId!==xe)return;const ut=je.started?ue.current:null;L.current=je.started,je.stop(),ut&&(Z.current.announce(ut.move),(_t=(Qt=Z.current).onMove)==null||_t.call(Qt,ut.move))},Oo=Le=>{Le.pointerId===xe&&je.stop()},Zt=Le=>{Le.key==="Escape"&&je.started&&(Le.preventDefault(),Le.stopPropagation(),je.stop())};ve.current=je,document.addEventListener("pointermove",Mo,!0),document.addEventListener("pointerup",Jt,!0),document.addEventListener("pointercancel",Oo,!0),document.addEventListener("keydown",Zt,!0),oe&&Fs(U.nativeEvent,{onLift:Le=>{ve.current===je&&lo(Le.clientX,Le.clientY)}})},Ke=(w,U,oe)=>{const{id:ee}=w.node,xe=me===ee;return o.jsx(Ws,{"data-id":ee,"data-index":U,name:w.node.name,label:w.node.label,icon:w.node.icon,level:w.level,hasChildren:w.hasChildren,expanded:w.expanded,selected:F.has(ee),checkbox:d&&m,partlySelected:$.has(ee),tint:z[U],tone:w.node.tone,dimmed:w.node.dimmed,strong:w.node.strong??(w.level===1&&w.node.children!==void 0),actions:w.node.actions,swatch:w.node.swatch,count:w.node.count,progress:w.node.progress,description:w.node.description,descriptionVisible:w.node.descriptionVisible,posInSet:w.posInSet,setSize:w.setSize,tabIndex:ee===Fe?0:-1,style:oe,"data-dragging":J===ee?"":void 0,nameSlot:xe?o.jsx(Fr,{value:w.node.name,label:x,onCommit:fe=>{we(null),fe!==""&&fe!==w.node.name&&(f==null||f(ee,fe))},onCancel:()=>{we(null)}}):void 0,onFocus:fe=>{fe.target===fe.currentTarget&&_!==ee&&ae(ee)},onExpandToggle:()=>{Ye(ee,!w.expanded)},onClick:fe=>{if(L.current){L.current=!1;return}ae(ee),st(ee,ot(fe),fe)},onDoubleClick:()=>{f&&we(ee)},onPointerDown:fe=>{const He=fe.target.closest(".cm-tree-caret, .cm-tree-actions, input, textarea");g!==void 0&&!xe&&w.node.movable!==!1&&fe.button===0&&He===null&&We(ee,fe)}},ee)};let dt;if(De)dt=Qe.getVirtualItems().map(w=>Ke(q[w.index],w.index,{position:"absolute",top:0,left:0,transform:`translateY(${String(w.start)}px)`}));else{const w=[];q.forEach((U,oe)=>{U.level===1&&w.push({id:U.node.id,rows:[]}),w[w.length-1].rows.push(Ke(U,oe))}),dt=w.map(U=>o.jsx("div",{role:"none",className:"cm-tree-block",children:U.rows},U.id))}const St=D.DATA_PITCH,Ot=w=>{var oe,ee;const U=(oe=w.closest(".cm-tree-row[data-id]"))==null?void 0:oe.dataset.id;return U===void 0||(ee=q[G.get(U)??-1])==null?void 0:ee.node},Yt=w=>({moveTo:(U,oe=0)=>ft({id:w.id,parentId:U,index:oe})}),Ft=w=>{const U=w&&(T==null?void 0:T(w,Yt(w)));return U!=null&&U!==!1},Ze=o.jsx("div",{ref:Ae,role:"tree","aria-label":t,"aria-multiselectable":m||void 0,className:"cm-tree","data-virtual":De?"":void 0,"data-sticky-roots":S&&!De?"":void 0,style:De?{height:N}:void 0,tabIndex:-1,onFocus:w=>{w.target===w.currentTarget&&Fe!==null&&Ve(Fe)},onKeyDown:w=>{var U;if(T&&(w.shiftKey&&w.key==="F10"||w.key==="ContextMenu")){const oe=Fe===null||(U=q[G.get(Fe)??-1])==null?void 0:U.node;Ft(oe)?ie(oe):w.preventDefault();return}Pe(w)},onContextMenu:w=>{if(!T)return;const U=Ot(w.target);Ft(U)?(F.has(U.id)||(ae(U.id),st(U.id,"replace",w)),ie(U)):w.preventDefault()},children:o.jsxs("div",{className:"cm-tree-content",role:"none",style:De?{height:Qe.getTotalSize()}:void 0,children:[dt,(te==null?void 0:te.boxRow)!==null&&(te==null?void 0:te.boxRow)!==void 0&&o.jsx("div",{className:"cm-tree-drop-box","data-testid":"tree-drop-box",style:{top:te.boxRow*St}}),(te==null?void 0:te.line)&&o.jsx("div",{className:"cm-tree-drop-line","data-testid":"tree-drop-line",style:{top:te.line.boundary*St-1,insetInlineStart:Gs(te.line.level)}})]})});return o.jsxs(o.Fragment,{children:[T?o.jsx(Ds,{target:Ze,children:O?T(O,Yt(O)):null}):Ze,g&&o.jsx(u.VisuallyHidden,{role:"status","aria-live":"polite","data-testid":"tree-status",children:B})]})}const Mf='button, input[type="radio"], [role="radio"]';function Dr(e,t="pressed"){const n=l.useRef(null),r=l.useRef(null),a=()=>{var m;return Array.from(((m=n.current)==null?void 0:m.querySelectorAll(Mf))??[]).filter(d=>!d.disabled)},i=(m,d)=>{r.current=d;for(const f of m)f.tabIndex=f===d?0:-1};return l.useLayoutEffect(()=>{const m=a();if(m.length===0)return;const d=r.current&&m.includes(r.current)?r.current:null,f=t==="first"?void 0:m.find(h=>h.getAttribute("aria-pressed")==="true"||h.dataset.active!==void 0||h.checked);i(m,d??f??m[0])}),{ref:n,onFocus:m=>{const d=a(),f=m.target;d.includes(f)&&i(d,f)},onKeyDown:m=>{const d=e==="horizontal"&&n.current!==null&&getComputedStyle(n.current).direction==="rtl";let f=d?"ArrowRight":"ArrowLeft",h=d?"ArrowLeft":"ArrowRight";if(e==="vertical"&&([f,h]=["ArrowUp","ArrowDown"]),![f,h,"Home","End"].includes(m.key))return;const p=a(),g=p.indexOf(document.activeElement);if(g<0)return;m.preventDefault();let S=(g+(m.key===h?1:-1)+p.length)%p.length;m.key==="Home"?S=0:m.key==="End"&&(S=p.length-1),p[S].focus()}}}function co(){const e=u.useMantineTheme();Ro(e.other.compact)}function Of(){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 Ff({label:e,children:t,menuProps:n,className:r,...a}){co();const i=Me(),s=e??i.help,c=o.jsx(u.UnstyledButton,{...a,"aria-label":s,className:r?`cm-help-button ${r}`:"cm-help-button",children:o.jsx(Of,{})}),m=d=>o.jsx(u.Tooltip,{label:s,position:"top",openDelay:0,closeDelay:0,children:d});return t?o.jsxs(u.Menu,{position:"top-end",offset:4,classNames:{dropdown:"cm-menu-surface",item:"cm-menu-row"},...n,children:[m(o.jsx(u.Menu.Target,{children:c})),o.jsx(u.Menu.Dropdown,{children:t})]}):m(c)}function Br({label:e,shortcut:t}){return o.jsxs(o.Fragment,{children:[e,t?o.jsxs(o.Fragment,{children:[" ",o.jsx("span",{className:"cm-tip-shortcut",children:t})]}):null]})}const Ks=l.forwardRef(function({label:t,icon:n,shortcut:r,selected:a,tooltipPosition:i="top",disabledReason:s,className:c,onClick:m,...d},f){co();const h=s!==void 0;return o.jsx(u.Tooltip,{label:o.jsx(Br,{label:h?`${t}. ${s}`:t,shortcut:r}),position:i,children:o.jsx(u.UnstyledButton,{...d,ref:f,"aria-label":t,"aria-pressed":a,"aria-disabled":h||void 0,"aria-description":s,onClick:h?void 0:m,className:c?`cm-tool ${c}`:"cm-tool",children:o.jsx("span",{className:"cm-tool-icon","aria-hidden":"true",children:n})})})}),Df=500;function Bf({footer:e,children:t,className:n,onKeyDown:r,onFocus:a,...i}){co();const s=Me(),c=Dr("vertical");return o.jsxs(u.Box,{...i,ref:c.ref,role:"toolbar","aria-label":i["aria-label"]??s.navigation,"aria-orientation":"vertical",className:n?`cm-nav-rail ${n}`:"cm-nav-rail",onKeyDown:m=>{r==null||r(m),c.onKeyDown(m)},onFocus:m=>{a==null||a(m),c.onFocus(m)},children:[t,e?o.jsx("div",{className:"cm-nav-rail-footer",children:e}):null]})}function Hf(){return o.jsx("hr",{className:"cm-nav-rail-separator"})}const Uf=Object.assign(Bf,{Separator:Hf}),Vf=l.forwardRef(function({icon:t,label:n,shortcut:r,active:a,className:i,...s},c){const m=a===!0||s["aria-expanded"]===!0||s["aria-expanded"]==="true";return o.jsx(u.Tooltip,{label:o.jsx(Br,{label:n,shortcut:r}),position:"right",offset:{mainAxis:Li,crossAxis:-8},openDelay:Df,withArrow:!0,disabled:m,children:o.jsxs(u.UnstyledButton,{...s,ref:c,"aria-label":n,className:i?`cm-rail-button ${i}`:"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:n})]})})});function Gf(){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 qf({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 Wf(e,t){const n=t.trim().toLowerCase();return n===""||e.label.toLowerCase().includes(n)||(e.keywords??[]).some(r=>r.toLowerCase().includes(n))}function Kf({actions:e,onRun:t,onClose:n,query:r,onQueryChange:a,filter:i=Wf,header:s,searchAction:c,listId:m,truncate:d="end",descriptions:f="below",emptyText:h,highlight:p,activeOnOpen:g="first",placeholder:S,width:N=529,height:x=354,className:b,style:v,role:T="dialog",...A}){var de;co();const y=Me(),k=ye.useId(),j=m??`${k}-list`,I=l.useRef(null),[B,C]=ye.useUncontrolled({value:r,defaultValue:"",finalValue:"",onChange:a}),V=l.useMemo(()=>{const J=new Map;for(const ge of e){if(!i(ge,B))continue;const O=B.trim()===""?ge.section??"":"";J.set(O,[...J.get(O)??[],ge])}return[...J.entries()]},[e,i,B]),H=V.flatMap(([,J])=>J),M=B.trim()===""&&h!==void 0?h:y.noResults,Y=H.filter(J=>!J.disabled),[P,F]=l.useState({search:"",value:p}),q=B.trim()===""&&g==="none"||(de=Y[0])==null?void 0:de.value,z=P.search===B&&H.some(J=>J.value===P.value)?P.value:q,G=J=>{F({search:B,value:J})};l.useEffect(()=>{var J;(J=I.current)==null||J.focus()},[]);const _=J=>`${k}-option-${J}`,ae=J=>!!J.description&&(f==="end"||J.disabled===!0),me=J=>ae(J)?`${J.label}, ${String(J.description)}`:J.description||d==="middle"?J.label:void 0,we=J=>{var O,ie;const ge=H.findIndex(pe=>pe.value===z);if(J.key==="ArrowDown"||J.key==="ArrowUp"){if(J.preventDefault(),H.length===0)return;const pe=J.key==="ArrowDown"?1:-1,ve=H[ge<0&&pe<0?H.length-1:(ge+pe+H.length)%H.length];G(ve.value),(ie=(O=document.getElementById(_(ve.value)))==null?void 0:O.scrollIntoView)==null||ie.call(O,{block:"nearest"})}else J.key==="Enter"&&z!==void 0&&Y.some(pe=>pe.value===z)?(J.preventDefault(),t(z)):J.key==="Escape"&&n&&(J.preventDefault(),J.stopPropagation(),n())},te=A["aria-label"]??y.quickActions;return o.jsxs("div",{role:T,"aria-label":te,className:b?`cm-quick-actions ${b}`:"cm-quick-actions",style:{width:N,height:x,...v},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(Gf,{})}),o.jsx("input",{ref:I,"data-autofocus":!0,className:"cm-qa-input",type:"text",role:"combobox","aria-label":S??y.searchActions,"aria-expanded":"true","aria-controls":j,"aria-autocomplete":"list","aria-activedescendant":z===void 0?void 0:_(z),placeholder:S??y.searchActions,value:B,onChange:J=>{C(J.currentTarget.value)},onKeyDown:we}),B!==""||c?o.jsx("span",{className:"cm-qa-search-action",children:B===""?c:o.jsx(u.CloseButton,{"aria-label":y.clearSearch,onMouseDown:J=>{J.preventDefault()},onClick:()=>{var J;C(""),(J=I.current)==null||J.focus()}})}):null]}),s?o.jsx("div",{className:"cm-qa-header",children:s}):null,o.jsx("output",{className:"cm-qa-empty","aria-live":"polite",children:V.length===0?M:null}),o.jsx("div",{className:"cm-qa-list",id:j,role:"listbox","aria-label":te,children:V.map(([J,ge])=>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,ge.map(O=>o.jsxs("div",{id:_(O.value),role:"option","aria-selected":p!==void 0&&O.value===p,"aria-disabled":O.disabled||void 0,"aria-label":O["aria-label"]??me(O),"aria-describedby":O.description&&!ae(O)?`${_(O.value)}-description`:void 0,title:d==="middle"?O.label:void 0,"data-two-line":O.description&&(f==="below"||O.disabled)?"":void 0,className:"cm-qa-row","data-highlighted":O.value===z||void 0,onMouseMove:()=>{G(O.value)},onMouseDown:ie=>{ie.preventDefault()},tabIndex:-1,onClick:()=>{O.disabled||t(O.value)},onKeyDown:ie=>{ie.key==="Enter"&&!O.disabled&&t(O.value)},children:[o.jsx("span",{className:"cm-qa-row-icon","aria-hidden":"true",children:O.icon}),o.jsxs("span",{className:"cm-qa-row-text","data-descriptions":O.disabled?"below":f,children:[o.jsx("span",{className:"cm-qa-row-label","data-truncate":d,"data-tone":O.tone,children:d==="middle"?o.jsx(qf,{label:O.label}):O.label}),O.description?o.jsx("span",{className:"cm-qa-row-description",id:`${_(O.value)}-description`,children:O.description}):null]}),O.shortcut?o.jsx("span",{className:"cm-qa-row-shortcut",children:O.shortcut}):null]},O.value))]},J))})]})}function Yf({flush:e,children:t,className:n,onKeyDown:r,onFocus:a,...i}){co();const s=Dr("horizontal");return o.jsx(u.Box,{...i,ref:s.ref,role:"toolbar","aria-orientation":"horizontal",className:n?`cm-secondary-toolbar ${n}`:"cm-secondary-toolbar",mod:{flush:e},onKeyDown:c=>{r==null||r(c),s.onKeyDown(c)},onFocus:c=>{a==null||a(c),s.onFocus(c)},children:t})}const Xf=l.forwardRef(function({icon:t,selected:n,dropdown:r,children:a,className:i,...s},c){return o.jsxs(u.UnstyledButton,{...s,ref:c,"aria-pressed":n,className:i?`cm-secondary-item ${i}`:"cm-secondary-item",mod:{dropdown:r},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,r?o.jsx("span",{className:"cm-secondary-item-chevron","aria-hidden":"true",children:o.jsx(Ce,{name:"chevronDown",size:10})}):null]})});function Jf(){return o.jsx("hr",{className:"cm-secondary-divider","aria-orientation":"vertical"})}const Zf=Object.assign(Yf,{Button:Xf,Divider:Jf});function Qf({tabs:e,value:t,defaultValue:n,onChange:r,onClose:a,className:i,style:s,...c}){var T;co();const m=Me(),d=ye.useId(),f=l.useRef([]),[h,p]=ye.useUncontrolled({value:t,defaultValue:n,finalValue:(T=e[0])==null?void 0:T.value,onChange:r}),g=Math.max(0,e.findIndex(A=>A.value===h)),S=e[g],N=c["aria-label"]??m.keyboardShortcuts,x=(S==null?void 0:S.variant)==="essential",b=A=>{A.key==="Escape"&&a&&(A.stopPropagation(),a())},v=A=>{var B;b(A);const y=getComputedStyle(A.currentTarget).direction==="rtl",k=y?"ArrowLeft":"ArrowRight",j=y?"ArrowRight":"ArrowLeft";let I;if(A.key===k)I=(g+1)%e.length;else if(A.key===j)I=(g-1+e.length)%e.length;else if(A.key==="Home")I=0;else if(A.key==="End")I=e.length-1;else return;A.preventDefault(),p(e[I].value),(B=f.current[I])==null||B.focus()};return o.jsxs("section",{className:i?`cm-shortcut-sheet ${i}`:"cm-shortcut-sheet",style:s,"aria-label":N,children:[o.jsxs("div",{className:"cm-sheet-strip",children:[o.jsxs("div",{className:"cm-sheet-tablist",role:"tablist","aria-label":N,children:[o.jsx("span",{className:"cm-sheet-filler","data-left-of-active":g===0||void 0}),e.map((A,y)=>o.jsx(u.UnstyledButton,{ref:k=>{f.current[y]=k},role:"tab",id:`${d}-tab-${y}`,"aria-selected":y===g,"aria-controls":`${d}-panel`,tabIndex:y===g?0:-1,className:"cm-sheet-tab",onKeyDown:v,"data-left-of-active":y===g-1||void 0,"data-right-of-active":y===g+1||void 0,onClick:()=>{p(A.value)},children:A.label},A.value)),o.jsx("span",{className:"cm-sheet-filler","data-right-of-active":g===e.length-1||void 0})]}),a?o.jsx(u.UnstyledButton,{className:"cm-sheet-close","aria-label":m.close,onClick:a,onKeyDown:b,children:o.jsx(Ce,{name:"close",size:12})}):null]}),o.jsx("div",{className:"cm-sheet-body",role:"tabpanel",id:`${d}-panel`,"aria-labelledby":`${d}-tab-${g}`,"data-variant":x?"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((A,y)=>o.jsxs("div",{className:"cm-sheet-column",children:[x?o.jsx("span",{className:"cm-sheet-step","aria-hidden":"true",children:y+1}):null,A.title?o.jsx("div",{className:"cm-sheet-column-title",children:A.title}):null,A.shortcuts.map((k,j)=>o.jsxs("div",{className:"cm-sheet-row","data-highlighted":k.highlighted||void 0,children:[k.icon?o.jsx("span",{className:"cm-sheet-row-icon","aria-hidden":"true",children:k.icon}):null,o.jsxs("span",{className:"cm-sheet-row-label",children:[k.label,k.description?o.jsx("span",{className:"cm-sheet-row-description",children:k.description}):null]}),o.jsx("span",{className:"cm-sheet-keys",children:k.keys.map((I,B)=>o.jsx(u.Kbd,{size:x?"md":void 0,mod:{active:k.highlighted},children:I},B))})]},j))]},y))})]})})]})}function _f(e){const{left:t,right:n,className:r,...a}=e;return o.jsxs("div",{...a,className:r===void 0?"cm-status-bar":`cm-status-bar ${r}`,children:[o.jsx("div",{className:"cm-status-bar-start",children:t}),o.jsx("div",{className:"cm-status-bar-end",children:n})]})}function $f({floating:e,startAt:t,children:n,className:r,onKeyDown:a,onFocus:i,...s}){co();const c=Me(),m=Dr("horizontal",t);return o.jsx(u.Box,{...s,ref:m.ref,role:"toolbar","aria-label":s["aria-label"]??c.toolbar,"aria-orientation":"horizontal",className:r?`cm-toolbar ${r}`:"cm-toolbar",mod:{floating:e},onKeyDown:d=>{a==null||a(d),m.onKeyDown(d)},onFocus:d=>{i==null||i(d),m.onFocus(d)},children:n})}function eb(){return o.jsx("hr",{className:"cm-toolbar-divider","aria-orientation":"vertical"})}const tb=Object.assign($f,{Divider:eb});function ob(e){e==null||e.setAttribute("role","menuitemradio")}function nb({label:e,tools:t,activeTool:n,onToolChange:r,defaultFace:a,chevronProps:i}){var b;const[s,c]=l.useState(a??((b=t[0])==null?void 0:b.value)),m=t.some(v=>v.value===n);l.useEffect(()=>{m&&n&&c(n)},[m,n]);const d=m&&n?n:s,f=t.find(v=>v.value===d)??t[0],h=v=>{c(v),r==null||r(v)},p=l.useRef(null),g=l.useRef(null),S=l.useRef(null),N=l.useRef(!1),x=()=>{var A;const v=N.current?p.current:g.current;N.current=!1;const T=document.activeElement;(T===null||T===document.body||(A=S.current)!=null&&A.contains(T)||T===g.current)&&(v==null||v.focus())};return o.jsxs("fieldset",{className:"cm-fieldset cm-tool-group","aria-label":f.label,children:[o.jsx(Ks,{ref:p,label:f.label,icon:f.icon,shortcut:f.shortcut,selected:n===void 0?void 0:n===f.value,onClick:()=>{h(f.value)}}),o.jsxs(u.Menu,{position:"top-start",offset:4,returnFocus:!1,onClose:x,classNames:{dropdown:"cm-menu-surface",item:"cm-menu-row cm-tool-flyout-row"},children:[o.jsx(u.Tooltip,{label:o.jsx(Br,{label:e}),position:"top",children:o.jsx(u.Menu.Target,{children:o.jsx(u.UnstyledButton,{...i,ref:g,className:"cm-tool-chevron","aria-label":e,children:o.jsx(Ce,{name:"chevronDown",size:10})})})}),o.jsx(u.Menu.Dropdown,{ref:S,"aria-label":e,children:t.map(v=>o.jsx(u.Menu.Item,{ref:ob,"aria-checked":v.value===f.value,leftSection:o.jsxs("span",{className:"cm-tool-flyout-lead",children:[o.jsx("span",{className:"cm-tool-flyout-check",children:o.jsx(Ce,{name:"check",size:16})}),o.jsx("span",{className:"cm-tool-icon",children:v.icon})]}),rightSection:v.shortcut,onClick:()=>{N.current=!0,h(v.value)},children:v.label},v.value))})]})]})}const Yn=4,rb="(hover: none)";function ab(e){if(typeof e=="string")return e;if(typeof e=="number")return String(e)}function ib(e){Ue();const{state:t,stateTitle:n,busy:r,live:a,actions:i,residentActions:s,actionsVisible:c,reveal:m="always",disabled:d=!1,onClick:f,onFocus:h,onBlur:p}=e,g=Kt(a,r),{hovered:S,ref:N}=ye.useHover(),x=ye.useMediaQuery(rb)??!1,[b,v]=l.useState(!1),T=l.useId(),A=b||(c??(m==="always"||S||x)),y=i!==void 0||s!==void 0,k=ab(t),j=n!==void 0&&n!==k,I=n??k,B=y&&t!==void 0,C=j?o.jsxs(o.Fragment,{children:[o.jsx("span",{"aria-hidden":"true",children:t}),o.jsx(u.VisuallyHidden,{"data-testid":"action-row-state-full",children:n})]}):t;Pt(f!==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 V=F=>{v(!0),h==null||h(F)},H=F=>{F.currentTarget.contains(F.relatedTarget)||v(!1),p==null||p(F)},M=F=>{d||f==null||f(F,ao(F))},Y={flex:"1 1 auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},P={...Y,alignSelf:"stretch",lineHeight:`${D.ROW_PITCH}px`,textAlign:"start",borderRadius:5};return o.jsxs(u.Box,{ref:N,"data-testid":"action-row",role:B?"group":void 0,"aria-labelledby":B?T:void 0,"aria-disabled":d||void 0,"data-disabled":d||void 0,onFocus:V,onBlur:H,style:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box",gap:D.TRAIL_GAP,height:D.ROW_PITCH},children:[t!==void 0&&(f===void 0?o.jsx(u.Box,{component:"span",id:T,"data-testid":"action-row-state",title:I,...g,className:"cm-row-reading","data-disabled":d||void 0,style:Y,children:C}):o.jsx(u.UnstyledButton,{type:"button",id:T,"data-testid":"action-row-state",title:I,...g,className:"cm-row-reading cm-row-target","data-disabled":d||void 0,onClick:M,style:P,children:C})),y&&o.jsxs(u.Box,{"data-testid":"action-row-affordances",style:{flex:"0 0 auto",marginInlineStart:"auto",display:"flex",alignItems:"center",gap:Yn},children:[i!==void 0&&o.jsx(u.Box,{"data-testid":"action-row-actions","data-visible":A?"true":"false",className:"cm-row-actions",style:{flex:"0 0 auto",display:"flex",alignItems:"center",gap:Yn,opacity:A?1:0,pointerEvents:A?void 0:"none"},children:i}),s!==void 0&&o.jsx(u.Box,{"data-testid":"action-row-resident-actions",style:{flex:"0 0 auto",display:"flex",alignItems:"center",gap:Yn},children:s})]})]})}const $a=8,sb=2,Ys=1,cb=2,lb=3;function db(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 ub({segment:e,grow:t,index:n}){const{glyph:r,value:a,unit:i,mono:s=!1}=e;let c=null;vr(r)?c=o.jsx(oo,{name:r}):wr(r)?c=o.jsx(u.Box,{component:"span","data-letter":r,children:r}):r!=null&&(c=r);const m=db(e),d=e.fullValue!==void 0,f=n>0?Ys:0;return o.jsxs(u.Box,{"data-testid":"compound-segment","data-segment-index":n,"data-grow":t?"true":"false",style:{display:"flex",alignItems:"center",boxSizing:"border-box",flex:t?"1 1 auto":"0 0 auto",minWidth:0,height:D.CONTROL_HEIGHT,paddingBlock:0,paddingInlineStart:c===null?$a-f:0,paddingInlineEnd:$a},children:[c!==null&&o.jsx(u.Box,{"data-testid":"compound-segment-slot",style:{flex:"0 0 auto",width:D.GLYPH_SLOT,height:D.GLYPH_SLOT,display:"flex",alignItems:"center",justifyContent:"center",color:Ie.CHROME},children:c}),o.jsx(u.Box,{component:"span","data-testid":"compound-segment-value","data-mono":s?"true":"false",title:m,"aria-hidden":d?!0:void 0,style:{flex:t?"1 1 auto":"0 0 auto",minWidth:0,fontFamily:s?"var(--mantine-font-family-monospace)":void 0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",unicodeBidi:"isolate"},children:a}),d&&o.jsx(u.VisuallyHidden,{children:e.fullValue}),i!==void 0&&o.jsx(u.Box,{component:"span","data-testid":"compound-segment-unit",className:"cm-compound-unit",style:{flex:"0 0 auto",marginInlineStart:sb},children:i})]})}function mb(e,t){if(!(t>=cb&&t<=lb))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 pb(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 hb({label:e,segments:t,width:n=D.BODY,trailing:r,busy:a,live:i,onClick:s,onFocus:c,onBlur:m}){Ue();const d=gn(),f=l.useId(),h=t.filter(k=>k.grow===!0).length;Pt(mb(e,t.length)),Pt(pb(e,h));const p=t.findIndex(k=>k.grow===!0),g=p===-1?0:p,S=s!==void 0,N=ps(i,a)!=="off",x=S||N,b=S?void 0:f,v=x?void 0:f,T=x||d,A={display:"flex",alignItems:"center",boxSizing:"border-box",flex:d?"1 1 auto":"0 0 auto",width:d?void 0:n,minWidth:0,height:D.CONTROL_HEIGHT,textAlign:"start",cursor:S?"pointer":void 0},y=o.jsxs(o.Fragment,{children:[x&&o.jsx(u.VisuallyHidden,{id:b,children:e}),t.map((k,j)=>o.jsxs(l.Fragment,{children:[j>0&&o.jsx(u.Box,{"data-testid":"compound-row-hairline",className:"cm-compound-seam",style:{flex:"0 0 auto",width:Ys,height:D.CONTROL_HEIGHT}}),o.jsx(ub,{segment:k,grow:j===g,index:j})]},j))]});return o.jsxs(u.Box,{"data-testid":"compound-row",style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:D.TRAIL_GAP,height:D.ROW_PITCH},children:[d&&o.jsx(u.Box,{component:"span",id:v,"data-testid":"compound-row-label",title:e,"aria-hidden":x?!0:void 0,className:"cm-row-reading",style:{flex:`0 0 ${D.LABEL_COLUMN}px`,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e}),S?o.jsx(u.UnstyledButton,{type:"button",title:e,"data-testid":"compound-row-box","data-interactive":"true",className:"cm-compound cm-field",...Kt(i,a),onClick:s,onFocus:c,onBlur:m,style:A,children:y}):o.jsx(u.Box,{role:"group","aria-label":T?void 0:e,"aria-labelledby":T?f:void 0,title:e,"data-testid":"compound-row-box","data-interactive":"false",className:"cm-compound",...Kt(i,a),onFocus:c,onBlur:m,style:A,children:y}),o.jsx(Nt,{children:r})]})}const _o=16,ei=4,fb=20,ti=220,oi=2,ni=new RegExp("\\p{Sentence_Terminal}","u"),bb=/[.!?]/u,ri=/\s/u;function xb(e){const t=Array.from(e);let n=0,r=0,a=0;for(;r<t.length;){if(!ni.test(t[r])){r+=1;continue}let s=r;for(;s+1<t.length&&ni.test(t[s+1]);)s+=1;const c=t[s+1],m=bb.test(t[s]);r=s+1,(!m||c===void 0||ri.test(c))&&(n+=1,a=r)}return t.slice(a).some(s=>!ri.test(s))?n+1:n}function gb(e){return Array.from(e).length}function vb(e,t){if(e!=="reading"||typeof t!="string")return;const n=gb(t);if(n>ti)return`ProseBlock was given a reading of ${String(n)} characters, and a reading is at most ${String(ti)} characters. Shorten it, or it has stopped being a reading and become an explanation.`;const r=xb(t);if(r>oi)return`ProseBlock was given a reading of ${String(r)} sentences, and a reading is at most ${String(oi)} sentences. Delete any sentence that repeats what is already on screen, and move the rest into an InfoCircle.`}function wb(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 yb({variant:e,children:t,onDetails:n,busy:r,live:a}){Ue();const i=Me(),s=kt(),c=l.useId(),m=l.useId();Pt(vb(e,t)),Pt(wb(e,n));const d=Kt(a,r);if(e==="reading")return o.jsx(u.Text,{...d,"data-testid":"prose-block","data-variant":e,className:"cm-prose",children:t});if(e==="departure")return o.jsxs(u.Box,{...d,role:"note","aria-labelledby":`${m} ${c}`,"data-testid":"prose-block","data-variant":e,style:{display:"flex",alignItems:"flex-start",gap:ei},children:[o.jsx(u.VisuallyHidden,{component:"span",id:m,children:i.departure}),o.jsx(u.Box,{"aria-hidden":!0,"data-testid":"prose-block-warning",style:{flex:"0 0 auto",inlineSize:_o,blockSize:_o,display:"flex",alignItems:"center",justifyContent:"center",color:Ie.WARNING},children:o.jsx(Ce,{name:"warning",size:D.GLYPH})}),o.jsx(u.Text,{span:!0,id:c,"data-testid":"prose-block-text",className:"cm-chart-value",children:t})]});const f=typeof t=="string"?t:void 0;return o.jsxs(u.Box,{...d,"data-testid":"prose-block","data-variant":e,style:{display:"flex",alignItems:"center",gap:ei,blockSize:fb},children:[o.jsx(u.Text,{span:!0,truncate:"end",id:c,title:f,"data-testid":"prose-block-text",className:"cm-prose",style:{flex:"1 1 auto",minInlineSize:0},children:t}),n!==void 0&&o.jsx(u.UnstyledButton,{type:"button",title:i.details,"aria-label":i.details,"aria-describedby":c,"data-testid":"prose-block-details",className:"cm-focus-outside",onClick:n,style:{flex:"0 0 auto",inlineSize:_o,blockSize:_o,borderRadius:5,display:"inline-flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",background:"transparent",color:"var(--cm-icon-secondary)",cursor:"pointer"},children:o.jsx(as,{open:!1,rtl:it(s)})})]})}const Xn=4,kb=4,Sb=`polygon(0 calc(100% - ${kb}px), 100% 0, 100% 100%, 0 100%)`,Eb=96,Tb=`linear-gradient(to right, ${Ie.SURFACE}, ${Ie.ACCENT_GRAPHIC})`,Ab={sqrt:"scaleSqrt",linear:"scaleLinear",log:"scaleLog"},ai={flex:"0 0 auto",whiteSpace:"nowrap"},jb="var(--cm-icon-secondary)";function Cb({min:e,max:t,label:n,variant:r="size",gradient:a,scale:i,busy:s,live:c,onScaleClick:m,trailing:d}){Ue();const f=Me(),h=kt(),p=l.useId(),g=r==="color",S=i===void 0?void 0:Ab[i],N=S===void 0?void 0:f[S],x=`${p}-label`,b=`${p}-min`,v=`${p}-max`,T=`${p}-scale`,A=[n===void 0?void 0:x,b,v,N===void 0?void 0:T].filter(j=>j!==void 0);let y=null;S!==void 0&&N!==void 0&&(m===void 0?y=o.jsx(u.Box,{"data-testid":"ramp-row-scale","aria-hidden":"true",title:N,style:{flex:"0 0 auto",width:D.TRAIL,height:D.CONTROL_HEIGHT,display:"flex",alignItems:"center",justifyContent:"center",color:Ie.CHROME},children:o.jsx(oo,{name:S})}):y=o.jsx(ss,{label:N,icon:o.jsx(oo,{name:S}),onClick:m}));const k=Po(d)?d:y;return o.jsxs(u.Box,{"data-testid":"ramp-row","data-variant":r,"data-scale":i,style:{display:"flex",alignItems:"center",gap:Xn,height:D.ROW_PITCH},children:[o.jsxs(u.Box,{"data-testid":"ramp-row-figure",role:"img","aria-labelledby":A.join(" "),...Kt(c,s),style:{flex:"1 1 auto",minWidth:0,display:"flex",alignItems:"center",gap:Xn},children:[n!==void 0&&o.jsx(u.VisuallyHidden,{"data-testid":"ramp-row-a11y-label",id:x,children:n}),o.jsx(u.Text,{span:!0,id:b,"data-testid":"ramp-row-min",className:"cm-chart-text",style:ai,children:e}),o.jsx(u.Box,{"data-testid":"ramp-row-ramp","data-variant":r,"aria-hidden":"true",style:{flex:"1 1 auto",minWidth:Eb,height:D.GLYPH,boxSizing:"border-box",background:g?a??Tb:jb,borderRadius:g?"var(--mantine-radius-xs)":void 0,border:g?`1px solid ${Ie.BORDER}`:void 0,clipPath:g?void 0:Sb,...nm(h)}}),o.jsx(u.Text,{span:!0,id:v,"data-testid":"ramp-row-max",className:"cm-chart-text",style:ai,children:t}),N!==void 0&&o.jsx(u.VisuallyHidden,{"data-testid":"ramp-row-a11y-scale",id:T,children:N})]}),o.jsx(u.Box,{style:{flex:"0 0 auto",display:"flex",marginInlineStart:D.TRAIL_GAP-Xn},children:o.jsx(Nt,{children:k})})]})}const Nb=D.GUTTER,Ib=`${String(D.TOGGLE_PITCH)}px`,zb=2;function Rb({label:e,checked:t,defaultChecked:n,onChange:r,control:a="checkbox",trailing:i,disabled:s=!1,disabledReason:c,bound:m=!1,boundDescription:d,onFocus:f,onBlur:h,"aria-expanded":p,"aria-controls":g}){const S=Me(),[N,x]=ye.useUncontrolled({value:t,defaultValue:n,finalValue:!1,onChange:r}),b=j=>{x(j.currentTarget.checked,j)},v={root:{flex:"1 1 auto",minWidth:0},body:{alignItems:"center",minWidth:0},labelWrapper:{minWidth:0},label:{display:"block",height:D.TOGGLE_PITCH,paddingInlineStart:Nb,paddingBlock:0,fontSize:"var(--mantine-font-size-sm)",lineHeight:Ib,color:s?Ie.DISABLED:Ie.VALUE,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},T=d??S.fieldBound,A=bn({name:e,enabledTitle:e,disabled:s,disabledReason:c,extraDescriptions:m?[T]:void 0}),y={title:A.title},k=m?o.jsx(u.Box,{component:"span","data-testid":"toggle-row-bound",style:{flex:"0 0 auto",display:"inline-flex",alignItems:"center",color:Ie.CHROME},children:o.jsx(oo,{name:"attribute",filled:!0})}):null;return o.jsxs(u.Box,{"data-testid":"toggle-row","data-control":a,"data-checked":N?"true":"false","data-disabled":s?"true":void 0,"data-bound":m?"true":void 0,style:{display:"flex",alignItems:"center",boxSizing:"border-box",gap:D.TRAIL_GAP,height:D.TOGGLE_PITCH},children:[a==="switch"?o.jsx(u.Switch,{"data-testid":"toggle-row-control",label:e,checked:N,disabled:s,"aria-describedby":A.describedBy,"aria-expanded":p,"aria-controls":g,onChange:b,onFocus:f,onBlur:h,wrapperProps:y,styles:v}):o.jsx(u.Checkbox,{variant:"neutral","data-testid":"toggle-row-control",label:e,checked:N,disabled:s,"aria-describedby":A.describedBy,"aria-expanded":p,"aria-controls":g,onChange:b,onFocus:f,onBlur:h,wrapperProps:y,styles:v}),A.description!==void 0&&o.jsx(u.VisuallyHidden,{id:A.describedBy,children:A.description}),k,o.jsx(Nt,{children:i})]})}function Lb({children:e,label:t,labelledBy:n}){const r=l.Children.toArray(e).length,a=r===1?"row":"rows";return Pt(r<zb?`ToggleRowGroup was given ${String(r)} ${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(u.Box,{role:"group","aria-label":n===void 0?t:void 0,"aria-labelledby":n,"data-testid":"toggle-row-group","data-rows":r,style:{display:"flex",flexDirection:"column"},children:e})}function Pb(e="dark"){return u.useComputedColorScheme(e)}const Mb={xs:u.rem(4),sm:u.rem(8),md:u.rem(16),lg:u.rem(24),xl:u.rem(32)},Ob={HEIGHT:24,FONT_SIZE:11,CONTROL_PADDING:8,SECTION_GAP:4};exports.ALIGNMENT_MATRIX_VALUES=$o;exports.ActionRow=ib;exports.AdvancedButton=ss;exports.AlignmentMatrix=Qh;exports.COMPACT_SIZING=Ob;exports.ColorPickerPanel=Pr;exports.ComboInput=xh;exports.CompactColorInput=Am;exports.CompoundRow=hb;exports.ContextMenu=Ds;exports.ControlGroup=jm;exports.ControlSection=Fm;exports.DEFAULT_GRADIENT_STOP_COLOR=Ki;exports.DataRow=vp;exports.DataRowHeader=wp;exports.DataTable=rp;exports.EllipsizedName=ro;exports.EntityChip=ip;exports.FIELD_GLYPH_NAMES=vi;exports.FIELD_LETTERS=wi;exports.FieldGlyph=oo;exports.FieldRow=Is;exports.FileSource=yh;exports.GradientEditor=hp;exports.HelpButton=Ff;exports.HistogramRow=Ss;exports.InfoCircle=is;exports.InlineRename=Fr;exports.LabelsProvider=wd;exports.MANTINE_SPACING=Mb;exports.MAX_ALPHA_HEX=pn;exports.MAX_OPACITY_PERCENT=br;exports.MenuCheckItem=Ph;exports.MenuItemDescription=Mh;exports.MenuShortcut=Oh;exports.MetricRow=zp;exports.ModalFooter=Fh;exports.NavRail=Uf;exports.PANEL_GRID=D;exports.PANEL_INK=Ie;exports.POPOUT_GAP=hi;exports.POPOUT_NESTED_GAP=fi;exports.POPOUT_Z_INDEX_BASE=Qn;exports.PageList=rf;exports.PageRow=Us;exports.PanelField=Or;exports.PanelLabelsProvider=pr;exports.Popout=qt;exports.PopoutButton=gm;exports.PopoutManager=os;exports.PopoutRegion=Du;exports.ProseBlock=yb;exports.QuickActions=Kf;exports.RailButton=Vf;exports.RampEditor=ah;exports.RampRow=Cb;exports.RangeSlider=fs;exports.RankChip=Mr;exports.ResetButton=cs;exports.ResizeHandle=tf;exports.ResultRow=sf;exports.SWATCH_COLORS_HEXA=Wi;exports.ScrollArea=sh;exports.SearchInput=Eh;exports.SecondaryToolbar=Zf;exports.SegmentedControl=ch;exports.ShortcutSheet=Qf;exports.Slider=yp;exports.SparklineRow=Ip;exports.SplitButton=fp;exports.StatusBar=_f;exports.Toast=Bs;exports.ToastProvider=Gh;exports.ToggleIconButton=ms;exports.ToggleRow=Rb;exports.ToggleRowGroup=Lb;exports.ToggleWithContent=dh;exports.ToolButton=Ks;exports.ToolGroup=nb;exports.Toolbar=tb;exports.TooltipShortcut=Wh;exports.TrailingSlot=Nt;exports.Tree=Pf;exports.TreeItem=Ws;exports.UI_GLYPH_NAMES=jl;exports.UiGlyph=Ce;exports.VariablePill=jh;exports.colorWord=gr;exports.compactBrandColors=ci;exports.compactColors=di;exports.compactDarkColors=si;exports.compactGlobalCss=Vi;exports.compactGraphtyColors=li;exports.compactTheme=Ru;exports.compactThemeOverride=qi;exports.createColorStop=Io;exports.createCompactTheme=Gi;exports.createDefaultGradientStops=ls;exports.defaultLabels=Vt;exports.ensureCompactStyles=Ro;exports.focusWithRing=Pl;exports.getActivationMeta=ao;exports.isFieldGlyphName=vr;exports.isFieldLetter=wr;exports.isLightColor=xi;exports.isRtl=it;exports.isValidHex=bi;exports.mixHex=gi;exports.moveTreeItem=yf;exports.normalizeHexa=vt;exports.opacityToAlphaHex=hn;exports.parseAlphaFromHexa=xr;exports.parseHexaColor=gl;exports.parseLocaleNumber=Bi;exports.pickFiles=Rs;exports.renameTreeItem=qs;exports.toHexaColor=vl;exports.useActualColorScheme=Pb;exports.useCollator=Ui;exports.useDirection=kt;exports.useFileDrop=Ls;exports.useLabels=Me;exports.useLocale=wo;exports.useNumberFormatter=yt;exports.useNumberParser=zo;exports.useOrdinalFormatter=Hi;exports.usePanelLabels=gn;exports.usePopoutManager=Hu;exports.usePopoutRegion=Xi;exports.useToast=qh;
|