Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,151 @@
|
||||
/* Metro module 14935; source: modules/launch_welcome/native/LaunchWelcomeNuxContainer.tsx; dependencies: [31, 27, 7607, 33, 4017, 4501, 697, 4559, 1478, 14934, 4048, 4577, 4563, 4573, 1244, 2] */
|
||||
function _fun112954(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#112954, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15132:6, offset: 0x023e304a, size: 522 bytes, params: 8, frame: 23
|
||||
var object2;
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importAll(31) /* metro dependency 31 */;
|
||||
let value = require(27) /* metro dependency 27 */;
|
||||
const Pressable = value.Pressable;
|
||||
const env0_4 = value.StyleSheet;
|
||||
const env0_5 = value.View;
|
||||
const env0_6 = (require(7607) /* metro dependency 7607: MainTabsConstants */).MODE_CHANGE_PHYSICS;
|
||||
value = require(33) /* metro dependency 33 */;
|
||||
const env0_7 = value.jsx;
|
||||
const env0_8 = value.jsxs;
|
||||
const env0_9 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).createAnimatedComponent(Pressable);
|
||||
const env0_10 = {'mass': 1, 'stiffness': 392, 'damping': 12.9};
|
||||
const env0_11 = {'mass': 1, 'stiffness': 169, 'damping': 17.4};
|
||||
value = require(4501) /* metro dependency 4501: createStyles */;
|
||||
const createStyles = value.createStyles;
|
||||
object2 = {};
|
||||
object2.copyContainer = {alignItems: 'center'};
|
||||
let TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.TEXT_DEFAULT;
|
||||
object2.nuxTitle = {color: TEXT_DEFAULT};
|
||||
TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.TEXT_DEFAULT;
|
||||
object2.nuxSubtitle = {color: TEXT_DEFAULT, opacity: 0.5};
|
||||
const object3 = {};
|
||||
const PX_12 = (importDefault(697) /* metro dependency 697: native */).space.PX_12;
|
||||
object3.marginVertical = PX_12;
|
||||
object3.width = 1;
|
||||
TEXT_DEFAULT = (importDefault(697) /* metro dependency 697: native */).colors.TEXT_DEFAULT;
|
||||
object3.backgroundColor = TEXT_DEFAULT;
|
||||
object2.line = object3;
|
||||
object2.backdrop = {'flex': 1, 'justifyContent': 'flex-end'};
|
||||
const env0_12 = Reflect.apply(createStyles, value, [object2]);
|
||||
object2 = {code: "function LaunchWelcomeNuxContainerTsx1(){const{withSpring,isNuxVisible,isTabsVisible,MODE_CHANGE_PHYSICS,isScreenReaderEnabled}=this.__closure;return{opacity:withSpring(isNuxVisible&&isTabsVisible?1:0,MODE_CHANGE_PHYSICS,'animate-always'),display:isScreenReaderEnabled&&!isNuxVisible?'none':undefined};}"};
|
||||
object2 = {code: 'function LaunchWelcomeNuxContainerTsx2(){const{LINE_HEIGHT,animation}=this.__closure;return{height:LINE_HEIGHT+animation.get()};}'};
|
||||
object2 = {code: "function LaunchWelcomeNuxContainerTsx3(){const{withSpring,isTabsVisible,isNuxVisible,MODE_CHANGE_PHYSICS}=this.__closure;return{blurAmount:withSpring(isTabsVisible&&isNuxVisible?0.3:0,MODE_CHANGE_PHYSICS,'animate-always')};}"};
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/launch_welcome/native/LaunchWelcomeNuxContainer.tsx');
|
||||
exports.default = LaunchWelcomeNuxContainer;
|
||||
}
|
||||
|
||||
function LaunchWelcomeNuxContainer({descriptors, isTabsVisible}) { // fn#112955, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15132:1424, offset: 0x023e3254, size: 992 bytes, params: 2, frame: 32
|
||||
var object2;
|
||||
const styles = useStyles();
|
||||
const value2 = (require(4559) /* metro dependency 4559: useIsScreenReaderEnabledNative */).useIsScreenReaderEnabled();
|
||||
const width = (importDefault(1478) /* metro dependency 1478: useWindowDimensionsNative */)().width;
|
||||
const value3 = (require(14934) /* metro dependency 14934: useLaunchWelcomeNux */).useLaunchWelcomeNuxVisible();
|
||||
const isNuxVisible = value3.isNuxVisible;
|
||||
const env0_3 = value3.setNuxVisible;
|
||||
const value4 = (importDefault(4048) /* metro dependency 4048: useTheme */)();
|
||||
const value5 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(0);
|
||||
let binding = env0_3;
|
||||
binding.useEffect(_fun112956, [value5]);
|
||||
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
|
||||
let useAnimatedStyle = reanimatedRexportModule.useAnimatedStyle;
|
||||
let closure = LaunchWelcomeNuxContainerA;
|
||||
object2 = {withSpring: (require(4577) /* metro dependency 4577: spring */).withSpring, isNuxVisible: isNuxVisible,
|
||||
isTabsVisible: isTabsVisible};
|
||||
object2.MODE_CHANGE_PHYSICS = MODE_CHANGE_PHYSICS;
|
||||
object2.isScreenReaderEnabled = value2;
|
||||
closure.__closure = object2;
|
||||
closure.__workletHash = 60937156682;
|
||||
closure.__initData = env0_13;
|
||||
const value6 = Reflect.apply(useAnimatedStyle, reanimatedRexportModule, [closure]);
|
||||
const moduleValue5 = reanimatedRexportModule;
|
||||
useAnimatedStyle = moduleValue5.useAnimatedStyle;
|
||||
closure = LaunchWelcomeNuxContainerD;
|
||||
closure.__closure = {LINE_HEIGHT: 79, animation: value5};
|
||||
closure.__workletHash = 12238304514300;
|
||||
closure.__initData = env0_14;
|
||||
const value7 = Reflect.apply(useAnimatedStyle, moduleValue5, [closure]);
|
||||
const moduleValue6 = reanimatedRexportModule;
|
||||
const useAnimatedProps = moduleValue6.useAnimatedProps;
|
||||
closure = function() {
|
||||
var moduleValue = require(dependencyMap[11]);
|
||||
return {blurAmount: moduleValue.withSpring(isTabsVisible && isNuxVisible ? 0.3 : 0, MODE_CHANGE_PHYSICS,
|
||||
'animate-always')};
|
||||
};
|
||||
closure.__closure = {withSpring: (require(4577) /* metro dependency 4577: spring */).withSpring,
|
||||
isTabsVisible: isTabsVisible, isNuxVisible: isNuxVisible, MODE_CHANGE_PHYSICS: MODE_CHANGE_PHYSICS};
|
||||
closure.__workletHash = 13587467032843;
|
||||
closure.__initData = env0_15;
|
||||
const value8 = Reflect.apply(useAnimatedProps, moduleValue6, [closure]);
|
||||
const Object = global.Object;
|
||||
const length = Object.keys(descriptors).length;
|
||||
if (length <= 3) {
|
||||
return null;
|
||||
}
|
||||
closure = function() {
|
||||
setNuxVisible(false);
|
||||
};
|
||||
binding = env0_9;
|
||||
const items4 = [StyleSheet.absoluteFill, value6];
|
||||
const r5 = isNuxVisible && isTabsVisible ? 'auto' : 'none';
|
||||
const VisualEffectViewAnimated = importDefault(4563) /* metro dependency 4563: VisualEffectViewAnimated */;
|
||||
const items2 = [styles.copyContainer];
|
||||
items2[1] = {marginRight: width * (length - 3) / length};
|
||||
const Text = (require(4573) /* metro dependency 4573: Text */).Text;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
const string = intl.string;
|
||||
const MdrITN = (require(1244) /* metro dependency 1244: indexNative */).t.MdrITN;
|
||||
const items3 = [<Text style={styles.nuxTitle} variant="text-md/semibold">{Reflect.apply(string, intl,
|
||||
[MdrITN])}</Text>];
|
||||
items3[1] = <Text style={styles.nuxSubtitle} variant="heading-sm/medium">{intl.string((require(1244) /* metro dependency 1244: indexNative */).t.lfpjfT)}</Text>;
|
||||
const View2 = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).View;
|
||||
items3[2] = <View2 style={[styles.line, value7]} />;
|
||||
return ((Component) => <Component style={items4} pointerEvents={r5} onPressIn={closure} onPress={closure}><VisualEffectViewAnimated blurTheme={value4} blurStyle="ultra-thin" style={styles.backdrop} animatedProps={value8}><View style={items2}>{items3}</View></VisualEffectViewAnimated></Component>)(binding);
|
||||
}
|
||||
|
||||
function _fun112956() { // fn#112956, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15132:1685, offset: 0x023e3634, size: 204 bytes, params: 1, frame: 29
|
||||
var environment;
|
||||
const binding = env0_4;
|
||||
const set = binding.set;
|
||||
const value = environment.__proto__;
|
||||
const reanimatedRexportModule = require(4017) /* metro dependency 4017: ReanimatedRexport */;
|
||||
const withRepeat = reanimatedRexportModule.withRepeat;
|
||||
const moduleValue2 = reanimatedRexportModule;
|
||||
const withSequence = moduleValue2.withSequence;
|
||||
const moduleValue3 = reanimatedRexportModule;
|
||||
let withDelay = moduleValue3.withDelay;
|
||||
const springModule = require(4577) /* metro dependency 4577: spring */;
|
||||
const value3 = Reflect.apply(withDelay, moduleValue3, [2000, springModule.withSpring(8, env1_10, 'animate-always')]);
|
||||
const moduleValue5 = reanimatedRexportModule;
|
||||
withDelay = moduleValue5.withDelay;
|
||||
const moduleValue6 = springModule;
|
||||
Reflect.apply(set, binding, [Reflect.apply(withRepeat, reanimatedRexportModule, [Reflect.apply(withSequence,
|
||||
moduleValue2, [value3, Reflect.apply(withDelay, moduleValue5, [2000, moduleValue6.withSpring(0, env1_11,
|
||||
'animate-always')])]), -1])]);
|
||||
return _fun112957;
|
||||
}
|
||||
|
||||
function LaunchWelcomeNuxContainerA() { // fn#112958, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15132:1951, owner: LaunchWelcomeNuxContainer.A, offset: 0x023e372d, size: 106 bytes, params: 1, frame: 19
|
||||
const value = environment.__proto__;
|
||||
const value2 = undefined;
|
||||
const springModule = require(4577) /* metro dependency 4577: spring */;
|
||||
return {opacity: springModule.withSpring(isNuxVisible && isTabsVisible ? 1 : 0, MODE_CHANGE_PHYSICS,
|
||||
'animate-always'), display: env0_1 ? isNuxVisible ? value2 : 'none' : value2};
|
||||
}
|
||||
|
||||
function LaunchWelcomeNuxContainerD() { // fn#112959, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15132:2255, owner: LaunchWelcomeNuxContainer.D, offset: 0x023e3797, size: 31 bytes, params: 1, frame: 10
|
||||
const object2 = {};
|
||||
object2.height = 79 + env0_4.get();
|
||||
return object2;
|
||||
}
|
||||
|
||||
function _fun112957() { // fn#112957, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15132:1872, offset: 0x023e3700, size: 45 bytes, params: 1, frame: 11
|
||||
const value = environment.__proto__.__proto__;
|
||||
return (require(4017) /* metro dependency 4017: ReanimatedRexport */).cancelAnimation(env1_4);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,30 @@
|
||||
/* Metro module 14934; source: modules/launch_welcome/native/useLaunchWelcomeNux.tsx; dependencies: [31, 629, 690, 2] */
|
||||
function _fun112948(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#112948, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15131:6, offset: 0x023e2f0a, size: 147 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importAll(31) /* metro dependency 31 */;
|
||||
const env0_3 = (require(629) /* metro dependency 629 */).create(function() {
|
||||
return {isNuxVisible: false};
|
||||
});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/launch_welcome/native/useLaunchWelcomeNux.tsx');
|
||||
exports.useLaunchWelcomeNuxVisible = useLaunchWelcomeNuxVisible;
|
||||
}
|
||||
|
||||
function useLaunchWelcomeNuxVisible() { // fn#112950, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15131:266, offset: 0x023e2fa8, size: 63 bytes, params: 1, frame: 14
|
||||
return {isNuxVisible: env0_3(function(a0) {
|
||||
return a0.isNuxVisible;
|
||||
}), setNuxVisible: env0_2.useCallback(_fun112952, [])};
|
||||
}
|
||||
|
||||
function _fun112952(a0) { // fn#112952, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15131:350, offset: 0x023e2ff2, size: 54 bytes, params: 2, frame: 12
|
||||
var environment;
|
||||
const env0_0 = a0;
|
||||
const value = environment.__proto__;
|
||||
return (require(690) /* metro dependency 690: ReactBatchUpdatesNative */).batchUpdates(_fun112953);
|
||||
}
|
||||
|
||||
function _fun112953() { // fn#112953, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15131:375, offset: 0x023e3028, size: 34 bytes, params: 1, frame: 12
|
||||
return env2_3.setState({isNuxVisible: env0_0});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user