58 lines
3.0 KiB
TypeScript
58 lines
3.0 KiB
TypeScript
/* Metro module 4891; source: modules/app_database/util/Iterable.tsx; dependencies: [6, 7, 2] */
|
|
import ClassCallCheck from '../../../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
|
|
import CreateClass from '../../../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun43066(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#43066, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5069:6, offset: 0x0114947b, size: 133 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_2 = _fun43067();
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/app_database/util/Iterable.tsx');
|
|
exports.chain = chain;
|
|
function _fun43067() { // fn#43067, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5069:118, offset: 0x01149500, size: 88 bytes, params: 1, frame: 15
|
|
const Chained2 = Chained;
|
|
const Symbol = global.Symbol;
|
|
return CreateClass(Chained2, [{key: Symbol.iterator, value: function() {
|
|
return this;
|
|
}}, {key: 'next', value: function() {
|
|
var value;
|
|
var property = this.index;
|
|
if (property < this.items.length) {
|
|
loopExit1: while (true) {
|
|
property = this.items;
|
|
property = property[this.index];
|
|
value = property.next();
|
|
if (value.done) {
|
|
this.index += 1;
|
|
property = this.index;
|
|
if (!(property < this.items.length)) {
|
|
return {done: true, value: undefined};
|
|
}
|
|
continue;
|
|
}
|
|
break loopExit1;
|
|
}
|
|
return value;
|
|
}
|
|
return {done: true, value: undefined};
|
|
}}]);
|
|
function Chained(a0) { // fn#43068, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5069:139, offset: 0x01149558, size: 44 bytes, params: 2, frame: 13
|
|
env1_0(this, Chained);
|
|
this.index = 0;
|
|
this.items = a0;
|
|
}
|
|
|
|
}
|
|
|
|
function chain(a0) { // fn#43071, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5069:507, offset: 0x011495f3, size: 35 bytes, params: 2, frame: 11
|
|
let value = copyRestArgs(0, undefined);
|
|
const binding = env0_2;
|
|
const value3 = Object.create(binding.prototype, {constructor: {value: binding}});
|
|
value = new binding(value);
|
|
return value instanceof Object ? value : value3;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun43066, 4891, [6, 7, 2]) /* metro module 4891, dependencies: [6, 7, 2] */;
|