Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,10 @@
|
||||
/* Metro module 4506; source: design/animation/reanimated/AccessibilityPreferencesSharedValue.native.tsx; dependencies: [4017, 2] */
|
||||
function _fun38551(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38551, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4684:6, offset: 0x010c2ef4, size: 115 bytes, params: 8, frame: 17
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
let value = require(4017) /* metro dependency 4017: ReanimatedRexport */;
|
||||
value = value.makeMutable({'reduceMotion': false, 'prefersCrossfades': false, 'screenReaderEnabled': false});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/animation/reanimated/AccessibilityPreferencesSharedValue.native.tsx');
|
||||
exports.accessibilityPreferencesSharedValue = value;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
/* Metro module 4505; source: design/animation/reanimated/ReanimatedConstants.tsx; dependencies: [4017, 2] */
|
||||
function _fun38550(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38550, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4683:6, offset: 0x010c2e68, size: 140 bytes, params: 8, frame: 18
|
||||
var object3;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
object3 = {duration: 1};
|
||||
const ReduceMotion = (require(4017) /* metro dependency 4017: ReanimatedRexport */).ReduceMotion;
|
||||
const Always = ReduceMotion.Always;
|
||||
object3.reduceMotion = Always;
|
||||
const object4 = {};
|
||||
copyDataProperties(object4, object3, undefined);
|
||||
object4['reduceMotion'] = undefined;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/animation/reanimated/ReanimatedConstants.tsx');
|
||||
exports.CONFIG_NEVER_ANIMATE = object3;
|
||||
exports.CONFIG_NEVER_ANIMATE_TIMING = object4;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/* Metro module 4577; source: design/animation/reanimated/spring/spring.tsx; dependencies: [4505, 4506, 4017, 2] */
|
||||
function _fun38834(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38834, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4755:6, offset: 0x010cc8b8, size: 135 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = (require(4505) /* metro dependency 4505: ReanimatedConstants */).CONFIG_NEVER_ANIMATE;
|
||||
object = {code: "function withSpring_springTsx1(toValue,config,shouldAnimate='respect-motion-settings',callback){const{accessibilityPreferencesSharedValue,CONFIG_NEVER_ANIMATE,ReduceMotion,REAwithSpring}=this.__closure;const reducedMotionEnabled=accessibilityPreferencesSharedValue.get().reduceMotion;const animate=shouldAnimate==='animate-always'||shouldAnimate==='respect-motion-settings'&&!reducedMotionEnabled;const configForRea=!animate?CONFIG_NEVER_ANIMATE:shouldAnimate==='animate-always'?{...(config!==null&&config!==void 0?config:{}),reduceMotion:ReduceMotion.Never}:config;return REAwithSpring(toValue,configForRea,callback);}"};
|
||||
const value = _fun38835();
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/animation/reanimated/spring/spring.tsx');
|
||||
exports.withSpring = value;
|
||||
}
|
||||
|
||||
function _fun38835() { // fn#38835, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4755:760, offset: 0x010cc93f, size: 132 bytes, params: 1, frame: 16
|
||||
const closure = withSpring_38836;
|
||||
const object2 = {};
|
||||
object2.accessibilityPreferencesSharedValue = (require(4506) /* metro dependency 4506: AccessibilityPreferencesSharedValueNative */).accessibilityPreferencesSharedValue;
|
||||
object2.CONFIG_NEVER_ANIMATE = CONFIG_NEVER_ANIMATE;
|
||||
const ReduceMotion = (require(4017) /* metro dependency 4017: ReanimatedRexport */).ReduceMotion;
|
||||
object2.ReduceMotion = ReduceMotion;
|
||||
object2.REAwithSpring = (require(4017) /* metro dependency 4017: ReanimatedRexport */).withSpring;
|
||||
closure.__closure = object2;
|
||||
closure.__workletHash = 14783154107972;
|
||||
closure.__initData = env0_3;
|
||||
return closure;
|
||||
}
|
||||
|
||||
function withSpring_38836(a0, a1) { // fn#38836, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4755:786, offset: 0x010cc9c3, size: 210 bytes, params: 3, frame: 18
|
||||
var r1;
|
||||
var r4;
|
||||
var object2;
|
||||
const ReduceMotion = (require(4017) /* metro dependency 4017: ReanimatedRexport */).ReduceMotion;
|
||||
const value = a1;
|
||||
const value2 = a2;
|
||||
const r5 = value2 !== undefined ? value2 : 'respect-motion-settings';
|
||||
const accessibilityPreferencesSharedValue = (require(4506) /* metro dependency 4506: AccessibilityPreferencesSharedValueNative */).accessibilityPreferencesSharedValue;
|
||||
const get = accessibilityPreferencesSharedValue.get;
|
||||
const reduceMotion = Reflect.apply(get, accessibilityPreferencesSharedValue, []).reduceMotion;
|
||||
const value5 = r5 === 'animate-always';
|
||||
if (value5) {
|
||||
if (value5) {
|
||||
object2 = {};
|
||||
copyDataProperties(object2, value ?? ({}), undefined);
|
||||
object2['reduceMotion'] = ReduceMotion.Never;
|
||||
r1 = object2;
|
||||
} else {
|
||||
r1 = value;
|
||||
}
|
||||
r4 = r1;
|
||||
} else if (r5 !== 'respect-motion-settings') {
|
||||
r4 = CONFIG_NEVER_ANIMATE;
|
||||
} else if (reduceMotion) {
|
||||
r4 = CONFIG_NEVER_ANIMATE;
|
||||
} else {
|
||||
if (value5) {
|
||||
object2 = {};
|
||||
copyDataProperties(object2, value ?? ({}), undefined);
|
||||
object2['reduceMotion'] = ReduceMotion.Never;
|
||||
r1 = object2;
|
||||
} else {
|
||||
r1 = value;
|
||||
}
|
||||
r4 = r1;
|
||||
}
|
||||
return (require(4017) /* metro dependency 4017: ReanimatedRexport */).withSpring(a0, r4, a3);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
/* Metro module 4581; source: design/animation/reanimated/spring/springPresets.tsx; dependencies: [2] */
|
||||
function _fun38861(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38861, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4759:6, offset: 0x010cde19, size: 188 bytes, params: 8, frame: 15
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/animation/reanimated/spring/springPresets.tsx');
|
||||
exports.SUBTLE_SPRING = {'mass': 1, 'damping': 27, 'stiffness': 300};
|
||||
exports.ON_PRESS_SPRING = {'mass': 1, 'overshootClamping': true, 'damping': 27, 'stiffness': 300};
|
||||
exports.springSlow = {'mass': 1, 'damping': 30, 'stiffness': 380};
|
||||
exports.springUnclamped = {'mass': 0.35, 'damping': 13, 'stiffness': 250};
|
||||
exports.springUnclampedBounce = {'mass': 0.3, 'damping': 13, 'stiffness': 250};
|
||||
exports.springStandard = {'mass': 0.35, 'damping': 13, 'stiffness': 250, 'overshootClamping': true};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,66 @@
|
||||
/* Metro module 4504; source: design/animation/reanimated/timing/timing.tsx; dependencies: [4505, 4506, 4017, 2] */
|
||||
function _fun38547(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38547, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4682:6, offset: 0x010c2c8b, size: 135 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = (require(4505) /* metro dependency 4505: ReanimatedConstants */).CONFIG_NEVER_ANIMATE_TIMING;
|
||||
object = {code: "function withTiming_timingTsx1(toValue,config,shouldAnimate='respect-motion-settings',callback){const{accessibilityPreferencesSharedValue,CONFIG_NEVER_ANIMATE_TIMING,ReduceMotion,REAwithTiming}=this.__closure;const reducedMotionEnabled=accessibilityPreferencesSharedValue.get().reduceMotion;const animate=shouldAnimate==='animate-always'||shouldAnimate==='respect-motion-settings'&&!reducedMotionEnabled;const configForRea=!animate?CONFIG_NEVER_ANIMATE_TIMING:shouldAnimate==='animate-always'?{...(config!==null&&config!==void 0?config:{}),reduceMotion:ReduceMotion.Never}:config;return REAwithTiming(toValue,configForRea,callback);}"};
|
||||
const value = _fun38548();
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/animation/reanimated/timing/timing.tsx');
|
||||
exports.withTiming = value;
|
||||
}
|
||||
|
||||
function _fun38548() { // fn#38548, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4682:781, offset: 0x010c2d12, size: 132 bytes, params: 1, frame: 16
|
||||
const closure = withTiming_38549;
|
||||
const object2 = {};
|
||||
object2.accessibilityPreferencesSharedValue = (require(4506) /* metro dependency 4506: AccessibilityPreferencesSharedValueNative */).accessibilityPreferencesSharedValue;
|
||||
object2.CONFIG_NEVER_ANIMATE_TIMING = CONFIG_NEVER_ANIMATE_TIMING;
|
||||
const ReduceMotion = (require(4017) /* metro dependency 4017: ReanimatedRexport */).ReduceMotion;
|
||||
object2.ReduceMotion = ReduceMotion;
|
||||
object2.REAwithTiming = (require(4017) /* metro dependency 4017: ReanimatedRexport */).withTiming;
|
||||
closure.__closure = object2;
|
||||
closure.__workletHash = 6710776253444;
|
||||
closure.__initData = env0_3;
|
||||
return closure;
|
||||
}
|
||||
|
||||
function withTiming_38549(a0, a1) { // fn#38549, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4682:807, offset: 0x010c2d96, size: 210 bytes, params: 3, frame: 18
|
||||
var r1;
|
||||
var r4;
|
||||
var object2;
|
||||
const ReduceMotion = (require(4017) /* metro dependency 4017: ReanimatedRexport */).ReduceMotion;
|
||||
const value = a1;
|
||||
const value2 = a2;
|
||||
const r5 = value2 !== undefined ? value2 : 'respect-motion-settings';
|
||||
const accessibilityPreferencesSharedValue = (require(4506) /* metro dependency 4506: AccessibilityPreferencesSharedValueNative */).accessibilityPreferencesSharedValue;
|
||||
const get = accessibilityPreferencesSharedValue.get;
|
||||
const reduceMotion = Reflect.apply(get, accessibilityPreferencesSharedValue, []).reduceMotion;
|
||||
const value5 = r5 === 'animate-always';
|
||||
if (value5) {
|
||||
if (value5) {
|
||||
object2 = {};
|
||||
copyDataProperties(object2, value ?? ({}), undefined);
|
||||
object2['reduceMotion'] = ReduceMotion.Never;
|
||||
r1 = object2;
|
||||
} else {
|
||||
r1 = value;
|
||||
}
|
||||
r4 = r1;
|
||||
} else if (r5 !== 'respect-motion-settings') {
|
||||
r4 = CONFIG_NEVER_ANIMATE_TIMING;
|
||||
} else if (reduceMotion) {
|
||||
r4 = CONFIG_NEVER_ANIMATE_TIMING;
|
||||
} else {
|
||||
if (value5) {
|
||||
object2 = {};
|
||||
copyDataProperties(object2, value ?? ({}), undefined);
|
||||
object2['reduceMotion'] = ReduceMotion.Never;
|
||||
r1 = object2;
|
||||
} else {
|
||||
r1 = value;
|
||||
}
|
||||
r4 = r1;
|
||||
}
|
||||
return (require(4017) /* metro dependency 4017: ReanimatedRexport */).withTiming(a0, r4, a3);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
/* Metro module 4507; source: design/animation/reanimated/timing/timingPresets.tsx; dependencies: [2] */
|
||||
function _fun38552(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38552, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4685:6, offset: 0x010c2f67, size: 168 bytes, params: 8, frame: 22
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/animation/reanimated/timing/timingPresets.tsx');
|
||||
exports.timingNone = {duration: 0};
|
||||
exports.timingInstant = {duration: 1};
|
||||
exports.timingSlowDuration = 600;
|
||||
exports.timingSlow = {duration: 600};
|
||||
exports.timingStandardDuration = 300;
|
||||
exports.timingStandard = {duration: 300};
|
||||
exports.timingFastDuration = 100;
|
||||
exports.timingFast = {duration: 100};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user