32 lines
671 B
JavaScript
32 lines
671 B
JavaScript
// Metro module 990 (f991).
|
|
Object.defineProperty(exports, Symbol.toStringTag, {
|
|
value: "Module"
|
|
});
|
|
export function replaceExports(a0, a1, a2) {
|
|
const r2 = a0[a1];
|
|
if (typeof r2 === "function") {
|
|
try {
|
|
a0[a1] = a2;
|
|
} catch ($e) {
|
|
Object.defineProperty(a0, a1, {
|
|
value: a2,
|
|
writable: true,
|
|
configurable: true,
|
|
enumerable: true
|
|
});
|
|
}
|
|
if (a0.default === r2) {
|
|
try {
|
|
a0.default = a2;
|
|
} catch ($e) {
|
|
Object.defineProperty(a0, "default", {
|
|
value: a2,
|
|
writable: true,
|
|
configurable: true,
|
|
enumerable: true
|
|
});
|
|
}
|
|
}
|
|
}
|
|
}
|