decord/source/__polyfill/04xxx/module_4469.js
github-actions 8d58bae3b2 chore: update source for alpha 347.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4907.js (118.4 MB)
2026-09-18 06:58:00 +00:00

54 lines
1.7 KiB
JavaScript

// Module ID: 4469
// Function ID: 4470
// Dependencies: [4461]
// Exports: getHybridObjectConstructor
// Module 4469
import _mod4461 from "module_4461" /* 4461 */;
require = arg1;
const dependencyMap = arg6;
const map = new Map();
export const getHybridObjectConstructor = function getHybridObjectConstructor(arg0) {
closure_0 = arg0;
if (map.has(arg0)) {
return obj.get(arg0);
} else {
function constructorFunc() {
const NitroModules = _mod4461.NitroModules;
const hybridObject = NitroModules.createHybridObject(closure_0);
const prototypeOf = Object.getPrototypeOf(hybridObject);
if (constructorFunc.prototype !== prototypeOf) {
tmp3.prototype = prototypeOf;
tmp3.prototypeInitialized = true;
}
return hybridObject;
}
constructorFunc.prototypeInitialized = false;
let _Object = Object;
const _Symbol = Symbol;
const obj2 = {
value(arg0) {
if (!constructorFunc.prototypeInitialized) {
const NitroModules = _mod4461.NitroModules;
const _Object = Object;
tmp.prototype = Object.getPrototypeOf(NitroModules.createHybridObject(closure_0));
tmp.prototypeInitialized = true;
}
let prototypeOf = Object.getPrototypeOf(arg0);
if (null != prototypeOf) {
while (prototypeOf !== constructorFunc.prototype) {
let _Object2 = Object;
prototypeOf = Object.getPrototypeOf(prototypeOf);
}
return true;
}
return false;
}
};
Object.defineProperty(constructorFunc, Symbol.hasInstance, obj2);
const result = obj.set(arg0, constructorFunc);
return constructorFunc;
}
};