/*!
 * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
 */
import{r as e,h as t,H as i}from"./p-EpnuuCxl.js";import{c as r}from"./p-Dw4-tG-V.js";import"./p-CG9AChtV.js";const s=()=>`:host{pointer-events:auto;display:flex;align-items:center;box-sizing:border-box;cursor:col-resize}.divider{width:1px;height:100%;background-color:var(--neutral-300);cursor:col-resize}.divider.highlighted{background-color:var(--blue-600)}`;const a=class{constructor(t){e(this,t);this.hovering=false;this.dragging=false;this.handlePointerDown=()=>{this.dragging=true;window.addEventListener("pointerup",this.handlePointerUp)};this.handlePointerUp=()=>{this.dragging=false;window.removeEventListener("pointerup",this.handlePointerUp)};this.handleCellPointerEnter=()=>{this.hovering=true};this.handleCellPointerLeave=()=>{this.hovering=false}}render(){const e=!!this.hovering||!!this.dragging;return t(i,{key:"1837908001e56d951a7cccb54a50a70b22b2179a",onPointerDown:this.handlePointerDown,onPointerEnter:this.handleCellPointerEnter,onPointerLeave:this.handleCellPointerLeave,style:{height:e?"100%":"var(--header-height)",padding:e?"0 calc(var(--scene-tree-table-column-gap) / 2)":"calc(var(--header-height) / 8) calc(var(--scene-tree-table-column-gap) / 2)"}},t("slot",{key:"7204fb61738c9bbecc35254d4e7cda78b6c76167",name:"divider"},t("div",{key:"453bb87ad579eb7fecf1d62e028573854b4d2a43",class:r("divider",{highlighted:e})})))}};a.style=s();export{a as vertex_scene_tree_table_resize_divider};
//# sourceMappingURL=p-cda3e289.entry.js.map