text: ["^ ","~:resource-id",["~:shadow.build.npm/resource","node_modules/swarm-js/lib/api-browser.js"],"~:js","shadow$provide.module$node_modules$swarm_js$lib$api_browser=function(global,require,module,exports){var unavailable=function(){throw\"This swarm.js function isn't available on the browser.\";};global={readFile:unavailable};exports={download:unavailable,safeDownloadArchived:unavailable,directoryTree:unavailable};var os={platform:unavailable,arch:unavailable},path={join:unavailable,slice:unavailable},child_process={spawn:unavailable};unavailable={lookup:unavailable};var request=require(\"module$node_modules$xhr_request$index\"),\nbytes=require(\"module$node_modules$swarm_js$node_modules$eth_lib$lib$bytes\"),hash=require(\"module$node_modules$swarm_js$lib$swarm_hash\"),pick=require(\"module$node_modules$swarm_js$lib$pick\");require=require(\"module$node_modules$swarm_js$lib$swarm\");module.exports=require({fs:global,files:exports,os,path,child_process,defaultArchives:{},mimetype:unavailable,request,downloadUrl:null,bytes,hash,pick})}","~:source","shadow$provide[\"module$node_modules$swarm_js$lib$api_browser\"] = function(global,require,module,exports) {\nvar unavailable = function unavailable() {\n  throw \"This swarm.js function isn't available on the browser.\";\n};\n\nvar fs = {\n  readFile: unavailable\n};\nvar files = {\n  download: unavailable,\n  safeDownloadArchived: unavailable,\n  directoryTree: unavailable\n};\nvar os = {\n  platform: unavailable,\n  arch: unavailable\n};\nvar path = {\n  join: unavailable,\n  slice: unavailable\n};\nvar child_process = {\n  spawn: unavailable\n};\nvar mimetype = {\n  lookup: unavailable\n};\nvar defaultArchives = {};\nvar downloadUrl = null;\n\nvar request = require(\"xhr-request\");\n\nvar bytes = require(\"eth-lib/lib/bytes\");\n\nvar hash = require(\"./swarm-hash.js\");\n\nvar pick = require(\"./pick.js\");\n\nvar swarm = require(\"./swarm\");\n\nmodule.exports = swarm({\n  fs: fs,\n  files: files,\n  os: os,\n  path: path,\n  child_process: child_process,\n  defaultArchives: defaultArchives,\n  mimetype: mimetype,\n  request: request,\n  downloadUrl: downloadUrl,\n  bytes: bytes,\n  hash: hash,\n  pick: pick\n});\n};","~:removed-requires",["~#set",[]],"~:actual-requires",["^5",["~$module$node_modules$swarm_js$lib$swarm_hash","~$module$node_modules$swarm_js$lib$swarm","~$shadow.js","~$module$node_modules$swarm_js$node_modules$eth_lib$lib$bytes","~$module$node_modules$swarm_js$lib$pick","~$module$node_modules$xhr_request$index"]],"~:properties",["^5",["readFile","defaultArchives","os","download","hash","pick","path","safeDownloadArchived","lookup","files","directoryTree","mimetype","spawn","request","bytes","fs","arch","join","slice","child_process","downloadUrl","platform"]],"~:compiled-at",1644840880414,"~:source-map-json","{\n\"version\":3,\n\"file\":\"module$node_modules$swarm_js$lib$api_browser.js\",\n\"lineCount\":2,\n\"mappings\":\"AAAAA,cAAA,CAAA,4CAAA,CAAiE,QAAQ,CAACC,MAAD,CAAQC,OAAR,CAAgBC,MAAhB,CAAuBC,OAAvB,CAAgC,CACzG,IAAIC,YAAcA,QAAoB,EAAG,CACvC,KAAM,wDAAN,CADuC,CAIrCC,OAAAA,CAAK,CACPC,SAAUF,WADH,CAGLG,QAAAA,CAAQ,CACVC,SAAUJ,WADA,CAEVK,qBAAsBL,WAFZ,CAGVM,cAAeN,WAHL,CAKZ,KAAIO,GAAK,CACPC,SAAUR,WADH,CAEPS,KAAMT,WAFC,CAAT,CAIIU,KAAO,CACTC,KAAMX,WADG,CAETY,MAAOZ,WAFE,CAJX,CAQIa,cAAgB,CAClBC,MAAOd,WADW,CAGhBe,YAAAA,CAAW,CACbC,OAAQhB,WADK,CAMf,KAAIiB,QAAUpB,OAAA,CAAQ,uCAAR,CAAd;AAEIqB,MAAQrB,OAAA,CAAQ,6DAAR,CAFZ,CAIIsB,KAAOtB,OAAA,CAAQ,6CAAR,CAJX,CAMIuB,KAAOvB,OAAA,CAAQ,uCAAR,CAEPwB,QAAAA,CAAQxB,OAAA,CAAQ,wCAAR,CAEZC,OAAOC,CAAAA,OAAP,CAAiBsB,OAAA,CAAM,CACrBpB,GAAIA,MADiB,CAErBE,MAAOA,OAFc,CAGjBI,EAHiB,CAIfG,IAJe,CAKNG,aALM,CAMrBS,gBAnBoBA,EAaC,CAOrBP,SAAUA,WAPW,CAQZE,OARY,CASrBM,YArBgBA,IAYK,CAUdL,KAVc,CAWfC,IAXe,CAYfC,IAZe,CAAN,CAxCwF;\",\n\"sources\":[\"node_modules/swarm-js/lib/api-browser.js\"],\n\"sourcesContent\":[\"shadow$provide[\\\"module$node_modules$swarm_js$lib$api_browser\\\"] = function(global,require,module,exports) {\\nvar unavailable = function unavailable() {\\n  throw \\\"This swarm.js function isn't available on the browser.\\\";\\n};\\n\\nvar fs = {\\n  readFile: unavailable\\n};\\nvar files = {\\n  download: unavailable,\\n  safeDownloadArchived: unavailable,\\n  directoryTree: unavailable\\n};\\nvar os = {\\n  platform: unavailable,\\n  arch: unavailable\\n};\\nvar path = {\\n  join: unavailable,\\n  slice: unavailable\\n};\\nvar child_process = {\\n  spawn: unavailable\\n};\\nvar mimetype = {\\n  lookup: unavailable\\n};\\nvar defaultArchives = {};\\nvar downloadUrl = null;\\n\\nvar request = require(\\\"xhr-request\\\");\\n\\nvar bytes = require(\\\"eth-lib/lib/bytes\\\");\\n\\nvar hash = require(\\\"./swarm-hash.js\\\");\\n\\nvar pick = require(\\\"./pick.js\\\");\\n\\nvar swarm = require(\\\"./swarm\\\");\\n\\nmodule.exports = swarm({\\n  fs: fs,\\n  files: files,\\n  os: os,\\n  path: path,\\n  child_process: child_process,\\n  defaultArchives: defaultArchives,\\n  mimetype: mimetype,\\n  request: request,\\n  downloadUrl: downloadUrl,\\n  bytes: bytes,\\n  hash: hash,\\n  pick: pick\\n});\\n};\"],\n\"names\":[\"shadow$provide\",\"global\",\"require\",\"module\",\"exports\",\"unavailable\",\"fs\",\"readFile\",\"files\",\"download\",\"safeDownloadArchived\",\"directoryTree\",\"os\",\"platform\",\"arch\",\"path\",\"join\",\"slice\",\"child_process\",\"spawn\",\"mimetype\",\"lookup\",\"request\",\"bytes\",\"hash\",\"pick\",\"swarm\",\"defaultArchives\",\"downloadUrl\"]\n}\n"]