const PACKAGE_VERSION = "1.0.6";const REPOSITORY_URL = "https://github.com/ITCase/itcase-map";

export { I as ISO_PROJECTION_TRANSFORM, o as ISO_TRANSFORM_PARAMS, f as decrementZoom, ag as getAllConnectorsInBounds, ae as getAllEntitiesInBounds, V as getAllItemsInBounds, ah as getAllRectanglesInBounds, af as getAllTextBoxesInBounds, n as getBoundingBox, ac as getBoundingBoxSize, N as getFirstItemAtTile, h as getFitToViewParams, ad as getGridSubset, an as getIsoMatrix, k as getIsoProjectedTileSize, $ as getIsoProjectionCss, p as getIsoProjectionTransformCss, Y as getMouse, ai as getProjectBounds, d as getTextBoxDimensions, J as getTextBoxEndTile, am as getTextWidth, r as getTileFlatPosition, q as getTileIsoPosition, ak as getTileScrollPosition, ao as getTranslateCSS, j as getUnprojectedBounds, L as hasMovedTile, i as incrementZoom, ab as isBoundsIntersection, aa as isWithinBounds, al as isoToScreen, aj as screenToIsoTile, a9 as sortByPosition } from '../../transform-CMxfLvkm.js';
import 'immer';
import 'zod';
import 'uuid';
import 'pathfinding';
import 'dom-to-image';
import 'file-saver';
import 'chroma-js';

const getRectangleFromSize = (from, size) => {
    const to = {
        x: from.x + size.width,
        y: from.y + size.height
    };
    return { from, to };
};

export { getRectangleFromSize };
