<pu:WindowX x:Class="VPet_Simulator.Windows.winCharacterPanel"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:ll="clr-namespace:LinePutScript.Localization.WPF;assembly=LinePutScript.Localization.WPF"
        xmlns:local="clr-namespace:VPet_Simulator.Windows" Foreground="{StaticResource PrimaryText}"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:pu="clr-namespace:Panuon.WPF.UI;assembly=Panuon.WPF.UI" Title="面板"
        Width="{ll:Dbe CharacterPanelWidth_500, DefValue=500}" Height="{ll:Dbe CharacterPanelHeight_500, DefValue=500}"
        Style="{DynamicResource BaseWindowXStyle}" WindowStartupLocation="CenterScreen" mc:Ignorable="d"
        Closed="WindowX_Closed">
    <Window.Resources>
        <Style x:Key="DataGridTextColumnCenterSytle" TargetType="{x:Type TextBlock}">
            <Setter Property="HorizontalAlignment" Value="Center" />
            <Setter Property="VerticalAlignment" Value="Center" />
        </Style>
        <Style x:Key="DataGridTextColumnLeftSytle" TargetType="{x:Type TextBlock}">
            <Setter Property="HorizontalAlignment" Value="Left" />
            <Setter Property="VerticalAlignment" Value="Center" />
        </Style>
    </Window.Resources>
    <TabControl x:Name="MainTab" Grid.Column="1" Margin="5" pu:TabControlHelper.CanHeaderPanelScroll="True"
            pu:TabControlHelper.ItemsCornerRadius="4" pu:TabControlHelper.ItemsHeight="NaN"
            pu:TabControlHelper.ItemsHoverBackground="{DynamicResource PrimaryLight}"
            pu:TabControlHelper.ItemsPadding="10,7"
            pu:TabControlHelper.ItemsSelectedBackground="{DynamicResource PrimaryDark}"
            pu:TabControlHelper.ItemsSelectedForeground="{DynamicResource DARKPrimaryText}" Background="Transparent"
            BorderThickness="0" Foreground="{DynamicResource PrimaryText}" SelectedIndex="0">
        <TabControl.ContentTemplate>
            <DataTemplate>
                <Border Margin="0,5,0,5" Background="{DynamicResource DARKPrimaryText}" CornerRadius="15">
                    <ContentControl Margin="0,0" Content="{Binding}" />
                </Border>
            </DataTemplate>
        </TabControl.ContentTemplate>
        <TabItem Header="{ll:Str 统计面板}">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="Auto" />
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <TextBox x:Name="TextBox_Search" pu:TextBoxHelper.Watermark="{ll:Str 搜索统计}"
                        Style="{DynamicResource StandardTextBoxStyle}" TextChanged="TextBox_Search_TextChanged" />
                <DataGrid x:Name="DataGridStatic" Grid.Row="1" Margin="0,5,0,0"
                        d:ItemsSource="{d:SampleData ItemCount=5}" AutoGenerateColumns="False" CanUserAddRows="False">
                    <DataGrid.RowStyle>
                        <Style BasedOn="{StaticResource {x:Type DataGridRow}}" TargetType="DataGridRow">
                            <Setter Property="ToolTip" Value="{Binding StatId}" />
                        </Style>
                    </DataGrid.RowStyle>
                    <DataGrid.Columns>
                        <DataGridTextColumn Binding="{Binding StatName}"
                                ElementStyle="{StaticResource DataGridTextColumnLeftSytle}" Header="{ll:Str 名称}"
                                IsReadOnly="True" Width="300">
                        </DataGridTextColumn>
                        <DataGridTextColumn Binding="{Binding StatCount}"
                                ElementStyle="{StaticResource DataGridTextColumnCenterSytle}" Header="{ll:Str 数量}"
                                IsReadOnly="True" Width="160" />
                    </DataGrid.Columns>
                </DataGrid>
            </Grid>

        </TabItem>
        <TabItem Header="{ll:Str 详情面板}" Visibility="Collapsed">
            <ScrollViewer>
                <Grid Margin="15">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition Width="7" />
                        <ColumnDefinition />
                    </Grid.ColumnDefinitions>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto" />
                    </Grid.RowDefinitions>
                    <!--<Label Grid.Column="3"  Width="14" Height="14" Background="Transparent" Foreground="{DynamicResource PrimaryText}" Padding="0" VerticalContentAlignment="Center" FontSize="10"
            HorizontalContentAlignment="Center" BorderBrush="{DynamicResource PrimaryText}" BorderThickness="1" pu:LabelHelper.CornerRadius="7" Content="i" />-->
                    <TextBlock Margin="0,10,0,0" VerticalAlignment="Top" FontWeight="Heavy" Text="金钱:" />
                    <StackPanel Grid.Column="2">
                        <TextBlock FontSize="20" Foreground="{DynamicResource DARKPrimary}" Text="$100,000" />
                        <TextBlock Margin="5,0,0,10" Foreground="{DynamicResource PrimaryText}" Opacity="0.5"
                                Text="钱不是万能的,没钱是万万不能的" />
                    </StackPanel>
                    <TextBlock x:Name="txtHearth" Grid.Row="1" Margin="0,13,0,0" VerticalAlignment="Top"
                            FontWeight="Heavy" Text="健康值:" Visibility="Collapsed" />
                    <StackPanel x:Name="stkHearth" Grid.Row="1" Grid.Column="2" Margin="0,10,0,0" Visibility="Collapsed">
                        <ProgressBar Height="20" pu:ProgressBarHelper.CornerRadius="4"
                                pu:ProgressBarHelper.GeneratingPercentText="PgbHearth_GeneratingPercentText"
                                pu:ProgressBarHelper.IsPercentVisible="True" Background="Transparent"
                                BorderBrush="{DynamicResource DangerProgressBarForeground}" BorderThickness="1.5"
                                FontSize="10" Foreground="{DynamicResource DangerProgressBarForeground}" Value="50" />
                        <TextBlock Margin="0,5,0,10" Foreground="{DynamicResource PrimaryText}" Opacity="0.5"
                                Text="宠物已经生病。通过服用药物可以恢复健康状态。" TextWrapping="Wrap" />
                    </StackPanel>
                    <TextBlock Grid.Row="2" Margin="0,13,0,0" VerticalAlignment="Top" FontWeight="Heavy" Text="等级:" />
                    <StackPanel Grid.Row="2" Grid.Column="2" Margin="0,10,0,0">
                        <Grid>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <TextBlock FontSize="16" Foreground="{DynamicResource PrimaryText}" Text="Lv 10" />
                            <TextBlock Grid.Column="2" VerticalAlignment="Bottom" FontSize="14" FontWeight="Bold"
                                    Foreground="{DynamicResource DARKPrimary}" Text="x1 经验速率" />
                        </Grid>
                        <ProgressBar Height="20" Margin="0,5,0,0" pu:ProgressBarHelper.CornerRadius="4"
                                pu:ProgressBarHelper.GeneratingPercentText="PgbExperience_GeneratingPercentText"
                                pu:ProgressBarHelper.IsPercentVisible="True" Background="Transparent"
                                BorderBrush="{DynamicResource ProgressBarForeground}" BorderThickness="1.5"
                                FontSize="10" Foreground="{DynamicResource ProgressBarForeground}" Value="50" />
                        <TextBlock Margin="3,5,0,10" Foreground="{DynamicResource PrimaryText}" Opacity="0.5"
                                Text="等级越高, 学习和打工收益更高" TextWrapping="Wrap" />
                    </StackPanel>
                    <TextBlock Grid.Row="3" Margin="0,13,0,0" VerticalAlignment="Top" FontWeight="Heavy" Text="体力:" />
                    <StackPanel Grid.Row="3" Grid.Column="2" Margin="0,10,0,0">
                        <Grid>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <TextBlock Foreground="{DynamicResource PrimaryText}" Text="恢复中(自然恢复)" />
                            <TextBlock Grid.Column="2" VerticalAlignment="Bottom" FontSize="14" FontWeight="Bold"
                                    Foreground="{DynamicResource DARKPrimary}" Text="+1/tick" />
                        </Grid>
                        <ProgressBar Height="20" Margin="0,5,0,0" pu:ProgressBarHelper.CornerRadius="4"
                                pu:ProgressBarHelper.GeneratingPercentText="PgbExperience_GeneratingPercentText"
                                pu:ProgressBarHelper.IsPercentVisible="True" Background="Transparent"
                                BorderBrush="{DynamicResource ProgressBarForeground}" BorderThickness="1.5"
                                FontSize="10" Foreground="{DynamicResource ProgressBarForeground}" Value="50" />
                        <TextBlock Margin="0,5,0,10" Foreground="{DynamicResource PrimaryText}" Opacity="0.5"
                                Text="睡觉可以快速恢复体力。饱腹度低于50时,无法自然恢复体力。" TextWrapping="Wrap" />
                    </StackPanel>
                    <TextBlock Grid.Row="4" Margin="0,13,0,0" VerticalAlignment="Top" FontWeight="Heavy" Text="心情:" />
                    <StackPanel Grid.Row="4" Grid.Column="2" Margin="0,10,0,0">
                        <Grid>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <TextBlock Foreground="{DynamicResource PrimaryText}" Text="-" />
                            <TextBlock Grid.Column="2" VerticalAlignment="Bottom" FontSize="14" FontWeight="Bold"
                                    Foreground="{DynamicResource DARKPrimary}" Text="+1/tick" />
                        </Grid>
                        <ProgressBar Height="20" Margin="0,5,0,0" pu:ProgressBarHelper.CornerRadius="4"
                                pu:ProgressBarHelper.GeneratingPercentText="PgbSpirit_GeneratingPercentText"
                                pu:ProgressBarHelper.IsPercentVisible="True" Background="Transparent"
                                BorderBrush="{DynamicResource ProgressBarForeground}" BorderThickness="1.5"
                                FontSize="10" Foreground="{DynamicResource ProgressBarForeground}" Value="60" />
                        <TextBlock Margin="0,5,0,10" Foreground="{DynamicResource PrimaryText}" Opacity="0.5"
                                Text="摸头可以恢复心情。心情低于75时,无法获得经验加成。" TextWrapping="Wrap" />
                    </StackPanel>
                    <TextBlock Grid.Row="5" Margin="0,13,0,0" VerticalAlignment="Top" FontWeight="Heavy" Text="饱腹度:" />
                    <StackPanel Grid.Row="5" Grid.Column="2" Margin="0,10,0,0">
                        <Grid>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <TextBlock Foreground="{DynamicResource PrimaryText}" Text="下降中(自然下降)" />
                            <TextBlock Grid.Column="2" VerticalAlignment="Bottom" FontSize="14" FontWeight="Bold"
                                    Foreground="{DynamicResource DARKPrimary}" Text="+1/tick" />
                        </Grid>
                        <ProgressBar Height="20" Margin="0,5,0,0" pu:ProgressBarHelper.CornerRadius="4"
                                pu:ProgressBarHelper.GeneratingPercentText="PgbHunger_GeneratingPercentText"
                                pu:ProgressBarHelper.IsPercentVisible="True" Background="Transparent"
                                BorderBrush="{DynamicResource ProgressBarForeground}" BorderThickness="1.5"
                                FontSize="10" Foreground="{DynamicResource ProgressBarForeground}" Value="80" />
                        <TextBlock Margin="0,5,0,10" Foreground="{DynamicResource PrimaryText}" Opacity="0.5"
                                Text="进食可以快速恢复饱腹度。" TextWrapping="Wrap" />
                    </StackPanel>
                    <TextBlock Grid.Row="6" Margin="0,13,0,0" VerticalAlignment="Top" FontWeight="Heavy" Text="口渴度:" />
                    <StackPanel Grid.Row="6" Grid.Column="2" Margin="0,10,0,0">
                        <Grid>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition />
                                <ColumnDefinition Width="Auto" />
                            </Grid.ColumnDefinitions>
                            <TextBlock Foreground="{DynamicResource PrimaryText}" Text="下降中(自然下降)" />
                            <TextBlock Grid.Column="2" VerticalAlignment="Bottom" FontSize="14" FontWeight="Bold"
                                    Foreground="{DynamicResource DARKPrimary}" Text="+1/tick" />
                        </Grid>
                        <ProgressBar Height="20" Margin="0,5,0,0" pu:ProgressBarHelper.CornerRadius="4"
                                pu:ProgressBarHelper.GeneratingPercentText="PgbThirsty_GeneratingPercentText"
                                pu:ProgressBarHelper.IsPercentVisible="True" Background="Transparent"
                                BorderBrush="{DynamicResource ProgressBarForeground}" BorderThickness="1.5"
                                FontSize="10" Foreground="{DynamicResource ProgressBarForeground}" Value="20" />
                        <TextBlock Grid.Column="2" Margin="0,5,0,10" Foreground="{DynamicResource PrimaryText}"
                                Opacity="0.5" Text="喝水可以快速恢复口渴度。口渴度低于25时,宠物会生病。" TextWrapping="Wrap" />
                    </StackPanel>
                </Grid>
            </ScrollViewer>
        </TabItem>
        <TabItem Header="{ll:Str 统计总结}">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition Height="28" />
                    <RowDefinition Height="30" />
                    <RowDefinition Height="*" />
                </Grid.RowDefinitions>
                <Button x:Name="btn_r_genRank" Grid.Column="1" pu:ButtonHelper.CornerRadius="4"
                        Background="{DynamicResource SecondaryLight}" BorderBrush="{DynamicResource SecondaryDark}"
                        BorderThickness="2" Content="{ll:Str 生成统计}" Margin="5,2" Click="btn_r_genRank_Click" />
                <Button x:Name="btn_r_save" Grid.Column="1" pu:ButtonHelper.CornerRadius="4"
                        Background="{DynamicResource SecondaryLight}" BorderBrush="{DynamicResource SecondaryDark}"
                        BorderThickness="2" Content="{ll:Str 保存图片}" Margin="5,2" Grid.Row="1" Click="btn_r_save_Click"
                        IsEnabled="False" />
                <CheckBox x:Name="cb_NoCheat" Content="{ll:Str '未使用过作弊模组和修改游戏数据'}" Margin="5,2"
                        BorderBrush="{DynamicResource DARKPrimary}" pu:CheckBoxHelper.CornerRadius="4" IsEnabled="False"
                        Unchecked="cb_NoCheat_Unchecked" />
                <CheckBox x:Name="cb_AgreeUpload" Content="{ll:Str '同意上传统计数据至Steam排行榜'}" Margin="5,2"
                        BorderBrush="{DynamicResource DARKPrimary}" pu:CheckBoxHelper.CornerRadius="4" Grid.Row="1"
                        IsEnabled="False" Checked="cb_AgreeUpload_Checked" />
                <ScrollViewer Grid.Row="2" Grid.ColumnSpan="2" x:Name="r_viewbox" Visibility="Collapsed">
                    <Viewbox x:Name="r_output">
                        <Grid x:Name="r_output_base">
                            <Image Source="/Res/img/rbgt.png" VerticalAlignment="Top" Stretch="UniformToFill" />
                            <Image Source="/Res/img/rbgb.png" VerticalAlignment="Bottom" Stretch="UniformToFill" />
                            <Grid Margin="55,310,55,55">
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="10" />
                                    <RowDefinition Height="200" />
                                    <RowDefinition Height="110" />
                                    <RowDefinition Height="160" />
                                    <RowDefinition Height="200" />
                                    <RowDefinition Height="160" />
                                    <RowDefinition Height="200" />
                                    <RowDefinition Height="160" />
                                    <RowDefinition Height="200" />
                                    <RowDefinition Height="160" />
                                    <RowDefinition Height="200" />
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="Auto" />
                                    <RowDefinition Height="40" />
                                </Grid.RowDefinitions>
                                <Grid.ColumnDefinitions>
                                    <ColumnDefinition />
                                    <ColumnDefinition />
                                </Grid.ColumnDefinitions>

                                <Image Source="/Res/img/rank1.png" Grid.Row="1" />
                                <TextBlock Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"
                                        Margin="10,0,10,0" FontSize="16" Grid.Row="1">
                                <Run x:Name="r_r_startday" Text="XXXX年XX月XX日" FontSize="24" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /><LineBreak />
                                <Run Text="{ll:Str 你第一次遇到了这只可爱的小东西}" /><LineBreak />
                                <Run Text="{ll:Str '初次见面,主人~'}" />
                                </TextBlock>
                                <TextBlock Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center"
                                        Margin="10,0,10,0" Grid.Row="2" FontSize="16" MaxWidth="500" TextWrapping="Wrap"
                                        Grid.ColumnSpan="2">
                                <Run Text="{ll:Str 你和}" /><Run x:Name="r_r_petname_2" Text="萝莉斯" /><Run
                                            Text="{ll:Str 一共生活了}" /> <Run x:Name="r_r_startlength" Text="XX"
                                            FontWeight="Bold" Foreground="{DynamicResource DARKPrimaryDark}" /> <Run
                                            Text="{ll:Str r天}" /><LineBreak />
                                <Run Text="{ll:Str 你陪伴她的时长是}" /> <Run x:Name="r_r_length_h" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /> <Run Text="{ll:Str r小时}" /><LineBreak />
                                <Run Text="{ll:Str 超过了全球}" /> <Run x:Name="r_r_length_p" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /> <Run Text="{ll:Str r的主人}" /><LineBreak />
                                <Run x:Name="r_r_lenghranktext" Text="主人~感谢陪伴~" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDarker}" />
                                </TextBlock>

                                <TextBlock Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center"
                                        Margin="10,0,10,0" Grid.Row="3" FontSize="16" MaxWidth="300" TextWrapping="Wrap">
                                 <Run Text="{ll:Str 平均一天有}" /> <Run x:Name="r_r_lengthph" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /> <Run Text="{ll:Str 小时在一起}" /><LineBreak />
                                 <Run Text="{ll:Str 相当于平均和}" /> <Run x:Name="r_r_lengthphtext" Text="同学"
                                            FontWeight="Bold" Foreground="{DynamicResource DARKPrimaryDark}" /> <Run
                                            Text="{ll:Str 在一起的时间}" /><LineBreak />
                                 <Run x:Name="r_r_lenghtext" Text="学长~前辈"
                                            Foreground="{DynamicResource DARKPrimaryDarker}" FontWeight="Bold" />
                                </TextBlock>
                                <Image x:Name="r_i_timelength" Source="/Res/img/r_timelength_1.png" Grid.Row="3"
                                        Grid.Column="1" HorizontalAlignment="Left" />
                                <TextBlock Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"
                                        Margin="10,0,10,0" Grid.Row="4" FontSize="16" MaxWidth="350" TextWrapping="Wrap">
                                <Run Text="{ll:Str 你的等级是}" /> <Run x:Name="r_r_level" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /> <Run Text="{ll:Str r级}" /><LineBreak />
                                <Run Text="{ll:Str 累计获得经验}" /> <Run x:Name="r_r_exp" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /><LineBreak />
                                <Run Text="{ll:Str 累计学习时间是}" /> <Run x:Name="r_r_studytime" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /> <Run Text="{ll:Str r分钟}" /><LineBreak />
                               <Run x:Name="r_r_studytext" Text="相当于桌宠的小学学历哦&#13;“肃清! 萝莉斯的安魂曲☆”"
                                            Foreground="{DynamicResource DARKPrimaryDarker}" FontWeight="Bold" />
                                </TextBlock>
                                <Image x:Name="r_i_exp" Source="/Res/img/r_level_1.png" Grid.Row="4" />
                                <TextBlock Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center"
                                        Margin="10,0,10,0" Grid.Row="5" FontSize="16" MaxWidth="300" TextWrapping="Wrap">
                             <Run Text="{ll:Str 单次学习最大获得}" /> <Run x:Name="r_r_studyexpmax" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /> <Run Text="{ll:Str 经验}" /><LineBreak />
                             <Run Text="{ll:Str 超过了全球}" /> <Run x:Name="r_r_studyexpmaxrank" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /> <Run Text="{ll:Str r的主人}" /><LineBreak />
                             <Run x:Name="r_r_studyexptext" Text="看我量子速读法!"
                                            Foreground="{DynamicResource DARKPrimaryDarker}" FontWeight="Bold" />
                                </TextBlock>
                                <Image x:Name="r_i_singleexp" Source="/Res/img/r_singleexp_1.png" Grid.Row="5"
                                        Grid.Column="1" HorizontalAlignment="Left" />
                                <TextBlock Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"
                                        Margin="10,0,10,0" Grid.Row="6" FontSize="16" MaxWidth="350" TextWrapping="Wrap">
                                <Run Text="{ll:Str 累计工作时间是}" /> <Run x:Name="r_r_worktime" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /> <Run Text="{ll:Str r分钟}" /><LineBreak />
                                <Run Text="{ll:Str 工作占总时间}" /> <Run x:Name="r_r_worktimeps" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /><LineBreak />
                                <Run Text="{ll:Str 超过了全球}" /> <Run x:Name="r_r_worktimepsrank" Text="XX"
                                            FontWeight="Bold" Foreground="{DynamicResource DARKPrimaryDark}" /> <Run
                                            Text="{ll:Str r的主人}" /><LineBreak />
                               <Run x:Name="r_r_worktext" Text="“我草,卷狗”"
                                            Foreground="{DynamicResource DARKPrimaryDarker}" FontWeight="Bold" />
                                </TextBlock>
                                <Image x:Name="r_i_money" Source="/Res/img/r_worktime_1.png" Grid.Row="6" />
                                <TextBlock Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center"
                                        Margin="10,0,10,0" Grid.Row="7" FontSize="16" MaxWidth="300" TextWrapping="Wrap">
                                 <Run Text="{ll:Str 单次工作最大获得}" /> <Run x:Name="r_r_workmoneymax" Text="XX"
                                            FontWeight="Bold" Foreground="{DynamicResource DARKPrimaryDark}" /> <Run
                                            Text="{ll:Str 金钱}" /><LineBreak />
                                 <Run Text="{ll:Str 超过了全球}" /> <Run x:Name="r_r_workmoneyrank" Text="XX"
                                            FontWeight="Bold" Foreground="{DynamicResource DARKPrimaryDark}" /> <Run
                                            Text="{ll:Str r的主人}" /><LineBreak />
                                 <Run x:Name="r_r_workmoneytext" Text="可是,我真的很需要那些钱钱!"
                                            Foreground="{DynamicResource DARKPrimaryDarker}" FontWeight="Bold" />
                                </TextBlock>
                                <Image x:Name="r_i_singlemoney" Source="/Res/img/r_singlemoney_1.png" Grid.Row="7"
                                        HorizontalAlignment="Left" Grid.Column="1" />
                                <TextBlock Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"
                                        Margin="10,0,10,0" Grid.Row="8" FontSize="16" MaxWidth="350" TextWrapping="Wrap">
                                 <Run Text="{ll:Str 累计购买}" /> <Run x:Name="r_r_betterbuytimes" Text="XX"
                                            FontWeight="Bold" Foreground="{DynamicResource DARKPrimaryDark}" /> <Run
                                            Text="{ll:Str 次更好买商品}" /><LineBreak />
                                 <Run Text="{ll:Str 累计花费}" /> <Run x:Name="r_r_betterbuycount" Text="XX"
                                            FontWeight="Bold" Foreground="{DynamicResource DARKPrimaryDark}" /> <Run
                                            Text="{ll:Str 金钱}" /><LineBreak />
                                 <Run Text="{ll:Str 其中最多购买的是}" /> <Run x:Name="r_r_betterbuymostitem" Text="XX"
                                            FontWeight="Bold" Foreground="{DynamicResource DARKPrimaryDark}" /> <Run
                                            Text="{ll:Str 在分类}" /> <Run x:Name="r_r_betterbuymosttype" Text="XX"
                                            FontWeight="Bold" Foreground="{DynamicResource DARKPrimaryDark}" /><LineBreak />
                                <Run x:Name="r_r_betterbuymosttext" Text="“多吃零食有益心理健康”"
                                            Foreground="{DynamicResource DARKPrimaryDarker}" FontWeight="Bold" />
                                </TextBlock>
                                <Image x:Name="r_i_mostfood" Grid.Row="8" Source="/Res/img/r_mostfood_Snack.png" />
                                <TextBlock Grid.Column="0" HorizontalAlignment="Right" VerticalAlignment="Center"
                                        Margin="10,0,10,0" Grid.Row="9" FontSize="16" MaxWidth="500" TextWrapping="Wrap">
                                 <Run Text="{ll:Str 自动购买}" /> <Run x:Name="r_r_autobuy" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /> <Run Text="{ll:Str 次}" /><LineBreak />
                                 <Run Text="{ll:Str 占全部购买}" /> <Run x:Name="r_r_autobuypres" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /><LineBreak />
                                 <Run Text="{ll:Str 超过了全球}" /> <Run x:Name="r_r_autobuyrank" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /> <Run Text="{ll:Str r的主人}" /><LineBreak />
                                 <Run x:Name="r_r_autobuytext" Text="“不要小看我的情报网!你自动购买礼物没关,对不对?”"
                                            Foreground="{DynamicResource DARKPrimaryDarker}" FontWeight="Bold" />
                                </TextBlock>
                                <Image x:Name="r_i_autobuy" Grid.Row="9" Source="/Res/img/r_autobuy_1.png"
                                        Grid.Column="1" HorizontalAlignment="Left" />
                                <TextBlock Grid.Column="1" HorizontalAlignment="Center" VerticalAlignment="Center"
                                        Margin="10,0,10,0" Grid.Row="10" FontSize="16" MaxWidth="350"
                                        TextWrapping="Wrap">
                                   <Run Text="{ll:Str 你订阅了}" /> <Run x:Name="r_r_modcount" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /> <Run Text="{ll:Str 个mod}" /><LineBreak />
                                   <Run Text="{ll:Str 启用的其中的}" /> <Run x:Name="r_r_modenablecount" Text="XX"
                                            FontWeight="Bold" Foreground="{DynamicResource DARKPrimaryDark}" /> <Run
                                            Text="{ll:Str 个mod}" /><LineBreak />
                                   <Run Text="{ll:Str 你订阅mod数超过了全球}" /> <Run x:Name="r_r_modcountrank" Text="XX"
                                            FontWeight="Bold" Foreground="{DynamicResource DARKPrimaryDark}" /> <Run
                                            Text="{ll:Str r的主人}" /><LineBreak />
                                  <Run x:Name="r_r_modcounttext" Text="“主人已经是mod大师了喵,要不要试试mod制作器,给我做mod喵”"
                                            Foreground="{DynamicResource DARKPrimaryDarker}" FontWeight="Bold" />
                                </TextBlock>
                                <Image x:Name="r_i_mod" Source="/Res/img/r_mod_1.png" Grid.Row="10" />
                                <TextBlock Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center"
                                        Margin="10" Grid.Row="11" Grid.ColumnSpan="2" FontSize="20" MaxWidth="500"
                                        TextWrapping="Wrap">
                                 <Run Text="{ll:Str 睡了}" /> <Run x:Name="r_r_sleeplength" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /> <Run Text="{ll:Str 小时的觉}" /><LineBreak />
                                 <Run Text="{ll:Str 移动了}" /> <Run x:Name="r_r_movelength" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /><Run
                                            x:Name="r_r_movelengthcm" Text="px" 
                                            FontWeight="Bold" Foreground="{DynamicResource DARKPrimaryDark}" /> <Run
                                            Text="{ll:Str '的距离'}" /><LineBreak />
                                 <Run Text="{ll:Str 说了}" /> <Run x:Name="r_r_saycount" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /> <Run Text="{ll:Str '句话'}" /><LineBreak />
                                 <Run Text="{ll:Str 跳了}" /> <Run x:Name="r_r_musiccount" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /> <Run Text="{ll:Str '次舞蹈'}" /><LineBreak />
                                 <Run Text="{ll:Str 摸了}" /> <Run x:Name="r_r_touchtotal" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /> <Run Text="{ll:Str '次头'}" /><LineBreak />                                 
                                 <Run Text="&quot;" Foreground="{DynamicResource DARKPrimaryDarker}" FontWeight="Bold" /><Run
                                            Text="{ll:Str '吃喝玩乐睡, 惨了养成猪了'}"
                                            Foreground="{DynamicResource DARKPrimaryDarker}" FontWeight="Bold" /><Run
                                            Text="&quot;" Foreground="{DynamicResource DARKPrimaryDarker}"
                                            FontWeight="Bold" />
                                </TextBlock>
                                <Image x:Name="r_i_like" Source="/Res/img/rank2.png" Grid.Row="12" Grid.ColumnSpan="2" />
                                <TextBlock Grid.Column="0" HorizontalAlignment="Center" VerticalAlignment="Center"
                                        Margin="40" Grid.Row="13" Grid.ColumnSpan="2" FontSize="20" MaxWidth="500"
                                        TextWrapping="Wrap">
                                 <Run Text="{ll:Str 打开游戏次数是}" /> <Run x:Name="r_r_opencount" Text="XX" FontWeight="Bold"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /> <Run Text="{ll:Str 次}" /><LineBreak />
                                 <Run Text="{ll:Str 你照顾的}" /><Run x:Name="r_r_petname_3" Text="萝莉斯" /><Run
                                            Text="{ll:Str 满状态次数是}" /> <Run x:Name="r_r_bettercount" Text="XX"
                                            FontWeight="Bold" Foreground="{DynamicResource DARKPrimaryDark}" /> <Run
                                            Text="{ll:Str '次'}" /><LineBreak /><LineBreak />
                                 <Run x:Name="r_r_petname_4" Text="萝莉斯" /><Run Text="{ll:Str 对你的好感度是}" /><LineBreak /> <Run
                                            x:Name="r_r_likecount" Text="&#xEE0E;&#xEE0E;&#xEE0E;&#xEE0F;"
                                            FontWeight="Bold"
                                            FontFamily="/VPet-Simulator.Windows;component/Res/#remixicon"
                                            Foreground="{DynamicResource DARKPrimaryDark}" /><LineBreak /><LineBreak />
                                 <Run Text="{ll:Str 超过了全球}" /> <Run x:Name="r_r_likecountrank" Text="XX"
                                            FontWeight="Bold" Foreground="{DynamicResource DARKPrimaryDark}" /> <Run
                                            Text="{ll:Str 'r的主人'}" /><LineBreak />                                 
                                 <LineBreak />
                                <Run Text="&quot;" Foreground="{DynamicResource DARKPrimaryDarker}" FontWeight="Bold" /><Run
                                            Text="{ll:Str '最喜欢你了主人~ 新的一年请多多关照喵~'}"
                                            Foreground="{DynamicResource DARKPrimaryDarker}" FontWeight="Bold" /><Run
                                            Text="&quot;" Foreground="{DynamicResource DARKPrimaryDarker}"
                                            FontWeight="Bold" />
                                </TextBlock>
                                <Image Source="/Res/img/rank3.png" Grid.Row="14" Grid.ColumnSpan="2" />
                            </Grid>
                            <TextBlock VerticalAlignment="Bottom" HorizontalAlignment="Left"
                                    Foreground="{DynamicResource DARKPrimaryDarker}" Margin="60,0,0,55"
                                    FontWeight="Bold" FontSize="16">
                                    <Run Text="To" FontSize="20" /> <Run x:Name="r_r_petname" Text="萝莉斯" FontSize="24" /> <LineBreak />
                                    <Run Text="By" FontSize="20" /> <Run x:Name="r_r_username" Text="洛里斯杨远"
                                        FontSize="24" /> <LineBreak />
                                    @<Run Text="{ll:Str 虚拟桌宠模拟器}" /> (<Run x:Name="r_r_now" Text="2023/12/29" />)
                            </TextBlock>
                        </Grid>
                    </Viewbox>
                </ScrollViewer>
                <ProgressBar x:Name="pb_r_genRank" Height="20" Grid.Row="2" Grid.ColumnSpan="2" VerticalAlignment="Top"
                        pu:ProgressBarHelper.CornerRadius="4" pu:ProgressBarHelper.IsPercentVisible="True"
                        Background="{DynamicResource SecondaryLighter}" BorderBrush="{DynamicResource SecondaryDark}"
                        BorderThickness="1.5" FontSize="10" Foreground="{DynamicResource Secondary}" Value="0"
                        Margin="0,5,0,0" Visibility="Collapsed" />
            </Grid>
        </TabItem>
    </TabControl>

</pu:WindowX>