{"ast":null,"code":"var assets = [];\nexport function registerAsset(asset) {\n  return assets.push(asset);\n}\nexport function getAssetByID(assetId) {\n  return assets[assetId - 1];\n}","map":{"version":3,"sources":["/Users/rohitsingh/Documents/projects/new-nativebase-setup/NativeBase/example/node_modules/react-native-web/dist/modules/AssetRegistry/index.js"],"names":["assets","registerAsset","asset","push","getAssetByID","assetId"],"mappings":"AAQA,IAAIA,MAAM,GAAG,EAAb;AACA,OAAO,SAASC,aAAT,CAAuBC,KAAvB,EAA8B;AAGnC,SAAOF,MAAM,CAACG,IAAP,CAAYD,KAAZ,CAAP;AACD;AACD,OAAO,SAASE,YAAT,CAAsBC,OAAtB,EAA+B;AACpC,SAAOL,MAAM,CAACK,OAAO,GAAG,CAAX,CAAb;AACD","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 */\nvar assets = [];\nexport function registerAsset(asset) {\n  // `push` returns new array length, so the first asset will\n  // get id 1 (not 0) to make the value truthy\n  return assets.push(asset);\n}\nexport function getAssetByID(assetId) {\n  return assets[assetId - 1];\n}"]},"metadata":{},"sourceType":"module"}