Files
discord-decomp/sources/modules/parent_tools/RestrictedHoursActionCreators.native.tsx
T
2026-07-28 01:06:53 +03:00

43 lines
2.6 KiB
TypeScript

/* Metro module 15642; source: modules/parent_tools/RestrictedHoursActionCreators.native.tsx; dependencies: [5, 5080, 15643, 1962, 2] */
import Module00005 from '../../by-id/module-00005.js'; /* Metro dependency 5 */
import ModalActionCreators from '../../actions/ModalActionCreators.tsx'; /* Metro dependency 5080 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
function _fun119780(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#119780, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15850:6, offset: 0x025193c4, size: 145 bytes, params: 8, frame: 20
const env0_0 = require;
const closeRestrictedHoursModal2 = closeRestrictedHoursModal;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/parent_tools/RestrictedHoursActionCreators.native.tsx');
exports.openRestrictedHoursModal = openRestrictedHoursModal;
exports.closeRestrictedHoursModal = closeRestrictedHoursModal2;
function closeRestrictedHoursModal() { // fn#119781, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15850:137, offset: 0x02087da8, size: 42 bytes, params: 1, frame: 12
(ModalActionCreators).popWithKey(env0_4);
}
function openRestrictedHoursModal() { // fn#119782, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15850:318, offset: 0x02519455, size: 90 bytes, params: 1, frame: 18
const defaultImport = ModalActionCreators;
defaultImport.pushLazy(Module00005(_fun119784), {onClose: closeRestrictedHoursModal}, env0_4, {'animation': 'none',
'presentation': 'fullScreenModal'});
function* _fun119784() { // fn#119784, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15850:374, offset: 0x01712359, size: 74 bytes, params: 1, frame: 14
if (false) {
return undefined;
}
value = environment.__proto__.__proto__;
const binding = env2_0;
const binding2 = env2_2;
yield binding(binding2[3])(binding2[2], binding2.paths);
value = undefined;
if (false) {
return value;
}
return value.default;
}
}
}
global.__d(_fun119780, 15642, [5, 5080, 15643, 1962,
2]) /* metro module 15642, dependencies: [5, 5080, 15643, 1962, 2] */;