caplink-saas-ui-shared-component-library 0.4.2 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:var(--font-sans),ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}:root{--background: 0 0% 100%;--foreground: 240 10% 3.9%;--card: 0 0% 100%;--card-foreground: 240 10% 3.9%;--popover: 0 0% 100%;--popover-foreground: 240 10% 3.9%;--primary: 240 5.9% 10%;--primary-foreground: 0 0% 98%;--secondary: 240 4.8% 95.9%;--secondary-foreground: 240 5.9% 10%;--muted: 240 4.8% 95.9%;--muted-foreground: 240 3.8% 46.1%;--accent: 240 4.8% 95.9%;--accent-foreground: 240 5.9% 10%;--destructive: 0 84.2% 60.2%;--destructive-foreground: 0 0% 98%;--border: 240 5.9% 90%;--input: 240 5.9% 90%;--ring: 240 5.9% 10%;--radius: .5rem}*{border-color:hsl(var(--border))}body{background-color:hsl(var(--background));color:hsl(var(--foreground));font-feature-settings:"rlig" 1,"calt" 1}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.sl-pointer-events-none{pointer-events:none}.sl-pointer-events-auto{pointer-events:auto}.sl-fixed{position:fixed}.sl-absolute{position:absolute}.sl-relative{position:relative}.sl-sticky{position:sticky}.-sl-left-0{left:-0px}.-sl-left-0\\.5{left:-.125rem}.-sl-right-\\[3px\\]{right:-3px}.-sl-top-0{top:-0px}.-sl-top-0\\.5{top:-.125rem}.-sl-top-1{top:-.25rem}.-sl-top-4{top:-1rem}.sl-bottom-0{bottom:0}.sl-left-0{left:0}.sl-left-2{left:.5rem}.sl-left-2\\.5{left:.625rem}.sl-right-2{right:.5rem}.sl-right-2\\.5{right:.625rem}.sl-right-4{right:1rem}.sl-top-0{top:0}.sl-top-1\\/2{top:50%}.sl-top-4{top:1rem}.sl-top-\\[58px\\]{top:58px}.sl-z-0{z-index:0}.sl-z-40{z-index:40}.sl-z-50{z-index:50}.sl-z-\\[100\\]{z-index:100}.-sl-mx-1{margin-left:-.25rem;margin-right:-.25rem}.sl-my-1{margin-top:.25rem;margin-bottom:.25rem}.sl-mb-2{margin-bottom:.5rem}.sl-ml-2{margin-left:.5rem}.sl-ml-auto{margin-left:auto}.sl-mr-1{margin-right:.25rem}.sl-mr-2{margin-right:.5rem}.sl-mt-0{margin-top:0}.sl-mt-0\\.5{margin-top:.125rem}.sl-mt-1{margin-top:.25rem}.sl-mt-\\[calc\\(28px\\+36px\\)\\]{margin-top:64px}.sl-line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.sl-line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.sl-flex{display:flex}.sl-inline-flex{display:inline-flex}.sl-hidden{display:none}.sl-h-10{height:2.5rem}.sl-h-3{height:.75rem}.sl-h-3\\.5{height:.875rem}.sl-h-4{height:1rem}.sl-h-5{height:1.25rem}.sl-h-7{height:1.75rem}.sl-h-8{height:2rem}.sl-h-9{height:2.25rem}.sl-h-\\[34px\\]{height:34px}.sl-h-\\[calc\\(100\\%-28px-28px\\)\\]{height:calc(100% - 56px)}.sl-h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)}.sl-h-fit{height:fit-content}.sl-h-full{height:100%}.sl-h-px{height:1px}.sl-h-screen{height:100vh}.sl-max-h-96{max-height:24rem}.sl-max-h-\\[80\\%\\]{max-height:80%}.sl-min-h-\\[24px\\]{min-height:24px}.sl-w-1{width:.25rem}.sl-w-1\\.5{width:.375rem}.sl-w-1\\/2{width:50%}.sl-w-12{width:3rem}.sl-w-3{width:.75rem}.sl-w-3\\.5{width:.875rem}.sl-w-32{width:8rem}.sl-w-4{width:1rem}.sl-w-5{width:1.25rem}.sl-w-56{width:14rem}.sl-w-9{width:2.25rem}.sl-w-fit{width:fit-content}.sl-w-full{width:100%}.sl-w-screen{width:100vw}.sl-min-w-\\[8rem\\]{min-width:8rem}.sl-min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.sl-max-w-\\[220px\\]{max-width:220px}.sl-max-w-\\[240px\\]{max-width:240px}.sl-max-w-\\[80\\%\\]{max-width:80%}.sl-shrink-0{flex-shrink:0}.-sl-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes sl-spin{to{transform:rotate(360deg)}}.sl-animate-spin{animation:sl-spin 1s linear infinite}.sl-cursor-col-resize{cursor:col-resize}.sl-cursor-default{cursor:default}.sl-cursor-not-allowed{cursor:not-allowed}.sl-cursor-pointer{cursor:pointer}.sl-select-none{user-select:none}.sl-resize-none{resize:none}.sl-flex-col{flex-direction:column}.sl-flex-wrap{flex-wrap:wrap}.sl-items-center{align-items:center}.sl-justify-start{justify-content:flex-start}.sl-justify-end{justify-content:flex-end}.sl-justify-center{justify-content:center}.sl-justify-between{justify-content:space-between}.sl-gap-1{gap:.25rem}.sl-gap-2{gap:.5rem}.sl-gap-4{gap:1rem}.sl-gap-x-2{column-gap:.5rem}.sl-gap-y-1{row-gap:.25rem}.sl-overflow-hidden{overflow:hidden}.sl-overflow-y-clip{overflow-y:clip}.sl-overflow-x-scroll{overflow-x:scroll}.sl-overflow-ellipsis{text-overflow:ellipsis}.sl-whitespace-nowrap{white-space:nowrap}.sl-text-wrap{text-wrap:wrap}.sl-break-words{overflow-wrap:break-word}.sl-break-all{word-break:break-all}.sl-rounded-full{border-radius:9999px}.sl-rounded-md{border-radius:4px}.sl-rounded-none{border-radius:0}.sl-rounded-sm{border-radius:2px}.sl-rounded-t-lg{border-top-left-radius:8px;border-top-right-radius:8px}.sl-border{border-width:1px}.sl-border-b{border-bottom-width:1px}.sl-border-b-0{border-bottom-width:0px}.sl-border-l{border-left-width:1px}.sl-border-l-0{border-left-width:0px}.sl-border-r{border-right-width:1px}.sl-border-r-0{border-right-width:0px}.sl-border-t{border-top-width:1px}.sl-border-t-0{border-top-width:0px}.sl-border-none{border-style:none}.sl-border-danger-300{--tw-border-opacity: 1;border-color:rgb(211 48 48 / var(--tw-border-opacity))}.sl-border-info-200{--tw-border-opacity: 1;border-color:rgb(99 115 255 / var(--tw-border-opacity))}.sl-border-info-400{--tw-border-opacity: 1;border-color:rgb(0 19 183 / var(--tw-border-opacity))}.sl-border-input{border-color:hsl(var(--input))}.sl-border-primary-100{--tw-border-opacity: 1;border-color:rgb(242 242 252 / var(--tw-border-opacity))}.sl-border-primary-200{--tw-border-opacity: 1;border-color:rgb(220 220 237 / var(--tw-border-opacity))}.sl-border-primary-300{--tw-border-opacity: 1;border-color:rgb(193 193 217 / var(--tw-border-opacity))}.sl-border-primary-700{--tw-border-opacity: 1;border-color:rgb(71 71 114 / var(--tw-border-opacity))}.sl-border-success-300{--tw-border-opacity: 1;border-color:rgb(28 191 102 / var(--tw-border-opacity))}.sl-border-transparent{border-color:transparent}.sl-border-l-transparent{border-left-color:transparent}.sl-border-t-transparent{border-top-color:transparent}.sl-bg-background{background-color:hsl(var(--background))}.sl-bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.sl-bg-destructive{background-color:hsl(var(--destructive))}.sl-bg-info-100{--tw-bg-opacity: 1;background-color:rgb(225 229 255 / var(--tw-bg-opacity))}.sl-bg-info-300{--tw-bg-opacity: 1;background-color:rgb(70 87 225 / var(--tw-bg-opacity))}.sl-bg-info-50{--tw-bg-opacity: 1;background-color:rgb(244 246 255 / var(--tw-bg-opacity))}.sl-bg-muted{background-color:hsl(var(--muted))}.sl-bg-neutral-300{--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}.sl-bg-neutral-400{--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}.sl-bg-popover{background-color:hsl(var(--popover))}.sl-bg-primary-100{--tw-bg-opacity: 1;background-color:rgb(242 242 252 / var(--tw-bg-opacity))}.sl-bg-primary-50{--tw-bg-opacity: 1;background-color:rgb(251 251 255 / var(--tw-bg-opacity))}.sl-bg-primary-900{--tw-bg-opacity: 1;background-color:rgb(31 31 62 / var(--tw-bg-opacity))}.sl-bg-secondary{background-color:hsl(var(--secondary))}.sl-bg-transparent{background-color:transparent}.sl-bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.sl-bg-white\\/25{background-color:#ffffff40}.sl-fill-current{fill:currentColor}.sl-object-contain{object-fit:contain}.sl-p-1{padding:.25rem}.sl-p-2{padding:.5rem}.sl-p-4{padding:1rem}.sl-px-2{padding-left:.5rem;padding-right:.5rem}.sl-px-3{padding-left:.75rem;padding-right:.75rem}.sl-px-4{padding-left:1rem;padding-right:1rem}.sl-px-8{padding-left:2rem;padding-right:2rem}.sl-py-1{padding-top:.25rem;padding-bottom:.25rem}.sl-py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}.sl-py-2{padding-top:.5rem;padding-bottom:.5rem}.sl-pb-\\[100\\%\\]{padding-bottom:100%}.sl-pl-1{padding-left:.25rem}.sl-pl-2{padding-left:.5rem}.sl-pl-3{padding-left:.75rem}.sl-pl-8{padding-left:2rem}.sl-pr-2{padding-right:.5rem}.sl-pr-3{padding-right:.75rem}.sl-pr-8{padding-right:2rem}.sl-pr-px{padding-right:1px}.sl-text-left{text-align:left}.sl-text-md{font-size:14px;line-height:18px}.sl-text-sm{font-size:12px;line-height:16px}.sl-text-xs{font-size:10px;line-height:14px}.sl-font-bold{font-weight:700}.sl-font-medium{font-weight:500}.sl-font-semibold{font-weight:600}.sl-tracking-widest{letter-spacing:.1em}.sl-text-current{color:currentColor}.sl-text-danger-300{--tw-text-opacity: 1;color:rgb(211 48 48 / var(--tw-text-opacity))}.sl-text-destructive-foreground{color:hsl(var(--destructive-foreground))}.sl-text-info-300{--tw-text-opacity: 1;color:rgb(70 87 225 / var(--tw-text-opacity))}.sl-text-info-400{--tw-text-opacity: 1;color:rgb(0 19 183 / var(--tw-text-opacity))}.sl-text-neutral-500{--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity))}.sl-text-popover-foreground{color:hsl(var(--popover-foreground))}.sl-text-primary-400{--tw-text-opacity: 1;color:rgb(174 174 206 / var(--tw-text-opacity))}.sl-text-primary-500{--tw-text-opacity: 1;color:rgb(146 146 186 / var(--tw-text-opacity))}.sl-text-primary-600{--tw-text-opacity: 1;color:rgb(99 99 143 / var(--tw-text-opacity))}.sl-text-primary-700{--tw-text-opacity: 1;color:rgb(71 71 114 / var(--tw-text-opacity))}.sl-text-secondary-foreground{color:hsl(var(--secondary-foreground))}.sl-text-success-300{--tw-text-opacity: 1;color:rgb(28 191 102 / var(--tw-text-opacity))}.sl-text-success-400{--tw-text-opacity: 1;color:rgb(25 150 82 / var(--tw-text-opacity))}.sl-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.sl-underline{text-decoration-line:underline}.sl-underline-offset-4{text-underline-offset:4px}.sl-opacity-0{opacity:0}.sl-opacity-100{opacity:1}.sl-opacity-50{opacity:.5}.sl-opacity-60{opacity:.6}.sl-shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.sl-shadow-lg{--tw-shadow: 0px 8px 8px -4px rgba(16, 24, 40, .03), 0px 20px 24px -6px rgba(16, 24, 40, .08);--tw-shadow-colored: 0px 8px 8px -4px var(--tw-shadow-color), 0px 20px 24px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.sl-shadow-md{--tw-shadow: 0px 4px 6px -2px rgba(16, 24, 40, .03), 0px 12px 16px -4px rgba(16, 24, 40, .08);--tw-shadow-colored: 0px 4px 6px -2px var(--tw-shadow-color), 0px 12px 16px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.sl-shadow-sm{--tw-shadow: 0px 2px 4px -2px rgba(16, 24, 40, .06), 0px 4px 8px -2px rgba(16, 24, 40, .1);--tw-shadow-colored: 0px 2px 4px -2px var(--tw-shadow-color), 0px 4px 8px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.sl-outline-none{outline:2px solid transparent;outline-offset:2px}.sl-outline{outline-style:solid}.sl-outline-sky-100{outline-color:#e0f2fe}.sl-ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.sl-drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.sl-backdrop-blur-sm{--tw-backdrop-blur: blur(4px);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.sl-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.sl-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.sl-ease-linear{transition-timing-function:linear}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.sl-animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.sl-fade-in-0{--tw-enter-opacity: 0}.sl-zoom-in-95{--tw-enter-scale: .95}.sl-ease-linear{animation-timing-function:linear}*{position:relative;font-family:Inter,sans-serif;font-weight:400}h1,h2,h3,h4,h5{font-family:SF Pro Display,sans-serif}.file\\:sl-border-0::file-selector-button{border-width:0px}.file\\:sl-bg-transparent::file-selector-button{background-color:transparent}.file\\:sl-text-sm::file-selector-button{font-size:12px;line-height:16px}.file\\:sl-font-medium::file-selector-button{font-weight:500}.placeholder\\:sl-text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.hover\\:sl-border-primary-500:hover{--tw-border-opacity: 1;border-color:rgb(146 146 186 / var(--tw-border-opacity))}.hover\\:sl-bg-accent:hover{background-color:hsl(var(--accent))}.hover\\:sl-bg-danger-50:hover{--tw-bg-opacity: 1;background-color:rgb(255 246 246 / var(--tw-bg-opacity))}.hover\\:sl-bg-destructive\\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\\:sl-bg-info-50:hover{--tw-bg-opacity: 1;background-color:rgb(244 246 255 / var(--tw-bg-opacity))}.hover\\:sl-bg-secondary\\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\\:sl-text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\\:sl-text-danger-400:hover{--tw-text-opacity: 1;color:rgb(156 19 19 / var(--tw-text-opacity))}.hover\\:sl-text-info-400:hover{--tw-text-opacity: 1;color:rgb(0 19 183 / var(--tw-text-opacity))}.hover\\:sl-underline:hover{text-decoration-line:underline}.hover\\:sl-opacity-100:hover{opacity:1}.hover\\:sl-shadow-md:hover{--tw-shadow: 0px 4px 6px -2px rgba(16, 24, 40, .03), 0px 12px 16px -4px rgba(16, 24, 40, .08);--tw-shadow-colored: 0px 4px 6px -2px var(--tw-shadow-color), 0px 12px 16px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\\:sl-bg-accent:focus{background-color:hsl(var(--accent))}.focus\\:sl-text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\\:sl-text-primary-900:focus{--tw-text-opacity: 1;color:rgb(31 31 62 / var(--tw-text-opacity))}.focus\\:sl-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\\:sl-ring-0:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:sl-ring-1:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\\:sl-ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus-visible\\:sl-outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:sl-ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\\:sl-ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.active\\:sl-border-danger-400:active{--tw-border-opacity: 1;border-color:rgb(156 19 19 / var(--tw-border-opacity))}.active\\:sl-border-info-400:active{--tw-border-opacity: 1;border-color:rgb(0 19 183 / var(--tw-border-opacity))}.active\\:sl-bg-danger-50:active{--tw-bg-opacity: 1;background-color:rgb(255 246 246 / var(--tw-bg-opacity))}.active\\:sl-bg-info-50:active{--tw-bg-opacity: 1;background-color:rgb(244 246 255 / var(--tw-bg-opacity))}.active\\:sl-text-danger-400:active{--tw-text-opacity: 1;color:rgb(156 19 19 / var(--tw-text-opacity))}.active\\:sl-text-info-400:active{--tw-text-opacity: 1;color:rgb(0 19 183 / var(--tw-text-opacity))}.disabled\\:sl-pointer-events-none:disabled{pointer-events:none}.disabled\\:sl-cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:sl-border-primary-100:disabled{--tw-border-opacity: 1;border-color:rgb(242 242 252 / var(--tw-border-opacity))}.disabled\\:sl-bg-primary-100:disabled{--tw-bg-opacity: 1;background-color:rgb(242 242 252 / var(--tw-bg-opacity))}.disabled\\:sl-text-primary-500:disabled{--tw-text-opacity: 1;color:rgb(146 146 186 / var(--tw-text-opacity))}.disabled\\:sl-opacity-50:disabled{opacity:.5}.disabled\\:sl-shadow-none:disabled{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\\[disabled\\]\\:sl-pointer-events-none[data-disabled]{pointer-events:none}.data-\\[side\\=bottom\\]\\:sl-translate-y-1[data-side=bottom]{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[side\\=left\\]\\:-sl-translate-x-1[data-side=left]{--tw-translate-x: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[side\\=right\\]\\:sl-translate-x-1[data-side=right]{--tw-translate-x: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[side\\=top\\]\\:-sl-translate-y-1[data-side=top]{--tw-translate-y: -.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\\[state\\=closed\\]\\:sl-transform-none[data-state=closed]{transform:none}.data-\\[side\\=bottom\\]\\:sl-animate-none[data-side=bottom],.data-\\[state\\=closed\\]\\:sl-animate-none[data-state=closed]{animation:none}.data-\\[state\\=open\\]\\:sl-bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\\[disabled\\]\\:sl-text-primary-500[data-disabled]{--tw-text-opacity: 1;color:rgb(146 146 186 / var(--tw-text-opacity))}.data-\\[disabled\\]\\:sl-opacity-50[data-disabled]{opacity:.5}.data-\\[state\\=closed\\]\\:sl-transition-none[data-state=closed]{transition-property:none}.data-\\[state\\=open\\]\\:sl-animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\\[state\\=closed\\]\\:sl-animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\\[state\\=closed\\]\\:sl-fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\\[state\\=open\\]\\:sl-fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\\[state\\=closed\\]\\:sl-zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\\[state\\=open\\]\\:sl-zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\\[side\\=bottom\\]\\:sl-slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\\[side\\=left\\]\\:sl-slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\\[side\\=right\\]\\:sl-slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\\[side\\=top\\]\\:sl-slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.\\[\\&\\>span\\]\\:sl-line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}')),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
- import * as B from "react";
2
+ import * as z from "react";
3
3
  import Ne, { createContext as Bt, useState as q, useMemo as ve, useCallback as F, useEffect as Z, useContext as wn, useRef as K, useReducer as Ds, forwardRef as H, createElement as $, Children as jt, isValidElement as jn, cloneElement as Gr, Fragment as Xt, useLayoutEffect as Yr, useId as tc } from "react";
4
4
  import * as nc from "react-dom";
5
5
  import rc, { flushSync as As, createPortal as Xr } from "react-dom";
@@ -54,38 +54,38 @@ function sc() {
54
54
  var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
55
55
  function g(x) {
56
56
  {
57
- for (var R = arguments.length, V = new Array(R > 1 ? R - 1 : 0), te = 1; te < R; te++)
58
- V[te - 1] = arguments[te];
59
- y("error", x, V);
57
+ for (var R = arguments.length, B = new Array(R > 1 ? R - 1 : 0), te = 1; te < R; te++)
58
+ B[te - 1] = arguments[te];
59
+ y("error", x, B);
60
60
  }
61
61
  }
62
- function y(x, R, V) {
62
+ function y(x, R, B) {
63
63
  {
64
64
  var te = b.ReactDebugCurrentFrame, xe = te.getStackAddendum();
65
- xe !== "" && (R += "%s", V = V.concat([xe]));
66
- var ye = V.map(function(pe) {
65
+ xe !== "" && (R += "%s", B = B.concat([xe]));
66
+ var ye = B.map(function(pe) {
67
67
  return String(pe);
68
68
  });
69
69
  ye.unshift("Warning: " + R), Function.prototype.apply.call(console[x], console, ye);
70
70
  }
71
71
  }
72
- var C = !1, _ = !1, I = !1, T = !1, E = !1, k;
72
+ var C = !1, _ = !1, M = !1, T = !1, E = !1, k;
73
73
  k = Symbol.for("react.module.reference");
74
74
  function O(x) {
75
- return !!(typeof x == "string" || typeof x == "function" || x === r || x === s || E || x === o || x === l || x === d || T || x === h || C || _ || I || typeof x == "object" && x !== null && (x.$$typeof === p || x.$$typeof === u || x.$$typeof === a || x.$$typeof === i || x.$$typeof === c || // This needs to include all possible module reference object
75
+ return !!(typeof x == "string" || typeof x == "function" || x === r || x === s || E || x === o || x === l || x === d || T || x === h || C || _ || M || typeof x == "object" && x !== null && (x.$$typeof === p || x.$$typeof === u || x.$$typeof === a || x.$$typeof === i || x.$$typeof === c || // This needs to include all possible module reference object
76
76
  // types supported by any Flight configuration anywhere since
77
77
  // we don't know which Flight build this will end up being used
78
78
  // with.
79
79
  x.$$typeof === k || x.getModuleId !== void 0));
80
80
  }
81
- function z(x, R, V) {
81
+ function V(x, R, B) {
82
82
  var te = x.displayName;
83
83
  if (te)
84
84
  return te;
85
85
  var xe = R.displayName || R.name || "";
86
- return xe !== "" ? V + "(" + xe + ")" : V;
86
+ return xe !== "" ? B + "(" + xe + ")" : B;
87
87
  }
88
- function N(x) {
88
+ function I(x) {
89
89
  return x.displayName || "Context";
90
90
  }
91
91
  function Q(x) {
@@ -113,12 +113,12 @@ function sc() {
113
113
  switch (x.$$typeof) {
114
114
  case i:
115
115
  var R = x;
116
- return N(R) + ".Consumer";
116
+ return I(R) + ".Consumer";
117
117
  case a:
118
- var V = x;
119
- return N(V._context) + ".Provider";
118
+ var B = x;
119
+ return I(B._context) + ".Provider";
120
120
  case c:
121
- return z(x, x.render, "ForwardRef");
121
+ return V(x, x.render, "ForwardRef");
122
122
  case u:
123
123
  var te = x.displayName || null;
124
124
  return te !== null ? te : Q(x.type) || "Memo";
@@ -133,14 +133,14 @@ function sc() {
133
133
  }
134
134
  return null;
135
135
  }
136
- var G = Object.assign, A = 0, M, P, ee, S, D, j, Y;
136
+ var G = Object.assign, A = 0, D, P, ee, S, N, j, Y;
137
137
  function le() {
138
138
  }
139
139
  le.__reactDisabledLog = !0;
140
140
  function ae() {
141
141
  {
142
142
  if (A === 0) {
143
- M = console.log, P = console.info, ee = console.warn, S = console.error, D = console.group, j = console.groupCollapsed, Y = console.groupEnd;
143
+ D = console.log, P = console.info, ee = console.warn, S = console.error, N = console.group, j = console.groupCollapsed, Y = console.groupEnd;
144
144
  var x = {
145
145
  configurable: !0,
146
146
  enumerable: !0,
@@ -170,7 +170,7 @@ function sc() {
170
170
  };
171
171
  Object.defineProperties(console, {
172
172
  log: G({}, x, {
173
- value: M
173
+ value: D
174
174
  }),
175
175
  info: G({}, x, {
176
176
  value: P
@@ -182,7 +182,7 @@ function sc() {
182
182
  value: S
183
183
  }),
184
184
  group: G({}, x, {
185
- value: D
185
+ value: N
186
186
  }),
187
187
  groupCollapsed: G({}, x, {
188
188
  value: j
@@ -196,7 +196,7 @@ function sc() {
196
196
  }
197
197
  }
198
198
  var we = b.ReactCurrentDispatcher, X;
199
- function se(x, R, V) {
199
+ function se(x, R, B) {
200
200
  {
201
201
  if (X === void 0)
202
202
  try {
@@ -218,9 +218,9 @@ function sc() {
218
218
  if (!x || oe)
219
219
  return "";
220
220
  {
221
- var V = ce.get(x);
222
- if (V !== void 0)
223
- return V;
221
+ var B = ce.get(x);
222
+ if (B !== void 0)
223
+ return B;
224
224
  }
225
225
  var te;
226
226
  oe = !0;
@@ -285,14 +285,14 @@ function sc() {
285
285
  var Mt = x ? x.displayName || x.name : "", Ct = Mt ? se(Mt) : "";
286
286
  return typeof x == "function" && ce.set(x, Ct), Ct;
287
287
  }
288
- function Re(x, R, V) {
288
+ function Re(x, R, B) {
289
289
  return fe(x, !1);
290
290
  }
291
291
  function Me(x) {
292
292
  var R = x.prototype;
293
293
  return !!(R && R.isReactComponent);
294
294
  }
295
- function L(x, R, V) {
295
+ function L(x, R, B) {
296
296
  if (x == null)
297
297
  return "";
298
298
  if (typeof x == "function")
@@ -310,11 +310,11 @@ function sc() {
310
310
  case c:
311
311
  return Re(x.render);
312
312
  case u:
313
- return L(x.type, R, V);
313
+ return L(x.type, R, B);
314
314
  case p: {
315
315
  var te = x, xe = te._payload, ye = te._init;
316
316
  try {
317
- return L(ye(xe), R, V);
317
+ return L(ye(xe), R, B);
318
318
  } catch {
319
319
  }
320
320
  }
@@ -324,12 +324,12 @@ function sc() {
324
324
  var U = Object.prototype.hasOwnProperty, re = {}, $e = b.ReactDebugCurrentFrame;
325
325
  function Pe(x) {
326
326
  if (x) {
327
- var R = x._owner, V = L(x.type, x._source, R ? R.type : null);
328
- $e.setExtraStackFrame(V);
327
+ var R = x._owner, B = L(x.type, x._source, R ? R.type : null);
328
+ $e.setExtraStackFrame(B);
329
329
  } else
330
330
  $e.setExtraStackFrame(null);
331
331
  }
332
- function he(x, R, V, te, xe) {
332
+ function he(x, R, B, te, xe) {
333
333
  {
334
334
  var ye = Function.call.bind(U);
335
335
  for (var pe in x)
@@ -337,14 +337,14 @@ function sc() {
337
337
  var ue = void 0;
338
338
  try {
339
339
  if (typeof x[pe] != "function") {
340
- var Ae = Error((te || "React class") + ": " + V + " type `" + pe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof x[pe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
340
+ var Ae = Error((te || "React class") + ": " + B + " type `" + pe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof x[pe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
341
341
  throw Ae.name = "Invariant Violation", Ae;
342
342
  }
343
- ue = x[pe](R, pe, te, V, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
+ ue = x[pe](R, pe, te, B, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
344
344
  } catch (Te) {
345
345
  ue = Te;
346
346
  }
347
- ue && !(ue instanceof Error) && (Pe(xe), g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", te || "React class", V, pe, typeof ue), Pe(null)), ue instanceof Error && !(ue.message in re) && (re[ue.message] = !0, Pe(xe), g("Failed %s type: %s", V, ue.message), Pe(null));
347
+ ue && !(ue instanceof Error) && (Pe(xe), g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", te || "React class", B, pe, typeof ue), Pe(null)), ue instanceof Error && !(ue.message in re) && (re[ue.message] = !0, Pe(xe), g("Failed %s type: %s", B, ue.message), Pe(null));
348
348
  }
349
349
  }
350
350
  }
@@ -354,8 +354,8 @@ function sc() {
354
354
  }
355
355
  function $t(x) {
356
356
  {
357
- var R = typeof Symbol == "function" && Symbol.toStringTag, V = R && x[Symbol.toStringTag] || x.constructor.name || "Object";
358
- return V;
357
+ var R = typeof Symbol == "function" && Symbol.toStringTag, B = R && x[Symbol.toStringTag] || x.constructor.name || "Object";
358
+ return B;
359
359
  }
360
360
  }
361
361
  function dr(x) {
@@ -397,40 +397,40 @@ function sc() {
397
397
  }
398
398
  function Vi(x, R) {
399
399
  if (typeof x.ref == "string" && rn.current && R && rn.current.stateNode !== R) {
400
- var V = Q(rn.current.type);
401
- fr[V] || (g('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', Q(rn.current.type), x.ref), fr[V] = !0);
400
+ var B = Q(rn.current.type);
401
+ fr[B] || (g('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', Q(rn.current.type), x.ref), fr[B] = !0);
402
402
  }
403
403
  }
404
404
  function Bi(x, R) {
405
405
  {
406
- var V = function() {
406
+ var B = function() {
407
407
  No || (No = !0, g("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", R));
408
408
  };
409
- V.isReactWarning = !0, Object.defineProperty(x, "key", {
410
- get: V,
409
+ B.isReactWarning = !0, Object.defineProperty(x, "key", {
410
+ get: B,
411
411
  configurable: !0
412
412
  });
413
413
  }
414
414
  }
415
415
  function zi(x, R) {
416
416
  {
417
- var V = function() {
417
+ var B = function() {
418
418
  Io || (Io = !0, g("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", R));
419
419
  };
420
- V.isReactWarning = !0, Object.defineProperty(x, "ref", {
421
- get: V,
420
+ B.isReactWarning = !0, Object.defineProperty(x, "ref", {
421
+ get: B,
422
422
  configurable: !0
423
423
  });
424
424
  }
425
425
  }
426
- var Wi = function(x, R, V, te, xe, ye, pe) {
426
+ var Wi = function(x, R, B, te, xe, ye, pe) {
427
427
  var ue = {
428
428
  // This tag allows us to uniquely identify this as a React Element
429
429
  $$typeof: t,
430
430
  // Built-in properties that belong on the element
431
431
  type: x,
432
432
  key: R,
433
- ref: V,
433
+ ref: B,
434
434
  props: pe,
435
435
  // Record the component responsible for creating this element.
436
436
  _owner: ye
@@ -452,10 +452,10 @@ function sc() {
452
452
  value: xe
453
453
  }), Object.freeze && (Object.freeze(ue.props), Object.freeze(ue)), ue;
454
454
  };
455
- function Hi(x, R, V, te, xe) {
455
+ function Hi(x, R, B, te, xe) {
456
456
  {
457
457
  var ye, pe = {}, ue = null, Ae = null;
458
- V !== void 0 && (Oo(V), ue = "" + V), Fi(R) && (Oo(R.key), ue = "" + R.key), Li(R) && (Ae = R.ref, Vi(R, xe));
458
+ B !== void 0 && (Oo(B), ue = "" + B), Fi(R) && (Oo(R.key), ue = "" + R.key), Li(R) && (Ae = R.ref, Vi(R, xe));
459
459
  for (ye in R)
460
460
  U.call(R, ye) && !ji.hasOwnProperty(ye) && (pe[ye] = R[ye]);
461
461
  if (x && x.defaultProps) {
@@ -473,8 +473,8 @@ function sc() {
473
473
  var pr = b.ReactCurrentOwner, Mo = b.ReactDebugCurrentFrame;
474
474
  function It(x) {
475
475
  if (x) {
476
- var R = x._owner, V = L(x.type, x._source, R ? R.type : null);
477
- Mo.setExtraStackFrame(V);
476
+ var R = x._owner, B = L(x.type, x._source, R ? R.type : null);
477
+ Mo.setExtraStackFrame(B);
478
478
  } else
479
479
  Mo.setExtraStackFrame(null);
480
480
  }
@@ -503,10 +503,10 @@ Check the render method of \`` + x + "`.";
503
503
  {
504
504
  var R = Do();
505
505
  if (!R) {
506
- var V = typeof x == "string" ? x : x.displayName || x.name;
507
- V && (R = `
506
+ var B = typeof x == "string" ? x : x.displayName || x.name;
507
+ B && (R = `
508
508
 
509
- Check the top-level render call using <` + V + ">.");
509
+ Check the top-level render call using <` + B + ">.");
510
510
  }
511
511
  return R;
512
512
  }
@@ -516,12 +516,12 @@ Check the top-level render call using <` + V + ">.");
516
516
  if (!x._store || x._store.validated || x.key != null)
517
517
  return;
518
518
  x._store.validated = !0;
519
- var V = Ki(R);
520
- if (Ao[V])
519
+ var B = Ki(R);
520
+ if (Ao[B])
521
521
  return;
522
- Ao[V] = !0;
522
+ Ao[B] = !0;
523
523
  var te = "";
524
- x && x._owner && x._owner !== pr.current && (te = " It was passed a child from " + Q(x._owner.type) + "."), It(x), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', V, te), It(null);
524
+ x && x._owner && x._owner !== pr.current && (te = " It was passed a child from " + Q(x._owner.type) + "."), It(x), g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', B, te), It(null);
525
525
  }
526
526
  }
527
527
  function jo(x, R) {
@@ -529,8 +529,8 @@ Check the top-level render call using <` + V + ">.");
529
529
  if (typeof x != "object")
530
530
  return;
531
531
  if (De(x))
532
- for (var V = 0; V < x.length; V++) {
533
- var te = x[V];
532
+ for (var B = 0; B < x.length; B++) {
533
+ var te = x[B];
534
534
  hr(te) && ko(te, R);
535
535
  }
536
536
  else if (hr(x))
@@ -548,18 +548,18 @@ Check the top-level render call using <` + V + ">.");
548
548
  var R = x.type;
549
549
  if (R == null || typeof R == "string")
550
550
  return;
551
- var V;
551
+ var B;
552
552
  if (typeof R == "function")
553
- V = R.propTypes;
553
+ B = R.propTypes;
554
554
  else if (typeof R == "object" && (R.$$typeof === c || // Note: Memo only checks outer props here.
555
555
  // Inner props are checked in the reconciler.
556
556
  R.$$typeof === u))
557
- V = R.propTypes;
557
+ B = R.propTypes;
558
558
  else
559
559
  return;
560
- if (V) {
560
+ if (B) {
561
561
  var te = Q(R);
562
- he(V, x.props, "prop", te, x);
562
+ he(B, x.props, "prop", te, x);
563
563
  } else if (R.PropTypes !== void 0 && !mr) {
564
564
  mr = !0;
565
565
  var xe = Q(R);
@@ -570,8 +570,8 @@ Check the top-level render call using <` + V + ">.");
570
570
  }
571
571
  function Yi(x) {
572
572
  {
573
- for (var R = Object.keys(x.props), V = 0; V < R.length; V++) {
574
- var te = R[V];
573
+ for (var R = Object.keys(x.props), B = 0; B < R.length; B++) {
574
+ var te = R[B];
575
575
  if (te !== "children" && te !== "key") {
576
576
  It(x), g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", te), It(null);
577
577
  break;
@@ -581,7 +581,7 @@ Check the top-level render call using <` + V + ">.");
581
581
  }
582
582
  }
583
583
  var Lo = {};
584
- function Fo(x, R, V, te, xe, ye) {
584
+ function Fo(x, R, B, te, xe, ye) {
585
585
  {
586
586
  var pe = O(x);
587
587
  if (!pe) {
@@ -592,7 +592,7 @@ Check the top-level render call using <` + V + ">.");
592
592
  var Te;
593
593
  x === null ? Te = "null" : De(x) ? Te = "array" : x !== void 0 && x.$$typeof === t ? (Te = "<" + (Q(x.type) || "Unknown") + " />", ue = " Did you accidentally export a JSX literal instead of a component?") : Te = typeof x, g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Te, ue);
594
594
  }
595
- var Oe = Hi(x, R, V, xe, ye);
595
+ var Oe = Hi(x, R, B, xe, ye);
596
596
  if (Oe == null)
597
597
  return Oe;
598
598
  if (pe) {
@@ -625,11 +625,11 @@ React keys must be passed directly to JSX without using spread:
625
625
  return x === r ? Yi(Oe) : Gi(Oe), Oe;
626
626
  }
627
627
  }
628
- function Xi(x, R, V) {
629
- return Fo(x, R, V, !0);
628
+ function Xi(x, R, B) {
629
+ return Fo(x, R, B, !0);
630
630
  }
631
- function qi(x, R, V) {
632
- return Fo(x, R, V, !1);
631
+ function qi(x, R, B) {
632
+ return Fo(x, R, B, !1);
633
633
  }
634
634
  var Zi = qi, Ji = Xi;
635
635
  sn.Fragment = r, sn.jsx = Zi, sn.jsxs = Ji;
@@ -960,7 +960,7 @@ function Ac(e) {
960
960
  return Ec.test(e);
961
961
  }
962
962
  function Uo() {
963
- const e = Ce("colors"), t = Ce("spacing"), n = Ce("blur"), r = Ce("brightness"), o = Ce("borderColor"), s = Ce("borderRadius"), a = Ce("borderSpacing"), i = Ce("borderWidth"), c = Ce("contrast"), l = Ce("grayscale"), d = Ce("hueRotate"), u = Ce("invert"), p = Ce("gap"), h = Ce("gradientColorStops"), f = Ce("gradientColorStopPositions"), m = Ce("inset"), w = Ce("margin"), b = Ce("opacity"), g = Ce("padding"), y = Ce("saturate"), C = Ce("scale"), _ = Ce("sepia"), I = Ce("skew"), T = Ce("space"), E = Ce("translate"), k = () => ["auto", "contain", "none"], O = () => ["auto", "hidden", "clip", "visible", "scroll"], z = () => ["auto", ie, t], N = () => [ie, t], Q = () => ["", Qe, it], G = () => ["auto", Et, ie], A = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], M = () => ["solid", "dashed", "dotted", "double", "none"], P = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ee = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], S = () => ["", "0", ie], D = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], j = () => [Et, Cn], Y = () => [Et, ie];
963
+ const e = Ce("colors"), t = Ce("spacing"), n = Ce("blur"), r = Ce("brightness"), o = Ce("borderColor"), s = Ce("borderRadius"), a = Ce("borderSpacing"), i = Ce("borderWidth"), c = Ce("contrast"), l = Ce("grayscale"), d = Ce("hueRotate"), u = Ce("invert"), p = Ce("gap"), h = Ce("gradientColorStops"), f = Ce("gradientColorStopPositions"), m = Ce("inset"), w = Ce("margin"), b = Ce("opacity"), g = Ce("padding"), y = Ce("saturate"), C = Ce("scale"), _ = Ce("sepia"), M = Ce("skew"), T = Ce("space"), E = Ce("translate"), k = () => ["auto", "contain", "none"], O = () => ["auto", "hidden", "clip", "visible", "scroll"], V = () => ["auto", ie, t], I = () => [ie, t], Q = () => ["", Qe, it], G = () => ["auto", Et, ie], A = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], D = () => ["solid", "dashed", "dotted", "double", "none"], P = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ee = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], S = () => ["", "0", ie], N = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], j = () => [Et, Cn], Y = () => [Et, ie];
964
964
  return {
965
965
  cacheSize: 500,
966
966
  separator: ":",
@@ -971,25 +971,25 @@ function Uo() {
971
971
  brightness: j(),
972
972
  borderColor: [e],
973
973
  borderRadius: ["none", "", "full", ct, ie],
974
- borderSpacing: N(),
974
+ borderSpacing: I(),
975
975
  borderWidth: Q(),
976
976
  contrast: j(),
977
977
  grayscale: S(),
978
978
  hueRotate: Y(),
979
979
  invert: S(),
980
- gap: N(),
980
+ gap: I(),
981
981
  gradientColorStops: [e],
982
982
  gradientColorStopPositions: [_c, it],
983
- inset: z(),
984
- margin: z(),
983
+ inset: V(),
984
+ margin: V(),
985
985
  opacity: j(),
986
- padding: N(),
986
+ padding: I(),
987
987
  saturate: j(),
988
988
  scale: j(),
989
989
  sepia: S(),
990
990
  skew: Y(),
991
- space: N(),
992
- translate: N()
991
+ space: I(),
992
+ translate: I()
993
993
  },
994
994
  classGroups: {
995
995
  // Layout
@@ -1017,14 +1017,14 @@ function Uo() {
1017
1017
  * @see https://tailwindcss.com/docs/break-after
1018
1018
  */
1019
1019
  "break-after": [{
1020
- "break-after": D()
1020
+ "break-after": N()
1021
1021
  }],
1022
1022
  /**
1023
1023
  * Break Before
1024
1024
  * @see https://tailwindcss.com/docs/break-before
1025
1025
  */
1026
1026
  "break-before": [{
1027
- "break-before": D()
1027
+ "break-before": N()
1028
1028
  }],
1029
1029
  /**
1030
1030
  * Break Inside
@@ -1213,7 +1213,7 @@ function Uo() {
1213
1213
  * @see https://tailwindcss.com/docs/flex-basis
1214
1214
  */
1215
1215
  basis: [{
1216
- basis: z()
1216
+ basis: V()
1217
1217
  }],
1218
1218
  /**
1219
1219
  * Flex Direction
@@ -1775,7 +1775,7 @@ function Uo() {
1775
1775
  * @see https://tailwindcss.com/docs/text-decoration-style
1776
1776
  */
1777
1777
  "text-decoration-style": [{
1778
- decoration: [...M(), "wavy"]
1778
+ decoration: [...D(), "wavy"]
1779
1779
  }],
1780
1780
  /**
1781
1781
  * Text Decoration Thickness
@@ -1820,7 +1820,7 @@ function Uo() {
1820
1820
  * @see https://tailwindcss.com/docs/text-indent
1821
1821
  */
1822
1822
  indent: [{
1823
- indent: N()
1823
+ indent: I()
1824
1824
  }],
1825
1825
  /**
1826
1826
  * Vertical Alignment
@@ -2149,7 +2149,7 @@ function Uo() {
2149
2149
  * @see https://tailwindcss.com/docs/border-style
2150
2150
  */
2151
2151
  "border-style": [{
2152
- border: [...M(), "hidden"]
2152
+ border: [...D(), "hidden"]
2153
2153
  }],
2154
2154
  /**
2155
2155
  * Divide Width X
@@ -2187,7 +2187,7 @@ function Uo() {
2187
2187
  * @see https://tailwindcss.com/docs/divide-style
2188
2188
  */
2189
2189
  "divide-style": [{
2190
- divide: M()
2190
+ divide: D()
2191
2191
  }],
2192
2192
  /**
2193
2193
  * Border Color
@@ -2250,7 +2250,7 @@ function Uo() {
2250
2250
  * @see https://tailwindcss.com/docs/outline-style
2251
2251
  */
2252
2252
  "outline-style": [{
2253
- outline: ["", ...M()]
2253
+ outline: ["", ...D()]
2254
2254
  }],
2255
2255
  /**
2256
2256
  * Outline Offset
@@ -2626,14 +2626,14 @@ function Uo() {
2626
2626
  * @see https://tailwindcss.com/docs/skew
2627
2627
  */
2628
2628
  "skew-x": [{
2629
- "skew-x": [I]
2629
+ "skew-x": [M]
2630
2630
  }],
2631
2631
  /**
2632
2632
  * Skew Y
2633
2633
  * @see https://tailwindcss.com/docs/skew
2634
2634
  */
2635
2635
  "skew-y": [{
2636
- "skew-y": [I]
2636
+ "skew-y": [M]
2637
2637
  }],
2638
2638
  /**
2639
2639
  * Transform Origin
@@ -2697,126 +2697,126 @@ function Uo() {
2697
2697
  * @see https://tailwindcss.com/docs/scroll-margin
2698
2698
  */
2699
2699
  "scroll-m": [{
2700
- "scroll-m": N()
2700
+ "scroll-m": I()
2701
2701
  }],
2702
2702
  /**
2703
2703
  * Scroll Margin X
2704
2704
  * @see https://tailwindcss.com/docs/scroll-margin
2705
2705
  */
2706
2706
  "scroll-mx": [{
2707
- "scroll-mx": N()
2707
+ "scroll-mx": I()
2708
2708
  }],
2709
2709
  /**
2710
2710
  * Scroll Margin Y
2711
2711
  * @see https://tailwindcss.com/docs/scroll-margin
2712
2712
  */
2713
2713
  "scroll-my": [{
2714
- "scroll-my": N()
2714
+ "scroll-my": I()
2715
2715
  }],
2716
2716
  /**
2717
2717
  * Scroll Margin Start
2718
2718
  * @see https://tailwindcss.com/docs/scroll-margin
2719
2719
  */
2720
2720
  "scroll-ms": [{
2721
- "scroll-ms": N()
2721
+ "scroll-ms": I()
2722
2722
  }],
2723
2723
  /**
2724
2724
  * Scroll Margin End
2725
2725
  * @see https://tailwindcss.com/docs/scroll-margin
2726
2726
  */
2727
2727
  "scroll-me": [{
2728
- "scroll-me": N()
2728
+ "scroll-me": I()
2729
2729
  }],
2730
2730
  /**
2731
2731
  * Scroll Margin Top
2732
2732
  * @see https://tailwindcss.com/docs/scroll-margin
2733
2733
  */
2734
2734
  "scroll-mt": [{
2735
- "scroll-mt": N()
2735
+ "scroll-mt": I()
2736
2736
  }],
2737
2737
  /**
2738
2738
  * Scroll Margin Right
2739
2739
  * @see https://tailwindcss.com/docs/scroll-margin
2740
2740
  */
2741
2741
  "scroll-mr": [{
2742
- "scroll-mr": N()
2742
+ "scroll-mr": I()
2743
2743
  }],
2744
2744
  /**
2745
2745
  * Scroll Margin Bottom
2746
2746
  * @see https://tailwindcss.com/docs/scroll-margin
2747
2747
  */
2748
2748
  "scroll-mb": [{
2749
- "scroll-mb": N()
2749
+ "scroll-mb": I()
2750
2750
  }],
2751
2751
  /**
2752
2752
  * Scroll Margin Left
2753
2753
  * @see https://tailwindcss.com/docs/scroll-margin
2754
2754
  */
2755
2755
  "scroll-ml": [{
2756
- "scroll-ml": N()
2756
+ "scroll-ml": I()
2757
2757
  }],
2758
2758
  /**
2759
2759
  * Scroll Padding
2760
2760
  * @see https://tailwindcss.com/docs/scroll-padding
2761
2761
  */
2762
2762
  "scroll-p": [{
2763
- "scroll-p": N()
2763
+ "scroll-p": I()
2764
2764
  }],
2765
2765
  /**
2766
2766
  * Scroll Padding X
2767
2767
  * @see https://tailwindcss.com/docs/scroll-padding
2768
2768
  */
2769
2769
  "scroll-px": [{
2770
- "scroll-px": N()
2770
+ "scroll-px": I()
2771
2771
  }],
2772
2772
  /**
2773
2773
  * Scroll Padding Y
2774
2774
  * @see https://tailwindcss.com/docs/scroll-padding
2775
2775
  */
2776
2776
  "scroll-py": [{
2777
- "scroll-py": N()
2777
+ "scroll-py": I()
2778
2778
  }],
2779
2779
  /**
2780
2780
  * Scroll Padding Start
2781
2781
  * @see https://tailwindcss.com/docs/scroll-padding
2782
2782
  */
2783
2783
  "scroll-ps": [{
2784
- "scroll-ps": N()
2784
+ "scroll-ps": I()
2785
2785
  }],
2786
2786
  /**
2787
2787
  * Scroll Padding End
2788
2788
  * @see https://tailwindcss.com/docs/scroll-padding
2789
2789
  */
2790
2790
  "scroll-pe": [{
2791
- "scroll-pe": N()
2791
+ "scroll-pe": I()
2792
2792
  }],
2793
2793
  /**
2794
2794
  * Scroll Padding Top
2795
2795
  * @see https://tailwindcss.com/docs/scroll-padding
2796
2796
  */
2797
2797
  "scroll-pt": [{
2798
- "scroll-pt": N()
2798
+ "scroll-pt": I()
2799
2799
  }],
2800
2800
  /**
2801
2801
  * Scroll Padding Right
2802
2802
  * @see https://tailwindcss.com/docs/scroll-padding
2803
2803
  */
2804
2804
  "scroll-pr": [{
2805
- "scroll-pr": N()
2805
+ "scroll-pr": I()
2806
2806
  }],
2807
2807
  /**
2808
2808
  * Scroll Padding Bottom
2809
2809
  * @see https://tailwindcss.com/docs/scroll-padding
2810
2810
  */
2811
2811
  "scroll-pb": [{
2812
- "scroll-pb": N()
2812
+ "scroll-pb": I()
2813
2813
  }],
2814
2814
  /**
2815
2815
  * Scroll Padding Left
2816
2816
  * @see https://tailwindcss.com/docs/scroll-padding
2817
2817
  */
2818
2818
  "scroll-pl": [{
2819
- "scroll-pl": N()
2819
+ "scroll-pl": I()
2820
2820
  }],
2821
2821
  /**
2822
2822
  * Scroll Snap Align
@@ -3141,8 +3141,9 @@ function Xc(e) {
3141
3141
  if (!Jr({ matrix: t, pointsRange: n }))
3142
3142
  return !1;
3143
3143
  for (const o of n)
3144
- if (r < o.start.row || r > o.end.row)
3145
- return !1;
3144
+ if (r <= o.start.row && r >= o.end.row)
3145
+ return !0;
3146
+ return !1;
3146
3147
  }
3147
3148
  function qc(e) {
3148
3149
  let t = e;
@@ -3177,9 +3178,9 @@ function Jc(e) {
3177
3178
  }, []), _ = ve(
3178
3179
  () => !!(f.length && Jr({ matrix: a, pointsRange: f })),
3179
3180
  [f, a]
3180
- ), I = F(
3181
- async (S, D) => {
3182
- const j = D.clipboardData?.getData("text/plain") || "", Y = qc(j);
3181
+ ), M = F(
3182
+ async (S, N) => {
3183
+ const j = N.clipboardData?.getData("text/plain") || "", Y = qc(j);
3183
3184
  if (Y.length === 1) {
3184
3185
  if (p[S.column].state.readonly)
3185
3186
  return;
@@ -3205,14 +3206,14 @@ function Jc(e) {
3205
3206
  [p, a, n.length, o, s]
3206
3207
  ), T = F(
3207
3208
  (S) => {
3208
- const D = a[S.row][S.column];
3209
- D && navigator.clipboard.writeText(String(D));
3209
+ const N = a[S.row][S.column];
3210
+ N && navigator.clipboard.writeText(String(N));
3210
3211
  },
3211
3212
  [a]
3212
3213
  ), E = F(
3213
3214
  (S) => {
3214
- const { data: D, point: j } = S, { column: Y, row: le } = j, ae = structuredClone(a);
3215
- ae[le][Y] = D, i(ae), s?.(ae);
3215
+ const { data: N, point: j } = S, { column: Y, row: le } = j, ae = structuredClone(a);
3216
+ ae[le][Y] = N, i(ae), s?.(ae);
3216
3217
  },
3217
3218
  [a, s]
3218
3219
  ), k = F(() => {
@@ -3221,15 +3222,15 @@ function Jc(e) {
3221
3222
  rowStart: ae.start.row,
3222
3223
  rowEnd: ae.end.row,
3223
3224
  delta: ae.end.row - ae.start.row + 1
3224
- })), D = S.reduce((ae, { delta: be }) => ae + be, 0);
3225
+ })), N = S.reduce((ae, { delta: be }) => ae + be, 0);
3225
3226
  if (!_)
3226
3227
  return;
3227
3228
  let j = "";
3228
- if (D === 1) {
3229
+ if (N === 1) {
3229
3230
  const { rowStart: ae } = S[0];
3230
3231
  j = `Você irá excluir a linha N° ${ae + 1}, deseja continuar?`;
3231
3232
  } else
3232
- j = `Você irá excluir ${D} linhas, deseja continuar?`;
3233
+ j = `Você irá excluir ${N} linhas, deseja continuar?`;
3233
3234
  if (!confirm(j))
3234
3235
  return;
3235
3236
  const le = a.filter(
@@ -3238,35 +3239,35 @@ function Jc(e) {
3238
3239
  m([]), i(le), s?.(le);
3239
3240
  }
3240
3241
  }, [a, f, o, _, s]), O = F(
3241
- (S, D) => {
3242
- if (f.length && D && D.shiftKey) {
3242
+ (S, N) => {
3243
+ if (f.length && N && N.shiftKey) {
3243
3244
  const Y = f[f.length - 1], le = S < Y.start.row ? S : Y.start.row, ae = S < Y.start.row ? Y.start.row : S, be = {
3244
3245
  start: { row: le, column: 0 },
3245
3246
  end: { row: ae, column: l }
3246
3247
  };
3247
- return D.ctrlKey ? m([...f, be]) : m([be]);
3248
+ return N.ctrlKey || N.metaKey ? m([...f, be]) : m([be]);
3248
3249
  }
3249
3250
  const j = { start: { row: S, column: 0 }, end: { row: S, column: l } };
3250
- if (D?.ctrlKey)
3251
+ if (N?.ctrlKey || N?.metaKey)
3251
3252
  return m([...f, j]);
3252
3253
  m([j]);
3253
3254
  },
3254
3255
  [l, f]
3255
- ), z = F(
3256
+ ), V = F(
3256
3257
  (S) => {
3257
- f.some((D) => D.start.row === S.row && D.start.column === 0) || m([{ start: S, end: S }]);
3258
+ f.some((N) => N.start.row === S.row && N.start.column === 0) || m([{ start: S, end: S }]);
3258
3259
  },
3259
3260
  [f.some]
3260
- ), N = F(
3261
+ ), I = F(
3261
3262
  (S) => !!(f && Yc(f, S)),
3262
3263
  [f]
3263
3264
  ), Q = F((S) => {
3264
- const { position: D, width: j } = S;
3265
+ const { position: N, width: j } = S;
3265
3266
  let Y = j;
3266
3267
  j > zt && (Y = zt), j < Wt && (Y = Wt), h(
3267
3268
  (le) => le.map((ae, be) => ({
3268
3269
  ...ae,
3269
- state: { ...ae.state, width: be === D ? Y : ae.state.width }
3270
+ state: { ...ae.state, width: be === N ? Y : ae.state.width }
3270
3271
  }))
3271
3272
  );
3272
3273
  }, []), G = F(() => {
@@ -3274,26 +3275,26 @@ function Jc(e) {
3274
3275
  return;
3275
3276
  const S = [
3276
3277
  ...structuredClone(a),
3277
- new Array(l).fill(null).map((D, j) => {
3278
+ new Array(l).fill(null).map((N, j) => {
3278
3279
  const { dataEditorType: Y } = p[j];
3279
3280
  return Hs.includes(Y) ? 0 : Y === "Boolean" ? !1 : "";
3280
3281
  })
3281
3282
  ];
3282
3283
  i(S), s?.(S), C();
3283
3284
  }, [o, a, p, l, C, s]), A = F(() => {
3284
- const S = { column: 0, row: 0 }, D = { column: d.columns, row: d.rows - 1 };
3285
- m([{ start: S, end: D }]);
3286
- }, [d]), M = F(
3285
+ const S = { column: 0, row: 0 }, N = { column: d.columns, row: d.rows - 1 };
3286
+ m([{ start: S, end: N }]);
3287
+ }, [d]), D = F(
3287
3288
  (S) => {
3288
- const { columnId: D, visible: j } = S, Y = (le) => le.id !== D ? le : { ...le, state: { ...le.state, visible: j } };
3289
+ const { columnId: N, visible: j } = S, Y = (le) => le.id !== N ? le : { ...le, state: { ...le.state, visible: j } };
3289
3290
  h((le) => le.map((ae) => Y(ae)));
3290
3291
  },
3291
3292
  []
3292
3293
  ), P = F(() => {
3293
3294
  h(
3294
- (S) => S.map((D) => ({
3295
- ...D,
3296
- state: { ...D.state, visible: !0 }
3295
+ (S) => S.map((N) => ({
3296
+ ...N,
3297
+ state: { ...N.state, visible: !0 }
3297
3298
  }))
3298
3299
  );
3299
3300
  }, []);
@@ -3301,12 +3302,12 @@ function Jc(e) {
3301
3302
  i(r);
3302
3303
  }, [r]), Z(() => {
3303
3304
  h(
3304
- (S) => c.map((D, j) => ({
3305
- ...D,
3305
+ (S) => c.map((N, j) => ({
3306
+ ...N,
3306
3307
  state: {
3307
3308
  visible: S[j].state.visible,
3308
3309
  width: S[j].state.width,
3309
- readonly: D.state.readonly
3310
+ readonly: N.state.readonly
3310
3311
  }
3311
3312
  }))
3312
3313
  );
@@ -3316,15 +3317,15 @@ function Jc(e) {
3316
3317
  const S = f[0];
3317
3318
  if (!Gc(S.start, S.end))
3318
3319
  return;
3319
- const D = (Y) => {
3320
- I(S.start, Y);
3320
+ const N = (Y) => {
3321
+ M(S.start, Y);
3321
3322
  }, j = () => {
3322
3323
  T(S.start);
3323
3324
  };
3324
- return window.addEventListener("paste", D), window.addEventListener("copy", j), () => {
3325
- window.removeEventListener("paste", D), window.removeEventListener("copy", j);
3325
+ return window.addEventListener("paste", N), window.addEventListener("copy", j), () => {
3326
+ window.removeEventListener("paste", N), window.removeEventListener("copy", j);
3326
3327
  };
3327
- }, [I, T, f]);
3328
+ }, [M, T, f]);
3328
3329
  const ee = ve(
3329
3330
  () => ({
3330
3331
  size: d,
@@ -3338,16 +3339,16 @@ function Jc(e) {
3338
3339
  setPointsRange: m,
3339
3340
  containerDimensions: w,
3340
3341
  setContainerDimensions: b,
3341
- onPaste: I,
3342
+ onPaste: M,
3342
3343
  onChange: E,
3343
3344
  onRemoveRow: k,
3344
3345
  onSelectRow: O,
3345
- onSelectCell: z,
3346
- isCellSelected: N,
3346
+ onSelectCell: V,
3347
+ isCellSelected: I,
3347
3348
  onInsertNewRow: G,
3348
3349
  onColumnResize: Q,
3349
3350
  onSelectSpreadsheet: A,
3350
- onColumnVisibilityChange: M,
3351
+ onColumnVisibilityChange: D,
3351
3352
  onRestoreColumnsVisibility: P
3352
3353
  }),
3353
3354
  [
@@ -3360,16 +3361,16 @@ function Jc(e) {
3360
3361
  g,
3361
3362
  f,
3362
3363
  w,
3363
- I,
3364
+ M,
3364
3365
  E,
3365
3366
  k,
3366
3367
  O,
3367
- z,
3368
- N,
3368
+ V,
3369
+ I,
3369
3370
  G,
3370
3371
  Q,
3371
3372
  A,
3372
- M,
3373
+ D,
3373
3374
  P
3374
3375
  ]
3375
3376
  );
@@ -3793,7 +3794,7 @@ function Sl(e) {
3793
3794
  return `bg-blue-100 font-bold text-blue-700 ${t}`;
3794
3795
  }
3795
3796
  return t;
3796
- }, [f, t, c, l, a]), I = ve(
3797
+ }, [f, t, c, l, a]), M = ve(
3797
3798
  () => ({ onDragStart: g, onDrag: y, onDragEnd: C }),
3798
3799
  [g, y, C]
3799
3800
  );
@@ -3812,7 +3813,7 @@ function Sl(e) {
3812
3813
  /* @__PURE__ */ v.jsx(
3813
3814
  Cl,
3814
3815
  {
3815
- ...I,
3816
+ ...M,
3816
3817
  className: ne(
3817
3818
  "-sl-right-[3px] -sl-top-1 sl-absolute sl-z-50 sl-opacity-0 hover:sl-opacity-100",
3818
3819
  f && "sl-opacity-0"
@@ -4484,11 +4485,11 @@ const uu = /* @__PURE__ */ Bt({
4484
4485
  (E) => p(E)
4485
4486
  ), w = Array.from(d.layers), [b] = [
4486
4487
  ...d.layersWithOutsidePointerEventsDisabled
4487
- ].slice(-1), g = w.indexOf(b), y = u ? w.indexOf(u) : -1, C = d.layersWithOutsidePointerEventsDisabled.size > 0, _ = y >= g, I = du((E) => {
4488
+ ].slice(-1), g = w.indexOf(b), y = u ? w.indexOf(u) : -1, C = d.layersWithOutsidePointerEventsDisabled.size > 0, _ = y >= g, M = du((E) => {
4488
4489
  const k = E.target, O = [
4489
4490
  ...d.branches
4490
4491
  ].some(
4491
- (z) => z.contains(k)
4492
+ (V) => V.contains(k)
4492
4493
  );
4493
4494
  !_ || O || (s?.(E), i?.(E), E.defaultPrevented || c?.());
4494
4495
  }, h), T = fu((E) => {
@@ -4496,7 +4497,7 @@ const uu = /* @__PURE__ */ Bt({
4496
4497
  [
4497
4498
  ...d.branches
4498
4499
  ].some(
4499
- (z) => z.contains(k)
4500
+ (V) => V.contains(k)
4500
4501
  ) || (a?.(E), i?.(E), E.defaultPrevented || c?.());
4501
4502
  }, h);
4502
4503
  return iu((E) => {
@@ -4527,7 +4528,7 @@ const uu = /* @__PURE__ */ Bt({
4527
4528
  },
4528
4529
  onFocusCapture: J(e.onFocusCapture, T.onFocusCapture),
4529
4530
  onBlurCapture: J(e.onBlurCapture, T.onBlurCapture),
4530
- onPointerDownCapture: J(e.onPointerDownCapture, I.onPointerDownCapture)
4531
+ onPointerDownCapture: J(e.onPointerDownCapture, M.onPointerDownCapture)
4531
4532
  }));
4532
4533
  });
4533
4534
  function du(e, t = globalThis?.document) {
@@ -4598,11 +4599,11 @@ function sa(e, t, n, { discrete: r }) {
4598
4599
  }), r ? oa(o, s) : o.dispatchEvent(s);
4599
4600
  }
4600
4601
  const je = globalThis?.document ? Yr : () => {
4601
- }, pu = B.useId || (() => {
4602
+ }, pu = z.useId || (() => {
4602
4603
  });
4603
4604
  let mu = 0;
4604
4605
  function Kt(e) {
4605
- const [t, n] = B.useState(pu());
4606
+ const [t, n] = z.useState(pu());
4606
4607
  return je(() => {
4607
4608
  n(
4608
4609
  (r) => r ?? String(mu++)
@@ -4891,20 +4892,20 @@ const Su = (e) => ({
4891
4892
  const u = aa(d), p = {
4892
4893
  x: n,
4893
4894
  y: r
4894
- }, h = ro(o), f = no(h), m = await a.getDimensions(l), w = h === "y", b = w ? "top" : "left", g = w ? "bottom" : "right", y = w ? "clientHeight" : "clientWidth", C = s.reference[f] + s.reference[h] - p[h] - s.floating[f], _ = p[h] - s.reference[h], I = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(l));
4895
- let T = I ? I[y] : 0;
4896
- (!T || !await (a.isElement == null ? void 0 : a.isElement(I))) && (T = i.floating[y] || s.floating[f]);
4897
- const E = C / 2 - _ / 2, k = T / 2 - m[f] / 2 - 1, O = Xe(u[b], k), z = Xe(u[g], k), N = O, Q = T - m[f] - z, G = T / 2 - m[f] / 2 + E, A = kr(N, G, Q), M = !c.arrow && Zt(o) != null && G !== A && s.reference[f] / 2 - (G < N ? O : z) - m[f] / 2 < 0, P = M ? G < N ? G - N : G - Q : 0;
4895
+ }, h = ro(o), f = no(h), m = await a.getDimensions(l), w = h === "y", b = w ? "top" : "left", g = w ? "bottom" : "right", y = w ? "clientHeight" : "clientWidth", C = s.reference[f] + s.reference[h] - p[h] - s.floating[f], _ = p[h] - s.reference[h], M = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(l));
4896
+ let T = M ? M[y] : 0;
4897
+ (!T || !await (a.isElement == null ? void 0 : a.isElement(M))) && (T = i.floating[y] || s.floating[f]);
4898
+ const E = C / 2 - _ / 2, k = T / 2 - m[f] / 2 - 1, O = Xe(u[b], k), V = Xe(u[g], k), I = O, Q = T - m[f] - V, G = T / 2 - m[f] / 2 + E, A = kr(I, G, Q), D = !c.arrow && Zt(o) != null && G !== A && s.reference[f] / 2 - (G < I ? O : V) - m[f] / 2 < 0, P = D ? G < I ? G - I : G - Q : 0;
4898
4899
  return {
4899
4900
  [h]: p[h] + P,
4900
4901
  data: {
4901
4902
  [h]: A,
4902
4903
  centerOffset: G - A - P,
4903
- ...M && {
4904
+ ...D && {
4904
4905
  alignmentOffset: P
4905
4906
  }
4906
4907
  },
4907
- reset: M
4908
+ reset: D
4908
4909
  };
4909
4910
  }
4910
4911
  }), Eu = function(e) {
@@ -4933,34 +4934,34 @@ const Su = (e) => ({
4933
4934
  return {};
4934
4935
  const b = ot(o), g = ot(i) === i, y = await (c.isRTL == null ? void 0 : c.isRTL(l.floating)), C = p || (g || !m ? [zn(i)] : xu(i));
4935
4936
  !p && f !== "none" && C.push(...yu(i, m, f, y));
4936
- const _ = [i, ...C], I = await un(t, w), T = [];
4937
+ const _ = [i, ...C], M = await un(t, w), T = [];
4937
4938
  let E = ((r = s.flip) == null ? void 0 : r.overflows) || [];
4938
- if (d && T.push(I[b]), u) {
4939
- const N = bu(o, a, y);
4940
- T.push(I[N[0]], I[N[1]]);
4939
+ if (d && T.push(M[b]), u) {
4940
+ const I = bu(o, a, y);
4941
+ T.push(M[I[0]], M[I[1]]);
4941
4942
  }
4942
4943
  if (E = [...E, {
4943
4944
  placement: o,
4944
4945
  overflows: T
4945
- }], !T.every((N) => N <= 0)) {
4946
+ }], !T.every((I) => I <= 0)) {
4946
4947
  var k, O;
4947
- const N = (((k = s.flip) == null ? void 0 : k.index) || 0) + 1, Q = _[N];
4948
+ const I = (((k = s.flip) == null ? void 0 : k.index) || 0) + 1, Q = _[I];
4948
4949
  if (Q)
4949
4950
  return {
4950
4951
  data: {
4951
- index: N,
4952
+ index: I,
4952
4953
  overflows: E
4953
4954
  },
4954
4955
  reset: {
4955
4956
  placement: Q
4956
4957
  }
4957
4958
  };
4958
- let G = (O = E.filter((A) => A.overflows[0] <= 0).sort((A, M) => A.overflows[1] - M.overflows[1])[0]) == null ? void 0 : O.placement;
4959
+ let G = (O = E.filter((A) => A.overflows[0] <= 0).sort((A, D) => A.overflows[1] - D.overflows[1])[0]) == null ? void 0 : O.placement;
4959
4960
  if (!G)
4960
4961
  switch (h) {
4961
4962
  case "bestFit": {
4962
- var z;
4963
- const A = (z = E.map((M) => [M.placement, M.overflows.filter((P) => P > 0).reduce((P, ee) => P + ee, 0)]).sort((M, P) => M[1] - P[1])[0]) == null ? void 0 : z[0];
4963
+ var V;
4964
+ const A = (V = E.map((D) => [D.placement, D.overflows.filter((P) => P > 0).reduce((P, ee) => P + ee, 0)]).sort((D, P) => D[1] - P[1])[0]) == null ? void 0 : V[0];
4964
4965
  A && (G = A);
4965
4966
  break;
4966
4967
  }
@@ -5167,8 +5168,8 @@ const Ru = function(e) {
5167
5168
  }
5168
5169
  if (l) {
5169
5170
  var b, g;
5170
- const y = p === "y" ? "width" : "height", C = ["top", "left"].includes(ot(o)), _ = s.reference[u] - s.floating[y] + (C && ((b = a.offset) == null ? void 0 : b[u]) || 0) + (C ? 0 : w.crossAxis), I = s.reference[u] + s.reference[y] + (C ? 0 : ((g = a.offset) == null ? void 0 : g[u]) || 0) - (C ? w.crossAxis : 0);
5171
- f < _ ? f = _ : f > I && (f = I);
5171
+ const y = p === "y" ? "width" : "height", C = ["top", "left"].includes(ot(o)), _ = s.reference[u] - s.floating[y] + (C && ((b = a.offset) == null ? void 0 : b[u]) || 0) + (C ? 0 : w.crossAxis), M = s.reference[u] + s.reference[y] + (C ? 0 : ((g = a.offset) == null ? void 0 : g[u]) || 0) - (C ? w.crossAxis : 0);
5172
+ f < _ ? f = _ : f > M && (f = M);
5172
5173
  }
5173
5174
  return {
5174
5175
  [p]: h,
@@ -5197,14 +5198,14 @@ const Ru = function(e) {
5197
5198
  let f, m;
5198
5199
  l === "top" || l === "bottom" ? (f = l, m = d === (await (o.isRTL == null ? void 0 : o.isRTL(s.floating)) ? "start" : "end") ? "left" : "right") : (m = l, f = d === "end" ? "top" : "bottom");
5199
5200
  const w = h - c.top - c.bottom, b = p - c.left - c.right, g = Xe(h - c[f], w), y = Xe(p - c[m], b), C = !t.middlewareData.shift;
5200
- let _ = g, I = y;
5201
- if (u ? I = d || C ? Xe(y, b) : b : _ = d || C ? Xe(g, w) : w, C && !d) {
5202
- const E = Le(c.left, 0), k = Le(c.right, 0), O = Le(c.top, 0), z = Le(c.bottom, 0);
5203
- u ? I = p - 2 * (E !== 0 || k !== 0 ? E + k : Le(c.left, c.right)) : _ = h - 2 * (O !== 0 || z !== 0 ? O + z : Le(c.top, c.bottom));
5201
+ let _ = g, M = y;
5202
+ if (u ? M = d || C ? Xe(y, b) : b : _ = d || C ? Xe(g, w) : w, C && !d) {
5203
+ const E = Le(c.left, 0), k = Le(c.right, 0), O = Le(c.top, 0), V = Le(c.bottom, 0);
5204
+ u ? M = p - 2 * (E !== 0 || k !== 0 ? E + k : Le(c.left, c.right)) : _ = h - 2 * (O !== 0 || V !== 0 ? O + V : Le(c.top, c.bottom));
5204
5205
  }
5205
5206
  await a({
5206
5207
  ...t,
5207
- availableWidth: I,
5208
+ availableWidth: M,
5208
5209
  availableHeight: _
5209
5210
  });
5210
5211
  const T = await o.getDimensions(s.floating);
@@ -5600,11 +5601,11 @@ function Xu(e, t) {
5600
5601
  };
5601
5602
  let y = !0;
5602
5603
  function C(_) {
5603
- const I = _[0].intersectionRatio;
5604
- if (I !== c) {
5604
+ const M = _[0].intersectionRatio;
5605
+ if (M !== c) {
5605
5606
  if (!y)
5606
5607
  return a();
5607
- I ? a(!1, I) : r = setTimeout(() => {
5608
+ M ? a(!1, M) : r = setTimeout(() => {
5608
5609
  a(!1, 1e-7);
5609
5610
  }, 1e3);
5610
5611
  }
@@ -5712,7 +5713,7 @@ function cs(e, t) {
5712
5713
  return Math.round(t * n) / n;
5713
5714
  }
5714
5715
  function ls(e) {
5715
- const t = B.useRef(e);
5716
+ const t = z.useRef(e);
5716
5717
  return Mn(() => {
5717
5718
  t.current = e;
5718
5719
  }), t;
@@ -5731,28 +5732,28 @@ function od(e) {
5731
5732
  transform: i = !0,
5732
5733
  whileElementsMounted: c,
5733
5734
  open: l
5734
- } = e, [d, u] = B.useState({
5735
+ } = e, [d, u] = z.useState({
5735
5736
  x: 0,
5736
5737
  y: 0,
5737
5738
  strategy: n,
5738
5739
  placement: t,
5739
5740
  middlewareData: {},
5740
5741
  isPositioned: !1
5741
- }), [p, h] = B.useState(r);
5742
+ }), [p, h] = z.useState(r);
5742
5743
  Hn(p, r) || h(r);
5743
- const [f, m] = B.useState(null), [w, b] = B.useState(null), g = B.useCallback((P) => {
5744
- P !== I.current && (I.current = P, m(P));
5745
- }, []), y = B.useCallback((P) => {
5744
+ const [f, m] = z.useState(null), [w, b] = z.useState(null), g = z.useCallback((P) => {
5745
+ P !== M.current && (M.current = P, m(P));
5746
+ }, []), y = z.useCallback((P) => {
5746
5747
  P !== T.current && (T.current = P, b(P));
5747
- }, []), C = s || f, _ = a || w, I = B.useRef(null), T = B.useRef(null), E = B.useRef(d), k = c != null, O = ls(c), z = ls(o), N = B.useCallback(() => {
5748
- if (!I.current || !T.current)
5748
+ }, []), C = s || f, _ = a || w, M = z.useRef(null), T = z.useRef(null), E = z.useRef(d), k = c != null, O = ls(c), V = ls(o), I = z.useCallback(() => {
5749
+ if (!M.current || !T.current)
5749
5750
  return;
5750
5751
  const P = {
5751
5752
  placement: t,
5752
5753
  strategy: n,
5753
5754
  middleware: p
5754
5755
  };
5755
- z.current && (P.platform = z.current), rd(I.current, T.current, P).then((ee) => {
5756
+ V.current && (P.platform = V.current), rd(M.current, T.current, P).then((ee) => {
5756
5757
  const S = {
5757
5758
  ...ee,
5758
5759
  isPositioned: !0
@@ -5761,32 +5762,32 @@ function od(e) {
5761
5762
  u(S);
5762
5763
  }));
5763
5764
  });
5764
- }, [p, t, n, z]);
5765
+ }, [p, t, n, V]);
5765
5766
  Mn(() => {
5766
5767
  l === !1 && E.current.isPositioned && (E.current.isPositioned = !1, u((P) => ({
5767
5768
  ...P,
5768
5769
  isPositioned: !1
5769
5770
  })));
5770
5771
  }, [l]);
5771
- const Q = B.useRef(!1);
5772
+ const Q = z.useRef(!1);
5772
5773
  Mn(() => (Q.current = !0, () => {
5773
5774
  Q.current = !1;
5774
5775
  }), []), Mn(() => {
5775
- if (C && (I.current = C), _ && (T.current = _), C && _) {
5776
+ if (C && (M.current = C), _ && (T.current = _), C && _) {
5776
5777
  if (O.current)
5777
- return O.current(C, _, N);
5778
- N();
5778
+ return O.current(C, _, I);
5779
+ I();
5779
5780
  }
5780
- }, [C, _, N, O, k]);
5781
- const G = B.useMemo(() => ({
5782
- reference: I,
5781
+ }, [C, _, I, O, k]);
5782
+ const G = z.useMemo(() => ({
5783
+ reference: M,
5783
5784
  floating: T,
5784
5785
  setReference: g,
5785
5786
  setFloating: y
5786
- }), [g, y]), A = B.useMemo(() => ({
5787
+ }), [g, y]), A = z.useMemo(() => ({
5787
5788
  reference: C,
5788
5789
  floating: _
5789
- }), [C, _]), M = B.useMemo(() => {
5790
+ }), [C, _]), D = z.useMemo(() => {
5790
5791
  const P = {
5791
5792
  position: n,
5792
5793
  left: 0,
@@ -5807,13 +5808,13 @@ function od(e) {
5807
5808
  top: S
5808
5809
  };
5809
5810
  }, [n, i, A.floating, d.x, d.y]);
5810
- return B.useMemo(() => ({
5811
+ return z.useMemo(() => ({
5811
5812
  ...d,
5812
- update: N,
5813
+ update: I,
5813
5814
  refs: G,
5814
5815
  elements: A,
5815
- floatingStyles: M
5816
- }), [d, N, G, A, M]);
5816
+ floatingStyles: D
5817
+ }), [d, I, G, A, D]);
5817
5818
  }
5818
5819
  const sd = (e) => {
5819
5820
  function t(n) {
@@ -5906,10 +5907,10 @@ const ha = "Popper", [va, en] = Tt(ha), [md, ga] = va(ha), hd = (e) => {
5906
5907
  }));
5907
5908
  }), ba = "PopperContent", [bd, fv] = va(ba), xd = /* @__PURE__ */ H((e, t) => {
5908
5909
  var n, r, o, s, a, i, c, l;
5909
- const { __scopePopper: d, side: u = "bottom", sideOffset: p = 0, align: h = "center", alignOffset: f = 0, arrowPadding: m = 0, avoidCollisions: w = !0, collisionBoundary: b = [], collisionPadding: g = 0, sticky: y = "partial", hideWhenDetached: C = !1, updatePositionStrategy: _ = "optimized", onPlaced: I, ...T } = e, E = ga(ba, d), [k, O] = q(null), z = Se(
5910
+ const { __scopePopper: d, side: u = "bottom", sideOffset: p = 0, align: h = "center", alignOffset: f = 0, arrowPadding: m = 0, avoidCollisions: w = !0, collisionBoundary: b = [], collisionPadding: g = 0, sticky: y = "partial", hideWhenDetached: C = !1, updatePositionStrategy: _ = "optimized", onPlaced: M, ...T } = e, E = ga(ba, d), [k, O] = q(null), V = Se(
5910
5911
  t,
5911
5912
  (L) => O(L)
5912
- ), [N, Q] = q(null), G = pd(N), A = (n = G?.width) !== null && n !== void 0 ? n : 0, M = (r = G?.height) !== null && r !== void 0 ? r : 0, P = u + (h !== "center" ? "-" + h : ""), ee = typeof g == "number" ? g : {
5913
+ ), [I, Q] = q(null), G = pd(I), A = (n = G?.width) !== null && n !== void 0 ? n : 0, D = (r = G?.height) !== null && r !== void 0 ? r : 0, P = u + (h !== "center" ? "-" + h : ""), ee = typeof g == "number" ? g : {
5913
5914
  top: 0,
5914
5915
  right: 0,
5915
5916
  bottom: 0,
@@ -5917,11 +5918,11 @@ const ha = "Popper", [va, en] = Tt(ha), [md, ga] = va(ha), hd = (e) => {
5917
5918
  ...g
5918
5919
  }, S = Array.isArray(b) ? b : [
5919
5920
  b
5920
- ], D = S.length > 0, j = {
5921
+ ], N = S.length > 0, j = {
5921
5922
  padding: ee,
5922
5923
  boundary: S.filter(wd),
5923
5924
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
5924
- altBoundary: D
5925
+ altBoundary: N
5925
5926
  }, { refs: Y, floatingStyles: le, placement: ae, isPositioned: be, middlewareData: we } = od({
5926
5927
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
5927
5928
  strategy: "fixed",
@@ -5934,7 +5935,7 @@ const ha = "Popper", [va, en] = Tt(ha), [md, ga] = va(ha), hd = (e) => {
5934
5935
  },
5935
5936
  middleware: [
5936
5937
  ad({
5937
- mainAxis: p + M,
5938
+ mainAxis: p + D,
5938
5939
  alignmentAxis: f
5939
5940
  }),
5940
5941
  w && id({
@@ -5953,20 +5954,20 @@ const ha = "Popper", [va, en] = Tt(ha), [md, ga] = va(ha), hd = (e) => {
5953
5954
  me.setProperty("--radix-popper-available-width", `${re}px`), me.setProperty("--radix-popper-available-height", `${$e}px`), me.setProperty("--radix-popper-anchor-width", `${Pe}px`), me.setProperty("--radix-popper-anchor-height", `${he}px`);
5954
5955
  }
5955
5956
  }),
5956
- N && fd({
5957
- element: N,
5957
+ I && fd({
5958
+ element: I,
5958
5959
  padding: m
5959
5960
  }),
5960
5961
  yd({
5961
5962
  arrowWidth: A,
5962
- arrowHeight: M
5963
+ arrowHeight: D
5963
5964
  }),
5964
5965
  C && dd({
5965
5966
  strategy: "referenceHidden",
5966
5967
  ...j
5967
5968
  })
5968
5969
  ]
5969
- }), [X, se] = xa(ae), oe = He(I);
5970
+ }), [X, se] = xa(ae), oe = He(M);
5970
5971
  je(() => {
5971
5972
  be && oe?.();
5972
5973
  }, [
@@ -6004,7 +6005,7 @@ const ha = "Popper", [va, en] = Tt(ha), [md, ga] = va(ha), hd = (e) => {
6004
6005
  "data-side": X,
6005
6006
  "data-align": se
6006
6007
  }, T, {
6007
- ref: z,
6008
+ ref: V,
6008
6009
  style: {
6009
6010
  ...T.style,
6010
6011
  // if the PopperContent hasn't been placed yet (not all measurements done)
@@ -6218,7 +6219,7 @@ const ya = /* @__PURE__ */ H((e, t) => /* @__PURE__ */ $(Ee.span, W({}, e, {
6218
6219
  window.clearTimeout(h.current), g(!1);
6219
6220
  }, [
6220
6221
  g
6221
- ]), I = F(() => {
6222
+ ]), M = F(() => {
6222
6223
  window.clearTimeout(h.current), h.current = window.setTimeout(() => {
6223
6224
  w.current = !0, g(!0);
6224
6225
  }, m);
@@ -6234,10 +6235,10 @@ const ya = /* @__PURE__ */ H((e, t) => /* @__PURE__ */ $(Ee.span, W({}, e, {
6234
6235
  trigger: d,
6235
6236
  onTriggerChange: u,
6236
6237
  onTriggerEnter: F(() => {
6237
- c.isOpenDelayed ? I() : C();
6238
+ c.isOpenDelayed ? M() : C();
6238
6239
  }, [
6239
6240
  c.isOpenDelayed,
6240
- I,
6241
+ M,
6241
6242
  C
6242
6243
  ]),
6243
6244
  onTriggerLeave: F(() => {
@@ -6518,7 +6519,7 @@ function Wd(e) {
6518
6519
  }
6519
6520
  return n.pop(), t.length === 1 && n.length === 1 && t[0].x === n[0].x && t[0].y === n[0].y ? t : t.concat(n);
6520
6521
  }
6521
- const Hd = Pd, Ud = Nd, Kd = Id, Ca = Ad, Un = Hd, Kn = Ud, Gn = Kd, mn = B.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ v.jsx(
6522
+ const Hd = Pd, Ud = Nd, Kd = Id, Ca = Ad, Un = Hd, Kn = Ud, Gn = Kd, mn = z.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ v.jsx(
6522
6523
  Ca,
6523
6524
  {
6524
6525
  ref: r,
@@ -6997,7 +6998,7 @@ function pf(e, t) {
6997
6998
  })[0];
6998
6999
  return n.callback = t, n.facade;
6999
7000
  }
7000
- var mf = typeof window < "u" ? B.useLayoutEffect : B.useEffect, gs = /* @__PURE__ */ new WeakMap();
7001
+ var mf = typeof window < "u" ? z.useLayoutEffect : z.useEffect, gs = /* @__PURE__ */ new WeakMap();
7001
7002
  function hf(e, t) {
7002
7003
  var n = pf(null, function(r) {
7003
7004
  return e.forEach(function(o) {
@@ -7106,24 +7107,24 @@ var Pa = function(e) {
7106
7107
  var r = t.read();
7107
7108
  if (!r)
7108
7109
  throw new Error("Sidecar medium not found");
7109
- return B.createElement(r, Yn({}, n));
7110
+ return z.createElement(r, Yn({}, n));
7110
7111
  };
7111
7112
  Pa.isSideCarExport = !0;
7112
7113
  function wf(e, t) {
7113
7114
  return e.useMedium(t), Pa;
7114
7115
  }
7115
7116
  var Oa = xf(), Sr = function() {
7116
- }, sr = B.forwardRef(function(e, t) {
7117
- var n = B.useRef(null), r = B.useState({
7117
+ }, sr = z.forwardRef(function(e, t) {
7118
+ var n = z.useRef(null), r = z.useState({
7118
7119
  onScrollCapture: Sr,
7119
7120
  onWheelCapture: Sr,
7120
7121
  onTouchMoveCapture: Sr
7121
7122
  }), o = r[0], s = r[1], a = e.forwardProps, i = e.children, c = e.className, l = e.removeScrollBar, d = e.enabled, u = e.shards, p = e.sideCar, h = e.noIsolation, f = e.inert, m = e.allowPinchZoom, w = e.as, b = w === void 0 ? "div" : w, g = lf(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]), y = p, C = hf([n, t]), _ = vt(vt({}, g), o);
7122
- return B.createElement(
7123
- B.Fragment,
7123
+ return z.createElement(
7124
+ z.Fragment,
7124
7125
  null,
7125
- d && B.createElement(y, { sideCar: Oa, removeScrollBar: l, shards: u, noIsolation: h, inert: f, setCallbacks: s, allowPinchZoom: !!m, lockRef: n }),
7126
- a ? B.cloneElement(B.Children.only(i), vt(vt({}, _), { ref: C })) : B.createElement(b, vt({}, _, { className: c, ref: C }), i)
7126
+ d && z.createElement(y, { sideCar: Oa, removeScrollBar: l, shards: u, noIsolation: h, inert: f, setCallbacks: s, allowPinchZoom: !!m, lockRef: n }),
7127
+ a ? z.cloneElement(z.Children.only(i), vt(vt({}, _), { ref: C })) : z.createElement(b, vt({}, _, { className: c, ref: C }), i)
7127
7128
  );
7128
7129
  });
7129
7130
  sr.defaultProps = {
@@ -7167,7 +7168,7 @@ var Ef = function() {
7167
7168
  }, _f = function() {
7168
7169
  var e = Ef();
7169
7170
  return function(t, n) {
7170
- B.useEffect(function() {
7171
+ z.useEffect(function() {
7171
7172
  return e.add(t), function() {
7172
7173
  e.remove();
7173
7174
  };
@@ -7247,7 +7248,7 @@ var Ef = function() {
7247
7248
  var e = parseInt(document.body.getAttribute(Ft) || "0", 10);
7248
7249
  return isFinite(e) ? e : 0;
7249
7250
  }, If = function() {
7250
- B.useEffect(function() {
7251
+ z.useEffect(function() {
7251
7252
  return document.body.setAttribute(Ft, (bs() + 1).toString()), function() {
7252
7253
  var e = bs() - 1;
7253
7254
  e <= 0 ? document.body.removeAttribute(Ft) : document.body.setAttribute(Ft, e.toString());
@@ -7256,10 +7257,10 @@ var Ef = function() {
7256
7257
  }, Mf = function(e) {
7257
7258
  var t = e.noRelative, n = e.noImportant, r = e.gapMode, o = r === void 0 ? "margin" : r;
7258
7259
  If();
7259
- var s = B.useMemo(function() {
7260
+ var s = z.useMemo(function() {
7260
7261
  return Pf(o);
7261
7262
  }, [o]);
7262
- return B.createElement(Of, { styles: Nf(s, !t, o, n ? "" : "!important") });
7263
+ return z.createElement(Of, { styles: Nf(s, !t, o, n ? "" : "!important") });
7263
7264
  }, Fr = !1;
7264
7265
  if (typeof window < "u")
7265
7266
  try {
@@ -7344,12 +7345,12 @@ var At = Fr ? { passive: !1 } : !1, Df = function(e) {
7344
7345
  `);
7345
7346
  }, Wf = 0, kt = [];
7346
7347
  function Hf(e) {
7347
- var t = B.useRef([]), n = B.useRef([0, 0]), r = B.useRef(), o = B.useState(Wf++)[0], s = B.useState(function() {
7348
+ var t = z.useRef([]), n = z.useRef([0, 0]), r = z.useRef(), o = z.useState(Wf++)[0], s = z.useState(function() {
7348
7349
  return Na();
7349
- })[0], a = B.useRef(e);
7350
- B.useEffect(function() {
7350
+ })[0], a = z.useRef(e);
7351
+ z.useEffect(function() {
7351
7352
  a.current = e;
7352
- }, [e]), B.useEffect(function() {
7353
+ }, [e]), z.useEffect(function() {
7353
7354
  if (e.inert) {
7354
7355
  document.body.classList.add("block-interactivity-".concat(o));
7355
7356
  var m = uf([e.lockRef.current], (e.shards || []).map(ys), !0).filter(Boolean);
@@ -7362,22 +7363,22 @@ function Hf(e) {
7362
7363
  };
7363
7364
  }
7364
7365
  }, [e.inert, e.lockRef.current, e.shards]);
7365
- var i = B.useCallback(function(m, w) {
7366
+ var i = z.useCallback(function(m, w) {
7366
7367
  if ("touches" in m && m.touches.length === 2)
7367
7368
  return !a.current.allowPinchZoom;
7368
- var b = Pn(m), g = n.current, y = "deltaX" in m ? m.deltaX : g[0] - b[0], C = "deltaY" in m ? m.deltaY : g[1] - b[1], _, I = m.target, T = Math.abs(y) > Math.abs(C) ? "h" : "v";
7369
- if ("touches" in m && T === "h" && I.type === "range")
7369
+ var b = Pn(m), g = n.current, y = "deltaX" in m ? m.deltaX : g[0] - b[0], C = "deltaY" in m ? m.deltaY : g[1] - b[1], _, M = m.target, T = Math.abs(y) > Math.abs(C) ? "h" : "v";
7370
+ if ("touches" in m && T === "h" && M.type === "range")
7370
7371
  return !1;
7371
- var E = xs(T, I);
7372
+ var E = xs(T, M);
7372
7373
  if (!E)
7373
7374
  return !0;
7374
- if (E ? _ = T : (_ = T === "v" ? "h" : "v", E = xs(T, I)), !E)
7375
+ if (E ? _ = T : (_ = T === "v" ? "h" : "v", E = xs(T, M)), !E)
7375
7376
  return !1;
7376
7377
  if (!r.current && "changedTouches" in m && (y || C) && (r.current = _), !_)
7377
7378
  return !0;
7378
7379
  var k = r.current || _;
7379
7380
  return Vf(k, w, m, k === "h" ? y : C, !0);
7380
- }, []), c = B.useCallback(function(m) {
7381
+ }, []), c = z.useCallback(function(m) {
7381
7382
  var w = m;
7382
7383
  if (!(!kt.length || kt[kt.length - 1] !== s)) {
7383
7384
  var b = "deltaY" in w ? ws(w) : Pn(w), g = t.current.filter(function(_) {
@@ -7394,21 +7395,21 @@ function Hf(e) {
7394
7395
  C && w.cancelable && w.preventDefault();
7395
7396
  }
7396
7397
  }
7397
- }, []), l = B.useCallback(function(m, w, b, g) {
7398
+ }, []), l = z.useCallback(function(m, w, b, g) {
7398
7399
  var y = { name: m, delta: w, target: b, should: g };
7399
7400
  t.current.push(y), setTimeout(function() {
7400
7401
  t.current = t.current.filter(function(C) {
7401
7402
  return C !== y;
7402
7403
  });
7403
7404
  }, 1);
7404
- }, []), d = B.useCallback(function(m) {
7405
+ }, []), d = z.useCallback(function(m) {
7405
7406
  n.current = Pn(m), r.current = void 0;
7406
- }, []), u = B.useCallback(function(m) {
7407
+ }, []), u = z.useCallback(function(m) {
7407
7408
  l(m.type, ws(m), m.target, i(m, e.lockRef.current));
7408
- }, []), p = B.useCallback(function(m) {
7409
+ }, []), p = z.useCallback(function(m) {
7409
7410
  l(m.type, Pn(m), m.target, i(m, e.lockRef.current));
7410
7411
  }, []);
7411
- B.useEffect(function() {
7412
+ z.useEffect(function() {
7412
7413
  return kt.push(s), e.setCallbacks({
7413
7414
  onScrollCapture: u,
7414
7415
  onWheelCapture: u,
@@ -7420,16 +7421,16 @@ function Hf(e) {
7420
7421
  };
7421
7422
  }, []);
7422
7423
  var h = e.removeScrollBar, f = e.inert;
7423
- return B.createElement(
7424
- B.Fragment,
7424
+ return z.createElement(
7425
+ z.Fragment,
7425
7426
  null,
7426
- f ? B.createElement(s, { styles: zf(o) }) : null,
7427
- h ? B.createElement(Mf, { gapMode: "margin" }) : null
7427
+ f ? z.createElement(s, { styles: zf(o) }) : null,
7428
+ h ? z.createElement(Mf, { gapMode: "margin" }) : null
7428
7429
  );
7429
7430
  }
7430
7431
  const Uf = wf(Oa, Hf);
7431
- var go = B.forwardRef(function(e, t) {
7432
- return B.createElement(sr, vt({}, e, { ref: t, sideCar: Uf }));
7432
+ var go = z.forwardRef(function(e, t) {
7433
+ return z.createElement(sr, vt({}, e, { ref: t, sideCar: Uf }));
7433
7434
  });
7434
7435
  go.classNames = sr.classNames;
7435
7436
  const Kf = [
@@ -7444,7 +7445,7 @@ const Kf = [
7444
7445
  Yf,
7445
7446
  en
7446
7447
  ]), bo = en(), [Xf, Rt] = nn(ar), [qf, Zf] = nn(ar), Jf = (e) => {
7447
- const { __scopeSelect: t, children: n, open: r, defaultOpen: o, onOpenChange: s, value: a, defaultValue: i, onValueChange: c, dir: l, name: d, autoComplete: u, disabled: p, required: h } = e, f = bo(t), [m, w] = q(null), [b, g] = q(null), [y, C] = q(!1), _ = vo(l), [I = !1, T] = fn({
7448
+ const { __scopeSelect: t, children: n, open: r, defaultOpen: o, onOpenChange: s, value: a, defaultValue: i, onValueChange: c, dir: l, name: d, autoComplete: u, disabled: p, required: h } = e, f = bo(t), [m, w] = q(null), [b, g] = q(null), [y, C] = q(!1), _ = vo(l), [M = !1, T] = fn({
7448
7449
  prop: r,
7449
7450
  defaultProp: o,
7450
7451
  onChange: s
@@ -7452,7 +7453,7 @@ const Kf = [
7452
7453
  prop: a,
7453
7454
  defaultProp: i,
7454
7455
  onChange: c
7455
- }), O = K(null), z = m ? !!m.closest("form") : !0, [N, Q] = q(/* @__PURE__ */ new Set()), G = Array.from(N).map(
7456
+ }), O = K(null), V = m ? !!m.closest("form") : !0, [I, Q] = q(/* @__PURE__ */ new Set()), G = Array.from(I).map(
7456
7457
  (A) => A.props.value
7457
7458
  ).join(";");
7458
7459
  return /* @__PURE__ */ $(co, f, /* @__PURE__ */ $(Xf, {
@@ -7467,7 +7468,7 @@ const Kf = [
7467
7468
  contentId: Kt(),
7468
7469
  value: E,
7469
7470
  onValueChange: k,
7470
- open: I,
7471
+ open: M,
7471
7472
  onOpenChange: T,
7472
7473
  dir: _,
7473
7474
  triggerPointerDownPosRef: O,
@@ -7478,16 +7479,16 @@ const Kf = [
7478
7479
  scope: e.__scopeSelect,
7479
7480
  onNativeOptionAdd: F((A) => {
7480
7481
  Q(
7481
- (M) => new Set(M).add(A)
7482
+ (D) => new Set(D).add(A)
7482
7483
  );
7483
7484
  }, []),
7484
7485
  onNativeOptionRemove: F((A) => {
7485
- Q((M) => {
7486
- const P = new Set(M);
7486
+ Q((D) => {
7487
+ const P = new Set(D);
7487
7488
  return P.delete(A), P;
7488
7489
  });
7489
7490
  }, [])
7490
- }, n)), z ? /* @__PURE__ */ $(Fa, {
7491
+ }, n)), V ? /* @__PURE__ */ $(Fa, {
7491
7492
  key: G,
7492
7493
  "aria-hidden": !0,
7493
7494
  required: h,
@@ -7499,7 +7500,7 @@ const Kf = [
7499
7500
  disabled: p
7500
7501
  }, E === void 0 ? /* @__PURE__ */ $("option", {
7501
7502
  value: ""
7502
- }) : null, Array.from(N)) : null));
7503
+ }) : null, Array.from(I)) : null));
7503
7504
  }, Qf = "SelectTrigger", ep = /* @__PURE__ */ H((e, t) => {
7504
7505
  const { __scopeSelect: n, disabled: r = !1, ...o } = e, s = bo(n), a = Rt(Qf, n), i = a.disabled || r, c = Se(t, a.onTriggerChange), l = cr(n), [d, u, p] = Va((f) => {
7505
7506
  const m = l().filter(
@@ -7598,18 +7599,18 @@ const Kf = [
7598
7599
  avoidCollisions: w,
7599
7600
  //
7600
7601
  ...b
7601
- } = e, g = Rt(Yt, n), [y, C] = q(null), [_, I] = q(null), T = Se(
7602
+ } = e, g = Rt(Yt, n), [y, C] = q(null), [_, M] = q(null), T = Se(
7602
7603
  t,
7603
7604
  (X) => C(X)
7604
- ), [E, k] = q(null), [O, z] = q(null), N = cr(n), [Q, G] = q(!1), A = K(!1);
7605
+ ), [E, k] = q(null), [O, V] = q(null), I = cr(n), [Q, G] = q(!1), A = K(!1);
7605
7606
  Z(() => {
7606
7607
  if (y)
7607
7608
  return Ra(y);
7608
7609
  }, [
7609
7610
  y
7610
7611
  ]), Sa();
7611
- const M = F((X) => {
7612
- const [se, ...oe] = N().map(
7612
+ const D = F((X) => {
7613
+ const [se, ...oe] = I().map(
7613
7614
  (fe) => fe.ref.current
7614
7615
  ), [ce] = oe.slice(-1), de = document.activeElement;
7615
7616
  for (const fe of X)
@@ -7618,15 +7619,15 @@ const Kf = [
7618
7619
  }), fe === se && _ && (_.scrollTop = 0), fe === ce && _ && (_.scrollTop = _.scrollHeight), fe?.focus(), document.activeElement !== de))
7619
7620
  return;
7620
7621
  }, [
7621
- N,
7622
+ I,
7622
7623
  _
7623
7624
  ]), P = F(
7624
- () => M([
7625
+ () => D([
7625
7626
  E,
7626
7627
  y
7627
7628
  ]),
7628
7629
  [
7629
- M,
7630
+ D,
7630
7631
  E,
7631
7632
  y
7632
7633
  ]
@@ -7674,8 +7675,8 @@ const Kf = [
7674
7675
  }, [
7675
7676
  ee
7676
7677
  ]);
7677
- const [D, j] = Va((X) => {
7678
- const se = N().filter(
7678
+ const [N, j] = Va((X) => {
7679
+ const se = I().filter(
7679
7680
  (de) => !de.disabled
7680
7681
  ), oe = se.find(
7681
7682
  (de) => de.ref.current === document.activeElement
@@ -7695,7 +7696,7 @@ const Kf = [
7695
7696
  ]
7696
7697
  ), ae = F((X, se, oe) => {
7697
7698
  const ce = !A.current && !oe;
7698
- (g.value !== void 0 && g.value === se || ce) && z(X);
7699
+ (g.value !== void 0 && g.value === se || ce) && V(X);
7699
7700
  }, [
7700
7701
  g.value
7701
7702
  ]), be = r === "popper" ? $s : ip, we = be === $s ? {
@@ -7714,7 +7715,7 @@ const Kf = [
7714
7715
  scope: n,
7715
7716
  content: y,
7716
7717
  viewport: _,
7717
- onViewportChange: I,
7718
+ onViewportChange: M,
7718
7719
  itemRefCallback: Y,
7719
7720
  selectedItem: E,
7720
7721
  onItemLeave: le,
@@ -7723,7 +7724,7 @@ const Kf = [
7723
7724
  selectedItemText: O,
7724
7725
  position: r,
7725
7726
  isPositioned: Q,
7726
- searchRef: D
7727
+ searchRef: N
7727
7728
  }, /* @__PURE__ */ $(go, {
7728
7729
  as: Ut,
7729
7730
  allowPinchZoom: !0
@@ -7771,7 +7772,7 @@ const Kf = [
7771
7772
  "Home",
7772
7773
  "End"
7773
7774
  ].includes(X.key)) {
7774
- let ce = N().filter(
7775
+ let ce = I().filter(
7775
7776
  (de) => !de.disabled
7776
7777
  ).map(
7777
7778
  (de) => de.ref.current
@@ -7787,7 +7788,7 @@ const Kf = [
7787
7788
  ce = ce.slice(fe + 1);
7788
7789
  }
7789
7790
  setTimeout(
7790
- () => M(ce)
7791
+ () => D(ce)
7791
7792
  ), X.preventDefault();
7792
7793
  }
7793
7794
  })
@@ -7812,19 +7813,19 @@ const Kf = [
7812
7813
  ]);
7813
7814
  i.style.minWidth = Me + "px", i.style.right = re + "px";
7814
7815
  }
7815
- const z = p(), N = window.innerHeight - nt * 2, Q = m.scrollHeight, G = window.getComputedStyle(l), A = parseInt(G.borderTopWidth, 10), M = parseInt(G.paddingTop, 10), P = parseInt(G.borderBottomWidth, 10), ee = parseInt(G.paddingBottom, 10), S = A + M + Q + ee + P, D = Math.min(w.offsetHeight * 5, S), j = window.getComputedStyle(m), Y = parseInt(j.paddingTop, 10), le = parseInt(j.paddingBottom, 10), ae = T.top + T.height / 2 - nt, be = N - ae, we = w.offsetHeight / 2, X = w.offsetTop + we, se = A + M + X, oe = S - se;
7816
+ const V = p(), I = window.innerHeight - nt * 2, Q = m.scrollHeight, G = window.getComputedStyle(l), A = parseInt(G.borderTopWidth, 10), D = parseInt(G.paddingTop, 10), P = parseInt(G.borderBottomWidth, 10), ee = parseInt(G.paddingBottom, 10), S = A + D + Q + ee + P, N = Math.min(w.offsetHeight * 5, S), j = window.getComputedStyle(m), Y = parseInt(j.paddingTop, 10), le = parseInt(j.paddingBottom, 10), ae = T.top + T.height / 2 - nt, be = I - ae, we = w.offsetHeight / 2, X = w.offsetTop + we, se = A + D + X, oe = S - se;
7816
7817
  if (se <= ae) {
7817
- const de = w === z[z.length - 1].ref.current;
7818
+ const de = w === V[V.length - 1].ref.current;
7818
7819
  i.style.bottom = "0px";
7819
7820
  const fe = l.clientHeight - m.offsetTop - m.offsetHeight, Re = Math.max(be, we + (de ? le : 0) + fe + P), Me = se + Re;
7820
7821
  i.style.height = Me + "px";
7821
7822
  } else {
7822
- const de = w === z[0].ref.current;
7823
+ const de = w === V[0].ref.current;
7823
7824
  i.style.top = "0px";
7824
7825
  const Re = Math.max(ae, A + m.offsetTop + (de ? Y : 0) + we) + oe;
7825
7826
  i.style.height = Re + "px", m.scrollTop = se - ae + m.offsetTop;
7826
7827
  }
7827
- i.style.margin = `${nt}px 0`, i.style.minHeight = D + "px", i.style.maxHeight = N + "px", r?.(), requestAnimationFrame(
7828
+ i.style.margin = `${nt}px 0`, i.style.minHeight = N + "px", i.style.maxHeight = I + "px", r?.(), requestAnimationFrame(
7828
7829
  () => h.current = !0
7829
7830
  );
7830
7831
  }
@@ -7852,7 +7853,7 @@ const Kf = [
7852
7853
  }, [
7853
7854
  l
7854
7855
  ]);
7855
- const I = F((T) => {
7856
+ const M = F((T) => {
7856
7857
  T && f.current === !0 && (y(), g?.(), f.current = !1);
7857
7858
  }, [
7858
7859
  y,
@@ -7862,7 +7863,7 @@ const Kf = [
7862
7863
  scope: n,
7863
7864
  contentWrapper: i,
7864
7865
  shouldExpandOnScrollRef: h,
7865
- onScrollButtonChange: I
7866
+ onScrollButtonChange: M
7866
7867
  }, /* @__PURE__ */ $("div", {
7867
7868
  ref: c,
7868
7869
  style: {
@@ -8193,7 +8194,7 @@ function $p(e, t) {
8193
8194
  (n, r) => e[(t + r) % e.length]
8194
8195
  );
8195
8196
  }
8196
- const Cp = Jf, za = ep, Sp = np, Ep = rp, _p = op, Wa = sp, Tp = lp, Ha = pp, Ua = hp, Rp = vp, Pp = bp, Ka = xp, Ga = wp, Ya = yp, Xa = Cp, qa = Sp, wo = B.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v.jsxs(
8197
+ const Cp = Jf, za = ep, Sp = np, Ep = rp, _p = op, Wa = sp, Tp = lp, Ha = pp, Ua = hp, Rp = vp, Pp = bp, Ka = xp, Ga = wp, Ya = yp, Xa = Cp, qa = Sp, wo = z.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v.jsxs(
8197
8198
  za,
8198
8199
  {
8199
8200
  ref: r,
@@ -8209,7 +8210,7 @@ const Cp = Jf, za = ep, Sp = np, Ep = rp, _p = op, Wa = sp, Tp = lp, Ha = pp, Ua
8209
8210
  }
8210
8211
  ));
8211
8212
  wo.displayName = za.displayName;
8212
- const Za = B.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
8213
+ const Za = z.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
8213
8214
  Ka,
8214
8215
  {
8215
8216
  ref: n,
@@ -8219,7 +8220,7 @@ const Za = B.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
8219
8220
  }
8220
8221
  ));
8221
8222
  Za.displayName = Ka.displayName;
8222
- const Ja = B.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
8223
+ const Ja = z.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
8223
8224
  Ga,
8224
8225
  {
8225
8226
  ref: n,
@@ -8229,7 +8230,7 @@ const Ja = B.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
8229
8230
  }
8230
8231
  ));
8231
8232
  Ja.displayName = Ga.displayName;
8232
- const yo = B.forwardRef(({ className: e, children: t, position: n = "popper", ...r }, o) => /* @__PURE__ */ v.jsx(_p, { children: /* @__PURE__ */ v.jsxs(
8233
+ const yo = z.forwardRef(({ className: e, children: t, position: n = "popper", ...r }, o) => /* @__PURE__ */ v.jsx(_p, { children: /* @__PURE__ */ v.jsxs(
8233
8234
  Wa,
8234
8235
  {
8235
8236
  ref: o,
@@ -8257,7 +8258,7 @@ const yo = B.forwardRef(({ className: e, children: t, position: n = "popper", ..
8257
8258
  }
8258
8259
  ) }));
8259
8260
  yo.displayName = Wa.displayName;
8260
- const Op = B.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
8261
+ const Op = z.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
8261
8262
  Ha,
8262
8263
  {
8263
8264
  ref: n,
@@ -8266,7 +8267,7 @@ const Op = B.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
8266
8267
  }
8267
8268
  ));
8268
8269
  Op.displayName = Ha.displayName;
8269
- const Xn = B.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v.jsxs(
8270
+ const Xn = z.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v.jsxs(
8270
8271
  Ua,
8271
8272
  {
8272
8273
  ref: r,
@@ -8282,7 +8283,7 @@ const Xn = B.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__
8282
8283
  }
8283
8284
  ));
8284
8285
  Xn.displayName = Ua.displayName;
8285
- const Np = B.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
8286
+ const Np = z.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
8286
8287
  Ya,
8287
8288
  {
8288
8289
  ref: n,
@@ -8671,9 +8672,9 @@ function Zp(e) {
8671
8672
  g === void 0 && (g = Yp);
8672
8673
  var y = e.isValidInputCharacter;
8673
8674
  y === void 0 && (y = vn);
8674
- var C = e.isCharacterSame, _ = Qa(e, ["type", "displayType", "customInput", "renderText", "getInputRef", "format", "removeFormatting", "defaultValue", "valueIsNumericString", "onValueChange", "isAllowed", "onChange", "onKeyDown", "onMouseUp", "onFocus", "onBlur", "value", "getCaretBoundary", "isValidInputCharacter", "isCharacterSame"]), I = si(b, c, !!l, a, i, d), T = I[0], E = T.formattedValue, k = T.numAsString, O = I[1], z = K({ formattedValue: E, numAsString: k }), N = function(L, U) {
8675
- z.current = { formattedValue: L.formattedValue, numAsString: L.value }, O(L, U);
8676
- }, Q = q(!1), G = Q[0], A = Q[1], M = K(null), P = K({
8675
+ var C = e.isCharacterSame, _ = Qa(e, ["type", "displayType", "customInput", "renderText", "getInputRef", "format", "removeFormatting", "defaultValue", "valueIsNumericString", "onValueChange", "isAllowed", "onChange", "onKeyDown", "onMouseUp", "onFocus", "onBlur", "value", "getCaretBoundary", "isValidInputCharacter", "isCharacterSame"]), M = si(b, c, !!l, a, i, d), T = M[0], E = T.formattedValue, k = T.numAsString, O = M[1], V = K({ formattedValue: E, numAsString: k }), I = function(L, U) {
8676
+ V.current = { formattedValue: L.formattedValue, numAsString: L.value }, O(L, U);
8677
+ }, Q = q(!1), G = Q[0], A = Q[1], D = K(null), P = K({
8677
8678
  setCaretTimeout: null,
8678
8679
  focusTimeout: null
8679
8680
  });
@@ -8689,7 +8690,7 @@ function Zp(e) {
8689
8690
  value: U,
8690
8691
  floatValue: isNaN(re) ? void 0 : re
8691
8692
  };
8692
- }, D = function(L, U, re) {
8693
+ }, N = function(L, U, re) {
8693
8694
  L.selectionStart === 0 && L.selectionEnd === L.value.length || (St(L, U), P.current.setCaretTimeout = setTimeout(function() {
8694
8695
  L.value === re && L.selectionStart !== U && St(L, U);
8695
8696
  }, 0));
@@ -8704,30 +8705,30 @@ function Zp(e) {
8704
8705
  var re = L.input, $e = L.source, Pe = L.event, he = L.numAsString, me;
8705
8706
  if (re) {
8706
8707
  var De = L.inputValue || re.value, $t = _r(re);
8707
- re.value = U, me = Y(De, U, $t), me !== void 0 && D(re, me, U);
8708
+ re.value = U, me = Y(De, U, $t), me !== void 0 && N(re, me, U);
8708
8709
  }
8709
- U !== E && N(S(U, he), { event: Pe, source: $e });
8710
+ U !== E && I(S(U, he), { event: Pe, source: $e });
8710
8711
  };
8711
8712
  Z(function() {
8712
- var L = z.current, U = L.formattedValue, re = L.numAsString;
8713
- E !== U && (E !== k || U !== re) && N(S(E, k), {
8713
+ var L = V.current, U = L.formattedValue, re = L.numAsString;
8714
+ E !== U && (E !== k || U !== re) && I(S(E, k), {
8714
8715
  event: void 0,
8715
8716
  source: hn.props
8716
8717
  });
8717
8718
  }, [E, k]);
8718
- var ae = M.current ? _r(M.current) : void 0, be = typeof window < "u" ? Yr : Z;
8719
+ var ae = D.current ? _r(D.current) : void 0, be = typeof window < "u" ? Yr : Z;
8719
8720
  be(function() {
8720
- var L = M.current;
8721
- if (E !== z.current.formattedValue && L) {
8722
- var U = Y(z.current.formattedValue, E, ae);
8723
- L.value = E, D(L, U, E);
8721
+ var L = D.current;
8722
+ if (E !== V.current.formattedValue && L) {
8723
+ var U = Y(V.current.formattedValue, E, ae);
8724
+ L.value = E, N(L, U, E);
8724
8725
  }
8725
8726
  }, [E]);
8726
8727
  var we = function(L, U, re) {
8727
8728
  var $e = oi(E, L), Pe = Object.assign(Object.assign({}, $e), { lastValue: E }), he = i(L, Pe), me = ee(he);
8728
8729
  if (he = i(me, void 0), u && !u(S(me, he))) {
8729
8730
  var De = U.target, $t = _r(De), dr = Y(L, E, $t);
8730
- return De.value = E, D(De, dr, E), !1;
8731
+ return De.value = E, N(De, dr, E), !1;
8731
8732
  }
8732
8733
  return le({
8733
8734
  formattedValue: me,
@@ -8754,13 +8755,13 @@ function Zp(e) {
8754
8755
  De = j(he, me, $t), De !== me && L.preventDefault();
8755
8756
  } else
8756
8757
  re === "Delete" && !y(he[me]) ? De = j(he, me, "right") : re === "Backspace" && !y(he[me]) && (De = j(he, me, "left"));
8757
- De !== me && D(U, De, he), L.isUnitTestRun && D(U, De, he), h(L);
8758
+ De !== me && N(U, De, he), L.isUnitTestRun && N(U, De, he), h(L);
8758
8759
  }, oe = function(L) {
8759
8760
  var U = L.target, re = function() {
8760
8761
  var $e = U.selectionStart, Pe = U.selectionEnd, he = U.value;
8761
8762
  if (he === void 0 && (he = ""), $e === Pe) {
8762
8763
  var me = j(he, $e);
8763
- me !== $e && D(U, me, he);
8764
+ me !== $e && N(U, me, he);
8764
8765
  }
8765
8766
  };
8766
8767
  re(), requestAnimationFrame(function() {
@@ -8769,14 +8770,14 @@ function Zp(e) {
8769
8770
  }, ce = function(L) {
8770
8771
  L.persist && L.persist();
8771
8772
  var U = L.target, re = L.currentTarget;
8772
- M.current = U, P.current.focusTimeout = setTimeout(function() {
8773
+ D.current = U, P.current.focusTimeout = setTimeout(function() {
8773
8774
  var $e = U.selectionStart, Pe = U.selectionEnd, he = U.value;
8774
8775
  he === void 0 && (he = "");
8775
8776
  var me = j(he, $e);
8776
- me !== $e && !($e === 0 && Pe === he.length) && D(U, me, he), m(Object.assign(Object.assign({}, L), { currentTarget: re }));
8777
+ me !== $e && !($e === 0 && Pe === he.length) && N(U, me, he), m(Object.assign(Object.assign({}, L), { currentTarget: re }));
8777
8778
  }, 0);
8778
8779
  }, de = function(L) {
8779
- M.current = null, clearTimeout(P.current.focusTimeout), clearTimeout(P.current.setCaretTimeout), w(L);
8780
+ D.current = null, clearTimeout(P.current.focusTimeout), clearTimeout(P.current.setCaretTimeout), w(L);
8780
8781
  }, fe = G && Hp() ? "numeric" : void 0, Re = Object.assign({ inputMode: fe }, _, {
8781
8782
  type: t,
8782
8783
  value: E,
@@ -8841,24 +8842,24 @@ function tm(e, t, n) {
8841
8842
  e = e.substring(0, d) + w + e.substring(d + 1, e.length);
8842
8843
  }
8843
8844
  var b = function(P, ee, S) {
8844
- var D = !1, j = !1;
8845
- s.startsWith("-") ? D = !1 : P.startsWith("--") ? (D = !1, j = !0) : a.startsWith("-") && P.length === a.length ? D = !1 : P[0] === "-" && (D = !0);
8846
- var Y = D ? 1 : 0;
8847
- return j && (Y = 2), Y && (P = P.substring(Y), ee -= Y, S -= Y), { value: P, start: ee, end: S, hasNegation: D };
8845
+ var N = !1, j = !1;
8846
+ s.startsWith("-") ? N = !1 : P.startsWith("--") ? (N = !1, j = !0) : a.startsWith("-") && P.length === a.length ? N = !1 : P[0] === "-" && (N = !0);
8847
+ var Y = N ? 1 : 0;
8848
+ return j && (Y = 2), Y && (P = P.substring(Y), ee -= Y, S -= Y), { value: P, start: ee, end: S, hasNegation: N };
8848
8849
  }, g = b(e, d, u), y = g.hasNegation;
8849
8850
  r = g, e = r.value, d = r.start, u = r.end;
8850
- var C = b(t.lastValue, c.start, c.end), _ = C.start, I = C.end, T = C.value, E = e.substring(d, u);
8851
- e.length && T.length && (_ > T.length - a.length || I < s.length) && !(E && a.startsWith(E)) && (e = T);
8851
+ var C = b(t.lastValue, c.start, c.end), _ = C.start, M = C.end, T = C.value, E = e.substring(d, u);
8852
+ e.length && T.length && (_ > T.length - a.length || M < s.length) && !(E && a.startsWith(E)) && (e = T);
8852
8853
  var k = 0;
8853
8854
  e.startsWith(s) ? k += s.length : d < s.length && (k = d), e = e.substring(k), u -= k;
8854
- var O = e.length, z = e.length - a.length;
8855
- e.endsWith(a) ? O = z : (u > z || u > e.length - a.length) && (O = u), e = e.substring(0, O), e = Jp(y ? "-" + e : e, o), e = (e.match(Qp(f)) || []).join("");
8856
- var N = e.indexOf(f);
8855
+ var O = e.length, V = e.length - a.length;
8856
+ e.endsWith(a) ? O = V : (u > V || u > e.length - a.length) && (O = u), e = e.substring(0, O), e = Jp(y ? "-" + e : e, o), e = (e.match(Qp(f)) || []).join("");
8857
+ var I = e.indexOf(f);
8857
8858
  e = e.replace(new RegExp(ti(f), "g"), function(P, ee) {
8858
- return ee === N ? "." : "";
8859
+ return ee === I ? "." : "";
8859
8860
  });
8860
- var Q = $o(e, o), G = Q.beforeDecimal, A = Q.afterDecimal, M = Q.addNegation;
8861
- return l.end - l.start < c.end - c.start && G === "" && m && !parseFloat(A) && (e = M ? "-" : ""), e;
8861
+ var Q = $o(e, o), G = Q.beforeDecimal, A = Q.afterDecimal, D = Q.addNegation;
8862
+ return l.end - l.start < c.end - c.start && G === "" && m && !parseFloat(A) && (e = D ? "-" : ""), e;
8862
8863
  }
8863
8864
  function nm(e, t) {
8864
8865
  var n = t.prefix;
@@ -8896,55 +8897,55 @@ function om(e) {
8896
8897
  s === void 0 && (s = gt);
8897
8898
  var a = e.thousandSeparator, i = e.decimalScale, c = e.fixedDecimalScale, l = e.prefix;
8898
8899
  l === void 0 && (l = "");
8899
- var d = e.defaultValue, u = e.value, p = e.valueIsNumericString, h = e.onValueChange, f = Qa(e, ["decimalSeparator", "allowedDecimalSeparators", "thousandsGroupStyle", "suffix", "allowNegative", "allowLeadingZeros", "onKeyDown", "onBlur", "thousandSeparator", "decimalScale", "fixedDecimalScale", "prefix", "defaultValue", "value", "valueIsNumericString", "onValueChange"]), m = lr(e), w = m.decimalSeparator, b = m.allowedDecimalSeparators, g = function(M) {
8900
- return Ps(M, e);
8901
- }, y = function(M, P) {
8902
- return tm(M, P, e);
8900
+ var d = e.defaultValue, u = e.value, p = e.valueIsNumericString, h = e.onValueChange, f = Qa(e, ["decimalSeparator", "allowedDecimalSeparators", "thousandsGroupStyle", "suffix", "allowNegative", "allowLeadingZeros", "onKeyDown", "onBlur", "thousandSeparator", "decimalScale", "fixedDecimalScale", "prefix", "defaultValue", "value", "valueIsNumericString", "onValueChange"]), m = lr(e), w = m.decimalSeparator, b = m.allowedDecimalSeparators, g = function(D) {
8901
+ return Ps(D, e);
8902
+ }, y = function(D, P) {
8903
+ return tm(D, P, e);
8903
8904
  }, C = Vt(u) ? d : u, _ = p ?? em(C, l, t);
8904
8905
  Vt(u) ? Vt(d) || (_ = _ || typeof d == "number") : _ = _ || typeof u == "number";
8905
- var I = function(M) {
8906
- return ei(M) ? M : (typeof M == "number" && (M = ri(M)), _ && typeof i == "number" ? Ts(M, i, !!c) : M);
8907
- }, T = si(I(u), I(d), !!_, g, y, h), E = T[0], k = E.numAsString, O = E.formattedValue, z = T[1], N = function(M) {
8908
- var P = M.target, ee = M.key, S = P.selectionStart, D = P.selectionEnd, j = P.value;
8909
- if (j === void 0 && (j = ""), S !== D) {
8910
- o(M);
8906
+ var M = function(D) {
8907
+ return ei(D) ? D : (typeof D == "number" && (D = ri(D)), _ && typeof i == "number" ? Ts(D, i, !!c) : D);
8908
+ }, T = si(M(u), M(d), !!_, g, y, h), E = T[0], k = E.numAsString, O = E.formattedValue, V = T[1], I = function(D) {
8909
+ var P = D.target, ee = D.key, S = P.selectionStart, N = P.selectionEnd, j = P.value;
8910
+ if (j === void 0 && (j = ""), S !== N) {
8911
+ o(D);
8911
8912
  return;
8912
8913
  }
8913
- ee === "Backspace" && j[0] === "-" && S === l.length + 1 && n && St(P, 1), i && c && (ee === "Backspace" && j[S - 1] === w ? (St(P, S - 1), M.preventDefault()) : ee === "Delete" && j[S] === w && M.preventDefault()), b?.includes(ee) && j[S] === w && St(P, S + 1);
8914
+ ee === "Backspace" && j[0] === "-" && S === l.length + 1 && n && St(P, 1), i && c && (ee === "Backspace" && j[S - 1] === w ? (St(P, S - 1), D.preventDefault()) : ee === "Delete" && j[S] === w && D.preventDefault()), b?.includes(ee) && j[S] === w && St(P, S + 1);
8914
8915
  var Y = a === !0 ? "," : a;
8915
- ee === "Backspace" && j[S - 1] === Y && St(P, S - 1), ee === "Delete" && j[S] === Y && St(P, S + 1), o(M);
8916
- }, Q = function(M) {
8916
+ ee === "Backspace" && j[S - 1] === Y && St(P, S - 1), ee === "Delete" && j[S] === Y && St(P, S + 1), o(D);
8917
+ }, Q = function(D) {
8917
8918
  var P = k;
8918
8919
  if (P.match(/\d/g) || (P = ""), r || (P = zp(P)), c && i && (P = Ts(P, i, c)), P !== k) {
8919
8920
  var ee = Ps(P, e);
8920
- z({
8921
+ V({
8921
8922
  formattedValue: ee,
8922
8923
  value: P,
8923
8924
  floatValue: parseFloat(P)
8924
8925
  }, {
8925
- event: M,
8926
+ event: D,
8926
8927
  source: hn.event
8927
8928
  });
8928
8929
  }
8929
- s(M);
8930
- }, G = function(M) {
8931
- return M === w ? !0 : vn(M);
8932
- }, A = function(M) {
8933
- var P = M.currentValue, ee = M.lastValue, S = M.formattedValue, D = M.currentValueIndex, j = M.formattedValueIndex, Y = P[D], le = S[j], ae = oi(ee, P), be = ae.to;
8934
- return D >= be.start && D < be.end && b && b.includes(Y) && le === w ? !0 : Y === le;
8930
+ s(D);
8931
+ }, G = function(D) {
8932
+ return D === w ? !0 : vn(D);
8933
+ }, A = function(D) {
8934
+ var P = D.currentValue, ee = D.lastValue, S = D.formattedValue, N = D.currentValueIndex, j = D.formattedValueIndex, Y = P[N], le = S[j], ae = oi(ee, P), be = ae.to;
8935
+ return N >= be.start && N < be.end && b && b.includes(Y) && le === w ? !0 : Y === le;
8935
8936
  };
8936
8937
  return Object.assign(Object.assign({}, f), {
8937
8938
  value: O,
8938
8939
  valueIsNumericString: !1,
8939
8940
  isValidInputCharacter: G,
8940
8941
  isCharacterSame: A,
8941
- onValueChange: z,
8942
+ onValueChange: V,
8942
8943
  format: g,
8943
8944
  removeFormatting: y,
8944
- getCaretBoundary: function(M) {
8945
- return nm(M, e);
8945
+ getCaretBoundary: function(D) {
8946
+ return nm(D, e);
8946
8947
  },
8947
- onKeyDown: N,
8948
+ onKeyDown: I,
8948
8949
  onBlur: Q
8949
8950
  });
8950
8951
  }
@@ -8971,16 +8972,16 @@ function am(e, t) {
8971
8972
  } = e, w = ".", b = ",", g = cm({
8972
8973
  dataEditorType: r,
8973
8974
  decimalScale: l?.numeric?.decimalScale
8974
- }), y = l?.numeric?.allowNegative, C = l?.numeric?.min, _ = l?.numeric?.max, I = r === "Currency" ? "R$ " : "", T = r === "Percentage" ? "%" : "", [E, k] = q(u), O = F(
8975
- ({ value: z }) => {
8976
- const N = Or({ value: z, min: C, max: _ });
8977
- a?.(N), k(N);
8975
+ }), y = l?.numeric?.allowNegative, C = l?.numeric?.min, _ = l?.numeric?.max, M = r === "Currency" ? "R$ " : "", T = r === "Percentage" ? "%" : "", [E, k] = q(u), O = F(
8976
+ ({ value: V }) => {
8977
+ const I = Or({ value: V, min: C, max: _ });
8978
+ a?.(I), k(I);
8978
8979
  },
8979
8980
  [a, C, _]
8980
8981
  );
8981
8982
  return Z(() => {
8982
- const z = Or({ value: u, min: C, max: _ });
8983
- k(z);
8983
+ const V = Or({ value: u, min: C, max: _ });
8984
+ k(V);
8984
8985
  }, [u, C, _]), /* @__PURE__ */ v.jsx(
8985
8986
  sm,
8986
8987
  {
@@ -8989,7 +8990,7 @@ function am(e, t) {
8989
8990
  tabIndex: f,
8990
8991
  value: E,
8991
8992
  onPaste: c,
8992
- prefix: I,
8993
+ prefix: M,
8993
8994
  suffix: T,
8994
8995
  fixedDecimalScale: !0,
8995
8996
  onBlur: s,
@@ -9156,37 +9157,37 @@ function vm(e) {
9156
9157
  const { mode: t, width: n, value: r, onBlur: o, onChange: s, setMode: a, column: i, selected: c, coordinates: l } = e, { portalRef: d } = hm(), u = r, p = K(null), h = K(null), [f, m] = q(0), w = ve(() => ii(u, n), [u, n]), b = K(null), [g, y] = q(null), [C, _] = q(!1);
9157
9158
  Z(() => {
9158
9159
  if (b.current && w) {
9159
- const { top: O, left: z } = b.current.getBoundingClientRect();
9160
+ const { top: O, left: V } = b.current.getBoundingClientRect();
9160
9161
  d?.current ? y({
9161
9162
  top: O - d.current.getBoundingClientRect().top + window.scrollY,
9162
- left: z - d.current.getBoundingClientRect().left + window.scrollX
9163
- }) : y({ top: O + window.scrollY, left: z + window.scrollX });
9163
+ left: V - d.current.getBoundingClientRect().left + window.scrollX
9164
+ }) : y({ top: O + window.scrollY, left: V + window.scrollX });
9164
9165
  }
9165
9166
  }, [w, d?.current]), Z(() => {
9166
- g && I();
9167
+ g && M();
9167
9168
  }, [g]);
9168
- const I = F(() => {
9169
+ const M = F(() => {
9169
9170
  const O = h.current;
9170
9171
  if (!O)
9171
9172
  return;
9172
- const z = O.scrollHeight;
9173
- O.style.height = `${z}px`, m(z);
9173
+ const V = O.scrollHeight;
9174
+ O.style.height = `${V}px`, m(V);
9174
9175
  }, []), T = F(
9175
9176
  (O) => {
9176
- O.stopPropagation(), I();
9177
+ O.stopPropagation(), M();
9177
9178
  },
9178
- [I]
9179
+ [M]
9179
9180
  ), E = F(() => {
9180
9181
  o?.(), a?.("view");
9181
9182
  }, [o, a]), k = F(
9182
9183
  (O) => {
9183
- s?.({ data: O.target.value }), _(!0), I();
9184
+ s?.({ data: O.target.value }), _(!0), M();
9184
9185
  },
9185
- [I, s]
9186
+ [M, s]
9186
9187
  );
9187
9188
  return Z(() => {
9188
- I();
9189
- }, [I]), Br(p, C), Br(h, C), w ? /* @__PURE__ */ v.jsx("div", { className: "-sl-left-0.5 -sl-top-0.5 sl-z-0", ref: b, children: g && Xr(
9189
+ M();
9190
+ }, [M]), Br(p, C), Br(h, C), w ? /* @__PURE__ */ v.jsx("div", { className: "-sl-left-0.5 -sl-top-0.5 sl-z-0", ref: b, children: g && Xr(
9190
9191
  /* @__PURE__ */ v.jsx(
9191
9192
  "div",
9192
9193
  {
@@ -9334,7 +9335,7 @@ function xm(e) {
9334
9335
  Select: /* @__PURE__ */ v.jsx(et.Select, { ...C.dataEditor, items: y })
9335
9336
  }),
9336
9337
  [C.dataEditor, y]
9337
- ), I = ve(
9338
+ ), M = ve(
9338
9339
  () => ({
9339
9340
  Date: /* @__PURE__ */ v.jsx(tt.Date, { ...C.dataViewer }),
9340
9341
  String: /* @__PURE__ */ v.jsx(tt.Text, { ...C.dataViewer }),
@@ -9351,18 +9352,23 @@ function xm(e) {
9351
9352
  () => l ? _[l] : null,
9352
9353
  [l, _]
9353
9354
  ), E = ve(
9354
- () => l ? I[l] : null,
9355
- [l, I]
9355
+ () => l ? M[l] : null,
9356
+ [l, M]
9356
9357
  ), k = F(() => {
9357
9358
  bm.includes(l) || m("view");
9358
9359
  }, [l]);
9359
9360
  return Z(() => {
9360
- const O = (z) => {
9361
- const N = z.code === "Enter", Q = /[a-zA-Z0-9]/.test(z.key) && z.key.length === 1;
9362
- N && g && f === "view" && m("edit"), Q && g && f === "view" && m("edit"), N && g && f === "edit" && m("view");
9361
+ const O = (V) => {
9362
+ if (V.ctrlKey || V.metaKey)
9363
+ return;
9364
+ const I = V.code === "Enter", Q = /[a-zA-Z0-9\u00C0-\u017F]/.test(V.key) && V.key.length === 1;
9365
+ I && g && f === "view" && m("edit"), Q && g && f === "view" && (a({
9366
+ data: "",
9367
+ point: r
9368
+ }), m("edit")), I && g && f === "edit" && m("view");
9363
9369
  };
9364
9370
  return window.addEventListener("keydown", O), () => window.removeEventListener("keydown", O);
9365
- }, [g, f]), Js(w, k), Z(() => {
9371
+ }, [g, f, a, r]), Js(w, k), Z(() => {
9366
9372
  m(p ? "readonly" : "view");
9367
9373
  }, [p]), h ? f === "readonly" ? /* @__PURE__ */ v.jsx(
9368
9374
  "div",
@@ -9418,7 +9424,10 @@ function wm({ row: e }) {
9418
9424
  o && "sl-bg-info-300 sl-text-white",
9419
9425
  s && "sl-bg-info-300 sl-text-white"
9420
9426
  ),
9421
- onClick: (a) => t(e, a),
9427
+ "data-testid": `row-indicator-${e}${o && !s ? "-in-range" : ""}${s ? "-selected" : ""}`,
9428
+ onClick: (a) => {
9429
+ t(e, a);
9430
+ },
9422
9431
  style: {
9423
9432
  height: ln
9424
9433
  },
@@ -9485,7 +9494,7 @@ const Tr = "rovingFocusGroup.onEntryFocus", Cm = {
9485
9494
  prop: a,
9486
9495
  defaultProp: i,
9487
9496
  onChange: c
9488
- }), [w, b] = q(!1), g = He(l), y = li(n), C = K(!1), [_, I] = q(0);
9497
+ }), [w, b] = q(!1), g = He(l), y = li(n), C = K(!1), [_, M] = q(0);
9489
9498
  return Z(() => {
9490
9499
  const T = u.current;
9491
9500
  if (T)
@@ -9509,13 +9518,13 @@ const Tr = "rovingFocusGroup.onEntryFocus", Cm = {
9509
9518
  []
9510
9519
  ),
9511
9520
  onFocusableItemAdd: F(
9512
- () => I(
9521
+ () => M(
9513
9522
  (T) => T + 1
9514
9523
  ),
9515
9524
  []
9516
9525
  ),
9517
9526
  onFocusableItemRemove: F(
9518
- () => I(
9527
+ () => M(
9519
9528
  (T) => T - 1
9520
9529
  ),
9521
9530
  []
@@ -9539,13 +9548,13 @@ const Tr = "rovingFocusGroup.onEntryFocus", Cm = {
9539
9548
  if (T.currentTarget.dispatchEvent(k), !k.defaultPrevented) {
9540
9549
  const O = y().filter(
9541
9550
  (A) => A.focusable
9542
- ), z = O.find(
9551
+ ), V = O.find(
9543
9552
  (A) => A.active
9544
- ), N = O.find(
9553
+ ), I = O.find(
9545
9554
  (A) => A.id === f
9546
9555
  ), G = [
9547
- z,
9548
- N,
9556
+ V,
9557
+ I,
9549
9558
  ...O
9550
9559
  ].filter(Boolean).map(
9551
9560
  (A) => A.ref.current
@@ -9785,16 +9794,16 @@ const km = Rm, jm = Nm, Wr = [
9785
9794
  onDismiss: () => n.onOpenChange(!1)
9786
9795
  }));
9787
9796
  }), _o = /* @__PURE__ */ H((e, t) => {
9788
- const { __scopeMenu: n, loop: r = !1, trapFocus: o, onOpenAutoFocus: s, onCloseAutoFocus: a, disableOutsidePointerEvents: i, onEntryFocus: c, onEscapeKeyDown: l, onPointerDownOutside: d, onFocusOutside: u, onInteractOutside: p, onDismiss: h, disableOutsideScroll: f, ...m } = e, w = Nt(We, n), b = $n(We, n), g = So(n), y = mi(n), C = zm(n), [_, I] = q(null), T = K(null), E = Se(t, T, w.onContentChange), k = K(0), O = K(""), z = K(0), N = K(null), Q = K("right"), G = K(0), A = f ? go : Xt, M = f ? {
9797
+ const { __scopeMenu: n, loop: r = !1, trapFocus: o, onOpenAutoFocus: s, onCloseAutoFocus: a, disableOutsidePointerEvents: i, onEntryFocus: c, onEscapeKeyDown: l, onPointerDownOutside: d, onFocusOutside: u, onInteractOutside: p, onDismiss: h, disableOutsideScroll: f, ...m } = e, w = Nt(We, n), b = $n(We, n), g = So(n), y = mi(n), C = zm(n), [_, M] = q(null), T = K(null), E = Se(t, T, w.onContentChange), k = K(0), O = K(""), V = K(0), I = K(null), Q = K("right"), G = K(0), A = f ? go : Xt, D = f ? {
9789
9798
  as: Ut,
9790
9799
  allowPinchZoom: !0
9791
9800
  } : void 0, P = (S) => {
9792
- var D, j;
9801
+ var N, j;
9793
9802
  const Y = O.current + S, le = C().filter(
9794
9803
  (oe) => !oe.disabled
9795
- ), ae = document.activeElement, be = (D = le.find(
9804
+ ), ae = document.activeElement, be = (N = le.find(
9796
9805
  (oe) => oe.ref.current === ae
9797
- )) === null || D === void 0 ? void 0 : D.textValue, we = le.map(
9806
+ )) === null || N === void 0 ? void 0 : N.textValue, we = le.map(
9798
9807
  (oe) => oe.textValue
9799
9808
  ), X = mh(we, Y, be), se = (j = le.find(
9800
9809
  (oe) => oe.textValue === X
@@ -9810,8 +9819,8 @@ const km = Rm, jm = Nm, Wr = [
9810
9819
  };
9811
9820
  Z(() => () => window.clearTimeout(k.current), []), Sa();
9812
9821
  const ee = F((S) => {
9813
- var D, j;
9814
- return Q.current === ((D = N.current) === null || D === void 0 ? void 0 : D.side) && vh(S, (j = N.current) === null || j === void 0 ? void 0 : j.area);
9822
+ var N, j;
9823
+ return Q.current === ((N = I.current) === null || N === void 0 ? void 0 : N.side) && vh(S, (j = I.current) === null || j === void 0 ? void 0 : j.area);
9815
9824
  }, []);
9816
9825
  return /* @__PURE__ */ $(Xm, {
9817
9826
  scope: n,
@@ -9822,8 +9831,8 @@ const km = Rm, jm = Nm, Wr = [
9822
9831
  ee
9823
9832
  ]),
9824
9833
  onItemLeave: F((S) => {
9825
- var D;
9826
- ee(S) || ((D = T.current) === null || D === void 0 || D.focus(), I(null));
9834
+ var N;
9835
+ ee(S) || ((N = T.current) === null || N === void 0 || N.focus(), M(null));
9827
9836
  }, [
9828
9837
  ee
9829
9838
  ]),
@@ -9832,16 +9841,16 @@ const km = Rm, jm = Nm, Wr = [
9832
9841
  }, [
9833
9842
  ee
9834
9843
  ]),
9835
- pointerGraceTimerRef: z,
9844
+ pointerGraceTimerRef: V,
9836
9845
  onPointerGraceIntentChange: F((S) => {
9837
- N.current = S;
9846
+ I.current = S;
9838
9847
  }, [])
9839
- }, /* @__PURE__ */ $(A, M, /* @__PURE__ */ $(Ea, {
9848
+ }, /* @__PURE__ */ $(A, D, /* @__PURE__ */ $(Ea, {
9840
9849
  asChild: !0,
9841
9850
  trapped: o,
9842
9851
  onMountAutoFocus: J(s, (S) => {
9843
- var D;
9844
- S.preventDefault(), (D = T.current) === null || D === void 0 || D.focus();
9852
+ var N;
9853
+ S.preventDefault(), (N = T.current) === null || N === void 0 || N.focus();
9845
9854
  }),
9846
9855
  onUnmountAutoFocus: a
9847
9856
  }, /* @__PURE__ */ $(eo, {
@@ -9859,7 +9868,7 @@ const km = Rm, jm = Nm, Wr = [
9859
9868
  orientation: "vertical",
9860
9869
  loop: r,
9861
9870
  currentTabStopId: _,
9862
- onCurrentTabStopIdChange: I,
9871
+ onCurrentTabStopIdChange: M,
9863
9872
  onEntryFocus: J(c, (S) => {
9864
9873
  b.isUsingKeyboardRef.current || S.preventDefault();
9865
9874
  })
@@ -9893,8 +9902,8 @@ const km = Rm, jm = Nm, Wr = [
9893
9902
  S.currentTarget.contains(S.target) || (window.clearTimeout(k.current), O.current = "");
9894
9903
  }),
9895
9904
  onPointerMove: J(e.onPointerMove, bn((S) => {
9896
- const D = S.target, j = G.current !== S.clientX;
9897
- if (S.currentTarget.contains(D) && j) {
9905
+ const N = S.target, j = G.current !== S.clientX;
9906
+ if (S.currentTarget.contains(N) && j) {
9898
9907
  const Y = S.clientX > G.current ? "right" : "left";
9899
9908
  Q.current = Y, G.current = S.clientX;
9900
9909
  }
@@ -10352,7 +10361,7 @@ const gh = Km, bh = hi, xh = Ym, wh = qm, yh = Qm, $h = To, Ch = eh, Sh = oh, Eh
10352
10361
  "--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
10353
10362
  }
10354
10363
  }));
10355
- }), Uh = Nh, Kh = Mh, Gh = Dh, Ei = kh, _i = jh, Ti = Lh, Ri = Fh, Pi = Vh, Oi = Bh, Ni = zh, Ii = Wh, Mi = Hh, Yh = Uh, Xh = Kh, qh = B.forwardRef(({ className: e, inset: t, children: n, ...r }, o) => /* @__PURE__ */ v.jsxs(
10364
+ }), Uh = Nh, Kh = Mh, Gh = Dh, Ei = kh, _i = jh, Ti = Lh, Ri = Fh, Pi = Vh, Oi = Bh, Ni = zh, Ii = Wh, Mi = Hh, Yh = Uh, Xh = Kh, qh = z.forwardRef(({ className: e, inset: t, children: n, ...r }, o) => /* @__PURE__ */ v.jsxs(
10356
10365
  Ii,
10357
10366
  {
10358
10367
  ref: o,
@@ -10369,7 +10378,7 @@ const gh = Km, bh = hi, xh = Ym, wh = qm, yh = Qm, $h = To, Ch = eh, Sh = oh, Eh
10369
10378
  }
10370
10379
  ));
10371
10380
  qh.displayName = Ii.displayName;
10372
- const Zh = B.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
10381
+ const Zh = z.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
10373
10382
  Mi,
10374
10383
  {
10375
10384
  ref: n,
@@ -10381,7 +10390,7 @@ const Zh = B.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
10381
10390
  }
10382
10391
  ));
10383
10392
  Zh.displayName = Mi.displayName;
10384
- const Di = B.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ v.jsx(Gh, { children: /* @__PURE__ */ v.jsx(
10393
+ const Di = z.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ v.jsx(Gh, { children: /* @__PURE__ */ v.jsx(
10385
10394
  Ei,
10386
10395
  {
10387
10396
  ref: r,
@@ -10395,7 +10404,7 @@ const Di = B.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__
10395
10404
  }
10396
10405
  ) }));
10397
10406
  Di.displayName = Ei.displayName;
10398
- const Ai = B.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ v.jsx(
10407
+ const Ai = z.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ v.jsx(
10399
10408
  Ti,
10400
10409
  {
10401
10410
  ref: r,
@@ -10408,7 +10417,7 @@ const Ai = B.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */
10408
10417
  }
10409
10418
  ));
10410
10419
  Ai.displayName = Ti.displayName;
10411
- const ki = B.forwardRef(({ className: e, children: t, checked: n, ...r }, o) => /* @__PURE__ */ v.jsxs(
10420
+ const ki = z.forwardRef(({ className: e, children: t, checked: n, ...r }, o) => /* @__PURE__ */ v.jsxs(
10412
10421
  Ri,
10413
10422
  {
10414
10423
  ref: o,
@@ -10425,7 +10434,7 @@ const ki = B.forwardRef(({ className: e, children: t, checked: n, ...r }, o) =>
10425
10434
  }
10426
10435
  ));
10427
10436
  ki.displayName = Ri.displayName;
10428
- const Jh = B.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v.jsxs(
10437
+ const Jh = z.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ v.jsxs(
10429
10438
  Pi,
10430
10439
  {
10431
10440
  ref: r,
@@ -10441,7 +10450,7 @@ const Jh = B.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__
10441
10450
  }
10442
10451
  ));
10443
10452
  Jh.displayName = Pi.displayName;
10444
- const Qh = B.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ v.jsx(
10453
+ const Qh = z.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ v.jsx(
10445
10454
  _i,
10446
10455
  {
10447
10456
  ref: r,
@@ -10450,7 +10459,7 @@ const Qh = B.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */
10450
10459
  }
10451
10460
  ));
10452
10461
  Qh.displayName = _i.displayName;
10453
- const ev = B.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
10462
+ const ev = z.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ v.jsx(
10454
10463
  Ni,
10455
10464
  {
10456
10465
  ref: n,
@@ -10823,22 +10832,22 @@ function lv(e) {
10823
10832
  errorMessages: u,
10824
10833
  maxImageSizeInKb: p,
10825
10834
  ...h
10826
- } = e, f = K(null), [m, w] = q(!1), [b, g] = q(""), [y, C] = q(!1), _ = !!u?.priorityError, I = u?.priorityError || b, T = !!I, E = i === "Disabled", k = i === "Uploading" || i === "Removing", O = i === "Finished", z = i === "Idle", N = (A) => A > 1024 ? `${(A / 1024).toFixed(1)}MB` : `${A}KB`, Q = (A) => {
10827
- E || (z && f.current?.click(), o?.(A));
10835
+ } = e, f = K(null), [m, w] = q(!1), [b, g] = q(""), [y, C] = q(!1), _ = !!u?.priorityError, M = u?.priorityError || b, T = !!M, E = i === "Disabled", k = i === "Uploading" || i === "Removing", O = i === "Finished", V = i === "Idle", I = (A) => A > 1024 ? `${(A / 1024).toFixed(1)}MB` : `${A}KB`, Q = (A) => {
10836
+ E || (V && f.current?.click(), o?.(A));
10828
10837
  }, G = (A) => {
10829
10838
  if (E)
10830
10839
  return;
10831
10840
  g("");
10832
- const M = A.target.files?.[0];
10833
- if (M) {
10834
- const P = M.type, ee = M.size / 1024;
10841
+ const D = A.target.files?.[0];
10842
+ if (D) {
10843
+ const P = D.type, ee = D.size / 1024;
10835
10844
  if (P !== "image/jpeg" && P !== "image/png") {
10836
10845
  const S = u?.imageTypeError || "O tipo do arquivo enviado não é permitido, envie uma imagem";
10837
10846
  g(S), a?.(S);
10838
10847
  return;
10839
10848
  }
10840
10849
  if (p && ee > p) {
10841
- const S = u?.imageSizeError || `A imagem enviada é maior do que o permitido, máximo de ${N(
10850
+ const S = u?.imageSizeError || `A imagem enviada é maior do que o permitido, máximo de ${I(
10842
10851
  p
10843
10852
  )}`;
10844
10853
  g(S), a?.(S);
@@ -10867,13 +10876,13 @@ function lv(e) {
10867
10876
  ),
10868
10877
  onClick: Q,
10869
10878
  onDragOver: (A) => {
10870
- A.preventDefault(), z && w(!0);
10879
+ A.preventDefault(), V && w(!0);
10871
10880
  },
10872
10881
  onDragLeave: (A) => {
10873
- A.preventDefault(), z && w(!1);
10882
+ A.preventDefault(), V && w(!1);
10874
10883
  },
10875
10884
  onDrop: (A) => {
10876
- A.preventDefault(), z && (f.current && (f.current.files = A.dataTransfer.files, f.current.dispatchEvent(new Event("change", { bubbles: !0 }))), w(!1));
10885
+ A.preventDefault(), V && (f.current && (f.current.files = A.dataTransfer.files, f.current.dispatchEvent(new Event("change", { bubbles: !0 }))), w(!1));
10877
10886
  },
10878
10887
  "aria-disabled": E,
10879
10888
  ...h,
@@ -10886,7 +10895,7 @@ function lv(e) {
10886
10895
  onChange: G,
10887
10896
  className: "sl-hidden",
10888
10897
  accept: "image/png, image/jpeg",
10889
- disabled: !z || E
10898
+ disabled: !V || E
10890
10899
  }
10891
10900
  ),
10892
10901
  /* @__PURE__ */ v.jsxs("div", { className: "sl-flex sl-items-center sl-gap-x-2 sl-gap-y-1 sl-flex-wrap", children: [
@@ -10996,11 +11005,11 @@ function lv(e) {
10996
11005
  !O && !k && /* @__PURE__ */ v.jsx("div", { className: "sl-mt-0.5 sl-flex sl-w-full sl-flex-col sl-text-xs", children: /* @__PURE__ */ v.jsxs("p", { className: "sl-text-primary-600", children: [
10997
11006
  "Arquivos aceitos: PNG e JPEG. Tamanho máximo de cada arquivo:",
10998
11007
  " ",
10999
- N(p || 0),
11008
+ I(p || 0),
11000
11009
  "."
11001
11010
  ] }) }),
11002
- T && /* @__PURE__ */ v.jsx("p", { className: "sl-mt-1 sl-text-xs sl-text-danger-300", children: I }),
11003
- !I && (E || O) && (!!l || r) && /* @__PURE__ */ v.jsxs("div", { className: "sl-w-1/2 sl-border sl-border-primary-300 sl-p-4 sl-rounded-md sl-mt-1", children: [
11011
+ T && /* @__PURE__ */ v.jsx("p", { className: "sl-mt-1 sl-text-xs sl-text-danger-300", children: M }),
11012
+ !M && (E || O) && (!!l || r) && /* @__PURE__ */ v.jsxs("div", { className: "sl-w-1/2 sl-border sl-border-primary-300 sl-p-4 sl-rounded-md sl-mt-1", children: [
11004
11013
  /* @__PURE__ */ v.jsxs("div", { className: "sl-mb-2 sl-flex sl-justify-between", children: [
11005
11014
  /* @__PURE__ */ v.jsx("p", { className: "sl-text-primary-700 sl-text-sm", children: "Visualização da imagem" }),
11006
11015
  /* @__PURE__ */ v.jsx(