85 lines
2.3 KiB
JavaScript
85 lines
2.3 KiB
JavaScript
// Module ID: 3962
|
|
// Function ID: 32814
|
|
// Name: getStatics
|
|
// Dependencies: []
|
|
|
|
// Module 3962 (getStatics)
|
|
function getStatics(arg0) {
|
|
const obj = require(dependencyMap[0]);
|
|
if (obj.isMemo(arg0)) {
|
|
let tmp2 = obj;
|
|
} else {
|
|
tmp2 = obj[arg0.$$typeof] || closure_2;
|
|
}
|
|
return tmp2;
|
|
}
|
|
let closure_2 = {};
|
|
let closure_3 = { "Null": "force", "Null": "forceChange", "Null": "rotation", "Null": "rotationChange", "Null": "scale", "Null": "scaleChange", "Null": "duration" };
|
|
let obj = {};
|
|
obj = {};
|
|
obj[require(dependencyMap[0]).ForwardRef] = {};
|
|
obj[require(dependencyMap[0]).Memo] = obj;
|
|
let closure_11 = Object.prototype;
|
|
function hoistNonReactStatics(arg0, arr) {
|
|
if ("string" !== typeof arr) {
|
|
if (closure_11) {
|
|
const tmp4 = getPrototypeOf(tmp);
|
|
let tmp5 = tmp4;
|
|
if (tmp4) {
|
|
tmp5 = tmp4 !== closure_11;
|
|
}
|
|
if (tmp5) {
|
|
hoistNonReactStatics(arg0, tmp4, arg2);
|
|
}
|
|
}
|
|
const obj = getOwnPropertyNames(tmp);
|
|
let combined = obj;
|
|
if (getOwnPropertySymbols) {
|
|
combined = obj.concat(getOwnPropertySymbols(tmp));
|
|
}
|
|
const tmp17 = getStatics(arg0);
|
|
const tmp19 = getStatics(tmp);
|
|
let num = 0;
|
|
if (0 < combined.length) {
|
|
while (true) {
|
|
let tmp20 = combined[num];
|
|
let tmp21 = tmp20;
|
|
let tmp22 = closure_3;
|
|
if (!closure_3[tmp20]) {
|
|
if (!arg2) {
|
|
if (!tmp19) {
|
|
if (!tmp17) {
|
|
let tmp26 = getOwnPropertyDescriptor;
|
|
let tmp27 = arr;
|
|
let tmp28 = tmp20;
|
|
let tmp29 = getOwnPropertyDescriptor(tmp, tmp21);
|
|
let tmp30 = defineProperty;
|
|
let tmp31 = arg0;
|
|
let tmp32 = tmp20;
|
|
let tmp33 = tmp29;
|
|
let tmp34 = defineProperty(arg0, tmp21, tmp29);
|
|
} else {
|
|
let tmp25 = tmp20;
|
|
}
|
|
} else {
|
|
let tmp24 = tmp20;
|
|
}
|
|
} else {
|
|
let tmp23 = tmp20;
|
|
}
|
|
}
|
|
while (true) {
|
|
num = num + 1;
|
|
if (num < combined.length) {
|
|
break;
|
|
} else {
|
|
break label0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return arg0;
|
|
}
|
|
|
|
export default hoistNonReactStatics;
|