mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 12:21:01 +00:00
1 line
18 KiB
Plaintext
1 line
18 KiB
Plaintext
{"dependencies":[{"name":"@babel/runtime/helpers/interopRequireDefault","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"kslwqCIsh6ew+I1KeA1rlVRjsAk=","exportNames":["*"]}},{"name":"@babel/runtime/helpers/asyncToGenerator","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"YisBBiy2Xm9DEVdFebZ2nbgAHBo=","exportNames":["*"]}},{"name":"expo-modules-core","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":56,"index":56}}],"key":"fU8WLIPqoAGygnPbZ/QJiQQfXEY=","exportNames":["*"]}},{"name":"react","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":57},"end":{"line":2,"column":41,"index":98}}],"key":"RtGiGa+/H7VrI7GDQDLhO1UbpU8=","exportNames":["*"]}},{"name":"./ExpoKeepAwake","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":99},"end":{"line":3,"column":44,"index":143}}],"key":"jHLfBdSv8mZ/wVreo+zqR61TL84=","exportNames":["*"]}},{"name":"./KeepAwake.types","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":107,"column":0,"index":4499},"end":{"line":107,"column":34,"index":4533}}],"key":"EDDLHqNoG4Xp68CaWUMvy09c+fg=","exportNames":["*"]}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n var _interopRequireDefault = require(_dependencyMap[0], \"@babel/runtime/helpers/interopRequireDefault\");\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n var _exportNames = {\n ExpoKeepAwakeTag: true,\n isAvailableAsync: true,\n useKeepAwake: true,\n activateKeepAwake: true,\n activateKeepAwakeAsync: true,\n deactivateKeepAwake: true,\n addListener: true\n };\n exports.ExpoKeepAwakeTag = void 0;\n exports.activateKeepAwake = activateKeepAwake;\n exports.activateKeepAwakeAsync = activateKeepAwakeAsync;\n exports.addListener = addListener;\n exports.deactivateKeepAwake = deactivateKeepAwake;\n exports.isAvailableAsync = isAvailableAsync;\n exports.useKeepAwake = useKeepAwake;\n var _asyncToGenerator2 = _interopRequireDefault(require(_dependencyMap[1], \"@babel/runtime/helpers/asyncToGenerator\"));\n var _expoModulesCore = require(_dependencyMap[2], \"expo-modules-core\");\n var _react = require(_dependencyMap[3], \"react\");\n var _ExpoKeepAwake = _interopRequireDefault(require(_dependencyMap[4], \"./ExpoKeepAwake\"));\n var _KeepAwake = require(_dependencyMap[5], \"./KeepAwake.types\");\n Object.keys(_KeepAwake).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n if (key in exports && exports[key] === _KeepAwake[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _KeepAwake[key];\n }\n });\n });\n /** Default tag, used when no tag has been specified in keep awake method calls. */\n var ExpoKeepAwakeTag = exports.ExpoKeepAwakeTag = 'ExpoKeepAwakeDefaultTag';\n /** @returns `true` on all platforms except [unsupported web browsers](https://caniuse.com/wake-lock). */\n function isAvailableAsync() {\n return _isAvailableAsync.apply(this, arguments);\n }\n /**\n * A React hook to keep the screen awake for as long as the owner component is mounted.\n * The optionally provided `tag` argument is used when activating and deactivating the keep-awake\n * feature. If unspecified, an ID unique to the owner component is used. See the documentation for\n * `activateKeepAwakeAsync` below to learn more about the `tag` argument.\n *\n * @param tag Tag to lock screen sleep prevention. If not provided, an ID unique to the owner component is used.\n * @param options Additional options for the keep awake hook.\n */\n function _isAvailableAsync() {\n _isAvailableAsync = (0, _asyncToGenerator2.default)(function* () {\n if (_ExpoKeepAwake.default.isAvailableAsync) {\n return yield _ExpoKeepAwake.default.isAvailableAsync();\n }\n return true;\n });\n return _isAvailableAsync.apply(this, arguments);\n }\n function useKeepAwake(tag, options) {\n var defaultTag = (0, _react.useId)();\n var tagOrDefault = tag ?? defaultTag;\n (0, _react.useEffect)(() => {\n var isMounted = true;\n activateKeepAwakeAsync(tagOrDefault).then(() => {\n if (isMounted && _ExpoKeepAwake.default.addListenerForTag && options?.listener) {\n addListener(tagOrDefault, options.listener);\n }\n });\n return () => {\n isMounted = false;\n if (options?.suppressDeactivateWarnings) {\n deactivateKeepAwake(tagOrDefault).catch(() => {});\n } else {\n deactivateKeepAwake(tagOrDefault);\n }\n };\n }, [tagOrDefault]);\n }\n // @needsAudit\n /**\n * Prevents the screen from sleeping until `deactivateKeepAwake` is called with the same `tag` value.\n *\n * If the `tag` argument is specified, the screen will not sleep until you call `deactivateKeepAwake`\n * with the same `tag` argument. When using multiple `tags` for activation you'll have to deactivate\n * each one in order to re-enable screen sleep. If tag is unspecified, the default `tag` is used.\n *\n * Web support [is limited](https://caniuse.com/wake-lock).\n *\n * @param tag Tag to lock screen sleep prevention. If not provided, the default tag is used.\n * @deprecated use `activateKeepAwakeAsync` instead.\n */\n function activateKeepAwake() {\n var tag = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ExpoKeepAwakeTag;\n console.warn('`activateKeepAwake` is deprecated. Use `activateKeepAwakeAsync` instead.');\n return activateKeepAwakeAsync(tag);\n }\n // @needsAudit\n /**\n * Prevents the screen from sleeping until `deactivateKeepAwake` is called with the same `tag` value.\n *\n * If the `tag` argument is specified, the screen will not sleep until you call `deactivateKeepAwake`\n * with the same `tag` argument. When using multiple `tags` for activation you'll have to deactivate\n * each one in order to re-enable screen sleep. If tag is unspecified, the default `tag` is used.\n *\n * Web support [is limited](https://caniuse.com/wake-lock).\n *\n * @param tag Tag to lock screen sleep prevention. If not provided, the default tag is used.\n */\n function activateKeepAwakeAsync() {\n return _activateKeepAwakeAsync.apply(this, arguments);\n } // @needsAudit\n /**\n * Releases the lock on screen-sleep prevention associated with the given `tag` value. If `tag`\n * is unspecified, it defaults to the same default tag that `activateKeepAwake` uses.\n *\n * @param tag Tag to release the lock on screen sleep prevention. If not provided,\n * the default tag is used.\n */\n function _activateKeepAwakeAsync() {\n _activateKeepAwakeAsync = (0, _asyncToGenerator2.default)(function* () {\n var tag = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ExpoKeepAwakeTag;\n yield _ExpoKeepAwake.default.activate?.(tag);\n });\n return _activateKeepAwakeAsync.apply(this, arguments);\n }\n function deactivateKeepAwake() {\n return _deactivateKeepAwake.apply(this, arguments);\n }\n /**\n * Observe changes to the keep awake timer.\n * On web, this changes when navigating away from the active window/tab. No-op on native.\n * @platform web\n *\n * @example\n * ```ts\n * KeepAwake.addListener(({ state }) => {\n * // ...\n * });\n * ```\n */\n function _deactivateKeepAwake() {\n _deactivateKeepAwake = (0, _asyncToGenerator2.default)(function* () {\n var tag = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ExpoKeepAwakeTag;\n yield _ExpoKeepAwake.default.deactivate?.(tag);\n });\n return _deactivateKeepAwake.apply(this, arguments);\n }\n function addListener(tagOrListener, listener) {\n // Assert so the type is non-nullable.\n if (!_ExpoKeepAwake.default.addListenerForTag) {\n throw new _expoModulesCore.UnavailabilityError('ExpoKeepAwake', 'addListenerForTag');\n }\n var tag = typeof tagOrListener === 'string' ? tagOrListener : ExpoKeepAwakeTag;\n var _listener = typeof tagOrListener === 'function' ? tagOrListener : listener;\n return _ExpoKeepAwake.default.addListenerForTag(tag, _listener);\n }\n});","lineCount":160,"map":[[23,2,1,0],[23,6,1,0,"_expoModulesCore"],[23,22,1,0],[23,25,1,0,"require"],[23,32,1,0],[23,33,1,0,"_dependencyMap"],[23,47,1,0],[24,2,2,0],[24,6,2,0,"_react"],[24,12,2,0],[24,15,2,0,"require"],[24,22,2,0],[24,23,2,0,"_dependencyMap"],[24,37,2,0],[25,2,3,0],[25,6,3,0,"_ExpoKeepAwake"],[25,20,3,0],[25,23,3,0,"_interopRequireDefault"],[25,45,3,0],[25,46,3,0,"require"],[25,53,3,0],[25,54,3,0,"_dependencyMap"],[25,68,3,0],[26,2,107,0],[26,6,107,0,"_KeepAwake"],[26,16,107,0],[26,19,107,0,"require"],[26,26,107,0],[26,27,107,0,"_dependencyMap"],[26,41,107,0],[27,2,107,0,"Object"],[27,8,107,0],[27,9,107,0,"keys"],[27,13,107,0],[27,14,107,0,"_KeepAwake"],[27,24,107,0],[27,26,107,0,"forEach"],[27,33,107,0],[27,44,107,0,"key"],[27,47,107,0],[28,4,107,0],[28,8,107,0,"key"],[28,11,107,0],[28,29,107,0,"key"],[28,32,107,0],[29,4,107,0],[29,8,107,0,"Object"],[29,14,107,0],[29,15,107,0,"prototype"],[29,24,107,0],[29,25,107,0,"hasOwnProperty"],[29,39,107,0],[29,40,107,0,"call"],[29,44,107,0],[29,45,107,0,"_exportNames"],[29,57,107,0],[29,59,107,0,"key"],[29,62,107,0],[30,4,107,0],[30,8,107,0,"key"],[30,11,107,0],[30,15,107,0,"exports"],[30,22,107,0],[30,26,107,0,"exports"],[30,33,107,0],[30,34,107,0,"key"],[30,37,107,0],[30,43,107,0,"_KeepAwake"],[30,53,107,0],[30,54,107,0,"key"],[30,57,107,0],[31,4,107,0,"Object"],[31,10,107,0],[31,11,107,0,"defineProperty"],[31,25,107,0],[31,26,107,0,"exports"],[31,33,107,0],[31,35,107,0,"key"],[31,38,107,0],[32,6,107,0,"enumerable"],[32,16,107,0],[33,6,107,0,"get"],[33,9,107,0],[33,20,107,0,"get"],[33,21,107,0],[34,8,107,0],[34,15,107,0,"_KeepAwake"],[34,25,107,0],[34,26,107,0,"key"],[34,29,107,0],[35,6,107,0],[36,4,107,0],[37,2,107,0],[38,2,4,0],[39,2,5,7],[39,6,5,13,"ExpoKeepAwakeTag"],[39,22,5,29],[39,25,5,29,"exports"],[39,32,5,29],[39,33,5,29,"ExpoKeepAwakeTag"],[39,49,5,29],[39,52,5,32],[39,77,5,57],[40,2,6,0],[41,2,6,0],[41,11,7,22,"isAvailableAsync"],[41,27,7,38,"isAvailableAsync"],[41,28,7,38],[42,4,7,38],[42,11,7,38,"_isAvailableAsync"],[42,28,7,38],[42,29,7,38,"apply"],[42,34,7,38],[42,41,7,38,"arguments"],[42,50,7,38],[43,2,7,38],[44,2,13,0],[45,0,14,0],[46,0,15,0],[47,0,16,0],[48,0,17,0],[49,0,18,0],[50,0,19,0],[51,0,20,0],[52,0,21,0],[53,2,13,0],[53,11,13,0,"_isAvailableAsync"],[53,29,13,0],[54,4,13,0,"_isAvailableAsync"],[54,21,13,0],[54,28,13,0,"_asyncToGenerator2"],[54,46,13,0],[54,47,13,0,"default"],[54,54,13,0],[54,56,7,7],[54,69,7,41],[55,6,8,4],[55,10,8,8,"ExpoKeepAwake"],[55,32,8,21],[55,33,8,22,"isAvailableAsync"],[55,49,8,38],[55,51,8,40],[56,8,9,8],[56,21,9,21,"ExpoKeepAwake"],[56,43,9,34],[56,44,9,35,"isAvailableAsync"],[56,60,9,51],[56,61,9,52],[56,62,9,53],[57,6,10,4],[58,6,11,4],[58,13,11,11],[58,17,11,15],[59,4,12,0],[59,5,12,1],[60,4,12,1],[60,11,12,1,"_isAvailableAsync"],[60,28,12,1],[60,29,12,1,"apply"],[60,34,12,1],[60,41,12,1,"arguments"],[60,50,12,1],[61,2,12,1],[62,2,22,7],[62,11,22,16,"useKeepAwake"],[62,23,22,28,"useKeepAwake"],[62,24,22,29,"tag"],[62,27,22,32],[62,29,22,34,"options"],[62,36,22,41],[62,38,22,43],[63,4,23,4],[63,8,23,10,"defaultTag"],[63,18,23,20],[63,21,23,23],[63,25,23,23,"useId"],[63,37,23,28],[63,39,23,29],[63,40,23,30],[64,4,24,4],[64,8,24,10,"tagOrDefault"],[64,20,24,22],[64,23,24,25,"tag"],[64,26,24,28],[64,30,24,32,"defaultTag"],[64,40,24,42],[65,4,25,4],[65,8,25,4,"useEffect"],[65,24,25,13],[65,26,25,14],[65,32,25,20],[66,6,26,8],[66,10,26,12,"isMounted"],[66,19,26,21],[66,22,26,24],[66,26,26,28],[67,6,27,8,"activateKeepAwakeAsync"],[67,28,27,30],[67,29,27,31,"tagOrDefault"],[67,41,27,43],[67,42,27,44],[67,43,27,45,"then"],[67,47,27,49],[67,48,27,50],[67,54,27,56],[68,8,28,12],[68,12,28,16,"isMounted"],[68,21,28,25],[68,25,28,29,"ExpoKeepAwake"],[68,47,28,42],[68,48,28,43,"addListenerForTag"],[68,65,28,60],[68,69,28,64,"options"],[68,76,28,71],[68,78,28,73,"listener"],[68,86,28,81],[68,88,28,83],[69,10,29,16,"addListener"],[69,21,29,27],[69,22,29,28,"tagOrDefault"],[69,34,29,40],[69,36,29,42,"options"],[69,43,29,49],[69,44,29,50,"listener"],[69,52,29,58],[69,53,29,59],[70,8,30,12],[71,6,31,8],[71,7,31,9],[71,8,31,10],[72,6,32,8],[72,13,32,15],[72,19,32,21],[73,8,33,12,"isMounted"],[73,17,33,21],[73,20,33,24],[73,25,33,29],[74,8,34,12],[74,12,34,16,"options"],[74,19,34,23],[74,21,34,25,"suppressDeactivateWarnings"],[74,47,34,51],[74,49,34,53],[75,10,35,16,"deactivateKeepAwake"],[75,29,35,35],[75,30,35,36,"tagOrDefault"],[75,42,35,48],[75,43,35,49],[75,44,35,50,"catch"],[75,49,35,55],[75,50,35,56],[75,56,35,62],[75,57,35,64],[75,58,35,65],[75,59,35,66],[76,8,36,12],[76,9,36,13],[76,15,37,17],[77,10,38,16,"deactivateKeepAwake"],[77,29,38,35],[77,30,38,36,"tagOrDefault"],[77,42,38,48],[77,43,38,49],[78,8,39,12],[79,6,40,8],[79,7,40,9],[80,4,41,4],[80,5,41,5],[80,7,41,7],[80,8,41,8,"tagOrDefault"],[80,20,41,20],[80,21,41,21],[80,22,41,22],[81,2,42,0],[82,2,43,0],[83,2,44,0],[84,0,45,0],[85,0,46,0],[86,0,47,0],[87,0,48,0],[88,0,49,0],[89,0,50,0],[90,0,51,0],[91,0,52,0],[92,0,53,0],[93,0,54,0],[94,0,55,0],[95,2,56,7],[95,11,56,16,"activateKeepAwake"],[95,28,56,33,"activateKeepAwake"],[95,29,56,33],[95,31,56,58],[96,4,56,58],[96,8,56,34,"tag"],[96,11,56,37],[96,14,56,37,"arguments"],[96,23,56,37],[96,24,56,37,"length"],[96,30,56,37],[96,38,56,37,"arguments"],[96,47,56,37],[96,55,56,37,"undefined"],[96,64,56,37],[96,67,56,37,"arguments"],[96,76,56,37],[96,82,56,40,"ExpoKeepAwakeTag"],[96,98,56,56],[97,4,57,4,"console"],[97,11,57,11],[97,12,57,12,"warn"],[97,16,57,16],[97,17,57,17],[97,91,57,91],[97,92,57,92],[98,4,58,4],[98,11,58,11,"activateKeepAwakeAsync"],[98,33,58,33],[98,34,58,34,"tag"],[98,37,58,37],[98,38,58,38],[99,2,59,0],[100,2,60,0],[101,2,61,0],[102,0,62,0],[103,0,63,0],[104,0,64,0],[105,0,65,0],[106,0,66,0],[107,0,67,0],[108,0,68,0],[109,0,69,0],[110,0,70,0],[111,0,71,0],[112,2,61,0],[112,11,72,22,"activateKeepAwakeAsync"],[112,33,72,44,"activateKeepAwakeAsync"],[112,34,72,44],[113,4,72,44],[113,11,72,44,"_activateKeepAwakeAsync"],[113,34,72,44],[113,35,72,44,"apply"],[113,40,72,44],[113,47,72,44,"arguments"],[113,56,72,44],[114,2,72,44],[114,4,75,0],[115,2,76,0],[116,0,77,0],[117,0,78,0],[118,0,79,0],[119,0,80,0],[120,0,81,0],[121,0,82,0],[122,2,76,0],[122,11,76,0,"_activateKeepAwakeAsync"],[122,35,76,0],[123,4,76,0,"_activateKeepAwakeAsync"],[123,27,76,0],[123,34,76,0,"_asyncToGenerator2"],[123,52,76,0],[123,53,76,0,"default"],[123,60,76,0],[123,62,72,7],[123,75,72,69],[124,6,72,69],[124,10,72,45,"tag"],[124,13,72,48],[124,16,72,48,"arguments"],[124,25,72,48],[124,26,72,48,"length"],[124,32,72,48],[124,40,72,48,"arguments"],[124,49,72,48],[124,57,72,48,"undefined"],[124,66,72,48],[124,69,72,48,"arguments"],[124,78,72,48],[124,84,72,51,"ExpoKeepAwakeTag"],[124,100,72,67],[125,6,73,4],[125,12,73,10,"ExpoKeepAwake"],[125,34,73,23],[125,35,73,24,"activate"],[125,43,73,32],[125,46,73,35,"tag"],[125,49,73,38],[125,50,73,39],[126,4,74,0],[126,5,74,1],[127,4,74,1],[127,11,74,1,"_activateKeepAwakeAsync"],[127,34,74,1],[127,35,74,1,"apply"],[127,40,74,1],[127,47,74,1,"arguments"],[127,56,74,1],[128,2,74,1],[129,2,74,1],[129,11,83,22,"deactivateKeepAwake"],[129,30,83,41,"deactivateKeepAwake"],[129,31,83,41],[130,4,83,41],[130,11,83,41,"_deactivateKeepAwake"],[130,31,83,41],[130,32,83,41,"apply"],[130,37,83,41],[130,44,83,41,"arguments"],[130,53,83,41],[131,2,83,41],[132,2,86,0],[133,0,87,0],[134,0,88,0],[135,0,89,0],[136,0,90,0],[137,0,91,0],[138,0,92,0],[139,0,93,0],[140,0,94,0],[141,0,95,0],[142,0,96,0],[143,0,97,0],[144,2,86,0],[144,11,86,0,"_deactivateKeepAwake"],[144,32,86,0],[145,4,86,0,"_deactivateKeepAwake"],[145,24,86,0],[145,31,86,0,"_asyncToGenerator2"],[145,49,86,0],[145,50,86,0,"default"],[145,57,86,0],[145,59,83,7],[145,72,83,66],[146,6,83,66],[146,10,83,42,"tag"],[146,13,83,45],[146,16,83,45,"arguments"],[146,25,83,45],[146,26,83,45,"length"],[146,32,83,45],[146,40,83,45,"arguments"],[146,49,83,45],[146,57,83,45,"undefined"],[146,66,83,45],[146,69,83,45,"arguments"],[146,78,83,45],[146,84,83,48,"ExpoKeepAwakeTag"],[146,100,83,64],[147,6,84,4],[147,12,84,10,"ExpoKeepAwake"],[147,34,84,23],[147,35,84,24,"deactivate"],[147,45,84,34],[147,48,84,37,"tag"],[147,51,84,40],[147,52,84,41],[148,4,85,0],[148,5,85,1],[149,4,85,1],[149,11,85,1,"_deactivateKeepAwake"],[149,31,85,1],[149,32,85,1,"apply"],[149,37,85,1],[149,44,85,1,"arguments"],[149,53,85,1],[150,2,85,1],[151,2,98,7],[151,11,98,16,"addListener"],[151,22,98,27,"addListener"],[151,23,98,28,"tagOrListener"],[151,36,98,41],[151,38,98,43,"listener"],[151,46,98,51],[151,48,98,53],[152,4,99,4],[153,4,100,4],[153,8,100,8],[153,9,100,9,"ExpoKeepAwake"],[153,31,100,22],[153,32,100,23,"addListenerForTag"],[153,49,100,40],[153,51,100,42],[154,6,101,8],[154,12,101,14],[154,16,101,18,"UnavailabilityError"],[154,52,101,37],[154,53,101,38],[154,68,101,53],[154,70,101,55],[154,89,101,74],[154,90,101,75],[155,4,102,4],[156,4,103,4],[156,8,103,10,"tag"],[156,11,103,13],[156,14,103,16],[156,21,103,23,"tagOrListener"],[156,34,103,36],[156,39,103,41],[156,47,103,49],[156,50,103,52,"tagOrListener"],[156,63,103,65],[156,66,103,68,"ExpoKeepAwakeTag"],[156,82,103,84],[157,4,104,4],[157,8,104,10,"_listener"],[157,17,104,19],[157,20,104,22],[157,27,104,29,"tagOrListener"],[157,40,104,42],[157,45,104,47],[157,55,104,57],[157,58,104,60,"tagOrListener"],[157,71,104,73],[157,74,104,76,"listener"],[157,82,104,84],[158,4,105,4],[158,11,105,11,"ExpoKeepAwake"],[158,33,105,24],[158,34,105,25,"addListenerForTag"],[158,51,105,42],[158,52,105,43,"tag"],[158,55,105,46],[158,57,105,48,"_listener"],[158,66,105,57],[158,67,105,58],[159,2,106,0],[160,0,106,1],[160,3]],"functionMap":{"names":["<global>","isAvailableAsync","useKeepAwake","useEffect$argument_0","activateKeepAwakeAsync.then$argument_0","<anonymous>","deactivateKeepAwake._catch$argument_0","activateKeepAwake","activateKeepAwakeAsync","deactivateKeepAwake","addListener"],"mappings":"AAA;OCM;CDK;OEU;cCG;kDCE;SDI;eEC;wDCG,SD;SFK;KDC;CFC;OOc;CPG;OQa;CRE;OSS;CTE;OUa;CVQ"}},"type":"js/module"}]} |