mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 16:51:02 +00:00
1 line
9.0 KiB
Plaintext
1 line
9.0 KiB
Plaintext
{"dependencies":[{"name":"@babel/runtime/helpers/objectWithoutProperties","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"fnQVLibs90KHiJ7y48fLgPWzDS0=","exportNames":["*"],"imports":1}},{"name":"react","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":15},"end":{"line":3,"column":31,"index":46}}],"key":"RtGiGa+/H7VrI7GDQDLhO1UbpU8=","exportNames":["*"],"imports":1}},{"name":"react-native","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":47},"end":{"line":4,"column":58,"index":105}}],"key":"KyzuX10g6ixS9UfynhmjlvCIG3g=","exportNames":["*"],"imports":1}},{"name":"react/jsx-runtime","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":5,"column":0,"index":106},"end":{"line":5,"column":48,"index":154}}],"key":"rKAWVuQOSSDHxC6IWcmkeWszaWg=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n var _excluded = [\"visible\", \"children\", \"style\"];\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 exports.ResourceSavingView = ResourceSavingView;\n var _babelRuntimeHelpersObjectWithoutProperties = require(_dependencyMap[0], \"@babel/runtime/helpers/objectWithoutProperties\");\n var _objectWithoutProperties = _interopDefault(_babelRuntimeHelpersObjectWithoutProperties);\n require(_dependencyMap[1], \"react\");\n var _reactNative = require(_dependencyMap[2], \"react-native\");\n var _reactJsxRuntime = require(_dependencyMap[3], \"react/jsx-runtime\");\n var FAR_FAR_AWAY = 30000; // this should be big enough to move the whole view out of its container\n\n function ResourceSavingView(_ref) {\n var visible = _ref.visible,\n children = _ref.children,\n style = _ref.style,\n rest = (0, _objectWithoutProperties.default)(_ref, _excluded);\n if (_reactNative.Platform.OS === 'web') {\n return /*#__PURE__*/(0, _reactJsxRuntime.jsx)(_reactNative.View // @ts-expect-error: hidden exists on web, but not in React Native\n , {\n hidden: !visible,\n style: [{\n display: visible ? 'flex' : 'none'\n }, styles.container, style],\n pointerEvents: visible ? 'auto' : 'none',\n ...rest,\n children: children\n });\n }\n return /*#__PURE__*/(0, _reactJsxRuntime.jsx)(_reactNative.View, {\n style: [styles.container, style]\n // box-none doesn't seem to work properly on Android\n ,\n\n pointerEvents: visible ? 'auto' : 'none',\n children: /*#__PURE__*/(0, _reactJsxRuntime.jsx)(_reactNative.View, {\n collapsable: false,\n removeClippedSubviews:\n // On iOS & macOS, set removeClippedSubviews to true only when not focused\n // This is an workaround for a bug where the clipped view never re-appears\n _reactNative.Platform.OS === 'ios' || _reactNative.Platform.OS === 'macos' ? !visible : true,\n pointerEvents: visible ? 'auto' : 'none',\n style: visible ? styles.attached : styles.detached,\n children: children\n })\n });\n }\n var styles = _reactNative.StyleSheet.create({\n container: {\n flex: 1,\n overflow: 'hidden'\n },\n attached: {\n flex: 1\n },\n detached: {\n flex: 1,\n top: FAR_FAR_AWAY\n }\n });\n});","lineCount":69,"map":[[2,2,1,0],[2,14,1,12],[4,2,1,13],[4,6,1,13,"_excluded"],[4,15,1,13],[5,2,1,13,"Object"],[5,8,1,13],[5,9,1,13,"defineProperty"],[5,23,1,13],[5,24,1,13,"exports"],[5,31,1,13],[6,4,1,13,"value"],[6,9,1,13],[7,2,1,13],[8,2,1,13],[8,11,1,13,"_interopDefault"],[8,27,1,13,"e"],[8,28,1,13],[9,4,1,13],[9,11,1,13,"e"],[9,12,1,13],[9,16,1,13,"e"],[9,17,1,13],[9,18,1,13,"__esModule"],[9,28,1,13],[9,31,1,13,"e"],[9,32,1,13],[10,6,1,13,"default"],[10,13,1,13],[10,15,1,13,"e"],[11,4,1,13],[12,2,1,13],[13,2,8,0,"exports"],[13,9,8,0],[13,10,8,0,"ResourceSavingView"],[13,28,8,0],[13,31,8,0,"ResourceSavingView"],[13,49,8,0],[14,2,43,1],[14,6,43,1,"_babelRuntimeHelpersObjectWithoutProperties"],[14,49,43,1],[14,52,43,1,"require"],[14,59,43,1],[14,60,43,1,"_dependencyMap"],[14,74,43,1],[15,2,43,1],[15,6,43,1,"_objectWithoutProperties"],[15,30,43,1],[15,33,43,1,"_interopDefault"],[15,48,43,1],[15,49,43,1,"_babelRuntimeHelpersObjectWithoutProperties"],[15,92,43,1],[16,2,3,0,"require"],[16,9,3,0],[16,10,3,0,"_dependencyMap"],[16,24,3,0],[17,2,4,0],[17,6,4,0,"_reactNative"],[17,18,4,0],[17,21,4,0,"require"],[17,28,4,0],[17,29,4,0,"_dependencyMap"],[17,43,4,0],[18,2,5,0],[18,6,5,0,"_reactJsxRuntime"],[18,22,5,0],[18,25,5,0,"require"],[18,32,5,0],[18,33,5,0,"_dependencyMap"],[18,47,5,0],[19,2,6,0],[19,6,6,6,"FAR_FAR_AWAY"],[19,18,6,18],[19,21,6,21],[19,26,6,26],[19,27,6,27],[19,28,6,28],[21,2,8,7],[21,11,8,16,"ResourceSavingView"],[21,29,8,34,"ResourceSavingView"],[21,30,8,34,"_ref"],[21,34,8,34],[21,36,13,3],[22,4,13,3],[22,8,9,2,"visible"],[22,15,9,9],[22,18,9,9,"_ref"],[22,22,9,9],[22,23,9,2,"visible"],[22,30,9,9],[23,6,10,2,"children"],[23,14,10,10],[23,17,10,10,"_ref"],[23,21,10,10],[23,22,10,2,"children"],[23,30,10,10],[24,6,11,2,"style"],[24,11,11,7],[24,14,11,7,"_ref"],[24,18,11,7],[24,19,11,2,"style"],[24,24,11,7],[25,6,12,5,"rest"],[25,10,12,9],[25,17,12,9,"_objectWithoutProperties"],[25,41,12,9],[25,42,12,9,"default"],[25,49,12,9],[25,51,12,9,"_ref"],[25,55,12,9],[25,57,12,9,"_excluded"],[25,66,12,9],[26,4,14,2],[26,8,14,6,"Platform"],[26,20,14,14],[26,21,14,14,"Platform"],[26,29,14,14],[26,30,14,15,"OS"],[26,32,14,17],[26,37,14,22],[26,42,14,27],[26,44,14,29],[27,6,15,4],[27,13,15,11],[27,26,15,24],[27,30,15,24,"_jsx"],[27,46,15,28],[27,47,15,28,"jsx"],[27,50,15,28],[27,52,15,29,"View"],[27,64,15,33],[27,65,15,33,"View"],[27,69,15,33],[27,70,16,4],[28,6,16,4],[28,8,17,6],[29,8,18,6,"hidden"],[29,14,18,12],[29,16,18,14],[29,17,18,15,"visible"],[29,24,18,22],[30,8,19,6,"style"],[30,13,19,11],[30,15,19,13],[30,16,19,14],[31,10,20,8,"display"],[31,17,20,15],[31,19,20,17,"visible"],[31,26,20,24],[31,29,20,27],[31,35,20,33],[31,38,20,36],[32,8,21,6],[32,9,21,7],[32,11,21,9,"styles"],[32,17,21,15],[32,18,21,16,"container"],[32,27,21,25],[32,29,21,27,"style"],[32,34,21,32],[32,35,21,33],[33,8,22,6,"pointerEvents"],[33,21,22,19],[33,23,22,21,"visible"],[33,30,22,28],[33,33,22,31],[33,39,22,37],[33,42,22,40],[33,48,22,46],[34,8,23,6],[34,11,23,9,"rest"],[34,15,23,13],[35,8,24,6,"children"],[35,16,24,14],[35,18,24,16,"children"],[36,6,25,4],[36,7,25,5],[36,8,25,6],[37,4,26,2],[38,4,27,2],[38,11,27,9],[38,24,27,22],[38,28,27,22,"_jsx"],[38,44,27,26],[38,45,27,26,"jsx"],[38,48,27,26],[38,50,27,27,"View"],[38,62,27,31],[38,63,27,31,"View"],[38,67,27,31],[38,69,27,33],[39,6,28,4,"style"],[39,11,28,9],[39,13,28,11],[39,14,28,12,"styles"],[39,20,28,18],[39,21,28,19,"container"],[39,30,28,28],[39,32,28,30,"style"],[39,37,28,35],[40,6,29,4],[41,6,29,4],[43,6,31,4,"pointerEvents"],[43,19,31,17],[43,21,31,19,"visible"],[43,28,31,26],[43,31,31,29],[43,37,31,35],[43,40,31,38],[43,46,31,44],[44,6,32,4,"children"],[44,14,32,12],[44,16,32,14],[44,29,32,27],[44,33,32,27,"_jsx"],[44,49,32,31],[44,50,32,31,"jsx"],[44,53,32,31],[44,55,32,32,"View"],[44,67,32,36],[44,68,32,36,"View"],[44,72,32,36],[44,74,32,38],[45,8,33,6,"collapsable"],[45,19,33,17],[45,21,33,19],[45,26,33,24],[46,8,34,6,"removeClippedSubviews"],[46,29,34,27],[47,8,35,6],[48,8,36,6],[49,8,37,6,"Platform"],[49,20,37,14],[49,21,37,14,"Platform"],[49,29,37,14],[49,30,37,15,"OS"],[49,32,37,17],[49,37,37,22],[49,42,37,27],[49,46,37,31,"Platform"],[49,58,37,39],[49,59,37,39,"Platform"],[49,67,37,39],[49,68,37,40,"OS"],[49,70,37,42],[49,75,37,47],[49,82,37,54],[49,85,37,57],[49,86,37,58,"visible"],[49,93,37,65],[49,96,37,68],[49,100,37,72],[50,8,38,6,"pointerEvents"],[50,21,38,19],[50,23,38,21,"visible"],[50,30,38,28],[50,33,38,31],[50,39,38,37],[50,42,38,40],[50,48,38,46],[51,8,39,6,"style"],[51,13,39,11],[51,15,39,13,"visible"],[51,22,39,20],[51,25,39,23,"styles"],[51,31,39,29],[51,32,39,30,"attached"],[51,40,39,38],[51,43,39,41,"styles"],[51,49,39,47],[51,50,39,48,"detached"],[51,58,39,56],[52,8,40,6,"children"],[52,16,40,14],[52,18,40,16,"children"],[53,6,41,4],[53,7,41,5],[54,4,42,2],[54,5,42,3],[54,6,42,4],[55,2,43,0],[56,2,44,0],[56,6,44,6,"styles"],[56,12,44,12],[56,15,44,15,"StyleSheet"],[56,27,44,25],[56,28,44,25,"StyleSheet"],[56,38,44,25],[56,39,44,26,"create"],[56,45,44,32],[56,46,44,33],[57,4,45,2,"container"],[57,13,45,11],[57,15,45,13],[58,6,46,4,"flex"],[58,10,46,8],[58,12,46,10],[58,13,46,11],[59,6,47,4,"overflow"],[59,14,47,12],[59,16,47,14],[60,4,48,2],[60,5,48,3],[61,4,49,2,"attached"],[61,12,49,10],[61,14,49,12],[62,6,50,4,"flex"],[62,10,50,8],[62,12,50,10],[63,4,51,2],[63,5,51,3],[64,4,52,2,"detached"],[64,12,52,10],[64,14,52,12],[65,6,53,4,"flex"],[65,10,53,8],[65,12,53,10],[65,13,53,11],[66,6,54,4,"top"],[66,9,54,7],[66,11,54,9,"FAR_FAR_AWAY"],[67,4,55,2],[68,2,56,0],[68,3,56,1],[68,4,56,2],[69,0,56,3],[69,3]],"functionMap":{"names":["<global>","ResourceSavingView"],"mappings":"AAA;OCO;CDmC"},"hasCjsExports":false},"type":"js/module"}]} |