88 lines
4.6 KiB
JavaScript
88 lines
4.6 KiB
JavaScript
/* Metro module 132; source: unknown; dependencies: [6, 7, 99, 100, 131, 129] */
|
|
import ClassCallCheck from './module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
|
|
import CreateClass from './module-00007-CreateClass.js'; /* Metro dependency 7 */
|
|
import Module00099 from './module-00099.js'; /* Metro dependency 99 */
|
|
import Module00100 from './module-00100.js'; /* Metro dependency 100 */
|
|
import * as Module00129Module from './module-00129.js'; /* Metro dependency 129 */
|
|
import * as CreateModule from './module-00131-create.js'; /* Metro dependency 131 */
|
|
|
|
function _fun2169(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#2169, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:157:6, offset: 0x00c7acca, size: 183 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_5 = (Module00100)('length');
|
|
value = _fun2170();
|
|
(Module00129Module).setPlatformObject(value);
|
|
exports.default = value;
|
|
exports.createHTMLCollection = createHTMLCollection;
|
|
function _fun2170() { // fn#2170, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:157:153, offset: 0x00c7ad81, size: 136 bytes, params: 1, frame: 15
|
|
const HTMLCollection2 = HTMLCollection;
|
|
const Symbol = global.Symbol;
|
|
return CreateClass(HTMLCollection2, [{key: 'length', get: get_2172}, {key: 'item', value: value_2173},
|
|
{key: 'namedItem', value: function(a0) {
|
|
return null;
|
|
}}, {key: Symbol.iterator, value: value_2175}]);
|
|
function HTMLCollection(a0) { // fn#2171, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:157:174, offset: 0x00c7aa76, size: 154 bytes, params: 2, frame: 20
|
|
var r5;
|
|
var value4;
|
|
const value = environment.__proto__;
|
|
let binding = env1_2;
|
|
binding(this, HTMLCollection);
|
|
let Object = global.Object;
|
|
Object.defineProperty(this, env1_5, {writable: true, value: undefined});
|
|
let length = a0.length;
|
|
const value3 = 0;
|
|
if (value3 < length) {
|
|
for (r5 = value3; true; r5 = value4) {
|
|
Object = global.Object;
|
|
Object.defineProperty(this, r5, {'value': null, 'enumerable': true, 'configurable': false,
|
|
'writable': false,
|
|
value: a0[r5]});
|
|
value4 = typeof r5 === 'bigint' ? r5 + 1n : +r5 + 1;
|
|
length = a0.length;
|
|
if (!(value4 < length)) {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
binding = env1_4;
|
|
const binding2 = env1_5;
|
|
binding(this, binding2)[binding2] = a0.length;
|
|
}
|
|
|
|
function get_2172() { // fn#2172, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:157:436, offset: 0x00c7ab10, size: 28 bytes, params: 1, frame: 13
|
|
const binding = env1_4;
|
|
const binding2 = env1_5;
|
|
return binding(this, binding2)[binding2];
|
|
}
|
|
|
|
function value_2173(a0) { // fn#2173, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:157:491, offset: 0x00c7ab2c, size: 49 bytes, params: 2, frame: 14
|
|
if (a0 < 0) {
|
|
return null;
|
|
}
|
|
const binding = env1_4;
|
|
const binding2 = env1_5;
|
|
if (a0 >= binding(this, binding2)[binding2]) {
|
|
return null;
|
|
}
|
|
return this[a0];
|
|
}
|
|
|
|
function value_2175() { // fn#2175, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:157:647, offset: 0x00c7ab5d, size: 41 bytes, params: 1, frame: 11
|
|
const value = environment.__proto__;
|
|
return (CreateModule).createValueIterator(this);
|
|
}
|
|
|
|
}
|
|
|
|
function createHTMLCollection(a0) { // fn#2176, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:157:776, offset: 0x00c7ab86, size: 32 bytes, params: 2, frame: 11
|
|
const binding = env0_6;
|
|
const value = Object.create(binding.prototype, {constructor: {value: binding}});
|
|
const binding2 = new binding(a0);
|
|
return binding2 instanceof Object ? binding2 : value;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun2169, 132, [6, 7, 99, 100, 131, 129]) /* metro module 132, dependencies: [6, 7, 99, 100, 131, 129] */;
|