mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 22:41:02 +00:00
1 line
12 KiB
Plaintext
1 line
12 KiB
Plaintext
{"dependencies":[{"name":"react-native","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":42,"index":42}}],"key":"KyzuX10g6ixS9UfynhmjlvCIG3g=","exportNames":["*"],"imports":1}},{"name":"react-native-animatable","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":43},"end":{"line":2,"column":54,"index":97}}],"key":"R8TYMNLGfPqIXjSysC+cPLZnlyQ=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n function _interopNamespace(e) {\n if (e && e.__esModule) return e;\n var n = {};\n if (e) Object.keys(e).forEach(function (k) {\n var d = Object.getOwnPropertyDescriptor(e, k);\n Object.defineProperty(n, k, d.get ? d : {\n enumerable: true,\n get: function () {\n return e[k];\n }\n });\n });\n n.default = e;\n return n;\n }\n Object.defineProperty(exports, \"initializeAnimations\", {\n enumerable: true,\n get: function () {\n return initializeAnimations;\n }\n });\n Object.defineProperty(exports, \"makeSlideTranslation\", {\n enumerable: true,\n get: function () {\n return makeSlideTranslation;\n }\n });\n Object.defineProperty(exports, \"buildAnimations\", {\n enumerable: true,\n get: function () {\n return buildAnimations;\n }\n });\n Object.defineProperty(exports, \"reversePercentage\", {\n enumerable: true,\n get: function () {\n return reversePercentage;\n }\n });\n var _reactNative = require(_dependencyMap[0], \"react-native\");\n var _reactNativeAnimatable = require(_dependencyMap[1], \"react-native-animatable\");\n var animatable = _interopNamespace(_reactNativeAnimatable);\n var _Dimensions$get = _reactNative.Dimensions.get('window'),\n height = _Dimensions$get.height,\n width = _Dimensions$get.width;\n var initializeAnimations = () => {\n // Since react-native-animatable applies by default a margin of 100 to its\n // sliding animation, we reset them here overriding the margin to 0.\n var animationDefinitions = {\n slideInDown: makeSlideTranslation('translateY', -height, 0),\n slideInUp: makeSlideTranslation('translateY', height, 0),\n slideInLeft: makeSlideTranslation('translateX', -width, 0),\n slideInRight: makeSlideTranslation('translateX', width, 0),\n slideOutDown: makeSlideTranslation('translateY', 0, height),\n slideOutUp: makeSlideTranslation('translateY', 0, -height),\n slideOutLeft: makeSlideTranslation('translateX', 0, -width),\n slideOutRight: makeSlideTranslation('translateX', 0, width)\n };\n animatable.initializeRegistryWithDefinitions(animationDefinitions);\n };\n var makeSlideTranslation = (translationType, fromValue, toValue) => ({\n from: {\n [translationType]: fromValue\n },\n to: {\n [translationType]: toValue\n }\n });\n // User can define custom react-native-animatable animations, see PR #72\n // Utility for creating our own custom react-native-animatable animations\n var buildAnimations = _ref => {\n var animationIn = _ref.animationIn,\n animationOut = _ref.animationOut;\n var updatedAnimationIn;\n var updatedAnimationOut;\n if (isObject(animationIn)) {\n var animationName = JSON.stringify(animationIn);\n makeAnimation(animationName, animationIn);\n updatedAnimationIn = animationName;\n } else {\n updatedAnimationIn = animationIn;\n }\n if (isObject(animationOut)) {\n var _animationName = JSON.stringify(animationOut);\n makeAnimation(_animationName, animationOut);\n updatedAnimationOut = _animationName;\n } else {\n updatedAnimationOut = animationOut;\n }\n return {\n animationIn: updatedAnimationIn,\n animationOut: updatedAnimationOut\n };\n };\n var reversePercentage = x => -(x - 1);\n var makeAnimation = (name, obj) => {\n animatable.registerAnimation(name, animatable.createAnimation(obj));\n };\n var isObject = obj => {\n return obj !== null && typeof obj === 'object';\n };\n});","lineCount":108,"map":[[22,2,4,0,"Object"],[22,8,4,0],[22,9,4,0,"defineProperty"],[22,23,4,0],[22,24,4,0,"exports"],[22,31,4,0],[23,4,4,0,"enumerable"],[23,14,4,0],[24,4,4,0,"get"],[24,7,4,0],[24,18,4,0,"get"],[24,19,4,0],[25,6,4,0],[25,13,4,0,"initializeAnimations"],[25,33,4,0],[26,4,4,0],[27,2,4,0],[28,2,19,0,"Object"],[28,8,19,0],[28,9,19,0,"defineProperty"],[28,23,19,0],[28,24,19,0,"exports"],[28,31,19,0],[29,4,19,0,"enumerable"],[29,14,19,0],[30,4,19,0,"get"],[30,7,19,0],[30,18,19,0,"get"],[30,19,19,0],[31,6,19,0],[31,13,19,0,"makeSlideTranslation"],[31,33,19,0],[32,4,19,0],[33,2,19,0],[34,2,29,0,"Object"],[34,8,29,0],[34,9,29,0,"defineProperty"],[34,23,29,0],[34,24,29,0,"exports"],[34,31,29,0],[35,4,29,0,"enumerable"],[35,14,29,0],[36,4,29,0,"get"],[36,7,29,0],[36,18,29,0,"get"],[36,19,29,0],[37,6,29,0],[37,13,29,0,"buildAnimations"],[37,28,29,0],[38,4,29,0],[39,2,29,0],[40,2,53,0,"Object"],[40,8,53,0],[40,9,53,0,"defineProperty"],[40,23,53,0],[40,24,53,0,"exports"],[40,31,53,0],[41,4,53,0,"enumerable"],[41,14,53,0],[42,4,53,0,"get"],[42,7,53,0],[42,18,53,0,"get"],[42,19,53,0],[43,6,53,0],[43,13,53,0,"reversePercentage"],[43,30,53,0],[44,4,53,0],[45,2,53,0],[46,2,1,0],[46,6,1,0,"_reactNative"],[46,18,1,0],[46,21,1,0,"require"],[46,28,1,0],[46,29,1,0,"_dependencyMap"],[46,43,1,0],[47,2,2,0],[47,6,2,0,"_reactNativeAnimatable"],[47,28,2,0],[47,31,2,0,"require"],[47,38,2,0],[47,39,2,0,"_dependencyMap"],[47,53,2,0],[48,2,2,0],[48,6,2,0,"animatable"],[48,16,2,0],[48,19,2,0,"_interopNamespace"],[48,36,2,0],[48,37,2,0,"_reactNativeAnimatable"],[48,59,2,0],[49,2,3,0],[49,6,3,0,"_Dimensions$get"],[49,21,3,0],[49,24,3,26,"Dimensions"],[49,36,3,36],[49,37,3,36,"Dimensions"],[49,47,3,36],[49,48,3,37,"get"],[49,51,3,40],[49,52,3,41],[49,60,3,49],[49,61,3,50],[50,4,3,8,"height"],[50,10,3,14],[50,13,3,14,"_Dimensions$get"],[50,28,3,14],[50,29,3,8,"height"],[50,35,3,14],[51,4,3,16,"width"],[51,9,3,21],[51,12,3,21,"_Dimensions$get"],[51,27,3,21],[51,28,3,16,"width"],[51,33,3,21],[52,2,4,7],[52,6,4,13,"initializeAnimations"],[52,26,4,33],[52,29,4,36,"initializeAnimations"],[52,30,4,36],[52,35,4,42],[53,4,5,4],[54,4,6,4],[55,4,7,4],[55,8,7,10,"animationDefinitions"],[55,28,7,30],[55,31,7,33],[56,6,8,8,"slideInDown"],[56,17,8,19],[56,19,8,21,"makeSlideTranslation"],[56,39,8,41],[56,40,8,42],[56,52,8,54],[56,54,8,56],[56,55,8,57,"height"],[56,61,8,63],[56,63,8,65],[56,64,8,66],[56,65,8,67],[57,6,9,8,"slideInUp"],[57,15,9,17],[57,17,9,19,"makeSlideTranslation"],[57,37,9,39],[57,38,9,40],[57,50,9,52],[57,52,9,54,"height"],[57,58,9,60],[57,60,9,62],[57,61,9,63],[57,62,9,64],[58,6,10,8,"slideInLeft"],[58,17,10,19],[58,19,10,21,"makeSlideTranslation"],[58,39,10,41],[58,40,10,42],[58,52,10,54],[58,54,10,56],[58,55,10,57,"width"],[58,60,10,62],[58,62,10,64],[58,63,10,65],[58,64,10,66],[59,6,11,8,"slideInRight"],[59,18,11,20],[59,20,11,22,"makeSlideTranslation"],[59,40,11,42],[59,41,11,43],[59,53,11,55],[59,55,11,57,"width"],[59,60,11,62],[59,62,11,64],[59,63,11,65],[59,64,11,66],[60,6,12,8,"slideOutDown"],[60,18,12,20],[60,20,12,22,"makeSlideTranslation"],[60,40,12,42],[60,41,12,43],[60,53,12,55],[60,55,12,57],[60,56,12,58],[60,58,12,60,"height"],[60,64,12,66],[60,65,12,67],[61,6,13,8,"slideOutUp"],[61,16,13,18],[61,18,13,20,"makeSlideTranslation"],[61,38,13,40],[61,39,13,41],[61,51,13,53],[61,53,13,55],[61,54,13,56],[61,56,13,58],[61,57,13,59,"height"],[61,63,13,65],[61,64,13,66],[62,6,14,8,"slideOutLeft"],[62,18,14,20],[62,20,14,22,"makeSlideTranslation"],[62,40,14,42],[62,41,14,43],[62,53,14,55],[62,55,14,57],[62,56,14,58],[62,58,14,60],[62,59,14,61,"width"],[62,64,14,66],[62,65,14,67],[63,6,15,8,"slideOutRight"],[63,19,15,21],[63,21,15,23,"makeSlideTranslation"],[63,41,15,43],[63,42,15,44],[63,54,15,56],[63,56,15,58],[63,57,15,59],[63,59,15,61,"width"],[63,64,15,66],[64,4,16,4],[64,5,16,5],[65,4,17,4,"animatable"],[65,14,17,14],[65,15,17,15,"initializeRegistryWithDefinitions"],[65,48,17,48],[65,49,17,49,"animationDefinitions"],[65,69,17,69],[65,70,17,70],[66,2,18,0],[66,3,18,1],[67,2,19,7],[67,6,19,13,"makeSlideTranslation"],[67,26,19,33],[67,29,19,36,"makeSlideTranslation"],[67,30,19,37,"translationType"],[67,45,19,52],[67,47,19,54,"fromValue"],[67,56,19,63],[67,58,19,65,"toValue"],[67,65,19,72],[67,71,19,78],[68,4,20,4,"from"],[68,8,20,8],[68,10,20,10],[69,6,21,8],[69,7,21,9,"translationType"],[69,22,21,24],[69,25,21,27,"fromValue"],[70,4,22,4],[70,5,22,5],[71,4,23,4,"to"],[71,6,23,6],[71,8,23,8],[72,6,24,8],[72,7,24,9,"translationType"],[72,22,24,24],[72,25,24,27,"toValue"],[73,4,25,4],[74,2,26,0],[74,3,26,1],[74,4,26,2],[75,2,27,0],[76,2,28,0],[77,2,29,7],[77,6,29,13,"buildAnimations"],[77,21,29,28],[77,24,29,31,"_ref"],[77,28,29,31],[77,32,29,67],[78,4,29,67],[78,8,29,34,"animationIn"],[78,19,29,45],[78,22,29,45,"_ref"],[78,26,29,45],[78,27,29,34,"animationIn"],[78,38,29,45],[79,6,29,47,"animationOut"],[79,18,29,59],[79,21,29,59,"_ref"],[79,25,29,59],[79,26,29,47,"animationOut"],[79,38,29,59],[80,4,30,4],[80,8,30,8,"updatedAnimationIn"],[80,26,30,26],[81,4,31,4],[81,8,31,8,"updatedAnimationOut"],[81,27,31,27],[82,4,32,4],[82,8,32,8,"isObject"],[82,16,32,16],[82,17,32,17,"animationIn"],[82,28,32,28],[82,29,32,29],[82,31,32,31],[83,6,33,8],[83,10,33,14,"animationName"],[83,23,33,27],[83,26,33,30,"JSON"],[83,30,33,34],[83,31,33,35,"stringify"],[83,40,33,44],[83,41,33,45,"animationIn"],[83,52,33,56],[83,53,33,57],[84,6,34,8,"makeAnimation"],[84,19,34,21],[84,20,34,22,"animationName"],[84,33,34,35],[84,35,34,37,"animationIn"],[84,46,34,48],[84,47,34,49],[85,6,35,8,"updatedAnimationIn"],[85,24,35,26],[85,27,35,29,"animationName"],[85,40,35,42],[86,4,36,4],[86,5,36,5],[86,11,37,9],[87,6,38,8,"updatedAnimationIn"],[87,24,38,26],[87,27,38,29,"animationIn"],[87,38,38,40],[88,4,39,4],[89,4,40,4],[89,8,40,8,"isObject"],[89,16,40,16],[89,17,40,17,"animationOut"],[89,29,40,29],[89,30,40,30],[89,32,40,32],[90,6,41,8],[90,10,41,14,"animationName"],[90,24,41,27],[90,27,41,30,"JSON"],[90,31,41,34],[90,32,41,35,"stringify"],[90,41,41,44],[90,42,41,45,"animationOut"],[90,54,41,57],[90,55,41,58],[91,6,42,8,"makeAnimation"],[91,19,42,21],[91,20,42,22,"animationName"],[91,34,42,35],[91,36,42,37,"animationOut"],[91,48,42,49],[91,49,42,50],[92,6,43,8,"updatedAnimationOut"],[92,25,43,27],[92,28,43,30,"animationName"],[92,42,43,43],[93,4,44,4],[93,5,44,5],[93,11,45,9],[94,6,46,8,"updatedAnimationOut"],[94,25,46,27],[94,28,46,30,"animationOut"],[94,40,46,42],[95,4,47,4],[96,4,48,4],[96,11,48,11],[97,6,49,8,"animationIn"],[97,17,49,19],[97,19,49,21,"updatedAnimationIn"],[97,37,49,39],[98,6,50,8,"animationOut"],[98,18,50,20],[98,20,50,22,"updatedAnimationOut"],[99,4,51,4],[99,5,51,5],[100,2,52,0],[100,3,52,1],[101,2,53,7],[101,6,53,13,"reversePercentage"],[101,23,53,30],[101,26,53,34,"x"],[101,27,53,35],[101,31,53,40],[101,33,53,42,"x"],[101,34,53,43],[101,37,53,46],[101,38,53,47],[101,39,53,48],[102,2,54,0],[102,6,54,6,"makeAnimation"],[102,19,54,19],[102,22,54,22,"makeAnimation"],[102,23,54,23,"name"],[102,27,54,27],[102,29,54,29,"obj"],[102,32,54,32],[102,37,54,37],[103,4,55,4,"animatable"],[103,14,55,14],[103,15,55,15,"registerAnimation"],[103,32,55,32],[103,33,55,33,"name"],[103,37,55,37],[103,39,55,39,"animatable"],[103,49,55,49],[103,50,55,50,"createAnimation"],[103,65,55,65],[103,66,55,66,"obj"],[103,69,55,69],[103,70,55,70],[103,71,55,71],[104,2,56,0],[104,3,56,1],[105,2,57,0],[105,6,57,6,"isObject"],[105,14,57,14],[105,17,57,18,"obj"],[105,20,57,21],[105,24,57,26],[106,4,58,4],[106,11,58,11,"obj"],[106,14,58,14],[106,19,58,19],[106,23,58,23],[106,27,58,27],[106,34,58,34,"obj"],[106,37,58,37],[106,42,58,42],[106,50,58,50],[107,2,59,0],[107,3,59,1],[108,0,59,2],[108,3]],"functionMap":{"names":["<global>","initializeAnimations","makeSlideTranslation","buildAnimations","reversePercentage","makeAnimation","isObject"],"mappings":"AAA;oCCG;CDc;oCEC;EFO;+BGG;CHuB;iCIC,eJ;sBKC;CLE;iBMC;CNE"},"hasCjsExports":false},"type":"js/module"}]} |