Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
75 lines
2.2 KiB
JavaScript
75 lines
2.2 KiB
JavaScript
// Module ID: 8559
|
|
// Function ID: 8560
|
|
// Dependencies: [41, 42, 93, 95, 98, 19, 21, 8560, 8561, 8508]
|
|
|
|
// Module 8559
|
|
import _modDef8508 from "module_8508" /* 8508 */;
|
|
import _classCallCheck from "_classCallCheck" /* 41 */;
|
|
import _createClass from "_createClass" /* 42 */;
|
|
import c3 from "_possibleConstructorReturn" /* 93 */;
|
|
import _getPrototypeOf from "_getPrototypeOf" /* 95 */;
|
|
import _inherits from "_inherits" /* 98 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
const LinearGradient = importDefault;
|
|
function _isNativeReflectConstruct() {
|
|
try {
|
|
const _Boolean = Boolean;
|
|
const call = valueOf.call;
|
|
const _Reflect = Reflect;
|
|
const _Boolean2 = Boolean;
|
|
if (typeof call === "unknown") {
|
|
let callResult = valueOf();
|
|
} else {
|
|
callResult = call(constructResult);
|
|
}
|
|
closure_0 = !callResult;
|
|
_isNativeReflectConstruct = function _isNativeReflectConstruct() {
|
|
return closure_0;
|
|
};
|
|
return _isNativeReflectConstruct();
|
|
} catch (err) {
|
|
}
|
|
}
|
|
const jsx = fn(21).jsx;
|
|
class LinearGradient {
|
|
constructor() {
|
|
self = this;
|
|
tmp = c2(this, LinearGradient);
|
|
tmp2 = closure_4;
|
|
obj = closure_4(LinearGradient);
|
|
tmp3 = closure_3;
|
|
if (metroRequire()) {
|
|
tmp7 = globalThis;
|
|
_Reflect = Reflect;
|
|
tmp8 = arguments;
|
|
constructResult = Reflect.construct(obj, arguments, tmp2(self).constructor);
|
|
} else {
|
|
tmp4 = arguments;
|
|
tmp5 = arguments;
|
|
constructResult = obj(...arguments);
|
|
}
|
|
return tmp3(self, constructResult);
|
|
}
|
|
}
|
|
_inherits(LinearGradient, _modDef8508);
|
|
const entry = {
|
|
key: "render",
|
|
value: function render() {
|
|
const self = this;
|
|
const props = this.props;
|
|
const merged = Object.assign({ x1: props.x1, y1: props.y1, x2: props.x2, y2: props.y2 });
|
|
const merged1 = Object.assign(LinearGradient(8561)(props, this));
|
|
return jsx(LinearGradient(8560), {
|
|
ref(arg0) {
|
|
return self.refMethod(arg0);
|
|
}
|
|
});
|
|
}
|
|
};
|
|
const items = [entry];
|
|
const importDefaultResultResult = _createClass(LinearGradient, items);
|
|
importDefaultResultResult.displayName = "LinearGradient";
|
|
importDefaultResultResult.defaultProps = { x1: "0%", y1: "0%", x2: "100%", y2: "0%" };
|
|
|
|
export default importDefaultResultResult;
|