<Page xmlns:local="clr-namespace:ForzaUI"
      xmlns:System="clr-namespace:System;assembly=mscorlib"
      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"  
      x:Class="ForzaUI.Scenes.Anthem.A_PostRaceCredits"
      mc:Ignorable="d"
      DataContext="{Binding RelativeSource={RelativeSource Self}}">
    <local:UIPageTransitionManager.TransitionManager>
        <local:UIPageTransitionManager Preset="{StaticResource A_UIPageTransitionManagerPreset_PostRace}"/>
    </local:UIPageTransitionManager.TransitionManager>
    <Page.Resources>
        <Style x:Key="A_Style_Control_PostRace_BonusValueBlock_Cr"
               BasedOn="{StaticResource A_Style_Control_PostRace_BonusValueBlock}"
               TargetType="Control">
            <Setter Property="Width"
                    Value="200" />
            <Setter Property="Tag"
                    Value="/ForzaUI;component/Textures/Anthem/Icons/CRIcon/CR_85_FilledCircle.png" />
        </Style>

        <System:Double x:Key="A_Double_CreditRewardItem_Offset">48</System:Double>

        <Size x:Key="A_Size_PostRace_GamerPicSizeParams">424,424</Size>

        <local:FZMaterialPresetRoundtangle x:Key="A_FZMaterialPresetRoundtangle_PostRace_Gamerpic"
                                           Saturation="0.8" />

        <ImageBrush x:Key="A_Brush_GamerpicOpacity"
                    ImageSource="/ForzaUI;component/Textures/Data_Bound/PostRace/Gamerpic_Mask.png" />

        <local:UIStoryboard x:Key="A_Storyboard_PostRace_WhooshInFromLeft_Slide_CreditsTotal">
            <local:UIStoryboard.TriggerAnimation>
                <local:RaiseFzEvent EventName="DisableSkip"
                                    local:TriggerAnimation.KeyTime="0:0:2" />
                <local:RaiseFzEvent EventName="TotalReached"
                                    local:TriggerAnimation.KeyTime="0:0:2" />
                <local:RaiseFzEvent EventName="EnableSkip"
                                    local:TriggerAnimation.KeyTime="0:0:2.6" />
            </local:UIStoryboard.TriggerAnimation>
            <StaticResourceExtension ResourceKey="A_Animation_PostRace_WhooshInFromLeft_Slide_X" />
            <StaticResourceExtension ResourceKey="A_Animation_PostRace_WhooshInFromLeft_Slide_Opacity" />
        </local:UIStoryboard>

        <local:UIStoryboard x:Key="A_Storyboard_PostRace_WhooshInFromLeft_Slide_CreditsTotal_Skip"
                            BeginTime="-0:0:2">
            <StaticResourceExtension ResourceKey="A_Animation_PostRace_WhooshInFromLeft_Slide_X" />
            <StaticResourceExtension ResourceKey="A_Animation_PostRace_WhooshInFromLeft_Slide_Opacity" />
        </local:UIStoryboard>

        <local:UIStoryboard x:Key="A_Storyboard_PostRace_WhooshInFromRight_Slide_CreditsTotal">
            <local:UIStoryboard.TriggerAnimation>
                <local:RaiseFzEvent EventName="DisableSkip"
                                    local:TriggerAnimation.KeyTime="0:0:2" />
            </local:UIStoryboard.TriggerAnimation>
            <StaticResourceExtension ResourceKey="A_Animation_PostRace_WhooshInFromRight_Slide_X" />
            <StaticResourceExtension ResourceKey="A_Animation_PostRace_WhooshInFromRight_Slide_Opacity" />
        </local:UIStoryboard>

        <local:UIStoryboard x:Key="A_Storyboard_PostRace_WhooshInFromRight_Slide_CreditsTotal_Skip"
                            BeginTime="-0:0:2">
            <StaticResourceExtension ResourceKey="A_Animation_PostRace_WhooshInFromRight_Slide_X" />
            <StaticResourceExtension ResourceKey="A_Animation_PostRace_WhooshInFromRight_Slide_Opacity" />
        </local:UIStoryboard>
    </Page.Resources>
    <Grid Height="540"
          Width="1920"
          ClipToBounds="True">
        <local:EventFire.FzTriggers>

            <local:RaiseFzEvent EventName="EnableSkip"
                                local:EventFireTrigger.Event="ShowBonusItem1" />
            
            <local:BeginUIStoryboard local:EventFireTrigger.Event="ShowBonusItem1"
                                    local:EventFireTrigger.TargetName="BonusLabel1"
                                    Storyboard="{StaticResource A_Storyboard_PostRace_RowIn}"
                                     Name="BeginBonusLabel1"/>
            <local:BeginUIStoryboard local:EventFireTrigger.Event="ShowBonusItem1"
                                    local:EventFireTrigger.TargetName="BonusValue1"
                                     Storyboard="{StaticResource A_Storyboard_PostRace_RowIn_Value}"
                                     Name="BeginBonusValue1" />
            <local:AudioEventFireTrigger Event="ShowBonusItem1"
                                         AudioEvent="/Master/UI/PostRace/HZ2_SFX_HUD_PostRace_CashRewardsItemOn_01" />

            <local:BeginUIStoryboard local:EventFireTrigger.Event="ShowBonusItem2"
                                    local:EventFireTrigger.TargetName="BonusLabel2"
                                    Storyboard="{StaticResource A_Storyboard_PostRace_RowIn}"
                                     Name="BeginBonusLabel2"/>
            <local:BeginUIStoryboard local:EventFireTrigger.Event="ShowBonusItem2"
                                    local:EventFireTrigger.TargetName="BonusValue2"
                                     Storyboard="{StaticResource A_Storyboard_PostRace_RowIn_Value}"
                                     Name="BeginBonusValue2" />
            <local:AudioEventFireTrigger Event="ShowBonusItem2"
                                         AudioEvent="/Master/UI/PostRace/HZ2_SFX_HUD_PostRace_CashRewardsItemOn_01" />

            <local:BeginUIStoryboard local:EventFireTrigger.Event="ShowBonusItem3"
                                    local:EventFireTrigger.TargetName="BonusLabel3"
                                    Storyboard="{StaticResource A_Storyboard_PostRace_RowIn}"
                                     Name="BeginBonusLabel3"/>
            <local:BeginUIStoryboard local:EventFireTrigger.Event="ShowBonusItem3"
                                    local:EventFireTrigger.TargetName="BonusValue3"
                                     Storyboard="{StaticResource A_Storyboard_PostRace_RowIn_Value}"
                                     Name="BeginBonusValue3" />
            <local:AudioEventFireTrigger Event="ShowBonusItem3"
                                         AudioEvent="/Master/UI/PostRace/HZ2_SFX_HUD_PostRace_CashRewardsItemOn_01" />

            <local:BeginUIStoryboard local:EventFireTrigger.Event="ShowBonusItem4"
                                    local:EventFireTrigger.TargetName="BonusLabel4"
                                    Storyboard="{StaticResource A_Storyboard_PostRace_RowIn}"
                                     Name="BeginBonusLabel4"/>
            <local:BeginUIStoryboard local:EventFireTrigger.Event="ShowBonusItem4"
                                    local:EventFireTrigger.TargetName="BonusValue4"
                                     Storyboard="{StaticResource A_Storyboard_PostRace_RowIn_Value}"
                                     Name="BeginBonusValue4" />
            <local:AudioEventFireTrigger Event="ShowBonusItem4"
                                         AudioEvent="/Master/UI/PostRace/HZ2_SFX_HUD_PostRace_CashRewardsItemOn_01" />

            <local:BeginUIStoryboard local:EventFireTrigger.Event="ShowBonusItem5"
                                    local:EventFireTrigger.TargetName="BonusLabel5"
                                    Storyboard="{StaticResource A_Storyboard_PostRace_RowIn}"
                                     Name="BeginBonusLabel5"/>
            <local:BeginUIStoryboard local:EventFireTrigger.Event="ShowBonusItem5"
                                    local:EventFireTrigger.TargetName="BonusValue5"
                                     Storyboard="{StaticResource A_Storyboard_PostRace_RowIn_Value}"
                                     Name="BeginBonusValue5" />
            <local:AudioEventFireTrigger Event="ShowBonusItem5"
                                         AudioEvent="/Master/UI/PostRace/HZ2_SFX_HUD_PostRace_CashRewardsItemOn_01" />

            <local:BeginUIStoryboard local:EventFireTrigger.Event="ShowBonusItem6"
                                    local:EventFireTrigger.TargetName="BonusLabel6"
                                    Storyboard="{StaticResource A_Storyboard_PostRace_RowIn}"
                                     Name="BeginBonusLabel6"/>
            <local:BeginUIStoryboard local:EventFireTrigger.Event="ShowBonusItem6"
                                    local:EventFireTrigger.TargetName="BonusValue6"
                                     Storyboard="{StaticResource A_Storyboard_PostRace_RowIn_Value}"
                                     Name="BeginBonusValue6" />
            <local:AudioEventFireTrigger Event="ShowBonusItem6"
                                         AudioEvent="/Master/UI/PostRace/HZ2_SFX_HUD_PostRace_CashRewardsItemOn_01" />

            <local:BeginUIStoryboard local:EventFireTrigger.Event="ShowTotal"
                                    local:EventFireTrigger.TargetName="TotalLabel"
                                     Storyboard="{StaticResource A_Storyboard_PostRace_WhooshInFromLeft_Slide_CreditsTotal}"
                                    Name="BeginShowTotalLabel" />
            <local:BeginUIStoryboard local:EventFireTrigger.Event="ShowTotal"
                                    local:EventFireTrigger.TargetName="TotalValue"
                                    Storyboard="{StaticResource A_Storyboard_PostRace_WhooshInFromLeft}"
                                    Name="BeginShowTotalValue" />
            <local:AudioEventFireTrigger Event="ShowTotal"
                                    AudioEvent="/Master/UI/PostRace/HZ2_SFX_HUD_PostRace_CashRewardsTotalOn_01" />

            <local:BeginUIStoryboard local:EventFireTrigger.Event="ShowBalance"
                                    local:EventFireTrigger.TargetName="BalanceValue"
                                     Storyboard="{StaticResource A_Storyboard_PostRace_WhooshInFromRight_Slide_CreditsTotal}"
                                    Name="BeginShowBalanceValue" />
            <local:AudioEventFireTrigger Event="ShowBalance"
                                    AudioEvent="/Master/UI/PostRace/HZ2_SFX_HUD_PostRace_CashRewardsBalanceOn_01" />

        </local:EventFire.FzTriggers>
        
        <local:EventFire x:Name="EventFire" />

        <local:FZMaterial Preset="{StaticResource A_FZMaterialPresetRoundtangle_GradientHighlight}" />
        <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_PostRace_Hatching}" Opacity="0.2" />

        <Grid Width="878"
              Height="540"
              Margin="80,0,0,0"
              x:Name="GamerpicContainer"
              HorizontalAlignment="Left"
              Style="{StaticResource A_Style_FrameworkElement_PostRace_SmallAnimatedBlock}"
              local:UIPageTransitionManager.TransitionIndex="0">
            <Grid.Resources>
                <local:UIStoryboard x:Key="transition_in"
                                    DurationOverride="{StaticResource A_Duration_Transition_ElementIn}">
                    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(local:ZPanel.Transform).(Transform3DGroup.Children)[1].(TranslateTransform3D.OffsetX)"
                                                   Storyboard.TargetName="{x:Null}">
                        <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                                Value="-1000" />
                        <EasingDoubleKeyFrame KeyTime="0:0:0.43"
                                              Value="0"
                                              EasingFunction="{local:ExponentialEasing EasingMode=EaseIn}" />
                    </DoubleAnimationUsingKeyFrames>
                    <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity"
                                                   Storyboard.TargetName="{x:Null}">
                        <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                                Value="0" />
                        <LinearDoubleKeyFrame KeyTime="0:0:0.129"
                                              Value="1" />
                    </DoubleAnimationUsingKeyFrames>
                </local:UIStoryboard>
            </Grid.Resources>
            <local:FZMaterial OpacityMask="{StaticResource A_Brush_GamerpicOpacity}">
                <Grid>
                    <local:FZMaterial Preset="{StaticResource A_FZMaterialPresetRoundtangle_PostRace_Gamerpic}"
                                      ClipToBounds="True"
                                      VerticalAlignment="Center"
                                      HorizontalAlignment="Center"
                                      GreedyMeasure="True"
                                      ImageSource="{Binding UserProfile, Converter={StaticResource A_GamerPicOrTeamProfileConverter}, ConverterParameter={StaticResource A_Size_PostRace_GamerPicSizeParams}}"
                                      Stretch="UniformToFill" />

                    <local:FZMaterial Color="#7D1E09" Opacity="0.3" />
                    <local:FZMaterial Color="#000" Opacity="0.6" />
                    <local:FZMaterial ImageSource="/ForzaUI;component/Textures/Data_Bound/PostRace/Gamerpic_Vignette.png" />
                </Grid>
            </local:FZMaterial>
        </Grid>

        <Grid Width="878"
              Height="540"
              Margin="80,0,0,0"
              HorizontalAlignment="Left">
            <StackPanel HorizontalAlignment="Left">
                <Decorator Height="80" />
                <Grid Style="{StaticResource A_Style_FrameworkElement_PostRace_SmallAnimatedBlock}"
                      x:Name="TitleContainer"
                      local:UIPageTransitionManager.TransitionIndex="0">
                    <Grid.Resources>
                        <local:UIStoryboard x:Key="transition_in"
                                            DurationOverride="{StaticResource A_Duration_Transition_ElementIn}">
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(local:ZPanel.Transform).(Transform3DGroup.Children)[1].(TranslateTransform3D.OffsetX)"
                                                           Storyboard.TargetName="{x:Null}">
                                <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                                        Value="-1000" />
                                <EasingDoubleKeyFrame KeyTime="0:0:0.43"
                                                      Value="0"
                                                      EasingFunction="{local:ExponentialEasing EasingMode=EaseIn}" />
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity"
                                                           Storyboard.TargetName="{x:Null}">
                                <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                                        Value="0" />
                                <LinearDoubleKeyFrame KeyTime="0:0:0.129"
                                                      Value="1" />
                            </DoubleAnimationUsingKeyFrames>
                        </local:UIStoryboard>
                    </Grid.Resources>
                    <StackPanel HorizontalAlignment="Left"
                            Margin="268,0,0,0"
                            RenderTransform="{StaticResource A_Transform_Italic}">
                    <local:FZTextBlock Text="{local:Loc InGame.IDS_PostRace_CreditsRewardsTitle}"
                                       Style="{StaticResource A_Style_FZTextBlock_HorizonA}"
                                       CapHeight="43"
                                       Color="#fff" />
                    <Decorator Height="8" />
                    <local:FZMaterial Color="#fff"
                                      Height="4">
                        <local:FZMaterial.Preset>
                            <local:FZMaterialPresetRoundtangle CornerRadius="2" />
                        </local:FZMaterial.Preset>
                    </local:FZMaterial>
                </StackPanel>
            </Grid>

                <Decorator Height="36" />

                <!--Use alternation count to give each item access to its own index-->
                <ItemsControl AlternationCount="10000">

                    <Decorator Style="{StaticResource A_Style_RewardsBonusItemWrapper}">
                        <DockPanel Style="{StaticResource A_Style_RewardsBonusDockPanel}"
                                   DataContext="{Binding BonusItems[0]}">
                            <Control x:Name="BonusValue1"
                                     DockPanel.Dock="Right"
                                     Style="{StaticResource A_Style_Control_PostRace_BonusValueBlock_Cr}" />
                            <Control x:Name="BonusLabel1"
                                     Style="{StaticResource A_Style_Control_PostRace_BonusLabelBlock}" />

                        </DockPanel>
                    </Decorator>

                    <Decorator Style="{StaticResource A_Style_RewardsBonusItemWrapper}">
                        <DockPanel Style="{StaticResource A_Style_RewardsBonusDockPanel}"
                                   DataContext="{Binding BonusItems[1]}">
                            <Control x:Name="BonusValue2"
                                     DockPanel.Dock="Right"
                                     Style="{StaticResource A_Style_Control_PostRace_BonusValueBlock_Cr}" />
                            <Control x:Name="BonusLabel2"
                                     Style="{StaticResource A_Style_Control_PostRace_BonusLabelBlock}" />
                        </DockPanel>
                    </Decorator>

                    <Decorator Style="{StaticResource A_Style_RewardsBonusItemWrapper}">
                        <DockPanel Style="{StaticResource A_Style_RewardsBonusDockPanel}"
                                   DataContext="{Binding BonusItems[2]}">
                            <Control x:Name="BonusValue3"
                                     DockPanel.Dock="Right"
                                     Style="{StaticResource A_Style_Control_PostRace_BonusValueBlock_Cr}" />
                            <Control x:Name="BonusLabel3"
                                     Style="{StaticResource A_Style_Control_PostRace_BonusLabelBlock}" />

                        </DockPanel>
                    </Decorator>

                    <Decorator Style="{StaticResource A_Style_RewardsBonusItemWrapper}">
                        <DockPanel Style="{StaticResource A_Style_RewardsBonusDockPanel}"
                                   DataContext="{Binding BonusItems[3]}">
                            <Control x:Name="BonusValue4"
                                     DockPanel.Dock="Right"
                                     Style="{StaticResource A_Style_Control_PostRace_BonusValueBlock_Cr}" />
                            <Control x:Name="BonusLabel4"
                                     Style="{StaticResource A_Style_Control_PostRace_BonusLabelBlock}" />
                        </DockPanel>
                    </Decorator>

                    <Decorator Style="{StaticResource A_Style_RewardsBonusItemWrapper}">
                        <DockPanel Style="{StaticResource A_Style_RewardsBonusDockPanel}"
                                   DataContext="{Binding BonusItems[4]}">
                            <Control x:Name="BonusValue5"
                                     DockPanel.Dock="Right"
                                     Style="{StaticResource A_Style_Control_PostRace_BonusValueBlock_Cr}" />
                            <Control x:Name="BonusLabel5"
                                     Style="{StaticResource A_Style_Control_PostRace_BonusLabelBlock}" />
                        </DockPanel>
                    </Decorator>

                    <Decorator Style="{StaticResource A_Style_RewardsBonusItemWrapper}">
                        <DockPanel Style="{StaticResource A_Style_RewardsBonusDockPanel}"
                                   DataContext="{Binding BonusItems[5]}">
                            <Control x:Name="BonusValue6"
                                     DockPanel.Dock="Right"
                                     Style="{StaticResource A_Style_Control_PostRace_BonusValueBlock_Cr}" />
                            <Control x:Name="BonusLabel6"
                                     Style="{StaticResource A_Style_Control_PostRace_BonusLabelBlock}" />
                        </DockPanel>
                    </Decorator>

                </ItemsControl>
            </StackPanel>
        </Grid>

        <Decorator HorizontalAlignment="Right"
                   VerticalAlignment="Center"
                   Margin="0,75,0,0" Width="1000">
            <local:ZPanel.Transform>
                <local:Transform3DGroup>
                    <local:ZRotation Angle="-6" />
                </local:Transform3DGroup>
            </local:ZPanel.Transform>
            <StackPanel Orientation="Vertical"
                        MaxWidth="900"
                        HorizontalAlignment="Center"
                        RenderTransform="{StaticResource A_Transform_Italic}">
                <Control x:Name="TotalLabel"
                         Style="{StaticResource A_Style_Control_PostRace_TotalLabelBlock_Large}" />

                <Decorator Height="16" />

                <Control x:Name="TotalValue"
                         Style="{StaticResource A_Style_Control_PostRace_TotalValueBlock}"
                         Tag="/ForzaUI;component/Textures/Anthem/Icons/CRIcon/CR_110_FilledCircle.png" />

                <Decorator Height="32" />

                <Control x:Name="BalanceValue"
                         Margin="100,0,40,0"
                         Style="{StaticResource A_Style_Control_PostRace_BalanceValueBlock}"
                         Tag="/ForzaUI;component/Textures/Anthem/Icons/CRIcon/CR_85_FilledCircle.png" />
            </StackPanel>
        </Decorator>

        <local:FZMaterial Color="#000000"
                          Opacity="0.3"
                          Height="27"
                          VerticalAlignment="Bottom" />
        <local:FZMaterial Color="#000000"
                          Opacity="0.3"
                          Height="27"
                          VerticalAlignment="Top" />
        
        <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_PostRacePanel_Vignette}" />

        <FrameworkElement x:Name="animhelp" />

        <local:FZTextBlock Tag="SKIP"
                           CapHeight="100"
                           VerticalAlignment="Bottom"
                           HorizontalAlignment="Center"
                           Visibility="{Binding SkipEnabled, Converter={StaticResource A_Converter_BoolToVis}}" />
    </Grid>
    <local:EventFire.FzTriggers>
        <local:RaiseEntityModelEvent local:EventFireTrigger.Event="StartPanelAnimation"
                                     EventName="PostRaceCreditsPanel" />
        <local:BeginUIStoryboard local:EventFireTrigger.Event="ShowTotal"
                                 local:EventFireTrigger.TargetName="animhelp"
                                 Name="ShowTotal">
            <local:UIStoryboard>
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseEntityModelEvent EventName="Panel_ShowTotal"
                                                 local:TriggerAnimation.KeyTime="0:0:0.1" />
                    <local:RaiseFzEvent EventName="UISequenceComplete"
                                                 local:TriggerAnimation.KeyTime="0:0:3" />
                </local:UIStoryboard.TriggerAnimation>
            </local:UIStoryboard>
        </local:BeginUIStoryboard>

        <local:BeginUIStoryboard local:EventFireTrigger.Event="SkipToTotal"
                                 Name="BeginSkipToTotal">
            <local:UIStoryboard FillBehavior="HoldEnd">
                <local:UIStoryboard.TriggerAnimation>
                    <local:RaiseFzEvent EventName="DisableSkip"
                                        local:TriggerAnimation.KeyTime="0:0:0" />
                    <local:RaiseFzEvent EventName="EnableSkip"
                                        local:TriggerAnimation.KeyTime="0:0:0.6" />
                    <!-- Don't need to worry about firing this after the bookmark has been moved to because the stateflow won't be listening for it any more -->
                    <local:RaiseEntityModelEvent EventName="Panel_ShowTotal"
                                                 local:TriggerAnimation.KeyTime="0:0:0" />
                    <local:RaiseFzEvent EventName="UISequenceComplete"
                                                 local:TriggerAnimation.KeyTime="0:0:2" />
                    <local:BeginUIStoryboard local:TriggerAnimation.KeyTime="0:0:0"
                                             Storyboard.TargetName="TotalLabel"
                                             Storyboard="{StaticResource A_Storyboard_PostRace_WhooshInFromLeft_Slide_CreditsTotal_Skip}"
                                             Name="BeginShowTotalLabelSkip" />
                    <local:BeginUIStoryboard local:TriggerAnimation.KeyTime="0:0:0"
                                             Storyboard.TargetName="BalanceValue"
                                             Storyboard="{StaticResource A_Storyboard_PostRace_WhooshInFromRight_Slide_CreditsTotal_Skip}"
                                             Name="BeginShowTotalBalanceSkip" />
                </local:UIStoryboard.TriggerAnimation>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="GamerpicContainer"
                                               Storyboard.TargetProperty="Opacity">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                            Value="1" />
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="TitleContainer"
                                               Storyboard.TargetProperty="Opacity">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                            Value="1" />
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="TotalValue"
                                               Storyboard.TargetProperty="Opacity">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                            Value="1" />
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="BonusLabel1"
                                               Storyboard.TargetProperty="Opacity">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                            Value="1" />
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="BonusLabel2"
                                               Storyboard.TargetProperty="Opacity">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                            Value="1" />
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="BonusLabel3"
                                               Storyboard.TargetProperty="Opacity">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                            Value="1" />
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="BonusLabel4"
                                               Storyboard.TargetProperty="Opacity">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                            Value="1" />
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="BonusLabel5"
                                               Storyboard.TargetProperty="Opacity">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                            Value="1" />
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="BonusLabel6"
                                               Storyboard.TargetProperty="Opacity">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                            Value="1" />
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="BonusValue1"
                                               Storyboard.TargetProperty="Opacity">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                            Value="1" />
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="BonusValue2"
                                               Storyboard.TargetProperty="Opacity">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                            Value="1" />
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="BonusValue3"
                                               Storyboard.TargetProperty="Opacity">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                            Value="1" />
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="BonusValue4"
                                               Storyboard.TargetProperty="Opacity">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                            Value="1" />
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="BonusValue5"
                                               Storyboard.TargetProperty="Opacity">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                            Value="1" />
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames Storyboard.TargetName="BonusValue6"
                                               Storyboard.TargetProperty="Opacity">
                    <DiscreteDoubleKeyFrame KeyTime="0:0:0"
                                            Value="1" />
                </DoubleAnimationUsingKeyFrames>
            </local:UIStoryboard>
        </local:BeginUIStoryboard>

        <local:StartAudioTrigger EventName="/Master/UI/UI_Nav_Accept"
                                 local:EventFireTrigger.Event="SkipToEnd" />
        <local:RaiseFzEvent EventName="UISequenceComplete_Skip"
                                     local:EventFireTrigger.Event="SkipToEnd" />
    </local:EventFire.FzTriggers>
</Page>
