<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:local="clr-namespace:ForzaUI" 
    xmlns:System="clr-namespace:System;assembly=mscorlib"
    mc:Ignorable="d"
    x:Class="ForzaUI.HUDMinorNotificationControl"
    x:Name="UserControl"
    Margin="0,0,0,0"
    VerticalAlignment="Bottom">

    <UserControl.Resources>
        <ResourceDictionary>
            <Style x:Key="A_Style_FZRun_HIGHLIGHT" TargetType="{x:Type local:FZRun}">
                <Setter Property="Color" Value="{StaticResource A_Color_HUD_HighlightText}"/>
            </Style>

            <Style x:Key="A_Style_FZRun_YELLOW" TargetType="{x:Type local:FZRun}">
                <Setter Property="Color" Value="{StaticResource A_Color_HUD_HighlightText}"/>
            </Style>

            <Style x:Key="A_Style_FZRun_SUB" TargetType="{x:Type local:FZRun}">
            </Style>
            
            <local:FZMaterialPresetGlassRoundtangle x:Key="A_FZMaterialPresetGlass_MinorNotificationHudBacking" BasedOn="{StaticResource A_FZMaterialPresetGlassRoundtangle_GlassPanel_OuterAll}"/>

            <local:MappingConverter x:Key="A_MappingConverter_FZMaterial_ImageSource_FromMinorNotificationType" Default="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Fallback.png">
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.BarnFindRestored}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_BarnFind.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.BarnFindBeingRestored}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_BarnFind.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.BarnFindDiscovered}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_BarnFind.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.RoadDiscovery}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Roads.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.PhotoCollection}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Photo.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.RewardBoards}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Boards.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.BucketList}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Bucket.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.Achievement}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Achievement.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.ClubTierPayout}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_ClubTier.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.DrivatarPayout}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Payout.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.DirtyLap}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_DirtyLap.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.Forzathon}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Forzathon.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.SpeedZone}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_SpeedZone.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.SpeedTrap}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_SpeedTrap.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.DangerSign}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_DangerSign.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.DriftZone}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_DriftZone.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.Route}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Route.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.StreetRace}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_H2H.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.BeautySpot}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Beauty.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.Area}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Beauty.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.ChampionsSeries}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_ChampionSeries.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.TrackChallenge}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_TrackChallenge.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.FlagScored}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Flag.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.PlayerHouse}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_PlayerHouse.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.StreamerMilestone}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Mixer.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.InfluenceBoards}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Influence.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.TreasureHunt}" Value="/ForzaUI;component/Textures/Data_Bound/PDLC1/HUD/Notification_TreasureHunt.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.PauseBlocked}" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_DirtyLap.png" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.StarCard}" Value="" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.EnergyCell}" Value="/ForzaUI;component/Textures/Data_Bound/PDLC2/HUD/Notification_EnergyCell.png"/>
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.AlienTree}" Value="/ForzaUI;component/Textures/Data_Bound/PDLC2/HUD/Notification_AlienTree.png"/>
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.CollectableEverywhere}" Value="/ForzaUI;component/Textures/Data_Bound/PDLC2/HUD/Notification_CollectableEverywhere.png"/>
            </local:MappingConverter>

            <local:MappingConverter x:Key="A_MappingConverter_FZMaterial_ImageSource_FromInfluenceThread" Default="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Fallback.png">
                <local:MappingConverterEntry Key="hs_stunt_driver" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/StoryThreads/hs_stunt_driver.png" />
                <local:MappingConverterEntry Key="hs_worlds_fastest" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/StoryThreads/hs_worlds_fastest.png" />
                <local:MappingConverterEntry Key="hs_drift_club" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/StoryThreads/hs_drift_club.png" />
                <local:MappingConverterEntry Key="hs_express_delivery" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/StoryThreads/hs_express_delivery.png" />
                <local:MappingConverterEntry Key="hs_extreme_upgrades" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/StoryThreads/hs_extreme_upgrades.png" />
                <local:MappingConverterEntry Key="hs_lets_play" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/StoryThreads/hs_lets_play.png" />
                <local:MappingConverterEntry Key="hs_the_car_files" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/StoryThreads/hs_the_car_files.png" />
                <local:MappingConverterEntry Key="hs_british_racing_green" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/StoryThreads/hs_british_racing_green.png" />
                <local:MappingConverterEntry Key="hs_skill_streak" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/StoryThreads/hs_skill_streak.png" />
                <local:MappingConverterEntry Key="hs_aaa_taxi" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/StoryThreads/hs_aaa_taxi.png" />
                <local:MappingConverterEntry Key="hs_drift_club_2" Value="/ForzaUI;component/Textures/Data_Bound/PDLC1/HUD/Notification_DriftClub2.png" />
                <local:MappingConverterEntry Key="hs_hype_tour" Value="/ForzaUI;component/Textures/Data_Bound/PDLC2/HUD/Notification_HypeTour.png" />
                <local:MappingConverterEntry Key="hs_story11" Value="/ForzaUI;component/Textures/Data_Bound/Series11/Story11/Story11_MinorNotification.png" />
            </local:MappingConverter>

            <Color x:Key="A_Color_MinorNotification_Barnfind">#8A18ED</Color>
            <Color x:Key="A_Color_MinorNotification_Discovery">#8A18ED</Color>
            <Color x:Key="A_Color_MinorNotification_BucketList">#FFB000</Color>
            <Color x:Key="A_Color_MinorNotification_Ambient">#F92B2B</Color>
            <Color x:Key="A_Color_MinorNotification_DirtyLap">#FFF539</Color>
            <Color x:Key="A_Color_MinorNotification_StreetRace">#304999</Color>
            <Color x:Key="A_Color_MinorNotification_BeautySpot">#8A18ED</Color>
            <Color x:Key="A_Color_MinorNotification_Area">#8A18ED</Color>
            <Color x:Key="A_Color_MinorNotification_PlayerHouse">#BC60E2</Color>
            <Color x:Key="A_Color_MinorNotification_TreasureHunt">#FFFFD31A</Color>
            <Color x:Key="A_Color_MinorNotification_PauseBlocked">#FFF539</Color>
            <Color x:Key="A_Color_MinorNotification_EnergyCell">#8A18ED</Color>
            <Color x:Key="A_Color_MinorNotification_AlienTree">#8A18ED</Color>
            <Color x:Key="A_Color_MinorNotification_CollectableEverywhere">#8A18ED</Color>

            <Color x:Key="A_Color_MinorNotification_Achievement">#00B592</Color>
            <Color x:Key="A_Color_MinorNotification_ClubTierPayout">#00B592</Color>
            <Color x:Key="A_Color_MinorNotification_DrivatarPayout">#00B592</Color>
            <Color x:Key="A_Color_MinorNotification_Forzathon">#00B592</Color>
            <Color x:Key="A_Color_MinorNotification_Route">#00B592</Color>
            <Color x:Key="A_Color_MinorNotification_TrackChallenge">#00B592</Color>

            <local:MappingConverter x:Key="A_MappingConverter_FZMaterial_Color_FromMinorNotificationType" Default="#FFFFFFFF">
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.BarnFindRestored}" Value="{StaticResource A_Color_MinorNotification_Barnfind}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.BarnFindBeingRestored}" Value="{StaticResource A_Color_MinorNotification_Barnfind}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.BarnFindDiscovered}" Value="{StaticResource A_Color_MinorNotification_Barnfind}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.RoadDiscovery}" Value="{StaticResource A_Color_MinorNotification_Discovery}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.PhotoCollection}" Value="{StaticResource A_Color_MinorNotification_Discovery}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.RewardBoards}" Value="{StaticResource A_Color_MinorNotification_Discovery}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.BucketList}" Value="{StaticResource A_Color_MinorNotification_BucketList}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.Achievement}" Value="{StaticResource A_Color_MinorNotification_Achievement}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.ClubTierPayout}" Value="{StaticResource A_Color_MinorNotification_ClubTierPayout}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.DrivatarPayout}" Value="{StaticResource A_Color_MinorNotification_DrivatarPayout}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.DirtyLap}" Value="{StaticResource A_Color_MinorNotification_DirtyLap}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.Forzathon}" Value="{StaticResource A_Color_MinorNotification_Forzathon}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.SpeedZone}" Value="{StaticResource A_Color_MinorNotification_Ambient}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.SpeedTrap}" Value="{StaticResource A_Color_MinorNotification_Ambient}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.DangerSign}" Value="{StaticResource A_Color_MinorNotification_Ambient}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.DriftZone}" Value="{StaticResource A_Color_MinorNotification_Ambient}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.Route}" Value="{StaticResource A_Color_MinorNotification_Route}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.StreetRace}" Value="{StaticResource A_Color_MinorNotification_StreetRace}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.BeautySpot}" Value="{StaticResource A_Color_MinorNotification_BeautySpot}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.Area}" Value="{StaticResource A_Color_MinorNotification_Area}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.TrackChallenge}" Value="{StaticResource A_Color_MinorNotification_TrackChallenge}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.ChampionsSeries}" Value="{StaticResource A_Color_MinorNotification_TrackChallenge}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.FlagScored}" Value="#FFFFFFFF" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.PlayerHouse}" Value="{StaticResource A_Color_MinorNotification_PlayerHouse}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.StreamerMilestone}" Value="{StaticResource A_Color_InfluenceThread_streaming}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.InfluenceBoards}" Value="{StaticResource A_Color_MinorNotification_Discovery}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.TreasureHunt}" Value="{StaticResource A_Color_MinorNotification_TreasureHunt}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.PauseBlocked}" Value="{StaticResource A_Color_MinorNotification_PauseBlocked}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.StarCard}" Value="#FFFFFFFF" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.EnergyCell}" Value="{StaticResource A_Color_MinorNotification_EnergyCell}"/>
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.AlienTree}" Value="{StaticResource A_Color_MinorNotification_AlienTree}"/>
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.CollectableEverywhere}" Value="{StaticResource A_Color_MinorNotification_CollectableEverywhere}"/>
            </local:MappingConverter>

            <local:MappingConverter x:Key="A_MappingConverter_FZTextBlock_Text_FromMinorNotificationType" Default="">
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.BarnFindRestored}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_Barnfind}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.BarnFindBeingRestored}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_Barnfind}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.BarnFindDiscovered}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_Barnfind}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.RoadDiscovery}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_RoadDiscovery}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.PhotoCollection}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_PhotoCollection}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.RewardBoards}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_RewardBoards}"/>
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.BucketList}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_Bucketlist}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.Achievement}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_Achievements}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.ClubTierPayout}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_ClubTierPayout}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.DrivatarPayout}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_DrivatarPayout}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.DirtyLap}" Value="" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.Forzathon}" Value="" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.SpeedZone}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_SpeedZone}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.SpeedTrap}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_SpeedTrap}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.DangerSign}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_DangerSign}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.DriftZone}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_DriftZone}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.Route}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_Route}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.StreetRace}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_StreetRace}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.BeautySpot}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_BeautySpot}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.Area}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_LandmarkArea}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.TrackChallenge}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_TrackChallenge}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.ChampionsSeries}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_ChampionsSeries}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.FlagScored}" Value="" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.PlayerHouse}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_PlayerHouse}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.StreamerMilestone}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_StreamerMilestone}" />
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.InfluenceBoards}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_RewardBoards}"/>
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.TreasureHunt}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_TreasureHunt}"/>
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.PauseBlocked}" Value=""/>
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.StarCard}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_StarCard}"/>
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.EnergyCell}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_EnergyCell}"/>
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.AlienTree}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_AlienTree}"/>
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.CollectableEverywhere}" Value="{local:Loc Rivals.IDS_MinorNotification_Area_CollectableEverywhere}"/>
            </local:MappingConverter>

            <Style x:Key="A_Style_FZTextBlock_MinorNotification_TitleText" TargetType="{x:Type local:FZTextBlock}" BasedOn="{StaticResource A_Style_FZTextBlock_HudMedium}">
                <Setter Property="Text" Value="{Binding NotificationType, Converter={StaticResource A_MappingConverter_FZTextBlock_Text_FromMinorNotificationType}}"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding NotificationType}" Value="{x:Static local:UIMinorNotificationType.Forzathon}">
                        <Setter Property="Text" Value="{Binding CustomNotificationData.ForzathonSeasonString}"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <local:MappingConverter x:Key="A_MappingConverter_FZMaterial_Color_FromStarCardCategoryID" Default="#FFFFFFFF">
                <local:MappingConverterEntry Key="{x:Static local:XAMLStarCardCategory.Racing}" Value="#0970ff" />
                <local:MappingConverterEntry Key="{x:Static local:XAMLStarCardCategory.PRStunts}" Value="#d51b22" />
                <local:MappingConverterEntry Key="{x:Static local:XAMLStarCardCategory.CollectAndExplore}" Value="#5b42e3" />
                <local:MappingConverterEntry Key="{x:Static local:XAMLStarCardCategory.Create}" Value="#882dac" />
                <local:MappingConverterEntry Key="{x:Static local:XAMLStarCardCategory.Stories}" Value="#ffaf00" />
                <local:MappingConverterEntry Key="{x:Static local:XAMLStarCardCategory.OnlineAdventure}" Value="#00e49e" />
            </local:MappingConverter>
            <local:MappingConverter x:Key="A_MappingConverter_FZMaterial_Image_FromStarCardCategoryID" Default="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Fallback.png">
                <local:MappingConverterEntry Key="{x:Static local:XAMLStarCardCategory.Racing}" Value="/ForzaUI;component/Textures/Data_Bound\Series10\StarCard\HUD\sc_Racing.png" />
                <local:MappingConverterEntry Key="{x:Static local:XAMLStarCardCategory.PRStunts}" Value="/ForzaUI;component/Textures/Data_Bound\Series10\StarCard\HUD\sc_PRStunts.png" />
                <local:MappingConverterEntry Key="{x:Static local:XAMLStarCardCategory.CollectAndExplore}" Value="/ForzaUI;component/Textures/Data_Bound\Series10\StarCard\HUD\sc_CollectAndExplore.png" />
                <local:MappingConverterEntry Key="{x:Static local:XAMLStarCardCategory.Create}" Value="/ForzaUI;component/Textures/Data_Bound\Series10\StarCard\HUD\sc_Create.png" />
                <local:MappingConverterEntry Key="{x:Static local:XAMLStarCardCategory.Stories}" Value="/ForzaUI;component/Textures/Data_Bound\Series10\StarCard\HUD\sc_Stories.png" />
                <local:MappingConverterEntry Key="{x:Static local:XAMLStarCardCategory.OnlineAdventure}" Value="/ForzaUI;component/Textures/Data_Bound\Series10\StarCard\HUD\sc_OnlineAdventure.png" />
                <local:MappingConverterEntry Key="{x:Static local:XAMLStarCardCategory.All}" Value="/ForzaUI;component/Textures/Data_Bound\Series10\StarCard\HUD\sc_ultimate.png" />
            </local:MappingConverter>

            <local:MappingConverter x:Key="A_MappingConverter_FZMaterial_Color_FromThreadCurrencyBucketID" Default="#FFFFFFFF">
                <local:MappingConverterEntry Key="asphalt_series" Value="#FFFFFFFF" />
                <local:MappingConverterEntry Key="mixed_surface_series" Value="#FFFFFFFF" />
                <local:MappingConverterEntry Key="cross_country_series" Value="#FFFFFFFF" />
                <local:MappingConverterEntry Key="street_racing_series" Value="#FFFFFFFF" />
            </local:MappingConverter>

            <local:MappingConverter x:Key="A_MappingConverter_FZMaterial_Color_FromTeamID" Default="#FFFFFFFF">
                <local:MappingConverterEntry Key="0" Value="{StaticResource A_Color_TeamA_Score_Background}" />
                <local:MappingConverterEntry Key="1" Value="{StaticResource A_Color_TeamB_Score_Background}" />
            </local:MappingConverter>

            <local:MappingConverter x:Key="A_MappingConverter_FZMaterial_Color_FromFlagID" Default="#FFFFFFFF">
                <local:MappingConverterEntry Key="0" Value="{StaticResource A_Color_FlagRush_Flag0}" />
                <local:MappingConverterEntry Key="1" Value="{StaticResource A_Color_FlagRush_Flag1}" />
                <local:MappingConverterEntry Key="2" Value="{StaticResource A_Color_FlagRush_Flag2}" />
                <local:MappingConverterEntry Key="3" Value="{StaticResource A_Color_FlagRush_Flag3}" />
                <local:MappingConverterEntry Key="4" Value="{StaticResource A_Color_FlagRush_Flag4}" />
            </local:MappingConverter>

            <local:FZMaterialPresetRoundtangle x:Key="A_FZMaterialPresetRoundtangle_Icon" BasedOn="{StaticResource A_FZMaterialPresetRoundtangle_FlatPanel_OuterLeftOnly}"/>
            <local:FZMaterialPresetRoundtangle x:Key="A_FZMaterialPresetRountangleGradient_Icon" BasedOn="{StaticResource A_FZMaterialPresetRoundtangle_Icon}"
                                               GradientColorA="{StaticResource A_Color_HighlightGradientA}"
                                               GradientColorB="{StaticResource A_Color_HighlightGradientB}"
                                               GradientAngle="90"/>

            <local:MappingConverter x:Key="A_MappingConverter_FZMaterial_Preset_FromStarCardCategoryID" Default="{StaticResource A_FZMaterialPresetRoundtangle_Icon}">
                <local:MappingConverterEntry Key="{x:Static local:XAMLStarCardCategory.All}" Value="{StaticResource A_FZMaterialPresetRountangleGradient_Icon}" />
            </local:MappingConverter>

            <Style x:Key="A_Style_FZMaterial_Icon" TargetType="{x:Type local:FZMaterial}">
                <Setter Property="Preset" Value="{StaticResource A_FZMaterialPresetRoundtangle_Icon}"/>
                <Setter Property="Width" Value="100"/>
                <Setter Property="Height" Value="100"/>
                <Setter Property="Margin" Value="-12"/>
                <Setter Property="ImageSource" Value="{Binding NotificationType, Converter={StaticResource A_MappingConverter_FZMaterial_ImageSource_FromMinorNotificationType}}"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding NotificationType}" Value="{x:Static local:UIMinorNotificationType.BucketList}">
                        <Setter Property="ImageSource" Value="{Binding CustomNotificationData.InfluenceThreadCurrencyBucketID, Converter={StaticResource A_MappingConverter_FZMaterial_ImageSource_FromInfluenceThread}}"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding NotificationType}" Value="{x:Static local:UIMinorNotificationType.StarCard}">
                        <Setter Property="ImageSource" Value="{Binding CustomNotificationData.StarCardCategory, Converter={StaticResource A_MappingConverter_FZMaterial_Image_FromStarCardCategoryID}}"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>
            
            <Style x:Key="A_Style_FZMaterial_IconBacking" TargetType="{x:Type local:FZMaterial}">
                <Setter Property="Preset" Value="{StaticResource A_FZMaterialPresetRoundtangle_Icon}"/>
                <Setter Property="Width" Value="76"/>
                <Setter Property="Height" Value="76"/>
                <Setter Property="Color" Value="{Binding NotificationType, Converter={StaticResource A_MappingConverter_FZMaterial_Color_FromMinorNotificationType}}"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding NotificationType}" Value="{x:Static local:UIMinorNotificationType.ChampionsSeries}">
                        <Setter Property="Color" Value="{Binding CustomNotificationData.InfluenceThreadCurrencyBucketID, Converter={StaticResource A_MappingConverter_FZMaterial_Color_FromThreadCurrencyBucketID}}"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding NotificationType}" Value="{x:Static local:UIMinorNotificationType.StarCard}">
                        <Setter Property="Color" Value="{Binding CustomNotificationData.StarCardCategory, Converter={StaticResource A_MappingConverter_FZMaterial_Color_FromStarCardCategoryID}}"/>
                        <Setter Property="Preset" Value="{Binding CustomNotificationData.StarCardCategory, Converter={StaticResource A_MappingConverter_FZMaterial_Preset_FromStarCardCategoryID}}"/>
                    </DataTrigger>
                    <MultiDataTrigger >
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{Binding NotificationType}" Value="{x:Static local:UIMinorNotificationType.FlagScored}"/>
                            <Condition Binding="{Binding CustomNotificationData.IsTeam}" Value="True"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="Color" Value="{Binding CustomNotificationData.TeamId, Converter={StaticResource A_MappingConverter_FZMaterial_Color_FromTeamID}}"/>
                    </MultiDataTrigger>
                    <MultiDataTrigger >
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{Binding NotificationType}" Value="{x:Static local:UIMinorNotificationType.FlagScored}"/>
                            <Condition Binding="{Binding CustomNotificationData.IsTeam}" Value="False"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="Color" Value="{Binding CustomNotificationData.FlagId, Converter={StaticResource A_MappingConverter_FZMaterial_Color_FromFlagID}}"/>
                    </MultiDataTrigger>
                </Style.Triggers>
            </Style>

            <local:LinearTransformConverter x:Key="A_LinearTransformConverter_PanelGlowSoft" Add="10"/>
            <local:FZMaterialPresetRoundtangle x:Key="A_FZMaterialPreset_PanelBoom_Soft" CornerRadius="12" Softness="8" AlphaMode="Additive"/>

            <ControlTemplate x:Key="A_ControlTemplate_DefaultNotificationTemplate" TargetType="ContentControl">
                <ControlTemplate.Resources>
                    <Storyboard x:Key="A_Storyboard_Shown">
                        <!-- Audio (Minor On) -->
                        <StringAnimationUsingKeyFrames Storyboard.TargetProperty="(local:AudioEvent.SoundName)" Storyboard.TargetName="MinorOnAudioEvent">
                            <DiscreteStringKeyFrame KeyTime="0:0:0.0" Value="" />
                            <DiscreteStringKeyFrame KeyTime="0:0:0.01" Value="/Master/UI/Notification/HZ3_SFX_HUD_Notification_MinorOn_01" />
                        </StringAnimationUsingKeyFrames>
                    </Storyboard>
                </ControlTemplate.Resources>
                <local:FZMaterial Preset="{StaticResource A_FZMaterialPresetGlass_MinorNotificationHudBacking}" Color="{StaticResource A_Color_GlassPanel_NonInteractive}" >
                    <DockPanel >
                        <Grid ClipToBounds="True" HorizontalAlignment="Left" DockPanel.Dock="Left">
                            <local:FZMaterial x:Name="IconBacking" Style="{StaticResource A_Style_FZMaterial_IconBacking}"  VerticalAlignment="Center" />
                            <local:FZMaterial x:Name="Icon" Style="{StaticResource A_Style_FZMaterial_Icon}"  VerticalAlignment="Center" />
                        </Grid>
                        <StackPanel Orientation="Vertical" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="16,8" Visibility="{Binding IsActivatable, Converter={StaticResource A_FZBooleanToVisibilityConverter_Inverse}}">
                            <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_HudMedium}"
                                               CapHeight="15"
                                               HorizontalAlignment="Center"
                                               local:TextBlockInlineMarkup.Markup="{Binding Maintext, Converter={StaticResource A_StringToUpper}}" 
                                               local:TextBlockInlineMarkup.ResourceBaseName="A_Style_FZRun_"
                                               Margin="0,0,0,0"/>
                            <Decorator Height="10"/>
                            <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_HudMediumLarge}" 
                                               HorizontalAlignment="Center"
                                               Color="{StaticResource A_Color_HUD_HighlightText}"
                                               local:TextBlockInlineMarkup.Markup="{Binding Subtext}" 
                                               local:TextBlockInlineMarkup.ResourceBaseName="A_Style_FZRun_"/>
                        </StackPanel>
                        <StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="16,8" Visibility="{Binding IsActivatable, Converter={StaticResource A_FZBooleanToVisibilityConverter}}">
                            <local:FZTextBlock local:TextBlockInlineMarkup.Markup="{Binding Maintext, Converter={StaticResource A_StringToUpper}}" 
                                               local:TextBlockInlineMarkup.ResourceBaseName="A_Style_FZRun_" 
                                               Style="{StaticResource A_Style_FZTextBlock_HudMedium}" 
                                               HorizontalAlignment="Center"/>
                            <StackPanel Orientation="Horizontal" Margin="0,8,0,0"  HorizontalAlignment="Center" >
                                <Viewbox Height="20" MinWidth="20" Margin="0,-6,6,-6">
                                    <local:ControllerButtonControl Margin="0" Style="{StaticResource A_Style_ControllerButtonControl_ActivationButton}" />
                                </Viewbox>
                                <local:FZTextBlock local:TextBlockInlineMarkup.Markup="{Binding Subtext}" 
                                                   local:TextBlockInlineMarkup.ResourceBaseName="A_Style_FZRun_" 
                                                   Style="{StaticResource A_Style_FZTextBlock_HudMedium}" 
                                                   Color="{StaticResource A_Color_HUD_HighlightText}"  
                                                   HorizontalAlignment="Center" 
                                                   StretchDirection="DownOnly"/>
                            </StackPanel>
                        </StackPanel>
                        <local:AudioEvent x:Name="MinorOnAudioEvent" />
                    </DockPanel>
                </local:FZMaterial>
                <ControlTemplate.Triggers>
                    <Trigger Property="Tag" Value="shown">
                        <Trigger.EnterActions>
                            <BeginStoryboard Storyboard="{StaticResource A_Storyboard_Shown}"/>
                        </Trigger.EnterActions>
                    </Trigger>
                </ControlTemplate.Triggers>
            </ControlTemplate>

            <!--Preload the images used in the E3 Converter to avoid Image loading delays-->
            <BitmapImage x:Key="A_BitmapImageSource_Spring"  UriSource="/ForzaUI;component/Textures/Anthem/Icons/NotificationPopup/Spring.png"/>
            <BitmapImage x:Key="A_BitmapImageSource_Summer" UriSource="/ForzaUI;component/Textures/Anthem/Icons/NotificationPopup/Summer.png"/>
            <BitmapImage x:Key="A_BitmapImageSource_Autumn" UriSource="/ForzaUI;component/Textures/Anthem/Icons/NotificationPopup/Autumn.png"/>
            <BitmapImage x:Key="A_BitmapImageSource_Winter" UriSource="/ForzaUI;component/Textures/Anthem/Icons/NotificationPopup/Winter.png"/>

            <!--Specialised control template for E3 -->
            <ControlTemplate x:Key="A_ControlTemplate_E3ForzathonNotificationTemplate" TargetType="ContentControl">
                <ControlTemplate.Resources>
                    <Style x:Key="A_Style_FrameworkElement_RenderTransformable" TargetType="{x:Type FrameworkElement}">
                        <Setter Property="RenderTransformOrigin" Value="0.5,0.5"/>
                        <Setter Property="RenderTransform">
                            <Setter.Value>
                                <TransformGroup>
                                    <ScaleTransform/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </Setter.Value>
                        </Setter>
                    </Style>

                    <local:MappingConverter x:Key="A_MappingConverter_FZMaterial_Icon_SeasonEnumToMinorNotificationIcon" Default="{x:Null}">
                        <local:MappingConverterEntry Key="{x:Static local:Season.Spring}" Value="{StaticResource A_BitmapImageSource_Spring}" />
                        <local:MappingConverterEntry Key="{x:Static local:Season.Summer}" Value="{StaticResource A_BitmapImageSource_Summer}" />
                        <local:MappingConverterEntry Key="{x:Static local:Season.Autumn}" Value="{StaticResource A_BitmapImageSource_Autumn}" />
                        <local:MappingConverterEntry Key="{x:Static local:Season.Winter}" Value="{StaticResource A_BitmapImageSource_Winter}" />
                    </local:MappingConverter>

                    <Storyboard x:Key="A_Storyboard_Shown">
                        <!-- Audio (Minor On) -->
                        <StringAnimationUsingKeyFrames Storyboard.TargetProperty="(local:AudioEvent.SoundName)" Storyboard.TargetName="MinorOnAudioEvent">
                            <DiscreteStringKeyFrame KeyTime="0:0:0.0" Value="" />
                            <DiscreteStringKeyFrame KeyTime="0:0:0.01" Value="/Master/UI/Notification/HZ3_SFX_HUD_Notification_MinorOn_01" />
                        </StringAnimationUsingKeyFrames>

                        <!--Reset the state of the animation -->
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="CompleteIcon">
                            <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Hidden}" />
                        </ObjectAnimationUsingKeyFrames>

                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(TranslateTransform.Y)" Storyboard.TargetName="InnerTranslatablePanel">
                            <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                        </DoubleAnimationUsingKeyFrames>
                    </Storyboard>

                    <Storyboard x:Key="A_Storyboard_ResetState">
                        <!--Reset the state of the animation -->
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="CompleteIcon">
                            <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Hidden}" />
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Icon">
                            <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}" />
                        </ObjectAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(TranslateTransform.Y)" Storyboard.TargetName="InnerTranslatablePanel">
                            <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                        </DoubleAnimationUsingKeyFrames>
                    </Storyboard>

                    <KeyTime x:Key="A_KeyTime_MinorNotification_SwapMid">0:0:0.133</KeyTime>
                    <KeyTime x:Key="A_KeyTime_MinorNotification_SwapEnd">0:0:0.266</KeyTime>
                    <KeyTime x:Key="A_KeyTime_MinorNotification_SwapFlashStart">0:0:0.266</KeyTime>
                    <KeyTime x:Key="A_KeyTime_MinorNotification_SwapFlashEnd">0:0:0.783</KeyTime>

                    <ExponentialEase x:Key="A_EasingFunction_ExponentialEaseIn" EasingMode="EaseIn" />
                    <ExponentialEase x:Key="A_EasingFunction_ExponentialEaseInOut" EasingMode="EaseInOut" />

                    <System:Double x:Key="A_Double_MinorNotificationContentsMaxWidth">142</System:Double>
                    <System:Double x:Key="A_Double_MinorNotificationPanelMaxWidthPositive">192</System:Double>
                    <System:Double x:Key="A_Double_MinorNotificationPanelMaxWidthNegative">-192</System:Double>
                    
                    <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_MinorNotification_OnAtZero"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="E3_Element">
                        <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
                    </ObjectAnimationUsingKeyFrames>

                    <local:UIStoryboard x:Key="A_Storyboard_E3_Completed_Flash" BeginTime="0:0:3.0">
                        <local:UIStoryboard.TriggerAnimation>
                            <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0" 
                                         EventName="AudioUITrigger_MinorSuccess" />
                        </local:UIStoryboard.TriggerAnimation>
                        
                        <!-- Handle initial spin slam (text starts tumbling over into the complete state)-->
                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(TranslateTransform.Y)" Storyboard.TargetName="InnerTranslatablePanel">
                            <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                            <EasingDoubleKeyFrame KeyTime="0:0:0.133" Value="38" EasingFunction="{local:ExponentialEasing EasingMode=EaseInOut}"/>
                            <EasingDoubleKeyFrame KeyTime="0:0:0.266" Value="79" EasingFunction="{local:CubicEasing EasingMode=EaseOut}"/>
                        </DoubleAnimationUsingKeyFrames>

                        <!--white bloom-->
                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="PanelBoom">
                            <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                            <DiscreteDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="0"/>
                            <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapFlashStart}" Value="1"/>
                            <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapFlashEnd}" Value="0"/>
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames  Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="PanelBoom">
                            <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
                            <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapFlashEnd}" Value="1.1"/>
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames  Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="PanelBoom">
                            <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
                            <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapFlashEnd}" Value="1.1"/>
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Boom">
                            <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                            <DiscreteDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="0"/>
                            <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapFlashStart}" Value="1"/>
                            <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapFlashEnd}" Value="0"/>
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)" Storyboard.TargetName="Boom">
                            <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0.5"/>
                            <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapFlashEnd}" Value="2"/>
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="Boom">
                            <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0.5"/>
                            <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapFlashEnd}" Value="2"/>
                        </DoubleAnimationUsingKeyFrames>

                        <!--Icon Completed + scheen effect-->
                        <ObjectAnimationUsingKeyFrames  BeginTime="0:0:0.133" Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="CompleteIcon">
                            <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Hidden}"/>
                            <DiscreteObjectKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{x:Static Visibility.Visible}"/>
                        </ObjectAnimationUsingKeyFrames>
                        <ObjectAnimationUsingKeyFrames  BeginTime="0:0:0.133" Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Icon">
                            <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
                            <DiscreteObjectKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{x:Static Visibility.Hidden}"/>
                        </ObjectAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames BeginTime="0:0:0.266" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="IconPanelSheen">
                            <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                            <DiscreteDoubleKeyFrame KeyTime="0:0:0.1" Value="1.0"/>
                            <EasingDoubleKeyFrame KeyTime="0:0:1.2" Value="0.4" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                            <DiscreteDoubleKeyFrame KeyTime="0:0:1.2" Value="0"/>
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames BeginTime="0:0:0.266" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(TranslateTransform.X)" Storyboard.TargetName="IconPanelSheen">
                            <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_MinorNotificationPanelMaxWidthNegative}"/>
                            <DiscreteDoubleKeyFrame KeyTime="0:0:0.3" Value="{StaticResource A_Double_MinorNotificationPanelMaxWidthNegative}"/>
                            <EasingDoubleKeyFrame KeyTime="0:0:1.2" Value="{StaticResource A_Double_MinorNotificationPanelMaxWidthPositive}" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseInOut}"/>
                        </DoubleAnimationUsingKeyFrames>

                        <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_MinorNotification_OnAtZero"/>
                    </local:UIStoryboard>
                </ControlTemplate.Resources>
                <Grid x:Name="E3_Element" Style="{StaticResource A_Style_FrameworkElement_RenderTransformable}" HorizontalAlignment="Center" MaxWidth="364" MaxHeight="76">
                    <Grid Style="{StaticResource A_Style_FrameworkElement_RenderTransformable}">
                        <local:FZMaterial Preset="{StaticResource A_FZMaterialPresetGlass_MinorNotificationHudBacking}" Color="{StaticResource A_Color_GlassPanel_NonInteractive}" >
                            <DockPanel >
                                <Grid ClipToBounds="True" HorizontalAlignment="Left" DockPanel.Dock="Left">
                                    <local:FZMaterial x:Name="Icon" 
                                              ImageSource="{Binding CustomNotificationData.Season, Converter={StaticResource A_MappingConverter_FZMaterial_Icon_SeasonEnumToMinorNotificationIcon}}"
                                              Style="{StaticResource A_Style_FZMaterial_IconBacking}" 
                                              VerticalAlignment="Stretch"
                                              HorizontalAlignment="Stretch"/>
                                    <local:FZMaterial x:Name="CompleteIcon"
                                              ImageSource="/ForzaUI;component/Textures/Anthem/Icons/NotificationPopup/Complete_Gold.png"
                                              Style="{StaticResource A_Style_FZMaterial_IconBacking}" 
                                              VerticalAlignment="Stretch" Visibility="Hidden"
                                              HorizontalAlignment="Stretch" ClipToBounds="True">
                                        <local:FZMaterial x:Name="IconPanelSheen"
                                      Opacity="0"
                                      Width="38"
                                      Height="66"
                                      RenderTransformOrigin="0.5,0.5"
                                      VerticalAlignment="Center"
                                      HorizontalAlignment="Center"
                                      Preset="{StaticResource A_FZMaterialPresetAdditive}"
                                      ImageSource="/ForzaUI;component/Textures/Data_Bound/Anthem/Rivals/SwipeGlow.png">
                                            <local:FZMaterial.RenderTransform>
                                                <TransformGroup>
                                                    <RotateTransform Angle="33"/>
                                                    <ScaleTransform ScaleX="2" ScaleY="2"/>
                                                    <TranslateTransform/>
                                                </TransformGroup>
                                            </local:FZMaterial.RenderTransform>
                                        </local:FZMaterial>
                                    </local:FZMaterial>
                                </Grid>
                                <Grid ClipToBounds="True">
                                    <Grid x:Name="InnerTranslatablePanel" Margin="38,8,42,8" HorizontalAlignment="Center">
                                        <Grid.RenderTransform>
                                            <TransformGroup>
                                                <TranslateTransform/>
                                            </TransformGroup>
                                        </Grid.RenderTransform>
                                        <StackPanel x:Name="E3ForzathonChallengeInfo" Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center" Visibility="{Binding IsActivatable, Converter={StaticResource A_FZBooleanToVisibilityConverter_Inverse}}">
                                            <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_HudMedium}" 
                                               CapHeight="20"
                                               HorizontalAlignment="Center"
                                               local:TextBlockInlineMarkup.Markup="{local:Loc PreRaceMenu.IDS_Showcase_Objective_Title_E3}" 
                                               local:TextBlockInlineMarkup.ResourceBaseName="A_Style_FZRun_"/>
                                            <Decorator Height="6"/>
                                            <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_HudMediumLarge}"
                                               HorizontalAlignment="Center"
                                               CapHeight="30"
                                               Color="{StaticResource A_Color_HUD_HighlightText}"
                                               local:TextBlockInlineMarkup.Markup="{Binding Maintext, Converter={StaticResource A_StringToUpper}}" 
                                               local:TextBlockInlineMarkup.ResourceBaseName="A_Style_FZRun_"
                                               Margin="0,0,0,0"/>
                                        </StackPanel>

                                        <Decorator x:Name="E3ForzathonComplete" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,-66,0,0">
                                            <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_HudMediumLarge}"
                                               HorizontalAlignment="Center"
                                               CapHeight="36"
                                               Color="{StaticResource A_Color_HUD_HighlightText}"
                                               local:TextBlockInlineMarkup.Markup="{Binding Source={local:Loc ForzaEvents.IDS_Complete}, Converter={StaticResource A_StringToUpper}}" 
                                               local:TextBlockInlineMarkup.ResourceBaseName="A_Style_FZRun_"
                                               Margin="0,0,0,0">
                                            </local:FZTextBlock>
                                        </Decorator>
                                    </Grid>
                                </Grid>
                            </DockPanel>
                        </local:FZMaterial>
                        <local:EventFire x:Name="EventFire" />
                        <local:AudioEvent x:Name="MinorOnAudioEvent" />
                    </Grid>

                    <Decorator VerticalAlignment="Bottom" HorizontalAlignment="Center">
                        <local:FZMaterial x:Name="PanelBoom"
                                  Width="{Binding ActualWidth, ElementName=E3_Element, Converter={StaticResource A_LinearTransformConverter_PanelGlowSoft}}"
                                  Height="82"
                                  Preset="{StaticResource A_FZMaterialPreset_PanelBoom_Soft}"
                                  Color="#FFFFFFFF"
                                  HorizontalAlignment="Center"
                                  VerticalAlignment="Center"
                                  RenderTransformOrigin="0.5,0.5"
                                  Opacity="0">
                            <local:FZMaterial.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform ScaleX="1" ScaleY="1"/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </local:FZMaterial.RenderTransform>
                        </local:FZMaterial>
                    </Decorator>
                    
                    <Decorator VerticalAlignment="Bottom" HorizontalAlignment="Left">
                        <local:FZMaterial x:Name="Boom"
                              Opacity="0"
                              Width="545"
                              Height="112"
                              RenderTransformOrigin="0.5,0.5"
                              VerticalAlignment="Bottom"
                              Color="#9AFFFFFF"
                              Margin="-80,0,0,-18"
                              Preset="{StaticResource A_FZMaterialPresetAdditive}" ImageSource="/ForzaUI;component/Textures/Anthem/HUD/AmbientChallengeMedals/GlowCloud.png">
                            <local:FZMaterial.RenderTransform>
                                <TransformGroup>
                                    <ScaleTransform ScaleX="1" ScaleY="1"/>
                                    <TranslateTransform/>
                                </TransformGroup>
                            </local:FZMaterial.RenderTransform>
                        </local:FZMaterial>
                    </Decorator>
                </Grid>
                <ControlTemplate.Triggers>
                    <Trigger Property="Tag" Value="shown">
                        <Trigger.EnterActions>
                            <BeginStoryboard Storyboard="{StaticResource A_Storyboard_Shown}"/>
                            <local:BeginUIStoryboard Storyboard="{StaticResource A_Storyboard_E3_Completed_Flash}"/>
                        </Trigger.EnterActions>
                        <Trigger.ExitActions>
                            <BeginStoryboard Storyboard="{StaticResource A_Storyboard_ResetState}"/>
                        </Trigger.ExitActions>
                    </Trigger>
                </ControlTemplate.Triggers>
            </ControlTemplate>

            <!-- Need a custom template?! Map them here. -->
            <local:MappingConverter x:Key="A_MappingConverter_Control_ControlTemplate_FromMinorNotificationType" Default="{StaticResource A_ControlTemplate_DefaultNotificationTemplate}">
                <local:MappingConverterEntry Key="{x:Static local:UIMinorNotificationType.E3Forzathon}" Value="{StaticResource A_ControlTemplate_E3ForzathonNotificationTemplate}" />
            </local:MappingConverter>

            <Style x:Key="A_Style_StackPanel_Notification" TargetType="{x:Type StackPanel}">
                <Setter Property="local:ZPanel.Transform">
                    <Setter.Value>
                        <Transform3DGroup>
                            <RotateTransform3D CenterY="40">
                                <RotateTransform3D.Rotation>
                                    <AxisAngleRotation3D Axis="-1,0,0" Angle="0"/>
                                </RotateTransform3D.Rotation>
                            </RotateTransform3D>
                            <TranslateTransform3D OffsetZ="0"/>
                        </Transform3DGroup>
                    </Setter.Value>
                </Setter>
            </Style>

            <KeyTime x:Key="A_KeyTime_NotificationShowAnimation">0:0:0.133</KeyTime>
            <Duration x:Key="A_Duration_NotificationShowAnimation">0:0:0.133</Duration>
            <KeyTime x:Key="A_KeyTime_NotificationHideAnimation">0:0:0.133</KeyTime>
            <Duration x:Key="A_Duration_NotificationHideAnimation">0:0:0.133</Duration>

            <ExponentialEase x:Key="A_EasingFunction_EaseIn" EasingMode="EaseIn"/>
            <ExponentialEase x:Key="A_EasingFunction_EaseOut" EasingMode="EaseOut"/>
        </ResourceDictionary>
    </UserControl.Resources>

    <StackPanel x:Name="LayoutRoot" HorizontalAlignment="Center">
        <VisualStateManager.VisualStateGroups>
            <VisualStateGroup x:Name="VisualStateGroup">
                <VisualState x:Name="Hidden">
                    <Storyboard>
                         <DoubleAnimationUsingKeyFrames Duration="{StaticResource A_Duration_NotificationHideAnimation}" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="LayoutRoot">
                            <DiscreteDoubleKeyFrame KeyTime="0" Value="1"/>
                            <DiscreteDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_NotificationHideAnimation}" Value="0"/>
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames Duration="{StaticResource A_Duration_NotificationHideAnimation}" Storyboard.TargetProperty="(local:ZPanel.Transform).(Transform3DGroup.Children)[0].(RotateTransform3D.Rotation).(AxisAngleRotation3D.Angle)" Storyboard.TargetName="FlippingControl">
                            <DiscreteDoubleKeyFrame KeyTime="0" Value="0"/>
                            <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_NotificationHideAnimation}" Value="-80" EasingFunction="{StaticResource A_EasingFunction_EaseOut}"/>
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames Duration="{StaticResource A_Duration_NotificationHideAnimation}" Storyboard.TargetProperty="(UIElement.Opacity)"  Storyboard.TargetName="Title">
                            <DiscreteDoubleKeyFrame KeyTime="0" Value="1"/>
                            <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_NotificationHideAnimation}" Value="0"/>
                        </DoubleAnimationUsingKeyFrames>
                        <StringAnimationUsingKeyFrames Storyboard.TargetProperty="(local:EventFire.EventName)" Storyboard.TargetName="EventFire">
                            <DiscreteStringKeyFrame KeyTime="0:0:0.15" Value=""/>
                            <DiscreteStringKeyFrame KeyTime="0:0:0.2" Value="HiddenComplete"/>
                        </StringAnimationUsingKeyFrames>
                        <StringAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Tag)" Storyboard.TargetName="NotificationContent">
                            <DiscreteStringKeyFrame KeyTime="0:0:0.2" Value="hidden"/>
                        </StringAnimationUsingKeyFrames>
                        <!-- Audio (Minor Off) -->
                        <StringAnimationUsingKeyFrames Storyboard.TargetProperty="(local:AudioEvent.SoundName)" Storyboard.TargetName="MinorOffAudioEvent">
                            <DiscreteStringKeyFrame KeyTime="0:0:0.0" Value="" />
                            <DiscreteStringKeyFrame KeyTime="0:0:0.01" Value="/Master/UI/Notification/HZ3_SFX_HUD_Notification_MinorOff_01" />
                        </StringAnimationUsingKeyFrames>
                    </Storyboard>
                </VisualState>
                <VisualState x:Name="Shown">
                    <Storyboard>
                        <DoubleAnimationUsingKeyFrames Duration="{StaticResource A_Duration_NotificationShowAnimation}" Storyboard.TargetProperty="(local:ZPanel.Transform).(Transform3DGroup.Children)[0].(RotateTransform3D.Rotation).(AxisAngleRotation3D.Angle)" Storyboard.TargetName="FlippingControl">
                            <DiscreteDoubleKeyFrame KeyTime="0" Value="90"/>
                            <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_NotificationShowAnimation}" Value="0" EasingFunction="{StaticResource A_EasingFunction_EaseIn}"/>
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames Duration="{StaticResource A_Duration_NotificationShowAnimation}"  Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(TranslateTransform.Y)" Storyboard.TargetName="Title">
                            <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="-36" />
                            <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_NotificationShowAnimation}" Value="0" EasingFunction="{local:PowerEasing EasingMode=EaseOut}"/>
                        </DoubleAnimationUsingKeyFrames>
                        <StringAnimationUsingKeyFrames Storyboard.TargetProperty="(local:EventFire.EventName)" Storyboard.TargetName="EventFire">
                            <DiscreteStringKeyFrame KeyTime="0:0:3.6" Value=""/>
                            <DiscreteStringKeyFrame KeyTime="0:0:3.7" Value="ShownComplete"/>
                        </StringAnimationUsingKeyFrames>
                        <StringAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Tag)" Storyboard.TargetName="NotificationContent">
                            <DiscreteStringKeyFrame KeyTime="0" Value="shown"/>
                        </StringAnimationUsingKeyFrames>
                    </Storyboard>
                </VisualState>
                <VisualState x:Name="Shown_E3">
                    <Storyboard>
                        <DoubleAnimationUsingKeyFrames Duration="{StaticResource A_Duration_NotificationShowAnimation}" Storyboard.TargetProperty="(local:ZPanel.Transform).(Transform3DGroup.Children)[0].(RotateTransform3D.Rotation).(AxisAngleRotation3D.Angle)" Storyboard.TargetName="FlippingControl">
                            <DiscreteDoubleKeyFrame KeyTime="0" Value="90"/>
                            <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_NotificationShowAnimation}" Value="0" EasingFunction="{StaticResource A_EasingFunction_EaseIn}"/>
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames Duration="{StaticResource A_Duration_NotificationShowAnimation}"  Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(TranslateTransform.Y)" Storyboard.TargetName="Title">
                            <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="-36" />
                            <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_NotificationShowAnimation}" Value="0" EasingFunction="{local:PowerEasing EasingMode=EaseOut}"/>
                        </DoubleAnimationUsingKeyFrames>
                        <StringAnimationUsingKeyFrames Storyboard.TargetProperty="(local:EventFire.EventName)" Storyboard.TargetName="EventFire">
                            <DiscreteStringKeyFrame KeyTime="0:0:5.9" Value=""/>
                            <DiscreteStringKeyFrame KeyTime="0:0:6.0" Value="ShownComplete"/>
                        </StringAnimationUsingKeyFrames>
                        <StringAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Tag)" Storyboard.TargetName="NotificationContent">
                            <DiscreteStringKeyFrame KeyTime="0" Value="shown"/>
                        </StringAnimationUsingKeyFrames>
                    </Storyboard>
                </VisualState>
            </VisualStateGroup>
        </VisualStateManager.VisualStateGroups>

        <Decorator ClipToBounds="True" Height="36">
            <local:FZTextBlock Style="{StaticResource A_Style_FZTextBlock_MinorNotification_TitleText}"
                                               HorizontalAlignment="Center"
                                               VerticalAlignment="Center"
                                               x:Name="Title">
                <local:FZTextBlock.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform/>
                        <TranslateTransform/>
                    </TransformGroup>
                </local:FZTextBlock.RenderTransform>
            </local:FZTextBlock>
        </Decorator>

        <StackPanel x:Name="FlippingControl" Style="{StaticResource A_Style_StackPanel_Notification}" RenderTransformOrigin="0.5,0.5">
            <ContentControl x:Name="NotificationContent" Template="{Binding NotificationType, Converter={StaticResource A_MappingConverter_Control_ControlTemplate_FromMinorNotificationType}}"  HorizontalAlignment="Center" VerticalAlignment="Center" Tag=""/>
        </StackPanel>
        <local:EventFire x:Name="EventFire" />

        <!-- Audio Events -->
        <local:AudioEvent x:Name="MinorOffAudioEvent" />
    </StackPanel>
</UserControl>