decord/source/__polyfill/08xxx/module_8575.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

95 lines
2.5 KiB
JavaScript

// Module ID: 8575
// Function ID: 8576
// Dependencies: [41, 42, 93, 95, 98, 19, 21, 8576, 8561, 8508]
// Module 8575
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 RadialGradient = 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 RadialGradient {
constructor() {
self = this;
tmp = c2(this, RadialGradient);
tmp2 = closure_4;
obj = closure_4(RadialGradient);
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(RadialGradient, _modDef8508);
const entry = {
key: "render",
value: function render() {
const self = this;
const props = this.props;
({ rx, ry, r, cx, cy, fx } = props);
if (undefined === fx) {
fx = cx;
}
let fy = props.fy;
const obj = { fx, fy: null, rx: null, ry: null, cx: null, cy: null };
if (undefined === fy) {
fy = cy;
}
obj.fy = fy;
if (!rx) {
rx = r;
}
obj.rx = rx;
if (!ry) {
ry = r;
}
obj.ry = ry;
obj.cx = cx;
obj.cy = cy;
const merged = Object.assign(obj);
const merged1 = Object.assign(RadialGradient(8561)(props, this));
return jsx(RadialGradient(8576), {
ref(arg0) {
return self.refMethod(arg0);
}
});
}
};
const items = [entry];
const importDefaultResultResult = _createClass(RadialGradient, items);
importDefaultResultResult.displayName = "RadialGradient";
importDefaultResultResult.defaultProps = { cx: "50%", cy: "50%", r: "50%" };
export default importDefaultResultResult;