{"ast":null,"code":"export function isPointerInBounds(view, _ref) {\n var x = _ref.x,\n y = _ref.y;\n var rect = view.getBoundingClientRect();\n return x >= rect.left && x <= rect.right && y >= rect.top && y <= rect.bottom;\n}","map":{"version":3,"mappings":"AAAA,OAAO,SAASA,iBAAT,CACLC,IADK,QAGI;EAAA,IADPC,CAAF,QAAEA,CAAF;IAAKC;EAEL,IAAMC,IAAa,GAAGH,IAAI,CAACI,qBAAL,EAAtB;EAEA,OAAOH,CAAC,IAAIE,IAAI,CAACE,IAAV,IAAkBJ,CAAC,IAAIE,IAAI,CAACG,KAA5B,IAAqCJ,CAAC,IAAIC,IAAI,CAACI,GAA/C,IAAsDL,CAAC,IAAIC,IAAI,CAACK,MAAvE;AACD","names":["isPointerInBounds","view","x","y","rect","getBoundingClientRect","left","right","top","bottom"],"sources":["/Users/mathildejean/Documents/BUT/LaSuperMeteo/LaSuperMeteo/iut-expo-starter/node_modules/react-native-gesture-handler/lib/module/web/utils.ts"],"sourcesContent":["export function isPointerInBounds(\n view: HTMLElement,\n { x, y }: { x: number; y: number }\n): boolean {\n const rect: DOMRect = view.getBoundingClientRect();\n\n return x >= rect.left && x <= rect.right && y >= rect.top && y <= rect.bottom;\n}\n"]},"metadata":{},"sourceType":"module","externalDependencies":[]}