Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/25/63734a2d1f0e89780663213decd6f8ba7baa50a4cacf85d2b5dd8f5f7f5cb9c5ad0d4d
T
2025-11-08 08:58:18 +00:00

1 line
7.1 KiB
Plaintext

{"dependencies":[{"name":"react-native-svg","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":45,"index":45}}],"key":"lCMYlEpYXUxeSuxY/qJGK1buGwU=","exportNames":["*"],"imports":1}},{"name":"react-native-web/dist/exports/Animated","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"dNPzxVfn0yBoRxvhD+vE+lN7k4Q=","exportNames":["*"],"imports":1}},{"name":"../hooks/useTheme","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":87},"end":{"line":3,"column":41,"index":128}}],"key":"N6uZq7lIXABAFl7Ydp8eCYEfNSg=","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 _interopDefault(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n Object.defineProperty(exports, \"Shimmer\", {\n enumerable: true,\n get: function () {\n return Shimmer;\n }\n });\n var _reactNativeSvg = require(_dependencyMap[0], \"react-native-svg\");\n var _reactNativeWebDistExportsAnimated = require(_dependencyMap[1], \"react-native-web/dist/exports/Animated\");\n var Animated = _interopDefault(_reactNativeWebDistExportsAnimated);\n var _hooksUseTheme = require(_dependencyMap[2], \"../hooks/useTheme\");\n var useTheme = _interopDefault(_hooksUseTheme);\n const AnimatedRect = Animated.default.createAnimatedComponent(_reactNativeSvg.Rect);\n const Shimmer = _ref => {\n let {\n width = 200,\n height = 200,\n duration = 1000,\n borderRadius = 0,\n backgroundColor,\n foregroundColor,\n style\n } = _ref;\n const animatedValue = new Animated.default.Value(0);\n const Theme = (0, useTheme.default)();\n const animatedProps = {\n fill: animatedValue.interpolate({\n inputRange: [0, 0.5, 1],\n outputRange: [backgroundColor ?? Theme.background2, foregroundColor ?? Theme.background3, backgroundColor ?? Theme.background3]\n }),\n width,\n height,\n x: 0,\n y: 0,\n rx: borderRadius,\n ry: borderRadius\n };\n Animated.default.loop(Animated.default.timing(animatedValue, {\n toValue: 1,\n duration,\n useNativeDriver: false\n })).start();\n return /*#__PURE__*/React.createElement(_reactNativeSvg.Svg, {\n width: width,\n height: height,\n style: style\n }, /*#__PURE__*/React.createElement(AnimatedRect, animatedProps));\n };\n});","lineCount":59,"map":[[12,2,5,0,"Object"],[12,8,5,0],[12,9,5,0,"defineProperty"],[12,23,5,0],[12,24,5,0,"exports"],[12,31,5,0],[13,4,5,0,"enumerable"],[13,14,5,0],[14,4,5,0,"get"],[14,7,5,0],[14,18,5,0,"get"],[14,19,5,0],[15,6,5,0],[15,13,5,0,"Shimmer"],[15,20,5,0],[16,4,5,0],[17,2,5,0],[18,2,1,0],[18,6,1,0,"_reactNativeSvg"],[18,21,1,0],[18,24,1,0,"require"],[18,31,1,0],[18,32,1,0,"_dependencyMap"],[18,46,1,0],[19,2,1,45],[19,6,1,45,"_reactNativeWebDistExportsAnimated"],[19,40,1,45],[19,43,1,45,"require"],[19,50,1,45],[19,51,1,45,"_dependencyMap"],[19,65,1,45],[20,2,1,45],[20,6,1,45,"Animated"],[20,14,1,45],[20,17,1,45,"_interopDefault"],[20,32,1,45],[20,33,1,45,"_reactNativeWebDistExportsAnimated"],[20,67,1,45],[21,2,3,0],[21,6,3,0,"_hooksUseTheme"],[21,20,3,0],[21,23,3,0,"require"],[21,30,3,0],[21,31,3,0,"_dependencyMap"],[21,45,3,0],[22,2,3,0],[22,6,3,0,"useTheme"],[22,14,3,0],[22,17,3,0,"_interopDefault"],[22,32,3,0],[22,33,3,0,"_hooksUseTheme"],[22,47,3,0],[23,2,4,0],[23,8,4,6,"AnimatedRect"],[23,20,4,18],[23,23,4,21,"Animated"],[23,31,4,29],[23,32,4,29,"default"],[23,39,4,29],[23,40,4,30,"createAnimatedComponent"],[23,63,4,53],[23,64,4,54,"Rect"],[23,79,4,58],[23,80,4,58,"Rect"],[23,84,4,58],[23,85,4,59],[24,2,5,7],[24,8,5,13,"Shimmer"],[24,15,5,20],[24,18,5,23,"_ref"],[24,22,5,27],[24,26,5,31],[25,4,6,2],[25,8,6,6],[26,6,7,4,"width"],[26,11,7,9],[26,14,7,12],[26,17,7,15],[27,6,8,4,"height"],[27,12,8,10],[27,15,8,13],[27,18,8,16],[28,6,9,4,"duration"],[28,14,9,12],[28,17,9,15],[28,21,9,19],[29,6,10,4,"borderRadius"],[29,18,10,16],[29,21,10,19],[29,22,10,20],[30,6,11,4,"backgroundColor"],[30,21,11,19],[31,6,12,4,"foregroundColor"],[31,21,12,19],[32,6,13,4,"style"],[33,4,14,2],[33,5,14,3],[33,8,14,6,"_ref"],[33,12,14,10],[34,4,15,2],[34,10,15,8,"animatedValue"],[34,23,15,21],[34,26,15,24],[34,30,15,28,"Animated"],[34,38,15,36],[34,39,15,36,"default"],[34,46,15,36],[34,47,15,37,"Value"],[34,52,15,42],[34,53,15,43],[34,54,15,44],[34,55,15,45],[35,4,16,2],[35,10,16,8,"Theme"],[35,15,16,13],[35,18,16,16],[35,22,16,16,"useTheme"],[35,30,16,24],[35,31,16,24,"default"],[35,38,16,24],[35,40,16,25],[35,41,16,26],[36,4,17,2],[36,10,17,8,"animatedProps"],[36,23,17,21],[36,26,17,24],[37,6,18,4,"fill"],[37,10,18,8],[37,12,18,10,"animatedValue"],[37,25,18,23],[37,26,18,24,"interpolate"],[37,37,18,35],[37,38,18,36],[38,8,19,6,"inputRange"],[38,18,19,16],[38,20,19,18],[38,21,19,19],[38,22,19,20],[38,24,19,22],[38,27,19,25],[38,29,19,27],[38,30,19,28],[38,31,19,29],[39,8,20,6,"outputRange"],[39,19,20,17],[39,21,20,19],[39,22,20,20,"backgroundColor"],[39,37,20,35],[39,41,20,39,"Theme"],[39,46,20,44],[39,47,20,45,"background2"],[39,58,20,56],[39,60,20,58,"foregroundColor"],[39,75,20,73],[39,79,20,77,"Theme"],[39,84,20,82],[39,85,20,83,"background3"],[39,96,20,94],[39,98,20,96,"backgroundColor"],[39,113,20,111],[39,117,20,115,"Theme"],[39,122,20,120],[39,123,20,121,"background3"],[39,134,20,132],[40,6,21,4],[40,7,21,5],[40,8,21,6],[41,6,22,4,"width"],[41,11,22,9],[42,6,23,4,"height"],[42,12,23,10],[43,6,24,4,"x"],[43,7,24,5],[43,9,24,7],[43,10,24,8],[44,6,25,4,"y"],[44,7,25,5],[44,9,25,7],[44,10,25,8],[45,6,26,4,"rx"],[45,8,26,6],[45,10,26,8,"borderRadius"],[45,22,26,20],[46,6,27,4,"ry"],[46,8,27,6],[46,10,27,8,"borderRadius"],[47,4,28,2],[47,5,28,3],[48,4,29,2,"Animated"],[48,12,29,10],[48,13,29,10,"default"],[48,20,29,10],[48,21,29,11,"loop"],[48,25,29,15],[48,26,29,16,"Animated"],[48,34,29,24],[48,35,29,24,"default"],[48,42,29,24],[48,43,29,25,"timing"],[48,49,29,31],[48,50,29,32,"animatedValue"],[48,63,29,45],[48,65,29,47],[49,6,30,4,"toValue"],[49,13,30,11],[49,15,30,13],[49,16,30,14],[50,6,31,4,"duration"],[50,14,31,12],[51,6,32,4,"useNativeDriver"],[51,21,32,19],[51,23,32,21],[52,4,33,2],[52,5,33,3],[52,6,33,4],[52,7,33,5],[52,8,33,6,"start"],[52,13,33,11],[52,14,33,12],[52,15,33,13],[53,4,34,2],[53,11,34,9],[53,24,34,22,"React"],[53,29,34,27],[53,30,34,28,"createElement"],[53,43,34,41],[53,44,34,42,"Svg"],[53,59,34,45],[53,60,34,45,"Svg"],[53,63,34,45],[53,65,34,47],[54,6,35,4,"width"],[54,11,35,9],[54,13,35,11,"width"],[54,18,35,16],[55,6,36,4,"height"],[55,12,36,10],[55,14,36,12,"height"],[55,20,36,18],[56,6,37,4,"style"],[56,11,37,9],[56,13,37,11,"style"],[57,4,38,2],[57,5,38,3],[57,7,38,5],[57,20,38,18,"React"],[57,25,38,23],[57,26,38,24,"createElement"],[57,39,38,37],[57,40,38,38,"AnimatedRect"],[57,52,38,50],[57,54,38,52,"animatedProps"],[57,67,38,65],[57,68,38,66],[57,69,38,67],[58,2,39,0],[58,3,39,1],[59,0,39,2],[59,3]],"functionMap":{"names":["<global>","Shimmer"],"mappings":"AAA;uBCI;CDkC"},"hasCjsExports":false},"type":"js/module"}]}