decord/source/polyfillsNative.tsx
2026-08-05 07:35:12 +00:00

49 lines
1.3 KiB
TypeScript

// Module ID: 13445
// Function ID: 13446
// Dependencies: [3, 13446, 13516, 13534, 13537, 13540, 511, 1214, 2]
// Module 13445
import timestamp from "_typeof";
import module_13446 from "module_13446";
import get_ActivityIndicator from "get ActivityIndicator";
import _typeof from "_typeof";
import GetOption from "GetOption";
if (typeof process === "undefined") {
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");