51 lines
2.8 KiB
TypeScript
51 lines
2.8 KiB
TypeScript
/* Metro module 14084; source: modules/collectibles/native/CollectiblesProgressiveImage.tsx; dependencies: [31, 27, 33, 4017, 4504, 2] */
|
|
function _fun106716(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#106716, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14281:6, offset: 0x022e8012, size: 169 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
importAll(31) /* metro dependency 31 */;
|
|
const value = require(27) /* metro dependency 27 */;
|
|
const env0_3 = value.View;
|
|
const env0_4 = value.StyleSheet;
|
|
const env0_5 = (require(33) /* metro dependency 33 */).jsx;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/collectibles/native/CollectiblesProgressiveImage.tsx');
|
|
exports.CollectiblesProgressiveImage = CollectiblesProgressiveImage;
|
|
}
|
|
|
|
function CollectiblesProgressiveImage(a0) { // fn#106717, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14281:277, offset: 0x022e80bb, size: 204 bytes, params: 2, frame: 22
|
|
const source = a0.source;
|
|
const style = a0.style;
|
|
const value = Object.create(null);
|
|
value.source = 0;
|
|
value.style = 0;
|
|
const value2 = copyDataProperties({}, a0, value, undefined);
|
|
const value4 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).useSharedValue(0);
|
|
const Image = (importDefault(4017) /* metro dependency 4017: ReanimatedRexport */).Image;
|
|
const imageProps = {...value2};
|
|
imageProps['source'] = source;
|
|
const object = {};
|
|
copyDataProperties(object, StyleSheet.absoluteFillObject, value);
|
|
object['opacity'] = value4;
|
|
imageProps['style'] = object;
|
|
imageProps['onLoad'] = CollectiblesProgressiveImageOnLoad;
|
|
return (
|
|
<View style={style}>
|
|
<Image {...imageProps} />
|
|
</View>
|
|
);
|
|
}
|
|
|
|
function CollectiblesProgressiveImageOnLoad() { // fn#106718, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14281:481, owner: CollectiblesProgressiveImage.onLoad, offset: 0x022e8187, size: 125 bytes, params: 1, frame: 20
|
|
const binding = env0_0;
|
|
const set = binding.set;
|
|
let value = environment.__proto__;
|
|
value = require(4504) /* metro dependency 4504: timing */;
|
|
const withTiming = value.withTiming;
|
|
const Easing = (require(4017) /* metro dependency 4017: ReanimatedRexport */).Easing;
|
|
const inOut = Easing.inOut;
|
|
const Easing2 = (require(4017) /* metro dependency 4017: ReanimatedRexport */).Easing;
|
|
Reflect.apply(set, binding, [Reflect.apply(withTiming, value, [1, {duration: 500, easing: Reflect.apply(inOut,
|
|
Easing, [Easing2.ease])}])]);
|
|
}
|
|
|