class UpsaleVisualConfig {
  final String animationAsset;
  final String backgroundImageAsset;

  const UpsaleVisualConfig({
    required this.animationAsset,
    required this.backgroundImageAsset,
  });
}

UpsaleVisualConfig? getUpsaleVisualConfig(String addonId) {
  switch (addonId) {
    case 'BUBARR':
      return const UpsaleVisualConfig(
        animationAsset: 'assets/animations/champagne.json',
        backgroundImageAsset: 'assets/images/champagne_bg.png',
      );
    case 'COFCAK':
      return const UpsaleVisualConfig(
        animationAsset: 'assets/animations/coffee.json',
        backgroundImageAsset: 'assets/images/coffe_bg.png',
      );
    case 'EARCHI':
      return const UpsaleVisualConfig(
        animationAsset: 'assets/animations/early_checkin.json',
        backgroundImageAsset: 'assets/images/watch_bg.png',
      );
    case 'LACHO':
      return const UpsaleVisualConfig(
        animationAsset: 'assets/animations/late_checkout.json',
        backgroundImageAsset: 'assets/images/watch_bg.png',
      );
    default:
      return null;
  }
}