64 lines
1.6 KiB
JavaScript
64 lines
1.6 KiB
JavaScript
// Metro module 14510 (f14511).
|
|
import * as __typeof from "./_typeof";
|
|
let _getRequireWildcardCache2 = function _getRequireWildcardCache(a0) {
|
|
if (typeof globalThis.WeakMap !== "function") {
|
|
return null;
|
|
}
|
|
let r10 = new WeakMap();
|
|
let c21209_0 = r10;
|
|
const weakMap = new WeakMap();
|
|
let c21209_1 = weakMap;
|
|
_getRequireWildcardCache2 = function _getRequireWildcardCache(a0) {
|
|
return a0 ? c21209_1 : c21209_0;
|
|
};
|
|
if (a0) {
|
|
r10 = weakMap;
|
|
}
|
|
return r10;
|
|
};
|
|
module.exports = function _interopRequireWildcard(a0, a1) {
|
|
if (!a1 && a0 && a0.__esModule) {
|
|
return a0;
|
|
}
|
|
L29: {
|
|
if (a0 !== null) {
|
|
if (__typeof.default(a0) != "object" && typeof a0 !== "function") {
|
|
break L29;
|
|
}
|
|
const r24 = _getRequireWildcardCache2(a1);
|
|
if (r24 && r24.has(a0)) {
|
|
return r24.get(a0);
|
|
}
|
|
const r11 = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
const r29 = {
|
|
__proto__: null
|
|
};
|
|
for (const key in a0) {
|
|
if (key !== "default" && ({}).hasOwnProperty.call(a0, key)) {
|
|
const r15 = r11 ? Object.getOwnPropertyDescriptor(a0, key) : null;
|
|
L23: {
|
|
if (r15) {
|
|
if (!r15.get && !r15.set) {
|
|
break L23;
|
|
}
|
|
Object.defineProperty(r29, key, r15);
|
|
continue;
|
|
}
|
|
}
|
|
r29[key] = a0[key];
|
|
}
|
|
}
|
|
r29.default = a0;
|
|
if (r24) {
|
|
r24.set(a0, r29);
|
|
}
|
|
return r29;
|
|
}
|
|
}
|
|
return {
|
|
default: a0
|
|
};
|
|
};
|
|
module.exports.__esModule = true;
|
|
module.exports.default = module.exports;
|