Files
Wino-Mail/Wino.Mail/Views/Account/AccountManagementPage.xaml
Burak Kaan Köse 747efac2ec Reworked aliases.
2024-08-17 19:54:52 +02:00

247 lines
50 KiB
XML

<abstract:AccountManagementPageAbstract x:Class="Wino.Views.AccountManagementPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:abstract="using:Wino.Views.Abstract"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
xmlns:controls="using:Wino.Controls"
xmlns:winuiControls="using:CommunityToolkit.WinUI.Controls"
xmlns:domain="using:Wino.Core.Domain"
xmlns:helpers="using:Wino.Helpers"
xmlns:viewModelData="using:Wino.Mail.ViewModels.Data"
xmlns:selectors="using:Wino.Selectors"
x:Name="root"
mc:Ignorable="d">
<Page.Resources>
<!-- Root Account Template -->
<DataTemplate x:Key="RootAccountTemplate" x:DataType="viewModelData:AccountProviderDetailViewModel">
<winuiControls:SettingsCard Margin="0,2,0,0"
IsClickEnabled="True"
Command="{Binding ViewModel.NavigateAccountDetailsCommand, Mode=OneWay, ElementName=root}"
CommandParameter="{x:Bind}"
Header="{x:Bind Account.Name}"
Description="{x:Bind Account.Address}">
<winuiControls:SettingsCard.HeaderIcon>
<controls:WinoFontIcon Icon="{x:Bind helpers:XamlHelpers.GetProviderIcon(ProviderDetail.Type)}" FontSize="64" />
</winuiControls:SettingsCard.HeaderIcon>
</winuiControls:SettingsCard>
</DataTemplate>
<!-- Merged Account Template -->
<DataTemplate x:Key="MergedAccountTemplate" x:DataType="viewModelData:MergedAccountProviderDetailViewModel">
<winuiControls:SettingsExpander Header="{x:Bind MergedInbox.Name}" Description="{x:Bind AccountAddresses}">
<winuiControls:SettingsExpander.Items>
<!-- Edit Linked Inbox -->
<winuiControls:SettingsCard Header="{x:Bind domain:Translator.SettingsEditLinkedInbox_Title}"
HorizontalContentAlignment="Stretch"
IsClickEnabled="True"
Command="{Binding ViewModel.EditMergedAccountsCommand, Mode=OneWay, ElementName=root}"
CommandParameter="{x:Bind}"
Description="{x:Bind domain:Translator.SettingsEditLinkedInbox_Description}"
HorizontalAlignment="Stretch">
<winuiControls:SettingsCard.HeaderIcon>
<PathIcon Data="F1 M 5.625 15 C 4.85026 15 4.121094 14.851889 3.4375 14.555664 C 2.753906 14.25944 2.158203 13.857422 1.650391 13.349609 C 1.142578 12.841797 0.74056 12.246094 0.444336 11.5625 C 0.148112 10.878906 0 10.14974 0 9.375 C 0 8.600261 0.148112 7.871094 0.444336 7.1875 C 0.74056 6.503906 1.142578 5.908203 1.650391 5.400391 C 2.158203 4.892578 2.753906 4.490561 3.4375 4.194336 C 4.121094 3.898113 4.85026 3.75 5.625 3.75 L 8.125 3.75 C 8.294271 3.75 8.440755 3.81185 8.564453 3.935547 C 8.68815 4.059246 8.75 4.20573 8.75 4.375 C 8.75 4.544271 8.68815 4.690756 8.564453 4.814453 C 8.440755 4.938152 8.294271 5.000001 8.125 5 L 5.625 5 C 5.019531 5.000001 4.451497 5.113934 3.920898 5.341797 C 3.390299 5.569662 2.926432 5.882162 2.529297 6.279297 C 2.132161 6.676434 1.819661 7.140301 1.591797 7.670898 C 1.363932 8.201498 1.25 8.769531 1.25 9.375 C 1.25 9.980469 1.363932 10.548503 1.591797 11.079102 C 1.819661 11.609701 2.132161 12.073568 2.529297 12.470703 C 2.926432 12.867839 3.390299 13.180339 3.920898 13.408203 C 4.451497 13.636068 5.019531 13.75 5.625 13.75 L 8.125 13.75 C 8.294271 13.75 8.440755 13.81185 8.564453 13.935547 C 8.68815 14.059245 8.75 14.205729 8.75 14.375 C 8.75 14.544271 8.68815 14.690756 8.564453 14.814453 C 8.440755 14.938151 8.294271 15 8.125 15 Z M 11.875 15 C 11.705729 15 11.559244 14.938151 11.435547 14.814453 C 11.311849 14.690756 11.25 14.544271 11.25 14.375 C 11.25 14.205729 11.311849 14.059245 11.435547 13.935547 C 11.559244 13.81185 11.705729 13.75 11.875 13.75 L 14.375 13.75 C 14.980469 13.75 15.548502 13.636068 16.079102 13.408203 C 16.609699 13.180339 17.073566 12.867839 17.470703 12.470703 C 17.867838 12.073568 18.180338 11.609701 18.408203 11.079102 C 18.636066 10.548503 18.75 9.980469 18.75 9.375 C 18.75 8.769531 18.636066 8.201498 18.408203 7.670898 C 18.180338 7.140301 17.867838 6.676434 17.470703 6.279297 C 17.073566 5.882162 16.609699 5.569662 16.079102 5.341797 C 15.548502 5.113934 14.980469 5.000001 14.375 5 L 11.875 5 C 11.705729 5.000001 11.559244 4.938152 11.435547 4.814453 C 11.311849 4.690756 11.25 4.544271 11.25 4.375 C 11.25 4.20573 11.311849 4.059246 11.435547 3.935547 C 11.559244 3.81185 11.705729 3.75 11.875 3.75 L 14.375 3.75 C 15.149739 3.75 15.878906 3.898113 16.5625 4.194336 C 17.246094 4.490561 17.841797 4.892578 18.349609 5.400391 C 18.857422 5.908203 19.259439 6.503906 19.555664 7.1875 C 19.851887 7.871094 20 8.600261 20 9.375 C 20 10.14974 19.851887 10.878906 19.555664 11.5625 C 19.259439 12.246094 18.857422 12.841797 18.349609 13.349609 C 17.841797 13.857422 17.246094 14.25944 16.5625 14.555664 C 15.878906 14.851889 15.149739 15 14.375 15 Z M 5.556641 10 C 5.38737 10 5.252278 9.934896 5.151367 9.804688 C 5.050456 9.674479 5 9.53125 5 9.375 C 5 9.21875 5.050456 9.075521 5.151367 8.945312 C 5.252278 8.815104 5.38737 8.75 5.556641 8.75 L 14.443359 8.75 C 14.61263 8.75 14.747721 8.815104 14.848633 8.945312 C 14.949543 9.075521 14.999999 9.21875 15 9.375 C 14.999999 9.53125 14.949543 9.674479 14.848633 9.804688 C 14.747721 9.934896 14.61263 10 14.443359 10 Z " />
</winuiControls:SettingsCard.HeaderIcon>
</winuiControls:SettingsCard>
<!-- Individual accounts -->
<winuiControls:SettingsCard HorizontalContentAlignment="Stretch"
VerticalContentAlignment="Stretch"
ContentAlignment="Vertical">
<ListView Padding="-12,0"
ItemTemplate="{StaticResource RootAccountTemplate}"
SelectionMode="None"
IsItemClickEnabled="False"
ItemsSource="{x:Bind HoldingAccounts}" />
</winuiControls:SettingsCard>
</winuiControls:SettingsExpander.Items>
<winuiControls:SettingsExpander.HeaderIcon>
<PathIcon Data="F1 M 2.5 4.296875 C 2.5 3.710938 2.618815 3.157553 2.856445 2.636719 C 3.094075 2.115887 3.413086 1.660156 3.813477 1.269531 C 4.213867 0.878906 4.677734 0.569662 5.205078 0.341797 C 5.732422 0.113934 6.289062 0 6.875 0 C 7.473958 0 8.038736 0.115561 8.569336 0.34668 C 9.099935 0.577801 9.563802 0.891928 9.960938 1.289062 C 10.358072 1.686199 10.6722 2.150066 10.90332 2.680664 C 11.134439 3.211264 11.25 3.776043 11.25 4.375 C 11.25 4.973959 11.134439 5.538737 10.90332 6.069336 C 10.6722 6.599936 10.358072 7.063803 9.960938 7.460938 C 9.563802 7.858073 9.099935 8.172201 8.569336 8.40332 C 8.038736 8.63444 7.473958 8.75 6.875 8.75 C 6.25651 8.75 5.680338 8.632812 5.146484 8.398438 C 4.61263 8.164062 4.150391 7.845053 3.759766 7.441406 C 3.369141 7.037761 3.061523 6.565756 2.836914 6.025391 C 2.612305 5.485026 2.5 4.908854 2.5 4.296875 Z M 10 4.306641 C 10 3.883465 9.915364 3.486328 9.746094 3.115234 C 9.576822 2.744141 9.348958 2.420248 9.0625 2.143555 C 8.776041 1.866863 8.44401 1.648764 8.066406 1.489258 C 7.688802 1.329754 7.291666 1.25 6.875 1.25 C 6.438802 1.25 6.031901 1.331381 5.654297 1.494141 C 5.276692 1.656902 4.946289 1.879883 4.663086 2.163086 C 4.379883 2.446289 4.156901 2.776693 3.994141 3.154297 C 3.83138 3.531902 3.75 3.938803 3.75 4.375 C 3.75 4.811199 3.83138 5.2181 3.994141 5.595703 C 4.156901 5.973308 4.379883 6.303711 4.663086 6.586914 C 4.946289 6.870117 5.276692 7.0931 5.654297 7.255859 C 6.031901 7.41862 6.438802 7.5 6.875 7.5 C 7.324219 7.5 7.739258 7.416992 8.120117 7.250977 C 8.500977 7.084961 8.83138 6.857097 9.111328 6.567383 C 9.391275 6.27767 9.609375 5.939128 9.765625 5.551758 C 9.921875 5.164389 10 4.74935 10 4.306641 Z M 12.5 5.556641 C 12.5 5.133464 12.584635 4.736328 12.753906 4.365234 C 12.923176 3.994141 13.151041 3.670248 13.4375 3.393555 C 13.723958 3.116863 14.055989 2.898764 14.433594 2.739258 C 14.811197 2.579754 15.208332 2.5 15.625 2.5 C 16.061197 2.5 16.468098 2.581381 16.845703 2.744141 C 17.223307 2.906902 17.553711 3.129883 17.836914 3.413086 C 18.120117 3.696289 18.343098 4.026693 18.505859 4.404297 C 18.668619 4.781902 18.75 5.188803 18.75 5.625 C 18.75 6.061198 18.668619 6.4681 18.505859 6.845703 C 18.343098 7.223308 18.120117 7.553711 17.836914 7.836914 C 17.553711 8.120117 17.223307 8.3431 16.845703 8.505859 C 16.468098 8.66862 16.061197 8.75 15.625 8.75 C 15.175781 8.75 14.760742 8.666992 14.379883 8.500977 C 13.999023 8.334961 13.668619 8.107097 13.388672 7.817383 C 13.108724 7.52767 12.890625 7.189128 12.734375 6.801758 C 12.578125 6.414389 12.5 5.99935 12.5 5.556641 Z M 17.5 5.625 C 17.5 5.371094 17.451172 5.130209 17.353516 4.902344 C 17.255859 4.67448 17.120768 4.474285 16.948242 4.301758 C 16.775715 4.129232 16.57552 3.994141 16.347656 3.896484 C 16.119791 3.798828 15.878906 3.75 15.625 3.75 C 15.371094 3.75 15.130208 3.798828 14.902344 3.896484 C 14.674479 3.994141 14.474283 4.129232 14.301758 4.301758 C 14.129231 4.474285 13.994141 4.67448 13.896484 4.902344 C 13.798828 5.130209 13.75 5.371094 13.75 5.625 C 13.75 5.878906 13.798828 6.119792 13.896484 6.347656 C 13.994141 6.575521 14.129231 6.775717 14.301758 6.948242 C 14.474283 7.120769 14.674479 7.255859 14.902344 7.353516 C 15.130208 7.451172 15.371094 7.5 15.625 7.5 C 15.878906 7.5 16.119791 7.451172 16.347656 7.353516 C 16.57552 7.255859 16.775715 7.120769 16.948242 6.948242 C 17.120768 6.775717 17.255859 6.575521 17.353516 6.347656 C 17.451172 6.119792 17.5 5.878906 17.5 5.625 Z M 0 12.460938 C 0 12.18099 0.047201 11.894531 0.141602 11.601562 C 0.236003 11.308594 0.371094 11.043295 0.546875 10.805664 C 0.722656 10.568034 0.935872 10.37435 1.186523 10.224609 C 1.437174 10.07487 1.71875 10 2.03125 10 L 11.71875 10 C 12.031249 10 12.312824 10.07487 12.563477 10.224609 C 12.814127 10.37435 13.027344 10.568034 13.203125 10.805664 C 13.378906 11.043295 13.513997 11.308594 13.608398 11.601562 C 13.702799 11.894531 13.75 12.18099 13.75 12.460938 C 13.75 13.027344 13.691406 13.572592 13.574219 14.09668 C 13.457031 14.620769 13.276367 15.113933 13.032227 15.576172 C 12.788086 16.038412 12.482096 16.463217 12.114258 16.850586 C 11.746419 17.237955 11.311849 17.574869 10.810547 17.861328 C 10.517578 18.0306 10.209961 18.172201 9.887695 18.286133 C 9.56543 18.400064 9.238281 18.491211 8.90625 18.55957 C 8.574219 18.62793 8.237305 18.676758 7.895508 18.706055 C 7.55371 18.735352 7.213541 18.75 6.875 18.75 C 6.191406 18.75 5.514323 18.68815 4.84375 18.564453 C 4.173177 18.440756 3.538411 18.206381 2.939453 17.861328 C 2.431641 17.568359 1.993815 17.229818 1.625977 16.845703 C 1.258138 16.461588 0.953776 16.040039 0.712891 15.581055 C 0.472005 15.12207 0.292969 14.630534 0.175781 14.106445 C 0.058594 13.582357 0 13.033854 0 12.460938 Z M 13.642578 17.5 C 13.961588 17.115887 14.235025 16.689453 14.462891 16.220703 C 15.068359 16.175131 15.633138 16.062826 16.157227 15.883789 C 16.681314 15.704753 17.135416 15.450847 17.519531 15.12207 C 17.903645 14.793295 18.204752 14.386394 18.422852 13.901367 C 18.640949 13.416342 18.75 12.845053 18.75 12.1875 C 18.75 12.089844 18.735352 11.987305 18.706055 11.879883 C 18.676758 11.772461 18.634439 11.67155 18.579102 11.577148 C 18.523762 11.482748 18.453775 11.404623 18.369141 11.342773 C 18.284504 11.280925 18.186848 11.25 18.076172 11.25 L 15.136719 11.25 C 15.065104 11.028646 14.980468 10.812175 14.882812 10.600586 C 14.785155 10.388998 14.671223 10.188803 14.541016 10 L 18.076172 10 C 18.362629 10 18.624674 10.063477 18.862305 10.19043 C 19.099934 10.317383 19.303385 10.483398 19.472656 10.688477 C 19.641926 10.893555 19.772135 11.12793 19.863281 11.391602 C 19.954426 11.655273 20 11.920573 20 12.1875 C 20 13.190104 19.775391 14.078776 19.326172 14.853516 C 18.876953 15.628256 18.209635 16.256512 17.324219 16.738281 C 16.764322 17.044271 16.168619 17.247721 15.537109 17.348633 C 14.905598 17.449545 14.274088 17.5 13.642578 17.5 Z M 12.5 12.5 C 12.5 12.389323 12.483724 12.260742 12.451172 12.114258 C 12.418619 11.967773 12.368164 11.831055 12.299805 11.704102 C 12.231445 11.577148 12.145182 11.469727 12.041016 11.381836 C 11.936849 11.293945 11.816406 11.25 11.679688 11.25 L 2.070312 11.25 C 1.933594 11.25 1.813151 11.293945 1.708984 11.381836 C 1.604818 11.469727 1.518555 11.577148 1.450195 11.704102 C 1.381836 11.831055 1.33138 11.967773 1.298828 12.114258 C 1.266276 12.260742 1.25 12.389323 1.25 12.5 C 1.25 13.365886 1.391602 14.112956 1.674805 14.741211 C 1.958008 15.369467 2.35026 15.888672 2.851562 16.298828 C 3.352864 16.708984 3.94694 17.011719 4.633789 17.207031 C 5.320638 17.402344 6.067708 17.5 6.875 17.5 C 7.682291 17.5 8.429361 17.402344 9.116211 17.207031 C 9.80306 17.011719 10.397135 16.708984 10.898438 16.298828 C 11.399739 15.888672 11.791992 15.369467 12.075195 14.741211 C 12.358398 14.112956 12.5 13.365886 12.5 12.5 Z " />
</winuiControls:SettingsExpander.HeaderIcon>
</winuiControls:SettingsExpander>
</DataTemplate>
<selectors:AccountProviderViewModelTemplateSelector x:Key="AccountProviderViewModelTemplateSelector"
MergedAccountTemplate="{StaticResource MergedAccountTemplate}"
RootAccountTemplate="{StaticResource RootAccountTemplate}" />
</Page.Resources>
<ScrollViewer Margin="-12,0">
<Grid MaxWidth="900"
Padding="20"
HorizontalAlignment="Stretch"
RowSpacing="20">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid ColumnSpacing="12">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<!-- Add account button. -->
<Button Grid.Row="0"
Width="200"
Height="200"
Margin="0,12"
Command="{x:Bind ViewModel.AddNewAccountCommand}">
<Button.Content>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<StackPanel Spacing="12">
<Viewbox Width="46">
<PathIcon Data="F1 M 17.5 9.375 C 17.5 9.544271 17.43815 9.690756 17.314453 9.814453 C 17.190754 9.938151 17.04427 10 16.875 10 L 10 10 L 10 16.875 C 10 17.044271 9.93815 17.190756 9.814453 17.314453 C 9.690755 17.43815 9.544271 17.5 9.375 17.5 C 9.205729 17.5 9.059244 17.43815 8.935547 17.314453 C 8.811849 17.190756 8.75 17.044271 8.75 16.875 L 8.75 10 L 1.875 10 C 1.705729 10 1.559245 9.938151 1.435547 9.814453 C 1.311849 9.690756 1.25 9.544271 1.25 9.375 C 1.25 9.205729 1.311849 9.059245 1.435547 8.935547 C 1.559245 8.81185 1.705729 8.75 1.875 8.75 L 8.75 8.75 L 8.75 1.875 C 8.75 1.70573 8.811849 1.559246 8.935547 1.435547 C 9.059244 1.31185 9.205729 1.25 9.375 1.25 C 9.544271 1.25 9.690755 1.31185 9.814453 1.435547 C 9.93815 1.559246 10 1.70573 10 1.875 L 10 8.75 L 16.875 8.75 C 17.04427 8.75 17.190754 8.81185 17.314453 8.935547 C 17.43815 9.059245 17.5 9.205729 17.5 9.375 Z " />
</Viewbox>
<TextBlock FontWeight="SemiBold" Text="{x:Bind domain:Translator.Buttons_AddAccount}" />
</StackPanel>
</Grid>
</Button.Content>
</Button>
<!-- Account Limits -->
<Grid x:Name="PurchasePanel"
Grid.Column="1"
x:Load="{x:Bind ViewModel.IsPurchasePanelVisible, Mode=OneWay}">
<winuiControls:SettingsCard Margin="0,12"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
HorizontalContentAlignment="Stretch"
VerticalContentAlignment="Stretch"
ContentAlignment="Vertical">
<Grid MinHeight="160" RowSpacing="6">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid ColumnSpacing="12">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Viewbox Width="32"
Height="32"
HorizontalAlignment="Left">
<PathIcon HorizontalAlignment="Center"
VerticalAlignment="Center"
Data="F1 M 4.921875 18.75 C 4.433594 18.75 3.966471 18.650717 3.520508 18.452148 C 3.074544 18.25358 2.683919 17.986654 2.348633 17.651367 C 2.013346 17.31608 1.746419 16.925455 1.547852 16.479492 C 1.349284 16.033529 1.25 15.566406 1.25 15.078125 L 1.25 4.921875 C 1.25 4.433594 1.349284 3.966473 1.547852 3.520508 C 1.746419 3.074545 2.013346 2.68392 2.348633 2.348633 C 2.683919 2.013348 3.074544 1.74642 3.520508 1.547852 C 3.966471 1.349285 4.433594 1.25 4.921875 1.25 L 15.078125 1.25 C 15.566406 1.25 16.033527 1.349285 16.479492 1.547852 C 16.925455 1.74642 17.31608 2.013348 17.651367 2.348633 C 17.986652 2.68392 18.25358 3.074545 18.452148 3.520508 C 18.650715 3.966473 18.75 4.433594 18.75 4.921875 L 18.75 15.078125 C 18.75 15.566406 18.650715 16.033529 18.452148 16.479492 C 18.25358 16.925455 17.986652 17.31608 17.651367 17.651367 C 17.31608 17.986654 16.925455 18.25358 16.479492 18.452148 C 16.033527 18.650717 15.566406 18.75 15.078125 18.75 Z M 15.048828 17.5 C 15.374349 17.5 15.685221 17.433268 15.981445 17.299805 C 16.277668 17.166342 16.538086 16.987305 16.762695 16.762695 C 16.987305 16.538086 17.16634 16.27767 17.299805 15.981445 C 17.433268 15.685222 17.5 15.37435 17.5 15.048828 L 17.5 4.951172 C 17.5 4.625651 17.433268 4.314779 17.299805 4.018555 C 17.16634 3.722332 16.987305 3.461914 16.762695 3.237305 C 16.538086 3.012695 16.277668 2.83366 15.981445 2.700195 C 15.685221 2.566732 15.374349 2.5 15.048828 2.5 L 4.951172 2.5 C 4.625651 2.5 4.314778 2.566732 4.018555 2.700195 C 3.722331 2.83366 3.461914 3.012695 3.237305 3.237305 C 3.012695 3.461914 2.833659 3.722332 2.700195 4.018555 C 2.566732 4.314779 2.5 4.625651 2.5 4.951172 L 2.5 15.048828 C 2.5 15.37435 2.566732 15.685222 2.700195 15.981445 C 2.833659 16.27767 3.012695 16.538086 3.237305 16.762695 C 3.461914 16.987305 3.722331 17.166342 4.018555 17.299805 C 4.314778 17.433268 4.625651 17.5 4.951172 17.5 Z M 7.5 7.451172 C 7.5 7.112631 7.568359 6.795248 7.705078 6.499023 C 7.841796 6.202801 8.024088 5.944012 8.251953 5.722656 C 8.479817 5.501303 8.745117 5.325521 9.047852 5.195312 C 9.350586 5.065105 9.667969 5.000001 10 5 C 10.338541 5.000001 10.660807 5.066732 10.966797 5.200195 C 11.272786 5.333659 11.538086 5.512695 11.762695 5.737305 C 11.987304 5.961914 12.16634 6.227214 12.299805 6.533203 C 12.433268 6.839193 12.5 7.161459 12.5 7.5 C 12.5 7.845053 12.433268 8.168945 12.299805 8.47168 C 12.16634 8.774414 11.987304 9.038086 11.762695 9.262695 C 11.538086 9.487305 11.272786 9.666342 10.966797 9.799805 C 10.660807 9.933269 10.338541 10 10 10 C 9.648438 10 9.319661 9.933269 9.013672 9.799805 C 8.707682 9.666342 8.442383 9.48405 8.217773 9.25293 C 7.993164 9.021811 7.817382 8.751628 7.69043 8.442383 C 7.563476 8.133139 7.5 7.802734 7.5 7.451172 Z M 11.25 7.5 C 11.25 7.330729 11.217447 7.169597 11.152344 7.016602 C 11.087239 6.863607 10.997721 6.730145 10.883789 6.616211 C 10.769856 6.502279 10.636393 6.412761 10.483398 6.347656 C 10.330403 6.282553 10.169271 6.25 10 6.25 C 9.824219 6.25 9.661458 6.282553 9.511719 6.347656 C 9.361979 6.412761 9.230143 6.502279 9.116211 6.616211 C 9.002278 6.730145 8.91276 6.86198 8.847656 7.011719 C 8.782552 7.161459 8.75 7.324219 8.75 7.5 C 8.75 7.675781 8.782552 7.84017 8.847656 7.993164 C 8.91276 8.146159 9.00065 8.277995 9.111328 8.388672 C 9.222005 8.49935 9.353841 8.58724 9.506836 8.652344 C 9.65983 8.717448 9.824219 8.75 10 8.75 C 10.175781 8.75 10.338541 8.717448 10.488281 8.652344 C 10.638021 8.58724 10.769856 8.497722 10.883789 8.383789 C 10.997721 8.269857 11.087239 8.138021 11.152344 7.988281 C 11.217447 7.838542 11.25 7.675781 11.25 7.5 Z M 5.488281 12.880859 C 5.488281 12.639975 5.530599 12.41862 5.615234 12.216797 C 5.69987 12.014975 5.81543 11.842448 5.961914 11.699219 C 6.108398 11.55599 6.282552 11.445312 6.484375 11.367188 C 6.686198 11.289062 6.907552 11.25 7.148438 11.25 L 12.851562 11.25 C 13.092447 11.25 13.313801 11.289062 13.515625 11.367188 C 13.717447 11.445312 13.891602 11.55599 14.038086 11.699219 C 14.18457 11.842448 14.30013 12.014975 14.384766 12.216797 C 14.4694 12.41862 14.511719 12.639975 14.511719 12.880859 C 14.511719 13.525391 14.379883 14.0625 14.116211 14.492188 C 13.852539 14.921875 13.505859 15.266928 13.076172 15.527344 C 12.646484 15.787761 12.163086 15.973308 11.625977 16.083984 C 11.088867 16.194662 10.546875 16.25 10 16.25 C 9.453125 16.25 8.911133 16.194662 8.374023 16.083984 C 7.836914 15.973308 7.353516 15.787761 6.923828 15.527344 C 6.494141 15.266928 6.147461 14.921875 5.883789 14.492188 C 5.620117 14.0625 5.488281 13.525391 5.488281 12.880859 Z M 13.261719 12.832031 C 13.261719 12.701823 13.221028 12.613933 13.139648 12.568359 C 13.058268 12.522787 12.962239 12.5 12.851562 12.5 L 7.148438 12.5 C 7.03776 12.5 6.941731 12.522787 6.860352 12.568359 C 6.778971 12.613933 6.738281 12.701823 6.738281 12.832031 C 6.738281 13.294271 6.839192 13.666992 7.041016 13.950195 C 7.242838 14.233398 7.501627 14.453125 7.817383 14.609375 C 8.133138 14.765625 8.483072 14.869792 8.867188 14.921875 C 9.251302 14.973959 9.628906 15 10 15 C 10.371094 15 10.748697 14.973959 11.132812 14.921875 C 11.516927 14.869792 11.866861 14.765625 12.182617 14.609375 C 12.498371 14.453125 12.75716 14.233398 12.958984 13.950195 C 13.160807 13.666992 13.261719 13.294271 13.261719 12.832031 Z " />
</Viewbox>
<TextBlock Grid.Column="1"
VerticalAlignment="Center"
Text="{x:Bind domain:Translator.WinoUpgradeDescription}"
TextTrimming="CharacterEllipsis"
FontWeight="SemiBold"
Style="{StaticResource BodyTextBlockStyle}" />
</Grid>
<StackPanel Grid.Row="2"
VerticalAlignment="Center"
Spacing="12">
<TextBlock Style="{StaticResource CaptionTextBlockStyle}" Text="{x:Bind ViewModel.UsedAccountsString, Mode=OneWay}" />
<muxc:ProgressBar ShowError="{x:Bind ViewModel.IsAccountCreationBlocked, Mode=OneWay}"
ShowPaused="{x:Bind ViewModel.IsAccountCreationAlmostOnLimit, Mode=OneWay}"
Maximum="{x:Bind ViewModel.FREE_ACCOUNT_COUNT}"
Value="{x:Bind ViewModel.Accounts.Count, Mode=OneWay}" />
</StackPanel>
<Button Grid.Row="3"
MinHeight="45"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Command="{x:Bind ViewModel.PurchaseUnlimitedAccountCommand}"
Style="{StaticResource AccentButtonStyle}">
<StackPanel Orientation="Horizontal" Spacing="6">
<PathIcon HorizontalAlignment="Center"
VerticalAlignment="Center"
Data="F1 M 1.25 7.480469 C 1.25 7.207031 1.329753 6.956381 1.489258 6.728516 C 1.648763 6.500651 1.858724 6.344401 2.119141 6.259766 L 3.857422 5.703125 C 4.065755 5.631511 4.264323 5.533854 4.453125 5.410156 C 4.641927 5.286459 4.811198 5.14974 4.960938 5 C 5.286458 4.674479 5.517578 4.303386 5.654297 3.886719 L 6.220703 2.138672 C 6.305338 1.878256 6.463216 1.665039 6.694336 1.499023 C 6.925456 1.333008 7.177734 1.25 7.451172 1.25 C 7.724609 1.25 7.976888 1.328125 8.208008 1.484375 C 8.439127 1.640625 8.60026 1.852215 8.691406 2.119141 L 9.257812 3.847656 C 9.394531 4.277344 9.628906 4.658203 9.960938 4.990234 C 10.279947 5.315756 10.660807 5.550131 11.103516 5.693359 L 12.822266 6.259766 C 13.102213 6.350912 13.326822 6.507162 13.496094 6.728516 C 13.665364 6.94987 13.75 7.210287 13.75 7.509766 C 13.75 7.776693 13.668619 8.025717 13.505859 8.256836 C 13.343099 8.487956 13.134766 8.645834 12.880859 8.730469 L 11.142578 9.296875 C 10.712891 9.433594 10.332031 9.667969 10 10 C 9.791666 10.208334 9.624023 10.445964 9.49707 10.712891 C 9.370117 10.979818 9.262695 11.253256 9.174805 11.533203 C 9.086914 11.813151 9.003906 12.084961 8.925781 12.348633 C 8.847656 12.612305 8.75 12.848308 8.632812 13.056641 C 8.515625 13.264975 8.369141 13.432617 8.193359 13.55957 C 8.017578 13.686523 7.786458 13.75 7.5 13.75 C 7.226562 13.75 6.974283 13.670248 6.743164 13.510742 C 6.512044 13.351237 6.354167 13.141276 6.269531 12.880859 L 5.703125 11.142578 C 5.651042 10.979818 5.587565 10.825195 5.512695 10.678711 C 5.437825 10.532227 5.348307 10.393881 5.244141 10.263672 C 5.022786 9.983725 4.770508 9.76237 4.487305 9.599609 C 4.204102 9.43685 3.916016 9.303386 3.623047 9.199219 C 3.330078 9.095053 3.040365 9.005534 2.753906 8.930664 C 2.467448 8.855795 2.213542 8.761394 1.992188 8.647461 C 1.770833 8.533529 1.591797 8.388672 1.455078 8.212891 C 1.318359 8.037109 1.25 7.792969 1.25 7.480469 Z M 12.470703 7.548828 C 11.975911 7.360026 11.502278 7.185873 11.049805 7.026367 C 10.59733 6.866863 10.179036 6.671551 9.794922 6.44043 C 9.410807 6.209311 9.070638 5.922852 8.774414 5.581055 C 8.478189 5.239258 8.242188 4.791667 8.066406 4.238281 L 7.509766 2.519531 L 6.855469 4.238281 C 6.738281 4.550782 6.601562 4.840496 6.445312 5.107422 C 6.289062 5.37435 6.09375 5.628256 5.859375 5.869141 C 5.638021 6.090496 5.388997 6.290691 5.112305 6.469727 C 4.835612 6.648764 4.547526 6.787109 4.248047 6.884766 L 2.519531 7.441406 C 3.007812 7.630209 3.476562 7.804363 3.925781 7.963867 C 4.375 8.123373 4.788411 8.318686 5.166016 8.549805 C 5.54362 8.780925 5.880534 9.069011 6.176758 9.414062 C 6.472981 9.759115 6.708984 10.205078 6.884766 10.751953 L 7.441406 12.470703 L 8.095703 10.751953 C 8.336588 10.120443 8.673502 9.573568 9.106445 9.111328 C 9.539388 8.649089 10.084635 8.313803 10.742188 8.105469 Z M 11.25 14.960938 C 11.25 14.759115 11.315104 14.573568 11.445312 14.404297 C 11.575521 14.235026 11.735025 14.117839 11.923828 14.052734 L 12.890625 13.740234 C 13.111979 13.66862 13.284505 13.557943 13.408203 13.408203 C 13.5319 13.258464 13.631184 13.09082 13.706055 12.905273 C 13.780924 12.719727 13.8444 12.529297 13.896484 12.333984 C 13.948566 12.138672 14.015299 11.961264 14.09668 11.801758 C 14.17806 11.642253 14.285481 11.510417 14.418945 11.40625 C 14.552408 11.302084 14.739582 11.25 14.980469 11.25 C 15.188801 11.25 15.382486 11.31185 15.561523 11.435547 C 15.74056 11.559245 15.86263 11.722006 15.927734 11.923828 C 15.966797 12.054037 16.00423 12.185873 16.040039 12.319336 C 16.075846 12.4528 16.116535 12.583008 16.162109 12.709961 C 16.207682 12.836914 16.26302 12.960612 16.328125 13.081055 C 16.393229 13.201498 16.474609 13.310547 16.572266 13.408203 C 16.676432 13.518881 16.803385 13.605144 16.953125 13.666992 C 17.102863 13.728842 17.259113 13.785808 17.421875 13.837891 C 17.584635 13.889975 17.745768 13.942058 17.905273 13.994141 C 18.064777 14.046225 18.206379 14.112956 18.330078 14.194336 C 18.453775 14.275717 18.554688 14.379883 18.632812 14.506836 C 18.710938 14.633789 18.75 14.794922 18.75 14.990234 C 18.75 15.205078 18.689777 15.400391 18.569336 15.576172 C 18.448893 15.751953 18.284504 15.875651 18.076172 15.947266 C 17.952473 15.986328 17.823893 16.023764 17.69043 16.05957 C 17.556965 16.095377 17.423502 16.136068 17.290039 16.181641 C 17.156574 16.227215 17.029621 16.282553 16.90918 16.347656 C 16.788736 16.41276 16.679688 16.494141 16.582031 16.591797 C 16.425781 16.754559 16.310221 16.958008 16.235352 17.202148 C 16.16048 17.446289 16.082355 17.68392 16.000977 17.915039 C 15.919596 18.146158 15.807291 18.3431 15.664062 18.505859 C 15.520833 18.668619 15.299479 18.75 15 18.75 C 14.791666 18.75 14.597981 18.68815 14.418945 18.564453 C 14.239908 18.440756 14.117838 18.277994 14.052734 18.076172 C 14.013672 17.958984 13.976236 17.832031 13.94043 17.695312 C 13.904621 17.558594 13.863932 17.423502 13.818359 17.290039 C 13.772786 17.156576 13.717447 17.027994 13.652344 16.904297 C 13.587239 16.7806 13.509114 16.673178 13.417969 16.582031 C 13.30078 16.471354 13.167316 16.383463 13.017578 16.318359 C 12.867838 16.253256 12.713216 16.196289 12.553711 16.147461 C 12.394205 16.098633 12.236328 16.049805 12.080078 16.000977 C 11.923828 15.952148 11.783854 15.887045 11.660156 15.805664 C 11.536458 15.724284 11.437174 15.616862 11.362305 15.483398 C 11.287435 15.349936 11.25 15.175781 11.25 14.960938 Z M 16.943359 15 C 16.66341 14.915365 16.420898 14.816081 16.21582 14.702148 C 16.010742 14.588217 15.833332 14.454753 15.683594 14.301758 C 15.533854 14.148764 15.403646 13.969727 15.292969 13.764648 C 15.182291 13.55957 15.078125 13.320312 14.980469 13.046875 C 14.902344 13.313803 14.806314 13.548178 14.692383 13.75 C 14.57845 13.951823 14.443359 14.130859 14.287109 14.287109 C 14.130859 14.443359 13.951822 14.580078 13.75 14.697266 C 13.548176 14.814453 13.317057 14.915365 13.056641 15 C 13.583984 15.14974 14.00065 15.382487 14.306641 15.698242 C 14.612629 16.013998 14.843749 16.432291 15 16.953125 C 15.097655 16.673178 15.200194 16.432291 15.307617 16.230469 C 15.415038 16.028646 15.543619 15.852865 15.693359 15.703125 C 15.843099 15.553386 16.017252 15.423178 16.21582 15.3125 C 16.414387 15.201823 16.6569 15.097656 16.943359 15 Z " />
<TextBlock Text="{x:Bind domain:Translator.WinoUpgradeMessage}"
TextAlignment="Center"
TextWrapping="WrapWholeWords" />
</StackPanel>
</Button>
</Grid>
</winuiControls:SettingsCard>
</Grid>
</Grid>
<!-- Current Accounts -->
<ListView x:Name="AccountsListView"
Grid.Row="1"
x:Load="{x:Bind ViewModel.HasAccountsDefined, Mode=OneWay}"
ItemContainerStyle="{StaticResource StretchedItemContainerStyle}"
ItemTemplateSelector="{StaticResource AccountProviderViewModelTemplateSelector}"
ItemsSource="{x:Bind ViewModel.Accounts, Mode=OneWay}"
SelectionMode="None">
<ListView.Header>
<StackPanel>
<winuiControls:SettingsCard Header="{x:Bind domain:Translator.SettingsStartupItem_Title}" Description="{x:Bind domain:Translator.SettingsStartupItem_Description}">
<ComboBox MinWidth="150"
ItemsSource="{x:Bind ViewModel.Accounts, Mode=OneTime}"
DisplayMemberPath="StartupEntityTitle"
SelectedItem="{x:Bind ViewModel.StartupAccount, Mode=TwoWay}" />
<winuiControls:SettingsCard.HeaderIcon>
<SymbolIcon Symbol="Account" />
</winuiControls:SettingsCard.HeaderIcon>
</winuiControls:SettingsCard>
<winuiControls:SettingsCard Command="{x:Bind ViewModel.CreateMergedAccountCommand}"
IsClickEnabled="True"
Header="{x:Bind domain:Translator.SettingsLinkAccounts_Title}"
IsActionIconVisible="False"
Description="{x:Bind domain:Translator.SettingsLinkAccounts_Description}">
<winuiControls:SettingsCard.HeaderIcon>
<PathIcon Data="F1 M 8.613281 17.5 C 8.75 17.942709 8.945312 18.359375 9.199219 18.75 L 4.921875 18.75 C 4.433594 18.75 3.966471 18.650717 3.520508 18.452148 C 3.074544 18.25358 2.683919 17.986654 2.348633 17.651367 C 2.013346 17.31608 1.746419 16.925455 1.547852 16.479492 C 1.349284 16.033529 1.25 15.566406 1.25 15.078125 L 1.25 4.921875 C 1.25 4.433594 1.349284 3.966473 1.547852 3.520508 C 1.746419 3.074545 2.013346 2.68392 2.348633 2.348633 C 2.683919 2.013348 3.074544 1.74642 3.520508 1.547852 C 3.966471 1.349285 4.433594 1.25 4.921875 1.25 L 15.078125 1.25 C 15.566406 1.25 16.033527 1.349285 16.479492 1.547852 C 16.925455 1.74642 17.31608 2.013348 17.651367 2.348633 C 17.986652 2.68392 18.25358 3.074545 18.452148 3.520508 C 18.650715 3.966473 18.75 4.433594 18.75 4.921875 L 18.75 6.572266 C 18.580729 6.344402 18.390299 6.132813 18.178711 5.9375 C 17.967121 5.742188 17.740885 5.566407 17.5 5.410156 L 17.5 4.951172 C 17.5 4.625651 17.433268 4.314779 17.299805 4.018555 C 17.16634 3.722332 16.987305 3.461914 16.762695 3.237305 C 16.538086 3.012695 16.277668 2.83366 15.981445 2.700195 C 15.685221 2.566732 15.374349 2.5 15.048828 2.5 L 4.951172 2.5 C 4.619141 2.5 4.303385 2.568359 4.003906 2.705078 C 3.704427 2.841797 3.44401 3.02409 3.222656 3.251953 C 3.001302 3.479818 2.825521 3.745117 2.695312 4.047852 C 2.565104 4.350587 2.5 4.66797 2.5 5 L 13.310547 5 C 12.60091 5.266928 11.998697 5.683594 11.503906 6.25 L 2.5 6.25 L 2.5 15.048828 C 2.5 15.38737 2.568359 15.704753 2.705078 16.000977 C 2.841797 16.297201 3.024088 16.55599 3.251953 16.777344 C 3.479818 16.998697 3.745117 17.174479 4.047852 17.304688 C 4.350586 17.434896 4.667969 17.5 5 17.5 Z M 18.125 9.443359 C 18.125 9.866537 18.040363 10.263672 17.871094 10.634766 C 17.701822 11.005859 17.473957 11.329753 17.1875 11.606445 C 16.901041 11.883139 16.56901 12.101237 16.191406 12.260742 C 15.813802 12.420248 15.416666 12.5 15 12.5 C 14.563802 12.5 14.1569 12.41862 13.779297 12.255859 C 13.401691 12.0931 13.071288 11.870117 12.788086 11.586914 C 12.504882 11.303711 12.2819 10.973308 12.119141 10.595703 C 11.95638 10.2181 11.875 9.811198 11.875 9.375 C 11.875 8.938803 11.95638 8.531901 12.119141 8.154297 C 12.2819 7.776693 12.504882 7.446289 12.788086 7.163086 C 13.071288 6.879883 13.401691 6.656901 13.779297 6.494141 C 14.1569 6.331381 14.563802 6.25 15 6.25 C 15.449218 6.25 15.864257 6.333008 16.245117 6.499023 C 16.625977 6.665039 16.956379 6.892904 17.236328 7.182617 C 17.516275 7.472331 17.734375 7.810873 17.890625 8.198242 C 18.046875 8.585612 18.125 9.000651 18.125 9.443359 Z M 20 16.25 C 20 16.666666 19.926758 17.049154 19.780273 17.397461 C 19.633789 17.745768 19.435221 18.058268 19.18457 18.334961 C 18.933918 18.611654 18.642578 18.854166 18.310547 19.0625 C 17.978516 19.270834 17.626953 19.444986 17.255859 19.584961 C 16.884766 19.724936 16.505533 19.829102 16.118164 19.897461 C 15.730794 19.96582 15.358072 20 15 20 C 14.654947 20 14.291992 19.96582 13.911133 19.897461 C 13.530273 19.829102 13.154297 19.726562 12.783203 19.589844 C 12.412109 19.453125 12.058919 19.282227 11.723633 19.077148 C 11.388346 18.87207 11.092122 18.632812 10.834961 18.359375 C 10.577799 18.085938 10.374349 17.779947 10.224609 17.441406 C 10.074869 17.102865 10 16.731771 10 16.328125 L 10 15.78125 C 10 15.501303 10.052083 15.237631 10.15625 14.990234 C 10.260416 14.742839 10.405273 14.526367 10.59082 14.34082 C 10.776367 14.155273 10.991211 14.010417 11.235352 13.90625 C 11.479492 13.802084 11.744791 13.75 12.03125 13.75 L 17.96875 13.75 C 18.248697 13.75 18.512369 13.803711 18.759766 13.911133 C 19.00716 14.018555 19.222004 14.163412 19.404297 14.345703 C 19.586588 14.527995 19.731445 14.742839 19.838867 14.990234 C 19.946289 15.237631 20 15.501303 20 15.78125 Z " />
</winuiControls:SettingsCard.HeaderIcon>
</winuiControls:SettingsCard>
<winuiControls:SettingsCard Command="{x:Bind ViewModel.ReorderAccountsCommand}"
IsClickEnabled="True"
Header="{x:Bind domain:Translator.SettingsReorderAccounts_Title}"
IsActionIconVisible="False"
Description="{x:Bind domain:Translator.SettingsReorderAccounts_Description}">
<winuiControls:SettingsCard.HeaderIcon>
<PathIcon Data="F1 M 2.5 6.25 C 2.324219 6.25 2.159831 6.217448 2.006836 6.152344 C 1.853841 6.08724 1.722005 5.99935 1.611328 5.888672 C 1.500651 5.777995 1.41276 5.646159 1.347656 5.493164 C 1.282552 5.34017 1.25 5.175782 1.25 5 L 1.25 2.5 C 1.25 2.324219 1.282552 2.161459 1.347656 2.011719 C 1.41276 1.86198 1.502279 1.730145 1.616211 1.616211 C 1.730143 1.502279 1.861979 1.412762 2.011719 1.347656 C 2.161458 1.282553 2.324219 1.25 2.5 1.25 L 5 1.25 C 5.169271 1.25 5.330403 1.282553 5.483398 1.347656 C 5.636393 1.412762 5.769856 1.502279 5.883789 1.616211 C 5.997721 1.730145 6.087239 1.863607 6.152344 2.016602 C 6.217448 2.169598 6.25 2.33073 6.25 2.5 L 6.25 5 C 6.25 5.175782 6.217448 5.338543 6.152344 5.488281 C 6.087239 5.638021 5.997721 5.769857 5.883789 5.883789 C 5.769856 5.997723 5.638021 6.08724 5.488281 6.152344 C 5.338542 6.217448 5.175781 6.25 5 6.25 Z M 2.5 2.5 L 2.5 5 L 5 5 L 5 2.5 Z M 8.125 3.75 C 7.955729 3.75 7.809245 3.688152 7.685547 3.564453 C 7.561849 3.440756 7.5 3.294271 7.5 3.125 C 7.5 2.95573 7.561849 2.809246 7.685547 2.685547 C 7.809245 2.56185 7.955729 2.5 8.125 2.5 L 18.125 2.5 C 18.29427 2.5 18.440754 2.56185 18.564453 2.685547 C 18.68815 2.809246 18.75 2.95573 18.75 3.125 C 18.75 3.294271 18.68815 3.440756 18.564453 3.564453 C 18.440754 3.688152 18.29427 3.75 18.125 3.75 Z M 2.5 12.5 C 2.324219 12.5 2.159831 12.467448 2.006836 12.402344 C 1.853841 12.33724 1.722005 12.24935 1.611328 12.138672 C 1.500651 12.027995 1.41276 11.896159 1.347656 11.743164 C 1.282552 11.59017 1.25 11.425781 1.25 11.25 L 1.25 8.75 C 1.25 8.574219 1.282552 8.411459 1.347656 8.261719 C 1.41276 8.111979 1.502279 7.980144 1.616211 7.866211 C 1.730143 7.752279 1.861979 7.662762 2.011719 7.597656 C 2.161458 7.532553 2.324219 7.5 2.5 7.5 L 5 7.5 C 5.169271 7.5 5.330403 7.532553 5.483398 7.597656 C 5.636393 7.662762 5.769856 7.752279 5.883789 7.866211 C 5.997721 7.980144 6.087239 8.113607 6.152344 8.266602 C 6.217448 8.419597 6.25 8.580729 6.25 8.75 L 6.25 11.25 C 6.25 11.425781 6.217448 11.588542 6.152344 11.738281 C 6.087239 11.888021 5.997721 12.019857 5.883789 12.133789 C 5.769856 12.247722 5.638021 12.33724 5.488281 12.402344 C 5.338542 12.467448 5.175781 12.5 5 12.5 Z M 2.5 8.75 L 2.5 11.25 L 5 11.25 L 5 8.75 Z M 8.125 10 C 7.955729 10 7.809245 9.938151 7.685547 9.814453 C 7.561849 9.690756 7.5 9.544271 7.5 9.375 C 7.5 9.205729 7.561849 9.059245 7.685547 8.935547 C 7.809245 8.81185 7.955729 8.75 8.125 8.75 L 18.125 8.75 C 18.29427 8.75 18.440754 8.81185 18.564453 8.935547 C 18.68815 9.059245 18.75 9.205729 18.75 9.375 C 18.75 9.544271 18.68815 9.690756 18.564453 9.814453 C 18.440754 9.938151 18.29427 10 18.125 10 Z M 2.5 18.75 C 2.324219 18.75 2.159831 18.717447 2.006836 18.652344 C 1.853841 18.58724 1.722005 18.49935 1.611328 18.388672 C 1.500651 18.277994 1.41276 18.146158 1.347656 17.993164 C 1.282552 17.84017 1.25 17.675781 1.25 17.5 L 1.25 15 C 1.25 14.824219 1.282552 14.661459 1.347656 14.511719 C 1.41276 14.361979 1.502279 14.230144 1.616211 14.116211 C 1.730143 14.002279 1.861979 13.912761 2.011719 13.847656 C 2.161458 13.782553 2.324219 13.75 2.5 13.75 L 5 13.75 C 5.169271 13.75 5.330403 13.782553 5.483398 13.847656 C 5.636393 13.912761 5.769856 14.002279 5.883789 14.116211 C 5.997721 14.230144 6.087239 14.363607 6.152344 14.516602 C 6.217448 14.669597 6.25 14.830729 6.25 15 L 6.25 17.5 C 6.25 17.675781 6.217448 17.838541 6.152344 17.988281 C 6.087239 18.138021 5.997721 18.269857 5.883789 18.383789 C 5.769856 18.497721 5.638021 18.58724 5.488281 18.652344 C 5.338542 18.717447 5.175781 18.75 5 18.75 Z M 2.5 15 L 2.5 17.5 L 5 17.5 L 5 15 Z M 8.125 16.25 C 7.955729 16.25 7.809245 16.188152 7.685547 16.064453 C 7.561849 15.940756 7.5 15.794271 7.5 15.625 C 7.5 15.455729 7.561849 15.309245 7.685547 15.185547 C 7.809245 15.06185 7.955729 15 8.125 15 L 18.125 15 C 18.29427 15 18.440754 15.06185 18.564453 15.185547 C 18.68815 15.309245 18.75 15.455729 18.75 15.625 C 18.75 15.794271 18.68815 15.940756 18.564453 16.064453 C 18.440754 16.188152 18.29427 16.25 18.125 16.25 Z " />
</winuiControls:SettingsCard.HeaderIcon>
</winuiControls:SettingsCard>
</StackPanel>
</ListView.Header>
<ListView.ItemsPanel>
<ItemsPanelTemplate>
<ItemsStackPanel Orientation="Vertical" />
</ItemsPanelTemplate>
</ListView.ItemsPanel>
</ListView>
<!-- No Accounts Panel -->
<Grid x:Name="NoAccountsPanel"
Grid.Row="1"
x:Load="{x:Bind ViewModel.HasAccountsDefined, Mode=OneWay, Converter={StaticResource ReverseBooleanConverter}}">
<StackPanel Margin="0,150,0,0"
VerticalAlignment="Top"
Spacing="12">
<Viewbox Width="90"
Height="90"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<PathIcon HorizontalAlignment="Center"
VerticalAlignment="Center"
Data="F1 M 18.066406 6.71875 C 18.359375 6.881512 18.626301 7.081707 18.867188 7.319336 C 19.108072 7.556967 19.311523 7.817383 19.477539 8.100586 C 19.643555 8.383789 19.772135 8.686523 19.863281 9.008789 C 19.954426 9.331055 20 9.661459 20 10 L 18.75 10 C 18.75 9.661459 18.683268 9.339193 18.549805 9.033203 C 18.41634 8.727214 18.237305 8.461914 18.012695 8.237305 C 17.788086 8.012696 17.522785 7.83366 17.216797 7.700195 C 16.910807 7.566732 16.588541 7.5 16.25 7.5 C 15.904947 7.5 15.581054 7.566732 15.27832 7.700195 C 14.975585 7.83366 14.711913 8.012696 14.487305 8.237305 C 14.262694 8.461914 14.083658 8.727214 13.950195 9.033203 C 13.816731 9.339193 13.75 9.661459 13.75 10 C 13.75 10.592448 13.614908 11.1556 13.344727 11.689453 C 13.074544 12.223308 12.701822 12.666016 12.226562 13.017578 C 12.649738 13.232422 13.032226 13.497722 13.374023 13.813477 C 13.715819 14.129232 14.00716 14.480795 14.248047 14.868164 C 14.488932 15.255534 14.674479 15.672201 14.804688 16.118164 C 14.934895 16.564127 14.999999 17.02474 15 17.5 L 13.75 17.5 C 13.75 16.985678 13.650716 16.50065 13.452148 16.044922 C 13.25358 15.589193 12.985025 15.192058 12.646484 14.853516 C 12.307942 14.514975 11.910807 14.24642 11.455078 14.047852 C 10.999349 13.849284 10.514322 13.75 10 13.75 C 9.485677 13.75 9.00065 13.849284 8.544922 14.047852 C 8.089192 14.24642 7.692057 14.514975 7.353516 14.853516 C 7.014974 15.192058 6.746419 15.589193 6.547852 16.044922 C 6.349284 16.50065 6.25 16.985678 6.25 17.5 L 5 17.5 C 5 17.02474 5.065104 16.564127 5.195312 16.118164 C 5.325521 15.672201 5.511067 15.255534 5.751953 14.868164 C 5.992838 14.480795 6.28418 14.129232 6.625977 13.813477 C 6.967773 13.497722 7.35026 13.232422 7.773438 13.017578 C 7.298177 12.666016 6.925455 12.223308 6.655273 11.689453 C 6.385091 11.1556 6.25 10.592448 6.25 10 C 6.25 9.661459 6.183268 9.339193 6.049805 9.033203 C 5.916341 8.727214 5.737305 8.461914 5.512695 8.237305 C 5.288086 8.012696 5.022786 7.83366 4.716797 7.700195 C 4.410807 7.566732 4.088542 7.5 3.75 7.5 C 3.404948 7.5 3.081055 7.566732 2.77832 7.700195 C 2.475586 7.83366 2.211914 8.012696 1.987305 8.237305 C 1.762695 8.461914 1.583659 8.727214 1.450195 9.033203 C 1.316732 9.339193 1.25 9.661459 1.25 10 L 0 10 C 0 9.661459 0.045573 9.331055 0.136719 9.008789 C 0.227865 8.686523 0.356445 8.383789 0.522461 8.100586 C 0.688477 7.817383 0.891927 7.556967 1.132812 7.319336 C 1.373698 7.081707 1.640625 6.881512 1.933594 6.71875 C 1.71875 6.490887 1.551107 6.227215 1.430664 5.927734 C 1.310221 5.628256 1.25 5.319011 1.25 5 C 1.25 4.661459 1.316732 4.339193 1.450195 4.033203 C 1.583659 3.727215 1.762695 3.461914 1.987305 3.237305 C 2.211914 3.012695 2.475586 2.83366 2.77832 2.700195 C 3.081055 2.566732 3.404948 2.5 3.75 2.5 C 4.088542 2.5 4.410807 2.566732 4.716797 2.700195 C 5.022786 2.83366 5.288086 3.012695 5.512695 3.237305 C 5.737305 3.461914 5.916341 3.727215 6.049805 4.033203 C 6.183268 4.339193 6.25 4.661459 6.25 5 C 6.25 5.319011 6.189778 5.628256 6.069336 5.927734 C 5.948893 6.227215 5.78125 6.490887 5.566406 6.71875 C 6.10026 7.011719 6.536458 7.415365 6.875 7.929688 C 7.226562 7.408854 7.677409 6.998698 8.227539 6.699219 C 8.777669 6.39974 9.368489 6.25 10 6.25 C 10.63151 6.25 11.22233 6.39974 11.772461 6.699219 C 12.32259 6.998698 12.773437 7.408854 13.125 7.929688 C 13.463541 7.415365 13.899739 7.011719 14.433594 6.71875 C 14.21875 6.490887 14.051106 6.227215 13.930664 5.927734 C 13.810221 5.628256 13.75 5.319011 13.75 5 C 13.75 4.661459 13.816731 4.339193 13.950195 4.033203 C 14.083658 3.727215 14.262694 3.461914 14.487305 3.237305 C 14.711913 3.012695 14.975585 2.83366 15.27832 2.700195 C 15.581054 2.566732 15.904947 2.5 16.25 2.5 C 16.588541 2.5 16.910807 2.566732 17.216797 2.700195 C 17.522785 2.83366 17.788086 3.012695 18.012695 3.237305 C 18.237305 3.461914 18.41634 3.727215 18.549805 4.033203 C 18.683268 4.339193 18.75 4.661459 18.75 5 C 18.75 5.319011 18.689777 5.628256 18.569336 5.927734 C 18.448893 6.227215 18.28125 6.490887 18.066406 6.71875 Z M 2.5 5 C 2.5 5.175782 2.532552 5.338543 2.597656 5.488281 C 2.66276 5.638021 2.752279 5.769857 2.866211 5.883789 C 2.980143 5.997723 3.111979 6.08724 3.261719 6.152344 C 3.411458 6.217448 3.574219 6.25 3.75 6.25 C 3.925781 6.25 4.088542 6.217448 4.238281 6.152344 C 4.388021 6.08724 4.519856 5.997723 4.633789 5.883789 C 4.747721 5.769857 4.837239 5.638021 4.902344 5.488281 C 4.967448 5.338543 5 5.175782 5 5 C 5 4.82422 4.967448 4.661459 4.902344 4.511719 C 4.837239 4.361979 4.747721 4.230144 4.633789 4.116211 C 4.519856 4.002279 4.388021 3.912762 4.238281 3.847656 C 4.088542 3.782553 3.925781 3.75 3.75 3.75 C 3.574219 3.75 3.411458 3.782553 3.261719 3.847656 C 3.111979 3.912762 2.980143 4.002279 2.866211 4.116211 C 2.752279 4.230144 2.66276 4.361979 2.597656 4.511719 C 2.532552 4.661459 2.5 4.82422 2.5 5 Z M 10 12.5 C 10.338541 12.5 10.660807 12.433269 10.966797 12.299805 C 11.272786 12.166342 11.538086 11.987305 11.762695 11.762695 C 11.987304 11.538086 12.16634 11.274414 12.299805 10.97168 C 12.433268 10.668945 12.5 10.345053 12.5 10 C 12.5 9.661459 12.433268 9.339193 12.299805 9.033203 C 12.16634 8.727214 11.987304 8.461914 11.762695 8.237305 C 11.538086 8.012696 11.272786 7.83366 10.966797 7.700195 C 10.660807 7.566732 10.338541 7.5 10 7.5 C 9.654947 7.5 9.331055 7.566732 9.02832 7.700195 C 8.725586 7.83366 8.461914 8.012696 8.237305 8.237305 C 8.012695 8.461914 7.833659 8.727214 7.700195 9.033203 C 7.566731 9.339193 7.5 9.661459 7.5 10 C 7.5 10.345053 7.566731 10.668945 7.700195 10.97168 C 7.833659 11.274414 8.012695 11.538086 8.237305 11.762695 C 8.461914 11.987305 8.725586 12.166342 9.02832 12.299805 C 9.331055 12.433269 9.654947 12.5 10 12.5 Z M 15 5 C 14.999999 5.175782 15.032551 5.338543 15.097656 5.488281 C 15.16276 5.638021 15.252278 5.769857 15.366211 5.883789 C 15.480143 5.997723 15.611979 6.08724 15.761719 6.152344 C 15.911458 6.217448 16.074219 6.25 16.25 6.25 C 16.425781 6.25 16.588541 6.217448 16.738281 6.152344 C 16.88802 6.08724 17.019855 5.997723 17.133789 5.883789 C 17.247721 5.769857 17.337238 5.638021 17.402344 5.488281 C 17.467447 5.338543 17.5 5.175782 17.5 5 C 17.5 4.82422 17.467447 4.661459 17.402344 4.511719 C 17.337238 4.361979 17.247721 4.230144 17.133789 4.116211 C 17.019855 4.002279 16.88802 3.912762 16.738281 3.847656 C 16.588541 3.782553 16.425781 3.75 16.25 3.75 C 16.074219 3.75 15.911458 3.782553 15.761719 3.847656 C 15.611979 3.912762 15.480143 4.002279 15.366211 4.116211 C 15.252278 4.230144 15.16276 4.361979 15.097656 4.511719 C 15.032551 4.661459 14.999999 4.82422 15 5 Z " />
</Viewbox>
<TextBlock HorizontalAlignment="Center"
VerticalAlignment="Center"
Style="{StaticResource SubheaderTextBlockStyle}"
Text="{x:Bind domain:Translator.SettingsNoAccountSetupMessage}" />
</StackPanel>
</Grid>
</Grid>
</ScrollViewer>
</abstract:AccountManagementPageAbstract>