/* Metro module 1521; source: unknown; dependencies: [57] */ function _fun17224(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#17224, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1648:6, offset: 0x00e66fd9, size: 86 bytes, params: 8, frame: 16 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_0 = importDefault(57) /* metro dependency 57 */; const formatToList = function(a0) { return a0.map(_fun17226).join('\n'); }; exports.default = validatePathConfig; } function formatToList(a0) { // fn#17225, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1648:108, offset: 0x00e6702f, size: 36 bytes, params: 2, frame: 11 return a0.map(function(a0) { return '- ' + a0; }).join('\n'); } function validatePathConfig(a0) { // fn#17227, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1648:199, offset: 0x00e67070, size: 256 bytes, params: 2, frame: 20 var Error; var formatToListBinding; const items2 = ['initialRouteName', 'screens']; const r7 = arguments.length > 1 && arguments[1] !== undefined; if (!(r7 ? arguments[1] : !r7)) { items2.push('path', 'exact', 'stringify', 'parse'); } let Object = global.Object; value = Object.keys(a0); value = value.filter(_fun17228); if (value.length) { Error = global.Error; formatToListBinding = formatToList; value = formatToListBinding(value); value = 'Found invalid properties in the configuration:\n' + value + "\n\nDid you forget to specify them under a 'screens' property?\n\nYou can only specify the following properties:\n" + formatToListBinding(items2) + '\n\nSee https://reactnavigation.org/docs/configuring-links for more details on how to specify a linking configuration.'; throw new Error(value); } if (a0.screens) { Object = global.Object; Object.entries(a0.screens).forEach(_fun17229); } } function _fun17229(a0) { // fn#17229, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1648:807, offset: 0x00e67189, size: 59 bytes, params: 2, frame: 14 const value2 = env1_0(a0, 2); value2[0]; const property = value2[1]; if (typeof property !== 'string') { validatePathConfig(property, false); } }