// Metro module 370 (f371). import _classCallCheck from "./_classCallCheck"; import _createClass from "./_createClass"; import _possibleConstructorReturn from "./_possibleConstructorReturn"; import _getPrototypeOf from "./_getPrototypeOf"; import _get from "./_get"; import _inherits from "./_inherits"; import AnimatedValue from "./AnimatedValue"; import mapStringToNumericComponents from "./mapStringToNumericComponents"; import AnimatedWithChildren from "./AnimatedWithChildren"; function $mk66319($env) { return function(a0) { const r0 = $env; return r0[1].apply(r0[0], a0); }; } let AnimatedMultiplication; let env388 = {}; env388[6] = function _isNativeReflectConstruct() { let c12284_0; try { c12284_0 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); } catch ($e) {} const _isNativeReflectConstruct2 = function _isNativeReflectConstruct() { return !!c12284_0; }; env388[6] = _isNativeReflectConstruct2; return _isNativeReflectConstruct2(); }; AnimatedMultiplication = function AnimatedMultiplication(a0, a1, a2) { _classCallCheck(this, AnimatedMultiplication); const r9 = [a2]; const r8 = _getPrototypeOf(AnimatedMultiplication); const r26 = _possibleConstructorReturn(this, (0, env388[6])() ? Reflect.construct(r8, r9, _getPrototypeOf(this).constructor) : r8.apply(this, r9)); r26._a = typeof a0 === "number" ? new AnimatedValue(a0) : a0; r26._b = typeof a1 === "number" ? new AnimatedValue(a1) : a1; return r26; }; _inherits(AnimatedMultiplication, AnimatedWithChildren); export default _createClass(AnimatedMultiplication, [{ key: "__makeNative", value: function __makeNative(a0) { let env23715; this._a.__makeNative(a0); this._b.__makeNative(a0); const r13 = env23715 = {}; env23715[0] = this; env23715[1] = void 0; let r18 = _get(_getPrototypeOf(AnimatedMultiplication.prototype), "__makeNative", this); env23715[1] = r18; if (typeof r18 === "function") { r18 = $mk66319(r13); } r18([a0]); } }, { key: "__getValue", value: function __getValue() { return this._a.__getValue() * this._b.__getValue(); } }, { key: "interpolate", value: function interpolate(a0) { return new mapStringToNumericComponents(this, a0); } }, { key: "__attach", value: function __attach() { let env23716; this._a.__addChild(this); this._b.__addChild(this); const r12 = env23716 = {}; env23716[0] = this; env23716[1] = void 0; let r17 = _get(_getPrototypeOf(AnimatedMultiplication.prototype), "__attach", this); env23716[1] = r17; if (typeof r17 === "function") { r17 = $mk66319(r12); } r17([]); } }, { key: "__detach", value: function __detach() { let env23717; this._a.__removeChild(this); this._b.__removeChild(this); const r12 = env23717 = {}; env23717[0] = this; env23717[1] = void 0; let r17 = _get(_getPrototypeOf(AnimatedMultiplication.prototype), "__detach", this); env23717[1] = r17; if (typeof r17 === "function") { r17 = $mk66319(r12); } r17([]); } }, { key: "__getNativeConfig", value: function __getNativeConfig() { return { type: "multiplication", input: [this._a.__getNativeTag(), this._b.__getNativeTag()], debugID: this.__getDebugID() }; } }]);