3b7b4c5736b96992b05cfd262d116c84.json 1.46 KB
{"ast":null,"code":"Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var getBoundingClientRect=function getBoundingClientRect(node){if(node){var isElement=node.nodeType===1;if(isElement&&typeof node.getBoundingClientRect==='function'){return node.getBoundingClientRect();}}};var _default=getBoundingClientRect;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/modules/getBoundingClientRect/index.js"],"names":["getBoundingClientRect","node","isElement","nodeType"],"mappings":"gFAUA,GAAIA,CAAAA,qBAAqB,CAAG,QAASA,CAAAA,qBAAT,CAA+BC,IAA/B,CAAqC,CAC/D,GAAIA,IAAJ,CAAU,CACR,GAAIC,CAAAA,SAAS,CAAGD,IAAI,CAACE,QAAL,GAAkB,CAAlC,CAGA,GAAID,SAAS,EAAI,MAAOD,CAAAA,IAAI,CAACD,qBAAZ,GAAsC,UAAvD,CAAmE,CACjE,MAAOC,CAAAA,IAAI,CAACD,qBAAL,EAAP,CACD,CACF,CACF,CATD,C,aAWeA,qB","sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\n\n/* global HTMLElement */\nvar getBoundingClientRect = function getBoundingClientRect(node) {\n  if (node) {\n    var isElement = node.nodeType === 1;\n    /* Node.ELEMENT_NODE */\n\n    if (isElement && typeof node.getBoundingClientRect === 'function') {\n      return node.getBoundingClientRect();\n    }\n  }\n};\n\nexport default getBoundingClientRect;"]},"metadata":{},"sourceType":"script"}