You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
6.1 KiB
1 line
6.1 KiB
{"ast":null,"code":"'use strict';\n\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _get from \"@babel/runtime/helpers/get\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\nimport AnimatedInterpolation from \"./AnimatedInterpolation\";\nimport AnimatedNode from \"./AnimatedNode\";\nimport AnimatedValue from \"./AnimatedValue\";\nimport AnimatedWithChildren from \"./AnimatedWithChildren\";\nvar AnimatedMultiplication = function (_AnimatedWithChildren) {\n _inherits(AnimatedMultiplication, _AnimatedWithChildren);\n var _super = _createSuper(AnimatedMultiplication);\n function AnimatedMultiplication(a, b) {\n var _this;\n _classCallCheck(this, AnimatedMultiplication);\n _this = _super.call(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 _createClass(AnimatedMultiplication, [{\n key: \"__makeNative\",\n value: function __makeNative() {\n this._a.__makeNative();\n this._b.__makeNative();\n _get(_getPrototypeOf(AnimatedMultiplication.prototype), \"__makeNative\", this).call(this);\n }\n }, {\n key: \"__getValue\",\n value: function __getValue() {\n return this._a.__getValue() * this._b.__getValue();\n }\n }, {\n key: \"interpolate\",\n value: function interpolate(config) {\n return new AnimatedInterpolation(this, config);\n }\n }, {\n key: \"__attach\",\n value: function __attach() {\n this._a.__addChild(this);\n this._b.__addChild(this);\n }\n }, {\n key: \"__detach\",\n value: function __detach() {\n this._a.__removeChild(this);\n this._b.__removeChild(this);\n _get(_getPrototypeOf(AnimatedMultiplication.prototype), \"__detach\", this).call(this);\n }\n }, {\n key: \"__getNativeConfig\",\n value: function __getNativeConfig() {\n return {\n type: 'multiplication',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()]\n };\n }\n }]);\n return AnimatedMultiplication;\n}(AnimatedWithChildren);\nexport default AnimatedMultiplication;","map":{"version":3,"names":["AnimatedInterpolation","AnimatedNode","AnimatedValue","AnimatedWithChildren","AnimatedMultiplication","a","b","_a","_b","__makeNative","__getValue","config","__addChild","__removeChild","type","input","__getNativeTag"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/vendor/react-native/Animated/nodes/AnimatedMultiplication.js"],"sourcesContent":["/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\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\nimport AnimatedInterpolation from './AnimatedInterpolation';\nimport AnimatedNode from './AnimatedNode';\nimport AnimatedValue from './AnimatedValue';\nimport AnimatedWithChildren from './AnimatedWithChildren';\n\nclass AnimatedMultiplication extends AnimatedWithChildren {\n constructor(a, b) {\n super();\n this._a = typeof a === 'number' ? new AnimatedValue(a) : a;\n this._b = typeof b === 'number' ? new AnimatedValue(b) : b;\n }\n\n __makeNative() {\n this._a.__makeNative();\n\n this._b.__makeNative();\n\n super.__makeNative();\n }\n\n __getValue() {\n return this._a.__getValue() * this._b.__getValue();\n }\n\n interpolate(config) {\n return new AnimatedInterpolation(this, config);\n }\n\n __attach() {\n this._a.__addChild(this);\n\n this._b.__addChild(this);\n }\n\n __detach() {\n this._a.__removeChild(this);\n\n this._b.__removeChild(this);\n\n super.__detach();\n }\n\n __getNativeConfig() {\n return {\n type: 'multiplication',\n input: [this._a.__getNativeTag(), this._b.__getNativeTag()]\n };\n }\n\n}\n\nexport default AnimatedMultiplication;"],"mappings":"AASA,YAAY;;AAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAEb,OAAOA,qBAAqB;AAC5B,OAAOC,YAAY;AACnB,OAAOC,aAAa;AACpB,OAAOC,oBAAoB;AAA+B,IAEpDC,sBAAsB;EAAA;EAAA;EAC1B,gCAAYC,CAAC,EAAEC,CAAC,EAAE;IAAA;IAAA;IAChB;IACA,MAAKC,EAAE,GAAG,OAAOF,CAAC,KAAK,QAAQ,GAAG,IAAIH,aAAa,CAACG,CAAC,CAAC,GAAGA,CAAC;IAC1D,MAAKG,EAAE,GAAG,OAAOF,CAAC,KAAK,QAAQ,GAAG,IAAIJ,aAAa,CAACI,CAAC,CAAC,GAAGA,CAAC;IAAC;EAC7D;EAAC;IAAA;IAAA,OAED,wBAAe;MACb,IAAI,CAACC,EAAE,CAACE,YAAY,EAAE;MAEtB,IAAI,CAACD,EAAE,CAACC,YAAY,EAAE;MAEtB;IACF;EAAC;IAAA;IAAA,OAED,sBAAa;MACX,OAAO,IAAI,CAACF,EAAE,CAACG,UAAU,EAAE,GAAG,IAAI,CAACF,EAAE,CAACE,UAAU,EAAE;IACpD;EAAC;IAAA;IAAA,OAED,qBAAYC,MAAM,EAAE;MAClB,OAAO,IAAIX,qBAAqB,CAAC,IAAI,EAAEW,MAAM,CAAC;IAChD;EAAC;IAAA;IAAA,OAED,oBAAW;MACT,IAAI,CAACJ,EAAE,CAACK,UAAU,CAAC,IAAI,CAAC;MAExB,IAAI,CAACJ,EAAE,CAACI,UAAU,CAAC,IAAI,CAAC;IAC1B;EAAC;IAAA;IAAA,OAED,oBAAW;MACT,IAAI,CAACL,EAAE,CAACM,aAAa,CAAC,IAAI,CAAC;MAE3B,IAAI,CAACL,EAAE,CAACK,aAAa,CAAC,IAAI,CAAC;MAE3B;IACF;EAAC;IAAA;IAAA,OAED,6BAAoB;MAClB,OAAO;QACLC,IAAI,EAAE,gBAAgB;QACtBC,KAAK,EAAE,CAAC,IAAI,CAACR,EAAE,CAACS,cAAc,EAAE,EAAE,IAAI,CAACR,EAAE,CAACQ,cAAc,EAAE;MAC5D,CAAC;IACH;EAAC;EAAA;AAAA,EA1CkCb,oBAAoB;AA8CzD,eAAeC,sBAAsB"},"metadata":{},"sourceType":"module"} |