39 lines
2.5 KiB
TypeScript
39 lines
2.5 KiB
TypeScript
/* Metro module 5077; source: modules/auth/PromoEmailConsentStore.tsx; dependencies: [629, 690, 2] */
|
|
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as Module00629Module from '../../by-id/module-00629.js'; /* Metro dependency 629 */
|
|
import * as ReactBatchUpdatesNativeModule from '../../external/discord_common/js/shared/utils/ReactBatchUpdates.native.tsx'; /* Metro dependency 690 */
|
|
|
|
function _fun44076(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#44076, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5255:6, offset: 0x01167dee, size: 141 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = Module00629Module;
|
|
value = value.create(function() {
|
|
return {'required': false, 'checked': false, 'preChecked': false};
|
|
});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/auth/PromoEmailConsentStore.tsx');
|
|
exports.setPromoEmailConsentState = setPromoEmailConsentState;
|
|
exports.setPromoEmailConsentChecked = setPromoEmailConsentChecked;
|
|
exports.usePromoEmailConsentStore = value;
|
|
function setPromoEmailConsentState(a0) { // fn#44078, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5255:266, offset: 0x01167e8b, size: 52 bytes, params: 2, frame: 12
|
|
const env0_0 = a0;
|
|
(ReactBatchUpdatesNativeModule).batchUpdates(_fun44079);
|
|
function _fun44079() { // fn#44079, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5255:292, offset: 0x01167ebf, size: 27 bytes, params: 1, frame: 11
|
|
return env1_2.setState(env0_0);
|
|
}
|
|
|
|
}
|
|
|
|
function setPromoEmailConsentChecked(a0) { // fn#44080, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5255:343, offset: 0x01167eda, size: 52 bytes, params: 2, frame: 12
|
|
const env0_0 = a0;
|
|
(ReactBatchUpdatesNativeModule).batchUpdates(_fun44081);
|
|
function _fun44081() { // fn#44081, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5255:369, offset: 0x01167f0e, size: 34 bytes, params: 1, frame: 12
|
|
return env1_2.setState({checked: env0_0});
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun44076, 5077, [629, 690, 2]) /* metro module 5077, dependencies: [629, 690, 2] */;
|