38 lines
2.5 KiB
React
38 lines
2.5 KiB
React
/* Metro module 301; source: unknown; dependencies: [31, 38, 110, 42, 117] */
|
|
function _fun4552(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#4552, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:342:6, offset: 0x00cc5a50, size: 346 bytes, params: 8, frame: 23
|
|
var object2;
|
|
const env0_0 = require;
|
|
let Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
importAll(31) /* metro dependency 31 */;
|
|
object2 = {uiViewClassName: 'AndroidDrawerLayout'};
|
|
object2.directEventTypes = {topDrawerSlide: {registrationName: 'onDrawerSlide'},
|
|
topDrawerStateChanged: {registrationName: 'onDrawerStateChanged'},
|
|
topDrawerOpen: {registrationName: 'onDrawerOpen'}, topDrawerClose: {registrationName: 'onDrawerClose'}};
|
|
Object = global.Object;
|
|
const assign = Object.assign;
|
|
const object3 = {'keyboardDismissMode': true, 'drawerBackgroundColor': null, 'drawerPosition': true,
|
|
'drawerWidth': true, 'drawerLockMode': true};
|
|
object3.drawerBackgroundColor = {process: (require(38) /* metro dependency 38 */).default};
|
|
object3.statusBarBackgroundColor = {process: (require(38) /* metro dependency 38 */).default};
|
|
let value = require(110) /* metro dependency 110 */;
|
|
const ConditionallyIgnoredEventHandlers = value.ConditionallyIgnoredEventHandlers;
|
|
object2.validAttributes = Reflect.apply(assign, Object, [object3, Reflect.apply(ConditionallyIgnoredEventHandlers,
|
|
value, [{'onDrawerSlide': true, 'onDrawerStateChanged': true, 'onDrawerOpen': true, 'onDrawerClose': true}])]);
|
|
value = require(42) /* metro dependency 42 */;
|
|
value = value.get('AndroidDrawerLayout', _fun4553);
|
|
const object4 = {openDrawer: openDrawer, closeDrawer: closeDrawer};
|
|
exports.default = value;
|
|
exports.__INTERNAL_VIEW_CONFIG = object2;
|
|
exports.Commands = object4;
|
|
}
|
|
|
|
function openDrawer(a0) { // fn#4554, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:342:776, offset: 0x00cc5baa, size: 51 bytes, params: 2, frame: 16
|
|
(require(117) /* metro dependency 117 */).dispatchCommand(a0, 'openDrawer', []);
|
|
}
|
|
|
|
function closeDrawer(a0) { // fn#4555, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:342:855, offset: 0x00cc5bdd, size: 51 bytes, params: 2, frame: 16
|
|
(require(117) /* metro dependency 117 */).dispatchCommand(a0, 'closeDrawer', []);
|
|
}
|
|
|