Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/bf/ed951a4a4a947b28a05421f44de49b50f22a8d2075c5c2ea26ad8f4818b91dda655992
T
2025-10-24 02:40:54 +00:00

1 line
18 KiB
Plaintext

{"dependencies":[{"name":"@babel/runtime/helpers/interopRequireDefault","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"kslwqCIsh6ew+I1KeA1rlVRjsAk=","exportNames":["*"]}},{"name":"./AnimatedValue","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":13,"column":0,"index":225},"end":{"line":13,"column":44,"index":269}}],"key":"MXjn1CQaLNtMiiooxlb5qObVfR0=","exportNames":["*"]}},{"name":"./AnimatedWithChildren","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":14,"column":0,"index":270},"end":{"line":14,"column":58,"index":328}}],"key":"IUkIH5MYbr+OqFsp9MMa/cV/D0g=","exportNames":["*"]}},{"name":"fbjs/lib/invariant","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":15,"column":0,"index":329},"end":{"line":15,"column":43,"index":372}}],"key":"bGUa+dDG2WEhPiIlobT3urS95UE=","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 _AnimatedValue = _interopRequireDefault(require(_dependencyMap[1], \"./AnimatedValue\"));\n var _AnimatedWithChildren = _interopRequireDefault(require(_dependencyMap[2], \"./AnimatedWithChildren\"));\n var _invariant = _interopRequireDefault(require(_dependencyMap[3], \"fbjs/lib/invariant\"));\n var _uniqueId = 1;\n\n /**\n * 2D Value for driving 2D animations, such as pan gestures. Almost identical\n * API to normal `Animated.Value`, but multiplexed.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html\n */\n class AnimatedValueXY extends _AnimatedWithChildren.default {\n constructor(valueIn) {\n super();\n var value = valueIn || {\n x: 0,\n y: 0\n }; // fixme: shouldn't need `: any`\n if (typeof value.x === 'number' && typeof value.y === 'number') {\n this.x = new _AnimatedValue.default(value.x);\n this.y = new _AnimatedValue.default(value.y);\n } else {\n (0, _invariant.default)(value.x instanceof _AnimatedValue.default && value.y instanceof _AnimatedValue.default, 'AnimatedValueXY must be initialized with an object of numbers or ' + 'AnimatedValues.');\n this.x = value.x;\n this.y = value.y;\n }\n this._listeners = {};\n }\n\n /**\n * Directly set the value. This will stop any animations running on the value\n * and update all the bound properties.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#setvalue\n */\n setValue(value) {\n this.x.setValue(value.x);\n this.y.setValue(value.y);\n }\n\n /**\n * Sets an offset that is applied on top of whatever value is set, whether\n * via `setValue`, an animation, or `Animated.event`. Useful for compensating\n * things like the start of a pan gesture.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#setoffset\n */\n setOffset(offset) {\n this.x.setOffset(offset.x);\n this.y.setOffset(offset.y);\n }\n\n /**\n * Merges the offset value into the base value and resets the offset to zero.\n * The final output of the value is unchanged.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#flattenoffset\n */\n flattenOffset() {\n this.x.flattenOffset();\n this.y.flattenOffset();\n }\n\n /**\n * Sets the offset value to the base value, and resets the base value to\n * zero. The final output of the value is unchanged.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#extractoffset\n */\n extractOffset() {\n this.x.extractOffset();\n this.y.extractOffset();\n }\n __getValue() {\n return {\n x: this.x.__getValue(),\n y: this.y.__getValue()\n };\n }\n\n /**\n * Stops any animation and resets the value to its original.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#resetanimation\n */\n resetAnimation(callback) {\n this.x.resetAnimation();\n this.y.resetAnimation();\n callback && callback(this.__getValue());\n }\n\n /**\n * Stops any running animation or tracking. `callback` is invoked with the\n * final value after stopping the animation, which is useful for updating\n * state to match the animation position with layout.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#stopanimation\n */\n stopAnimation(callback) {\n this.x.stopAnimation();\n this.y.stopAnimation();\n callback && callback(this.__getValue());\n }\n\n /**\n * Adds an asynchronous listener to the value so you can observe updates from\n * animations. This is useful because there is no way to synchronously read\n * the value because it might be driven natively.\n *\n * Returns a string that serves as an identifier for the listener.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#addlistener\n */\n addListener(callback) {\n var id = String(_uniqueId++);\n var jointCallback = _ref => {\n var number = _ref.value;\n callback(this.__getValue());\n };\n this._listeners[id] = {\n x: this.x.addListener(jointCallback),\n y: this.y.addListener(jointCallback)\n };\n return id;\n }\n\n /**\n * Unregister a listener. The `id` param shall match the identifier\n * previously returned by `addListener()`.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#removelistener\n */\n removeListener(id) {\n this.x.removeListener(this._listeners[id].x);\n this.y.removeListener(this._listeners[id].y);\n delete this._listeners[id];\n }\n\n /**\n * Remove all registered listeners.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#removealllisteners\n */\n removeAllListeners() {\n this.x.removeAllListeners();\n this.y.removeAllListeners();\n this._listeners = {};\n }\n\n /**\n * Converts `{x, y}` into `{left, top}` for use in style.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#getlayout\n */\n getLayout() {\n return {\n left: this.x,\n top: this.y\n };\n }\n\n /**\n * Converts `{x, y}` into a useable translation transform.\n *\n * See https://reactnative.dev/docs/animatedvaluexy.html#gettranslatetransform\n */\n getTranslateTransform() {\n return [{\n translateX: this.x\n }, {\n translateY: this.y\n }];\n }\n }\n var _default = exports.default = AnimatedValueXY;\n});","lineCount":194,"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,"_AnimatedValue"],[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,"_AnimatedWithChildren"],[20,27,14,0],[20,30,14,0,"_interopRequireDefault"],[20,52,14,0],[20,53,14,0,"require"],[20,60,14,0],[20,61,14,0,"_dependencyMap"],[20,75,14,0],[21,2,15,0],[21,6,15,0,"_invariant"],[21,16,15,0],[21,19,15,0,"_interopRequireDefault"],[21,41,15,0],[21,42,15,0,"require"],[21,49,15,0],[21,50,15,0,"_dependencyMap"],[21,64,15,0],[22,2,16,0],[22,6,16,4,"_uniqueId"],[22,15,16,13],[22,18,16,16],[22,19,16,17],[24,2,18,0],[25,0,19,0],[26,0,20,0],[27,0,21,0],[28,0,22,0],[29,0,23,0],[30,2,24,0],[30,8,24,6,"AnimatedValueXY"],[30,23,24,21],[30,32,24,30,"AnimatedWithChildren"],[30,61,24,50],[30,62,24,51],[31,4,25,2,"constructor"],[31,15,25,13,"constructor"],[31,16,25,14,"valueIn"],[31,23,25,21],[31,25,25,23],[32,6,26,4],[32,11,26,9],[32,12,26,10],[32,13,26,11],[33,6,27,4],[33,10,27,8,"value"],[33,15,27,13],[33,18,27,16,"valueIn"],[33,25,27,23],[33,29,27,27],[34,8,28,6,"x"],[34,9,28,7],[34,11,28,9],[34,12,28,10],[35,8,29,6,"y"],[35,9,29,7],[35,11,29,9],[36,6,30,4],[36,7,30,5],[36,8,30,6],[36,9,30,7],[37,6,31,4],[37,10,31,8],[37,17,31,15,"value"],[37,22,31,20],[37,23,31,21,"x"],[37,24,31,22],[37,29,31,27],[37,37,31,35],[37,41,31,39],[37,48,31,46,"value"],[37,53,31,51],[37,54,31,52,"y"],[37,55,31,53],[37,60,31,58],[37,68,31,66],[37,70,31,68],[38,8,32,6],[38,12,32,10],[38,13,32,11,"x"],[38,14,32,12],[38,17,32,15],[38,21,32,19,"AnimatedValue"],[38,43,32,32],[38,44,32,33,"value"],[38,49,32,38],[38,50,32,39,"x"],[38,51,32,40],[38,52,32,41],[39,8,33,6],[39,12,33,10],[39,13,33,11,"y"],[39,14,33,12],[39,17,33,15],[39,21,33,19,"AnimatedValue"],[39,43,33,32],[39,44,33,33,"value"],[39,49,33,38],[39,50,33,39,"y"],[39,51,33,40],[39,52,33,41],[40,6,34,4],[40,7,34,5],[40,13,34,11],[41,8,35,6],[41,12,35,6,"invariant"],[41,30,35,15],[41,32,35,16,"value"],[41,37,35,21],[41,38,35,22,"x"],[41,39,35,23],[41,51,35,35,"AnimatedValue"],[41,73,35,48],[41,77,35,52,"value"],[41,82,35,57],[41,83,35,58,"y"],[41,84,35,59],[41,96,35,71,"AnimatedValue"],[41,118,35,84],[41,120,35,86],[41,187,35,153],[41,190,35,156],[41,207,35,173],[41,208,35,174],[42,8,36,6],[42,12,36,10],[42,13,36,11,"x"],[42,14,36,12],[42,17,36,15,"value"],[42,22,36,20],[42,23,36,21,"x"],[42,24,36,22],[43,8,37,6],[43,12,37,10],[43,13,37,11,"y"],[43,14,37,12],[43,17,37,15,"value"],[43,22,37,20],[43,23,37,21,"y"],[43,24,37,22],[44,6,38,4],[45,6,39,4],[45,10,39,8],[45,11,39,9,"_listeners"],[45,21,39,19],[45,24,39,22],[45,25,39,23],[45,26,39,24],[46,4,40,2],[48,4,42,2],[49,0,43,0],[50,0,44,0],[51,0,45,0],[52,0,46,0],[53,0,47,0],[54,4,48,2,"setValue"],[54,12,48,10,"setValue"],[54,13,48,11,"value"],[54,18,48,16],[54,20,48,18],[55,6,49,4],[55,10,49,8],[55,11,49,9,"x"],[55,12,49,10],[55,13,49,11,"setValue"],[55,21,49,19],[55,22,49,20,"value"],[55,27,49,25],[55,28,49,26,"x"],[55,29,49,27],[55,30,49,28],[56,6,50,4],[56,10,50,8],[56,11,50,9,"y"],[56,12,50,10],[56,13,50,11,"setValue"],[56,21,50,19],[56,22,50,20,"value"],[56,27,50,25],[56,28,50,26,"y"],[56,29,50,27],[56,30,50,28],[57,4,51,2],[59,4,53,2],[60,0,54,0],[61,0,55,0],[62,0,56,0],[63,0,57,0],[64,0,58,0],[65,0,59,0],[66,4,60,2,"setOffset"],[66,13,60,11,"setOffset"],[66,14,60,12,"offset"],[66,20,60,18],[66,22,60,20],[67,6,61,4],[67,10,61,8],[67,11,61,9,"x"],[67,12,61,10],[67,13,61,11,"setOffset"],[67,22,61,20],[67,23,61,21,"offset"],[67,29,61,27],[67,30,61,28,"x"],[67,31,61,29],[67,32,61,30],[68,6,62,4],[68,10,62,8],[68,11,62,9,"y"],[68,12,62,10],[68,13,62,11,"setOffset"],[68,22,62,20],[68,23,62,21,"offset"],[68,29,62,27],[68,30,62,28,"y"],[68,31,62,29],[68,32,62,30],[69,4,63,2],[71,4,65,2],[72,0,66,0],[73,0,67,0],[74,0,68,0],[75,0,69,0],[76,0,70,0],[77,4,71,2,"flattenOffset"],[77,17,71,15,"flattenOffset"],[77,18,71,15],[77,20,71,18],[78,6,72,4],[78,10,72,8],[78,11,72,9,"x"],[78,12,72,10],[78,13,72,11,"flattenOffset"],[78,26,72,24],[78,27,72,25],[78,28,72,26],[79,6,73,4],[79,10,73,8],[79,11,73,9,"y"],[79,12,73,10],[79,13,73,11,"flattenOffset"],[79,26,73,24],[79,27,73,25],[79,28,73,26],[80,4,74,2],[82,4,76,2],[83,0,77,0],[84,0,78,0],[85,0,79,0],[86,0,80,0],[87,0,81,0],[88,4,82,2,"extractOffset"],[88,17,82,15,"extractOffset"],[88,18,82,15],[88,20,82,18],[89,6,83,4],[89,10,83,8],[89,11,83,9,"x"],[89,12,83,10],[89,13,83,11,"extractOffset"],[89,26,83,24],[89,27,83,25],[89,28,83,26],[90,6,84,4],[90,10,84,8],[90,11,84,9,"y"],[90,12,84,10],[90,13,84,11,"extractOffset"],[90,26,84,24],[90,27,84,25],[90,28,84,26],[91,4,85,2],[92,4,86,2,"__getValue"],[92,14,86,12,"__getValue"],[92,15,86,12],[92,17,86,15],[93,6,87,4],[93,13,87,11],[94,8,88,6,"x"],[94,9,88,7],[94,11,88,9],[94,15,88,13],[94,16,88,14,"x"],[94,17,88,15],[94,18,88,16,"__getValue"],[94,28,88,26],[94,29,88,27],[94,30,88,28],[95,8,89,6,"y"],[95,9,89,7],[95,11,89,9],[95,15,89,13],[95,16,89,14,"y"],[95,17,89,15],[95,18,89,16,"__getValue"],[95,28,89,26],[95,29,89,27],[96,6,90,4],[96,7,90,5],[97,4,91,2],[99,4,93,2],[100,0,94,0],[101,0,95,0],[102,0,96,0],[103,0,97,0],[104,4,98,2,"resetAnimation"],[104,18,98,16,"resetAnimation"],[104,19,98,17,"callback"],[104,27,98,25],[104,29,98,27],[105,6,99,4],[105,10,99,8],[105,11,99,9,"x"],[105,12,99,10],[105,13,99,11,"resetAnimation"],[105,27,99,25],[105,28,99,26],[105,29,99,27],[106,6,100,4],[106,10,100,8],[106,11,100,9,"y"],[106,12,100,10],[106,13,100,11,"resetAnimation"],[106,27,100,25],[106,28,100,26],[106,29,100,27],[107,6,101,4,"callback"],[107,14,101,12],[107,18,101,16,"callback"],[107,26,101,24],[107,27,101,25],[107,31,101,29],[107,32,101,30,"__getValue"],[107,42,101,40],[107,43,101,41],[107,44,101,42],[107,45,101,43],[108,4,102,2],[110,4,104,2],[111,0,105,0],[112,0,106,0],[113,0,107,0],[114,0,108,0],[115,0,109,0],[116,0,110,0],[117,4,111,2,"stopAnimation"],[117,17,111,15,"stopAnimation"],[117,18,111,16,"callback"],[117,26,111,24],[117,28,111,26],[118,6,112,4],[118,10,112,8],[118,11,112,9,"x"],[118,12,112,10],[118,13,112,11,"stopAnimation"],[118,26,112,24],[118,27,112,25],[118,28,112,26],[119,6,113,4],[119,10,113,8],[119,11,113,9,"y"],[119,12,113,10],[119,13,113,11,"stopAnimation"],[119,26,113,24],[119,27,113,25],[119,28,113,26],[120,6,114,4,"callback"],[120,14,114,12],[120,18,114,16,"callback"],[120,26,114,24],[120,27,114,25],[120,31,114,29],[120,32,114,30,"__getValue"],[120,42,114,40],[120,43,114,41],[120,44,114,42],[120,45,114,43],[121,4,115,2],[123,4,117,2],[124,0,118,0],[125,0,119,0],[126,0,120,0],[127,0,121,0],[128,0,122,0],[129,0,123,0],[130,0,124,0],[131,0,125,0],[132,4,126,2,"addListener"],[132,15,126,13,"addListener"],[132,16,126,14,"callback"],[132,24,126,22],[132,26,126,24],[133,6,127,4],[133,10,127,8,"id"],[133,12,127,10],[133,15,127,13,"String"],[133,21,127,19],[133,22,127,20,"_uniqueId"],[133,31,127,29],[133,33,127,31],[133,34,127,32],[134,6,128,4],[134,10,128,8,"jointCallback"],[134,23,128,21],[134,26,128,24,"_ref"],[134,30,128,28],[134,34,128,32],[135,8,129,6],[135,12,129,10,"number"],[135,18,129,16],[135,21,129,19,"_ref"],[135,25,129,23],[135,26,129,24,"value"],[135,31,129,29],[136,8,130,6,"callback"],[136,16,130,14],[136,17,130,15],[136,21,130,19],[136,22,130,20,"__getValue"],[136,32,130,30],[136,33,130,31],[136,34,130,32],[136,35,130,33],[137,6,131,4],[137,7,131,5],[138,6,132,4],[138,10,132,8],[138,11,132,9,"_listeners"],[138,21,132,19],[138,22,132,20,"id"],[138,24,132,22],[138,25,132,23],[138,28,132,26],[139,8,133,6,"x"],[139,9,133,7],[139,11,133,9],[139,15,133,13],[139,16,133,14,"x"],[139,17,133,15],[139,18,133,16,"addListener"],[139,29,133,27],[139,30,133,28,"jointCallback"],[139,43,133,41],[139,44,133,42],[140,8,134,6,"y"],[140,9,134,7],[140,11,134,9],[140,15,134,13],[140,16,134,14,"y"],[140,17,134,15],[140,18,134,16,"addListener"],[140,29,134,27],[140,30,134,28,"jointCallback"],[140,43,134,41],[141,6,135,4],[141,7,135,5],[142,6,136,4],[142,13,136,11,"id"],[142,15,136,13],[143,4,137,2],[145,4,139,2],[146,0,140,0],[147,0,141,0],[148,0,142,0],[149,0,143,0],[150,0,144,0],[151,4,145,2,"removeListener"],[151,18,145,16,"removeListener"],[151,19,145,17,"id"],[151,21,145,19],[151,23,145,21],[152,6,146,4],[152,10,146,8],[152,11,146,9,"x"],[152,12,146,10],[152,13,146,11,"removeListener"],[152,27,146,25],[152,28,146,26],[152,32,146,30],[152,33,146,31,"_listeners"],[152,43,146,41],[152,44,146,42,"id"],[152,46,146,44],[152,47,146,45],[152,48,146,46,"x"],[152,49,146,47],[152,50,146,48],[153,6,147,4],[153,10,147,8],[153,11,147,9,"y"],[153,12,147,10],[153,13,147,11,"removeListener"],[153,27,147,25],[153,28,147,26],[153,32,147,30],[153,33,147,31,"_listeners"],[153,43,147,41],[153,44,147,42,"id"],[153,46,147,44],[153,47,147,45],[153,48,147,46,"y"],[153,49,147,47],[153,50,147,48],[154,6,148,4],[154,13,148,11],[154,17,148,15],[154,18,148,16,"_listeners"],[154,28,148,26],[154,29,148,27,"id"],[154,31,148,29],[154,32,148,30],[155,4,149,2],[157,4,151,2],[158,0,152,0],[159,0,153,0],[160,0,154,0],[161,0,155,0],[162,4,156,2,"removeAllListeners"],[162,22,156,20,"removeAllListeners"],[162,23,156,20],[162,25,156,23],[163,6,157,4],[163,10,157,8],[163,11,157,9,"x"],[163,12,157,10],[163,13,157,11,"removeAllListeners"],[163,31,157,29],[163,32,157,30],[163,33,157,31],[164,6,158,4],[164,10,158,8],[164,11,158,9,"y"],[164,12,158,10],[164,13,158,11,"removeAllListeners"],[164,31,158,29],[164,32,158,30],[164,33,158,31],[165,6,159,4],[165,10,159,8],[165,11,159,9,"_listeners"],[165,21,159,19],[165,24,159,22],[165,25,159,23],[165,26,159,24],[166,4,160,2],[168,4,162,2],[169,0,163,0],[170,0,164,0],[171,0,165,0],[172,0,166,0],[173,4,167,2,"getLayout"],[173,13,167,11,"getLayout"],[173,14,167,11],[173,16,167,14],[174,6,168,4],[174,13,168,11],[175,8,169,6,"left"],[175,12,169,10],[175,14,169,12],[175,18,169,16],[175,19,169,17,"x"],[175,20,169,18],[176,8,170,6,"top"],[176,11,170,9],[176,13,170,11],[176,17,170,15],[176,18,170,16,"y"],[177,6,171,4],[177,7,171,5],[178,4,172,2],[180,4,174,2],[181,0,175,0],[182,0,176,0],[183,0,177,0],[184,0,178,0],[185,4,179,2,"getTranslateTransform"],[185,25,179,23,"getTranslateTransform"],[185,26,179,23],[185,28,179,26],[186,6,180,4],[186,13,180,11],[186,14,180,12],[187,8,181,6,"translateX"],[187,18,181,16],[187,20,181,18],[187,24,181,22],[187,25,181,23,"x"],[188,6,182,4],[188,7,182,5],[188,9,182,7],[189,8,183,6,"translateY"],[189,18,183,16],[189,20,183,18],[189,24,183,22],[189,25,183,23,"y"],[190,6,184,4],[190,7,184,5],[190,8,184,6],[191,4,185,2],[192,2,186,0],[193,2,186,1],[193,6,186,1,"_default"],[193,14,186,1],[193,17,186,1,"exports"],[193,24,186,1],[193,25,186,1,"default"],[193,32,186,1],[193,35,187,15,"AnimatedValueXY"],[193,50,187,30],[194,0,187,30],[194,3]],"functionMap":{"names":["<global>","AnimatedValueXY","constructor","setValue","setOffset","flattenOffset","extractOffset","__getValue","resetAnimation","stopAnimation","addListener","jointCallback","removeListener","removeAllListeners","getLayout","getTranslateTransform"],"mappings":"AAA;ACuB;ECC;GDe;EEQ;GFG;EGS;GHG;EIQ;GJG;EKQ;GLG;EMC;GNK;EOO;GPI;EQS;GRI;ESW;wBCE;KDG;GTM;EWQ;GXI;EYO;GZI;EaO;GbK;EcO;GdM;CDC"}},"type":"js/module"}]}