// Module ID: 9637 // Function ID: 9638 // Name: LottieType // Dependencies: [1924, 8334, 9638, 9639, 9640, 9641, 9642, 9643, 9644, 9645, 9646, 9647, 9648, 9649, 9650, 9651, 9652, 9653, 9654, 9655, 9656, 9657, 9658, 9659, 9660, 9661, 2] // Exports: getGiftAnimationData, getLottieType // Module 9637 (LottieType) import set from "set" /* 2 */; import GuildFeatures from "GuildFeatures" /* 1924 */; import _sendGiftMessage from "_sendGiftMessage" /* 8334 */; const PremiumGiftStyles = GuildFeatures.PremiumGiftStyles; const obj = { JSON: 0, [0]: "JSON", LOTTIE: 1, [1]: "LOTTIE" }; const result = set.fileFinishedImporting("modules/premium/native/utils/GiftAnimationData.tsx"); export const LottieType = obj; export const getLottieType = function getLottieType(giftStyle) { if (giftStyle === PremiumGiftStyles.NITROWEEN_STANDARD) { let _JSON = obj.LOTTIE; } else { _JSON = obj.JSON; } return _JSON; }; export const getGiftAnimationData = function getGiftAnimationData(giftStyle, ACTION) { if (PremiumGiftStyles.STANDARD_BOX === giftStyle) { if (_sendGiftMessage.AnimationState.IDLE === ACTION) { return tmp17(9638); } else if (tmp17(8334).AnimationState.LOOP === ACTION) { return tmp17(9639); } else { return tmp17(9640); } } else if (tmp.CAKE === giftStyle) { if (_sendGiftMessage.AnimationState.IDLE === ACTION) { return tmp15(9641); } else if (tmp15(8334).AnimationState.LOOP === ACTION) { return tmp15(9642); } else { return tmp15(9643); } } else if (tmp.CHEST === giftStyle) { if (_sendGiftMessage.AnimationState.IDLE === ACTION) { return tmp13(9644); } else if (tmp13(8334).AnimationState.LOOP === ACTION) { return tmp13(9645); } else { return tmp13(9646); } } else if (tmp.COFFEE === giftStyle) { if (_sendGiftMessage.AnimationState.IDLE === ACTION) { return tmp11(9647); } else if (tmp11(8334).AnimationState.LOOP === ACTION) { return tmp11(9648); } else { return tmp11(9649); } } else if (tmp.SEASONAL_STANDARD_BOX === giftStyle) { if (_sendGiftMessage.AnimationState.IDLE === ACTION) { return tmp9(9650); } else if (tmp9(8334).AnimationState.LOOP === ACTION) { return tmp9(9651); } else { return tmp9(9652); } } else if (tmp.SEASONAL_CAKE === giftStyle) { if (_sendGiftMessage.AnimationState.IDLE === ACTION) { return tmp7(9653); } else if (tmp7(8334).AnimationState.LOOP === ACTION) { return tmp7(9654); } else { return tmp7(9655); } } else if (tmp.SEASONAL_CHEST === giftStyle) { if (_sendGiftMessage.AnimationState.IDLE === ACTION) { return tmp5(9656); } else if (tmp5(8334).AnimationState.LOOP === ACTION) { return tmp5(9657); } else { return tmp5(9658); } } else if (tmp.SEASONAL_COFFEE === giftStyle) { if (_sendGiftMessage.AnimationState.IDLE === ACTION) { return tmp3(9659); } else if (tmp3(8334).AnimationState.LOOP === ACTION) { return tmp3(9660); } else { return tmp3(9661); } } else { if (tmp.SNOWGLOBE !== giftStyle) { if (tmp.BOX !== giftStyle) { const CUP = tmp.CUP; } } const _Error = Error; throw Error(); } };