"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.convertBoundingBoxToBox=function(t){let{top:o,left:e,right:n,bottom:r}=t;return{x:{min:e,max:n},y:{min:o,max:r}}},exports.convertBoxToBoundingBox=function(t){let{x:o,y:e}=t;return{top:e.min,right:o.max,bottom:e.max,left:o.min}},exports.transformBoxPoints=function(t,o){if(!o)return t;const e=o({x:t.left,y:t.top}),n=o({x:t.right,y:t.bottom});return{top:e.y,left:e.x,bottom:n.y,right:n.x}};
//# sourceMappingURL=conversion.mjs.js.map
