54 lines
1.4 KiB
JavaScript
54 lines
1.4 KiB
JavaScript
// Metro module 5426 (f5427).
|
|
import * as _toPropertyKey from "./toPropertyKey_5427";
|
|
module.exports = function _createClass(a0, a1, a2) {
|
|
if (a1) {
|
|
const prototype = a0.prototype;
|
|
const length = a1.length;
|
|
let r0 = 0;
|
|
if (0 < length) {
|
|
do {
|
|
const r16 = a1[r0];
|
|
let enumerable = r16.enumerable;
|
|
const r1 = r0;
|
|
if (!enumerable) {
|
|
enumerable = false;
|
|
}
|
|
r16.enumerable = enumerable;
|
|
r16.configurable = true;
|
|
if ("value" in r16) {
|
|
r16.writable = true;
|
|
}
|
|
Object.defineProperty(prototype, _toPropertyKey(r16.key), r16);
|
|
r0 = r1 + 1;
|
|
} while (r0 < a1.length);
|
|
}
|
|
}
|
|
if (a2) {
|
|
const length2 = a2.length;
|
|
let r29 = 0;
|
|
if (0 < length2) {
|
|
do {
|
|
const r36 = a2[r29];
|
|
let enumerable2 = r36.enumerable;
|
|
const r38 = r29;
|
|
if (!enumerable2) {
|
|
enumerable2 = false;
|
|
}
|
|
r36.enumerable = enumerable2;
|
|
r36.configurable = true;
|
|
if ("value" in r36) {
|
|
r36.writable = true;
|
|
}
|
|
Object.defineProperty(a0, _toPropertyKey(r36.key), r36);
|
|
r29 = r38 + 1;
|
|
} while (r29 < a2.length);
|
|
}
|
|
}
|
|
Object.defineProperty(a0, "prototype", {
|
|
writable: false
|
|
});
|
|
return a0;
|
|
};
|
|
module.exports.__esModule = true;
|
|
module.exports.default = module.exports;
|