Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,128 @@
|
||||
/* Metro module 1564; source: unknown; dependencies: [57, 29, 31, 33, 1565, 1487, 1566, 1567, 1568, 1570, 1562, 1571] */
|
||||
function _fun17525(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#17525, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1691:6, offset: 0x00e6f132, size: 204 bytes, params: 8, frame: 20
|
||||
const env0_0 = require;
|
||||
const env0_3 = ['theme', 'linking', 'fallback', 'documentTitle', 'onReady'];
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_4 = importDefault(57) /* metro dependency 57 */;
|
||||
const env0_5 = importDefault(29) /* metro dependency 29 */;
|
||||
const value = importAll(31) /* metro dependency 31 */;
|
||||
const env0_7 = (require(33) /* metro dependency 33 */).jsx;
|
||||
const WeakMap = global.WeakMap;
|
||||
const value2 = Object.create(WeakMap.prototype, {constructor: {value: WeakMap}});
|
||||
const weakMap = new WeakMap();
|
||||
global.REACT_NAVIGATION_DEVTOOLS = weakMap instanceof Object ? weakMap : value2;
|
||||
exports.default = value.forwardRef(NavigationContainerInner);
|
||||
}
|
||||
|
||||
function NavigationContainerInner(a0, a1) { // fn#17526, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1691:263, offset: 0x00e6f1fe, size: 653 bytes, params: 3, frame: 30
|
||||
var moduleValue;
|
||||
var Provider;
|
||||
var defaultImport2;
|
||||
var object3;
|
||||
var BaseNavigationContainer;
|
||||
const theme = a0.theme;
|
||||
const r10 = theme !== undefined ? theme : importDefault(1565) /* metro dependency 1565 */;
|
||||
const linking = a0.linking;
|
||||
const fallback = a0.fallback;
|
||||
let value = null;
|
||||
let r0 = fallback === undefined ? value : fallback;
|
||||
const documentTitle = a0.documentTitle;
|
||||
const onReady = a0.onReady;
|
||||
let binding = env0_5;
|
||||
const value3 = binding(a0, env0_3);
|
||||
const r11 = linking ? linking.enabled !== false : !!linking;
|
||||
if (value != linking && linking.config) {
|
||||
moduleValue = require(1487) /* metro dependency 1487 */;
|
||||
moduleValue.validatePathConfig(linking.config);
|
||||
}
|
||||
binding = env0_6;
|
||||
const value7 = binding.useRef(value);
|
||||
(importDefault(1566) /* metro dependency 1566 */)(value7);
|
||||
(importDefault(1567) /* metro dependency 1567 */)(value7, documentTitle);
|
||||
const defaultImport = importDefault(1568) /* metro dependency 1568 */;
|
||||
let Object = global.Object;
|
||||
const assign = Object.assign;
|
||||
let object4 = {};
|
||||
object4.independent = value3.independent;
|
||||
object4.enabled = r11;
|
||||
object4.prefixes = [];
|
||||
const getInitialState = defaultImport(value7, Reflect.apply(assign, Object, [object4, linking])).getInitialState;
|
||||
binding.useEffect(_fun17527);
|
||||
const value9 = env0_4((importDefault(1570) /* metro dependency 1570 */)(getInitialState), 2);
|
||||
const property = value9[0];
|
||||
const property2 = value9[1];
|
||||
binding.useImperativeHandle(a1, _fun17529);
|
||||
const value10 = binding.useMemo(function() {
|
||||
return {options: linking};
|
||||
}, [linking]);
|
||||
let r1 = value != value3.initialState || !r11;
|
||||
r1 = !r1 ? property : r1;
|
||||
binding = env0_6;
|
||||
var env0_5 = binding.useRef(onReady);
|
||||
binding.useEffect(_fun17531);
|
||||
binding.useEffect(_fun17532, [r1]);
|
||||
if (r1) {
|
||||
Provider = (importDefault(1562) /* metro dependency 1562 */).Provider;
|
||||
object4 = {value: value10};
|
||||
defaultImport2 = importDefault(1571) /* metro dependency 1571 */;
|
||||
object3 = {value: r10};
|
||||
BaseNavigationContainer = (require(1487) /* metro dependency 1487 */).BaseNavigationContainer;
|
||||
Object = global.Object;
|
||||
value = <Provider {...object4}>{((Component) => <Component {...object3}><BaseNavigationContainer {...Object.assign({},
|
||||
|
||||
value3, {initialState: value == value3.initialState ? property2 : value3.initialState,
|
||||
ref: value7})} /></Component>)(defaultImport2)}</Provider>;
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
function _fun17527() { // fn#17527, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1691:659, offset: 0x00e6f48b, size: 70 bytes, params: 1, frame: 16
|
||||
var REACT_NAVIGATION_DEVTOOLS;
|
||||
var set;
|
||||
var object2;
|
||||
let current = env0_3.current;
|
||||
if (current) {
|
||||
REACT_NAVIGATION_DEVTOOLS = global.REACT_NAVIGATION_DEVTOOLS;
|
||||
set = REACT_NAVIGATION_DEVTOOLS.set;
|
||||
current = env0_3.current;
|
||||
object2 = {};
|
||||
Object.defineProperty(object2, 'linking', {get: _fun17528, set: undefined, enumerable: true,
|
||||
configurable: true});
|
||||
Reflect.apply(set, REACT_NAVIGATION_DEVTOOLS, [current, object2]);
|
||||
}
|
||||
}
|
||||
|
||||
function _fun17529() { // fn#17529, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1691:1178, offset: 0x00e6f5d9, size: 14 bytes, params: 1, frame: 1
|
||||
return env0_3.current;
|
||||
}
|
||||
|
||||
function _fun17532() { // fn#17532, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1691:1365, offset: 0x00e6f60b, size: 42 bytes, params: 1, frame: 10
|
||||
if (env0_4) {
|
||||
if (env0_5.current != null) {
|
||||
env0_5.current();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function _fun17528() { // fn#17528, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1691:722, offset: 0x00e6f4d1, size: 264 bytes, params: 1, frame: 21
|
||||
const Object = global.Object;
|
||||
const assign = Object.assign;
|
||||
const linkingBinding = linking;
|
||||
const object2 = {enabled: env1_2};
|
||||
const linkingBinding2 = linking;
|
||||
const value2 = undefined;
|
||||
object2.prefixes = (linkingBinding2 == null ? value2 : linking.prefixes) ?? [];
|
||||
let getStateFromPath = linking == null ? value2 : linking.getStateFromPath;
|
||||
getStateFromPath = getStateFromPath ?? (require(1487) /* metro dependency 1487 */).getStateFromPath;
|
||||
object2.getStateFromPath = getStateFromPath;
|
||||
let getPathFromState = linking == null ? value2 : linking.getPathFromState;
|
||||
getPathFromState = getPathFromState ?? (require(1487) /* metro dependency 1487 */).getPathFromState;
|
||||
object2.getPathFromState = getPathFromState;
|
||||
let getActionFromState = linking == null ? value2 : linking.getActionFromState;
|
||||
getActionFromState = getActionFromState ?? (require(1487) /* metro dependency 1487 */).getActionFromState;
|
||||
object2.getActionFromState = getActionFromState;
|
||||
return Reflect.apply(assign, Object, [{}, linkingBinding, object2]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user