2026-08-24 06:08:38 +00:00
|
|
|
// Module ID: 9637
|
|
|
|
|
// Function ID: 9638
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: LottieType
|
2026-08-24 06:08:38 +00:00
|
|
|
// 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]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: getGiftAnimationData, getLottieType
|
|
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
// Module 9637 (LottieType)
|
|
|
|
|
import set from "set" /* 2 */;
|
|
|
|
|
import GuildFeatures from "GuildFeatures" /* 1924 */;
|
|
|
|
|
import _sendGiftMessage from "_sendGiftMessage" /* 8334 */;
|
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) {
|
|
|
|
|
return tmp17(9638);
|
|
|
|
|
} else if (tmp17(8334).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp17(9639);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-08-24 06:08:38 +00:00
|
|
|
return tmp17(9640);
|
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) {
|
|
|
|
|
return tmp15(9641);
|
|
|
|
|
} else if (tmp15(8334).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp15(9642);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-08-24 06:08:38 +00:00
|
|
|
return tmp15(9643);
|
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) {
|
|
|
|
|
return tmp13(9644);
|
|
|
|
|
} else if (tmp13(8334).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp13(9645);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-08-24 06:08:38 +00:00
|
|
|
return tmp13(9646);
|
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) {
|
|
|
|
|
return tmp11(9647);
|
|
|
|
|
} else if (tmp11(8334).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp11(9648);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-08-24 06:08:38 +00:00
|
|
|
return tmp11(9649);
|
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) {
|
|
|
|
|
return tmp9(9650);
|
|
|
|
|
} else if (tmp9(8334).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp9(9651);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-08-24 06:08:38 +00:00
|
|
|
return tmp9(9652);
|
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) {
|
|
|
|
|
return tmp7(9653);
|
|
|
|
|
} else if (tmp7(8334).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp7(9654);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-08-24 06:08:38 +00:00
|
|
|
return tmp7(9655);
|
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) {
|
|
|
|
|
return tmp5(9656);
|
|
|
|
|
} else if (tmp5(8334).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp5(9657);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-08-24 06:08:38 +00:00
|
|
|
return tmp5(9658);
|
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) {
|
|
|
|
|
return tmp3(9659);
|
|
|
|
|
} else if (tmp3(8334).AnimationState.LOOP === ACTION) {
|
|
|
|
|
return tmp3(9660);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
2026-08-24 06:08:38 +00:00
|
|
|
return tmp3(9661);
|
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();
|
|
|
|
|
}
|
|
|
|
|
};
|