// Metro module 371 (f372). 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 mapStringToNumericComponents from "./mapStringToNumericComponents"; import AnimatedWithChildren from "./AnimatedWithChildren"; function $mk66329($env) { return function(a0) { const r0 = $env; return r0[1].apply(r0[0], a0); }; } let AnimatedModulo; let env390 = {}; env390[6] = function _isNativeReflectConstruct() { let c12285_0; try { c12285_0 = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})); } catch ($e) {} const _isNativeReflectConstruct2 = function _isNativeReflectConstruct() { return !!c12285_0; }; env390[6] = _isNativeReflectConstruct2; return _isNativeReflectConstruct2(); }; AnimatedModulo = function AnimatedModulo(a0, a1, a2) { _classCallCheck(this, AnimatedModulo); const r8 = [a2]; const r7 = _getPrototypeOf(AnimatedModulo); const r23 = _possibleConstructorReturn(this, (0, env390[6])() ? Reflect.construct(r7, r8, _getPrototypeOf(this).constructor) : r7.apply(this, r8)); r23._a = a0; r23._modulus = a1; return r23; }; _inherits(AnimatedModulo, AnimatedWithChildren); export default _createClass(AnimatedModulo, [{ key: "__makeNative", value: function __makeNative(a0) { let env23718; this._a.__makeNative(a0); const r10 = env23718 = {}; env23718[0] = this; env23718[1] = void 0; let r15 = _get(_getPrototypeOf(AnimatedModulo.prototype), "__makeNative", this); env23718[1] = r15; if (typeof r15 === "function") { r15 = $mk66329(r10); } r15([a0]); } }, { key: "__getValue", value: function __getValue() { return (this._a.__getValue() % this._modulus + this._modulus) % this._modulus; } }, { key: "interpolate", value: function interpolate(a0) { return new mapStringToNumericComponents(this, a0); } }, { key: "__attach", value: function __attach() { let env23719; this._a.__addChild(this); const r9 = env23719 = {}; env23719[0] = this; env23719[1] = void 0; let r14 = _get(_getPrototypeOf(AnimatedModulo.prototype), "__attach", this); env23719[1] = r14; if (typeof r14 === "function") { r14 = $mk66329(r9); } r14([]); } }, { key: "__detach", value: function __detach() { let env23720; this._a.__removeChild(this); const r9 = env23720 = {}; env23720[0] = this; env23720[1] = void 0; let r14 = _get(_getPrototypeOf(AnimatedModulo.prototype), "__detach", this); env23720[1] = r14; if (typeof r14 === "function") { r14 = $mk66329(r9); } r14([]); } }, { key: "__getNativeConfig", value: function __getNativeConfig() { return { type: "modulus", input: this._a.__getNativeTag(), modulus: this._modulus, debugID: this.__getDebugID() }; } }]);