2026-08-25 06:04:03 +00:00
|
|
|
// Module ID: 9733
|
|
|
|
|
// Function ID: 9734
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: LottieType
|
2026-08-25 06:04:03 +00:00
|
|
|
// Dependencies: [1924, 8335, 9734, 9735, 9736, 9737, 9738, 9739, 9740, 9741, 9742, 9743, 9744, 9745, 9746, 9747, 9748, 9749, 9750, 9751, 9752, 9753, 9754, 9755, 9756, 9757, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: getGiftAnimationData, getLottieType
|
|
|
|
|
|
2026-08-25 06:04:03 +00:00
|
|
|
// Module 9733 (LottieType)
|
2026-08-24 06:08:38 +00:00
|
|
|
import set from "set" /* 2 */;
|
|
|
|
|
import GuildFeatures from "GuildFeatures" /* 1924 */;
|
2026-08-25 06:04:03 +00:00
|
|
|
import _sendGiftMessage from "_sendGiftMessage" /* 8335 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
const PremiumGiftStyles = GuildFeatures.PremiumGiftStyles;
|
2026-07-20 16:05:17 +00:00
|
|
|
const obj = { JSON: 0, [0]: "JSON", LOTTIE: 1, [1]: "LOTTIE" };
|
2026-08-24 06:08:38 +00:00
|
|
|
const result = set.fileFinishedImporting("modules/premium/native/utils/GiftAnimationData.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
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) {
|
2026-08-24 06:08:38 +00:00
|
|
|
if (_sendGiftMessage.AnimationState.IDLE === ACTION) {
|
2026-08-25 06:04:03 +00:00
|
|
|
return tmp17(9734);
|
|
|
|
|
} else if (tmp17(8335).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp17(9735);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-08-25 06:04:03 +00:00
|
|
|
return tmp17(9736);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.CAKE === giftStyle) {
|
2026-08-24 06:08:38 +00:00
|
|
|
if (_sendGiftMessage.AnimationState.IDLE === ACTION) {
|
2026-08-25 06:04:03 +00:00
|
|
|
return tmp15(9737);
|
|
|
|
|
} else if (tmp15(8335).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp15(9738);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-08-25 06:04:03 +00:00
|
|
|
return tmp15(9739);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.CHEST === giftStyle) {
|
2026-08-24 06:08:38 +00:00
|
|
|
if (_sendGiftMessage.AnimationState.IDLE === ACTION) {
|
2026-08-25 06:04:03 +00:00
|
|
|
return tmp13(9740);
|
|
|
|
|
} else if (tmp13(8335).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp13(9741);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-08-25 06:04:03 +00:00
|
|
|
return tmp13(9742);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.COFFEE === giftStyle) {
|
2026-08-24 06:08:38 +00:00
|
|
|
if (_sendGiftMessage.AnimationState.IDLE === ACTION) {
|
2026-08-25 06:04:03 +00:00
|
|
|
return tmp11(9743);
|
|
|
|
|
} else if (tmp11(8335).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp11(9744);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-08-25 06:04:03 +00:00
|
|
|
return tmp11(9745);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.SEASONAL_STANDARD_BOX === giftStyle) {
|
2026-08-24 06:08:38 +00:00
|
|
|
if (_sendGiftMessage.AnimationState.IDLE === ACTION) {
|
2026-08-25 06:04:03 +00:00
|
|
|
return tmp9(9746);
|
|
|
|
|
} else if (tmp9(8335).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp9(9747);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-08-25 06:04:03 +00:00
|
|
|
return tmp9(9748);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.SEASONAL_CAKE === giftStyle) {
|
2026-08-24 06:08:38 +00:00
|
|
|
if (_sendGiftMessage.AnimationState.IDLE === ACTION) {
|
2026-08-25 06:04:03 +00:00
|
|
|
return tmp7(9749);
|
|
|
|
|
} else if (tmp7(8335).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp7(9750);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-08-25 06:04:03 +00:00
|
|
|
return tmp7(9751);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.SEASONAL_CHEST === giftStyle) {
|
2026-08-24 06:08:38 +00:00
|
|
|
if (_sendGiftMessage.AnimationState.IDLE === ACTION) {
|
2026-08-25 06:04:03 +00:00
|
|
|
return tmp5(9752);
|
|
|
|
|
} else if (tmp5(8335).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp5(9753);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-08-25 06:04:03 +00:00
|
|
|
return tmp5(9754);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.SEASONAL_COFFEE === giftStyle) {
|
2026-08-24 06:08:38 +00:00
|
|
|
if (_sendGiftMessage.AnimationState.IDLE === ACTION) {
|
2026-08-25 06:04:03 +00:00
|
|
|
return tmp3(9755);
|
|
|
|
|
} else if (tmp3(8335).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp3(9756);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-08-25 06:04:03 +00:00
|
|
|
return tmp3(9757);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
} else {
|
2026-07-29 08:29:29 +00:00
|
|
|
if (tmp.SNOWGLOBE !== giftStyle) {
|
|
|
|
|
if (tmp.BOX !== giftStyle) {
|
|
|
|
|
const CUP = tmp.CUP;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
const _Error = Error;
|
|
|
|
|
throw Error();
|
|
|
|
|
}
|
|
|
|
|
};
|