56 lines
2.0 KiB
React
56 lines
2.0 KiB
React
// Metro module 8580 (f8581).
|
|
import _classCallCheck from "./_classCallCheck";
|
|
import _createClass from "./_createClass";
|
|
import _possibleConstructorReturn from "./_possibleConstructorReturn";
|
|
import _getPrototypeOf from "./_getPrototypeOf";
|
|
import _inherits from "./_inherits";
|
|
import Module19 from "react";
|
|
import FeGaussianBlur from "./FeGaussianBlur";
|
|
import FeOffset from "./FeOffset";
|
|
import FeFlood from "./FeFlood";
|
|
import FeComposite from "./FeComposite";
|
|
import FeMerge from "./FeMerge";
|
|
import FeMergeNode from "./FeMergeNode";
|
|
import FilterPrimitive from "./FilterPrimitive";
|
|
let FeDropShadow;
|
|
let env5525 = {};
|
|
env5525[8] = function _isNativeReflectConstruct() {
|
|
let c16649_0;
|
|
try {
|
|
c16649_0 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
} catch ($e) {}
|
|
const _isNativeReflectConstruct2 = function _isNativeReflectConstruct() {
|
|
return !!c16649_0;
|
|
};
|
|
env5525[8] = _isNativeReflectConstruct2;
|
|
return _isNativeReflectConstruct2();
|
|
};
|
|
FeDropShadow = function FeDropShadow() {
|
|
_classCallCheck(this, FeDropShadow);
|
|
const r8 = _getPrototypeOf(FeDropShadow);
|
|
return _possibleConstructorReturn(this, (0, env5525[8])() ? Reflect.construct(r8, arguments, _getPrototypeOf(this).constructor) : r8.apply(this, arguments));
|
|
};
|
|
_inherits(FeDropShadow, FilterPrimitive);
|
|
const r40 = _createClass(FeDropShadow, [{
|
|
key: "render",
|
|
value: function render() {
|
|
const props = this.props;
|
|
const { stdDeviation, in: in3 = "SourceGraphic" } = props;
|
|
return <Module19.Fragment>
|
|
<FeGaussianBlur in={in3} stdDeviation={stdDeviation} />
|
|
<FeOffset dx={props.dx} dy={props.dy} result="offsetblur" />
|
|
<FeFlood floodColor={this.props.floodColor} floodOpacity={this.props.floodOpacity} />
|
|
<FeComposite in2="offsetblur" operator="in" />
|
|
<FeMerge result={props.result}>
|
|
<FeMergeNode />
|
|
<FeMergeNode in={in3} />
|
|
</FeMerge>
|
|
</Module19.Fragment>;
|
|
}
|
|
}]);
|
|
r40.displayName = "FeDropShadow";
|
|
r40.defaultProps = {
|
|
...r40.defaultPrimitiveProps
|
|
};
|
|
export default r40;
|