{"version":3,"sources":["node_modules\\fbjs\\lib\\focusNode.js"],"names":["focusNode","node","focus","e","module","exports"],"mappings":";;;;;;;;;;AAUA;;;;;;AAMA,QAASA,UAAT,CAAmBC,IAAnB,CAAyB;;;;AAIvB,GAAI;AACFA,KAAKC,KAAL;AACD,CAAC,MAAOC,CAAP,CAAU,CAAE;AACf;;AAEDC,OAAOC,OAAP,CAAiBL,SAAjB","file":"focusNode.js","sourceRoot":"d:/Work/Office/react-native-on-web/cli/tmpl/project","sourcesContent":["/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\n/**\n * @param {DOMElement} node input/textarea to focus\n */\n\nfunction focusNode(node) {\n  // IE8 can throw \"Can't move focus to the control because it is invisible,\n  // not enabled, or of a type that does not accept the focus.\" for all kinds of\n  // reasons that are too expensive and fragile to test.\n  try {\n    node.focus();\n  } catch (e) {}\n}\n\nmodule.exports = focusNode;"]}