Files
discord-decomp/_bundle/Module5509.js
T
2026-11-01 12:12:55 +02:00

72 lines
1.8 KiB
JavaScript

// Metro module 5509 (f5510).
import { ConditionallyIgnoredEventHandlers } from "./Module106";
import { get } from "./Module65";
import { dispatchCommand } from "./Module114";
let c3383_2 = {
uiViewClassName: "LottieAnimationView",
bubblingEventTypes: {
topAnimationFinish: {
phasedRegistrationNames: {
captured: "onAnimationFinishCapture",
bubbled: "onAnimationFinish"
}
},
topAnimationFailure: {
phasedRegistrationNames: {
captured: "onAnimationFailureCapture",
bubbled: "onAnimationFailure"
}
},
topAnimationLoaded: {
phasedRegistrationNames: {
captured: "onAnimationLoadedCapture",
bubbled: "onAnimationLoaded"
}
}
},
validAttributes: {
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,
...ConditionallyIgnoredEventHandlers({
onAnimationFinish: true,
onAnimationFailure: true,
onAnimationLoaded: true
})
}
};
const r33 = get("LottieAnimationView", () => c3383_2);
const r35 = {
play: (a0, a1, a2) => {
dispatchCommand(a0, "play", [a1, a2]);
},
reset: (a0) => {
dispatchCommand(a0, "reset", []);
},
pause: (a0) => {
dispatchCommand(a0, "pause", []);
},
resume: (a0) => {
dispatchCommand(a0, "resume", []);
}
};
export default r33;
export { c3383_2 as __INTERNAL_VIEW_CONFIG };
export { r35 as Commands };