mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 05:21:02 +00:00
1 line
11 KiB
Plaintext
1 line
11 KiB
Plaintext
{"dependencies":[{"name":"@babel/runtime/helpers/interopRequireDefault","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"kslwqCIsh6ew+I1KeA1rlVRjsAk=","exportNames":["*"]}},{"name":"@babel/runtime/helpers/objectSpread2","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":13,"column":0,"index":225},"end":{"line":13,"column":65,"index":290}}],"key":"SfRhzMj3Ex6qA89WTFEUm9Lj49A=","exportNames":["*"]}},{"name":"./AnimatedValue","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":14,"column":0,"index":291},"end":{"line":14,"column":44,"index":335}}],"key":"MXjn1CQaLNtMiiooxlb5qObVfR0=","exportNames":["*"]}},{"name":"./AnimatedNode","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":15,"column":0,"index":336},"end":{"line":15,"column":42,"index":378}}],"key":"3FW5DuEHaAfmgBjK581q2IBFvjo=","exportNames":["*"]}},{"name":"../NativeAnimatedHelper","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":16,"column":0,"index":379},"end":{"line":16,"column":88,"index":467}}],"key":"7+Fs6fvkAbHB0IU2p+AMhuguGZA=","exportNames":["*"]}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n /**\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\n 'use strict';\n\n var _interopRequireDefault = require(_dependencyMap[0], \"@babel/runtime/helpers/interopRequireDefault\");\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.default = void 0;\n var _objectSpread2 = _interopRequireDefault(require(_dependencyMap[1], \"@babel/runtime/helpers/objectSpread2\"));\n var _AnimatedValue = _interopRequireDefault(require(_dependencyMap[2], \"./AnimatedValue\"));\n var _AnimatedNode = _interopRequireDefault(require(_dependencyMap[3], \"./AnimatedNode\"));\n var _NativeAnimatedHelper = require(_dependencyMap[4], \"../NativeAnimatedHelper\");\n class AnimatedTracking extends _AnimatedNode.default {\n constructor(value, parent, animationClass, animationConfig, callback) {\n super();\n this._value = value;\n this._parent = parent;\n this._animationClass = animationClass;\n this._animationConfig = animationConfig;\n this._useNativeDriver = (0, _NativeAnimatedHelper.shouldUseNativeDriver)(animationConfig);\n this._callback = callback;\n this.__attach();\n }\n __makeNative() {\n this.__isNative = true;\n this._parent.__makeNative();\n super.__makeNative();\n this._value.__makeNative();\n }\n __getValue() {\n return this._parent.__getValue();\n }\n __attach() {\n this._parent.__addChild(this);\n if (this._useNativeDriver) {\n // when the tracking starts we need to convert this node to a \"native node\"\n // so that the parent node will be made \"native\" too. This is necessary as\n // if we don't do this `update` method will get called. At that point it\n // may be too late as it would mean the JS driver has already started\n // updating node values\n this.__makeNative();\n }\n }\n __detach() {\n this._parent.__removeChild(this);\n super.__detach();\n }\n update() {\n this._value.animate(new this._animationClass((0, _objectSpread2.default)((0, _objectSpread2.default)({}, this._animationConfig), {}, {\n toValue: this._animationConfig.toValue.__getValue()\n })), this._callback);\n }\n __getNativeConfig() {\n var animation = new this._animationClass((0, _objectSpread2.default)((0, _objectSpread2.default)({}, this._animationConfig), {}, {\n // remove toValue from the config as it's a ref to Animated.Value\n toValue: undefined\n }));\n var animationConfig = animation.__getNativeAnimationConfig();\n return {\n type: 'tracking',\n animationId: (0, _NativeAnimatedHelper.generateNewAnimationId)(),\n animationConfig,\n toValue: this._parent.__getNativeTag(),\n value: this._value.__getNativeTag()\n };\n }\n }\n var _default = exports.default = AnimatedTracking;\n});","lineCount":79,"map":[[2,2,1,0],[3,0,2,0],[4,0,3,0],[5,0,4,0],[6,0,5,0],[7,0,6,0],[8,0,7,0],[9,0,8,0],[10,0,9,0],[12,2,11,0],[12,14,11,12],[14,2,11,13],[14,6,11,13,"_interopRequireDefault"],[14,28,11,13],[14,31,11,13,"require"],[14,38,11,13],[14,39,11,13,"_dependencyMap"],[14,53,11,13],[15,2,11,13,"Object"],[15,8,11,13],[15,9,11,13,"defineProperty"],[15,23,11,13],[15,24,11,13,"exports"],[15,31,11,13],[16,4,11,13,"value"],[16,9,11,13],[17,2,11,13],[18,2,11,13,"exports"],[18,9,11,13],[18,10,11,13,"default"],[18,17,11,13],[19,2,13,0],[19,6,13,0,"_objectSpread2"],[19,20,13,0],[19,23,13,0,"_interopRequireDefault"],[19,45,13,0],[19,46,13,0,"require"],[19,53,13,0],[19,54,13,0,"_dependencyMap"],[19,68,13,0],[20,2,14,0],[20,6,14,0,"_AnimatedValue"],[20,20,14,0],[20,23,14,0,"_interopRequireDefault"],[20,45,14,0],[20,46,14,0,"require"],[20,53,14,0],[20,54,14,0,"_dependencyMap"],[20,68,14,0],[21,2,15,0],[21,6,15,0,"_AnimatedNode"],[21,19,15,0],[21,22,15,0,"_interopRequireDefault"],[21,44,15,0],[21,45,15,0,"require"],[21,52,15,0],[21,53,15,0,"_dependencyMap"],[21,67,15,0],[22,2,16,0],[22,6,16,0,"_NativeAnimatedHelper"],[22,27,16,0],[22,30,16,0,"require"],[22,37,16,0],[22,38,16,0,"_dependencyMap"],[22,52,16,0],[23,2,17,0],[23,8,17,6,"AnimatedTracking"],[23,24,17,22],[23,33,17,31,"AnimatedNode"],[23,54,17,43],[23,55,17,44],[24,4,18,2,"constructor"],[24,15,18,13,"constructor"],[24,16,18,14,"value"],[24,21,18,19],[24,23,18,21,"parent"],[24,29,18,27],[24,31,18,29,"animationClass"],[24,45,18,43],[24,47,18,45,"animationConfig"],[24,62,18,60],[24,64,18,62,"callback"],[24,72,18,70],[24,74,18,72],[25,6,19,4],[25,11,19,9],[25,12,19,10],[25,13,19,11],[26,6,20,4],[26,10,20,8],[26,11,20,9,"_value"],[26,17,20,15],[26,20,20,18,"value"],[26,25,20,23],[27,6,21,4],[27,10,21,8],[27,11,21,9,"_parent"],[27,18,21,16],[27,21,21,19,"parent"],[27,27,21,25],[28,6,22,4],[28,10,22,8],[28,11,22,9,"_animationClass"],[28,26,22,24],[28,29,22,27,"animationClass"],[28,43,22,41],[29,6,23,4],[29,10,23,8],[29,11,23,9,"_animationConfig"],[29,27,23,25],[29,30,23,28,"animationConfig"],[29,45,23,43],[30,6,24,4],[30,10,24,8],[30,11,24,9,"_useNativeDriver"],[30,27,24,25],[30,30,24,28],[30,34,24,28,"shouldUseNativeDriver"],[30,77,24,49],[30,79,24,50,"animationConfig"],[30,94,24,65],[30,95,24,66],[31,6,25,4],[31,10,25,8],[31,11,25,9,"_callback"],[31,20,25,18],[31,23,25,21,"callback"],[31,31,25,29],[32,6,26,4],[32,10,26,8],[32,11,26,9,"__attach"],[32,19,26,17],[32,20,26,18],[32,21,26,19],[33,4,27,2],[34,4,28,2,"__makeNative"],[34,16,28,14,"__makeNative"],[34,17,28,14],[34,19,28,17],[35,6,29,4],[35,10,29,8],[35,11,29,9,"__isNative"],[35,21,29,19],[35,24,29,22],[35,28,29,26],[36,6,30,4],[36,10,30,8],[36,11,30,9,"_parent"],[36,18,30,16],[36,19,30,17,"__makeNative"],[36,31,30,29],[36,32,30,30],[36,33,30,31],[37,6,31,4],[37,11,31,9],[37,12,31,10,"__makeNative"],[37,24,31,22],[37,25,31,23],[37,26,31,24],[38,6,32,4],[38,10,32,8],[38,11,32,9,"_value"],[38,17,32,15],[38,18,32,16,"__makeNative"],[38,30,32,28],[38,31,32,29],[38,32,32,30],[39,4,33,2],[40,4,34,2,"__getValue"],[40,14,34,12,"__getValue"],[40,15,34,12],[40,17,34,15],[41,6,35,4],[41,13,35,11],[41,17,35,15],[41,18,35,16,"_parent"],[41,25,35,23],[41,26,35,24,"__getValue"],[41,36,35,34],[41,37,35,35],[41,38,35,36],[42,4,36,2],[43,4,37,2,"__attach"],[43,12,37,10,"__attach"],[43,13,37,10],[43,15,37,13],[44,6,38,4],[44,10,38,8],[44,11,38,9,"_parent"],[44,18,38,16],[44,19,38,17,"__addChild"],[44,29,38,27],[44,30,38,28],[44,34,38,32],[44,35,38,33],[45,6,39,4],[45,10,39,8],[45,14,39,12],[45,15,39,13,"_useNativeDriver"],[45,31,39,29],[45,33,39,31],[46,8,40,6],[47,8,41,6],[48,8,42,6],[49,8,43,6],[50,8,44,6],[51,8,45,6],[51,12,45,10],[51,13,45,11,"__makeNative"],[51,25,45,23],[51,26,45,24],[51,27,45,25],[52,6,46,4],[53,4,47,2],[54,4,48,2,"__detach"],[54,12,48,10,"__detach"],[54,13,48,10],[54,15,48,13],[55,6,49,4],[55,10,49,8],[55,11,49,9,"_parent"],[55,18,49,16],[55,19,49,17,"__removeChild"],[55,32,49,30],[55,33,49,31],[55,37,49,35],[55,38,49,36],[56,6,50,4],[56,11,50,9],[56,12,50,10,"__detach"],[56,20,50,18],[56,21,50,19],[56,22,50,20],[57,4,51,2],[58,4,52,2,"update"],[58,10,52,8,"update"],[58,11,52,8],[58,13,52,11],[59,6,53,4],[59,10,53,8],[59,11,53,9,"_value"],[59,17,53,15],[59,18,53,16,"animate"],[59,25,53,23],[59,26,53,24],[59,30,53,28],[59,34,53,32],[59,35,53,33,"_animationClass"],[59,50,53,48],[59,51,53,49],[59,55,53,49,"_objectSpread"],[59,77,53,62],[59,79,53,63],[59,83,53,63,"_objectSpread"],[59,105,53,76],[59,107,53,77],[59,108,53,78],[59,109,53,79],[59,111,53,81],[59,115,53,85],[59,116,53,86,"_animationConfig"],[59,132,53,102],[59,133,53,103],[59,135,53,105],[59,136,53,106],[59,137,53,107],[59,139,53,109],[60,8,54,6,"toValue"],[60,15,54,13],[60,17,54,15],[60,21,54,19],[60,22,54,20,"_animationConfig"],[60,38,54,36],[60,39,54,37,"toValue"],[60,46,54,44],[60,47,54,45,"__getValue"],[60,57,54,55],[60,58,54,56],[61,6,55,4],[61,7,55,5],[61,8,55,6],[61,9,55,7],[61,11,55,9],[61,15,55,13],[61,16,55,14,"_callback"],[61,25,55,23],[61,26,55,24],[62,4,56,2],[63,4,57,2,"__getNativeConfig"],[63,21,57,19,"__getNativeConfig"],[63,22,57,19],[63,24,57,22],[64,6,58,4],[64,10,58,8,"animation"],[64,19,58,17],[64,22,58,20],[64,26,58,24],[64,30,58,28],[64,31,58,29,"_animationClass"],[64,46,58,44],[64,47,58,45],[64,51,58,45,"_objectSpread"],[64,73,58,58],[64,75,58,59],[64,79,58,59,"_objectSpread"],[64,101,58,72],[64,103,58,73],[64,104,58,74],[64,105,58,75],[64,107,58,77],[64,111,58,81],[64,112,58,82,"_animationConfig"],[64,128,58,98],[64,129,58,99],[64,131,58,101],[64,132,58,102],[64,133,58,103],[64,135,58,105],[65,8,59,6],[66,8,60,6,"toValue"],[66,15,60,13],[66,17,60,15,"undefined"],[67,6,61,4],[67,7,61,5],[67,8,61,6],[67,9,61,7],[68,6,62,4],[68,10,62,8,"animationConfig"],[68,25,62,23],[68,28,62,26,"animation"],[68,37,62,35],[68,38,62,36,"__getNativeAnimationConfig"],[68,64,62,62],[68,65,62,63],[68,66,62,64],[69,6,63,4],[69,13,63,11],[70,8,64,6,"type"],[70,12,64,10],[70,14,64,12],[70,24,64,22],[71,8,65,6,"animationId"],[71,19,65,17],[71,21,65,19],[71,25,65,19,"generateNewAnimationId"],[71,69,65,41],[71,71,65,42],[71,72,65,43],[72,8,66,6,"animationConfig"],[72,23,66,21],[73,8,67,6,"toValue"],[73,15,67,13],[73,17,67,15],[73,21,67,19],[73,22,67,20,"_parent"],[73,29,67,27],[73,30,67,28,"__getNativeTag"],[73,44,67,42],[73,45,67,43],[73,46,67,44],[74,8,68,6,"value"],[74,13,68,11],[74,15,68,13],[74,19,68,17],[74,20,68,18,"_value"],[74,26,68,24],[74,27,68,25,"__getNativeTag"],[74,41,68,39],[74,42,68,40],[75,6,69,4],[75,7,69,5],[76,4,70,2],[77,2,71,0],[78,2,71,1],[78,6,71,1,"_default"],[78,14,71,1],[78,17,71,1,"exports"],[78,24,71,1],[78,25,71,1,"default"],[78,32,71,1],[78,35,72,15,"AnimatedTracking"],[78,51,72,31],[79,0,72,31],[79,3]],"functionMap":{"names":["<global>","AnimatedTracking","constructor","__makeNative","__getValue","__attach","__detach","update","__getNativeConfig"],"mappings":"AAA;ACgB;ECC;GDS;EEC;GFK;EGC;GHE;EIC;GJU;EKC;GLG;EMC;GNI;EOC;GPa;CDC"}},"type":"js/module"}]} |