<ResourceDictionary 
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:System="clr-namespace:System;assembly=mscorlib"
    xmlns:local="clr-namespace:ForzaUI">

    <local:CompareConverter x:Key="A_CompareConverter" />
    <local:FZBooleanToVisibilityConverter x:Key="A_FZBooleanToVisibilityConverter" InvertResult="false" />
    <local:FZBooleanToVisibilityConverter x:Key="A_FZBooleanToVisibilityConverter_Inverse" InvertResult="true"/>
    <local:FZBooleanToVisibilityConverter x:Key="A_FZBooleanToVisibilityConverter_UseHidden" UseHidden="true" InvertResult="false" />
    <local:FZBooleanToVisibilityConverter x:Key="A_FZBooleanToVisibilityConverter_UseHidden_Inverse" UseHidden="true" InvertResult="true" />
    <local:StringVisConverter x:Key="A_StringVisConverter" />
    <local:StringVisConverter x:Key="A_StringVisConverter_Inverse" InvertResult="true" />
    <local:StringVisConverter x:Key="A_StringVisConverter_UseHidden" UseHidden="true"/>
    <local:StringVisConverter x:Key="A_StringVisConverter_UseHidden_Inverse" UseHidden="true" InvertResult="true" />
    <local:XPConverter x:Key="A_XPConverter" />
    <local:XPConverter x:Key="A_XPConverter_Text"
                       ColorMode="ReadableOnBackground" />
    <local:XPConverter x:Key="A_XPConverter_Border" />
    <local:XPConverter x:Key="A_XPConverter_BarColor" ColorMode="DarkComplement"/>
    <local:XPConverter x:Key="A_XPConverter_Prestige" StringMode="{x:Static local:XPConverterStringMode.Prestige}" />
    <local:CarClassConverter x:Key="A_CarClassConverter" />
    <local:PIConverter x:Key="A_PIConverter" />
    <local:DriveTypeConverter x:Key="A_DriveTypeConverter" />
    <local:PowertrainConverter x:Key="A_PowertrainConverter" />
    <local:NumUnitConverter x:Key="A_NumUnitConverter_ShowUnit_0dp" FractionDigits="0" ShowUnit="true" />
    <local:NumUnitConverter x:Key="A_NumUnitConverter_ShowUnit_0dp_InsertMarkup" FractionDigits="0" ShowUnit="true" InsertMarkup="True"/>
    <local:NumUnitConverter x:Key="A_NumUnitConverter_ShowUnit_0dp_Positive" FractionDigits="0" ShowUnit="true" PositiveSign="True" />
    <local:NumUnitConverter x:Key="A_NumUnitConverter_ShowUnit_1dp_Positive" FractionDigits="1" ShowUnit="true" PositiveSign="True" />
    <local:NumUnitConverter x:Key="A_NumUnitConverter_ShowUnit_2dp_InsertMarkup" FractionDigits="2" ShowUnit="True" InsertMarkup="True"/>
    <local:NumUnitConverter x:Key="A_NumUnitConverter_NoUnit_0dp" FractionDigits="0" ShowUnit="false" />
    <local:NumUnitConverter x:Key="A_NumUnitConverter_NoUnit_0dp_InsertMarkup" FractionDigits="0" ShowUnit="false" InsertMarkup="True"/>
    <local:NumUnitConverter x:Key="A_NumUnitConverter_NoUnit_1dp" FractionDigits="1" ShowUnit="false" />
    <local:NumUnitConverter x:Key="A_NumUnitConverter_Min2Digits_0dp" MinDigits="2" FractionDigits="0" ShowUnit="false" />
    <local:NumUnitConverter x:Key="A_NumUnitConverter_XPConverter" FractionDigits="0"/>
    <local:StringSplitterConverter x:Key="A_StringSplitterConverter"/>
    <local:LinearTransformConverter x:Key="A_IntToFloatConverter" />
    <local:LinearTransformConverter x:Key="A_IntToAbsoluteFloatConverter"
        AbsOutput="True"/>
    <local:LinearTransformConverter x:Key="A_AddOneConverter"
        Add="1" />
    <local:MultiConverter x:Key="A_IndexToNumberConverter">
        <local:MultiConverterEntry Converter="{StaticResource A_AddOneConverter}" TargetType="{x:Type System:Int32}"/>
    </local:MultiConverter>

    <local:AbbreviatedTimeConverter x:Key="A_Converter_AbbreviatedTime"/>

    <ImageSource x:Key="A_BitmapImage_GamerPicFallback">/ForzaUI;component/Textures/Data_Bound/Anthem/GamerPics/Fallback.png</ImageSource>
    <ImageSource x:Key="A_BitmapImage_HorizonClubPicFallback">/ForzaUI;component/Textures/Data_Bound/Anthem/GamerPics/Fallback.png</ImageSource>
    <ImageSource x:Key="A_BitmapImage_HorizonTeamPicFallback">/ForzaUI;component/Textures/Data_Bound/Anthem/GamerPics/Fallback.png</ImageSource>
    <local:GamerPicConverter x:Key="A_GamerPicConverter"
        FallbackValue="{StaticResource A_BitmapImage_GamerPicFallback}"/>
    <local:GamerPicConverter x:Key="A_HorizonClubPicConverter"
        FallbackValue="{StaticResource A_BitmapImage_HorizonClubPicFallback}"
        PictureType="{x:Static local:DisplayPictureType.ClubProfile}"/>
    <local:GamerPicConverter x:Key="A_HorizonTeamPicConverter"
        FallbackValue="{StaticResource A_BitmapImage_HorizonTeamPicFallback}"
        PictureType="{x:Static local:DisplayPictureType.TeamProfile}"/>
    <local:GamerPicConverter x:Key="A_GamerPicOrTeamProfileConverter"
        FallbackValue="{StaticResource A_BitmapImage_GamerPicFallback}"
        PictureType="{x:Static local:DisplayPictureType.GamerPicOrTeamProfile}"/>

    <local:StringToUpper x:Key="A_StringToUpper" />

    <local:TypeSafeConverter x:Key="A_TypeSafeConverter" />

    <local:MappingConverter x:Key="A_Converter_Season_To_Color" Default="#FF414141">
        <local:MappingConverterEntry Key="{x:Static local:Season.Spring}" Value="{StaticResource A_Color_Season_Spring}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Summer}" Value="{StaticResource A_Color_Season_Summer}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Autumn}" Value="{StaticResource A_Color_Season_Autumn}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Winter}" Value="{StaticResource A_Color_Season_Winter}"/>
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_Season_To_Gradient_ColorA" Default="#FFF">
        <local:MappingConverterEntry Key="{x:Static local:Season.Spring}" Value="{StaticResource A_Color_Season_Spring_GradientA}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Summer}" Value="{StaticResource A_Color_Season_Summer_GradientA}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Autumn}" Value="{StaticResource A_Color_Season_Autumn_GradientA}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Winter}" Value="{StaticResource A_Color_Season_Winter_GradientA}"/>
    </local:MappingConverter>
    <local:MappingConverter x:Key="A_Converter_Season_To_Gradient_ColorB" Default="#FFF">
        <local:MappingConverterEntry Key="{x:Static local:Season.Spring}" Value="{StaticResource A_Color_Season_Spring_GradientB}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Summer}" Value="{StaticResource A_Color_Season_Summer_GradientB}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Autumn}" Value="{StaticResource A_Color_Season_Autumn_GradientB}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Winter}" Value="{StaticResource A_Color_Season_Winter_GradientB}"/>
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_Season_To_String">
        <local:MappingConverterEntry Key="{x:Static local:Season.Spring}" Value="{local:Loc InGame.IDS_Season_Spring_Upper}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Summer}" Value="{local:Loc InGame.IDS_Season_Summer_Upper}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Autumn}" Value="{local:Loc InGame.IDS_Season_Autumn_Upper}"/>
        <local:MappingConverterEntry Key="{x:Static local:Season.Winter}" Value="{local:Loc InGame.IDS_Season_Winter_Upper}"/>
    </local:MappingConverter>

    <!--Converts thread bucket ID's into approproate Color -->
    <local:MappingConverter x:Key="A_Converter_InfluenceThreadIdToColor">
        <local:MappingConverterEntry Key="offline_currency" Value="{StaticResource A_Color_InfluenceThread_offline_currency}"/>
        <local:MappingConverterEntry Key="asphalt_series" Value="{StaticResource A_Color_InfluenceThread_asphalt_series}"/>
        <local:MappingConverterEntry Key="mixed_surface_series" Value="{StaticResource A_Color_InfluenceThread_mixed_surface_series}"/>
        <local:MappingConverterEntry Key="cross_country_series" Value="{StaticResource A_Color_InfluenceThread_cross_country_series}"/>
        <local:MappingConverterEntry Key="street_racing_series" Value="{StaticResource A_Color_InfluenceThread_street_racing_series}"/>
        <local:MappingConverterEntry Key="drag_racing" Value="{StaticResource A_Color_InfluenceThread_drag_racing}"/>
        <local:MappingConverterEntry Key="drift_zones" Value="{StaticResource A_Color_InfluenceThread_drift_zones}"/>
        <local:MappingConverterEntry Key="painter" Value="{StaticResource A_Color_InfluenceThread_painter}"/>
        <local:MappingConverterEntry Key="tuner" Value="{StaticResource A_Color_InfluenceThread_tuner}"/>
        <local:MappingConverterEntry Key="photo" Value="{StaticResource A_Color_InfluenceThread_photo}"/>
        <local:MappingConverterEntry Key="blueprint" Value="{StaticResource A_Color_InfluenceThread_blueprint}"/>
        <local:MappingConverterEntry Key="speed_trap" Value="{StaticResource A_Color_InfluenceThread_speed_trap}"/>
        <local:MappingConverterEntry Key="speed_zone" Value="{StaticResource A_Color_InfluenceThread_speed_zone}"/>
        <local:MappingConverterEntry Key="danger_sign" Value="{StaticResource A_Color_InfluenceThread_danger_sign}"/>
        <local:MappingConverterEntry Key="trailblazer" Value="{StaticResource A_Color_InfluenceThread_trailblazer}"/>
        <local:MappingConverterEntry Key="car_collector" Value="{StaticResource A_Color_InfluenceThread_car_collector}"/>
        <local:MappingConverterEntry Key="discovery" Value="{StaticResource A_Color_InfluenceThread_discovery}"/>
        <local:MappingConverterEntry Key="rivals" Value="{StaticResource A_Color_InfluenceThread_rivals}"/>
        <local:MappingConverterEntry Key="online_adventure_racing" Value="{StaticResource A_Color_InfluenceThread_online_adventure_racing}"/>
        <local:MappingConverterEntry Key="skills" Value="{StaticResource A_Color_InfluenceThread_skills}"/>
        <local:MappingConverterEntry Key="online_adventure_mixed" Value="{StaticResource A_Color_InfluenceThread_online_adventure_mixed}"/>
        <local:MappingConverterEntry Key="online_adventure_playground_games" Value="{StaticResource A_Color_InfluenceThread_online_adventure_playground_games}"/>
        <local:MappingConverterEntry Key="online_life_playground_games" Value="{StaticResource A_Color_InfluenceThread_online_life_playground_games}"/>
        <local:MappingConverterEntry Key="streaming" Value="{StaticResource A_Color_InfluenceThread_streaming}"/>
        <local:MappingConverterEntry Key="hs_aaa_taxi" Value="{StaticResource A_Color_InfluenceThread_horizon_stories}" />
        <local:MappingConverterEntry Key="hs_stunt_driver" Value="{StaticResource A_Color_InfluenceThread_horizon_stories}" />
        <local:MappingConverterEntry Key="hs_worlds_fastest" Value="{StaticResource A_Color_InfluenceThread_horizon_stories}" />
        <local:MappingConverterEntry Key="hs_drift_club" Value="{StaticResource A_Color_InfluenceThread_horizon_stories}" />
        <local:MappingConverterEntry Key="hs_express_delivery" Value="{StaticResource A_Color_InfluenceThread_horizon_stories}" />
        <local:MappingConverterEntry Key="hs_extreme_upgrades" Value="{StaticResource A_Color_InfluenceThread_horizon_stories}" />
        <local:MappingConverterEntry Key="hs_lets_play" Value="{StaticResource A_Color_InfluenceThread_horizon_stories}" />
        <local:MappingConverterEntry Key="hs_the_car_files" Value="{StaticResource A_Color_InfluenceThread_horizon_stories}" />
        <local:MappingConverterEntry Key="hs_british_racing_green" Value="{StaticResource A_Color_InfluenceThread_horizon_stories}" />
        <local:MappingConverterEntry Key="hs_skill_streak" Value="{StaticResource A_Color_InfluenceThread_horizon_stories}" />
        <local:MappingConverterEntry Key="hs_drift_club_2" Value="{StaticResource A_Color_InfluenceThread_horizon_stories}" />
        <local:MappingConverterEntry Key="hs_hype_tour" Value="{StaticResource A_Color_InfluenceThread_horizon_stories}" />
        <local:MappingConverterEntry Key="hs_story11" Value="{StaticResource A_Color_InfluenceThread_horizon_stories}" />
        <local:MappingConverterEntry Key="online_adventure_custom" Value="{StaticResource A_Color_InfluenceThread_online_adventure_custom}" />
        <local:MappingConverterEntry Key="online_adventure_drift" Value="{StaticResource A_Color_InfluenceThread_online_adventure_drift}" />
        <local:MappingConverterEntry Key="eliminator" Value="{StaticResource A_Color_InfluenceThread_eliminator}" />
        <local:MappingConverterEntry Key="horizon_promo" Value="{StaticResource A_Color_InfluenceThread_discovery}"/>
        <local:MappingConverterEntry Key="super_7" Value="{StaticResource A_Color_InfluenceThread_super_7}" />
    </local:MappingConverter>
    

    <local:MappingConverter x:Key="A_Converter_RarityToColor" Default="#FFFFFFFF">
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.Common}" Value="{StaticResource A_Color_Rarity_Common}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.Rare}" Value="{StaticResource A_Color_Rarity_Rare}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.Epic}" Value="{StaticResource A_Color_Rarity_Epic}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.Legendary}" Value="{StaticResource A_Color_Rarity_Legendary}" />
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_RarityToNameString">
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.Common}" Value="{local:Loc Main.IDS_Rarity_Common}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.Rare}" Value="{local:Loc Main.IDS_Rarity_Rare}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.Epic}" Value="{local:Loc Main.IDS_Rarity_Epic}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.Legendary}" Value="{local:Loc Main.IDS_Rarity_Legendary}" />
        <local:MappingConverterEntry Key="{x:Static local:XAMLRarity.HorizonEdition}" Value="{local:Loc Main.IDS_Rarity_HorizonEdition}" />
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_RewardTypeToIcon">
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Credits}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/Credits.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Currency}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/Influence.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Tokens}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/Tokens.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Car}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/Car.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Clothing}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/Clothing.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Horn}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/Horn.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.QuickChatPhrase}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/QuickChatPhrase.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Emote}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/Emote.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.SuperWheelspin}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/SuperWheelspin.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Wheelspin}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/WheelSpin.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.BarnFindRumour}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/BarnFind.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.SkillPoints}" Value="/ForzaUI;component/Textures/Data_Bound/EventIcons/SkillPoints.png" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Flair}" Value="/ForzaUI;component/Textures/Data_Bound/Series10/StarCard/FlairSmallReward.png" />
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_RewardTypeToString">
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Credits}" Value="{local:Loc Rivals.IDS_RewardType_Credits}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Currency}" Value="{local:Loc Rivals.IDS_RewardType_Influence}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Tokens}" Value="{local:Loc Rivals.IDS_RewardType_Tokens}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Car}" Value="{local:Loc Rivals.IDS_RewardType_Car}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Clothing}" Value="{local:Loc Rivals.IDS_RewardType_Clothing}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Horn}" Value="{local:Loc Rivals.IDS_RewardType_Horn}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.QuickChatPhrase}" Value="{local:Loc Rivals.IDS_RewardType_QuickChatPhrase}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Emote}" Value="{local:Loc Rivals.IDS_RewardType_Emote}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Wheelspin}" Value="{local:Loc Rivals.IDS_RewardType_Wheelspin}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.SuperWheelspin}" Value="{local:Loc Rivals.IDS_RewardType_SuperWheelspin}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.SkillPoints}" Value="{local:Loc Rivals.IDS_RewardType_SkillPoints}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.BackstagePasses}" Value="{local:Loc Lobby.IDS_Backstage_Passes_RewardDescription_Single}" />
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_RewardTypeToNewString">
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Credits}" Value="{local:Loc Rivals.IDS_RewardTitle_Credits}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Currency}" Value="{local:Loc Rivals.IDS_RewardTitle_Influence}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Tokens}" Value="{local:Loc Rivals.IDS_RewardTitle_Tokens}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Car}" Value="{local:Loc Rivals.IDS_RewardTitle_Car}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Clothing}" Value="{local:Loc Rivals.IDS_RewardTitle_Clothing}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Horn}" Value="{local:Loc Rivals.IDS_RewardTitle_Horn}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.QuickChatPhrase}" Value="{local:Loc Rivals.IDS_RewardTitle_QuickChatPhrase}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Emote}" Value="{local:Loc Rivals.IDS_RewardTitle_Emote}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Wheelspin}" Value="{local:Loc Rivals.IDS_RewardTitle_Wheelspin}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.SuperWheelspin}" Value="{local:Loc Rivals.IDS_RewardTitle_SuperWheelspin}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.BarnFindRumour}" Value="{local:Loc Rivals.IDS_RewardTitle_BarnFindRumour}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.SkillPoints}" Value="{local:Loc Rivals.IDS_RewardTitle_SkillPoints}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Flair}" Value="{local:Loc Rivals.IDS_RewardTitle_Flair}" />
    </local:MappingConverter>

    <local:StringFormatConverter x:Key="A_Converter_StringFormatConverter" />
    <local:StringCollectionConverter x:Key="A_Converter_StringCollectionConverter" 
        Separator="{local:Loc UnitStrings.IDS_Units_List_Separator}"/>

    <local:MultiConverter x:Key="A_Converter_StringCollectionToUpper">
        <local:MultiConverterEntry Converter="{StaticResource A_Converter_StringCollectionConverter}" />
        <local:MultiConverterEntry Converter="{StaticResource A_StringToUpper}" />
    </local:MultiConverter>


    <System:Boolean x:Key="A_Boolean_False">False</System:Boolean>
    <System:Boolean x:Key="A_Boolean_True">True</System:Boolean>

    <local:MappingConverter x:Key="A_Converter_Boolean_Invert">
        <local:MappingConverterEntry Key="{StaticResource A_Boolean_True}" Value="{StaticResource A_Boolean_False}"/>
        <local:MappingConverterEntry Key="{StaticResource A_Boolean_False}" Value="{StaticResource A_Boolean_True}"/>
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_TrueIfNotNull" Default="{StaticResource A_Boolean_True}">
        <local:MappingConverterEntry Key="{x:Null}" Value="{StaticResource A_Boolean_False}"/>
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_Categories_CountToVisibility" Default="{x:Static Visibility.Visible}">
        <local:MappingConverterEntry Key="1" Value="{x:Static Visibility.Collapsed}"/>
        <local:MappingConverterEntry Key="0" Value="{x:Static Visibility.Collapsed}"/>
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_RewardTypeShouldUseNoRarityColor" Default="{StaticResource A_Boolean_True}">
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Credits}" Value="{StaticResource A_Boolean_False}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Clothing}" Value="{StaticResource A_Boolean_False}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Emote}" Value="{StaticResource A_Boolean_False}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Car}" Value="{StaticResource A_Boolean_False}" />
        <local:MappingConverterEntry Key="{x:Static local:UIRewardType.Horn}" Value="{StaticResource A_Boolean_False}" />
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_Boolean_To_LockState" Default="{x:Static local:LockState.Locked}">
        <local:MappingConverterEntry Key="{StaticResource A_Boolean_True}" Value="{x:Static local:LockState.Unlocked}"/>
        <local:MappingConverterEntry Key="{StaticResource A_Boolean_False}" Value="{x:Static local:LockState.Locked}"/>
    </local:MappingConverter>

    <System:String x:Key="A_String_0FormatString">{0}</System:String>
    <System:String x:Key="A_String_01FormatString">{0}{1}</System:String>
    <System:String x:Key="A_String_012FormatString">{0}{1}{2}</System:String>
    <System:String x:Key="A_String_1FormatString">{1}</System:String>

    <local:MultiConverter x:Key="A_ObjectToStringConverter">
        <local:MultiConverterEntry Converter="{StaticResource A_Converter_StringFormatConverter}" Parameter="{StaticResource A_String_0FormatString}" TargetType="{x:Type System.String}" />
    </local:MultiConverter>

    <local:MultiConverter x:Key="A_CarClassToStringConverter">
        <local:MultiConverterEntry Converter="{StaticResource A_CarClassConverter}" TargetType="{x:Type System.String}" />
    </local:MultiConverter>

    <local:MultiConverter x:Key="A_PowertrainToStringConverter">
        <local:MultiConverterEntry Converter="{StaticResource A_PowertrainConverter}" Parameter="text" TargetType="{x:Type System.String}" />
    </local:MultiConverter>

    <local:MappingConverter x:Key="A_Converter_BrickChallengeTypeToColor"
                            Default="{StaticResource A_Color_BrickChallengeType_Event}">
        <local:MappingConverterEntry Key="{x:Static local:BrickChallengeType.Smashable}" Value="{StaticResource A_Color_BrickChallengeType_Smashable}" />
        <local:MappingConverterEntry Key="{x:Static local:BrickChallengeType.Collectable}" Value="{StaticResource A_Color_BrickChallengeType_Collectable}" />
        <local:MappingConverterEntry Key="{x:Static local:BrickChallengeType.Skill}" Value="{StaticResource A_Color_BrickChallengeType_Skill}" />
        <local:MappingConverterEntry Key="{x:Static local:BrickChallengeType.Discovery}" Value="{StaticResource A_Color_BrickChallengeType_Discovery}" />
        <local:MappingConverterEntry Key="{x:Static local:BrickChallengeType.PRStunt}" Value="{StaticResource A_Color_BrickChallengeType_PRStunt}" />
        <local:MappingConverterEntry Key="{x:Static local:BrickChallengeType.Event}" Value="{StaticResource A_Color_BrickChallengeType_Event}" />
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_VisibleIfEqual"
                            Default="{x:Static Visibility.Collapsed}">
        <local:MappingConverterEntry Key="{x:Static local:CompareResult.Equal}" Value="{x:Static Visibility.Visible}" />
    </local:MappingConverter>
    <local:MappingConverter x:Key="A_Converter_VisibleIfGreaterThan"
                            Default="{x:Static Visibility.Collapsed}">
        <local:MappingConverterEntry Key="{x:Static local:CompareResult.GreaterThan}" Value="{x:Static Visibility.Visible}" />
    </local:MappingConverter>
    <local:MappingConverter x:Key="A_Converter_VisibleIfLessThan"
                            Default="{x:Static Visibility.Collapsed}">
        <local:MappingConverterEntry Key="{x:Static local:CompareResult.LessThan}" Value="{x:Static Visibility.Visible}" />
    </local:MappingConverter>
    <local:MappingConverter x:Key="A_Converter_VisibleIfGreaterThanOrEqual"
                            Default="{x:Static Visibility.Collapsed}">
        <local:MappingConverterEntry Key="{x:Static local:CompareResult.GreaterThan}" Value="{x:Static Visibility.Visible}" />
        <local:MappingConverterEntry Key="{x:Static local:CompareResult.Equal}" Value="{x:Static Visibility.Visible}" />
    </local:MappingConverter>
    <local:MappingConverter x:Key="A_Converter_VisibleIfLessThanOrEqual"
                            Default="{x:Static Visibility.Collapsed}">
        <local:MappingConverterEntry Key="{x:Static local:CompareResult.LessThan}" Value="{x:Static Visibility.Visible}" />
        <local:MappingConverterEntry Key="{x:Static local:CompareResult.Equal}" Value="{x:Static Visibility.Visible}" />
    </local:MappingConverter>

    <System:Int32 x:Key="A_Int32_Zero">0</System:Int32>
    <local:MultiConverter x:Key="A_Converter_VisibleIfGreaterThanZero">
        <local:MultiConverterEntry Converter="{StaticResource A_CompareConverter}" Parameter="{StaticResource A_Int32_Zero}"/>
        <local:MultiConverterEntry Converter="{StaticResource A_Converter_VisibleIfGreaterThan}"/>
    </local:MultiConverter>

    <local:TrimInlineMarkupConverter x:Key="A_Converter_TrimInlineMarkup"/>

    <local:StringSubstitutionConverter x:Key="A_Converter_NewlinesToVoicedLineSeparator">
        <local:StringSubstitution Find="&#x0a;" Replace="{local:Loc Main.IDS_ScreenReader_VoicedLineSeparator}"/>
    </local:StringSubstitutionConverter>

    <local:MultiConverter x:Key="A_Converter_TrimInlineMarkupAndNewlines">
        <local:MultiConverterEntry Converter="{StaticResource A_Converter_NewlinesToVoicedLineSeparator}" />
        <local:MultiConverterEntry Converter="{StaticResource A_Converter_TrimInlineMarkup}" />
    </local:MultiConverter>

    <local:LinearTransformConverter x:Key="A_Converter_SubtitlesFontSizeValue" Sub="18" Add="1" />
    <local:MultiConverter x:Key="A_Converter_SubtitlesFontSizeStringValue">
        <local:MultiConverterEntry Converter="{StaticResource A_Converter_SubtitlesFontSizeValue}" />
        <local:MultiConverterEntry Converter="{StaticResource A_NumUnitConverter_NoUnit_0dp}" />
    </local:MultiConverter>

    <local:MappingConverter x:Key="A_Converter_BucketListChallengeType_To_String">
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.SpeedTrap}" Value="{local:Loc Map.IDS_MapPin_Ambient_SpeedTrap_TitleFormat}"/>
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.SpeedZone}" Value="{local:Loc Map.IDS_MapPin_Ambient_SpeedZone_TitleFormat}"/>
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.SkillScore}" Value="{local:Loc BucketListBlueprint.IDS_ChallengeType_SkillScore}"/>
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.Destination}" Value="{local:Loc BucketListBlueprint.IDS_ChallengeType_Waypoint}"/>
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.DangerSign}" Value="{local:Loc BucketListBlueprint.IDS_ChallengeType_DangerSign}"/>
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.SkillMastery}" Value="{local:Loc BucketListBlueprint.IDS_ChallengeType_SkillMastery}"/>
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.DriftZone}" Value="{local:Loc BucketListBlueprint.IDS_ChallengeType_DriftZone}"/>
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.DamageControl}" Value="{local:Loc BucketListBlueprint.IDS_ChallengeType_DamageControl}"/>
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.SkillDrive}" Value="{local:Loc BucketListBlueprint.IDS_ChallengeType_SkillDrive}"/>
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.StuntDrive}" Value="{local:Loc BucketListBlueprint.IDS_ChallengeType_SkillMastery}"/>        
    </local:MappingConverter>

    <local:MappingConverter x:Key="A_Converter_BucketListChallengeType_To_Icon">
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.SpeedTrap}" Value="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/Bucketlist/SpeedCamera.png"/>
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.SpeedZone}" Value="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/Bucketlist/SpeedCamera.png"/>
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.SkillScore}" Value="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/Bucketlist/SkillScore.png"/>
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.Destination}" Value="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/Bucketlist/Waypoint.png"/>
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.DangerSign}" Value="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/Bucketlist/DangerSign.png"/>
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.SkillMastery}" Value="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/Bucketlist/SkillMastery.png"/>
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.DriftZone}" Value="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/Bucketlist/DriftZone.png"/>
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.DamageControl}" Value="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/Bucketlist/DamageControl.png"/>
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.SkillDrive}" Value="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/Bucketlist/SkillDrive.png"/>
        <local:MappingConverterEntry Key="{x:Static local:BucketListChallengeTypeEnum.StuntDrive}" Value="/ForzaUI;component/Textures/Anthem/Icons/TiledMenus/Bucketlist/SkillMastery.png"/>
    </local:MappingConverter>
</ResourceDictionary>