/* Metro module 1526; source: unknown; dependencies: [] */ function _fun17282(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#17282, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1653:6, offset: 0x00e68bb5, size: 20 bytes, params: 8, frame: 2 module.exports = exports_17283; } function exports_17283(a0, a1) { // fn#17283, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1653:53, offset: 0x00e68bc9, size: 158 bytes, params: 3, frame: 14 var r0; var items2; if (typeof a0 !== 'string') { throw new global.TypeError('Expected the arguments to be of type `string`'); } if (typeof a1 !== 'string') { throw new global.TypeError('Expected the arguments to be of type `string`'); } if (a1 === '') { return [a0]; } const value = a0.indexOf(a1); if (value === -1) { r0 = [a0]; } else { items2 = [a0.slice(0, value)]; items2[1] = a0.slice(value + a1.length); r0 = items2; } return r0; }