/*!
 * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
 */
import { Color } from "@vertexvis/utils";
export const DEFAULT_VIEWER_SCENE_WAIT_MS = 15000;
export function getElementBackgroundColor(element) {
    const styles = window.getComputedStyle(element);
    return Color.fromCss(styles.backgroundColor);
}
export function getElementBoundingClientRect(element) {
    return element.getBoundingClientRect();
}
export function getElementPropertyValue(element, property) {
    const styles = window.getComputedStyle(element);
    const value = styles.getPropertyValue(property);
    return value !== '' ? value : undefined;
}
//# sourceMappingURL=utils.js.map
