{"ast":null,"code":"import { convertBoundingBoxToAxisBox, transformBoundingBox } from '../../../utils/geometry/index.js';\n\n/**\n * Measure and return the element bounding box.\n *\n * We convert the box into an AxisBox2D to make it easier to work with each axis\n * individually and programmatically.\n *\n * This function optionally accepts a transformPagePoint function which allows us to compensate\n * for, for instance, measuring the element within a scaled plane like a Framer devivce preview component.\n */\nfunction getBoundingBox(element, transformPagePoint) {\n  var box = element.getBoundingClientRect();\n  return convertBoundingBoxToAxisBox(transformBoundingBox(box, transformPagePoint));\n}\nexport { getBoundingBox };","map":{"version":3,"names":["convertBoundingBoxToAxisBox","transformBoundingBox","getBoundingBox","element","transformPagePoint","box","getBoundingClientRect"],"sources":["C:/LDT/DSP_Management/node_modules/framer-motion/dist/es/render/dom/projection/measure.js"],"sourcesContent":["import { convertBoundingBoxToAxisBox, transformBoundingBox } from '../../../utils/geometry/index.js';\n\n/**\n * Measure and return the element bounding box.\n *\n * We convert the box into an AxisBox2D to make it easier to work with each axis\n * individually and programmatically.\n *\n * This function optionally accepts a transformPagePoint function which allows us to compensate\n * for, for instance, measuring the element within a scaled plane like a Framer devivce preview component.\n */\nfunction getBoundingBox(element, transformPagePoint) {\n    var box = element.getBoundingClientRect();\n    return convertBoundingBoxToAxisBox(transformBoundingBox(box, transformPagePoint));\n}\n\nexport { getBoundingBox };\n"],"mappings":"AAAA,SAASA,2BAA2B,EAAEC,oBAAoB,QAAQ,kCAAkC;;AAEpG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASC,cAAcA,CAACC,OAAO,EAAEC,kBAAkB,EAAE;EACjD,IAAIC,GAAG,GAAGF,OAAO,CAACG,qBAAqB,CAAC,CAAC;EACzC,OAAON,2BAA2B,CAACC,oBAAoB,CAACI,GAAG,EAAED,kBAAkB,CAAC,CAAC;AACrF;AAEA,SAASF,cAAc","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}