mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 01:51:03 +00:00
1 line
13 KiB
Plaintext
1 line
13 KiB
Plaintext
{"dependencies":[{"name":"expo-modules-core","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":45,"index":45}}],"key":"fU8WLIPqoAGygnPbZ/QJiQQfXEY=","exportNames":["*"],"imports":1}},{"name":"react-native-web/dist/exports/PixelRatio","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"5rdRioKC4qvLVlVTyxLOiQm3IeU=","exportNames":["*"],"imports":1}},{"name":"react-native-web/dist/exports/NativeModules","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"MRft9soElPgDBIQyAww27iefYeU=","exportNames":["*"],"imports":1}},{"name":"./AssetSourceResolver","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":104},"end":{"line":3,"column":56,"index":160}}],"key":"1XREZLfiB40YsGJEOFyn6rrYKeQ=","exportNames":["*"],"imports":1}},{"name":"./PlatformUtils","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":161},"end":{"line":4,"column":64,"index":225}}],"key":"vk5TSZJTws6vRpll7frKCvmMWgw=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n function _interopDefault(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n exports.selectAssetSource = selectAssetSource;\n exports.resolveUri = resolveUri;\n var _expoModulesCore = require(_dependencyMap[0], \"expo-modules-core\");\n var _reactNativeWebDistExportsPixelRatio = require(_dependencyMap[1], \"react-native-web/dist/exports/PixelRatio\");\n var PixelRatio = _interopDefault(_reactNativeWebDistExportsPixelRatio);\n var _reactNativeWebDistExportsNativeModules = require(_dependencyMap[2], \"react-native-web/dist/exports/NativeModules\");\n var NativeModules = _interopDefault(_reactNativeWebDistExportsNativeModules);\n var _AssetSourceResolver = require(_dependencyMap[3], \"./AssetSourceResolver\");\n var AssetSourceResolver = _interopDefault(_AssetSourceResolver);\n var _PlatformUtils = require(_dependencyMap[4], \"./PlatformUtils\");\n /**\n * Selects the best file for the given asset (ex: choosing the best scale for images) and returns\n * a { uri, hash } pair for the specific asset file.\n *\n * If the asset isn't an image with multiple scales, the first file is selected.\n */\n function selectAssetSource(meta) {\n // This logic is based on that of AssetSourceResolver, with additional support for file hashes and\n // explicitly provided URIs\n const scale = AssetSourceResolver.default.pickScale(meta.scales, PixelRatio.default.get());\n const index = meta.scales.findIndex(s => s === scale);\n const hash = meta.fileHashes ? meta.fileHashes[index] ?? meta.fileHashes[0] : meta.hash;\n // Allow asset processors to directly provide the URL to load\n const uri = meta.fileUris ? meta.fileUris[index] ?? meta.fileUris[0] : meta.uri;\n if (uri) {\n return {\n uri: resolveUri(uri),\n hash\n };\n }\n const fileScale = scale === 1 ? '' : `@${scale}x`;\n const fileExtension = meta.type ? `.${encodeURIComponent(meta.type)}` : '';\n const suffix = `/${encodeURIComponent(meta.name)}${fileScale}${fileExtension}`;\n const params = new URLSearchParams({\n platform: _expoModulesCore.Platform.OS,\n hash: meta.hash\n });\n // For assets with a specified absolute URL, we use the existing origin instead of prepending the\n // development server or production CDN URL origin\n if (/^https?:\\/\\//.test(meta.httpServerLocation)) {\n const uri = meta.httpServerLocation + suffix + '?' + params;\n return {\n uri,\n hash\n };\n }\n // For assets during development using manifest2, we use the development server's URL origin\n const manifest2 = (0, _PlatformUtils.getManifest2)();\n const devServerUrl = manifest2?.extra?.expoGo?.developer ? 'http://' + manifest2.extra.expoGo.debuggerHost : null;\n if (devServerUrl) {\n const baseUrl = new URL(meta.httpServerLocation + suffix, devServerUrl);\n baseUrl.searchParams.set('platform', _expoModulesCore.Platform.OS);\n baseUrl.searchParams.set('hash', meta.hash);\n return {\n uri: baseUrl.href,\n hash\n };\n }\n // Temporary fallback for loading assets in Expo Go home\n if (NativeModules.default['ExponentKernel']) {\n return {\n uri: `https://classic-assets.eascdn.net/~assets/${encodeURIComponent(hash)}`,\n hash\n };\n }\n // In correctly configured apps, we arrive here if the asset is locally available on disk due to\n // being managed by expo-updates, and `getLocalAssetUri(hash)` must return a local URI for this\n // hash. Since the asset is local, we don't have a remote URL and specify an invalid URL (an empty\n // string) as a placeholder.\n return {\n uri: '',\n hash\n };\n }\n /**\n * Resolves the given URI to an absolute URI. If the given URI is already an absolute URI, it is\n * simply returned. Otherwise, if it is a relative URI, it is resolved relative to the manifest's\n * base URI.\n */\n function resolveUri(uri) {\n // `manifestBaseUrl` is always an absolute URL or `null`.\n return _PlatformUtils.manifestBaseUrl ? new URL(uri, _PlatformUtils.manifestBaseUrl).href : uri;\n }\n});","lineCount":95,"map":[[12,2,11,0,"exports"],[12,9,11,0],[12,10,11,0,"selectAssetSource"],[12,27,11,0],[12,30,11,0,"selectAssetSource"],[12,47,11,0],[13,2,64,0,"exports"],[13,9,64,0],[13,10,64,0,"resolveUri"],[13,20,64,0],[13,23,64,0,"resolveUri"],[13,33,64,0],[14,2,1,0],[14,6,1,0,"_expoModulesCore"],[14,22,1,0],[14,25,1,0,"require"],[14,32,1,0],[14,33,1,0,"_dependencyMap"],[14,47,1,0],[15,2,1,45],[15,6,1,45,"_reactNativeWebDistExportsPixelRatio"],[15,42,1,45],[15,45,1,45,"require"],[15,52,1,45],[15,53,1,45,"_dependencyMap"],[15,67,1,45],[16,2,1,45],[16,6,1,45,"PixelRatio"],[16,16,1,45],[16,19,1,45,"_interopDefault"],[16,34,1,45],[16,35,1,45,"_reactNativeWebDistExportsPixelRatio"],[16,71,1,45],[17,2,1,45],[17,6,1,45,"_reactNativeWebDistExportsNativeModules"],[17,45,1,45],[17,48,1,45,"require"],[17,55,1,45],[17,56,1,45,"_dependencyMap"],[17,70,1,45],[18,2,1,45],[18,6,1,45,"NativeModules"],[18,19,1,45],[18,22,1,45,"_interopDefault"],[18,37,1,45],[18,38,1,45,"_reactNativeWebDistExportsNativeModules"],[18,77,1,45],[19,2,3,0],[19,6,3,0,"_AssetSourceResolver"],[19,26,3,0],[19,29,3,0,"require"],[19,36,3,0],[19,37,3,0,"_dependencyMap"],[19,51,3,0],[20,2,3,0],[20,6,3,0,"AssetSourceResolver"],[20,25,3,0],[20,28,3,0,"_interopDefault"],[20,43,3,0],[20,44,3,0,"_AssetSourceResolver"],[20,64,3,0],[21,2,4,0],[21,6,4,0,"_PlatformUtils"],[21,20,4,0],[21,23,4,0,"require"],[21,30,4,0],[21,31,4,0,"_dependencyMap"],[21,45,4,0],[22,2,5,0],[23,0,6,0],[24,0,7,0],[25,0,8,0],[26,0,9,0],[27,0,10,0],[28,2,11,7],[28,11,11,16,"selectAssetSource"],[28,28,11,33,"selectAssetSource"],[28,29,11,34,"meta"],[28,33,11,38],[28,35,11,40],[29,4,12,4],[30,4,13,4],[31,4,14,4],[31,10,14,10,"scale"],[31,15,14,15],[31,18,14,18,"AssetSourceResolver"],[31,37,14,37],[31,38,14,37,"default"],[31,45,14,37],[31,46,14,38,"pickScale"],[31,55,14,47],[31,56,14,48,"meta"],[31,60,14,52],[31,61,14,53,"scales"],[31,67,14,59],[31,69,14,61,"PixelRatio"],[31,79,14,71],[31,80,14,71,"default"],[31,87,14,71],[31,88,14,72,"get"],[31,91,14,75],[31,92,14,76],[31,93,14,77],[31,94,14,78],[32,4,15,4],[32,10,15,10,"index"],[32,15,15,15],[32,18,15,18,"meta"],[32,22,15,22],[32,23,15,23,"scales"],[32,29,15,29],[32,30,15,30,"findIndex"],[32,39,15,39],[32,40,15,41,"s"],[32,41,15,42],[32,45,15,47,"s"],[32,46,15,48],[32,51,15,53,"scale"],[32,56,15,58],[32,57,15,59],[33,4,16,4],[33,10,16,10,"hash"],[33,14,16,14],[33,17,16,17,"meta"],[33,21,16,21],[33,22,16,22,"fileHashes"],[33,32,16,32],[33,35,16,36,"meta"],[33,39,16,40],[33,40,16,41,"fileHashes"],[33,50,16,51],[33,51,16,52,"index"],[33,56,16,57],[33,57,16,58],[33,61,16,62,"meta"],[33,65,16,66],[33,66,16,67,"fileHashes"],[33,76,16,77],[33,77,16,78],[33,78,16,79],[33,79,16,80],[33,82,16,84,"meta"],[33,86,16,88],[33,87,16,89,"hash"],[33,91,16,93],[34,4,17,4],[35,4,18,4],[35,10,18,10,"uri"],[35,13,18,13],[35,16,18,16,"meta"],[35,20,18,20],[35,21,18,21,"fileUris"],[35,29,18,29],[35,32,18,33,"meta"],[35,36,18,37],[35,37,18,38,"fileUris"],[35,45,18,46],[35,46,18,47,"index"],[35,51,18,52],[35,52,18,53],[35,56,18,57,"meta"],[35,60,18,61],[35,61,18,62,"fileUris"],[35,69,18,70],[35,70,18,71],[35,71,18,72],[35,72,18,73],[35,75,18,77,"meta"],[35,79,18,81],[35,80,18,82,"uri"],[35,83,18,85],[36,4,19,4],[36,8,19,8,"uri"],[36,11,19,11],[36,13,19,13],[37,6,20,8],[37,13,20,15],[38,8,20,17,"uri"],[38,11,20,20],[38,13,20,22,"resolveUri"],[38,23,20,32],[38,24,20,33,"uri"],[38,27,20,36],[38,28,20,37],[39,8,20,39,"hash"],[40,6,20,44],[40,7,20,45],[41,4,21,4],[42,4,22,4],[42,10,22,10,"fileScale"],[42,19,22,19],[42,22,22,22,"scale"],[42,27,22,27],[42,32,22,32],[42,33,22,33],[42,36,22,36],[42,38,22,38],[42,41,22,41],[42,45,22,45,"scale"],[42,50,22,50],[42,53,22,53],[43,4,23,4],[43,10,23,10,"fileExtension"],[43,23,23,23],[43,26,23,26,"meta"],[43,30,23,30],[43,31,23,31,"type"],[43,35,23,35],[43,38,23,38],[43,42,23,42,"encodeURIComponent"],[43,60,23,60],[43,61,23,61,"meta"],[43,65,23,65],[43,66,23,66,"type"],[43,70,23,70],[43,71,23,71],[43,73,23,73],[43,76,23,76],[43,78,23,78],[44,4,24,4],[44,10,24,10,"suffix"],[44,16,24,16],[44,19,24,19],[44,23,24,23,"encodeURIComponent"],[44,41,24,41],[44,42,24,42,"meta"],[44,46,24,46],[44,47,24,47,"name"],[44,51,24,51],[44,52,24,52],[44,55,24,55,"fileScale"],[44,64,24,64],[44,67,24,67,"fileExtension"],[44,80,24,80],[44,82,24,82],[45,4,25,4],[45,10,25,10,"params"],[45,16,25,16],[45,19,25,19],[45,23,25,23,"URLSearchParams"],[45,38,25,38],[45,39,25,39],[46,6,26,8,"platform"],[46,14,26,16],[46,16,26,18,"Platform"],[46,32,26,26],[46,33,26,26,"Platform"],[46,41,26,26],[46,42,26,27,"OS"],[46,44,26,29],[47,6,27,8,"hash"],[47,10,27,12],[47,12,27,14,"meta"],[47,16,27,18],[47,17,27,19,"hash"],[48,4,28,4],[48,5,28,5],[48,6,28,6],[49,4,29,4],[50,4,30,4],[51,4,31,4],[51,8,31,8],[51,22,31,22],[51,23,31,23,"test"],[51,27,31,27],[51,28,31,28,"meta"],[51,32,31,32],[51,33,31,33,"httpServerLocation"],[51,51,31,51],[51,52,31,52],[51,54,31,54],[52,6,32,8],[52,12,32,14,"uri"],[52,15,32,17],[52,18,32,20,"meta"],[52,22,32,24],[52,23,32,25,"httpServerLocation"],[52,41,32,43],[52,44,32,46,"suffix"],[52,50,32,52],[52,53,32,55],[52,56,32,58],[52,59,32,61,"params"],[52,65,32,67],[53,6,33,8],[53,13,33,15],[54,8,33,17,"uri"],[54,11,33,20],[55,8,33,22,"hash"],[56,6,33,27],[56,7,33,28],[57,4,34,4],[58,4,35,4],[59,4,36,4],[59,10,36,10,"manifest2"],[59,19,36,19],[59,22,36,22],[59,26,36,22,"getManifest2"],[59,40,36,34],[59,41,36,34,"getManifest2"],[59,53,36,34],[59,55,36,35],[59,56,36,36],[60,4,37,4],[60,10,37,10,"devServerUrl"],[60,22,37,22],[60,25,37,25,"manifest2"],[60,34,37,34],[60,36,37,36,"extra"],[60,41,37,41],[60,43,37,43,"expoGo"],[60,49,37,49],[60,51,37,51,"developer"],[60,60,37,60],[60,63,38,10],[60,72,38,19],[60,75,38,22,"manifest2"],[60,84,38,31],[60,85,38,32,"extra"],[60,90,38,37],[60,91,38,38,"expoGo"],[60,97,38,44],[60,98,38,45,"debuggerHost"],[60,110,38,57],[60,113,39,10],[60,117,39,14],[61,4,40,4],[61,8,40,8,"devServerUrl"],[61,20,40,20],[61,22,40,22],[62,6,41,8],[62,12,41,14,"baseUrl"],[62,19,41,21],[62,22,41,24],[62,26,41,28,"URL"],[62,29,41,31],[62,30,41,32,"meta"],[62,34,41,36],[62,35,41,37,"httpServerLocation"],[62,53,41,55],[62,56,41,58,"suffix"],[62,62,41,64],[62,64,41,66,"devServerUrl"],[62,76,41,78],[62,77,41,79],[63,6,42,8,"baseUrl"],[63,13,42,15],[63,14,42,16,"searchParams"],[63,26,42,28],[63,27,42,29,"set"],[63,30,42,32],[63,31,42,33],[63,41,42,43],[63,43,42,45,"Platform"],[63,59,42,53],[63,60,42,53,"Platform"],[63,68,42,53],[63,69,42,54,"OS"],[63,71,42,56],[63,72,42,57],[64,6,43,8,"baseUrl"],[64,13,43,15],[64,14,43,16,"searchParams"],[64,26,43,28],[64,27,43,29,"set"],[64,30,43,32],[64,31,43,33],[64,37,43,39],[64,39,43,41,"meta"],[64,43,43,45],[64,44,43,46,"hash"],[64,48,43,50],[64,49,43,51],[65,6,44,8],[65,13,44,15],[66,8,45,12,"uri"],[66,11,45,15],[66,13,45,17,"baseUrl"],[66,20,45,24],[66,21,45,25,"href"],[66,25,45,29],[67,8,46,12,"hash"],[68,6,47,8],[68,7,47,9],[69,4,48,4],[70,4,49,4],[71,4,50,4],[71,8,50,8,"NativeModules"],[71,21,50,21],[71,22,50,21,"default"],[71,29,50,21],[71,30,50,22],[71,46,50,38],[71,47,50,39],[71,49,50,41],[72,6,51,8],[72,13,51,15],[73,8,51,17,"uri"],[73,11,51,20],[73,13,51,22],[73,58,51,67,"encodeURIComponent"],[73,76,51,85],[73,77,51,86,"hash"],[73,81,51,90],[73,82,51,91],[73,84,51,93],[74,8,51,95,"hash"],[75,6,51,100],[75,7,51,101],[76,4,52,4],[77,4,53,4],[78,4,54,4],[79,4,55,4],[80,4,56,4],[81,4,57,4],[81,11,57,11],[82,6,57,13,"uri"],[82,9,57,16],[82,11,57,18],[82,13,57,20],[83,6,57,22,"hash"],[84,4,57,27],[84,5,57,28],[85,2,58,0],[86,2,59,0],[87,0,60,0],[88,0,61,0],[89,0,62,0],[90,0,63,0],[91,2,64,7],[91,11,64,16,"resolveUri"],[91,21,64,26,"resolveUri"],[91,22,64,27,"uri"],[91,25,64,30],[91,27,64,32],[92,4,65,4],[93,4,66,4],[93,11,66,11,"manifestBaseUrl"],[93,25,66,26],[93,26,66,26,"manifestBaseUrl"],[93,41,66,26],[93,44,66,29],[93,48,66,33,"URL"],[93,51,66,36],[93,52,66,37,"uri"],[93,55,66,40],[93,57,66,42,"manifestBaseUrl"],[93,71,66,57],[93,72,66,57,"manifestBaseUrl"],[93,87,66,57],[93,88,66,58],[93,89,66,59,"href"],[93,93,66,63],[93,96,66,66,"uri"],[93,99,66,69],[94,2,67,0],[95,0,67,1],[95,3]],"functionMap":{"names":["<global>","selectAssetSource","meta.scales.findIndex$argument_0","resolveUri"],"mappings":"AAA;OCU;wCCI,kBD;CD2C;OGM;CHG"},"hasCjsExports":false},"type":"js/module"}]} |