/*!
 * Copyright (c) 2026 Vertex Software LLC. All rights reserved.
 */
import { Point } from "@vertexvis/geometry";
export function parsePoints(value) {
    return typeof value === 'string'
        ? JSON.parse(value).map((values) => Point.fromJson(JSON.stringify(values)))
        : value;
}
export function isVertexViewerFreeformMarkup(el) {
    return (el instanceof HTMLElement && el.nodeName === 'VERTEX-VIEWER-MARKUP-FREEFORM');
}
//# sourceMappingURL=utils.js.map
