// Module ID: 8066 // Function ID: 8067 // Name: _isNativeReflectConstruct // Dependencies: [41, 42, 93, 95, 98, 19, 21, 8063, 8067, 8068, 8000, 8009] // Module 8066 (_isNativeReflectConstruct) import noopAll from "noop" /* 19 */; import _inheritsDefault from "_inherits" /* 98 */; import _isNativeReflectConstructDefault from "_isNativeReflectConstruct" /* 8009 */; import _modDef8063 from "module_8063" /* 8063 */; import __INTERNAL_VIEW_CONFIGDefault from "__INTERNAL_VIEW_CONFIG" /* 8068 */; import closure_3 from "_classCallCheck" /* 41 */; import closure_4 from "_possibleConstructorReturn" /* 93 */; import closure_5 from "_getPrototypeOf" /* 95 */; import importDefaultResult from "_createClass" /* 42 */; import { jsx } from "jsxProd" /* 21 */; const Mask = arg1; 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) { } } noopAll; class Mask { constructor() { self = this; tmp = closure_3(this, Mask); tmp2 = closure_5; obj = closure_5(Mask); tmp3 = closure_4; if (_isNativeReflectConstruct()) { 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); } } _inheritsDefault(Mask, _isNativeReflectConstructDefault); const items = [ { key: "render", value: function render() { const self = this; const props = this.props; ({ maskUnits, maskContentUnits, style } = props); let obj = { x: props.x, y: props.y, width: props.width, height: props.height, maskUnits: null, maskContentUnits: null, maskType: null }; let num = 0; if (undefined !== maskUnits) { num = _modDef8063[maskUnits]; } obj[4] = num; let num2 = 1; if (undefined !== maskContentUnits) { num2 = _modDef8063[maskContentUnits]; } obj[5] = num2; let str; if (props != null) { str = props.maskType; } if (!str) { let maskType; if (style != null) { maskType = style.maskType; } str = maskType; } if (!str) { str = "luminance"; } obj[6] = self(8067).maskType[str]; obj = { ref(arg0) { return self.refMethod(arg0); } }; const tmp5 = self; const tmp8 = __INTERNAL_VIEW_CONFIGDefault; const merged = Object.assign(self(8000).withoutXY(this, props)); const merged1 = Object.assign(obj); obj.children = props.children; return ; } } ]; const importDefaultResultResult = importDefaultResult(Mask, items); importDefaultResultResult.displayName = "Mask"; importDefaultResultResult.defaultProps = { x: "0%", y: "0%", width: "100%", height: "100%" }; export default importDefaultResultResult;