3ca642b89266c34980aadd36b6829d70.json 6.34 KB
{"ast":null,"code":"'use strict';var _interopRequireDefault=require(\"@babel/runtime/helpers/interopRequireDefault\");Object.defineProperty(exports,\"__esModule\",{value:true});exports.default=void 0;var _AnimatedInterpolation=_interopRequireDefault(require(\"./AnimatedInterpolation\"));var _AnimatedNode=_interopRequireDefault(require(\"./AnimatedNode\"));var _AnimatedValue=_interopRequireDefault(require(\"./AnimatedValue\"));var _AnimatedWithChildren2=_interopRequireDefault(require(\"./AnimatedWithChildren\"));function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass;}var AnimatedMultiplication=function(_AnimatedWithChildren){_inheritsLoose(AnimatedMultiplication,_AnimatedWithChildren);function AnimatedMultiplication(a,b){var _this;_this=_AnimatedWithChildren.call(this)||this;_this._a=typeof a==='number'?new _AnimatedValue.default(a):a;_this._b=typeof b==='number'?new _AnimatedValue.default(b):b;return _this;}var _proto=AnimatedMultiplication.prototype;_proto.__makeNative=function __makeNative(){this._a.__makeNative();this._b.__makeNative();_AnimatedWithChildren.prototype.__makeNative.call(this);};_proto.__getValue=function __getValue(){return this._a.__getValue()*this._b.__getValue();};_proto.interpolate=function interpolate(config){return new _AnimatedInterpolation.default(this,config);};_proto.__attach=function __attach(){this._a.__addChild(this);this._b.__addChild(this);};_proto.__detach=function __detach(){this._a.__removeChild(this);this._b.__removeChild(this);_AnimatedWithChildren.prototype.__detach.call(this);};_proto.__getNativeConfig=function __getNativeConfig(){return{type:'multiplication',input:[this._a.__getNativeTag(),this._b.__getNativeTag()]};};return AnimatedMultiplication;}(_AnimatedWithChildren2.default);var _default=AnimatedMultiplication;exports.default=_default;","map":{"version":3,"sources":["C:/Users/bluej/Desktop/2_2/searchGuide/searchGuide/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedMultiplication.js"],"names":["_inheritsLoose","subClass","superClass","prototype","Object","create","constructor","__proto__","AnimatedMultiplication","_AnimatedWithChildren","a","b","_this","call","_a","AnimatedValue","_b","_proto","__makeNative","__getValue","interpolate","config","AnimatedInterpolation","__attach","__addChild","__detach","__removeChild","__getNativeConfig","type","input","__getNativeTag","AnimatedWithChildren"],"mappings":"AASA,a,mKAIA,sFACA,oEACA,sEACA,qFALA,QAASA,CAAAA,cAAT,CAAwBC,QAAxB,CAAkCC,UAAlC,CAA8C,CAAED,QAAQ,CAACE,SAAT,CAAqBC,MAAM,CAACC,MAAP,CAAcH,UAAU,CAACC,SAAzB,CAArB,CAA0DF,QAAQ,CAACE,SAAT,CAAmBG,WAAnB,CAAiCL,QAAjC,CAA2CA,QAAQ,CAACM,SAAT,CAAqBL,UAArB,CAAkC,CAOvL,GAAIM,CAAAA,sBAAsB,CAE1B,SAAUC,qBAAV,CAAiC,CAC/BT,cAAc,CAACQ,sBAAD,CAAyBC,qBAAzB,CAAd,CAEA,QAASD,CAAAA,sBAAT,CAAgCE,CAAhC,CAAmCC,CAAnC,CAAsC,CACpC,GAAIC,CAAAA,KAAJ,CAEAA,KAAK,CAAGH,qBAAqB,CAACI,IAAtB,CAA2B,IAA3B,GAAoC,IAA5C,CACAD,KAAK,CAACE,EAAN,CAAW,MAAOJ,CAAAA,CAAP,GAAa,QAAb,CAAwB,GAAIK,uBAAJ,CAAkBL,CAAlB,CAAxB,CAA+CA,CAA1D,CACAE,KAAK,CAACI,EAAN,CAAW,MAAOL,CAAAA,CAAP,GAAa,QAAb,CAAwB,GAAII,uBAAJ,CAAkBJ,CAAlB,CAAxB,CAA+CA,CAA1D,CACA,MAAOC,CAAAA,KAAP,CACD,CAED,GAAIK,CAAAA,MAAM,CAAGT,sBAAsB,CAACL,SAApC,CAEAc,MAAM,CAACC,YAAP,CAAsB,QAASA,CAAAA,YAAT,EAAwB,CAC5C,KAAKJ,EAAL,CAAQI,YAAR,GAEA,KAAKF,EAAL,CAAQE,YAAR,GAEAT,qBAAqB,CAACN,SAAtB,CAAgCe,YAAhC,CAA6CL,IAA7C,CAAkD,IAAlD,EACD,CAND,CAQAI,MAAM,CAACE,UAAP,CAAoB,QAASA,CAAAA,UAAT,EAAsB,CACxC,MAAO,MAAKL,EAAL,CAAQK,UAAR,GAAuB,KAAKH,EAAL,CAAQG,UAAR,EAA9B,CACD,CAFD,CAIAF,MAAM,CAACG,WAAP,CAAqB,QAASA,CAAAA,WAAT,CAAqBC,MAArB,CAA6B,CAChD,MAAO,IAAIC,+BAAJ,CAA0B,IAA1B,CAAgCD,MAAhC,CAAP,CACD,CAFD,CAIAJ,MAAM,CAACM,QAAP,CAAkB,QAASA,CAAAA,QAAT,EAAoB,CACpC,KAAKT,EAAL,CAAQU,UAAR,CAAmB,IAAnB,EAEA,KAAKR,EAAL,CAAQQ,UAAR,CAAmB,IAAnB,EACD,CAJD,CAMAP,MAAM,CAACQ,QAAP,CAAkB,QAASA,CAAAA,QAAT,EAAoB,CACpC,KAAKX,EAAL,CAAQY,aAAR,CAAsB,IAAtB,EAEA,KAAKV,EAAL,CAAQU,aAAR,CAAsB,IAAtB,EAEAjB,qBAAqB,CAACN,SAAtB,CAAgCsB,QAAhC,CAAyCZ,IAAzC,CAA8C,IAA9C,EACD,CAND,CAQAI,MAAM,CAACU,iBAAP,CAA2B,QAASA,CAAAA,iBAAT,EAA6B,CACtD,MAAO,CACLC,IAAI,CAAE,gBADD,CAELC,KAAK,CAAE,CAAC,KAAKf,EAAL,CAAQgB,cAAR,EAAD,CAA2B,KAAKd,EAAL,CAAQc,cAAR,EAA3B,CAFF,CAAP,CAID,CALD,CAOA,MAAOtB,CAAAA,sBAAP,CACD,CApDD,CAoDEuB,8BApDF,CAFA,C,aAwDevB,sB","sourcesContent":["/**\n * Copyright (c) 2015-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n * @format\n */\n'use strict';\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\n\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedValue from './AnimatedValue';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nvar AnimatedMultiplication =\n/*#__PURE__*/\nfunction (_AnimatedWithChildren) {\n  _inheritsLoose(AnimatedMultiplication, _AnimatedWithChildren);\n\n  function AnimatedMultiplication(a, b) {\n    var _this;\n\n    _this = _AnimatedWithChildren.call(this) || this;\n    _this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n    _this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n    return _this;\n  }\n\n  var _proto = AnimatedMultiplication.prototype;\n\n  _proto.__makeNative = function __makeNative() {\n    this._a.__makeNative();\n\n    this._b.__makeNative();\n\n    _AnimatedWithChildren.prototype.__makeNative.call(this);\n  };\n\n  _proto.__getValue = function __getValue() {\n    return this._a.__getValue() * this._b.__getValue();\n  };\n\n  _proto.interpolate = function interpolate(config) {\n    return new AnimatedInterpolation(this, config);\n  };\n\n  _proto.__attach = function __attach() {\n    this._a.__addChild(this);\n\n    this._b.__addChild(this);\n  };\n\n  _proto.__detach = function __detach() {\n    this._a.__removeChild(this);\n\n    this._b.__removeChild(this);\n\n    _AnimatedWithChildren.prototype.__detach.call(this);\n  };\n\n  _proto.__getNativeConfig = function __getNativeConfig() {\n    return {\n      type: 'multiplication',\n      input: [this._a.__getNativeTag(), this._b.__getNativeTag()]\n    };\n  };\n\n  return AnimatedMultiplication;\n}(AnimatedWithChildren);\n\nexport default AnimatedMultiplication;"]},"metadata":{},"sourceType":"script"}