<local:HUDControl
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="clr-namespace:ForzaUI"
             x:Class="ForzaUI.HUDRivalsEverywhereControl"
             xmlns:System="clr-namespace:System;assembly=mscorlib"
             mc:Ignorable="d"
             Margin="0,0,0,0"
             VerticalAlignment="Bottom"
             DataContext="{x:Null}">
    <UserControl.Resources>
        <ResourceDictionary>
            <System:String x:Key="A_String_MinorOffAudio">/Master/UI/Notification/HZ3_SFX_HUD_Notification_MinorOff_01</System:String>
            <System:String x:Key="A_String_MinorSpinAudio">/Master/UI/Notification/HZ3_SFX_HUD_Notification_MinorSpin_01</System:String>
            <System:String x:Key="A_String_MinorSlideAudio">/Master/UI/Notification/HZ3_SFX_HUD_Notification_MinorSlide_01</System:String>
            <System:String x:Key="A_String_MinorBoomAudio">/Master/UI/Notification/HZ3_SFX_HUD_Notification_MinorBoom_01</System:String>
            <System:String x:Key="A_String_MinorOvertakeAudio">/Master/UI/Notification/HZ3_SFX_HUD_Notification_MinorOvertake_01</System:String>

            <MappingConverter x:Key="A_LangStrToTargetToNextMedalSubStringMargin" Default="0,0,0,6">
                <MappingConverterEntry Key="CHS" Value="0,0,0,12"/>
                <MappingConverterEntry Key="CHT" Value="0,0,0,12"/>
                <MappingConverterEntry Key="JP" Value="0,0,0,12"/>
                <MappingConverterEntry Key="KO" Value="0,0,0,12"/>
            </MappingConverter>

            <Thickness x:Key="A_Thickness_ContentsMargin_MedalEarned">0,0</Thickness>
            <Thickness x:Key="A_Thickness_RivalsComparisonScoreMargin">10,0,0,0</Thickness>

            <System:Double x:Key="A_Double_FlipInDegreesStart">90</System:Double>
            <System:Double x:Key="A_Double_FlipInDegreesEnd">0</System:Double>

            <System:Double x:Key="A_Double_FlipOutDegreesStart">0</System:Double>
            <System:Double x:Key="A_Double_FlipOutDegreesEnd">-76</System:Double>

            <System:Double x:Key="A_Double_SwapDegreesStart">0</System:Double>
            <System:Double x:Key="A_Double_SwapDegreesMidOut">-90</System:Double>
            <System:Double x:Key="A_Double_SwapDegreesMidIn">90</System:Double>
            <System:Double x:Key="A_Double_SwapDegreesEnd">0</System:Double>

            <System:Double x:Key="A_Double_ContentsSlideDistancePositive">76</System:Double>
            <System:Double x:Key="A_Double_ContentsSlideDistanceNegative">-76</System:Double>

            <System:Double x:Key="A_Double_RivalsComparisonOffsetPositive">13</System:Double>
            <System:Double x:Key="A_Double_RivalsComparisonOffsetNegative">-13</System:Double>

            <System:Double x:Key="A_Double_AmbientChallengeContentsWidth">320</System:Double>
            <System:Double x:Key="A_Double_DangerSignContentsWidth">320</System:Double>
            <System:Double x:Key="A_Double_HeadToHeadContentsWidth">320</System:Double>
            <System:Double x:Key="A_Double_MedalsContentsWidth">320</System:Double>

            <System:Double x:Key="A_Double_RivalsComparisonContentsMinWidth">320</System:Double>
            <System:Double x:Key="A_Double_RivalsComparisonPanelMaxWidthPositive">392</System:Double>
            <System:Double x:Key="A_Double_RivalsComparisonPanelMaxWidthNegative">-392</System:Double>

            <System:Double x:Key="A_Double_NewMedalAwarded_InitialStarScale">0.0</System:Double>

            <Thickness x:Key="A_Thickness_HUDRivalsEverywhere_ContentsMargin">10,14</Thickness>

            <PowerEase x:Key="A_EasingFunction_PowerEaseOut" EasingMode="EaseOut" />
            <CubicEase x:Key="A_EasingFunction_EaseInOutCubic" EasingMode="EaseInOut" />

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

            <Duration x:Key="A_Duration_TransitionSlide">0:0:0.27</Duration>
            <Duration x:Key="A_Duration_TransitionFlip">0:0:0.133</Duration>
            <Duration x:Key="A_Duration_TransitionSwap">0:0:0.266</Duration>
            <Duration x:Key="A_Duration_TransitionBoom">0:0:0.266</Duration>

            <KeyTime x:Key="A_KeyTime_TitleIn">0:0:0.133</KeyTime>
            <KeyTime x:Key="A_KeyTime_TitleOut">0:0:0.133</KeyTime>

            <KeyTime x:Key="A_KeyTime_MinorNotification_FlipIn">0:0:0.133</KeyTime>
            <KeyTime x:Key="A_KeyTime_MinorNotification_FadeIn">0:0:0.1</KeyTime>

            <KeyTime x:Key="A_KeyTime_MinorNotification_FlipOut">0:0:0.133</KeyTime>
            <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_SwapFlashEnd">0:0:0.583</KeyTime>
            <KeyTime x:Key="A_KeyTime_MinorNotification_Slide">0:0:0.3</KeyTime>

            <KeyTime x:Key="A_KeyTime_ScoreScreenComplete">0:0:1.50</KeyTime>
            <KeyTime x:Key="A_KeyTime_NewPersonalBestComplete">0:0:2.65</KeyTime>
            <KeyTime x:Key="A_KeyTime_FailedComplete">0:0:1.50</KeyTime>
            <KeyTime x:Key="A_KeyTime_RivalComparisonComplete">0:0:2.75</KeyTime>
            <KeyTime x:Key="A_KeyTime_RivalComparisonBeatComplete">0:0:3.3</KeyTime>
            <KeyTime x:Key="A_KeyTime_MedalEarnedComplete">0:0:1.6</KeyTime>
            <KeyTime x:Key="A_KeyTime_TargetToNextMedalComplete">0:0:1.6</KeyTime>
            <KeyTime x:Key="A_KeyTime_ComparisonComplete">0:0:1.50</KeyTime>
            <KeyTime x:Key="A_KeyTime_SplitComplete">0:0:1.50</KeyTime>
            <KeyTime x:Key="A_KeyTime_SplitDragMeetsHoldComplete">0:0:1.0</KeyTime>
            <KeyTime x:Key="A_KeyTime_FinalScoreScreenComplete">0:0:1.50</KeyTime>
            <KeyTime x:Key="A_KeyTime_NewMedalEarnedStar1Audio">0:0:0.0</KeyTime>
            <KeyTime x:Key="A_KeyTime_NewMedalEarnedStar2Audio">0:0:0.4</KeyTime>
            <KeyTime x:Key="A_KeyTime_NewMedalEarnedStar3Audio">0:0:0.7</KeyTime>
            <KeyTime x:Key="A_KeyTime_NewMedalEarnedStar1Complete">0:0:1.76</KeyTime>
            <KeyTime x:Key="A_KeyTime_NewMedalEarnedStar2Complete">0:0:2.15</KeyTime>
            <KeyTime x:Key="A_KeyTime_NewMedalEarnedStar3Complete">0:0:4.30</KeyTime>
            <KeyTime x:Key="A_KeyTime_NewSeasonalMedalEarnedComplete">0:0:2.15</KeyTime>
            <KeyTime x:Key="A_KeyTime_MedalShown">0:0:0.50</KeyTime>
            
            <!-- If an animation is being HoldEnd the Trigger animations existing at the same time will get constantly re-evaluated. 
                 This key time exists to provide an end time slightly offset so the trigger animation using the same time will not get constantly trigger-->
            <KeyTime x:Key="A_KeyTime_ProgressBarValueChangeEnd_Hold">0:0:1.54</KeyTime>

            <!-- ANIMATION RESOURCES -->

            <!-- ON AT ZERO -->
            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_IconPrevious_OnAtZero"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="IconPrevious">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_IconBackingPrevious_OnAtZero"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="IconBackingPrevious">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_ActivityTitlePrevious_OnAtZero"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ActivityTitlePrevious">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="PART_OuterPanel">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
            </DoubleAnimationUsingKeyFrames>




            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_GoldStar1_OnAtZero"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="GoldStar1">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_GoldStar2_OnAtZero"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="GoldStar2">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_GoldStar3_OnAtZero"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="GoldStar3">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
            </DoubleAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_ScoreScreenContents_OnAtZero"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ScoreScreenContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_FailedContents_OnAtZero"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="FailedContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtZero"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="RivalsComparisonContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_GlobalPositionContents_OnAtZero"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="GlobalPositionContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_SplitContents_OnAtZero"
                   Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="SplitContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_TextDisplayContents_OnAtZero"
                   Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="TextDisplayContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>

            <ColorAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_ScoreScreenText_HighlightAtZero"
                   Storyboard.TargetProperty="(FZTextBlock.Color)" Storyboard.TargetName="ScoreScreenText">
                <DiscreteColorKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Color_HUD_HighlightText}"/>
            </ColorAnimationUsingKeyFrames>
            <ColorAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_ScoreScreenText_HighlightOffAtZero"
                                          Storyboard.TargetProperty="(FZTextBlock.Color)" Storyboard.TargetName="ScoreScreenText">
                <DiscreteColorKeyFrame KeyTime="0:0:0.0" Value="{StaticResource H_Color_Primary_White}"/>
            </ColorAnimationUsingKeyFrames>            

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_NewMedalEarnedContents_OnAtZero"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="NewMedalEarnedContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_TargetToNextMedalContents_OnAtZero"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="TargetToNextMedalContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_NewPersonalBestContents_OnAtZero"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="NewPersonalBestContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_MedalEarnedContents_OnAtZero"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="MedalEarnedContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_NewSeasonalMedalEarnedContents_OnAtZero"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="NewSeasonalMedalEarnedContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>

            <!-- ON AT MID -->

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="IconCurrent">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                <DiscreteDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="1"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="IconBackingCurrent">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                <DiscreteDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="1"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_ActivityTitle_OnAtMid"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ActivityTitle">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                <DiscreteDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="1"/>
            </DoubleAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_NewPersonalBestContents_OnAtMid"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="NewPersonalBestContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Collapsed}"/>
                <DiscreteObjectKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_TargetToNextMedalContents_OnAtMid"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="TargetToNextMedalContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Collapsed}"/>
                <DiscreteObjectKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>


            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtMid"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="RivalsComparisonContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Collapsed}"/>
                <DiscreteObjectKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>


            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_GlobalPositionContents_OnAtMid"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="GlobalPositionContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Collapsed}"/>
                <DiscreteObjectKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_NewSeasonalMedalEarnedContents_OnAtMid"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="NewSeasonalMedalEarnedContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Collapsed}"/>
                <DiscreteObjectKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_SplitContents_OnAtMid"
                   Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="SplitContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Collapsed}"/>
                <DiscreteObjectKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>

            <ColorAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_ScoreScreenText_HighlightAtMid"
                   Storyboard.TargetProperty="(FZTextBlock.Color)" Storyboard.TargetName="ScoreScreenText">
                <DiscreteColorKeyFrame KeyTime="0:0:0.0" Value="{StaticResource H_Color_Primary_White}"/>
                <DiscreteColorKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{StaticResource H_Color_Primary_White}"/>
                <EasingColorKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapEnd}" Value="{StaticResource A_Color_HUD_HighlightText}"/>
            </ColorAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_ScoreScreenContents_OnAtMid"
                   Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ScoreScreenContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Collapsed}"/>
                <DiscreteObjectKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{x:Static Visibility.Visible}"/>
            </ObjectAnimationUsingKeyFrames>

            <!-- OFF AT ZERO -->

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_IconCurrent_OffAtZero"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="IconCurrent">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_IconBackingCurrent_OffAtZero"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="IconBackingCurrent">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_ActivityTitle_OffAtZero"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ActivityTitle">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
            </DoubleAnimationUsingKeyFrames>


            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_Star1_OffAtZero"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Star1">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_Star2_OffAtZero"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Star2">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_Star3_OffAtZero"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Star3">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_NewStar1_OffAtZero"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="NewStar1">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_NewStar2_OffAtZero"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="NewStar2">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_NewStar3_OffAtZero"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="NewStar3">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
            </DoubleAnimationUsingKeyFrames>

            <!-- OFF AT MID -->

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="IconPrevious">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
                <DiscreteDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="0"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="IconBackingPrevious">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
                <DiscreteDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="0"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_ActivityTitle_OffAtMid"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ActivityTitle">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
                <DiscreteDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="0"/>
            </DoubleAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_ScoreScreenContents_OffAtMid"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="ScoreScreenContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{x:Static Visibility.Collapsed}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_TextDisplayContents_OffAtMid"
                               Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="TextDisplayContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{x:Static Visibility.Collapsed}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_SplitContents_OffAtMid"
                                Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="SplitContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{x:Static Visibility.Collapsed}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_NewPersonalBestContents_OffAtMid"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="NewPersonalBestContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{x:Static Visibility.Collapsed}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_NewMedalEarnedContents_OffAtMid"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="NewMedalEarnedContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{x:Static Visibility.Collapsed}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_MedalEarnedContents_OffAtMid"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="MedalEarnedContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{x:Static Visibility.Collapsed}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_TargetToNextMedalContents_OffAtMid"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="TargetToNextMedalContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{x:Static Visibility.Collapsed}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_RivalsComparisonContents_OffAtMid"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="RivalsComparisonContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{x:Static Visibility.Collapsed}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_NewSeasonalMedalEarnedContents_OffAtMid"
                                           Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="NewSeasonalMedalEarnedContents">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{x:Static Visibility.Collapsed}"/>
            </ObjectAnimationUsingKeyFrames>

            <!-- SLIDE IN -->

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_NewMedalEarnedContents_FadeInAtZero"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="NewMedalEarnedContents">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0" />
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapEnd}" Value="1" />
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_MedalEarnedContents_FadeInAtZero"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="MedalEarnedContents">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0" />
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapEnd}" Value="1" />
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_FailedContents_SlideIn"
                                           Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(TranslateTransform.Y)" Storyboard.TargetName="FailedContents">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_ContentsSlideDistancePositive}" />
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_Slide}" Value="0" EasingFunction="{StaticResource A_EasingFunction_EaseInOutCubic}"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_TargetToNextMedalContents_SlideIn"
                                           Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(TranslateTransform.Y)" Storyboard.TargetName="TargetToNextMedalContents">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_ContentsSlideDistancePositive}" />
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_Slide}" Value="0" EasingFunction="{StaticResource A_EasingFunction_EaseInOutCubic}"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_SplitContents_FadeInAtZero"
                               Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SplitContents">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0" />
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapEnd}" Value="1" />
            </DoubleAnimationUsingKeyFrames>

            <!-- FADE OUT -->


            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_MedalEarnedContents_FadeOutAtZero"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="MedalEarnedContents">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1" />
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapEnd}" Value="0" />
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_ScoreScreenContents_SlideOut"
                                           Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(TranslateTransform.Y)" Storyboard.TargetName="ScoreScreenContents">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0" />
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_Slide}" Value="{StaticResource A_Double_ContentsSlideDistanceNegative}" EasingFunction="{StaticResource A_EasingFunction_EaseInOutCubic}"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_ScoreScreenContents_FadeOutAtZero"
                               Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="ScoreScreenContents">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1" />
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapEnd}" Value="0" />
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_NewPersonalBestContents_SlideOut"
                                           Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(TranslateTransform.Y)" Storyboard.TargetName="NewPersonalBestContents">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0" />
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_Slide}" Value="{StaticResource A_Double_ContentsSlideDistanceNegative}" EasingFunction="{StaticResource A_EasingFunction_EaseInOutCubic}"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_SplitContents_SlideOut"
                               Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(TranslateTransform.Y)" Storyboard.TargetName="SplitContents">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0" />
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_Slide}" Value="{StaticResource A_Double_ContentsSlideDistanceNegative}" EasingFunction="{StaticResource A_EasingFunction_EaseInOutCubic}"/>
            </DoubleAnimationUsingKeyFrames>

            <!-- MISC HIGH USE -->

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_PanelRoot_FlipOut"
                                           Storyboard.TargetProperty="(local:ZPanel.Transform).(Transform3DGroup.Children)[0].(RotateTransform3D.Rotation).(AxisAngleRotation3D.Angle)" Storyboard.TargetName="PanelRoot">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_FlipOutDegreesStart}"/>
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_FlipOut}" Value="{StaticResource A_Double_FlipOutDegreesEnd}" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseOut}"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_IconRoot_FlipOut"
                               Storyboard.TargetProperty="(local:ZPanel.Transform).(Transform3DGroup.Children)[0].(RotateTransform3D.Rotation).(AxisAngleRotation3D.Angle)" Storyboard.TargetName="IconRoot">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_FlipOutDegreesStart}"/>
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_FlipOut}" Value="{StaticResource A_Double_FlipOutDegreesEnd}" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseOut}"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_RivalPlayerEntry_PositiveOffsetAtZero"
                                           Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(TranslateTransform.Y)" Storyboard.TargetName="RivalPlayerEntry">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_RivalsComparisonOffsetPositive}"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_LocalPlayerEntry_NegativeOffsetAtZero"
                                           Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(TranslateTransform.Y)" Storyboard.TargetName="LocalPlayerEntry">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_RivalsComparisonOffsetNegative}"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_RivalPlayerEntry_NegativeOffsetAtZero"
                                           Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(TranslateTransform.Y)" Storyboard.TargetName="RivalPlayerEntry">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_RivalsComparisonOffsetNegative}"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_LocalPlayerEntry_PositiveOffsetAtZero"
                                           Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(TranslateTransform.Y)" Storyboard.TargetName="LocalPlayerEntry">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_RivalsComparisonOffsetPositive}"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_PanelRoot_FlipIn"
                                           Storyboard.TargetProperty="(local:ZPanel.Transform).(Transform3DGroup.Children)[0].(RotateTransform3D.Rotation).(AxisAngleRotation3D.Angle)" Storyboard.TargetName="PanelRoot">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_FlipInDegreesStart}"/>
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_FlipIn}" Value="{StaticResource A_Double_FlipInDegreesEnd}" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseOut}"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_PanelRoot_FadeIn"
                                           Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="PanelRoot">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0.0"/>
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_FadeIn}" Value="1.0"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_PanelRoot_Swap"
                                           Storyboard.TargetProperty="(local:ZPanel.Transform).(Transform3DGroup.Children)[0].(RotateTransform3D.Rotation).(AxisAngleRotation3D.Angle)" Storyboard.TargetName="PanelRoot">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SwapDegreesStart}"/>
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{StaticResource A_Double_SwapDegreesMidOut}" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                <DiscreteDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{StaticResource A_Double_SwapDegreesMidIn}"/>
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapEnd}" Value="{StaticResource A_Double_SwapDegreesEnd}" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseOut}"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_IconRoot_FlipIn"
                               Storyboard.TargetProperty="(local:ZPanel.Transform).(Transform3DGroup.Children)[0].(RotateTransform3D.Rotation).(AxisAngleRotation3D.Angle)" Storyboard.TargetName="IconRoot">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_FlipInDegreesStart}"/>
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_FlipIn}" Value="{StaticResource A_Double_FlipInDegreesEnd}" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseOut}"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_IconRoot_FadeIn"
                               Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="IconRoot">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0.0"/>
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_FadeIn}" Value="1.0"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_IconRoot_Swap"
                               Storyboard.TargetProperty="(local:ZPanel.Transform).(Transform3DGroup.Children)[0].(RotateTransform3D.Rotation).(AxisAngleRotation3D.Angle)" Storyboard.TargetName="IconRoot">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_SwapDegreesStart}"/>
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{StaticResource A_Double_SwapDegreesMidOut}" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                <DiscreteDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="{StaticResource A_Double_SwapDegreesMidIn}"/>
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapEnd}" Value="{StaticResource A_Double_SwapDegreesEnd}" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseOut}"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_IconCurrent_BouncePulseXAtZero"
                                           Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="IconCurrent">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1" />
                <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="1.2" EasingFunction="{local:CubicEasing EasingMode=EaseInOut}"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.166" Value="1" EasingFunction="{local:CubicEasing EasingMode=EaseInOut}"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.233" Value="0.92" EasingFunction="{local:CubicEasing EasingMode=EaseInOut}"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1" EasingFunction="{local:CubicEasing EasingMode=EaseInOut}"/>
            </DoubleAnimationUsingKeyFrames>

            <!-- MISC LOW USE -->

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_RecentBestPanel_FadeOutAtZero"
                                            Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="PART_RecentBestPanel">
                <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_FlipOut}" Value="0"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_RecentBestPanel_FadeInAtZero"
                                            Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="PART_RecentBestPanel">
                <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_PanelBoom_FlashAtMid"
                                            Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="PanelBoom">
                <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="1"/>
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapFlashEnd}" Value="0"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_PanelBoom_GrowXFromZero"
                                            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 x:Key="A_AnimationUsingKeyFrames_Boom_FlashAtMid"
                                            Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Boom">
                <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapMid}" Value="1"/>
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_MinorNotification_SwapFlashEnd}" Value="0"/>
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_Boom_GrowXFromZero"
                                            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>

            <Style x:Key="A_Style_FrameworkElement_Flippable" TargetType="{x:Type FrameworkElement}">
                <Setter Property="Height" Value="{StaticResource A_Double_MinorNotification_Height}"/>
                <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>

            <Style x:Key="A_Style_FrameworkElement_2DTransformable" TargetType="{x:Type FrameworkElement}">
                <Setter Property="RenderTransformOrigin" Value="0.5,0.5"/>
                <Setter Property="RenderTransform">
                    <Setter.Value>
                        <TransformGroup>
                            <ScaleTransform ScaleY="{Binding ScaleX, RelativeSource={RelativeSource Self}}"/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Setter.Value>
                </Setter>
            </Style>

            <System:Double x:Key="A_Double_Opacity_StarUnearned">0.4</System:Double>


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

            <Style x:Key="A_Style_RivalsEverywhereMarkup_STARS" TargetType="{x:Type local:FZRun}">
                <Setter Property="Color" Value="#FFFEFF49"/>
            </Style>

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

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

            <Style x:Key="A_Style_RivalsEverywhereMarkup_ACCOLADES" TargetType="{Type Control}">
                <Setter Property="VerticalAlignment" Value="Center"/>
                <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate TargetType="{Type Control}">
                            <FZMaterial
                                Height="{Binding ResizedCapHeight, RelativeSource={RelativeSource AncestorType=FZTextBlock}, Converter={LinearTransformConverter Scale=1.25}}"
                                Width="{Binding Height, RelativeSource={RelativeSource Self}}"
                                Color="{Binding Color, RelativeSource={RelativeSource AncestorType=FZTextBlock}, FallbackValue={StaticResource H_Color_Primary_Yellow}}"
                                ImageSource="/ForzaUI;component/Textures/Data_Bound/Anthem/Rivals/Accolades.png"
                                Effect="{Binding Effect, RelativeSource={RelativeSource AncestorType=FZTextBlock}}"
                                Visibility="{Binding Downloaded, RelativeSource={RelativeSource Self}, Converter={FZBooleanToVisibilityConverter UseHidden=True}}"
                                Margin="2,-8,2,-8" />
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
            </Style>

            <MappingConverter x:Key="A_MappingConverter_RivalsEverywhere">
                <MappingConverterEntry Key="{NoCase HIGHLIGHT}" Value="{StaticResource A_Style_RivalsEverywhereMarkup_HIGHLIGHT}" />
                <MappingConverterEntry Key="{NoCase STARS}" Value="{StaticResource A_Style_RivalsEverywhereMarkup_STARS}" />
                <MappingConverterEntry Key="{NoCase FANS_HIGHLIGHT}" Value="{StaticResource A_Style_RivalsEverywhereMarkup_FANS_HIGHLIGHT}" />
                <MappingConverterEntry Key="{NoCase NUM}" Value="{StaticResource A_Style_RivalsEverywhereMarkup_NUM}" />
                <MappingConverterEntry Key="{NoCase ACCOLADES}" Value="{StaticResource A_Style_RivalsEverywhereMarkup_ACCOLADES}" />
            </MappingConverter>

            <Style x:Key="A_Style_Text_Small" TargetType="{x:Type local:FZTextBlock}" BasedOn="{StaticResource A_Style_FZTextBlock_HorizonA_tf}">
                <Setter Property="VerticalAlignment" Value="Center" />
                <Setter Property="Color" Value="{StaticResource A_Color_HUD_Text}" />
                <Setter Property="CapHeight" Value="16"/>
                <Setter Property="Effect" Value="{StaticResource A_DropShadowEffect_DefaultHud}" />
                <Setter Property="Stretch" Value="Uniform"/>
                <Setter Property="StretchDirection" Value="DownOnly"/>
            </Style>

            <Style x:Key="A_Style_Text_Mid" TargetType="{x:Type local:FZTextBlock}" BasedOn="{StaticResource A_Style_Text_Small}">
                <Setter Property="CapHeight" Value="23"/>
                <Setter Property="HorizontalAlignment" Value="Center"/>
            </Style>

            <Style x:Key="A_Style_Text_Mid_Numeric" TargetType="{x:Type local:FZTextBlock}" BasedOn="{StaticResource A_Style_Text_Mid}">
                <Setter Property="FontFamily" Value="Horizon_A_tf"/>
                <Setter Property="Color" Value="{StaticResource A_Color_HUD_HighlightText}"/>
            </Style>

            <Style x:Key="A_Style_Text_Big" TargetType="{x:Type local:FZTextBlock}" BasedOn="{StaticResource A_Style_Text_Small}">
                <Setter Property="CapHeight" Value="34"/>
                <Setter Property="HorizontalAlignment" Value="Center"/>
            </Style>

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

            <ImageSource x:Key="A_BitmapImage_Notification_Accolades">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Accolades.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_Rivals">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Rivals.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_Leaderboard">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Leaderboard.png</ImageSource>

            <ImageSource x:Key="A_BitmapImage_Notification_SpeedTrap">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_SpeedTrap.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_SpeedTrap_Seasonal">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_SpeedTrap_Seasonal.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_SpeedZone">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_SpeedZone.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_SpeedZone_Seasonal">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_SpeedZone_Seasonal.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_DangerSign">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_DangerSign.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_DangerSign_Seasonal">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_DangerSign_Seasonal.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_DriftZone">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_DriftZone.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_DriftZone_Seasonal">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_DriftZone_Seasonal.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_HeadToHead">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_H2H.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_BucketList">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Bucket.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_SkillTokenSpent">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Perks.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_Streaming">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Mixer.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_Trailblazer">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Trailblazer.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_Trailblazer_Seasonal">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Trailblazer_Seasonal.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_LimitBreaker">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_LimitBreaker.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_Bullseye">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Bullseye.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_MiniMissions">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_MiniMissions.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_DriftRun">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_DriftRun.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_PinataPop">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_PinataPop.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_DragEvent">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_DragEvent.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_TimeAttack">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_TimeAttack.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_DragMeet">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_DragMeet.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_TimeAttack_Seasonal">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_TimeAttack_Seasonal.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_DragMeet_Seasonal">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_DragMeet_Seasonal.png</ImageSource>
            <ImageSource x:Key="A_BitmapImage_Notification_Rush">/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Horizon_Rush.png</ImageSource>
            
            <local:MappingConverter x:Key="A_MappingConverter_FZMaterial_Icon_FromState">
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.RivalComparisonGood}" Value="{StaticResource A_BitmapImage_Notification_Rivals}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.RivalComparisonBad}" Value="{StaticResource A_BitmapImage_Notification_Rivals}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.RivalComparisonTie}" Value="{StaticResource A_BitmapImage_Notification_Rivals}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.RivalComparisonBeat}" Value="{StaticResource A_BitmapImage_Notification_Rivals}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.GlobalPosition}" Value="{StaticResource A_BitmapImage_Notification_Leaderboard}" />
            </local:MappingConverter>

            <local:MappingConverter x:Key="A_MappingConverter_FZMaterial_Icon_FromActivity">
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.SpeedTrap}" Value="{StaticResource A_BitmapImage_Notification_SpeedTrap}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.SpeedZone}" Value="{StaticResource A_BitmapImage_Notification_SpeedZone}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.DangerSign}" Value="{StaticResource A_BitmapImage_Notification_DangerSign}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.DriftZone}" Value="{StaticResource A_BitmapImage_Notification_DriftZone}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.HeadToHead}" Value="{StaticResource A_BitmapImage_Notification_HeadToHead}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.BucketList}" Value="{StaticResource A_BitmapImage_Notification_BucketList}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.SkillTokenSpent}" Value="{StaticResource A_BitmapImage_Notification_SkillTokenSpent}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.Streaming}" Value="{StaticResource A_BitmapImage_Notification_Streaming}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.Trailblazer}" Value="{StaticResource A_BitmapImage_Notification_Trailblazer}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.LimitBreaker}" Value="{StaticResource A_BitmapImage_Notification_LimitBreaker}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.Bullseye}" Value="{StaticResource A_BitmapImage_Notification_Bullseye}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.MiniMissions}" Value="{StaticResource A_BitmapImage_Notification_MiniMissions}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.DriftRun}" Value="{StaticResource A_BitmapImage_Notification_DriftRun}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.PinataPop}" Value="{StaticResource A_BitmapImage_Notification_PinataPop}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.DragEvent}" Value="{StaticResource A_BitmapImage_Notification_DragEvent}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.TimeAttack}" Value="{StaticResource A_BitmapImage_Notification_TimeAttack}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.DragMeet}" Value="{StaticResource A_BitmapImage_Notification_DragMeet}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.Rush}" Value="{StaticResource A_BitmapImage_Notification_Rush}"/>
            </local:MappingConverter>

            <local:MappingConverter x:Key="A_MappingConverter_FZMaterial_Icon_UseFromActivityBoolean" Default="{StaticResource A_Boolean_False}">
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.Failed}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.ScoreScreen}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.NewPersonalBest}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.NewMedalEarned}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.NewGoldMedalEarned}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.NewSeasonalMedalEarned}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.MedalEarned}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.TargetToNextMedal}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.SplitGood}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.SplitBad}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.SplitDragMeetsHold}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.FinalScoreScreen}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.TextDisplay}" Value="{StaticResource A_Boolean_True}"/>
            </local:MappingConverter>

            <local:MappingConverter x:Key="A_MappingConverter_FZMaterial_Icon_CanUseSeasonalIconBoolean" Default="{StaticResource A_Boolean_False}">
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.SpeedTrap}" Value="{StaticResource A_Boolean_True}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.SpeedZone}" Value="{StaticResource A_Boolean_True}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.DangerSign}" Value="{StaticResource A_Boolean_True}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.DriftZone}" Value="{StaticResource A_Boolean_True}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.Trailblazer}" Value="{StaticResource A_Boolean_True}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.TimeAttack}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.DragMeet}" Value="{StaticResource A_Boolean_True}"/>
            </local:MappingConverter>

            <local:MappingConverter x:Key="A_MappingConverter_FZMaterial_SeasonalIcon_FromActivity">
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.SpeedTrap}" Value="{StaticResource A_BitmapImage_Notification_SpeedTrap_Seasonal}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.SpeedZone}" Value="{StaticResource A_BitmapImage_Notification_SpeedZone_Seasonal}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.DangerSign}" Value="{StaticResource A_BitmapImage_Notification_DangerSign_Seasonal}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.DriftZone}" Value="{StaticResource A_BitmapImage_Notification_DriftZone_Seasonal}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.Trailblazer}" Value="{StaticResource A_BitmapImage_Notification_Trailblazer_Seasonal}" />
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.TimeAttack}" Value="{StaticResource A_BitmapImage_Notification_TimeAttack_Seasonal}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalEventType.DragMeet}" Value="{StaticResource A_BitmapImage_Notification_DragMeet_Seasonal}"/>
            </local:MappingConverter>

            <local:MappingConverter x:Key="A_MappingConverter_HUDRivalStateToUseCurrentMedalIsAtMaximumBoolean"
                Default="{StaticResource A_Boolean_False}">
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.Failed}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.ScoreScreen}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.NewPersonalBest}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.MedalEarned}" Value="{StaticResource A_Boolean_True}"/>
            </local:MappingConverter>
            
            <Style x:Key="A_Style_FZMaterial_Icon_ForceNoGold" TargetType="{x:Type local:FZMaterial}" BasedOn="{StaticResource A_Style_FrameworkElement_2DTransformable}">
                <Setter Property="Width" Value="70"/>
                <Setter Property="Height" Value="70"/>
                <Setter Property="Margin" Value="0,-17.5,0,0"/>
                <Setter Property="Color" Value="{StaticResource H_Color_Primary_White}"/>
                <Setter Property="ImageSource" Value="{Binding Path=(local:BindingProxy.A), RelativeSource={RelativeSource Self}, Converter={StaticResource A_MappingConverter_FZMaterial_Icon_FromState}}"/>
                <Setter Property="Visibility" Value="{Binding Downloaded, RelativeSource={RelativeSource Self}, Converter={FZBooleanToVisibilityConverter}}"/>
                <Style.Triggers>
                    <DataTrigger Binding="{Binding Path=(local:BindingProxy.A), RelativeSource={RelativeSource Self}, Converter={StaticResource A_MappingConverter_FZMaterial_Icon_UseFromActivityBoolean}}" Value="{StaticResource A_Boolean_True}">
                        <Setter Property="ImageSource" Value="{HUDDataBinding RivalEventType, Converter={StaticResource A_MappingConverter_FZMaterial_Icon_FromActivity}}"/>
                    </DataTrigger>
                    <DataTrigger Binding="{Binding ImageSource, RelativeSource={RelativeSource Self}, Converter={FZBooleanToVisibilityConverter}}" Value="{x:Static Visibility.Collapsed}">
                        <Setter Property="Visibility" Value="{x:Static Visibility.Collapsed}"/>
                    </DataTrigger>
                    <MultiDataTrigger>
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{HUDDataBinding RivalEventType, Converter={StaticResource A_MappingConverter_FZMaterial_Icon_CanUseSeasonalIconBoolean}}" Value="{StaticResource A_Boolean_True}"/>
                            <Condition Binding="{HUDDataBinding HasSeasonalObjective}" Value="{StaticResource A_Boolean_True}"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="ImageSource" Value="{HUDDataBinding RivalEventType, Converter={StaticResource A_MappingConverter_FZMaterial_SeasonalIcon_FromActivity}}"/>
                    </MultiDataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FZMaterial_Icon" TargetType="{x:Type local:FZMaterial}" BasedOn="{StaticResource A_Style_FZMaterial_Icon_ForceNoGold}">
                <Style.Triggers>
                    <DataTrigger Binding="{HUDDataBinding RivalEventType}" Value="{x:Static local:HUDRivalEventType.LabyrinthSkillMode}">
                        <Setter Property="Color" Value="{StaticResource H_Color_Primary_Purple}"/>
                        <Setter Property="ImageSource" Value="/ForzaUI;component/Textures/Anthem/HUD/MinorNotificationIcons/Notification_Perks.png"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <local:MappingConverter x:Key="A_MappingConverter_FZMaterial_IconBacking_FromState" Default="{StaticResource H_Color_Primary_Pink}">
            </local:MappingConverter>

            <local:MappingConverter x:Key="A_MappingConverter_FZMaterial_IconBacking_FromUITheme" Default="{StaticResource H_Color_Primary_Pink}">
                <local:MappingConverterEntry Key="asphalt_series" Value="{StaticResource PART_A_Color_ProgressionThread_asphalt_series}"/>
                <local:MappingConverterEntry Key="mixed_surface_series" Value="{StaticResource PART_A_Color_ProgressionThread_mixed_surface_series}"/>
                <local:MappingConverterEntry Key="cross_country_series" Value="{StaticResource PART_A_Color_ProgressionThread_cross_country_series}"/>
                <local:MappingConverterEntry Key="street_racing_series" Value="{StaticResource PART_A_Color_ProgressionThread_street_racing_series}"/>
                <local:MappingConverterEntry Key="drag_racing" Value="{StaticResource PART_A_Color_ProgressionThread_drag_racing}"/>
                <local:MappingConverterEntry Key="drift_zones" Value="{StaticResource PART_A_Color_ProgressionThread_drift_zones}"/>
                <local:MappingConverterEntry Key="painter" Value="{StaticResource PART_A_Color_ProgressionThread_painter}"/>
                <local:MappingConverterEntry Key="tuner" Value="{StaticResource PART_A_Color_ProgressionThread_tuner}"/>
                <local:MappingConverterEntry Key="photo" Value="{StaticResource PART_A_Color_ProgressionThread_photo}"/>
                <local:MappingConverterEntry Key="blueprint" Value="{StaticResource PART_A_Color_ProgressionThread_blueprint}"/>
                <local:MappingConverterEntry Key="speed_trap" Value="{StaticResource PART_A_Color_ProgressionThread_speed_trap}"/>
                <local:MappingConverterEntry Key="speed_zone" Value="{StaticResource PART_A_Color_ProgressionThread_speed_zone}"/>
                <local:MappingConverterEntry Key="danger_sign" Value="{StaticResource PART_A_Color_ProgressionThread_danger_sign}"/>
                <local:MappingConverterEntry Key="car_collector" Value="{StaticResource PART_A_Color_ProgressionThread_car_collector}"/>
                <local:MappingConverterEntry Key="discovery" Value="{StaticResource PART_A_Color_ProgressionThread_discovery}"/>
                <local:MappingConverterEntry Key="rivals" Value="{StaticResource PART_A_Color_ProgressionThread_rivals}"/>
                <local:MappingConverterEntry Key="online_adventure_racing" Value="{StaticResource PART_A_Color_ProgressionThread_online_adventure_racing}"/>
                <local:MappingConverterEntry Key="skills" Value="{StaticResource PART_A_Color_ProgressionThread_skills}"/>
                <local:MappingConverterEntry Key="online_adventure_mixed" Value="{StaticResource PART_A_Color_ProgressionThread_online_adventure_mixed}"/>
                <local:MappingConverterEntry Key="online_adventure_playground_games" Value="{StaticResource PART_A_Color_ProgressionThread_online_adventure_playground_games}"/>
                <local:MappingConverterEntry Key="online_life_playground_games" Value="{StaticResource PART_A_Color_ProgressionThread_online_life_playground_games}"/>
                <local:MappingConverterEntry Key="streaming" Value="{StaticResource PART_A_Color_ProgressionThread_streaming}"/>
                <local:MappingConverterEntry Key="horizon_stories" Value="{StaticResource PART_A_Color_ProgressionThread_hs_stunt_driver}"/>
                <local:MappingConverterEntry Key="online_adventure_drift" Value="{StaticResource PART_A_Color_ProgressionThread_online_adventure_drift}"/>
                <local:MappingConverterEntry Key="trailblazer" Value="{StaticResource PART_A_Color_ProgressionThread_trailblazer}"/>
                <local:MappingConverterEntry Key="time_attack" Value="{StaticResource A_Color_ProgressionThread_TimeAttack}"/>
                <local:MappingConverterEntry Key="drag_meet" Value="{StaticResource A_Color_ProgressionThread_DragMeet}"/>
                <local:MappingConverterEntry Key="horizon_rush_docks" Value="{StaticResource A_Color_Notifications_UITheme_HorizonRush}"/>
                <local:MappingConverterEntry Key="horizon_rush_rocket" Value="{StaticResource A_Color_Notifications_UITheme_HorizonRush}"/>
                <local:MappingConverterEntry Key="horizon_rush_ski" Value="{StaticResource A_Color_Notifications_UITheme_HorizonRush}"/>
            </local:MappingConverter>

            <local:FZMaterialPresetRoundtangle x:Key="A_Preset_FZMaterial_SeasonGradient" GradientAngle="90" GradientColorA="{StaticResource A_Color_SeasonalContentGradientA}" GradientColorB="{StaticResource A_Color_SeasonalContentGradientB}"/>

            <local:MappingConverter x:Key="A_MappingConverter_SeasonColor" Default="{StaticResource H_Color_Primary_Pink}" CheckEnumKey="Season">
                <local:MappingConverterEntry Key="{x:Static local:Season.Any}" Value="{StaticResource H_Color_Primary_Pink}"/>
                <local:MappingConverterEntry Key="{x:Static local:Season.Spring}" Value="#FFFFFFFF"/>
                <local:MappingConverterEntry Key="{x:Static local:Season.Summer}" Value="#FFFFFFFF"/>
                <local:MappingConverterEntry Key="{x:Static local:Season.Autumn}" Value="#FFFFFFFF"/>
                <local:MappingConverterEntry Key="{x:Static local:Season.Winter}" Value="#FFFFFFFF"/>
            </local:MappingConverter>

            <local:MappingConverter x:Key="A_MappingConverter_HUDRivalStateToUseProgressionThreadIdOrSeasonalObjectiveBoolean"
                Default="{StaticResource A_Boolean_False}">
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.Failed}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.ScoreScreen}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.NewPersonalBest}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.NewMedalEarned}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.NewGoldMedalEarned}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.NewSeasonalMedalEarned}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.MedalEarned}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.TargetToNextMedal}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.SplitGood}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.SplitBad}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.SplitDragMeetsHold}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.FinalScoreScreen}" Value="{StaticResource A_Boolean_True}"/>
                <local:MappingConverterEntry Key="{x:Static local:HUDRivalState.TextDisplay}" Value="{StaticResource A_Boolean_True}"/>
            </local:MappingConverter>

            <Style x:Key="A_Style_FZMaterial_IconBacking_ForceNoGold" TargetType="{x:Type local:FZMaterial}">
                <Setter Property="Height" Value="{StaticResource A_Double_MinorNotification_SubheaderHeight}"/>
                <Setter Property="VerticalAlignment" Value="Bottom"/>
                <Setter Property="Color" Value="{Binding Path=(local:BindingProxy.A), RelativeSource={RelativeSource Self}, Converter={StaticResource A_MappingConverter_FZMaterial_IconBacking_FromState}}"/>
                <Style.Triggers>
                    <!-- States which use either the Influence Thread color or the Seasonal Objecive override -->
                    <DataTrigger Binding="{Binding Path=(local:BindingProxy.A), RelativeSource={RelativeSource Self}, Converter={StaticResource A_MappingConverter_HUDRivalStateToUseProgressionThreadIdOrSeasonalObjectiveBoolean}}" Value="{StaticResource A_Boolean_True}">
                        <Setter Property="Color" Value="{HUDDataBinding UITheme, Converter={StaticResource A_MappingConverter_FZMaterial_IconBacking_FromUITheme}}"/>
                    </DataTrigger>

                    <!-- Seasonal Objective override, replaces Thread Influence color -->
                    <MultiDataTrigger>
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{Binding Path=(local:BindingProxy.A), RelativeSource={RelativeSource Self}, Converter={StaticResource A_MappingConverter_HUDRivalStateToUseProgressionThreadIdOrSeasonalObjectiveBoolean}}" Value="{StaticResource A_Boolean_True}"/>
                            <Condition Binding="{HUDDataBinding HasSeasonalObjective}" Value="{StaticResource A_Boolean_True}"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="Color" Value="{HUDDataBinding CurrentSeason, Converter={StaticResource A_MappingConverter_SeasonColor}}"/>
                        <Setter Property="Preset" Value="{StaticResource A_Preset_FZMaterial_SeasonGradient}"/>
                    </MultiDataTrigger>

                    <!-- #Forzathon LIVE / Stunt Party theme override -->
                    <DataTrigger Binding="{HUDDataBinding IsStuntPartyChallenge}" Value="True">
                        <Setter Property="Color" Value="#FFFFFF"/>
                        <Setter Property="ImageSource" Value="/ForzaUI;component/Textures/Data_Bound/HUD/StuntParty/Notification_StuntParty_Backing.png"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FZMaterial_IconBacking" TargetType="{x:Type local:FZMaterial}" BasedOn="{StaticResource A_Style_FZMaterial_IconBacking_ForceNoGold}">
                <Style.Triggers>
                    <!-- Labyrinth Skill mode theme override -->
                    <DataTrigger Binding="{HUDDataBinding RivalEventType}" Value="{x:Static local:HUDRivalEventType.LabyrinthSkillMode}">
                        <Setter Property="Color" Value="{StaticResource H_Color_Primary_Yellow}"/>
                    </DataTrigger>
                    <MultiDataTrigger>
                        <!-- If the maximum new medal is a Seasonal Objective, prevent it from being shown during the NewGoldMedalEarned state as we want to reveal it during NewSeasonalMedalEarned instead -->
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{HUDDataBinding NewMedalIsAtMaximum}" Value="{StaticResource A_Boolean_True}"/>
                            <Condition Binding="{HUDDataBinding HasSeasonalObjective}" Value="{StaticResource A_Boolean_True}"/>
                            <Condition Binding="{Binding Path=(local:BindingProxy.A), RelativeSource={RelativeSource Self}}" Value="{x:Static local:HUDRivalState.NewSeasonalMedalEarned}"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="Color" Value="#FFFFFFFF"/>
                        <Setter Property="ImageSource" Value="/ForzaUI;component/Textures/Anthem/HUD/AmbientChallengeMedals/Icon_Backing_Complete.png"/>
                    </MultiDataTrigger>
                    <MultiDataTrigger>
                        <!-- If the maximum new medal is non-Seasonal (ie; Gold/3-Stars), it can be shown at the earliest opportunity -->
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{HUDDataBinding NewMedalIsAtMaximum}" Value="{StaticResource A_Boolean_True}"/>
                            <Condition Binding="{HUDDataBinding HasSeasonalObjective}" Value="{StaticResource A_Boolean_False}"/>
                            <Condition Binding="{Binding Path=(local:BindingProxy.A), RelativeSource={RelativeSource Self}}" Value="{x:Static local:HUDRivalState.NewGoldMedalEarned}"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="Color" Value="#FFFFFFFF"/>
                        <Setter Property="ImageSource" Value="/ForzaUI;component/Textures/Anthem/HUD/AmbientChallengeMedals/Icon_Backing_Complete.png"/>
                    </MultiDataTrigger>
                    <!-- States that show as gold when current medal is at at the maximum -->
                    <MultiDataTrigger>
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{Binding Path=(local:BindingProxy.A), RelativeSource={RelativeSource Self}, Converter={StaticResource A_MappingConverter_HUDRivalStateToUseCurrentMedalIsAtMaximumBoolean}}" Value="{StaticResource A_Boolean_True}"/>
                            <Condition Binding="{HUDDataBinding CurrentMedalIsAtMaximum}" Value="{StaticResource A_Boolean_True}"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="Color" Value="#FFFFFFFF"/>
                        <Setter Property="ImageSource" Value="/ForzaUI;component/Textures/Anthem/HUD/AmbientChallengeMedals/Icon_Backing_Complete.png"/>
                    </MultiDataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_Text_Title_ForceNoGold" TargetType="{x:Type local:FZTextBlock}" BasedOn="{StaticResource A_Style_Text_Small}">
                <Setter Property="HorizontalAlignment" Value="Center"/>
                <Setter Property="Stretch" Value="None"/>
                <Setter Property="Effect" Value="{x:Null}" />
                <Setter Property="RenderTransform">
                    <Setter.Value>
                        <TransformGroup>
                            <ScaleTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Setter.Value>
                </Setter>
            </Style>

            <Style x:Key="A_Style_Text_Title" TargetType="{x:Type local:FZTextBlock}" BasedOn="{StaticResource A_Style_Text_Title_ForceNoGold}">
                <Style.Triggers>
                    <MultiDataTrigger>
                         <!--If the maximum new medal is non-Seasonal (ie; Gold/3-Stars), it can be shown at the earliest opportunity--> 
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{HUDDataBinding NewMedalIsAtMaximum}" Value="{StaticResource A_Boolean_True}"/>
                            <Condition Binding="{HUDDataBinding HasSeasonalObjective}" Value="{StaticResource A_Boolean_False}"/>
                            <Condition Binding="{Binding Path=(local:BindingProxy.A), RelativeSource={RelativeSource Self}}" Value="{x:Static local:HUDRivalState.NewGoldMedalEarned}"/>
                        </MultiDataTrigger.Conditions>
                    </MultiDataTrigger>
                     <!--States that show as gold when current medal is at at the maximum--> 
                    <MultiDataTrigger>
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{Binding Path=(local:BindingProxy.A), RelativeSource={RelativeSource Self}, Converter={StaticResource A_MappingConverter_HUDRivalStateToUseCurrentMedalIsAtMaximumBoolean}}" Value="{StaticResource A_Boolean_True}"/>
                            <Condition Binding="{HUDDataBinding CurrentMedalIsAtMaximum}" Value="{StaticResource A_Boolean_True}"/>
                        </MultiDataTrigger.Conditions>
                    </MultiDataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FrameworkElement_AmbientChallengeContents"
                TargetType="{x:Type FrameworkElement}"
                BasedOn="{StaticResource A_Style_FrameworkElement_2DTransformable}">
                <Setter Property="Width" Value="{StaticResource A_Double_AmbientChallengeContentsWidth}"/>
                <Style.Triggers>
                    <DataTrigger Binding="{HUDDataBinding RivalEventType}" Value="{x:Static local:HUDRivalEventType.DangerSign}">
                        <Setter Property="Width" Value="{StaticResource A_Double_DangerSignContentsWidth}"/>
                    </DataTrigger>
                    <DataTrigger Binding="{HUDDataBinding RivalEventType}" Value="{x:Static local:HUDRivalEventType.HeadToHead}">
                        <Setter Property="Width" Value="{StaticResource A_Double_HeadToHeadContentsWidth}"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FrameworkElement_FlippableAnd2DTransformable" TargetType="{x:Type FrameworkElement}" BasedOn="{StaticResource A_Style_FrameworkElement_Flippable}">
                <Setter Property="Height" Value="{StaticResource A_Double_MinorNotification_HeightWithHeader}"/>
                <Setter Property="RenderTransformOrigin" Value="0.5,0.5"/>
                <Setter Property="RenderTransform">
                    <Setter.Value>
                        <TransformGroup>
                            <ScaleTransform/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </Setter.Value>
                </Setter>
            </Style>

            <Style x:Key="A_Style_FrameworkElement_HideIfNotEarnedThreeStarsAndInNewMedalEarnedState" TargetType="FrameworkElement">
                <Style.Triggers>
                    <MultiDataTrigger>
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{HUDDataBinding NewMedal, Converter={StaticResource A_CompareConverter}, ConverterParameter=3}" Value="-1"/>
                            <Condition Binding="{HUDDataBinding State}" Value="{x:Static local:HUDRivalState.NewMedalEarned}"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="Visibility" Value="Collapsed" />
                    </MultiDataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FZMaterial_StarBase"
                   TargetType="local:FZMaterial">
                <Setter Property="Width" Value="42"/>
                <Setter Property="Height" Value="42"/>
                <Setter Property="Color" Value="{StaticResource H_Color_Primary_Yellow}"/>
                <Setter Property="ImageSource" Value="/ForzaUI;component/Textures/Anthem/HUD/AmbientChallengeMedals/Star_Mask.png"/>
            </Style>

            <Style x:Key="A_Style_FZMaterial_Star1"
                   TargetType="local:FZMaterial"
                   BasedOn="{StaticResource A_Style_FZMaterial_StarBase}">
                <Style.Triggers>
                    <DataTrigger Binding="{HUDDataBinding CurrentMedal, Converter={StaticResource A_CompareConverter}, ConverterParameter=2}" Value="1">
                        <Setter Property="ImageSource" Value="/ForzaUI;component/Textures/Anthem/HUD/AmbientChallengeMedals/Gold_Star.png"/>
                        <Setter Property="Color" Value="#FFFFFFFF"/>
                    </DataTrigger>
                    <DataTrigger Binding="{HUDDataBinding CurrentMedal, Converter={StaticResource A_CompareConverter}, ConverterParameter=1}" Value="-1">
                        <Setter Property="Opacity" Value="{StaticResource A_Double_Opacity_StarUnearned}"/>
                        <Setter Property="Color" Value="{StaticResource H_Color_Primary_White}"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FZMaterial_Star2"
                   TargetType="local:FZMaterial"
                   BasedOn="{StaticResource A_Style_FZMaterial_StarBase}">
                <Style.Triggers>
                    <DataTrigger Binding="{HUDDataBinding CurrentMedal, Converter={StaticResource A_CompareConverter}, ConverterParameter=2}" Value="1">
                        <Setter Property="ImageSource" Value="/ForzaUI;component/Textures/Anthem/HUD/AmbientChallengeMedals/Gold_Star.png"/>
                        <Setter Property="Color" Value="#FFFFFFFF"/>
                    </DataTrigger>
                    <DataTrigger Binding="{HUDDataBinding CurrentMedal, Converter={StaticResource A_CompareConverter}, ConverterParameter=2}" Value="-1">
                        <Setter Property="Opacity" Value="{StaticResource A_Double_Opacity_StarUnearned}"/>
                        <Setter Property="Color" Value="{StaticResource H_Color_Primary_White}"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FZMaterial_Star3"
                   TargetType="local:FZMaterial"
                   BasedOn="{StaticResource A_Style_FZMaterial_StarBase}">
                <Style.Triggers>
                    <DataTrigger Binding="{HUDDataBinding CurrentMedal, Converter={StaticResource A_CompareConverter}, ConverterParameter=2}" Value="1">
                        <Setter Property="ImageSource" Value="/ForzaUI;component/Textures/Anthem/HUD/AmbientChallengeMedals/Gold_Star.png"/>
                        <Setter Property="Color" Value="#FFFFFFFF"/>
                    </DataTrigger>
                    <DataTrigger Binding="{HUDDataBinding CurrentMedal, Converter={StaticResource A_CompareConverter}, ConverterParameter=3}" Value="-1">
                        <Setter Property="Opacity" Value="{StaticResource A_Double_Opacity_StarUnearned}"/>
                        <Setter Property="Color" Value="{StaticResource H_Color_Primary_White}"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FZMaterial_NewStarGlow"
                   TargetType="local:FZMaterial">
                <Setter Property="Width" Value="76"/>
                <Setter Property="Height" Value="76"/>
                <Setter Property="Opacity" Value="0"/>
                <Setter Property="ImageSource" Value="/ForzaUI;component/Textures/Anthem/HUD/AmbientChallengeMedals/Star_Glow.png"/>
                <Setter Property="Margin" Value="-18.5,-18.5,0,0"/>
                <Setter Property="Color" Value="#FFFFFFFF"/>
                <Setter Property="Preset" Value="{StaticResource A_FZMaterialPresetAdditive}"/>
                <Setter Property="RenderTransformOrigin" Value="0.5,0.5"/>
                <Setter Property="RenderTransform">
                    <Setter.Value>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1" ScaleY="{Binding ScaleX, RelativeSource={RelativeSource Self}}"/>
                            <TranslateTransform/>
                            <RotateTransform />
                        </TransformGroup>
                    </Setter.Value>
                </Setter>
            </Style>




            <Style x:Key="A_Style_FZMaterial_NewStar"
                   TargetType="local:FZMaterial"
                   BasedOn="{StaticResource A_Style_FZMaterial_StarBase}">
                <Setter Property="Visibility" Value="Collapsed"/>
                <Setter Property="Opacity" Value="0"/>
                <Setter Property="RenderTransformOrigin" Value="0.5,0.5"/>
                <Setter Property="RenderTransform">
                    <Setter.Value>
                        <TransformGroup>
                            <ScaleTransform ScaleX="1" ScaleY="{Binding ScaleX, RelativeSource={RelativeSource Self}}"/>
                            <TranslateTransform/>
                            <RotateTransform />
                        </TransformGroup>
                    </Setter.Value>
                </Setter>
            </Style>

            <Style x:Key="A_Style_FZMaterial_NewStar1"
                   TargetType="local:FZMaterial"
                   BasedOn="{StaticResource A_Style_FZMaterial_NewStar}">
                <Style.Triggers>
                    <MultiDataTrigger>
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{HUDDataBinding NewMedal, Converter={StaticResource A_CompareConverter}, ConverterParameter=0}" Value="1"/>
                            <Condition Binding="{HUDDataBinding CurrentMedal, Converter={StaticResource A_CompareConverter}, ConverterParameter=1}" Value="-1"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="Visibility" Value="Visible"/>
                    </MultiDataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FZMaterial_NewStar2"
                   TargetType="local:FZMaterial"
                   BasedOn="{StaticResource A_Style_FZMaterial_NewStar}">
                <Style.Triggers>
                    <MultiDataTrigger>
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{HUDDataBinding NewMedal, Converter={StaticResource A_CompareConverter}, ConverterParameter=1}" Value="1"/>
                            <Condition Binding="{HUDDataBinding CurrentMedal, Converter={StaticResource A_CompareConverter}, ConverterParameter=2}" Value="-1"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="Visibility" Value="Visible"/>
                    </MultiDataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FZMaterial_NewStar3"
                   TargetType="local:FZMaterial"
                   BasedOn="{StaticResource A_Style_FZMaterial_NewStar}">
                <Style.Triggers>
                    <MultiDataTrigger>
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{HUDDataBinding NewMedal, Converter={StaticResource A_CompareConverter}, ConverterParameter=2}" Value="1"/>
                            <Condition Binding="{HUDDataBinding CurrentMedal, Converter={StaticResource A_CompareConverter}, ConverterParameter=3}" Value="-1"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="Visibility" Value="Visible"/>
                    </MultiDataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FZMaterial_NewGoldStar"
                   TargetType="local:FZMaterial">
                <Setter Property="Width" Value="42"/>
                <Setter Property="Height" Value="42"/>
                <Setter Property="ImageSource" Value="/ForzaUI;component/Textures/Anthem/HUD/AmbientChallengeMedals/Gold_Star.png"/>
                <Setter Property="Visibility" Value="Collapsed"/>
                <Setter Property="Opacity" Value="0"/>
                <Style.Triggers>
                    <MultiDataTrigger>
                        <MultiDataTrigger.Conditions>
                            <Condition Binding="{HUDDataBinding NewMedal, Converter={StaticResource A_CompareConverter}, ConverterParameter=2}" Value="1"/>
                            <Condition Binding="{HUDDataBinding CurrentMedal, Converter={StaticResource A_CompareConverter}, ConverterParameter=3}" Value="-1"/>
                        </MultiDataTrigger.Conditions>
                        <Setter Property="Visibility" Value="Visible"/>
                    </MultiDataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_FZMaterial_SplitText"
                   TargetType="FZTextBlock"
                   BasedOn="{StaticResource A_Style_Text_Big}">
                <Setter Property="Color" Value="{StaticResource A_Color_Split_Good}"/>
                <Style.Triggers>
                    <DataTrigger Binding="{HUDDataBinding IsGoodSplit}" Value="False">
                        <Setter Property="Color" Value="{StaticResource A_Color_Split_Bad}"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <Style x:Key="A_Style_ControllerButtonControl_TextDisplayActivationButton"
                   TargetType="{x:Type local:ControllerButtonControl}"
                   BasedOn="{StaticResource A_Style_ControllerButtonControl_MinorNotification_ActivationButton}">
                <Setter Property="Height" Value="40"/>
                <Setter Property="MinWidth" Value="40"/>
                <Setter Property="Visibility" Value="Collapsed"/>
                <Style.Triggers>
                    <DataTrigger Binding="{HUDDataBinding ActivateCommand, Converter={StaticResource A_Converter_IsNotNull}}" Value="{StaticResource A_Boolean_True}">
                        <Setter Property="Visibility" Value="Visible"/>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <local:MultiConverter x:Key="A_NumUnitConverter_NoUnit_0dp_WithAccolades">
                <local:MultiConverterEntry Converter="{StaticResource A_NumUnitConverter_NoUnit_0dp}"/>
                <local:MultiConverterEntry Converter="{StringFormatConverter}" Parameter="{local:Loc Rivals.IDS_AccoladesFormat}"/>
            </local:MultiConverter>

            <local:LinearTransformConverter x:Key="A_LinearTransformConverter_PanelGlowSoft" Add="10"/>

            <Style x:Key="A_Style_FZTextBlock_RecentBestScoreStyle" TargetType="{x:Type FZTextBlock}" BasedOn="{StaticResource A_Style_Text_Small}">
            </Style>

            <KeyTime x:Key="A_KeyTime_RecentBestBoom_BoomPeak">0:0:0.233</KeyTime>
            <KeyTime x:Key="A_KeyTime_RecentBestBoom_BoomEnd">0:0:0.433</KeyTime>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_RecentBestScoreText_OffAtZero" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="RecentBestScoreText">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="0" />
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_RecentBestScoreTextPrevious_OnAtZero" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="RecentBestScoreTextPrevious">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="1" />
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_RecentBestScoreText_OnAtBoomPeak" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="RecentBestScoreText">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="0" />
                <DiscreteDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_RecentBestBoom_BoomPeak}" Value="1" />
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_RecentBestScoreTextPrevious_OffAtBoomPeak" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="RecentBestScoreTextPrevious">
                <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="1" />
                <DiscreteDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_RecentBestBoom_BoomPeak}" Value="0" />
            </DoubleAnimationUsingKeyFrames>

            <DoubleAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_RecentBestPanelBoom_Boom" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="RecentBestPanelBoom">
                <EasingDoubleKeyFrame KeyTime="0:0:0" Value="0" />
                <EasingDoubleKeyFrame KeyTime="0:0:0.18" Value="0" />
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_RecentBestBoom_BoomPeak}" Value="1" />
                <EasingDoubleKeyFrame KeyTime="{StaticResource A_KeyTime_RecentBestBoom_BoomEnd}" Value="0" />
            </DoubleAnimationUsingKeyFrames>

            <Style x:Key="A_Style_FZMaterial_RecentBestPanelBackground" TargetType="{x:Type FZMaterial}">
                <Setter Property="Color" Value="{StaticResource H_Color_Glass_Purple_40pc}"/>
                <Setter Property="Opacity" Value="0"/>
                <Setter Property="Preset" Value="{FZMaterialPresetGlass BlurAmount=Low}"/>
                <Style.Triggers>
                    <DataTrigger Binding="{HUDDataBinding RecentBestScoreText, Converter={StaticResource A_StringVisConverter}}" Value="{x:Static Visibility.Visible}">
                        <Setter Property="Opacity" Value="1"/>
                        <DataTrigger.EnterActions>
                            <BeginStoryboard>
                                <BeginStoryboard.Storyboard>
                                    <local:UIStoryboard DurationOverride="0:0:0.3" FillBehavior="Stop">
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="0:0:0" Value="0" />
                                            <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </local:UIStoryboard>
                                </BeginStoryboard.Storyboard>
                            </BeginStoryboard>
                        </DataTrigger.EnterActions>
                        <DataTrigger.ExitActions>
                            <BeginStoryboard>
                                <BeginStoryboard.Storyboard>
                                    <local:UIStoryboard DurationOverride="0:0:0.3" FillBehavior="Stop">
                                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)">
                                            <EasingDoubleKeyFrame KeyTime="0:0:0" Value="1" />
                                            <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="0" />
                                        </DoubleAnimationUsingKeyFrames>
                                    </local:UIStoryboard>
                                </BeginStoryboard.Storyboard>
                            </BeginStoryboard>
                        </DataTrigger.ExitActions>
                    </DataTrigger>
                </Style.Triggers>
            </Style>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_IconBackingCurrent_ForceNoGoldAtZero" Storyboard.TargetProperty="(FrameworkElement.Style)" Storyboard.TargetName="IconBackingCurrent">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Style_FZMaterial_IconBacking_ForceNoGold}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_IconCurrent_ForceNoGoldAtZero" Storyboard.TargetProperty="(FrameworkElement.Style)" Storyboard.TargetName="IconCurrent">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Style_FZMaterial_Icon_ForceNoGold}"/>
            </ObjectAnimationUsingKeyFrames>

            <ObjectAnimationUsingKeyFrames x:Key="A_AnimationUsingKeyFrames_ActivityTitle_ForceNoGoldAtZero" Storyboard.TargetProperty="(FrameworkElement.Style)" Storyboard.TargetName="ActivityTitle">
                <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Style_Text_Title_ForceNoGold}"/>
            </ObjectAnimationUsingKeyFrames>

            <!--

            ######## #########
            #            #
            #            #
            ########     #
                   #     #
                   #     #
            ########     # ATES

            -->

            <!-- Default States -->

            <local:UIStoryboard x:Key="A_Storyboard_Hidden">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="PART_HiddenComplete"/>
                </local:UIStoryboard.TriggerAnimation>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="PART_OuterPanel">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>

                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="PART_OuterPanel">
                    <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Collapsed}"/>
                </ObjectAnimationUsingKeyFrames>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Hidden_Incomplete">
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="PART_OuterPanel">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="PART_OuterPanel">
                    <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{x:Static Visibility.Collapsed}"/>
                </ObjectAnimationUsingKeyFrames>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Failed">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_FailedComplete}"
                        EventName="PART_FailedComplete"/>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="PART_FailedAudio"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_FailedContents_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_ScoreScreen">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_ScoreScreenComplete}"
                        EventName="PART_ScoreScreenComplete"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_NewPersonalBest">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_NewPersonalBestComplete}"
                        EventName="PART_NewPersonalBestComplete"/>
                </local:UIStoryboard.TriggerAnimation>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="NewPersonalBestContents">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1" />
                    <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="1.2" EasingFunction="{local:QuinticEasing EasingMode=EaseInOut}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.166" Value="1" EasingFunction="{local:QuinticEasing EasingMode=EaseInOut}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.233" Value="0.9" EasingFunction="{local:QuinticEasing EasingMode=EaseInOut}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1" EasingFunction="{local:QuinticEasing EasingMode=EaseInOut}"/>
                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="PanelSheen">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.3" Value="0.8"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.9" Value="0.2" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.9" Value="0"/>
                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(TranslateTransform.X)" Storyboard.TargetName="PanelSheen">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_RivalsComparisonPanelMaxWidthNegative}"/>
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.3" Value="{StaticResource A_Double_RivalsComparisonPanelMaxWidthNegative}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.9" Value="{StaticResource A_Double_RivalsComparisonPanelMaxWidthPositive}" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseInOut}"/>
                </DoubleAnimationUsingKeyFrames>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewPersonalBestContents_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_NewMedalEarned">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_MedalShown}"
                        EventName="PART_NewMedalShown"/>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_NewMedalEarnedStar1Complete}"
                        EventName="PART_NewMedalEarnedStar1Complete"/>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_NewMedalEarnedStar2Complete}"
                        EventName="PART_NewMedalEarnedStar2Complete"/>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_NewMedalEarnedStar1Audio}"
                        EventName="PART_NewMedalEarnedStar1Audio"/>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_NewMedalEarnedStar2Audio}"
                        EventName="PART_NewMedalEarnedStar2Audio"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_OnAtZero"/>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="NewStar1">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
                </DoubleAnimationUsingKeyFrames>
                <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="(local:ZPanel.DisableClipping)" Storyboard.TargetName="NewStar1">
                    <DiscreteBooleanKeyFrame KeyTime="0:0:0.0" Value="True"/>
                </BooleanAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="NewStar1">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_NewMedalAwarded_InitialStarScale}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.166" Value="1.2" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.233" Value="0.9" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1.0" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="GlowStar1">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.166" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.366" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="GlowStar1">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_NewMedalAwarded_InitialStarScale}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.166" Value="1.5" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.233" Value="0.9" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1.0" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="NewStar2" BeginTime="0:0:0.4">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
                </DoubleAnimationUsingKeyFrames>
                <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="(local:ZPanel.DisableClipping)" Storyboard.TargetName="NewStar2">
                    <DiscreteBooleanKeyFrame KeyTime="0:0:0.0" Value="True"/>
                </BooleanAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="NewStar2" BeginTime="0:0:0.4">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_NewMedalAwarded_InitialStarScale}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.166" Value="1.2" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.233" Value="0.9" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1.0" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="GlowStar2" BeginTime="0:0:0.4">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.166" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.366" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="GlowStar2" BeginTime="0:0:0.4">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_NewMedalAwarded_InitialStarScale}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.166" Value="1.5" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.233" Value="0.9" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1.0" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                </DoubleAnimationUsingKeyFrames>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_NewGoldMedalEarned">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_MedalShown}"
                        EventName="PART_NewMedalShown"/>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_NewMedalEarnedStar1Complete}"
                        EventName="PART_NewMedalEarnedStar1Complete"/>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_NewMedalEarnedStar2Complete}"
                        EventName="PART_NewMedalEarnedStar2Complete"/>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_NewMedalEarnedStar3Complete}"
                        EventName="PART_NewMedalEarnedStar3Complete"/>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_NewMedalEarnedStar1Audio}"
                        EventName="PART_NewMedalEarnedStar1Audio"/>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_NewMedalEarnedStar2Audio}"
                        EventName="PART_NewMedalEarnedStar2Audio"/>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_NewMedalEarnedStar3Audio}"
                        EventName="PART_NewMedalEarnedStar3Audio"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_OnAtZero"/>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="NewStar1">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
                </DoubleAnimationUsingKeyFrames>
                <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="(local:ZPanel.DisableClipping)" Storyboard.TargetName="NewStar1">
                    <DiscreteBooleanKeyFrame KeyTime="0:0:0.0" Value="True"/>
                </BooleanAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="NewStar1">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_NewMedalAwarded_InitialStarScale}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.166" Value="1.2" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.233" Value="0.9" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1.0" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="GlowStar1">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.166" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.366" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="GlowStar1">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_NewMedalAwarded_InitialStarScale}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.166" Value="1.5" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.233" Value="0.9" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1.0" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="NewStar2" BeginTime="0:0:0.4">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
                </DoubleAnimationUsingKeyFrames>
                <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="(local:ZPanel.DisableClipping)" Storyboard.TargetName="NewStar2">
                    <DiscreteBooleanKeyFrame KeyTime="0:0:0.0" Value="True"/>
                </BooleanAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="NewStar2" BeginTime="0:0:0.4">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_NewMedalAwarded_InitialStarScale}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.166" Value="1.2" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.233" Value="0.9" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1.0" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="GlowStar2" BeginTime="0:0:0.4">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.166" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.366" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="GlowStar2" BeginTime="0:0:0.4">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_NewMedalAwarded_InitialStarScale}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.166" Value="1.5" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.233" Value="0.9" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1.0" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="NewStar3" BeginTime="0:0:0.8">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1"/>
                </DoubleAnimationUsingKeyFrames>
                <BooleanAnimationUsingKeyFrames Storyboard.TargetProperty="(local:ZPanel.DisableClipping)" Storyboard.TargetName="NewStar3">
                    <DiscreteBooleanKeyFrame KeyTime="0:0:0.0" Value="True"/>
                </BooleanAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="NewStar3" BeginTime="0:0:0.8">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_NewMedalAwarded_InitialStarScale}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.166" Value="1.2" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.233" Value="0.9" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1.0" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="GlowStar3" BeginTime="0:0:0.8">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.166" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.366" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="GlowStar3" BeginTime="0:0:0.8">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_NewMedalAwarded_InitialStarScale}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.166" Value="1.5" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.233" Value="0.9" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1.0" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="PanelBoom" BeginTime="0:0:0.2">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.766" Value="1"/>
                    <EasingDoubleKeyFrame  KeyTime="0:0:1.216" Value="0"/>
                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="PanelBoom" BeginTime="0:0:0.2">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.766" Value="1"/>
                    <EasingDoubleKeyFrame  KeyTime="0:0:1.216" Value="1.1"/>
                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Boom" BeginTime="0:0:0.2">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.633" Value="0"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.766" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:1.216" Value="0"/>
                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="Boom" BeginTime="0:0:0.2">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.766" Value="0.5"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:1.216" Value="2"/>
                </DoubleAnimationUsingKeyFrames>

                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Style)" Storyboard.TargetName="IconBackingCurrent" FillBehavior="Stop" Duration="0:0:0.966">
                    <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Style_FZMaterial_IconBacking_ForceNoGold}"/>
                </ObjectAnimationUsingKeyFrames>

                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Style)" Storyboard.TargetName="IconCurrent" FillBehavior="Stop" Duration="0:0:0.966">
                    <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Style_FZMaterial_Icon_ForceNoGold}"/>
                </ObjectAnimationUsingKeyFrames>

                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Style)" Storyboard.TargetName="ActivityTitle" FillBehavior="Stop" Duration="0:0:0.966">
                    <DiscreteObjectKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Style_Text_Title_ForceNoGold}"/>
                </ObjectAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="GoldStar1" BeginTime="0:0:0.2">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.766" Value="1"/>
                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="GoldStar2" BeginTime="0:0:0.2">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.766" Value="1"/>
                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="GoldStar3" BeginTime="0:0:0.2">
                    <EasingDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.766" Value="1"/>
                </DoubleAnimationUsingKeyFrames>

                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Star1" BeginTime="0:0:0.2">
                    <DiscreteObjectKeyFrame KeyTime="0:0:0.766" Value="{x:Static Visibility.Collapsed}"/>
                </ObjectAnimationUsingKeyFrames>

                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Star2" BeginTime="0:0:0.2">
                    <DiscreteObjectKeyFrame KeyTime="0:0:0.766" Value="{x:Static Visibility.Collapsed}"/>
                </ObjectAnimationUsingKeyFrames>

                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="Star3" BeginTime="0:0:0.2">
                    <DiscreteObjectKeyFrame KeyTime="0:0:0.766" Value="{x:Static Visibility.Collapsed}"/>
                </ObjectAnimationUsingKeyFrames>

                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="NewStar1" BeginTime="0:0:0.2">
                    <DiscreteObjectKeyFrame KeyTime="0:0:0.766" Value="{x:Static Visibility.Collapsed}"/>
                </ObjectAnimationUsingKeyFrames>

                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="NewStar2" BeginTime="0:0:0.2">
                    <DiscreteObjectKeyFrame KeyTime="0:0:0.766" Value="{x:Static Visibility.Collapsed}"/>
                </ObjectAnimationUsingKeyFrames>

                <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Visibility)" Storyboard.TargetName="NewStar3" BeginTime="0:0:0.2">
                    <DiscreteObjectKeyFrame KeyTime="0:0:0.766" Value="{x:Static Visibility.Collapsed}"/>
                </ObjectAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="PanelSheen" BeginTime="0:0:1.5">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.3" Value="0.8"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.9" Value="0.2" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.9" Value="0"/>
                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(TranslateTransform.X)" Storyboard.TargetName="PanelSheen" BeginTime="0:0:1.5">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_RivalsComparisonPanelMaxWidthNegative}"/>
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.3" Value="{StaticResource A_Double_RivalsComparisonPanelMaxWidthNegative}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.9" Value="{StaticResource A_Double_RivalsComparisonPanelMaxWidthPositive}" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseInOut}"/>
                </DoubleAnimationUsingKeyFrames>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_NewSeasonalMedalEarned">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_NewSeasonalMedalEarnedComplete}"
                        EventName="PART_NewSeasonalMedalEarnedComplete"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewSeasonalMedalEarnedContents_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_MedalEarned">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_MedalShown}"
                        EventName="PART_MedalShown"/>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_MedalEarnedComplete}"
                        EventName="PART_MedalEarnedComplete"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_MedalEarnedContents_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_TargetToNextMedal">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_TargetToNextMedalComplete}"
                        EventName="PART_TargetToNextMedalComplete"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_TargetToNextMedalContents_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_RivalComparison">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_RivalComparisonComplete}"
                        EventName="PART_RivalComparisonComplete"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_NegativeOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_PositiveOffsetAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_RivalComparisonGood">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_RivalComparisonComplete}"
                        EventName="PART_RivalComparisonComplete"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_PositiveOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_NegativeOffsetAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_RivalComparisonBeat">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_RivalComparisonBeatComplete}"
                        EventName="PART_RivalComparisonComplete"/>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorOvertakeAudio}"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtZero"/>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="RivalPlayerEntry">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.433" Value="1"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.633" Value="0"/>
                    <DiscreteDoubleKeyFrame KeyTime="0:0:1.066" Value="0"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:1.3" Value="1"/>
                </DoubleAnimationUsingKeyFrames>
                
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(TranslateTransform.Y)" Storyboard.TargetName="RivalPlayerEntry">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_RivalsComparisonOffsetNegative}"/>
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.633" Value="{StaticResource A_Double_RivalsComparisonOffsetNegative}"/>
                    <DiscreteDoubleKeyFrame KeyTime="0:0:1.066" Value="{StaticResource A_Double_RivalsComparisonOffsetPositive}"/>
                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[1].(TranslateTransform.Y)" Storyboard.TargetName="LocalPlayerEntry">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_RivalsComparisonOffsetPositive}"/>
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.433" Value="{StaticResource A_Double_RivalsComparisonOffsetPositive}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.966" Value="{StaticResource A_Double_RivalsComparisonOffsetNegative}" EasingFunction="{local:CubicEasing EasingMode=EaseInOut}"/>

                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="PanelSheen">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="0"/>
                    <DiscreteDoubleKeyFrame KeyTime="0:0:1.7" Value="0.8"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:2.3" Value="0.2" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseIn}"/>
                    <DiscreteDoubleKeyFrame KeyTime="0:0:2.3" Value="0"/>
                </DoubleAnimationUsingKeyFrames>

                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(TranslateTransform.X)" Storyboard.TargetName="PanelSheen">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="{StaticResource A_Double_RivalsComparisonPanelMaxWidthNegative}"/>
                    <DiscreteDoubleKeyFrame KeyTime="0:0:1.7" Value="{StaticResource A_Double_RivalsComparisonPanelMaxWidthNegative}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:2.3" Value="{StaticResource A_Double_RivalsComparisonPanelMaxWidthPositive}" EasingFunction="{StaticResource A_EasingFunction_ExponentialEaseInOut}"/>
                </DoubleAnimationUsingKeyFrames>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_GlobalPosition">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_ComparisonComplete}"
                        EventName="PART_ComparisonComplete"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GlobalPositionContents_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Split">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_SplitComplete}"
                                        EventName="PART_SplitComplete"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_SplitContents_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_SplitGood">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_SplitComplete}"
                                        EventName="PART_SplitComplete"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_SplitContents_OnAtZero"/>
                
                <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)" Storyboard.TargetName="SplitContents">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0.0" Value="1" />
                    <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="1.2" EasingFunction="{local:QuinticEasing EasingMode=EaseInOut}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.166" Value="1" EasingFunction="{local:QuinticEasing EasingMode=EaseInOut}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.233" Value="0.9" EasingFunction="{local:QuinticEasing EasingMode=EaseInOut}"/>
                    <EasingDoubleKeyFrame KeyTime="0:0:0.3" Value="1" EasingFunction="{local:QuinticEasing EasingMode=EaseInOut}"/>
                </DoubleAnimationUsingKeyFrames>

            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_FlashNewRecentBest">
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RecentBestScoreText_OnAtBoomPeak"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RecentBestScoreTextPrevious_OffAtBoomPeak"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RecentBestPanelBoom_Boom"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_SplitDragMeetsHold">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_SplitDragMeetsHoldComplete}"
                            EventName="PART_SplitDragMeetsHoldComplete"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_SplitContents_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_FinalScoreScreen">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="{StaticResource A_KeyTime_FinalScoreScreenComplete}"
                                        EventName="PART_FinalScoreScreenComplete"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenText_HighlightAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_TextDisplay">
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_TextDisplayContents_OnAtZero"/>
            </local:UIStoryboard>

            <!--

            #########    ########
                #        #      #
                #        #      #
                #        ########
                #        #   #
                #        #    #
                #        #     #
                #        #      # ANSITIONS

            -->

            <!-- XToHidden Transitions -->
            <local:UIStoryboard x:Key="A_Storyboard_Transition_ScoreScreenToHidden">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorOffAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RecentBestPanel_FadeOutAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitle_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitlePrevious_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_FailedToHidden">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorOffAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RecentBestPanel_FadeOutAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_FailedContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitle_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitlePrevious_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_RivalComparisonGoodToHidden">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorOffAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_PositiveOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_NegativeOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitle_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitlePrevious_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_RivalComparisonToHidden">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorOffAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_NegativeOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_PositiveOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitle_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitlePrevious_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_GlobalPositionToHidden">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorOffAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GlobalPositionContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitle_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitlePrevious_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_SplitToHidden">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                                 EventName="{StaticResource A_String_MinorOffAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RecentBestPanel_FadeOutAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_SplitContents_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_TextDisplayToHidden">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                                 EventName="{StaticResource A_String_MinorOffAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RecentBestPanel_FadeOutAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_TextDisplayContents_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewMedalEarnedToHidden">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorOffAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitle_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitlePrevious_OnAtZero"/>
            </local:UIStoryboard>
            
            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewGoldMedalEarnedToHidden">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorOffAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitle_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitlePrevious_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Star1_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Star2_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Star3_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar1_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar2_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar3_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GoldStar1_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GoldStar2_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GoldStar3_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewSeasonalMedalEarnedToHidden">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorOffAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewSeasonalMedalEarnedContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitle_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitlePrevious_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_MedalEarnedToHidden">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorOffAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_MedalEarnedContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitle_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitlePrevious_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_TargetToNextMedalToHidden">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorOffAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_TargetToNextMedalContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitle_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitlePrevious_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewPersonalBestToHidden">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorOffAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OnAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewPersonalBestContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitle_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitlePrevious_OnAtZero"/>
            </local:UIStoryboard>

            <!-- Fallback transitions AnyToX -->

            <local:UIStoryboard x:Key="A_Storyboard_Transition_AnyToScoreScreen">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="0:0:0.0"
                                        EventName="PART_AppearAudio"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FadeIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FadeIn"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OnAtZero"/>
            </local:UIStoryboard>
            
            <local:UIStoryboard x:Key="A_Storyboard_Transition_AnyToFinalScoreScreen">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="0:0:0.0"
                                        EventName="PART_AppearAudio"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FadeIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FadeIn"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenText_HighlightAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_AnyToNewPersonalBest">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="0:0:0.0"
                                        EventName="PART_AppearAudio"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FadeIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FadeIn"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewPersonalBestContents_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_AnyToFailed">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="0:0:0.0"
                                        EventName="PART_AppearAudio"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FadeIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FadeIn"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_FailedContents_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_AnyToRivalComparison">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="0:0:0.0"
                                        EventName="PART_AppearAudio"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FadeIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FadeIn"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_NegativeOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_PositiveOffsetAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_AnyToRivalComparisonGood">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="0:0:0.0"
                                        EventName="PART_AppearAudio"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FadeIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FadeIn"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_PositiveOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_NegativeOffsetAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_AnyToGlobalPosition">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="0:0:0.0"
                                        EventName="PART_AppearAudio"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FadeIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FadeIn"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GlobalPositionContents_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_AnyToSplit">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="0:0:0.0"
                                        EventName="PART_AppearAudio"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FadeIn"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_SplitContents_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_AnyToTextDisplay">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="0:0:0.0"
                                EventName="PART_AppearAudio"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FadeIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FadeIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RecentBestPanel_FadeInAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_TextDisplayContents_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_AnyToNewMedalEarned">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="0:0:0.0"
                                        EventName="PART_AppearAudio"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FadeIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FadeIn"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar1_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar2_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar3_OffAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_AnyToNewGoldMedalEarned">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="0:0:0.0"
                                        EventName="PART_AppearAudio"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FadeIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FadeIn"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar1_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar2_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar3_OffAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_ForceNoGoldAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_ForceNoGoldAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitle_ForceNoGoldAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_AnyToNewSeasonalMedalEarned">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="0:0:0.0"
                                        EventName="PART_AppearAudio"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FadeIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FadeIn"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewSeasonalMedalEarnedContents_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_AnyToMedalEarned">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="0:0:0.0"
                                        EventName="PART_AppearAudio"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FadeIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FadeIn"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_MedalEarnedContents_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_AnyToTargetToNextMedal">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent local:TriggerAnimation.KeyTime="0:0:0.0"
                                        EventName="PART_AppearAudio"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FadeIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FadeIn"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_TargetToNextMedalContents_OnAtZero"/>
            </local:UIStoryboard>

            <!-- Actual Transitions Start Here -->

            <local:UIStoryboard x:Key="A_Storyboard_Transition_ScoreScreenToNewPersonalBest">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorBoomAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Boom_GrowXFromZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Boom_FlashAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelBoom_GrowXFromZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelBoom_FlashAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewPersonalBestContents_OnAtMid"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_ScoreScreenToFailed">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSlideAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_SlideOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_FailedContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_FailedContents_SlideIn"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_ScoreScreenToMedalEarned">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSlideAudio}"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_SlideOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_MedalEarnedContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_MedalEarnedContents_FadeInAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewPersonalBestToMedalEarned">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSlideAudio}"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewPersonalBestContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewPersonalBestContents_SlideOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_MedalEarnedContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_MedalEarnedContents_FadeInAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_ScoreScreenToTargetToNextMedal">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSlideAudio}"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_SlideOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_TargetToNextMedalContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_TargetToNextMedalContents_SlideIn"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewPersonalBestToTargetToNextMedal">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSlideAudio}"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewPersonalBestContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewPersonalBestContents_SlideOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_TargetToNextMedalContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_TargetToNextMedalContents_SlideIn"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_ScoreScreenToNewMedalEarned">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSlideAudio}"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_SlideOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_FadeInAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar1_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar2_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar3_OffAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_ScoreScreenToNewGoldMedalEarned">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSlideAudio}"/>
                </local:UIStoryboard.TriggerAnimation>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_SlideOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_FadeInAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar1_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar2_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar3_OffAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_ForceNoGoldAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_ForceNoGoldAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitle_ForceNoGoldAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewPersonalBestToNewMedalEarned">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSlideAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewPersonalBestContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewPersonalBestContents_SlideOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_FadeInAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar1_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar2_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar3_OffAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewPersonalBestToNewGoldMedalEarned">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSlideAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewPersonalBestContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewPersonalBestContents_SlideOut"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_FadeInAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar1_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar2_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar3_OffAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_ForceNoGoldAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_ForceNoGoldAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ActivityTitle_ForceNoGoldAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_ScoreScreenToRivalComparison">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_NegativeOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_PositiveOffsetAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_ScoreScreenToRivalComparisonGood">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_PositiveOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_NegativeOffsetAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewPersonalBestToRivalComparison">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewPersonalBestContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_NegativeOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_PositiveOffsetAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewPersonalBestToRivalComparisonGood">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewPersonalBestContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_PositiveOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_NegativeOffsetAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewMedalEarnedToRivalComparison">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_NegativeOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_PositiveOffsetAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewMedalEarnedToRivalComparisonGood">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_PositiveOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_NegativeOffsetAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewGoldMedalEarnedToRivalComparison">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_NegativeOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_PositiveOffsetAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Star1_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Star2_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Star3_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar1_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar2_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar3_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GoldStar1_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GoldStar2_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GoldStar3_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewGoldMedalEarnedToRivalComparisonGood">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_PositiveOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_NegativeOffsetAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Star1_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Star2_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Star3_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar1_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar2_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar3_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GoldStar1_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GoldStar2_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GoldStar3_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewSeasonalMedalEarnedToRivalComparison">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewSeasonalMedalEarnedContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_NegativeOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_PositiveOffsetAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewSeasonalMedalEarnedToRivalComparisonGood">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewSeasonalMedalEarnedContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_PositiveOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_NegativeOffsetAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewSeasonalMedalEarnedToGlobalPosition">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewSeasonalMedalEarnedContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GlobalPositionContents_OnAtMid"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_MedalEarnedToNewSeasonalMedalEarned">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorBoomAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Boom_GrowXFromZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Boom_FlashAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelBoom_GrowXFromZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelBoom_FlashAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_MedalEarnedContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewSeasonalMedalEarnedContents_OnAtMid"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_MedalEarnedToTargetToNextMedal">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSlideAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_MedalEarnedContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_MedalEarnedContents_FadeOutAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_TargetToNextMedalContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_TargetToNextMedalContents_SlideIn"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_MedalEarnedToRivalComparison">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_MedalEarnedContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_NegativeOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_PositiveOffsetAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_MedalEarnedToRivalComparisonGood">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_MedalEarnedContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_PositiveOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_NegativeOffsetAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_TargetToNextMedalToRivalComparison">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_TargetToNextMedalContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_NegativeOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_PositiveOffsetAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_TargetToNextMedalToRivalComparisonGood">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_TargetToNextMedalContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_PositiveOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_NegativeOffsetAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_RivalComparisonToGlobalPosition">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GlobalPositionContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_NegativeOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_PositiveOffsetAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_RivalComparisonGoodToGlobalPosition">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalsComparisonContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GlobalPositionContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_RivalPlayerEntry_PositiveOffsetAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_LocalPlayerEntry_NegativeOffsetAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_ScoreScreenToGlobalPosition">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GlobalPositionContents_OnAtMid"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_ScoreScreenToSplitGood">
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_FadeOutAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_SplitContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_SplitContents_FadeInAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_SplitContents_OnAtMid"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_ScoreScreenToSplitBad">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                     EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_FadeOutAtZero"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_SplitContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_SplitContents_FadeInAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_ScoreScreenToFinalScoreScreen">
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenText_HighlightAtMid"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_SplitToScoreScreen">
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_SplitContents_OffAtMid"/>
            </local:UIStoryboard>
            
            <local:UIStoryboard x:Key="A_Storyboard_Transition_FinalScoreScreenToScoreScreen">
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_OuterPanel_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_FadeIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FlipIn"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_FadeIn"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenText_HighlightOffAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_TextDisplayToScoreScreen">
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_ScoreScreenContents_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_TextDisplayContents_OffAtMid"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewPersonalBestToGlobalPosition">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewPersonalBestContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GlobalPositionContents_OnAtMid"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_MedalEarnedToGlobalPosition">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_MedalEarnedContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GlobalPositionContents_OnAtMid"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_TargetToNextMedalToGlobalPosition">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_TargetToNextMedalContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GlobalPositionContents_OnAtMid"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewMedalEarnedToGlobalPosition">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GlobalPositionContents_OnAtMid"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewGoldMedalEarnedToGlobalPosition">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorSpinAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelRoot_Swap"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconRoot_Swap"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GlobalPositionContents_OnAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Star1_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Star2_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Star3_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar1_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar2_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar3_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GoldStar1_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GoldStar2_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GoldStar3_OnAtZero"/>
            </local:UIStoryboard>

            <local:UIStoryboard x:Key="A_Storyboard_Transition_NewGoldMedalEarnedToNewSeasonalMedalEarned">
                <local:UIStoryboard.TriggerAnimation>
                    <local:StartAudioTrigger local:TriggerAnimation.KeyTime="0:0:0.0"
                        EventName="{StaticResource A_String_MinorBoomAudio}"/>
                </local:UIStoryboard.TriggerAnimation>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingCurrent_OnAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconPrevious_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_IconBackingPrevious_OffAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Boom_GrowXFromZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Boom_FlashAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelBoom_GrowXFromZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_PanelBoom_FlashAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewMedalEarnedContents_OffAtMid"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewSeasonalMedalEarnedContents_OnAtMid"/>

                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Star1_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Star2_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_Star3_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar1_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar2_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_NewStar3_OffAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GoldStar1_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GoldStar2_OnAtZero"/>
                <StaticResourceExtension ResourceKey="A_AnimationUsingKeyFrames_GoldStar3_OnAtZero"/>
            </local:UIStoryboard>

        </ResourceDictionary>
    </UserControl.Resources>
    <Grid x:Name="PART_OuterPanel" RenderTransformOrigin="0.5,0.5">

            <!--

            #      #    ########
            #      #    #
             #    #     #
             #    #     ########
              #  #             #
              #  #             #
               ## ISUAL ######## TATES

            -->

        <VisualStateManager.VisualStateGroups>
            <local:UIVisualStateGroup>
                <VisualState x:Name="PART_Hidden" Storyboard="{StaticResource A_Storyboard_Hidden}" />
                <VisualState x:Name="PART_Hidden_Incomplete" Storyboard="{StaticResource A_Storyboard_Hidden_Incomplete}" />

                <VisualState x:Name="PART_Failed" Storyboard="{StaticResource A_Storyboard_Failed}" />
                <VisualState x:Name="PART_ScoreScreen" Storyboard="{StaticResource A_Storyboard_ScoreScreen}" />
                <VisualState x:Name="PART_NewPersonalBest" Storyboard="{StaticResource A_Storyboard_NewPersonalBest}" />
                <VisualState x:Name="PART_NewMedalEarned" Storyboard="{StaticResource A_Storyboard_NewMedalEarned}"/>
                <VisualState x:Name="PART_NewGoldMedalEarned" Storyboard="{StaticResource A_Storyboard_NewGoldMedalEarned}"/>
                <VisualState x:Name="PART_NewSeasonalMedalEarned" Storyboard="{StaticResource A_Storyboard_NewSeasonalMedalEarned}"/>
                <VisualState x:Name="PART_MedalEarned" Storyboard="{StaticResource A_Storyboard_MedalEarned}"/>
                <VisualState x:Name="PART_TargetToNextMedal" Storyboard="{StaticResource A_Storyboard_TargetToNextMedal}"/>

                <VisualState x:Name="PART_RivalComparisonGood" Storyboard="{StaticResource A_Storyboard_RivalComparisonGood}" />
                <VisualState x:Name="PART_RivalComparisonBad" Storyboard="{StaticResource A_Storyboard_RivalComparison}" />
                <VisualState x:Name="PART_RivalComparisonBeat" Storyboard="{StaticResource A_Storyboard_RivalComparisonBeat}" />
                <VisualState x:Name="PART_RivalComparisonTie" Storyboard="{StaticResource A_Storyboard_RivalComparison}" />
                <VisualState x:Name="PART_GlobalPosition" Storyboard="{StaticResource A_Storyboard_GlobalPosition}" />
                <VisualState x:Name="PART_SplitGood" Storyboard="{StaticResource A_Storyboard_SplitGood}" />
                <VisualState x:Name="PART_SplitBad" Storyboard="{StaticResource A_Storyboard_Split}" />
                <VisualState x:Name="PART_SplitDragMeetsHold" Storyboard="{StaticResource A_Storyboard_SplitDragMeetsHold}" />
                <VisualState x:Name="PART_FinalScoreScreen" Storyboard="{StaticResource A_Storyboard_FinalScoreScreen}" />
                <VisualState x:Name="PART_TextDisplay" Storyboard="{StaticResource A_Storyboard_TextDisplay}" />

                <local:UIVisualStateGroup.Transitions>
                    <!-- Fallbacks AnyToX-->
                    <VisualTransition To="PART_ScoreScreen" Storyboard="{StaticResource A_Storyboard_Transition_AnyToScoreScreen}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Failed" Storyboard="{StaticResource A_Storyboard_Transition_AnyToFailed}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_NewPersonalBest" Storyboard="{StaticResource A_Storyboard_Transition_AnyToNewPersonalBest}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>

                    <VisualTransition To="PART_NewMedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_AnyToNewMedalEarned}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_NewGoldMedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_AnyToNewGoldMedalEarned}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_NewSeasonalMedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_AnyToNewSeasonalMedalEarned}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_MedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_AnyToMedalEarned}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_TargetToNextMedal" Storyboard="{StaticResource A_Storyboard_Transition_AnyToTargetToNextMedal}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>

                    <VisualTransition To="PART_RivalComparisonGood" Storyboard="{StaticResource A_Storyboard_Transition_AnyToRivalComparisonGood}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_RivalComparisonBeat" Storyboard="{StaticResource A_Storyboard_Transition_AnyToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_RivalComparisonBad" Storyboard="{StaticResource A_Storyboard_Transition_AnyToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_RivalComparisonTie" Storyboard="{StaticResource A_Storyboard_Transition_AnyToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_GlobalPosition" Storyboard="{StaticResource A_Storyboard_Transition_AnyToGlobalPosition}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_SplitGood" Storyboard="{StaticResource A_Storyboard_Transition_AnyToSplit}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_SplitBad" Storyboard="{StaticResource A_Storyboard_Transition_AnyToSplit}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_SplitDragMeetsHold" Storyboard="{StaticResource A_Storyboard_Transition_AnyToSplit}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_FinalScoreScreen" Storyboard="{StaticResource A_Storyboard_Transition_AnyToFinalScoreScreen}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_TextDisplay" Storyboard="{StaticResource A_Storyboard_Transition_AnyToTextDisplay}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>


                    <!-- Aborts XToHidden-->
                    <VisualTransition To="PART_Hidden" From="PART_ScoreScreen" Storyboard="{StaticResource A_Storyboard_Transition_ScoreScreenToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden" From="PART_Failed" Storyboard="{StaticResource A_Storyboard_Transition_FailedToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden" From="PART_NewPersonalBest" Storyboard="{StaticResource A_Storyboard_Transition_NewPersonalBestToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>

                    <VisualTransition To="PART_Hidden" From="PART_NewMedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_NewMedalEarnedToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden" From="PART_NewGoldMedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_NewGoldMedalEarnedToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden" From="PART_NewSeasonalMedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_NewSeasonalMedalEarnedToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden" From="PART_MedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_MedalEarnedToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden" From="PART_TargetToNextMedal" Storyboard="{StaticResource A_Storyboard_Transition_TargetToNextMedalToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>

                    <VisualTransition To="PART_Hidden" From="PART_RivalComparisonGood" Storyboard="{StaticResource A_Storyboard_Transition_RivalComparisonGoodToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden" From="PART_RivalComparisonBeat" Storyboard="{StaticResource A_Storyboard_Transition_RivalComparisonGoodToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden" From="PART_RivalComparisonBad" Storyboard="{StaticResource A_Storyboard_Transition_RivalComparisonToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden" From="PART_RivalComparisonTie" Storyboard="{StaticResource A_Storyboard_Transition_RivalComparisonToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden" From="PART_GlobalPosition" Storyboard="{StaticResource A_Storyboard_Transition_GlobalPositionToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden" From="PART_SplitGood" Storyboard="{StaticResource A_Storyboard_Transition_SplitToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden" From="PART_SplitBad" Storyboard="{StaticResource A_Storyboard_Transition_SplitToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden" From="PART_SplitDragMeetsHold" Storyboard="{StaticResource A_Storyboard_Transition_SplitToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden" From="PART_FinalScoreScreen" Storyboard="{StaticResource A_Storyboard_Transition_ScoreScreenToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden" From="PART_TextDisplay" Storyboard="{StaticResource A_Storyboard_Transition_TextDisplayToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>


                    <!-- Aborts XToHidden_Incomplete-->
                    <VisualTransition To="PART_Hidden_Incomplete" From="PART_ScoreScreen" Storyboard="{StaticResource A_Storyboard_Transition_ScoreScreenToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden_Incomplete" From="PART_Failed" Storyboard="{StaticResource A_Storyboard_Transition_FailedToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden_Incomplete" From="PART_NewPersonalBest" Storyboard="{StaticResource A_Storyboard_Transition_NewPersonalBestToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>

                    <VisualTransition To="PART_Hidden_Incomplete" From="PART_NewMedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_NewMedalEarnedToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden_Incomplete" From="PART_NewGoldMedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_NewMedalEarnedToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden_Incomplete" From="PART_NewSeasonalMedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_NewSeasonalMedalEarnedToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden_Incomplete" From="PART_MedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_MedalEarnedToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden_Incomplete" From="PART_TargetToNextMedal" Storyboard="{StaticResource A_Storyboard_Transition_TargetToNextMedalToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>

                    <VisualTransition To="PART_Hidden_Incomplete" From="PART_RivalComparisonGood" Storyboard="{StaticResource A_Storyboard_Transition_RivalComparisonGoodToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden_Incomplete" From="PART_RivalComparisonBeat" Storyboard="{StaticResource A_Storyboard_Transition_RivalComparisonGoodToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden_Incomplete" From="PART_RivalComparisonBad" Storyboard="{StaticResource A_Storyboard_Transition_RivalComparisonToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden_Incomplete" From="PART_RivalComparisonTie" Storyboard="{StaticResource A_Storyboard_Transition_RivalComparisonToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden_Incomplete" From="PART_GlobalPosition" Storyboard="{StaticResource A_Storyboard_Transition_GlobalPositionToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden_Incomplete" From="PART_SplitGood" Storyboard="{StaticResource A_Storyboard_Transition_SplitToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden_Incomplete" From="PART_SplitBad" Storyboard="{StaticResource A_Storyboard_Transition_SplitToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden_Incomplete" From="PART_SplitDragMeetsHold" Storyboard="{StaticResource A_Storyboard_Transition_SplitToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden_Incomplete" From="PART_FinalScoreScreen" Storyboard="{StaticResource A_Storyboard_Transition_ScoreScreenToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>
                    <VisualTransition To="PART_Hidden_Incomplete" From="PART_TextDisplay" Storyboard="{StaticResource A_Storyboard_Transition_TextDisplayToHidden}" GeneratedDuration="{StaticResource A_Duration_TransitionFlip}"/>


                    <!-- Actual transitions that are used to go from state A to state B, makes more sense to order these by From. -->

                    <!-- ScoreScreenToSupportedSubsetOfX -->
                    <VisualTransition From="PART_ScoreScreen" To="PART_NewPersonalBest" Storyboard="{StaticResource A_Storyboard_Transition_ScoreScreenToNewPersonalBest}" GeneratedDuration="{StaticResource A_Duration_TransitionSlide}"/>
                    <VisualTransition From="PART_ScoreScreen" To="PART_Failed" Storyboard="{StaticResource A_Storyboard_Transition_ScoreScreenToFailed}" GeneratedDuration="{StaticResource A_Duration_TransitionSlide}"/>
                    <VisualTransition From="PART_ScoreScreen" To="PART_NewMedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_ScoreScreenToNewMedalEarned}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_ScoreScreen" To="PART_NewGoldMedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_ScoreScreenToNewGoldMedalEarned}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_ScoreScreen" To="PART_MedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_ScoreScreenToMedalEarned}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_ScoreScreen" To="PART_TargetToNextMedal" Storyboard="{StaticResource A_Storyboard_Transition_ScoreScreenToTargetToNextMedal}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_ScoreScreen" To="PART_RivalComparisonGood" Storyboard="{StaticResource A_Storyboard_Transition_ScoreScreenToRivalComparisonGood}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_ScoreScreen" To="PART_RivalComparisonBeat" Storyboard="{StaticResource A_Storyboard_Transition_ScoreScreenToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_ScoreScreen" To="PART_RivalComparisonBad" Storyboard="{StaticResource A_Storyboard_Transition_ScoreScreenToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_ScoreScreen" To="PART_RivalComparisonTie" Storyboard="{StaticResource A_Storyboard_Transition_ScoreScreenToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_ScoreScreen" To="PART_GlobalPosition" Storyboard="{StaticResource A_Storyboard_Transition_ScoreScreenToGlobalPosition}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_ScoreScreen" To="PART_FinalScoreScreen" Storyboard="{StaticResource A_Storyboard_Transition_ScoreScreenToFinalScoreScreen}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_ScoreScreen" To="PART_SplitGood" Storyboard="{StaticResource A_Storyboard_Transition_ScoreScreenToSplitGood}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_ScoreScreen" To="PART_SplitBad" Storyboard="{StaticResource A_Storyboard_Transition_ScoreScreenToSplitBad}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>

                    <!-- NewPersonalBestToSupportedSubsetOfX -->
                    <VisualTransition From="PART_NewPersonalBest" To="PART_NewMedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_NewPersonalBestToNewMedalEarned}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewPersonalBest" To="PART_NewGoldMedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_NewPersonalBestToNewGoldMedalEarned}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewPersonalBest" To="PART_MedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_NewPersonalBestToMedalEarned}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewPersonalBest" To="PART_TargetToNextMedal" Storyboard="{StaticResource A_Storyboard_Transition_NewPersonalBestToTargetToNextMedal}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewPersonalBest" To="PART_RivalComparisonGood" Storyboard="{StaticResource A_Storyboard_Transition_NewPersonalBestToRivalComparisonGood}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewPersonalBest" To="PART_RivalComparisonBeat" Storyboard="{StaticResource A_Storyboard_Transition_NewPersonalBestToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewPersonalBest" To="PART_RivalComparisonBad" Storyboard="{StaticResource A_Storyboard_Transition_NewPersonalBestToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewPersonalBest" To="PART_RivalComparisonTie" Storyboard="{StaticResource A_Storyboard_Transition_NewPersonalBestToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewPersonalBest" To="PART_GlobalPosition" Storyboard="{StaticResource A_Storyboard_Transition_NewPersonalBestToGlobalPosition}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>

                    <!-- NewMedalEarnedToSupportedSubsetOfX -->
                    <VisualTransition From="PART_NewMedalEarned" To="PART_RivalComparisonGood" Storyboard="{StaticResource A_Storyboard_Transition_NewMedalEarnedToRivalComparisonGood}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewMedalEarned" To="PART_RivalComparisonBeat" Storyboard="{StaticResource A_Storyboard_Transition_NewMedalEarnedToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewMedalEarned" To="PART_RivalComparisonBad" Storyboard="{StaticResource A_Storyboard_Transition_NewMedalEarnedToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewMedalEarned" To="PART_RivalComparisonTie" Storyboard="{StaticResource A_Storyboard_Transition_NewMedalEarnedToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewMedalEarned" To="PART_GlobalPosition" Storyboard="{StaticResource A_Storyboard_Transition_NewMedalEarnedToGlobalPosition}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>

                    <!-- NewGoldMedalEarnedToSupportedSubsetOfX -->
                    <VisualTransition From="PART_NewGoldMedalEarned" To="PART_NewSeasonalMedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_NewGoldMedalEarnedToNewSeasonalMedalEarned}" GeneratedDuration="{StaticResource A_Duration_TransitionBoom}"/>
                    <VisualTransition From="PART_NewGoldMedalEarned" To="PART_RivalComparisonGood" Storyboard="{StaticResource A_Storyboard_Transition_NewGoldMedalEarnedToRivalComparisonGood}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewGoldMedalEarned" To="PART_RivalComparisonBeat" Storyboard="{StaticResource A_Storyboard_Transition_NewGoldMedalEarnedToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewGoldMedalEarned" To="PART_RivalComparisonBad" Storyboard="{StaticResource A_Storyboard_Transition_NewGoldMedalEarnedToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewGoldMedalEarned" To="PART_RivalComparisonTie" Storyboard="{StaticResource A_Storyboard_Transition_NewGoldMedalEarnedToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewGoldMedalEarned" To="PART_GlobalPosition" Storyboard="{StaticResource A_Storyboard_Transition_NewGoldMedalEarnedToGlobalPosition}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>

                    <!-- NewSeasonalMedalEarnedToSupportedSubsetOfX -->
                    <VisualTransition From="PART_NewSeasonalMedalEarned" To="PART_RivalComparisonGood" Storyboard="{StaticResource A_Storyboard_Transition_NewSeasonalMedalEarnedToRivalComparisonGood}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewSeasonalMedalEarned" To="PART_RivalComparisonBeat" Storyboard="{StaticResource A_Storyboard_Transition_NewSeasonalMedalEarnedToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewSeasonalMedalEarned" To="PART_RivalComparisonBad" Storyboard="{StaticResource A_Storyboard_Transition_NewSeasonalMedalEarnedToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewSeasonalMedalEarned" To="PART_RivalComparisonTie" Storyboard="{StaticResource A_Storyboard_Transition_NewSeasonalMedalEarnedToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_NewSeasonalMedalEarned" To="PART_GlobalPosition" Storyboard="{StaticResource A_Storyboard_Transition_NewSeasonalMedalEarnedToGlobalPosition}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>

                    <!-- MedalEarnedToSupportedSubsetOfX -->
                    <VisualTransition From="PART_MedalEarned" To="PART_NewSeasonalMedalEarned" Storyboard="{StaticResource A_Storyboard_Transition_MedalEarnedToNewSeasonalMedalEarned}" GeneratedDuration="{StaticResource A_Duration_TransitionBoom}"/>
                    <VisualTransition From="PART_MedalEarned" To="PART_TargetToNextMedal" Storyboard="{StaticResource A_Storyboard_Transition_MedalEarnedToTargetToNextMedal}" GeneratedDuration="{StaticResource A_Duration_TransitionSlide}"/>
                    <VisualTransition From="PART_MedalEarned" To="PART_RivalComparisonGood" Storyboard="{StaticResource A_Storyboard_Transition_MedalEarnedToRivalComparisonGood}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_MedalEarned" To="PART_RivalComparisonBeat" Storyboard="{StaticResource A_Storyboard_Transition_MedalEarnedToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_MedalEarned" To="PART_RivalComparisonBad" Storyboard="{StaticResource A_Storyboard_Transition_MedalEarnedToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_MedalEarned" To="PART_RivalComparisonTie" Storyboard="{StaticResource A_Storyboard_Transition_MedalEarnedToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_MedalEarned" To="PART_GlobalPosition" Storyboard="{StaticResource A_Storyboard_Transition_MedalEarnedToGlobalPosition}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>

                    <!-- TargetToNextMedalToSupportedSubsetOfX -->
                    <VisualTransition From="PART_TargetToNextMedal" To="PART_RivalComparisonGood" Storyboard="{StaticResource A_Storyboard_Transition_TargetToNextMedalToRivalComparisonGood}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_TargetToNextMedal" To="PART_RivalComparisonBeat" Storyboard="{StaticResource A_Storyboard_Transition_TargetToNextMedalToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_TargetToNextMedal" To="PART_RivalComparisonBad" Storyboard="{StaticResource A_Storyboard_Transition_TargetToNextMedalToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_TargetToNextMedal" To="PART_RivalComparisonTie" Storyboard="{StaticResource A_Storyboard_Transition_TargetToNextMedalToRivalComparison}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_TargetToNextMedal" To="PART_GlobalPosition" Storyboard="{StaticResource A_Storyboard_Transition_TargetToNextMedalToGlobalPosition}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>

                    <!-- RivalComparisonXToGlobalPosition -->
                    <VisualTransition From="PART_RivalComparisonGood" To="PART_GlobalPosition" Storyboard="{StaticResource A_Storyboard_Transition_RivalComparisonGoodToGlobalPosition}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_RivalComparisonBeat" To="PART_GlobalPosition" Storyboard="{StaticResource A_Storyboard_Transition_RivalComparisonGoodToGlobalPosition}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_RivalComparisonBad" To="PART_GlobalPosition" Storyboard="{StaticResource A_Storyboard_Transition_RivalComparisonToGlobalPosition}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    <VisualTransition From="PART_RivalComparisonTie" To="PART_GlobalPosition" Storyboard="{StaticResource A_Storyboard_Transition_RivalComparisonToGlobalPosition}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    
                    <!-- FinalScoreScreenToSupportedSubsetOfX -->
                    <VisualTransition From="PART_FinalScoreScreen" To="PART_ScoreScreen" Storyboard="{StaticResource A_Storyboard_Transition_FinalScoreScreenToScoreScreen}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    
                    <!-- TextDisplayToSupportedSubsetOfX -->
                    <VisualTransition From="PART_TextDisplay" To="PART_ScoreScreen" Storyboard="{StaticResource A_Storyboard_Transition_TextDisplayToScoreScreen}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>

                    <!-- SplitGoodToSupportedSubsetOfX -->
                    <VisualTransition From="PART_SplitGood" To="PART_SplitDragMeetsHold" GeneratedDuration="0:0:0.0"/>
                    <VisualTransition From="PART_SplitGood" To="PART_ScoreScreen" Storyboard="{StaticResource A_Storyboard_Transition_SplitToScoreScreen}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>
                    
                    <!-- SplitBadToSupportedSubsetofX -->
                    <VisualTransition From="PART_SplitBad" To="PART_SplitDragMeetsHold" GeneratedDuration="0:0:0.0"/>
                    <VisualTransition From="PART_SplitBad" To="PART_ScoreScreen" Storyboard="{StaticResource A_Storyboard_Transition_SplitToScoreScreen}" GeneratedDuration="{StaticResource A_Duration_TransitionSwap}"/>

                </local:UIVisualStateGroup.Transitions>
            </local:UIVisualStateGroup>
        </VisualStateManager.VisualStateGroups>

        <!--

            ########
            #
            #
            #
            #
            #
            #
            ######## ONTENTS

            -->

        <StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Bottom">
            <Grid x:Name="PART_RecentBestPanel" Margin="0,0,0,10">
                <local:FZMaterial x:Name="RecentBestBackground" 
                    Style="{StaticResource A_Style_FZMaterial_RecentBestPanelBackground}">
                    <DockPanel Style="{StaticResource A_Style_FrameworkElement_2DTransformable}"
                               Margin="10">
                        <Decorator RenderTransformOrigin="0.5,0.5"
                                    RenderTransform="{StaticResource A_SkewTransform_HUD_Italics}"
                                    DockPanel.Dock="Right">
                            <Grid>
                                <local:FZTextBlock x:Name="RecentBestScoreText"
                                                    Text="{HUDDataBinding RecentBestScoreText}"
                                                    Style="{StaticResource A_Style_FZTextBlock_RecentBestScoreStyle}"/>
                                <local:FZTextBlock x:Name="RecentBestScoreTextPrevious"
                                                    PropertyChangeHistory.Input="{HUDDataBinding RecentBestScoreText}"
                                                    Text="{Binding Path=(local:PropertyChangeHistory.Previous), RelativeSource={RelativeSource Self}}"
                                                    Style="{StaticResource A_Style_FZTextBlock_RecentBestScoreStyle}"
                                                    Opacity="0"/>
                            </Grid>
                        </Decorator>
                        <local:FZTextBlock Text="{local:Loc Rivals.IDS_RecentBest}" Style="{StaticResource A_Style_Text_Small}" FontFamily="Horizon_B_tf"/>
                    </DockPanel>
                </local:FZMaterial>
                <local:FZMaterial x:Name="RecentBestPanelBoom"
                                    Preset="{StaticResource A_FZMaterialPreset_PanelBoom_Soft}"
                                    Color="#FFFFFFFF"
                                    RenderTransformOrigin="0.5,0.5"
                                    Opacity="0"
                                    Margin="-8"/>
                <local:EventFire.FzTriggers>
                    <local:EventFireTrigger Event="PART_FlashNewRecentBest" Storyboard="{StaticResource A_Storyboard_FlashNewRecentBest}"/>
                </local:EventFire.FzTriggers>
            </Grid>
            <Grid ClipToBounds="True" HorizontalAlignment="Center">
                <Grid x:Name="PanelRoot" Style="{StaticResource A_Style_FrameworkElement_FlippableAnd2DTransformable}">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="*"/>
                    </Grid.RowDefinitions>
                    <Decorator x:Name="PanelContents" Style="{StaticResource A_Style_FrameworkElement_Flippable}" Grid.Row="1">
                        <local:FZMaterial x:Name="PanelBackground" Style="{StaticResource A_Style_FZMaterial_MinorNotification_Glass}">
                            <Grid ClipToBounds="True">
                                <Decorator x:Name="ScoreScreenContents" Style="{StaticResource A_Style_FrameworkElement_AmbientChallengeContents}" Visibility="Collapsed">
                                    <Decorator RenderTransformOrigin="0.5,0.5"
                                               RenderTransform="{StaticResource A_SkewTransform_HUD_Italics}">
                                        <local:FZTextBlock x:Name="ScoreScreenText"
                                                           Text="{HUDDataBinding ScoreText, Converter={StaticResource A_StringToUpper}}"
                                                           MarkupConverter="{StaticResource A_MappingConverter_RivalsEverywhere}"
                                                           Style="{StaticResource A_Style_Text_Big}"
                                                           Margin="{StaticResource A_Thickness_HUDRivalsEverywhere_ContentsMargin}"/>
                                    </Decorator>
                                </Decorator>

                                <Decorator x:Name="NewPersonalBestContents" Style="{StaticResource A_Style_FrameworkElement_AmbientChallengeContents}" Visibility="Collapsed">
                                    <local:FZTextBlock Text="{local:Loc Rivals.IDS_NewPBSmall}"
                                                        MarkupConverter="{StaticResource A_MappingConverter_RivalsEverywhere}"
                                                        Style="{StaticResource A_Style_Text_Big}"
                                                        Margin="{StaticResource A_Thickness_HUDRivalsEverywhere_ContentsMargin}"/>
                                </Decorator>

                                <Decorator x:Name="FailedContents" Style="{StaticResource A_Style_FrameworkElement_AmbientChallengeContents}" Visibility="Collapsed">
                                    <local:FZTextBlock
                                        Text="{HUDDataBinding FailedText}"
                                        Style="{StaticResource A_Style_Text_Big}"
                                        Margin="{StaticResource A_Thickness_HUDRivalsEverywhere_ContentsMargin}"
                                        Color="{StaticResource A_Color_HUD_HighlightText}"/>
                                </Decorator>

                                <Decorator x:Name="MedalEarnedContents" Width="{StaticResource A_Double_MedalsContentsWidth}" Style="{StaticResource A_Style_FrameworkElement_2DTransformable}" Visibility="Collapsed">
                                    <Grid Margin="{StaticResource A_Thickness_ContentsMargin_MedalEarned}" HorizontalAlignment="Center">
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="74" />
                                            <ColumnDefinition Width="74" />
                                            <ColumnDefinition Width="74" />
                                        </Grid.ColumnDefinitions>
                                        <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_Star1}" Grid.Column="0" HorizontalAlignment="Center"/>
                                        <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_Star2}" Grid.Column="1" HorizontalAlignment="Center"/>
                                        <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_Star3}" Grid.Column="2" HorizontalAlignment="Center"/>
                                    </Grid>
                                </Decorator>

                                <Decorator x:Name="TargetToNextMedalContents" Width="{StaticResource A_Double_MedalsContentsWidth}" Style="{StaticResource A_Style_FrameworkElement_2DTransformable}" Visibility="Collapsed">
                                    <DockPanel Margin="{StaticResource A_Thickness_HUDRivalsEverywhere_ContentsMargin}">
                                        <local:FZTextBlock Text="{HUDDataBinding MedalAwardSubString}"
                                                           MarkupConverter="{StaticResource A_MappingConverter_RivalsEverywhere}"
                                                           Style="{StaticResource A_Style_Text_Small}"
                                                           HorizontalAlignment="Center"
                                                           Margin="{Binding LangStr, Source={StaticResource PART_UISceneContext}, Converter={StaticResource A_LangStrToTargetToNextMedalSubStringMargin}}"
                                                           Visibility="{HUDDataBinding MedalAwardSubString, Converter={StaticResource A_StringVisConverter}}"
                                                           DockPanel.Dock="Top"/>
                                        <local:FZTextBlock Text="{HUDDataBinding MedalAwardMainString}"
                                                           MarkupConverter="{StaticResource A_MappingConverter_RivalsEverywhere}"
                                                           Style="{StaticResource A_Style_Text_Small}"
                                                           HorizontalAlignment="Center"
                                                           Color="{StaticResource A_Color_HUD_HighlightText}"/>
                                    </DockPanel>
                                </Decorator>

                                <Decorator x:Name="NewMedalEarnedContents" Width="{StaticResource A_Double_MedalsContentsWidth}" Style="{StaticResource A_Style_FrameworkElement_2DTransformable}" Visibility="Collapsed">
                                    <Grid Margin="{StaticResource A_Thickness_ContentsMargin_MedalEarned}" HorizontalAlignment="Center">
                                        <Grid.ColumnDefinitions>
                                            <ColumnDefinition Width="68" />
                                            <ColumnDefinition Width="68" />
                                            <ColumnDefinition Width="68" />
                                        </Grid.ColumnDefinitions>
                                        <local:FZMaterial x:Name="Star1" Style="{StaticResource A_Style_FZMaterial_Star1}" Grid.Column="0" HorizontalAlignment="Center"/>
                                        <local:FZMaterial x:Name="Star2" Style="{StaticResource A_Style_FZMaterial_Star2}" Grid.Column="1" HorizontalAlignment="Center"/>
                                        <local:FZMaterial x:Name="Star3" Style="{StaticResource A_Style_FZMaterial_Star3}" Grid.Column="2" HorizontalAlignment="Center"/>
                                        <local:FZMaterial x:Name="NewStar1" Style="{StaticResource A_Style_FZMaterial_NewStar1}" Grid.Column="0" HorizontalAlignment="Center">
                                            <local:FZMaterial x:Name="GlowStar1" HorizontalAlignment="Left" Style="{StaticResource A_Style_FZMaterial_NewStarGlow}"/>
                                        </local:FZMaterial>
                                        <local:FZMaterial x:Name="NewStar2" Style="{StaticResource A_Style_FZMaterial_NewStar2}" Grid.Column="1" HorizontalAlignment="Center">
                                            <local:FZMaterial x:Name="GlowStar2" HorizontalAlignment="Left" Style="{StaticResource A_Style_FZMaterial_NewStarGlow}"/>
                                        </local:FZMaterial>
                                        <local:FZMaterial x:Name="NewStar3" Style="{StaticResource A_Style_FZMaterial_NewStar3}" Grid.Column="2" HorizontalAlignment="Center">
                                            <local:FZMaterial x:Name="GlowStar3" HorizontalAlignment="Left" Style="{StaticResource A_Style_FZMaterial_NewStarGlow}"/>
                                        </local:FZMaterial>
                                        <local:FZMaterial x:Name="GoldStar1" Style="{StaticResource A_Style_FZMaterial_NewGoldStar}" Grid.Column="0" HorizontalAlignment="Center"/>
                                        <local:FZMaterial x:Name="GoldStar2" Style="{StaticResource A_Style_FZMaterial_NewGoldStar}" Grid.Column="1" HorizontalAlignment="Center"/>
                                        <local:FZMaterial x:Name="GoldStar3" Style="{StaticResource A_Style_FZMaterial_NewGoldStar}" Grid.Column="2" HorizontalAlignment="Center"/>
                                    </Grid>
                                </Decorator>

                                <Decorator x:Name="NewSeasonalMedalEarnedContents" Width="{StaticResource A_Double_MedalsContentsWidth}" Style="{StaticResource A_Style_FrameworkElement_2DTransformable}" Visibility="Collapsed">
                                    <DockPanel Margin="{StaticResource A_Thickness_HUDRivalsEverywhere_ContentsMargin}"
                                        HorizontalAlignment="Center">
                                        <local:FZTextBlock Text="{Binding Source={local:Loc Rivals.IDS_SeasonalObjectiveCompleted_Top}}"
                                                           MarkupConverter="{StaticResource A_MappingConverter_RivalsEverywhere}"
                                                           Style="{StaticResource A_Style_Text_Small}"
                                                           HorizontalAlignment="Center"
                                                           Margin="{Binding LangStr, Source={StaticResource PART_UISceneContext}, Converter={StaticResource A_LangStrToTargetToNextMedalSubStringMargin}}"
                                                           DockPanel.Dock="Top"/>
                                        <local:FZTextBlock Text="{Binding Source={local:Loc Rivals.IDS_SeasonalObjectiveCompleted_Bottom}}"
                                                           MarkupConverter="{StaticResource A_MappingConverter_RivalsEverywhere}"
                                                           Style="{StaticResource A_Style_Text_Small}"
                                                           HorizontalAlignment="Center"
                                                           StretchDirection="Both"
                                                           Color="{StaticResource A_Color_HUD_HighlightText}"/>
                                    </DockPanel>
                                </Decorator>

                                <Decorator x:Name="RivalsComparisonContents"
                                           Style="{StaticResource A_Style_FrameworkElement_2DTransformable}"
                                           MaxWidth="{StaticResource A_Double_RivalsComparisonPanelMaxWidthPositive}"
                                           MinWidth="{StaticResource A_Double_RivalsComparisonContentsMinWidth}"
                                           Visibility="Collapsed">
                                    <Grid Margin="{StaticResource A_Thickness_HUDRivalsEverywhere_ContentsMargin}">
                                        <DockPanel x:Name="RivalPlayerEntry" Style="{StaticResource A_Style_FrameworkElement_2DTransformable}">
                                            <local:FZTextBlock Text="{HUDDataBinding RivalComparison.ScoreText, Converter={StaticResource A_Converter_TrimInlineMarkupAndToUpper}}" 
                                                               Style="{StaticResource A_Style_Text_Small}"
                                                               Margin="{StaticResource A_Thickness_RivalsComparisonScoreMargin}"
                                                               DockPanel.Dock="Right"/>
                                            <local:FZTextBlock Text="{HUDDataBinding RivalComparison.UserProfile.FormattedGamertag}" Style="{StaticResource A_Style_Text_Small}"/>
                                        </DockPanel>
                                        <DockPanel x:Name="LocalPlayerEntry" Style="{StaticResource A_Style_FrameworkElement_2DTransformable}">
                                            <local:FZTextBlock Text="{HUDDataBinding PlayerComparison.ScoreText, Converter={StaticResource A_Converter_TrimInlineMarkupAndToUpper}}"
                                                               Style="{StaticResource A_Style_Text_Small}"
                                                               Color="{StaticResource A_Color_HUD_HighlightText}"
                                                               Margin="{StaticResource A_Thickness_RivalsComparisonScoreMargin}"
                                                               DockPanel.Dock="Right"/>
                                            <local:FZTextBlock Text="{HUDDataBinding PlayerComparison.UserProfile.FormattedGamertag}" Style="{StaticResource A_Style_Text_Small}" Color="{StaticResource A_Color_HUD_HighlightText}"/>
                                        </DockPanel>
                                    </Grid>
                                </Decorator>

                                <Decorator x:Name="GlobalPositionContents" Style="{StaticResource A_Style_FrameworkElement_2DTransformable}" Visibility="Collapsed" Width="{StaticResource A_Double_AmbientChallengeContentsWidth}">
                                    <DockPanel HorizontalAlignment="Center" Margin="{StaticResource A_Thickness_HUDRivalsEverywhere_ContentsMargin}">
                                        <local:FZTextBlock
                                            Text="{HUDDataBinding GlobalPositionScoreText}"
                                            MarkupConverter="{StaticResource A_MappingConverter_RivalsEverywhere}"
                                            Style="{StaticResource A_Style_Text_Small}"
                                            HorizontalAlignment="Center"
                                            StretchDirection="DownOnly"
                                            Margin="{Binding LangStr, Source={StaticResource PART_UISceneContext}, Converter={StaticResource A_LangStrToTargetToNextMedalSubStringMargin}}"
                                            DockPanel.Dock="Top"/>
                                        <DockPanel>
                                            <local:FZTextBlock
                                                Text="{local:Loc Rivals.IDS_ViewLeaderboard}"
                                                Style="{StaticResource A_Style_Text_Small}"
                                                Color="{StaticResource A_Color_HUD_HighlightText}"
                                                HorizontalAlignment="Center"
                                                StretchDirection="DownOnly"/>
                                            <local:ControllerButtonControl Style="{StaticResource A_Style_ControllerButtonControl_MinorNotification_ActivationButton}"
                                                                           Margin="4,0,0,0"
                                                                           DockPanel.Dock="Right"
                                                                           Command="{Binding ActivateCommand}"/>
                                        </DockPanel>
                                    </DockPanel>
                                </Decorator>
                                
                                <Decorator x:Name="SplitContents" Style="{StaticResource A_Style_FrameworkElement_2DTransformable}" 
                                           MinWidth="{StaticResource A_Double_RivalsComparisonContentsMinWidth}"
                                           MaxWidth="{StaticResource A_Double_RivalsComparisonPanelMaxWidthPositive}" 
                                           Visibility="Collapsed">
                                    <Decorator Margin="{StaticResource A_Thickness_HUDRivalsEverywhere_ContentsMargin}"
                                               HorizontalAlignment="Center"
                                               RenderTransformOrigin="0.5,0.5"
                                               RenderTransform="{StaticResource A_SkewTransform_HUD_Italics}">
                                        <local:FZTextBlock Text="{HUDDataBinding SplitText}"
                                                            Style="{StaticResource A_Style_FZMaterial_SplitText}"/>
                                    </Decorator>
                                </Decorator>
                                
                                <Decorator x:Name="TextDisplayContents" Style="{StaticResource A_Style_FrameworkElement_AmbientChallengeContents}" Visibility="Collapsed">
                                    <DockPanel HorizontalAlignment="Center">
                                        <local:ControllerButtonControl Style="{StaticResource A_Style_ControllerButtonControl_TextDisplayActivationButton}"
                                                                       Margin="0,0,4,0"
                                                                       DockPanel.Dock="Left"
                                                                       Command="{Binding ActivateCommand}"/>
                                        <local:FZTextBlock x:Name="TextDisplayText"
                                                            Text="{HUDDataBinding TextDisplayText}"
                                                            MarkupConverter="{StaticResource A_MappingConverter_RivalsEverywhere}"
                                                            Style="{StaticResource A_Style_Text_Big}"
                                                            Margin="{StaticResource A_Thickness_HUDRivalsEverywhere_ContentsMargin}"/>
                                    </DockPanel>
                                </Decorator>
                                
                                <local:FZMaterial x:Name="PanelGlow" Opacity="0" Color="#9AFFFFFF" RenderTransformOrigin="0.5,0.5" Preset="{StaticResource A_FZMaterialPresetAdditive}"/>
                            </Grid>
                        </local:FZMaterial>
                    </Decorator>
                    <Decorator x:Name="PanelHeader"
                               Grid.Row="0"
                               Height="{StaticResource A_Double_MinorNotification_HeaderWithSubheaderHeight}"
                               MaxHeight="{StaticResource A_Double_MinorNotification_HeaderWithSubheaderHeight}">
                        <StackPanel>
                            <Grid>
                                <FZMaterial VerticalAlignment="Stretch"
                                            Color="{StaticResource H_Color_Glass_Purple_20pc}"
                                            Preset="{FZMaterialPresetGlass BlurAmount=Low}"
                                            Height="{StaticResource A_Double_MinorNotification_HeaderHeight}"/>
                                
                                <Grid ClipToBounds="True"
                                      Margin="75,0">
                                    <local:FZTextBlock x:Name="ActivityTitlePrevious" 
                                                       local:PropertyChangeHistory.Input="{HUDDataBinding State}"
                                                       Text="{HUDDataBinding ActivityTitle}" 
                                                       Style="{StaticResource A_Style_Text_Title}" 
                                                       local:BindingProxy.A="{Binding Path=(local:PropertyChangeHistory.Previous), RelativeSource={RelativeSource Self}}"
                                                       Opacity="0"/>
                                    <local:FZTextBlock x:Name="ActivityTitle" Text="{HUDDataBinding ActivityTitle}" Style="{StaticResource A_Style_Text_Title}" local:BindingProxy.A="{HUDDataBinding State}"/>
                                </Grid>
                            </Grid>
                            <Grid Height="{StaticResource A_Double_MinorNotification_SubheaderHeight}">
                                <local:FZMaterial x:Name="IconBackingPrevious"
                                                  Style="{StaticResource A_Style_FZMaterial_IconBacking}"
                                                  local:BindingProxy.A="{Binding Path=(local:PropertyChangeHistory.Previous), RelativeSource={RelativeSource Self}}"
                                                  local:PropertyChangeHistory.Input="{HUDDataBinding State}"
                                                  Opacity="0"/>
                                <local:FZMaterial x:Name="IconBackingCurrent" Style="{StaticResource A_Style_FZMaterial_IconBacking}" local:BindingProxy.A="{HUDDataBinding State}"/>
                            </Grid>
                        </StackPanel>
                    </Decorator>
                </Grid>
                <local:FZMaterial x:Name="PanelSheen"
                                  Opacity="0"
                                  Width="256"
                                  Margin="-128"
                                  Height="{StaticResource A_Double_MinorNotification_Height}"
                                  RenderTransformOrigin="0.5,0.5"
                                  VerticalAlignment="Center"
                                  HorizontalAlignment="Center"
                                  Preset="{StaticResource A_FZMaterialPresetAdditive}"
                                  ImageSource="/ForzaUI;component/Textures/Data_Bound/Anthem/Rivals/ElipseGlow.png"
                                  Style="{StaticResource A_Style_FrameworkElement_HideIfNotEarnedThreeStarsAndInNewMedalEarnedState}">
                    <local:FZMaterial.RenderTransform>
                        <TransformGroup>
                            <RotateTransform Angle="-60"/>
                            <ScaleTransform ScaleX="2.5" ScaleY="{Binding ScaleX, RelativeSource={RelativeSource Self}, Converter={LinearTransformConverter Scale=1.4}}"/>
                            <TranslateTransform/>
                        </TransformGroup>
                    </local:FZMaterial.RenderTransform>
                </local:FZMaterial>
            </Grid>
        </StackPanel>

        <Decorator VerticalAlignment="Bottom" HorizontalAlignment="Center">
            <local:FZMaterial x:Name="PanelBoom"
                                  Width="{Binding ActualWidth, ElementName=PanelRoot, Converter={StaticResource A_LinearTransformConverter_PanelGlowSoft}}"
                                  Height="112"
                                  Preset="{StaticResource A_FZMaterialPreset_PanelBoom_Soft}"
                                  Color="#FFFFFFFF"
                                  HorizontalAlignment="Center"
                                  VerticalAlignment="Center"
                                  RenderTransformOrigin="0.5,0.5"
                                  Opacity="0"
                                  Margin="0,0,0,-5"
                                  Style="{StaticResource A_Style_FrameworkElement_HideIfNotEarnedThreeStarsAndInNewMedalEarnedState}">
                <local:FZMaterial.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleX="1" ScaleY="{Binding ScaleX, RelativeSource={RelativeSource Self}}"/>
                        <TranslateTransform/>
                    </TransformGroup>
                </local:FZMaterial.RenderTransform>
            </local:FZMaterial>
        </Decorator>

        <Decorator VerticalAlignment="Bottom" HorizontalAlignment="Center">
            <local:FZMaterial x:Name="Boom"
                              Opacity="0"
                              Width="545"
                              Height="112"
                              RenderTransformOrigin="0.5,0.5"
                              VerticalAlignment="Bottom"
                              Color="#9AFFFFFF"
                              Margin="0,0,0,-18"
                              Preset="{StaticResource A_FZMaterialPresetAdditive}" ImageSource="/ForzaUI;component/Textures/Anthem/HUD/AmbientChallengeMedals/GlowCloud.png"
                              Style="{StaticResource A_Style_FrameworkElement_HideIfNotEarnedThreeStarsAndInNewMedalEarnedState}">
                <local:FZMaterial.RenderTransform>
                    <TransformGroup>
                        <ScaleTransform ScaleX="1" ScaleY="{Binding ScaleX, RelativeSource={RelativeSource Self}}"/>
                        <TranslateTransform/>
                    </TransformGroup>
                </local:FZMaterial.RenderTransform>
            </local:FZMaterial>
        </Decorator>

        <Grid x:Name="IconRoot"
              Style="{StaticResource A_Style_FrameworkElement_FlippableAnd2DTransformable}"
              HorizontalAlignment="Center" 
              VerticalAlignment="Bottom"
              Width="{Binding ActualWidth, ElementName=PanelRoot}"
              Height="{Binding ActualHeight, ElementName=PanelRoot}"
              >
            <Grid VerticalAlignment="Top"
                  HorizontalAlignment="Left"
                  Margin="3,0,0,0">
                <Grid VerticalAlignment="Center" HorizontalAlignment="Center">
                    <local:FZMaterial x:Name="IconPrevious"
                                  Style="{StaticResource A_Style_FZMaterial_Icon}"
                                  local:BindingProxy.A="{Binding Path=(local:PropertyChangeHistory.Previous), RelativeSource={RelativeSource Self}}"
                                  local:PropertyChangeHistory.Input="{HUDDataBinding State}"
                                  Opacity="0"/>
                    <local:FZMaterial x:Name="IconCurrent" Style="{StaticResource A_Style_FZMaterial_Icon}"
                                      local:BindingProxy.A="{HUDDataBinding State}" 
                                      local:BindingProxy.B="{HUDDataBinding Reward.RewardType}"/>

                    <!-- This is useful for debugging transition / icon issues -->
                    <!--<StackPanel Orientation="Vertical"
                        VerticalAlignment="Top"
                        HorizontalAlignment="Left"
                        Margin="3">
                        <StackPanel Orientation="Horizontal">
                            <local:FZTextBlock Text="{Binding Path=(local:PropertyChangeHistory.Previous), ElementName=IconPrevious, Converter={StaticResource A_NumUnitConverter_ShowUnit_0dp}}" Stretch="None" CapHeight="18" Color="Black"/>
                            <local:FZTextBlock Text="," Stretch="None" CapHeight="18" Color="Black"/>
                            <local:FZTextBlock Text="{Binding Path=(local:BindingProxy.A), ElementName=IconCurrent, Converter={StaticResource A_NumUnitConverter_ShowUnit_0dp}}" Stretch="None" CapHeight="18" Color="Black"/>
                        </StackPanel>
                        <StackPanel Orientation="Horizontal">
                            <local:FZTextBlock Text="," Stretch="None" CapHeight="18" Color="Black"/>
                            <local:FZTextBlock Text="{Binding Path=(local:BindingProxy.B), ElementName=IconCurrent, Converter={StaticResource A_NumUnitConverter_ShowUnit_0dp}}" Stretch="None" CapHeight="18" Color="Black"/>
                        </StackPanel>
                      </StackPanel>-->
                </Grid>
            </Grid>
        </Grid>
    </Grid>
</local:HUDControl>
