decord/source/polyfillsNative.tsx
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

54 lines
1.4 KiB
TypeScript

// Module ID: 14321
// Function ID: 14322
// Name: polyfillsNative
// Dependencies: [3, 14322, 14392, 14410, 14413, 14416, 1253, 1238, 2]
// Module 14321 (polyfillsNative)
import q from "q" /* 1238 */;
import Buffer from "Buffer" /* 1253 */;
import _mod14416 from "module_14416" /* 14416 */;
import Logger from "Logger" /* 3 */;
import module_14322 from "module_14322" /* 14322 */;
import get_ActivityIndicator from "module_14392" /* 14392 */;
import _typeof from "module_14410" /* 14410 */;
import GetOption from "module_14413" /* 14413 */;
import size from "module_2" /* 2 */;
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 = _mod14416;
const _window = window;
window.crypto = global.crypto;
}
if (null == global.Buffer) {
global.Buffer = 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 = q;
}
const result = size.fileFinishedImporting("polyfillsNative.tsx");