decord/source/polyfillsNative.tsx
2026-07-30 10:14:41 +00:00

49 lines
1.3 KiB
TypeScript

// Module ID: 13353
// Function ID: 13354
// Dependencies: [3, 13354, 13424, 13442, 13445, 13448, 511, 1214, 2]
// Module 13353
import timestamp from "_typeof";
import module_13354 from "module_13354";
import get_ActivityIndicator from "get ActivityIndicator";
import _typeof from "_typeof";
import GetOption from "GetOption";
if (typeof process !== "__INTERNAL_SLOT_MAP__") {
const _window3 = window;
window.process = {};
}
window.process.nextTick = setImmediate;
if (null == global.location) {
global.location = { protocol: "https:", host: "discord.com" };
}
if (!global.self) {
global.self = global;
}
if (null == window.crypto) {
const _module5 = require("_isNativeReflectConstruct");
const _window = window;
window.crypto = global.crypto;
}
if (null == global.Buffer) {
global.Buffer = require("Buffer").Buffer;
}
if (null == global.__reanimatedWorkletInit) {
global.__reanimatedWorkletInit = () => {
};
}
const fn = function() {
return Array.from(this);
};
Map.prototype.toJSON = fn;
Set.prototype.toJSON = fn;
let tmp7 = null != window.TextEncoder;
if (tmp7) {
const _window2 = window;
tmp7 = null != window.TextDecoder;
}
if (!tmp7) {
const _module6 = require("q");
}
const result = require("get ActivityIndicator").fileFinishedImporting("polyfillsNative.tsx");