53b2c908800228c4a53f82292fc651ff.json 2.2 KB
{"ast":null,"code":"'use strict';var canUseDOM=!!(typeof window!=='undefined'&&window.document&&window.document.createElement);var ExecutionEnvironment={canUseDOM:canUseDOM,canUseWorkers:typeof Worker!=='undefined',canUseEventListeners:canUseDOM&&!!(window.addEventListener||window.attachEvent),canUseViewport:canUseDOM&&!!window.screen,isInWorker:!canUseDOM};module.exports=ExecutionEnvironment;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/node_modules/fbjs/lib/ExecutionEnvironment.js"],"names":["canUseDOM","window","document","createElement","ExecutionEnvironment","canUseWorkers","Worker","canUseEventListeners","addEventListener","attachEvent","canUseViewport","screen","isInWorker","module","exports"],"mappings":"AAOA,aAEA,GAAIA,CAAAA,SAAS,CAAG,CAAC,EAAE,MAAOC,CAAAA,MAAP,GAAkB,WAAlB,EAAiCA,MAAM,CAACC,QAAxC,EAAoDD,MAAM,CAACC,QAAP,CAAgBC,aAAtE,CAAjB,CAQA,GAAIC,CAAAA,oBAAoB,CAAG,CACzBJ,SAAS,CAAEA,SADc,CAEzBK,aAAa,CAAE,MAAOC,CAAAA,MAAP,GAAkB,WAFR,CAGzBC,oBAAoB,CAAEP,SAAS,EAAI,CAAC,EAAEC,MAAM,CAACO,gBAAP,EAA2BP,MAAM,CAACQ,WAApC,CAHX,CAIzBC,cAAc,CAAEV,SAAS,EAAI,CAAC,CAACC,MAAM,CAACU,MAJb,CAKzBC,UAAU,CAAE,CAACZ,SALY,CAA3B,CAQAa,MAAM,CAACC,OAAP,CAAiBV,oBAAjB","sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\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'use strict';\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n/**\n * Simple, lightweight module assisting with the detection and context of\n * Worker. Helps avoid circular dependencies and allows code to reason about\n * whether or not they are in a Worker, even if they never include the main\n * `ReactWorker` dependency.\n */\n\nvar ExecutionEnvironment = {\n  canUseDOM: canUseDOM,\n  canUseWorkers: typeof Worker !== 'undefined',\n  canUseEventListeners: canUseDOM && !!(window.addEventListener || window.attachEvent),\n  canUseViewport: canUseDOM && !!window.screen,\n  isInWorker: !canUseDOM // For now, this is true - might change in the future.\n\n};\nmodule.exports = ExecutionEnvironment;"]},"metadata":{},"sourceType":"script"}