caplink-saas-ui-shared-component-library 1.95.0 → 1.96.0
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 +552 -549
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +35 -35
- package/dist/index.umd.js.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var r=document.createElement("style");r.appendChild(document.createTextNode('.react-flow{direction:ltr;--xy-edge-stroke-default: #b1b1b7;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #555;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(255, 255, 255, .5);--xy-minimap-background-color-default: #fff;--xy-minimap-mask-background-color-default: rgb(240, 240, 240, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #e2e2e2;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: transparent;--xy-background-pattern-dots-color-default: #91919a;--xy-background-pattern-lines-color-default: #eee;--xy-background-pattern-cross-color-default: #e2e2e2;background-color:var(--xy-background-color, var(--xy-background-color-default));--xy-node-color-default: inherit;--xy-node-border-default: 1px solid #1a192b;--xy-node-background-color-default: #fff;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(0, 0, 0, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #1a192b;--xy-node-border-radius-default: 3px;--xy-handle-background-color-default: #1a192b;--xy-handle-border-color-default: #fff;--xy-selection-background-color-default: rgba(0, 89, 220, .08);--xy-selection-border-default: 1px dotted rgba(0, 89, 220, .8);--xy-controls-button-background-color-default: #fefefe;--xy-controls-button-background-color-hover-default: #f4f4f4;--xy-controls-button-color-default: inherit;--xy-controls-button-color-hover-default: inherit;--xy-controls-button-border-color-default: #eee;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #ffffff;--xy-edge-label-color-default: inherit;--xy-resize-background-color-default: #3367d9}.react-flow.dark{--xy-edge-stroke-default: #3e3e3e;--xy-edge-stroke-width-default: 1;--xy-edge-stroke-selected-default: #727272;--xy-connectionline-stroke-default: #b1b1b7;--xy-connectionline-stroke-width-default: 1;--xy-attribution-background-color-default: rgba(150, 150, 150, .25);--xy-minimap-background-color-default: #141414;--xy-minimap-mask-background-color-default: rgb(60, 60, 60, .6);--xy-minimap-mask-stroke-color-default: transparent;--xy-minimap-mask-stroke-width-default: 1;--xy-minimap-node-background-color-default: #2b2b2b;--xy-minimap-node-stroke-color-default: transparent;--xy-minimap-node-stroke-width-default: 2;--xy-background-color-default: #141414;--xy-background-pattern-dots-color-default: #777;--xy-background-pattern-lines-color-default: #777;--xy-background-pattern-cross-color-default: #777;--xy-node-color-default: #f8f8f8;--xy-node-border-default: 1px solid #3c3c3c;--xy-node-background-color-default: #1e1e1e;--xy-node-group-background-color-default: rgba(240, 240, 240, .25);--xy-node-boxshadow-hover-default: 0 1px 4px 1px rgba(255, 255, 255, .08);--xy-node-boxshadow-selected-default: 0 0 0 .5px #999;--xy-handle-background-color-default: #bebebe;--xy-handle-border-color-default: #1e1e1e;--xy-selection-background-color-default: rgba(200, 200, 220, .08);--xy-selection-border-default: 1px dotted rgba(200, 200, 220, .8);--xy-controls-button-background-color-default: #2b2b2b;--xy-controls-button-background-color-hover-default: #3e3e3e;--xy-controls-button-color-default: #f8f8f8;--xy-controls-button-color-hover-default: #fff;--xy-controls-button-border-color-default: #5b5b5b;--xy-controls-box-shadow-default: 0 0 2px 1px rgba(0, 0, 0, .08);--xy-edge-label-background-color-default: #141414;--xy-edge-label-color-default: #f8f8f8}.react-flow__background{background-color:var(--xy-background-color, var(--xy-background-color-props, var(--xy-background-color-default)));pointer-events:none;z-index:-1}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1}.react-flow__pane.draggable{cursor:grab}.react-flow__pane.dragging{cursor:grabbing}.react-flow__pane.selection{cursor:pointer}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow__edge-path{stroke:var(--xy-edge-stroke, var(--xy-edge-stroke-default));stroke-width:var(--xy-edge-stroke-width, var(--xy-edge-stroke-width-default));fill:none}.react-flow__connection-path{stroke:var(--xy-connectionline-stroke, var(--xy-connectionline-stroke-default));stroke-width:var(--xy-connectionline-stroke-width, var(--xy-connectionline-stroke-width-default));fill:none}.react-flow .react-flow__edges{position:absolute}.react-flow .react-flow__edges svg{overflow:visible;position:absolute;pointer-events:none}.react-flow__edge{pointer-events:visibleStroke}.react-flow__edge.selectable{cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge.selectable:focus .react-flow__edge-path,.react-flow__edge.selectable:focus-visible .react-flow__edge-path{stroke:var(--xy-edge-stroke-selected, var(--xy-edge-stroke-selected-default))}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;animation:dashdraw .5s linear infinite}svg.react-flow__connectionline{z-index:1001;overflow:visible;position:absolute}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:default}.react-flow__node.selectable{cursor:pointer}.react-flow__node.draggable{cursor:grab;pointer-events:all}.react-flow__node.draggable.dragging{cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background-color:var(--xy-handle-background-color, var(--xy-handle-background-color-default));border:1px solid var(--xy-handle-border-color, var(--xy-handle-border-color-default));border-radius:100%}.react-flow__handle.connectingfrom{pointer-events:all}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:0;transform:translate(-50%,50%)}.react-flow__handle-top{top:0;left:50%;transform:translate(-50%,-50%)}.react-flow__handle-left{top:50%;left:0;transform:translate(-50%,-50%)}.react-flow__handle-right{top:50%;right:0;transform:translate(50%,-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:var(--xy-attribution-background-color, var(--xy-attribution-background-color-default));padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;left:0;top:0}.react-flow__viewport-portal{position:absolute;width:100%;height:100%;left:0;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__minimap{background:var( --xy-minimap-background-color-props, var(--xy-minimap-background-color, var(--xy-minimap-background-color-default)) )}.react-flow__minimap-svg{display:block}.react-flow__minimap-mask{fill:var( --xy-minimap-mask-background-color-props, var(--xy-minimap-mask-background-color, var(--xy-minimap-mask-background-color-default)) );stroke:var( --xy-minimap-mask-stroke-color-props, var(--xy-minimap-mask-stroke-color, var(--xy-minimap-mask-stroke-color-default)) );stroke-width:var( --xy-minimap-mask-stroke-width-props, var(--xy-minimap-mask-stroke-width, var(--xy-minimap-mask-stroke-width-default)) )}.react-flow__minimap-node{fill:var( --xy-minimap-node-background-color-props, var(--xy-minimap-node-background-color, var(--xy-minimap-node-background-color-default)) );stroke:var( --xy-minimap-node-stroke-color-props, var(--xy-minimap-node-stroke-color, var(--xy-minimap-node-stroke-color-default)) );stroke-width:var( --xy-minimap-node-stroke-width-props, var(--xy-minimap-node-stroke-width, var(--xy-minimap-node-stroke-width-default)) )}.react-flow__background-pattern.dots{fill:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-dots-color-default)) )}.react-flow__background-pattern.lines{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-lines-color-default)) )}.react-flow__background-pattern.cross{stroke:var( --xy-background-pattern-color-props, var(--xy-background-pattern-color, var(--xy-background-pattern-cross-color-default)) )}.react-flow__controls{display:flex;flex-direction:column;box-shadow:var(--xy-controls-box-shadow, var(--xy-controls-box-shadow-default))}.react-flow__controls.horizontal{flex-direction:row}.react-flow__controls-button{display:flex;justify-content:center;align-items:center;height:26px;width:26px;padding:4px;border:none;background:var(--xy-controls-button-background-color, var(--xy-controls-button-background-color-default));border-bottom:1px solid var( --xy-controls-button-border-color-props, var(--xy-controls-button-border-color, var(--xy-controls-button-border-color-default)) );color:var( --xy-controls-button-color-props, var(--xy-controls-button-color, var(--xy-controls-button-color-default)) );cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px;fill:currentColor}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-input,.react-flow__node-default,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:var(--xy-node-border-radius, var(--xy-node-border-radius-default));width:150px;font-size:12px;color:var(--xy-node-color, var(--xy-node-color-default));text-align:center;border:var(--xy-node-border, var(--xy-node-border-default));background-color:var(--xy-node-background-color, var(--xy-node-background-color-default))}.react-flow__node-input.selectable:hover,.react-flow__node-default.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:var(--xy-node-boxshadow-hover, var(--xy-node-boxshadow-hover-default))}.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:var(--xy-node-boxshadow-selected, var(--xy-node-boxshadow-selected-default))}.react-flow__node-group{background-color:var(--xy-node-group-background-color, var(--xy-node-group-background-color-default))}.react-flow__nodesselection-rect,.react-flow__selection{background:var(--xy-selection-background-color, var(--xy-selection-background-color-default));border:var(--xy-selection-border, var(--xy-selection-border-default))}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls-button:hover{background:var( --xy-controls-button-background-color-hover-props, var(--xy-controls-button-background-color-hover, var(--xy-controls-button-background-color-hover-default)) );color:var( --xy-controls-button-color-hover-props, var(--xy-controls-button-color-hover, var(--xy-controls-button-color-hover-default)) )}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__controls-button:last-child{border-bottom:none}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:var(--xy-resize-background-color, var(--xy-resize-background-color-default));border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}.react-flow__edge-textbg{fill:var(--xy-edge-label-background-color, var(--xy-edge-label-background-color-default))}.react-flow__edge-text{fill:var(--xy-edge-label-color, var(--xy-edge-label-color-default))}*,: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: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%;--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%}*{border-color:hsl(var(--border))}*,: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-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.\\!sl-pointer-events-none{pointer-events:none!important}.sl-pointer-events-none{pointer-events:none}.sl-pointer-events-auto{pointer-events:auto}.sl-invisible{visibility:hidden}.sl-fixed{position:fixed}.sl-absolute{position:absolute}.sl-relative{position:relative}.sl-sticky{position:sticky}.sl-inset-0{inset:0}.sl-inset-x-0{left:0;right:0}.sl-inset-y-0{top:0;bottom:0}.-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-bottom-0{bottom:0}.sl-bottom-10{bottom:2.5rem}.sl-bottom-\\[1px\\]{bottom:1px}.sl-bottom-full{bottom:100%}.sl-left-0{left:0}.sl-left-1\\/2{left:50%}.sl-left-2{left:.5rem}.sl-left-2\\.5{left:.625rem}.sl-left-\\[1px\\]{left:1px}.sl-left-\\[50\\%\\]{left:50%}.sl-right-0{right:0}.sl-right-2{right:.5rem}.sl-right-2\\.5{right:.625rem}.sl-right-3{right:.75rem}.sl-right-4{right:1rem}.sl-right-6{right:1.5rem}.sl-right-7{right:1.75rem}.sl-top-0{top:0}.sl-top-1\\/2{top:50%}.sl-top-2{top:.5rem}.sl-top-4{top:1rem}.sl-top-6{top:1.5rem}.sl-top-\\[50\\%\\]{top:50%}.sl-top-full{top:100%}.sl-isolate{isolation:isolate}.sl-z-0{z-index:0}.sl-z-10{z-index:10}.sl-z-50{z-index:50}.sl-z-\\[1000\\]{z-index:1000}.sl-z-\\[100\\]{z-index:100}.sl-col-span-1{grid-column:span 1 / span 1}.sl-col-span-10{grid-column:span 10 / span 10}.sl-col-span-11{grid-column:span 11 / span 11}.sl-col-span-12{grid-column:span 12 / span 12}.sl-col-span-2{grid-column:span 2 / span 2}.sl-col-span-3{grid-column:span 3 / span 3}.sl-col-span-4{grid-column:span 4 / span 4}.sl-col-span-5{grid-column:span 5 / span 5}.sl-col-span-6{grid-column:span 6 / span 6}.sl-col-span-7{grid-column:span 7 / span 7}.sl-col-span-8{grid-column:span 8 / span 8}.sl-col-span-9{grid-column:span 9 / span 9}.-sl-mx-1{margin-left:-.25rem;margin-right:-.25rem}.sl-mx-1{margin-left:.25rem;margin-right:.25rem}.sl-mx-auto{margin-left:auto;margin-right:auto}.sl-my-1{margin-top:.25rem;margin-bottom:.25rem}.sl-mb-1{margin-bottom:.25rem}.sl-mb-2{margin-bottom:.5rem}.sl-mb-4{margin-bottom:1rem}.sl-mb-px{margin-bottom:1px}.sl-ml-2{margin-left:.5rem}.sl-ml-4{margin-left:1rem}.sl-ml-5{margin-left:1.25rem}.sl-ml-auto{margin-left:auto}.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-2{margin-top:.5rem}.sl-mt-4{margin-top:1rem}.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-block{display:block}.sl-flex{display:flex}.sl-inline-flex{display:inline-flex}.sl-grid{display:grid}.sl-hidden{display:none}.sl-aspect-square{aspect-ratio:1 / 1}.sl-size-4{width:1rem;height:1rem}.\\!sl-h-\\[14px\\]{height:14px!important}.sl-h-10{height:2.5rem}.sl-h-12{height:3rem}.sl-h-13{height:3.25rem}.sl-h-2{height:.5rem}.sl-h-2\\.5{height:.625rem}.sl-h-20{height:5rem}.sl-h-24{height:6rem}.sl-h-3{height:.75rem}.sl-h-3\\.5{height:.875rem}.sl-h-4{height:1rem}.sl-h-40{height:10rem}.sl-h-5{height:1.25rem}.sl-h-5\\.5{height:1.375rem}.sl-h-6{height:1.5rem}.sl-h-7{height:1.75rem}.sl-h-8{height:2rem}.sl-h-8\\.5{height:2.125rem}.sl-h-9{height:2.25rem}.sl-h-\\[200px\\]{height:200px}.sl-h-\\[22px\\]{height:22px}.sl-h-\\[26px\\]{height:26px}.sl-h-\\[300px\\]{height:300px}.sl-h-\\[34px\\]{height:34px}.sl-h-\\[44px\\]{height:44px}.sl-h-\\[600px\\]{height:600px}.sl-h-\\[90px\\]{height:90px}.sl-h-\\[calc\\(100\\%-34px-16px-1px\\)\\]{height:calc(100% - 51px)}.sl-h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)}.sl-h-auto{height:auto}.sl-h-fit{height:fit-content}.sl-h-full{height:100%}.sl-h-px{height:1px}.sl-h-screen{height:100vh}.sl-max-h-40{max-height:10rem}.sl-max-h-48{max-height:12rem}.sl-max-h-96{max-height:24rem}.sl-max-h-\\[180px\\]{max-height:180px}.sl-max-h-\\[202px\\]{max-height:202px}.sl-max-h-\\[256px\\]{max-height:256px}.sl-max-h-\\[80\\%\\]{max-height:80%}.sl-max-h-\\[calc\\(100vh-32px\\)\\]{max-height:calc(100vh - 32px)}.sl-max-h-screen{max-height:100vh}.sl-min-h-13{min-height:3.25rem}.sl-min-h-\\[128px\\]{min-height:128px}.sl-min-h-\\[24px\\]{min-height:24px}.sl-min-h-\\[80px\\]{min-height:80px}.\\!sl-w-\\[14px\\]{width:14px!important}.sl-w-1{width:.25rem}.sl-w-1\\.5{width:.375rem}.sl-w-1\\/2{width:50%}.sl-w-100{width:25rem}.sl-w-12{width:3rem}.sl-w-2{width:.5rem}.sl-w-2\\.5{width:.625rem}.sl-w-21{width:5.25rem}.sl-w-3{width:.75rem}.sl-w-3\\.5{width:.875rem}.sl-w-3\\/4{width:75%}.sl-w-4{width:1rem}.sl-w-5{width:1.25rem}.sl-w-5\\.5{width:1.375rem}.sl-w-54{width:13.5rem}.sl-w-56{width:14rem}.sl-w-6{width:1.5rem}.sl-w-60{width:15rem}.sl-w-79{width:19.75rem}.sl-w-8{width:2rem}.sl-w-8\\.5{width:2.125rem}.sl-w-9{width:2.25rem}.sl-w-96{width:24rem}.sl-w-\\[1000px\\]{width:1000px}.sl-w-\\[114px\\]{width:114px}.sl-w-\\[115px\\]{width:115px}.sl-w-\\[135px\\]{width:135px}.sl-w-\\[200px\\]{width:200px}.sl-w-\\[220px\\]{width:220px}.sl-w-\\[230px\\]{width:230px}.sl-w-\\[240px\\]{width:240px}.sl-w-\\[26px\\]{width:26px}.sl-w-\\[300px\\]{width:300px}.sl-w-\\[34px\\]{width:34px}.sl-w-\\[400px\\]{width:400px}.sl-w-\\[40px\\]{width:40px}.sl-w-\\[45px\\]{width:45px}.sl-w-\\[480px\\]{width:480px}.sl-w-\\[500px\\]{width:500px}.sl-w-\\[560px\\]{width:560px}.sl-w-\\[600px\\]{width:600px}.sl-w-\\[60px\\]{width:60px}.sl-w-\\[71px\\]{width:71px}.sl-w-\\[720px\\]{width:720px}.sl-w-\\[800px\\]{width:800px}.sl-w-\\[900px\\]{width:900px}.sl-w-\\[90px\\]{width:90px}.sl-w-\\[calc\\(100\\%-16px\\)\\]{width:calc(100% - 16px)}.sl-w-fit{width:fit-content}.sl-w-full{width:100%}.sl-w-px{width:1px}.sl-w-screen{width:100vw}.sl-min-w-0{min-width:0px}.sl-min-w-28{min-width:7rem}.sl-min-w-\\[400px\\]{min-width:400px}.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-\\[360px\\]{max-width:360px}.sl-max-w-\\[400px\\]{max-width:400px}.sl-max-w-\\[420px\\]{max-width:420px}.sl-max-w-\\[480px\\]{max-width:480px}.sl-max-w-\\[540px\\]{max-width:540px}.sl-max-w-\\[640px\\]{max-width:640px}.sl-max-w-\\[80\\%\\]{max-width:80%}.sl-max-w-full{max-width:100%}.sl-max-w-none{max-width:none}.sl-flex-1{flex:1 1 0%}.sl-flex-shrink-0,.sl-shrink-0{flex-shrink:0}.-sl-translate-x-1\\/2{--tw-translate-x: -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))}.-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))}.sl-translate-x-\\[-50\\%\\]{--tw-translate-x: -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))}.sl-translate-y-\\[-50\\%\\]{--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))}.sl-rotate-180{--tw-rotate: 180deg;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))}.sl-transform{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-grab{cursor:grab}.sl-cursor-not-allowed{cursor:not-allowed}.sl-cursor-pointer{cursor:pointer}.sl-cursor-text{cursor:text}.sl-select-none{user-select:none}.sl-resize-none{resize:none}.sl-list-disc{list-style-type:disc}.sl-grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.sl-flex-row{flex-direction:row}.sl-flex-row-reverse{flex-direction:row-reverse}.sl-flex-col{flex-direction:column}.sl-flex-col-reverse{flex-direction:column-reverse}.sl-flex-wrap{flex-wrap:wrap}.sl-items-start{align-items:flex-start}.sl-items-end{align-items:flex-end}.sl-items-center{align-items:center}.sl-items-stretch{align-items:stretch}.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-0{gap:0px}.sl-gap-0\\.5{gap:.125rem}.sl-gap-1{gap:.25rem}.sl-gap-1\\.5{gap:.375rem}.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-gap-y-4{row-gap:1rem}.sl-space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sl-space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.sl-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.sl-space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.sl-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.sl-divide-x>:not([hidden])~:not([hidden]){--tw-divide-x-reverse: 0;border-right-width:calc(1px * var(--tw-divide-x-reverse));border-left-width:calc(1px * calc(1 - var(--tw-divide-x-reverse)))}.sl-divide-foreground-v2-300>:not([hidden])~:not([hidden]){border-color:var(--foreground-300)}.sl-overflow-auto{overflow:auto}.sl-overflow-hidden{overflow:hidden}.sl-overflow-x-auto{overflow-x:auto}.sl-overflow-y-auto{overflow-y:auto}.sl-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sl-overflow-ellipsis{text-overflow:ellipsis}.sl-whitespace-nowrap{white-space:nowrap}.sl-whitespace-pre-wrap{white-space:pre-wrap}.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!important}.sl-rounded{border-radius:.25rem}.sl-rounded-\\[4px\\]{border-radius:4px}.sl-rounded-\\[inherit\\]{border-radius:inherit}.sl-rounded-full{border-radius:9999px}.sl-rounded-lg{border-radius:8px}.sl-rounded-md{border-radius:4px}.sl-rounded-none{border-radius:0}.sl-rounded-sm{border-radius:2px}.sl-rounded-b-lg{border-bottom-right-radius:8px;border-bottom-left-radius:8px}.sl-rounded-l-md{border-top-left-radius:4px;border-bottom-left-radius:4px}.sl-rounded-r-md{border-top-right-radius:4px;border-bottom-right-radius:4px}.sl-rounded-t-lg{border-top-left-radius:8px;border-top-right-radius:8px}.sl-rounded-t-md{border-top-left-radius:4px;border-top-right-radius:4px}.sl-rounded-tl-none{border-top-left-radius:0}.\\!sl-border-2{border-width:2px!important}.sl-border{border-width:1px}.sl-border-2{border-width:2px}.sl-border-b{border-bottom-width:1px}.sl-border-b-2{border-bottom-width:2px}.sl-border-l{border-left-width:1px}.sl-border-l-0{border-left-width:0px}.sl-border-l-2{border-left-width:2px}.sl-border-r{border-right-width:1px}.sl-border-r-0{border-right-width:0px}.sl-border-r-2{border-right-width:2px}.sl-border-r-4{border-right-width:4px}.sl-border-r-8{border-right-width:8px}.sl-border-r-\\[3px\\]{border-right-width:3px}.sl-border-t{border-top-width:1px}.sl-border-t-0{border-top-width:0px}.sl-border-t-2{border-top-width:2px}.sl-border-dashed{border-style:dashed}.sl-border-none{border-style:none}.\\!sl-border-info-300{border-color:var(--info-300)!important}.\\!sl-border-primary-700{--tw-border-opacity: 1 !important;border-color:rgb(71 71 114 / var(--tw-border-opacity))!important}.sl-border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.sl-border-danger-300{border-color:var(--danger-300)}.sl-border-foreground-v2-100{border-color:var(--foreground-100)}.sl-border-foreground-v2-200{border-color:var(--foreground-200)}.sl-border-foreground-v2-300{border-color:var(--foreground-300)}.sl-border-foreground-v2-500{border-color:var(--foreground-500)}.sl-border-foreground-v2-600{border-color:var(--foreground-600)}.sl-border-foreground-v2-700{border-color:var(--foreground-700)}.sl-border-info-100{border-color:var(--info-100)}.sl-border-info-200{border-color:var(--info-200)}.sl-border-info-300{border-color:var(--info-300)}.sl-border-info-400{border-color:var(--info-400)}.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-50{--tw-border-opacity: 1;border-color:rgb(251 251 255 / var(--tw-border-opacity))}.sl-border-primary-700{--tw-border-opacity: 1;border-color:rgb(71 71 114 / var(--tw-border-opacity))}.sl-border-purple-300{--tw-border-opacity: 1;border-color:rgb(216 180 254 / var(--tw-border-opacity))}.sl-border-success-300{border-color:var(--success-300)}.sl-border-success-400{border-color:var(--success-400)}.sl-border-transparent{border-color:transparent}.sl-border-warning-300{border-color:var(--warning-300)}.sl-border-yellow-200{--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity))}.sl-border-b-info-300{border-bottom-color:var(--info-300)}.sl-border-b-transparent{border-bottom-color:transparent}.sl-border-l-info-300{border-left-color:var(--info-300)}.sl-border-r-info-300{border-right-color:var(--info-300)}.sl-border-t-foreground-v2-100{border-top-color:var(--foreground-100)}.sl-border-t-info-300{border-top-color:var(--info-300)}.sl-border-t-transparent{border-top-color:transparent}.\\!sl-bg-info-300{background-color:var(--info-300)!important}.\\!sl-bg-primary-700{--tw-bg-opacity: 1 !important;background-color:rgb(71 71 114 / var(--tw-bg-opacity))!important}.\\!sl-bg-white{--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity))!important}.sl-bg-\\[\\#1F1F3E\\]\\/60{background-color:#1f1f3e99}.sl-bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.sl-bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.sl-bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.sl-bg-danger-100{background-color:var(--danger-100)}.sl-bg-danger-300{background-color:var(--danger-300)}.sl-bg-danger-50{background-color:var(--danger-50)}.sl-bg-foreground{background-color:hsl(var(--foreground))}.sl-bg-foreground-v2-100{background-color:var(--foreground-100)}.sl-bg-foreground-v2-200{background-color:var(--foreground-200)}.sl-bg-foreground-v2-50{background-color:var(--foreground-50)}.sl-bg-foreground-v2-700{background-color:var(--foreground-700)}.sl-bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.sl-bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.sl-bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.sl-bg-info-100{background-color:var(--info-100)}.sl-bg-info-300{background-color:var(--info-300)}.sl-bg-info-50{background-color:var(--info-50)}.sl-bg-muted{background-color:hsl(var(--muted))}.sl-bg-neutral-100{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.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-200{--tw-bg-opacity: 1;background-color:rgb(220 220 237 / var(--tw-bg-opacity))}.sl-bg-primary-400{--tw-bg-opacity: 1;background-color:rgb(174 174 206 / var(--tw-bg-opacity))}.sl-bg-primary-500{--tw-bg-opacity: 1;background-color:rgb(146 146 186 / var(--tw-bg-opacity))}.sl-bg-primary-900{--tw-bg-opacity: 1;background-color:rgb(31 31 62 / var(--tw-bg-opacity))}.sl-bg-primary-v2-300{background-color:var(--primary-300)}.sl-bg-primary-v2-50{background-color:var(--primary-50)}.sl-bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}.sl-bg-purple-50{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}.sl-bg-success-100{background-color:var(--success-100)}.sl-bg-success-300{background-color:var(--success-300)}.sl-bg-success-50{background-color:var(--success-50)}.sl-bg-transparent{background-color:transparent}.sl-bg-warning-100{background-color:var(--warning-100)}.sl-bg-warning-300{background-color:var(--warning-300)}.sl-bg-warning-50{background-color:var(--warning-50)}.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-bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.sl-bg-zinc-500{--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}.sl-bg-gradient-to-l{background-image:linear-gradient(to left,var(--tw-gradient-stops))}.sl-from-info-300{--tw-gradient-from: var(--info-300) var(--tw-gradient-from-position);--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.sl-via-info-200{--tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--info-200) var(--tw-gradient-via-position), var(--tw-gradient-to)}.sl-to-info-50{--tw-gradient-to: var(--info-50) var(--tw-gradient-to-position)}.sl-fill-current{fill:currentColor}.sl-fill-primary-v2-100{fill:var(--primary-100)}.sl-fill-primary-v2-200{fill:var(--primary-200)}.sl-fill-white{fill:#fff}.sl-stroke-primary-v2-400{stroke:var(--primary-400)}.sl-stroke-2{stroke-width:2}.sl-object-contain{object-fit:contain}.sl-p-0{padding:0}.sl-p-1{padding:.25rem}.sl-p-2{padding:.5rem}.sl-p-4{padding:1rem}.sl-p-6{padding:1.5rem}.sl-px-1{padding-left:.25rem;padding-right:.25rem}.sl-px-2{padding-left:.5rem;padding-right:.5rem}.sl-px-3{padding-left:.75rem;padding-right:.75rem}.sl-px-3\\.5{padding-left:.875rem;padding-right:.875rem}.sl-px-4{padding-left:1rem;padding-right:1rem}.sl-px-7{padding-left:1.75rem;padding-right:1.75rem}.sl-px-8{padding-left:2rem;padding-right:2rem}.sl-px-px{padding-left:1px;padding-right:1px}.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-py-6{padding-top:1.5rem;padding-bottom:1.5rem}.sl-pb-2{padding-bottom:.5rem}.sl-pb-8{padding-bottom:2rem}.sl-pb-\\[100\\%\\]{padding-bottom:100%}.sl-pb-px{padding-bottom:1px}.sl-pl-1{padding-left:.25rem}.sl-pl-2{padding-left:.5rem}.sl-pl-3{padding-left:.75rem}.sl-pl-5{padding-left:1.25rem}.sl-pl-7{padding-left:1.75rem}.sl-pl-8{padding-left:2rem}.sl-pr-2{padding-right:.5rem}.sl-pr-3{padding-right:.75rem}.sl-pr-4{padding-right:1rem}.sl-pr-8{padding-right:2rem}.sl-pr-px{padding-right:1px}.sl-pt-1{padding-top:.25rem}.sl-pt-2{padding-top:.5rem}.sl-text-left{text-align:left}.sl-text-center{text-align:center}.sl-text-right{text-align:right}.sl-text-3xl{font-size:28px;line-height:32px}.sl-text-lg{font-size:16px;line-height:20px}.sl-text-md{font-size:14px;line-height:18px}.sl-text-sm{font-size:12px;line-height:16px}.sl-text-xl{font-size:18px;line-height:22px}.sl-text-xs{font-size:10px;line-height:14px}.sl-font-bold{font-weight:700}.sl-font-medium{font-weight:500}.sl-font-normal,.sl-font-regular{font-weight:400}.sl-font-semibold{font-weight:600}.sl-italic{font-style:italic}.sl-leading-md{line-height:18px}.sl-leading-none{line-height:1}.sl-tracking-widest{letter-spacing:.1em}.sl-text-current{color:currentColor}.sl-text-danger-300{color:var(--danger-300)}.sl-text-foreground-v2-300{color:var(--foreground-300)}.sl-text-foreground-v2-400{color:var(--foreground-400)}.sl-text-foreground-v2-500{color:var(--foreground-500)}.sl-text-foreground-v2-600{color:var(--foreground-600)}.sl-text-foreground-v2-700{color:var(--foreground-700)}.sl-text-foreground-v2-800{color:var(--foreground-800)}.sl-text-foreground-v2-900{color:var(--foreground-900)}.sl-text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.sl-text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.sl-text-info-200{color:var(--info-200)}.sl-text-info-300{color:var(--info-300)}.sl-text-info-400{color:var(--info-400)}.sl-text-inherit{color:inherit}.sl-text-neutral-500{--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity))}.sl-text-neutral-700{--tw-text-opacity: 1;color:rgb(64 64 64 / 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-primary-800{--tw-text-opacity: 1;color:rgb(53 53 88 / var(--tw-text-opacity))}.sl-text-primary-v2-300{color:var(--primary-300)}.sl-text-primary-v2-400{color:var(--primary-400)}.sl-text-purple-700{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity))}.sl-text-success-300{color:var(--success-300)}.sl-text-success-400{color:var(--success-400)}.sl-text-warning-300{color:var(--warning-300)}.sl-text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.sl-underline{text-decoration-line:underline}.sl-placeholder-primary-700::placeholder{--tw-placeholder-opacity: 1;color:rgb(71 71 114 / var(--tw-placeholder-opacity))}.\\!sl-opacity-0{opacity:0!important}.sl-opacity-0{opacity:0}.sl-opacity-100{opacity:1}.sl-opacity-50{opacity:.5}.sl-opacity-60{opacity:.6}.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-none{--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)}.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-0{outline-width:0px}.sl-outline-sky-100{outline-color:#e0f2fe}.sl-ring-0{--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)}.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{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.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-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.sl-duration-1000{transition-duration:1s}.sl-duration-200{transition-duration:.2s}.sl-ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.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-duration-1000{animation-duration:1s}.sl-duration-200{animation-duration:.2s}.sl-ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.sl-ease-linear{animation-timing-function:linear}.\\[-ms-overflow-style\\:none\\]{-ms-overflow-style:none}.\\[mask-clip\\:padding-box\\,border-box\\]{mask-clip:padding-box,border-box}.\\[mask-composite\\:intersect\\]{mask-composite:intersect}.\\[mask-image\\:linear-gradient\\(transparent\\,transparent\\)\\,linear-gradient\\(\\#000\\,\\#000\\)\\]{mask-image:linear-gradient(transparent,transparent),linear-gradient(#000,#000)}.\\[scrollbar-width\\:none\\]{scrollbar-width:none}.placeholder\\:sl-font-semi-bold::placeholder{font-weight:600}.placeholder\\:sl-font-semibold::placeholder{font-weight:600}.placeholder\\:sl-text-foreground-v2-600::placeholder{color:var(--foreground-600)}.placeholder\\:sl-text-foreground-v2-700::placeholder{color:var(--foreground-700)}.placeholder\\:sl-text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.before\\:sl-absolute:before{content:var(--tw-content);position:absolute}.before\\:-sl-bottom-0:before{content:var(--tw-content);bottom:-0px}.before\\:-sl-bottom-0\\.5:before{content:var(--tw-content);bottom:-.125rem}.before\\:sl-bottom-0:before{content:var(--tw-content);bottom:0}.before\\:sl-left-0:before{content:var(--tw-content);left:0}.before\\:sl-h-px:before{content:var(--tw-content);height:1px}.before\\:sl-w-full:before{content:var(--tw-content);width:100%}.before\\:sl-bg-foreground-v2-200:before{content:var(--tw-content);background-color:var(--foreground-200)}.before\\:sl-transition-all:before{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.before\\:sl-content-none:before{--tw-content: none;content:var(--tw-content)}.first\\:before\\:sl-pointer-events-none:first-child:before{content:var(--tw-content);pointer-events:none}.first\\:before\\:sl-float-left:first-child:before{content:var(--tw-content);float:left}.first\\:before\\:sl-text-foreground-v2-500:first-child:before{content:var(--tw-content);color:var(--foreground-500)}.first\\:before\\:sl-text-foreground-v2-600:first-child:before{content:var(--tw-content);color:var(--foreground-600)}.first\\:before\\:sl-content-\\[attr\\(data-placeholder\\)\\]:first-child:before{--tw-content: attr(data-placeholder);content:var(--tw-content)}.last\\:sl-border-r-0:last-child{border-right-width:0px}.last\\:sl-pr-0:last-child{padding-right:0}.placeholder-shown\\:sl-border-foreground-v2-300:placeholder-shown{border-color:var(--foreground-300)}.empty\\:sl-hidden:empty{display:none}.focus-within\\:\\!sl-border-foreground-v2-700:focus-within{border-color:var(--foreground-700)!important}.focus-within\\:sl-border-foreground-v2-600:focus-within{border-color:var(--foreground-600)}.focus-within\\:sl-text-foreground-v2-700:focus-within{color:var(--foreground-700)}.focus-within\\:sl-shadow-sm:focus-within{--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)}.hover\\:sl-border-foreground-v2-500:hover{border-color:var(--foreground-500)}.hover\\:sl-border-foreground-v2-700:hover{border-color:var(--foreground-700)}.hover\\:sl-border-primary-500:hover{--tw-border-opacity: 1;border-color:rgb(146 146 186 / var(--tw-border-opacity))}.hover\\:sl-bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.hover\\:sl-bg-danger-400:hover{background-color:var(--danger-400)}.hover\\:sl-bg-danger-50:hover{background-color:var(--danger-50)}.hover\\:sl-bg-foreground-v2-100:hover{background-color:var(--foreground-100)}.hover\\:sl-bg-foreground-v2-200:hover{background-color:var(--foreground-200)}.hover\\:sl-bg-foreground-v2-50:hover{background-color:var(--foreground-50)}.hover\\:sl-bg-info-100:hover{background-color:var(--info-100)}.hover\\:sl-bg-info-400:hover{background-color:var(--info-400)}.hover\\:sl-bg-info-50:hover{background-color:var(--info-50)}.hover\\:sl-bg-primary-100:hover{--tw-bg-opacity: 1;background-color:rgb(242 242 252 / var(--tw-bg-opacity))}.hover\\:sl-bg-primary-200:hover{--tw-bg-opacity: 1;background-color:rgb(220 220 237 / var(--tw-bg-opacity))}.hover\\:sl-bg-primary-50:hover{--tw-bg-opacity: 1;background-color:rgb(251 251 255 / var(--tw-bg-opacity))}.hover\\:sl-bg-primary-600:hover{--tw-bg-opacity: 1;background-color:rgb(99 99 143 / var(--tw-bg-opacity))}.hover\\:sl-bg-primary-v2-100:hover{background-color:var(--primary-100)}.hover\\:sl-bg-primary-v2-400:hover{background-color:var(--primary-400)}.hover\\:sl-bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\\:sl-bg-success-400:hover{background-color:var(--success-400)}.hover\\:sl-bg-success-50:hover{background-color:var(--success-50)}.hover\\:sl-bg-warning-400:hover{background-color:var(--warning-400)}.hover\\:sl-bg-warning-50:hover{background-color:var(--warning-50)}.hover\\:sl-text-danger-400:hover{color:var(--danger-400)}.hover\\:sl-text-foreground-v2-700:hover{color:var(--foreground-700)}.hover\\:sl-text-foreground-v2-800:hover{color:var(--foreground-800)}.hover\\:sl-text-info-300:hover{color:var(--info-300)}.hover\\:sl-text-info-400:hover{color:var(--info-400)}.hover\\:sl-text-primary-800:hover{--tw-text-opacity: 1;color:rgb(53 53 88 / var(--tw-text-opacity))}.hover\\:sl-text-success-400:hover{color:var(--success-400)}.hover\\:sl-text-warning-400:hover{color:var(--warning-400)}.hover\\:sl-underline:hover{text-decoration-line:underline}.hover\\:sl-opacity-100:hover{opacity:1}.hover\\:sl-shadow-sm:hover{--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)}.focus\\:sl-border-danger-400:focus{border-color:var(--danger-400)}.focus\\:sl-border-foreground-v2-500:focus{border-color:var(--foreground-500)}.focus\\:sl-border-foreground-v2-700:focus{border-color:var(--foreground-700)}.focus\\:sl-border-info-400:focus{border-color:var(--info-400)}.focus\\:sl-border-primary-700:focus{--tw-border-opacity: 1;border-color:rgb(71 71 114 / var(--tw-border-opacity))}.focus\\:sl-border-primary-v2-400:focus{border-color:var(--primary-400)}.focus\\:sl-border-success-400:focus{border-color:var(--success-400)}.focus\\:sl-border-warning-400:focus{border-color:var(--warning-400)}.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-2: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(2px + 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\\:sl-ring-offset-2:focus{--tw-ring-offset-width: 2px}.focus\\:placeholder\\:sl-text-foreground-v2-500:focus::placeholder{color:var(--foreground-500)}.focus\\:placeholder\\:sl-text-foreground-v2-700:focus::placeholder{color:var(--foreground-700)}.focus-visible\\:sl-border-foreground-v2-200:focus-visible{border-color:var(--foreground-200)}.focus-visible\\:sl-border-foreground-v2-500:focus-visible{border-color:var(--foreground-500)}.focus-visible\\:sl-text-foreground-v2-700:focus-visible{color:var(--foreground-700)}.focus-visible\\:sl-outline-0:focus-visible{outline-width:0px}.focus-visible\\:sl-ring-0: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(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)}.active\\:sl-border-danger-400:active{border-color:var(--danger-400)}.active\\:sl-border-foreground-v2-500:active{border-color:var(--foreground-500)}.active\\:sl-border-foreground-v2-700:active{border-color:var(--foreground-700)}.active\\:sl-border-info-400:active{border-color:var(--info-400)}.active\\:sl-border-primary-600:active{--tw-border-opacity: 1;border-color:rgb(99 99 143 / var(--tw-border-opacity))}.active\\:sl-border-primary-700:active{--tw-border-opacity: 1;border-color:rgb(71 71 114 / var(--tw-border-opacity))}.active\\:sl-border-primary-v2-400:active{border-color:var(--primary-400)}.active\\:sl-border-success-400:active{border-color:var(--success-400)}.active\\:sl-border-warning-400:active{border-color:var(--warning-400)}.active\\:sl-bg-danger-300:active{background-color:var(--danger-300)}.active\\:sl-bg-info-300:active{background-color:var(--info-300)}.active\\:sl-bg-primary-100:active{--tw-bg-opacity: 1;background-color:rgb(242 242 252 / var(--tw-bg-opacity))}.active\\:sl-bg-primary-200:active{--tw-bg-opacity: 1;background-color:rgb(220 220 237 / var(--tw-bg-opacity))}.active\\:sl-bg-primary-v2-300:active{background-color:var(--primary-300)}.active\\:sl-bg-success-300:active{background-color:var(--success-300)}.active\\:sl-bg-warning-300:active{background-color:var(--warning-300)}.active\\:sl-text-foreground-v2-700:active{color:var(--foreground-700)}.active\\:sl-text-info-400:active{color:var(--info-400)}.active\\:sl-text-primary-800:active{--tw-text-opacity: 1;color:rgb(53 53 88 / var(--tw-text-opacity))}.active\\:sl-text-primary-900:active{--tw-text-opacity: 1;color:rgb(31 31 62 / var(--tw-text-opacity))}.active\\:sl-text-primary-v2-400:active{color:var(--primary-400)}.active\\:sl-text-success-400:active{color:var(--success-400)}.enabled\\:sl-text-foreground-v2-600:enabled{color:var(--foreground-600)}.enabled\\:focus-within\\:sl-border-foreground-v2-500:focus-within:enabled{border-color:var(--foreground-500)}.enabled\\:hover\\:sl-shadow-sm:hover:enabled{--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)}.enabled\\:active\\:sl-translate-y-px:active:enabled{--tw-translate-y: 1px;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))}.disabled\\:sl-pointer-events-none:disabled{pointer-events:none}.disabled\\:sl-cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:\\!sl-border-danger-300:disabled{border-color:var(--danger-300)!important}.disabled\\:\\!sl-border-info-300:disabled{border-color:var(--info-300)!important}.disabled\\:\\!sl-border-success-300:disabled{border-color:var(--success-300)!important}.disabled\\:\\!sl-border-warning-300:disabled{border-color:var(--warning-300)!important}.disabled\\:sl-border-foreground-v2-100:disabled{border-color:var(--foreground-100)}.disabled\\:sl-border-foreground-v2-500:disabled{border-color:var(--foreground-500)}.disabled\\:sl-border-primary-100:disabled{--tw-border-opacity: 1;border-color:rgb(242 242 252 / var(--tw-border-opacity))}.disabled\\:sl-border-transparent:disabled{border-color:transparent}.disabled\\:\\!sl-bg-transparent:disabled{background-color:transparent!important}.disabled\\:sl-bg-foreground-v2-100:disabled{background-color:var(--foreground-100)}.disabled\\:sl-bg-foreground-v2-300:disabled{background-color:var(--foreground-300)}.disabled\\:sl-bg-foreground-v2-500:disabled{background-color:var(--foreground-500)}.disabled\\:sl-bg-primary-100:disabled{--tw-bg-opacity: 1;background-color:rgb(242 242 252 / var(--tw-bg-opacity))}.disabled\\:sl-text-foreground-v2-500:disabled{color:var(--foreground-500)}.disabled\\:sl-text-primary-300:disabled{--tw-text-opacity: 1;color:rgb(193 193 217 / var(--tw-text-opacity))}.disabled\\:sl-text-primary-500:disabled{--tw-text-opacity: 1;color:rgb(146 146 186 / var(--tw-text-opacity))}.disabled\\:sl-opacity-30:disabled{opacity:.3}.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)}.disabled\\:placeholder\\:sl-text-foreground-v2-500:disabled::placeholder{color:var(--foreground-500)}.sl-group:hover .group-hover\\:sl-static{position:static}.sl-group:hover .group-hover\\:sl-opacity-100{opacity:1}.sl-group.destructive .group-\\[\\.destructive\\]\\:sl-border-muted\\/40{border-color:hsl(var(--muted) / .4)}.sl-group.destructive .group-\\[\\.destructive\\]\\:hover\\:sl-bg-destructive:hover{background-color:hsl(var(--destructive))}.sl-group.destructive .group-\\[\\.destructive\\]\\:hover\\:sl-text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.sl-group.destructive .group-\\[\\.destructive\\]\\:focus\\:sl-ring-destructive:focus{--tw-ring-color: hsl(var(--destructive))}.sl-peer:active~.peer-active\\:sl-text-info-400{color:var(--info-400)}.sl-peer[disabled]~.peer-\\[\\[disabled\\]\\]\\:sl-text-foreground-v2-500{color:var(--foreground-500)}.aria-busy\\:sl-pointer-events-none[aria-busy=true]{pointer-events:none}.aria-busy\\:sl-cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\\:sl-border-foreground-v2-700[aria-busy=true]{border-color:var(--foreground-700)}.aria-disabled\\:sl-border-foreground-v2-100[aria-disabled=true]{border-color:var(--foreground-100)}.aria-disabled\\:sl-border-transparent[aria-disabled=true]{border-color:transparent}.aria-disabled\\:sl-bg-foreground-v2-100[aria-disabled=true]{background-color:var(--foreground-100)}.aria-disabled\\:sl-text-foreground-v2-500[aria-disabled=true]{color:var(--foreground-500)}.aria-disabled\\:hover\\:sl-shadow-none:hover[aria-disabled=true]{--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)}.sl-peer[aria-checked=true]~.peer-aria-checked\\:sl-text-foreground-v2-700{color:var(--foreground-700)}.sl-peer[aria-checked=true]~.enabled\\:peer-aria-checked\\:sl-text-foreground-v2-700:enabled{color:var(--foreground-700)}.sl-peer:enabled[aria-checked=true]~.peer-enabled\\:peer-aria-checked\\:sl-text-foreground-v2-700{color:var(--foreground-700)}.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\\=checked\\]\\:sl-translate-x-\\[calc\\(45px-4px-16px\\)\\][data-state=checked]{--tw-translate-x: 25px ;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\\=unchecked\\]\\:sl-translate-x-1[data-state=unchecked]{--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-\\[swipe\\=cancel\\]\\:sl-translate-x-0[data-swipe=cancel]{--tw-translate-x: 0px;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-\\[swipe\\=end\\]\\:sl-translate-x-\\[var\\(--radix-toast-swipe-end-x\\)\\][data-swipe=end]{--tw-translate-x: var(--radix-toast-swipe-end-x);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-\\[swipe\\=move\\]\\:sl-translate-x-\\[var\\(--radix-toast-swipe-move-x\\)\\][data-swipe=move]{--tw-translate-x: var(--radix-toast-swipe-move-x);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\\=active\\]\\:sl-border-b-primary-v2-300[data-state=active]{border-bottom-color:var(--primary-300)}.data-\\[disabled\\]\\:sl-bg-foreground-v2-200[data-disabled]{background-color:var(--foreground-200)}.data-\\[disabled\\]\\:sl-bg-foreground-v2-500[data-disabled]{background-color:var(--foreground-500)}.data-\\[selected\\=true\\]\\:sl-bg-foreground-v2-100[data-selected=true]{background-color:var(--foreground-100)}.data-\\[state\\=active\\]\\:sl-bg-white[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.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-\\[selected\\=true\\]\\:sl-text-foreground-v2-700[data-selected=true]{color:var(--foreground-700)}.data-\\[state\\=active\\]\\:sl-text-foreground-v2-800[data-state=active]{color:var(--foreground-800)}.data-\\[disabled\\]\\:sl-opacity-50[data-disabled]{opacity:.5}.data-\\[state\\=closed\\]\\:sl-transition-none[data-state=closed],.data-\\[swipe\\=move\\]\\:sl-transition-none[data-swipe=move]{transition-property:none}.data-\\[state\\=closed\\]\\:sl-duration-300[data-state=closed]{transition-duration:.3s}.data-\\[state\\=open\\]\\:sl-duration-500[data-state=open]{transition-duration:.5s}.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],.data-\\[swipe\\=end\\]\\:sl-animate-out[data-swipe=end]{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\\=closed\\]\\:sl-fade-out-80[data-state=closed]{--tw-exit-opacity: .8}.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}.data-\\[state\\=closed\\]\\:sl-slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\\[state\\=closed\\]\\:sl-slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100%}.data-\\[state\\=closed\\]\\:sl-slide-out-to-left-1\\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\\[state\\=closed\\]\\:sl-slide-out-to-right[data-state=closed],.data-\\[state\\=closed\\]\\:sl-slide-out-to-right-full[data-state=closed]{--tw-exit-translate-x: 100%}.data-\\[state\\=closed\\]\\:sl-slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100%}.data-\\[state\\=closed\\]\\:sl-slide-out-to-top-\\[48\\%\\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\\[state\\=open\\]\\:sl-slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.data-\\[state\\=open\\]\\:sl-slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100%}.data-\\[state\\=open\\]\\:sl-slide-in-from-left-1\\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\\[state\\=open\\]\\:sl-slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.data-\\[state\\=open\\]\\:sl-slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100%}.data-\\[state\\=open\\]\\:sl-slide-in-from-top-\\[48\\%\\][data-state=open]{--tw-enter-translate-y: -48%}.data-\\[state\\=open\\]\\:sl-slide-in-from-top-full[data-state=open]{--tw-enter-translate-y: -100%}.data-\\[state\\=closed\\]\\:sl-duration-300[data-state=closed]{animation-duration:.3s}.data-\\[state\\=open\\]\\:sl-duration-500[data-state=open]{animation-duration:.5s}.before\\:data-\\[state\\=active\\]\\:sl-opacity-0[data-state=active]:before{content:var(--tw-content);opacity:0}.enabled\\:data-\\[state\\=checked\\]\\:sl-border-foreground-v2-700[data-state=checked]:enabled{border-color:var(--foreground-700)}.enabled\\:data-\\[state\\=checked\\]\\:sl-bg-foreground-v2-700[data-state=checked]:enabled{background-color:var(--foreground-700)}.enabled\\:data-\\[state\\=checked\\]\\:sl-bg-info-300[data-state=checked]:enabled{background-color:var(--info-300)}.enabled\\:data-\\[state\\=unchecked\\]\\:sl-bg-foreground-v2-200[data-state=unchecked]:enabled{background-color:var(--foreground-200)}@media(min-width:640px){.sm\\:sl-bottom-0{bottom:0}.sm\\:sl-right-0{right:0}.sm\\:sl-top-auto{top:auto}.sm\\:sl-max-w-sm{max-width:24rem}.sm\\:sl-flex-row{flex-direction:row}.sm\\:sl-flex-col{flex-direction:column}.sm\\:sl-justify-end{justify-content:flex-end}.sm\\:sl-space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.data-\\[state\\=open\\]\\:sm\\:sl-slide-in-from-bottom-full[data-state=open]{--tw-enter-translate-y: 100%}}@media(min-width:1024px){.lg\\:sl-max-w-xs{max-width:20rem}}.\\[\\&\\&\\&\\]\\:sl-border-foreground-v2-500.\\[\\&\\&\\&\\]\\:sl-border-foreground-v2-500.\\[\\&\\&\\&\\]\\:sl-border-foreground-v2-500{border-color:var(--foreground-500)}.\\[\\&\\&\\&\\]\\:sl-border-foreground-v2-700.\\[\\&\\&\\&\\]\\:sl-border-foreground-v2-700.\\[\\&\\&\\&\\]\\:sl-border-foreground-v2-700{border-color:var(--foreground-700)}.\\[\\&\\&\\]\\:sl-h-4.\\[\\&\\&\\]\\:sl-h-4{height:1rem}.\\[\\&\\&\\]\\:sl-w-4.\\[\\&\\&\\]\\:sl-w-4{width:1rem}.\\[\\&\\&_\\.input-otp-slot\\]\\:sl-border-danger-300.\\[\\&\\&_\\.input-otp-slot\\]\\:sl-border-danger-300 .input-otp-slot{border-color:var(--danger-300)}.\\[\\&\\:\\:-webkit-scrollbar\\]\\:sl-block::-webkit-scrollbar{display:block}.\\[\\&\\:\\:-webkit-scrollbar\\]\\:sl-hidden::-webkit-scrollbar{display:none}.\\[\\&\\>\\*\\]\\:sl-outline-none>*{outline:2px solid transparent;outline-offset:2px}.\\[\\&\\>button\\]\\:sl-h-6>button{height:1.5rem}.hover\\:\\[\\&\\>button\\]\\:sl-bg-foreground-v2-100>button:hover{background-color:var(--foreground-100)}.\\[\\&\\>p\\]\\:sl-text-inherit>p{color:inherit}.\\[\\&\\>span\\]\\:sl-line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.\\[\\&\\>svg\\]\\:sl-size-4>svg{width:1rem;height:1rem}.\\[\\&\\>svg\\]\\:sl-h-4>svg{height:1rem}.\\[\\&\\>svg\\]\\:sl-h-6>svg{height:1.5rem}.\\[\\&\\>svg\\]\\:sl-h-\\[22px\\]>svg{height:22px}.\\[\\&\\>svg\\]\\:sl-w-4>svg{width:1rem}.\\[\\&\\>svg\\]\\:sl-w-6>svg{width:1.5rem}.\\[\\&\\>svg\\]\\:sl-w-\\[22px\\]>svg{width:22px}.\\[\\&\\>svg\\]\\:sl-shrink-0>svg{flex-shrink:0}.\\[\\&\\>svg\\]\\:sl-text-danger-300>svg{color:var(--danger-300)}.\\[\\&\\>svg\\]\\:sl-text-foreground-v2-800>svg{color:var(--foreground-800)}.\\[\\&\\>svg\\]\\:sl-text-info-300>svg{color:var(--info-300)}.\\[\\&\\>svg\\]\\:sl-text-success-300>svg{color:var(--success-300)}.\\[\\&\\>svg\\]\\:sl-text-warning-300>svg{color:var(--warning-300)}.\\[\\&_\\*\\]\\:sl-border-0 *{border-width:0px}.\\[\\&_\\.input-otp-slot\\]\\:sl-border-primary-300 .input-otp-slot{--tw-border-opacity: 1;border-color:rgb(193 193 217 / var(--tw-border-opacity))}.\\[\\&_\\.input-otp-slot\\]\\:has-\\[\\:disabled\\]\\:sl-border-transparent:has(:disabled) .input-otp-slot{border-color:transparent}.\\[\\&_\\.input-otp-slot\\]\\:has-\\[\\:disabled\\]\\:sl-bg-primary-100:has(:disabled) .input-otp-slot{--tw-bg-opacity: 1;background-color:rgb(242 242 252 / var(--tw-bg-opacity))}.\\[\\&_ol\\]\\:sl-ml-4 ol{margin-left:1rem}.\\[\\&_ol\\]\\:sl-list-decimal ol{list-style-type:decimal}.\\[\\&_p\\]\\:sl-font-bold p{font-weight:700}.\\[\\&_p\\]\\:sl-text-foreground-v2-500 p{color:var(--foreground-500)}.\\[\\&_svg\\]\\:sl-size-\\[14px\\] svg{width:14px;height:14px}.\\[\\&_svg\\]\\:sl-h-4 svg{height:1rem}.\\[\\&_svg\\]\\:sl-w-4 svg{width:1rem}.\\[\\&_svg\\]\\:sl-text-info-400 svg{color:var(--info-400)}.\\[\\&_svg\\]\\:sl-text-primary-v2-200 svg{color:var(--primary-200)}.\\[\\&_svg\\]\\:sl-transition-all svg{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.\\[\\&_svg\\]\\:hover\\:sl-text-primary-v2-300:hover svg{color:var(--primary-300)}.\\[\\&_svg\\]\\:data-\\[state\\=active\\]\\:sl-text-primary-v2-300[data-state=active] svg{color:var(--primary-300)}.\\[\\&_ul\\]\\:sl-ml-4 ul{margin-left:1rem}.\\[\\&_ul\\]\\:sl-list-disc ul{list-style-type:disc}')),document.head.appendChild(r)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
2
|
import * as S from "react";
|
|
3
|
-
import Ke, { forwardRef as ht, createElement as Kt, useMemo as
|
|
3
|
+
import Ke, { forwardRef as ht, createElement as Kt, useMemo as fe, useState as oe, useRef as he, useCallback as te, useEffect as ne, useLayoutEffect as El, createContext as Pn, useContext as bt, useDebugValue as A3, useId as M3, Fragment as hp, useInsertionEffect as OH, Component as DH, useReducer as PH, memo as Lt } from "react";
|
|
4
4
|
import * as kl from "react-dom";
|
|
5
5
|
import sS, { createPortal as oS } from "react-dom";
|
|
6
6
|
function R3(t) {
|
|
@@ -235,7 +235,7 @@ function R_(t, ...e) {
|
|
|
235
235
|
const gt = (t) => {
|
|
236
236
|
const e = (n) => n[t] || [];
|
|
237
237
|
return e.isThemeGetter = !0, e;
|
|
238
|
-
}, P3 = /^\[(?:([a-z-]+):)?(.+)\]$/i, YH = /^\d+\/\d+$/, ZH = /* @__PURE__ */ new Set(["px", "full", "screen"]), XH = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, JH = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, QH = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, eW = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, tW = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ys = (t) =>
|
|
238
|
+
}, P3 = /^\[(?:([a-z-]+):)?(.+)\]$/i, YH = /^\d+\/\d+$/, ZH = /* @__PURE__ */ new Set(["px", "full", "screen"]), XH = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, JH = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, QH = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, eW = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, tW = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ys = (t) => qa(t) || ZH.has(t) || YH.test(t), Xs = (t) => _l(t, "length", cW), qa = (t) => !!t && !Number.isNaN(Number(t)), sg = (t) => _l(t, "number", qa), Ul = (t) => !!t && Number.isInteger(Number(t)), nW = (t) => t.endsWith("%") && qa(t.slice(0, -1)), Ue = (t) => P3.test(t), Js = (t) => XH.test(t), rW = /* @__PURE__ */ new Set(["length", "size", "percentage"]), sW = (t) => _l(t, rW, j3), oW = (t) => _l(t, "position", j3), iW = /* @__PURE__ */ new Set(["image", "url"]), aW = (t) => _l(t, iW, dW), lW = (t) => _l(t, "", uW), Kl = () => !0, _l = (t, e, n) => {
|
|
239
239
|
const r = P3.exec(t);
|
|
240
240
|
return r ? r[1] ? typeof e == "string" ? r[1] === e : e.has(r[1]) : n(r[2]) : !1;
|
|
241
241
|
}, cW = (t) => (
|
|
@@ -244,7 +244,7 @@ const gt = (t) => {
|
|
|
244
244
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
245
245
|
JH.test(t) && !QH.test(t)
|
|
246
246
|
), j3 = () => !1, uW = (t) => eW.test(t), dW = (t) => tW.test(t), I_ = () => {
|
|
247
|
-
const t = gt("colors"), e = gt("spacing"), n = gt("blur"), r = gt("brightness"), s = gt("borderColor"), o = gt("borderRadius"), i = gt("borderSpacing"), a = gt("borderWidth"), l = gt("contrast"), c = gt("grayscale"), u = gt("hueRotate"), d = gt("invert"), f = gt("gap"), h = gt("gradientColorStops"), m = gt("gradientColorStopPositions"), g = gt("inset"), v = gt("margin"), y = gt("opacity"), x = gt("padding"), b = gt("saturate"), w = gt("scale"), C = gt("sepia"), k = gt("skew"), E = gt("space"), _ = gt("translate"), N = () => ["auto", "contain", "none"], R = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", Ue, e], O = () => [Ue, e], D = () => ["", ys, Xs], T = () => ["auto",
|
|
247
|
+
const t = gt("colors"), e = gt("spacing"), n = gt("blur"), r = gt("brightness"), s = gt("borderColor"), o = gt("borderRadius"), i = gt("borderSpacing"), a = gt("borderWidth"), l = gt("contrast"), c = gt("grayscale"), u = gt("hueRotate"), d = gt("invert"), f = gt("gap"), h = gt("gradientColorStops"), m = gt("gradientColorStopPositions"), g = gt("inset"), v = gt("margin"), y = gt("opacity"), x = gt("padding"), b = gt("saturate"), w = gt("scale"), C = gt("sepia"), k = gt("skew"), E = gt("space"), _ = gt("translate"), N = () => ["auto", "contain", "none"], R = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", Ue, e], O = () => [Ue, e], D = () => ["", ys, Xs], T = () => ["auto", qa, Ue], F = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], M = () => ["solid", "dashed", "dotted", "double", "none"], B = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], I = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], P = () => ["", "0", Ue], L = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], q = () => [qa, Ue];
|
|
248
248
|
return {
|
|
249
249
|
cacheSize: 500,
|
|
250
250
|
separator: ":",
|
|
@@ -983,7 +983,7 @@ const gt = (t) => {
|
|
|
983
983
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
984
984
|
*/
|
|
985
985
|
"line-clamp": [{
|
|
986
|
-
"line-clamp": ["none",
|
|
986
|
+
"line-clamp": ["none", qa, sg]
|
|
987
987
|
}],
|
|
988
988
|
/**
|
|
989
989
|
* Line Height
|
|
@@ -2735,7 +2735,7 @@ function wW() {
|
|
|
2735
2735
|
});
|
|
2736
2736
|
}
|
|
2737
2737
|
}
|
|
2738
|
-
function
|
|
2738
|
+
function ma(U, se) {
|
|
2739
2739
|
{
|
|
2740
2740
|
var ve = function() {
|
|
2741
2741
|
ar || (ar = !0, x("%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)", se));
|
|
@@ -2775,7 +2775,7 @@ function wW() {
|
|
|
2775
2775
|
value: rt
|
|
2776
2776
|
}), Object.freeze && (Object.freeze(ze.props), Object.freeze(ze)), ze;
|
|
2777
2777
|
};
|
|
2778
|
-
function
|
|
2778
|
+
function ga(U, se, ve, Pe, rt) {
|
|
2779
2779
|
{
|
|
2780
2780
|
var at, Ge = {}, ze = null, mt = null;
|
|
2781
2781
|
ve !== void 0 && (lt(ve), ze = "" + ve), Nn(se) && (lt(se.key), ze = "" + se.key), mn(se) && (mt = se.ref, sn(se, rt));
|
|
@@ -2788,7 +2788,7 @@ function wW() {
|
|
|
2788
2788
|
}
|
|
2789
2789
|
if (ze || mt) {
|
|
2790
2790
|
var Dt = typeof U == "function" ? U.displayName || U.name || "Unknown" : U;
|
|
2791
|
-
ze && Ln(Ge, Dt), mt &&
|
|
2791
|
+
ze && Ln(Ge, Dt), mt && ma(Ge, Dt);
|
|
2792
2792
|
}
|
|
2793
2793
|
return Yn(U, ze, mt, rt, Pe, It.current, Ge);
|
|
2794
2794
|
}
|
|
@@ -2822,7 +2822,7 @@ Check the render method of \`` + U + "`.";
|
|
|
2822
2822
|
return "";
|
|
2823
2823
|
}
|
|
2824
2824
|
var fi = {};
|
|
2825
|
-
function
|
|
2825
|
+
function va(U) {
|
|
2826
2826
|
{
|
|
2827
2827
|
var se = Ur();
|
|
2828
2828
|
if (!se) {
|
|
@@ -2834,12 +2834,12 @@ Check the top-level render call using <` + ve + ">.");
|
|
|
2834
2834
|
return se;
|
|
2835
2835
|
}
|
|
2836
2836
|
}
|
|
2837
|
-
function
|
|
2837
|
+
function ya(U, se) {
|
|
2838
2838
|
{
|
|
2839
2839
|
if (!U._store || U._store.validated || U.key != null)
|
|
2840
2840
|
return;
|
|
2841
2841
|
U._store.validated = !0;
|
|
2842
|
-
var ve =
|
|
2842
|
+
var ve = va(se);
|
|
2843
2843
|
if (fi[ve])
|
|
2844
2844
|
return;
|
|
2845
2845
|
fi[ve] = !0;
|
|
@@ -2854,7 +2854,7 @@ Check the top-level render call using <` + ve + ">.");
|
|
|
2854
2854
|
if (Se(U))
|
|
2855
2855
|
for (var ve = 0; ve < U.length; ve++) {
|
|
2856
2856
|
var Pe = U[ve];
|
|
2857
|
-
Zs(Pe) &&
|
|
2857
|
+
Zs(Pe) && ya(Pe, se);
|
|
2858
2858
|
}
|
|
2859
2859
|
else if (Zs(U))
|
|
2860
2860
|
U._store && (U._store.validated = !0);
|
|
@@ -2862,7 +2862,7 @@ Check the top-level render call using <` + ve + ">.");
|
|
|
2862
2862
|
var rt = v(U);
|
|
2863
2863
|
if (typeof rt == "function" && rt !== U.entries)
|
|
2864
2864
|
for (var at = rt.call(U), Ge; !(Ge = at.next()).done; )
|
|
2865
|
-
Zs(Ge.value) &&
|
|
2865
|
+
Zs(Ge.value) && ya(Ge.value, se);
|
|
2866
2866
|
}
|
|
2867
2867
|
}
|
|
2868
2868
|
}
|
|
@@ -2915,7 +2915,7 @@ Check the top-level render call using <` + ve + ">.");
|
|
|
2915
2915
|
var Et;
|
|
2916
2916
|
U === null ? Et = "null" : Se(U) ? Et = "array" : U !== void 0 && U.$$typeof === e ? (Et = "<" + (D(U.type) || "Unknown") + " />", ze = " Did you accidentally export a JSX literal instead of a component?") : Et = typeof U, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Et, ze);
|
|
2917
2917
|
}
|
|
2918
|
-
var Dt =
|
|
2918
|
+
var Dt = ga(U, se, ve, rt, at);
|
|
2919
2919
|
if (Dt == null)
|
|
2920
2920
|
return Dt;
|
|
2921
2921
|
if (Ge) {
|
|
@@ -3345,7 +3345,7 @@ const cU = [
|
|
|
3345
3345
|
const uU = [
|
|
3346
3346
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
3347
3347
|
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
|
|
3348
|
-
],
|
|
3348
|
+
], sa = Te("circle-check", uU);
|
|
3349
3349
|
const dU = [
|
|
3350
3350
|
["path", { d: "M22 2 2 22", key: "y4kqgn" }],
|
|
3351
3351
|
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]
|
|
@@ -3563,7 +3563,7 @@ const xK = [
|
|
|
3563
3563
|
["path", { d: "M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2", key: "v07s0e" }],
|
|
3564
3564
|
["line", { x1: "10", x2: "10", y1: "11", y2: "17", key: "1uufr5" }],
|
|
3565
3565
|
["line", { x1: "14", x2: "14", y1: "11", y2: "17", key: "xtxkd" }]
|
|
3566
|
-
],
|
|
3566
|
+
], zi = Te("trash-2", xK);
|
|
3567
3567
|
const bK = [
|
|
3568
3568
|
["path", { d: "M12 4v16", key: "1654pz" }],
|
|
3569
3569
|
["path", { d: "M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2", key: "e0r10z" }],
|
|
@@ -3613,8 +3613,8 @@ const OK = [
|
|
|
3613
3613
|
["line", { x1: "8", x2: "14", y1: "11", y2: "11", key: "durymu" }]
|
|
3614
3614
|
], DK = Te("zoom-out", OK);
|
|
3615
3615
|
function PK(t, e) {
|
|
3616
|
-
const { customIconElement: n, variant: r = "default", className: s, children: o, ...i } = t, a =
|
|
3617
|
-
() => At({ variant: r }).with({ variant: "default" }, ({ variant: l }) => /* @__PURE__ */ p.jsx($c, { "data-testid": `${l}-alert-icon-testid` })).with({ variant: "info" }, ({ variant: l }) => /* @__PURE__ */ p.jsx($c, { "data-testid": `${l}-alert-icon-testid` })).with({ variant: "success" }, ({ variant: l }) => /* @__PURE__ */ p.jsx(
|
|
3616
|
+
const { customIconElement: n, variant: r = "default", className: s, children: o, ...i } = t, a = fe(
|
|
3617
|
+
() => At({ variant: r }).with({ variant: "default" }, ({ variant: l }) => /* @__PURE__ */ p.jsx($c, { "data-testid": `${l}-alert-icon-testid` })).with({ variant: "info" }, ({ variant: l }) => /* @__PURE__ */ p.jsx($c, { "data-testid": `${l}-alert-icon-testid` })).with({ variant: "success" }, ({ variant: l }) => /* @__PURE__ */ p.jsx(sa, { "data-testid": `${l}-alert-icon-testid` })).with({ variant: "warning" }, ({ variant: l }) => /* @__PURE__ */ p.jsx(Gn, { "data-testid": `${l}-alert-icon-testid` })).with({ variant: "danger" }, ({ variant: l }) => /* @__PURE__ */ p.jsx(Gn, { "data-testid": `${l}-alert-icon-testid` })).otherwise(() => null),
|
|
3618
3618
|
[r]
|
|
3619
3619
|
);
|
|
3620
3620
|
return (
|
|
@@ -3994,7 +3994,7 @@ var YK = "DismissableLayer", fw = "dismissableLayer.update", ZK = "dismissableLa
|
|
|
3994
3994
|
layers: /* @__PURE__ */ new Set(),
|
|
3995
3995
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
3996
3996
|
branches: /* @__PURE__ */ new Set()
|
|
3997
|
-
}),
|
|
3997
|
+
}), oa = S.forwardRef(
|
|
3998
3998
|
(t, e) => {
|
|
3999
3999
|
const {
|
|
4000
4000
|
disableOutsidePointerEvents: n = !1,
|
|
@@ -4042,7 +4042,7 @@ var YK = "DismissableLayer", fw = "dismissableLayer.update", ZK = "dismissableLa
|
|
|
4042
4042
|
);
|
|
4043
4043
|
}
|
|
4044
4044
|
);
|
|
4045
|
-
|
|
4045
|
+
oa.displayName = YK;
|
|
4046
4046
|
var JK = "DismissableLayerBranch", U3 = S.forwardRef((t, e) => {
|
|
4047
4047
|
const n = S.useContext(W3), r = S.useRef(null), s = et(e, r);
|
|
4048
4048
|
return S.useEffect(() => {
|
|
@@ -4106,7 +4106,7 @@ function K3(t, e, n, { discrete: r }) {
|
|
|
4106
4106
|
const s = n.originalEvent.target, o = new CustomEvent(t, { bubbles: !1, cancelable: !0, detail: n });
|
|
4107
4107
|
e && s.addEventListener(t, e, { once: !0 }), r ? fS(s, o) : s.dispatchEvent(o);
|
|
4108
4108
|
}
|
|
4109
|
-
var tG =
|
|
4109
|
+
var tG = oa, nG = U3, ig = "focusScope.autoFocusOnMount", ag = "focusScope.autoFocusOnUnmount", q_ = { bubbles: !1, cancelable: !0 }, rG = "FocusScope", Fu = S.forwardRef((t, e) => {
|
|
4110
4110
|
const {
|
|
4111
4111
|
loop: n = !1,
|
|
4112
4112
|
trapped: r = !1,
|
|
@@ -4234,13 +4234,13 @@ function U_(t, e) {
|
|
|
4234
4234
|
function cG(t) {
|
|
4235
4235
|
return t.filter((e) => e.tagName !== "A");
|
|
4236
4236
|
}
|
|
4237
|
-
var uG = "Portal",
|
|
4237
|
+
var uG = "Portal", ia = S.forwardRef((t, e) => {
|
|
4238
4238
|
const { container: n, ...r } = t, [s, o] = S.useState(!1);
|
|
4239
4239
|
wn(() => o(!0), []);
|
|
4240
4240
|
const i = n || s && globalThis?.document?.body;
|
|
4241
4241
|
return i ? sS.createPortal(/* @__PURE__ */ p.jsx(Oe.div, { ...r, ref: e }), i) : null;
|
|
4242
4242
|
});
|
|
4243
|
-
|
|
4243
|
+
ia.displayName = uG;
|
|
4244
4244
|
function dG(t, e) {
|
|
4245
4245
|
return S.useReducer((n, r) => e[n][r] ?? n, t);
|
|
4246
4246
|
}
|
|
@@ -4548,14 +4548,14 @@ var NG = function() {
|
|
|
4548
4548
|
right: e[2],
|
|
4549
4549
|
gap: Math.max(0, r - n + e[2] - e[0])
|
|
4550
4550
|
};
|
|
4551
|
-
}, OG = J3(),
|
|
4551
|
+
}, OG = J3(), Ha = "data-scroll-locked", DG = function(t, e, n, r) {
|
|
4552
4552
|
var s = t.left, o = t.top, i = t.right, a = t.gap;
|
|
4553
4553
|
return n === void 0 && (n = "margin"), `
|
|
4554
4554
|
.`.concat(mG, ` {
|
|
4555
4555
|
overflow: hidden `).concat(r, `;
|
|
4556
4556
|
padding-right: `).concat(a, "px ").concat(r, `;
|
|
4557
4557
|
}
|
|
4558
|
-
body[`).concat(
|
|
4558
|
+
body[`).concat(Ha, `] {
|
|
4559
4559
|
overflow: hidden `).concat(r, `;
|
|
4560
4560
|
overscroll-behavior: contain;
|
|
4561
4561
|
`).concat([
|
|
@@ -4588,18 +4588,18 @@ var NG = function() {
|
|
|
4588
4588
|
margin-right: 0 `).concat(r, `;
|
|
4589
4589
|
}
|
|
4590
4590
|
|
|
4591
|
-
body[`).concat(
|
|
4591
|
+
body[`).concat(Ha, `] {
|
|
4592
4592
|
`).concat(gG, ": ").concat(a, `px;
|
|
4593
4593
|
}
|
|
4594
4594
|
`);
|
|
4595
4595
|
}, Y_ = function() {
|
|
4596
|
-
var t = parseInt(document.body.getAttribute(
|
|
4596
|
+
var t = parseInt(document.body.getAttribute(Ha) || "0", 10);
|
|
4597
4597
|
return isFinite(t) ? t : 0;
|
|
4598
4598
|
}, PG = function() {
|
|
4599
4599
|
S.useEffect(function() {
|
|
4600
|
-
return document.body.setAttribute(
|
|
4600
|
+
return document.body.setAttribute(Ha, (Y_() + 1).toString()), function() {
|
|
4601
4601
|
var t = Y_() - 1;
|
|
4602
|
-
t <= 0 ? document.body.removeAttribute(
|
|
4602
|
+
t <= 0 ? document.body.removeAttribute(Ha) : document.body.setAttribute(Ha, t.toString());
|
|
4603
4603
|
};
|
|
4604
4604
|
}, []);
|
|
4605
4605
|
}, jG = function(t) {
|
|
@@ -4621,7 +4621,7 @@ if (typeof window < "u")
|
|
|
4621
4621
|
} catch {
|
|
4622
4622
|
hw = !1;
|
|
4623
4623
|
}
|
|
4624
|
-
var
|
|
4624
|
+
var xa = hw ? { passive: !1 } : !1, LG = function(t) {
|
|
4625
4625
|
return t.tagName === "TEXTAREA";
|
|
4626
4626
|
}, Q3 = function(t, e) {
|
|
4627
4627
|
if (!(t instanceof Element))
|
|
@@ -4697,7 +4697,7 @@ var ya = hw ? { passive: !1 } : !1, LG = function(t) {
|
|
|
4697
4697
|
.block-interactivity-`.concat(t, ` {pointer-events: none;}
|
|
4698
4698
|
.allow-interactivity-`).concat(t, ` {pointer-events: all;}
|
|
4699
4699
|
`);
|
|
4700
|
-
}, UG = 0,
|
|
4700
|
+
}, UG = 0, ba = [];
|
|
4701
4701
|
function KG(t) {
|
|
4702
4702
|
var e = S.useRef([]), n = S.useRef([0, 0]), r = S.useRef(), s = S.useState(UG++)[0], o = S.useState(J3)[0], i = S.useRef(t);
|
|
4703
4703
|
S.useEffect(function() {
|
|
@@ -4732,7 +4732,7 @@ function KG(t) {
|
|
|
4732
4732
|
return qG(N, v, g, N === "h" ? b : w);
|
|
4733
4733
|
}, []), l = S.useCallback(function(g) {
|
|
4734
4734
|
var v = g;
|
|
4735
|
-
if (!(!
|
|
4735
|
+
if (!(!ba.length || ba[ba.length - 1] !== o)) {
|
|
4736
4736
|
var y = "deltaY" in v ? X_(v) : Md(v), x = e.current.filter(function(C) {
|
|
4737
4737
|
return C.name === v.type && (C.target === v.target || v.target === C.shadowParent) && HG(C.delta, y);
|
|
4738
4738
|
})[0];
|
|
@@ -4762,14 +4762,14 @@ function KG(t) {
|
|
|
4762
4762
|
c(g.type, Md(g), g.target, a(g, t.lockRef.current));
|
|
4763
4763
|
}, []);
|
|
4764
4764
|
S.useEffect(function() {
|
|
4765
|
-
return
|
|
4765
|
+
return ba.push(o), t.setCallbacks({
|
|
4766
4766
|
onScrollCapture: d,
|
|
4767
4767
|
onWheelCapture: d,
|
|
4768
4768
|
onTouchMoveCapture: f
|
|
4769
|
-
}), document.addEventListener("wheel", l,
|
|
4770
|
-
|
|
4769
|
+
}), document.addEventListener("wheel", l, xa), document.addEventListener("touchmove", l, xa), document.addEventListener("touchstart", u, xa), function() {
|
|
4770
|
+
ba = ba.filter(function(g) {
|
|
4771
4771
|
return g !== o;
|
|
4772
|
-
}), document.removeEventListener("wheel", l,
|
|
4772
|
+
}), document.removeEventListener("wheel", l, xa), document.removeEventListener("touchmove", l, xa), document.removeEventListener("touchstart", u, xa);
|
|
4773
4773
|
};
|
|
4774
4774
|
}, []);
|
|
4775
4775
|
var h = t.removeScrollBar, m = t.inert;
|
|
@@ -4795,7 +4795,7 @@ var ZG = function(t) {
|
|
|
4795
4795
|
return null;
|
|
4796
4796
|
var e = Array.isArray(t) ? t[0] : t;
|
|
4797
4797
|
return e.ownerDocument.body;
|
|
4798
|
-
},
|
|
4798
|
+
}, wa = /* @__PURE__ */ new WeakMap(), Rd = /* @__PURE__ */ new WeakMap(), Id = {}, fg = 0, nj = function(t) {
|
|
4799
4799
|
return t && (t.host || nj(t.parentNode));
|
|
4800
4800
|
}, XG = function(t, e) {
|
|
4801
4801
|
return e.map(function(n) {
|
|
@@ -4819,8 +4819,8 @@ var ZG = function(t) {
|
|
|
4819
4819
|
u(f);
|
|
4820
4820
|
else
|
|
4821
4821
|
try {
|
|
4822
|
-
var h = f.getAttribute(r), m = h !== null && h !== "false", g = (
|
|
4823
|
-
|
|
4822
|
+
var h = f.getAttribute(r), m = h !== null && h !== "false", g = (wa.get(f) || 0) + 1, v = (o.get(f) || 0) + 1;
|
|
4823
|
+
wa.set(f, g), o.set(f, v), i.push(f), g === 1 && m && Rd.set(f, !0), v === 1 && f.setAttribute(n, "true"), m || f.setAttribute(r, "true");
|
|
4824
4824
|
} catch (y) {
|
|
4825
4825
|
console.error("aria-hidden: cannot operate on ", f, y);
|
|
4826
4826
|
}
|
|
@@ -4828,9 +4828,9 @@ var ZG = function(t) {
|
|
|
4828
4828
|
};
|
|
4829
4829
|
return u(e), a.clear(), fg++, function() {
|
|
4830
4830
|
i.forEach(function(d) {
|
|
4831
|
-
var f =
|
|
4832
|
-
|
|
4833
|
-
}), fg--, fg || (
|
|
4831
|
+
var f = wa.get(d) - 1, h = o.get(d) - 1;
|
|
4832
|
+
wa.set(d, f), o.set(d, h), f || (Rd.has(d) || d.removeAttribute(r), Rd.delete(d)), h || d.removeAttribute(n);
|
|
4833
|
+
}), fg--, fg || (wa = /* @__PURE__ */ new WeakMap(), wa = /* @__PURE__ */ new WeakMap(), Rd = /* @__PURE__ */ new WeakMap(), Id = {});
|
|
4834
4834
|
};
|
|
4835
4835
|
}, Vu = function(t, e, n) {
|
|
4836
4836
|
n === void 0 && (n = "data-aria-hidden");
|
|
@@ -4892,7 +4892,7 @@ var pS = "DialogPortal", [eY, lj] = rj(pS, {
|
|
|
4892
4892
|
forceMount: void 0
|
|
4893
4893
|
}), cj = (t) => {
|
|
4894
4894
|
const { __scopeDialog: e, forceMount: n, children: r, container: s } = t, o = $r(pS, e);
|
|
4895
|
-
return /* @__PURE__ */ p.jsx(eY, { scope: e, forceMount: n, children: S.Children.map(r, (i) => /* @__PURE__ */ p.jsx(En, { present: n || o.open, children: /* @__PURE__ */ p.jsx(
|
|
4895
|
+
return /* @__PURE__ */ p.jsx(eY, { scope: e, forceMount: n, children: S.Children.map(r, (i) => /* @__PURE__ */ p.jsx(En, { present: n || o.open, children: /* @__PURE__ */ p.jsx(ia, { asChild: !0, container: s, children: i }) })) });
|
|
4896
4896
|
};
|
|
4897
4897
|
cj.displayName = pS;
|
|
4898
4898
|
var Ff = "DialogOverlay", uj = S.forwardRef(
|
|
@@ -4919,16 +4919,16 @@ var tY = S.forwardRef(
|
|
|
4919
4919
|
) })
|
|
4920
4920
|
);
|
|
4921
4921
|
}
|
|
4922
|
-
),
|
|
4922
|
+
), qi = "DialogContent", dj = S.forwardRef(
|
|
4923
4923
|
(t, e) => {
|
|
4924
|
-
const n = lj(
|
|
4924
|
+
const n = lj(qi, t.__scopeDialog), { forceMount: r = n.forceMount, ...s } = t, o = $r(qi, t.__scopeDialog);
|
|
4925
4925
|
return /* @__PURE__ */ p.jsx(En, { present: r || o.open, children: o.modal ? /* @__PURE__ */ p.jsx(nY, { ...s, ref: e }) : /* @__PURE__ */ p.jsx(rY, { ...s, ref: e }) });
|
|
4926
4926
|
}
|
|
4927
4927
|
);
|
|
4928
|
-
dj.displayName =
|
|
4928
|
+
dj.displayName = qi;
|
|
4929
4929
|
var nY = S.forwardRef(
|
|
4930
4930
|
(t, e) => {
|
|
4931
|
-
const n = $r(
|
|
4931
|
+
const n = $r(qi, t.__scopeDialog), r = S.useRef(null), s = et(e, n.contentRef, r);
|
|
4932
4932
|
return S.useEffect(() => {
|
|
4933
4933
|
const o = r.current;
|
|
4934
4934
|
if (o) return Vu(o);
|
|
@@ -4955,7 +4955,7 @@ var nY = S.forwardRef(
|
|
|
4955
4955
|
}
|
|
4956
4956
|
), rY = S.forwardRef(
|
|
4957
4957
|
(t, e) => {
|
|
4958
|
-
const n = $r(
|
|
4958
|
+
const n = $r(qi, t.__scopeDialog), r = S.useRef(!1), s = S.useRef(!1);
|
|
4959
4959
|
return /* @__PURE__ */ p.jsx(
|
|
4960
4960
|
fj,
|
|
4961
4961
|
{
|
|
@@ -4976,7 +4976,7 @@ var nY = S.forwardRef(
|
|
|
4976
4976
|
}
|
|
4977
4977
|
), fj = S.forwardRef(
|
|
4978
4978
|
(t, e) => {
|
|
4979
|
-
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: s, onCloseAutoFocus: o, ...i } = t, a = $r(
|
|
4979
|
+
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: s, onCloseAutoFocus: o, ...i } = t, a = $r(qi, n), l = S.useRef(null), c = et(e, l);
|
|
4980
4980
|
return yp(), /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
|
|
4981
4981
|
/* @__PURE__ */ p.jsx(
|
|
4982
4982
|
Fu,
|
|
@@ -4987,7 +4987,7 @@ var nY = S.forwardRef(
|
|
|
4987
4987
|
onMountAutoFocus: s,
|
|
4988
4988
|
onUnmountAutoFocus: o,
|
|
4989
4989
|
children: /* @__PURE__ */ p.jsx(
|
|
4990
|
-
|
|
4990
|
+
oa,
|
|
4991
4991
|
{
|
|
4992
4992
|
role: "dialog",
|
|
4993
4993
|
id: a.contentId,
|
|
@@ -5040,7 +5040,7 @@ function gS(t) {
|
|
|
5040
5040
|
return t ? "open" : "closed";
|
|
5041
5041
|
}
|
|
5042
5042
|
var yj = "DialogTitleWarning", [sY, xj] = zK(yj, {
|
|
5043
|
-
contentName:
|
|
5043
|
+
contentName: qi,
|
|
5044
5044
|
titleName: mS,
|
|
5045
5045
|
docsSlug: "dialog"
|
|
5046
5046
|
}), oY = ({ titleId: t }) => {
|
|
@@ -5084,13 +5084,13 @@ var dY = "AlertDialogOverlay", Ej = S.forwardRef(
|
|
|
5084
5084
|
}
|
|
5085
5085
|
);
|
|
5086
5086
|
Ej.displayName = dY;
|
|
5087
|
-
var
|
|
5087
|
+
var Wa = "AlertDialogContent", [fY, hY] = lY(Wa), kj = S.forwardRef(
|
|
5088
5088
|
(t, e) => {
|
|
5089
5089
|
const { __scopeAlertDialog: n, children: r, ...s } = t, o = Hs(n), i = S.useRef(null), a = et(e, i), l = S.useRef(null);
|
|
5090
5090
|
return /* @__PURE__ */ p.jsx(
|
|
5091
5091
|
sY,
|
|
5092
5092
|
{
|
|
5093
|
-
contentName:
|
|
5093
|
+
contentName: Wa,
|
|
5094
5094
|
titleName: _j,
|
|
5095
5095
|
docsSlug: "alert-dialog",
|
|
5096
5096
|
children: /* @__PURE__ */ p.jsx(fY, { scope: n, cancelRef: l, children: /* @__PURE__ */ p.jsxs(
|
|
@@ -5115,7 +5115,7 @@ var Ha = "AlertDialogContent", [fY, hY] = lY(Ha), kj = S.forwardRef(
|
|
|
5115
5115
|
);
|
|
5116
5116
|
}
|
|
5117
5117
|
);
|
|
5118
|
-
kj.displayName =
|
|
5118
|
+
kj.displayName = Wa;
|
|
5119
5119
|
var _j = "AlertDialogTitle", Tj = S.forwardRef(
|
|
5120
5120
|
(t, e) => {
|
|
5121
5121
|
const { __scopeAlertDialog: n, ...r } = t, s = Hs(n);
|
|
@@ -5143,11 +5143,11 @@ var Rj = "AlertDialogCancel", Ij = S.forwardRef(
|
|
|
5143
5143
|
);
|
|
5144
5144
|
Ij.displayName = Rj;
|
|
5145
5145
|
var mY = ({ contentRef: t }) => {
|
|
5146
|
-
const e = `\`${
|
|
5146
|
+
const e = `\`${Wa}\` requires a description for the component to be accessible for screen reader users.
|
|
5147
5147
|
|
|
5148
|
-
You can add a description to the \`${
|
|
5148
|
+
You can add a description to the \`${Wa}\` by passing a \`${Nj}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
|
5149
5149
|
|
|
5150
|
-
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${
|
|
5150
|
+
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${Wa}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
|
|
5151
5151
|
|
|
5152
5152
|
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;
|
|
5153
5153
|
return S.useEffect(() => {
|
|
@@ -5802,7 +5802,7 @@ const ES = ({
|
|
|
5802
5802
|
errorClassName: u,
|
|
5803
5803
|
...d
|
|
5804
5804
|
}) => {
|
|
5805
|
-
const f =
|
|
5805
|
+
const f = he(null), h = te(
|
|
5806
5806
|
(m) => {
|
|
5807
5807
|
if (m.ctrlKey || m.metaKey || !i || !a || f.current && !f.current.contains(m.target)) return;
|
|
5808
5808
|
const g = m.code === "Enter", v = /[a-zA-Z0-9\u00C0-\u017F]/.test(m.key) && m.key.length === 1;
|
|
@@ -5925,7 +5925,7 @@ function v5(t, e) {
|
|
|
5925
5925
|
}
|
|
5926
5926
|
}
|
|
5927
5927
|
function GY(t) {
|
|
5928
|
-
const { mode: e, value: n, onBlur: r, onChange: s, setMode: o } = t, i =
|
|
5928
|
+
const { mode: e, value: n, onBlur: r, onChange: s, setMode: o } = t, i = fe(() => {
|
|
5929
5929
|
if (typeof n == "string" && n.includes("/")) {
|
|
5930
5930
|
const [l, c, u] = n.split("/");
|
|
5931
5931
|
return `${u}-${c}-${l}`;
|
|
@@ -5956,7 +5956,7 @@ function GY(t) {
|
|
|
5956
5956
|
);
|
|
5957
5957
|
}
|
|
5958
5958
|
function YY(t) {
|
|
5959
|
-
const { value: e, mode: n } = t, r =
|
|
5959
|
+
const { value: e, mode: n } = t, r = fe(() => {
|
|
5960
5960
|
if (!e) return "dd/mm/aaaa";
|
|
5961
5961
|
const s = (o) => {
|
|
5962
5962
|
const i = new Date(o.getTime() + o.getTimezoneOffset() * 6e4);
|
|
@@ -6715,7 +6715,7 @@ function w5(t) {
|
|
|
6715
6715
|
function MS(t) {
|
|
6716
6716
|
return Lr(t) ? t : t.contextElement;
|
|
6717
6717
|
}
|
|
6718
|
-
function
|
|
6718
|
+
function Ua(t) {
|
|
6719
6719
|
const e = MS(t);
|
|
6720
6720
|
if (!is(e))
|
|
6721
6721
|
return Vo(1);
|
|
@@ -6741,18 +6741,18 @@ function C5(t) {
|
|
|
6741
6741
|
function vZ(t, e, n) {
|
|
6742
6742
|
return e === void 0 && (e = !1), !n || e && n !== tr(t) ? !1 : e;
|
|
6743
6743
|
}
|
|
6744
|
-
function
|
|
6744
|
+
function Hi(t, e, n, r) {
|
|
6745
6745
|
e === void 0 && (e = !1), n === void 0 && (n = !1);
|
|
6746
6746
|
const s = t.getBoundingClientRect(), o = MS(t);
|
|
6747
6747
|
let i = Vo(1);
|
|
6748
|
-
e && (r ? Lr(r) && (i =
|
|
6748
|
+
e && (r ? Lr(r) && (i = Ua(r)) : i = Ua(t));
|
|
6749
6749
|
const a = vZ(o, n, r) ? C5(o) : Vo(0);
|
|
6750
6750
|
let l = (s.left + a.x) / i.x, c = (s.top + a.y) / i.y, u = s.width / i.x, d = s.height / i.y;
|
|
6751
6751
|
if (o) {
|
|
6752
6752
|
const f = tr(o), h = r && Lr(r) ? tr(r) : r;
|
|
6753
6753
|
let m = f, g = gw(m);
|
|
6754
6754
|
for (; g && r && h !== m; ) {
|
|
6755
|
-
const v =
|
|
6755
|
+
const v = Ua(g), y = g.getBoundingClientRect(), x = Fr(g), b = y.left + (g.clientLeft + parseFloat(x.paddingLeft)) * v.x, w = y.top + (g.clientTop + parseFloat(x.paddingTop)) * v.y;
|
|
6756
6756
|
l *= v.x, c *= v.y, u *= v.x, d *= v.y, l += b, c += w, m = tr(g), g = gw(m);
|
|
6757
6757
|
}
|
|
6758
6758
|
}
|
|
@@ -6779,8 +6779,8 @@ function yZ(t) {
|
|
|
6779
6779
|
}, c = Vo(1);
|
|
6780
6780
|
const u = Vo(0), d = is(r);
|
|
6781
6781
|
if ((d || !d && !o) && ((Ml(r) !== "body" || Hu(i)) && (l = kp(r)), is(r))) {
|
|
6782
|
-
const f =
|
|
6783
|
-
c =
|
|
6782
|
+
const f = Hi(r);
|
|
6783
|
+
c = Ua(r), u.x = f.x + r.clientLeft, u.y = f.y + r.clientTop;
|
|
6784
6784
|
}
|
|
6785
6785
|
return {
|
|
6786
6786
|
width: n.width * c.x,
|
|
@@ -6794,7 +6794,7 @@ function xZ(t) {
|
|
|
6794
6794
|
}
|
|
6795
6795
|
function vw(t, e) {
|
|
6796
6796
|
const n = kp(t).scrollLeft;
|
|
6797
|
-
return e ? e.left + n :
|
|
6797
|
+
return e ? e.left + n : Hi(ds(t)).left + n;
|
|
6798
6798
|
}
|
|
6799
6799
|
function bZ(t) {
|
|
6800
6800
|
const e = ds(t), n = kp(t), r = t.ownerDocument.body, s = Xn(e.scrollWidth, e.clientWidth, r.scrollWidth, r.clientWidth), o = Xn(e.scrollHeight, e.clientHeight, r.scrollHeight, r.clientHeight);
|
|
@@ -6823,7 +6823,7 @@ function wZ(t, e) {
|
|
|
6823
6823
|
};
|
|
6824
6824
|
}
|
|
6825
6825
|
function CZ(t, e) {
|
|
6826
|
-
const n =
|
|
6826
|
+
const n = Hi(t, !0, e === "fixed"), r = n.top + t.clientTop, s = n.left + t.clientLeft, o = is(t) ? Ua(t) : Vo(1), i = t.clientWidth * o.x, a = t.clientHeight * o.y, l = s * o.x, c = r * o.y;
|
|
6827
6827
|
return {
|
|
6828
6828
|
width: i,
|
|
6829
6829
|
height: a,
|
|
@@ -6895,7 +6895,7 @@ function kZ(t) {
|
|
|
6895
6895
|
};
|
|
6896
6896
|
}
|
|
6897
6897
|
function _Z(t, e, n) {
|
|
6898
|
-
const r = is(e), s = ds(e), o = n === "fixed", i =
|
|
6898
|
+
const r = is(e), s = ds(e), o = n === "fixed", i = Hi(t, !0, o, e);
|
|
6899
6899
|
let a = {
|
|
6900
6900
|
scrollLeft: 0,
|
|
6901
6901
|
scrollTop: 0
|
|
@@ -6903,7 +6903,7 @@ function _Z(t, e, n) {
|
|
|
6903
6903
|
const l = Vo(0);
|
|
6904
6904
|
if (r || !r && !o)
|
|
6905
6905
|
if ((Ml(e) !== "body" || Hu(s)) && (a = kp(e)), r) {
|
|
6906
|
-
const h =
|
|
6906
|
+
const h = Hi(e, !0, o, e);
|
|
6907
6907
|
l.x = h.x + e.clientLeft, l.y = h.y + e.clientTop;
|
|
6908
6908
|
} else s && (l.x = vw(s));
|
|
6909
6909
|
let c = 0, u = 0;
|
|
@@ -6972,7 +6972,7 @@ const AZ = {
|
|
|
6972
6972
|
getElementRects: TZ,
|
|
6973
6973
|
getClientRects: xZ,
|
|
6974
6974
|
getDimensions: kZ,
|
|
6975
|
-
getScale:
|
|
6975
|
+
getScale: Ua,
|
|
6976
6976
|
isElement: Lr,
|
|
6977
6977
|
isRTL: NZ
|
|
6978
6978
|
};
|
|
@@ -7045,10 +7045,10 @@ function RZ(t, e, n, r) {
|
|
|
7045
7045
|
(b = h) == null || b.observe(e);
|
|
7046
7046
|
})), n();
|
|
7047
7047
|
}), c && !l && h.observe(c), h.observe(e));
|
|
7048
|
-
let m, g = l ?
|
|
7048
|
+
let m, g = l ? Hi(t) : null;
|
|
7049
7049
|
l && v();
|
|
7050
7050
|
function v() {
|
|
7051
|
-
const y =
|
|
7051
|
+
const y = Hi(t);
|
|
7052
7052
|
g && (y.x !== g.x || y.y !== g.y || y.width !== g.width || y.height !== g.height) && n(), g = y, m = requestAnimationFrame(v);
|
|
7053
7053
|
}
|
|
7054
7054
|
return n(), () => {
|
|
@@ -7615,7 +7615,7 @@ var DS = "TooltipPortal", [aX, lX] = Np(DS, {
|
|
|
7615
7615
|
forceMount: void 0
|
|
7616
7616
|
}), B5 = (t) => {
|
|
7617
7617
|
const { __scopeTooltip: e, forceMount: n, children: r, container: s } = t, o = Gu(DS, e);
|
|
7618
|
-
return /* @__PURE__ */ p.jsx(aX, { scope: e, forceMount: n, children: /* @__PURE__ */ p.jsx(En, { present: n || o.open, children: /* @__PURE__ */ p.jsx(
|
|
7618
|
+
return /* @__PURE__ */ p.jsx(aX, { scope: e, forceMount: n, children: /* @__PURE__ */ p.jsx(En, { present: n || o.open, children: /* @__PURE__ */ p.jsx(ia, { asChild: !0, container: s, children: r }) }) });
|
|
7619
7619
|
};
|
|
7620
7620
|
B5.displayName = DS;
|
|
7621
7621
|
var tl = "TooltipContent", $5 = S.forwardRef(
|
|
@@ -7667,7 +7667,7 @@ var tl = "TooltipContent", $5 = S.forwardRef(
|
|
|
7667
7667
|
return window.addEventListener("scroll", d, { capture: !0 }), () => window.removeEventListener("scroll", d, { capture: !0 });
|
|
7668
7668
|
}
|
|
7669
7669
|
}, [l.trigger, u]), /* @__PURE__ */ p.jsx(
|
|
7670
|
-
|
|
7670
|
+
oa,
|
|
7671
7671
|
{
|
|
7672
7672
|
asChild: !0,
|
|
7673
7673
|
disableOutsidePointerEvents: !1,
|
|
@@ -7856,7 +7856,7 @@ function zo(t, e) {
|
|
|
7856
7856
|
return U5(t) > e - 4;
|
|
7857
7857
|
}
|
|
7858
7858
|
const K5 = Pn({}), TX = ({ children: t }) => {
|
|
7859
|
-
const e =
|
|
7859
|
+
const e = he(null);
|
|
7860
7860
|
return /* @__PURE__ */ p.jsx(K5.Provider, { value: { portalRef: e }, children: Ke.cloneElement(t, { ref: e }) });
|
|
7861
7861
|
}, PS = () => bt(K5);
|
|
7862
7862
|
function jS(t) {
|
|
@@ -7877,11 +7877,11 @@ function nl(t, e = !1) {
|
|
|
7877
7877
|
}, [n, e, t.current]);
|
|
7878
7878
|
}
|
|
7879
7879
|
function AX(t) {
|
|
7880
|
-
const { setMode: e, value: n, onBlur: r, onChange: s, selected: o } = t, { portalRef: i } = PS(), a = n, l =
|
|
7880
|
+
const { setMode: e, value: n, onBlur: r, onChange: s, selected: o } = t, { portalRef: i } = PS(), a = n, l = he(null), c = he(null), [u, d] = oe(0), [f, h] = oe(!1);
|
|
7881
7881
|
ne(() => {
|
|
7882
7882
|
l.current && h(zo(a, l.current.clientWidth)), c.current && h(zo(a, c.current.clientWidth));
|
|
7883
7883
|
}, [a]);
|
|
7884
|
-
const m =
|
|
7884
|
+
const m = he(null), [g, v] = oe(null), [y, x] = oe(!1);
|
|
7885
7885
|
ne(() => {
|
|
7886
7886
|
if (m.current && f) {
|
|
7887
7887
|
const { top: E, left: _ } = m.current.getBoundingClientRect();
|
|
@@ -7967,7 +7967,7 @@ function AX(t) {
|
|
|
7967
7967
|
);
|
|
7968
7968
|
}
|
|
7969
7969
|
function MX(t) {
|
|
7970
|
-
const { mode: e, value: n, selected: r } = t, s = n, [o, i] = oe(!1), a =
|
|
7970
|
+
const { mode: e, value: n, selected: r } = t, s = n, [o, i] = oe(!1), a = he(null), l = he(null);
|
|
7971
7971
|
return ne(() => {
|
|
7972
7972
|
a.current && i(zo(s, a.current.clientWidth)), l.current && i(zo(s, l.current.clientWidth));
|
|
7973
7973
|
}, [s]), o ? /* @__PURE__ */ p.jsx(
|
|
@@ -8008,23 +8008,26 @@ function RX(t) {
|
|
|
8008
8008
|
return t.mode === "edit" ? /* @__PURE__ */ p.jsx(AX, { ...t }) : /* @__PURE__ */ p.jsx(MX, { ...t });
|
|
8009
8009
|
}
|
|
8010
8010
|
function IX(t) {
|
|
8011
|
-
const { value: e, error: n, onUpload: r, onDownload: s, onRemoveFile: o, disabled: i, fileTypes: a, maxFileSizeInKb: l } = t, [c, u] = oe(!1), d =
|
|
8012
|
-
(
|
|
8013
|
-
u(!1), r?.(
|
|
8011
|
+
const { value: e, error: n, onUpload: r, onDownload: s, onRemoveFile: o, disabled: i, fileTypes: a, maxFileSizeInKb: l } = t, [c, u] = oe(!1), d = he(null), f = te(
|
|
8012
|
+
(v) => {
|
|
8013
|
+
u(!1), r?.(v.target.files?.[0]), d.current && (d.current.value = "", d.current.files = null);
|
|
8014
8014
|
},
|
|
8015
8015
|
[r]
|
|
8016
8016
|
);
|
|
8017
8017
|
ne(() => {
|
|
8018
8018
|
e && u(!1);
|
|
8019
8019
|
}, [e]);
|
|
8020
|
-
const h =
|
|
8021
|
-
let
|
|
8022
|
-
if (a && (
|
|
8023
|
-
const
|
|
8024
|
-
|
|
8025
|
-
}
|
|
8026
|
-
return `${
|
|
8027
|
-
}, [a, l])
|
|
8020
|
+
const h = fe(() => {
|
|
8021
|
+
let v = "", y = "";
|
|
8022
|
+
if (a && (v = `Tipos de arquivos permitidos: ${a.join(", ")}.`), l) {
|
|
8023
|
+
const x = l / 1024;
|
|
8024
|
+
y = `Tamanho máximo por arquivo: ${x <= 1 ? `${l}KB` : `${x.toFixed(2)}MB`}.`;
|
|
8025
|
+
}
|
|
8026
|
+
return `${v} ${y}`;
|
|
8027
|
+
}, [a, l]), { ActionIcon: m, actionIconColor: g } = fe(() => ({
|
|
8028
|
+
ActionIcon: n ? cK : zi,
|
|
8029
|
+
actionIconColor: n ? "sl-text-primary-700" : "sl-text-danger-300"
|
|
8030
|
+
}), [n]);
|
|
8028
8031
|
return /* @__PURE__ */ p.jsxs("div", { className: "sl-flex sl-gap-2 sl-justify-between sl-w-full", children: [
|
|
8029
8032
|
/* @__PURE__ */ p.jsx("input", { type: "file", ref: d, onChange: f, className: "sl-hidden" }),
|
|
8030
8033
|
/* @__PURE__ */ p.jsxs("div", { className: "sl-flex sl-gap-1 sl-w-full", children: [
|
|
@@ -8047,11 +8050,11 @@ function IX(t) {
|
|
|
8047
8050
|
}
|
|
8048
8051
|
),
|
|
8049
8052
|
!i && /* @__PURE__ */ p.jsxs("div", { className: "sl-flex sl-gap-1", children: [
|
|
8050
|
-
n ? /* @__PURE__ */ p.jsx(tn, { className: "sl-font-normal", message: n, delayDuration: 100, children: /* @__PURE__ */ p.jsx(Gn, { className: "sl-text-danger-300 sl-w-4 sl-h-4 sl-shrink-0" }) }) : /* @__PURE__ */ p.jsx(
|
|
8053
|
+
n ? /* @__PURE__ */ p.jsx(tn, { className: "sl-font-normal", message: n, delayDuration: 100, children: /* @__PURE__ */ p.jsx(Gn, { className: "sl-text-danger-300 sl-w-4 sl-h-4 sl-shrink-0" }) }) : /* @__PURE__ */ p.jsx(sa, { className: "sl-h-4 sl-w-4 sl-text-success-300 sl-flex-shrink-0" }),
|
|
8051
8054
|
/* @__PURE__ */ p.jsx(
|
|
8052
|
-
|
|
8055
|
+
m,
|
|
8053
8056
|
{
|
|
8054
|
-
className:
|
|
8057
|
+
className: `sl-h-4 sl-w-4 ${g} sl-cursor-pointer sl-flex-shrink-0`,
|
|
8055
8058
|
onClick: () => {
|
|
8056
8059
|
d.current && (d.current.value = ""), o?.(), u(!0);
|
|
8057
8060
|
}
|
|
@@ -8147,7 +8150,7 @@ function jX(t, e) {
|
|
|
8147
8150
|
/* @__PURE__ */ p.jsx("p", { className: "sl-text-sm sl-font-bold", children: "Novo Arquivo" })
|
|
8148
8151
|
] }),
|
|
8149
8152
|
/* @__PURE__ */ p.jsx(og, { className: "sl-size-4 sl-text-foreground-v2-700 sl-shrink-0" })
|
|
8150
|
-
] })).with({ variant: "success" }, () => /* @__PURE__ */ p.jsx(
|
|
8153
|
+
] })).with({ variant: "success" }, () => /* @__PURE__ */ p.jsx(sa, { className: "sl-size-4 sl-text-success-300 sl-shrink-0" })).with({ variant: "danger" }, () => /* @__PURE__ */ p.jsxs("div", { className: "sl-flex sl-gap-2 sl-items-center sl-shrink-0", children: [
|
|
8151
8154
|
/* @__PURE__ */ p.jsx(Gn, { className: "sl-size-4 sl-text-danger-300 sl-shrink-0" }),
|
|
8152
8155
|
/* @__PURE__ */ p.jsx(og, { className: "sl-size-4 sl-text-foreground-v2-700 sl-shrink-0" })
|
|
8153
8156
|
] })).otherwise(() => null)
|
|
@@ -8213,7 +8216,7 @@ const ft = ht(Y5), FX = hn(
|
|
|
8213
8216
|
}
|
|
8214
8217
|
), $n = ht(
|
|
8215
8218
|
({ className: t, type: e, variant: n = "default", leftAdornment: r, containerClassName: s, disabled: o, onRetry: i, errorMessage: a, ...l }, c) => {
|
|
8216
|
-
const u =
|
|
8219
|
+
const u = he(null), d = te(
|
|
8217
8220
|
(g) => {
|
|
8218
8221
|
u.current = g, typeof c == "function" ? c(g) : c && (c.current = g);
|
|
8219
8222
|
},
|
|
@@ -8580,14 +8583,14 @@ function tJ(t) {
|
|
|
8580
8583
|
function Wc(t) {
|
|
8581
8584
|
return !!(t || "").match(/\d/);
|
|
8582
8585
|
}
|
|
8583
|
-
function
|
|
8586
|
+
function Ka(t) {
|
|
8584
8587
|
return t == null;
|
|
8585
8588
|
}
|
|
8586
8589
|
function nJ(t) {
|
|
8587
8590
|
return typeof t == "number" && isNaN(t);
|
|
8588
8591
|
}
|
|
8589
8592
|
function oL(t) {
|
|
8590
|
-
return
|
|
8593
|
+
return Ka(t) || nJ(t) || typeof t == "number" && !isFinite(t);
|
|
8591
8594
|
}
|
|
8592
8595
|
function iL(t) {
|
|
8593
8596
|
return t.replace(/[-[\]/{}()*+?.\\^$|]/g, "\\$&");
|
|
@@ -8608,9 +8611,9 @@ function sJ(t, e, n) {
|
|
|
8608
8611
|
return s = s === -1 ? t.length : s, t.substring(0, s) + t.substring(s, t.length).replace(r, "$1" + e);
|
|
8609
8612
|
}
|
|
8610
8613
|
function oJ(t) {
|
|
8611
|
-
var e =
|
|
8614
|
+
var e = he(t);
|
|
8612
8615
|
e.current = t;
|
|
8613
|
-
var n =
|
|
8616
|
+
var n = he(function() {
|
|
8614
8617
|
for (var r = [], s = arguments.length; s--; ) r[s] = arguments[s];
|
|
8615
8618
|
return e.current.apply(e, r);
|
|
8616
8619
|
});
|
|
@@ -8771,16 +8774,16 @@ function uL(t, e, n, r, s, o) {
|
|
|
8771
8774
|
var v, y;
|
|
8772
8775
|
return oL(m) ? (y = "", v = "") : typeof m == "number" || g ? (y = typeof m == "number" ? lL(m) : m, v = r(y)) : (y = s(m, void 0), v = r(y)), { formattedValue: v, numAsString: y };
|
|
8773
8776
|
}), a = oe(function() {
|
|
8774
|
-
return i(
|
|
8777
|
+
return i(Ka(t) ? e : t, n);
|
|
8775
8778
|
}), l = a[0], c = a[1], u = function(m, g) {
|
|
8776
8779
|
m.formattedValue !== l.formattedValue && c({
|
|
8777
8780
|
formattedValue: m.formattedValue,
|
|
8778
8781
|
numAsString: m.value
|
|
8779
8782
|
}), o(m, g);
|
|
8780
8783
|
}, d = t, f = n;
|
|
8781
|
-
|
|
8784
|
+
Ka(t) && (d = l.numAsString, f = !0);
|
|
8782
8785
|
var h = i(d, f);
|
|
8783
|
-
return
|
|
8786
|
+
return fe(function() {
|
|
8784
8787
|
c(h);
|
|
8785
8788
|
}, [h.formattedValue]), [l, u];
|
|
8786
8789
|
}
|
|
@@ -8813,9 +8816,9 @@ function gJ(t) {
|
|
|
8813
8816
|
x === void 0 && (x = hJ);
|
|
8814
8817
|
var b = t.isValidInputCharacter;
|
|
8815
8818
|
b === void 0 && (b = Wc);
|
|
8816
|
-
var w = t.isCharacterSame, C = sL(t, ["type", "displayType", "customInput", "renderText", "getInputRef", "format", "removeFormatting", "defaultValue", "valueIsNumericString", "onValueChange", "isAllowed", "onChange", "onKeyDown", "onMouseUp", "onFocus", "onBlur", "value", "getCaretBoundary", "isValidInputCharacter", "isCharacterSame"]), k = uL(y, l, !!c, i, a, u), E = k[0], _ = E.formattedValue, N = E.numAsString, R = k[1], A =
|
|
8819
|
+
var w = t.isCharacterSame, C = sL(t, ["type", "displayType", "customInput", "renderText", "getInputRef", "format", "removeFormatting", "defaultValue", "valueIsNumericString", "onValueChange", "isAllowed", "onChange", "onKeyDown", "onMouseUp", "onFocus", "onBlur", "value", "getCaretBoundary", "isValidInputCharacter", "isCharacterSame"]), k = uL(y, l, !!c, i, a, u), E = k[0], _ = E.formattedValue, N = E.numAsString, R = k[1], A = he(), O = he({ formattedValue: _, numAsString: N }), D = function(X, de) {
|
|
8817
8820
|
O.current = { formattedValue: X.formattedValue, numAsString: X.value }, R(X, de);
|
|
8818
|
-
}, T = oe(!1), F = T[0], M = T[1], B =
|
|
8821
|
+
}, T = oe(!1), F = T[0], M = T[1], B = he(null), I = he({
|
|
8819
8822
|
setCaretTimeout: null,
|
|
8820
8823
|
focusTimeout: null
|
|
8821
8824
|
});
|
|
@@ -9049,8 +9052,8 @@ function SJ(t) {
|
|
|
9049
9052
|
return hT(M, t);
|
|
9050
9053
|
}, b = function(M, B) {
|
|
9051
9054
|
return bJ(M, B, t);
|
|
9052
|
-
}, w =
|
|
9053
|
-
|
|
9055
|
+
}, w = Ka(d) ? u : d, C = f ?? xJ(w, c, e);
|
|
9056
|
+
Ka(d) ? Ka(u) || (C = C || typeof u == "number") : C = C || typeof d == "number";
|
|
9054
9057
|
var k = function(M) {
|
|
9055
9058
|
return oL(M) ? M : (typeof M == "number" && (M = lL(M)), C && typeof a == "number" ? dT(M, a, !!l) : M);
|
|
9056
9059
|
}, E = uL(k(d), k(u), !!C, x, b, h), _ = E[0], N = _.numAsString, R = _.formattedValue, A = E[1], O = function(M) {
|
|
@@ -9231,7 +9234,7 @@ var VS = "PopoverPortal", [AJ, MJ] = fL(VS, {
|
|
|
9231
9234
|
forceMount: void 0
|
|
9232
9235
|
}), vL = (t) => {
|
|
9233
9236
|
const { __scopePopover: e, forceMount: n, children: r, container: s } = t, o = ti(VS, e);
|
|
9234
|
-
return /* @__PURE__ */ p.jsx(AJ, { scope: e, forceMount: n, children: /* @__PURE__ */ p.jsx(En, { present: n || o.open, children: /* @__PURE__ */ p.jsx(
|
|
9237
|
+
return /* @__PURE__ */ p.jsx(AJ, { scope: e, forceMount: n, children: /* @__PURE__ */ p.jsx(En, { present: n || o.open, children: /* @__PURE__ */ p.jsx(ia, { asChild: !0, container: s, children: r }) }) });
|
|
9235
9238
|
};
|
|
9236
9239
|
vL.displayName = VS;
|
|
9237
9240
|
var rl = "PopoverContent", yL = S.forwardRef(
|
|
@@ -9317,7 +9320,7 @@ var RJ = S.forwardRef(
|
|
|
9317
9320
|
onMountAutoFocus: s,
|
|
9318
9321
|
onUnmountAutoFocus: o,
|
|
9319
9322
|
children: /* @__PURE__ */ p.jsx(
|
|
9320
|
-
|
|
9323
|
+
oa,
|
|
9321
9324
|
{
|
|
9322
9325
|
asChild: !0,
|
|
9323
9326
|
disableOutsidePointerEvents: i,
|
|
@@ -11446,7 +11449,7 @@ function s4(t, e) {
|
|
|
11446
11449
|
e = t[n].type.name + "(" + e + ")";
|
|
11447
11450
|
return e;
|
|
11448
11451
|
}
|
|
11449
|
-
class
|
|
11452
|
+
class Wi {
|
|
11450
11453
|
/**
|
|
11451
11454
|
@internal
|
|
11452
11455
|
*/
|
|
@@ -11459,7 +11462,7 @@ class Hi {
|
|
|
11459
11462
|
static parse(e, n) {
|
|
11460
11463
|
let r = new CQ(e, n);
|
|
11461
11464
|
if (r.next == null)
|
|
11462
|
-
return
|
|
11465
|
+
return Wi.empty;
|
|
11463
11466
|
let s = o4(r);
|
|
11464
11467
|
r.next && r.err("Unexpected trailing text");
|
|
11465
11468
|
let o = AQ(NQ(s));
|
|
@@ -11608,7 +11611,7 @@ class Hi {
|
|
|
11608
11611
|
`);
|
|
11609
11612
|
}
|
|
11610
11613
|
}
|
|
11611
|
-
|
|
11614
|
+
Wi.empty = new Wi(!0);
|
|
11612
11615
|
class CQ {
|
|
11613
11616
|
constructor(e, n) {
|
|
11614
11617
|
this.string = e, this.nodeTypes = n, this.inline = null, this.pos = 0, this.tokens = e.split(/\s*(?=\b|\W|$)/), this.tokens[this.tokens.length - 1] == "" && this.tokens.pop(), this.tokens[0] == "" && this.tokens.shift();
|
|
@@ -11771,7 +11774,7 @@ function AQ(t) {
|
|
|
11771
11774
|
});
|
|
11772
11775
|
});
|
|
11773
11776
|
});
|
|
11774
|
-
let o = e[r.join(",")] = new
|
|
11777
|
+
let o = e[r.join(",")] = new Wi(r.indexOf(t.length - 1) > -1);
|
|
11775
11778
|
for (let i = 0; i < s.length; i++) {
|
|
11776
11779
|
let a = s[i][1].sort(i4);
|
|
11777
11780
|
o.next.push({ type: s[i][0], next: e[a.join(",")] || n(a) });
|
|
@@ -11854,7 +11857,7 @@ let CT = class d4 {
|
|
|
11854
11857
|
True for node types that allow no content.
|
|
11855
11858
|
*/
|
|
11856
11859
|
get isLeaf() {
|
|
11857
|
-
return this.contentMatch ==
|
|
11860
|
+
return this.contentMatch == Wi.empty;
|
|
11858
11861
|
}
|
|
11859
11862
|
/**
|
|
11860
11863
|
True when this node is an atom, i.e. when it does not have
|
|
@@ -12095,7 +12098,7 @@ class f4 {
|
|
|
12095
12098
|
if (s in this.marks)
|
|
12096
12099
|
throw new RangeError(s + " can not be both a node and a mark");
|
|
12097
12100
|
let o = this.nodes[s], i = o.spec.content || "", a = o.spec.marks;
|
|
12098
|
-
if (o.contentMatch = r[i] || (r[i] =
|
|
12101
|
+
if (o.contentMatch = r[i] || (r[i] = Wi.parse(i, this.nodes)), o.inlineContent = o.contentMatch.inlineContent, o.spec.linebreakReplacement) {
|
|
12099
12102
|
if (this.linebreakReplacement)
|
|
12100
12103
|
throw new RangeError("Multiple linebreak nodes defined");
|
|
12101
12104
|
if (!o.isInline || !o.isLeaf)
|
|
@@ -12678,7 +12681,7 @@ function TT(t, e) {
|
|
|
12678
12681
|
return !0;
|
|
12679
12682
|
}
|
|
12680
12683
|
}
|
|
12681
|
-
class
|
|
12684
|
+
class aa {
|
|
12682
12685
|
/**
|
|
12683
12686
|
Create a serializer. `nodes` should map node names to functions
|
|
12684
12687
|
that take a node and return a description of the corresponding
|
|
@@ -12765,7 +12768,7 @@ class ia {
|
|
|
12765
12768
|
properties in a schema's node and mark specs.
|
|
12766
12769
|
*/
|
|
12767
12770
|
static fromSchema(e) {
|
|
12768
|
-
return e.cached.domSerializer || (e.cached.domSerializer = new
|
|
12771
|
+
return e.cached.domSerializer || (e.cached.domSerializer = new aa(this.nodesFromSchema(e), this.marksFromSchema(e)));
|
|
12769
12772
|
}
|
|
12770
12773
|
/**
|
|
12771
12774
|
Gather the serializers in a schema's node specs into an object.
|
|
@@ -13292,7 +13295,7 @@ class Eo extends kn {
|
|
|
13292
13295
|
return new Eo(this.pos, this.mark);
|
|
13293
13296
|
}
|
|
13294
13297
|
}
|
|
13295
|
-
return new
|
|
13298
|
+
return new Ui(this.pos, this.mark);
|
|
13296
13299
|
}
|
|
13297
13300
|
map(e) {
|
|
13298
13301
|
let n = e.mapResult(this.pos, 1);
|
|
@@ -13311,7 +13314,7 @@ class Eo extends kn {
|
|
|
13311
13314
|
}
|
|
13312
13315
|
}
|
|
13313
13316
|
kn.jsonID("addNodeMark", Eo);
|
|
13314
|
-
class
|
|
13317
|
+
class Ui extends kn {
|
|
13315
13318
|
/**
|
|
13316
13319
|
Create a mark-removing step.
|
|
13317
13320
|
*/
|
|
@@ -13331,7 +13334,7 @@ class Wi extends kn {
|
|
|
13331
13334
|
}
|
|
13332
13335
|
map(e) {
|
|
13333
13336
|
let n = e.mapResult(this.pos, 1);
|
|
13334
|
-
return n.deletedAfter ? null : new
|
|
13337
|
+
return n.deletedAfter ? null : new Ui(n.pos, this.mark);
|
|
13335
13338
|
}
|
|
13336
13339
|
toJSON() {
|
|
13337
13340
|
return { stepType: "removeNodeMark", pos: this.pos, mark: this.mark.toJSON() };
|
|
@@ -13342,10 +13345,10 @@ class Wi extends kn {
|
|
|
13342
13345
|
static fromJSON(e, n) {
|
|
13343
13346
|
if (typeof n.pos != "number")
|
|
13344
13347
|
throw new RangeError("Invalid input for RemoveNodeMarkStep.fromJSON");
|
|
13345
|
-
return new
|
|
13348
|
+
return new Ui(n.pos, e.markFromJSON(n.mark));
|
|
13346
13349
|
}
|
|
13347
13350
|
}
|
|
13348
|
-
kn.jsonID("removeNodeMark",
|
|
13351
|
+
kn.jsonID("removeNodeMark", Ui);
|
|
13349
13352
|
class Qt extends kn {
|
|
13350
13353
|
/**
|
|
13351
13354
|
The given `slice` should fit the 'gap' between `from` and
|
|
@@ -14042,7 +14045,7 @@ function T4(t, e) {
|
|
|
14042
14045
|
}
|
|
14043
14046
|
return n;
|
|
14044
14047
|
}
|
|
14045
|
-
class
|
|
14048
|
+
class Ga extends kn {
|
|
14046
14049
|
/**
|
|
14047
14050
|
Construct an attribute step.
|
|
14048
14051
|
*/
|
|
@@ -14064,11 +14067,11 @@ class Ka extends kn {
|
|
|
14064
14067
|
return Qn.empty;
|
|
14065
14068
|
}
|
|
14066
14069
|
invert(e) {
|
|
14067
|
-
return new
|
|
14070
|
+
return new Ga(this.pos, this.attr, e.nodeAt(this.pos).attrs[this.attr]);
|
|
14068
14071
|
}
|
|
14069
14072
|
map(e) {
|
|
14070
14073
|
let n = e.mapResult(this.pos, 1);
|
|
14071
|
-
return n.deletedAfter ? null : new
|
|
14074
|
+
return n.deletedAfter ? null : new Ga(n.pos, this.attr, this.value);
|
|
14072
14075
|
}
|
|
14073
14076
|
toJSON() {
|
|
14074
14077
|
return { stepType: "attr", pos: this.pos, attr: this.attr, value: this.value };
|
|
@@ -14076,10 +14079,10 @@ class Ka extends kn {
|
|
|
14076
14079
|
static fromJSON(e, n) {
|
|
14077
14080
|
if (typeof n.pos != "number" || typeof n.attr != "string")
|
|
14078
14081
|
throw new RangeError("Invalid input for AttrStep.fromJSON");
|
|
14079
|
-
return new
|
|
14082
|
+
return new Ga(n.pos, n.attr, n.value);
|
|
14080
14083
|
}
|
|
14081
14084
|
}
|
|
14082
|
-
kn.jsonID("attr",
|
|
14085
|
+
kn.jsonID("attr", Ga);
|
|
14083
14086
|
class Yc extends kn {
|
|
14084
14087
|
/**
|
|
14085
14088
|
Construct an attribute step.
|
|
@@ -14280,7 +14283,7 @@ let N4 = class {
|
|
|
14280
14283
|
to set attributes on the document itself.
|
|
14281
14284
|
*/
|
|
14282
14285
|
setNodeAttribute(e, n, r) {
|
|
14283
|
-
return this.step(new
|
|
14286
|
+
return this.step(new Ga(e, n, r)), this;
|
|
14284
14287
|
}
|
|
14285
14288
|
/**
|
|
14286
14289
|
Set a single attribute on the document to a new value.
|
|
@@ -14303,11 +14306,11 @@ let N4 = class {
|
|
|
14303
14306
|
if (!r)
|
|
14304
14307
|
throw new RangeError("No node at position " + e);
|
|
14305
14308
|
if (n instanceof pt)
|
|
14306
|
-
n.isInSet(r.marks) && this.step(new
|
|
14309
|
+
n.isInSet(r.marks) && this.step(new Ui(e, n));
|
|
14307
14310
|
else {
|
|
14308
14311
|
let s = r.marks, o, i = [];
|
|
14309
14312
|
for (; o = n.isInSet(s); )
|
|
14310
|
-
i.push(new
|
|
14313
|
+
i.push(new Ui(e, o)), s = o.removeFromSet(s);
|
|
14311
14314
|
for (let a = i.length - 1; a >= 0; a--)
|
|
14312
14315
|
this.step(i[a]);
|
|
14313
14316
|
}
|
|
@@ -14443,11 +14446,11 @@ let Xe = class {
|
|
|
14443
14446
|
found.
|
|
14444
14447
|
*/
|
|
14445
14448
|
static findFrom(e, n, r = !1) {
|
|
14446
|
-
let s = e.parent.inlineContent ? new qe(e) :
|
|
14449
|
+
let s = e.parent.inlineContent ? new qe(e) : Ea(e.node(0), e.parent, e.pos, e.index(), n, r);
|
|
14447
14450
|
if (s)
|
|
14448
14451
|
return s;
|
|
14449
14452
|
for (let o = e.depth - 1; o >= 0; o--) {
|
|
14450
|
-
let i = n < 0 ?
|
|
14453
|
+
let i = n < 0 ? Ea(e.node(0), e.node(o), e.before(o + 1), e.index(o), n, r) : Ea(e.node(0), e.node(o), e.after(o + 1), e.index(o) + 1, n, r);
|
|
14451
14454
|
if (i)
|
|
14452
14455
|
return i;
|
|
14453
14456
|
}
|
|
@@ -14468,14 +14471,14 @@ let Xe = class {
|
|
|
14468
14471
|
exists.
|
|
14469
14472
|
*/
|
|
14470
14473
|
static atStart(e) {
|
|
14471
|
-
return
|
|
14474
|
+
return Ea(e, e, 0, 0, 1) || new nr(e);
|
|
14472
14475
|
}
|
|
14473
14476
|
/**
|
|
14474
14477
|
Find the cursor or leaf node selection closest to the end of the
|
|
14475
14478
|
given document.
|
|
14476
14479
|
*/
|
|
14477
14480
|
static atEnd(e) {
|
|
14478
|
-
return
|
|
14481
|
+
return Ea(e, e, e.content.size, e.childCount, -1) || new nr(e);
|
|
14479
14482
|
}
|
|
14480
14483
|
/**
|
|
14481
14484
|
Deserialize the JSON representation of a selection. Must be
|
|
@@ -14714,7 +14717,7 @@ const cee = {
|
|
|
14714
14717
|
return new nr(t);
|
|
14715
14718
|
}
|
|
14716
14719
|
};
|
|
14717
|
-
function
|
|
14720
|
+
function Ea(t, e, n, r, s, o = !1) {
|
|
14718
14721
|
if (e.inlineContent)
|
|
14719
14722
|
return qe.create(t, n);
|
|
14720
14723
|
for (let i = r - (s > 0 ? 0 : 1); s > 0 ? i < e.childCount : i >= 0; i += s) {
|
|
@@ -14723,7 +14726,7 @@ function Sa(t, e, n, r, s, o = !1) {
|
|
|
14723
14726
|
if (!o && De.isSelectable(a))
|
|
14724
14727
|
return De.create(t, n - (s < 0 ? a.nodeSize : 0));
|
|
14725
14728
|
} else {
|
|
14726
|
-
let l =
|
|
14729
|
+
let l = Ea(t, a, n + s, s < 0 ? a.childCount : 0, s, o);
|
|
14727
14730
|
if (l)
|
|
14728
14731
|
return l;
|
|
14729
14732
|
}
|
|
@@ -14946,7 +14949,7 @@ class _g {
|
|
|
14946
14949
|
});
|
|
14947
14950
|
}
|
|
14948
14951
|
}
|
|
14949
|
-
class
|
|
14952
|
+
class Ia {
|
|
14950
14953
|
/**
|
|
14951
14954
|
@internal
|
|
14952
14955
|
*/
|
|
@@ -15021,7 +15024,7 @@ class Ra {
|
|
|
15021
15024
|
applyInner(e) {
|
|
15022
15025
|
if (!e.before.eq(this.doc))
|
|
15023
15026
|
throw new RangeError("Applying a mismatched transaction");
|
|
15024
|
-
let n = new
|
|
15027
|
+
let n = new Ia(this.config), r = this.config.fields;
|
|
15025
15028
|
for (let s = 0; s < r.length; s++) {
|
|
15026
15029
|
let o = r[s];
|
|
15027
15030
|
n[o.name] = o.apply(e, this[o.name], this, n);
|
|
@@ -15038,7 +15041,7 @@ class Ra {
|
|
|
15038
15041
|
Create a new state.
|
|
15039
15042
|
*/
|
|
15040
15043
|
static create(e) {
|
|
15041
|
-
let n = new _g(e.doc ? e.doc.type.schema : e.schema, e.plugins), r = new
|
|
15044
|
+
let n = new _g(e.doc ? e.doc.type.schema : e.schema, e.plugins), r = new Ia(n);
|
|
15042
15045
|
for (let s = 0; s < n.fields.length; s++)
|
|
15043
15046
|
r[n.fields[s].name] = n.fields[s].init(e, r);
|
|
15044
15047
|
return r;
|
|
@@ -15052,7 +15055,7 @@ class Ra {
|
|
|
15052
15055
|
configuration object..
|
|
15053
15056
|
*/
|
|
15054
15057
|
reconfigure(e) {
|
|
15055
|
-
let n = new _g(this.schema, e.plugins), r = n.fields, s = new
|
|
15058
|
+
let n = new _g(this.schema, e.plugins), r = n.fields, s = new Ia(n);
|
|
15056
15059
|
for (let o = 0; o < r.length; o++) {
|
|
15057
15060
|
let i = r[o].name;
|
|
15058
15061
|
s[i] = this.hasOwnProperty(i) ? this[i] : r[o].init(e, s);
|
|
@@ -15089,7 +15092,7 @@ class Ra {
|
|
|
15089
15092
|
throw new RangeError("Invalid input for EditorState.fromJSON");
|
|
15090
15093
|
if (!e.schema)
|
|
15091
15094
|
throw new RangeError("Required config field 'schema' missing");
|
|
15092
|
-
let s = new _g(e.schema, e.plugins), o = new
|
|
15095
|
+
let s = new _g(e.schema, e.plugins), o = new Ia(s);
|
|
15093
15096
|
return s.fields.forEach((i) => {
|
|
15094
15097
|
if (i.name == "doc")
|
|
15095
15098
|
o.doc = Ro.fromJSON(e.schema, n.doc);
|
|
@@ -15612,7 +15615,7 @@ const Ns = function(t, e, n) {
|
|
|
15612
15615
|
return r.setEnd(t, n ?? t.nodeValue.length), r.setStart(t, e || 0), r;
|
|
15613
15616
|
}, Iee = function() {
|
|
15614
15617
|
Nw = null;
|
|
15615
|
-
},
|
|
15618
|
+
}, Ki = function(t, e, n, r) {
|
|
15616
15619
|
return n && (VT(t, e, n, r, -1) || VT(t, e, n, r, 1));
|
|
15617
15620
|
}, Oee = /^(img|br|input|textarea|hr)$/i;
|
|
15618
15621
|
function VT(t, e, n, r, s) {
|
|
@@ -15685,7 +15688,7 @@ function Xu(t) {
|
|
|
15685
15688
|
return e && e.node && e.node.isBlock && (e.dom == t || e.contentDOM == t);
|
|
15686
15689
|
}
|
|
15687
15690
|
const Fp = function(t) {
|
|
15688
|
-
return t.focusNode &&
|
|
15691
|
+
return t.focusNode && Ki(t.focusNode, t.focusOffset, t.anchorNode, t.anchorOffset);
|
|
15689
15692
|
};
|
|
15690
15693
|
function bi(t, e) {
|
|
15691
15694
|
let n = document.createEvent("Event");
|
|
@@ -15793,18 +15796,18 @@ function K4(t, e) {
|
|
|
15793
15796
|
r.scrollTop != s + e && (r.scrollTop = s + e), r.scrollLeft != o && (r.scrollLeft = o);
|
|
15794
15797
|
}
|
|
15795
15798
|
}
|
|
15796
|
-
let
|
|
15799
|
+
let Ca = null;
|
|
15797
15800
|
function Hee(t) {
|
|
15798
15801
|
if (t.setActive)
|
|
15799
15802
|
return t.setActive();
|
|
15800
|
-
if (
|
|
15801
|
-
return t.focus(
|
|
15803
|
+
if (Ca)
|
|
15804
|
+
return t.focus(Ca);
|
|
15802
15805
|
let e = U4(t);
|
|
15803
|
-
t.focus(
|
|
15806
|
+
t.focus(Ca == null ? {
|
|
15804
15807
|
get preventScroll() {
|
|
15805
|
-
return
|
|
15808
|
+
return Ca = { preventScroll: !0 }, !0;
|
|
15806
15809
|
}
|
|
15807
|
-
} : void 0),
|
|
15810
|
+
} : void 0), Ca || (Ca = !1, K4(e, 0));
|
|
15808
15811
|
}
|
|
15809
15812
|
function G4(t, e) {
|
|
15810
15813
|
let n, r = 2e8, s, o = 0, i = e.top, a = e.top, l, c;
|
|
@@ -16332,7 +16335,7 @@ class Qu {
|
|
|
16332
16335
|
let h = u.focusNode.childNodes[u.focusOffset];
|
|
16333
16336
|
h && h.contentEditable == "false" && (s = !0);
|
|
16334
16337
|
}
|
|
16335
|
-
if (!(s || d && Cn) &&
|
|
16338
|
+
if (!(s || d && Cn) && Ki(a.node, a.offset, u.anchorNode, u.anchorOffset) && Ki(l.node, l.offset, u.focusNode, u.focusOffset))
|
|
16336
16339
|
return;
|
|
16337
16340
|
let f = !1;
|
|
16338
16341
|
if ((c.extend || e == n) && !(d && gr)) {
|
|
@@ -16454,13 +16457,13 @@ class tte extends Qu {
|
|
|
16454
16457
|
return e.type === "characterData" && e.target.nodeValue == e.oldValue;
|
|
16455
16458
|
}
|
|
16456
16459
|
}
|
|
16457
|
-
class
|
|
16460
|
+
class Gi extends Qu {
|
|
16458
16461
|
constructor(e, n, r, s, o) {
|
|
16459
16462
|
super(e, [], r, s), this.mark = n, this.spec = o;
|
|
16460
16463
|
}
|
|
16461
16464
|
static create(e, n, r, s) {
|
|
16462
16465
|
let o = s.nodeViews[n.type.name], i = o && o(n, s, r);
|
|
16463
|
-
return (!i || !i.dom) && (i =
|
|
16466
|
+
return (!i || !i.dom) && (i = aa.renderSpec(document, n.type.spec.toDOM(n, r), null, n.attrs)), new Gi(e, n, i.dom, i.contentDOM || i.dom, i);
|
|
16464
16467
|
}
|
|
16465
16468
|
parseRule() {
|
|
16466
16469
|
return this.dirty & ls || this.mark.type.spec.reparseInView ? null : { mark: this.mark.type.name, attrs: this.mark.attrs, contentElement: this.contentDOM };
|
|
@@ -16477,7 +16480,7 @@ class Ki extends Qu {
|
|
|
16477
16480
|
}
|
|
16478
16481
|
}
|
|
16479
16482
|
slice(e, n, r) {
|
|
16480
|
-
let s =
|
|
16483
|
+
let s = Gi.create(this.parent, this.mark, !0, r), o = this.children, i = this.size;
|
|
16481
16484
|
n < i && (o = Ow(o, n, i, r)), e > 0 && (o = Ow(o, 0, e, r));
|
|
16482
16485
|
for (let a = 0; a < o.length; a++)
|
|
16483
16486
|
o[a].parent = s;
|
|
@@ -16515,7 +16518,7 @@ class Oo extends Qu {
|
|
|
16515
16518
|
u = document.createTextNode(n.text);
|
|
16516
16519
|
else if (u.nodeType != 3)
|
|
16517
16520
|
throw new RangeError("Text must be rendered as a DOM text node");
|
|
16518
|
-
} else u || ({ dom: u, contentDOM: d } =
|
|
16521
|
+
} else u || ({ dom: u, contentDOM: d } = aa.renderSpec(document, n.type.spec.toDOM(n), null, n.attrs));
|
|
16519
16522
|
!d && !n.isText && u.nodeName != "BR" && (u.hasAttribute("contenteditable") || (u.contentEditable = "false"), n.type.spec.draggable && (u.draggable = !0));
|
|
16520
16523
|
let f = u;
|
|
16521
16524
|
return u = n6(u, r, n), c ? l = new nte(e, n, r, s, u, d || null, f, c, o, i + 1) : n.isText ? new Vp(e, n, r, s, u, f, o) : new Oo(e, n, r, s, u, d || null, f, o, i + 1);
|
|
@@ -16722,7 +16725,7 @@ function e6(t, e, n) {
|
|
|
16722
16725
|
r = r.nextSibling;
|
|
16723
16726
|
} else
|
|
16724
16727
|
s = !0, t.insertBefore(a, r);
|
|
16725
|
-
if (i instanceof
|
|
16728
|
+
if (i instanceof Gi) {
|
|
16726
16729
|
let l = r ? r.previousSibling : t.lastChild;
|
|
16727
16730
|
e6(i.contentDOM, i.children, n), r = l ? l.nextSibling : t.firstChild;
|
|
16728
16731
|
}
|
|
@@ -16841,7 +16844,7 @@ class ste {
|
|
|
16841
16844
|
if (a > -1)
|
|
16842
16845
|
a > this.index && (this.changed = !0, this.destroyBetween(this.index, a)), this.top = this.top.children[this.index];
|
|
16843
16846
|
else {
|
|
16844
|
-
let l =
|
|
16847
|
+
let l = Gi.create(this.top, e[o], n, r);
|
|
16845
16848
|
this.top.children.splice(this.index, 0, l), this.top = l, this.changed = !0;
|
|
16846
16849
|
}
|
|
16847
16850
|
this.index = 0, o++;
|
|
@@ -16934,7 +16937,7 @@ class ste {
|
|
|
16934
16937
|
// contentEditable.
|
|
16935
16938
|
addTextblockHacks() {
|
|
16936
16939
|
let e = this.top.children[this.index - 1], n = this.top;
|
|
16937
|
-
for (; e instanceof
|
|
16940
|
+
for (; e instanceof Gi; )
|
|
16938
16941
|
n = e, e = n.children[n.children.length - 1];
|
|
16939
16942
|
(!e || // Empty textblock
|
|
16940
16943
|
!(e instanceof Vp) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((Cn || en) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", n), this.addHackNode("BR", this.top));
|
|
@@ -16960,7 +16963,7 @@ function ote(t, e) {
|
|
|
16960
16963
|
for (; ; )
|
|
16961
16964
|
if (r) {
|
|
16962
16965
|
let c = n.children[r - 1];
|
|
16963
|
-
if (c instanceof
|
|
16966
|
+
if (c instanceof Gi)
|
|
16964
16967
|
n = c, r = c.children.length;
|
|
16965
16968
|
else {
|
|
16966
16969
|
a = c, r--;
|
|
@@ -17115,7 +17118,7 @@ function Os(t, e = !1) {
|
|
|
17115
17118
|
if (s6(t, n), !!r6(t)) {
|
|
17116
17119
|
if (!e && t.input.mouseDown && t.input.mouseDown.allowDefault && en) {
|
|
17117
17120
|
let r = t.domSelectionRange(), s = t.domObserver.currentSelection;
|
|
17118
|
-
if (r.anchorNode && s.anchorNode &&
|
|
17121
|
+
if (r.anchorNode && s.anchorNode && Ki(r.anchorNode, r.anchorOffset, s.anchorNode, s.anchorOffset)) {
|
|
17119
17122
|
t.input.mouseDown.delayedSelectionSync = !0, t.domObserver.setCurSelection();
|
|
17120
17123
|
return;
|
|
17121
17124
|
}
|
|
@@ -17192,7 +17195,7 @@ function o6(t) {
|
|
|
17192
17195
|
}
|
|
17193
17196
|
function fte(t) {
|
|
17194
17197
|
let e = t.docView.domFromPos(t.state.selection.anchor, 0), n = t.domSelectionRange();
|
|
17195
|
-
return
|
|
17198
|
+
return Ki(e.node, e.offset, n.anchorNode, n.anchorOffset);
|
|
17196
17199
|
}
|
|
17197
17200
|
function Dw(t, e) {
|
|
17198
17201
|
let { $anchor: n, $head: r } = t.selection, s = e > 0 ? n.max(r) : n.min(r), o = s.parent.inlineContent ? s.depth ? t.doc.resolve(e > 0 ? s.after() : s.before()) : null : s;
|
|
@@ -17238,7 +17241,7 @@ function Sc(t, e) {
|
|
|
17238
17241
|
let n = t.pmViewDesc;
|
|
17239
17242
|
return n && n.size == 0 && (e < 0 || t.nextSibling || t.nodeName != "BR");
|
|
17240
17243
|
}
|
|
17241
|
-
function
|
|
17244
|
+
function Sa(t, e) {
|
|
17242
17245
|
return e < 0 ? hte(t) : pte(t);
|
|
17243
17246
|
}
|
|
17244
17247
|
function hte(t) {
|
|
@@ -17425,22 +17428,22 @@ function yte(t) {
|
|
|
17425
17428
|
function xte(t, e) {
|
|
17426
17429
|
let n = e.keyCode, r = yte(e);
|
|
17427
17430
|
if (n == 8 || fr && n == 72 && r == "c")
|
|
17428
|
-
return rN(t, -1) ||
|
|
17431
|
+
return rN(t, -1) || Sa(t, -1);
|
|
17429
17432
|
if (n == 46 && !e.shiftKey || fr && n == 68 && r == "c")
|
|
17430
|
-
return rN(t, 1) ||
|
|
17433
|
+
return rN(t, 1) || Sa(t, 1);
|
|
17431
17434
|
if (n == 13 || n == 27)
|
|
17432
17435
|
return !0;
|
|
17433
17436
|
if (n == 37 || fr && n == 66 && r == "c") {
|
|
17434
17437
|
let s = n == 37 ? tN(t, t.state.selection.from) == "ltr" ? -1 : 1 : -1;
|
|
17435
|
-
return eN(t, s, r) ||
|
|
17438
|
+
return eN(t, s, r) || Sa(t, s);
|
|
17436
17439
|
} else if (n == 39 || fr && n == 70 && r == "c") {
|
|
17437
17440
|
let s = n == 39 ? tN(t, t.state.selection.from) == "ltr" ? 1 : -1 : 1;
|
|
17438
|
-
return eN(t, s, r) ||
|
|
17441
|
+
return eN(t, s, r) || Sa(t, s);
|
|
17439
17442
|
} else {
|
|
17440
17443
|
if (n == 38 || fr && n == 80 && r == "c")
|
|
17441
|
-
return nN(t, -1, r) ||
|
|
17444
|
+
return nN(t, -1, r) || Sa(t, -1);
|
|
17442
17445
|
if (n == 40 || fr && n == 78 && r == "c")
|
|
17443
|
-
return vte(t) || nN(t, 1, r) ||
|
|
17446
|
+
return vte(t) || nN(t, 1, r) || Sa(t, 1);
|
|
17444
17447
|
if (r == (fr ? "m" : "c") && (n == 66 || n == 73 || n == 89 || n == 90))
|
|
17445
17448
|
return !0;
|
|
17446
17449
|
}
|
|
@@ -17456,7 +17459,7 @@ function oE(t, e) {
|
|
|
17456
17459
|
let h = r.firstChild;
|
|
17457
17460
|
n.push(h.type.name, h.attrs != h.type.defaultAttrs ? h.attrs : null), r = h.content;
|
|
17458
17461
|
}
|
|
17459
|
-
let i = t.someProp("clipboardSerializer") ||
|
|
17462
|
+
let i = t.someProp("clipboardSerializer") || aa.fromSchema(t.state.schema), a = f6(), l = a.createElement("div");
|
|
17460
17463
|
l.appendChild(i.serializeFragment(r, { document: a }));
|
|
17461
17464
|
let c = l.firstChild, u, d = 0;
|
|
17462
17465
|
for (; c && c.nodeType == 1 && (u = d6[c.nodeName.toLowerCase()]); ) {
|
|
@@ -17491,7 +17494,7 @@ function a6(t, e, n, r, s) {
|
|
|
17491
17494
|
if (d)
|
|
17492
17495
|
a = d;
|
|
17493
17496
|
else {
|
|
17494
|
-
let f = s.marks(), { schema: h } = t.state, m =
|
|
17497
|
+
let f = s.marks(), { schema: h } = t.state, m = aa.fromSchema(h);
|
|
17495
17498
|
i = document.createElement("div"), e.split(/(?:\r\n?|\n)+/).forEach((g) => {
|
|
17496
17499
|
let v = i.appendChild(document.createElement("p"));
|
|
17497
17500
|
g && v.appendChild(m.serializeNode(h.text(g, f)));
|
|
@@ -17728,7 +17731,7 @@ function aE(t, e, n, r, s) {
|
|
|
17728
17731
|
return !0;
|
|
17729
17732
|
return !1;
|
|
17730
17733
|
}
|
|
17731
|
-
function
|
|
17734
|
+
function Ya(t, e, n) {
|
|
17732
17735
|
if (t.focused || t.focus(), t.state.selection.eq(e))
|
|
17733
17736
|
return;
|
|
17734
17737
|
let r = t.state.tr.setSelection(e);
|
|
@@ -17738,7 +17741,7 @@ function Ote(t, e) {
|
|
|
17738
17741
|
if (e == -1)
|
|
17739
17742
|
return !1;
|
|
17740
17743
|
let n = t.state.doc.resolve(e), r = n.nodeAfter;
|
|
17741
|
-
return r && r.isAtom && De.isSelectable(r) ? (
|
|
17744
|
+
return r && r.isAtom && De.isSelectable(r) ? (Ya(t, new De(n)), !0) : !1;
|
|
17742
17745
|
}
|
|
17743
17746
|
function Dte(t, e) {
|
|
17744
17747
|
if (e == -1)
|
|
@@ -17753,7 +17756,7 @@ function Dte(t, e) {
|
|
|
17753
17756
|
break;
|
|
17754
17757
|
}
|
|
17755
17758
|
}
|
|
17756
|
-
return s != null ? (
|
|
17759
|
+
return s != null ? (Ya(t, De.create(t.state.doc, s)), !0) : !1;
|
|
17757
17760
|
}
|
|
17758
17761
|
function Pte(t, e, n, r, s) {
|
|
17759
17762
|
return aE(t, "handleClickOn", e, n, r) || t.someProp("handleClick", (o) => o(t, e, r)) || (s ? Dte(t, n) : Ote(t, n));
|
|
@@ -17769,14 +17772,14 @@ function Fte(t, e, n) {
|
|
|
17769
17772
|
return !1;
|
|
17770
17773
|
let r = t.state.doc;
|
|
17771
17774
|
if (e == -1)
|
|
17772
|
-
return r.inlineContent ? (
|
|
17775
|
+
return r.inlineContent ? (Ya(t, qe.create(r, 0, r.content.size)), !0) : !1;
|
|
17773
17776
|
let s = r.resolve(e);
|
|
17774
17777
|
for (let o = s.depth + 1; o > 0; o--) {
|
|
17775
17778
|
let i = o > s.depth ? s.nodeAfter : s.node(o), a = s.before(o);
|
|
17776
17779
|
if (i.inlineContent)
|
|
17777
|
-
|
|
17780
|
+
Ya(t, qe.create(r, a + 1, a + 1 + i.content.size));
|
|
17778
17781
|
else if (De.isSelectable(i))
|
|
17779
|
-
|
|
17782
|
+
Ya(t, De.create(r, a));
|
|
17780
17783
|
else
|
|
17781
17784
|
continue;
|
|
17782
17785
|
return !0;
|
|
@@ -17831,7 +17834,7 @@ class Vte {
|
|
|
17831
17834
|
// (hidden) cursor is doesn't change the selection, and
|
|
17832
17835
|
// thus doesn't get a reaction from ProseMirror. This
|
|
17833
17836
|
// works around that.
|
|
17834
|
-
en && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (
|
|
17837
|
+
en && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (Ya(this.view, Xe.near(this.view.state.doc.resolve(n.pos))), e.preventDefault()) : ko(this.view, "pointer");
|
|
17835
17838
|
}
|
|
17836
17839
|
move(e) {
|
|
17837
17840
|
this.updateAllowDefault(e), ko(this.view, "pointer"), e.buttons == 0 && this.done();
|
|
@@ -18219,13 +18222,13 @@ class Mn {
|
|
|
18219
18222
|
return this.type instanceof Qf;
|
|
18220
18223
|
}
|
|
18221
18224
|
}
|
|
18222
|
-
const
|
|
18225
|
+
const ka = [], Di = {};
|
|
18223
18226
|
class Tt {
|
|
18224
18227
|
/**
|
|
18225
18228
|
@internal
|
|
18226
18229
|
*/
|
|
18227
18230
|
constructor(e, n) {
|
|
18228
|
-
this.local = e.length ? e :
|
|
18231
|
+
this.local = e.length ? e : ka, this.children = n.length ? n : ka;
|
|
18229
18232
|
}
|
|
18230
18233
|
/**
|
|
18231
18234
|
Create a set of decorations, using the structure of the given
|
|
@@ -18274,7 +18277,7 @@ class Tt {
|
|
|
18274
18277
|
let l = this.local[a].map(e, r, s);
|
|
18275
18278
|
l && l.type.valid(n, l) ? (i || (i = [])).push(l) : o.onRemove && o.onRemove(this.local[a].spec);
|
|
18276
18279
|
}
|
|
18277
|
-
return this.children.length ? Yte(this.children, i || [], e, n, r, s, o) : i ? new Tt(i.sort(Pi),
|
|
18280
|
+
return this.children.length ? Yte(this.children, i || [], e, n, r, s, o) : i ? new Tt(i.sort(Pi), ka) : vn;
|
|
18278
18281
|
}
|
|
18279
18282
|
/**
|
|
18280
18283
|
Add the given array of decorations to the ones in the set,
|
|
@@ -18347,7 +18350,7 @@ class Tt {
|
|
|
18347
18350
|
}
|
|
18348
18351
|
}
|
|
18349
18352
|
if (s) {
|
|
18350
|
-
let a = new Tt(s.sort(Pi),
|
|
18353
|
+
let a = new Tt(s.sort(Pi), ka);
|
|
18351
18354
|
return r ? new xo([a, r]) : a;
|
|
18352
18355
|
}
|
|
18353
18356
|
return r || vn;
|
|
@@ -18379,7 +18382,7 @@ class Tt {
|
|
|
18379
18382
|
*/
|
|
18380
18383
|
localsInner(e) {
|
|
18381
18384
|
if (this == vn)
|
|
18382
|
-
return
|
|
18385
|
+
return ka;
|
|
18383
18386
|
if (e.inlineContent || !this.local.some(Do.is))
|
|
18384
18387
|
return this.local;
|
|
18385
18388
|
let n = [];
|
|
@@ -18433,7 +18436,7 @@ class xo {
|
|
|
18433
18436
|
n.push(o[i]);
|
|
18434
18437
|
}
|
|
18435
18438
|
}
|
|
18436
|
-
return n ? uE(r ? n : n.sort(Pi)) :
|
|
18439
|
+
return n ? uE(r ? n : n.sort(Pi)) : ka;
|
|
18437
18440
|
}
|
|
18438
18441
|
// Create a group for the given array of decoration sets, or return
|
|
18439
18442
|
// a single set when possible.
|
|
@@ -18656,7 +18659,7 @@ class ene {
|
|
|
18656
18659
|
return Os(this.view);
|
|
18657
18660
|
if (Un && Io <= 11 && !this.view.state.selection.empty) {
|
|
18658
18661
|
let e = this.view.domSelectionRange();
|
|
18659
|
-
if (e.focusNode &&
|
|
18662
|
+
if (e.focusNode && Ki(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset))
|
|
18660
18663
|
return this.flushSoon();
|
|
18661
18664
|
}
|
|
18662
18665
|
this.flush();
|
|
@@ -18766,7 +18769,7 @@ function tne(t) {
|
|
|
18766
18769
|
}
|
|
18767
18770
|
function uN(t, e) {
|
|
18768
18771
|
let n = e.startContainer, r = e.startOffset, s = e.endContainer, o = e.endOffset, i = t.domAtPos(t.state.selection.anchor);
|
|
18769
|
-
return
|
|
18772
|
+
return Ki(i.node, i.offset, s, o) && ([n, r, s, o] = [s, o, n, r]), { anchorNode: n, anchorOffset: r, focusNode: s, focusOffset: o };
|
|
18770
18773
|
}
|
|
18771
18774
|
function nne(t, e) {
|
|
18772
18775
|
if (e.getComposedRanges) {
|
|
@@ -20166,7 +20169,7 @@ function mE(t) {
|
|
|
20166
20169
|
}).flat(10);
|
|
20167
20170
|
}
|
|
20168
20171
|
function gE(t, e) {
|
|
20169
|
-
const n =
|
|
20172
|
+
const n = aa.fromSchema(e).serializeFragment(t), s = document.implementation.createHTMLDocument().createElement("div");
|
|
20170
20173
|
return s.appendChild(n), s.innerHTML;
|
|
20171
20174
|
}
|
|
20172
20175
|
function O6(t) {
|
|
@@ -21154,7 +21157,7 @@ var xE = class {
|
|
|
21154
21157
|
const e = new this.constructor({ ...this.config, ...t });
|
|
21155
21158
|
return e.parent = this, this.child = e, e.name = "name" in t ? t.name : e.parent.name, e;
|
|
21156
21159
|
}
|
|
21157
|
-
},
|
|
21160
|
+
}, la = class z6 extends xE {
|
|
21158
21161
|
constructor() {
|
|
21159
21162
|
super(...arguments), this.type = "mark";
|
|
21160
21163
|
}
|
|
@@ -21381,7 +21384,7 @@ var Kp = class {
|
|
|
21381
21384
|
s
|
|
21382
21385
|
);
|
|
21383
21386
|
let a = {};
|
|
21384
|
-
if (r.type === "mark" && Ie(r, "exitable", s) && (a.ArrowRight = () =>
|
|
21387
|
+
if (r.type === "mark" && Ie(r, "exitable", s) && (a.ArrowRight = () => la.handleExit({ editor: t, mark: r })), i) {
|
|
21385
21388
|
const f = Object.fromEntries(
|
|
21386
21389
|
Object.entries(i()).map(([h, m]) => [h, () => m({ editor: t })])
|
|
21387
21390
|
);
|
|
@@ -21855,7 +21858,7 @@ var $t = class q6 extends xE {
|
|
|
21855
21858
|
})
|
|
21856
21859
|
];
|
|
21857
21860
|
}
|
|
21858
|
-
}), ise = class
|
|
21861
|
+
}), ise = class _a {
|
|
21859
21862
|
constructor(e, n, r = !1, s = null) {
|
|
21860
21863
|
this.currentNode = null, this.actualDepth = null, this.isBlock = r, this.resolvedPos = e, this.editor = n, this.currentNode = s;
|
|
21861
21864
|
}
|
|
@@ -21914,15 +21917,15 @@ var $t = class q6 extends xE {
|
|
|
21914
21917
|
if (this.depth === 0)
|
|
21915
21918
|
return null;
|
|
21916
21919
|
const e = this.resolvedPos.start(this.resolvedPos.depth - 1), n = this.resolvedPos.doc.resolve(e);
|
|
21917
|
-
return new
|
|
21920
|
+
return new _a(n, this.editor);
|
|
21918
21921
|
}
|
|
21919
21922
|
get before() {
|
|
21920
21923
|
let e = this.resolvedPos.doc.resolve(this.from - (this.isBlock ? 1 : 2));
|
|
21921
|
-
return e.depth !== this.depth && (e = this.resolvedPos.doc.resolve(this.from - 3)), new
|
|
21924
|
+
return e.depth !== this.depth && (e = this.resolvedPos.doc.resolve(this.from - 3)), new _a(e, this.editor);
|
|
21922
21925
|
}
|
|
21923
21926
|
get after() {
|
|
21924
21927
|
let e = this.resolvedPos.doc.resolve(this.to + (this.isBlock ? 2 : 1));
|
|
21925
|
-
return e.depth !== this.depth && (e = this.resolvedPos.doc.resolve(this.to + 3)), new
|
|
21928
|
+
return e.depth !== this.depth && (e = this.resolvedPos.doc.resolve(this.to + 3)), new _a(e, this.editor);
|
|
21926
21929
|
}
|
|
21927
21930
|
get children() {
|
|
21928
21931
|
const e = [];
|
|
@@ -21933,8 +21936,8 @@ var $t = class q6 extends xE {
|
|
|
21933
21936
|
const a = this.resolvedPos.doc.resolve(i);
|
|
21934
21937
|
if (!s && a.depth <= this.depth)
|
|
21935
21938
|
return;
|
|
21936
|
-
const l = new
|
|
21937
|
-
s && (l.actualDepth = this.depth + 1), e.push(new
|
|
21939
|
+
const l = new _a(a, this.editor, s, s ? n : null);
|
|
21940
|
+
s && (l.actualDepth = this.depth + 1), e.push(new _a(a, this.editor, s, s ? n : null));
|
|
21938
21941
|
}), e;
|
|
21939
21942
|
}
|
|
21940
21943
|
get firstChild() {
|
|
@@ -22095,7 +22098,7 @@ var cse = class extends Yre {
|
|
|
22095
22098
|
onDelete: () => null
|
|
22096
22099
|
}, this.isCapturingTransaction = !1, this.capturedTransaction = null, this.setOptions(t), this.createExtensionManager(), this.createCommandManager(), this.createSchema(), this.on("beforeCreate", this.options.onBeforeCreate), this.emit("beforeCreate", { editor: this }), this.on("mount", this.options.onMount), this.on("unmount", this.options.onUnmount), this.on("contentError", this.options.onContentError), this.on("create", this.options.onCreate), this.on("update", this.options.onUpdate), this.on("selectionUpdate", this.options.onSelectionUpdate), this.on("transaction", this.options.onTransaction), this.on("focus", this.options.onFocus), this.on("blur", this.options.onBlur), this.on("destroy", this.options.onDestroy), this.on("drop", ({ event: r, slice: s, moved: o }) => this.options.onDrop(r, s, o)), this.on("paste", ({ event: r, slice: s }) => this.options.onPaste(r, s)), this.on("delete", this.options.onDelete);
|
|
22097
22100
|
const e = this.createDoc(), n = N6(e, this.options.autofocus);
|
|
22098
|
-
this.editorState =
|
|
22101
|
+
this.editorState = Ia.create({
|
|
22099
22102
|
doc: e,
|
|
22100
22103
|
schema: this.schema,
|
|
22101
22104
|
selection: n || void 0
|
|
@@ -22950,7 +22953,7 @@ var ir = class tF extends xE {
|
|
|
22950
22953
|
return super.extend(n);
|
|
22951
22954
|
}
|
|
22952
22955
|
};
|
|
22953
|
-
function
|
|
22956
|
+
function Yi(t) {
|
|
22954
22957
|
return new ese({
|
|
22955
22958
|
find: t.find,
|
|
22956
22959
|
handler: ({ state: e, range: n, match: r, pasteEvent: s }) => {
|
|
@@ -23451,7 +23454,7 @@ var MN = process.env.NODE_ENV !== "production", zw = typeof window > "u", Dse =
|
|
|
23451
23454
|
}
|
|
23452
23455
|
};
|
|
23453
23456
|
function sF(t = {}, e = []) {
|
|
23454
|
-
const n =
|
|
23457
|
+
const n = he(t);
|
|
23455
23458
|
n.current = t;
|
|
23456
23459
|
const [r] = oe(() => new Pse(n)), s = ZL.useSyncExternalStore(
|
|
23457
23460
|
r.subscribe,
|
|
@@ -23503,11 +23506,11 @@ var qw = ["Enter", " "], Vse = ["ArrowDown", "PageUp", "Home"], oF = ["ArrowUp",
|
|
|
23503
23506
|
}, zse = {
|
|
23504
23507
|
ltr: ["ArrowLeft"],
|
|
23505
23508
|
rtl: ["ArrowRight"]
|
|
23506
|
-
}, ed = "Menu", [eu, qse, Hse] = Ip(ed), [
|
|
23509
|
+
}, ed = "Menu", [eu, qse, Hse] = Ip(ed), [ca, iF] = pn(ed, [
|
|
23507
23510
|
Hse,
|
|
23508
23511
|
ei,
|
|
23509
23512
|
Rl
|
|
23510
|
-
]), td = ei(), aF = Rl(), [lF, si] =
|
|
23513
|
+
]), td = ei(), aF = Rl(), [lF, si] = ca(ed), [Wse, nd] = ca(ed), cF = (t) => {
|
|
23511
23514
|
const { __scopeMenu: e, open: n = !1, children: r, dir: s, onOpenChange: o, modal: i = !0 } = t, a = td(e), [l, c] = S.useState(null), u = S.useRef(!1), d = fn(o), f = Zu(s);
|
|
23512
23515
|
return S.useEffect(() => {
|
|
23513
23516
|
const h = () => {
|
|
@@ -23546,14 +23549,14 @@ var Use = "MenuAnchor", SE = S.forwardRef(
|
|
|
23546
23549
|
}
|
|
23547
23550
|
);
|
|
23548
23551
|
SE.displayName = Use;
|
|
23549
|
-
var EE = "MenuPortal", [Kse, uF] =
|
|
23552
|
+
var EE = "MenuPortal", [Kse, uF] = ca(EE, {
|
|
23550
23553
|
forceMount: void 0
|
|
23551
23554
|
}), dF = (t) => {
|
|
23552
23555
|
const { __scopeMenu: e, forceMount: n, children: r, container: s } = t, o = si(EE, e);
|
|
23553
|
-
return /* @__PURE__ */ p.jsx(Kse, { scope: e, forceMount: n, children: /* @__PURE__ */ p.jsx(En, { present: n || o.open, children: /* @__PURE__ */ p.jsx(
|
|
23556
|
+
return /* @__PURE__ */ p.jsx(Kse, { scope: e, forceMount: n, children: /* @__PURE__ */ p.jsx(En, { present: n || o.open, children: /* @__PURE__ */ p.jsx(ia, { asChild: !0, container: s, children: r }) }) });
|
|
23554
23557
|
};
|
|
23555
23558
|
dF.displayName = EE;
|
|
23556
|
-
var yr = "MenuContent", [Gse, kE] =
|
|
23559
|
+
var yr = "MenuContent", [Gse, kE] = ca(yr), fF = S.forwardRef(
|
|
23557
23560
|
(t, e) => {
|
|
23558
23561
|
const n = uF(yr, t.__scopeMenu), { forceMount: r = n.forceMount, ...s } = t, o = si(yr, t.__scopeMenu), i = nd(yr, t.__scopeMenu);
|
|
23559
23562
|
return /* @__PURE__ */ p.jsx(eu.Provider, { scope: t.__scopeMenu, children: /* @__PURE__ */ p.jsx(En, { present: r || o.open, children: /* @__PURE__ */ p.jsx(eu.Slot, { scope: t.__scopeMenu, children: i.modal ? /* @__PURE__ */ p.jsx(Yse, { ...s, ref: e }) : /* @__PURE__ */ p.jsx(Zse, { ...s, ref: e }) }) }) });
|
|
@@ -23656,7 +23659,7 @@ var yr = "MenuContent", [Gse, kE] = la(yr), fF = S.forwardRef(
|
|
|
23656
23659
|
}),
|
|
23657
23660
|
onUnmountAutoFocus: i,
|
|
23658
23661
|
children: /* @__PURE__ */ p.jsx(
|
|
23659
|
-
|
|
23662
|
+
oa,
|
|
23660
23663
|
{
|
|
23661
23664
|
asChild: !0,
|
|
23662
23665
|
disableOutsidePointerEvents: a,
|
|
@@ -23830,7 +23833,7 @@ var pF = S.forwardRef(
|
|
|
23830
23833
|
}
|
|
23831
23834
|
);
|
|
23832
23835
|
mF.displayName = Qse;
|
|
23833
|
-
var gF = "MenuRadioGroup", [eoe, toe] =
|
|
23836
|
+
var gF = "MenuRadioGroup", [eoe, toe] = ca(
|
|
23834
23837
|
gF,
|
|
23835
23838
|
{ value: void 0, onValueChange: () => {
|
|
23836
23839
|
} }
|
|
@@ -23862,7 +23865,7 @@ var yF = "MenuRadioItem", xF = S.forwardRef(
|
|
|
23862
23865
|
}
|
|
23863
23866
|
);
|
|
23864
23867
|
xF.displayName = yF;
|
|
23865
|
-
var NE = "MenuItemIndicator", [bF, noe] =
|
|
23868
|
+
var NE = "MenuItemIndicator", [bF, noe] = ca(
|
|
23866
23869
|
NE,
|
|
23867
23870
|
{ checked: !1 }
|
|
23868
23871
|
), wF = S.forwardRef(
|
|
@@ -23907,7 +23910,7 @@ var soe = "MenuArrow", SF = S.forwardRef(
|
|
|
23907
23910
|
}
|
|
23908
23911
|
);
|
|
23909
23912
|
SF.displayName = soe;
|
|
23910
|
-
var AE = "MenuSub", [ooe, EF] =
|
|
23913
|
+
var AE = "MenuSub", [ooe, EF] = ca(AE), kF = (t) => {
|
|
23911
23914
|
const { __scopeMenu: e, children: n, open: r = !1, onOpenChange: s } = t, o = si(AE, e), i = td(e), [a, l] = S.useState(null), [c, u] = S.useState(null), d = fn(s);
|
|
23912
23915
|
return S.useEffect(() => (o.open === !1 && d(!1), () => d(!1)), [o.open, d]), /* @__PURE__ */ p.jsx(Wu, { ...i, children: /* @__PURE__ */ p.jsx(
|
|
23913
23916
|
lF,
|
|
@@ -24735,7 +24738,7 @@ ${n}
|
|
|
24735
24738
|
})
|
|
24736
24739
|
];
|
|
24737
24740
|
}
|
|
24738
|
-
}), nie = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, rie = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, sie = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, oie = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, iie =
|
|
24741
|
+
}), nie = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, rie = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, sie = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, oie = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, iie = la.create({
|
|
24739
24742
|
name: "bold",
|
|
24740
24743
|
addOptions() {
|
|
24741
24744
|
return {
|
|
@@ -24794,17 +24797,17 @@ ${n}
|
|
|
24794
24797
|
},
|
|
24795
24798
|
addPasteRules() {
|
|
24796
24799
|
return [
|
|
24797
|
-
|
|
24800
|
+
Yi({
|
|
24798
24801
|
find: rie,
|
|
24799
24802
|
type: this.type
|
|
24800
24803
|
}),
|
|
24801
|
-
|
|
24804
|
+
Yi({
|
|
24802
24805
|
find: oie,
|
|
24803
24806
|
type: this.type
|
|
24804
24807
|
})
|
|
24805
24808
|
];
|
|
24806
24809
|
}
|
|
24807
|
-
}), aie = /(^|[^`])`([^`]+)`(?!`)$/, lie = /(^|[^`])`([^`]+)`(?!`)/g, cie =
|
|
24810
|
+
}), aie = /(^|[^`])`([^`]+)`(?!`)$/, lie = /(^|[^`])`([^`]+)`(?!`)/g, cie = la.create({
|
|
24808
24811
|
name: "code",
|
|
24809
24812
|
addOptions() {
|
|
24810
24813
|
return {
|
|
@@ -24845,7 +24848,7 @@ ${n}
|
|
|
24845
24848
|
},
|
|
24846
24849
|
addPasteRules() {
|
|
24847
24850
|
return [
|
|
24848
|
-
|
|
24851
|
+
Yi({
|
|
24849
24852
|
find: lie,
|
|
24850
24853
|
type: this.type
|
|
24851
24854
|
})
|
|
@@ -25171,7 +25174,7 @@ ${n}
|
|
|
25171
25174
|
})
|
|
25172
25175
|
];
|
|
25173
25176
|
}
|
|
25174
|
-
}), gie = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, vie = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, yie = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, xie = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, bie =
|
|
25177
|
+
}), gie = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, vie = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, yie = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, xie = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, bie = la.create({
|
|
25175
25178
|
name: "italic",
|
|
25176
25179
|
addOptions() {
|
|
25177
25180
|
return {
|
|
@@ -25229,11 +25232,11 @@ ${n}
|
|
|
25229
25232
|
},
|
|
25230
25233
|
addPasteRules() {
|
|
25231
25234
|
return [
|
|
25232
|
-
|
|
25235
|
+
Yi({
|
|
25233
25236
|
find: vie,
|
|
25234
25237
|
type: this.type
|
|
25235
25238
|
}),
|
|
25236
|
-
|
|
25239
|
+
Yi({
|
|
25237
25240
|
find: xie,
|
|
25238
25241
|
type: this.type
|
|
25239
25242
|
})
|
|
@@ -25381,7 +25384,7 @@ Vn.prototype = {
|
|
|
25381
25384
|
return s.j[t] = i, i;
|
|
25382
25385
|
}
|
|
25383
25386
|
};
|
|
25384
|
-
const Ye = (t, e, n, r, s) => t.ta(e, n, r, s), Pt = (t, e, n, r, s) => t.tr(e, n, r, s), IN = (t, e, n, r, s) => t.ts(e, n, r, s), ce = (t, e, n, r, s) => t.tt(e, n, r, s), _s = "WORD", Gw = "UWORD", d9 = "ASCIINUMERICAL", f9 = "ALPHANUMERICAL", nu = "LOCALHOST", Yw = "TLD", Zw = "UTLD", bf = "SCHEME",
|
|
25387
|
+
const Ye = (t, e, n, r, s) => t.ta(e, n, r, s), Pt = (t, e, n, r, s) => t.tr(e, n, r, s), IN = (t, e, n, r, s) => t.ts(e, n, r, s), ce = (t, e, n, r, s) => t.tt(e, n, r, s), _s = "WORD", Gw = "UWORD", d9 = "ASCIINUMERICAL", f9 = "ALPHANUMERICAL", nu = "LOCALHOST", Yw = "TLD", Zw = "UTLD", bf = "SCHEME", Ta = "SLASH_SCHEME", OE = "NUM", Xw = "WS", DE = "NL", kc = "OPENBRACE", _c = "CLOSEBRACE", ah = "OPENBRACKET", lh = "CLOSEBRACKET", ch = "OPENPAREN", uh = "CLOSEPAREN", dh = "OPENANGLEBRACKET", fh = "CLOSEANGLEBRACKET", hh = "FULLWIDTHLEFTPAREN", ph = "FULLWIDTHRIGHTPAREN", mh = "LEFTCORNERBRACKET", gh = "RIGHTCORNERBRACKET", vh = "LEFTWHITECORNERBRACKET", yh = "RIGHTWHITECORNERBRACKET", xh = "FULLWIDTHLESSTHAN", bh = "FULLWIDTHGREATERTHAN", wh = "AMPERSAND", Ch = "APOSTROPHE", Sh = "ASTERISK", mo = "AT", Eh = "BACKSLASH", kh = "BACKTICK", _h = "CARET", bo = "COLON", PE = "COMMA", Th = "DOLLAR", Zr = "DOT", Nh = "EQUALS", jE = "EXCLAMATION", ur = "HYPHEN", Tc = "PERCENT", Ah = "PIPE", Mh = "PLUS", Rh = "POUND", Nc = "QUERY", LE = "QUOTE", h9 = "FULLWIDTHMIDDLEDOT", FE = "SEMI", Xr = "SLASH", Ac = "TILDE", Ih = "UNDERSCORE", p9 = "EMOJI", Oh = "SYM";
|
|
25385
25388
|
var m9 = /* @__PURE__ */ Object.freeze({
|
|
25386
25389
|
__proto__: null,
|
|
25387
25390
|
ALPHANUMERICAL: f9,
|
|
@@ -25430,7 +25433,7 @@ var m9 = /* @__PURE__ */ Object.freeze({
|
|
|
25430
25433
|
SCHEME: bf,
|
|
25431
25434
|
SEMI: FE,
|
|
25432
25435
|
SLASH: Xr,
|
|
25433
|
-
SLASH_SCHEME:
|
|
25436
|
+
SLASH_SCHEME: Ta,
|
|
25434
25437
|
SYM: Oh,
|
|
25435
25438
|
TILDE: Ac,
|
|
25436
25439
|
TLD: Yw,
|
|
@@ -25489,10 +25492,10 @@ function Aie(t = []) {
|
|
|
25489
25492
|
}, e), _i(Zw, {
|
|
25490
25493
|
utld: !0,
|
|
25491
25494
|
alpha: !0
|
|
25492
|
-
}, e), Qs(n, "file", bf, _s, h), Qs(n, "mailto", bf, _s, h), Qs(n, "http",
|
|
25495
|
+
}, e), Qs(n, "file", bf, _s, h), Qs(n, "mailto", bf, _s, h), Qs(n, "http", Ta, _s, h), Qs(n, "https", Ta, _s, h), Qs(n, "ftp", Ta, _s, h), Qs(n, "ftps", Ta, _s, h), _i(bf, {
|
|
25493
25496
|
scheme: !0,
|
|
25494
25497
|
ascii: !0
|
|
25495
|
-
}, e), _i(
|
|
25498
|
+
}, e), _i(Ta, {
|
|
25496
25499
|
slashscheme: !0,
|
|
25497
25500
|
ascii: !0
|
|
25498
25501
|
}, e), t = t.sort((g, v) => g[0] > v[0] ? 1 : -1);
|
|
@@ -26053,7 +26056,7 @@ function hi(t, e) {
|
|
|
26053
26056
|
)
|
|
26054
26057
|
);
|
|
26055
26058
|
}
|
|
26056
|
-
var Wie =
|
|
26059
|
+
var Wie = la.create({
|
|
26057
26060
|
name: "link",
|
|
26058
26061
|
priority: 1e3,
|
|
26059
26062
|
keepOnSplit: !1,
|
|
@@ -26165,7 +26168,7 @@ var Wie = aa.create({
|
|
|
26165
26168
|
},
|
|
26166
26169
|
addPasteRules() {
|
|
26167
26170
|
return [
|
|
26168
|
-
|
|
26171
|
+
Yi({
|
|
26169
26172
|
find: (t) => {
|
|
26170
26173
|
const e = [];
|
|
26171
26174
|
if (t) {
|
|
@@ -26962,7 +26965,7 @@ var sae = ir.create({
|
|
|
26962
26965
|
"Mod-Alt-0": () => this.editor.commands.setParagraph()
|
|
26963
26966
|
};
|
|
26964
26967
|
}
|
|
26965
|
-
}), oae = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, iae = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, aae =
|
|
26968
|
+
}), oae = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, iae = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, aae = la.create({
|
|
26966
26969
|
name: "strike",
|
|
26967
26970
|
addOptions() {
|
|
26968
26971
|
return {
|
|
@@ -27015,7 +27018,7 @@ var sae = ir.create({
|
|
|
27015
27018
|
},
|
|
27016
27019
|
addPasteRules() {
|
|
27017
27020
|
return [
|
|
27018
|
-
|
|
27021
|
+
Yi({
|
|
27019
27022
|
find: iae,
|
|
27020
27023
|
type: this.type
|
|
27021
27024
|
})
|
|
@@ -27029,7 +27032,7 @@ var sae = ir.create({
|
|
|
27029
27032
|
text: t.text || ""
|
|
27030
27033
|
}),
|
|
27031
27034
|
renderMarkdown: (t) => t.text || ""
|
|
27032
|
-
}), cae =
|
|
27035
|
+
}), cae = la.create({
|
|
27033
27036
|
name: "underline",
|
|
27034
27037
|
addOptions() {
|
|
27035
27038
|
return {
|
|
@@ -28250,7 +28253,7 @@ function Wo(...t) {
|
|
|
28250
28253
|
};
|
|
28251
28254
|
};
|
|
28252
28255
|
}
|
|
28253
|
-
function
|
|
28256
|
+
function ua(...t) {
|
|
28254
28257
|
return S.useCallback(Wo(...t), t);
|
|
28255
28258
|
}
|
|
28256
28259
|
function rle(t, e) {
|
|
@@ -28471,7 +28474,7 @@ var ble = "DismissableLayer", tC = "dismissableLayer.update", wle = "dismissable
|
|
|
28471
28474
|
onInteractOutside: i,
|
|
28472
28475
|
onDismiss: a,
|
|
28473
28476
|
...l
|
|
28474
|
-
} = t, c = S.useContext(B9), [u, d] = S.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, h] = S.useState({}), m =
|
|
28477
|
+
} = t, c = S.useContext(B9), [u, d] = S.useState(null), f = u?.ownerDocument ?? globalThis?.document, [, h] = S.useState({}), m = ua(e, (E) => d(E)), g = Array.from(c.layers), [v] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), y = g.indexOf(v), x = u ? g.indexOf(u) : -1, b = c.layersWithOutsidePointerEventsDisabled.size > 0, w = x >= y, C = kle((E) => {
|
|
28475
28478
|
const _ = E.target, N = [...c.branches].some((R) => R.contains(_));
|
|
28476
28479
|
!w || N || (s?.(E), i?.(E), E.defaultPrevented || a?.());
|
|
28477
28480
|
}, f), k = _le((E) => {
|
|
@@ -28511,7 +28514,7 @@ var ble = "DismissableLayer", tC = "dismissableLayer.update", wle = "dismissable
|
|
|
28511
28514
|
);
|
|
28512
28515
|
$9.displayName = ble;
|
|
28513
28516
|
var Sle = "DismissableLayerBranch", Ele = S.forwardRef((t, e) => {
|
|
28514
|
-
const n = S.useContext(B9), r = S.useRef(null), s =
|
|
28517
|
+
const n = S.useContext(B9), r = S.useRef(null), s = ua(e, r);
|
|
28515
28518
|
return S.useEffect(() => {
|
|
28516
28519
|
const o = r.current;
|
|
28517
28520
|
if (o)
|
|
@@ -28604,7 +28607,7 @@ var Tle = [
|
|
|
28604
28607
|
onMountAutoFocus: s,
|
|
28605
28608
|
onUnmountAutoFocus: o,
|
|
28606
28609
|
...i
|
|
28607
|
-
} = t, [a, l] = S.useState(null), c = ou(s), u = ou(o), d = S.useRef(null), f =
|
|
28610
|
+
} = t, [a, l] = S.useState(null), c = ou(s), u = ou(o), d = S.useRef(null), f = ua(e, (g) => l(g)), h = S.useRef({
|
|
28608
28611
|
paused: !1,
|
|
28609
28612
|
pause() {
|
|
28610
28613
|
this.paused = !0;
|
|
@@ -28760,7 +28763,7 @@ function Vle(t, e) {
|
|
|
28760
28763
|
return S.useReducer((n, r) => e[n][r] ?? n, t);
|
|
28761
28764
|
}
|
|
28762
28765
|
var Xp = (t) => {
|
|
28763
|
-
const { present: e, children: n } = t, r = Ble(e), s = typeof n == "function" ? n({ present: r.isPresent }) : S.Children.only(n), o =
|
|
28766
|
+
const { present: e, children: n } = t, r = Ble(e), s = typeof n == "function" ? n({ present: r.isPresent }) : S.Children.only(n), o = ua(r.ref, $le(s));
|
|
28764
28767
|
return typeof n == "function" || r.isPresent ? S.cloneElement(s, { ref: o }) : null;
|
|
28765
28768
|
};
|
|
28766
28769
|
Xp.displayName = "Presence";
|
|
@@ -28891,7 +28894,7 @@ var Jp = "Dialog", [U9] = sle(Jp), [Hle, zr] = U9(Jp), K9 = (t) => {
|
|
|
28891
28894
|
K9.displayName = Jp;
|
|
28892
28895
|
var G9 = "DialogTrigger", Wle = S.forwardRef(
|
|
28893
28896
|
(t, e) => {
|
|
28894
|
-
const { __scopeDialog: n, ...r } = t, s = zr(G9, n), o =
|
|
28897
|
+
const { __scopeDialog: n, ...r } = t, s = zr(G9, n), o = ua(e, s.triggerRef);
|
|
28895
28898
|
return /* @__PURE__ */ p.jsx(
|
|
28896
28899
|
od.button,
|
|
28897
28900
|
{
|
|
@@ -28939,16 +28942,16 @@ var Kle = /* @__PURE__ */ sd("DialogOverlay.RemoveScroll"), Gle = S.forwardRef(
|
|
|
28939
28942
|
) })
|
|
28940
28943
|
);
|
|
28941
28944
|
}
|
|
28942
|
-
),
|
|
28945
|
+
), Zi = "DialogContent", J9 = S.forwardRef(
|
|
28943
28946
|
(t, e) => {
|
|
28944
|
-
const n = Y9(
|
|
28947
|
+
const n = Y9(Zi, t.__scopeDialog), { forceMount: r = n.forceMount, ...s } = t, o = zr(Zi, t.__scopeDialog);
|
|
28945
28948
|
return /* @__PURE__ */ p.jsx(Xp, { present: r || o.open, children: o.modal ? /* @__PURE__ */ p.jsx(Yle, { ...s, ref: e }) : /* @__PURE__ */ p.jsx(Zle, { ...s, ref: e }) });
|
|
28946
28949
|
}
|
|
28947
28950
|
);
|
|
28948
|
-
J9.displayName =
|
|
28951
|
+
J9.displayName = Zi;
|
|
28949
28952
|
var Yle = S.forwardRef(
|
|
28950
28953
|
(t, e) => {
|
|
28951
|
-
const n = zr(
|
|
28954
|
+
const n = zr(Zi, t.__scopeDialog), r = S.useRef(null), s = ua(e, n.contentRef, r);
|
|
28952
28955
|
return S.useEffect(() => {
|
|
28953
28956
|
const o = r.current;
|
|
28954
28957
|
if (o) return Vu(o);
|
|
@@ -28975,7 +28978,7 @@ var Yle = S.forwardRef(
|
|
|
28975
28978
|
}
|
|
28976
28979
|
), Zle = S.forwardRef(
|
|
28977
28980
|
(t, e) => {
|
|
28978
|
-
const n = zr(
|
|
28981
|
+
const n = zr(Zi, t.__scopeDialog), r = S.useRef(!1), s = S.useRef(!1);
|
|
28979
28982
|
return /* @__PURE__ */ p.jsx(
|
|
28980
28983
|
Q9,
|
|
28981
28984
|
{
|
|
@@ -28996,7 +28999,7 @@ var Yle = S.forwardRef(
|
|
|
28996
28999
|
}
|
|
28997
29000
|
), Q9 = S.forwardRef(
|
|
28998
29001
|
(t, e) => {
|
|
28999
|
-
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: s, onCloseAutoFocus: o, ...i } = t, a = zr(
|
|
29002
|
+
const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: s, onCloseAutoFocus: o, ...i } = t, a = zr(Zi, n), l = S.useRef(null), c = ua(e, l);
|
|
29000
29003
|
return qle(), /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
|
|
29001
29004
|
/* @__PURE__ */ p.jsx(
|
|
29002
29005
|
q9,
|
|
@@ -29060,7 +29063,7 @@ function UE(t) {
|
|
|
29060
29063
|
return t ? "open" : "closed";
|
|
29061
29064
|
}
|
|
29062
29065
|
var nV = "DialogTitleWarning", [ONe, rV] = rle(nV, {
|
|
29063
|
-
contentName:
|
|
29066
|
+
contentName: Zi,
|
|
29064
29067
|
titleName: WE,
|
|
29065
29068
|
docsSlug: "dialog"
|
|
29066
29069
|
}), ece = ({ titleId: t }) => {
|
|
@@ -29154,17 +29157,17 @@ var mce = [
|
|
|
29154
29157
|
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ p.jsx(l, { ...a, ref: o });
|
|
29155
29158
|
});
|
|
29156
29159
|
return r.displayName = `Primitive.${e}`, { ...t, [e]: r };
|
|
29157
|
-
}, {}), Ql = '[cmdk-group=""]', tv = '[cmdk-group-items=""]', gce = '[cmdk-group-heading=""]', oV = '[cmdk-item=""]', r2 = `${oV}:not([aria-disabled="true"])`, nC = "cmdk-item-select",
|
|
29158
|
-
let n =
|
|
29160
|
+
}, {}), Ql = '[cmdk-group=""]', tv = '[cmdk-group-items=""]', gce = '[cmdk-group-heading=""]', oV = '[cmdk-item=""]', r2 = `${oV}:not([aria-disabled="true"])`, nC = "cmdk-item-select", Na = "data-value", vce = (t, e, n) => nle(t, e, n), iV = S.createContext(void 0), id = () => S.useContext(iV), aV = S.createContext(void 0), KE = () => S.useContext(aV), lV = S.createContext(void 0), cV = S.forwardRef((t, e) => {
|
|
29161
|
+
let n = Aa(() => {
|
|
29159
29162
|
var j, K;
|
|
29160
29163
|
return { search: "", value: (K = (j = t.value) != null ? j : t.defaultValue) != null ? K : "", selectedItemId: void 0, filtered: { count: 0, items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Set() } };
|
|
29161
|
-
}), r =
|
|
29162
|
-
|
|
29164
|
+
}), r = Aa(() => /* @__PURE__ */ new Set()), s = Aa(() => /* @__PURE__ */ new Map()), o = Aa(() => /* @__PURE__ */ new Map()), i = Aa(() => /* @__PURE__ */ new Set()), a = hV(t), { label: l, children: c, value: u, onValueChange: d, filter: f, shouldFilter: h, loop: m, disablePointerSelection: g = !1, vimBindings: v = !0, ...y } = t, x = Ds(), b = Ds(), w = Ds(), C = S.useRef(null), k = _ce();
|
|
29165
|
+
Xi(() => {
|
|
29163
29166
|
if (u !== void 0) {
|
|
29164
29167
|
let j = u.trim();
|
|
29165
29168
|
n.current.value = j, E.emit();
|
|
29166
29169
|
}
|
|
29167
|
-
}, [u]),
|
|
29170
|
+
}, [u]), Xi(() => {
|
|
29168
29171
|
k(6, D);
|
|
29169
29172
|
}, []);
|
|
29170
29173
|
let E = S.useMemo(() => ({ subscribe: (j) => (i.current.add(j), () => i.current.delete(j)), snapshot: () => n.current, setState: (j, K, V) => {
|
|
@@ -29230,12 +29233,12 @@ var mce = [
|
|
|
29230
29233
|
z ? z.appendChild($.parentElement === z ? $ : $.closest(`${tv} > *`)) : V.appendChild($.parentElement === V ? $ : $.closest(`${tv} > *`));
|
|
29231
29234
|
}), K.sort(($, z) => z[1] - $[1]).forEach(($) => {
|
|
29232
29235
|
var z;
|
|
29233
|
-
let H = (z = C.current) == null ? void 0 : z.querySelector(`${Ql}[${
|
|
29236
|
+
let H = (z = C.current) == null ? void 0 : z.querySelector(`${Ql}[${Na}="${encodeURIComponent($[0])}"]`);
|
|
29234
29237
|
H?.parentElement.appendChild(H);
|
|
29235
29238
|
});
|
|
29236
29239
|
}
|
|
29237
29240
|
function A() {
|
|
29238
|
-
let j = F().find((V) => V.getAttribute("aria-disabled") !== "true"), K = j?.getAttribute(
|
|
29241
|
+
let j = F().find((V) => V.getAttribute("aria-disabled") !== "true"), K = j?.getAttribute(Na);
|
|
29239
29242
|
E.setState("value", K || void 0);
|
|
29240
29243
|
}
|
|
29241
29244
|
function O() {
|
|
@@ -29271,17 +29274,17 @@ var mce = [
|
|
|
29271
29274
|
}
|
|
29272
29275
|
function M(j) {
|
|
29273
29276
|
let K = F()[j];
|
|
29274
|
-
K && E.setState("value", K.getAttribute(
|
|
29277
|
+
K && E.setState("value", K.getAttribute(Na));
|
|
29275
29278
|
}
|
|
29276
29279
|
function B(j) {
|
|
29277
29280
|
var K;
|
|
29278
29281
|
let V = T(), $ = F(), z = $.findIndex((Y) => Y === V), H = $[z + j];
|
|
29279
|
-
(K = a.current) != null && K.loop && (H = z + j < 0 ? $[$.length - 1] : z + j === $.length ? $[0] : $[z + j]), H && E.setState("value", H.getAttribute(
|
|
29282
|
+
(K = a.current) != null && K.loop && (H = z + j < 0 ? $[$.length - 1] : z + j === $.length ? $[0] : $[z + j]), H && E.setState("value", H.getAttribute(Na));
|
|
29280
29283
|
}
|
|
29281
29284
|
function I(j) {
|
|
29282
29285
|
let K = T(), V = K?.closest(Ql), $;
|
|
29283
29286
|
for (; V && !$; ) V = j > 0 ? Ece(V, Ql) : kce(V, Ql), $ = V?.querySelector(r2);
|
|
29284
|
-
$ ? E.setState("value", $.getAttribute(
|
|
29287
|
+
$ ? E.setState("value", $.getAttribute(Na)) : B(j);
|
|
29285
29288
|
}
|
|
29286
29289
|
let P = () => M(F().length - 1), L = (j) => {
|
|
29287
29290
|
j.preventDefault(), j.metaKey ? P() : j.altKey ? I(1) : B(1);
|
|
@@ -29332,7 +29335,7 @@ var mce = [
|
|
|
29332
29335
|
}), uV = S.forwardRef((t, e) => {
|
|
29333
29336
|
var n, r;
|
|
29334
29337
|
let s = Ds(), o = S.useRef(null), i = S.useContext(lV), a = id(), l = hV(t), c = (r = (n = l.current) == null ? void 0 : n.forceMount) != null ? r : i?.forceMount;
|
|
29335
|
-
|
|
29338
|
+
Xi(() => {
|
|
29336
29339
|
if (!c) return a.item(s, i?.id);
|
|
29337
29340
|
}, [c]);
|
|
29338
29341
|
let u = pV(s, o, [t.value, t.children, o], t.keywords), d = KE(), f = Uo((k) => k.value && k.value === u.current), h = Uo((k) => c || a.filter() === !1 ? !0 : k.search ? k.filtered.items.get(s) > 0 : !0);
|
|
@@ -29352,7 +29355,7 @@ var mce = [
|
|
|
29352
29355
|
return S.createElement(oi.div, { ref: Wo(o, e), ...C, id: s, "cmdk-item": "", role: "option", "aria-disabled": !!v, "aria-selected": !!f, "data-disabled": !!v, "data-selected": !!f, onPointerMove: v || a.getDisablePointerSelection() ? void 0 : g, onClick: v ? void 0 : m }, t.children);
|
|
29353
29356
|
}), yce = S.forwardRef((t, e) => {
|
|
29354
29357
|
let { heading: n, children: r, forceMount: s, ...o } = t, i = Ds(), a = S.useRef(null), l = S.useRef(null), c = Ds(), u = id(), d = Uo((h) => s || u.filter() === !1 ? !0 : h.search ? h.filtered.groups.has(i) : !0);
|
|
29355
|
-
|
|
29358
|
+
Xi(() => u.group(i), []), pV(i, a, [t.value, t.heading, l]);
|
|
29356
29359
|
let f = S.useMemo(() => ({ id: i, forceMount: s }), [s]);
|
|
29357
29360
|
return S.createElement(oi.div, { ref: Wo(a, e), ...o, "cmdk-group": "", role: "presentation", hidden: d ? void 0 : !0 }, n && S.createElement("div", { ref: l, "cmdk-group-heading": "", "aria-hidden": !0, id: c }, n), Qp(t, (h) => S.createElement("div", { "cmdk-group-items": "", role: "group", "aria-labelledby": n ? c : void 0 }, S.createElement(lV.Provider, { value: f }, h))));
|
|
29358
29361
|
}), xce = S.forwardRef((t, e) => {
|
|
@@ -29403,12 +29406,12 @@ function kce(t, e) {
|
|
|
29403
29406
|
}
|
|
29404
29407
|
function hV(t) {
|
|
29405
29408
|
let e = S.useRef(t);
|
|
29406
|
-
return
|
|
29409
|
+
return Xi(() => {
|
|
29407
29410
|
e.current = t;
|
|
29408
29411
|
}), e;
|
|
29409
29412
|
}
|
|
29410
|
-
var
|
|
29411
|
-
function
|
|
29413
|
+
var Xi = typeof window > "u" ? S.useEffect : S.useLayoutEffect;
|
|
29414
|
+
function Aa(t) {
|
|
29412
29415
|
let e = S.useRef();
|
|
29413
29416
|
return e.current === void 0 && (e.current = t()), e;
|
|
29414
29417
|
}
|
|
@@ -29418,7 +29421,7 @@ function Uo(t) {
|
|
|
29418
29421
|
}
|
|
29419
29422
|
function pV(t, e, n, r = []) {
|
|
29420
29423
|
let s = S.useRef(), o = id();
|
|
29421
|
-
return
|
|
29424
|
+
return Xi(() => {
|
|
29422
29425
|
var i;
|
|
29423
29426
|
let a = (() => {
|
|
29424
29427
|
var c;
|
|
@@ -29427,12 +29430,12 @@ function pV(t, e, n, r = []) {
|
|
|
29427
29430
|
if (typeof u == "object" && "current" in u) return u.current ? (c = u.current.textContent) == null ? void 0 : c.trim() : s.current;
|
|
29428
29431
|
}
|
|
29429
29432
|
})(), l = r.map((c) => c.trim());
|
|
29430
|
-
o.value(t, a, l), (i = e.current) == null || i.setAttribute(
|
|
29433
|
+
o.value(t, a, l), (i = e.current) == null || i.setAttribute(Na, a), s.current = a;
|
|
29431
29434
|
}), s;
|
|
29432
29435
|
}
|
|
29433
29436
|
var _ce = () => {
|
|
29434
|
-
let [t, e] = S.useState(), n =
|
|
29435
|
-
return
|
|
29437
|
+
let [t, e] = S.useState(), n = Aa(() => /* @__PURE__ */ new Map());
|
|
29438
|
+
return Xi(() => {
|
|
29436
29439
|
n.current.forEach((r) => r()), n.current = /* @__PURE__ */ new Map();
|
|
29437
29440
|
}, [t]), (r, s) => {
|
|
29438
29441
|
n.current.set(r, s), e({});
|
|
@@ -29450,7 +29453,7 @@ const Ace = ht(
|
|
|
29450
29453
|
({ options: t = [], value: e, defaultValue: n, onChange: r, onFocus: s, onBlur: o, disabled: i, readOnly: a, ...l }, c) => {
|
|
29451
29454
|
const u = e !== void 0, [d, f] = oe(
|
|
29452
29455
|
() => n !== void 0 ? String(n) : ""
|
|
29453
|
-
), [h, m] = oe(!1), [g, v] = oe(null), y =
|
|
29456
|
+
), [h, m] = oe(!1), [g, v] = oe(null), y = he(null), x = he(null), b = he(), w = te(
|
|
29454
29457
|
(I) => {
|
|
29455
29458
|
y.current = I, c && (typeof c == "function" ? c(I) : c.current = I);
|
|
29456
29459
|
},
|
|
@@ -29492,7 +29495,7 @@ const Ace = ht(
|
|
|
29492
29495
|
window.removeEventListener("scroll", I, !0), window.removeEventListener("resize", P);
|
|
29493
29496
|
};
|
|
29494
29497
|
}, [h, C]);
|
|
29495
|
-
const k = u ? String(e ?? "") : d, E =
|
|
29498
|
+
const k = u ? String(e ?? "") : d, E = fe(() => t.map((I) => String(I)), [t]), _ = fe(() => {
|
|
29496
29499
|
if (!k)
|
|
29497
29500
|
return E;
|
|
29498
29501
|
const I = k.toLowerCase();
|
|
@@ -29500,14 +29503,14 @@ const Ace = ht(
|
|
|
29500
29503
|
const j = L.toLowerCase().startsWith(I), K = q.toLowerCase().startsWith(I);
|
|
29501
29504
|
return j && !K ? -1 : !j && K ? 1 : 0;
|
|
29502
29505
|
});
|
|
29503
|
-
}, [k, E]), N =
|
|
29506
|
+
}, [k, E]), N = fe(() => {
|
|
29504
29507
|
if (!k || i || a || _.length === 0)
|
|
29505
29508
|
return null;
|
|
29506
29509
|
const I = k.toLowerCase(), P = _.filter(
|
|
29507
29510
|
(L) => L.toLowerCase().startsWith(I)
|
|
29508
29511
|
);
|
|
29509
29512
|
return P.length > 0 ? P[0] : null;
|
|
29510
|
-
}, [k, i, a, _]), R =
|
|
29513
|
+
}, [k, i, a, _]), R = fe(() => !N || !k ? null : N.toLowerCase().startsWith(k.toLowerCase()) ? N.slice(k.length) : null, [N, k]), A = te(
|
|
29511
29514
|
(I) => {
|
|
29512
29515
|
u || f(I.target.value), !i && !a && m(!0), r?.(I);
|
|
29513
29516
|
},
|
|
@@ -29821,11 +29824,11 @@ var jce = "SelectIcon", bV = S.forwardRef(
|
|
|
29821
29824
|
}
|
|
29822
29825
|
);
|
|
29823
29826
|
bV.displayName = jce;
|
|
29824
|
-
var Lce = "SelectPortal", wV = (t) => /* @__PURE__ */ p.jsx(
|
|
29827
|
+
var Lce = "SelectPortal", wV = (t) => /* @__PURE__ */ p.jsx(ia, { asChild: !0, ...t });
|
|
29825
29828
|
wV.displayName = Lce;
|
|
29826
|
-
var
|
|
29829
|
+
var Ji = "SelectContent", CV = S.forwardRef(
|
|
29827
29830
|
(t, e) => {
|
|
29828
|
-
const n = ii(
|
|
29831
|
+
const n = ii(Ji, t.__scopeSelect), [r, s] = S.useState();
|
|
29829
29832
|
if (wn(() => {
|
|
29830
29833
|
s(new DocumentFragment());
|
|
29831
29834
|
}, []), !n.open) {
|
|
@@ -29838,8 +29841,8 @@ var Xi = "SelectContent", CV = S.forwardRef(
|
|
|
29838
29841
|
return /* @__PURE__ */ p.jsx(EV, { ...t, ref: e });
|
|
29839
29842
|
}
|
|
29840
29843
|
);
|
|
29841
|
-
CV.displayName =
|
|
29842
|
-
var kr = 10, [SV, ai] = Ol(
|
|
29844
|
+
CV.displayName = Ji;
|
|
29845
|
+
var kr = 10, [SV, ai] = Ol(Ji), Fce = "SelectContentImpl", EV = S.forwardRef(
|
|
29843
29846
|
(t, e) => {
|
|
29844
29847
|
const {
|
|
29845
29848
|
__scopeSelect: n,
|
|
@@ -29861,7 +29864,7 @@ var kr = 10, [SV, ai] = Ol(Xi), Fce = "SelectContentImpl", EV = S.forwardRef(
|
|
|
29861
29864
|
avoidCollisions: v,
|
|
29862
29865
|
//
|
|
29863
29866
|
...y
|
|
29864
|
-
} = t, x = ii(
|
|
29867
|
+
} = t, x = ii(Ji, n), [b, w] = S.useState(null), [C, k] = S.useState(null), E = et(e, (H) => w(H)), [_, N] = S.useState(null), [R, A] = S.useState(
|
|
29865
29868
|
null
|
|
29866
29869
|
), O = tm(n), [D, T] = S.useState(!1), F = S.useRef(!1);
|
|
29867
29870
|
S.useEffect(() => {
|
|
@@ -29958,7 +29961,7 @@ var kr = 10, [SV, ai] = Ol(Xi), Fce = "SelectContentImpl", EV = S.forwardRef(
|
|
|
29958
29961
|
x.trigger?.focus({ preventScroll: !0 }), H.preventDefault();
|
|
29959
29962
|
}),
|
|
29960
29963
|
children: /* @__PURE__ */ p.jsx(
|
|
29961
|
-
|
|
29964
|
+
oa,
|
|
29962
29965
|
{
|
|
29963
29966
|
asChild: !0,
|
|
29964
29967
|
disableOutsidePointerEvents: !0,
|
|
@@ -30009,7 +30012,7 @@ var kr = 10, [SV, ai] = Ol(Xi), Fce = "SelectContentImpl", EV = S.forwardRef(
|
|
|
30009
30012
|
);
|
|
30010
30013
|
EV.displayName = Fce;
|
|
30011
30014
|
var Vce = "SelectItemAlignedPosition", kV = S.forwardRef((t, e) => {
|
|
30012
|
-
const { __scopeSelect: n, onPlaced: r, ...s } = t, o = ii(
|
|
30015
|
+
const { __scopeSelect: n, onPlaced: r, ...s } = t, o = ii(Ji, n), i = ai(Ji, n), [a, l] = S.useState(null), [c, u] = S.useState(null), d = et(e, (E) => u(E)), f = tm(n), h = S.useRef(!1), m = S.useRef(!0), { viewport: g, selectedItem: v, selectedItemText: y, focusSelectedItem: x } = i, b = S.useCallback(() => {
|
|
30013
30016
|
if (o.trigger && o.valueNode && a && c && g && v && y) {
|
|
30014
30017
|
const E = o.trigger.getBoundingClientRect(), _ = c.getBoundingClientRect(), N = o.valueNode.getBoundingClientRect(), R = y.getBoundingClientRect();
|
|
30015
30018
|
if (o.dir !== "rtl") {
|
|
@@ -30142,7 +30145,7 @@ var Bce = "SelectPopperPosition", rC = S.forwardRef((t, e) => {
|
|
|
30142
30145
|
);
|
|
30143
30146
|
});
|
|
30144
30147
|
rC.displayName = Bce;
|
|
30145
|
-
var [$ce, GE] = Ol(
|
|
30148
|
+
var [$ce, GE] = Ol(Ji, {}), sC = "SelectViewport", _V = S.forwardRef(
|
|
30146
30149
|
(t, e) => {
|
|
30147
30150
|
const { __scopeSelect: n, nonce: r, ...s } = t, o = ai(sC, n), i = GE(sC, n), a = et(e, o.onViewportChange), l = S.useRef(0);
|
|
30148
30151
|
return /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
|
|
@@ -31107,7 +31110,7 @@ function AB() {
|
|
|
31107
31110
|
};
|
|
31108
31111
|
}
|
|
31109
31112
|
function MB() {
|
|
31110
|
-
const t =
|
|
31113
|
+
const t = he(null), [e, n] = oe(!1), [r, s] = oe(!1), o = te(() => {
|
|
31111
31114
|
const a = t.current;
|
|
31112
31115
|
a && (n(a.scrollLeft > 0), s(a.scrollLeft + a.clientWidth < a.scrollWidth - 1));
|
|
31113
31116
|
}, []);
|
|
@@ -31281,7 +31284,7 @@ function DB(t, e) {
|
|
|
31281
31284
|
...c
|
|
31282
31285
|
}
|
|
31283
31286
|
),
|
|
31284
|
-
/* @__PURE__ */ p.jsx("div", { className: "sl-absolute sl-right-2 sl-top-2 [&_svg]:sl-w-4 [&_svg]:sl-h-4 sl-pointer-events-none empty:sl-hidden", children: At({ variant: n, disabled: s }).with({ variant: "success", disabled: !1 }, () => /* @__PURE__ */ p.jsx(
|
|
31287
|
+
/* @__PURE__ */ p.jsx("div", { className: "sl-absolute sl-right-2 sl-top-2 [&_svg]:sl-w-4 [&_svg]:sl-h-4 sl-pointer-events-none empty:sl-hidden", children: At({ variant: n, disabled: s }).with({ variant: "success", disabled: !1 }, () => /* @__PURE__ */ p.jsx(sa, { className: "sl-text-success-300" })).with({ variant: "danger", disabled: !1 }, () => /* @__PURE__ */ p.jsx(Gn, { className: "sl-text-danger-300" })).otherwise(() => null) }),
|
|
31285
31288
|
i && /* @__PURE__ */ p.jsxs("div", { className: "sl-p-2 sl-w-full sl-text-foreground-v2-500 sl-text-sm", children: [
|
|
31286
31289
|
d.length,
|
|
31287
31290
|
" de ",
|
|
@@ -31604,7 +31607,7 @@ var [Tue, Nue] = PB(dm, {
|
|
|
31604
31607
|
return Oue(() => i(!0)), S.useEffect(() => {
|
|
31605
31608
|
const c = window.setTimeout(() => l(!0), 1e3);
|
|
31606
31609
|
return () => window.clearTimeout(c);
|
|
31607
|
-
}, []), a ? null : /* @__PURE__ */ p.jsx(
|
|
31610
|
+
}, []), a ? null : /* @__PURE__ */ p.jsx(ia, { asChild: !0, children: /* @__PURE__ */ p.jsx(Ku, { ...r, children: o && /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
|
|
31608
31611
|
s.label,
|
|
31609
31612
|
" ",
|
|
31610
31613
|
n
|
|
@@ -31915,7 +31918,7 @@ function Uue(t) {
|
|
|
31915
31918
|
className: "sl-w-6 sl-h-6 sl-shrink-0 sl-text-info-300"
|
|
31916
31919
|
}
|
|
31917
31920
|
)).with({ variant: "success" }, ({ variant: e }) => /* @__PURE__ */ p.jsx(
|
|
31918
|
-
|
|
31921
|
+
sa,
|
|
31919
31922
|
{
|
|
31920
31923
|
"data-testid": `${e}-toast-icon-testid`,
|
|
31921
31924
|
className: "sl-w-6 sl-h-6 sl-shrink-0 sl-text-success-300"
|
|
@@ -31971,7 +31974,7 @@ function Gue(t, e) {
|
|
|
31971
31974
|
withBottomErrorText: d,
|
|
31972
31975
|
withBottomText: f,
|
|
31973
31976
|
...h
|
|
31974
|
-
} = t, m =
|
|
31977
|
+
} = t, m = he(null), [g, v] = oe(n), [y, x] = oe(!1), b = g === "default" && !o && !s, w = () => {
|
|
31975
31978
|
b && x(!0);
|
|
31976
31979
|
}, C = () => {
|
|
31977
31980
|
x(!1);
|
|
@@ -32046,11 +32049,11 @@ function Gue(t, e) {
|
|
|
32046
32049
|
] }))
|
|
32047
32050
|
] }),
|
|
32048
32051
|
At({ variant: g, isLoading: s, disabled: o }).with({ isLoading: !0, disabled: !1 }, () => /* @__PURE__ */ p.jsx(dS, { className: "sl-size-4 sl-text-primary-v2-300" })).with({ disabled: !0 }, () => /* @__PURE__ */ p.jsx(Lf, { className: "sl-size-4" })).with({ variant: "default" }, () => /* @__PURE__ */ p.jsx(Lf, { className: "sl-size-4" })).with({ variant: "success" }, () => /* @__PURE__ */ p.jsxs("div", { className: "sl-flex sl-gap-2 sl-items-center", children: [
|
|
32049
|
-
/* @__PURE__ */ p.jsx(
|
|
32050
|
-
/* @__PURE__ */ p.jsx("button", { type: "button", onClick: _, children: /* @__PURE__ */ p.jsx(
|
|
32052
|
+
/* @__PURE__ */ p.jsx(sa, { className: "sl-size-4 sl-text-success-300" }),
|
|
32053
|
+
/* @__PURE__ */ p.jsx("button", { type: "button", onClick: _, children: /* @__PURE__ */ p.jsx(zi, { className: "sl-size-4 sl-text-foreground-v2-700" }) })
|
|
32051
32054
|
] })).with({ variant: "danger" }, () => /* @__PURE__ */ p.jsxs("div", { className: "sl-flex sl-gap-2 sl-items-center", children: [
|
|
32052
32055
|
/* @__PURE__ */ p.jsx(Gn, { className: "sl-size-4 sl-text-danger-300" }),
|
|
32053
|
-
/* @__PURE__ */ p.jsx("button", { type: "button", onClick: _, children: /* @__PURE__ */ p.jsx(
|
|
32056
|
+
/* @__PURE__ */ p.jsx("button", { type: "button", onClick: _, children: /* @__PURE__ */ p.jsx(zi, { className: "sl-size-4 sl-text-foreground-v2-700" }) })
|
|
32054
32057
|
] })).otherwise(() => null)
|
|
32055
32058
|
]
|
|
32056
32059
|
}
|
|
@@ -32254,7 +32257,7 @@ function o8(t, e) {
|
|
|
32254
32257
|
variant: "danger",
|
|
32255
32258
|
"aria-label": "Delete",
|
|
32256
32259
|
"data-testid": "accordion-delete-button",
|
|
32257
|
-
children: /* @__PURE__ */ p.jsx(
|
|
32260
|
+
children: /* @__PURE__ */ p.jsx(zi, {})
|
|
32258
32261
|
}
|
|
32259
32262
|
)
|
|
32260
32263
|
] }),
|
|
@@ -32412,7 +32415,7 @@ function ude(t = 1, e = 18) {
|
|
|
32412
32415
|
numberOfLines: 1,
|
|
32413
32416
|
hasMultipleLines: !1,
|
|
32414
32417
|
maxDetectedLines: 1
|
|
32415
|
-
}), s =
|
|
32418
|
+
}), s = he(null), o = te(() => {
|
|
32416
32419
|
if (!s.current) return;
|
|
32417
32420
|
const a = s.current, l = a.scrollHeight > a.clientHeight, c = cde(s.current, e);
|
|
32418
32421
|
r((u) => ({
|
|
@@ -32439,7 +32442,7 @@ function ude(t = 1, e = 18) {
|
|
|
32439
32442
|
}
|
|
32440
32443
|
const i8 = Pn({});
|
|
32441
32444
|
function dde(t) {
|
|
32442
|
-
const e =
|
|
32445
|
+
const e = he(null);
|
|
32443
32446
|
return e.current === null && (e.current = t()), e.current;
|
|
32444
32447
|
}
|
|
32445
32448
|
const rk = typeof window < "u", fde = rk ? El : ne, sk = /* @__PURE__ */ Pn(null);
|
|
@@ -32684,14 +32687,14 @@ const fC = {
|
|
|
32684
32687
|
...ns,
|
|
32685
32688
|
parse: (t) => ns.parse(t) / 100,
|
|
32686
32689
|
transform: (t) => ns.transform(t * 100)
|
|
32687
|
-
},
|
|
32690
|
+
}, Oa = {
|
|
32688
32691
|
test: /* @__PURE__ */ mk("hsl", "hue"),
|
|
32689
32692
|
parse: /* @__PURE__ */ S8("hue", "saturation", "lightness"),
|
|
32690
32693
|
transform: ({ hue: t, saturation: e, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(t) + ", " + ns.transform(Ic(e)) + ", " + ns.transform(Ic(n)) + ", " + Ic(au.transform(r)) + ")"
|
|
32691
32694
|
}, Ht = {
|
|
32692
|
-
test: (t) => Ti.test(t) || fC.test(t) ||
|
|
32693
|
-
parse: (t) => Ti.test(t) ? Ti.parse(t) :
|
|
32694
|
-
transform: (t) => typeof t == "string" ? t : t.hasOwnProperty("red") ? Ti.transform(t) :
|
|
32695
|
+
test: (t) => Ti.test(t) || fC.test(t) || Oa.test(t),
|
|
32696
|
+
parse: (t) => Ti.test(t) ? Ti.parse(t) : Oa.test(t) ? Oa.parse(t) : fC.parse(t),
|
|
32697
|
+
transform: (t) => typeof t == "string" ? t : t.hasOwnProperty("red") ? Ti.transform(t) : Oa.transform(t),
|
|
32695
32698
|
getAnimatableNone: (t) => {
|
|
32696
32699
|
const e = Ht.parse(t);
|
|
32697
32700
|
return e.alpha = 0, Ht.transform(e);
|
|
@@ -32762,13 +32765,13 @@ function Vh(t, e) {
|
|
|
32762
32765
|
const Nt = (t, e, n) => t + (e - t) * n, cv = (t, e, n) => {
|
|
32763
32766
|
const r = t * t, s = n * (e * e - r) + r;
|
|
32764
32767
|
return s < 0 ? 0 : Math.sqrt(s);
|
|
32765
|
-
}, Bde = [fC, Ti,
|
|
32768
|
+
}, Bde = [fC, Ti, Oa], $de = (t) => Bde.find((e) => e.test(t));
|
|
32766
32769
|
function m2(t) {
|
|
32767
32770
|
const e = $de(t);
|
|
32768
32771
|
if (jl(!!e, `'${t}' is not an animatable color. Use the equivalent color code instead.`, "color-not-animatable"), !e)
|
|
32769
32772
|
return !1;
|
|
32770
32773
|
let n = e.parse(t);
|
|
32771
|
-
return e ===
|
|
32774
|
+
return e === Oa && (n = Vde(n)), n;
|
|
32772
32775
|
}
|
|
32773
32776
|
const g2 = (t, e) => {
|
|
32774
32777
|
const n = m2(t), r = m2(e);
|
|
@@ -33098,7 +33101,7 @@ function ife(t, e) {
|
|
|
33098
33101
|
function afe(t, e) {
|
|
33099
33102
|
return t.map(() => e || x8).splice(0, t.length - 1);
|
|
33100
33103
|
}
|
|
33101
|
-
function
|
|
33104
|
+
function Da({ duration: t = 300, keyframes: e, times: n, ease: r = "easeInOut" }) {
|
|
33102
33105
|
const s = xde(r) ? r.map(f2) : f2(r), o = {
|
|
33103
33106
|
done: !1,
|
|
33104
33107
|
value: e[0]
|
|
@@ -33123,8 +33126,8 @@ function yk(t, { repeat: e, repeatType: n = "loop" }, r, s = 1) {
|
|
|
33123
33126
|
const cfe = {
|
|
33124
33127
|
decay: mC,
|
|
33125
33128
|
inertia: mC,
|
|
33126
|
-
tween:
|
|
33127
|
-
keyframes:
|
|
33129
|
+
tween: Da,
|
|
33130
|
+
keyframes: Da,
|
|
33128
33131
|
spring: $h
|
|
33129
33132
|
};
|
|
33130
33133
|
function I8(t) {
|
|
@@ -33165,10 +33168,10 @@ class bk extends xk {
|
|
|
33165
33168
|
initAnimation() {
|
|
33166
33169
|
const { options: e } = this;
|
|
33167
33170
|
I8(e);
|
|
33168
|
-
const { type: n =
|
|
33171
|
+
const { type: n = Da, repeat: r = 0, repeatDelay: s = 0, repeatType: o, velocity: i = 0 } = e;
|
|
33169
33172
|
let { keyframes: a } = e;
|
|
33170
|
-
const l = n ||
|
|
33171
|
-
process.env.NODE_ENV !== "production" && l !==
|
|
33173
|
+
const l = n || Da;
|
|
33174
|
+
process.env.NODE_ENV !== "production" && l !== Da && Vs(a.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${a}`, "spring-two-frames"), l !== Da && typeof a[0] != "number" && (this.mixKeyframes = ud(ufe, A8(a[0], a[1])), a = [0, 100]);
|
|
33172
33175
|
const c = l({ ...e, keyframes: a });
|
|
33173
33176
|
o === "mirror" && (this.mirroredGenerator = l({
|
|
33174
33177
|
...e,
|
|
@@ -34404,7 +34407,7 @@ function mhe(t, e) {
|
|
|
34404
34407
|
}
|
|
34405
34408
|
function ghe(t) {
|
|
34406
34409
|
const { initial: e, animate: n } = mhe(t, bt(fm));
|
|
34407
|
-
return
|
|
34410
|
+
return fe(() => ({ initial: e, animate: n }), [I2(e), I2(n)]);
|
|
34408
34411
|
}
|
|
34409
34412
|
function I2(t) {
|
|
34410
34413
|
return Array.isArray(t) ? t.join(" ") : t;
|
|
@@ -34474,7 +34477,7 @@ function t$(t, e, n) {
|
|
|
34474
34477
|
!yn(e[r]) && !e$(r, n) && (t[r] = e[r]);
|
|
34475
34478
|
}
|
|
34476
34479
|
function whe({ transformTemplate: t }, e) {
|
|
34477
|
-
return
|
|
34480
|
+
return fe(() => {
|
|
34478
34481
|
const n = Ak();
|
|
34479
34482
|
return Nk(n, e, t), Object.assign({}, n.vars, n.style);
|
|
34480
34483
|
}, [e]);
|
|
@@ -34524,7 +34527,7 @@ const r$ = () => ({
|
|
|
34524
34527
|
attrs: {}
|
|
34525
34528
|
}), s$ = (t) => typeof t == "string" && t.toLowerCase() === "svg";
|
|
34526
34529
|
function The(t, e, n, r) {
|
|
34527
|
-
const s =
|
|
34530
|
+
const s = fe(() => {
|
|
34528
34531
|
const o = r$();
|
|
34529
34532
|
return n$(o, e, s$(r), t.transformTemplate, t.style), {
|
|
34530
34533
|
...o.attrs,
|
|
@@ -34585,7 +34588,7 @@ function Mk(t) {
|
|
|
34585
34588
|
);
|
|
34586
34589
|
}
|
|
34587
34590
|
function Ahe(t, e, n, { latestValues: r }, s, o = !1) {
|
|
34588
|
-
const a = (Mk(t) ? The : She)(e, r, s, t), l = phe(e, typeof t == "string", o), c = t !== hp ? { ...l, ...a, ref: n } : {}, { children: u } = e, d =
|
|
34591
|
+
const a = (Mk(t) ? The : She)(e, r, s, t), l = phe(e, typeof t == "string", o), c = t !== hp ? { ...l, ...a, ref: n } : {}, { children: u } = e, d = fe(() => yn(u) ? u.get() : u, [u]);
|
|
34589
34592
|
return Kt(t, {
|
|
34590
34593
|
...c,
|
|
34591
34594
|
children: d
|
|
@@ -34675,13 +34678,13 @@ const Ohe = /* @__PURE__ */ o$({
|
|
|
34675
34678
|
scrapeMotionValuesFromProps: i$,
|
|
34676
34679
|
createRenderState: r$
|
|
34677
34680
|
}), Dhe = Symbol.for("motionComponentSymbol");
|
|
34678
|
-
function
|
|
34681
|
+
function Pa(t) {
|
|
34679
34682
|
return t && typeof t == "object" && Object.prototype.hasOwnProperty.call(t, "current");
|
|
34680
34683
|
}
|
|
34681
34684
|
function Phe(t, e, n) {
|
|
34682
34685
|
return te(
|
|
34683
34686
|
(r) => {
|
|
34684
|
-
r && t.onMount && t.onMount(r), e && (r ? e.mount(r) : e.unmount()), n && (typeof n == "function" ? n(r) :
|
|
34687
|
+
r && t.onMount && t.onMount(r), e && (r ? e.mount(r) : e.unmount()), n && (typeof n == "function" ? n(r) : Pa(n) && (n.current = r));
|
|
34685
34688
|
},
|
|
34686
34689
|
/**
|
|
34687
34690
|
* Only pass a new ref callback to React if we've received a visual element
|
|
@@ -34693,7 +34696,7 @@ function Phe(t, e, n) {
|
|
|
34693
34696
|
}
|
|
34694
34697
|
const Ok = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), jhe = "framerAppearId", a$ = "data-" + Ok(jhe), l$ = Pn({});
|
|
34695
34698
|
function Lhe(t, e, n, r, s) {
|
|
34696
|
-
const { visualElement: o } = bt(fm), i = bt(X8), a = bt(sk), l = bt(Z8).reducedMotion, c =
|
|
34699
|
+
const { visualElement: o } = bt(fm), i = bt(X8), a = bt(sk), l = bt(Z8).reducedMotion, c = he(null);
|
|
34697
34700
|
r = r || i.renderer, !c.current && r && (c.current = r(t, {
|
|
34698
34701
|
visualState: e,
|
|
34699
34702
|
parent: o,
|
|
@@ -34704,11 +34707,11 @@ function Lhe(t, e, n, r, s) {
|
|
|
34704
34707
|
}));
|
|
34705
34708
|
const u = c.current, d = bt(l$);
|
|
34706
34709
|
u && !u.projection && s && (u.type === "html" || u.type === "svg") && Fhe(c.current, n, s, d);
|
|
34707
|
-
const f =
|
|
34710
|
+
const f = he(!1);
|
|
34708
34711
|
OH(() => {
|
|
34709
34712
|
u && f.current && u.update(n, a);
|
|
34710
34713
|
});
|
|
34711
|
-
const h = n[a$], m =
|
|
34714
|
+
const h = n[a$], m = he(!!h && !window.MotionHandoffIsComplete?.(h) && window.MotionHasOptimisedAnimation?.(h));
|
|
34712
34715
|
return fde(() => {
|
|
34713
34716
|
u && (f.current = !0, window.MotionIsMounted = !0, u.updateFeatures(), u.scheduleRenderMicrotask(), m.current && u.animationState && u.animationState.animateChanges());
|
|
34714
34717
|
}), ne(() => {
|
|
@@ -34722,7 +34725,7 @@ function Fhe(t, e, n, r) {
|
|
|
34722
34725
|
t.projection = new n(t.latestValues, e["data-framer-portal-id"] ? void 0 : c$(t.parent)), t.projection.setOptions({
|
|
34723
34726
|
layoutId: s,
|
|
34724
34727
|
layout: o,
|
|
34725
|
-
alwaysMeasureLayout: !!i || a &&
|
|
34728
|
+
alwaysMeasureLayout: !!i || a && Pa(a),
|
|
34726
34729
|
visualElement: t,
|
|
34727
34730
|
/**
|
|
34728
34731
|
* TODO: Update options in an effect. This could be tricky as it'll be too late
|
|
@@ -34855,21 +34858,21 @@ function Whe(t, e, n, r = !1) {
|
|
|
34855
34858
|
for (let a = 0; a < s; a++) {
|
|
34856
34859
|
o = n[a], i = o.projectionDelta;
|
|
34857
34860
|
const { visualElement: l } = o.options;
|
|
34858
|
-
l && l.props.style && l.props.style.display === "contents" || (r && o.options.layoutScroll && o.scroll && o !== o.root &&
|
|
34861
|
+
l && l.props.style && l.props.style.display === "contents" || (r && o.options.layoutScroll && o.scroll && o !== o.root && La(t, {
|
|
34859
34862
|
x: -o.scroll.offset.x,
|
|
34860
34863
|
y: -o.scroll.offset.y
|
|
34861
|
-
}), i && (e.x *= i.x.scale, e.y *= i.y.scale, f$(t, i)), r && mi(o.latestValues) &&
|
|
34864
|
+
}), i && (e.x *= i.x.scale, e.y *= i.y.scale, f$(t, i)), r && mi(o.latestValues) && La(t, o.latestValues));
|
|
34862
34865
|
}
|
|
34863
34866
|
e.x < L2 && e.x > j2 && (e.x = 1), e.y < L2 && e.y > j2 && (e.y = 1);
|
|
34864
34867
|
}
|
|
34865
|
-
function
|
|
34868
|
+
function ja(t, e) {
|
|
34866
34869
|
t.min = t.min + e, t.max = t.max + e;
|
|
34867
34870
|
}
|
|
34868
34871
|
function F2(t, e, n, r, s = 0.5) {
|
|
34869
34872
|
const o = Nt(t.min, t.max, s);
|
|
34870
34873
|
_C(t, e, n, o, r);
|
|
34871
34874
|
}
|
|
34872
|
-
function
|
|
34875
|
+
function La(t, e) {
|
|
34873
34876
|
F2(t.x, e.x, e.scaleX, e.scale, e.originX), F2(t.y, e.y, e.scaleY, e.scale, e.originY);
|
|
34874
34877
|
}
|
|
34875
34878
|
function h$(t, e) {
|
|
@@ -34877,14 +34880,14 @@ function h$(t, e) {
|
|
|
34877
34880
|
}
|
|
34878
34881
|
function Uhe(t, e, n) {
|
|
34879
34882
|
const r = h$(t, n), { scroll: s } = e;
|
|
34880
|
-
return s && (
|
|
34883
|
+
return s && (ja(r.x, s.offset.x), ja(r.y, s.offset.y)), r;
|
|
34881
34884
|
}
|
|
34882
34885
|
const V2 = () => ({
|
|
34883
34886
|
translate: 0,
|
|
34884
34887
|
scale: 1,
|
|
34885
34888
|
origin: 0,
|
|
34886
34889
|
originPoint: 0
|
|
34887
|
-
}),
|
|
34890
|
+
}), Fa = () => ({
|
|
34888
34891
|
x: V2(),
|
|
34889
34892
|
y: V2()
|
|
34890
34893
|
}), B2 = () => ({ min: 0, max: 0 }), Ft = () => ({
|
|
@@ -35246,7 +35249,7 @@ class epe extends m$ {
|
|
|
35246
35249
|
const tpe = (t, e) => Mk(t) ? new epe(e) : new Jhe(e, {
|
|
35247
35250
|
allowProjection: t !== hp
|
|
35248
35251
|
});
|
|
35249
|
-
function
|
|
35252
|
+
function Za(t, e, n) {
|
|
35250
35253
|
const r = t.getProps();
|
|
35251
35254
|
return Rk(r, e, n !== void 0 ? n : r.custom, t);
|
|
35252
35255
|
}
|
|
@@ -35258,7 +35261,7 @@ function rpe(t) {
|
|
|
35258
35261
|
return NC(t) ? t[t.length - 1] || 0 : t;
|
|
35259
35262
|
}
|
|
35260
35263
|
function spe(t, e) {
|
|
35261
|
-
const n =
|
|
35264
|
+
const n = Za(t, e);
|
|
35262
35265
|
let { transitionEnd: r = {}, transition: s = {}, ...o } = n || {};
|
|
35263
35266
|
o = { ...o, ...r };
|
|
35264
35267
|
for (const i in o) {
|
|
@@ -35381,7 +35384,7 @@ function b$(t, e, n, r = 0, s = 1) {
|
|
|
35381
35384
|
return typeof n == "function" ? n(o, i) : s === 1 ? o * r : a - o * r;
|
|
35382
35385
|
}
|
|
35383
35386
|
function MC(t, e, n = {}) {
|
|
35384
|
-
const r =
|
|
35387
|
+
const r = Za(t, e, n.type === "exit" ? t.presenceContext?.custom : void 0);
|
|
35385
35388
|
let { transition: s = t.getDefaultTransition() || {} } = r || {};
|
|
35386
35389
|
n.transitionOverride && (s = n.transitionOverride);
|
|
35387
35390
|
const o = r ? () => Promise.all(x$(t, r, n)) : () => Promise.resolve(), i = t.variantChildren && t.variantChildren.size ? (l = 0) => {
|
|
@@ -35412,7 +35415,7 @@ function gpe(t, e, n = {}) {
|
|
|
35412
35415
|
} else if (typeof e == "string")
|
|
35413
35416
|
r = MC(t, e, n);
|
|
35414
35417
|
else {
|
|
35415
|
-
const s = typeof e == "function" ?
|
|
35418
|
+
const s = typeof e == "function" ? Za(t, e, n.custom) : e;
|
|
35416
35419
|
r = Promise.all(x$(t, s, n));
|
|
35417
35420
|
}
|
|
35418
35421
|
return r.then(() => {
|
|
@@ -35452,7 +35455,7 @@ function bpe(t) {
|
|
|
35452
35455
|
function wpe(t) {
|
|
35453
35456
|
let e = bpe(t), n = z2(), r = !0;
|
|
35454
35457
|
const s = (l) => (c, u) => {
|
|
35455
|
-
const d =
|
|
35458
|
+
const d = Za(t, u, l === "exit" ? t.presenceContext?.custom : void 0);
|
|
35456
35459
|
if (d) {
|
|
35457
35460
|
const { transition: f, transitionEnd: h, ...m } = d;
|
|
35458
35461
|
c = { ...c, ...m, ...h };
|
|
@@ -35501,7 +35504,7 @@ function wpe(t) {
|
|
|
35501
35504
|
_ && (!F || N) && d.push(...R.map((B) => {
|
|
35502
35505
|
const I = { type: y };
|
|
35503
35506
|
if (typeof B == "string" && r && !F && t.manuallyAnimateOnMount && t.parent) {
|
|
35504
|
-
const { parent: P } = t, L =
|
|
35507
|
+
const { parent: P } = t, L = Za(P, B);
|
|
35505
35508
|
if (P.enteringChildren && L) {
|
|
35506
35509
|
const { delayChildren: q } = L.transition || {};
|
|
35507
35510
|
I.delay = b$(P.enteringChildren, t, q);
|
|
@@ -35516,7 +35519,7 @@ function wpe(t) {
|
|
|
35516
35519
|
if (f.size) {
|
|
35517
35520
|
const v = {};
|
|
35518
35521
|
if (typeof c.initial != "boolean") {
|
|
35519
|
-
const y =
|
|
35522
|
+
const y = Za(t, Array.isArray(c.initial) ? c.initial[0] : c.initial);
|
|
35520
35523
|
y && y.transition && (v.transition = y.transition);
|
|
35521
35524
|
}
|
|
35522
35525
|
f.forEach((y) => {
|
|
@@ -35893,13 +35896,13 @@ class Hpe {
|
|
|
35893
35896
|
}
|
|
35894
35897
|
resolveConstraints() {
|
|
35895
35898
|
const { dragConstraints: e, dragElastic: n } = this.getProps(), r = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, s = this.constraints;
|
|
35896
|
-
e &&
|
|
35899
|
+
e && Pa(e) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : e && r ? this.constraints = Fpe(r.layoutBox, e) : this.constraints = !1, this.elastic = zpe(n), s !== this.constraints && r && this.constraints && !this.hasMutatedConstraints && dr((o) => {
|
|
35897
35900
|
this.constraints !== !1 && this.getAxisMotionValue(o) && (this.constraints[o] = $pe(r.layoutBox[o], this.constraints[o]));
|
|
35898
35901
|
});
|
|
35899
35902
|
}
|
|
35900
35903
|
resolveRefConstraints() {
|
|
35901
35904
|
const { dragConstraints: e, onMeasureDragConstraints: n } = this.getProps();
|
|
35902
|
-
if (!e || !
|
|
35905
|
+
if (!e || !Pa(e))
|
|
35903
35906
|
return !1;
|
|
35904
35907
|
const r = e.current;
|
|
35905
35908
|
Vs(r !== null, "If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.", "drag-constraints-ref");
|
|
@@ -35979,7 +35982,7 @@ class Hpe {
|
|
|
35979
35982
|
if (!this.visualElement.current)
|
|
35980
35983
|
return;
|
|
35981
35984
|
const { drag: e, dragConstraints: n } = this.getProps(), { projection: r } = this.visualElement;
|
|
35982
|
-
if (!
|
|
35985
|
+
if (!Pa(n) || !r || !this.constraints)
|
|
35983
35986
|
return;
|
|
35984
35987
|
this.stopAnimation();
|
|
35985
35988
|
const s = { x: 0, y: 0 };
|
|
@@ -36007,7 +36010,7 @@ class Hpe {
|
|
|
36007
36010
|
c && u && this.start(l);
|
|
36008
36011
|
}), r = () => {
|
|
36009
36012
|
const { dragConstraints: l } = this.getProps();
|
|
36010
|
-
|
|
36013
|
+
Pa(l) && l.current && (this.constraints = this.resolveRefConstraints());
|
|
36011
36014
|
}, { projection: s } = this.visualElement, o = s.addEventListener("measure", r);
|
|
36012
36015
|
s && !s.layout && (s.root && s.root.updateScroll(), s.updateLayout()), wt.read(r);
|
|
36013
36016
|
const i = du(window, "resize", () => this.scalePositionWithinConstraints()), a = s.addEventListener("didUpdate", (({ delta: l, hasLayoutChanged: c }) => {
|
|
@@ -36547,7 +36550,7 @@ function D$({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
36547
36550
|
const a = i.measureViewportBox();
|
|
36548
36551
|
if (!(this.scroll?.wasRoot || this.path.some(Tme))) {
|
|
36549
36552
|
const { scroll: c } = this.root;
|
|
36550
|
-
c && (
|
|
36553
|
+
c && (ja(a.x, c.offset.x), ja(a.y, c.offset.y));
|
|
36551
36554
|
}
|
|
36552
36555
|
return a;
|
|
36553
36556
|
}
|
|
@@ -36557,7 +36560,7 @@ function D$({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
36557
36560
|
return a;
|
|
36558
36561
|
for (let l = 0; l < this.path.length; l++) {
|
|
36559
36562
|
const c = this.path[l], { scroll: u, options: d } = c;
|
|
36560
|
-
c !== this.root && u && d.layoutScroll && (u.wasRoot && cr(a, i),
|
|
36563
|
+
c !== this.root && u && d.layoutScroll && (u.wasRoot && cr(a, i), ja(a.x, u.offset.x), ja(a.y, u.offset.y));
|
|
36561
36564
|
}
|
|
36562
36565
|
return a;
|
|
36563
36566
|
}
|
|
@@ -36566,12 +36569,12 @@ function D$({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
36566
36569
|
cr(l, i);
|
|
36567
36570
|
for (let c = 0; c < this.path.length; c++) {
|
|
36568
36571
|
const u = this.path[c];
|
|
36569
|
-
!a && u.options.layoutScroll && u.scroll && u !== u.root &&
|
|
36572
|
+
!a && u.options.layoutScroll && u.scroll && u !== u.root && La(l, {
|
|
36570
36573
|
x: -u.scroll.offset.x,
|
|
36571
36574
|
y: -u.scroll.offset.y
|
|
36572
|
-
}), mi(u.latestValues) &&
|
|
36575
|
+
}), mi(u.latestValues) && La(l, u.latestValues);
|
|
36573
36576
|
}
|
|
36574
|
-
return mi(this.latestValues) &&
|
|
36577
|
+
return mi(this.latestValues) && La(l, this.latestValues), l;
|
|
36575
36578
|
}
|
|
36576
36579
|
removeTransform(i) {
|
|
36577
36580
|
const a = Ft();
|
|
@@ -36660,10 +36663,10 @@ function D$({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
36660
36663
|
this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
|
|
36661
36664
|
}
|
|
36662
36665
|
createProjectionDeltas() {
|
|
36663
|
-
this.prevProjectionDelta =
|
|
36666
|
+
this.prevProjectionDelta = Fa(), this.projectionDelta = Fa(), this.projectionDeltaWithTransform = Fa();
|
|
36664
36667
|
}
|
|
36665
36668
|
setAnimationOrigin(i, a = !1) {
|
|
36666
|
-
const l = this.snapshot, c = l ? l.latestValues : {}, u = { ...this.latestValues }, d =
|
|
36669
|
+
const l = this.snapshot, c = l ? l.latestValues : {}, u = { ...this.latestValues }, d = Fa();
|
|
36667
36670
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
|
|
36668
36671
|
const f = Ft(), h = l ? l.source : void 0, m = this.layout ? this.layout.source : void 0, g = h !== m, v = this.getStack(), y = !v || v.members.length <= 1, x = !!(g && !y && this.options.crossfade === !0 && !this.path.some(Eme));
|
|
36669
36672
|
this.animationProgress = 0;
|
|
@@ -36709,7 +36712,7 @@ function D$({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
36709
36712
|
const f = Rn(this.layout.layoutBox.y);
|
|
36710
36713
|
l.y.min = i.target.y.min, l.y.max = l.y.min + f;
|
|
36711
36714
|
}
|
|
36712
|
-
cr(a, l),
|
|
36715
|
+
cr(a, l), La(a, u), Dc(this.projectionDeltaWithTransform, this.layoutCorrected, a, u);
|
|
36713
36716
|
}
|
|
36714
36717
|
}
|
|
36715
36718
|
registerSharedNode(i, a) {
|
|
@@ -36822,9 +36825,9 @@ function pme(t) {
|
|
|
36822
36825
|
const d = o ? e.measuredBox[u] : e.layoutBox[u], f = Rn(n[u]);
|
|
36823
36826
|
d.max = d.min + f, t.relativeTarget && !t.currentAnimation && (t.isProjectionDirty = !0, t.relativeTarget[u].max = t.relativeTarget[u].min + f);
|
|
36824
36827
|
});
|
|
36825
|
-
const i =
|
|
36828
|
+
const i = Fa();
|
|
36826
36829
|
Dc(i, n, e.layoutBox);
|
|
36827
|
-
const a =
|
|
36830
|
+
const a = Fa();
|
|
36828
36831
|
o ? Dc(a, t.applyTransform(r, !0), e.measuredBox) : Dc(a, n, e.layoutBox);
|
|
36829
36832
|
const l = !R$(i);
|
|
36830
36833
|
let c = !1;
|
|
@@ -37128,7 +37131,7 @@ function HNe({
|
|
|
37128
37131
|
isOpen: u,
|
|
37129
37132
|
onToggle: d
|
|
37130
37133
|
}) {
|
|
37131
|
-
const [f, h] = oe(c || u), [m, g] = oe(l), [v, y] = oe(!0), x =
|
|
37134
|
+
const [f, h] = oe(c || u), [m, g] = oe(l), [v, y] = oe(!0), x = he(), b = fe(() => r === "Loading", [r]), w = fe(() => r === "Success", [r]), { ref: C, checkOverflow: k, overflowInfo: E } = ude(1), _ = fe(
|
|
37132
37135
|
() => E.hasOverflow || E.numberOfLines > 1,
|
|
37133
37136
|
[E.hasOverflow, E.numberOfLines]
|
|
37134
37137
|
), N = te(() => {
|
|
@@ -37147,14 +37150,14 @@ function HNe({
|
|
|
37147
37150
|
ne(() => () => {
|
|
37148
37151
|
x.current && clearTimeout(x.current);
|
|
37149
37152
|
}, []);
|
|
37150
|
-
const A =
|
|
37153
|
+
const A = fe(
|
|
37151
37154
|
() => W(
|
|
37152
37155
|
"sl-border sl-relative sl-p-4 sl-rounded-lg sl-bg-white",
|
|
37153
37156
|
w ? "sl-border-success-300" : b ? "" : "sl-border-foreground-v2-100 hover:sl-border-foreground-v2-500",
|
|
37154
37157
|
t
|
|
37155
37158
|
),
|
|
37156
37159
|
[w, b, t]
|
|
37157
|
-
), O =
|
|
37160
|
+
), O = fe(
|
|
37158
37161
|
() => o && !b ? /* @__PURE__ */ p.jsx(
|
|
37159
37162
|
Nf.button,
|
|
37160
37163
|
{
|
|
@@ -37171,7 +37174,7 @@ function HNe({
|
|
|
37171
37174
|
ne(() => {
|
|
37172
37175
|
h(c);
|
|
37173
37176
|
}, [c]);
|
|
37174
|
-
const D =
|
|
37177
|
+
const D = fe(
|
|
37175
37178
|
() => /* @__PURE__ */ p.jsxs("div", { className: "sl-flex sl-items-start sl-justify-between sl-gap-4", children: [
|
|
37176
37179
|
/* @__PURE__ */ p.jsxs("div", { className: "sl-flex sl-items-start sl-gap-4", children: [
|
|
37177
37180
|
i,
|
|
@@ -37249,7 +37252,7 @@ function HNe({
|
|
|
37249
37252
|
R,
|
|
37250
37253
|
O
|
|
37251
37254
|
]
|
|
37252
|
-
), T =
|
|
37255
|
+
), T = fe(
|
|
37253
37256
|
() => o ? /* @__PURE__ */ p.jsx(
|
|
37254
37257
|
Nf.div,
|
|
37255
37258
|
{
|
|
@@ -37350,7 +37353,7 @@ var Yme = function(t, e) {
|
|
|
37350
37353
|
return PH(Yme, t);
|
|
37351
37354
|
}, Zme = ["mousedown", "touchstart"], $$ = function(t, e, n) {
|
|
37352
37355
|
n === void 0 && (n = Zme);
|
|
37353
|
-
var r =
|
|
37356
|
+
var r = he(e);
|
|
37354
37357
|
ne(function() {
|
|
37355
37358
|
r.current = e;
|
|
37356
37359
|
}, [e]), ne(function() {
|
|
@@ -37371,7 +37374,7 @@ var Yme = function(t, e) {
|
|
|
37371
37374
|
}, Xme = function(t) {
|
|
37372
37375
|
ne(t, []);
|
|
37373
37376
|
}, Jme = function(t) {
|
|
37374
|
-
var e =
|
|
37377
|
+
var e = he(t);
|
|
37375
37378
|
e.current = t, Xme(function() {
|
|
37376
37379
|
return function() {
|
|
37377
37380
|
return e.current();
|
|
@@ -37379,13 +37382,13 @@ var Yme = function(t, e) {
|
|
|
37379
37382
|
});
|
|
37380
37383
|
};
|
|
37381
37384
|
function z$(t) {
|
|
37382
|
-
var e =
|
|
37385
|
+
var e = he();
|
|
37383
37386
|
return ne(function() {
|
|
37384
37387
|
e.current = t;
|
|
37385
37388
|
}), e.current;
|
|
37386
37389
|
}
|
|
37387
37390
|
var Qme = function(t, e) {
|
|
37388
|
-
var n = oe(t), r = n[0], s = n[1], o =
|
|
37391
|
+
var n = oe(t), r = n[0], s = n[1], o = he(), i = he(null), a = he(0);
|
|
37389
37392
|
return ne(function() {
|
|
37390
37393
|
if (o.current)
|
|
37391
37394
|
i.current = t, a.current = !0;
|
|
@@ -37410,7 +37413,7 @@ function mm(t, e) {
|
|
|
37410
37413
|
}
|
|
37411
37414
|
const fu = 1200, ege = 16, SA = 8, EA = 16;
|
|
37412
37415
|
mm(160);
|
|
37413
|
-
const hl = mm(480), pl = mm(80), tge = 36, qn = 26,
|
|
37416
|
+
const hl = mm(480), pl = mm(80), tge = 36, qn = 26, Va = 48, q$ = 16, nge = 46, rge = 5, Af = q$ * qn, OC = "(Em branco)", gm = [
|
|
37414
37417
|
"Decimal",
|
|
37415
37418
|
"Float",
|
|
37416
37419
|
"Integer",
|
|
@@ -37476,7 +37479,7 @@ function uge(t) {
|
|
|
37476
37479
|
return u;
|
|
37477
37480
|
}
|
|
37478
37481
|
function dge() {
|
|
37479
|
-
const t =
|
|
37482
|
+
const t = he(null), [e, n] = oe(!1), r = te((s = 2e3) => {
|
|
37480
37483
|
n(!0), t.current && clearTimeout(t.current), t.current = setTimeout(() => n(!1), s);
|
|
37481
37484
|
}, []);
|
|
37482
37485
|
return { isLastRowHighlighted: e, highlightLastRow: r };
|
|
@@ -40948,12 +40951,12 @@ function jC(t, e) {
|
|
|
40948
40951
|
let {
|
|
40949
40952
|
onAccept: n,
|
|
40950
40953
|
onComplete: r,
|
|
40951
|
-
ref: s =
|
|
40954
|
+
ref: s = he(null),
|
|
40952
40955
|
defaultValue: o,
|
|
40953
40956
|
defaultUnmaskedValue: i,
|
|
40954
40957
|
defaultTypedValue: a
|
|
40955
40958
|
} = e === void 0 ? {} : e;
|
|
40956
|
-
const l =
|
|
40959
|
+
const l = he(null), [c, u] = oe({}), [d, f] = oe(""), [h, m] = oe(""), [g, v] = oe(), y = te(() => {
|
|
40957
40960
|
var C;
|
|
40958
40961
|
(C = l.current) == null || C.destroy(), l.current = null;
|
|
40959
40962
|
}, []), x = te(() => {
|
|
@@ -41247,7 +41250,7 @@ function Eve({
|
|
|
41247
41250
|
conditionalFormatting: u,
|
|
41248
41251
|
enableCyclicPasteRepeat: d = !0
|
|
41249
41252
|
}) {
|
|
41250
|
-
const { isLastRowHighlighted: f, highlightLastRow: h } = dge(), { history: m, addToHistory: g, undo: v } = fge(), y =
|
|
41253
|
+
const { isLastRowHighlighted: f, highlightLastRow: h } = dge(), { history: m, addToHistory: g, undo: v } = fge(), y = fe(
|
|
41251
41254
|
() => Ume(n, r),
|
|
41252
41255
|
[n, r]
|
|
41253
41256
|
), [x, b] = oe(y), [w, C] = oe([]), [k, E] = oe(An.DEFAULT), [_, N] = oe(0), R = kA(e), [A, O] = oe(R), [D, T] = oe([]), [F, M] = oe(!1), [B, I] = oe(!1), [P, L] = oe(null), [q, j] = oe(null), [K, V] = oe(!1), [$, z] = oe(!1), [H, Y] = oe(!1), [Z, J] = oe(null), re = !!(D.length && Lk({ matrix: x, pointsRange: D })), G = jk(x) || R.length, Q = DC(x), ge = Q.rows === 0, me = A.some(
|
|
@@ -41485,7 +41488,7 @@ function Eve({
|
|
|
41485
41488
|
if (s) return;
|
|
41486
41489
|
const ee = pge({ matrix: x, columns: A, columnsCount: G });
|
|
41487
41490
|
b(ee), o?.(ee), h();
|
|
41488
|
-
}, [s, x, A, G, h, o]),
|
|
41491
|
+
}, [s, x, A, G, h, o]), ma = te(() => {
|
|
41489
41492
|
const ee = { column: 0, row: 0 }, ae = { column: Q.columns, row: Q.rows - 1 };
|
|
41490
41493
|
T([{ start: ee, end: ae }]);
|
|
41491
41494
|
}, [Q]), Yn = te(
|
|
@@ -41534,12 +41537,12 @@ function Eve({
|
|
|
41534
41537
|
window.dispatchEvent(new CustomEvent("times-scrolled"));
|
|
41535
41538
|
},
|
|
41536
41539
|
[D, Q.columns, Q.rows]
|
|
41537
|
-
),
|
|
41540
|
+
), ga = te(
|
|
41538
41541
|
(ee) => {
|
|
41539
41542
|
V(!0), Yn(ee);
|
|
41540
41543
|
},
|
|
41541
41544
|
[Yn]
|
|
41542
|
-
), ps =
|
|
41545
|
+
), ps = he(!1), ms = te(() => {
|
|
41543
41546
|
ps.current || (ps.current = !0, setTimeout(() => {
|
|
41544
41547
|
v(x, b), ps.current = !1;
|
|
41545
41548
|
}, 100));
|
|
@@ -41613,7 +41616,7 @@ function Eve({
|
|
|
41613
41616
|
};
|
|
41614
41617
|
return window.addEventListener("keydown", ee), () => window.removeEventListener("keydown", ee);
|
|
41615
41618
|
}, [ms, $, H]);
|
|
41616
|
-
const Ur =
|
|
41619
|
+
const Ur = fe(() => D.map((ee) => {
|
|
41617
41620
|
const ae = {
|
|
41618
41621
|
column: Math.min(ee.start.column, ee.end.column),
|
|
41619
41622
|
row: Math.min(ee.start.row, ee.end.row)
|
|
@@ -41629,10 +41632,10 @@ function Eve({
|
|
|
41629
41632
|
ne(() => {
|
|
41630
41633
|
D && M(!1);
|
|
41631
41634
|
}, [D]);
|
|
41632
|
-
const fi =
|
|
41635
|
+
const fi = fe(() => u?.map((ee) => ({
|
|
41633
41636
|
...ee,
|
|
41634
41637
|
columnId: ee.columnId ? ee.columnId.split(";").map((ae) => `spreadsheet__column__id__${ae}`).join(";") : void 0
|
|
41635
|
-
})) || [], [u]),
|
|
41638
|
+
})) || [], [u]), va = fe(() => {
|
|
41636
41639
|
const ee = A.map((xe) => xe.filter.rowsByValue);
|
|
41637
41640
|
return !me && ee.length === 0 ? x.map((xe, ke) => ({ originalIndex: ke, value: xe })) : x.map((xe, ke) => {
|
|
41638
41641
|
if (ee.length === 0 && AA({ columns: A, row: xe }))
|
|
@@ -41640,7 +41643,7 @@ function Eve({
|
|
|
41640
41643
|
if (AA({ columns: A, row: xe }) && ee.every((_e) => _e ? _e.includes(ke) : !0))
|
|
41641
41644
|
return { originalIndex: ke, value: xe };
|
|
41642
41645
|
}).filter((xe) => xe !== void 0);
|
|
41643
|
-
}, [x, me, A]),
|
|
41646
|
+
}, [x, me, A]), ya = fe(
|
|
41644
41647
|
() => ({
|
|
41645
41648
|
size: Q,
|
|
41646
41649
|
matrix: x,
|
|
@@ -41678,9 +41681,9 @@ function Eve({
|
|
|
41678
41681
|
isCopied: F,
|
|
41679
41682
|
onInsertNewRow: Ln,
|
|
41680
41683
|
onColumnResize: sn,
|
|
41681
|
-
onSelectSpreadsheet:
|
|
41684
|
+
onSelectSpreadsheet: ma,
|
|
41682
41685
|
onNavigateWithArrowKeys: Yn,
|
|
41683
|
-
onNavigateWithAutoEdit:
|
|
41686
|
+
onNavigateWithAutoEdit: ga,
|
|
41684
41687
|
onColumnVisibilityChange: Ys,
|
|
41685
41688
|
onChangeColumn: de,
|
|
41686
41689
|
onChangeColumnState: Er,
|
|
@@ -41697,7 +41700,7 @@ function Eve({
|
|
|
41697
41700
|
freezeLine: Z,
|
|
41698
41701
|
setFreezeLine: J,
|
|
41699
41702
|
conditionalFormatting: fi,
|
|
41700
|
-
filteredMatrix:
|
|
41703
|
+
filteredMatrix: va
|
|
41701
41704
|
}),
|
|
41702
41705
|
[
|
|
41703
41706
|
Q,
|
|
@@ -41732,9 +41735,9 @@ function Eve({
|
|
|
41732
41735
|
F,
|
|
41733
41736
|
Ln,
|
|
41734
41737
|
sn,
|
|
41735
|
-
pa,
|
|
41736
|
-
Yn,
|
|
41737
41738
|
ma,
|
|
41739
|
+
Yn,
|
|
41740
|
+
ga,
|
|
41738
41741
|
Ys,
|
|
41739
41742
|
de,
|
|
41740
41743
|
Er,
|
|
@@ -41749,10 +41752,10 @@ function Eve({
|
|
|
41749
41752
|
K,
|
|
41750
41753
|
Z,
|
|
41751
41754
|
fi,
|
|
41752
|
-
|
|
41755
|
+
va
|
|
41753
41756
|
]
|
|
41754
41757
|
);
|
|
41755
|
-
return /* @__PURE__ */ p.jsx(n7.Provider, { value:
|
|
41758
|
+
return /* @__PURE__ */ p.jsx(n7.Provider, { value: ya, children: t });
|
|
41756
41759
|
}
|
|
41757
41760
|
function Jt() {
|
|
41758
41761
|
const t = bt(n7);
|
|
@@ -41795,11 +41798,11 @@ function s7(t) {
|
|
|
41795
41798
|
return Tve(e, t);
|
|
41796
41799
|
}
|
|
41797
41800
|
function Ave({ children: t, ...e }) {
|
|
41798
|
-
const n =
|
|
41801
|
+
const n = he();
|
|
41799
41802
|
return n.current || (n.current = Nve(e)), /* @__PURE__ */ p.jsx(r7.Provider, { value: n.current, children: t });
|
|
41800
41803
|
}
|
|
41801
41804
|
function Mve(t) {
|
|
41802
|
-
const { children: e, className: n } = t, { size: r, emptySize: s, isLastRowHighlighted: o, setScrollLeft: i, columns: a, pointsRange: l } = Jt(), { scrollTop: c, setScrollTop: u } = s7((C) => C), d =
|
|
41805
|
+
const { children: e, className: n } = t, { size: r, emptySize: s, isLastRowHighlighted: o, setScrollLeft: i, columns: a, pointsRange: l } = Jt(), { scrollTop: c, setScrollTop: u } = s7((C) => C), d = he(null), [f, h] = oe(!1), [m, g] = oe(0), v = z$(m), y = te(
|
|
41803
41806
|
(C) => {
|
|
41804
41807
|
const k = C.currentTarget.scrollTop, E = C.currentTarget.scrollLeft, _ = k === c;
|
|
41805
41808
|
i(E), !_ && u(k);
|
|
@@ -41868,11 +41871,11 @@ function Mve(t) {
|
|
|
41868
41871
|
const z = a[$];
|
|
41869
41872
|
z?.state.visible && !z.state.isFixed && (q += z.state.width);
|
|
41870
41873
|
}
|
|
41871
|
-
const j = I.state.width, K = P +
|
|
41872
|
-
q < K ? B = Math.max(-
|
|
41874
|
+
const j = I.state.width, K = P + Va, V = P + L;
|
|
41875
|
+
q < K ? B = Math.max(-Va, q - Va) : q + j > V && (B = Math.max(0, q + j - L));
|
|
41873
41876
|
}
|
|
41874
41877
|
(B !== void 0 || M !== void 0) && C.scrollTo({
|
|
41875
|
-
left: B !== void 0 ? B +
|
|
41878
|
+
left: B !== void 0 ? B + Va : C.scrollLeft,
|
|
41876
41879
|
top: M !== void 0 ? M : C.scrollTop,
|
|
41877
41880
|
behavior: "smooth"
|
|
41878
41881
|
});
|
|
@@ -41895,7 +41898,7 @@ function Mve(t) {
|
|
|
41895
41898
|
);
|
|
41896
41899
|
}
|
|
41897
41900
|
function Rve(t) {
|
|
41898
|
-
const { children: e, className: n } = t, { pointsRange: r, setPointsRange: s, viewType: o, setTableFocus: i } = Jt(), a =
|
|
41901
|
+
const { children: e, className: n } = t, { pointsRange: r, setPointsRange: s, viewType: o, setTableFocus: i } = Jt(), a = he(null);
|
|
41899
41902
|
return $$(a, () => {
|
|
41900
41903
|
r.length === 0 || o === An.LINE_BY_LINE || (s([]), i(!1));
|
|
41901
41904
|
}), /* @__PURE__ */ p.jsx(
|
|
@@ -42346,19 +42349,19 @@ function Uve({ column: t }) {
|
|
|
42346
42349
|
const e = M3(), { onChangeColumn: n, setMatrix: r, matrix: s, columns: o } = Jt(), i = t.index, a = t.dataEditorType, [l, c] = oe(!1), [u, d] = oe(!1), f = () => d((L) => !L), [h, m] = oe(!1), g = () => m((L) => !L), [v, y] = oe(Wt.None), [x, b] = oe(zt.None), [w, C] = oe({
|
|
42347
42350
|
valueA: "",
|
|
42348
42351
|
valueB: ""
|
|
42349
|
-
}), k =
|
|
42352
|
+
}), k = fe(
|
|
42350
42353
|
() => s.map(
|
|
42351
42354
|
(L) => L[t.index]?.value ? String(L[t.index]?.value) : OC
|
|
42352
42355
|
),
|
|
42353
42356
|
[s, t.index]
|
|
42354
|
-
), E =
|
|
42357
|
+
), E = fe(() => [...new Set(k)], [k]), _ = fe(
|
|
42355
42358
|
() => E.map((L, q) => ({
|
|
42356
42359
|
id: `${e}-column-value-${q}`,
|
|
42357
42360
|
value: L,
|
|
42358
42361
|
displayValue: qve(L, t)
|
|
42359
42362
|
})),
|
|
42360
42363
|
[E, e, t]
|
|
42361
|
-
), [N, R] = oe(null), A =
|
|
42364
|
+
), [N, R] = oe(null), A = fe(() => N || _, [N, _]), O = te(
|
|
42362
42365
|
(L, q) => {
|
|
42363
42366
|
const { id: j, value: K, displayValue: V } = q;
|
|
42364
42367
|
if (L)
|
|
@@ -42512,7 +42515,7 @@ function Kve({
|
|
|
42512
42515
|
width: r,
|
|
42513
42516
|
style: s
|
|
42514
42517
|
}) {
|
|
42515
|
-
const o = e.index, i = e.alphabetLetter, { name: a, description: l } = e, { matrix: c, pointsRange: u, onColumnResize: d, onSelectColumn: f, onChangeColumn: h } = Jt(), m =
|
|
42518
|
+
const o = e.index, i = e.alphabetLetter, { name: a, description: l } = e, { matrix: c, pointsRange: u, onColumnResize: d, onSelectColumn: f, onChangeColumn: h } = Jt(), m = he(null), g = Af + tge + 27, [v, y] = oe(!1), [x, b] = oe(0), w = e.filter.type !== mr.None || typeof e.filter.rowsByValue?.length == "number" && e.filter.rowsByValue.length !== c.length || e.counter !== zt.None, C = fe(() => {
|
|
42516
42519
|
if (!u.length) return !1;
|
|
42517
42520
|
const D = u[0];
|
|
42518
42521
|
return D ? D.start.column === e.index && D.end.column === e.index : !1;
|
|
@@ -42533,7 +42536,7 @@ function Kve({
|
|
|
42533
42536
|
d({ width: F, position: o }), y(!1);
|
|
42534
42537
|
},
|
|
42535
42538
|
[x, r, o, d]
|
|
42536
|
-
), N =
|
|
42539
|
+
), N = fe(
|
|
42537
42540
|
() => ({ onDragStart: k, onDrag: E, onDragEnd: _ }),
|
|
42538
42541
|
[k, E, _]
|
|
42539
42542
|
), R = te(() => w ? "sl-bg-success-300 sl-text-white [&>p]:sl-text-inherit sl-justify-between" : v ? "sl-bg-neutral-100 sl-font-bold sl-text-neutral-700 [&>p]:sl-text-inherit" : u.length && !v && Lk({ matrix: c, pointsRange: u }) || C ? "sl-bg-info-300 sl-font-bold sl-text-white [&>p]:sl-text-inherit" : t, [v, t, c, u, w, C]), A = te(() => {
|
|
@@ -42689,7 +42692,7 @@ function Zve() {
|
|
|
42689
42692
|
/* @__PURE__ */ p.jsx(
|
|
42690
42693
|
"div",
|
|
42691
42694
|
{
|
|
42692
|
-
style: { height: qn, width:
|
|
42695
|
+
style: { height: qn, width: Va },
|
|
42693
42696
|
className: "sl-bg-info-50 sl-z-50"
|
|
42694
42697
|
}
|
|
42695
42698
|
),
|
|
@@ -42772,7 +42775,7 @@ function Jve(t) {
|
|
|
42772
42775
|
onSelectRow: v,
|
|
42773
42776
|
onOpenFullScreen: y,
|
|
42774
42777
|
fullScreen: x
|
|
42775
|
-
} = Jt(), [b, w] = oe(!1), [C, k] = oe(!1), [E, _] = oe(!1), [N, R] = oe(""), [A, O] = oe(!1), D =
|
|
42778
|
+
} = Jt(), [b, w] = oe(!1), [C, k] = oe(!1), [E, _] = oe(!1), [N, R] = oe(""), [A, O] = oe(!1), D = he(null), T = fe(() => o.filter(({ state: z }) => z.visible), [o]), F = fe(() => o.length === T.length, [o.length, T.length]), M = "Exibindo todas as colunas", B = `Exibindo ${T.length} de ${o.length} colunas`, I = F ? M : B, P = fe(() => a !== An.LINE_BY_LINE || !g.length ? 0 : g[0].start.row, [a, g]), L = i.length, q = L > 0 ? `${P + 1}/${L}` : "0/0", j = (z) => {
|
|
42776
42779
|
A && D.current || (z.key === "Backspace" ? R((H) => H.slice(0, -1)) : z.key.length === 1 && R((H) => H + z.key), D.current?.focus());
|
|
42777
42780
|
};
|
|
42778
42781
|
ne(() => {
|
|
@@ -42814,7 +42817,7 @@ function Jve(t) {
|
|
|
42814
42817
|
onClick: u,
|
|
42815
42818
|
"data-cypress": "table-delete-selected-row",
|
|
42816
42819
|
"data-testid": "table-delete-selected-row",
|
|
42817
|
-
children: /* @__PURE__ */ p.jsx(
|
|
42820
|
+
children: /* @__PURE__ */ p.jsx(zi, { className: "sl-w-5 sl-h-5", color: "currentColor" })
|
|
42818
42821
|
}
|
|
42819
42822
|
) }),
|
|
42820
42823
|
y && /* @__PURE__ */ p.jsx(tn, { message: "Abrir em tela cheia", children: /* @__PURE__ */ p.jsx(ft, { variant: "default", onClick: y, children: /* @__PURE__ */ p.jsx(bU, { className: "sl-w-5 sl-h-5", color: "currentColor" }) }) }),
|
|
@@ -43055,7 +43058,7 @@ function eye({ value: t, onValueChange: e, isDisabled: n }) {
|
|
|
43055
43058
|
] });
|
|
43056
43059
|
}
|
|
43057
43060
|
function tye({ value: t, onValueChange: e, isDisabled: n }) {
|
|
43058
|
-
const r =
|
|
43061
|
+
const r = he(null), s = n, o = fe(() => {
|
|
43059
43062
|
const l = (navigator.language || navigator.languages[0]).startsWith("en-US");
|
|
43060
43063
|
if (typeof t == "string" && t.includes("/")) {
|
|
43061
43064
|
const c = t.split("/");
|
|
@@ -43098,14 +43101,14 @@ function tye({ value: t, onValueChange: e, isDisabled: n }) {
|
|
|
43098
43101
|
function nye({ value: t, onValueChange: e, isDisabled: n, settings: r }) {
|
|
43099
43102
|
const s = (i) => {
|
|
43100
43103
|
e?.(i);
|
|
43101
|
-
}, o =
|
|
43104
|
+
}, o = fe(() => r?.select?.items ? r.select.items : [], [r]);
|
|
43102
43105
|
return /* @__PURE__ */ p.jsxs(Nr.Root, { onValueChange: s, value: t || void 0, children: [
|
|
43103
43106
|
/* @__PURE__ */ p.jsx(Nr.Trigger, { disabled: n, children: /* @__PURE__ */ p.jsx(Nr.Value, { placeholder: "Selecionar" }) }),
|
|
43104
43107
|
/* @__PURE__ */ p.jsx(Nr.Content, { className: "sl-z-60", children: o.map(({ text: i, value: a }) => /* @__PURE__ */ p.jsx(Nr.Item, { value: a, children: i }, a)) })
|
|
43105
43108
|
] });
|
|
43106
43109
|
}
|
|
43107
43110
|
function GA({ value: t, onValueChange: e, isDisabled: n, type: r }) {
|
|
43108
|
-
const s =
|
|
43111
|
+
const s = fe(() => r === "Integer" ? "integer" : r === "Float" ? "float" : r === "Decimal" ? "decimal" : r === "Percentage" ? "percentage" : r === "Currency" ? "currency" : "decimal", [r]);
|
|
43109
43112
|
return /* @__PURE__ */ p.jsx("div", { className: "sl-relative sl-w-full", children: /* @__PURE__ */ p.jsx(
|
|
43110
43113
|
_J,
|
|
43111
43114
|
{
|
|
@@ -43142,11 +43145,11 @@ function LC(t, e) {
|
|
|
43142
43145
|
return !1;
|
|
43143
43146
|
}
|
|
43144
43147
|
function sye({ value: t, onValueChange: e, isDisabled: n, settings: r }) {
|
|
43145
|
-
const s =
|
|
43148
|
+
const s = fe(() => r?.string ? {
|
|
43146
43149
|
mask: r.string.maskData,
|
|
43147
43150
|
maskVisible: r.string.maskVisible,
|
|
43148
43151
|
charLimit: r.string.charLimit
|
|
43149
|
-
} : null, [r?.string]), o =
|
|
43152
|
+
} : null, [r?.string]), o = fe(() => {
|
|
43150
43153
|
if (!s?.mask)
|
|
43151
43154
|
return [
|
|
43152
43155
|
{
|
|
@@ -43203,7 +43206,7 @@ function iye(t) {
|
|
|
43203
43206
|
);
|
|
43204
43207
|
}
|
|
43205
43208
|
function aye() {
|
|
43206
|
-
const { pointsRange: t, columns: e, onChange: n, matrix: r, onSelectRow: s, setViewType: o } = Jt(), i =
|
|
43209
|
+
const { pointsRange: t, columns: e, onChange: n, matrix: r, onSelectRow: s, setViewType: o } = Jt(), i = fe(() => t.length ? r[t[0].start.row] : (s(0), r[0]), [t, r, s]);
|
|
43207
43210
|
return i ? t.length ? /* @__PURE__ */ p.jsx(
|
|
43208
43211
|
"div",
|
|
43209
43212
|
{
|
|
@@ -43237,7 +43240,7 @@ function aye() {
|
|
|
43237
43240
|
) : null : (o(An.DEFAULT), null);
|
|
43238
43241
|
}
|
|
43239
43242
|
function lye(t) {
|
|
43240
|
-
const { mode: e, value: n, onChange: r, onPaste: s, setMode: o, column: i, coordinates: a } = t, { setPointsRange: l } = Jt(), [c, u] = B$(!0), d =
|
|
43243
|
+
const { mode: e, value: n, onChange: r, onPaste: s, setMode: o, column: i, coordinates: a } = t, { setPointsRange: l } = Jt(), [c, u] = B$(!0), d = he(null), f = te(
|
|
43241
43244
|
(y) => {
|
|
43242
43245
|
y.preventDefault(), s?.(y);
|
|
43243
43246
|
},
|
|
@@ -43326,7 +43329,7 @@ function cye(t) {
|
|
|
43326
43329
|
);
|
|
43327
43330
|
}
|
|
43328
43331
|
function uye(t) {
|
|
43329
|
-
const { mode: e, value: n, onBlur: r, onChange: s, onPaste: o, column: i, coordinates: a } = t, l =
|
|
43332
|
+
const { mode: e, value: n, onBlur: r, onChange: s, onPaste: o, column: i, coordinates: a } = t, l = fe(() => {
|
|
43330
43333
|
const d = (navigator.language || navigator.languages[0]).startsWith("en-US");
|
|
43331
43334
|
if (typeof n == "string" && n.includes("/")) {
|
|
43332
43335
|
const f = n.split("/");
|
|
@@ -43360,7 +43363,7 @@ function uye(t) {
|
|
|
43360
43363
|
);
|
|
43361
43364
|
}
|
|
43362
43365
|
function dye(t) {
|
|
43363
|
-
const { value: e, column: n, coordinates: r, mode: s } = t, o =
|
|
43366
|
+
const { value: e, column: n, coordinates: r, mode: s } = t, o = fe(() => {
|
|
43364
43367
|
const i = navigator.language || navigator.languages[0];
|
|
43365
43368
|
if (!e)
|
|
43366
43369
|
return i.startsWith("en-US") ? "mm/dd/yyyy" : "dd/mm/aaaa";
|
|
@@ -43391,7 +43394,7 @@ function fye(t) {
|
|
|
43391
43394
|
column: a,
|
|
43392
43395
|
coordinates: l,
|
|
43393
43396
|
testid: c = "numeric-data-editor"
|
|
43394
|
-
} = t, u =
|
|
43397
|
+
} = t, u = he(null), [d, f] = oe(!1), h = te(
|
|
43395
43398
|
(v) => {
|
|
43396
43399
|
v.preventDefault(), o?.(v);
|
|
43397
43400
|
},
|
|
@@ -43437,7 +43440,7 @@ function hye(t) {
|
|
|
43437
43440
|
);
|
|
43438
43441
|
}
|
|
43439
43442
|
function pye(t) {
|
|
43440
|
-
const { mode: e, value: n, onChange: r, onPaste: s, items: o, setMode: i, coordinates: a, column: l } = t, { setPointsRange: c } = Jt(), [u, d] = B$(!0), f =
|
|
43443
|
+
const { mode: e, value: n, onChange: r, onPaste: s, items: o, setMode: i, coordinates: a, column: l } = t, { setPointsRange: c } = Jt(), [u, d] = B$(!0), f = he(null), h = te(
|
|
43441
43444
|
(x) => {
|
|
43442
43445
|
x.preventDefault(), s?.(x);
|
|
43443
43446
|
},
|
|
@@ -43504,7 +43507,7 @@ function pye(t) {
|
|
|
43504
43507
|
);
|
|
43505
43508
|
}
|
|
43506
43509
|
function mye(t) {
|
|
43507
|
-
const { mode: e, setMode: n, value: r, items: s, coordinates: o, column: i } = t, a =
|
|
43510
|
+
const { mode: e, setMode: n, value: r, items: s, coordinates: o, column: i } = t, a = fe(() => s.find((c) => c.value === r), [s, r]), l = fe(() => a ? a.text : "Selecionar", [a]);
|
|
43508
43511
|
return (
|
|
43509
43512
|
// biome-ignore lint/a11y/useKeyWithClickEvents: <explanation>
|
|
43510
43513
|
/* @__PURE__ */ p.jsxs(
|
|
@@ -43525,7 +43528,7 @@ function mye(t) {
|
|
|
43525
43528
|
);
|
|
43526
43529
|
}
|
|
43527
43530
|
function gye(t) {
|
|
43528
|
-
const { mode: e, width: n, value: r, onBlur: s, onChange: o, setMode: i, column: a, selected: l, coordinates: c } = t, { portalRef: u } = PS(), d = r, f =
|
|
43531
|
+
const { mode: e, width: n, value: r, onBlur: s, onChange: o, setMode: i, column: a, selected: l, coordinates: c } = t, { portalRef: u } = PS(), d = r, f = he(null), h = he(null), [m, g] = oe(0), v = fe(() => zo(d, n), [d, n]), y = he(null), [x, b] = oe(null), [w, C] = oe(!1);
|
|
43529
43532
|
ne(() => {
|
|
43530
43533
|
if (y.current && v) {
|
|
43531
43534
|
const { top: A, left: O } = y.current.getBoundingClientRect();
|
|
@@ -43655,7 +43658,7 @@ function gye(t) {
|
|
|
43655
43658
|
}
|
|
43656
43659
|
function vye(t) {
|
|
43657
43660
|
const { mode: e, value: n, column: r, width: s, selected: o, coordinates: i } = t, a = n;
|
|
43658
|
-
return
|
|
43661
|
+
return fe(() => zo(a, s), [a, s]) ? /* @__PURE__ */ p.jsx(
|
|
43659
43662
|
tn,
|
|
43660
43663
|
{
|
|
43661
43664
|
delayDuration: 0,
|
|
@@ -43691,7 +43694,7 @@ function vye(t) {
|
|
|
43691
43694
|
);
|
|
43692
43695
|
}
|
|
43693
43696
|
function yye(t) {
|
|
43694
|
-
const { mode: e, width: n, value: r, onBlur: s, onChange: o, setMode: i, column: a, selected: l, coordinates: c } = t, { portalRef: u } = PS(), d = r, [f, h] = oe(0), m =
|
|
43697
|
+
const { mode: e, width: n, value: r, onBlur: s, onChange: o, setMode: i, column: a, selected: l, coordinates: c } = t, { portalRef: u } = PS(), d = r, [f, h] = oe(0), m = he(null), [g, v] = oe(null), [y, x] = oe(!1), [b, w] = oe(!1), C = he(!1), k = a?.settings?.string, E = fe(() => {
|
|
43695
43698
|
if (!k?.maskData)
|
|
43696
43699
|
return [
|
|
43697
43700
|
{
|
|
@@ -43733,7 +43736,7 @@ function yye(t) {
|
|
|
43733
43736
|
o?.({ data: $ }), x(!0), P(), D(j);
|
|
43734
43737
|
}
|
|
43735
43738
|
}
|
|
43736
|
-
), B =
|
|
43739
|
+
), B = he(!1), I = fe(() => {
|
|
43737
43740
|
const j = zo(
|
|
43738
43741
|
N === "textarea" ? F : O,
|
|
43739
43742
|
n
|
|
@@ -43846,7 +43849,7 @@ function yye(t) {
|
|
|
43846
43849
|
] });
|
|
43847
43850
|
}
|
|
43848
43851
|
function xye(t) {
|
|
43849
|
-
const { mode: e, value: n, column: r, width: s, selected: o, coordinates: i } = t, a = n, l = r?.settings?.string, c =
|
|
43852
|
+
const { mode: e, value: n, column: r, width: s, selected: o, coordinates: i } = t, a = n, l = r?.settings?.string, c = fe(() => {
|
|
43850
43853
|
if (!l?.maskData)
|
|
43851
43854
|
return [
|
|
43852
43855
|
{
|
|
@@ -43858,7 +43861,7 @@ function xye(t) {
|
|
|
43858
43861
|
lazy: !0
|
|
43859
43862
|
}));
|
|
43860
43863
|
return [{ mask: "" }, ...f];
|
|
43861
|
-
}, [l?.maskData]), u =
|
|
43864
|
+
}, [l?.maskData]), u = fe(() => {
|
|
43862
43865
|
if (!a) return a;
|
|
43863
43866
|
try {
|
|
43864
43867
|
return Le.pipe(a, {
|
|
@@ -43869,7 +43872,7 @@ function xye(t) {
|
|
|
43869
43872
|
return console.error("Error applying mask:", f), a;
|
|
43870
43873
|
}
|
|
43871
43874
|
}, [a, c]);
|
|
43872
|
-
return
|
|
43875
|
+
return fe(() => zo(u, s), [u, s]) ? /* @__PURE__ */ p.jsx(
|
|
43873
43876
|
tn,
|
|
43874
43877
|
{
|
|
43875
43878
|
delayDuration: 0,
|
|
@@ -43979,15 +43982,15 @@ function Sye({
|
|
|
43979
43982
|
addToHistory: _,
|
|
43980
43983
|
conditionalFormatting: N,
|
|
43981
43984
|
filteredMatrix: R
|
|
43982
|
-
} = Jt(), A =
|
|
43985
|
+
} = Jt(), A = fe(() => i[r.column], [i, r.column]), O = !!A?.state?.readonly || e, [D, T] = oe(O ? "readonly" : "view"), [F, M] = oe(void 0), B = he(null), I = z$(D), P = he(null), L = he(null), q = te(
|
|
43983
43986
|
(le) => {
|
|
43984
43987
|
T(le), E(le === "edit");
|
|
43985
43988
|
},
|
|
43986
43989
|
[E]
|
|
43987
|
-
), j =
|
|
43990
|
+
), j = fe(() => a(r), [r, a]), K = fe(
|
|
43988
43991
|
() => A?.settings?.select?.items || [],
|
|
43989
43992
|
[A?.settings?.select?.items]
|
|
43990
|
-
), V =
|
|
43993
|
+
), V = fe(() => {
|
|
43991
43994
|
if (!l || !j) return { top: !1, bottom: !1, left: !1, right: !1 };
|
|
43992
43995
|
const { row: le, column: Se } = r, Ee = !a({ row: le - 1, column: Se }), tt = !a({ row: le + 1, column: Se }), nt = !a({ row: le, column: Se - 1 }), lt = !a({ row: le, column: Se + 1 });
|
|
43993
43996
|
return {
|
|
@@ -43998,7 +44001,7 @@ function Sye({
|
|
|
43998
44001
|
};
|
|
43999
44002
|
}, [l, j, r, a]), $ = d.find(
|
|
44000
44003
|
({ point: le }) => le.column === r.column && le.row === r.row
|
|
44001
|
-
), z =
|
|
44004
|
+
), z = fe(
|
|
44002
44005
|
() => ({
|
|
44003
44006
|
dataEditor: {
|
|
44004
44007
|
coordinates: r,
|
|
@@ -44035,7 +44038,7 @@ function Sye({
|
|
|
44035
44038
|
c,
|
|
44036
44039
|
q
|
|
44037
44040
|
]
|
|
44038
|
-
), H =
|
|
44041
|
+
), H = fe(
|
|
44039
44042
|
() => ({
|
|
44040
44043
|
Date: /* @__PURE__ */ p.jsx(Cs.Date, { ...z.dataEditor }),
|
|
44041
44044
|
String: /* @__PURE__ */ p.jsx(Cs.Text, { ...z.dataEditor }),
|
|
@@ -44048,7 +44051,7 @@ function Sye({
|
|
|
44048
44051
|
Select: /* @__PURE__ */ p.jsx(Cs.Select, { ...z.dataEditor, items: K })
|
|
44049
44052
|
}),
|
|
44050
44053
|
[z.dataEditor, K]
|
|
44051
|
-
), Y =
|
|
44054
|
+
), Y = fe(
|
|
44052
44055
|
() => ({
|
|
44053
44056
|
Date: /* @__PURE__ */ p.jsx(Ss.Date, { ...z.dataViewer }),
|
|
44054
44057
|
String: /* @__PURE__ */ p.jsx(Ss.Text, { ...z.dataViewer }),
|
|
@@ -44061,19 +44064,19 @@ function Sye({
|
|
|
44061
44064
|
Select: /* @__PURE__ */ p.jsx(Ss.Select, { ...z.dataViewer, items: K })
|
|
44062
44065
|
}),
|
|
44063
44066
|
[z.dataViewer, K]
|
|
44064
|
-
), Z =
|
|
44067
|
+
), Z = fe(
|
|
44065
44068
|
() => A?.dataEditorType ? H[A?.dataEditorType] : null,
|
|
44066
44069
|
[A?.dataEditorType, H]
|
|
44067
|
-
), J =
|
|
44070
|
+
), J = fe(
|
|
44068
44071
|
() => A?.dataEditorType ? Y[A?.dataEditorType] : null,
|
|
44069
44072
|
[A?.dataEditorType, Y]
|
|
44070
|
-
), re =
|
|
44073
|
+
), re = fe(() => !N || !A ? null : Jue({
|
|
44071
44074
|
value: $?.value || t,
|
|
44072
44075
|
rules: N,
|
|
44073
44076
|
columnId: A.id,
|
|
44074
44077
|
isSelected: j,
|
|
44075
44078
|
isEditing: D === "edit"
|
|
44076
|
-
}), [N, A, $?.value, t, j, D]), G =
|
|
44079
|
+
}), [N, A, $?.value, t, j, D]), G = fe(() => {
|
|
44077
44080
|
if (!re) return null;
|
|
44078
44081
|
const le = {};
|
|
44079
44082
|
return re.backgroundColor && (le.backgroundColor = Que(re.backgroundColor)), re.textColor && (le.color = ede(re.textColor)), re.bold && (le.fontWeight = "bold"), le;
|
|
@@ -44322,10 +44325,10 @@ function Eye({
|
|
|
44322
44325
|
}
|
|
44323
44326
|
const kye = Lt(Eye);
|
|
44324
44327
|
function _ye({ rowIndex: t }) {
|
|
44325
|
-
const { onSelectRow: e, pointsRange: n, matrix: r, freezeLine: s, setFreezeLine: o } = Jt(), [i, a] = oe(!1), l =
|
|
44328
|
+
const { onSelectRow: e, pointsRange: n, matrix: r, freezeLine: s, setFreezeLine: o } = Jt(), [i, a] = oe(!1), l = fe(() => n.length ? n.some((h) => t >= h.start.row && t <= h.end.row) : !1, [n, t]), c = fe(
|
|
44326
44329
|
() => !!(n.length && lge({ matrix: r, pointsRange: n, row: t })),
|
|
44327
44330
|
[r, n, t]
|
|
44328
|
-
), u =
|
|
44331
|
+
), u = fe(() => `row-indicator-${t}${l && !c ? "-in-range" : ""}${c ? "-selected" : ""}`, [t, l, c]), d = () => {
|
|
44329
44332
|
o(s === t ? null : t), a(!1);
|
|
44330
44333
|
};
|
|
44331
44334
|
return /* @__PURE__ */ p.jsxs(Ei, { open: i, onOpenChange: a, children: [
|
|
@@ -44346,7 +44349,7 @@ function _ye({ rowIndex: t }) {
|
|
|
44346
44349
|
onContextMenu: (f) => {
|
|
44347
44350
|
f.preventDefault(), a(!0);
|
|
44348
44351
|
},
|
|
44349
|
-
style: { height: qn, width:
|
|
44352
|
+
style: { height: qn, width: Va },
|
|
44350
44353
|
children: [
|
|
44351
44354
|
t + 1,
|
|
44352
44355
|
/* @__PURE__ */ p.jsx(ki, { className: "sl-opacity-0 group-hover:sl-opacity-100", asChild: !0, children: /* @__PURE__ */ p.jsx(
|
|
@@ -44368,7 +44371,7 @@ function Tye({
|
|
|
44368
44371
|
rowValue: t,
|
|
44369
44372
|
rowIndex: e
|
|
44370
44373
|
}) {
|
|
44371
|
-
const { matrix: n, isLastRowHighlighted: r } = Jt(), s =
|
|
44374
|
+
const { matrix: n, isLastRowHighlighted: r } = Jt(), s = fe(
|
|
44372
44375
|
() => e === n.length - 1 && r,
|
|
44373
44376
|
[e, r, n]
|
|
44374
44377
|
);
|
|
@@ -44393,7 +44396,7 @@ const c7 = Lt(Tye), u7 = ({ isFrozen: t }) => {
|
|
|
44393
44396
|
return t ? e.slice(0, r) : e.slice(r);
|
|
44394
44397
|
};
|
|
44395
44398
|
function Nye() {
|
|
44396
|
-
const t =
|
|
44399
|
+
const t = he(null), e = u7({ isFrozen: !0 }), n = te(() => e.map((r) => /* @__PURE__ */ p.jsx(
|
|
44397
44400
|
c7,
|
|
44398
44401
|
{
|
|
44399
44402
|
rowValue: r.value,
|
|
@@ -44404,16 +44407,16 @@ function Nye() {
|
|
|
44404
44407
|
return /* @__PURE__ */ p.jsx("div", { ref: t, className: "sl-w-full", children: /* @__PURE__ */ p.jsx("div", { className: "sl-relative sl-w-full sl-z-10", children: n() }) });
|
|
44405
44408
|
}
|
|
44406
44409
|
function Aye() {
|
|
44407
|
-
const t =
|
|
44410
|
+
const t = he(null), { scrollTop: e } = s7((m) => m), n = Qme(e, 16), { emptySize: r, fullScreen: s, freezeLine: o } = Jt(), i = s ? nge : q$, a = u7({ isFrozen: !1 }), l = fe(
|
|
44408
44411
|
() => (a.length - i) * qn,
|
|
44409
44412
|
[a.length, i]
|
|
44410
|
-
), c =
|
|
44413
|
+
), c = fe(
|
|
44411
44414
|
() => Math.floor(n / qn),
|
|
44412
44415
|
[n]
|
|
44413
|
-
), u =
|
|
44416
|
+
), u = fe(
|
|
44414
44417
|
() => Math.min(c + i, a.length),
|
|
44415
44418
|
[a.length, c, i]
|
|
44416
|
-
), d =
|
|
44419
|
+
), d = fe(
|
|
44417
44420
|
() => a.slice(c, u + rge),
|
|
44418
44421
|
[a, c, u]
|
|
44419
44422
|
), f = te(() => d.map((m) => /* @__PURE__ */ p.jsx(
|
|
@@ -44423,7 +44426,7 @@ function Aye() {
|
|
|
44423
44426
|
rowIndex: m.originalIndex
|
|
44424
44427
|
},
|
|
44425
44428
|
`spreadsheet-row-${m.originalIndex + 1}`
|
|
44426
|
-
)), [d]), h =
|
|
44429
|
+
)), [d]), h = fe(() => o === null ? 0 : (o + 1) * qn, [o]);
|
|
44427
44430
|
return /* @__PURE__ */ p.jsxs(
|
|
44428
44431
|
"div",
|
|
44429
44432
|
{
|
|
@@ -44468,7 +44471,7 @@ function d7(t) {
|
|
|
44468
44471
|
onMatrixChange: s,
|
|
44469
44472
|
onMatrixObjectChange: o,
|
|
44470
44473
|
...i
|
|
44471
|
-
} = t, a = !!bt(Pk), l =
|
|
44474
|
+
} = t, a = !!bt(Pk), l = fe(() => a ? (u) => /* @__PURE__ */ p.jsx(p.Fragment, { children: u.children }) : L$, [a]), c = fe(() => {
|
|
44472
44475
|
if (!(!s && !o))
|
|
44473
44476
|
return (u) => {
|
|
44474
44477
|
o?.(u), s?.(V$(u));
|
|
@@ -44685,7 +44688,7 @@ function Oye(t) {
|
|
|
44685
44688
|
maxImageSizeInKb: f,
|
|
44686
44689
|
className: h,
|
|
44687
44690
|
...m
|
|
44688
|
-
} = t, g =
|
|
44691
|
+
} = t, g = he(null), [v, y] = oe(!1), [x, b] = oe(""), [w, C] = oe(!1), k = !!d?.priorityError, E = d?.priorityError || x, _ = !!E, N = a === "Disabled", R = a === "Uploading" || a === "Removing", A = a === "Finished", O = a === "Idle", D = (M) => M > 1024 ? `${(M / 1024).toFixed(1)}MB` : `${M}KB`, T = (M) => {
|
|
44689
44692
|
N || (O && g.current?.click(), s?.(M));
|
|
44690
44693
|
}, F = (M) => {
|
|
44691
44694
|
if (N) return;
|
|
@@ -44839,9 +44842,9 @@ function Oye(t) {
|
|
|
44839
44842
|
)
|
|
44840
44843
|
}
|
|
44841
44844
|
) })).with("Uploading", "Removing", () => /* @__PURE__ */ p.jsx(p.Fragment, { children: /* @__PURE__ */ p.jsx(QU, { className: "sl-h-4 sl-w-4 sl-shrink-0 sl-animate-spin sl-text-info-300" }) })).with("Finished", () => /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
|
|
44842
|
-
!_ && /* @__PURE__ */ p.jsx(
|
|
44845
|
+
!_ && /* @__PURE__ */ p.jsx(sa, { className: "sl-h-4 sl-w-4 sl-text-success-300" }),
|
|
44843
44846
|
/* @__PURE__ */ p.jsx(
|
|
44844
|
-
|
|
44847
|
+
zi,
|
|
44845
44848
|
{
|
|
44846
44849
|
className: "sl-h-4 sl-w-4 sl-text-primary-700",
|
|
44847
44850
|
"data-testid": "image-uploader-remove-button",
|
|
@@ -45563,16 +45566,16 @@ const gxe = { passive: !1 }, pu = { capture: !0, passive: !1 };
|
|
|
45563
45566
|
function Nv(t) {
|
|
45564
45567
|
t.stopImmediatePropagation();
|
|
45565
45568
|
}
|
|
45566
|
-
function
|
|
45569
|
+
function Xa(t) {
|
|
45567
45570
|
t.preventDefault(), t.stopImmediatePropagation();
|
|
45568
45571
|
}
|
|
45569
45572
|
function E7(t) {
|
|
45570
|
-
var e = t.document.documentElement, n = er(t).on("dragstart.drag",
|
|
45571
|
-
"onselectstart" in e ? n.on("selectstart.drag",
|
|
45573
|
+
var e = t.document.documentElement, n = er(t).on("dragstart.drag", Xa, pu);
|
|
45574
|
+
"onselectstart" in e ? n.on("selectstart.drag", Xa, pu) : (e.__noselect = e.style.MozUserSelect, e.style.MozUserSelect = "none");
|
|
45572
45575
|
}
|
|
45573
45576
|
function k7(t, e) {
|
|
45574
45577
|
var n = t.document.documentElement, r = er(t).on("dragstart.drag", null);
|
|
45575
|
-
e && (r.on("click.drag",
|
|
45578
|
+
e && (r.on("click.drag", Xa, pu), setTimeout(function() {
|
|
45576
45579
|
r.on("click.drag", null);
|
|
45577
45580
|
}, 0)), "onselectstart" in n ? r.on("selectstart.drag", null) : (n.style.MozUserSelect = n.__noselect, delete n.__noselect);
|
|
45578
45581
|
}
|
|
@@ -45631,14 +45634,14 @@ function _7() {
|
|
|
45631
45634
|
}
|
|
45632
45635
|
}
|
|
45633
45636
|
function m(w) {
|
|
45634
|
-
if (
|
|
45637
|
+
if (Xa(w), !c) {
|
|
45635
45638
|
var C = w.clientX - a, k = w.clientY - l;
|
|
45636
45639
|
c = C * C + k * k > d;
|
|
45637
45640
|
}
|
|
45638
45641
|
s.mouse("drag", w);
|
|
45639
45642
|
}
|
|
45640
45643
|
function g(w) {
|
|
45641
|
-
er(w.view).on("mousemove.drag mouseup.drag", null), k7(w.view, c),
|
|
45644
|
+
er(w.view).on("mousemove.drag mouseup.drag", null), k7(w.view, c), Xa(w), s.mouse("end", w);
|
|
45642
45645
|
}
|
|
45643
45646
|
function v(w, C) {
|
|
45644
45647
|
if (t.call(this, w, C)) {
|
|
@@ -45650,7 +45653,7 @@ function _7() {
|
|
|
45650
45653
|
function y(w) {
|
|
45651
45654
|
var C = w.changedTouches, k = C.length, E, _;
|
|
45652
45655
|
for (E = 0; E < k; ++E)
|
|
45653
|
-
(_ = s[C[E].identifier]) && (
|
|
45656
|
+
(_ = s[C[E].identifier]) && (Xa(w), _("drag", w, C[E]));
|
|
45654
45657
|
}
|
|
45655
45658
|
function x(w) {
|
|
45656
45659
|
var C = w.changedTouches, k = C.length, E, _;
|
|
@@ -45729,7 +45732,7 @@ function T7(t, e) {
|
|
|
45729
45732
|
}
|
|
45730
45733
|
function md() {
|
|
45731
45734
|
}
|
|
45732
|
-
var mu = 0.7, Gh = 1 / mu,
|
|
45735
|
+
var mu = 0.7, Gh = 1 / mu, Ja = "\\s*([+-]?\\d+)\\s*", gu = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", rs = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", wxe = /^#([0-9a-f]{3,8})$/, Cxe = new RegExp(`^rgb\\(${Ja},${Ja},${Ja}\\)$`), Sxe = new RegExp(`^rgb\\(${rs},${rs},${rs}\\)$`), Exe = new RegExp(`^rgba\\(${Ja},${Ja},${Ja},${gu}\\)$`), kxe = new RegExp(`^rgba\\(${rs},${rs},${rs},${gu}\\)$`), _xe = new RegExp(`^hsl\\(${gu},${rs},${rs}\\)$`), Txe = new RegExp(`^hsla\\(${gu},${rs},${rs},${gu}\\)$`), QA = {
|
|
45733
45736
|
aliceblue: 15792383,
|
|
45734
45737
|
antiquewhite: 16444375,
|
|
45735
45738
|
aqua: 65535,
|
|
@@ -46171,14 +46174,14 @@ const Uxe = (function t(e, n, r) {
|
|
|
46171
46174
|
return t(i, a, l);
|
|
46172
46175
|
}, s;
|
|
46173
46176
|
})(Math.SQRT2, 2, 4);
|
|
46174
|
-
var gl = 0, fc = 0, nc = 0, O7 = 1e3, Zh, hc, Xh = 0,
|
|
46177
|
+
var gl = 0, fc = 0, nc = 0, O7 = 1e3, Zh, hc, Xh = 0, Qi = 0, km = 0, yu = typeof performance == "object" && performance.now ? performance : Date, D7 = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(t) {
|
|
46175
46178
|
setTimeout(t, 17);
|
|
46176
46179
|
};
|
|
46177
46180
|
function Uk() {
|
|
46178
|
-
return
|
|
46181
|
+
return Qi || (D7(Kxe), Qi = yu.now() + km);
|
|
46179
46182
|
}
|
|
46180
46183
|
function Kxe() {
|
|
46181
|
-
|
|
46184
|
+
Qi = 0;
|
|
46182
46185
|
}
|
|
46183
46186
|
function Jh() {
|
|
46184
46187
|
this._call = this._time = this._next = null;
|
|
@@ -46200,15 +46203,15 @@ function P7(t, e, n) {
|
|
|
46200
46203
|
function Gxe() {
|
|
46201
46204
|
Uk(), ++gl;
|
|
46202
46205
|
for (var t = Zh, e; t; )
|
|
46203
|
-
(e =
|
|
46206
|
+
(e = Qi - t._time) >= 0 && t._call.call(void 0, e), t = t._next;
|
|
46204
46207
|
--gl;
|
|
46205
46208
|
}
|
|
46206
46209
|
function uM() {
|
|
46207
|
-
|
|
46210
|
+
Qi = (Xh = yu.now()) + km, gl = fc = 0;
|
|
46208
46211
|
try {
|
|
46209
46212
|
Gxe();
|
|
46210
46213
|
} finally {
|
|
46211
|
-
gl = 0, Zxe(),
|
|
46214
|
+
gl = 0, Zxe(), Qi = 0;
|
|
46212
46215
|
}
|
|
46213
46216
|
}
|
|
46214
46217
|
function Yxe() {
|
|
@@ -46223,7 +46226,7 @@ function Zxe() {
|
|
|
46223
46226
|
function qC(t) {
|
|
46224
46227
|
if (!gl) {
|
|
46225
46228
|
fc && (fc = clearTimeout(fc));
|
|
46226
|
-
var e = t -
|
|
46229
|
+
var e = t - Qi;
|
|
46227
46230
|
e > 24 ? (t < 1 / 0 && (fc = setTimeout(uM, t - yu.now() - km)), nc && (nc = clearInterval(nc))) : (nc || (Xh = yu.now(), nc = setInterval(Yxe, O7)), gl = 1, D7(uM));
|
|
46228
46231
|
}
|
|
46229
46232
|
}
|
|
@@ -47054,10 +47057,10 @@ const wr = {
|
|
|
47054
47057
|
[Number.NEGATIVE_INFINITY, Number.NEGATIVE_INFINITY],
|
|
47055
47058
|
[Number.POSITIVE_INFINITY, Number.POSITIVE_INFINITY]
|
|
47056
47059
|
], z7 = ["Enter", " ", "Escape"];
|
|
47057
|
-
var
|
|
47060
|
+
var ea;
|
|
47058
47061
|
(function(t) {
|
|
47059
47062
|
t.Strict = "strict", t.Loose = "loose";
|
|
47060
|
-
})(
|
|
47063
|
+
})(ea || (ea = {}));
|
|
47061
47064
|
var Bi;
|
|
47062
47065
|
(function(t) {
|
|
47063
47066
|
t.Free = "free", t.Vertical = "vertical", t.Horizontal = "horizontal";
|
|
@@ -47195,7 +47198,7 @@ function K7({ nodeId: t, nextPosition: e, nodeLookup: n, nodeOrigin: r = [0, 0],
|
|
|
47195
47198
|
[i.extent[0][0] + l, i.extent[0][1] + c],
|
|
47196
47199
|
[i.extent[1][0] + l, i.extent[1][1] + c]
|
|
47197
47200
|
]);
|
|
47198
|
-
const f = xl(d) ?
|
|
47201
|
+
const f = xl(d) ? ta(e, d, i.measured) : e;
|
|
47199
47202
|
return {
|
|
47200
47203
|
position: {
|
|
47201
47204
|
x: f.x - l + i.measured.width * u[0],
|
|
@@ -47226,13 +47229,13 @@ async function p1e({ nodesToRemove: t = [], edgesToRemove: e = [], nodes: n, edg
|
|
|
47226
47229
|
});
|
|
47227
47230
|
return typeof d == "boolean" ? d ? { edges: u, nodes: i } : { edges: [], nodes: [] } : d;
|
|
47228
47231
|
}
|
|
47229
|
-
const vl = (t, e = 0, n = 1) => Math.min(Math.max(t, e), n),
|
|
47232
|
+
const vl = (t, e = 0, n = 1) => Math.min(Math.max(t, e), n), ta = (t = { x: 0, y: 0 }, e, n) => ({
|
|
47230
47233
|
x: vl(t.x, e[0][0], e[1][0] - (n?.width ?? 0)),
|
|
47231
47234
|
y: vl(t.y, e[0][1], e[1][1] - (n?.height ?? 0))
|
|
47232
47235
|
});
|
|
47233
47236
|
function G7(t, e, n) {
|
|
47234
47237
|
const { width: r, height: s } = Us(n), { x: o, y: i } = n.internals.positionAbsolute;
|
|
47235
|
-
return
|
|
47238
|
+
return ta(t, [
|
|
47236
47239
|
[o, i],
|
|
47237
47240
|
[o + r, i + s]
|
|
47238
47241
|
], e);
|
|
@@ -47531,7 +47534,7 @@ function S1e(t) {
|
|
|
47531
47534
|
return null;
|
|
47532
47535
|
const r = e.internals.handleBounds || EM(e.handles), s = n.internals.handleBounds || EM(n.handles), o = kM(r?.source ?? [], t.sourceHandle), i = kM(
|
|
47533
47536
|
// when connection type is loose we can define all handles as sources and connect source -> source
|
|
47534
|
-
t.connectionMode ===
|
|
47537
|
+
t.connectionMode === ea.Strict ? s?.target ?? [] : (s?.target ?? []).concat(s?.source ?? []),
|
|
47535
47538
|
t.targetHandle
|
|
47536
47539
|
);
|
|
47537
47540
|
if (!o || !i)
|
|
@@ -47612,7 +47615,7 @@ function _1e(t, e, n) {
|
|
|
47612
47615
|
if (s.parentId)
|
|
47613
47616
|
Qk(s, t, e, r);
|
|
47614
47617
|
else {
|
|
47615
|
-
const o = gd(s, r.nodeOrigin), i = xl(s.extent) ? s.extent : r.nodeExtent, a =
|
|
47618
|
+
const o = gd(s, r.nodeOrigin), i = xl(s.extent) ? s.extent : r.nodeExtent, a = ta(o, i, Us(s));
|
|
47616
47619
|
s.internals.positionAbsolute = a;
|
|
47617
47620
|
}
|
|
47618
47621
|
}
|
|
@@ -47624,7 +47627,7 @@ function XC(t, e, n, r) {
|
|
|
47624
47627
|
if (s.checkEquality && a === l?.internals.userNode)
|
|
47625
47628
|
e.set(a.id, l);
|
|
47626
47629
|
else {
|
|
47627
|
-
const c = gd(a, s.nodeOrigin), u = xl(a.extent) ? a.extent : s.nodeExtent, d =
|
|
47630
|
+
const c = gd(a, s.nodeOrigin), u = xl(a.extent) ? a.extent : s.nodeExtent, d = ta(c, u, Us(a));
|
|
47628
47631
|
l = {
|
|
47629
47632
|
...s.defaults,
|
|
47630
47633
|
...a,
|
|
@@ -47668,8 +47671,8 @@ function lz(t, e) {
|
|
|
47668
47671
|
return (Or(t.zIndex) ? t.zIndex : 0) + (t.selected ? e : 0);
|
|
47669
47672
|
}
|
|
47670
47673
|
function N1e(t, e, n, r, s) {
|
|
47671
|
-
const { x: o, y: i } = e.internals.positionAbsolute, a = Us(t), l = gd(t, n), c = xl(t.extent) ?
|
|
47672
|
-
let u =
|
|
47674
|
+
const { x: o, y: i } = e.internals.positionAbsolute, a = Us(t), l = gd(t, n), c = xl(t.extent) ? ta(l, t.extent, a) : l;
|
|
47675
|
+
let u = ta({ x: o + c.x, y: i + c.y }, r, a);
|
|
47673
47676
|
t.extent === "parent" && (u = G7(u, a, e));
|
|
47674
47677
|
const d = lz(t, s), f = e.internals.z ?? 0;
|
|
47675
47678
|
return {
|
|
@@ -47735,7 +47738,7 @@ function A1e(t, e, n, r, s, o) {
|
|
|
47735
47738
|
if (!!(m.width && m.height && (g || !h.internals.handleBounds || f.force))) {
|
|
47736
47739
|
const y = f.nodeElement.getBoundingClientRect(), x = xl(h.extent) ? h.extent : o;
|
|
47737
47740
|
let { positionAbsolute: b } = h.internals;
|
|
47738
|
-
h.parentId && h.extent === "parent" ? b = G7(b, m, e.get(h.parentId)) : x && (b =
|
|
47741
|
+
h.parentId && h.extent === "parent" ? b = G7(b, m, e.get(h.parentId)) : x && (b = ta(b, x, m)), h.measured = m, h.internals = {
|
|
47739
47742
|
...h.internals,
|
|
47740
47743
|
positionAbsolute: b,
|
|
47741
47744
|
handleBounds: {
|
|
@@ -48094,7 +48097,7 @@ function pz(t, { handle: e, connectionMode: n, fromNodeId: r, fromHandleId: s, f
|
|
|
48094
48097
|
targetHandle: d ? s : w
|
|
48095
48098
|
};
|
|
48096
48099
|
y.connection = E;
|
|
48097
|
-
const N = C && k && (n ===
|
|
48100
|
+
const N = C && k && (n === ea.Strict ? d && x === "source" || !d && x === "target" : b !== r || w !== s);
|
|
48098
48101
|
y.isValid = N && c(E), y.toHandle = dz(b, x, w, u, n, !1);
|
|
48099
48102
|
}
|
|
48100
48103
|
return y;
|
|
@@ -48156,7 +48159,7 @@ const V1e = (t, e) => t.x !== e.x || t.y !== e.y || t.zoom !== e.k, Im = (t) =>
|
|
|
48156
48159
|
x: t.x,
|
|
48157
48160
|
y: t.y,
|
|
48158
48161
|
zoom: t.k
|
|
48159
|
-
}), Ov = ({ x: t, y: e, zoom: n }) => Tm.translate(t, e).scale(n),
|
|
48162
|
+
}), Ov = ({ x: t, y: e, zoom: n }) => Tm.translate(t, e).scale(n), Ba = (t, e) => t.target.closest(`.${e}`), mz = (t, e) => e === 2 && Array.isArray(t) && t.includes(2), Dv = (t, e = 0, n = () => {
|
|
48160
48163
|
}) => {
|
|
48161
48164
|
const r = typeof e == "number" && e > 0;
|
|
48162
48165
|
return r || n(), r ? t.transition().duration(e).on("end", n) : t;
|
|
@@ -48166,7 +48169,7 @@ const V1e = (t, e) => t.x !== e.x || t.y !== e.y || t.zoom !== e.k, Im = (t) =>
|
|
|
48166
48169
|
};
|
|
48167
48170
|
function B1e({ zoomPanValues: t, noWheelClassName: e, d3Selection: n, d3Zoom: r, panOnScrollMode: s, panOnScrollSpeed: o, zoomOnPinch: i, onPanZoomStart: a, onPanZoom: l, onPanZoomEnd: c }) {
|
|
48168
48171
|
return (u) => {
|
|
48169
|
-
if (
|
|
48172
|
+
if (Ba(u, e))
|
|
48170
48173
|
return !1;
|
|
48171
48174
|
u.preventDefault(), u.stopImmediatePropagation();
|
|
48172
48175
|
const d = n.property("__zoom").k || 1;
|
|
@@ -48192,7 +48195,7 @@ function B1e({ zoomPanValues: t, noWheelClassName: e, d3Selection: n, d3Zoom: r,
|
|
|
48192
48195
|
}
|
|
48193
48196
|
function $1e({ noWheelClassName: t, preventScrolling: e, d3ZoomHandler: n }) {
|
|
48194
48197
|
return function(r, s) {
|
|
48195
|
-
if (!e && r.type === "wheel" && !r.ctrlKey ||
|
|
48198
|
+
if (!e && r.type === "wheel" && !r.ctrlKey || Ba(r, t))
|
|
48196
48199
|
return null;
|
|
48197
48200
|
r.preventDefault(), n.call(this, r, s);
|
|
48198
48201
|
};
|
|
@@ -48227,9 +48230,9 @@ function H1e({ zoomPanValues: t, panOnDrag: e, panOnScroll: n, onDraggingChange:
|
|
|
48227
48230
|
function W1e({ zoomActivationKeyPressed: t, zoomOnScroll: e, zoomOnPinch: n, panOnDrag: r, panOnScroll: s, zoomOnDoubleClick: o, userSelectionActive: i, noWheelClassName: a, noPanClassName: l, lib: c }) {
|
|
48228
48231
|
return (u) => {
|
|
48229
48232
|
const d = t || e, f = n && u.ctrlKey;
|
|
48230
|
-
if (u.button === 1 && u.type === "mousedown" && (
|
|
48233
|
+
if (u.button === 1 && u.type === "mousedown" && (Ba(u, `${c}-flow__node`) || Ba(u, `${c}-flow__edge`)))
|
|
48231
48234
|
return !0;
|
|
48232
|
-
if (!r && !d && !s && !o && !n || i ||
|
|
48235
|
+
if (!r && !d && !s && !o && !n || i || Ba(u, a) && u.type === "wheel" || Ba(u, l) && (u.type !== "wheel" || s && u.type === "wheel" && !t) || !n && u.ctrlKey && u.type === "wheel")
|
|
48233
48236
|
return !1;
|
|
48234
48237
|
if (!n && u.type === "touchstart" && u.touches?.length > 1)
|
|
48235
48238
|
return u.preventDefault(), !1;
|
|
@@ -48821,7 +48824,7 @@ function Ct() {
|
|
|
48821
48824
|
const t = bt(Om);
|
|
48822
48825
|
if (t === null)
|
|
48823
48826
|
throw new Error(bz);
|
|
48824
|
-
return
|
|
48827
|
+
return fe(() => ({
|
|
48825
48828
|
getState: t.getState,
|
|
48826
48829
|
setState: t.setState,
|
|
48827
48830
|
subscribe: t.subscribe
|
|
@@ -48960,7 +48963,7 @@ function Awe(t) {
|
|
|
48960
48963
|
ne(() => (l(t.defaultNodes, t.defaultEdges), () => {
|
|
48961
48964
|
d.current = FM, a();
|
|
48962
48965
|
}), []);
|
|
48963
|
-
const d =
|
|
48966
|
+
const d = he(FM);
|
|
48964
48967
|
return ne(
|
|
48965
48968
|
() => {
|
|
48966
48969
|
for (const f of LM) {
|
|
@@ -48991,7 +48994,7 @@ function Mwe(t) {
|
|
|
48991
48994
|
}
|
|
48992
48995
|
const BM = typeof document < "u" ? document : null;
|
|
48993
48996
|
function Su(t = null, e = { target: BM, actInsideInputWithModifier: !0 }) {
|
|
48994
|
-
const [n, r] = oe(!1), s =
|
|
48997
|
+
const [n, r] = oe(!1), s = he(!1), o = he(/* @__PURE__ */ new Set([])), [i, a] = fe(() => {
|
|
48995
48998
|
if (t !== null) {
|
|
48996
48999
|
const c = (Array.isArray(t) ? t : [t]).filter((d) => typeof d == "string").map((d) => d.split("+")), u = c.reduce((d, f) => d.concat(...f), []);
|
|
48997
49000
|
return [c, u];
|
|
@@ -49028,7 +49031,7 @@ function zM(t, e) {
|
|
|
49028
49031
|
}
|
|
49029
49032
|
const Rwe = () => {
|
|
49030
49033
|
const t = Ct();
|
|
49031
|
-
return
|
|
49034
|
+
return fe(() => ({
|
|
49032
49035
|
zoomIn: (e) => {
|
|
49033
49036
|
const { panZoom: n } = t.getState();
|
|
49034
49037
|
return n ? n.scaleBy(1.2, { duration: e?.duration }) : Promise.resolve(!1);
|
|
@@ -49164,7 +49167,7 @@ function vi(t, e) {
|
|
|
49164
49167
|
selected: e
|
|
49165
49168
|
};
|
|
49166
49169
|
}
|
|
49167
|
-
function
|
|
49170
|
+
function $a(t, e = /* @__PURE__ */ new Set(), n = !1) {
|
|
49168
49171
|
const r = [];
|
|
49169
49172
|
for (const [s, o] of t) {
|
|
49170
49173
|
const i = e.has(s);
|
|
@@ -49236,7 +49239,7 @@ function jwe({ children: t }) {
|
|
|
49236
49239
|
items: h,
|
|
49237
49240
|
lookup: f
|
|
49238
49241
|
}));
|
|
49239
|
-
}, []), o = UM(s), i =
|
|
49242
|
+
}, []), o = UM(s), i = fe(() => ({ nodeQueue: r, edgeQueue: o }), []);
|
|
49240
49243
|
return p.jsx(Nz.Provider, { value: i, children: t });
|
|
49241
49244
|
}
|
|
49242
49245
|
function Lwe() {
|
|
@@ -49247,7 +49250,7 @@ function Lwe() {
|
|
|
49247
49250
|
}
|
|
49248
49251
|
const Fwe = (t) => !!t.panZoom;
|
|
49249
49252
|
function ci() {
|
|
49250
|
-
const t = Rwe(), e = Ct(), n = Lwe(), r = st(Fwe), s =
|
|
49253
|
+
const t = Rwe(), e = Ct(), n = Lwe(), r = st(Fwe), s = fe(() => {
|
|
49251
49254
|
const o = (d) => e.getState().nodeLookup.get(d), i = (d) => {
|
|
49252
49255
|
n.nodeQueue.push(d);
|
|
49253
49256
|
}, a = (d) => {
|
|
@@ -49365,7 +49368,7 @@ function ci() {
|
|
|
49365
49368
|
getHandleConnections: ({ type: d, id: f, nodeId: h }) => Array.from(e.getState().connectionLookup.get(`${h}-${d}-${f ?? null}`)?.values() ?? [])
|
|
49366
49369
|
};
|
|
49367
49370
|
}, []);
|
|
49368
|
-
return
|
|
49371
|
+
return fe(() => ({
|
|
49369
49372
|
...s,
|
|
49370
49373
|
...t,
|
|
49371
49374
|
viewportInitialized: r
|
|
@@ -49412,7 +49415,7 @@ const Dm = {
|
|
|
49412
49415
|
lib: t.lib
|
|
49413
49416
|
});
|
|
49414
49417
|
function Hwe({ onPaneContextMenu: t, zoomOnScroll: e = !0, zoomOnPinch: n = !0, panOnScroll: r = !1, panOnScrollSpeed: s = 0.5, panOnScrollMode: o = Bi.Free, zoomOnDoubleClick: i = !0, panOnDrag: a = !0, defaultViewport: l, translateExtent: c, minZoom: u, maxZoom: d, zoomActivationKeyCode: f, preventScrolling: h = !0, children: m, noWheelClassName: g, noPanClassName: v, onViewportChange: y, isControlledViewport: x, paneClickDistance: b }) {
|
|
49415
|
-
const w = Ct(), C =
|
|
49418
|
+
const w = Ct(), C = he(null), { userSelectionActive: k, lib: E } = st(qwe, Mt), _ = Su(f), N = he();
|
|
49416
49419
|
zwe(C);
|
|
49417
49420
|
const R = te((A) => {
|
|
49418
49421
|
y?.({ x: A[0], y: A[1], zoom: A[2] }), x || w.setState({ transform: A });
|
|
@@ -49505,7 +49508,7 @@ const Vv = (t, e) => (n) => {
|
|
|
49505
49508
|
dragging: t.paneDragging
|
|
49506
49509
|
});
|
|
49507
49510
|
function Gwe({ isSelecting: t, selectionKeyPressed: e, selectionMode: n = bu.Full, panOnDrag: r, selectionOnDrag: s, onSelectionStart: o, onSelectionEnd: i, onPaneClick: a, onPaneContextMenu: l, onPaneScroll: c, onPaneMouseEnter: u, onPaneMouseMove: d, onPaneMouseLeave: f, children: h }) {
|
|
49508
|
-
const m =
|
|
49511
|
+
const m = he(null), g = Ct(), v = he(0), y = he(0), x = he(), b = he(/* @__PURE__ */ new Map()), { userSelectionActive: w, elementsSelectable: C, dragging: k } = st(Kwe, Mt), E = C && (t || w), _ = he(!1), N = he(!1), R = () => {
|
|
49509
49512
|
g.setState({ userSelectionActive: !1, userSelectionRect: null }), v.current = 0, y.current = 0;
|
|
49510
49513
|
}, A = (I) => {
|
|
49511
49514
|
if (_.current) {
|
|
@@ -49559,12 +49562,12 @@ function Gwe({ isSelecting: t, selectionKeyPressed: e, selectionMode: n = bu.Ful
|
|
|
49559
49562
|
}
|
|
49560
49563
|
if (v.current !== G.size) {
|
|
49561
49564
|
v.current = G.size;
|
|
49562
|
-
const Q =
|
|
49565
|
+
const Q = $a(j, G, !0);
|
|
49563
49566
|
K(Q);
|
|
49564
49567
|
}
|
|
49565
49568
|
if (y.current !== re.size) {
|
|
49566
49569
|
y.current = re.size;
|
|
49567
|
-
const Q =
|
|
49570
|
+
const Q = $a(L, re);
|
|
49568
49571
|
V(Q);
|
|
49569
49572
|
}
|
|
49570
49573
|
g.setState({
|
|
@@ -49590,7 +49593,7 @@ function QC({ id: t, store: e, unselect: n = !1, nodeRef: r }) {
|
|
|
49590
49593
|
e.setState({ nodesSelectionActive: !1 }), c.selected ? (n || c.selected && i) && (o({ nodes: [c], edges: [] }), requestAnimationFrame(() => r?.current?.blur())) : s([t]);
|
|
49591
49594
|
}
|
|
49592
49595
|
function Az({ nodeRef: t, disabled: e = !1, noDragClassName: n, handleSelector: r, nodeId: s, isSelectable: o, nodeClickDistance: i }) {
|
|
49593
|
-
const a = Ct(), [l, c] = oe(!1), u =
|
|
49596
|
+
const a = Ct(), [l, c] = oe(!1), u = he();
|
|
49594
49597
|
return ne(() => {
|
|
49595
49598
|
u.current = I1e({
|
|
49596
49599
|
getStoreItems: () => a.getState(),
|
|
@@ -49662,7 +49665,7 @@ const r_ = () => bt(n_), Xwe = (t) => ({
|
|
|
49662
49665
|
connectingFrom: a?.nodeId === t && a?.id === e && a?.type === n,
|
|
49663
49666
|
connectingTo: u,
|
|
49664
49667
|
clickConnecting: s?.nodeId === t && s?.id === e && s?.type === n,
|
|
49665
|
-
isPossibleEndHandle: o ===
|
|
49668
|
+
isPossibleEndHandle: o === ea.Strict ? a?.type !== n : t !== a?.nodeId || e !== a?.id,
|
|
49666
49669
|
connectionInProcess: !!a,
|
|
49667
49670
|
valid: u && c
|
|
49668
49671
|
};
|
|
@@ -49805,7 +49808,7 @@ const oCe = (t) => {
|
|
|
49805
49808
|
};
|
|
49806
49809
|
};
|
|
49807
49810
|
function iCe({ onSelectionContextMenu: t, noPanClassName: e, disableKeyboardA11y: n }) {
|
|
49808
|
-
const r = Ct(), { width: s, height: o, transformString: i, userSelectionActive: a } = st(oCe, Mt), l = Mz(), c =
|
|
49811
|
+
const r = Ct(), { width: s, height: o, transformString: i, userSelectionActive: a } = st(oCe, Mt), l = Mz(), c = he(null);
|
|
49809
49812
|
if (ne(() => {
|
|
49810
49813
|
n || c.current?.focus({
|
|
49811
49814
|
preventScroll: !0
|
|
@@ -49858,7 +49861,7 @@ function fCe() {
|
|
|
49858
49861
|
}, [e]), e;
|
|
49859
49862
|
}
|
|
49860
49863
|
function hCe({ node: t, nodeType: e, hasDimensions: n, resizeObserver: r }) {
|
|
49861
|
-
const s = Ct(), o =
|
|
49864
|
+
const s = Ct(), o = he(null), i = he(null), a = he(t.sourcePosition), l = he(t.targetPosition), c = he(e), u = n && !!t.internals.handleBounds;
|
|
49862
49865
|
return ne(() => {
|
|
49863
49866
|
o.current && !t.hidden && (!u || i.current !== o.current) && (i.current && r?.unobserve(i.current), r?.observe(o.current), i.current = o.current);
|
|
49864
49867
|
}, [u, t.hidden]), ne(() => () => {
|
|
@@ -50010,13 +50013,13 @@ const yCe = ({ color: t = "none", strokeWidth: e = 1 }) => p.jsx("polyline", { s
|
|
|
50010
50013
|
};
|
|
50011
50014
|
function bCe(t) {
|
|
50012
50015
|
const e = Ct();
|
|
50013
|
-
return
|
|
50016
|
+
return fe(() => Object.prototype.hasOwnProperty.call(ZM, t) ? ZM[t] : (e.getState().onError?.("009", wr.error009(t)), null), [t]);
|
|
50014
50017
|
}
|
|
50015
50018
|
const wCe = ({ id: t, type: e, color: n, width: r = 12.5, height: s = 12.5, markerUnits: o = "strokeWidth", strokeWidth: i, orient: a = "auto-start-reverse" }) => {
|
|
50016
50019
|
const l = bCe(e);
|
|
50017
50020
|
return l ? p.jsx("marker", { className: "react-flow__arrowhead", id: t, markerWidth: `${r}`, markerHeight: `${s}`, viewBox: "-10 -10 20 20", markerUnits: o, orient: a, refX: "0", refY: "0", children: p.jsx(l, { color: n, strokeWidth: i }) }) : null;
|
|
50018
50021
|
}, Oz = ({ defaultColor: t, rfId: e }) => {
|
|
50019
|
-
const n = st((o) => o.edges), r = st((o) => o.defaultEdgeOptions), s =
|
|
50022
|
+
const n = st((o) => o.edges), r = st((o) => o.defaultEdgeOptions), s = fe(() => E1e(n, {
|
|
50020
50023
|
id: e,
|
|
50021
50024
|
defaultColor: t,
|
|
50022
50025
|
defaultMarkerStart: r?.markerStart,
|
|
@@ -50027,7 +50030,7 @@ const wCe = ({ id: t, type: e, color: n, width: r = 12.5, height: s = 12.5, mark
|
|
|
50027
50030
|
Oz.displayName = "MarkerDefinitions";
|
|
50028
50031
|
var CCe = Lt(Oz);
|
|
50029
50032
|
function Dz({ x: t, y: e, label: n, labelStyle: r = {}, labelShowBg: s = !0, labelBgStyle: o = {}, labelBgPadding: i = [2, 4], labelBgBorderRadius: a = 2, children: l, className: c, ...u }) {
|
|
50030
|
-
const [d, f] = oe({ x: 1, y: 0, width: 0, height: 0 }), h = Yt(["react-flow__edge-textwrapper", c]), m =
|
|
50033
|
+
const [d, f] = oe({ x: 1, y: 0, width: 0, height: 0 }), h = Yt(["react-flow__edge-textwrapper", c]), m = he(null);
|
|
50031
50034
|
return ne(() => {
|
|
50032
50035
|
if (m.current) {
|
|
50033
50036
|
const g = m.current.getBBox();
|
|
@@ -50116,7 +50119,7 @@ Vz.displayName = "SmoothStepEdgeInternal";
|
|
|
50116
50119
|
function Bz(t) {
|
|
50117
50120
|
return Lt(({ id: e, ...n }) => {
|
|
50118
50121
|
const r = t.isInternal ? void 0 : e;
|
|
50119
|
-
return p.jsx(Fz, { ...n, id: r, pathOptions:
|
|
50122
|
+
return p.jsx(Fz, { ...n, id: r, pathOptions: fe(() => ({ borderRadius: 0, offset: n.pathOptions?.offset }), [n.pathOptions?.offset]) });
|
|
50120
50123
|
});
|
|
50121
50124
|
}
|
|
50122
50125
|
const kCe = Bz({ isInternal: !1 }), $z = Bz({ isInternal: !0 });
|
|
@@ -50206,7 +50209,7 @@ function RCe({ id: t, edgesFocusable: e, edgesReconnectable: n, elementsSelectab
|
|
|
50206
50209
|
b = w ? { ...w, ...b } : b;
|
|
50207
50210
|
let C = b.type || "default", k = g?.[C] || JM[C];
|
|
50208
50211
|
k === void 0 && (y?.("011", wr.error011(C)), C = "default", k = JM.default);
|
|
50209
|
-
const E = !!(b.focusable || e && typeof b.focusable > "u"), _ = typeof d < "u" && (b.reconnectable || n && typeof b.reconnectable > "u"), N = !!(b.selectable || r && typeof b.selectable > "u"), R =
|
|
50212
|
+
const E = !!(b.focusable || e && typeof b.focusable > "u"), _ = typeof d < "u" && (b.reconnectable || n && typeof b.reconnectable > "u"), N = !!(b.selectable || r && typeof b.selectable > "u"), R = he(null), [A, O] = oe(!1), [D, T] = oe(!1), F = Ct(), { zIndex: M, sourceX: B, sourceY: I, targetX: P, targetY: L, sourcePosition: q, targetPosition: j } = st(te((G) => {
|
|
50210
50213
|
const Q = G.nodeLookup.get(b.source), ge = G.nodeLookup.get(b.target);
|
|
50211
50214
|
if (!Q || !ge)
|
|
50212
50215
|
return {
|
|
@@ -50232,7 +50235,7 @@ function RCe({ id: t, edgesFocusable: e, edgesReconnectable: n, elementsSelectab
|
|
|
50232
50235
|
}),
|
|
50233
50236
|
...me || QM
|
|
50234
50237
|
};
|
|
50235
|
-
}, [b.source, b.target, b.sourceHandle, b.targetHandle, b.selected, b.zIndex]), Mt), K =
|
|
50238
|
+
}, [b.source, b.target, b.sourceHandle, b.targetHandle, b.selected, b.zIndex]), Mt), K = fe(() => b.markerStart ? `url('#${ZC(b.markerStart, m)}')` : void 0, [b.markerStart, m]), V = fe(() => b.markerEnd ? `url('#${ZC(b.markerEnd, m)}')` : void 0, [b.markerEnd, m]);
|
|
50236
50239
|
if (b.hidden || B === null || I === null || P === null || L === null)
|
|
50237
50240
|
return null;
|
|
50238
50241
|
const $ = (G) => {
|
|
@@ -50288,7 +50291,7 @@ function PCe({ children: t }) {
|
|
|
50288
50291
|
return p.jsx("div", { className: "react-flow__viewport xyflow__viewport react-flow__container", style: { transform: e }, children: t });
|
|
50289
50292
|
}
|
|
50290
50293
|
function jCe(t) {
|
|
50291
|
-
const e = ci(), n =
|
|
50294
|
+
const e = ci(), n = he(!1);
|
|
50292
50295
|
ne(() => {
|
|
50293
50296
|
!n.current && e.viewportInitialized && t && (setTimeout(() => t(e), 1), n.current = !0);
|
|
50294
50297
|
}, [t, e.viewportInitialized]);
|
|
@@ -50360,7 +50363,7 @@ const Kz = ({ style: t, type: e = wo.Bezier, CustomComponent: n, isValid: r }) =
|
|
|
50360
50363
|
Kz.displayName = "ConnectionLine";
|
|
50361
50364
|
const HCe = {};
|
|
50362
50365
|
function nR(t = HCe) {
|
|
50363
|
-
const e =
|
|
50366
|
+
const e = he(t), n = Ct();
|
|
50364
50367
|
ne(() => {
|
|
50365
50368
|
if (process.env.NODE_ENV === "development") {
|
|
50366
50369
|
const r = /* @__PURE__ */ new Set([...Object.keys(e.current), ...Object.keys(t)]);
|
|
@@ -50374,7 +50377,7 @@ function nR(t = HCe) {
|
|
|
50374
50377
|
}, [t]);
|
|
50375
50378
|
}
|
|
50376
50379
|
function WCe() {
|
|
50377
|
-
const t = Ct(), e =
|
|
50380
|
+
const t = Ct(), e = he(!1);
|
|
50378
50381
|
ne(() => {
|
|
50379
50382
|
if (process.env.NODE_ENV === "development" && !e.current) {
|
|
50380
50383
|
const n = document.querySelector(".react-flow__pane");
|
|
@@ -50423,7 +50426,7 @@ const UCe = Lt(Gz), rR = ({ nodes: t, edges: e, defaultNodes: n, defaultEdges: r
|
|
|
50423
50426
|
nodesSelectionActive: !1,
|
|
50424
50427
|
userSelectionActive: !1,
|
|
50425
50428
|
userSelectionRect: null,
|
|
50426
|
-
connectionMode:
|
|
50429
|
+
connectionMode: ea.Strict,
|
|
50427
50430
|
domNode: null,
|
|
50428
50431
|
paneDragging: !1,
|
|
50429
50432
|
noPanClassName: "nopan",
|
|
@@ -50552,7 +50555,7 @@ const UCe = Lt(Gz), rR = ({ nodes: t, edges: e, defaultNodes: n, defaultEdges: r
|
|
|
50552
50555
|
g(y);
|
|
50553
50556
|
return;
|
|
50554
50557
|
}
|
|
50555
|
-
g(
|
|
50558
|
+
g($a(m, /* @__PURE__ */ new Set([...d]), !0)), v($a(h));
|
|
50556
50559
|
},
|
|
50557
50560
|
addSelectedEdges: (d) => {
|
|
50558
50561
|
const { multiSelectionActive: f, edgeLookup: h, nodeLookup: m, triggerNodeChanges: g, triggerEdgeChanges: v } = u();
|
|
@@ -50561,7 +50564,7 @@ const UCe = Lt(Gz), rR = ({ nodes: t, edges: e, defaultNodes: n, defaultEdges: r
|
|
|
50561
50564
|
v(y);
|
|
50562
50565
|
return;
|
|
50563
50566
|
}
|
|
50564
|
-
v(
|
|
50567
|
+
v($a(h, /* @__PURE__ */ new Set([...d]))), g($a(m, /* @__PURE__ */ new Set(), !0));
|
|
50565
50568
|
},
|
|
50566
50569
|
unselectNodesAndEdges: ({ nodes: d, edges: f } = {}) => {
|
|
50567
50570
|
const { edges: h, nodes: m, triggerNodeChanges: g, triggerEdgeChanges: v } = u(), y = d || m, x = f || h, b = y.map((C) => (C.selected = !1, vi(C.id, !1))), w = x.map((C) => vi(C.id, !1));
|
|
@@ -50662,9 +50665,9 @@ const YCe = {
|
|
|
50662
50665
|
position: "relative",
|
|
50663
50666
|
zIndex: 0
|
|
50664
50667
|
};
|
|
50665
|
-
function ZCe({ nodes: t, edges: e, defaultNodes: n, defaultEdges: r, className: s, nodeTypes: o, edgeTypes: i, onNodeClick: a, onEdgeClick: l, onInit: c, onMove: u, onMoveStart: d, onMoveEnd: f, onConnect: h, onConnectStart: m, onConnectEnd: g, onClickConnectStart: v, onClickConnectEnd: y, onNodeMouseEnter: x, onNodeMouseMove: b, onNodeMouseLeave: w, onNodeContextMenu: C, onNodeDoubleClick: k, onNodeDragStart: E, onNodeDrag: _, onNodeDragStop: N, onNodesDelete: R, onEdgesDelete: A, onDelete: O, onSelectionChange: D, onSelectionDragStart: T, onSelectionDrag: F, onSelectionDragStop: M, onSelectionContextMenu: B, onSelectionStart: I, onSelectionEnd: P, onBeforeDelete: L, connectionMode: q, connectionLineType: j = wo.Bezier, connectionLineStyle: K, connectionLineComponent: V, connectionLineContainerStyle: $, deleteKeyCode: z = "Backspace", selectionKeyCode: H = "Shift", selectionOnDrag: Y = !1, selectionMode: Z = bu.Full, panActivationKeyCode: J = "Space", multiSelectionKeyCode: re = tp() ? "Meta" : "Control", zoomActivationKeyCode: G = tp() ? "Meta" : "Control", snapToGrid: Q, snapGrid: ge, onlyRenderVisibleElements: me = !1, selectNodesOnDrag: He, nodesDraggable: X, nodesConnectable: de, nodesFocusable: ye, nodeOrigin: Fe = Sz, edgesFocusable: le, edgesReconnectable: Se, elementsSelectable: Ee = !0, defaultViewport: tt = _we, minZoom: nt = 0.5, maxZoom: lt = 2, translateExtent: It = xu, preventScrolling: Tn = !0, nodeExtent: jn, defaultMarkerColor: ar = "#b1b1b7", zoomOnScroll: mn = !0, zoomOnPinch: Nn = !0, panOnScroll: sn = !1, panOnScrollSpeed: Ln = 0.5, panOnScrollMode:
|
|
50668
|
+
function ZCe({ nodes: t, edges: e, defaultNodes: n, defaultEdges: r, className: s, nodeTypes: o, edgeTypes: i, onNodeClick: a, onEdgeClick: l, onInit: c, onMove: u, onMoveStart: d, onMoveEnd: f, onConnect: h, onConnectStart: m, onConnectEnd: g, onClickConnectStart: v, onClickConnectEnd: y, onNodeMouseEnter: x, onNodeMouseMove: b, onNodeMouseLeave: w, onNodeContextMenu: C, onNodeDoubleClick: k, onNodeDragStart: E, onNodeDrag: _, onNodeDragStop: N, onNodesDelete: R, onEdgesDelete: A, onDelete: O, onSelectionChange: D, onSelectionDragStart: T, onSelectionDrag: F, onSelectionDragStop: M, onSelectionContextMenu: B, onSelectionStart: I, onSelectionEnd: P, onBeforeDelete: L, connectionMode: q, connectionLineType: j = wo.Bezier, connectionLineStyle: K, connectionLineComponent: V, connectionLineContainerStyle: $, deleteKeyCode: z = "Backspace", selectionKeyCode: H = "Shift", selectionOnDrag: Y = !1, selectionMode: Z = bu.Full, panActivationKeyCode: J = "Space", multiSelectionKeyCode: re = tp() ? "Meta" : "Control", zoomActivationKeyCode: G = tp() ? "Meta" : "Control", snapToGrid: Q, snapGrid: ge, onlyRenderVisibleElements: me = !1, selectNodesOnDrag: He, nodesDraggable: X, nodesConnectable: de, nodesFocusable: ye, nodeOrigin: Fe = Sz, edgesFocusable: le, edgesReconnectable: Se, elementsSelectable: Ee = !0, defaultViewport: tt = _we, minZoom: nt = 0.5, maxZoom: lt = 2, translateExtent: It = xu, preventScrolling: Tn = !0, nodeExtent: jn, defaultMarkerColor: ar = "#b1b1b7", zoomOnScroll: mn = !0, zoomOnPinch: Nn = !0, panOnScroll: sn = !1, panOnScrollSpeed: Ln = 0.5, panOnScrollMode: ma = Bi.Free, zoomOnDoubleClick: Yn = !0, panOnDrag: ga = !0, onPaneClick: ps, onPaneMouseEnter: ms, onPaneMouseMove: Er, onPaneMouseLeave: Ys, onPaneScroll: Zs, onPaneContextMenu: Ur, paneClickDistance: di = 0, nodeClickDistance: fi = 0, children: va, onReconnect: ya, onReconnectStart: ee, onReconnectEnd: ae, onEdgeContextMenu: xe, onEdgeDoubleClick: ke, onEdgeMouseEnter: _e, onEdgeMouseMove: je, onEdgeMouseLeave: Qe, reconnectRadius: Ot = 10, onNodesChange: Kr, onEdgesChange: U, noDragClassName: se = "nodrag", noWheelClassName: ve = "nowheel", noPanClassName: Pe = "nopan", fitView: rt, fitViewOptions: at, connectOnClick: Ge, attributionPosition: ze, proOptions: mt, defaultEdgeOptions: Et, elevateNodesOnSelect: Dt, elevateEdgesOnSelect: Fn, disableKeyboardA11y: gs = !1, autoPanOnConnect: vs, autoPanOnNodeDrag: gn, autoPanSpeed: Wl, connectionRadius: tg, isValidConnection: ng, onError: wH, style: CH, id: N_, nodeDragThreshold: SH, viewport: EH, onViewportChange: kH, width: _H, height: TH, colorMode: NH = "light", debug: AH, ...MH }, RH) {
|
|
50666
50669
|
const rg = N_ || "1", IH = Mwe(NH);
|
|
50667
|
-
return p.jsx("div", { ...MH, style: { ...CH, ...YCe }, ref: RH, className: Yt(["react-flow", s, IH]), "data-testid": "rf__wrapper", id: N_, children: p.jsxs(GCe, { nodes: t, edges: e, width: _H, height: TH, fitView: rt, nodeOrigin: Fe, nodeExtent: jn, children: [p.jsx(UCe, { onInit: c, onNodeClick: a, onEdgeClick: l, onNodeMouseEnter: x, onNodeMouseMove: b, onNodeMouseLeave: w, onNodeContextMenu: C, onNodeDoubleClick: k, nodeTypes: o, edgeTypes: i, connectionLineType: j, connectionLineStyle: K, connectionLineComponent: V, connectionLineContainerStyle: $, selectionKeyCode: H, selectionOnDrag: Y, selectionMode: Z, deleteKeyCode: z, multiSelectionKeyCode: re, panActivationKeyCode: J, zoomActivationKeyCode: G, onlyRenderVisibleElements: me, defaultViewport: tt, translateExtent: It, minZoom: nt, maxZoom: lt, preventScrolling: Tn, zoomOnScroll: mn, zoomOnPinch: Nn, zoomOnDoubleClick: Yn, panOnScroll: sn, panOnScrollSpeed: Ln, panOnScrollMode:
|
|
50670
|
+
return p.jsx("div", { ...MH, style: { ...CH, ...YCe }, ref: RH, className: Yt(["react-flow", s, IH]), "data-testid": "rf__wrapper", id: N_, children: p.jsxs(GCe, { nodes: t, edges: e, width: _H, height: TH, fitView: rt, nodeOrigin: Fe, nodeExtent: jn, children: [p.jsx(UCe, { onInit: c, onNodeClick: a, onEdgeClick: l, onNodeMouseEnter: x, onNodeMouseMove: b, onNodeMouseLeave: w, onNodeContextMenu: C, onNodeDoubleClick: k, nodeTypes: o, edgeTypes: i, connectionLineType: j, connectionLineStyle: K, connectionLineComponent: V, connectionLineContainerStyle: $, selectionKeyCode: H, selectionOnDrag: Y, selectionMode: Z, deleteKeyCode: z, multiSelectionKeyCode: re, panActivationKeyCode: J, zoomActivationKeyCode: G, onlyRenderVisibleElements: me, defaultViewport: tt, translateExtent: It, minZoom: nt, maxZoom: lt, preventScrolling: Tn, zoomOnScroll: mn, zoomOnPinch: Nn, zoomOnDoubleClick: Yn, panOnScroll: sn, panOnScrollSpeed: Ln, panOnScrollMode: ma, panOnDrag: ga, onPaneClick: ps, onPaneMouseEnter: ms, onPaneMouseMove: Er, onPaneMouseLeave: Ys, onPaneScroll: Zs, onPaneContextMenu: Ur, paneClickDistance: di, nodeClickDistance: fi, onSelectionContextMenu: B, onSelectionStart: I, onSelectionEnd: P, onReconnect: ya, onReconnectStart: ee, onReconnectEnd: ae, onEdgeContextMenu: xe, onEdgeDoubleClick: ke, onEdgeMouseEnter: _e, onEdgeMouseMove: je, onEdgeMouseLeave: Qe, reconnectRadius: Ot, defaultMarkerColor: ar, noDragClassName: se, noWheelClassName: ve, noPanClassName: Pe, rfId: rg, disableKeyboardA11y: gs, nodeExtent: jn, viewport: EH, onViewportChange: kH }), p.jsx(Awe, { nodes: t, edges: e, defaultNodes: n, defaultEdges: r, onConnect: h, onConnectStart: m, onConnectEnd: g, onClickConnectStart: v, onClickConnectEnd: y, nodesDraggable: X, nodesConnectable: de, nodesFocusable: ye, edgesFocusable: le, edgesReconnectable: Se, elementsSelectable: Ee, elevateNodesOnSelect: Dt, elevateEdgesOnSelect: Fn, minZoom: nt, maxZoom: lt, nodeExtent: jn, onNodesChange: Kr, onEdgesChange: U, snapToGrid: Q, snapGrid: ge, connectionMode: q, translateExtent: It, connectOnClick: Ge, defaultEdgeOptions: Et, fitView: rt, fitViewOptions: at, onNodesDelete: R, onEdgesDelete: A, onDelete: O, onNodeDragStart: E, onNodeDrag: _, onNodeDragStop: N, onSelectionDrag: F, onSelectionDragStart: T, onSelectionDragStop: M, onMove: u, onMoveStart: d, onMoveEnd: f, noPanClassName: Pe, nodeOrigin: Fe, rfId: rg, autoPanOnConnect: vs, autoPanOnNodeDrag: gn, autoPanSpeed: Wl, onError: wH, connectionRadius: tg, isValidConnection: ng, selectNodesOnDrag: He, nodeDragThreshold: SH, onBeforeDelete: L, paneClickDistance: di, debug: AH }), p.jsx(kwe, { onSelectionChange: D }), va, p.jsx(bwe, { proOptions: mt, position: ze }), p.jsx(ywe, { rfId: rg, disableKeyboardA11y: gs })] }) });
|
|
50668
50671
|
}
|
|
50669
50672
|
var sR = Tz(ZCe);
|
|
50670
50673
|
const XCe = (t) => t.nodes;
|
|
@@ -50680,14 +50683,14 @@ function QCe(t) {
|
|
|
50680
50683
|
return [e, n, r];
|
|
50681
50684
|
}
|
|
50682
50685
|
function Xz({ type: t, id: e = null, nodeId: n, onConnect: r, onDisconnect: s }) {
|
|
50683
|
-
const o = r_(), i = n ?? o, a =
|
|
50686
|
+
const o = r_(), i = n ?? o, a = he(null), l = st((c) => c.connectionLookup.get(`${i}-${t}-${e}`), u1e);
|
|
50684
50687
|
return ne(() => {
|
|
50685
50688
|
if (a.current && a.current !== l) {
|
|
50686
50689
|
const c = l ?? /* @__PURE__ */ new Map();
|
|
50687
50690
|
gM(a.current, c, s), gM(c, a.current, r);
|
|
50688
50691
|
}
|
|
50689
50692
|
a.current = l ?? /* @__PURE__ */ new Map();
|
|
50690
|
-
}, [l, r, s]),
|
|
50693
|
+
}, [l, r, s]), fe(() => Array.from(l?.values() ?? []), [l]);
|
|
50691
50694
|
}
|
|
50692
50695
|
function eSe({ dimensions: t, lineWidth: e, variant: n, className: r }) {
|
|
50693
50696
|
return p.jsx("path", { strokeWidth: e, d: `M${t[0] / 2} 0 V${t[1]} M0 ${t[1] / 2} H${t[0]}`, className: Yt(["react-flow__background-pattern", n, r]) });
|
|
@@ -50719,7 +50722,7 @@ function Jz({
|
|
|
50719
50722
|
className: c,
|
|
50720
50723
|
patternClassName: u
|
|
50721
50724
|
}) {
|
|
50722
|
-
const d =
|
|
50725
|
+
const d = he(null), { transform: f, patternId: h } = st(rSe, Mt), m = r || nSe[e], g = e === Lo.Dots, v = e === Lo.Cross, y = Array.isArray(n) ? n : [n, n], x = [y[0] * f[2] || 1, y[1] * f[2] || 1], b = m * f[2], w = Array.isArray(o) ? o : [o, o], C = v ? [b, b] : x, k = [
|
|
50723
50726
|
w[0] * f[2] || 1 + C[0] / 2,
|
|
50724
50727
|
w[1] * f[2] || 1 + C[1] / 2
|
|
50725
50728
|
], E = `${h}${t || ""}`;
|
|
@@ -50860,7 +50863,7 @@ function eq({
|
|
|
50860
50863
|
zoomStep: b = 10,
|
|
50861
50864
|
offsetScale: w = 5
|
|
50862
50865
|
}) {
|
|
50863
|
-
const C = Ct(), k =
|
|
50866
|
+
const C = Ct(), k = he(null), { boundingRect: E, viewBB: _, rfId: N, panZoom: R, translateExtent: A, flowWidth: O, flowHeight: D } = st(xSe, Mt), T = t?.width ?? vSe, F = t?.height ?? ySe, M = E.width / T, B = E.height / F, I = Math.max(M, B), P = I * T, L = I * F, q = w * I, j = E.x - (P - E.width) / 2 - q, K = E.y - (L - E.height) / 2 - q, V = P + q * 2, $ = L + q * 2, z = `${bSe}-${N}`, H = he(0), Y = he();
|
|
50864
50867
|
H.current = I, ne(() => {
|
|
50865
50868
|
if (k.current && R)
|
|
50866
50869
|
return Y.current = F1e({
|
|
@@ -50904,7 +50907,7 @@ function eq({
|
|
|
50904
50907
|
eq.displayName = "MiniMap";
|
|
50905
50908
|
Lt(eq);
|
|
50906
50909
|
function wSe({ nodeId: t, position: e, variant: n = Lc.Handle, className: r, style: s = {}, children: o, color: i, minWidth: a = 10, minHeight: l = 10, maxWidth: c = Number.MAX_VALUE, maxHeight: u = Number.MAX_VALUE, keepAspectRatio: d = !1, shouldResize: f, onResizeStart: h, onResize: m, onResizeEnd: g }) {
|
|
50907
|
-
const v = r_(), y = typeof t == "string" ? t : v, x = Ct(), b =
|
|
50910
|
+
const v = r_(), y = typeof t == "string" ? t : v, x = Ct(), b = he(null), w = n === Lc.Line ? "right" : "bottom-right", C = e ?? w, k = he(null);
|
|
50908
50911
|
ne(() => {
|
|
50909
50912
|
if (!(!b.current || !y))
|
|
50910
50913
|
return k.current || (k.current = Q1e({
|
|
@@ -51129,11 +51132,11 @@ function SSe(t) {
|
|
|
51129
51132
|
h((k) => iz(C, k)), r?.(C);
|
|
51130
51133
|
},
|
|
51131
51134
|
[h, r]
|
|
51132
|
-
), b =
|
|
51135
|
+
), b = fe(() => ({
|
|
51133
51136
|
defaultNode: nq,
|
|
51134
51137
|
loadingNode: rq,
|
|
51135
51138
|
...s
|
|
51136
|
-
}), [s]), w =
|
|
51139
|
+
}), [s]), w = fe(() => ({
|
|
51137
51140
|
defaultEdge: tq,
|
|
51138
51141
|
...o
|
|
51139
51142
|
}), [o]);
|
|
@@ -51164,7 +51167,7 @@ function SSe(t) {
|
|
|
51164
51167
|
edges: f,
|
|
51165
51168
|
nodeTypes: b,
|
|
51166
51169
|
edgeTypes: w,
|
|
51167
|
-
connectionMode:
|
|
51170
|
+
connectionMode: ea.Strict,
|
|
51168
51171
|
onNodesChange: d,
|
|
51169
51172
|
onEdgesChange: m,
|
|
51170
51173
|
onConnect: x,
|
|
@@ -51848,7 +51851,7 @@ const ASe = hn(
|
|
|
51848
51851
|
}
|
|
51849
51852
|
);
|
|
51850
51853
|
function MSe(t) {
|
|
51851
|
-
const { isOpen: e, direction: n, children: r, className: s } = t, o =
|
|
51854
|
+
const { isOpen: e, direction: n, children: r, className: s } = t, o = he(null);
|
|
51852
51855
|
return e ? /* @__PURE__ */ p.jsx(
|
|
51853
51856
|
"div",
|
|
51854
51857
|
{
|
|
@@ -52051,7 +52054,7 @@ function zSe() {
|
|
|
52051
52054
|
return ry = n, ry;
|
|
52052
52055
|
}
|
|
52053
52056
|
var sy, SR;
|
|
52054
|
-
function
|
|
52057
|
+
function da() {
|
|
52055
52058
|
if (SR) return sy;
|
|
52056
52059
|
SR = 1;
|
|
52057
52060
|
var t = $l(), e = $Se(), n = zSe(), r = "[object Null]", s = "[object Undefined]", o = t ? t.toStringTag : void 0;
|
|
@@ -52074,7 +52077,7 @@ var iy, kR;
|
|
|
52074
52077
|
function bd() {
|
|
52075
52078
|
if (kR) return iy;
|
|
52076
52079
|
kR = 1;
|
|
52077
|
-
var t =
|
|
52080
|
+
var t = da(), e = Cr(), n = "[object AsyncFunction]", r = "[object Function]", s = "[object GeneratorFunction]", o = "[object Proxy]";
|
|
52078
52081
|
function i(a) {
|
|
52079
52082
|
if (!e(a))
|
|
52080
52083
|
return !1;
|
|
@@ -52148,7 +52151,7 @@ function USe() {
|
|
|
52148
52151
|
return dy = t, dy;
|
|
52149
52152
|
}
|
|
52150
52153
|
var fy, RR;
|
|
52151
|
-
function
|
|
52154
|
+
function fa() {
|
|
52152
52155
|
if (RR) return fy;
|
|
52153
52156
|
RR = 1;
|
|
52154
52157
|
var t = WSe(), e = USe();
|
|
@@ -52162,14 +52165,14 @@ var hy, IR;
|
|
|
52162
52165
|
function i_() {
|
|
52163
52166
|
if (IR) return hy;
|
|
52164
52167
|
IR = 1;
|
|
52165
|
-
var t =
|
|
52168
|
+
var t = fa(), e = Wr(), n = t(e, "Map");
|
|
52166
52169
|
return hy = n, hy;
|
|
52167
52170
|
}
|
|
52168
52171
|
var py, OR;
|
|
52169
52172
|
function Lm() {
|
|
52170
52173
|
if (OR) return py;
|
|
52171
52174
|
OR = 1;
|
|
52172
|
-
var t =
|
|
52175
|
+
var t = fa(), e = t(Object, "create");
|
|
52173
52176
|
return py = e, py;
|
|
52174
52177
|
}
|
|
52175
52178
|
var my, DR;
|
|
@@ -52377,7 +52380,7 @@ var Iy, XR;
|
|
|
52377
52380
|
function aq() {
|
|
52378
52381
|
if (XR) return Iy;
|
|
52379
52382
|
XR = 1;
|
|
52380
|
-
var t =
|
|
52383
|
+
var t = fa(), e = (function() {
|
|
52381
52384
|
try {
|
|
52382
52385
|
var n = t(Object, "defineProperty");
|
|
52383
52386
|
return n({}, "", {}), n;
|
|
@@ -52452,7 +52455,7 @@ var Fy, rI;
|
|
|
52452
52455
|
function aEe() {
|
|
52453
52456
|
if (rI) return Fy;
|
|
52454
52457
|
rI = 1;
|
|
52455
|
-
var t =
|
|
52458
|
+
var t = da(), e = hs(), n = "[object Arguments]";
|
|
52456
52459
|
function r(s) {
|
|
52457
52460
|
return e(s) && t(s) == n;
|
|
52458
52461
|
}
|
|
@@ -52518,7 +52521,7 @@ var Hy, uI;
|
|
|
52518
52521
|
function cEe() {
|
|
52519
52522
|
if (uI) return Hy;
|
|
52520
52523
|
uI = 1;
|
|
52521
|
-
var t =
|
|
52524
|
+
var t = da(), e = c_(), n = hs(), r = "[object Arguments]", s = "[object Array]", o = "[object Boolean]", i = "[object Date]", a = "[object Error]", l = "[object Function]", c = "[object Map]", u = "[object Number]", d = "[object Object]", f = "[object RegExp]", h = "[object Set]", m = "[object String]", g = "[object WeakMap]", v = "[object ArrayBuffer]", y = "[object DataView]", x = "[object Float32Array]", b = "[object Float64Array]", w = "[object Int8Array]", C = "[object Int16Array]", k = "[object Int32Array]", E = "[object Uint8Array]", _ = "[object Uint8ClampedArray]", N = "[object Uint16Array]", R = "[object Uint32Array]", A = {};
|
|
52522
52525
|
A[x] = A[b] = A[w] = A[C] = A[k] = A[E] = A[_] = A[N] = A[R] = !0, A[r] = A[s] = A[v] = A[o] = A[y] = A[i] = A[a] = A[l] = A[c] = A[u] = A[d] = A[f] = A[h] = A[m] = A[g] = !1;
|
|
52523
52526
|
function O(D) {
|
|
52524
52527
|
return n(D) && e(D.length) && !!A[t(D)];
|
|
@@ -52678,7 +52681,7 @@ function hEe() {
|
|
|
52678
52681
|
return n0 = o, n0;
|
|
52679
52682
|
}
|
|
52680
52683
|
var r0, EI;
|
|
52681
|
-
function
|
|
52684
|
+
function ha() {
|
|
52682
52685
|
if (EI) return r0;
|
|
52683
52686
|
EI = 1;
|
|
52684
52687
|
var t = lq(), e = hEe(), n = Ks();
|
|
@@ -52691,7 +52694,7 @@ var s0, kI;
|
|
|
52691
52694
|
function pEe() {
|
|
52692
52695
|
if (kI) return s0;
|
|
52693
52696
|
kI = 1;
|
|
52694
|
-
var t = wd(), e =
|
|
52697
|
+
var t = wd(), e = ha();
|
|
52695
52698
|
function n(r, s) {
|
|
52696
52699
|
return r && t(s, e(s), r);
|
|
52697
52700
|
}
|
|
@@ -52831,7 +52834,7 @@ var g0, FI;
|
|
|
52831
52834
|
function vEe() {
|
|
52832
52835
|
if (FI) return g0;
|
|
52833
52836
|
FI = 1;
|
|
52834
|
-
var t = mq(), e = pq(), n =
|
|
52837
|
+
var t = mq(), e = pq(), n = ha();
|
|
52835
52838
|
function r(s) {
|
|
52836
52839
|
return t(s, n, e);
|
|
52837
52840
|
}
|
|
@@ -52841,35 +52844,35 @@ var v0, VI;
|
|
|
52841
52844
|
function yEe() {
|
|
52842
52845
|
if (VI) return v0;
|
|
52843
52846
|
VI = 1;
|
|
52844
|
-
var t =
|
|
52847
|
+
var t = fa(), e = Wr(), n = t(e, "DataView");
|
|
52845
52848
|
return v0 = n, v0;
|
|
52846
52849
|
}
|
|
52847
52850
|
var y0, BI;
|
|
52848
52851
|
function xEe() {
|
|
52849
52852
|
if (BI) return y0;
|
|
52850
52853
|
BI = 1;
|
|
52851
|
-
var t =
|
|
52854
|
+
var t = fa(), e = Wr(), n = t(e, "Promise");
|
|
52852
52855
|
return y0 = n, y0;
|
|
52853
52856
|
}
|
|
52854
52857
|
var x0, $I;
|
|
52855
52858
|
function vq() {
|
|
52856
52859
|
if ($I) return x0;
|
|
52857
52860
|
$I = 1;
|
|
52858
|
-
var t =
|
|
52861
|
+
var t = fa(), e = Wr(), n = t(e, "Set");
|
|
52859
52862
|
return x0 = n, x0;
|
|
52860
52863
|
}
|
|
52861
52864
|
var b0, zI;
|
|
52862
52865
|
function bEe() {
|
|
52863
52866
|
if (zI) return b0;
|
|
52864
52867
|
zI = 1;
|
|
52865
|
-
var t =
|
|
52868
|
+
var t = fa(), e = Wr(), n = t(e, "WeakMap");
|
|
52866
52869
|
return b0 = n, b0;
|
|
52867
52870
|
}
|
|
52868
52871
|
var w0, qI;
|
|
52869
52872
|
function ql() {
|
|
52870
52873
|
if (qI) return w0;
|
|
52871
52874
|
qI = 1;
|
|
52872
|
-
var t = yEe(), e = i_(), n = xEe(), r = vq(), s = bEe(), o =
|
|
52875
|
+
var t = yEe(), e = i_(), n = xEe(), r = vq(), s = bEe(), o = da(), i = iq(), a = "[object Map]", l = "[object Object]", c = "[object Promise]", u = "[object Set]", d = "[object WeakMap]", f = "[object DataView]", h = i(t), m = i(e), g = i(n), v = i(r), y = i(s), x = o;
|
|
52873
52876
|
return (t && x(new t(new ArrayBuffer(1))) != f || e && x(new e()) != a || n && x(n.resolve()) != c || r && x(new r()) != u || s && x(new s()) != d) && (x = function(b) {
|
|
52874
52877
|
var w = o(b), C = w == l ? b.constructor : void 0, k = C ? i(C) : "";
|
|
52875
52878
|
if (k)
|
|
@@ -53067,7 +53070,7 @@ var j0, sO;
|
|
|
53067
53070
|
function Cq() {
|
|
53068
53071
|
if (sO) return j0;
|
|
53069
53072
|
sO = 1;
|
|
53070
|
-
var t = Vm(), e = l_(), n = $m(), r = dEe(), s = pEe(), o = uq(), i = dq(), a = mEe(), l = gEe(), c = gq(), u = vEe(), d = ql(), f = wEe(), h = kEe(), m = wq(), g = Zt(), v = zl(), y = TEe(), x = Cr(), b = AEe(), w = ui(), C =
|
|
53073
|
+
var t = Vm(), e = l_(), n = $m(), r = dEe(), s = pEe(), o = uq(), i = dq(), a = mEe(), l = gEe(), c = gq(), u = vEe(), d = ql(), f = wEe(), h = kEe(), m = wq(), g = Zt(), v = zl(), y = TEe(), x = Cr(), b = AEe(), w = ui(), C = ha(), k = 1, E = 2, _ = 4, N = "[object Arguments]", R = "[object Array]", A = "[object Boolean]", O = "[object Date]", D = "[object Error]", T = "[object Function]", F = "[object GeneratorFunction]", M = "[object Map]", B = "[object Number]", I = "[object Object]", P = "[object RegExp]", L = "[object Set]", q = "[object String]", j = "[object Symbol]", K = "[object WeakMap]", V = "[object ArrayBuffer]", $ = "[object DataView]", z = "[object Float32Array]", H = "[object Float64Array]", Y = "[object Int8Array]", Z = "[object Int16Array]", J = "[object Int32Array]", re = "[object Uint8Array]", G = "[object Uint8ClampedArray]", Q = "[object Uint16Array]", ge = "[object Uint32Array]", me = {};
|
|
53071
53074
|
me[N] = me[R] = me[V] = me[$] = me[A] = me[O] = me[z] = me[H] = me[Y] = me[Z] = me[J] = me[M] = me[B] = me[I] = me[P] = me[L] = me[q] = me[j] = me[re] = me[G] = me[Q] = me[ge] = !0, me[D] = me[T] = me[K] = !1;
|
|
53072
53075
|
function He(X, de, ye, Fe, le, Se) {
|
|
53073
53076
|
var Ee, tt = de & k, nt = de & E, lt = de & _;
|
|
@@ -53188,7 +53191,7 @@ function Um() {
|
|
|
53188
53191
|
return q0 = n, q0;
|
|
53189
53192
|
}
|
|
53190
53193
|
var H0, fO;
|
|
53191
|
-
function
|
|
53194
|
+
function pa() {
|
|
53192
53195
|
if (fO) return H0;
|
|
53193
53196
|
fO = 1;
|
|
53194
53197
|
function t(e) {
|
|
@@ -53200,7 +53203,7 @@ var W0, hO;
|
|
|
53200
53203
|
function Sq() {
|
|
53201
53204
|
if (hO) return W0;
|
|
53202
53205
|
hO = 1;
|
|
53203
|
-
var t =
|
|
53206
|
+
var t = pa();
|
|
53204
53207
|
function e(n) {
|
|
53205
53208
|
return typeof n == "function" ? n : t;
|
|
53206
53209
|
}
|
|
@@ -53551,7 +53554,7 @@ var fx, DO;
|
|
|
53551
53554
|
function Hl() {
|
|
53552
53555
|
if (DO) return fx;
|
|
53553
53556
|
DO = 1;
|
|
53554
|
-
var t =
|
|
53557
|
+
var t = da(), e = hs(), n = "[object Symbol]";
|
|
53555
53558
|
function r(s) {
|
|
53556
53559
|
return typeof s == "symbol" || e(s) && t(s) == n;
|
|
53557
53560
|
}
|
|
@@ -53785,7 +53788,7 @@ var Rx, QO;
|
|
|
53785
53788
|
function Gs() {
|
|
53786
53789
|
if (QO) return Rx;
|
|
53787
53790
|
QO = 1;
|
|
53788
|
-
var t = qEe(), e = ZEe(), n =
|
|
53791
|
+
var t = qEe(), e = ZEe(), n = pa(), r = Zt(), s = JEe();
|
|
53789
53792
|
function o(i) {
|
|
53790
53793
|
return typeof i == "function" ? i : i == null ? n : typeof i == "object" ? r(i) ? e(i[0], i[1]) : t(i) : s(i);
|
|
53791
53794
|
}
|
|
@@ -53915,7 +53918,7 @@ var zx, uD;
|
|
|
53915
53918
|
function rke() {
|
|
53916
53919
|
if (uD) return zx;
|
|
53917
53920
|
uD = 1;
|
|
53918
|
-
var t =
|
|
53921
|
+
var t = da(), e = Zt(), n = hs(), r = "[object String]";
|
|
53919
53922
|
function s(o) {
|
|
53920
53923
|
return typeof o == "string" || !e(o) && n(o) && t(o) == r;
|
|
53921
53924
|
}
|
|
@@ -54057,7 +54060,7 @@ var Qx, wD;
|
|
|
54057
54060
|
function fke() {
|
|
54058
54061
|
if (wD) return Qx;
|
|
54059
54062
|
wD = 1;
|
|
54060
|
-
var t = m_(), e = aq(), n =
|
|
54063
|
+
var t = m_(), e = aq(), n = pa(), r = e ? function(s, o) {
|
|
54061
54064
|
return e(s, "toString", {
|
|
54062
54065
|
configurable: !0,
|
|
54063
54066
|
enumerable: !1,
|
|
@@ -54097,7 +54100,7 @@ var nb, ED;
|
|
|
54097
54100
|
function Zm() {
|
|
54098
54101
|
if (ED) return nb;
|
|
54099
54102
|
ED = 1;
|
|
54100
|
-
var t =
|
|
54103
|
+
var t = pa(), e = zq(), n = qq();
|
|
54101
54104
|
function r(s, o) {
|
|
54102
54105
|
return n(e(s, o, t), s + "");
|
|
54103
54106
|
}
|
|
@@ -54926,7 +54929,7 @@ var Vb, aP;
|
|
|
54926
54929
|
function Fke() {
|
|
54927
54930
|
if (aP) return Vb;
|
|
54928
54931
|
aP = 1;
|
|
54929
|
-
var t = Zm(), e = Bl(), n = Xm(), r =
|
|
54932
|
+
var t = Zm(), e = Bl(), n = Xm(), r = ha(), s = Object.prototype, o = s.hasOwnProperty, i = t(function(a, l) {
|
|
54930
54933
|
a = Object(a);
|
|
54931
54934
|
var c = -1, u = l.length, d = u > 2 ? l[2] : void 0;
|
|
54932
54935
|
for (d && n(l[0], l[1], d) && (u = 1); ++c < u; )
|
|
@@ -55065,7 +55068,7 @@ var Yb, vP;
|
|
|
55065
55068
|
function Uke() {
|
|
55066
55069
|
if (vP) return Yb;
|
|
55067
55070
|
vP = 1;
|
|
55068
|
-
var t = g_(), e = Sq(), n =
|
|
55071
|
+
var t = g_(), e = Sq(), n = ha();
|
|
55069
55072
|
function r(s, o) {
|
|
55070
55073
|
return s == null ? s : t(s, e(o), n);
|
|
55071
55074
|
}
|
|
@@ -55122,7 +55125,7 @@ var e1, CP;
|
|
|
55122
55125
|
function Zke() {
|
|
55123
55126
|
if (CP) return e1;
|
|
55124
55127
|
CP = 1;
|
|
55125
|
-
var t = C_(), e = Yke(), n =
|
|
55128
|
+
var t = C_(), e = Yke(), n = pa();
|
|
55126
55129
|
function r(s) {
|
|
55127
55130
|
return s && s.length ? t(s, n, e) : void 0;
|
|
55128
55131
|
}
|
|
@@ -55142,7 +55145,7 @@ var n1, EP;
|
|
|
55142
55145
|
function Xke() {
|
|
55143
55146
|
if (EP) return n1;
|
|
55144
55147
|
EP = 1;
|
|
55145
|
-
var t =
|
|
55148
|
+
var t = da(), e = Wm(), n = hs(), r = "[object Object]", s = Function.prototype, o = Object.prototype, i = s.toString, a = o.hasOwnProperty, l = i.call(Object);
|
|
55146
55149
|
function c(u) {
|
|
55147
55150
|
if (!n(u) || t(u) != r)
|
|
55148
55151
|
return !1;
|
|
@@ -55168,7 +55171,7 @@ var s1, _P;
|
|
|
55168
55171
|
function Jke() {
|
|
55169
55172
|
if (_P) return s1;
|
|
55170
55173
|
_P = 1;
|
|
55171
|
-
var t = wd(), e =
|
|
55174
|
+
var t = wd(), e = ha();
|
|
55172
55175
|
function n(r) {
|
|
55173
55176
|
return t(r, e(r));
|
|
55174
55177
|
}
|
|
@@ -55198,7 +55201,7 @@ var i1, NP;
|
|
|
55198
55201
|
function e_e() {
|
|
55199
55202
|
if (NP) return i1;
|
|
55200
55203
|
NP = 1;
|
|
55201
|
-
var t = Vm(), e = eH(), n = g_(), r = Qke(), s = Cr(), o =
|
|
55204
|
+
var t = Vm(), e = eH(), n = g_(), r = Qke(), s = Cr(), o = ha(), i = tH();
|
|
55202
55205
|
function a(l, c, u, d, f) {
|
|
55203
55206
|
l !== c && n(c, function(h, m) {
|
|
55204
55207
|
if (f || (f = new t()), s(h))
|
|
@@ -55250,7 +55253,7 @@ var u1, IP;
|
|
|
55250
55253
|
function r_e() {
|
|
55251
55254
|
if (IP) return u1;
|
|
55252
55255
|
IP = 1;
|
|
55253
|
-
var t = C_(), e = nH(), n =
|
|
55256
|
+
var t = C_(), e = nH(), n = pa();
|
|
55254
55257
|
function r(s) {
|
|
55255
55258
|
return s && s.length ? t(s, n, e) : void 0;
|
|
55256
55259
|
}
|
|
@@ -55426,7 +55429,7 @@ var E1, UP;
|
|
|
55426
55429
|
function v_e() {
|
|
55427
55430
|
if (UP) return E1;
|
|
55428
55431
|
UP = 1;
|
|
55429
|
-
var t = Km(), e = Ym(), n = Gs(), r = Vq(), s = p_e(), o = qm(), i = g_e(), a =
|
|
55432
|
+
var t = Km(), e = Ym(), n = Gs(), r = Vq(), s = p_e(), o = qm(), i = g_e(), a = pa(), l = Zt();
|
|
55430
55433
|
function c(u, d, f) {
|
|
55431
55434
|
d.length ? d = t(d, function(g) {
|
|
55432
55435
|
return l(g) ? function(v) {
|
|
@@ -57047,17 +57050,17 @@ function U_e() {
|
|
|
57047
57050
|
}), rw;
|
|
57048
57051
|
}
|
|
57049
57052
|
var K_e = U_e();
|
|
57050
|
-
const sH = /* @__PURE__ */ pp(K_e),
|
|
57051
|
-
|
|
57053
|
+
const sH = /* @__PURE__ */ pp(K_e), Ma = new sH.graphlib.Graph();
|
|
57054
|
+
Ma.setDefaultEdgeLabel(() => ({}));
|
|
57052
57055
|
const oH = (t) => {
|
|
57053
57056
|
const { nodes: e, edges: n, direction: r = "vertical", nodeHeight: s = 240, nodeWidth: o = 400 } = t, i = r === "horizontal" ? "LR" : "TB", a = r === "horizontal";
|
|
57054
|
-
|
|
57057
|
+
Ma.setGraph({ rankdir: i });
|
|
57055
57058
|
for (const c of e)
|
|
57056
|
-
|
|
57059
|
+
Ma.setNode(c.id, { width: o, height: s });
|
|
57057
57060
|
for (const c of n)
|
|
57058
|
-
|
|
57059
|
-
return sH.layout(
|
|
57060
|
-
const u =
|
|
57061
|
+
Ma.setEdge(c.source, c.target);
|
|
57062
|
+
return sH.layout(Ma), { nodes: e.map((c) => {
|
|
57063
|
+
const u = Ma.node(c.id);
|
|
57061
57064
|
return {
|
|
57062
57065
|
...c,
|
|
57063
57066
|
targetPosition: a ? Ae.Left : Ae.Top,
|
|
@@ -57123,7 +57126,7 @@ const oH = (t) => {
|
|
|
57123
57126
|
};
|
|
57124
57127
|
}, iH = ({ nodeId: t, type: e }) => {
|
|
57125
57128
|
const n = Xz({ type: e, nodeId: t }), { getNode: r, getEdge: s } = ci();
|
|
57126
|
-
return
|
|
57129
|
+
return fe(() => n.map((i) => {
|
|
57127
57130
|
const a = i[e === "target" ? "source" : "target"], l = r(a);
|
|
57128
57131
|
if (!l) return null;
|
|
57129
57132
|
const c = s(i.edgeId);
|
|
@@ -57159,7 +57162,7 @@ function G_e(t) {
|
|
|
57159
57162
|
onClick: (m) => {
|
|
57160
57163
|
m.preventDefault(), m.stopPropagation(), a(d);
|
|
57161
57164
|
},
|
|
57162
|
-
children: /* @__PURE__ */ p.jsx(
|
|
57165
|
+
children: /* @__PURE__ */ p.jsx(zi, { className: "[&&]:sl-w-4 [&&]:sl-h-4" })
|
|
57163
57166
|
}
|
|
57164
57167
|
)
|
|
57165
57168
|
] }, u.id);
|
|
@@ -57254,7 +57257,7 @@ const X_e = ({
|
|
|
57254
57257
|
);
|
|
57255
57258
|
};
|
|
57256
57259
|
function eTe(t) {
|
|
57257
|
-
const { placeholder: e, searchKeys: n, onSearch: r } = t, [s, o] = oe(""), { getNodes: i, fitView: a } = ci(), l = i(), c =
|
|
57260
|
+
const { placeholder: e, searchKeys: n, onSearch: r } = t, [s, o] = oe(""), { getNodes: i, fitView: a } = ci(), l = i(), c = fe(() => s ? l.reduce((u, d) => {
|
|
57258
57261
|
const f = n.find((m) => m in d.data);
|
|
57259
57262
|
if (!f) return u;
|
|
57260
57263
|
const h = String(d.data[f]);
|
|
@@ -57944,7 +57947,7 @@ class Sn {
|
|
|
57944
57947
|
}
|
|
57945
57948
|
const $e = Object.freeze({
|
|
57946
57949
|
status: "aborted"
|
|
57947
|
-
}),
|
|
57950
|
+
}), za = (t) => ({ status: "dirty", value: t }), Dn = (t) => ({ status: "valid", value: t }), tS = (t) => t.status === "aborted", nS = (t) => t.status === "dirty", Eu = (t) => t.status === "valid", ku = (t) => typeof Promise < "u" && t instanceof Promise;
|
|
57948
57951
|
function lp(t, e, n, r) {
|
|
57949
57952
|
if (typeof e == "function" ? t !== e || !0 : !e.has(t)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
57950
57953
|
return e.get(t);
|
|
@@ -58874,7 +58877,7 @@ _u.create = (t) => new _u({
|
|
|
58874
58877
|
coerce: t?.coerce || !1,
|
|
58875
58878
|
...We(t)
|
|
58876
58879
|
});
|
|
58877
|
-
class
|
|
58880
|
+
class na extends Je {
|
|
58878
58881
|
_parse(e) {
|
|
58879
58882
|
if (this._def.coerce && (e.data = new Date(e.data)), this._getType(e) !== Ce.date) {
|
|
58880
58883
|
const o = this._getOrReturnCtx(e);
|
|
@@ -58914,7 +58917,7 @@ class ta extends Je {
|
|
|
58914
58917
|
};
|
|
58915
58918
|
}
|
|
58916
58919
|
_addCheck(e) {
|
|
58917
|
-
return new
|
|
58920
|
+
return new na({
|
|
58918
58921
|
...this._def,
|
|
58919
58922
|
checks: [...this._def.checks, e]
|
|
58920
58923
|
});
|
|
@@ -58946,7 +58949,7 @@ class ta extends Je {
|
|
|
58946
58949
|
return e != null ? new Date(e) : null;
|
|
58947
58950
|
}
|
|
58948
58951
|
}
|
|
58949
|
-
|
|
58952
|
+
na.create = (t) => new na({
|
|
58950
58953
|
checks: [],
|
|
58951
58954
|
coerce: t?.coerce || !1,
|
|
58952
58955
|
typeName: Ve.ZodDate,
|
|
@@ -59131,12 +59134,12 @@ jr.create = (t, e) => new jr({
|
|
|
59131
59134
|
typeName: Ve.ZodArray,
|
|
59132
59135
|
...We(e)
|
|
59133
59136
|
});
|
|
59134
|
-
function
|
|
59137
|
+
function Ra(t) {
|
|
59135
59138
|
if (t instanceof _t) {
|
|
59136
59139
|
const e = {};
|
|
59137
59140
|
for (const n in t.shape) {
|
|
59138
59141
|
const r = t.shape[n];
|
|
59139
|
-
e[n] = ss.create(
|
|
59142
|
+
e[n] = ss.create(Ra(r));
|
|
59140
59143
|
}
|
|
59141
59144
|
return new _t({
|
|
59142
59145
|
...t._def,
|
|
@@ -59144,8 +59147,8 @@ function Ma(t) {
|
|
|
59144
59147
|
});
|
|
59145
59148
|
} else return t instanceof jr ? new jr({
|
|
59146
59149
|
...t._def,
|
|
59147
|
-
type:
|
|
59148
|
-
}) : t instanceof ss ? ss.create(
|
|
59150
|
+
type: Ra(t.element)
|
|
59151
|
+
}) : t instanceof ss ? ss.create(Ra(t.unwrap())) : t instanceof Jo ? Jo.create(Ra(t.unwrap())) : t instanceof us ? us.create(t.items.map((e) => Ra(e))) : t;
|
|
59149
59152
|
}
|
|
59150
59153
|
class _t extends Je {
|
|
59151
59154
|
constructor() {
|
|
@@ -59381,7 +59384,7 @@ class _t extends Je {
|
|
|
59381
59384
|
* @deprecated
|
|
59382
59385
|
*/
|
|
59383
59386
|
deepPartial() {
|
|
59384
|
-
return
|
|
59387
|
+
return Ra(this);
|
|
59385
59388
|
}
|
|
59386
59389
|
partial(e) {
|
|
59387
59390
|
const n = {};
|
|
@@ -59773,7 +59776,7 @@ dp.create = (t, e, n) => new dp({
|
|
|
59773
59776
|
typeName: Ve.ZodMap,
|
|
59774
59777
|
...We(n)
|
|
59775
59778
|
});
|
|
59776
|
-
class
|
|
59779
|
+
class ra extends Je {
|
|
59777
59780
|
_parse(e) {
|
|
59778
59781
|
const { status: n, ctx: r } = this._processInputParams(e);
|
|
59779
59782
|
if (r.parsedType !== Ce.set)
|
|
@@ -59812,13 +59815,13 @@ class na extends Je {
|
|
|
59812
59815
|
return r.common.async ? Promise.all(a).then((l) => i(l)) : i(a);
|
|
59813
59816
|
}
|
|
59814
59817
|
min(e, n) {
|
|
59815
|
-
return new
|
|
59818
|
+
return new ra({
|
|
59816
59819
|
...this._def,
|
|
59817
59820
|
minSize: { value: e, message: Me.toString(n) }
|
|
59818
59821
|
});
|
|
59819
59822
|
}
|
|
59820
59823
|
max(e, n) {
|
|
59821
|
-
return new
|
|
59824
|
+
return new ra({
|
|
59822
59825
|
...this._def,
|
|
59823
59826
|
maxSize: { value: e, message: Me.toString(n) }
|
|
59824
59827
|
});
|
|
@@ -59830,14 +59833,14 @@ class na extends Je {
|
|
|
59830
59833
|
return this.min(1, e);
|
|
59831
59834
|
}
|
|
59832
59835
|
}
|
|
59833
|
-
|
|
59836
|
+
ra.create = (t, e) => new ra({
|
|
59834
59837
|
valueType: t,
|
|
59835
59838
|
minSize: null,
|
|
59836
59839
|
maxSize: null,
|
|
59837
59840
|
typeName: Ve.ZodSet,
|
|
59838
59841
|
...We(e)
|
|
59839
59842
|
});
|
|
59840
|
-
class
|
|
59843
|
+
class Qa extends Je {
|
|
59841
59844
|
constructor() {
|
|
59842
59845
|
super(...arguments), this.validate = this.implement;
|
|
59843
59846
|
}
|
|
@@ -59912,13 +59915,13 @@ class Ja extends Je {
|
|
|
59912
59915
|
return this._def.returns;
|
|
59913
59916
|
}
|
|
59914
59917
|
args(...e) {
|
|
59915
|
-
return new
|
|
59918
|
+
return new Qa({
|
|
59916
59919
|
...this._def,
|
|
59917
59920
|
args: us.create(e).rest($i.create())
|
|
59918
59921
|
});
|
|
59919
59922
|
}
|
|
59920
59923
|
returns(e) {
|
|
59921
|
-
return new
|
|
59924
|
+
return new Qa({
|
|
59922
59925
|
...this._def,
|
|
59923
59926
|
returns: e
|
|
59924
59927
|
});
|
|
@@ -59930,7 +59933,7 @@ class Ja extends Je {
|
|
|
59930
59933
|
return this.parse(e);
|
|
59931
59934
|
}
|
|
59932
59935
|
static create(e, n, r) {
|
|
59933
|
-
return new
|
|
59936
|
+
return new Qa({
|
|
59934
59937
|
args: e || us.create([]).rest($i.create()),
|
|
59935
59938
|
returns: n || $i.create(),
|
|
59936
59939
|
typeName: Ve.ZodFunction,
|
|
@@ -60124,7 +60127,7 @@ class Br extends Je {
|
|
|
60124
60127
|
path: r.path,
|
|
60125
60128
|
parent: r
|
|
60126
60129
|
});
|
|
60127
|
-
return l.status === "aborted" ? $e : l.status === "dirty" || n.value === "dirty" ?
|
|
60130
|
+
return l.status === "aborted" ? $e : l.status === "dirty" || n.value === "dirty" ? za(l.value) : l;
|
|
60128
60131
|
});
|
|
60129
60132
|
{
|
|
60130
60133
|
if (n.value === "aborted")
|
|
@@ -60134,7 +60137,7 @@ class Br extends Je {
|
|
|
60134
60137
|
path: r.path,
|
|
60135
60138
|
parent: r
|
|
60136
60139
|
});
|
|
60137
|
-
return a.status === "aborted" ? $e : a.status === "dirty" || n.value === "dirty" ?
|
|
60140
|
+
return a.status === "aborted" ? $e : a.status === "dirty" || n.value === "dirty" ? za(a.value) : a;
|
|
60138
60141
|
}
|
|
60139
60142
|
}
|
|
60140
60143
|
if (s.type === "refinement") {
|
|
@@ -60316,7 +60319,7 @@ class kd extends Je {
|
|
|
60316
60319
|
path: r.path,
|
|
60317
60320
|
parent: r
|
|
60318
60321
|
});
|
|
60319
|
-
return o.status === "aborted" ? $e : o.status === "dirty" ? (n.dirty(),
|
|
60322
|
+
return o.status === "aborted" ? $e : o.status === "dirty" ? (n.dirty(), za(o.value)) : this._def.out._parseAsync({
|
|
60320
60323
|
data: o.value,
|
|
60321
60324
|
path: r.path,
|
|
60322
60325
|
parent: r
|
|
@@ -60378,7 +60381,7 @@ var Ve;
|
|
|
60378
60381
|
})(Ve || (Ve = {}));
|
|
60379
60382
|
const ITe = (t, e = {
|
|
60380
60383
|
message: `Input not instance of ${t.name}`
|
|
60381
|
-
}) => gH((n) => n instanceof t, e), vH = Dr.create, yH = Yo.create, OTe = fp.create, DTe = Zo.create, xH = _u.create, PTe =
|
|
60384
|
+
}) => gH((n) => n instanceof t, e), vH = Dr.create, yH = Yo.create, OTe = fp.create, DTe = Zo.create, xH = _u.create, PTe = na.create, jTe = cp.create, LTe = Tu.create, FTe = Nu.create, VTe = Cl.create, BTe = $i.create, $Te = qs.create, zTe = up.create, qTe = jr.create, HTe = _t.create, WTe = _t.strictCreate, UTe = Au.create, KTe = eg.create, GTe = Mu.create, YTe = us.create, ZTe = Ru.create, XTe = dp.create, JTe = ra.create, QTe = Qa.create, eNe = Iu.create, tNe = Ou.create, nNe = Xo.create, rNe = Du.create, sNe = Sl.create, N3 = Br.create, oNe = ss.create, iNe = Jo.create, aNe = Br.createWithPreprocess, lNe = kd.create, cNe = () => vH().optional(), uNe = () => yH().optional(), dNe = () => xH().optional(), fNe = {
|
|
60382
60385
|
string: ((t) => Dr.create({ ...t, coerce: !0 })),
|
|
60383
60386
|
number: ((t) => Yo.create({ ...t, coerce: !0 })),
|
|
60384
60387
|
boolean: ((t) => _u.create({
|
|
@@ -60386,7 +60389,7 @@ const ITe = (t, e = {
|
|
|
60386
60389
|
coerce: !0
|
|
60387
60390
|
})),
|
|
60388
60391
|
bigint: ((t) => Zo.create({ ...t, coerce: !0 })),
|
|
60389
|
-
date: ((t) =>
|
|
60392
|
+
date: ((t) => na.create({ ...t, coerce: !0 }))
|
|
60390
60393
|
}, hNe = $e;
|
|
60391
60394
|
var ks = /* @__PURE__ */ Object.freeze({
|
|
60392
60395
|
__proto__: null,
|
|
@@ -60398,7 +60401,7 @@ var ks = /* @__PURE__ */ Object.freeze({
|
|
|
60398
60401
|
addIssueToContext: be,
|
|
60399
60402
|
ParseStatus: Sn,
|
|
60400
60403
|
INVALID: $e,
|
|
60401
|
-
DIRTY:
|
|
60404
|
+
DIRTY: za,
|
|
60402
60405
|
OK: Dn,
|
|
60403
60406
|
isAborted: tS,
|
|
60404
60407
|
isDirty: nS,
|
|
@@ -60418,7 +60421,7 @@ var ks = /* @__PURE__ */ Object.freeze({
|
|
|
60418
60421
|
ZodNumber: Yo,
|
|
60419
60422
|
ZodBigInt: Zo,
|
|
60420
60423
|
ZodBoolean: _u,
|
|
60421
|
-
ZodDate:
|
|
60424
|
+
ZodDate: na,
|
|
60422
60425
|
ZodSymbol: cp,
|
|
60423
60426
|
ZodUndefined: Tu,
|
|
60424
60427
|
ZodNull: Nu,
|
|
@@ -60434,8 +60437,8 @@ var ks = /* @__PURE__ */ Object.freeze({
|
|
|
60434
60437
|
ZodTuple: us,
|
|
60435
60438
|
ZodRecord: Ru,
|
|
60436
60439
|
ZodMap: dp,
|
|
60437
|
-
ZodSet:
|
|
60438
|
-
ZodFunction:
|
|
60440
|
+
ZodSet: ra,
|
|
60441
|
+
ZodFunction: Qa,
|
|
60439
60442
|
ZodLazy: Iu,
|
|
60440
60443
|
ZodLiteral: Ou,
|
|
60441
60444
|
ZodEnum: Xo,
|