{"version":3,"sources":["node_modules\\fbjs\\lib\\memoizeStringOnly.js"],"names":["memoizeStringOnly","callback","cache","string","hasOwnProperty","call","module","exports"],"mappings":";;;;;;;;;;;;AAYA;;;;;;AAMA,QAASA,kBAAT,CAA2BC,QAA3B,CAAqC;AACnC,GAAIC,OAAQ,EAAZ;AACA,MAAO,UAAUC,MAAV,CAAkB;AACvB,GAAI,CAACD,MAAME,cAAN,CAAqBD,MAArB,CAAL,CAAmC;AACjCD,MAAMC,MAAN,EAAgBF,SAASI,IAAT,CAAc,IAAd,CAAoBF,MAApB,CAAhB;AACD;AACD,MAAOD,OAAMC,MAAN,CAAP;AACD,CALD;AAMD;;AAEDG,OAAOC,OAAP,CAAiBP,iBAAjB","file":"memoizeStringOnly.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 * @typechecks static-only\n */\n\n'use strict';\n\n/**\n * Memoizes the return value of a function that accepts one string argument.\n */\n\nfunction memoizeStringOnly(callback) {\n  var cache = {};\n  return function (string) {\n    if (!cache.hasOwnProperty(string)) {\n      cache[string] = callback.call(this, string);\n    }\n    return cache[string];\n  };\n}\n\nmodule.exports = memoizeStringOnly;"]}