<commit_before><Page x:Class="CodeHub.Views.RepoDetailView"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:an="using:Microsoft.Toolkit.Uwp.UI.Animations"
      xmlns:behaviors="using:Microsoft.Toolkit.Uwp.UI.Animations.Behaviors"
      xmlns:control="using:CodeHub.Controls"
      xmlns:converter="using:Microsoft.Toolkit.Uwp.UI.Converters"
      xmlns:converters="using:CodeHub.Converters"
      xmlns:core="using:Microsoft.Xaml.Interactions.Core"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:i="using:Microsoft.Xaml.Interactivity"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      xmlns:octo="using:Octokit"
      xmlns:toolkitControls="using:Microsoft.Toolkit.Uwp.UI.Controls"
      mc:Ignorable="d">
    <Page.Resources>
        <converters:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" x:Name="BooleanToVisibilityConverter" />
        <converters:ReverseBooleanToVisibilityConverter x:Key="ReverseBooleanToVisibilityConverter" x:Name="ReverseBooleanToVisibilityConverter" />
        <converters:TimeAgoConverter x:Key="TimeAgoConverter" x:Name="TimeAgoConverter" />
        <converters:RepositoryCreationTimeConverter x:Key="RepositoryCreationTimeConverter" x:Name="RepositoryCreationTimeConverter" />
        <converter:StringVisibilityConverter x:Key="StringVisibilityConverter" x:Name="StringVisibilityConverter" />
    </Page.Resources>
    <Grid>
        <VisualStateManager.VisualStateGroups>
            <VisualStateGroup x:Name="VisualStateGroup">
                <VisualState x:Name="Mobile">
                    <VisualState.StateTriggers>
                        <AdaptiveTrigger MinWindowWidth="200" />
                    </VisualState.StateTriggers>
                    <VisualState.Setters>
                        <Setter Target="RepoName.FontSize" Value="18" />
                        <Setter Target="OwnerName.FontSize" Value="18" />
                        <Setter Target="slash.FontSize" Value="18" />
                        <Setter Target="DescriptionText.FontSize" Value="13" />
                    </VisualState.Setters>
                </VisualState>
                <VisualState x:Name="MobileWide">
                    <VisualState.StateTriggers>
                        <AdaptiveTrigger MinWindowWidth="400" />
                    </VisualState.StateTriggers>
                    <VisualState.Setters>
                        <Setter Target="RepoName.FontSize" Value="21" />
                        <Setter Target="OwnerName.FontSize" Value="21" />
                        <Setter Target="slash.FontSize" Value="21" />
                        <Setter Target="DescriptionText.FontSize" Value="14" />
                    </VisualState.Setters>
                </VisualState>
                <VisualState x:Name="Desktop">
                    <VisualState.StateTriggers>
                        <AdaptiveTrigger MinWindowWidth="720" />
                    </VisualState.StateTriggers>
                    <VisualState.Setters>
                        <Setter Target="RepoName.FontSize" Value="27" />
                        <Setter Target="OwnerName.FontSize" Value="27" />
                        <Setter Target="slash.FontSize" Value="27" />
                        <Setter Target="DescriptionText.FontSize" Value="15" />
                    </VisualState.Setters>
                </VisualState>
                <VisualState x:Name="DesktopEx">
                    <VisualState.StateTriggers>
                        <AdaptiveTrigger MinWindowWidth="1024" />
                    </VisualState.StateTriggers>
                    <VisualState.Setters>
                        <Setter Target="RepoName.FontSize" Value="30" />
                        <Setter Target="OwnerName.FontSize" Value="30" />
                        <Setter Target="slash.FontSize" Value="30" />
                        <Setter Target="DescriptionText.FontSize" Value="16" />
                    </VisualState.Setters>
                </VisualState>
            </VisualStateGroup>
        </VisualStateManager.VisualStateGroups>

        <RelativePanel>
            <StackPanel x:Name="OwnerNamePanel"
                        Margin="0 8 0 0"
                        MinHeight="34"
                        Orientation="Horizontal"
                        RelativePanel.AlignHorizontalCenterWithPanel="True">
                <HyperlinkButton x:Name="OwnerName"
                                 Padding="0"
                                 Command="{x:Bind ViewModel.ProfileTapped}">
                    <HyperlinkButton.Content>
                        <TextBlock x:Name="ProfileLinkBlock"
                                   FontWeight="SemiBold"
                                   Foreground="{ThemeResource ApplicationForegroundThemeBrush}"
                                   Text="{x:Bind ViewModel.Repository.Owner.Login, Mode=OneWay}"
                                   TextWrapping="Wrap" />
                    </HyperlinkButton.Content>
                </HyperlinkButton>
                <TextBlock x:Name="slash"
                           Margin="4,0,4,0"
                           VerticalAlignment="Center"
                           Text="/" />
                <TextBlock x:Name="RepoName"
                           FontWeight="Light"
                           VerticalAlignment="Center"
                           Foreground="{ThemeResource ApplicationForegroundThemeBrush}"
                           Style="{StaticResource RepoNameTextBlockStyle}"
                           Text="{x:Bind ViewModel.Repository.Name, Mode=OneWay}"
                           TextWrapping="Wrap" />
            </StackPanel>
            <Button x:Name="ExpanderButton" 
                    MinWidth="34"
                    MinHeight="34"
                    Margin="0 8 8 0"
                    Click="Expander_Click"
                    RelativePanel.AlignRightWithPanel="True"
                    RelativePanel.AlignVerticalCenterWith="OwnerNamePanel"
                    Style="{StaticResource RoundedButtonStyle}">
                <FontIcon x:Name="ExpanderIcon"
                          FontFamily="Segoe MDL2 Assets"
                          FontSize="14"
                          Glyph="&#xE0E4;" />
            </Button>
            <RelativePanel x:Name="InfoPanel"
                           Margin="0 20 0 16"
                           RelativePanel.AlignHorizontalCenterWith="OwnerNamePanel"
                           RelativePanel.Below="OwnerNamePanel">
                <StackPanel x:Name="sizePanel"
                            Margin="0 0 0 20"
                            RelativePanel.AlignHorizontalCenterWithPanel="True"
                            Orientation="Horizontal">
                    <TextBlock x:Name="updatedDateText"
                               FontWeight="SemiLight"
                               Text="{x:Bind ViewModel.Repository.UpdatedAt, Converter={StaticResource TimeAgoConverter}, Mode=OneWay}" />
                    <TextBlock x:Name="sizeCount"
                               Margin="8,0,0,0"
                               FontWeight="SemiLight"
                               Text="{x:Bind ViewModel.Repository.Size, Mode=OneWay}" />
                    <TextBlock x:Name="sizeUnitText"
                               Margin="2,0,12,0"
                               FontWeight="SemiLight"
                               Text="KB" />
                    <TextBlock x:Name="LanguageText"
                               FontWeight="SemiLight"
                               Text="{x:Bind ViewModel.Repository.Language, Mode=OneWay}"
                               Visibility="{x:Bind ViewModel.Repository.Language, Converter={StaticResource StringVisibilityConverter}, Mode=OneWay}" />
                </StackPanel>

                <Button x:Name="CloneButton"
                        MinWidth="40"
                        Margin="8,0,0,0"
                        Command="{x:Bind ViewModel.CloneCommand}"
                        RelativePanel.Below="sizePanel"
                        RelativePanel.LeftOf="StarButton"
                        Style="{StaticResource ActionButtonStyle}">
                    <StackPanel Orientation="Vertical">
                        <Viewbox MaxWidth="19"
                                 MaxHeight="19"
                                 HorizontalAlignment="Center">
                            <SymbolIcon Symbol="Copy" />
                        </Viewbox>
                        <!--  TODO: Translation of 'Clone'  -->
                        <TextBlock x:Uid="clone"
                                   Margin="0,8,0,0"
                                   HorizontalAlignment="Center"
                                   FontSize="13"
                                   FontWeight="SemiLight" /><commit_msg>style changes<commit_after><Page x:Class="CodeHub.Views.RepoDetailView"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:an="using:Microsoft.Toolkit.Uwp.UI.Animations"
      xmlns:behaviors="using:Microsoft.Toolkit.Uwp.UI.Animations.Behaviors"
      xmlns:control="using:CodeHub.Controls"
      xmlns:converter="using:Microsoft.Toolkit.Uwp.UI.Converters"
      xmlns:converters="using:CodeHub.Converters"
      xmlns:core="using:Microsoft.Xaml.Interactions.Core"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:i="using:Microsoft.Xaml.Interactivity"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      xmlns:octo="using:Octokit"
      xmlns:toolkitControls="using:Microsoft.Toolkit.Uwp.UI.Controls"
      mc:Ignorable="d">
    <Page.Resources>
        <converters:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" x:Name="BooleanToVisibilityConverter" />
        <converters:ReverseBooleanToVisibilityConverter x:Key="ReverseBooleanToVisibilityConverter" x:Name="ReverseBooleanToVisibilityConverter" />
        <converters:TimeAgoConverter x:Key="TimeAgoConverter" x:Name="TimeAgoConverter" />
        <converters:RepositoryCreationTimeConverter x:Key="RepositoryCreationTimeConverter" x:Name="RepositoryCreationTimeConverter" />
        <converter:StringVisibilityConverter x:Key="StringVisibilityConverter" x:Name="StringVisibilityConverter" />
    </Page.Resources>
    <Grid>
        <VisualStateManager.VisualStateGroups>
            <VisualStateGroup x:Name="VisualStateGroup">
                <VisualState x:Name="Mobile">
                    <VisualState.StateTriggers>
                        <AdaptiveTrigger MinWindowWidth="200" />
                    </VisualState.StateTriggers>
                    <VisualState.Setters>
                        <Setter Target="RepoName.FontSize" Value="18" />
                        <Setter Target="OwnerName.FontSize" Value="18" />
                        <Setter Target="slash.FontSize" Value="18" />
                        <Setter Target="DescriptionText.FontSize" Value="13" />
                    </VisualState.Setters>
                </VisualState>
                <VisualState x:Name="MobileWide">
                    <VisualState.StateTriggers>
                        <AdaptiveTrigger MinWindowWidth="400" />
                    </VisualState.StateTriggers>
                    <VisualState.Setters>
                        <Setter Target="RepoName.FontSize" Value="21" />
                        <Setter Target="OwnerName.FontSize" Value="21" />
                        <Setter Target="slash.FontSize" Value="21" />
                        <Setter Target="DescriptionText.FontSize" Value="14" />
                    </VisualState.Setters>
                </VisualState>
                <VisualState x:Name="Desktop">
                    <VisualState.StateTriggers>
                        <AdaptiveTrigger MinWindowWidth="720" />
                    </VisualState.StateTriggers>
                    <VisualState.Setters>
                        <Setter Target="RepoName.FontSize" Value="27" />
                        <Setter Target="OwnerName.FontSize" Value="27" />
                        <Setter Target="slash.FontSize" Value="27" />
                        <Setter Target="DescriptionText.FontSize" Value="15" />
                    </VisualState.Setters>
                </VisualState>
                <VisualState x:Name="DesktopEx">
                    <VisualState.StateTriggers>
                        <AdaptiveTrigger MinWindowWidth="1024" />
                    </VisualState.StateTriggers>
                    <VisualState.Setters>
                        <Setter Target="RepoName.FontSize" Value="30" />
                        <Setter Target="OwnerName.FontSize" Value="30" />
                        <Setter Target="slash.FontSize" Value="30" />
                        <Setter Target="DescriptionText.FontSize" Value="16" />
                    </VisualState.Setters>
                </VisualState>
            </VisualStateGroup>
        </VisualStateManager.VisualStateGroups>

        <RelativePanel>
            <StackPanel x:Name="OwnerNamePanel"
                        Margin="0 8 0 0"
                        MinHeight="34"
                        Orientation="Horizontal"
                        RelativePanel.AlignHorizontalCenterWithPanel="True">
                <HyperlinkButton x:Name="OwnerName"
                                 Padding="0"
                                 Command="{x:Bind ViewModel.ProfileTapped}">
                    <HyperlinkButton.Content>
                        <TextBlock x:Name="ProfileLinkBlock"
                                   FontWeight="SemiBold"
                                   Foreground="{ThemeResource ApplicationForegroundThemeBrush}"
                                   Text="{x:Bind ViewModel.Repository.Owner.Login, Mode=OneWay}"
                                   TextWrapping="Wrap" />
                    </HyperlinkButton.Content>
                </HyperlinkButton>
                <TextBlock x:Name="slash"
                           Margin="4,0,4,0"
                           VerticalAlignment="Center"
                           Text="/" />
                <TextBlock x:Name="RepoName"
                           FontWeight="Bold"
                           VerticalAlignment="Center"
                           Foreground="{ThemeResource ApplicationForegroundThemeBrush}"
                           Style="{StaticResource RepoNameTextBlockStyle}"
                           Text="{x:Bind ViewModel.Repository.Name, Mode=OneWay}"
                           TextWrapping="Wrap" />
            </StackPanel>
            <Button x:Name="ExpanderButton" 
                    MinWidth="34"
                    MinHeight="34"
                    Margin="0 8 8 0"
                    Click="Expander_Click"
                    RelativePanel.AlignRightWithPanel="True"
                    RelativePanel.AlignVerticalCenterWith="OwnerNamePanel"
                    Style="{StaticResource RoundedButtonStyle}">
                <FontIcon x:Name="ExpanderIcon"
                          FontFamily="Segoe MDL2 Assets"
                          FontSize="14"
                          Glyph="&#xE0E4;" />
            </Button>
            <RelativePanel x:Name="InfoPanel"
                           Margin="0 20 0 16"
                           RelativePanel.AlignHorizontalCenterWith="OwnerNamePanel"
                           RelativePanel.Below="OwnerNamePanel">
                <StackPanel x:Name="sizePanel"
                            Margin="0 0 0 20"
                            RelativePanel.AlignHorizontalCenterWithPanel="True"
                            Orientation="Horizontal">
                    <TextBlock x:Name="updatedDateText"
                               Text="{x:Bind ViewModel.Repository.UpdatedAt, Converter={StaticResource TimeAgoConverter}, Mode=OneWay}" />
                    <TextBlock x:Name="sizeCount"
                               Margin="8,0,0,0"
                               Text="{x:Bind ViewModel.Repository.Size, Mode=OneWay}" />
                    <TextBlock x:Name="sizeUnitText"
                               Margin="2,0,12,0"
                               Text="KB" />
                    <TextBlock x:Name="LanguageText"
                               Text="{x:Bind ViewModel.Repository.Language, Mode=OneWay}"
                               Visibility="{x:Bind ViewModel.Repository.Language, Converter={StaticResource StringVisibilityConverter}, Mode=OneWay}" />
                </StackPanel>

                <Button x:Name="CloneButton"
                        MinWidth="40"
                        Margin="8,0,0,0"
                        Command="{x:Bind ViewModel.CloneCommand}"
                        RelativePanel.Below="sizePanel"
                        RelativePanel.LeftOf="StarButton"
                        Style="{StaticResource ActionButtonStyle}">
                    <StackPanel Orientation="Vertical">
                        <Viewbox MaxWidth="19"
                                 MaxHeight="19"
                                 HorizontalAlignment="Center">
                            <SymbolIcon Symbol="Copy" />
                        </Viewbox>
                        <!--  TODO: Translation of 'Clone'  -->
                        <TextBlock x:Uid="clone"
                                   Margin="0,8,0,0"
                                   HorizontalAlignment="Center"
                                   FontSize="13"
                                   FontWeight="SemiLight" />
{'fraction_non_alphanumeric': 0.10202128258544, 'fraction_numerical': 0.01362535893249254, 'mean_word_length': 1.4479051819184123, 'pattern_counts': {'":': 0, '<': 171, '<?xml version=': 0, '>': 171, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 28}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 24, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '501127', 'n_tokens_mistral': 4511, 'n_tokens_neox': 4083, 'n_words': 529}