Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/fb/ae8f95a5b4a514c8db3fe5f480aa38a6d54cfd694c925c5f346618c8553790c0f410d1
T
2025-11-08 10:06:45 +00:00

1 line
11 KiB
Plaintext

{"dependencies":[{"name":"../../StyleSheet/processColor","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":14,"column":0},"end":{"line":14,"column":57}}],"key":"zeoV4QTz/loUWg7IhOU/wEvU+mg=","exportNames":["*"],"imports":1}},{"name":"../../Utilities/Platform","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":15,"column":0},"end":{"line":15,"column":48}}],"key":"/m0HqCpVZ4yItbJJaw+YeR/qFWU=","exportNames":["*"],"imports":1}},{"name":"../View/View","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":16,"column":0},"end":{"line":16,"column":32}}],"key":"shwEdrNunlxo+53+9BUO15YMxuY=","exportNames":["*"],"imports":1}},{"name":"../View/ViewNativeComponent","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":17,"column":0},"end":{"line":17,"column":53}}],"key":"P5Y+nLeaDgtGP1KkvQX6tBf+AmA=","exportNames":["*"],"imports":1}},{"name":"invariant","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":18,"column":0},"end":{"line":18,"column":34}}],"key":"4HPAaDQ25ZwZ2dzTLatXuUucZUM=","exportNames":["*"],"imports":1}},{"name":"react","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":19,"column":0},"end":{"line":19,"column":31}}],"key":"RtGiGa+/H7VrI7GDQDLhO1UbpU8=","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, \"default\", {\n enumerable: true,\n get: function () {\n return useAndroidRippleForView;\n }\n });\n var _StyleSheetProcessColor = require(_dependencyMap[0], \"../../StyleSheet/processColor\");\n var processColor = _interopDefault(_StyleSheetProcessColor);\n var _UtilitiesPlatform = require(_dependencyMap[1], \"../../Utilities/Platform\");\n var Platform = _interopDefault(_UtilitiesPlatform);\n require(_dependencyMap[2], \"../View/View\");\n var _ViewViewNativeComponent = require(_dependencyMap[3], \"../View/ViewNativeComponent\");\n var _invariant = require(_dependencyMap[4], \"invariant\");\n var invariant = _interopDefault(_invariant);\n var _react = require(_dependencyMap[5], \"react\");\n function useAndroidRippleForView(rippleConfig, viewRef) {\n var _ref = rippleConfig ?? {},\n color = _ref.color,\n borderless = _ref.borderless,\n radius = _ref.radius,\n foreground = _ref.foreground;\n return (0, _react.useMemo)(() => {\n if (Platform.default.OS === 'android' && (color != null || borderless != null || radius != null)) {\n var processedColor = (0, processColor.default)(color);\n (0, invariant.default)(processedColor == null || typeof processedColor === 'number', 'Unexpected color given for Ripple color');\n var nativeRippleValue = {\n type: 'RippleAndroid',\n color: processedColor,\n borderless: borderless === true,\n rippleRadius: radius\n };\n return {\n viewProps: foreground === true ? {\n nativeForegroundAndroid: nativeRippleValue\n } : {\n nativeBackgroundAndroid: nativeRippleValue\n },\n onPressIn(event) {\n var view = viewRef.current;\n if (view != null) {\n _ViewViewNativeComponent.Commands.hotspotUpdate(view, event.nativeEvent.locationX ?? 0, event.nativeEvent.locationY ?? 0);\n _ViewViewNativeComponent.Commands.setPressed(view, true);\n }\n },\n onPressMove(event) {\n var view = viewRef.current;\n if (view != null) {\n _ViewViewNativeComponent.Commands.hotspotUpdate(view, event.nativeEvent.locationX ?? 0, event.nativeEvent.locationY ?? 0);\n }\n },\n onPressOut(event) {\n var view = viewRef.current;\n if (view != null) {\n _ViewViewNativeComponent.Commands.setPressed(view, false);\n }\n }\n };\n }\n return null;\n }, [borderless, color, foreground, radius, viewRef]);\n }\n});","lineCount":73,"map":[[12,2,40,15,"Object"],[12,8,40,15],[12,9,40,15,"defineProperty"],[12,23,40,15],[12,24,40,15,"exports"],[12,31,40,15],[13,4,40,15,"enumerable"],[13,14,40,15],[14,4,40,15,"get"],[14,7,40,15],[14,18,40,15,"get"],[14,19,40,15],[15,6,40,15],[15,13,40,15,"useAndroidRippleForView"],[15,36,40,15],[16,4,40,15],[17,2,40,15],[18,2,14,0],[18,6,14,0,"_StyleSheetProcessColor"],[18,29,14,0],[18,32,14,0,"require"],[18,39,14,0],[18,40,14,0,"_dependencyMap"],[18,54,14,0],[19,2,14,0],[19,6,14,0,"processColor"],[19,18,14,0],[19,21,14,0,"_interopDefault"],[19,36,14,0],[19,37,14,0,"_StyleSheetProcessColor"],[19,60,14,0],[20,2,15,0],[20,6,15,0,"_UtilitiesPlatform"],[20,24,15,0],[20,27,15,0,"require"],[20,34,15,0],[20,35,15,0,"_dependencyMap"],[20,49,15,0],[21,2,15,0],[21,6,15,0,"Platform"],[21,14,15,0],[21,17,15,0,"_interopDefault"],[21,32,15,0],[21,33,15,0,"_UtilitiesPlatform"],[21,51,15,0],[22,2,16,0,"require"],[22,9,16,0],[22,10,16,0,"_dependencyMap"],[22,24,16,0],[23,2,17,0],[23,6,17,0,"_ViewViewNativeComponent"],[23,30,17,0],[23,33,17,0,"require"],[23,40,17,0],[23,41,17,0,"_dependencyMap"],[23,55,17,0],[24,2,18,0],[24,6,18,0,"_invariant"],[24,16,18,0],[24,19,18,0,"require"],[24,26,18,0],[24,27,18,0,"_dependencyMap"],[24,41,18,0],[25,2,18,0],[25,6,18,0,"invariant"],[25,15,18,0],[25,18,18,0,"_interopDefault"],[25,33,18,0],[25,34,18,0,"_invariant"],[25,44,18,0],[26,2,19,0],[26,6,19,0,"_react"],[26,12,19,0],[26,15,19,0,"require"],[26,22,19,0],[26,23,19,0,"_dependencyMap"],[26,37,19,0],[27,2,40,15],[27,11,40,24,"useAndroidRippleForView"],[27,34,40,47,"useAndroidRippleForView"],[27,35,41,2,"rippleConfig"],[27,47,41,45],[27,49,42,2,"viewRef"],[27,56,42,58],[27,58,50,3],[28,4,51,2],[28,8,51,2,"_ref"],[28,12,51,2],[28,15,51,50,"rippleConfig"],[28,27,51,62],[28,31,51,66],[28,32,51,67],[28,33,51,68],[29,6,51,9,"color"],[29,11,51,14],[29,14,51,14,"_ref"],[29,18,51,14],[29,19,51,9,"color"],[29,24,51,14],[30,6,51,16,"borderless"],[30,16,51,26],[30,19,51,26,"_ref"],[30,23,51,26],[30,24,51,16,"borderless"],[30,34,51,26],[31,6,51,28,"radius"],[31,12,51,34],[31,15,51,34,"_ref"],[31,19,51,34],[31,20,51,28,"radius"],[31,26,51,34],[32,6,51,36,"foreground"],[32,16,51,46],[32,19,51,46,"_ref"],[32,23,51,46],[32,24,51,36,"foreground"],[32,34,51,46],[33,4,53,2],[33,11,53,9],[33,15,53,9,"useMemo"],[33,21,53,16],[33,22,53,16,"useMemo"],[33,29,53,16],[33,31,53,17],[33,37,53,23],[34,6,54,4],[34,10,55,6,"Platform"],[34,18,55,14],[34,19,55,14,"default"],[34,26,55,14],[34,27,55,15,"OS"],[34,29,55,17],[34,34,55,22],[34,43,55,31],[34,48,56,7,"color"],[34,53,56,12],[34,57,56,16],[34,61,56,20],[34,65,56,24,"borderless"],[34,75,56,34],[34,79,56,38],[34,83,56,42],[34,87,56,46,"radius"],[34,93,56,52],[34,97,56,56],[34,101,56,60],[34,102,56,61],[34,104,57,6],[35,8,58,6],[35,12,58,12,"processedColor"],[35,26,58,26],[35,29,58,29],[35,33,58,29,"processColor"],[35,45,58,41],[35,46,58,41,"default"],[35,53,58,41],[35,55,58,42,"color"],[35,60,58,47],[35,61,58,48],[36,8,59,6],[36,12,59,6,"invariant"],[36,21,59,15],[36,22,59,15,"default"],[36,29,59,15],[36,31,60,8,"processedColor"],[36,45,60,22],[36,49,60,26],[36,53,60,30],[36,57,60,34],[36,64,60,41,"processedColor"],[36,78,60,55],[36,83,60,60],[36,91,60,68],[36,93,61,8],[36,134,62,6],[36,135,62,7],[37,8,64,6],[37,12,64,12,"nativeRippleValue"],[37,29,64,29],[37,32,64,32],[38,10,65,8,"type"],[38,14,65,12],[38,16,65,14],[38,31,65,29],[39,10,66,8,"color"],[39,15,66,13],[39,17,66,15,"processedColor"],[39,31,66,29],[40,10,67,8,"borderless"],[40,20,67,18],[40,22,67,20,"borderless"],[40,32,67,30],[40,37,67,35],[40,41,67,39],[41,10,68,8,"rippleRadius"],[41,22,68,20],[41,24,68,22,"radius"],[42,8,69,6],[42,9,69,7],[43,8,71,6],[43,15,71,13],[44,10,72,8,"viewProps"],[44,19,72,17],[44,21,73,10,"foreground"],[44,31,73,20],[44,36,73,25],[44,40,73,29],[44,43,75,14],[45,12,75,15,"nativeForegroundAndroid"],[45,35,75,38],[45,37,75,40,"nativeRippleValue"],[46,10,75,57],[46,11,75,58],[46,14,77,14],[47,12,77,15,"nativeBackgroundAndroid"],[47,35,77,38],[47,37,77,40,"nativeRippleValue"],[48,10,77,57],[48,11,77,58],[49,10,78,8,"onPressIn"],[49,19,78,17,"onPressIn"],[49,20,78,18,"event"],[49,25,78,46],[49,27,78,54],[50,12,79,10],[50,16,79,16,"view"],[50,20,79,20],[50,23,79,23,"viewRef"],[50,30,79,30],[50,31,79,31,"current"],[50,38,79,38],[51,12,80,10],[51,16,80,14,"view"],[51,20,80,18],[51,24,80,22],[51,28,80,26],[51,30,80,28],[52,14,81,12,"Commands"],[52,38,81,20],[52,39,81,20,"Commands"],[52,47,81,20],[52,48,81,21,"hotspotUpdate"],[52,61,81,34],[52,62,82,14,"view"],[52,66,82,18],[52,68,83,14,"event"],[52,73,83,19],[52,74,83,20,"nativeEvent"],[52,85,83,31],[52,86,83,32,"locationX"],[52,95,83,41],[52,99,83,45],[52,100,83,46],[52,102,84,14,"event"],[52,107,84,19],[52,108,84,20,"nativeEvent"],[52,119,84,31],[52,120,84,32,"locationY"],[52,129,84,41],[52,133,84,45],[52,134,85,12],[52,135,85,13],[53,14,86,12,"Commands"],[53,38,86,20],[53,39,86,20,"Commands"],[53,47,86,20],[53,48,86,21,"setPressed"],[53,58,86,31],[53,59,86,32,"view"],[53,63,86,36],[53,65,86,38],[53,69,86,42],[53,70,86,43],[54,12,87,10],[55,10,88,8],[55,11,88,9],[56,10,89,8,"onPressMove"],[56,21,89,19,"onPressMove"],[56,22,89,20,"event"],[56,27,89,48],[56,29,89,56],[57,12,90,10],[57,16,90,16,"view"],[57,20,90,20],[57,23,90,23,"viewRef"],[57,30,90,30],[57,31,90,31,"current"],[57,38,90,38],[58,12,91,10],[58,16,91,14,"view"],[58,20,91,18],[58,24,91,22],[58,28,91,26],[58,30,91,28],[59,14,92,12,"Commands"],[59,38,92,20],[59,39,92,20,"Commands"],[59,47,92,20],[59,48,92,21,"hotspotUpdate"],[59,61,92,34],[59,62,93,14,"view"],[59,66,93,18],[59,68,94,14,"event"],[59,73,94,19],[59,74,94,20,"nativeEvent"],[59,85,94,31],[59,86,94,32,"locationX"],[59,95,94,41],[59,99,94,45],[59,100,94,46],[59,102,95,14,"event"],[59,107,95,19],[59,108,95,20,"nativeEvent"],[59,119,95,31],[59,120,95,32,"locationY"],[59,129,95,41],[59,133,95,45],[59,134,96,12],[59,135,96,13],[60,12,97,10],[61,10,98,8],[61,11,98,9],[62,10,99,8,"onPressOut"],[62,20,99,18,"onPressOut"],[62,21,99,19,"event"],[62,26,99,47],[62,28,99,55],[63,12,100,10],[63,16,100,16,"view"],[63,20,100,20],[63,23,100,23,"viewRef"],[63,30,100,30],[63,31,100,31,"current"],[63,38,100,38],[64,12,101,10],[64,16,101,14,"view"],[64,20,101,18],[64,24,101,22],[64,28,101,26],[64,30,101,28],[65,14,102,12,"Commands"],[65,38,102,20],[65,39,102,20,"Commands"],[65,47,102,20],[65,48,102,21,"setPressed"],[65,58,102,31],[65,59,102,32,"view"],[65,63,102,36],[65,65,102,38],[65,70,102,43],[65,71,102,44],[66,12,103,10],[67,10,104,8],[68,8,105,6],[68,9,105,7],[69,6,106,4],[70,6,107,4],[70,13,107,11],[70,17,107,15],[71,4,108,2],[71,5,108,3],[71,7,108,5],[71,8,108,6,"borderless"],[71,18,108,16],[71,20,108,18,"color"],[71,25,108,23],[71,27,108,25,"foreground"],[71,37,108,35],[71,39,108,37,"radius"],[71,45,108,43],[71,47,108,45,"viewRef"],[71,54,108,52],[71,55,108,53],[71,56,108,54],[72,2,109,0],[73,0,109,1],[73,3]],"functionMap":{"names":["<global>","useAndroidRippleForView","useMemo$argument_0","onPressIn","onPressMove","onPressOut"],"mappings":"AAA;eCuC;iBCa;QCyB;SDU;QEC;SFS;QGC;SHK;GDI"},"hasCjsExports":false},"type":"js/module"}]}