Private/Show-Logo.ps1
|
#!/usr/bin/env pwsh # Auto-generated by PX2PS 2025.12.29 # Source: Deck.px (72x27) # Generated: 2026-01-12 13:13:32 function Show-Logo { <# .SYNOPSIS Displays the Deck logo in terminal. .DESCRIPTION Renders the Deck logo as true-color pixel art in the terminal using ANSI escape codes. The logo is 72 characters wide by 27 lines tall, displayed using half-block characters (▄) for efficient vertical space usage. Auto-generated by PX2PS (Pixel to PowerShell converter) from a pixel art source image. Includes Virtual Terminal Processing enablement for Windows PowerShell 5.1 compatibility. Uses true-color (24-bit RGB) ANSI sequences for accurate color representation, falling back gracefully on terminals without true-color support. .EXAMPLE Show-Logo Displays the Deck logo with "Thank you for choosing:" header. .OUTPUTS None. Writes directly to host console. .NOTES Technical Details: - Format: True-color ANSI (24-bit RGB) - Dimensions: 72x27 characters - Character: Lower Half Block (U+2584) - Generator: PX2PS 2025.12.29 - Generated: 2026-01-12 13:13:32 Color Encoding: - Foreground: ESC[38;2;R;G;Bm - Background: ESC[48;2;R;G;Bm - Each pixel defined as @(R, G, B, Alpha) Windows PowerShell 5.1 Support: - Automatically enables Virtual Terminal Processing - Uses P/Invoke to kernel32.dll (GetStdHandle, SetConsoleMode) - Silently fails if VT already enabled or unavailable - No-op on non-Windows systems Half-Block Technique: - Uses ▄ (Lower Half Block) character - Renders two pixels per character cell (top and bottom) - Top pixel: Background color - Bottom pixel: Foreground color - Efficient: 27 lines instead of 54 Terminal Compatibility: - Requires true-color support for full effect - Degrades gracefully on 256-color terminals - May appear monochrome on 16-color terminals Pixel Data: - Array of 1944 pixels (72 width × 27 height) - Each pixel: [R, G, B, A] values (0-255) - Alpha channel currently unused Performance: - Pre-computed RGB values - String interpolation for ANSI codes - Single Write-Host call per line Generator (PX2PS): - Converts pixel art to PowerShell scripts - Preserves exact colors from source - Optimizes for terminal rendering - Available: github.com/ShaunLawrie/PX2PS Usage Context: - Reserved for potential future use in presentations - Could display on first slide or exit - Currently not integrated into Show-Deck flow #> # Enable Virtual Terminal Processing for ANSI colors (Windows PowerShell 5.1 compatibility) if ($PSVersionTable.PSVersion.Major -le 5 -and $env:OS -eq 'Windows_NT') { try { Add-Type -TypeDefinition @" using System; using System.Runtime.InteropServices; public class VTConsole { [DllImport("kernel32.dll", SetLastError = true)] public static extern IntPtr GetStdHandle(int nStdHandle); [DllImport("kernel32.dll", SetLastError = true)] public static extern bool GetConsoleMode(IntPtr hConsoleHandle, out uint lpMode); [DllImport("kernel32.dll", SetLastError = true)] public static extern bool SetConsoleMode(IntPtr hConsoleHandle, uint dwMode); public static void EnableVT() { IntPtr handle = GetStdHandle(-11); uint mode; GetConsoleMode(handle, out mode); SetConsoleMode(handle, mode | 0x4); } } "@ -ErrorAction SilentlyContinue [VTConsole]::EnableVT() } catch { # VT processing may already be enabled or not available } } $ESC = [char]27 $LowerHalfBlock = [char]0x2584 function Get-TrueColorFg { param([int]$R, [int]$G, [int]$B) return "$ESC[38;2;${R};${G};${B}m" } function Get-TrueColorBg { param([int]$R, [int]$G, [int]$B) return "$ESC[48;2;${R};${G};${B}m" } Write-Host '' Write-Host 'Thank you for choosing:' $width = 72 $height = 27 $pixels = @( @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(238,215,197,255), @(238,215,197,255), @(238,215,197,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(168,147,123,255), @(168,147,123,255), @(168,147,123,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(0,0,0,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255), @(255,255,255,255) ) $oddHeight = ($height % 2) -eq 1 $startY = if ($oddHeight) { -1 } else { 0 } $endY = if ($oddHeight) { $height - 1 } else { $height } for ($y = $startY; $y -lt $endY; $y += 2) { $line = "" for ($x = 0; $x -lt $width; $x++) { $topY = $y $bottomY = $y + 1 if ($topY -lt 0) { $topPixel = $null } else { $topIdx = ($topY * $width) + $x $topPixel = if ($topIdx -lt $pixels.Count) { $pixels[$topIdx] } else { @(0, 0, 0, 0) } } $bottomIdx = ($bottomY * $width) + $x $bottomPixel = if ($bottomIdx -lt $pixels.Count) { $pixels[$bottomIdx] } else { @(0, 0, 0, 0) } $botR = if ($bottomPixel[3] -lt 32) { 0 } else { $bottomPixel[0] } $botG = if ($bottomPixel[3] -lt 32) { 0 } else { $bottomPixel[1] } $botB = if ($bottomPixel[3] -lt 32) { 0 } else { $bottomPixel[2] } if ($null -eq $topPixel) { $fg = Get-TrueColorFg -R $botR -G $botG -B $botB $line += "${fg}$LowerHalfBlock" } else { $topR = if ($topPixel[3] -lt 32) { 0 } else { $topPixel[0] } $topG = if ($topPixel[3] -lt 32) { 0 } else { $topPixel[1] } $topB = if ($topPixel[3] -lt 32) { 0 } else { $topPixel[2] } $bg = Get-TrueColorBg -R $topR -G $topG -B $topB $fg = Get-TrueColorFg -R $botR -G $botG -B $botB $line += "${bg}${fg}$LowerHalfBlock" } } $line += "$ESC[0m$ESC[K" Write-Host $line } Write-Host " by Jake Hildreth" Write-Host Write-Host "Try it out now:" Write-Host Write-Host "PS> Show-Deck -Path https://raw.githubusercontent.com/jakehildreth/Deck/main/Examples/ExampleDeck.md" } |