45 lines
2.9 KiB
React
45 lines
2.9 KiB
React
/* Metro module 6763; source: unknown; dependencies: [110, 42, 117] */
|
|
function _fun53287(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53287, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6941:6, offset: 0x013445b3, size: 323 bytes, params: 8, frame: 22
|
|
var object2;
|
|
const env0_0 = require;
|
|
let Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
object2 = {uiViewClassName: 'LottieAnimationView'};
|
|
object2.bubblingEventTypes = {topAnimationFinish: {phasedRegistrationNames: {'captured': 'onAnimationFinishCapture',
|
|
'bubbled': 'onAnimationFinish'}},
|
|
topAnimationFailure: {phasedRegistrationNames: {'captured': 'onAnimationFailureCapture',
|
|
'bubbled': 'onAnimationFailure'}},
|
|
topAnimationLoaded: {phasedRegistrationNames: {'captured': 'onAnimationLoadedCapture',
|
|
'bubbled': 'onAnimationLoaded'}}};
|
|
Object = global.Object;
|
|
const assign = Object.assign;
|
|
let value = require(110) /* metro dependency 110 */;
|
|
value = value.ConditionallyIgnoredEventHandlers({'onAnimationFinish': true, 'onAnimationFailure': true,
|
|
'onAnimationLoaded': true});
|
|
object2.validAttributes = Reflect.apply(assign, Object, [{'resizeMode': true, 'renderMode': true,
|
|
'sourceName': true, 'sourceJson': true, 'sourceURL': true, 'sourceDotLottieURI': true,
|
|
'imageAssetsFolder': true, 'progress': true, 'speed': true, 'loop': true, 'autoPlay': true,
|
|
'enableMergePathsAndroidForKitKatAndAbove': true, 'enableSafeModeAndroid': true,
|
|
'hardwareAccelerationAndroid': true, 'cacheComposition': true, 'colorFilters': true, 'dummy': true,
|
|
'textFiltersAndroid': true, 'textFiltersIOS': true}, value]);
|
|
value = require(42) /* metro dependency 42 */;
|
|
value = value.get('LottieAnimationView', _fun53288);
|
|
const object3 = {play: play, reset: reset_53290, pause: pause, resume: resume};
|
|
exports.default = value;
|
|
exports.__INTERNAL_VIEW_CONFIG = object2;
|
|
exports.Commands = object3;
|
|
}
|
|
|
|
function play(a0, a1, a2) { // fn#53289, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6941:1043, offset: 0x013446f6, size: 65 bytes, params: 4, frame: 16
|
|
(require(117) /* metro dependency 117 */).dispatchCommand(a0, 'play', [a1, a2]);
|
|
}
|
|
|
|
function reset_53290(a0) { // fn#53290, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6941:1111, offset: 0x01344737, size: 51 bytes, params: 2, frame: 16
|
|
(require(117) /* metro dependency 117 */).dispatchCommand(a0, 'reset', []);
|
|
}
|
|
|
|
function resume(a0) { // fn#53292, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:6941:1238, offset: 0x0134479d, size: 51 bytes, params: 2, frame: 16
|
|
(require(117) /* metro dependency 117 */).dispatchCommand(a0, 'resume', []);
|
|
}
|
|
|