Skip to content

armgit / WSM

Public Imported from GitHub
0

Run macOS applications on your Windows desktop, with a background runtime and integrated app windows.

C++

Release WSM 0.2.3 setup reliability and fullscreen improvements

mxhm11cr1a9268bd5464
diff --git a/.gitattributes b/.gitattributes
index 045b8da..1c450f6 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,2 +1,3 @@
*.sh text eol=lf
*.plist text eol=lf
+*.ppm binary
diff --git a/README.md b/README.md
index ce62225..0bf192c 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
<p align="center"><img src="assets/branding/wsm-icon.png" width="128" alt="WSM icon"></p>
<h1 align="center">WSM</h1>
<p align="center"><strong>Windows Subsystem for macOS</strong><br>Like WSL — but for macOS apps.</p>
-<p align="center"><img src="assets/branding/release-badge.svg" alt="Release 0.2.1"> <img src="assets/branding/platform-badge.svg" alt="Windows x64"> <img src="assets/branding/runtime-badge.svg" alt="macOS Tahoe"></p>
+<p align="center"><img src="assets/branding/release-badge.svg" alt="Release 0.2.3"> <img src="assets/branding/platform-badge.svg" alt="Windows x64"> <img src="assets/branding/runtime-badge.svg" alt="macOS Tahoe"></p>
WSM brings macOS applications to your Windows desktop. Inspired by the convenience of WSL, it manages a virtualized macOS runtime in the background and presents supported apps in their own windows alongside your Windows applications.
@@ -9,7 +9,7 @@ After setup, add an app through the WSM library or open a supported Mac installe
> **Compatibility:** Application support and functionality vary; some integrations are still being improved.
-[Download](https://github.com/mxhm11cr/WSM/releases/download/v0.2.1/WSM-Setup-0.2.1.exe) · [Getting started](#getting-started) · [Features](#features) · [Screenshots](#screenshots) · [Performance](#performance) · [How it works](#how-it-works) · [FAQ](#faq)
+[Download](https://github.com/mxhm11cr/WSM/releases/latest) · [Getting started](#getting-started) · [Features](#features) · [Screenshots](#screenshots) · [Performance](#performance) · [How it works](#how-it-works) · [FAQ](#faq)
## See it running
@@ -30,6 +30,7 @@ https://github.com/user-attachments/assets/dc418428-faef-4d71-acfd-998a7267f0c0
## Features
- **Individual app windows** — macOS applications appear alongside Windows applications, with their own taskbar icons.
+- **Fullscreen apps** — use the green window button, F11 or Alt+Enter; press Esc to return to the previous window size.
- **App library and installation** — manage apps from WSM or open supported `.dmg`, `.pkg`, and `.app` files.
- **GPU acceleration** — a virtual GPU exposes Metal support to the macOS runtime.
- **Desktop integration** — shortcuts, keyboard mapping, clipboard sharing, and access to Windows drives.
@@ -47,7 +48,7 @@ https://github.com/user-attachments/assets/dc418428-faef-4d71-acfd-998a7267f0c0
### Installation
-1. Download [WSM-Setup-0.2.1.exe](https://github.com/mxhm11cr/WSM/releases/download/v0.2.1/WSM-Setup-0.2.1.exe).
+1. Download [WSM-Setup-0.2.1.exe](https://github.com/mxhm11cr/WSM/releases/latest).
2. Run the installer and choose where to install WSM.
3. Open WSM and follow the setup wizard to prepare the macOS runtime.
4. Add a supported app or choose a built-in app from the library, then launch it from WSM or its shortcut.
diff --git a/assets/branding/release-badge.svg b/assets/branding/release-badge.svg
index 4a8d61f..b01ac8f 100644
--- a/assets/branding/release-badge.svg
+++ b/assets/branding/release-badge.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="132" height="24" role="img" aria-label="Release 0.2.1"><rect width="132" height="24" rx="5" fill="#1e293b"/><path d="M64 0h63a5 5 0 0 1 5 5v14a5 5 0 0 1-5 5H64z" fill="#2563eb"/><g fill="#fff" font-family="Verdana,Arial,sans-serif" font-size="11" text-anchor="middle"><text x="32" y="16">Release</text><text x="98" y="16">0.2.1</text></g></svg>
+<svg xmlns="http://www.w3.org/2000/svg" width="132" height="24" role="img" aria-label="Release 0.2.3"><rect width="132" height="24" rx="5" fill="#1e293b"/><path d="M64 0h63a5 5 0 0 1 5 5v14a5 5 0 0 1-5 5H64z" fill="#2563eb"/><g fill="#fff" font-family="Verdana,Arial,sans-serif" font-size="11" text-anchor="middle"><text x="32" y="16">Release</text><text x="98" y="16">0.2.3</text></g></svg>
diff --git a/packaging/build-release.ps1 b/packaging/build-release.ps1
index b1ff361..8f35a8c 100644
--- a/packaging/build-release.ps1
+++ b/packaging/build-release.ps1
@@ -13,10 +13,11 @@
# runtime\reims-ctl\qemu\current\ QEMU with reims-vgpu, x86-64 only, debug info stripped
# runtime\reims-ctl\prebuilt\ the GPU option ROM and macOS GPU kexts
# licenses\
-param([string]$Version = "0.2.0", [switch]$NoZip, [string]$BinDir = "")
+param([string]$Version = "0.2.0", [switch]$NoZip, [string]$BinDir = "", [string]$QemuDir = "")
$ErrorActionPreference = 'Stop'
$root = Split-Path -Parent $PSScriptRoot
+if ($Version -notmatch '^[0-9A-Za-z][0-9A-Za-z._-]*$') { throw 'Invalid package version' }
$stage = Join-Path $root "dist\WSM-$Version-win64"
$zip = Join-Path $root "dist\WSM-$Version-win64.zip"
$strip = Join-Path $root "toolchains\msys64\clang64\bin\llvm-strip.exe"
@@ -32,7 +33,9 @@ function Copy-Dir($from, $to, [string[]]$excludeFiles = @(), [string[]]$excludeD
}
# Fresh stage every time: an old stage once picked up a WebView2 browser cache.
-if (Test-Path $stage) { Remove-Item -Recurse -Force $stage }
+$distRoot = [IO.Path]::GetFullPath((Join-Path $root 'dist')) + [IO.Path]::DirectorySeparatorChar
+if (-not [IO.Path]::GetFullPath($stage).StartsWith($distRoot, [StringComparison]::OrdinalIgnoreCase)) { throw 'Stage must remain inside dist' }
+if (Test-Path $stage) { Remove-Item -LiteralPath $stage -Recurse -Force }
New-Item -ItemType Directory -Force -Path "$stage\bin", "$stage\ui", "$stage\licenses" | Out-Null
# 1. WSM itself.
@@ -54,7 +57,8 @@ Copy-Dir (Join-Path $root 'runtime\reims-ctl\prebuilt') "$stage\runtime\reims-ct
# 3. QEMU, as a real folder (reims-ctl loads qemu\current\bin\qemu-system-x86_64.exe).
# Only what an x86-64 macOS guest uses: no firmware for other CPUs, no second (windowless)
# QEMU build, no developer tools.
-$qemu = (Get-Item (Join-Path $root 'runtime\reims-ctl\qemu\current')).FullName
+if (-not $QemuDir) { $QemuDir = Join-Path $root 'runtime\reims-ctl\qemu\current' }
+$qemu = (Get-Item -LiteralPath $QemuDir).FullName
$t = (Get-Item $qemu).Target; if ($t) { $qemu = @($t)[0] }
$otherCpus = @('edk2-aarch64-*', 'edk2-riscv64-*', 'edk2-loongarch64-*', 'hexagon*', 'hppa-firmware*', 'openbios-*',
's390-ccw.img', 'slof.bin', 'skiboot.lid', 'u-boot*', 'palcode-clipper', 'opensbi-*', 'npcm*',
@@ -62,6 +66,12 @@ $otherCpus = @('edk2-aarch64-*', 'edk2-riscv64-*', 'edk2-loongarch64-*', 'hexago
$devTools = @('qemu-system-x86_64w.exe', 'qemu-io.exe', 'qemu-nbd.exe', 'qemu-storage-daemon.exe', 'qemu-edid.exe',
'elf2dmp.exe', '*.exe.debug-orig', '*.pdb')
Copy-Dir $qemu "$stage\runtime\reims-ctl\qemu\current" ($otherCpus + $devTools) @('include')
+# These two files are required by the bundled x86-64 QEMU command line. A package
+# without them starts reims-ctl but fails before the guest is created (issue #38).
+foreach ($asset in 'share\kvmvapic.bin', 'share\efi-virtio.rom') {
+ $p = Join-Path "$stage\runtime\reims-ctl\qemu\current" $asset
+ if (-not (Test-Path $p -PathType Leaf)) { throw "missing required QEMU runtime asset in package: $asset" }
+}
if (Test-Path $strip) {
Get-ChildItem "$stage\runtime\reims-ctl\qemu\current\bin\*.exe" | ForEach-Object { & $strip --strip-debug $_.FullName }
} else { Write-Warning "llvm-strip not found: QEMU ships with debug info (~170 MB more)" }
@@ -73,6 +83,9 @@ foreach ($l in @(@('upstream\reims-vgpu\LICENSE', 'LICENSE-reims-vgpu.txt'), @('
}
foreach ($l in Get-ChildItem $qemu -File -Filter 'COPYING*' -ErrorAction SilentlyContinue) { Copy-Item $l.FullName "$stage\licenses\QEMU-$($l.Name).txt" }
foreach ($l in @('edk2-licenses.txt')) { $p = Join-Path $qemu "share\$l"; if (Test-Path $p) { Copy-Item $p "$stage\licenses\$l" } }
+if ($QemuDir -and (Test-Path (Join-Path $PSScriptRoot 'patches\QEMU-SOURCES.txt'))) {
+ Copy-Dir (Join-Path $PSScriptRoot 'patches') "$stage\licenses\qemu-patches"
+}
# 5. Nothing personal may be in the package.
$leaks = Get-ChildItem $stage -Recurse -Force | Where-Object {
diff --git a/packaging/patches/QEMU-SOURCES.txt b/packaging/patches/QEMU-SOURCES.txt
new file mode 100644
index 0000000..208e69c
--- /dev/null
+++ b/packaging/patches/QEMU-SOURCES.txt
@@ -0,0 +1,11 @@
+QEMU baseline: steelbrain/qemu-reims-vgpu, 4571bc5fecb039e8cfd6837e077810fbe074e11b
+Compatibility patches reproduced from Nwflower/Reims-Go tag runtime-3731afd-p3:
+https://github.com/Nwflower/Reims-Go/tree/runtime-3731afd-p3/patches
+
+Applied in this order:
+qemu-whpx-win10-compat.patch
+qemu-whpx-win10-startup-ipis.patch
+qemu-whpx-nested-virt-nonfatal.patch
+
+The patches retain QEMU's GPL licensing. The baseline sources and patches are
+required to reproduce this QEMU binary; they do not change the macOS disk.
diff --git a/packaging/patches/qemu-whpx-nested-virt-nonfatal.patch b/packaging/patches/qemu-whpx-nested-virt-nonfatal.patch
new file mode 100644
index 0000000..bda9b24
--- /dev/null
+++ b/packaging/patches/qemu-whpx-nested-virt-nonfatal.patch
@@ -0,0 +1,25 @@
+diff --git a/target/i386/whpx/whpx-all.c b/target/i386/whpx/whpx-all.c
+--- a/target/i386/whpx/whpx-all.c
++++ b/target/i386/whpx/whpx-all.c
+@@ -3525,17 +3525,16 @@
+ whpx_rdtsc_cap = processor_features.Bank0.RdtscpSupport;
+ whpx_invpcid_cap = processor_features.Bank0.InvpcidSupport;
+
+ if (whpx_irqchip_in_kernel() && processor_features.Bank1.NestedVirtSupport) {
+ memset(&prop, 0, sizeof(WHV_PARTITION_PROPERTY));
+ prop.NestedVirtualization = 1;
+ hr = whp_dispatch.WHvSetPartitionProperty(
+ whpx->partition,
+ WHvPartitionPropertyCodeNestedVirtualization,
+ &prop,
+ sizeof(WHV_PARTITION_PROPERTY));
+ if (FAILED(hr)) {
+- error_report("WHPX: Failed to enable nested virtualization, hr=%08lx", hr);
+- ret = -EINVAL;
+- goto error;
++ warn_report("WHPX: Failed to enable nested virtualization, hr=%08lx; continuing without nested virt", hr);
++ processor_features.Bank1.NestedVirtSupport = 0;
+ }
+ }
+
+ /*
diff --git a/packaging/patches/qemu-whpx-win10-compat.patch b/packaging/patches/qemu-whpx-win10-compat.patch
new file mode 100644
index 0000000..9836d5b
--- /dev/null
+++ b/packaging/patches/qemu-whpx-win10-compat.patch
@@ -0,0 +1,77 @@
+diff --git a/target/i386/whpx/whpx-all.c b/target/i386/whpx/whpx-all.c
+index 5aa46bc..4ef32ee 100644
+--- a/target/i386/whpx/whpx-all.c
++++ b/target/i386/whpx/whpx-all.c
+@@ -530,7 +530,8 @@ void whpx_set_registers(CPUState *cpu, WHPXStateLevel level)
+ assert(cpu_is_stopped(cpu) || qemu_cpu_is_self(cpu));
+
+ /* Assumes that cpu_synchronize_all_post_reset() runs cpu 0 first. */
+- if (level == WHPX_LEVEL_RESET_STATE && cpu->cpu_index == 0) {
++ if (level == WHPX_LEVEL_RESET_STATE && cpu->cpu_index == 0 &&
++ whp_dispatch.WHvResetPartition) {
+ hr = whp_dispatch.WHvResetPartition(whpx->partition);
+ if (FAILED(hr)) {
+ error_report("WHPX: Failed to reset partition, hr=%08lx", hr);
+@@ -3211,22 +3212,56 @@ static bool whpx_tsc_deadline_refused(void)
+ {
+ WHV_REGISTER_NAME name = WHvX64RegisterTscDeadline;
+ WHV_REGISTER_VALUE value = {};
++ WHV_PARTITION_HANDLE probe = NULL;
++ WHV_PARTITION_PROPERTY prop = {};
+ HRESULT hr;
++ bool refused = false;
+
+- hr = whp_dispatch.WHvCreateVirtualProcessor(whpx_global.partition, 0, 0);
++ /*
++ * Probe on a throwaway partition: on Windows 10 (e.g. 19045), deleting
++ * vCPU 0 on the real partition causes a subsequent WHvCreateVirtualProcessor
++ * for vCPU 0 in whpx_init_vcpu() to fail with E_INVALIDARG (0x80070057).
++ */
++ hr = whp_dispatch.WHvCreatePartition(&probe);
+ if (FAILED(hr)) {
+ return false;
+ }
+- hr = whp_dispatch.WHvSetVirtualProcessorRegisters(whpx_global.partition,
+- 0, &name, 1, &value);
+- whp_dispatch.WHvDeleteVirtualProcessor(whpx_global.partition, 0);
++ prop.ProcessorCount = 1;
++ hr = whp_dispatch.WHvSetPartitionProperty(
++ probe, WHvPartitionPropertyCodeProcessorCount, &prop, sizeof(prop));
++ if (FAILED(hr)) {
++ goto out;
++ }
++ if (whpx_irqchip_in_kernel()) {
++ WHV_X64_LOCAL_APIC_EMULATION_MODE mode =
++ WHvX64LocalApicEmulationModeX2Apic;
++ hr = whp_dispatch.WHvSetPartitionProperty(
++ probe, WHvPartitionPropertyCodeLocalApicEmulationMode,
++ &mode, sizeof(mode));
++ if (FAILED(hr)) {
++ goto out;
++ }
++ }
++ hr = whp_dispatch.WHvSetupPartition(probe);
++ if (FAILED(hr)) {
++ goto out;
++ }
++ hr = whp_dispatch.WHvCreateVirtualProcessor(probe, 0, 0);
++ if (FAILED(hr)) {
++ goto out;
++ }
++ hr = whp_dispatch.WHvSetVirtualProcessorRegisters(probe, 0, &name, 1, &value);
++ whp_dispatch.WHvDeleteVirtualProcessor(probe, 0);
+ if (FAILED(hr)) {
+ warn_report("WHPX: Hyper-V refuses the TSC deadline timer's register,"
+ " hr=%08lx: the guest is offered no TSC deadline timer",
+ hr);
+- return true;
++ refused = true;
+ }
+- return false;
++
++out:
++ whp_dispatch.WHvDeletePartition(probe);
++ return refused;
+ }
+
+ int whpx_accel_init(AccelState *as, MachineState *ms)
diff --git a/packaging/patches/qemu-whpx-win10-startup-ipis.patch b/packaging/patches/qemu-whpx-win10-startup-ipis.patch
new file mode 100644
index 0000000..dcfbbb8
--- /dev/null
+++ b/packaging/patches/qemu-whpx-win10-startup-ipis.patch
@@ -0,0 +1,104 @@
+diff --git a/target/i386/whpx/whpx-all.c b/target/i386/whpx/whpx-all.c
+index 4ef32ee..fe92903 100644
+--- a/target/i386/whpx/whpx-all.c
++++ b/target/i386/whpx/whpx-all.c
+@@ -58,6 +58,7 @@
+
+ static bool is_modern_os = true;
+ static bool whpx_msr_exits_available = true;
++static bool whpx_forward_startup_ipis;
+
+ static const WHV_REGISTER_NAME whpx_register_names[] = {
+
+@@ -1681,6 +1682,7 @@
+ memset(&prop, 0, sizeof(WHV_PARTITION_PROPERTY));
+ prop.ExtendedVmExits.X64MsrExit = 1;
+ prop.ExtendedVmExits.X64CpuidExit = 1;
++ prop.ExtendedVmExits.X64ApicInitSipiExitTrap = whpx_forward_startup_ipis;
+
+ if (exceptions != 0 || whpx_get_default_exceptions() != 0) {
+ prop.ExtendedVmExits.ExceptionExit = 1;
+@@ -2389,7 +2391,54 @@
+ }
+ }
+
++/* On Win10, a guest INIT/SIPI may leave a previously halted AP parked.
++ * Route just these boot-time interrupts through the WHP injection API. */
++static HRESULT whpx_forward_startup_ipi(CPUState *cpu, uint64_t icr)
++{
++ unsigned int shorthand = (icr >> APIC_ICR_DEST_SHORT_SHIFT) & 3;
++ WHV_INTERRUPT_CONTROL ipi = {
++ .Type = (icr & APIC_ICR_DELIV_MOD) >> APIC_ICR_DELIV_MOD_SHIFT,
++ .DestinationMode = !!(icr & APIC_ICR_DEST_MOD),
++ .TriggerMode = !!(icr & APIC_ICR_TRIGGER_MOD),
++ .Vector = icr & 0xff,
++ };
++ HRESULT hr;
++
++ /* INIT level deassert synchronizes arbitration IDs, without a reset. */
++ if (ipi.Type == WHvX64InterruptTypeInit && ipi.TriggerMode &&
++ !(icr & APIC_ICR_LEVEL)) {
++ return S_OK;
++ }
++ if (!shorthand) {
++ WHV_REGISTER_VALUE base = {};
++ WHV_REGISTER_NAME name = WHvX64RegisterApicBase;
++ hr = whp_dispatch.WHvGetVirtualProcessorRegisters(
++ whpx_global.partition, cpu->cpu_index, &name, 1, &base);
++ if (FAILED(hr)) {
++ return hr;
++ }
++ ipi.Destination = (base.Reg64 & MSR_IA32_APICBASE_EXTD)
++ ? (icr >> 32) : (icr >> 56);
++ return whp_dispatch.WHvRequestInterrupt(whpx_global.partition,
++ &ipi, sizeof(ipi));
++ }
++ ipi.DestinationMode = WHvX64InterruptDestinationModePhysical;
++ for (uint32_t i = 0; i <= max_vcpu_index; i++) {
++ if ((shorthand == 1 && i != cpu->cpu_index) ||
++ (shorthand == 3 && i == cpu->cpu_index)) {
++ continue;
++ }
++ ipi.Destination = i;
++ hr = whp_dispatch.WHvRequestInterrupt(whpx_global.partition,
++ &ipi, sizeof(ipi));
++ if (FAILED(hr)) {
++ return hr;
++ }
++ }
++ return S_OK;
++}
++
+ int whpx_vcpu_run(CPUState *cpu)
+ {
+ HRESULT hr;
+ struct whpx_state *whpx = &whpx_global;
+@@ -2520,7 +2569,15 @@
+ vcpu->window_priority = 0;
+ ret = 0;
+ break;
+
++ case WHvRunVpExitReasonX64ApicInitSipiTrap:
++ hr = whpx_forward_startup_ipi(cpu, vcpu->exit_ctx.ApicInitSipi.ApicIcr);
++ ret = 0;
++ if (FAILED(hr)) {
++ error_report("WHPX: failed to forward startup IPI, hr=%08lx", hr);
++ ret = -1;
++ }
++ break;
+ case WHvRunVpExitReasonX64ApicEoi:
+ assert(whpx_irqchip_in_kernel());
+ ioapic_eoi_broadcast(vcpu->exit_ctx.ApicEoi.InterruptVector);
+@@ -3619,6 +3676,12 @@
+ * We do not want to intercept any exceptions from the guest,
+ * until we actually start debugging with gdb.
+ */
++ if (whpx_is_legacy_os() && whpx_irqchip_in_kernel() && ms->smp.max_cpus > 1) {
++ WHV_EXTENDED_VM_EXITS exits = {};
++ hr = whp_dispatch.WHvGetCapability(WHvCapabilityCodeExtendedVmExits,
++ &exits, sizeof(exits), &whpx_cap_size);
++ whpx_forward_startup_ipis = SUCCEEDED(hr) && exits.X64ApicInitSipiExitTrap;
++ }
+ whpx->exception_exit_bitmap = -1;
+ hr = whpx_set_exception_exit_bitmap(0);
+
diff --git a/packaging/wsm-setup.iss b/packaging/wsm-setup.iss
index 702c1d7..b4ee54d 100644
--- a/packaging/wsm-setup.iss
+++ b/packaging/wsm-setup.iss
@@ -1,36 +1,193 @@
-#ifndef AppVersion
- #define AppVersion "0.2.2"
+; Build with ISCC /DStageDir="..." /DMyAppVersion="0.2.2" WSM-Setup.iss
+#ifndef MyAppVersion
+ #define MyAppVersion "0.2.2"
+#endif
+#ifndef AppIdValue
+ #define AppIdValue "{{FC777B63-3C0A-4B29-9E05-817D50AA8BA9}"
+#endif
+#ifndef StageDir
+ #define StageDir SourcePath + "..\dist\WSM-" + MyAppVersion + "-win64"
+#endif
+#ifndef OutputName
+ #define OutputName "WSM-Setup-" + MyAppVersion
#endif
-#define RepoRoot AddBackslash(SourcePath) + ".."
[Setup]
-AppId={{FC777B63-3C0A-4B29-9E05-817D50AA8BA9}
+AppId={#AppIdValue}
AppName=WSM
-AppVersion={#AppVersion}
+AppVersion={#MyAppVersion}
AppPublisher=mxhm11cr
DefaultDirName={localappdata}\Programs\WSM
DefaultGroupName=WSM
+UsePreviousAppDir=yes
DisableProgramGroupPage=yes
+DisableReadyPage=no
PrivilegesRequired=lowest
ArchitecturesAllowed=x64compatible
ArchitecturesInstallIn64BitMode=x64compatible
-OutputDir={#RepoRoot}\dist
-OutputBaseFilename=WSM-Setup-{#AppVersion}
-SetupIconFile={#RepoRoot}\assets\brand\wsm.ico
+OutputDir={#SourcePath}..\dist
+OutputBaseFilename={#OutputName}
+SetupIconFile={#SourcePath}..\assets\brand\wsm.ico
UninstallDisplayIcon={app}\bin\WsmManager.exe
Compression=lzma2/fast
SolidCompression=yes
WizardStyle=modern
-
-[Tasks]
-Name: "desktopicon"; Description: "Create a desktop shortcut"; GroupDescription: "Additional shortcuts:"; Flags: unchecked
+; Do not let Restart Manager shut down a VM or restart an old daemon mid-upgrade.
+CloseApplications=no
+RestartApplications=no
[Files]
-Source: "{#RepoRoot}\dist\WSM-{#AppVersion}-win64\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
+Source: "{#StageDir}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
+#ifndef UpgradeSmokeTest
+[Tasks]
+Name: "desktopicon"; Description: "Create a desktop shortcut"; GroupDescription: "Additional shortcuts:"; Flags: unchecked
[Icons]
Name: "{autoprograms}\WSM"; Filename: "{app}\bin\WsmManager.exe"; WorkingDir: "{app}\bin"
Name: "{autodesktop}\WSM"; Filename: "{app}\bin\WsmManager.exe"; WorkingDir: "{app}\bin"; Tasks: desktopicon
-
[Run]
Filename: "{app}\bin\WsmManager.exe"; Description: "Launch WSM"; Flags: nowait postinstall skipifsilent unchecked
+#endif
+
+[Code]
+var
+ ConfirmedDirectory: String;
+ RegisteredDirectory: String;
+
+function NormalPath(Path: String): String;
+begin
+ Result := Lowercase(RemoveBackslashUnlessRoot(ExpandFileName(Path)));
+end;
+
+function ExistingInstallation: Boolean;
+begin
+ Result := FileExists(ExpandConstant('{app}\bin\wsmd.exe')) or
+ FileExists(ExpandConstant('{app}\bin\WsmManager.exe')) or
+ ((RegisteredDirectory <> '') and
+ (NormalPath(RegisteredDirectory) = NormalPath(ExpandConstant('{app}'))));
+end;
+
+procedure InitializeWizard;
+var
+ Key, Id: String;
+begin
+ Id := '{#AppIdValue}';
+ StringChangeEx(Id, '{{', '{', True);
+ Key := 'Software\Microsoft\Windows\CurrentVersion\Uninstall\' + Id + '_is1';
+ if not RegQueryStringValue(HKCU, Key, 'Inno Setup: App Path', RegisteredDirectory) then
+ RegQueryStringValue(HKLM, Key, 'Inno Setup: App Path', RegisteredDirectory);
+end;
+
+function NextButtonClick(CurPageID: Integer): Boolean;
+begin
+ Result := True;
+ if CurPageID <> wpReady then exit;
+ if (RegisteredDirectory <> '') and
+ (NormalPath(RegisteredDirectory) <> NormalPath(ExpandConstant('{app}'))) then begin
+ SuppressibleMsgBox('WSM is already installed at ' + RegisteredDirectory + '.' + #13#10 +
+ 'Update that installation to keep using its macOS runtime and avoid running conflicting copies.',
+ mbError, MB_OK, IDOK);
+ Result := False;
+ exit;
+ end;
+ if ExistingInstallation and (ConfirmedDirectory <> NormalPath(ExpandConstant('{app}'))) then begin
+ if WizardSilent then
+ Result := ExpandConstant('{param:UPGRADE|0}') = '1'
+ else
+ Result := MsgBox('An existing WSM installation was found.' + #13#10#13#10 +
+ 'Update or repair it by replacing its program files?' + #13#10#13#10 +
+ 'Your macOS runtime, installed Mac apps, passwords and settings will be kept.' + #13#10 +
+ 'WSM Manager and its background service will close during the update. Stop the macOS runtime in WSM Settings first.',
+ mbConfirmation, MB_YESNO or MB_DEFBUTTON1) = IDYES;
+ if Result then ConfirmedDirectory := NormalPath(ExpandConstant('{app}'));
+ end;
+end;
+
+function FileInUse(const FileName: String): Boolean;
+var
+ Stream: TFileStream;
+begin
+ Result := False;
+ if not FileExists(FileName) then exit;
+ try
+ Stream := TFileStream.Create(FileName, fmOpenReadWrite or fmShareDenyNone);
+ Stream.Free;
+ except
+ Result := True;
+ end;
+end;
+
+function CloseInstalledPrograms: Boolean;
+var
+ Locator, Services, Processes, Process: Variant;
+ I, Code: Integer;
+ FileName, TargetBin: String;
+begin
+ Result := False;
+ TargetBin := NormalPath(ExpandConstant('{app}\bin')) + '\';
+ try
+ Locator := CreateOleObject('WbemScripting.SWbemLocator');
+ Services := Locator.ConnectServer('', 'root\CIMV2');
+ Processes := Services.ExecQuery('SELECT ExecutablePath, ProcessId FROM Win32_Process WHERE ' +
+ 'Name="wsmd.exe" OR Name="WsmManager.exe" OR Name="wsm.exe" OR Name="wsmlaunch.exe"');
+ for I := 0 to Processes.Count - 1 do begin
+ Process := Processes.ItemIndex(I);
+ if not VarIsNull(Process.ExecutablePath) then begin
+ FileName := NormalPath(Process.ExecutablePath);
+ if (FileName = TargetBin + 'wsmd.exe') or
+ (FileName = TargetBin + 'wsmmanager.exe') or
+ (FileName = TargetBin + 'wsm.exe') or
+ (FileName = TargetBin + 'wsmlaunch.exe') then begin
+ Log('Closing this installation''s WSM program: ' + FileName);
+ Code := Process.Terminate(0);
+ if Code <> 0 then exit;
+ end;
+ end;
+ end;
+ Result := True;
+ except
+ Log('Could not close WSM programs automatically: ' + GetExceptionMessage);
+ end;
+end;
+
+function PrepareToInstall(var NeedsRestart: Boolean): String;
+var
+ I: Integer;
+begin
+ Result := '';
+ if not ExistingInstallation then exit;
+ if ConfirmedDirectory <> NormalPath(ExpandConstant('{app}')) then begin
+ Result := 'The update was not confirmed. Existing files have not been replaced.';
+ exit;
+ end;
+ if FileInUse(ExpandConstant('{app}\runtime\reims-ctl\qemu\current\bin\qemu-system-x86_64.exe')) or
+ FileInUse(ExpandConstant('{app}\runtime\reims-ctl\qemu\current\bin\qemu-system-x86_64w.exe')) or
+ FileInUse(ExpandConstant('{app}\runtime\reims-ctl\qemu\current\bin\qemu-img.exe')) or
+ FileInUse(ExpandConstant('{app}\cache\cargo\bin\reims-ctl.exe')) or
+ FileInUse(ExpandConstant('{app}\cache\cargo\bin\reims-util.exe')) then begin
+ Result := 'The macOS runtime or its installation is still running. Save your Mac documents, stop macOS in WSM Settings and close setup, then try again. Nothing has been replaced.';
+ exit;
+ end;
+ if not CloseInstalledPrograms then begin
+ Result := 'Close WSM Manager and its background service, then try again. Nothing has been replaced.';
+ exit;
+ end;
+ for I := 0 to 19 do begin
+ if not FileInUse(ExpandConstant('{app}\bin\wsmd.exe')) and
+ not FileInUse(ExpandConstant('{app}\bin\WsmManager.exe')) and
+ not FileInUse(ExpandConstant('{app}\bin\wsm.exe')) and
+ not FileInUse(ExpandConstant('{app}\bin\wsmlaunch.exe')) then exit;
+ Sleep(100);
+ end;
+ Result := 'WSM is still closing. Please try again in a moment. Nothing has been replaced.';
+end;
+
+function UpdateReadyMemo(Space, NewLine, MemoUserInfoInfo, MemoDirInfo, MemoTypeInfo,
+ MemoComponentsInfo, MemoGroupInfo, MemoTasksInfo: String): String;
+begin
+ Result := MemoDirInfo;
+ if ExistingInstallation then
+ Result := 'Update/repair existing WSM program files.' + NewLine +
+ 'Keep the macOS runtime, Mac apps and settings.' + NewLine + NewLine + Result;
+ Result := Result + NewLine + MemoGroupInfo + NewLine + MemoTasksInfo;
+end;
diff --git a/scripts/build-reims-vgpu.ps1 b/scripts/build-reims-vgpu.ps1
new file mode 100644
index 0000000..37b8643
--- /dev/null
+++ b/scripts/build-reims-vgpu.ps1
@@ -0,0 +1,45 @@
+# Builds steelbrain/reims-vgpu (metal2vulkan + reims-graphics-pci QEMU with WHPX)
+# using the portable MSYS2 CLANG64 toolchain at F:\WSM\toolchains\msys64.
+# Uses --profile minimal for Rust to avoid extracting 55,000+ rust-docs HTML files on HDD.
+
+$ErrorActionPreference = 'Stop'
+. F:\WSM\env.ps1
+
+$msysBash = "F:\WSM\toolchains\msys64\usr\bin\bash.exe"
+if (-not (Test-Path $msysBash)) {
+ throw "MSYS2 not found at F:\WSM\toolchains\msys64."
+}
+
+$env:MSYSTEM = "CLANG64"
+$env:CHERE_INVOKING = "1"
+$env:REIMS_INSTALL_SKIP_HOST_CHECKS = "1"
+
+# Verify whether rustc actually works; if not, install minimal Rust toolchain cleanly
+$rustcOk = $false
+if (Test-Path "F:\WSM\cache\cargo\bin\rustc.exe") {
+ $prevEap = $ErrorActionPreference
+ $ErrorActionPreference = 'Continue'
+ cmd /c "F:\WSM\cache\cargo\bin\rustc.exe --version >nul 2>&1"
+ if ($LASTEXITCODE -eq 0) { $rustcOk = $true }
+ $ErrorActionPreference = $prevEap
+}
+
+if (-not $rustcOk) {
+ Write-Host "==> Installing minimal Rust toolchain (x86_64-pc-windows-gnullvm, skipping rust-docs)..."
+ if (Test-Path "F:\WSM\cache\rustup\tmp") { Remove-Item -Recurse -Force "F:\WSM\cache\rustup\tmp" -ErrorAction SilentlyContinue }
+ if (Test-Path "F:\WSM\cache\rustup\toolchains") { Remove-Item -Recurse -Force "F:\WSM\cache\rustup\toolchains" -ErrorAction SilentlyContinue }
+ $rustupInit = "F:\WSM\cache\tmp\rustup-init.exe"
+ if (-not (Test-Path $rustupInit)) {
+ Invoke-WebRequest -Uri "https://win.rustup.rs/x86_64" -OutFile $rustupInit
+ }
+ & $rustupInit -y --profile minimal --default-host x86_64-pc-windows-gnullvm --no-modify-path
+ if ($LASTEXITCODE -ne 0) { throw "rustup-init failed with exit code $LASTEXITCODE" }
+}
+
+Write-Host "==> Running reims-vgpu scripts/install-ctl.sh in F:/WSM/upstream/reims-vgpu ..."
+& $msysBash -lc 'export CARGO_HOME=/f/WSM/cache/cargo RUSTUP_HOME=/f/WSM/cache/rustup XDG_CACHE_HOME=/f/WSM/cache XDG_DATA_HOME=/f/WSM/runtime TMPDIR=/f/WSM/cache/tmp PATH="/f/WSM/cache/cargo/bin:$PATH" && cd /f/WSM/upstream/reims-vgpu && scripts/install-ctl.sh --yes'
+if ($LASTEXITCODE -ne 0) {
+ throw "reims-vgpu build failed with exit code $LASTEXITCODE"
+}
+
+Write-Host "==> reims-vgpu + QEMU WHPX build complete!"
diff --git a/scripts/provision-guest.ps1 b/scripts/provision-guest.ps1
new file mode 100644
index 0000000..456a0a0
--- /dev/null
+++ b/scripts/provision-guest.ps1
@@ -0,0 +1,37 @@
+# WSM One-Click Guest Provisioner
+# Uses the locally built reims-ctl to fetch macOS directly from Apple's servers
+# (no proprietary Apple binaries are redistributed with WSM) onto F:\WSM\runtime\images,
+# and optionally deploys wsm-guest-agent into the running guest over SSH.
+param(
+ [string]$VmName = "wsm-default",
+ [string]$MacOsVersion = "tahoe",
+ [switch]$DeployAgent,
+ [string]$GuestUser = "user",
+ [int]$SshPort = 2222
+)
+
+$ErrorActionPreference = 'Stop'
+. F:\WSM\env.ps1
+
+if ($DeployAgent) {
+ Write-Host "==> Deploying wsm-guest-agent to guest ([email protected]:$SshPort)..."
+ scp -P $SshPort -o StrictHostKeyChecking=no `
+ "F:\WSM\src\wsm-guest-agent\wsm_guest_agent.m" `
+ "F:\WSM\src\wsm-guest-agent\com.wsm.guestagent.plist" `
+ "F:\WSM\src\wsm-guest-agent\install-in-guest.sh" `
+ "${GuestUser}@127.0.0.1:/tmp/"
+ ssh -p $SshPort -o StrictHostKeyChecking=no "${GuestUser}@127.0.0.1" "chmod +x /tmp/install-in-guest.sh && /tmp/install-in-guest.sh"
+ Write-Host "==> Guest agent deployed and running!"
+ exit 0
+}
+
+$reimsCtl = Get-Command reims-ctl -ErrorAction SilentlyContinue
+if (-not $reimsCtl) {
+ $candidate = "F:\WSM\cache\cargo\bin\reims-ctl.exe"
+ if (Test-Path $candidate) { $reimsCtl = $candidate }
+ else { throw "reims-ctl.exe not found yet. Wait for build-reims-vgpu.ps1 to finish." }
+}
+
+$env:XDG_DATA_HOME = "F:\WSM\runtime"
+Write-Host "==> Provisioning macOS ($MacOsVersion) VM '$VmName' into F:\WSM\runtime via reims-ctl..."
+& $reimsCtl create $VmName --macos $MacOsVersion --start
diff --git a/src/wsm-compositor/include/wsm/window_viewport.hpp b/src/wsm-compositor/include/wsm/window_viewport.hpp
new file mode 100644
index 0000000..750462b
--- /dev/null
+++ b/src/wsm-compositor/include/wsm/window_viewport.hpp
@@ -0,0 +1,21 @@
+#pragma once
+#include <algorithm>
+#include <cmath>
+
+namespace wsm::compositor {
+struct WindowViewport { float x = 0, y = 0, width = 0, height = 0; };
+inline WindowViewport window_viewport(int client_w, int client_h, int source_w, int source_h, bool fullscreen) {
+ if (client_w <= 0 || client_h <= 0 || source_w <= 0 || source_h <= 0) return {};
+ if (!fullscreen) return {0, 0, static_cast<float>(client_w), static_cast<float>(client_h)};
+ const float scale = std::min(static_cast<float>(client_w) / source_w, static_cast<float>(client_h) / source_h);
+ const float w = source_w * scale, h = source_h * scale;
+ return {(client_w - w) / 2, (client_h - h) / 2, w, h};
+}
+inline bool viewport_point(WindowViewport view, int source_w, int source_h, int& x, int& y) {
+ if (view.width <= 0 || view.height <= 0 || source_w <= 0 || source_h <= 0) return false;
+ const bool inside = x >= view.x && y >= view.y && x < view.x + view.width && y < view.y + view.height;
+ x = std::clamp(static_cast<int>(std::floor((x - view.x) * source_w / view.width)), 0, source_w - 1);
+ y = std::clamp(static_cast<int>(std::floor((y - view.y) * source_h / view.height)), 0, source_h - 1);
+ return inside;
+}
+}
diff --git a/src/wsm-compositor/src/compositor.cpp b/src/wsm-compositor/src/compositor.cpp
index 20a0cad..ce26bbf 100644
--- a/src/wsm-compositor/src/compositor.cpp
+++ b/src/wsm-compositor/src/compositor.cpp
@@ -1,4 +1,5 @@
#include "wsm/compositor.hpp"
+#include "wsm/window_viewport.hpp"
#include <windows.h>
#include <windowsx.h>
@@ -63,12 +64,20 @@ struct WindowEntry {
bool visible = true;
bool focused = false;
bool in_move = false; // the user is dragging/sizing it (Windows modal move loop)
+ bool fullscreen = false;
+ bool suppress_escape_release = false;
+ bool menu = false;
+ RECT restored_rect{};
+ LONG_PTR restored_style = 0;
uint64_t frames_presented = 0;
HWND hwnd = nullptr;
ComPtr<IDXGISwapChain1> swap_chain;
ComPtr<IDCompositionTarget> dcomp_target;
ComPtr<IDCompositionVisual> dcomp_visual;
+ ComPtr<IDCompositionVisual> root_visual;
+ ComPtr<IDCompositionVisual> background_visual;
+ ComPtr<IDCompositionSurface> background_surface;
uint32_t surface_w = 0;
uint32_t surface_h = 0;
};
@@ -185,6 +194,99 @@ struct RootlessCompositor::Impl {
return true;
}
+ void layout(WindowEntry& entry) {
+ if (!entry.dcomp_visual || !entry.surface_w || !entry.surface_h) return;
+ RECT client{}; GetClientRect(entry.hwnd, &client);
+ const auto view = window_viewport(client.right, client.bottom, entry.surface_w, entry.surface_h, entry.fullscreen);
+ D2D_MATRIX_3X2_F transform{view.width / entry.surface_w, 0, 0, view.height / entry.surface_h, view.x, view.y};
+ entry.dcomp_visual->SetTransform(transform);
+ if (entry.fullscreen && !entry.background_visual) {
+ if (SUCCEEDED(dcomp_device->CreateSurface(1, 1, DXGI_FORMAT_B8G8R8A8_UNORM,
+ DXGI_ALPHA_MODE_PREMULTIPLIED, &entry.background_surface))) {
+ ComPtr<ID3D11Texture2D> texture; POINT offset{};
+ if (SUCCEEDED(entry.background_surface->BeginDraw(nullptr, IID_PPV_ARGS(&texture), &offset))) {
+ const uint32_t black = 0xff000000;
+ D3D11_BOX box{static_cast<UINT>(offset.x), static_cast<UINT>(offset.y), 0,
+ static_cast<UINT>(offset.x + 1), static_cast<UINT>(offset.y + 1), 1};
+ d3d_context->UpdateSubresource(texture.Get(), 0, &box, &black, 4, 0);
+ entry.background_surface->EndDraw();
+ if (SUCCEEDED(dcomp_device->CreateVisual(&entry.background_visual))) {
+ entry.background_visual->SetContent(entry.background_surface.Get());
+ entry.root_visual->AddVisual(entry.background_visual.Get(), FALSE, entry.dcomp_visual.Get());
+ }
+ }
+ }
+ }
+ if (entry.background_visual) {
+ D2D_MATRIX_3X2_F background{static_cast<float>(client.right), 0, 0, static_cast<float>(client.bottom), 0, 0};
+ entry.background_visual->SetTransform(background);
+ entry.background_visual->SetContent(entry.fullscreen ? entry.background_surface.Get() : nullptr);
+ }
+ dcomp_device->Commit();
+ }
+
+ template<typename T> bool map_point(uint64_t wid, T& x, T& y) {
+ std::lock_guard<std::recursive_mutex> lock(mutex);
+ auto it = windows.find(wid); if (it == windows.end()) return false;
+ auto& entry = *it->second;
+ RECT client{}; GetClientRect(entry.hwnd, &client);
+ const auto view = window_viewport(client.right, client.bottom,
+ entry.surface_w ? entry.surface_w : entry.bounds.width,
+ entry.surface_h ? entry.surface_h : entry.bounds.height, entry.fullscreen);
+ int mx = static_cast<int>(x), my = static_cast<int>(y);
+ const bool inside = viewport_point(view, entry.bounds.width, entry.bounds.height, mx, my);
+ x = static_cast<T>(mx); y = static_cast<T>(my);
+ return inside;
+ }
+
+ RECT display_rect(const WindowEntry& entry) {
+ RECT result{entry.bounds.x, entry.bounds.y, entry.bounds.x + static_cast<LONG>(entry.bounds.width),
+ entry.bounds.y + static_cast<LONG>(entry.bounds.height)};
+ if (!entry.menu) return result;
+ for (const auto& [id, parent] : windows) {
+ if (!parent->fullscreen || parent->pid != entry.pid) continue;
+ RECT client{}, screen{}; GetClientRect(parent->hwnd, &client); GetWindowRect(parent->hwnd, &screen);
+ const auto view = window_viewport(client.right, client.bottom, parent->bounds.width, parent->bounds.height, true);
+ const float scale = view.width / parent->bounds.width;
+ result.left = screen.left + static_cast<LONG>(view.x + (entry.bounds.x - parent->bounds.x) * scale);
+ result.top = screen.top + static_cast<LONG>(view.y + (entry.bounds.y - parent->bounds.y) * scale);
+ result.right = result.left + static_cast<LONG>(entry.bounds.width * scale);
+ result.bottom = result.top + static_cast<LONG>(entry.bounds.height * scale);
+ break;
+ }
+ return result;
+ }
+
+ void toggle_fullscreen(uint64_t wid) {
+ std::lock_guard<std::recursive_mutex> lock(mutex);
+ auto it = windows.find(wid); if (it == windows.end() || it->second->menu) return;
+ auto& entry = *it->second;
+ if (!entry.fullscreen) {
+ GetWindowRect(entry.hwnd, &entry.restored_rect);
+ entry.restored_style = GetWindowLongPtrW(entry.hwnd, GWL_STYLE);
+ MONITORINFO monitor{sizeof(monitor)};
+ if (!GetMonitorInfoW(MonitorFromWindow(entry.hwnd, MONITOR_DEFAULTTONEAREST), &monitor)) return;
+ entry.fullscreen = true;
+ SetWindowLongPtrW(entry.hwnd, GWL_STYLE, (entry.restored_style & ~(WS_CAPTION | WS_THICKFRAME | WS_BORDER)) | WS_POPUP);
+ SetWindowPos(entry.hwnd, HWND_TOP, monitor.rcMonitor.left, monitor.rcMonitor.top,
+ monitor.rcMonitor.right - monitor.rcMonitor.left, monitor.rcMonitor.bottom - monitor.rcMonitor.top,
+ SWP_FRAMECHANGED | SWP_NOOWNERZORDER);
+ } else {
+ entry.fullscreen = false;
+ SetWindowLongPtrW(entry.hwnd, GWL_STYLE, entry.restored_style);
+ SetWindowPos(entry.hwnd, nullptr, entry.restored_rect.left, entry.restored_rect.top,
+ entry.bounds.width, entry.bounds.height, SWP_FRAMECHANGED | SWP_NOZORDER | SWP_NOOWNERZORDER);
+ }
+ layout(entry);
+ SetForegroundWindow(entry.hwnd);
+ for (auto& [id, child] : windows) if (child->menu && child->pid == entry.pid) {
+ const auto rect = display_rect(*child);
+ SetWindowPos(child->hwnd, nullptr, rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top,
+ SWP_NOZORDER | SWP_NOACTIVATE);
+ layout(*child);
+ }
+ }
+
bool ensure_swapchain(WindowEntry& entry, uint32_t w, uint32_t h) {
if (w == 0) w = 1;
if (h == 0) h = 1;
@@ -196,6 +298,7 @@ struct RootlessCompositor::Impl {
if (SUCCEEDED(hr)) {
entry.surface_w = w;
entry.surface_h = h;
+ layout(entry);
return true;
}
entry.swap_chain.Reset();
@@ -225,11 +328,16 @@ struct RootlessCompositor::Impl {
if (FAILED(hr)) return false;
}
entry.dcomp_visual->SetContent(entry.swap_chain.Get());
- entry.dcomp_target->SetRoot(entry.dcomp_visual.Get());
+ if (!entry.root_visual) {
+ if (FAILED(dcomp_device->CreateVisual(&entry.root_visual))) return false;
+ entry.root_visual->AddVisual(entry.dcomp_visual.Get(), TRUE, nullptr);
+ }
+ entry.dcomp_target->SetRoot(entry.root_visual.Get());
dcomp_device->Commit();
entry.surface_w = w;
entry.surface_h = h;
+ layout(entry);
return true;
}
@@ -292,13 +400,17 @@ struct RootlessCompositor::Impl {
!(GetWindowLongW(hwnd, GWL_EXSTYLE) & WS_EX_NOACTIVATE)) {
POINT pt{GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)};
ScreenToClient(hwnd, &pt);
+ if (!self->map_point(wid, pt.x, pt.y)) return HTCLIENT;
int ht = self->callbacks.hit_caption(wid, pt.x, pt.y);
+ { std::lock_guard<std::recursive_mutex> lock(self->mutex);
+ if (self->windows.at(wid)->fullscreen && ht == HTCAPTION) return HTCLIENT; }
return ht ? ht : HTCLIENT;
}
break;
case WM_NCLBUTTONDOWN:
if (wParam == HTMINBUTTON) { ShowWindow(hwnd, SW_MINIMIZE); return 0; }
- if (wParam == HTMAXBUTTON || wParam == HTCLOSE) return 0;
+ if (wParam == HTMAXBUTTON) { self->toggle_fullscreen(wid); return 0; }
+ if (wParam == HTCLOSE) return 0;
if (wParam == HTCAPTION && self->callbacks.on_mouse_button) {
// The press goes to the app at once (a toolbar button reacts on press, not
// after the release). Windows' drag detection then decides: the mouse moved
@@ -307,6 +419,7 @@ struct RootlessCompositor::Impl {
POINT pt{GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)};
POINT cpt = pt;
ScreenToClient(hwnd, &cpt);
+ self->map_point(wid, cpt.x, cpt.y);
proto::InputMouseButtonEvent ev{};
ev.window_id = wid;
ev.x = cpt.x;
@@ -332,6 +445,7 @@ struct RootlessCompositor::Impl {
if (wParam == HTCAPTION && self->callbacks.on_mouse_button) {
POINT pt{GET_X_LPARAM(lParam), GET_Y_LPARAM(lParam)};
ScreenToClient(hwnd, &pt);
+ self->map_point(wid, pt.x, pt.y);
proto::InputMouseButtonEvent ev{};
ev.window_id = wid;
ev.x = pt.x;
@@ -353,6 +467,9 @@ struct RootlessCompositor::Impl {
break;
}
case WM_MOVE:
+ { std::lock_guard<std::recursive_mutex> lock(self->mutex);
+ auto it = self->windows.find(wid);
+ if (it != self->windows.end() && it->second->fullscreen) return 0; }
if (self->callbacks.on_window_action) {
proto::WindowActionEvent ev{};
ev.window_id = wid;
@@ -363,6 +480,9 @@ struct RootlessCompositor::Impl {
}
break;
case WM_SIZE:
+ { std::lock_guard<std::recursive_mutex> lock(self->mutex);
+ auto it = self->windows.find(wid);
+ if (it != self->windows.end()) self->layout(*it->second); }
if (self->callbacks.on_window_action) {
proto::WindowActionEvent ev{};
ev.window_id = wid;
@@ -378,6 +498,7 @@ struct RootlessCompositor::Impl {
ev.window_id = wid;
ev.x = GET_X_LPARAM(lParam);
ev.y = GET_Y_LPARAM(lParam);
+ self->map_point(wid, ev.x, ev.y);
ev.modifiers = current_modifiers();
self->callbacks.on_mouse_move(ev);
}
@@ -393,6 +514,8 @@ struct RootlessCompositor::Impl {
ev.window_id = wid;
ev.x = GET_X_LPARAM(lParam);
ev.y = GET_Y_LPARAM(lParam);
+ if (!self->map_point(wid, ev.x, ev.y) &&
+ (msg == WM_LBUTTONDOWN || msg == WM_RBUTTONDOWN || msg == WM_MBUTTONDOWN)) return 0;
ev.button = (msg == WM_LBUTTONDOWN || msg == WM_LBUTTONUP) ? 0
: (msg == WM_RBUTTONDOWN || msg == WM_RBUTTONUP) ? 1 : 2;
ev.pressed = (msg == WM_LBUTTONDOWN || msg == WM_RBUTTONDOWN || msg == WM_MBUTTONDOWN) ? 1 : 0;
@@ -413,6 +536,24 @@ struct RootlessCompositor::Impl {
case WM_KEYUP:
case WM_SYSKEYDOWN:
case WM_SYSKEYUP:
+ if (wParam == VK_F11 || (wParam == VK_RETURN && (lParam & (1u << 29)))) {
+ if ((msg == WM_KEYDOWN || msg == WM_SYSKEYDOWN) && !(lParam & (1u << 30))) self->toggle_fullscreen(wid);
+ return 0;
+ }
+ if (wParam == VK_ESCAPE) {
+ bool consume = false, exit = false;
+ { std::lock_guard<std::recursive_mutex> lock(self->mutex);
+ auto it = self->windows.find(wid);
+ if (it != self->windows.end()) {
+ auto& entry = *it->second;
+ consume = entry.fullscreen || entry.suppress_escape_release;
+ exit = entry.fullscreen && (msg == WM_KEYDOWN || msg == WM_SYSKEYDOWN);
+ if (exit) entry.suppress_escape_release = true;
+ if (msg == WM_KEYUP || msg == WM_SYSKEYUP) entry.suppress_escape_release = false;
+ } }
+ if (exit) self->toggle_fullscreen(wid);
+ if (consume) return 0;
+ }
if (self->callbacks.on_key) {
proto::InputKeyEvent ev{};
ev.window_id = wid;
@@ -445,18 +586,20 @@ struct RootlessCompositor::Impl {
// Windows adds rounded corners and a shadow. Menu = transient, never takes focus.
const bool popup = (desc.style_flags & (1u << 3)) != 0;
const bool menu = (desc.style_flags & (1u << 6)) != 0;
+ entry->menu = menu;
DWORD style = popup ? (WS_POPUP | WS_SYSMENU | WS_MINIMIZEBOX) : WS_OVERLAPPEDWINDOW;
DWORD ex_style = WS_EX_NOREDIRECTIONBITMAP;
if (menu) ex_style |= WS_EX_TOOLWINDOW | WS_EX_TOPMOST | WS_EX_NOACTIVATE;
else if (popup) ex_style |= WS_EX_APPWINDOW;
- int w = desc.bounds.width > 0 ? desc.bounds.width : 800;
- int h = desc.bounds.height > 0 ? desc.bounds.height : 600;
+ const auto display = display_rect(*entry);
+ int w = display.right > display.left ? display.right - display.left : 800;
+ int h = display.bottom > display.top ? display.bottom - display.top : 600;
std::wstring wtitle = utf8_to_wide(title.empty() ? "macOS Application (WSM)" : title);
HWND hwnd = CreateWindowExW(
ex_style, L"WsmRootlessWindowClass", wtitle.c_str(), style,
- desc.bounds.x, desc.bounds.y, w, h,
+ display.left, display.top, w, h,
nullptr, nullptr, GetModuleHandleW(nullptr), nullptr
);
if (!hwnd) return;
@@ -490,14 +633,15 @@ struct RootlessCompositor::Impl {
entry.visible = desc.visible != 0;
RECT cur{};
GetWindowRect(entry.hwnd, &cur);
- bool same = cur.left == desc.bounds.x && cur.top == desc.bounds.y &&
- cur.right - cur.left == static_cast<LONG>(desc.bounds.width) &&
- cur.bottom - cur.top == static_cast<LONG>(desc.bounds.height);
entry.bounds = desc.bounds;
- if (!same && !entry.in_move)
- SetWindowPos(entry.hwnd, nullptr, desc.bounds.x, desc.bounds.y,
- desc.bounds.width, desc.bounds.height,
+ const auto display = display_rect(entry);
+ bool same = cur.left == display.left && cur.top == display.top &&
+ cur.right == display.right && cur.bottom == display.bottom;
+ if (!same && !entry.in_move && !entry.fullscreen)
+ SetWindowPos(entry.hwnd, nullptr, display.left, display.top,
+ display.right - display.left, display.bottom - display.top,
SWP_NOZORDER | SWP_NOACTIVATE | SWP_NOOWNERZORDER | SWP_NOSENDCHANGING);
+ layout(entry);
if (!entry.visible) ShowWindow(entry.hwnd, SW_HIDE);
else if (!IsWindowVisible(entry.hwnd)) ShowWindow(entry.hwnd, SW_SHOWNOACTIVATE);
}
diff --git a/src/wsm-core/src/qmp_unix.cpp b/src/wsm-core/src/qmp_unix.cpp
index 298736f..ee7707a 100644
--- a/src/wsm-core/src/qmp_unix.cpp
+++ b/src/wsm-core/src/qmp_unix.cpp
@@ -29,7 +29,10 @@ public:
if (WSAStartup(MAKEWORD(2, 2), &wsa) != 0) return false;
wsa_started_ = true;
- sock_ = socket(AF_UNIX, SOCK_STREAM, 0);
+ // SSH children inherit handles while these connections are open. An inherited socket
+ // keeps QEMU's single-client monitor occupied even after this process closes it.
+ sock_ = WSASocketW(AF_UNIX, SOCK_STREAM, 0, nullptr, 0,
+ WSA_FLAG_OVERLAPPED | WSA_FLAG_NO_HANDLE_INHERIT);
if (sock_ == INVALID_SOCKET) {
close();
return false;
@@ -206,19 +209,35 @@ bool QmpUnixClient::capture_screendump_ppm(const std::string& out_ppm_path, std:
}
bool QmpUnixClient::send_mouse_click(int32_t abs_x_32k, int32_t abs_y_32k, const std::string& button) const {
+ QmpUnixConn conn;
+ if (!conn.open(socket_path_, 2000)) return false;
std::string resp;
- std::ostringstream move_cmd;
+ // Nudge slightly before landing on the target so macOS WindowServer always sees a fresh
+ // mouseMoved / hover event even when retrying a click at the exact same coordinates.
+ const int32_t pre_x = abs_x_32k >= 64 ? abs_x_32k - 64 : abs_x_32k + 64;
+ std::ostringstream pre_cmd, move_cmd;
+ pre_cmd << "{\"execute\":\"input-send-event\",\"arguments\":{\"device\":\"gfx\",\"head\":0,\"events\":["
+ << "{\"type\":\"abs\",\"data\":{\"axis\":\"x\",\"value\":" << pre_x << "}},"
+ << "{\"type\":\"abs\",\"data\":{\"axis\":\"y\",\"value\":" << abs_y_32k << "}}"
+ << "]}}";
+ conn.command(pre_cmd.str(), resp);
+ Sleep(30);
move_cmd << "{\"execute\":\"input-send-event\",\"arguments\":{\"device\":\"gfx\",\"head\":0,\"events\":["
<< "{\"type\":\"abs\",\"data\":{\"axis\":\"x\",\"value\":" << abs_x_32k << "}},"
<< "{\"type\":\"abs\",\"data\":{\"axis\":\"y\",\"value\":" << abs_y_32k << "}}"
<< "]}}";
- if (!execute(move_cmd.str(), resp, 1500)) return false;
+ if (!conn.command(move_cmd.str(), resp)) return false;
+ // Give QEMU usb-tablet (10 ms HID poll) and macOS WindowServer time to settle pointer focus
+ // before pressing the button, and hold long enough not to be dropped under first-login load.
+ Sleep(80);
std::string down = "{\"execute\":\"input-send-event\",\"arguments\":{\"events\":[{\"type\":\"btn\",\"data\":{\"down\":true,\"button\":\"" + button + "\"}}]}}";
std::string up = "{\"execute\":\"input-send-event\",\"arguments\":{\"events\":[{\"type\":\"btn\",\"data\":{\"down\":false,\"button\":\"" + button + "\"}}]}}";
- execute(down, resp, 1500);
- Sleep(40);
- return execute(up, resp, 1500);
+ if (!conn.command(down, resp)) return false;
+ Sleep(80);
+ if (conn.command(up, resp)) return true;
+ conn.command(up, resp); // best effort: avoid stuck mouse button
+ return false;
}
bool QmpUnixClient::send_key_qcode(const std::string& qcode) const {
@@ -406,7 +425,8 @@ bool QmpSession::read_line_locked(std::string& line) {
bool QmpSession::connect_locked(uint32_t timeout_ms) {
if (sock_ != ~static_cast<uintptr_t>(0)) return true;
if (own_.empty() || qmp_now_ms() < retry_after_ms_) return false;
- SOCKET s = socket(AF_UNIX, SOCK_STREAM, 0);
+ SOCKET s = WSASocketW(AF_UNIX, SOCK_STREAM, 0, nullptr, 0,
+ WSA_FLAG_OVERLAPPED | WSA_FLAG_NO_HANDLE_INHERIT);
if (s == INVALID_SOCKET) return false;
SOCKADDR_UN addr{};
addr.sun_family = AF_UNIX;
diff --git a/src/wsm-guest/agent/wsm-trim.sh b/src/wsm-guest/agent/wsm-trim.sh
index 5577026..4585181 100644
--- a/src/wsm-guest/agent/wsm-trim.sh
+++ b/src/wsm-guest/agent/wsm-trim.sh
@@ -10,6 +10,15 @@
VERSION=8
STAMP=/Library/WSM/trim-version
U=$(id -u)
+# Keep the Dock out of captured application pixels, including runtimes already trimmed.
+if [[ "$(defaults read com.apple.dock autohide 2>/dev/null)" != 1 ||
+ "$(defaults read com.apple.dock autohide-delay 2>/dev/null)" != 86400 ]]; then
+ defaults write com.apple.dock autohide -bool true
+ defaults write com.apple.dock autohide-delay -float 86400
+ defaults write com.apple.dock autohide-time-modifier -float 0
+ defaults write com.apple.dock no-bouncing -bool true
+ killall Dock 2>/dev/null
+fi
# The stamp alone isn't proof: launchd writes its override database lazily, so a runtime that
# was powered off right after trimming kept the stamp but lost the disables (seen: 10 of ~140).
# Re-apply whenever a sentinel job is no longer disabled.
@@ -96,6 +105,8 @@ defaults write NSGlobalDomain NSWindowResizeTime -float 0.001
defaults write com.apple.universalaccess reduceMotion -bool true 2>/dev/null
defaults write com.apple.universalaccess reduceTransparency -bool true 2>/dev/null
defaults write com.apple.dock autohide -bool true
+defaults write com.apple.dock autohide-delay -float 86400
+defaults write com.apple.dock autohide-time-modifier -float 0
defaults write com.apple.dock launchanim -bool false
defaults write com.apple.dock mineffect -string scale
sudo pmset -a displaysleep 0 sleep 0 disksleep 0 powernap 0 >/dev/null 2>&1
diff --git a/src/wsm-guest/provision/wsm-offline-setup.sh b/src/wsm-guest/provision/wsm-offline-setup.sh
index 73820e5..875e2bf 100644
--- a/src/wsm-guest/provision/wsm-offline-setup.sh
+++ b/src/wsm-guest/provision/wsm-offline-setup.sh
@@ -66,20 +66,32 @@ BLD=$(defaults read "$SYS/System/Library/CoreServices/SystemVersion" ProductBuil
# DidSee key Tahoe's Setup Assistant knows (grep -ao 'DidSee[A-Za-z0-9]*' on Setup Assistant.app),
# plus the older ones, and no reason for the per-user mini setup to launch.
SA="$H/Library/Preferences/com.apple.SetupAssistant.plist"
-for k in DidSeeAccessibility DidSeeActivationLock DidSeeAppStore DidSeeAppearance DidSeeAppearanceSetup DidSeeApplePaySetup \
- DidSeeAutoUpdatePrompt DidSeeCloudSetup DidSeeLockdownMode DidSeePrivacy DidSeeScreenTime DidSeeSiriSetup \
- DidSeeSyncSetup DidSeeSyncSetup2 DidSeeTermsOfAddress DidSeeTouchIDSetup DidSeeiCloudLoginForStorageServices \
- DidSeeTrueTone DidSeeIntelligence DidSeeAvatarSetup DidSeeWallpaper; do
+for k in DidSeeAccessibility DidSeeActivationLock DidSeeAgeRange DidSeeAnalytics DidSeeAppStore DidSeeAppearance \
+ DidSeeAppearanceSetup DidSeeApplePaySetup DidSeeAutoUpdatePrompt DidSeeCloudSetup DidSeeCrashReporter \
+ DidSeeDiagnostics DidSeeDiskEncryption DidSeeFileVault DidSeeLockdownMode DidSeePrivacy DidSeeSafety \
+ DidSeeScreenTime DidSeeSiriSetup DidSeeSyncSetup DidSeeSyncSetup2 DidSeeTermsOfAddress DidSeeTouchIDSetup \
+ DidSeeiCloudLoginForStorageServices DidSeeTrueTone DidSeeIntelligence DidSeeAvatarSetup DidSeeWallpaper; do
defaults write "$SA" "$k" -bool true
done
[ -n "$VER" ] && defaults write "$SA" DidSeeNewFeaturesProductVersion -string "$VER"
defaults write "$SA" LastSeenCloudProductVersion -string 99
+defaults write "$SA" LastSeenSyncProductVersion -string 99
defaults write "$SA" LastSeenBuddyBuildVersion -string 99Z999
defaults write "$SA" GestureMovieSeen none
defaults write "$SA" MiniBuddyLaunchReason -int 0
defaults write "$SA" MiniBuddyLaunchedPostMigration -bool true
defaults write "$SA" MiniBuddyShouldLaunchToResumeSetup -bool false
defaults write "$SA" SkipFirstLoginOptimization -bool true
+# Opt out of macOS Analytics so MiniBuddy does not prompt to share diagnostics on Tahoe.
+DIAG_DIR="$D/Library/Application Support/CrashReporter"
+mkdir -p "$DIAG_DIR"
+DIAG="$DIAG_DIR/DiagnosticMessagesHistory.plist"
+defaults write "$DIAG" AutoSubmit -bool false
+defaults write "$DIAG" AutoSubmitVersion -int 4
+defaults write "$DIAG" ThirdPartyDataSubmit -bool false
+defaults write "$DIAG" ThirdPartyDataSubmitVersion -int 4
+defaults write "$DIAG" SeedOptOut -bool true
+chmod 644 "$DIAG" 2>/dev/null || true
# Apple's license ("Terms and Conditions", then "welcome / Get Started"): Setup Assistant shows it
# while the installer's cookie exists ("Showing terms because cookie exists"); Agree deletes the
# cookie and records the first-run tasks as done. The user accepted the license with WSM's
@@ -133,6 +145,9 @@ defaults write "$D/Library/Preferences/com.apple.TimeMachine" DoNotOfferNewDisks
defaults write "$H/Library/Preferences/com.apple.screensaver" idleTime -int 0
defaults write "$D/Library/Preferences/com.apple.PowerManagement" "AC Power" -dict "Display Sleep Timer" -int 0 "System Sleep Timer" -int 0 "Disk Sleep Timer" -int 0
defaults write "$H/Library/Preferences/com.apple.dock" autohide -bool true
+defaults write "$H/Library/Preferences/com.apple.dock" autohide-delay -float 86400
+defaults write "$H/Library/Preferences/com.apple.dock" autohide-time-modifier -float 0
+defaults write "$H/Library/Preferences/com.apple.dock" no-bouncing -bool true
defaults write "$H/Library/Preferences/com.apple.dock" launchanim -bool false
defaults write "$H/Library/Preferences/com.apple.universalaccess" reduceMotion -bool true
defaults write "$H/Library/Preferences/com.apple.universalaccess" reduceTransparency -bool true
diff --git a/src/wsm-guest/provision/wsm-stage-installer.sh b/src/wsm-guest/provision/wsm-stage-installer.sh
new file mode 100644
index 0000000..a7fa807
--- /dev/null
+++ b/src/wsm-guest/provision/wsm-stage-installer.sh
@@ -0,0 +1,57 @@
+#!/bin/sh
+# Runs in Tahoe Recovery. A failed package/copy must never be treated as a staged installer.
+set -eu
+target=${1:?target volume}
+package=${2:-/Volumes/Installer/InstallAssistant.pkg}
+[ -d "$target" ] && [ -f "$package" ] || { echo 'Missing target volume or installer package' >&2; exit 1; }
+size=$(stat -f %z "$package")
+[ "$size" -gt 0 ] || exit 1
+marker="$target/Applications/.wsm-install-assistant-incomplete"
+app=
+find_app() {
+ app=
+ for a in "$target"/Applications/Install\ macOS*.app; do
+ if [ -x "$a/Contents/Resources/startosinstall" ]; then app=$a; fi
+ done
+}
+complete() {
+ [ -n "$app" ] && [ -f "$app/Contents/SharedSupport/SharedSupport.dmg" ] &&
+ [ "$(stat -f %z "$app/Contents/SharedSupport/SharedSupport.dmg")" = "$size" ]
+}
+find_app
+if [ ! -e "$marker" ] && complete; then echo 'Verified existing installer; reusing it'; exit 0; fi
+mkdir -p "$target/Applications"
+touch "$marker"
+link="${target}Applications"
+created=0
+temporary=
+cleanup() {
+ [ -z "$temporary" ] || rm -f "$temporary"
+ [ "$created" = 0 ] || rm -f "$link"
+}
+trap cleanup 0
+trap 'exit 1' 1 2 15
+if [ -e "$link" ] || [ -L "$link" ]; then
+ [ -L "$link" ] && [ "$(readlink "$link")" = "$target/Applications" ] || {
+ echo 'An existing installer support path cannot safely be replaced' >&2; exit 1;
+ }
+else
+ ln -s "$target/Applications" "$link"
+ created=1
+fi
+CM_BUILD=CM_BUILD installer -pkg "$package" -target "$target"
+find_app
+[ -n "$app" ] || { echo 'The package did not create a usable Install macOS app' >&2; exit 1; }
+if ! complete; then
+ shared="$app/Contents/SharedSupport"
+ mkdir -p "$shared"
+ temporary="$shared/SharedSupport.dmg.wsm-part"
+ cp "$package" "$temporary"
+ [ "$(stat -f %z "$temporary")" = "$size" ] || { echo 'Installer copy is incomplete' >&2; exit 1; }
+ mv -f "$temporary" "$shared/SharedSupport.dmg"
+ temporary=
+fi
+chmod -R 755 "$app"
+complete || { echo 'Staged installer verification failed' >&2; exit 1; }
+rm -f "$marker"
+echo 'Installer app and full SharedSupport image verified'
diff --git a/src/wsm-manager/setup.js b/src/wsm-manager/setup.js
index 98a7be3..5c6aafc 100644
--- a/src/wsm-manager/setup.js
+++ b/src/wsm-manager/setup.js
@@ -93,7 +93,7 @@ const VIEWS = {
S.env = S.env || await api("/api/setup/plan");
const e = S.env || {};
const reuse = e.reuse_installer;
- const lowSpace = !!(e.free_bytes && e.free_bytes < (e.disk_needed_bytes || 40e9));
+ const lowSpace = typeof e.free_bytes === "number" && e.free_bytes < (e.disk_needed_bytes || 40e9);
const whpxUnavailable = e.whpx_ready === false;
pane.innerHTML = `
<h2>Ready when you are</h2>
@@ -106,10 +106,26 @@ const VIEWS = {
<div class="fact"><dt>Space needed</dt><dd>About ${gb(e.disk_needed_bytes || 40e9)} on ${e.drive || "F:"}</dd></div>
<div class="fact"><dt>Free space</dt><dd>${e.free_bytes ? gb(e.free_bytes) : "—"}</dd></div>
</dl>
+ <p class="fine" id="storage-path"></p>
+ <button class="btn quiet" id="choose-storage" type="button">Choose storage location…</button>
<p class="lede">Takes about ${e.minutes || 45} minutes. Keep using your PC meanwhile; keep it plugged in and awake.</p>
<p class="fine">By selecting Install you agree to Apple's
<a href="https://www.apple.com/legal/sla/" target="_blank" rel="noopener">macOS Software License Agreement</a>.
WSM downloads macOS directly from Apple and never redistributes it.</p>`;
+ document.getElementById("storage-path").textContent = `Runtime storage: ${e.storage_path || e.drive || "Default location"}`;
+ document.getElementById("choose-storage").onclick = async (event) => {
+ event.currentTarget.disabled = true;
+ const result = await api("/api/setup/storage", { method: "POST" });
+ if (result.ok) { S.env = null; await go("review"); }
+ else {
+ event.currentTarget.disabled = false;
+ if (result.error) {
+ let error = document.getElementById("storage-error");
+ if (!error) { error = document.createElement("p"); error.id = "storage-error"; error.className = "err"; pane.appendChild(error); }
+ error.textContent = result.error;
+ }
+ }
+ };
if (whpxUnavailable) {
const warning = document.createElement("div"); warning.className = "err";
warning.textContent = "Windows Hypervisor Platform is not available. Turn it on in Windows Features and restart Windows. If it still does not work, check virtualization in BIOS/UEFI and ensure the Windows hypervisor can start.";
@@ -205,7 +221,7 @@ async function poll() {
document.getElementById("eta").textContent = s.title || "Working";
document.getElementById("detail").textContent = s.detail || "";
// Recovery and first-run choices are handled automatically by the runtime.
- const phasePct = s.state === "downloading" ? 8 : pct;
+ const phasePct = s.state === "downloading" ? 8 : s.state === "installing" ? 58 : s.state === "first_boot" ? 93 : s.state === "finishing" ? 97 : pct;
document.querySelectorAll("#phases li").forEach((li, i, all) => {
const at = +li.dataset.at, next = i + 1 < all.length ? +all[i + 1].dataset.at : 101;
li.classList.toggle("done", phasePct >= next || s.state === "ready");
diff --git a/src/wsm-runtime/CMakeLists.txt b/src/wsm-runtime/CMakeLists.txt
index 660e7fc..dbc6da2 100644
--- a/src/wsm-runtime/CMakeLists.txt
+++ b/src/wsm-runtime/CMakeLists.txt
@@ -6,6 +6,7 @@ add_library(wsm-appman STATIC
src/runtime_host.cpp
src/window_streamer.cpp
src/setup_assistant.cpp
+ src/runtime_storage.cpp
src/app_installer.cpp
src/webdav_server.cpp
)
diff --git a/src/wsm-runtime/include/wsm/provisioner.hpp b/src/wsm-runtime/include/wsm/provisioner.hpp
index e732250..8de43ee 100644
--- a/src/wsm-runtime/include/wsm/provisioner.hpp
+++ b/src/wsm-runtime/include/wsm/provisioner.hpp
@@ -60,7 +60,7 @@ private:
void set(ProvState s, double pct, const std::string& title, const std::string& detail = {});
void fail(const std::string& why);
bool step_create_runtime();
- bool step_boot_recovery();
+ bool step_boot_recovery(bool* setup_detected = nullptr);
bool step_install();
bool step_wait_first_boot();
bool step_first_boot_setup(); // user, SSH, auto-login, sudo: from the disk's own Recovery
@@ -75,7 +75,9 @@ private:
~SetupLock();
std::string path_;
};
- bool ssh_ok(uint32_t timeout_ms) const;
+ bool ssh_ok(uint32_t timeout_ms, bool require_desktop = true) const;
+ bool request_guest_restart() const;
+ bool wait_for_first_sign_in();
bool click_blue_button(); // Apple's first-run "Get Started"/"Continue", if on screen
// helpers
@@ -85,7 +87,7 @@ private:
double screen_fraction_nonblack() const;
bool open_recovery_terminal();
bool terminal_visible() const; // Terminal's window is on the guest screen
- bool guest_shell(const std::string& cmd); // types into Recovery Terminal
+ bool guest_shell(const std::string& cmd, const std::string& failure_log = {}); // types into Recovery Terminal
bool wait_for_marker(const std::string& marker_file, int timeout_s, const std::function<void(int)>& tick);
uint64_t disk_bytes() const;
void log(const std::string& line) const;
diff --git a/src/wsm-runtime/include/wsm/qemu_extra_args.hpp b/src/wsm-runtime/include/wsm/qemu_extra_args.hpp
new file mode 100644
index 0000000..3735be9
--- /dev/null
+++ b/src/wsm-runtime/include/wsm/qemu_extra_args.hpp
@@ -0,0 +1,24 @@
+#pragma once
+#include <string>
+
+namespace wsm::runtime {
+inline std::string qemu_extra_arg(const std::string& value) {
+ std::string quoted = "'";
+ for (char c : value) quoted += c == '\'' ? "'\\''" : std::string(1, c);
+ return quoted + "'";
+}
+inline std::string qemu_option_path(std::string value) {
+ std::string result;
+ for (char c : value) {
+ if (c == '\\') c = '/';
+ result += c;
+ if (c == ',') result += ',';
+ }
+ return result;
+}
+inline std::string payload_extra_args(const std::string& directory) {
+ return "-drive " + qemu_extra_arg("if=none,id=wsmpayload,driver=vvfat,dir=" + qemu_option_path(directory) +
+ ",fat-type=16,label=WSMPAYLOAD,read-only=on") +
+ " -device usb-storage,bus=xhci.0,drive=wsmpayload,removable=on";
+}
+}
diff --git a/src/wsm-runtime/include/wsm/recovery_script.hpp b/src/wsm-runtime/include/wsm/recovery_script.hpp
new file mode 100644
index 0000000..40d01e2
--- /dev/null
+++ b/src/wsm-runtime/include/wsm/recovery_script.hpp
@@ -0,0 +1,42 @@
+#pragma once
+#include "wsm/guest_app_path.hpp"
+#include <cstdint>
+#include <string>
+
+namespace wsm::runtime {
+inline uint32_t recovery_script_cksum(const std::string& text) {
+ uint32_t crc = 0;
+ auto byte = [&](uint8_t value) {
+ crc ^= static_cast<uint32_t>(value) << 24;
+ for (int i = 0; i < 8; ++i) crc = (crc << 1) ^ ((crc & 0x80000000u) ? 0x04c11db7u : 0);
+ };
+ for (unsigned char c : text) byte(c);
+ for (size_t n = text.size(); n; n >>= 8) byte(static_cast<uint8_t>(n));
+ return ~crc;
+}
+
+// Uses only Bash 3.2 builtins: Recovery may omit both base64 and cksum executables.
+// Keep physical input lines short and verify POSIX CRC/length before execution.
+inline std::string recovery_script_transfer(const std::string& script, const std::string& path) {
+ const auto destination = guest_shell_quote(path);
+ std::string command =
+ "wsm_crc(){\n"
+ "local LC_ALL=C c b i n=0 v=0 l;\n"
+ "while IFS= read -r -n 1 c; do\n"
+ "if [ -z \"$c\" ]; then b=10; else printf -v b '%d' \"'$c\"; fi;\n"
+ "v=$((v^(b<<24)));\n"
+ "for ((i=0;i<8;i++)); do v=$((((v<<1)^((v&2147483648)?79764919:0))&4294967295)); done;\n"
+ "n=$((n+1)); done;\n"
+ "l=$n; while [ \"$l\" -gt 0 ]; do\n"
+ "v=$((v^((l&255)<<24)));\n"
+ "for ((i=0;i<8;i++)); do v=$((((v<<1)^((v&2147483648)?79764919:0))&4294967295)); done;\n"
+ "l=$((l>>8)); done; printf '%u %u' \"$((~v&4294967295))\" \"$n\";\n"
+ "};\n: > " + destination + " &&\n";
+ for (size_t i = 0; i < script.size(); i += 128)
+ command += "printf %s " + guest_shell_quote(script.substr(i, 128)) + " >> " + destination + " &&\n";
+ command += "set -- $(wsm_crc < " + destination + ") &&\n";
+ command += "[ \"$1:$2\" = \"" + std::to_string(recovery_script_cksum(script)) + ":" + std::to_string(script.size()) + "\" ] || "
+ "{ echo 'Recovery script transfer verification failed; no installer commands were executed.' >&2; false; }";
+ return command;
+}
+}
diff --git a/src/wsm-runtime/include/wsm/runtime_host.hpp b/src/wsm-runtime/include/wsm/runtime_host.hpp
index afe0c32..1e4a561 100644
--- a/src/wsm-runtime/include/wsm/runtime_host.hpp
+++ b/src/wsm-runtime/include/wsm/runtime_host.hpp
@@ -24,6 +24,7 @@ struct RtStatus {
RtState state = RtState::Off;
uint32_t pid = 0;
uint64_t working_set_mb = 0;
+ bool qmp_reachable = false;
};
class RuntimeHost {
diff --git a/src/wsm-runtime/include/wsm/runtime_storage.hpp b/src/wsm-runtime/include/wsm/runtime_storage.hpp
new file mode 100644
index 0000000..6f9b00a
--- /dev/null
+++ b/src/wsm-runtime/include/wsm/runtime_storage.hpp
@@ -0,0 +1,10 @@
+#pragma once
+#include <filesystem>
+#include <string>
+
+namespace wsm::runtime {
+// Select storage before any VM or download exists. Existing data is never moved or deleted.
+bool select_runtime_storage(const std::filesystem::path& root,
+ const std::filesystem::path& destination, std::string& error);
+std::filesystem::path runtime_storage_path(const std::filesystem::path& root);
+}
diff --git a/src/wsm-runtime/include/wsm/setup_assistant.hpp b/src/wsm-runtime/include/wsm/setup_assistant.hpp
index b202dbd..2b739f4 100644
--- a/src/wsm-runtime/include/wsm/setup_assistant.hpp
+++ b/src/wsm-runtime/include/wsm/setup_assistant.hpp
@@ -2,8 +2,15 @@
#include <cstdint>
namespace wsm::runtime {
-enum class SetupAssistantStep { Unknown, Country, Update, Account, AccountMenu, AccountConfirm, AgeRange, FileVault, FileVaultConfirm, Welcome };
+enum class SetupAssistantStep { Unknown, Country, Update, Account, AccountMenu, AccountConfirm, AgeRange, AppleAccount, FileVault, FileVaultConfirm, Welcome, WelcomePending, Analytics };
struct SetupAssistantAction { SetupAssistantStep step = SetupAssistantStep::Unknown; int x = 0, y = 0; };
// Only recognize known setup screens; unknown screens must never cause an automatic click.
SetupAssistantAction recognize_setup_assistant(const uint8_t* rgb, int width, int height);
+// Read-only states have no safe button and must never result in a mouse click.
+inline bool setup_action_clickable(SetupAssistantStep step) {
+ return step != SetupAssistantStep::Unknown && step != SetupAssistantStep::Country && step != SetupAssistantStep::WelcomePending;
+}
+inline bool welcome_restart_due(bool new_install, bool already_attempted, int stable_seconds) {
+ return new_install && !already_attempted && stable_seconds >= 120;
+}
}
diff --git a/src/wsm-runtime/include/wsm/setup_memory.hpp b/src/wsm-runtime/include/wsm/setup_memory.hpp
new file mode 100644
index 0000000..00ded46
--- /dev/null
+++ b/src/wsm-runtime/include/wsm/setup_memory.hpp
@@ -0,0 +1,25 @@
+#pragma once
+#include <cstdint>
+#include <sstream>
+#include <string>
+
+namespace wsm::runtime {
+inline uint64_t setup_memory_mib(uint64_t host_mib, const std::string& config = {}) {
+ std::istringstream lines(config);
+ for (std::string line; std::getline(lines, line);) {
+ const auto eq = line.find('=');
+ if (eq == std::string::npos) continue;
+ std::string key = line.substr(0, eq);
+ const auto begin = key.find_first_not_of(" \t");
+ if (begin == std::string::npos) continue;
+ key = key.substr(begin, key.find_last_not_of(" \t") - begin + 1);
+ if (key != "memory_mib") continue;
+ uint64_t configured = 0; std::istringstream value(line.substr(eq + 1));
+ if (value >> configured && configured > 0 && configured <= 1048576) return configured;
+ }
+ return host_mib <= 10 * 1024 ? 4096 : 5120;
+}
+inline bool setup_commit_available(uint64_t available_bytes, uint64_t guest_mib) {
+ return available_bytes / (1024 * 1024) >= guest_mib + 256;
+}
+}
diff --git a/src/wsm-runtime/include/wsm/setup_resume.hpp b/src/wsm-runtime/include/wsm/setup_resume.hpp
new file mode 100644
index 0000000..d728704
--- /dev/null
+++ b/src/wsm-runtime/include/wsm/setup_resume.hpp
@@ -0,0 +1,22 @@
+#pragma once
+#include <sstream>
+#include <string>
+namespace wsm::runtime {
+// Older builds did not write wsm-installing. Recover their last recorded launch,
+// but never treat a new VM, a failed installer or account setup as an active install.
+inline bool legacy_install_needs_resume(const std::string& log) {
+ bool pending = false;
+ std::istringstream input(log); std::string line;
+ while (std::getline(input, line)) {
+ if (line.find("[downloading]") != std::string::npos || line.find("[creating]") != std::string::npos ||
+ line.find("[disk]") != std::string::npos || line.find("[copying]") != std::string::npos ||
+ line.find("[first_boot]") != std::string::npos || line.find("[finishing]") != std::string::npos ||
+ line.find("[ready]") != std::string::npos ||
+ line.find("installer reported an error") != std::string::npos ||
+ line.find("couldn't start the macOS installation command") != std::string::npos) pending = false;
+ if (line.find("guest$ ") != std::string::npos && line.find("/Resources/startosinstall") != std::string::npos &&
+ line.find("--agreetolicense --volume") != std::string::npos) pending = true;
+ }
+ return pending;
+}
+}
diff --git a/src/wsm-runtime/src/provisioner.cpp b/src/wsm-runtime/src/provisioner.cpp
index dcc78a2..cd81431 100644
--- a/src/wsm-runtime/src/provisioner.cpp
+++ b/src/wsm-runtime/src/provisioner.cpp
@@ -3,6 +3,12 @@
#include "wsm/qmp_unix.hpp"
#include "wsm/setup_assistant.hpp"
#include "wsm/ssh_private_key.hpp"
+#include "wsm/setup_memory.hpp"
+#include "wsm/qemu_extra_args.hpp"
+#include "wsm/guest_app_path.hpp"
+#include "wsm/runtime_storage.hpp"
+#include "wsm/recovery_script.hpp"
+#include "wsm/setup_resume.hpp"
#include <windows.h>
@@ -38,6 +44,7 @@ constexpr const char* kColourFns =
"R(){ printf '\\033[41m'; printf '\\033[2J\\033[3J\\033[H'; i=0; while [ $i -lt 40 ]; do printf '%130s\\n' ''; i=$((i+1)); done; printf '\\033[0m'; };";
enum class Verdict { None, Green, Red };
+std::string read_all(const std::string& path);
} // namespace
@@ -127,9 +134,10 @@ ProvPlan Provisioner::plan() const {
}
p.download_bytes = p.reuse_installer ? 0 : 19700000000ull;
p.disk_needed_bytes = (p.reuse_installer ? 0 : 19700000000ull) + 40000000000ull;
- p.drive = root_.substr(0, 2);
+ const auto storage = runtime_storage_path(root_);
+ p.drive = storage.root_name().string();
ULARGE_INTEGER freeb{};
- if (GetDiskFreeSpaceExA((root_ + "\\").c_str(), &freeb, nullptr, nullptr)) p.free_bytes = freeb.QuadPart;
+ if (GetDiskFreeSpaceExW(storage.c_str(), &freeb, nullptr, nullptr)) p.free_bytes = freeb.QuadPart;
p.minutes = p.reuse_installer ? 45 : 75;
return p;
}
@@ -234,10 +242,12 @@ static Verdict read_verdict(const std::vector<uint8_t>& px, int w, int h) {
return Verdict::None;
}
-bool Provisioner::guest_shell(const std::string& cmd) {
+bool Provisioner::guest_shell(const std::string& cmd, const std::string& failure_log) {
wsm::core::QmpUnixClient q(vm_dir_ + "\\qmp.sock");
// Paint neutral first so a stale green from a previous command can't be misread.
- std::string line = std::string(kColourFns) + " printf '\\033[0m'; printf '\\033[2J\\033[3J\\033[H'; ( " + cmd + " ) && G || R";
+ const std::string failure = failure_log.empty() ? "R" :
+ "{ R; printf '\\033[H'; tail -n 20 '" + failure_log + "'; }";
+ std::string line = std::string(kColourFns) + " printf '\\033[0m'; printf '\\033[2J\\033[3J\\033[H';\n( " + cmd + "\n) && G || " + failure;
log("guest$ " + cmd);
// Keystrokes reach the guest after type_ascii_text returns, so the previous command's green
// could still be on screen when the next verdict is read, and pass a command that hadn't
@@ -310,6 +320,8 @@ bool Provisioner::open_recovery_terminal() {
Sleep(5000);
}
if (terminal_visible()) {
+ // A previous interrupted command may have left Bash at a continuation prompt.
+ q.send_key_combo({"ctrl", "c"}, 100);
Sleep(3000);
if (guest_shell("true") && wait_verdict(this, dump, 30, nullptr) == Verdict::Green) return true;
}
@@ -332,7 +344,10 @@ bool Provisioner::step_create_runtime() {
std::string create_output;
// The first macOS boot can speak Setup Assistant prompts before the account exists.
// Keep only this VM silent during installation; enable its audio after offline setup.
- int rc = reims("create wsm-default --macos tahoe --offline --memory 5G --cpus 4 --ssh-port 2222 --network false --audio false", &create_output);
+ MEMORYSTATUSEX memory{}; memory.dwLength = sizeof(memory);
+ const uint64_t host_mib = GlobalMemoryStatusEx(&memory) ? memory.ullTotalPhys / (1024 * 1024) : 16384;
+ const std::string memory_arg = std::to_string(setup_memory_mib(host_mib)) + "M";
+ int rc = reims("create wsm-default --macos tahoe --offline --memory " + memory_arg + " --cpus 4 --ssh-port 2222 --network false --audio false", &create_output);
if (rc != 0) {
if (create_output.find("a VM named wsm-default already exists") != std::string::npos)
fail("A WSM runtime with this name is already registered elsewhere. Save a diagnostic report so the existing runtime can be located safely.");
@@ -344,7 +359,8 @@ bool Provisioner::step_create_runtime() {
return true;
}
-bool Provisioner::step_boot_recovery() {
+bool Provisioner::step_boot_recovery(bool* setup_detected) {
+ if (setup_detected) *setup_detected = false;
set(ProvState::BootingRecovery, 42, "Starting the macOS installer");
if (!vm_running() && reims("start wsm-default") != 0) { fail("The macOS installer didn't start."); return false; }
// Recovery's desktop is a mostly-dark full-screen picture; wait until it has drawn and settled.
@@ -354,6 +370,33 @@ bool Provisioner::step_boot_recovery() {
Sleep(5000);
if (t >= 595) { fail("The macOS installer didn't finish starting within 10 minutes."); return false; }
}
+ // If macOS is already installed on the disk, booting without Cmd+R lands on Setup Assistant
+ // (e.g. Country) or the already-configured desktop/MiniBuddy (SSH reachable). Detect both
+ // before open_recovery_terminal(), because sending Esc on Setup Assistant opens VoiceOver
+ // Tutorial and makes Recovery Terminal retries fail.
+ if (ssh_ok(8000, false)) {
+ log("booting recovery: installed macOS account is already reachable; preserving disk and continuing sign-in");
+ std::error_code ec;
+ fs::remove(vm_dir_ + "\\wsm-installing", ec);
+ if (setup_detected) *setup_detected = true;
+ return true;
+ }
+ std::vector<uint8_t> frame; int fw = 0, fh = 0;
+ if (screen_dump(frame, fw, fh)) {
+ const auto first = recognize_setup_assistant(frame.data(), fw, fh);
+ if (first.step != SetupAssistantStep::Unknown) {
+ Sleep(2000);
+ std::vector<uint8_t> confirm; int cw = 0, ch = 0;
+ if (screen_dump(confirm, cw, ch) &&
+ recognize_setup_assistant(confirm.data(), cw, ch).step == first.step) {
+ log("booting recovery: installed macOS Setup Assistant detected; preserving disk and continuing account setup");
+ std::error_code ec;
+ fs::remove(vm_dir_ + "\\wsm-installing", ec);
+ if (setup_detected) *setup_detected = true;
+ return true;
+ }
+ }
+ }
if (!open_recovery_terminal()) { fail("WSM couldn't take control of the macOS installer."); return false; }
return true;
}
@@ -363,6 +406,11 @@ bool Provisioner::step_install() {
auto verdict = [this, &dump](int timeout, const char* step, const std::function<void(int)>& tick) {
const auto result = wait_verdict(this, dump, timeout, tick);
log(std::string(step) + " verdict: " + (result == Verdict::Green ? "success" : result == Verdict::Red ? "command failed" : "no verdict before timeout"));
+ if (result != Verdict::Green) {
+ std::error_code ec;
+ fs::copy_file(root_ + "\\cache\\tmp\\prov_screen.ppm", root_ + "\\logs\\installer-error-screen.ppm",
+ fs::copy_options::overwrite_existing, ec);
+ }
return result;
};
// Inspect structured diskutil data, not human-readable labels which vary across macOS
@@ -392,13 +440,12 @@ bool Provisioner::step_install() {
if (verdict(60, "disk selection", nullptr) != Verdict::Green) { fail("The prepared disk wasn't available to the installer."); return false; }
set(ProvState::CopyingInstaller, 50, "Copying the installer", "This takes a few minutes");
- if (!guest_shell(pick_target + " && A=$(ls -d \"$V\"/Applications/Install\\ macOS*.app 2>/dev/null | head -1); "
- "if [ -z \"$A\" ] || [ ! -x \"$A/Contents/Resources/startosinstall\" ]; then L=\"${V}Applications\"; mkdir -p \"$V/Applications\"; ln -sfn \"$V/Applications\" \"$L\"; "
- "CM_BUILD=CM_BUILD installer -pkg /Volumes/Installer/InstallAssistant.pkg -target \"$V\"; rm -f \"$L\"; "
- "A=$(ls -d \"$V\"/Applications/Install\\ macOS*.app | head -1); fi; "
- "[ -f \"$A/Contents/SharedSupport/SharedSupport.dmg\" ] || { mkdir -p \"$A/Contents/SharedSupport\"; "
- "cp /Volumes/Installer/InstallAssistant.pkg \"$A/Contents/SharedSupport/SharedSupport.dmg\"; }; "
- "chmod -R 755 \"$A\" && [ -x \"$A/Contents/Resources/startosinstall\" ]")) {
+ auto stage_script = read_all(root_ + "\\src\\wsm-guest\\provision\\wsm-stage-installer.sh");
+ stage_script.erase(std::remove(stage_script.begin(), stage_script.end(), '\r'), stage_script.end());
+ if (stage_script.empty()) { fail("The installer preparation script is missing. Repair the WSM installation."); return false; }
+ if (!guest_shell("(\n" + pick_target + " &&\n" + recovery_script_transfer(stage_script, "/tmp/wsm-stage-installer.sh") +
+ " &&\nsh /tmp/wsm-stage-installer.sh \"$V\"\n) > /tmp/wsm-copy.log 2>&1",
+ "/tmp/wsm-copy.log")) {
fail("WSM couldn't send the installer copy command. Save a diagnostic report."); return false;
}
if (verdict(1800, "installer copy", [this](int t) {
@@ -410,10 +457,11 @@ bool Provisioner::step_install() {
// runtime\config\license-acceptance.json) before begin() could be called.
set(ProvState::Installing, 58, "Installing macOS", "Your PC can be used normally meanwhile");
if (!guest_shell(pick_target + " && A=$(ls -d \"$V\"/Applications/Install\\ macOS*.app | head -1) && "
- "{ \"$A/Contents/Resources/startosinstall\" --agreetolicense --volume \"$V\" > /tmp/wsm-install.log 2>&1 || "
- "{ tail -n 16 /tmp/wsm-install.log; sleep 15; false; }; }")) {
+ "\"$A/Contents/Resources/startosinstall\" --agreetolicense --volume \"$V\" > /tmp/wsm-install.log 2>&1",
+ "/tmp/wsm-install.log")) {
fail("WSM couldn't start the macOS installation command. Save a diagnostic report."); return false;
}
+ std::ofstream(vm_dir_ + "\\wsm-installing", std::ios::binary) << "startosinstall launched\n";
return true;
}
@@ -421,22 +469,49 @@ bool Provisioner::step_wait_first_boot() {
// startosinstall prepares, then restarts into the installer, which restarts several more
// times. Progress is tracked by the disk's growth; completion is the first macOS boot that
// stays up with the disk quiet.
- uint64_t start = disk_bytes(), last = start;
- auto quiet_since = std::chrono::steady_clock::now();
+ // On a resumed install the disk may already hold most or all of macOS (> 20 GiB). Anchor
+ // growth to at most the ~20 GiB post-copy baseline so progress does not stay pinned at 58%.
+ constexpr uint64_t kPostCopyBaseline = 20ull * 1024 * 1024 * 1024;
+ const uint64_t start = std::min(disk_bytes(), kPostCopyBaseline);
+ const auto began = std::chrono::steady_clock::now();
+ int last_detail_minute = -1;
+ int last_wake = -60;
for (int t = 0; t < 4 * 3600;) {
const int interval = t < 180 ? 5 : 20;
- Sleep(interval * 1000); t += interval;
+ Sleep(interval * 1000);
+ t = static_cast<int>(std::chrono::duration_cast<std::chrono::seconds>(std::chrono::steady_clock::now() - began).count());
+ if (t / 60 != last_detail_minute) {
+ last_detail_minute = t / 60;
+ std::lock_guard<std::mutex> l(mu_);
+ snap_.detail = "macOS is installing and may restart several times. Waiting for initial setup; " +
+ std::to_string(t / 60) + " min elapsed.";
+ }
if (!vm_running()) { // the guest powered off rather than restarting: start it again
log("runtime stopped during install; starting it again");
reims("start wsm-default");
continue;
}
- // Recovery paints a red verdict when startosinstall fails. A lit red screen is not a
- // successful first boot; keep the screen for diagnostics and stop instead of claiming 95%.
+ // Recognize a stable first-boot Setup Assistant screen before the Recovery error-color
+ // heuristic. Country/Welcome screens can contain enough red pixels to look like the
+ // synthetic failure verdict; a confirmed known setup screen is stronger evidence.
std::vector<uint8_t> frame; int frame_w = 0, frame_h = 0;
const bool captured = screen_dump(frame, frame_w, frame_h);
+ const auto setup_screen = captured ? recognize_setup_assistant(frame.data(), frame_w, frame_h) : SetupAssistantAction{};
+ if (captured && setup_screen.step != SetupAssistantStep::Unknown) {
+ Sleep(2000);
+ std::vector<uint8_t> confirmation; int cw = 0, ch = 0;
+ if (screen_dump(confirmation, cw, ch) &&
+ recognize_setup_assistant(confirmation.data(), cw, ch).step == setup_screen.step) {
+ log("macOS initial setup detected; starting WSM account setup");
+ std::error_code ec;
+ fs::remove(vm_dir_ + "\\wsm-installing", ec);
+ return true;
+ }
+ }
+ // Recovery paints a red verdict when startosinstall fails. A lit red screen is not a
+ // successful first boot; keep the screen for diagnostics and stop instead of claiming 95%.
const auto screen_verdict = captured ? read_verdict(frame, frame_w, frame_h) : Verdict::None;
- if (captured && screen_verdict == Verdict::None && t <= 180) {
+ if (captured && screen_verdict == Verdict::None) {
std::error_code ec;
fs::create_directories(root_ + "\\logs", ec);
fs::copy_file(root_ + "\\cache\\tmp\\prov_screen.ppm", root_ + "\\logs\\last-installer-screen.ppm",
@@ -444,6 +519,7 @@ bool Provisioner::step_wait_first_boot() {
}
if (captured && screen_verdict == Verdict::Red) {
std::error_code ec;
+ fs::remove(vm_dir_ + "\\wsm-installing", ec);
fs::create_directories(root_ + "\\logs", ec);
fs::copy_file(root_ + "\\cache\\tmp\\prov_screen.ppm", root_ + "\\logs\\installer-error-screen.ppm",
fs::copy_options::overwrite_existing, ec);
@@ -457,24 +533,21 @@ bool Provisioner::step_wait_first_boot() {
std::lock_guard<std::mutex> l(mu_);
snap_.percent = std::max(snap_.percent, std::min(92.0, 58 + grown * 34));
}
- const auto setup_screen = captured ? recognize_setup_assistant(frame.data(), frame_w, frame_h) : SetupAssistantAction{};
- if (captured && (setup_screen.step == SetupAssistantStep::Country || setup_screen.step == SetupAssistantStep::AgeRange)) {
- Sleep(2000);
- std::vector<uint8_t> confirmation; int cw = 0, ch = 0;
- if (screen_dump(confirmation, cw, ch) &&
- recognize_setup_assistant(confirmation.data(), cw, ch).step == setup_screen.step) {
- log("macOS initial setup detected; starting WSM account setup");
- return true;
- }
- }
- if (now != last) { last = now; quiet_since = std::chrono::steady_clock::now(); }
- auto quiet = std::chrono::duration_cast<std::chrono::seconds>(std::chrono::steady_clock::now() - quiet_since).count();
// A quiet qcow2 may still be actively written within already allocated blocks. Recovery
// Terminal remaining on screen means startosinstall has not reached first boot yet.
// File size and a lit screen do not prove installation has completed. Wake a sleeping
// display and wait for a positively recognised initial setup screen instead.
- if (quiet > 240 && captured && screen_fraction_nonblack() <= 0.05)
- wsm::core::QmpUnixClient(vm_dir_ + "\\qmp.sock").send_key_qcode("shift");
+ if (captured && t - last_wake >= 60 && screen_fraction_nonblack() <= 0.05) {
+ last_wake = t;
+ // Some Tahoe screens ignore Shift alone while asleep. Move the pointer without
+ // clicking anything, then wake the keyboard, as confirmed in issue #42.
+ wsm::core::QmpUnixClient q(vm_dir_ + "\\qmp.sock");
+ std::string response;
+ q.execute("{\"execute\":\"input-send-event\",\"arguments\":{\"events\":["
+ "{\"type\":\"abs\",\"data\":{\"axis\":\"x\",\"value\":16000}},"
+ "{\"type\":\"abs\",\"data\":{\"axis\":\"y\",\"value\":16000}}]}}", response);
+ q.send_key_qcode("shift");
+ }
}
fail("Installing macOS took longer than 4 hours and was stopped.");
return false;
@@ -663,7 +736,17 @@ bool Provisioner::boot_into_recovery() {
return false;
}
-bool Provisioner::ssh_ok(uint32_t timeout_ms) const {
+bool Provisioner::request_guest_restart() const {
+ const std::string key = ssh_private_key_path(root_);
+ if (key.empty()) return false;
+ const std::string cmd = "\"C:\\Windows\\System32\\OpenSSH\\ssh.exe\" -i \"" + key + "\"" +
+ " -o IdentitiesOnly=yes -o BatchMode=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=NUL -o LogLevel=ERROR"
+ " -o ConnectTimeout=8 -p " + std::to_string(ssh_port_) +
+ " [email protected] \"sudo -n /sbin/shutdown -r now\"";
+ return run_quiet(cmd, 15000) == 0;
+}
+
+bool Provisioner::ssh_ok(uint32_t timeout_ms, bool require_desktop) const {
const std::string key = ssh_private_key_path(root_);
if (key.empty()) return false;
std::string cmd = "\"C:\\Windows\\System32\\OpenSSH\\ssh.exe\" -i \"" + key + "\"" +
@@ -671,9 +754,11 @@ bool Provisioner::ssh_ok(uint32_t timeout_ms) const {
" -o ConnectTimeout=8 -p " + std::to_string(ssh_port_) +
// sshd answers before anyone is signed in: ready means WSM's account owns the
// desktop (auto-login got past any first-run screen) and sudo needs no password.
- " [email protected] \"sudo -n true && [ \\\"$(stat -f %Su /dev/console)\\\" = wsm ] && "
- "pgrep -x Finder >/dev/null && ! pgrep -x 'Setup Assistant' >/dev/null && "
- "! pgrep -x SetupAssistantSpringboard >/dev/null\"";
+ " [email protected] \"sudo -n true";
+ if (require_desktop) cmd += " && [ \\\"$(stat -f %Su /dev/console)\\\" = wsm ] && "
+ "pgrep -x Finder >/dev/null && ! pgrep -x 'Setup Assistant' >/dev/null && "
+ "! pgrep -x SetupAssistantSpringboard >/dev/null";
+ cmd += "\"";
return run_quiet(cmd, timeout_ms) == 0;
}
@@ -682,27 +767,31 @@ bool Provisioner::click_blue_button() {
std::vector<uint8_t> px; int w = 0, h = 0;
if (!screen_dump(px, w, h)) return false;
const auto first = recognize_setup_assistant(px.data(), w, h);
- if (first.step == SetupAssistantStep::Unknown || first.step == SetupAssistantStep::Country) return false;
+ if (!setup_action_clickable(first.step)) return false;
Sleep(500);
if (!screen_dump(px, w, h)) return false;
const auto second = recognize_setup_assistant(px.data(), w, h);
if (second.step != first.step || second.x != first.x || second.y != first.y) return false;
- log("handling a recognised first-sign-in setup screen");
+ log("handling a recognised first-sign-in setup screen (step " + std::to_string(static_cast<int>(first.step)) + ")");
return wsm::core::QmpUnixClient(vm_dir_ + "\\qmp.sock").send_mouse_click(first.x, first.y);
}
bool Provisioner::step_first_boot_setup() {
set(ProvState::FirstBoot, 93, "Setting up macOS for WSM", "Creating the runtime's account");
if (ssh_ok(30000)) { log("first-boot setup: already reachable"); return true; }
+ if (ssh_ok(10000, false)) {
+ log("first-boot setup: account and key already work; resuming desktop setup without Recovery");
+ return wait_for_first_sign_in();
+ }
std::string dir, err;
if (!make_payload(dir, err)) { fail(err); return false; }
// The payload as a read-only FAT stick, only for this boot.
- std::string fwd = dir;
- for (auto& c : fwd) if (c == '\\') c = '/';
reims("stop " + vm_);
- reims("set " + vm_ + " --extra-args \"-drive if=none,id=wsmpayload,driver=vvfat,dir=" + fwd +
- ",fat-type=16,label=WSMPAYLOAD,read-only=on -device usb-storage,bus=xhci.0,drive=wsmpayload,removable=on\"");
+ if (reims("set " + vm_ + " --extra-args \"" + payload_extra_args(dir) + "\"") != 0) {
+ fail("WSM couldn't attach its setup files to Recovery. Save a diagnostic report.");
+ return false;
+ }
bool ok = boot_into_recovery();
if (ok) {
set(ProvState::FirstBoot, 95, "Setting up macOS for WSM", "Account, sign-in and remote access");
@@ -756,13 +845,67 @@ bool Provisioner::step_first_boot_setup() {
return false;
}
if (!restart_vm()) { fail("macOS didn't start after setup."); return false; }
+ return wait_for_first_sign_in();
+}
+
+bool Provisioner::wait_for_first_sign_in() {
+ set(ProvState::FirstBoot, 96, "Starting macOS", "Finishing first sign-in");
// Signed in when WSM's key works (and sudo needs no password). Apple's first-run screen may
// still want one "Get Started" click; press it when it shows.
- for (int t = 0; t < 20 * 60; t += 20) {
- if (ssh_ok(20000)) { log("first-boot setup: runtime reachable after " + std::to_string(t) + " s"); return true; }
- if (t >= 120) click_blue_button();
- Sleep(20000);
+ const auto start = std::chrono::steady_clock::now();
+ int last_click = 0;
+ int last_diag_frame = -30;
+ int welcome_since = -1;
+ const bool new_install = !fs::exists(root_ + "\\runtime\\config\\runtime-ready.json");
+ const auto restart_marker = vm_dir_ + "\\wsm-welcome-restart";
+ bool restart_attempted = fs::exists(restart_marker);
+ auto save_signin_screen = [&]() {
+ std::vector<uint8_t> snap; int sw = 0, sh = 0;
+ if (!screen_dump(snap, sw, sh)) return;
+ std::error_code ec;
+ fs::create_directories(root_ + "\\logs", ec);
+ fs::copy_file(root_ + "\\cache\\tmp\\prov_screen.ppm", root_ + "\\logs\\last-signin-screen.ppm",
+ fs::copy_options::overwrite_existing, ec);
+ };
+ for (;;) {
+ const auto elapsed = std::chrono::duration_cast<std::chrono::seconds>(std::chrono::steady_clock::now() - start).count();
+ if (elapsed >= 20 * 60) break;
+ if (ssh_ok(8000)) { log("first-boot setup: runtime reachable after " + std::to_string(elapsed) + " s"); return true; }
+ {
+ std::lock_guard<std::mutex> l(mu_);
+ snap_.detail = "Waiting for the macOS desktop; " + std::to_string(elapsed / 60) + " min elapsed.";
+ }
+ if (static_cast<int>(elapsed) - last_diag_frame >= 30) {
+ save_signin_screen();
+ last_diag_frame = static_cast<int>(elapsed);
+ }
+ if (new_install && !restart_attempted) {
+ std::vector<uint8_t> pixels; int w = 0, h = 0;
+ const bool pending = screen_dump(pixels, w, h) &&
+ recognize_setup_assistant(pixels.data(), w, h).step == SetupAssistantStep::WelcomePending;
+ if (!pending) welcome_since = -1;
+ else if (welcome_since < 0) welcome_since = static_cast<int>(elapsed);
+ if (pending && welcome_restart_due(new_install, restart_attempted, static_cast<int>(elapsed) - welcome_since) && ssh_ok(10000, false)) {
+ // This is the final welcome animation, not installation or an account/security
+ // prompt. A graceful restart completed it on the affected runtime. Limit this
+ // recovery to a new installation and persist the attempt to prevent reboot loops.
+ std::ofstream marker(restart_marker, std::ios::binary);
+ marker << "one graceful final-welcome restart\n"; marker.close();
+ if (!marker) { fail("WSM couldn't save its setup recovery state. Save a diagnostic report."); return false; }
+ restart_attempted = true;
+ log("final Welcome animation stalled for 120 s; requesting one graceful macOS restart");
+ const bool accepted = request_guest_restart();
+ log(accepted ? "graceful Welcome restart accepted" : "Welcome restart request ended; waiting to verify the desktop");
+ Sleep(10000);
+ continue;
+ }
+ }
+ if (elapsed >= 60 && elapsed - last_click >= 15) {
+ click_blue_button(); last_click = static_cast<int>(elapsed);
+ }
+ Sleep(5000);
}
+ save_signin_screen();
fail("macOS started, but WSM couldn't sign in to it.");
return false;
}
@@ -799,6 +942,8 @@ bool Provisioner::step_finish() {
reims("set wsm-default --env REIMS_VGPU_WINDOW=0");
fs::create_directories(root_ + "\\runtime\\config");
std::ofstream(root_ + "\\runtime\\config\\runtime-ready.json") << "{\"runtime\":\"full\",\"vm\":\"wsm-default\"}\n";
+ std::error_code ec;
+ fs::remove(vm_dir_ + "\\wsm-installing", ec);
set(ProvState::Ready, 100, "macOS is ready");
return true;
}
@@ -829,9 +974,62 @@ void Provisioner::run() {
fail("Windows Hypervisor Platform is not available. Turn it on in Windows Features and restart Windows. If the problem remains, check that hardware virtualization is enabled in BIOS/UEFI and the Windows hypervisor can start.");
return;
}
+ MEMORYSTATUSEX memory{}; memory.dwLength = sizeof(memory);
+ if (!vm_running() && GlobalMemoryStatusEx(&memory)) {
+ const auto required = setup_memory_mib(memory.ullTotalPhys / (1024 * 1024), read_all(vm_dir_ + "\\vm.toml"));
+ if (!setup_commit_available(memory.ullAvailPageFile, required)) {
+ fail("Windows does not have enough available committed memory to start macOS (" +
+ std::to_string(required) + " MiB needed, plus overhead). Close other apps or enable a system-managed Windows paging file, then try again. Downloaded installer files are kept.");
+ return;
+ }
+ }
+ if (!fs::exists(vm_dir_ + "\\vm.toml")) {
+ const auto storage = plan();
+ if (storage.free_bytes < storage.disk_needed_bytes) {
+ fail("Not enough free space at the selected runtime location. Choose another drive before starting the download.");
+ return;
+ }
+ }
if (!step_create_runtime()) return;
- if (!step_boot_recovery()) return;
- if (!step_install()) return;
+ if (!fs::exists(vm_dir_ + "\\wsm-installing") &&
+ !fs::exists(root_ + "\\runtime\\config\\runtime-ready.json") &&
+ legacy_install_needs_resume(read_all(root_ + "\\logs\\provision.log"))) {
+ std::ofstream marker(vm_dir_ + "\\wsm-installing", std::ios::binary);
+ marker << "resuming installer launched by an older WSM build\n"; marker.close();
+ if (!marker) { fail("WSM couldn't save the existing installation's recovery state."); return; }
+ log("retry: recovered an older installation checkpoint; preserving the existing disk instead of opening Recovery again");
+ }
+ if (fs::exists(vm_dir_ + "\\wsm-installing") && !vm_running()) {
+ log("retry: continuing the installation already launched on the existing disk");
+ if (reims("start wsm-default") != 0) { fail("The existing macOS installation couldn't be resumed. Save a diagnostic report."); return; }
+ }
+ if (vm_running() && ssh_ok(10000, false)) {
+ log("retry: existing macOS account is reachable; continuing first sign-in without reinstalling");
+ if (wait_for_first_sign_in()) step_finish();
+ return;
+ }
+ // A retry may find an already installed OS waiting at its initial setup screen. Never
+ // run disk preparation again in that case; proceed using the existing installed disk.
+ std::vector<uint8_t> initial; int iw = 0, ih = 0;
+ if (vm_running() && screen_dump(initial, iw, ih)) {
+ const auto screen = recognize_setup_assistant(initial.data(), iw, ih).step;
+ if (screen != SetupAssistantStep::Unknown) {
+ log("retry: installed macOS setup detected; preserving disk and continuing first sign-in");
+ if (step_first_boot_setup()) step_finish();
+ return;
+ }
+ }
+ if (fs::exists(vm_dir_ + "\\wsm-installing")) {
+ set(ProvState::Installing, 58, "Continuing macOS installation", "Using the installation already on this disk");
+ } else {
+ bool already_at_setup = false;
+ if (!step_boot_recovery(&already_at_setup)) return;
+ if (already_at_setup) {
+ if (step_first_boot_setup()) step_finish();
+ return;
+ }
+ if (!step_install()) return;
+ }
if (!step_wait_first_boot()) return;
if (!step_first_boot_setup()) return;
step_finish();
diff --git a/src/wsm-runtime/src/runtime_host.cpp b/src/wsm-runtime/src/runtime_host.cpp
index e96ccad..98b033a 100644
--- a/src/wsm-runtime/src/runtime_host.cpp
+++ b/src/wsm-runtime/src/runtime_host.cpp
@@ -1,5 +1,6 @@
#include "wsm/runtime_host.hpp"
#include "wsm/qmp_unix.hpp"
+#include "wsm/qemu_extra_args.hpp"
#include <windows.h>
#include <psapi.h>
@@ -84,7 +85,8 @@ RtStatus RuntimeHost::status() const {
s.pid = pid();
if (!s.pid) { s.state = RtState::Off; return s; }
std::string r;
- if (!qmp("{\"execute\":\"query-status\"}", r, 1500)) s.state = RtState::Starting;
+ s.qmp_reachable = qmp("{\"execute\":\"query-status\"}", r, 1500);
+ if (!s.qmp_reachable) s.state = RtState::Starting;
else if (r.find("\"running\": true") != std::string::npos || r.find("\"running\":true") != std::string::npos) s.state = RtState::Running;
else if (r.find("\"paused\"") != std::string::npos) s.state = RtState::Paused;
else if (r.find("shutdown") != std::string::npos) s.state = RtState::Stopping;
@@ -154,11 +156,12 @@ void RuntimeHost::apply_profile() {
// marker file could claim options that are gone): frames pushed by QEMU's VNC server, zero
// writes stored as nothing (so the image can shrink), and two QMP sockets of WSM's own,
// held open for input and frame capture (QEMU serves one client per QMP socket).
- if (all.find("wsm-cap.sock") == std::string::npos) {
- std::string d = vm_dir_;
- for (auto& c : d) if (c == '\\') c = '/';
+ std::string d = vm_dir_;
+ for (auto& c : d) if (c == '\\') c = '/';
+ if (all.find("unix:" + d + "/wsm-cap.sock") == std::string::npos) {
reims("set " + vm_ + " --extra-args \"-vnc 127.0.0.1:15,display=gfx -set drive.disk.detect-zeroes=on"
- " -qmp unix:" + d + "/wsm-in.sock,server=on,wait=off -qmp unix:" + d + "/wsm-cap.sock,server=on,wait=off\"");
+ " -qmp " + qemu_extra_arg("unix:" + qemu_option_path(d) + "/wsm-in.sock,server=on,wait=off") +
+ " -qmp " + qemu_extra_arg("unix:" + qemu_option_path(d) + "/wsm-cap.sock,server=on,wait=off") + "\"");
}
std::string v = profile_state();
if (v.empty() || v == "0") {
diff --git a/src/wsm-runtime/src/runtime_storage.cpp b/src/wsm-runtime/src/runtime_storage.cpp
new file mode 100644
index 0000000..9188f68
--- /dev/null
+++ b/src/wsm-runtime/src/runtime_storage.cpp
@@ -0,0 +1,98 @@
+#include "wsm/runtime_storage.hpp"
+#include <windows.h>
+#include <winioctl.h>
+#include <fstream>
+#include <vector>
+#include <cstring>
+#include <algorithm>
+#include <cwctype>
+
+namespace wsm::runtime {
+namespace fs = std::filesystem;
+namespace {
+bool junction(const fs::path& link, const fs::path& target) {
+ const std::wstring substitute = L"\\??\\" + fs::absolute(target).wstring();
+ const std::wstring print = fs::absolute(target).wstring();
+ const size_t substitute_bytes = substitute.size() * sizeof(wchar_t);
+ const size_t print_bytes = print.size() * sizeof(wchar_t);
+ const size_t path_bytes = substitute_bytes + print_bytes + 4;
+ if (path_bytes + 16 > MAXIMUM_REPARSE_DATA_BUFFER_SIZE) return false;
+ std::vector<unsigned char> buffer(16 + path_bytes, 0);
+ const DWORD tag = IO_REPARSE_TAG_MOUNT_POINT;
+ const WORD fields[] = {static_cast<WORD>(8 + path_bytes), 0, 0,
+ static_cast<WORD>(substitute_bytes), static_cast<WORD>(substitute_bytes + 2),
+ static_cast<WORD>(print_bytes)};
+ std::memcpy(buffer.data(), &tag, 4);
+ std::memcpy(buffer.data() + 4, fields, sizeof(fields));
+ std::memcpy(buffer.data() + 16, substitute.c_str(), substitute_bytes + 2);
+ std::memcpy(buffer.data() + 18 + substitute_bytes, print.c_str(), print_bytes + 2);
+ HANDLE h = CreateFileW(link.c_str(), GENERIC_WRITE, 0, nullptr, OPEN_EXISTING,
+ FILE_FLAG_OPEN_REPARSE_POINT | FILE_FLAG_BACKUP_SEMANTICS, nullptr);
+ if (h == INVALID_HANDLE_VALUE) return false;
+ DWORD returned = 0;
+ const bool ok = DeviceIoControl(h, FSCTL_SET_REPARSE_POINT, buffer.data(),
+ static_cast<DWORD>(buffer.size()), nullptr, 0, &returned, nullptr) != FALSE;
+ CloseHandle(h);
+ return ok;
+}
+bool empty_plain_directory(const fs::path& path) {
+ const auto attrs = GetFileAttributesW(path.c_str());
+ return attrs == INVALID_FILE_ATTRIBUTES ||
+ (!(attrs & FILE_ATTRIBUTE_REPARSE_POINT) && fs::is_directory(path) && fs::is_empty(path));
+}
+std::wstring folded(const fs::path& path) {
+ auto value = fs::absolute(path).lexically_normal().make_preferred().wstring();
+ std::transform(value.begin(), value.end(), value.begin(), [](wchar_t c) { return static_cast<wchar_t>(std::towlower(c)); });
+ return value;
+}
+}
+
+fs::path runtime_storage_path(const fs::path& root) {
+ std::ifstream f(root / "runtime/config/storage-path.txt", std::ios::binary);
+ std::string value; std::getline(f, value);
+ return value.empty() ? root / "runtime/reims-ctl" : fs::u8path(value);
+}
+
+bool select_runtime_storage(const fs::path& root, const fs::path& destination, std::string& error) {
+ std::vector<fs::path> created_links;
+ try {
+ auto target = fs::absolute(destination).lexically_normal();
+ if (!target.has_root_name() || target.native().rfind(L"\\\\", 0) == 0 || target == target.root_path()) {
+ error = "Choose a folder on a local drive, rather than a drive root or network share."; return false;
+ }
+ const fs::path sources[] = {root / "runtime/reims-ctl/vms", root / "runtime/reims-ctl/installers", root / "cache/tmp"};
+ for (const auto& source : sources) {
+ const auto source_name = folded(source), target_name = folded(target);
+ if (target_name == source_name || target_name.rfind(source_name + L"\\", 0) == 0) {
+ error = "Choose a folder outside WSM's current runtime and temporary folders."; return false;
+ }
+ if (!empty_plain_directory(source)) {
+ error = "Choose the storage location before downloading or creating a runtime. Existing runtime files have been kept."; return false;
+ }
+ }
+ fs::create_directories(target);
+ if (!fs::is_empty(target)) { error = "Choose an empty folder for the new runtime."; return false; }
+ const auto space = fs::space(target);
+ if (space.available < 59700000000ull) { error = "The selected drive needs about 59.7 GB of free space."; return false; }
+ const char* names[] = {"vms", "installers", "tmp"};
+ for (size_t i = 0; i < 3; ++i) {
+ fs::create_directories(target / names[i]);
+ fs::create_directories(sources[i]);
+ if (!junction(sources[i], target / names[i])) throw std::runtime_error("junction");
+ created_links.push_back(sources[i]);
+ }
+ fs::create_directories(root / "runtime/config");
+ std::ofstream out(root / "runtime/config/storage-path.txt", std::ios::binary);
+ const auto utf8 = target.u8string();
+ out.write(reinterpret_cast<const char*>(utf8.data()), static_cast<std::streamsize>(utf8.size()));
+ out << '\n'; out.close();
+ if (!out) throw std::runtime_error("config");
+ return true;
+ } catch (...) {
+ // Remove only the junction itself; never traverse or remove its destination.
+ for (const auto& link : created_links) RemoveDirectoryW(link.c_str());
+ error = "WSM could not use this folder. Choose a writable local folder on another drive. Existing runtime files have been kept.";
+ return false;
+ }
+}
+}
diff --git a/src/wsm-runtime/src/setup_assistant.cpp b/src/wsm-runtime/src/setup_assistant.cpp
index 5534fae..b397bab 100644
--- a/src/wsm-runtime/src/setup_assistant.cpp
+++ b/src/wsm-runtime/src/setup_assistant.cpp
@@ -1,62 +1,308 @@
#include "wsm/setup_assistant.hpp"
+#include <algorithm>
#include <array>
+#include <cmath>
#include <cstddef>
#include <limits>
+#include <vector>
namespace wsm::runtime {
namespace {
#include "setup_assistant_templates.inc"
-static_assert(sizeof(sample_age_range) == (118 - 42) * (88 - 19) * 3,
- "Age-range reference must contain only the matching region");
struct Sample {
SetupAssistantStep step;
int x0, y0, x1, y1;
const unsigned char* pixels;
int click_x, click_y; // reference screenshot coordinates (960 x 540)
+ int ref_w, ref_h; // native capture resolution of the centered Setup Assistant card
+ bool white_card; // true when the screen shows the solid white 800x600 Setup Assistant card
+ template<size_t N>
+ constexpr Sample(SetupAssistantStep s, int a, int b, int c, int d,
+ const unsigned char (&p)[N], int x, int y, int rw, int rh, bool wc)
+ : step(s), x0(a), y0(b), x1(c), y1(d), pixels(p), click_x(x), click_y(y), ref_w(rw), ref_h(rh), white_card(wc) {
+ if (N != static_cast<size_t>((c - a) * (d - b) * 3))
+ throw "Setup screen reference size does not match its region";
+ }
};
constexpr Sample samples[] = {
- {SetupAssistantStep::Country, 58,23,102,38, sample_country, 0,0},
+ {SetupAssistantStep::Country, 58,23,102,38, sample_country, 0,0, 1744, 984, true},
+ {SetupAssistantStep::Country, 58,23,102,38, sample_country_25g342, 0,0, 1920,1080, true},
+ {SetupAssistantStep::Country, 58,23,102,38, sample_country_tahoe_hidpi,0,0, 1744, 984, true},
// Choose only downloading, never automatic installation, on this exact update screen.
- {SetupAssistantStep::Update, 58,23,104,46, sample_update, 325,414},
- {SetupAssistantStep::Account, 58,24,100,57,sample_account, 335,401},
- {SetupAssistantStep::AccountMenu, 47,63,68,75, sample_account_menu, 335,429},
- {SetupAssistantStep::AccountConfirm, 67,31,94,60, sample_account_confirm, 509,331},
+ {SetupAssistantStep::Update, 58,23,104,46, sample_update, 325,414, 1744, 984, true},
+ {SetupAssistantStep::Account, 58,24,100,57,sample_account, 335,401, 1920,1080, true},
+ {SetupAssistantStep::AccountMenu, 47,63,68,75, sample_account_menu, 335,429, 1920,1080, true},
+ {SetupAssistantStep::AccountMenu, 47,63,68,75, sample_account_menu_tahoe,335,429, 1920,1080, true},
+ {SetupAssistantStep::AccountConfirm, 67,31,94,60, sample_account_confirm, 509,331, 1920,1080, false},
+ {SetupAssistantStep::AccountConfirm, 67,31,94,60, sample_account_confirm_tahoe,509,331, 1920,1080, false},
// Tahoe age-range screen; Adult is the bottom option in the reference frame.
- {SetupAssistantStep::AgeRange, 42,19,118,88, sample_age_range, 480,382},
- {SetupAssistantStep::FileVault, 58,24,100,52,sample_filevault, 566,401},
- {SetupAssistantStep::FileVaultConfirm, 67,34,94,56, sample_filevault_confirm, 510,306},
- {SetupAssistantStep::Welcome, 55,30,105,84,sample_welcome, 480,481},
+ {SetupAssistantStep::AgeRange, 42,19,118,88, sample_age_range, 480,382, 1744, 984, true},
+ {SetupAssistantStep::AgeRange, 54,23,106,66, sample_age_range_tahoe, 480,379, 1808,1020, true},
+ // Current Tahoe Apple Account sign-in screen. Click only Other Sign-In Options;
+ // never enter or submit Apple ID credentials. The follow-up menu is handled separately.
+ {SetupAssistantStep::AppleAccount, 35,14,72,58, sample_apple_account, 335,402, 1920,1080, true},
+ {SetupAssistantStep::AppleAccount, 56,24,96,56, sample_apple_account_inner,335,402, 1920,1080, true},
+ // Tahoe Analytics screen (both sharing checkboxes unchecked); click Continue.
+ {SetupAssistantStep::Analytics, 56,24,104,56, sample_analytics_tahoe, 637,404, 1920,1080, true},
+ {SetupAssistantStep::FileVault, 58,24,100,52,sample_filevault, 566,401, 1920,1080, true},
+ {SetupAssistantStep::FileVaultConfirm, 67,34,94,56, sample_filevault_confirm, 510,306, 1920,1080, false},
+ {SetupAssistantStep::FileVaultConfirm, 67,34,94,56, sample_filevault_confirm_tahoe, 510,306, 1920,1080, false},
+ {SetupAssistantStep::Welcome, 55,30,105,84,sample_welcome, 480,481, 1920,1080, false},
+ {SetupAssistantStep::Welcome, 55,36,105,84,sample_welcome_tahoe, 480,477, 1808,1020, false},
+ {SetupAssistantStep::WelcomePending, 52,35,108,50,sample_welcome_pending, 0,0, 1920,1080, false},
+};
+
+struct WhiteCardRect {
+ int x0 = 0, y0 = 0, x1 = 0, y1 = 0;
+ bool valid = false;
};
+
+// Locate macOS Setup Assistant's centered white 800x600 (or 2x 1600x1200) card in pixel
+// coordinates so matching works regardless of display resolution, aspect ratio, DPI scaling,
+// or menu-bar centering offsets.
+WhiteCardRect detect_white_card(const uint8_t* rgb, int width, int height) {
+ if (width < 480 || height < 270) return {};
+ auto is_white = [&](int x, int y) {
+ const size_t off = (static_cast<size_t>(y) * width + x) * 3;
+ return rgb[off] >= 246 && rgb[off + 1] >= 246 && rgb[off + 2] >= 246;
+ };
+ const int x_start = width / 10;
+ const int x_end = width * 9 / 10;
+ const int min_run = std::max(3, width / 120);
+ std::vector<int> lxs, rxs;
+ lxs.reserve(static_cast<size_t>(height / 2));
+ rxs.reserve(static_cast<size_t>(height / 2));
+ for (int y = height / 10; y < height * 9 / 10; y += 2) {
+ int lx = -1, rx = -1;
+ for (int x = x_start; x < x_end;) {
+ if (is_white(x, y)) {
+ const int run_start = x;
+ while (x < x_end && is_white(x, y)) ++x;
+ if (x - run_start >= min_run) {
+ if (lx < 0) lx = run_start;
+ rx = x - 1;
+ }
+ } else {
+ ++x;
+ }
+ }
+ if (lx >= 0 && rx - lx >= width / 5 && rx - lx <= width * 85 / 100) {
+ const int mid = (lx + rx) / 2;
+ if (std::abs(mid - width / 2) <= width * 15 / 100) {
+ lxs.push_back(lx);
+ rxs.push_back(rx);
+ }
+ }
+ }
+ if (static_cast<int>(lxs.size()) < height / 12) return {};
+ std::sort(lxs.begin(), lxs.end());
+ std::sort(rxs.begin(), rxs.end());
+ const int cx0 = lxs[lxs.size() / 2];
+ const int cx1 = rxs[rxs.size() / 2] + 1;
+ const int cw = cx1 - cx0;
+ if (cw < 200) return {};
+ const int col1 = cx0 + cw / 5;
+ const int col2 = cx1 - cw / 5;
+ int cy0 = -1, cy1 = -1;
+ for (int y = height / 16; y < height * 15 / 16; ++y) {
+ if (is_white(col1, y) && is_white(col2, y)) {
+ if (cy0 < 0) cy0 = y;
+ cy1 = y + 1;
+ }
+ }
+ const int ch = cy1 - cy0;
+ if (cy0 < 0 || ch < 150) return {};
+ const double aspect = static_cast<double>(cw) / static_cast<double>(ch);
+ if (aspect < 1.15 || aspect > 1.65) return {};
+ // macOS Tahoe with reduceTransparency=true draws a solid dark-grey (#808080) footer bar across
+ // the bottom ~63 pt of the 800x600 Setup Assistant card, shortening the pure-white height from
+ // 600 to ~537 (aspect ~1.49 instead of 4:3 = 1.333). Restore the full 4:3 card height from cw
+ // so vertical scaling and bottom-row button click coordinates stay pixel-accurate.
+ if (aspect > 1.38) {
+ const int full_ch = (cw * 3 + 2) / 4;
+ if (cy0 + full_ch <= height) cy1 = cy0 + full_ch;
+ }
+ return {cx0, cy0, cx1, cy1, true};
+}
}
SetupAssistantAction recognize_setup_assistant(const uint8_t* rgb, int width, int height) {
if (!rgb || width < 160 || height < 90) return {};
- const Sample* best = nullptr;
+ constexpr double kMaxError = 1.5;
+ auto step_priority = [](SetupAssistantStep step) {
+ // A popup leaves the underlying sign-in illustration unchanged. Match the popup
+ // before its parent screen, otherwise clicking the parent just toggles the menu.
+ return step == SetupAssistantStep::AccountMenu ||
+ step == SetupAssistantStep::AccountConfirm ||
+ step == SetupAssistantStep::FileVaultConfirm ? 1 : 0;
+ };
+ SetupAssistantAction best_action{};
double best_error = std::numeric_limits<double>::max();
+ int best_priority = -1;
+ auto consider = [&](SetupAssistantStep step, int qx, int qy, double error) {
+ if (error > kMaxError) return;
+ const int priority = step_priority(step);
+ if (priority > best_priority || (priority == best_priority && error < best_error)) {
+ best_priority = priority;
+ best_error = error;
+ best_action = {step, qx, qy};
+ }
+ };
+
+ // Pass 1: whole-frame proportional 160x90 average (exact match when display matches the
+ // template's aspect/scale, plus 160x90 and 960x540 fixtures and HiDPI 2x scaling).
+ std::array<uint8_t, 160 * 90 * 3> normalized{};
+ for (int y = 0; y < 90; ++y) for (int x = 0; x < 160; ++x) {
+ std::array<unsigned int, 3> sum{}; unsigned int count = 0;
+ for (int py = y * height / 90; py < (y + 1) * height / 90; ++py)
+ for (int px = x * width / 160; px < (x + 1) * width / 160; ++px) {
+ const size_t off = (static_cast<size_t>(py) * width + px) * 3;
+ for (int c = 0; c < 3; ++c) sum[c] += rgb[off + c];
+ ++count;
+ }
+ for (int c = 0; c < 3; ++c) normalized[(y * 160 + x) * 3 + c] = static_cast<uint8_t>(sum[c] / count);
+ }
for (const auto& sample : samples) {
- size_t n = 0; double error = 0;
- for (int y = sample.y0; y < sample.y1; ++y) {
- const int y0 = y * height / 90, y1 = (y + 1) * height / 90;
- for (int x = sample.x0; x < sample.x1; ++x) {
- const int x0 = x * width / 160, x1 = (x + 1) * width / 160;
- std::array<unsigned int, 3> sum{}; unsigned int count = 0;
- for (int py = y0; py < y1; ++py) for (int px = x0; px < x1; ++px) {
- const size_t off = (static_cast<size_t>(py) * width + px) * 3;
- for (int c = 0; c < 3; ++c) sum[c] += rgb[off + c];
- ++count;
+ // Country is a read-only completion marker. Allow layout translations without
+ // loosening the colour threshold or guessing where actionable buttons moved.
+ const int shift = sample.step == SetupAssistantStep::Country ? 4 : 0;
+ for (int dy = -shift; dy <= shift; ++dy) for (int dx = -shift; dx <= shift; ++dx) {
+ if (sample.y0 + dy < 0 || sample.y1 + dy > 90 || sample.x0 + dx < 0 || sample.x1 + dx > 160) continue;
+ size_t n = 0; double error = 0;
+ for (int y = sample.y0; y < sample.y1; ++y) {
+ for (int x = sample.x0; x < sample.x1; ++x) {
+ for (int c = 0; c < 3; ++c) {
+ const int delta = normalized[((y + dy) * 160 + x + dx) * 3 + c] - sample.pixels[n++];
+ error += delta < 0 ? -delta : delta;
+ }
}
- if (!count) return {};
+ }
+ error /= static_cast<double>(n);
+ consider(sample.step, sample.click_x * 32767 / 960, sample.click_y * 32767 / 540, error);
+ }
+ }
+
+ // Build a summed-area table once for O(1) rectangle averaging in Passes 2 & 3.
+ // Supports real guest displays up to 4096x4096 without 32-bit overflow (255 * 4096^2 < 2^32).
+ if (width >= 640 && height >= 480 && width <= 4096 && height <= 4096) {
+ const size_t sw = static_cast<size_t>(width) + 1;
+ std::vector<uint32_t> sat(sw * (static_cast<size_t>(height) + 1) * 3, 0);
+ for (int y = 0; y < height; ++y) {
+ std::array<uint32_t, 3> row_sum{};
+ const size_t src_row = static_cast<size_t>(y) * width;
+ const size_t cur_row = static_cast<size_t>(y + 1) * sw;
+ const size_t prev_row = static_cast<size_t>(y) * sw;
+ for (int x = 0; x < width; ++x) {
+ const size_t soff = (src_row + x) * 3;
+ const size_t coff = (cur_row + x + 1) * 3;
+ const size_t poff = (prev_row + x + 1) * 3;
for (int c = 0; c < 3; ++c) {
- const int delta = static_cast<int>(sum[c] / count) - sample.pixels[n++];
- error += delta < 0 ? -delta : delta;
+ row_sum[c] += rgb[soff + c];
+ sat[coff + c] = sat[poff + c] + row_sum[c];
+ }
+ }
+ }
+ auto rect_avg = [&](int x0, int y0, int x1, int y1, int c) -> int {
+ const uint32_t area = static_cast<uint32_t>((x1 - x0) * (y1 - y0));
+ const size_t i11 = (static_cast<size_t>(y1) * sw + x1) * 3 + c;
+ const size_t i01 = (static_cast<size_t>(y1) * sw + x0) * 3 + c;
+ const size_t i10 = (static_cast<size_t>(y0) * sw + x1) * 3 + c;
+ const size_t i00 = (static_cast<size_t>(y0) * sw + x0) * 3 + c;
+ return static_cast<int>((sat[i11] - sat[i01] - sat[i10] + sat[i00]) / area);
+ };
+
+ auto eval_mapped = [&](const Sample& sample, double origin_x, double origin_y,
+ double scale_x, double scale_y, int dx_range, int dy_range) {
+ const size_t total_channels = static_cast<size_t>(sample.x1 - sample.x0) * (sample.y1 - sample.y0) * 3;
+ const double max_sum = kMaxError * static_cast<double>(total_channels);
+ for (int dy_px = -dy_range; dy_px <= dy_range; ++dy_px) {
+ const int min_py = static_cast<int>(std::floor(origin_y + sample.y0 * scale_y)) + dy_px;
+ const int max_py = static_cast<int>(std::floor(origin_y + sample.y1 * scale_y)) + dy_px;
+ if (min_py < 0 || max_py > height) continue;
+ for (int dx_px = -dx_range; dx_px <= dx_range; ++dx_px) {
+ const int min_px = static_cast<int>(std::floor(origin_x + sample.x0 * scale_x)) + dx_px;
+ const int max_px = static_cast<int>(std::floor(origin_x + sample.x1 * scale_x)) + dx_px;
+ if (min_px < 0 || max_px > width) continue;
+ size_t n = 0; double error_sum = 0;
+ bool aborted = false;
+ for (int y = sample.y0; y < sample.y1 && !aborted; ++y) {
+ const int py0 = static_cast<int>(std::floor(origin_y + y * scale_y)) + dy_px;
+ const int py1 = std::max(py0 + 1, static_cast<int>(std::floor(origin_y + (y + 1) * scale_y)) + dy_px);
+ if (py1 > height) { aborted = true; break; }
+ for (int x = sample.x0; x < sample.x1; ++x) {
+ const int px0 = static_cast<int>(std::floor(origin_x + x * scale_x)) + dx_px;
+ const int px1 = std::max(px0 + 1, static_cast<int>(std::floor(origin_x + (x + 1) * scale_x)) + dx_px);
+ if (px1 > width) { aborted = true; break; }
+ for (int c = 0; c < 3; ++c) {
+ const int delta = rect_avg(px0, py0, px1, py1, c) - sample.pixels[n++];
+ error_sum += delta < 0 ? -delta : delta;
+ }
+ if (error_sum > max_sum) { aborted = true; break; }
+ }
+ }
+ if (aborted || n != total_channels) continue;
+ const double error = error_sum / static_cast<double>(n);
+ int qx = 0, qy = 0;
+ if (sample.click_x != 0 || sample.click_y != 0) {
+ const double target_x = origin_x + (static_cast<double>(sample.click_x) / 6.0) * scale_x + dx_px;
+ const double target_y = origin_y + (static_cast<double>(sample.click_y) / 6.0) * scale_y + dy_px;
+ if (target_x < 0.0 || target_x >= width || target_y < 0.0 || target_y >= height) continue;
+ qx = std::clamp(static_cast<int>(target_x * 32767.0 / width + 0.5), 0, 32767);
+ qy = std::clamp(static_cast<int>(target_y * 32767.0 / height + 0.5), 0, 32767);
+ }
+ consider(sample.step, qx, qy, error);
+ }
+ }
+ };
+
+ // Pass 2: direct white-card anchored matching. Detects the exact Setup Assistant card
+ // rectangle in pixel space and aligns every white-card template to 1-pixel accuracy
+ // across any display resolution, aspect ratio (16:9, 16:10, 21:9), or 1x/2x DPI scale.
+ const WhiteCardRect card = detect_white_card(rgb, width, height);
+ if (card.valid) {
+ const double cw = static_cast<double>(card.x1 - card.x0);
+ const double ch = static_cast<double>(card.y1 - card.y0);
+ const int px_scale = std::max(1, static_cast<int>(std::lround(ch / 600.0)));
+ for (const auto& sample : samples) {
+ if (!sample.white_card || sample.ref_w <= 0 || sample.ref_h <= 0) continue;
+ const double ref_cw = 800.0 / static_cast<double>(sample.ref_w) * 160.0;
+ const double ref_ch = 600.0 / static_cast<double>(sample.ref_h) * 90.0;
+ const double card_l = 80.0 - ref_cw * 0.5;
+ const double card_t = 45.0 - ref_ch * 0.5;
+ const double scale_x = cw / ref_cw;
+ const double scale_y = ch / ref_ch;
+ const double origin_x = static_cast<double>(card.x0) - card_l * scale_x;
+ const double origin_y = static_cast<double>(card.y0) - card_t * scale_y;
+ const int range = (sample.step == SetupAssistantStep::Country ? 5 : 4) * px_scale;
+ eval_mapped(sample, origin_x, origin_y, scale_x, scale_y, range, range);
+ }
+ }
+
+ // Pass 3: centered native-resolution projection with 1-pixel alignment for dimmed modals
+ // (AccountConfirm, FileVaultConfirm), dark Welcome screens, and fallback when card edges
+ // are obscured. Also checks 2x HiDPI/Retina scale on high-resolution displays (>= 2400x1400).
+ if (width >= 1024 && height >= 640) {
+ const int max_dpi = (width >= 2400 && height >= 1400) ? 2 : 1;
+ for (int dpi = 1; dpi <= max_dpi; ++dpi) {
+ for (const auto& sample : samples) {
+ if (sample.ref_w <= 0 || sample.ref_h <= 0) continue;
+ const int rw = sample.ref_w * dpi;
+ const int rh = sample.ref_h * dpi;
+ if (width == rw && height == rh) continue;
+ const double origin_x = static_cast<double>(width - rw) * 0.5;
+ const double origin_y = static_cast<double>(height - rh) * 0.5;
+ const double scale_x = static_cast<double>(rw) / 160.0;
+ const double scale_y = static_cast<double>(rh) / 90.0;
+ const int dx_range = (sample.step == SetupAssistantStep::Country ? 6 : 2) * dpi;
+ const int dy_range = (sample.step == SetupAssistantStep::Country ? 12 : 6) * dpi;
+ eval_mapped(sample, origin_x, origin_y, scale_x, scale_y, dx_range, dy_range);
}
}
}
- error /= static_cast<double>(n);
- if (error < best_error) { best_error = error; best = &sample; }
}
+
// Tight threshold intentionally rejects unfamiliar OS versions, languages and screens.
- if (!best || best_error > 1.5) return {};
- return {best->step, best->click_x * 32767 / 960, best->click_y * 32767 / 540};
+ if (best_action.step == SetupAssistantStep::Unknown || best_error > kMaxError) return {};
+ return best_action;
}
}
diff --git a/src/wsm-runtime/src/setup_assistant_templates.inc b/src/wsm-runtime/src/setup_assistant_templates.inc
index b3a390b..ab8a541 100644
--- a/src/wsm-runtime/src/setup_assistant_templates.inc
+++ b/src/wsm-runtime/src/setup_assistant_templates.inc
@@ -10,5 +10,685 @@ static constexpr unsigned char sample_country[] = {255,255,255,255,255,255,255,2
static constexpr unsigned char sample_update[] = {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,195,219,246,128,180,236,113,171,234,187,214,245,240,246,252,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,140,187,238,111,170,234,219,233,249,250,252,254,185,214,244,133,182,237,240,246,252,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,188,215,245,147,191,239,253,254,254,163,200,241,255,255,255,255,255,255,195,219,246,146,190,239,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,146,190,239,215,231,249,255,255,255,151,193,239,126,178,236,176,208,243,176,208,243,105,166,233,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,171,205,242,203,224,247,255,255,255,132,182,237,131,181,237,254,254,255,254,254,254,131,182,237,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,210,228,248,105,166,233,234,242,252,164,201,241,255,255,255,255,255,255,145,190,239,174,207,243,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,160,199,241,36,125,223,180,210,244,202,224,247,113,171,234,135,184,237,238,244,252,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,214,230,249,131,182,237,110,169,234,207,226,248,241,246,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,217,217,217,179,179,179,202,202,202,197,197,197,181,181,181,213,213,213,193,193,193,196,196,196,200,200,200,233,233,233,192,192,192,213,213,213,190,190,190,200,200,200,201,201,201,188,188,188,190,190,190,211,211,211,177,177,177,199,199,199,251,251,251,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,226,226,226,172,172,172,195,195,195,192,192,192,185,185,185,202,202,202,215,215,215,184,184,184,180,180,180,222,222,222,204,204,204,195,195,195,196,196,196,209,209,209,194,194,194,184,184,184,192,192,192,199,199,199,188,188,188,182,182,182,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,241,241,241,249,249,249,248,248,248,255,255,255,255,255,255,255,255,255,255,255,255,241,241,241,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,246,246,246,250,250,250,255,255,255,255,255,255,255,255,255,235,235,235,249,249,249,255,255,255,255,255,255,255,255,255,248,248,248,255,255,255,255,255,255,255,255,255,243,243,243,255,255,255,246,246,246,250,250,250,255,255,255,244,244,244,255,255,255,255,255,255,246,246,246,255,255,255,246,246,246,255,255,255,249,249,249,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,238,238,238,229,229,229,216,216,216,221,221,221,214,214,214,228,228,228,214,214,214,224,224,224,218,218,218,217,217,217,216,216,216,236,236,236,201,201,201,214,214,214,215,215,215,221,221,221,212,212,212,236,236,236,214,214,214,221,221,221,237,237,237,215,215,215,231,231,231,214,214,214,216,216,216,210,210,210,221,221,221,217,217,217,218,218,218,220,220,220,221,221,221,207,207,207,232,232,232,212,212,212,212,212,212,220,220,220,211,211,211,219,219,219,204,204,204,216,216,216,222,222,222,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,255,255,255,255,255,255,255,255,255,251,251,251,255,255,255,252,252,252,251,251,251,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,252,252,252,255,255,255,255,255,255,254,254,254,255,255,255,255,255,255,252,252,252,255,255,255,255,255,255,255,255,255,252,252,252,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,228,228,228,207,207,207,206,206,206,236,236,236,219,219,219,206,206,206,206,206,206,194,194,194,212,212,212,213,213,213,210,210,210,232,232,232,218,218,218,208,208,208,231,231,231,204,204,204,225,225,225,202,202,202,202,202,202,219,219,219,230,230,230,208,208,208,230,230,230,198,198,198,206,206,206,198,198,198,204,204,204,199,199,199,250,250,250,215,215,215,210,210,210,227,227,227,222,222,222,193,193,193,237,237,237,211,211,211,199,199,199,221,221,221,203,203,203,203,203,203,231,231,231,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,248,248,248,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,247,247,247,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,245,245,245,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,241,241,241,214,214,214,217,217,217,230,230,230,236,236,236,221,221,221,225,225,225,217,217,217,222,222,222,227,227,227,230,230,230,225,225,225,226,226,226,226,226,226,221,221,221,220,220,220,232,232,232,231,231,231,224,224,224,237,237,237,219,219,219,228,228,228,232,232,232,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,244,244,244,238,238,238,246,246,246,249,249,249,241,241,241,240,240,240,246,246,246,241,241,241,240,240,240,246,246,246,248,248,248,229,229,229,238,238,238,239,239,239,239,239,239,243,243,243,241,241,241,242,242,242,245,245,245,244,244,244,218,218,218,241,241,241,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255};
static constexpr unsigned char sample_age_range[] = {
-193,193,193,185,185,185,253,253,253,251,251,251,250,250,250,249,249,249,250,250,250,252,252,252,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,185,185,185,192,192,192,180,180,180,251,251,251,248,248,248,242,242,242,242,242,242,248,248,248,250,250,250,253,253,253,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,180,180,180,191,191,191,178,178,178,250,250,250,244,244,244,242,242,242,242,242,242,242,242,242,247,247,247,252,252,252,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,178,178,178,191,191,191,177,177,177,249,249,249,243,243,243,242,242,242,242,242,242,251,251,251,246,246,246,251,251,251,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,250,250,250,246,246,246,241,241,241,240,240,240,243,243,243,248,248,248,252,252,252,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,252,252,252,250,250,250,247,247,247,246,246,246,248,248,248,251,251,251,253,253,253,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,62,141,227,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,254,254,254,253,253,253,252,252,252,251,251,251,252,252,252,253,253,253,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,153,194,241,255,255,255,255,255,255,255,255,255,50,134,225,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,254,254,254,254,254,254,254,254,254,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,241,246,253,202,224,247,255,255,255,255,255,255,254,254,255,255,255,255,255,255,255,255,255,255,39,127,223,39,127,223,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,246,250,254,203,225,248,255,255,255,222,235,250,142,188,238,142,188,239,255,255,255,28,121,222,28,120,222,28,120,223,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,196,220,246,196,220,246,197,221,247,136,185,238,136,184,238,140,187,238,255,255,255,16,114,220,17,114,221,16,114,220,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,219,234,250,193,218,246,193,218,246,130,181,237,131,181,237,134,184,237,255,255,255,255,255,255,6,107,220,6,107,219,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,218,233,250,192,218,246,255,255,255,255,255,255,128,180,237,132,182,237,255,255,255,255,255,255,0,104,218,1,104,219,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,218,233,250,192,218,246,255,255,255,255,255,255,128,180,236,132,182,237,255,255,255,255,255,255,1,104,218,0,104,217,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,42,42,42,253,253,253,255,255,255,134,134,134,134,134,134,255,255,255,253,253,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,217,217,217,128,128,128,255,255,255,177,177,177,255,255,255,249,249,249,255,255,255,197,197,197,255,255,255,252,252,252,155,155,155,128,128,128,235,235,235,255,255,255,255,255,255,213,213,213,255,255,255,255,255,255,157,157,157,255,255,255,255,255,255,255,255,255,176,176,176,255,255,255,139,139,139,244,244,244,218,218,218,255,255,255,255,255,255,255,255,255,152,152,152,211,211,211,255,255,255,128,128,128,166,166,166,232,232,232,187,187,187,255,255,255,132,132,132,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,254,254,255,255,255,255,255,255,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,244,244,244,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,223,223,223,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,152,152,152,213,213,213,255,255,255,255,255,255,149,149,149,128,128,128,128,128,128,255,255,255,159,159,159,255,255,255,255,255,255,175,175,175,233,233,233,255,255,255,205,205,205,131,131,131,255,255,255,255,255,255,128,128,128,255,255,255,157,157,157,201,201,201,255,255,255,128,128,128,255,255,255,254,254,254,158,158,158,133,133,133,158,158,158,205,205,205,255,255,255,151,151,151,255,255,255,201,201,201,217,217,217,195,195,195,255,255,255,167,167,167,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,237,237,237,255,255,255,128,128,128,198,198,198,255,255,255,128,128,128,128,128,128,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,141,141,141,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,14,112,220,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,219,219,219,250,250,250,172,172,172,183,183,183,250,250,250,221,221,221,249,249,249,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,47,47,47,99,99,99,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,241,241,241,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,125,125,125,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,244,244,244,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,46,46,46,132,132,132,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,0,104,218,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,219,219,219,245,245,245,200,200,200,154,154,154,169,169,169,161,161,161,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,177,177,177,191,191,191,178,178,178,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,178,178,178,192,192,192,181,181,181,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,181,181,181,193,193,193,188,188,188,171,171,171,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,171,171,171,188,188,188,193,193,193,192,192,192,187,187,187,180,180,180,176,176,176,176,176,176,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,176,176,176,176,176,176,180,180,180,187,187,187,192,192,192,193,193,193,193,193,193,193,193,193,192,192,192,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,192,192,192,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193
+ 193,193,193,185,185,185,253,253,253,251,251,251,250,250,250,249,249,249,250,250,250,252,252,252,
+ 254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,185,185,185,192,192,192,180,180,180,251,251,251,248,248,248,
+ 242,242,242,242,242,242,248,248,248,250,250,250,253,253,253,254,254,254,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,180,180,180,
+ 191,191,191,178,178,178,250,250,250,244,244,244,242,242,242,242,242,242,242,242,242,247,247,247,
+ 252,252,252,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,178,178,178,191,191,191,177,177,177,249,249,249,243,243,243,
+ 242,242,242,242,242,242,251,251,251,246,246,246,251,251,251,254,254,254,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,250,250,250,246,246,246,241,241,241,240,240,240,243,243,243,248,248,248,
+ 252,252,252,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,252,252,252,250,250,250,
+ 247,247,247,246,246,246,248,248,248,251,251,251,253,253,253,254,254,254,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,62,141,227,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,254,254,254,253,253,253,252,252,252,251,251,251,252,252,252,253,253,253,
+ 254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,153,194,241,255,255,255,
+ 255,255,255,255,255,255,50,134,225,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,254,254,254,
+ 254,254,254,254,254,254,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,241,246,253,202,224,247,
+ 255,255,255,255,255,255,254,254,255,255,255,255,255,255,255,255,255,255,39,127,223,39,127,223,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,246,250,254,203,225,248,255,255,255,222,235,250,142,188,238,142,188,239,
+ 255,255,255,28,121,222,28,120,222,28,120,223,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,196,220,246,196,220,246,
+ 197,221,247,136,185,238,136,184,238,140,187,238,255,255,255,16,114,220,17,114,221,16,114,220,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,219,234,250,193,218,246,193,218,246,130,181,237,131,181,237,134,184,237,
+ 255,255,255,255,255,255,6,107,220,6,107,219,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,218,233,250,192,218,246,
+ 255,255,255,255,255,255,128,180,237,132,182,237,255,255,255,255,255,255,0,104,218,1,104,219,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,218,233,250,192,218,246,255,255,255,255,255,255,128,180,236,132,182,237,
+ 255,255,255,255,255,255,1,104,218,0,104,217,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,42,42,42,253,253,253,
+ 255,255,255,134,134,134,134,134,134,255,255,255,253,253,253,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,217,217,217,128,128,128,
+ 255,255,255,177,177,177,255,255,255,249,249,249,255,255,255,197,197,197,255,255,255,252,252,252,
+ 155,155,155,128,128,128,235,235,235,255,255,255,255,255,255,213,213,213,255,255,255,255,255,255,
+ 157,157,157,255,255,255,255,255,255,255,255,255,176,176,176,255,255,255,139,139,139,244,244,244,
+ 218,218,218,255,255,255,255,255,255,255,255,255,152,152,152,211,211,211,255,255,255,128,128,128,
+ 166,166,166,232,232,232,187,187,187,255,255,255,132,132,132,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,254,254,255,255,255,
+ 255,255,255,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,244,244,244,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,223,223,223,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,152,152,152,213,213,213,255,255,255,255,255,255,149,149,149,
+ 128,128,128,128,128,128,255,255,255,159,159,159,255,255,255,255,255,255,175,175,175,233,233,233,
+ 255,255,255,205,205,205,131,131,131,255,255,255,255,255,255,128,128,128,255,255,255,157,157,157,
+ 201,201,201,255,255,255,128,128,128,255,255,255,254,254,254,158,158,158,133,133,133,158,158,158,
+ 205,205,205,255,255,255,151,151,151,255,255,255,201,201,201,217,217,217,195,195,195,255,255,255,
+ 167,167,167,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,237,237,237,255,255,255,128,128,128,198,198,198,255,255,255,128,128,128,
+ 128,128,128,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,141,141,141,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,250,250,250,250,250,250,14,112,220,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,
+ 250,250,250,250,250,250,219,219,219,250,250,250,172,172,172,183,183,183,250,250,250,221,221,221,
+ 249,249,249,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,47,47,47,
+ 99,99,99,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,241,241,241,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,125,125,125,250,250,250,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 244,244,244,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,46,46,46,
+ 132,132,132,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,
+ 0,104,218,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,219,219,219,245,245,245,
+ 200,200,200,154,154,154,169,169,169,161,161,161,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,122,122,122,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,122,122,122,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,177,177,177,191,191,191,177,177,177,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,177,177,177,
+ 191,191,191,177,177,177,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,177,177,177,191,191,191,178,178,178,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,178,178,178,
+ 192,192,192,181,181,181,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,181,181,181,193,193,193,188,188,188,171,171,171,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,171,171,171,188,188,188,
+ 193,193,193,192,192,192,187,187,187,180,180,180,176,176,176,176,176,176,175,175,175,175,175,175,
+ 175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
+ 175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
+ 175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
+ 175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
+ 175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
+ 175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
+ 175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,
+ 175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,175,176,176,176,
+ 176,176,176,180,180,180,187,187,187,192,192,192,193,193,193,193,193,193,193,193,193,192,192,192,
+ 191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,
+ 191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,
+ 191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,
+ 191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,
+ 191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,
+ 191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,
+ 191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,
+ 191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,
+ 191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,192,192,192,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,
+ 193,193,193,193,193,193,193,193,193,193,193,193,
};
+
+
+static constexpr unsigned char sample_apple_account[] = {
+193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,192,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,192,192,192,190,190,190,187,187,187,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,192,192,192,188,188,188,213,213,213,246,246,246,253,253,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,191,191,191,192,192,192,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,191,191,191,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,252,253,254,245,249,253,236,243,252,244,248,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,252,254,226,238,250,233,242,251,242,247,253,234,242,251,231,240,251,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,229,240,251,243,248,253,254,254,254,233,242,251,253,254,254,233,242,251,240,246,252,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,243,248,253,226,237,250,254,254,254,133,183,237,92,158,231,252,253,254,240,246,252,229,239,251,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,242,247,253,222,235,250,254,254,254,81,152,229,24,118,221,244,248,253,237,244,252,228,239,251,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,223,236,250,242,247,253,246,249,253,244,248,253,254,254,254,228,239,251,237,244,252,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,248,251,254,219,234,249,230,240,251,241,247,253,231,241,251,224,237,250,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,252,254,240,246,252,227,238,251,238,244,252,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,241,241,241,244,244,244,255,255,255,249,249,249,255,255,255,252,252,252,253,253,253,244,244,244,255,255,255,255,255,255,247,247,247,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,158,158,158,133,133,133,135,135,135,160,160,160,153,153,153,150,150,150,188,188,188,139,139,139,139,139,139,142,142,142,178,178,178,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,254,254,239,239,239,245,245,245,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,254,254,254,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,215,215,215,215,215,215,209,209,209,225,225,225,236,236,236,206,206,206,233,233,233,211,211,211,220,220,220,214,214,214,212,212,212,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,254,254,246,246,246,251,251,251,255,255,255,255,255,255,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,229,229,229,212,212,212,228,228,228,216,216,216,218,218,218,233,233,233,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,249,249,249,253,253,253,249,249,249,250,250,250,249,249,249,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,216,228,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,200,214,234,229,229,229,229,229,229,229,229,229,237,237,237,221,221,221,230,230,230,228,228,228,232,232,232,227,227,227,230,230,230,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,199,216,242,206,220,240,207,221,240,209,222,242,209,223,242,210,224,243,208,221,241,208,222,241,210,223,243,206,220,240,209,223,242,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,243,248,253,255,255,255,253,253,254,255,255,255,255,255,255,255,255,255,250,252,254,255,255,255,250,252,254,250,252,254,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,216,231,249,189,215,245,184,212,244,205,225,247,185,213,244,193,218,246,207,226,248,172,205,242,182,212,244,206,226,248,193,218,246,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,206,226,247,191,217,245,175,208,243,198,221,246,179,210,244,190,216,245,187,215,245,193,218,246,183,212,244,240,246,252,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,254,254,254,254,254,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,193,190,190,190,199,199,199,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255
+};
+
+static constexpr unsigned char sample_country_25g342[] = {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,245,249,253,215,232,247,230,241,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,192,218,243,184,214,242,222,236,249,200,224,245,141,189,234,247,250,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,215,231,248,155,196,237,255,255,255,228,239,250,170,205,240,247,250,253,169,204,240,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,173,205,241,223,236,249,176,207,241,129,179,234,169,203,240,251,252,254,175,207,241,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,170,203,241,255,255,255,188,214,244,251,252,254,249,251,254,185,212,243,172,204,241,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,201,221,246,208,226,247,248,251,254,179,207,243,194,217,245,232,241,251,159,195,240,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,170,201,242,183,209,244,184,210,244,172,202,242,147,186,238,236,243,252,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,230,239,251,172,202,242,198,218,246,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,237,237,237,254,254,254,247,247,247,255,255,255,250,250,250,238,238,238,255,255,255,255,255,255,241,241,241,249,249,249,255,255,255,255,255,255,250,250,250,255,255,255,255,255,255,255,255,255,231,231,231,255,255,255,246,246,246,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,183,183,183,148,148,148,148,148,148,167,167,167,205,205,205,165,165,165,166,166,166,168,168,168,203,203,203,155,155,155,141,141,141,179,179,179,151,151,151,174,174,174,164,164,164,201,201,201,142,142,142,133,133,133,155,155,155,146,146,146,204,204,204,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,244,244,244,255,255,255,255,255,255,255,255,255,249,249,249,243,243,243,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,213,226,245,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,210,224,244,255,255,255,255,255,255,255,255,255};
+
+static constexpr unsigned char sample_account_menu_tahoe[] = {254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,230,230,230,227,227,227,229,229,229,239,239,239,196,220,246,207,226,247,199,221,246,253,253,253,252,252,252,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,252,252,252,253,253,253,254,254,254,255,255,255,255,255,255,251,251,251,248,248,248,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,245,246,246,246,249,249,249,252,252,252,254,254,254,255,255,255,255,255,255,249,249,249,244,244,244,236,236,236,226,226,226,230,230,230,233,233,233,229,229,229,231,231,231,231,231,231,233,233,233,230,230,230,229,229,229,231,231,231,235,235,235,220,220,220,241,241,241,245,245,245,250,250,250,253,253,253,254,254,254,255,255,255,247,247,247,239,239,239,230,230,230,226,226,226,226,226,226,228,228,228,223,223,223,224,224,224,228,228,228,228,228,228,223,223,223,226,226,226,226,226,226,228,228,228,225,225,225,232,232,232,236,236,236,244,244,244,252,252,252,254,254,254,255,255,255,245,245,245,235,235,235,242,242,242,234,234,234,241,241,241,241,241,241,241,241,241,241,241,241,240,240,240,239,239,239,242,242,242,241,241,241,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,238,238,238,249,249,249,254,254,254,255,255,255,200,200,200,231,231,231,223,223,223,180,180,180,218,218,218,184,184,184,199,199,199,189,189,189,186,186,186,176,176,176,208,208,208,186,186,186,199,199,199,193,193,193,188,188,188,209,209,209,242,242,242,237,237,237,245,245,245,254,254,254,255,255,255,178,178,178,214,214,214,242,242,242,235,235,235,240,240,240,240,240,240,241,241,241,240,240,240,241,241,241,242,242,242,242,242,242,240,240,240,240,240,240,242,242,242,240,240,240,242,242,242,242,242,242,218,218,218,163,163,163,169,169,169,169,169,169,186,186,186,217,217,217,230,230,230,180,180,180,204,204,204,180,180,180,212,212,212,199,199,199,203,203,203,183,183,183,208,208,208,199,199,199,198,198,198,188,188,188,187,187,187,179,179,179,222,222,222,222,222,222,183,183,183,190,190,190,190,190,190,189,189,189,193,193,193,220,220,220,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,221,196,196,196,188,188,188,192,192,192,193,193,193,191,191,191,186,186,186,181,181,181,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,180,180,180,186,186,186,191,191,191,192,192,192,193,193,193,192,192,192,192,192,192,192,192,192,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,191,192,192,192,192,192,192,193,193,193,193,193,193};
+
+static constexpr unsigned char sample_account_confirm_tahoe[] = {191,196,201,202,202,202,202,202,202,201,201,201,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,199,199,199,199,199,199,199,199,199,199,199,199,199,199,199,199,199,199,199,199,199,199,199,199,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,201,201,201,202,202,202,202,202,202,203,203,203,203,203,203,202,202,202,201,201,201,199,199,199,216,216,216,224,224,224,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,225,224,224,224,216,216,216,199,199,199,201,201,201,202,202,202,203,203,203,201,201,201,198,198,198,218,218,218,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,218,218,218,198,198,198,201,201,201,203,203,203,200,200,200,194,194,194,230,230,230,241,241,241,215,215,218,207,208,211,207,208,211,207,208,211,215,215,218,241,241,241,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,230,230,230,194,194,194,199,199,199,202,202,202,197,197,197,186,186,186,231,231,231,241,241,241,190,191,195,187,188,193,210,210,213,189,189,194,190,191,195,241,241,241,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,231,231,231,190,190,190,198,198,198,202,202,202,171,171,171,145,145,145,225,225,225,241,241,241,180,180,184,227,227,229,255,255,255,198,199,202,180,180,184,241,241,241,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,231,231,231,188,188,188,197,197,197,201,201,201,196,196,196,187,187,187,230,230,230,241,241,241,169,169,172,201,201,203,248,248,248,199,199,202,169,169,172,241,241,241,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,230,230,230,187,187,187,196,196,196,201,201,201,188,188,188,170,170,170,229,229,229,241,241,241,163,164,167,146,146,150,146,146,150,146,146,150,163,164,167,241,241,241,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,229,229,229,167,167,167,179,179,179,183,183,183,195,195,195,186,186,186,230,230,230,242,242,242,235,235,235,229,229,229,229,229,229,229,229,229,235,235,235,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,230,230,230,184,184,184,194,194,194,201,201,201,195,195,195,186,186,186,230,230,230,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,241,241,241,242,242,242,242,242,242,242,242,242,242,242,242,230,230,230,186,186,186,195,195,195,201,201,201,195,195,195,186,186,186,230,230,230,242,242,242,167,167,167,189,189,189,179,179,179,174,174,174,198,198,198,174,174,174,195,195,195,173,173,173,177,177,177,189,189,189,170,170,170,184,184,184,185,185,185,188,188,188,162,162,162,184,184,184,242,242,242,242,242,242,242,242,242,230,230,230,186,186,186,195,195,195,201,201,201,195,195,195,186,186,186,230,230,230,242,242,242,218,218,218,217,217,217,214,214,214,223,223,223,218,218,218,228,228,228,212,212,212,216,216,216,222,222,222,225,225,225,216,216,216,218,218,218,224,224,224,242,242,242,242,242,242,241,241,241,242,242,242,242,242,242,242,242,242,230,230,230,186,186,186,195,195,195,201,201,201,195,195,195,185,185,185,230,230,230,242,242,242,195,195,195,183,183,183,198,198,198,179,179,179,208,208,208,206,206,206,195,195,195,211,211,211,194,194,194,210,210,210,187,187,187,186,186,186,202,202,202,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,230,230,230,185,185,185,195,195,195,200,200,200,186,186,186,176,176,176,228,228,228,242,242,242,168,168,168,184,184,184,177,177,177,176,176,176,175,175,175,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,230,230,230,186,186,186,195,195,195,201,201,201,193,193,193,184,184,184,230,230,230,242,242,242,242,242,242,241,241,241,241,241,241,241,241,241,241,241,241,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,230,230,230,185,185,185,195,195,195,200,200,200,193,194,195,186,186,186,230,230,230,242,242,242,222,222,222,229,229,229,222,222,222,222,222,222,232,232,232,218,218,218,227,227,227,229,229,229,220,220,220,228,228,228,233,233,233,226,226,226,222,222,222,223,223,223,239,239,239,242,242,242,242,242,242,242,242,242,242,242,242,230,230,230,186,186,186,195,195,195,201,201,201,177,184,193,156,168,181,226,228,230,242,242,242,207,207,207,220,220,220,201,201,201,205,205,205,212,212,212,207,207,207,213,213,213,207,207,207,212,212,212,217,217,217,215,215,215,206,206,206,209,209,209,217,217,217,234,234,234,242,242,242,242,242,242,242,242,242,242,242,242,230,230,230,186,186,186,195,195,195,201,201,201,195,195,195,186,186,186,230,230,230,242,242,242,192,192,192,188,188,188,194,194,194,180,180,180,196,196,196,181,181,181,209,209,209,187,187,187,205,205,205,189,189,189,201,201,201,187,187,187,202,202,202,190,190,190,204,204,204,183,183,183,194,194,194,218,218,218,242,242,242,230,230,230,186,186,186,195,195,195,201,201,201,170,180,192,163,173,183,228,229,230,242,242,242,225,225,225,236,236,236,242,242,242,237,237,237,241,241,241,236,236,236,232,232,232,236,236,236,241,241,241,230,230,230,241,241,241,237,237,237,242,242,242,233,233,233,238,238,238,241,241,241,241,241,241,238,238,238,242,242,242,230,230,230,186,186,186,195,195,195,201,201,201,195,195,195,186,186,186,230,230,230,242,242,242,205,205,205,197,197,197,192,192,192,211,211,211,188,188,188,206,206,206,192,192,192,191,191,191,212,212,212,186,186,186,185,185,185,195,195,195,197,197,197,197,197,197,198,198,198,191,191,191,218,218,218,242,242,242,242,242,242,230,230,230,186,186,186,195,195,195,201,201,201,195,195,195,186,186,186,230,230,230,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,230,230,230,186,186,186,195,195,195,201,201,201,195,195,195,186,186,186,230,230,230,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,230,230,230,186,186,186,195,195,195,201,201,201,195,195,195,186,186,186,230,230,230,242,242,242,241,241,241,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,240,242,242,242,242,242,242,226,233,240,221,230,239,221,230,240,221,230,240,221,230,240,221,230,240,221,230,239,229,235,240,242,242,242,230,230,230,186,186,186,196,196,196,201,201,201,196,196,196,186,186,186,230,230,230,236,236,236,224,224,224,212,212,212,214,214,214,211,211,211,208,208,208,207,207,207,218,218,218,224,224,224,233,233,233,128,177,230,0,104,218,0,104,218,3,106,218,34,124,222,17,114,220,0,104,218,0,104,218,2,105,218,166,198,234,230,230,230,186,186,186,196,196,196,201,201,201,196,196,196,187,187,187,227,227,227,235,235,235,224,224,224,208,208,208,189,189,189,199,199,199,196,196,196,182,182,182,192,192,192,224,224,224,232,232,232,106,164,228,0,104,218,0,104,218,4,106,218,72,147,228,69,145,228,0,104,218,0,104,218,0,104,218,147,187,232,227,227,227,187,187,187,196,196,196,201,201,201,197,197,197,188,188,188,209,209,209,241,241,241,238,238,238,237,237,237,237,237,237,237,237,237,237,237,237,237,237,237,237,237,237,238,238,238,241,241,241,236,239,241,186,210,236,181,207,235,181,207,236,181,207,236,181,207,236,181,207,236,181,207,235,192,213,237,241,241,241,209,209,209,188,188,188,197,197,197,201,201,201,198,198,198,191,191,191,181,181,181,198,198,198,208,208,208,209,209,209,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,208,209,209,209,208,208,208,198,198,198,181,181,181,191,191,191,198,198,198,202,202,202,200,200,200,194,194,194,187,187,187,181,181,181,175,175,175,172,172,172,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,171,172,172,172,175,175,175,181,181,181,187,187,187,194,194,194,200,200,200,202,202,202,201,201,201,198,198,198,194,194,194,190,190,190,186,186,186,184,184,184,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,183,184,184,184,186,186,186,190,190,190,194,194,194,198,198,198,201,201,201,203,203,203};
+
+static constexpr unsigned char sample_filevault_confirm_tahoe[] = {203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,203,204,204,204,203,203,203,202,202,202,202,202,202,201,201,201,201,201,201,201,201,201,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,200,201,201,201,201,201,201,201,201,201,202,202,202,203,203,203,203,203,203,203,203,203,182,182,182,162,162,162,166,166,166,183,183,183,206,206,206,199,199,199,211,211,211,198,198,198,208,208,208,203,203,203,200,200,200,203,203,203,200,200,200,209,209,209,198,198,198,218,218,218,218,218,218,218,218,218,218,218,218,218,218,218,218,218,218,217,217,217,209,209,209,199,199,199,201,201,201,202,202,202,203,203,203,198,198,198,194,194,194,212,212,212,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,214,214,214,199,199,199,201,201,201,203,203,203,183,183,183,182,182,182,227,227,227,242,242,242,196,196,196,214,214,214,214,214,214,210,210,210,208,208,208,206,206,206,197,197,197,202,202,202,208,208,208,211,211,211,199,199,199,239,239,239,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,227,227,227,183,183,183,194,194,194,186,186,186,194,194,194,187,187,187,231,231,231,242,242,242,205,205,205,197,197,197,217,217,217,202,202,202,198,198,198,219,219,219,207,207,207,217,217,217,199,199,199,218,218,218,199,199,199,238,238,238,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,231,231,231,186,186,186,196,196,196,196,196,196,188,188,188,178,178,178,231,231,231,242,242,242,164,164,164,179,179,179,175,175,175,166,166,166,201,201,201,163,163,163,183,183,183,176,176,176,167,167,167,177,177,177,193,193,193,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,228,228,228,184,184,184,185,185,185,196,196,196,187,187,187,183,183,183,230,230,230,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,236,236,236,242,242,242,242,242,242,236,236,236,238,238,238,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,229,229,229,184,184,184,193,193,193,196,196,196,187,187,187,181,181,181,229,229,229,242,242,242,216,216,216,226,226,226,222,222,222,226,226,226,225,225,225,220,220,220,229,229,229,218,218,218,231,231,231,220,220,220,214,214,214,224,224,224,227,227,227,221,221,221,214,214,214,217,217,217,222,222,222,239,239,239,242,242,242,229,229,229,177,177,177,190,190,190,188,188,188,187,187,187,181,181,181,229,229,229,242,242,242,213,213,213,221,221,221,212,212,212,216,216,216,215,215,215,213,213,213,215,215,215,216,216,216,222,222,222,208,208,208,215,215,215,224,224,224,222,222,222,217,217,217,218,218,218,218,218,218,207,207,207,238,238,238,242,242,242,229,229,229,180,180,180,191,191,191,194,194,194,195,195,195,186,186,186,230,230,230,242,242,242,185,185,185,189,189,189,194,194,194,204,204,204,195,195,195,180,180,180,185,185,185,193,193,193,196,196,196,200,200,200,194,194,194,214,214,214,185,185,185,206,206,206,192,192,192,190,190,190,185,185,185,216,216,216,242,242,242,230,230,230,186,186,186,195,195,195,201,201,201,195,195,195,186,186,186,230,230,230,242,242,242,223,223,223,232,232,232,230,230,230,236,236,236,234,234,234,229,229,229,230,230,230,237,237,237,231,231,231,222,222,222,231,231,231,234,234,234,236,236,236,227,227,227,242,242,242,242,242,242,234,234,234,242,242,242,242,242,242,230,230,230,186,186,186,195,195,195,201,201,201,195,195,195,186,186,186,230,230,230,242,242,242,204,204,204,207,207,207,200,200,200,210,210,210,197,197,197,217,217,217,201,201,201,211,211,211,207,207,207,211,211,211,208,208,208,198,198,198,207,207,207,203,203,203,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,230,230,230,186,186,186,195,195,195,201,201,201,195,195,195,186,186,186,230,230,230,242,242,242,190,190,190,205,205,205,207,207,207,192,192,192,215,215,215,195,195,195,195,195,195,200,200,200,217,217,217,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,230,230,230,186,186,186,195,195,195,201,201,201,195,195,195,186,186,186,230,230,230,242,242,242,232,232,232,234,234,234,233,233,233,228,228,228,236,236,236,233,233,233,235,235,235,225,225,225,234,234,234,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,242,230,230,230,186,186,186,195,195,195,201,201,201,196,196,196,186,186,186,230,230,230,242,242,242,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,241,241,241,240,241,241,206,221,238,201,218,237,201,219,238,201,219,238,201,219,238,201,219,238,201,219,237,211,224,238,242,242,242,230,230,230,186,186,186,196,196,196,201,201,201,196,196,196,186,186,186,230,230,230,235,235,235,224,224,224,224,224,224,207,207,207,209,209,209,210,210,210,207,207,207,224,224,224,224,224,224,232,232,232,116,170,229,0,104,218,15,112,220,31,122,222,32,123,222,28,120,222,19,115,220,4,106,218,0,104,218,156,193,233,230,230,230,186,186,186,196,196,196,201,201,201,196,196,196,187,187,187,227,227,227,235,235,235,224,224,224,224,224,224,206,206,206,191,191,191,199,199,199,194,194,194,224,224,224,224,224,224,232,232,232,116,170,229,0,104,218,15,113,220,43,129,224,44,130,224,41,128,224,57,138,226,12,111,219,0,104,218,156,193,233,227,227,227,187,187,187,196,196,196,201,201,201,197,197,197,188,188,188,205,205,205,242,242,242,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,239,241,241,241,240,241,241,206,221,238,201,218,237,201,219,238,201,219,238,201,219,238,201,219,238,201,219,237,211,224,238,242,242,242,205,205,205,188,188,188,197,197,197,201,201,201,198,198,198,191,191,191,182,182,182,192,192,192,202,202,202,203,203,203,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,203,203,203,202,202,202,192,192,192,182,182,182,191,191,191,198,198,198,202,202,202,200,200,200,195,195,195,188,188,188,181,181,181,176,176,176,173,173,173,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,173,173,173,176,176,176,181,181,181,188,188,188,195,195,195,200,200,200,202,202,202,201,201,201,199,199,199,194,194,194,190,190,190,187,187,187,185,185,185,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,184,185,185,185,187,187,187,190,190,190,194,194,194,199,199,199,201,201,201,203,203,203};
+
+static constexpr unsigned char sample_welcome_pending[] = {17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,18,19,22,17,20,21,17,19,21,18,19,21,17,20,21,17,19,22,17,20,21,17,19,21,18,19,22,17,20,21,17,19,21,18,19,21,17,20,21,17,19,22,17,20,21,17,19,21,18,19,22,17,20,21,17,19,21,18,19,21,17,20,21,17,19,22,17,20,21,17,19,21,18,19,22,17,20,21,17,19,21,18,19,21,17,20,21,17,19,22,17,20,21,17,19,21,18,19,22,17,20,21,17,19,21,18,19,21,17,20,21,17,19,22,17,20,21,17,19,21,18,19,22,17,20,21,17,19,21,18,19,21,17,20,21,17,19,22,17,20,21,17,19,21,18,19,22,17,20,21,17,19,21,18,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,21,18,20,21,17,19,21,17,20,21,18,19,21,17,19,21,18,20,21,17,19,21,17,19,21,18,20,21,17,19,21,17,20,21,18,19,21,17,19,21,18,20,21,17,19,21,17,19,21,18,20,21,17,19,21,17,20,21,18,19,21,44,45,47,95,96,97,47,49,50,17,19,21,18,20,21,17,19,21,17,20,21,18,19,21,17,19,21,18,20,21,17,19,21,17,19,21,18,20,21,17,19,21,17,20,21,18,19,21,17,19,21,18,20,21,17,19,21,17,19,21,18,20,21,17,19,21,17,20,21,18,19,21,17,19,21,18,20,21,17,19,21,17,19,21,18,20,21,17,19,21,17,20,21,18,19,21,17,19,21,18,20,21,17,19,21,17,19,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,19,21,17,19,22,17,20,21,27,28,30,144,145,145,122,123,123,132,133,133,18,20,22,17,19,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,18,20,21,17,20,21,17,20,22,18,19,21,17,20,21,17,19,21,18,20,21,17,20,22,18,20,21,17,20,21,17,20,22,18,19,21,17,20,21,17,19,21,18,20,21,17,20,22,18,20,21,17,20,21,17,20,22,18,19,21,78,80,81,125,125,126,46,47,49,140,141,141,21,23,24,17,20,21,17,20,22,18,19,21,17,20,21,17,19,21,18,20,21,17,20,22,18,20,21,17,20,21,17,20,22,18,19,21,17,20,21,17,19,21,18,20,21,17,20,22,18,20,21,17,20,21,17,20,22,18,19,21,17,20,21,17,19,21,18,20,21,17,20,22,18,20,21,17,20,21,17,20,22,18,19,21,17,20,21,17,19,21,18,20,21,17,20,22,17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,20,21,17,19,22,17,20,21,111,112,113,83,84,85,71,73,74,125,125,126,17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,18,20,21,17,19,21,17,19,21,35,36,38,92,94,95,78,79,80,18,20,22,17,19,21,41,43,45,28,29,31,34,36,38,88,90,91,19,21,23,17,19,21,18,19,21,59,61,62,97,98,100,52,54,55,17,19,21,18,19,21,131,131,132,58,60,61,111,112,113,91,92,93,18,20,21,17,19,21,67,69,70,97,97,99,77,78,79,21,23,24,18,19,21,21,22,24,80,81,83,97,98,99,60,61,63,18,19,21,17,19,21,17,19,21,51,53,54,81,82,83,92,93,94,75,77,78,30,32,34,89,90,91,85,86,87,24,26,28,18,19,21,17,19,21,36,38,40,94,95,96,75,77,78,18,19,21,17,19,21,17,19,21,18,19,21,17,19,21,17,19,21,18,20,21,19,21,23,138,139,139,124,124,125,135,135,136,60,61,62,17,19,22,126,127,127,71,72,73,61,62,64,143,144,144,46,48,50,17,19,21,54,56,57,151,151,151,110,111,112,141,141,142,27,29,31,17,19,21,146,146,147,66,68,69,146,147,147,48,50,51,17,19,21,82,83,84,146,146,147,109,110,111,130,130,131,76,78,79,18,20,21,115,116,117,142,142,143,104,105,105,140,141,141,96,97,98,23,25,27,39,41,43,141,142,142,142,143,143,99,99,100,124,125,125,145,146,146,121,122,122,122,123,123,95,96,97,18,20,21,21,23,25,141,141,142,123,124,125,134,135,135,65,66,67,18,20,22,17,19,21,18,20,21,17,19,22,17,19,21,17,20,21,42,44,46,135,135,136,23,25,27,128,129,129,66,67,68,17,19,21,141,142,142,52,53,54,27,29,31,140,140,141,70,71,72,17,19,22,104,105,106,94,95,96,37,39,41,146,146,147,31,33,35,17,20,21,144,145,145,137,138,139,113,113,114,17,19,21,19,21,23,143,143,144,69,70,71,17,20,21,32,33,35,34,36,38,51,53,55,145,146,146,44,46,47,17,20,21,92,93,94,141,141,141,152,152,153,152,152,153,146,147,147,96,97,98,17,19,21,86,88,89,118,119,120,19,21,23,86,87,88,110,111,112,17,20,21,55,57,58,137,137,138,23,25,27,115,116,117,76,77,78,17,19,21,17,19,22,17,20,21,17,19,21,18,19,22,17,20,21,17,19,21,34,36,38,17,20,21,146,146,147,45,47,48,38,39,41,148,148,149,42,44,45,17,19,21,140,140,141,142,143,143,108,109,110,133,133,134,123,124,125,143,143,144,108,109,109,17,19,21,18,19,21,133,134,134,142,142,142,42,44,45,17,19,21,71,72,73,144,145,145,40,41,43,18,19,21,17,20,21,18,20,22,126,127,127,131,131,131,18,19,22,17,20,21,100,101,102,99,100,100,54,55,57,56,57,59,132,133,133,59,60,61,18,19,22,107,109,109,80,81,82,18,19,21,100,102,102,93,93,94,17,20,21,60,62,63,134,134,135,65,67,68,148,148,148,44,46,48,28,30,32,17,19,22,17,20,21,17,19,21,17,19,21,18,20,21,17,19,21,17,20,21,18,20,22,145,146,146,71,72,74,123,124,125,142,142,142,93,94,95,97,99,100,140,140,140,56,58,59,93,94,95,117,118,119,142,143,143,123,124,124,50,52,53,71,72,74,131,132,132,144,144,145,133,134,135,64,65,66,67,69,70,144,145,145,139,139,140,108,109,110,47,48,50,56,58,59,125,126,127,135,135,136,141,142,142,74,75,76,75,77,78,146,147,147,58,60,61,18,19,21,18,20,22,149,150,150,38,40,42,17,19,21,131,132,132,59,60,62,17,20,21,100,101,102,108,109,110,47,49,50,89,90,91,146,146,147,148,149,149,92,93,94,66,68,69,149,150,150,49,50,52,18,20,21,17,19,21,17,19,21,17,19,21,17,19,22,17,20,21,17,19,21,76,77,78,144,145,145,132,132,133,72,73,74,130,130,131,144,144,145,70,72,73,17,19,21,17,19,22,20,22,24,86,87,88,142,142,143,148,148,149,148,148,148,107,108,109,41,43,45,83,84,85,139,140,140,148,149,149,103,104,105,39,41,42,113,114,115,146,146,146,151,151,151,121,121,122,43,45,47,62,64,65,135,135,136,148,149,149,94,95,96,17,20,21,17,19,21,32,34,36,138,138,139,23,25,27,17,19,21,139,139,140,42,44,46,17,20,21,40,41,43,125,126,126,147,148,148,143,144,144,107,107,108,134,135,135,151,151,151,150,150,150,94,95,96,17,19,22,17,20,21,17,19,21,18,20,21,17,20,21,17,20,22,18,19,21,17,20,21,17,19,21,18,20,21,17,20,22,18,20,21,17,20,21,17,20,22,18,19,21,17,20,21,17,19,21,18,20,21,17,20,22,24,26,28,47,49,50,19,21,23,18,19,21,17,20,21,17,19,21,18,20,21,17,20,22,18,20,21,17,20,21,17,20,22,35,37,38,31,33,34,17,19,21,18,20,21,17,20,22,18,20,21,17,20,21,17,20,22,18,19,21,17,20,21,17,19,21,18,20,21,17,20,22,18,20,21,21,23,25,17,20,22,18,19,21,17,20,21,17,19,21,25,27,29,17,20,22,18,20,21,23,25,26,46,48,49,32,34,35,17,20,21,17,19,21,18,20,21,17,20,22,17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,17,19,21,17,20,21,17,19,22,17,20,21,17,19,21,17,19,22,17,20,21,17,19,21,18,20,21,17,19,21,17,19,21,18,19,21,17,19,21,17,19,21,18,19,21,17,19,21,18,20,21,17,19,21,17,19,21,18,19,21,17,19,21,17,19,21,18,19,21,17,19,21,18,20,21,17,19,21,17,19,21,18,19,21,17,19,21,17,19,21,18,19,21,17,19,21,18,20,21,17,19,21,17,19,21,18,19,21,17,19,21,17,19,21,18,19,21,17,19,21,18,20,21,17,19,21,17,19,21,18,19,21,17,19,21,17,19,21,18,19,21,17,19,21,18,20,21,17,19,21,17,19,21,18,19,21,17,19,21,17,19,21,18,19,21,17,19,21,18,20,21,17,19,21,17,19,21,18,19,21,17,19,21,17,19,21,18,19,21,17,19,21};
+
+static constexpr unsigned char sample_country_tahoe_hidpi[] = {255,255,255,255,255,255,255,255,255,255,255,255,242,247,252,235,244,251,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,231,241,250,164,203,238,187,216,242,194,220,243,151,196,236,204,226,245,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,246,250,253,116,174,230,254,254,254,255,255,255,203,224,246,195,220,244,189,216,243,215,231,248,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,180,210,242,203,224,246,200,222,245,166,202,240,164,200,239,252,253,254,255,255,255,165,201,239,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,166,201,240,255,255,255,210,228,247,185,212,243,196,219,245,167,201,240,253,253,254,166,201,240,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,180,208,243,232,240,251,246,249,253,165,199,240,251,253,254,175,206,242,253,254,254,158,195,239,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,249,251,254,137,181,237,251,252,254,208,225,247,176,205,242,204,223,247,165,198,241,219,232,249,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,236,243,252,142,182,238,152,189,239,124,171,235,142,183,238,206,223,247,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,247,250,253,241,246,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,195,195,195,162,162,162,154,154,154,176,176,176,177,177,177,208,208,208,170,170,170,181,181,181,190,190,190,190,190,190,178,178,178,183,183,183,172,172,172,166,166,166,193,193,193,198,198,198,174,174,174,194,194,194,152,152,152,177,177,177,165,165,165,174,174,174,191,191,191,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,232,232,232,222,222,222,227,227,227,222,222,222,222,222,222,245,245,245,228,228,228,221,221,221,236,236,236,229,229,229,222,222,222,222,222,222,229,229,229,224,224,224,215,215,215,242,242,242,222,222,222,242,242,242,229,229,229,209,209,209,210,210,210,220,220,220,235,235,235,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,155,187,231,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,125,167,223,209,223,243,199,217,242,255,255,255};
+
+static constexpr unsigned char sample_age_range_tahoe[] = {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,194,219,246,236,244,252,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,213,230,248,228,239,251,255,255,255,255,255,255,72,147,228,180,210,244,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,248,251,254,211,229,248,255,255,255,255,255,255,209,228,248,225,237,250,255,255,255,214,230,249,136,184,237,165,201,241,253,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,244,248,253,223,236,250,249,251,254,225,237,250,151,193,239,157,197,240,241,246,252,81,152,229,29,121,222,38,126,223,197,220,246,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,207,226,248,196,220,246,220,234,249,193,218,246,153,194,240,153,195,240,216,232,249,103,165,232,17,114,220,66,143,227,182,212,244,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,210,228,248,194,218,246,224,236,250,208,227,248,162,200,241,163,200,241,225,237,250,184,213,244,39,127,223,100,163,232,223,236,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,239,246,252,203,224,247,254,254,254,255,255,255,177,209,243,180,210,244,255,255,255,248,251,254,54,136,225,129,180,236,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,240,246,252,203,224,247,254,254,254,255,255,255,177,209,243,180,210,244,255,255,255,249,251,254,54,136,225,130,181,236,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,252,253,254,244,248,253,254,254,255,255,255,255,241,246,253,241,246,252,255,255,255,254,254,254,224,236,250,232,241,251,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,214,214,214,225,225,225,230,230,230,213,213,213,216,216,216,224,224,224,225,225,225,230,230,230,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,184,184,184,139,139,139,179,179,179,194,194,194,170,170,170,182,182,182,148,148,148,180,180,180,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,238,238,238,252,252,252,250,250,250,253,253,253,247,247,247,248,248,248,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,253,253,253,254,254,254,254,254,254,254,254,254,246,246,246,244,244,244,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,253,253,253,254,254,254,253,253,253,249,249,249,254,254,254,254,254,254,239,239,239,254,254,254,254,254,254,254,254,254,246,246,246,249,249,249,254,254,254,246,246,246,246,246,246,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,219,219,219,209,209,209,204,204,204,221,221,221,221,221,221,214,214,214,215,215,215,215,215,215,202,202,202,215,215,215,221,221,221,210,210,210,204,204,204,198,198,198,230,230,230,222,222,222,218,218,218,212,212,212,218,218,218,209,209,209,216,216,216,206,206,206,213,213,213,229,229,229,215,215,215,208,208,208,229,229,229,208,208,208,209,209,209,237,237,237,205,205,205,213,213,213,222,222,222,217,217,217,222,222,222,216,216,216,207,207,207,213,213,213,251,251,251,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,252,252,252,255,255,255,255,255,255,255,255,255,252,252,252,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,225,225,225,215,215,215,222,222,222,227,227,227,216,216,216,221,221,221,220,220,220,223,223,223,217,217,217,216,216,216,223,223,223,232,232,232,216,216,216,226,226,226,211,211,211,218,218,218,225,225,225,219,219,219,212,212,212,224,224,224,235,235,235,219,219,219,232,232,232,222,222,222,238,238,238,222,222,222,216,216,216,220,220,220,223,223,223,212,212,212,233,233,233,224,224,224,223,223,223,220,220,220,221,221,221,214,214,214,235,235,235,219,219,219,223,223,223,238,238,238,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,245,245,245,241,241,241,247,247,247,247,247,247,240,240,240,246,246,246,243,243,243,241,241,241,239,239,239,246,246,246,249,249,249,243,243,243,248,248,248,243,243,243,242,242,242,236,236,236,244,244,244,242,242,242,239,239,239,245,245,245,241,241,241,248,248,248,232,232,232,246,246,246,234,234,234,239,239,239,242,242,242,246,246,246,236,236,236,250,250,250,239,239,239,243,243,243,244,244,244,241,241,241,242,242,242,245,245,245,242,242,242,241,241,241,251,251,251,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,236,236,236,221,221,221,228,228,228,230,230,230,230,230,230,229,229,229,224,224,224,236,236,236,230,230,230,227,227,227,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,232,232,232,229,229,229,235,235,235,225,225,225,247,247,247,235,235,235,226,226,226,230,230,230,236,236,236,231,231,231,249,249,249,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,252,252,252,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,252,252,252,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,232,232,232,216,216,216,215,215,215,235,235,235,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,246,248,249,184,211,241,250,250,250,237,237,237,227,227,227,224,224,224,240,240,240,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,229,229,229,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,226,236,246,250,250,250,240,240,240,234,234,234,235,235,235,233,233,233,230,230,230,230,230,230,231,231,231,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,242,242,242,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,248,248,248,243,243,243,244,244,244,241,241,241,242,242,242,238,238,238,243,243,243,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,254,254,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,253,253,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,236,236,236,238,238,238,237,237,237,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,247,248,249,186,212,241,250,250,250,237,237,237,202,202,202,205,205,205,248,248,248,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,235,235,235,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,247,248,249,197,219,243,250,250,250,243,243,243,239,239,239,239,239,239,235,235,235,248,248,248,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,235,235,235,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,245,245,245,240,240,240,235,235,235,240,240,240,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,252,253,253,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,254,254,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,253,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,250,250,250,250,250,250,247,247,247,247,247,247,247,247,247,249,249,249,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,249,249,249,200,221,243,250,250,250,222,222,222,189,189,189,198,198,198,226,226,226,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,241,241,241,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,244,247,249,133,182,235,250,250,250,247,247,247,245,245,245,250,250,250,248,248,248,248,248,248,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,229,229,229,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,250,250,250,241,244,248,250,250,250,242,242,242,229,229,229,229,229,229,227,227,227,218,218,218,240,240,240,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,252,252,252,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,251,252,252,252,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255};
+
+static constexpr unsigned char sample_apple_account_inner[] = {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,252,253,254,245,249,253,236,243,252,244,248,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,252,254,226,238,250,233,242,251,242,247,253,234,242,251,231,240,251,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,229,240,251,243,248,253,254,254,254,233,242,251,253,254,254,233,242,251,240,246,252,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,243,248,253,226,237,250,254,254,254,133,183,237,92,158,231,252,253,254,240,246,252,229,239,251,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,242,247,253,222,235,250,254,254,254,81,152,229,24,118,221,244,248,253,237,244,252,228,239,251,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,223,236,250,242,247,253,246,249,253,244,248,253,254,254,254,228,239,251,237,244,252,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,248,251,254,219,234,249,230,240,251,241,247,253,231,241,251,224,237,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,252,254,240,246,252,227,238,251,238,244,252,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,241,241,241,244,244,244,255,255,255,249,249,249,255,255,255,252,252,252,253,253,253,244,244,244,255,255,255,255,255,255,247,247,247,254,254,254,255,255,255,246,246,246,254,254,254,247,247,247,255,255,255,255,255,255,255,255,255,253,253,253,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,158,158,158,133,133,133,135,135,135,160,160,160,153,153,153,150,150,150,188,188,188,139,139,139,139,139,139,142,142,142,178,178,178,125,125,125,112,112,112,129,129,129,182,182,182,130,130,130,144,144,144,139,139,139,146,146,146,123,123,123,222,222,222,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,254,254,239,239,239,245,245,245,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,254,254,254,245,245,245,245,245,245,254,254,254,254,254,254,255,255,255,254,254,254,255,255,255,255,255,255,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,254,254,255,255,255,254,254,254,255,255,255,255,255,255,254,254,254,255,255,255,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,215,215,215,215,215,215,209,209,209,225,225,225,236,236,236,206,206,206,233,233,233,211,211,211,220,220,220,214,214,214,212,212,212,217,217,217,210,210,210,239,239,239,206,206,206,211,211,211,222,222,222,210,210,210,216,216,216,215,215,215,212,212,212,219,219,219,219,219,219,227,227,227,216,216,216,213,213,213,222,222,222,209,209,209,208,208,208,234,234,234,203,203,203,212,212,212,209,209,209,231,231,231,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,254,254,246,246,246,251,251,251,255,255,255,255,255,255,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,254,250,250,250,254,254,254,254,254,254,255,255,255,250,250,250,250,250,250,254,254,254,254,254,254,254,254,254,250,250,250,254,254,254,255,255,255,254,254,254,254,254,254,254,254,254,254,254,254,255,255,255,250,250,250,250,250,250,254,254,254,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,229,229,229,212,212,212,228,228,228,216,216,216,218,218,218,233,233,233,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,249,249,249,253,253,253,249,249,249,250,250,250,249,249,249,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,216,228,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,200,214,234,229,229,229,229,229,229,229,229,229,237,237,237,221,221,221,230,230,230,228,228,228,232,232,232,227,227,227,230,230,230,222,222,222,240,240,240,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,199,216,242,206,220,240,207,221,240,209,222,242,209,223,242,210,224,243,208,221,241,208,222,241,210,223,243,206,220,240,209,223,242,205,219,239,210,224,244,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,212,226,246,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,243,248,253,255,255,255,253,253,254,255,255,255,255,255,255,255,255,255,250,252,254,255,255,255,250,252,254,250,252,254,255,255,255,255,255,255,255,255,255,253,253,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,216,231,249,189,215,245,184,212,244,205,225,247,185,213,244,193,218,246,207,226,248,172,205,242,182,212,244,206,226,248,193,218,246,196,220,246,195,219,246,207,226,248,245,249,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,206,226,247,191,217,245,175,208,243,198,221,246,179,210,244,190,216,245,187,215,245,193,218,246,183,212,244,240,246,252,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,254,254,254,254,254,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255};
+
+static constexpr unsigned char sample_analytics_tahoe[] = {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,169,204,242,163,201,241,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,246,249,253,235,243,252,112,170,234,103,165,232,94,160,231,158,198,241,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,146,191,239,49,133,225,102,164,232,92,158,231,59,139,226,132,182,237,173,206,243,230,240,251,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,138,186,238,35,125,223,92,158,231,82,152,229,46,131,224,112,170,234,16,113,220,174,207,243,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,132,182,237,22,117,221,83,153,230,72,146,228,34,124,223,103,165,233,2,105,218,169,204,242,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,195,219,246,138,185,238,169,204,242,164,201,241,144,189,238,183,212,244,125,178,236,214,231,249,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,182,212,244,151,193,239,151,193,239,151,193,239,151,193,239,151,193,239,151,193,239,197,221,246,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,175,175,175,167,167,167,164,164,164,148,148,148,154,154,154,176,176,176,197,197,197,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,250,250,250,243,243,243,243,243,243,229,229,229,245,245,245,246,246,246,247,247,247,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,232,232,232,213,213,213,219,219,219,232,232,232,220,220,220,222,222,222,215,215,215,236,236,236,217,217,217,222,222,222,229,229,229,227,227,227,230,230,230,223,223,223,219,219,219,222,222,222,221,221,221,220,220,220,225,225,225,220,220,220,231,231,231,226,226,226,218,218,218,227,227,227,223,223,223,238,238,238,212,212,212,224,224,224,227,227,227,228,228,228,224,224,224,216,216,216,230,230,230,223,223,223,233,233,233,228,228,228,220,220,220,233,233,233,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,252,252,252,243,243,243,237,237,237,251,251,251,239,239,239,237,237,237,244,244,244,247,247,247,244,244,244,244,244,244,244,244,244,239,239,239,241,241,241,244,244,244,245,245,245,244,244,244,244,244,244,237,237,237,245,245,245,243,243,243,249,249,249,249,249,249,237,237,237,246,246,246,248,248,248,248,248,248,245,245,245,244,244,244,249,249,249,240,240,240,244,244,244,243,243,243,244,244,244,242,242,242,245,245,245,244,244,244,246,246,246,247,247,247,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,235,235,235,221,221,221,233,233,233,227,227,227,227,227,227,239,239,239,225,225,225,228,228,228,226,226,226,230,230,230,218,218,218,228,228,228,230,230,230,218,218,218,246,246,246,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,244,244,244,239,239,239,247,247,247,239,239,239,241,241,241,245,245,245,236,236,236,240,240,240,239,239,239,245,245,245,237,237,237,240,240,240,238,238,238,234,234,234,249,249,249,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,254,254,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,236,236,236,241,241,241,191,191,191,202,202,202,202,202,202,209,209,209,189,189,189,221,221,221,199,199,199,199,199,199,203,203,203,203,203,203,217,217,217,194,194,194,217,217,217,196,196,196,197,197,197,201,201,201,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,251,251,251,252,252,252,236,236,236,237,237,237,245,245,245,237,237,237,238,238,238,246,246,246,235,235,235,240,240,240,235,235,235,243,243,243,241,241,241,244,244,244,241,241,241,232,232,232,240,240,240,238,238,238,246,246,246,240,240,240,241,241,241,242,242,242,241,241,241,240,240,240,242,242,242,240,240,240,247,247,247,243,243,243,239,239,239,240,240,240,238,238,238,241,241,241,235,235,235,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,243,243,243,232,232,232,238,238,238,233,233,233,233,233,233,240,240,240,238,238,238,234,234,234,239,239,239,236,236,236,244,244,244,236,236,236,238,238,238,236,236,236,237,237,237,240,240,240,236,236,236,237,237,237,241,241,241,228,228,228,242,242,242,237,237,237,237,237,237,239,239,239,237,237,237,233,233,233,238,238,238,240,240,240,234,234,234,235,235,235,236,236,236,243,243,243,253,253,253,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,224,224,224,225,225,225,219,219,219,217,217,217,231,231,231,223,223,223,216,216,216,225,225,225,222,222,222,224,224,224,230,230,230,226,226,226,232,232,232,222,222,222,211,211,211,234,234,234,219,219,219,220,220,220,235,235,235,230,230,230,210,210,210,226,226,226,226,226,226,222,222,222,233,233,233,218,218,218,232,232,232,226,226,226,216,216,216,236,236,236,225,225,225,224,224,224,219,219,219,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,225,225,225,224,224,224,218,218,218,224,224,224,235,235,235,221,221,221,227,227,227,223,223,223,218,218,218,224,224,224,251,251,251,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,254,254,254,254,254,254,254,254,254,254,254,255,255,255,254,254,254,255,255,255,254,254,254,254,254,254,254,254,254,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,254,254,254,254,254,254,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,245,245,245,247,247,247,235,235,235,238,238,238,238,238,238,245,245,245,238,238,238,236,236,236,243,243,243,239,239,239,241,241,241,238,238,238,237,237,237,243,243,243,233,233,233,236,236,236,243,243,243,237,237,237,242,242,242,235,235,235,243,243,243,235,235,235,239,239,239,236,236,236,238,238,238,238,238,238,245,245,245,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,253,253,253,253,253,253,245,245,245,245,245,245,250,250,250,247,247,247,249,249,249,245,245,245,248,248,248,246,246,246,247,247,247,247,247,247,245,245,245,247,247,247,246,246,246,248,248,248,248,248,248,244,244,244,247,247,247,248,248,248,246,246,246,246,246,246,248,248,248,251,251,251,243,243,243,248,248,248,246,246,246,247,247,247,248,248,248,247,247,247,246,246,246,248,248,248,250,250,250,245,245,245,248,248,248,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,249,249,249,243,243,243,246,246,246,243,243,243,245,245,245,244,244,244,246,246,246,245,245,245,244,244,244,245,245,245,246,246,246,248,248,248,242,242,242,245,245,245,246,246,246,248,248,248,245,245,245,248,248,248,243,243,243,243,243,243,248,248,248,248,248,248,243,243,243,246,246,246,245,245,245,242,242,242,248,248,248,242,242,242,245,245,245,249,249,249,249,249,249,245,245,245,245,245,245,248,248,248,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,241,241,241,238,238,238,241,241,241,239,239,239,237,237,237,245,245,245,236,236,236,234,234,234,243,243,243,236,236,236,237,237,237,241,241,241,238,238,238,243,243,243,238,238,238,239,239,239,250,250,250,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255};
+
+static constexpr unsigned char sample_welcome_tahoe[] = {112,172,208,113,172,208,112,172,208,113,172,208,113,172,208,113,172,207,113,171,207,113,171,207,112,171,207,112,170,208,112,170,208,112,170,207,111,170,207,111,170,207,111,169,207,110,169,207,110,169,207,109,168,206,109,168,206,108,168,206,108,168,206,108,167,206,107,167,206,106,166,206,107,166,206,106,166,206,105,166,205,104,165,204,105,165,204,104,165,204,104,165,205,103,164,205,102,164,205,101,163,204,101,162,203,100,162,204,99,162,203,100,162,203,98,161,203,97,161,203,97,160,203,96,160,202,95,159,202,93,159,202,92,158,201,92,158,201,93,158,201,93,157,201,93,157,200,92,157,200,116,173,208,117,173,208,118,173,208,118,173,208,119,174,208,119,173,208,118,173,208,117,173,208,117,173,208,118,173,208,117,172,208,117,172,207,116,172,207,116,172,207,116,172,207,115,171,207,115,171,207,114,170,206,131,184,214,148,204,228,124,178,211,114,169,206,113,169,206,112,168,206,112,168,205,112,168,206,111,168,205,110,167,205,109,167,205,108,166,204,107,166,204,107,165,204,107,165,204,106,164,203,105,164,203,104,163,203,103,163,203,104,163,203,103,163,203,102,162,203,101,161,202,100,161,202,99,160,201,98,160,201,96,159,201,96,159,201,97,159,201,97,158,200,97,158,200,97,158,200,118,174,208,120,174,208,121,175,208,121,174,207,122,174,208,122,175,208,122,175,208,121,174,207,121,174,207,121,174,207,121,174,207,121,174,207,121,174,207,120,173,207,120,173,207,119,173,207,118,172,206,127,178,210,173,233,251,156,215,242,152,213,242,116,170,205,117,170,205,116,170,205,117,170,205,117,170,204,117,170,204,115,169,205,114,168,204,113,167,204,112,167,203,111,166,203,111,166,203,112,166,203,112,167,204,112,167,204,112,166,204,110,163,201,110,163,200,109,162,199,106,161,201,107,161,199,107,160,198,105,158,196,108,157,192,110,157,192,102,151,188,98,149,190,102,155,193,108,161,197,121,174,206,124,174,206,125,175,206,126,175,205,126,174,205,126,175,205,126,174,205,126,174,205,125,174,205,125,174,205,124,174,206,124,174,206,124,174,206,125,174,206,125,174,206,124,174,206,123,173,205,157,207,226,164,216,241,139,190,216,167,225,250,119,169,202,120,171,204,121,171,204,122,171,204,122,170,203,122,170,203,121,170,202,119,168,201,113,164,198,118,165,196,126,167,197,109,154,188,98,146,184,120,160,191,112,153,185,84,135,175,89,133,171,77,126,168,70,123,166,72,123,165,83,132,169,127,161,184,108,147,176,111,148,176,81,128,167,75,125,167,97,140,174,102,145,178,105,145,178,142,180,203,157,186,204,171,194,205,182,199,204,176,194,202,180,197,203,180,197,205,188,203,210,179,198,207,160,187,203,138,176,202,131,175,203,131,175,203,134,176,203,132,176,202,134,177,203,144,181,203,188,226,239,154,194,220,157,202,221,167,215,240,124,172,203,124,172,203,125,171,201,117,162,193,106,152,186,95,142,177,84,130,168,73,120,159,68,115,156,144,171,189,187,199,205,126,154,177,90,129,166,76,120,164,72,120,162,90,131,164,142,162,176,125,149,166,143,162,174,130,157,176,95,133,167,103,139,171,73,118,157,81,122,160,69,113,155,67,114,156,78,119,158,89,128,164,70,116,156,172,190,202,203,220,231,187,203,214,193,200,201,181,192,197,190,203,209,172,187,197,188,202,207,190,210,222,179,191,197,201,207,207,183,195,200,182,202,213,175,202,224,116,152,182,98,137,169,118,150,174,217,237,247,178,194,205,197,221,234,160,190,213,107,149,179,102,142,177,132,165,190,162,187,206,132,160,186,120,147,169,167,181,192,162,176,187,163,184,199,174,197,212,129,157,180,127,151,173,100,133,161,101,124,141,109,122,132,132,142,145,145,152,157,121,128,134,59,74,78,135,146,149,151,166,173,115,144,167,84,121,156,74,112,151,102,136,167,158,186,208,147,171,193,128,154,174,141,163,179,179,212,242,163,191,218,199,224,242,153,173,186,144,164,178,203,227,241,143,170,192,152,186,208,175,212,247,122,153,178,116,146,170,156,180,194,185,217,246,154,189,221,193,215,233,146,168,184,145,165,177,230,242,242,172,186,192,187,214,240,111,141,170,73,114,148,148,173,189,196,216,229,162,187,209,187,215,238,176,191,199,188,195,196,222,232,236,219,228,232,180,199,215,208,228,242,162,178,188,89,105,109,60,74,81,149,155,161,142,146,151,100,114,127,130,140,150,146,152,157,116,130,139,136,155,170,127,143,151,126,153,171,125,146,166,190,215,236,171,194,216,201,221,236,129,152,176,96,126,154,176,203,230,78,116,150,165,195,228,121,147,175,99,129,157,171,205,239,112,144,172,117,152,178,170,207,244,113,146,175,100,130,156,160,190,216,141,170,198,105,136,165,191,214,235,162,176,178,171,175,171,208,218,216,198,207,205,181,194,196,118,132,130,121,133,128,187,200,198,134,147,148,104,131,152,123,141,149,138,152,157,145,163,180,190,214,234,153,170,181,99,130,157,155,174,189,154,165,175,155,162,167,157,164,169,152,158,164,113,121,129,21,36,49,112,123,133,143,150,154,33,50,60,92,108,120,119,127,132,77,112,144,133,159,181,172,197,227,83,113,144,149,178,209,126,152,180,79,109,139,59,104,144,62,105,145,149,180,222,73,111,148,88,126,162,144,176,219,69,108,144,59,101,140,166,194,226,188,206,221,206,211,205,183,199,211,166,186,201,201,217,228,184,194,203,96,106,104,115,126,126,191,200,199,177,186,186,68,81,86,40,55,62,99,112,117,148,157,160,76,90,94,55,68,70,60,71,75,148,156,153,226,231,226,205,213,210,182,187,176,124,137,129,155,172,181,143,156,166,127,142,151,127,140,145,202,208,210,150,156,158,152,159,161,183,189,192,144,150,152,64,77,84,129,143,154,114,126,132,42,79,107,98,134,169,145,171,207,99,133,165,157,186,222,94,126,157,69,107,141,11,73,115,35,92,132,146,175,209,72,118,147,158,184,202,148,174,205,93,131,156,133,163,182,166,185,206,158,170,175,179,190,193,164,179,187,195,204,208,158,173,183,114,127,129,119,134,137,155,165,169,151,160,164,130,138,142,66,83,90,81,95,103,151,158,162,149,157,161,112,123,128,58,73,79,88,99,103,188,196,195,209,217,213,193,201,200,121,132,133,113,124,126,208,218,218,138,146,148,101,110,110,121,130,132,204,212,211,132,138,138,80,89,92,154,160,164,89,102,111,29,46,57,111,125,137,117,126,131,50,82,103,85,133,170,150,177,211,141,168,202,103,139,170,57,108,146,140,170,206,16,100,137,15,99,135,127,161,183,185,200,205,163,176,182,116,135,149,151,175,194,165,185,198,146,155,159,93,100,103,82,94,98,79,93,99,155,168,173,167,177,182,173,184,187,165,179,182,107,121,128,48,65,73,103,117,126,136,145,152,136,143,149,102,112,117,65,80,87,138,149,155,156,162,165,155,162,164,171,176,174,112,120,120,112,124,129,179,188,189,198,207,206,163,171,171,101,111,112,97,107,108,98,107,109,181,190,191,74,83,87,62,72,78,145,152,158,65,78,86,21,38,51,47,65,79,129,140,151,137,151,167,120,156,192,102,145,174,133,169,196,135,175,209,130,167,204,89,137,168,19,105,137,19,105,136,37,99,119,85,111,118,110,121,122,81,93,95,94,106,108,139,148,146,73,82,88,65,74,78,28,43,49,38,52,58,78,88,92,92,99,102,97,111,111,86,99,103,26,42,49,28,43,51,26,43,50,30,46,54,33,48,56,42,54,60,34,47,52,83,94,95,95,107,111,125,135,133,169,173,168,81,90,91,141,148,144,144,151,148,137,146,145,107,117,116,110,120,120,78,89,90,54,65,69,68,78,85,50,60,67,36,49,56,35,50,60,24,39,52,23,39,53,36,49,59,23,40,49,23,58,73,12,99,132,10,97,129,14,101,132,26,105,136,16,100,131,10,97,129,68,138,156,89,144,154,145,164,159,115,128,126,84,99,99,127,138,136,161,170,165,70,81,86,33,46,52,29,41,45,19,33,38,66,79,81,153,162,158,152,159,156,93,104,102,70,83,85,29,44,51,27,40,48,19,33,41,30,45,54,36,51,61,20,34,42,23,36,43,28,41,48,55,68,74,90,100,97,102,113,113,105,114,115,157,162,160,132,141,139,111,122,122,84,94,96,61,71,75,48,59,63,39,50,55,37,49,55,40,53,59,36,50,57,35,49,57,21,36,47,32,46,58,41,53,63,44,57,61,40,62,67,41,102,116,30,96,111,24,97,114,18,94,114,14,101,127,14,101,127,78,136,149,75,127,138,75,119,128,37,78,86,69,106,110,54,88,90,59,93,96,36,71,79,27,64,72,20,55,61,27,59,61,115,141,138,114,143,140,116,146,144,71,102,102,30,62,63,16,51,55,18,49,56,12,44,49,23,57,61,61,93,96,39,74,73,31,66,66,26,66,73,48,87,100,48,86,98,70,98,105,146,155,150,104,115,116,72,85,87,86,97,99,77,87,90,65,75,78,50,60,65,40,51,56,37,48,54,45,57,63,33,46,53,27,40,48,47,56,63,44,55,62,49,60,67,51,63,65,63,88,87,41,129,142,34,123,139,32,123,139,34,125,140,33,125,139,33,124,139,52,144,159,52,143,158,49,141,154,45,137,151,42,131,145,36,123,138,45,131,148,47,132,150,38,123,143,40,121,138,41,119,134,34,114,130,40,121,139,38,119,139,37,119,137,37,119,136,34,118,135,38,124,137,38,126,135,39,130,136,41,133,137,41,133,136,41,133,137,42,136,142,42,136,146,40,130,140,117,149,148,67,79,81,68,82,87,83,96,100,73,85,87,64,75,77,50,60,66,44,55,62,38,48,55,35,46,52,47,59,64,45,56,60,72,79,81,71,77,77,62,69,74,48,58,61,51,62,62,133,139,132,115,157,155,40,126,141,36,126,142,38,130,143,38,129,141,37,128,141,51,142,153,49,141,152,48,141,153,47,140,153,42,136,149,41,135,147,40,135,148,41,135,149,37,131,146,38,129,145,41,128,143,46,130,144,40,128,143,35,127,143,32,125,141,34,128,144,38,131,146,41,134,147,42,135,147,42,136,146,40,133,144,40,131,144,35,126,139,35,125,139,34,122,139,75,135,143,116,129,126,97,108,111,102,114,117,94,106,109,69,81,86,41,53,57,44,55,60,46,57,63,43,54,61,45,55,60,75,84,86,98,104,105,93,98,98,79,85,85,30,40,47,41,51,53,59,66,66,158,164,159,155,163,157,91,130,134,32,118,137,34,124,138,51,131,143,129,167,164,53,146,152,55,147,155,53,146,155,51,144,155,45,139,148,39,134,145,40,133,147,50,136,150,97,156,162,148,174,171,185,190,181,190,191,181,181,186,179,151,173,171,96,150,157,32,117,141,26,112,136,28,114,137,32,116,140,30,113,138,27,108,135,28,107,135,23,104,129,24,104,130,25,103,127,125,144,146,99,113,112,95,106,106,108,118,117,85,95,96,45,57,62,38,49,55,32,44,50,53,64,68,111,118,119,144,151,147,153,160,156,155,161,156,142,148,143,75,83,83,21,31,39,41,51,52,109,116,113,163,171,164,148,157,153,130,140,138,95,138,145,86,141,146,146,162,153,132,145,141,52,137,149,49,134,147,48,132,147,40,125,142,36,121,140,35,121,141,106,154,160,183,189,180,165,169,161,182,184,174,183,184,176,180,181,175,176,177,172,177,178,173,171,173,167,94,129,137,22,102,131,22,103,131,23,103,132,20,101,130,21,101,131,21,101,131,19,98,128,64,122,140,157,171,167,184,187,178,182,186,177,175,179,171,171,175,167,173,177,169,173,176,168,129,135,131,118,125,124,175,180,173,174,177,170,167,171,165,146,150,146,142,148,145,152,158,153,133,138,135,101,108,108,59,67,68,157,164,160,165,171,165,136,144,140,128,137,136,115,127,126,139,149,141,160,171,162,143,156,148,38,124,135,37,124,136,39,128,140,39,128,142,37,125,142,128,161,164,187,188,179,180,182,173,147,151,147,166,169,163,150,152,150,116,119,118,91,92,95,94,96,96,86,91,96,105,111,112,69,121,132,28,114,140,28,111,139,25,108,135,20,103,130,23,105,134,86,136,148,184,188,178,179,182,173,169,172,165,155,159,154,154,158,154,151,157,152,151,155,149,150,153,145,158,163,156,173,176,171,167,170,164,155,159,154,133,138,134,65,68,72,107,113,112,122,129,126,106,116,114,133,141,140,53,66,70,51,64,70,113,122,122,120,127,122,71,86,90,44,63,69,55,75,80,109,125,123,93,109,107,46,139,150,44,138,150,46,138,154,41,133,150,66,138,148,157,165,159,144,150,147,129,135,133,91,98,101,77,80,82,49,51,57,92,98,100,91,101,104,54,62,71,68,76,83,48,60,69,43,68,76,36,126,142,37,125,144,30,119,138,30,116,138,50,122,141,153,162,156,142,149,144,139,145,141,131,136,132,137,143,141,135,139,137,149,154,151,167,172,168,170,175,170,162,166,161,173,177,172,175,179,174,158,164,160,153,159,155,143,148,146,75,79,84,44,50,54,38,49,53,44,59,62,66,80,83,52,65,71,26,42,49,81,90,87,55,72,76,68,87,90,47,69,75,65,103,114,84,119,116,31,114,135,32,117,137,28,117,133,38,122,143,161,181,174,175,181,172,152,160,155,136,145,145,88,102,107,42,56,64,35,48,58,59,73,79,43,55,63,36,49,58,39,50,59,42,52,60,47,62,68,48,144,149,44,142,150,42,137,147,35,126,138,114,152,155,174,179,171,160,167,161,157,162,157,164,169,165,164,170,167,157,162,160,152,156,154,165,169,166,168,172,170,170,174,171,171,175,171,173,176,171,173,178,172,178,183,177,185,188,183,189,190,183,115,119,119,45,56,59,43,58,62,55,69,74,122,133,135,41,56,60,39,54,60,39,56,62,36,55,62,34,55,63,52,91,111,86,123,133,45,139,151,45,138,150,41,132,147,68,135,146,174,181,175,133,148,148,101,118,124,75,93,101,47,65,74,39,57,68,41,57,69,40,55,66,44,53,63,45,55,64,97,103,107,126,131,131,132,138,139,124,158,160,85,140,151,39,115,140,30,103,123,146,156,153,175,180,171,170,176,169,171,177,171,169,175,170,166,172,168,159,165,161,178,181,178,181,185,183,181,184,181,181,183,179,179,181,175,166,171,163,145,152,147,141,147,142,160,164,158,151,156,151,153,159,155,83,91,92,18,29,38,21,33,43,37,52,59,29,47,55,20,38,44,18,42,49,21,48,52,31,66,70,58,119,138,68,135,151,40,125,146,37,122,142,48,130,154,65,134,155,94,123,125,77,98,100,41,63,70,24,44,55,21,38,50,23,39,50,23,37,49,23,36,46,44,53,59,122,124,122,137,135,128,124,122,115,140,140,133,127,130,124,106,112,108,81,108,118,50,109,134,79,109,123,114,132,127,108,125,119,106,120,113,109,121,114,113,125,113,120,129,122,137,143,137,140,148,143,152,159,155,146,153,149,130,137,134,101,109,109,68,78,79,56,68,68,80,92,86,74,87,83,67,81,74,47,63,59,32,47,44,41,57,50,72,92,82,85,106,95,94,120,107,94,133,114,97,146,128,89,151,141,87,159,162,92,163,164,87,144,166,60,129,158,66,132,161,67,133,161,87,137,156,95,129,133,93,121,124,84,109,111,70,94,100,66,90,96,62,87,90,64,87,89,60,84,86,70,95,95,64,94,104,48,86,105,52,100,126,53,113,145,53,117,151,39,113,149,40,116,152,42,108,140,73,119,137,83,125,136,96,129,131,101,130,130,99,123,122,105,122,115,119,134,123,128,143,128,114,130,115,124,139,123,118,132,116,99,114,100,84,99,90,88,103,95,105,120,109,104,120,103,87,103,84,71,82,66,68,77,63,72,80,61,93,101,80,102,115,100,85,110,113,75,112,127,68,116,134,64,120,142,69,130,156,75,136,156,110,128,126,61,128,152,60,135,166,54,130,162,56,130,157,64,131,152,86,139,152,78,131,145,68,122,138,73,126,140,81,128,138,79,137,143,81,134,136,62,125,132,50,119,131,40,118,132,39,121,143,45,134,153,52,146,161,55,148,165,56,148,166,58,145,161,69,141,160,65,133,149,75,138,152,64,129,146,70,126,139,74,123,131,77,121,124,85,124,122,88,122,117,82,115,110,80,117,108,82,117,106,76,108,101,80,112,102,85,119,107,86,122,107,69,112,98,49,100,88,38,94,84,36,89,77,61,113,99,75,128,121,56,129,140,42,121,138,40,112,138,43,114,143,49,119,149,46,117,146,104,115,110,111,139,136,55,137,159,51,136,159,58,143,164,59,140,159,66,144,154,68,148,154,57,126,142,65,122,140,85,128,145,84,125,143,78,119,136,68,116,139,55,113,138,47,110,137,48,116,144,51,124,154,48,127,157,48,132,160,54,143,165,52,143,160,54,142,160,72,149,161,79,152,162,77,154,158,99,159,157,85,148,147,83,138,134,101,142,131,103,137,125,82,126,117,75,121,111,76,118,109,67,112,106,68,115,107,72,124,112,85,135,117,85,139,118,77,139,116,69,136,114,75,141,118,79,141,121,88,144,124,69,150,144,60,150,149,54,146,151,50,141,148,51,144,151,54,146,150,115,125,116,149,159,147,113,165,167,57,146,158,58,145,164,61,143,164,66,144,160,63,143,156,53,132,150,43,122,142,41,114,139,40,112,137,44,113,139,52,118,145,47,118,143,47,120,145,51,125,150,49,125,151,45,126,150,50,137,157,54,148,161,45,135,152,49,139,152,51,142,151,55,144,153,68,155,159,85,163,156,81,161,152,80,156,146,85,152,140,92,152,137,83,148,134,68,142,131,67,139,126,66,133,121,67,131,118,70,128,115,75,136,120,85,142,120,79,142,120,76,142,120,77,145,121,89,153,129,98,158,138,84,162,149,74,160,153,80,165,154,78,165,155,83,167,157,83,168,163,147,158,147,132,143,135,123,145,138,67,157,162,56,148,155,59,149,155,58,140,150,49,129,140,47,125,144,50,124,145,51,125,145,44,119,141,50,122,145,50,122,145,43,115,136,35,108,130,36,113,138,32,109,137,38,118,147,41,122,148,60,151,160,64,159,163,64,160,161,63,159,160,74,163,160,90,170,162,98,172,161,93,166,154,101,164,151,99,159,146,93,156,142,97,161,142,96,159,140,91,157,138,96,161,139,98,162,140,100,159,136,100,154,132,92,154,133,87,152,131,86,154,132,87,154,132,93,163,142,98,166,147,91,166,153,81,165,158,84,167,157,84,167,159,89,168,158,90,168,156,94,106,102,64,78,78,60,76,76,81,159,157,74,157,160,74,157,152,84,163,157,85,162,158,87,164,154,92,168,157,84,166,156,73,161,155,75,163,155,83,168,163,80,167,160,74,164,162,69,164,162,71,165,160,81,170,164,81,170,166,77,168,166,70,163,160,72,163,157,79,167,162,82,169,161,95,174,166,94,171,162,91,169,157,93,168,152,98,167,149,102,167,149,92,163,145,89,161,143,90,159,140,92,159,139,91,155,137,101,161,139,94,149,130,57,117,116,52,103,108,45,97,108,44,93,108,54,105,125,59,114,133,54,117,138,50,118,138,53,126,141,70,143,152,82,158,155,88,162,151,15,31,39,12,30,39,16,42,55,54,121,145,50,121,148,50,126,144,77,152,153,99,168,160,94,166,157,87,161,156,87,161,154,92,165,156,90,167,157,86,164,157,86,167,156,81,164,159,75,161,157,77,163,158,87,167,160,77,160,160,74,154,163,73,154,163,76,154,159,76,151,153,86,157,160,89,160,158,84,152,153,81,155,150,91,160,149,97,164,149,104,166,148,102,165,146,102,161,144,98,157,140,92,155,138,88,155,136,96,158,138,101,162,140,75,144,131,46,118,120,34,102,113,30,95,113,27,91,114,24,86,113,32,100,129,31,104,127,32,108,130,48,123,138,66,143,147,86,160,150,18,42,51,19,50,63,27,74,100,38,106,140,35,103,137,40,106,137,46,113,142,49,115,142,48,117,144,50,118,144,43,114,139,46,118,140,60,133,147,82,157,153,86,161,152,84,162,155,71,154,154,70,152,154,68,150,154,52,131,146,50,127,140,51,127,142,46,120,145,43,114,137,54,120,145,57,122,145,52,118,141,45,114,135,43,114,132,52,123,137,58,127,135,64,133,135,78,145,135,94,157,140,98,159,138,97,160,137,99,159,139,103,160,138,106,162,141,95,157,138,95,158,138,94,158,138,91,155,140,94,156,141,92,157,142,90,160,145,96,163,147,101,166,146,98,165,147,91,161,146,26,83,99,36,100,114,56,123,133,70,141,155,61,134,147,62,132,145,68,139,147,86,155,154,87,156,150,84,154,148,90,156,147,93,159,151,96,161,151,94,161,150,78,155,149,89,161,151,89,160,149,89,158,146,78,155,150,60,141,146,55,132,135,62,133,136,61,135,140,55,132,133,51,128,134,44,119,129,33,96,117,31,90,110,32,94,115,35,102,120,46,115,124,58,130,129,79,151,140,95,163,144,99,164,142,93,161,141,102,162,142,106,164,144,102,162,141,93,157,137,93,157,136,94,159,139,93,158,140,104,165,146,103,166,148,99,165,149,98,163,146,91,160,144,98,163,146,97,164,150,88,144,134,97,152,144,100,162,156,100,163,156,105,165,154,99,162,150,107,166,153,103,165,154,101,164,155,101,163,152,103,165,152,101,164,151,95,161,155,98,164,154,99,165,157,100,166,155,95,164,157,93,162,156,90,157,150,128,169,160,170,181,172,188,190,177,184,187,176,166,180,171,117,169,158,90,159,151,99,165,155,102,166,152,103,168,152,104,169,152,112,170,152,102,164,148,96,161,144,105,166,145,102,164,142,99,162,140,95,158,138,102,162,142,103,163,142,99,159,136,93,154,134,91,155,135,94,157,138,101,162,144,102,164,146,102,163,146,96,162,146,92,162,149,99,163,147,93,159,146,124,169,151,107,162,150,98,159,150,89,157,154,88,156,157,98,162,160,105,165,160,102,161,157,96,158,158,86,153,153,84,151,155,81,148,150,83,151,148,85,151,147,87,153,142,100,162,149,95,160,147,127,169,158,178,186,173,180,181,164,178,179,168,167,170,159,168,172,161,157,160,149,162,164,150,162,177,162,128,172,155,117,171,153,102,162,146,101,163,147,90,158,140,92,158,138,90,156,135,95,159,139,94,158,137,94,157,136,93,157,135,99,159,139,98,158,138,99,161,138,106,166,142,100,161,139,100,160,139,101,159,138,99,158,140,99,160,144,94,158,145,95,162,147,104,165,148,105,163,146,86,145,141,84,144,141,84,146,145,69,137,146,61,130,144,63,129,143,70,136,147,61,130,143,58,126,141,60,128,139,66,132,138,70,135,141,66,134,140,79,144,148,77,145,150,67,137,142,98,145,140,163,167,150,162,165,148,153,154,140,176,178,167,140,142,133,145,148,137,128,130,122,130,132,122,128,129,117,140,147,134,110,153,136,114,167,146,114,168,147,108,166,144,109,165,143,112,166,145,110,164,141,107,162,142,107,162,140,111,163,140,113,162,139,109,161,136,107,160,136,105,160,137,100,156,134,110,163,139,111,163,139,112,163,143,110,163,142,110,163,141,112,168,150,110,165,148,106,162,145,80,141,140,65,130,136,65,128,140,63,128,143,70,137,152,83,146,152,88,149,152,85,149,154,95,156,156,105,161,154,109,164,148,111,165,148,111,165,149,109,155,144,102,144,145,110,146,152,127,145,146,119,128,124,122,127,116,124,127,113,114,115,105,93,94,88,86,87,82,78,80,74,70,71,68,72,74,70,85,88,82,98,110,108,93,131,125,94,150,134,111,165,139,118,169,143,121,170,145,120,169,141,122,171,142,120,168,139,118,165,139,117,165,139,117,166,138,115,164,138,116,165,138,112,162,135,111,160,136,110,159,137,107,158,136,107,158,136,107,158,132,112,163,138,111,160,138,139,173,153,110,161,147,115,165,151,122,171,157,118,172,160,116,169,156,116,170,160,114,169,163,119,171,157,121,169,154,121,170,157,121,168,151,120,167,148,118,165,146,82,131,133,56,105,123,64,107,126,73,109,125,80,110,121,92,111,114,95,106,101,88,96,92,75,82,79,67,75,75,67,77,79,60,76,81,66,84,90,63,94,108,64,105,126,44,97,122,45,99,125,49,105,121,102,150,138,123,165,140,123,164,141,122,162,139,127,168,143,120,163,139,121,164,139,114,161,136,116,163,136,119,165,136,118,163,138,106,154,135,108,157,135,108,157,135,107,156,136,111,160,140,130,170,152,172,187,172,182,188,177,107,161,148,117,166,151,118,167,153,116,170,158,113,169,158,106,163,154,120,168,155,120,165,150,118,164,149,121,166,150,121,166,153,113,162,152,111,160,148,113,158,145,69,123,124,37,95,117,38,95,125,44,98,123,64,103,117,70,101,111,80,108,114,63,90,99,57,87,97,41,79,98,33,80,107,27,80,111,23,80,114,20,76,107,19,77,107,25,86,115,31,94,119,31,100,124,65,125,129,115,157,138,116,157,139,126,165,142,126,165,142,128,168,141,117,160,136,120,162,135,125,167,136,126,169,138,113,156,133,113,156,133,117,161,140,129,168,151,169,186,173,183,189,177,179,186,177,159,166,154,117,163,147,112,163,150,115,168,155,112,166,154,118,168,156,128,174,162,129,173,161,125,169,155,113,162,154,107,158,156,107,159,151,106,157,151,109,160,151,119,163,152,112,160,154,87,144,148,83,144,154,77,130,143,91,132,139,84,124,130,86,124,129,86,120,125,89,121,119,84,120,121,63,116,128,60,121,135,53,123,144,74,135,145,97,150,148,113,160,149,109,157,143,119,161,143,133,169,145,126,164,142,112,155,137,117,158,136,121,160,138,123,163,138,119,161,136,119,160,136,118,159,135,111,153,130,111,155,130,129,166,143,168,185,172,188,193,188,180,186,178,159,166,157,117,125,114,79,87,79,117,162,153,112,158,152,100,150,146,111,161,149,123,168,153,126,165,145,123,163,143,123,164,146,123,164,148,119,162,143,110,157,144,112,156,145,116,159,147,109,153,140,103,149,139,104,155,144,110,157,146,99,149,142,95,145,140,90,139,138,101,139,135,104,142,136,99,140,136,94,140,136,93,137,133,83,134,138,74,130,137,79,134,136,75,132,134,71,130,130,81,132,130,102,144,130,117,154,138,122,158,137,125,163,138,124,163,136,126,165,136,119,159,133,122,160,134,115,155,133,120,158,134,140,169,152,168,185,172,186,192,184,183,188,179,167,174,169,127,134,127,77,87,76,82,91,80,69,78,71,86,121,125,88,123,128,71,112,122,63,112,122,67,116,125,104,143,135,125,159,143,125,162,144,124,161,142,120,159,141,118,157,140,133,167,146,140,172,150,127,163,145,120,160,143,111,154,140,110,154,142,94,147,143,85,138,135,90,135,132,88,132,127,95,133,126,80,128,126,83,130,134,68,122,134,59,114,130,47,107,124,51,113,128,50,112,127,56,115,124,59,115,121,62,117,120,95,142,130,115,156,138,125,163,141,120,160,136,118,157,131,130,163,140,148,172,153,164,179,165,183,192,181,180,188,179,177,185,176,173,180,171,139,148,141,91,101,95,79,89,83,61,72,65,67,77,69,53,62,56,66,112,129,60,108,126,51,104,128,44,101,123,41,99,120,65,121,132,68,123,130,107,151,143,119,158,145,125,163,147,132,168,153,135,171,155,123,163,151,128,164,148,129,164,147,117,157,142,117,160,146,118,158,143,109,149,135,107,147,134,110,152,140,96,141,136,91,142,135,84,138,135,71,133,134,78,138,139,85,144,143,86,143,141,80,136,128,116,162,143,123,163,142,122,164,134,120,161,136,130,165,140,142,169,148,161,179,160,174,183,166,180,186,171,181,188,176,179,187,177,175,183,173,174,181,172,152,159,151,100,108,100,70,80,71,73,84,74,64,73,67,49,58,53,41,51,47,43,53,51,39,96,121,34,91,115,31,87,110,41,100,118,70,121,130,69,123,129,83,134,130,112,153,139,133,166,149,138,171,152,136,169,152,130,164,149,128,165,149,129,165,150,129,164,147,132,167,147,129,164,145,128,166,149,128,164,145,130,164,144,165,189,172,226,235,230,238,244,240,238,244,240,237,243,239,237,243,239,238,244,240,238,244,240,229,237,232,157,186,164,125,164,132,136,168,145,169,184,169,186,193,179,182,188,177,166,175,162,167,176,164,179,186,176,179,186,178,179,187,178,135,144,136,100,108,101,66,75,69,66,74,68,63,72,65,69,79,70,51,60,54,47,56,52,34,43,42,28,37,39,76,125,124,88,136,132,99,143,137,116,157,144,122,159,144,109,147,134,119,155,133,130,164,144,130,164,148,133,166,149,145,173,152,128,161,143,124,159,141,126,161,140,128,162,140,128,162,141,129,164,143,126,162,141,125,162,144,133,164,144,203,217,206,236,242,238,165,170,167,186,190,187,180,185,182,175,180,177,174,178,176,172,176,174,230,235,232,195,212,203,136,164,145,181,187,172,181,188,177,178,186,176,170,179,166,170,179,167,178,187,176,171,179,169,121,129,120,83,91,86,61,69,64,52,60,56,67,75,69,62,71,62,60,69,64,78,87,80,54,63,57,50,59,56,33,42,41,21,30,31,136,168,147,136,169,149,134,168,152,128,162,144,125,160,144,129,162,146,135,166,147,139,167,145,145,172,146,142,169,145,138,167,149,132,163,145,126,161,145,132,166,149,131,164,144,127,162,141,125,163,144,126,163,146,142,173,150,139,169,146,174,194,176,237,243,239,233,239,235,233,239,235,233,238,235,231,237,233,234,240,236,232,237,233,238,243,238,187,201,187,173,181,168,155,163,150,163,173,161,175,184,173,171,180,170,141,150,142,88,98,88,64,73,66,54,63,58,57,65,62,65,72,67,42,50,48,47,55,53,58,67,62,64,73,67,47,56,53,38,46,44,38,46,46,24,33,33,27,35,36,134,165,145,130,163,145,132,163,146,122,156,141,123,159,143,146,174,156,138,171,154,138,169,151,151,176,153,144,172,148,138,167,145,137,167,147,137,168,147,133,164,141,128,162,140,131,165,146,137,169,146,136,169,146,136,168,144,140,170,146,140,168,142,135,165,146,144,174,156,141,171,153,142,172,151,141,172,151,141,170,152,149,173,156,165,179,160,162,170,154,151,160,146,152,162,151,151,163,152,175,184,173,128,137,128,58,68,62,62,72,66,53,63,60,59,67,63,58,66,62,40,48,47,31,39,38,34,42,42,33,41,40,39,47,45,38,46,46,28,37,37,66,75,70,35,44,43,34,42,42,126,162,141,129,163,143,125,159,143,127,162,144,131,166,149,132,164,146,134,165,145,135,164,143,136,165,142,135,167,148,128,161,143,129,163,142,126,159,143,120,156,142,115,154,137,118,157,137,119,157,137,118,155,132,133,167,138,136,167,135,130,164,130,117,154,124,109,150,124,125,161,129,118,154,127,140,166,143,165,179,162,178,185,172,162,169,154,161,169,158,146,160,152,135,150,144,157,167,158,131,142,135,61,71,65,59,68,64,59,69,64,41,50,48,34,43,43,31,39,39,53,61,60,66,74,68,31,39,39,50,58,54,44,52,50,51,59,58,43,52,50,70,80,73,64,73,66,43,52,50,129,163,143,132,164,143,128,162,140,127,162,140,130,163,141,132,166,146,129,163,144,131,162,140,131,161,139,130,161,141,127,159,141,127,159,139,135,166,146,124,160,142,127,165,145,110,150,133,116,155,132,117,156,136,132,166,142,139,172,148,137,171,140,116,157,126,115,155,124,150,173,150,180,187,170,183,188,177,171,179,167,160,168,156,155,164,152,160,169,160,143,158,151,159,170,159,125,136,129,90,102,96,55,65,61,67,77,73,57,67,62,73,82,75,36,45,45,70,79,74,57,65,62,31,39,38,26,34,34,22,30,29,23,31,31,49,57,54,70,79,73,56,66,60,59,69,62,45,54,51};
diff --git a/src/wsm-runtime/src/window_streamer.cpp b/src/wsm-runtime/src/window_streamer.cpp
index e6c0f83..f6f40b2 100644
--- a/src/wsm-runtime/src/window_streamer.cpp
+++ b/src/wsm-runtime/src/window_streamer.cpp
@@ -634,7 +634,10 @@ void WindowStreamer::setup_assistant_loop() {
if (static_cast<size_t>(f.gcount()) != pixels.size()) { matching_frames = 0; Sleep(1000); continue; }
const auto action = recognize_setup_assistant(pixels.data(), w, h);
// The initial country screen is a detection marker, never an actionable button.
- if (action.step == SetupAssistantStep::Unknown || action.step == SetupAssistantStep::Country) {
+ // Apple Account is safe to handle: its template click is specifically "Other Sign-In
+ // Options". The following AccountMenu template clicks only "Set Up Later". No
+ // credential field or Continue button is ever guessed or submitted.
+ if (!setup_action_clickable(action.step)) {
previous = action.step; matching_frames = 0;
Sleep(1000); continue;
}
@@ -892,7 +895,10 @@ void WindowStreamer::vnc_loop() {
WSAStartup(MAKEWORD(2, 2), &wsa);
while (running_.load()) {
if (!watching_.load()) { vnc_live_.store(false); Sleep(500); continue; }
- SOCKET s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
+ // The streamer also launches SSH children with handle inheritance enabled. Keep the
+ // VNC connection private to wsmd so a child cannot retain it after this loop closes it.
+ SOCKET s = WSASocketW(AF_INET, SOCK_STREAM, IPPROTO_TCP, nullptr, 0,
+ WSA_FLAG_OVERLAPPED | WSA_FLAG_NO_HANDLE_INHERIT);
sockaddr_in a{}; a.sin_family = AF_INET; a.sin_port = htons(kVncPort);
inet_pton(AF_INET, "127.0.0.1", &a.sin_addr);
if (s == INVALID_SOCKET || connect(s, reinterpret_cast<sockaddr*>(&a), sizeof(a)) != 0) {
@@ -1342,11 +1348,11 @@ int WindowStreamer::hit_caption(uint64_t window_id, int x, int y) {
GuestWin g;
if (!lookup(window_id, g) || g.layer != 0) return 0;
// macOS's yellow button minimizes the Windows window (in the runtime it would hide the
- // window in the Dock, which nobody can see); green does nothing (fullscreen there would
- // cover the hidden desktop). Red goes to the app, which closes the window properly.
+ // window in the Dock, which nobody can see); green toggles host fullscreen without
+ // creating a hidden macOS Space. Red goes to the app and closes its window properly.
auto close_to = [&](int cx, int cy) { return (x - cx) * (x - cx) + (y - cy) * (y - cy) <= 81; };
if (close_to(g.min_x, g.min_y)) return 8; // HTMINBUTTON
- if (close_to(g.zoom_x, g.zoom_y)) return 9; // HTMAXBUTTON (ignored by the compositor)
+ if (close_to(g.zoom_x, g.zoom_y)) return 9; // HTMAXBUTTON: host fullscreen
if (y < 0 || y >= 52 || x < 80) return 0; // title band; traffic lights excluded
std::lock_guard<std::mutex> lk(frame_mu_);
auto it = frames_by_win_.find(g.wid);
diff --git a/src/wsm-runtime/src/wsmd.cpp b/src/wsm-runtime/src/wsmd.cpp
index 0e8eb7a..d5eec89 100644
--- a/src/wsm-runtime/src/wsmd.cpp
+++ b/src/wsm-runtime/src/wsmd.cpp
@@ -16,6 +16,8 @@
#include "wsm/diagnostic_output.hpp"
#include "wsm/reims_registry.hpp"
#include "wsm/usb_passthrough.hpp"
+#include "wsm/runtime_storage.hpp"
+#include <shobjidl.h>
#include <winsock2.h>
#include <ws2tcpip.h>
@@ -125,6 +127,34 @@ std::string extract_http_body(const std::string& req) {
return req.substr(pos + 4);
}
+std::string pick_storage_folder() {
+ std::string result;
+ std::thread dialog([&] {
+ const HRESULT initialized = CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
+ IFileOpenDialog* picker = nullptr;
+ if (SUCCEEDED(CoCreateInstance(CLSID_FileOpenDialog, nullptr, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&picker)))) {
+ picker->SetOptions(FOS_PICKFOLDERS | FOS_FORCEFILESYSTEM | FOS_PATHMUSTEXIST | FOS_NOCHANGEDIR);
+ picker->SetTitle(L"Choose a drive or folder for the macOS runtime");
+ if (SUCCEEDED(picker->Show(FindWindowW(L"WsmNativeManagerWindow", nullptr)))) {
+ IShellItem* item = nullptr;
+ if (SUCCEEDED(picker->GetResult(&item))) {
+ PWSTR path = nullptr;
+ if (SUCCEEDED(item->GetDisplayName(SIGDN_FILESYSPATH, &path))) {
+ const int count = WideCharToMultiByte(CP_UTF8, 0, path, -1, nullptr, 0, nullptr, nullptr);
+ std::vector<char> utf8(count);
+ WideCharToMultiByte(CP_UTF8, 0, path, -1, utf8.data(), count, nullptr, nullptr);
+ result = utf8.data(); CoTaskMemFree(path);
+ }
+ item->Release();
+ }
+ }
+ picker->Release();
+ }
+ if (SUCCEEDED(initialized)) CoUninitialize();
+ });
+ dialog.join(); return result;
+}
+
std::atomic<bool> g_running{true};
BOOL WINAPI console_ctrl_handler(DWORD) {
@@ -188,8 +218,10 @@ bool export_diagnostics(const std::string& root, std::string& out_path) {
};
std::ostringstream r;
r << "WSM diagnostic report\n\n";
+ r << "Daemon build: 0.2.3 / recovery-transfer-v3-builtin / centered-setup-matcher (" << __DATE__ << " " << __TIME__ << ")\n";
MEMORYSTATUSEX ms{}; ms.dwLength = sizeof(ms); GlobalMemoryStatusEx(&ms);
r << "Host RAM: " << (ms.ullTotalPhys >> 20) << " MiB total, " << (ms.ullAvailPhys >> 20) << " MiB free\n";
+ r << "Host commit: " << (ms.ullAvailPageFile >> 20) << " MiB available, " << (ms.ullTotalPageFile >> 20) << " MiB limit\n";
fs::path vmdir = fs::path(root) / "runtime" / "reims-ctl" / "vms" / "wsm-default";
r << "\n== vm.toml ==\n" << tail(vmdir / "vm.toml", 8192);
r << "\n== runtime log (tail) ==\n" << tail(vmdir / "logs" / "qemu.log", 64 * 1024);
@@ -210,7 +242,18 @@ bool export_diagnostics(const std::string& root, std::string& out_path) {
wchar_t temp[MAX_PATH]{};
DWORD temp_len = GetTempPathW(MAX_PATH, temp);
if (temp_len > 0 && temp_len < MAX_PATH) locations.emplace_back(temp);
- return wsm::runtime::write_diagnostic_report(locations, std::string("WSM-diagnostics-") + stamp + ".txt", redact(r.str()), out_path);
+ const bool saved = wsm::runtime::write_diagnostic_report(locations, std::string("WSM-diagnostics-") + stamp + ".txt", redact(r.str()), out_path);
+ if (saved) {
+ for (const char* screen : {"installer-error-screen", "last-installer-screen", "last-account-screen", "last-signin-screen"}) {
+ std::vector<uint8_t> bmp;
+ if (!wsm::core::ppm_file_to_bmp_bytes((logs / (std::string(screen) + ".ppm")).string(), bmp)) continue;
+ fs::path image(out_path); image.replace_extension(std::string(".") + screen + ".bmp");
+ std::ofstream output(image, std::ios::binary);
+ output.write(reinterpret_cast<const char*>(bmp.data()), static_cast<std::streamsize>(bmp.size()));
+ if (output) std::ofstream(out_path, std::ios::app) << "\nSaved setup failure image: " << image.filename().string() << "\n";
+ }
+ }
+ return saved;
}
// The macOS runtime must stay invisible: any top-level window owned by a QEMU process is hidden.
@@ -927,6 +970,7 @@ int main() {
}
} else if (method == "GET" && path == "/api/setup/plan") {
auto p = provisioner.plan();
+ const auto storage_utf8 = wsm::runtime::runtime_storage_path(wsm_root).u8string();
std::ostringstream o;
o << "{\"reuse_installer\":" << (p.reuse_installer ? "true" : "false")
<< ",\"whpx_ready\":" << (p.whpx_ready ? "true" : "false")
@@ -935,8 +979,22 @@ int main() {
<< ",\"disk_needed_bytes\":" << p.disk_needed_bytes
<< ",\"free_bytes\":" << p.free_bytes
<< ",\"drive\":\"" << json_escape_str(p.drive) << "\""
+ << ",\"storage_path\":\"" << json_escape_str(std::string(reinterpret_cast<const char*>(storage_utf8.data()), storage_utf8.size())) << "\""
<< ",\"minutes\":" << p.minutes << "}";
resp = http_response(200, "OK", o.str());
+ } else if (method == "POST" && path == "/api/setup/storage") {
+ std::string error;
+ if (provisioner.busy() || runtime.status().pid || std::filesystem::exists(wsm_root + "\\runtime\\config\\setup-running")) {
+ error = "Stop setup before changing its storage location.";
+ } else {
+ const auto selected = pick_storage_folder();
+ if (selected.empty()) {
+ resp = http_response(200, "OK", "{\"ok\":false,\"cancelled\":true}");
+ } else if (wsm::runtime::select_runtime_storage(wsm_root, std::filesystem::u8path(selected) / "WSM-Runtime", error)) {
+ resp = http_response(200, "OK", "{\"ok\":true}");
+ }
+ }
+ if (!error.empty()) resp = http_response(409, "Conflict", "{\"ok\":false,\"error\":\"" + json_escape_str(error) + "\"}");
} else if (method == "GET" && path == "/api/setup/progress") {
resp = http_response(200, "OK", provisioner.to_json());
} else if (method == "POST" && path == "/api/setup/begin") {
@@ -1037,10 +1095,10 @@ int main() {
if (rt.state == wsm::runtime::RtState::Running && streamer.setup_active() && streamer.setup_needs_attention()) state = "setup_attention";
body << "{\"state\":\"" << state << "\",\"working_set_mb\":" << rt.working_set_mb
<< ",\"legacy_state\":\"" << vm_state_to_string(st.state)
- << "\",\"pid\":" << st.pid
+ << "\",\"pid\":" << rt.pid
<< ",\"exit_code\":" << st.last_exit_code
<< ",\"uptime_ms\":" << st.uptime_ms
- << ",\"qmp_reachable\":" << (st.qmp_reachable ? "true" : "false")
+ << ",\"qmp_reachable\":" << (rt.qmp_reachable ? "true" : "false")
<< ",\"guest_connected\":" << (streamer.watching() ? "true" : "false")
<< ",\"open_windows\":" << streamer.window_count()
<< ",\"last_error\":\"" << json_escape_str(st.last_error) << "\""
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 2adce50..2977f72 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -15,3 +15,25 @@ add_test(NAME wsm_app_sync_tests COMMAND wsm_app_sync_tests)
add_executable(wsm_qmp_input_tests wsm_qmp_input_tests.cpp)
target_link_libraries(wsm_qmp_input_tests PRIVATE wsm-core)
add_test(NAME wsm_qmp_input_tests COMMAND wsm_qmp_input_tests)
+
+add_executable(wsm_fullscreen_tests wsm_fullscreen_tests.cpp)
+target_link_libraries(wsm_fullscreen_tests PRIVATE wsm-compositor)
+add_test(NAME wsm_fullscreen_tests COMMAND wsm_fullscreen_tests)
+
+add_executable(wsm_qmp_inheritance_tests wsm_qmp_inheritance_tests.cpp)
+target_link_libraries(wsm_qmp_inheritance_tests PRIVATE wsm-core)
+add_test(NAME wsm_qmp_inheritance_tests COMMAND wsm_qmp_inheritance_tests)
+
+add_executable(wsm_runtime_storage_tests wsm_runtime_storage_tests.cpp)
+target_link_libraries(wsm_runtime_storage_tests PRIVATE wsm-appman)
+add_test(NAME wsm_runtime_storage_tests COMMAND wsm_runtime_storage_tests)
+
+find_program(WSM_TEST_BASH NAMES bash PATHS "${PROJECT_SOURCE_DIR}/toolchains/msys64/usr/bin" NO_DEFAULT_PATH)
+if(WSM_TEST_BASH)
+ add_executable(wsm_recovery_script_tests wsm_recovery_script_tests.cpp)
+ target_link_libraries(wsm_recovery_script_tests PRIVATE wsm-appman)
+ add_test(NAME wsm_recovery_script_tests COMMAND wsm_recovery_script_tests "${WSM_TEST_BASH}")
+ add_test(NAME wsm_stage_installer_tests COMMAND "${WSM_TEST_BASH}"
+ "${CMAKE_CURRENT_SOURCE_DIR}/wsm-stage-installer-tests.sh"
+ "${PROJECT_SOURCE_DIR}/src/wsm-guest/provision/wsm-stage-installer.sh")
+endif()
diff --git a/tests/fixtures/setup_assistant/account_confirm_tahoe.ppm b/tests/fixtures/setup_assistant/account_confirm_tahoe.ppm
new file mode 100644
index 0000000..845d178
--- /dev/null
+++ b/tests/fixtures/setup_assistant/account_confirm_tahoe.ppm
@@ -0,0 +1,4 @@
+P6
+160 90
+255
+��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ü����ʶ�������ǿ�������Ⱦ����½�������ɾ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ǽ�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������˛�ċ����������������������������������������������������������������������������������������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������˿����ˆ��p����������������������������������������������������������������������������������������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̿�������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������˾����������ʿ����������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ź��������û����ս�¾����������������������������������������������羾���������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̥����������������������������񴴸��������ʴ����������������������������������������������缼���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ļ�������񩩬��������ʩ����������������������������������������������滻���������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̼�������������Ķ�������������񣤧��������������������������������������������������������姧���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ú�������������������������������������������������������������������游���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ú�������������������������������������������������������������������溺���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ú�������򧧧�����������Ʈ����í�������������������������������������溺���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ú�������������������������������������������������������������������溺���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ù����������÷����Ƴ�������������������һ����������������������������湹���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ļ�������������򨨨��������������������������������������������������������溺���������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������湹���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ú�������������������������������������������������������������������溺���������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̼�ɱ�ȯ�Ǹ�ɯ�DZ�ű����������������������������������������������������������������������溺���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ú����������������´����ĵ����ѻ����ͽ����ɻ����ʾ����̷�������������溺���������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̸�ɲ�Ȭ�ǵ�ȭ�Ư�Ū����������������������������������������������������������������������溺���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ú�������������������Ӽ�������������Ժ����������������ƿ�������������溺���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ú�������������������������������������������������������������������溺���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ú�������������������������������������������������������������������溺���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ú�������������������������������������������������������������������溺���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ĺ����������������������������������週�h�h�j�"|�r�h�h�iڦ����溺���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ļ�������������н�������Ķ�����������j��h�h�j�H��E��h�h�hړ����㻻���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ż������������������������������������������������������������Ѽ����������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ƿ����������������������������������������������������������������Ƶ�������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������»����������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̧�ư�ȹ�������������������¾�������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ÿ�������������������ÿ�������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ŵ�ȸ�ɵ�ȹ�ɷ�ȸ�ɹ�ɲ�ȹ�ɼ�ɴ�ȴ�ȱ�Ⱥ�������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������˷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ʷ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ľ����������������������������������������������������������������������������������������������������������������������������������������������������������ɶ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ɶ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ɳ�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ķ�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/tests/fixtures/setup_assistant/account_menu_tahoe.ppm b/tests/fixtures/setup_assistant/account_menu_tahoe.ppm
new file mode 100644
index 0000000..35440e7
--- /dev/null
+++ b/tests/fixtures/setup_assistant/account_menu_tahoe.ppm
@@ -0,0 +1,4 @@
+P6
+160 90
+255
+��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ü����ʶ�������ǿ�������Ⱦ����¿�������ɾ�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ռ�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������\�������������������������������������������������������������������������������������������������������������������������������������������������Ǿ�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Q��v������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������}}}ppp������������������{{{��������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ƾ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ž����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ߴ����ڸ����ǽ����������к�������������������������������������������������������������������������������������������������������������������������������������������������������������������η����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ڣ�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������洴���̴����������˷����������Ƽ�������������޷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ļ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/tests/fixtures/setup_assistant/age_range_tahoe.ppm b/tests/fixtures/setup_assistant/age_range_tahoe.ppm
new file mode 100644
index 0000000..803a289
--- /dev/null
+++ b/tests/fixtures/setup_assistant/age_range_tahoe.ppm
@@ -0,0 +1,4 @@
+P6
+160 90
+255
+��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ƾ�������¶����������������̽����������������ʿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ͼ�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������󼼼�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ʾ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������H���������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Q��y�&~������������������������������������������������������������������������������������������������������������������������������������������ͽ�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������g��r�B������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������'�d�������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������6�ၴ������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������6�Ⴕ������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ª����������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������޽�������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ͽ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̽����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ƚ�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������󶶶�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ȵ�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/tests/fixtures/setup_assistant/analytics_tahoe.ppm b/tests/fixtures/setup_assistant/analytics_tahoe.ppm
new file mode 100644
index 0000000..17987cd
--- /dev/null
+++ b/tests/fixtures/setup_assistant/analytics_tahoe.ppm
@@ -0,0 +1,4 @@
+P6
+160 90
+255
+��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ļ����Ǻ�������Ǿ�������ȿ�������������ž�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ռ�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������p��g��^������������������������������������������������������������������������������������������������������������������������������������������������Ǿ�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������1��f��\��;�ℶ���������������������������������������������������������������������������������������������������������������������������������������������Ǿ�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#}�\��R��.��p��qܮ����������������������������������������������������������������������������������������������������������������������������������������Ǿ�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������u�S��H��"|�g��iک����������������������������������������������������������������������������������������������������������������������������������������Ǿ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������}�������������������������������������������������������������������������������������������������������������������������������������������Ǿ�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������񿿿��������ѽ�������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ƾ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ž�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������η��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/tests/fixtures/setup_assistant/apple_account.ppm b/tests/fixtures/setup_assistant/apple_account.ppm
new file mode 100644
index 0000000..80cf103
--- /dev/null
+++ b/tests/fixtures/setup_assistant/apple_account.ppm
@@ -0,0 +1,4 @@
+P6
+160 90
+255
+��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ü����ʶ�������ǿ�������Ⱦ�������������ɾ�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ռ�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������\�������������������������������������������������������������������������������������������������������������������������������������������������Ǿ�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Q��v������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������}}}ppp������������������{{{��������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ǿ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ƾ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ž�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������η��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/tests/fixtures/setup_assistant/country_25g342.ppm b/tests/fixtures/setup_assistant/country_25g342.ppm
new file mode 100644
index 0000000..56b6975
Binary files /dev/null and b/tests/fixtures/setup_assistant/country_25g342.ppm differ
diff --git a/tests/fixtures/setup_assistant/country_tahoe_hidpi.ppm b/tests/fixtures/setup_assistant/country_tahoe_hidpi.ppm
new file mode 100644
index 0000000..0bb3058
Binary files /dev/null and b/tests/fixtures/setup_assistant/country_tahoe_hidpi.ppm differ
diff --git a/tests/fixtures/setup_assistant/filevault_confirm_tahoe.ppm b/tests/fixtures/setup_assistant/filevault_confirm_tahoe.ppm
new file mode 100644
index 0000000..905eba7
--- /dev/null
+++ b/tests/fixtures/setup_assistant/filevault_confirm_tahoe.ppm
@@ -0,0 +1,4 @@
+P6
+160 90
+255
+��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ü����ʶ�������ǿ�������Ƚ�������������ɾ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ǽ�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ǻ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ʸ�ɸ�ɸ�ɸ�ɸ�ɸ�������������������������������������������������������������������������������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̥�ƿ�ʿ�ʿ�ʿ�ʿ�ʿ�ʨ����������������������������������������������������������������������������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̧�������̩�ǯ�������̧����������������������������������������������������������������������������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̤��������t����������̤����������������������������������������������������������������������������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̡�������̨�Ʈ�������̢����������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̟��{����Š�Š�Š�Š�Š��{����������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̱����������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������·����������������������������������������������������������������������㷷���º�������ÿ�������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������»�������������������������������������������������������������������纺���������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������¿����������������������򤤤�����������ɣ�������������������������������������������丸���������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ż����������������������������������������������������������������������常���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������¿�������������������������������������������������������������������������������山���������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ƿ����������û����������������������������������������������������������������������崴���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ú�������򹹹�����������ô�������������������ֹ����������������������溺���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ú�������������������������������������������������������������������溺���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ú�������������������������������������������������������������������溺���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ú�������򾾾��������������������������������������������������������溺���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ú�������������������������������������������������������������������溺���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ĺ�������������������������������������������������������������������溺���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ĺ�����������������������������������t��h�p�z� {�x�s�j�hڜ����溺���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ļ����������������ο�����������������t��h�q�+��,��)��9�� o�hڜ����㻻���������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ż�������������������������������������������������������������������ͼ����������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ƿ�������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ü����������������������������������������������������������������������������������������������������������������������������������̷�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������¾�������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������̷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������˷����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ʷ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ɶ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ɶ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ɳ�������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Ķ�����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������
\ No newline at end of file
diff --git a/tests/fixtures/setup_assistant/welcome_pending.ppm b/tests/fixtures/setup_assistant/welcome_pending.ppm
new file mode 100644
index 0000000..571daf7
--- /dev/null
+++ b/tests/fixtures/setup_assistant/welcome_pending.ppm
@@ -0,0 +1,4 @@
+P6
+160 90
+255
+,-/_`a/12���z{{���NPQ}}~./1���opqSTUGIJ}}~#$&\^_NOP)+-"$&XZ[;=>abd467���:<=opq[\]CEFaacMNOPQSabc<=?356QRS\]^KMN "YZ[UVW$&(^_`KMN���||}���<=>~GHI=>@���.02689���nop������BDE���023RST���mno���LNOstu���hii���`ab')+������ccd|}}���yzzz{{_`a���{|}���ABC*,.������BCD���456���FGHhij^_`%')���!#������qqr���EFG !#"$&357���,./\]^������������`abVXYvwxVWXnop79:���stuLMN"$&���-/0&')���*,-������lmn���{|}���lmm������*,-GHI���()+~���defcdd67989;���;<=kmmPQRdff]]^<>?���ACD���,.0 ���GHJ{|}���]^_acd���8:;]^_uvw���{||245GHJ���������@ABCEF������lmn/028:;}~������JKLKMN���:<=���&(*���;<>deflmn/12YZ[������\]^BDE���124LMN������HIJ������FHIVWX���������klm)+-STU������ghi')*qrs������yyz+-/>@A������^_` "$������*,.()+}~~������kkl���������^_`/12#%&!".01 "#$%&
\ No newline at end of file
diff --git a/tests/fixtures/setup_assistant/welcome_tahoe.ppm b/tests/fixtures/setup_assistant/welcome_tahoe.ppm
new file mode 100644
index 0000000..83cbb99
--- /dev/null
+++ b/tests/fixtures/setup_assistant/welcome_tahoe.ppm
@@ -0,0 +1,18 @@
+P6
+160 90
+255
+8��8��8��9��9��8��9��9��9��8��8��9��8��9��9��8��9��8��8��8��9��9��9��9��8��8��8��8��8��8��8��8��:��:��9��9��:��:��9��8��8��8��8��7��7��7��8��8��8��8��7��6��6��7��7��7��7��7��6��6��6��6��6��6��6��6��6��6��5��5��4��4��5��5��4��4��4��4��4��4��4��4��4��4��4��4��4��4��4��4��3��3��3��3��3��3��3��3��3��2��2��2��2��2��2��2��1��1��1��1��1��1��0��0��0��0��0��0��0��0��0��/��0��0��/��/��/��/��/��.��.��.��.��-��-�-�,�,~�+~�+~�+~�+~�+~�+~�+}�*}�*}�*}�*|�){�){�){�){�(z�(z�(z�(z�(y�(y�(y�9��9��9��9��9��9��9��:��9��9��9��9��9��9��9��9��9��9��9��9��9��9��9��9��9��9��8��9��8��8��8��8��9��:��:��:��:��:��9��9��8��8��8��8��8��8��8��8��8��8��7��7��7��7��7��7��7��7��6��6��6��6��6��6��6��6��6��6��6��5��5��6��6��5��5��5��5��5��5��5��5��5��5��5��5��5��5��5��5��4��4��4��4��4��4��4��4��4��3��3��3��3��3��3��3��3��2��2��2��2��2��2��1��1��1��1��0��0��0��0��0��0��0��0��/��/��/��/��/��.��.��.��.��-��-�-�,�,~�,~�+~�+~�+~�+}�+}�+}�+}�*}�*}�*|�)|�)|�){�){�({�({�(z�(z�(z�(z�(y�:��:��:��:��:��:��:��:��:��:��:��:��:��:��9��9��9��9��9��9��9��9��9��9��9��9��9��9��9��9��9��9��:��:��:��:��:��:��:��9��9��9��9��9��8��8��8��8��8��8��8��8��8��8��8��8��8��8��8��7��7��7��7��7��7��7��7��7��7��6��6��7��7��7��6��6��6��6��6��6��6��6��6��6��6��6��6��5��5��5��5��5��5��5��5��4��4��4��4��4��4��4��4��4��5��4��4��3��3��3��3��2��2��2��2��1��1��1��1��0��0��0��0��0��0��0��0��/��0��/��/��/��.��.��.��-�-�-�,�,~�,~�,~�,~�,~�,~�,}�+}�+}�+}�*|�*|�*|�)|�)|�){�){�)z�)z�)z�)z�:��;��:��;��;��;��:��:��:��:��:��:��:��:��:��:��9��:��:��:��:��9��9��:��:��:��:��:��;��;��:��:��;��;��:��:��:��:��9��9��9��:��:��:��9��9��9��9��9��9��9��8��8��9��9��9��:��9��9��9��8��8��8��8��8��8��8��8��8��8��7��8��8��7��7��8��7��7��7��7��7��7��7��7��6��6��6��6��6��6��6��6��6��6��6��5��5��5��5��5��5��5��5��5��5��5��6��5��5��4��4��3��3��3��2��2��2��2��1��1��1��1��1��1��1��0��0��0��0��0��/��/��/��/��.��.��.�-�-�-�,�,~�,~�-~�-~�-~�,~�,}�,}�+}�+}�+|�*|�*|�*{�*{�*{�)z�)z�)z�;��;��;��;��;��;��;��;��;��;��;��;��;��;��;��;��:��:��;��;��:��:��:��;��:��;��<��<��<��<��<��<��<��;��;��;��;��;��:��:��:��;��;��;��;��:��:��:��:��:��:��:��9��:��:��:��:��:��:��:��9��9��9��9��9��9��9��9��9��9��9��9��9��9��9��8��8��8��8��8��8��8��8��8��8��8��8��7��7��8��8��8��7��7��7��7��6��6��6��6��6��6��6��6��6��6��6��6��6��5��4��4��4��4��4��3��3��3��2��2��2��2��2��1��1��1��1��0��0��0��0��/��/��/��/��/��.��.��.��-�-�-�-�-~�-~�-~�-~�-~�,}�,}�,}�+}�+}�+|�*|�*{�*{�*{�*{�)z�<��<��<��<��<��<��<��<��<��<��<��;��;��;��<��<��;��;��;��<��;��;��;��;��<��<��<��<��<��<��<��<��<��;��;��;��;��;��;��;��;��;��;��;��;��;��;��;��;��;��;��;��;��:��:��:��;��;��:��:��:��:��:��:��:��:��:��:��:��9��9��9��9��9��9��9��9��9��9��8��9��8��9��8��9��8��8��8��8��8��8��8��8��8��8��8��7��7��6��6��7��6��6��6��6��6��6��6��6��5��5��5��5��4��4��4��4��4��3��3��3��2��2��2��2��1��1��1��1��1��0��0��0��0��/��/��/��/��/��.��.�-�-�.�.�.~�-~�-~�-~�,~�,~�,}�+}�+}�+|�+|�+|�*|�*{�*{�=��=��>��>��>��>��>��=��>��=��=��=��=��=��=��=��=��=��=��=��=��<��<��<��=��=��=��=��=��=��=��=��=��<��<��<��<��<��<��<��<��<��<��<��<��;��<��;��;��<��<��<��<��<��;��<��;��;��;��;��;��;��;��;��;��;��;��;��;��:��:��:��:��:��:��:��:��:��9��9��9��9��9��9��9��9��9��9��9��9��9��9��9��9��9��8��9��8��7��7��7��7��6��6��6��6��6��6��6��6��6��6��6��5��5��5��5��4��4��4��3��3��2��2��2��2��1��1��1��1��0��0��0��0��0��0��0��/��/��/��.��.��.��.�.�.�.�-~�-~�-~�,~�,~�,}�,}�+}�+|�+|�+|�+|�*{�>��?��?��?��?��?��?��?��?��?��>��>��>��>��>��>��>��>��>��>��>��>��>��>��>��>��>��>��>��>��>��=��=��=��=��=��=��=��=��=��=��=��=��=��=��<��<��<��<��<��=��=��=��<��<��<��<��<��<��<��<��<��<��<��<��<��<��<��<��<��;��;��;��;��;��;��;��:��:��:��:��:��:��:��:��:��:��:��:��:��:��:��:��:��9��9��9��9��9��8��8��8��7��7��7��7��7��7��7��7��7��7��6��6��6��6��5��5��4��4��4��3��3��3��2��2��2��2��2��1��1��1��1��0��0��0��0��0��/��/��/��/��/��/��/�/�/�.�.~�-~�-~�-~�-~�,~�,}�,}�,}�,}�+|�+|�?��@��@��@��@��@��@��@��@��@��@��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��>��>��>��>��>��>��>��>��>��>��>��>��>��>��=��<��=��=��=��=��=��=��>��>��>��=��=��=��=��=��=��=��<��<��=��=��=��=��=��<��<��<��<��<��<��<��<��<��<��;��;��;��;��;��;��;��;��:��:��:��:��;��:��:��:��:��:��:��:��9��9��9��8��8��8��8��8��7��7��7��7��7��7��6��6��6��5��5��5��5��4��4��4��4��3��3��3��2��2��2��2��1��1��1��1��0��0��0��0��0��0��/��/��/��/��/��/��/�/�.�.�-~�-~�-~�,~�,~�-}�,}�,}�,}�@��A��A��A��A��A��A��A��A��A��A��@��@��@��@��@��@��@��@��@��@��@��@��?��?��@��@��@��?��?��?��?��?��?��?��?��?��?��>��>��?��>��?��>��=��=��=��>��>��>��=��>��>��>��>��>��>��=��=��=��=��=��=��=��=��=��=��=��=��=��=��=��=��=��<��<��=��<��<��<��;��;��<��<��;��;��;��;��;��;��;��;��;��:��:��;��;��:��:��:��:��:��9��9��9��9��8��8��8��8��8��7��7��7��7��7��6��6��6��5��5��5��4��4��4��4��3��3��3��3��2��2��2��2��2��1��1��1��0��0��0��0��0��0��0��0��0��/��/��/��/��.�.�.�-~�-~�-~�-~�-}�,}�A��A��A��B��B��B��B��A��A��A��A��A��A��A��A��A��A��A��A��A��A��A��A��@��@��A��A��A��@��@��@��@��@��@��?��?��?��?��?��?��?��?��?��?��>��>��>��?��?��>��>��>��>��>��>��>��?��>��>��>��>��>��>��>��>��>��>��>��>��>��=��=��=��=��=��=��=��=��=��=��<��<��<��<��;��;��;��<��;��;��;��;��;��;��;��;��;��;��;��;��:��:��:��:��9��9��9��9��8��8��8��8��7��7��7��7��6��6��6��6��6��5��5��5��4��4��4��4��4��3��3��3��3��3��2��2��1��1��1��1��1��1��0��0��1��0��0��0��/��0��/��/��/�.�.�-�.~�-~�-~�-~�B��B��B��B��B��B��B��B��B��B��B��B��B��B��B��B��B��B��B��B��B��B��B��A��A��A��A��B��A��A��A��A��A��A��A��@��@��@��@��@��?��?��?��?��?��?��?��?��?��?��?��?��>��>��>��>��?��?��?��?��?��?��?��?��?��?��?��>��>��>��>��>��>��>��>��>��>��>��=��=��=��<��<��=��<��=��<��<��<��<��<��<��<��<��;��<��;��;��;��;��;��;��:��:��:��:��:��:��9��9��8��8��8��8��7��7��7��7��7��6��6��6��6��5��5��5��5��5��4��4��4��4��4��3��3��2��2��2��2��1��1��1��1��1��1��1��1��0��0��0��0��0��/��/��/�/�.�.�.~�.~�C��C��C��C��C��C��C��C��C��C��C��C��B��C��B��B��B��B��B��C��C��B��B��B��C��C��B��C��B��B��B��B��B��C��B��B��B��A��A��A��A��@��@��?��@��?��?��@��?��?��?��?��?��?��?��?��@��@��@��?��@��@��@��?��?��?��?��?��?��?��?��>��>��>��?��?��>��>��>��=��>��>��>��>��>��=��=��=��=��=��=��=��<��<��<��<��<��<��<��;��;��;��;��:��:��:��:��:��:��9��9��9��9��8��8��8��8��8��7��7��7��7��6��6��6��6��6��5��5��5��4��4��4��4��3��3��3��3��2��2��2��2��2��2��2��2��1��1��1��1��0��0��0��/��/��/�/�/�/�/�C��D��D��D��D��D��D��D��D��D��C��C��C��C��C��C��C��C��C��C��C��C��C��C��C��C��C��C��C��C��C��C��C��D��C��C��B��B��B��B��B��A��A��@��@��@��@��@��@��@��@��@��@��@��@��@��@��@��@��@��@��@��@��@��@��@��@��?��?��?��?��?��?��?��?��?��?��?��?��?��?��?��>��>��>��>��>��>��>��>��>��=��=��=��=��<��<��<��<��<��<��<��;��;��;��;��;��:��:��:��:��9��9��9��9��8��8��8��8��8��7��7��7��7��7��6��6��6��6��5��5��5��5��4��4��4��3��3��3��3��3��2��2��2��2��2��2��1��1��1��1��1��0��0��0��/��/��/��/��/�D��D��D��E��E��E��E��E��E��E��D��D��D��D��D��D��D��D��D��D��D��D��C��D��D��D��D��D��C��C��C��C��C��D��D��D��C��C��C��C��C��B��B��B��A��A��A��A��A��A��A��A��A��A��A��A��A��A��A��A��A��A��A��@��@��A��@��@��@��@��@��@��@��@��@��@��@��@��@��@��@��@��?��?��?��?��?��?��?��>��>��>��>��>��>��=��=��=��=��=��<��<��<��<��<��;��;��;��;��;��;��:��:��:��9��9��9��9��9��8��8��8��8��7��7��7��7��7��7��6��6��6��6��5��5��5��4��4��4��3��3��3��3��3��3��2��2��2��2��2��2��1��1��1��0��0��0��0��0��0��E��E��E��E��F��E��F��F��E��E��E��E��E��E��E��E��E��E��E��E��E��E��E��E��E��E��E��E��D��D��D��D��D��E��E��D��D��D��D��D��C��C��C��C��C��B��B��B��B��B��B��B��B��B��B��B��B��B��B��B��B��A��A��A��A��A��A��A��A��A��A��@��@��@��A��A��A��A��A��A��@��@��@��@��@��@��@��@��?��?��?��?��?��>��>��>��>��>��=��=��=��=��=��<��<��<��<��<��;��;��;��;��;��:��:��:��:��:��9��9��9��9��8��8��8��8��8��8��8��7��7��7��7��6��6��5��5��4��4��4��4��4��4��3��3��3��3��2��2��2��2��2��1��1��1��1��1��1��0��0��F��F��F��F��F��F��F��F��E��E��F��E��E��E��F��F��F��F��F��F��F��F��F��F��F��F��F��F��E��E��E��E��E��E��E��E��E��E��E��E��E��E��D��D��D��D��D��C��C��C��C��C��C��C��C��C��C��C��C��C��C��C��C��B��B��B��B��B��B��A��A��A��A��A��A��B��A��B��A��A��A��A��@��@��@��@��@��@��@��@��@��?��?��?��?��?��>��>��>��>��=��=��=��=��=��=��<��<��<��<��<��<��<��;��;��;��;��:��:��:��:��9��9��9��9��8��9��8��8��8��8��7��7��7��6��6��6��5��5��4��4��4��4��4��3��3��3��3��3��3��2��2��2��2��2��2��1��1��1��1��F��F��G��F��F��F��G��G��F��F��F��F��F��F��F��G��F��G��G��G��G��G��G��G��G��G��F��F��F��F��F��F��F��F��F��F��F��F��F��F��F��F��E��E��E��E��E��E��E��D��D��D��D��D��D��D��E��E��D��D��D��D��D��D��C��C��C��C��B��B��B��B��C��C��C��C��C��B��B��B��B��B��A��A��A��A��A��A��A��A��@��@��@��@��@��@��?��?��?��?��?��>��>��>��>��>��>��>��>��=��=��=��=��<��<��<��;��;��;��:��:��:��:��9��9��9��9��9��9��8��8��8��8��7��7��7��6��6��5��5��5��4��5��5��4��4��4��4��4��3��3��3��2��2��2��2��2��1��2��2��G��F��F��G��G��G��G��G��G��G��G��G��G��G��G��G��G��G��H��H��H��H��H��H��H��G��G��G��G��G��G��G��G��G��G��G��G��G��G��G��G��G��G��F��F��F��F��F��F��F��F��E��E��E��E��E��F��F��E��E��E��F��E��E��E��D��D��D��D��D��C��C��D��D��D��D��C��C��C��C��C��B��B��B��B��B��B��B��A��A��A��A��A��A��@��@��@��@��@��@��@��@��?��?��?��?��?��?��?��>��>��>��>��=��=��=��<��<��;��;��:��:��:��:��:��:��9��9��9��9��9��8��8��8��7��7��7��6��6��6��6��5��5��6��5��5��5��4��4��4��4��3��3��2��2��2��2��2��2��2��G��F��F��G��G��G��G��G��G��G��G��G��G��G��H��H��H��H��I��I��I��I��I��I��I��I��H��H��H��H��H��H��H��H��H��H��H��H��H��H��H��G��G��G��G��G��G��G��G��G��G��F��F��F��F��F��G��G��F��F��F��F��F��F��F��F��F��E��F��F��E��E��E��E��E��E��E��D��D��D��D��C��C��C��C��C��C��C��B��B��B��B��A��A��A��A��A��A��A��@��@��@��@��@��@��@��?��?��?��?��?��>��>��>��=��=��=��=��<��;��;��;��;��:��:��:��:��:��:��:��9��9��9��8��8��8��7��7��7��7��7��6��6��7��6��5��5��5��5��4��4��4��4��4��3��4��4��3��3��3��F��F��F��G��G��G��G��H��H��H��H��H��H��H��H��H��H��H��I��J��J��J��J��J��J��J��J��J��J��J��J��I��I��I��I��I��I��I��I��I��I��I��I��H��H��H��H��H��H��H��H��H��G��H��H��H��H��H��H��H��G��G��G��G��G��G��H��H��I��H��G��F��F��F��F��F��F��F��F��E��E��E��E��E��E��E��D��D��D��D��D��C��C��B��B��B��A��A��A��A��A��@��@��@��@��@��@��@��?��?��?��?��?��>��>��>��=��=��<��<��<��<��;��;��;��;��;��:��:��:��:��:��9��9��9��8��8��8��8��8��8��7��7��7��7��6��6��6��6��6��5��5��5��5��5��5��5��4��4��4��G��G��G��H��H��H��H��I��I��I��I��I��I��H��I��I��I��I��J��J��K��K��K��K��K��K��K��K��K��K��J��K��K��K��J��J��J��J��J��J��J��J��I��I��I��I��I��I��I��I��I��I��H��I��I��I��I��I��I��I��I��I��I��I��I��I��I��J��I��I��H��H��G��G��G��G��G��G��G��F��F��F��F��F��E��E��E��E��D��D��D��D��D��D��C��C��B��B��B��B��B��A��A��A��@��@��A��A��@��@��@��@��?��?��?��?��>��>��=��=��=��<��<��<��<��<��<��;��;��;��;��;��:��:��:��9��9��9��9��8��8��8��8��8��7��7��6��7��6��6��6��6��6��5��6��6��5��5��5��5��I��I��I��J��J��J��J��J��J��J��J��J��J��J��J��J��J��K��K��L��L��L��L��L��L��L��L��L��L��L��L��L��L��L��L��K��L��L��K��K��K��K��K��K��K��K��K��K��J��J��K��K��J��J��J��J��J��K��K��K��K��J��J��J��J��J��J��J��J��J��J��I��I��I��I��I��H��H��H��H��H��G��G��G��F��F��F��F��F��E��E��E��E��E��D��D��D��C��C��C��C��B��B��B��A��A��A��A��A��@��@��@��?��?��@��@��?��?��?��>��>��>��>��>��=��=��<��<��<��<��<��<��<��;��:��:��:��:��:��9��9��9��9��8��8��7��7��7��7��7��7��6��6��6��6��6��6��6��5��6��K��L��L��L��L��L��L��L��L��L��L��L��L��L��L��L��L��L��L��L��M��L��L��M��M��M��L��L��M��L��L��L��M��M��M��M��M��M��L��L��L��L��L��L��L��L��L��L��L��M��L��L��L��L��L��K��K��K��L��L��L��K��J��J��J��K��J��J��J��J��J��J��J��J��J��J��I��I��I��I��J��I��I��H��G��G��G��G��G��F��F��F��F��F��E��E��E��D��D��C��C��C��B��C��B��B��B��B��B��A��A��A��@��@��A��@��@��@��@��@��?��?��?��?��>��=��=��=��=��=��=��=��=��<��:��;��:��:��:��:��;��:��:��9��8��8��8��8��8��7��7��7��7��7��7��7��7��7��6��7��M��M��M��N��N��N��N��N��N��O��O��O��O��O��O��N��N��N��N��N��O��N��N��N��N��N��N��N��N��N��N��N��N��N��N��N��N��N��N��N��N��N��N��N��M��M��M��M��N��O��O��N��N��N��M��M��L��L��L��L��L��L��L��K��K��K��L��K��K��K��K��K��K��K��K��K��K��J��J��J��K��K��J��I��I��J��J��I��I��I��H��H��H��H��G��G��G��F��E��D��E��D��D��C��D��D��C��C��C��B��B��B��B��A��B��A��A��A��@��@��@��@��@��?��?��>��=��=��=��>��>��>��=��<��;��;��:��:��;��;��;��;��;��:��9��9��8��8��8��8��8��8��8��8��8��7��7��8��8��8��O��O��O��O��O��O��O��O��P��P��P��P��P��P��Q��P��Q��Q��P��P��P��P��P��P��P��P��P��P��O��P��P��O��O��O��O��O��O��O��O��O��O��O��O��O��O��N��N��N��O��O��O��O��O��O��O��N��N��N��N��M��N��M��M��L��L��L��M��M��L��L��L��L��L��L��L��L��L��K��K��K��L��L��L��L��K��K��L��K��K��K��J��J��J��J��I��I��H��G��F��F��F��E��E��D��D��D��D��D��D��C��B��C��C��B��B��B��A��A��A��@��@��@��@��@��?��?��>��?��?��>��>��>��=��<��;��;��;��;��;��9��/dq4y�<��;��;��:��9��9��9��9��9��9��9��8��8��8��8��8��8��9��Q��Q��Q��Q��Q��Q��Q��Q��R��R��R��R��R��R��R��R��R��R��R��R��Q��R��Q��Q��R��R��R��Q��Q��Q��Q��Q��Q��Q��P��P��P��P��P��P��P��P��P��Q��P��P��O��O��O��P��P��P��O��P��P��P��O��O��O��O��O��O��N��N��N��N��N��N��N��M��M��M��M��M��N��M��M��M��L��L��L��L��M��N��M��M��M��L��K��K��K��K��K��J��J��J��I��I��H��G��G��F��F��E��E��E��D��D��D��C��C��C��C��C��C��B��B��A��A��A��A��@��@��@��@��?��?��@��@��?��?��?��>��=��<��<��<��:��:��6lx.Z`'cz<��<��<��;��;��:��:��:��:��:��9��9��9��9��9��9��:��:��Q��Q��Q��Q��Q��R��R��R��R��R��S��S��S��S��S��S��T��S��S��S��S��S��S��S��S��T��T��S��S��S��S��S��S��R��R��R��R��R��R��R��R��R��R��R��S��R��Q��Q��Q��Q��R��Q��Q��Q��Q��R��Q��Q��Q��Q��Q��Q��P��P��P��O��O��P��O��O��O��O��O��O��O��O��O��O��N��N��M��M��N��N��N��N��M��M��K��K��L��K��K��K��K��J��J��J��I��I��H��H��G��G��F��F��F��E��E��D��D��D��D��D��C��C��C��B��B��B��B��B��A��A��@��@��A��@��@��@��@��?��?��>��=��=��=��:u�.dp3M7*F6*^f1q�>��=��<��<��;��;��;��;��;��:��:��:��:��:��;��;��;��R��S��S��S��S��T��T��S��S��T��T��T��T��T��U��U��U��U��V��U��T��T��T��T��U��U��U��T��U��U��U��U��U��T��U��U��U��T��T��U��T��T��U��U��U��U��U��T��T��U��T��T��T��T��T��T��U��T��T��T��T��T��S��R��R��R��R��R��R��R��Q��R��R��Q��Q��P��Q��P��O��O��N��N��N��N��N��N��N��N��M��L��L��L��M��M��L��L��K��K��J��J��I��I��I��I��I��H��H��H��G��F��E��E��E��D��D��D��D��D��C��D��C��C��C��B��B��B��B��A��A��@��@��@��?��?��?��>��>��7p�-MA,LB1L8*TT#NM7��>��=��<��<��<��<��<��<��;��;��;��;��;��<��;��;��T��U��U��U��U��U��U��U��U��U��U��U��V��V��V��V��V��V��W��W��V��V��V��V��W��W��V��V��V��V��V��V��W��V��V��V��W��W��W��W��V��V��W��W��W��W��X��X��W��X��W��W��X��W��W��W��W��W��V��V��W��W��V��U��U��T��T��T��T��T��S��S��S��S��S��R��R��R��Q��Q��P��O��O��O��O��O��O��O��N��M��M��M��N��N��M��M��L��L��L��L��K��K��K��K��J��J��J��J��I��H��H��G��G��F��F��F��E��E��E��E��E��E��E��D��D��C��C��B��B��A��A��@��?��?��?��?��?��=}�,K@8*#C=!C?BD?��@��?��>��=��=��=��=��=��=��=��=��=��=��=��<��=��W��W��W��W��W��W��W��W��X��X��X��X��Y��Y��Y��Y��X��X��Y��X��X��X��X��W��X��X��X��X��X��X��X��X��Y��X��X��X��Y��Y��Y��Y��Y��Y��Y��Y��Y��Z��Z��Y��Z��Y��Y��Y��Y��Y��Z��Y��Y��X��X��Y��Y��Y��X��X��W��W��V��V��V��V��V��U��U��U��U��T��T��T��S��S��R��Q��Q��Q��Q��P��P��O��O��N��N��N��N��O��N��M��M��M��M��M��M��M��M��M��M��L��L��L��K��K��J��J��J��I��I��H��H��G��G��G��F��F��F��F��F��E��D��D��C��C��B��A��@��@��@��@��=z�6cg7VI%D5"<1"?569!\y;��@��?��?��?��>��>��>��>��>��>��>��?��?��?��?��Y��Y��Y��Y��Y��Y��Y��Y��Y��Z��[��[��[��[��[��[��[��[��[��[��[��Z��Z��Z��Z��Z��[��[��[��[��[��[��[��[��[��[��\��\��\��[��[��[��[��[��[��\��\��\��[��[��[��[��[��Z��[��[��[��Z��Z��[��[��Z��Z��Z��Z��Z��Y��Y��Y��X��X��X��X��X��W��W��W��W��W��V��V��U��U��T��S��S��R��R��Q��Q��P��O��P��P��P��O��O��O��O��O��O��O��O��O��O��O��O��O��N��N��M��L��L��K��K��J��J��J��J��I��H��H��H��H��G��G��F��E��E��D��C��B��B��B��B��C��8^[7gs3OC<K'4K8!EB?K(l�B��B��4j{4t�A��@��?��@��@��@��@��@��@��@��@��@��\��\��\��\��]��]��]��]��]��]��^��^��^��^��^��^��^��^��^��^��^��^��]��]��]��]��]��^��^��^��^��^��^��]��]��]��]��]��]��]��]��]��^��^��^��^��]��]��]��]��]��]��]��]��\��\��\��]��]��\��]��\��\��\��\��\��\��[��[��[��[��Z��[��Z��Z��Z��Z��Z��Y��Y��X��X��W��W��V��V��V��V��V��U��T��T��S��S��S��R��Q��Q��Q��Q��Q��Q��Q��Q��Q��Q��P��P��P��P��O��O��N��N��N��N��M��M��M��M��L��L��M��L��K��J��I��I��I��G��E��D��C��D��E��F��<_a,LF2K<%5!"@<!9/-) A@-m�<~�1dr5nzC��A��@��@��@��A��A��@��@��@��@��@��^��^��^��_��`��`��`��`��`��a��a��a��a��a��a��a��a��a��a��a��a��b��b��b��b��c��c��c��c��c��c��c��c��b��b��b��a��a��a��a��`��`��`��`��`��`��`��`��`��`��`��`��a��`��`��`��_��`��_��_��_��_��_��_��_��_��_��_��^��^��^��^��^��]��]��\��\��\��[��[��[��Z��Z��Z��Y��Y��Y��Y��Y��Y��X��X��X��W��V��U��U��T��T��T��T��S��S��S��T��T��T��S��S��T��S��R��R��R��Q��Q��Q��P��P��P��P��P��P��P��O��M��L��L��L��J��G��G��F��F��G��H��G}�2B,1D40X^,)"7.<@ CH'Vf;p;v�;mm=��C��C��B��B��B��B��B��B��B��B��B��c��c��d��d��e��e��e��f��f��g��g��g��g��g��g��g��g��h��h��h��g��h��h��i��i��j��k��k��j��i��i��i��i��i��h��h��g��g��f��f��f��f��f��f��f��e��e��e��f��f��e��e��e��e��e��e��e��e��e��e��e��e��e��d��e��d��d��c��c��b��b��b��a��a��a��`��`��`��`��`��_��^��^��^��^��]��]��]��]��]��]��]��\��Z��Y��Y��X��X��W��V��V��V��U��V��W��W��W��W��W��X��X��X��X��W��V��U��U��T��T��S��T��T��S��R��Q��P��O��O��O��M��L��K��J��I��I��L��Qt_DM)FX6HV-AQ,A^P:G(,8'2I<FkbFcM:q<��G��E��D��C��C��C��C��C��C��D��D��j��j��j��j��k��k��k��l��l��l��l��l��l��m��m��n��o��o��p��q��q��q��q��p��p��p��p��q��p��o��o��o��p��p��o��o��n��n��n��m��m��l��l��l��l��l��k��k��l��l��l��k��l��k��k��j��k��k��k��k��k��k��k��j��k��j��j��i��i��h��h��h��g��g��g��f��f��e��e��e��d��d��d��c��c��b��b��b��a��a��a��`��`��^��]��]��\��[��Z��Y��Y��Y��X��Y��Z��Y��Z��Z��[��\��[��[��Z��Z��X��X��W��W��W��V��V��V��V��U��T��S��S��R��R��Q��P��O��N��M��M��KwvES'CP'ER09D27A&.HB<UW-C?+G?<\GFcQ9r�,j�K��I��H��G��F��G��F��F��E��F��F��p��p��p��p��q��q��q��r��r��q��q��q��r��s��s��t��u��u��v��w��w��v��v��u��t��t��t��t��s��s��r��r��s��r��r��r��r��r��q��r��r��r��r��r��q��q��q��r��r��q��q��q��q��p��p��p��q��p��q��q��q��q��q��p��p��p��p��o��o��o��n��n��m��m��l��l��l��k��j��k��j��i��h��i��h��h��g��f��e��e��d��c��d��b��a��a��`��_��]��\��\��]��]��]��\��\��\��\��]��]��]��\��\��\��[��Z��Y��Y��Y��Y��Z��Y��X��W��V��V��U��U��U��U��T��S��R��Q��Q��DdZFS/0A/6cq6TO%920g�B��K��K��Dlf2QF0en9m{Q��N��N��M��L��L��K��K��K��K��J��v��v��w��w��w��w��w��x��x��x��y��y��y��z��z��z��{��|��|��|��{��{��z��x��x��x��y��y��x��x��x��y��y��y��y��y��x��x��w��w��w��w��w��w��v��v��v��v��v��v��u��u��t��t��t��t��u��v��v��w��w��v��u��u��v��u��u��t��t��t��s��s��r�΃�֔��|��r��q��p��p��p��o��n��m��l��k��k��k��j��i��h��g��h��g��f��e��d��c��b��`��`��a��a��a��a��`��`��`��`��`��_��_��_��^��]��\��[��[��\��]��]��\��[��[��Z��Z��Z��Z��Z��Y��W��V��U��U��V��R��8OC;gvN��I��0XmD{�Z��W��LnWOqb8es6]T=`JE��E��?}�^��U��Q��\��^��_��X��S��}��}�ӆ�Ҕ�ҏ�Ӊ�щ�҃�Љ�Љ�ҕ�М�Ԍ�҅�ӂ�ы�ϙ�ͩ�Қ�ӆ�ϐ�͍�х�ъ�ё�ц�Ѐ����~��}��~����~��~��~��}��}��}��|��|��{��{��{��z��z��z��y��y��y��x��w��w��v��v��v��v��x��y��y��z��z��z��y��y��y��y��y��y��x��x��w��v���ҭ�������t��u��t��u��u��u��s��r��q��p��o��o��p��p��p��p��n��n��m��j��k��k��i��l��n��f��b��f��l��g��g��g��g��f��e��d��d��b��b��a��`��_��`��`��`��`��`��a��`��_��_��_��_��^��\��[��[��[��\��]��^��_��_��`��@g�I{�c��c��Mp_IiV>U<CXC9N1@=&^�&]�l��u��0\z=ah6_vUy�W��u����Д�͍�Ț�ɋ�Dž�ǐ�ǖ�ɣ�ˍ��~��{��s��c����ć�Ȇ�Ő��y����ɗ�ɂ�ŀ�˜�ɤ�ʻ�ұ�Ё��m����ʄ�σ�у�у�у�Ђ�·�ψ�΂�ς�ς�΂�́�́�΀�΀����}��|��{��y��y��x��w��w��y��|��}��~��~��~��~��~��}��}��|��|��|��}��}��|��{�͝����ا��w��x��y��z��z��z��y��w��q��v��~��m��b��x��p��T��Y��M~�F{�H{�S����l��o��Q��K}�a��f��i��z��Z��e��o��t�����o��g��[��[��h��Y��^��f��e��e��f��f��f��f��g��g��f��e��d��d��d��d��e��f��g��d��[��d��]��Ee}`z�x��h��OgS8J/#=51I;/NA*OF._�.^�,XpHjx���gxws�����n��|����ɉ�Ĉ�Ù�ƍ����Ì�ʼn�ă��|��h��]��o����dž��q��]��}����ȑ�Ǝ��t��Q��j��y��x��o��k��������t��T��\��{����Ͽ�н�γ�ʚ�Ȟ�������������Ѿ����ҭ�˟�̒�̇�ˇ�̅�͊�͇�̃�ˎ�˝�̫�Ͷ�̰�ʴ�˴�ͼ�ҳ�Ϡ�ˊ�ʃ�˃�ˆ�˄�ʆ�ː�˼���ܝ�ݧ��|��|��}��u��j��_��T��Ix�Ds�������~��Z��Lx�Hx�Z�����}��������_��g��Iv�Qz�Eq�Cr�Nw�Y��Ft�Eq�]��h��f��W}�Lu�U|�h��Qy�Eq�W}�j��Z��S�[��i��l��l��l��m��l��k��k��n����Ĩ�LJ��d��b��It�@l�4a�0_�0^�/^�!ImCf.^�<bx5M5$=29@)JJ8/!@5PiaL_JWjY���bsr.AFhtv������m}~r��j��^��}��}��s��z��g��q��~��Q�b��u��q��s��Kz�^��r�����q��m��Q��X��Hx�L}�K{�Fw�:n�T�f��d��T��O{�a��x��z��r�����r��m����•����������������è����Ǹ�ʚ�����s��u��c������������ɵ�ž�Ѭ�ż�Ͼ�޳����Ϸ�ȶ�կ��t��b��v����������꠾�k��f�������΄��x����������Ǯ�ԁ����d��e|�mz�������y��;JN������s��Ty�Jp�f����Г��������|��u��Uy�n��h��Pq�[|�_��Tv�]�Qu�Pt�Pt�Jo�Ai�Z|�y��������`��Hn�<c�6a�9`�7[�1W0V�.V.U}.W~>f�Nl�Bd|0\�2\�"Gl:^0\�>cz*B3??&C?#@GJ^^I\ZdfMPR>PYL;KPAMKUbh������������Q}�Fv�f��]��h��e��U��Hu�Hw�d��\��Iv�e��R}�<m�>m�=m�R|�S}�Kv�<m�>o�Cr�Ds�Er�@n�?m�?n�W��u��_��b��Rz�d��f��u��a��h��h��d����x��m��Z��f��{��h��[��b��u��f��W|�b��k�����������򙭺���������Я��z��t����¹�������钨�����������o��Ir������墻ѻ�Ǽ������������򢲼Yim<JQ������dr������t�������~��}���������쁘�`~�Hk�Ln�c}�Yu�@c�Nm�Oo�^{�Yy�Ik�@c�Cg�Dg�Ll�Wv�Ij�Hi�Ih�0V|Tr�Up�Ki�0U|9]�@a�Ac�Hh�;\�5X~������Tcb$9A,Pk,Pn$Kl*DP!Ea'DV
+#70IO-GIL]Zirgpvl[fW5>>:BAz�yz�������������ş��=n�>n�Cs�;o�?o�Iw�;n�;l�Ap�Mz�=l�Bq�Ao�=m�>n�?n�Dq�Cp�Am�?n�@n�Jv�Bp�?n�@m�Er�Bm�@l�Am�Bn�Bl�Ak�Dn�Gp�Fo�Mu�Wz�Ks�Co�Rx�Go�Ms�b��Z��V}�Rw�=g�Mr�Ek�c��Ot�Bi�Ai�@j���Ű��Nt����y��c�����p��u�����q��d����؍��i����뢰���������͵��v��y����Ɔ��h��{����������Ꙫ�c�����������������qy�$1p{����!2<\lxw�Mp�������Sq����~��Om�?b�Ef�Dd�Lk�Df�Mk�Lk�Lk�^x�Ih�Gg�Ij�]y�9]�<_�:]Ec�7Y9\=^�Eb�Ok�9\0UzMh�Hd�?]|Ge�|��u�x���Vfc!5<37IUPXc^TbcBNL)12;@;RYAsnZZX>LRCMUGS]Y.;B%7APgn���������������~��?r�At�Bu�Bu�Bu�At�At�Bu�Dv�Ct�Bs�Ct�Eu�Ev�Iw�Hu�Kv�Kv�Hu�Ft�Ht�Iu�Gt�Et�Es�Fs�Eq�Eq�Do�Do�Co�Dp�Co�Eo�Eo�En�Cm�?k�@j�?h�=f�<e�<e�;f�;f�;f�Cl�?i�>f�<f�=h�9d�9d�6b�5b�;h�>i����Io�X~����El�;e��������ͷ�Ӧ�������`jhs~~��DZ��DQV(7>cpu���LZ^7DF<GK��������Ҷ��|��������������Җ�����������@MT���r~�*Okb�����c�����^~�Ek�=c�:`�8`�8_�7^�;a�;`�8^�;`�>b�:`�6]�5[�1Z3Y}2Y}4Y~3W|0V{0Uz4W|5X{6Z}9]~?^|4Uwl�����x�y`pp���);?$.|�|yyd��{VYJlfR�tX��b�{hcbUPYV%1?IJfsrv����������������BSZDZc-EP Lx Mx Mw Lw Mx Mx Mx Mx Nx Mw Nx Mw Mw Mw Mx Mw Nw Mw NwMwMvMv MvNw MvNwNw Mv Mv Mv MvLu Ks Ls Lt Lt Lt Ls Kt Lu Kt Kt MuOuMt Lu Kt Jt Js Js Jt Jt Jt
+Is Is Is#\����Hv���ʔ��]�������Ξ����������О��r�w�����������BSZQ_g������p{�:IOXcg���������y��q|~��ڊ��enny����ӄ��PY\���Yfo.9o}�u~�2RgU����Ӎ��g��9l����.]�AlAm@k?j?j>j<h=h>i>i>i>k=j=k>k>k>k=k
+@lGm<k=j;i;i@i���Va\JX[ARVCW[8MR1DEW`W_dGHUB^aHhaHheQ��d^_BqqdHVZS\\���������������������=PO4JSF^fThie�f�g�f�e�f�g�f�f�d�f�f�f�f�g�g�f�i�g�g�g�g�0u�Y�� l�F�j��k��&n�h�i�h�g�f�g�f�g�g�e�h�H��s��|��KYXCPi�g�f�e�g�f�e�e�c�c�d�c�����ͣ��t����¥�ƒ��]dgR^bO]c������������ky�0AIgu~������fpuAPW������������pxxp|������Σ��eopaklbkm���JSW>HN���ANV&3/AO������x��f����ć�т��Y��
+[�YX�XXXU|V}V}U|V}U}U|T{T|S{Z} `�0j����|�b��Al�w��������u~wKXWmvtfqo���PceF\]]lh^hS=B$em[LOCaYE;J+3A7������L_]���������������������|�(;C;OUfusm�m�l�m�n�n�n�m�l�l�l�l�k�k�l�m�m�"p�k�k�*dxXrx]igmzw_rr@NO$38"067C<gs2QX!P`j�j�l�k�l�k�l�m��u�}7HJ &
+# 'Xqj�i�j�d~)RaRgi�h�h�i�i�%cwUovnyzQ]_^jl���IRXAJN+1&4:NX\\cfaooVcg*1+3+2.6!08*6<"/4S^__ko}�����QZ[���������kutnxxNYZ6AEDNU2<C$18#2<'4'5$1;(1:I c�
+a�e�i�d�
+a� _� ^
+^� ]�
+_�]�]�\~Z}Z~X{WyWzUyVx']lK]ZXhfp{y6>=*26XecT^\r|xlwuz��L[X����·���.DI '5<���:@=T]Lt�~Pb_gsl�������s�Xmk9NP������t��������������5FI (M\_y�x�x�x�y�w�x�v�x�w�t�s�r�p�p�o�p�i�k�s�o�n�n�q�#o�\oTgTfWml�b|e�r�s�s�v�v�v�v�v�$z�"w�o�d|g�y�x�w�x�x�v� w�u�u�u�D��Y�����s�~Tcc�����FQV!.4)-!&BOQ������]hfFSU,3(0!)-6$3="*$+)07DJZdafqqirs������ozzT^`=GK0;?'27%17(5;$29#19$/ .:)5?,9=(>C)ft`oar^reeh�f�e� e f� f� fg�g�e e g�m�M��>s{t|u5A=2=="($08grs������OY[>LP������������Tba !,+Teh���S``@RUR`^acZ��|���������Yhe���{�����������������������������FVY#��!�� �"��"��$��"��!�� �!��"��!�� �!��~� � ~�#��#��"��"��"��#��$��%��$��"��!�#��"��!��!�� ��!��#��$��#��#��#��#��'��#��"~�!}�"}�&��%~�"|�#|�%|�'{�D��)z�%z�.}�N��K�Kw�%NVEjn6XZ;]`$GO@H7=;=s��r��t��Gff>?3718 ,19==]`'JIBBBI0Wd0VbFbi���hstHUWVacMWZAKN2<A(38%06-9?!.5(0/8?,7>1<C3?A?XW)��"{� {�"}�!}�!|�"|�"z�'y�&t�o~s�p�n�h}e}$i|;t�Y��������amj2=; jz���������ltrx~���������nvr )
+'#5=[gcP[Tkwm&5;nuk��|���������^ie\ie���������dxu������������������������}�!�!~�%��#��$��"�$��%��!~�{�!}�"}�$~�$��$��&��&��)��*��+��*��)��(��*��,��+��*��*��,��*��*��*��*��/��0��0��/��.��1��6��5��3��3��0��0��2��2��5��3��2��1��1��0��2��4��4��1��-��*��${�-��/��&{�(y�)w�"r�(y�&w�%w�%w�"v�&|�&~�'��)��)��)��*��*��(��u��COQDRWS`dIUW@KM2<B,7>&07#.4/;@-8<HOQGMM>EJ0:=3>>���s��(~�$~�&��&��%��$~�$��&��(��(��'��%��"~�!{�w�!v�N��~��l��;��='ec`c `k=w~Y��Y��2Wd@dh`{{Oildyyq��O\Z#69!8:6IFv�kXf[EVP#44x~jnva��t��y��n2@=w�z���~��|��8PR��������v�������������*��(��*��*��(��,��*��+��.��/��-��1��2��1��/��3��4��5��6��4��5��7��6��5��6��7��6��5��8��7��8��9��:��:��>��=��:��>��=��<��C��@��>��>��9��:��:��9��6��7��6��5��5��3��4��3��1��0��/��*��)��(��)��%��&��)��.��(��#� }�"��&��)��*��*��(��(��#~�#}�"z�K��t�~alofru^jmEQV)59,7<.9?+6=-7<KTVbhi]bbOUU(/)35;BB������[�� v�"|�3��������U��${�!y�&~�%}�${�"z�"y�7��������������Lgi4��#{�"{�$}�&}�${�$}�$|�'}�&{�+��/��9��X��N��F}w)ke.oiT��Ayo6k_Q}qS{mb�qq�vu�ub�qXod�yj�n��`�y���������������u��}�����7��8��9��<��>��;��@��A��=��>��?��>��B��B��E��?��B��B��D��F��E��G��G��G��F��E��?��D��A��C��A��F��E��F��G��I��J��J��H��E��E��E��D��I��C��@��>��?��B��?��?��;��9��:��7��5��7��5��3��-��'��(��2��a�����������������`�� u�p�r� t�q�l�k�h�h�g}��cqp_jjlvuU_`-9>&17 ,25@Dovw������������KSS')34mtq���������_��V��������r|anlWy|!k�j�j�i�l�m�������������\dd\ji,ELh�j�f�c�h�j�j�i�e�e�e�g�(o�)o�+n~_k_j0t&ltbf&ku*s}.xv5}r<}qa��^��3xw6�B��B��I��W��e��k��b��Q��O�|T�}A��A��?��F��G��G��G��G��D��F��G��J��I��K��N��E��E��F��I��I��K��M��L��Q��P��L��L��H��A��C��G��N��J��L��H��K��D��G��J��B��E��E��D��D��E��@��B��?��;��9��7��6��6��7��3��4��1��0��(}�$y�#y�j��������������������������^��f�g�g�e�e�e�b�@z�������������������������v}|���������������������ell;CD������������s~���������t�}t��jyw]vw/~�{� |�x�S������¹���������dsr%>Gd|o�m�n�n�o�l�n�m�${�'��,��-��,��.��%y|$vy,|~)z{%vu+{|-~�.�5�|������������e��9��<��F��Z��Z��W��\��P��K��J��D��I��G��C��D��E��H��I��H��H��H��K��G��J��L��H��L��I��L��H��M��J��N��M��I��I��J��L��E��J��K��E��E��K��E��@��?��B��C��>��;��=��<��B��=��B��=��>��9��6��3��0��'{�$x�(|�&|�%|�'��'��%}�������������������twv[\_^``V[`iopEy�r�o�l�g�i�V�����������������������������������������ADHkqpz�~jtr���5BF3@FqzzxzGVZ,?E7KPm}{]mkCTV;MQ0AE9GK.O[m�q�t�Zy}���������������K^`.;`}%y�$z�'~�6��G��G��G��5��-��,��/��1��-��/�� wy)z|1~�0|+wx.{}-~�,|������������������Z��3��5��8��H��M��J��J��E��F��=��F��C��A��G��D��?��A��C��G��D��I��D��E��I��H��E��@��@��D��J��D��C��F��J��K��O��L��I��I��H��E��G��H��?��:��7��8��D��^��k��q��f��]��I��;��<��8��8��4��5��2��0��2��1��.��,��.��)��B�����������[beMPR139\bd[eh6>GDLS0<E+DL$~�%}�w�t�2z����������������������������������������������KOT,26&15,;>BPS4AG*1QZW7HLDWZ/EKAgrTwt?hg?ff4^d-^n5p�<x�2m�*b}/f}T~�V}�^��Rz{8ku#brgy,~�c��������������������������E��A��;��1��.��$w|&rx1~8�2�|-xz.v~+r|x��|�������k{E\_8X]9{�>��E��N��W��S��O��O��P��:��9��9��9��=��<��8��;��;��<��<��=��@��@��9��=��:��<��<��>��=��:��;��C��C��D��H��C��A��>��?��@��=��;��3��E��~������ü����������������ü�½���w��K��*��)�"w� u�"t�p�r� u�u�&z�������������Xfk*8@#0:;IO+7?$1:'2;*4</>D0��,��*��#~�r��������������������������������������������������sww-8;+:>7EJz��)8<'6<'8>$7>"7?4[oV{�Oz�>q�3o�2s�*r�&p� j�$o�(q�8w�9x�=|�@��5�,|�*z�h�����z��q|y���x��]hkCPW7FNbpqKv~/�1��7��8��4��3��:��4�6~z4~~4�6��F��a��m��g��e��Y��W��c��d��m��r��y��y��u��v��w��.��3��1��6��3��,��&��.��-��.��-��0��-��1��3��)|�&y�'z�(}�1��-��,��-��/��3��7��:��7��7��5��4��-��-��5�����������������������hqp\ehx��ozy����������ľ������T��/��0��1��-��-��)��D��������ev|K]e/AJ'9D)9E(7B,5?-7@agk~�����|��U��'s�g{������������������������������������������������������S[\&!+%4;/7&,*104BF:w�D��A��C��D��?��=��>��?��=��@��B��B��K��J��?��:��8��I��V��V��[|wb{WsrA\^;W[>``MtuD}�7|�E��=|�9w�8t;txH{{K{xJxuGyvE~}K��M��b��m��n��p��l��l��p��s��v��|�����������������"|�'��%}�%|�"x�v�u�t�u�s� u�!w�u�#v�k�!r�"v�r�q� u�!w�s�u�"w�q�&w�+{�$u�*x�-{�1�#t�&q�������������������clnYeg:CE19=GPSJVX<GICMM`jg�������������ýu��2��(}�%z�0��A��^{}Mbd)?F,7&2'2%1$.,5;z|z���|zs����|jplQlv2m�Om{r�l}wjxqmyrq}qx�z���������������emmDNO8DDP\VJWSCQJ/?; /,)92H\RUj_^xk^�ra��Y��W��\��X��V��Q��R��O��P��M��S��S��U��Z��`��a��[��X��T��T��Z��^��b��h��q��u��r��i��c��a��a��d��f��i��g��e��l��i��d��f��l��m��t��y��x��{��x��w��y��y��v��z��~��|��y��{��~��|��#�� ��$��"��"��}�y�#{�!y�w�s�${�!y�&}�#{�!z�x�)��%��w�&}�'|�)~�$y�&z�2��3��0�.�*|�+|�)y�t��������������z��cpr^im)6:2;>09<+4717;7?C7ABISR?HINRSkmk|�~���������W��<��B��C��W��_��]y|TmoF^dBZ`>WZ@WY<TVF__@^h0Vi4d~5q�5u�'q�(t�*l�Iw�S}�`��e��c{zizsw�{���r�s|�{v�tcrdTcZXg_ixmhxgWgTGRBDM?HP=]ePfsdUnqKpDt�@x�E��K��L��I��C��F��>��?��E��L��L��P��S��X��S��P��F��E��C��J��M��M��J��P��Q��R��U��R��V��X��W��U��[��[��^��`��d��f��g��i��k��n��p��r��t��o��s��q��n��p��s��t��t��n��q��v��x�� {�!}�!�~�~��~�|�!�x�p�r� w�r�!w�)}�)|�-�%x�$x�.�-~�!u�%w�(y�*{�+|�*{�){�/��+}�/x�������������TbgITW7CI$/3%04.6;-69+48/7;05:07;,475=?7=?8;<AEC9==AEFTZZn�~=��<��6��8��@��V��N��Dz�I~�Q��O��Q��>}�2w�(v�'y�-��4��7��8��:��E��A��K��@��F~�J{�My|U|zXzuRsnPulRujLlePpfUwkVzkEpb1dX&^T$YM=qcK�y8��*y�(p�+r�1w�.u�,p�$k�%l� k�&s�)w�0��0�2�1{�<��=��7��6��?��E��M��F��Q��K��G��S��V��V��M��T��T��Z��[��_��`��b��c��i��j��k�����������x��p��q��r��p��n��n��p��j��k��r��s��n��f��f��d��v�t�w�#{� x�!z�'~�)��.��&~�&~�"z�${�%|�#z�"y�#z�"y�t�t�%{�&|�#z�#z�*��&}�,��)�"w�!v�"w�V��������|��Xgk8EI8GK+7<GRV0<@%.3$-1)260:=3;?BIN:CGAHK@DG?EGJON@GGCIKT]_hsno��7��3��:��;��B��D��9~�Az�U��T}�Nw�Dt�7q�/n�0t�3|�0�0��6��4��6��H��O��M��c��U��S��e��g�}R~uKyoLvmCpjDskH|pU�uU�vM�tE�rK�vO�yX�|E��<��6��2��3��6��:��=��A��D��A��C��D��F��G��M��N��T��P��N��N��L��J��N��R��M��I��Q��O��O��W��W��[��_��\��e��f��j��g��`��e��|��������qyTigY��[��h��q��w��n��v��x��s��t��s��o��k��g��f��o�q�t� u�#y�q�s�w�'~�+��-��+��*��%}�)��-��1��,��(��#|�&~�*��+��(��(�(�*��+��+��*��*~�������x��{��lyy[gj`lqP\a3@DDNS/8>3>B2;A1<@3=A@HLJSWRZ^3AC:FH;GG:BDGORDONs}t���q��9��:��=��B��?��5��+z�)r�(p�,q�4v�/v�/x�3}�1}�-~�2��6��-��1��3��7��D��U��Q��P��U��\��S��D��C�~B�yC�vF�sK�xU�xO�xL�xM�yY��b��T��J��P��N��S��S��O��M��R��U��X��M��L��R��U��W��X��T��S��W��Q��P��M��M��X��V��W��X��Y��V��V��\��^��a��Y��\��\��]��]��Q�zJ|x=koDlqMtvJrr:jp-ft-gw5nyM��Z��k��i��k��m��t��q��n��l��[��L��o�'{�(~�)� w�#x� w�!w� v�v�s�p�u�#z�(�(��*��+��!y�t�&|�.��1��/��/��(~�+��*�)~�'|�<��������y�||�|qwpovpdkgrxv]ee_hgT]]WbaOYZYbcLVV^gedmjs{wqzw\fditpt}y������������{��C��8��;��:��1��/}�2|�3}�,w�2z�2z�+s�#l�$q� m�&v�)z�<��@��@��?��J��Z��b��]��e��c��]��a��`��[��`��b��d��d��\��W��V��W��]��b��[��Q��T��T��Y��Z��\��T��[��]��\��a��a��S��[��a��b��a��a��Y��R��[��\��Y��]��X��Z��]��d��e��f��f��d��g��k��h��l��p��p��p��p��k��t��r��n��m��o��j��p��n��n��t��s��n��n��s��n��p��q��p��n��"x�$y�&z�#x�'}� w�u�u� x�(~�%{�%|�.��/��)�%{� w�"w�%y�#y�(}�+��$|�$|�!y�'~�,��(�)�-��`��s��u�x��mxwmxwv|s|xjroqzxz�x�}���������������������������x�zirm_hd\fb^jf@NN<LLQ��J��J��T��U��W��\��T��I��K��S��P��J��E��G��Q��Q��M��F��H��O��R��_��^��[��]��b��f��\��Y��Z��\��[��e��^��9ut4gl-al,]l6i};r�6u�2v�5~�F��R��X��a��b��c��b��e��c��e��a��`��`��c��f��h��e��`��Y��[��h��k��d��u������������������������������������������������s��r��s��t��q��k��r��k��o��p��m��n��n��s��u��r��o��r��#x� u�"y�z� y�#|� z�u�u�"w�!v�&|�'|�%|�$|�(��/��.��.��%}�&}�x�&�&~�)��-��.��-��/��+��VrvXhjP_bSbdM[_FUY7FJ/=BERVP[]V`aW``LUWIRSZb_SZXU\ZPWV7?B19=*38&-($%' '*76y�2y�2~�M��c��^��W��W��\��Z��V��V��Q��K��M��W��M��J��I��L��L��V��Y��T��Q��[��a��h��f��f��b��\��X��`��e��K��.vx"fq_qVq d�h l�0{�B��V��R��L��K��U��F��@��Y��N��U��^��_��[��Y��\��i��{�����������������������z�zovnWaVKTHNWNDLFAIDDKGELE<E@=FA=EBGOJR[Scociykg~pg�zs��t��t��l��d��d��m��n��r��k��`��k��i��m��#y�$|�%��'��%��*��,��/��)��(��,��(��'��!}�|�#��)��$��'��,��/��,��1��1��2��4��/��.��5��:��H��9QN$88#34$* &  #(#(% 
+ ! $$%"" " # %!**32?Jd&j�#g�(j�.q�1s�0u�2v�+r�.v�<��R��V��T��G��F��D��4��2�3�.x�+r�6x�9z�4v�-r�+r�4{�:�@��N��^��b��a��c��g��j��_��_��^��[��^��\��Z��`��e��b��[��[��[��W��\��b��a��[��Z��X��Y��g������������Ǿ������u~u`ibbk`KTIPYM_h[WaTKTKKTK?GBCLH;DA2;95=<9A@?HD@HDJQKKSK>F@;C=:C=6>91:56?;GOFW]RWaWq�zs��s�~x��t��s��t��o��o��e��$��(��'��%��"��&��%��(��(��(��.��*��)��0��0��-��-��3��1��9��3��:��A��A��;��6��3��7��@��B��D��[�}Joe?^W6UP/JJ&?@89#;<!89472626"59"59/316067>9A8A<J@PHVN\Sc$dr8{�F��=��>��D��V��W��T��Z��]��`��^��N��Y��Y��Y��N��<��7��>��=��7��3��,w�!`uZn ^s#fx.s|:��O��_��c��]��f��j��f��]��]��^��]��h��g��c��b��[��b��a��]��`��[��a��`��`��\��`��t������ĺ������~�zak_U_VQ\QLVLGQHQ[OFPEFPHJSK@IB;D=:C>3:77@>4=<7@;.752<;0:95><?GAFMGBKF?HE,429A>/75*22.64'01'01=HJP]^@MM?MM=HFELKCKFLXO^lbj}r1��2��4��/��2��4��6��;��;��<��E��N��F��?��C��C��G��J��I��M��N��W��W��T��S��Q��R��V��]��b��[��e��q��v��n��b�tZ�oSxcKm[EfWDeW>^Q;ZO4TK7XP5YT4YT;]SAh[Em]KrdLudN|mW�rS�~X��a��d��d��i��c��k��g��e��e��g��e��_��b��c��d��_��]��Z�����������������u��Z��c��f��g��h��p��f��`��i��f��c��_��f��g��c��]��[��^��e��f��f��`��\��c��]��c��f��a��\��]��q���������÷������fndW_UPZNWbRWbSS^PR\QPZOKUK5>:(0/4<84=:'0/*30296'/-2;8-65&''())+332<:MVR?GC?HD,52085(/-!)+!(*'-.;=8CE;HI')&24#-.&//#,+3<89C>5>97��=��C��>��@��C��=��;��=��>��L��R��F��I��K��D��F��T��S��O��P��P��M��J��H��X��\��]��]��c��c��o��t��x��u��t��s�}t�}n�xf�qp�vl�tk�xf�sh�vk�}i�}r��s�}q��q��q��r��l��t��|��k��b��Y��X��b��i��f��`��V��T��Q��S��U��W��d��_�������������������������������u��f��e��Z��\��Z��_��^��^��]��c��b��c��j��d��d��e��c��c��^��_��h��i��e��c��`��z���������»���qxmU^RT]O?G@@I@=F<JSICLB<F<NXPOYOGQG*42 $%'!)+'01'0/)1/$"'/.(00!#')'002<85>:096(*%'&&#,+#&!.8=?JN!-0#&)22)30096.65(10085>GB6?;<��=��>��E��G��K��P��O��K��O��O��S��P��O��Y��W��Q��X��S��Q��P��T��T��R��_��T��Z��]��^��_��d��f��f��j��o��r��r��u��u��{��y��n�~l�q��j��g�|o��v��p��o��j��d��P�~D|U��V��T��T��E��=��?��F��=��:~�<��B��F��B��O��M��C��b����������������������z��z��u���n��r��r��l��m��p��n��k��k��o��q��m��k��i��d��n��o��p��n��n��p��n��j��k���������ż������eneR[QIRGISGAJ@7?94<6<D==F>+3/:B<+5/>H@>H?%/, !2:9/76#+*(/0!)*  !**'00.74)23#,.#& !###-2/:;&23".0%/.9B?8A>7@;0960953<91:66?<>��@��F��F��J��L��W��R��N��c��h��k��f��`��a��V��[��e��g��\��_��b��b��g��h��o��r��o��j��b��i��o��u��o��o��v��w��~��z��u��q��m��g��d�~d�}g�yr��n�m��r��r��l��f��c��]��P��A��A��?��F��S��X��U��_��i��m��o��o��m��f��n����w�|zt|qrsi]^XVWRNPJFGDHJFUXRbnl]�}^��o��v��y��x��z��x��v��u��u��s��t��p��o��n��k��k��k��p��o�����������������`g\PXMMWLT^PLVJBLB9C;5>75=9196?HB'/-&%('*30+50((  #'&%--!$#% () !"#,,$--,66'12"$)!+-&01 #--%0."#-654=:8A=3<94=8094=E?2;6:C?KSM>��=��=��?��>��B��O��Q��W��\��^��c��_��X��`��b��d��g��m��c��_��c��g��k��o��n��i��a��h��u��~��~��r��u��{��}��������z��r��p��m��a��g��e��o��p��p��s��v��l��i��j��g��g��n��s��z��v��t��t��r��w��y��y��y��x��v��R��8i{@k~Im}Pny\or_jeX`\KROCKKCMO<LQBTZ?^l@i~,az-c}1iyf��{��{��z����x��y��r��t��w��v��j��l��l��k��o�����������������^e^V`UMWKQZNKVKFPGEOG?HCDMG8B;9B<)20*30'0-(1.'( &'*20"#! "++"+,#$#+,#+-+34+43,641:9+33$--!"",+0:6!+)!"%/,+51*411;8096.751:76?<'0.((R��Q��T��O��O��P��V��_��^��Z��Z��e��n��]��h��e��e��e��_��`��c��h��h��c��k��h��d��b��i��m��s��z��o��u��{��z��~��{��t��m��r��n��j��l��q��r��t��r��n��o��s��q��k��h��h��k��u��v��t��q��j��x��x��v��y��y��q��o��q��E{|%_u&_},b{@guFeoPlr?Zc9Wa)Ob!PkPoPrLkMkVs^wd|A}�s��t��~��~�����u��x��}��~��q��q��u�����������������x�vKTKS\RU_SJTIDNDMWMNXMAKC>G?*3.$., )('0.%$%& !!  '0.(0. "$=EA4=;#+,()&..7?;,402;61;6'0.$,, !
+&(&&%&""#$.,,63097!**%&%-0!"W��N��V��L��R��W��Y��Y��i��a��Z��[��X��_��f��f��_��`��^��d��h��d��f��p��k��^��U��S��^��t��k��V��W��o��v��u��u��u��m��l��i��l��{��y��w��u��m��l��x��w��t��q��k��p��}��u��p��s��p��v��������}��q��k��k��j��m��w��p��W��S��M��[��T|�V|�Vx}YywTxy?t�<y�5{�J��a��q��m��w�����~��p��u��y��{��w��w��v��o��o�����������������u}rOWO>G?;D@OYQ=G?9C<DNE?I?GPH8A>2;8"!5=: #++$%#% !!)(197$-*/74?GB7>:$,*$$$%'//*2/.61+4/'##+*"*+!), "$#,."& ''(2/)30''"+,!**!P��N��R��O��K��I��S��Z��V��]��W��b��g��i��b��Z��T��d��l��h��n��l��m��h��Y��\��Z��Z��Z��T��S��e��z��h��e��f��e��d��a��Z��X��U��j��r��l��b��]��k��o��j��j��m��k��l��o��u��p��d��o��{��~��{��{��{��w��n��p��t��m��g��h��n��c��_��Z��e��h��c��^��]��S��J��O��K��G��Q��f��u��z��}��|��~��w��z��s��x������������������MWLR[PENG8A=7@;OYRAKC>HB,61<F@<F@8A=:C@&(! $%! " $%+31$-*/725=9,4/"",443;:&.,+31'%*2/'%%-.&( ), ''!*+!""+,",*2<7>GD6?;&/- )* )+
+]��]��M��L��W��f��]��^��`��_��c��[��_��X��a��f��`��j��l��h��a��`��Q��R��M��H��I��O��\��a��a��b��]��[��J��8w�;w�:x;{}@~�Q��W��R��^��V��S��W��W��\��]��S��Z��X~�[��T|�Vy}X{�Gpz?pzCt}h��}��}��|��x��v����������x��o��n��^��U��Z��X�_�~P�~S��Dz�;r�/k|3q�2p8s|;sy>ux_��s��}��x��v��������������������������[e_OYS=HACME5>89B=*414>::C>0:5.84@JE'2.!+'  "!'&''.63.63'&%--%# %&*21*20"+)%--#,*#+)! $,+$,)&.,('%.+)2/ )(###$"+*6?<1:7%.,&& #W��I��C��K��Z��\��[��^��Z��[��]��Z��^��e��k��d��R��N��D��D��P��K��D��F��I��Y��\��_��b��U��C��8v�9v�5s�3p�3m�;t�;u�3o�2q|<|H��>��<��<��E��LySzT~~T~�OxKx�Kx�Hx�Ds�Bp�<l~3h�,e{)cxAy�D{�k��w��}��������{��������u��u��v��m��k��n��`��[��T��G��N��U��V��P��t��{��z��x��������������������������������dldFPGITJ@IC1:5)3/+530963<:1:7($.84BLH5?:)316@; $+,=E@3;7 (01$,*'( $&&'/84)1.$&&& () &%$-)085'/,(0/&.-&%(0.&$$#-53!*)$"%#$$%$! "$,-F��M��O��Q��Z��Z��`��[��Y��X��]��V��P��\��`��f��f��e��N��V��X��c��g��m��Z��U��Q��O��B~�>|�1r}+kv-l|.k{+gs,iw)ht1pzE��L��Y��T��U��P��<��7t}=rtAy�F{�At�?oz9kx3gz1ew0dy'`y"[sWn)dvFy�E{�S��p����������������������������������������������������������������蝺�}��������������������������������dleBKEBJD?HAEOF3<6/84"+*%' ",+$-+#,*!+(*404>:AJE(2-'/-;C>6>9$#%-+ ('!))$$9A<(%%$"*(&.+&% &/,&.*3;6-51'/-(0/$-+!  %.*7?:&'''"" 
+ !*+!\��\��X��V��V��Q��[��_��g��c��^��Z��[��c��e��a��b��c��g��e��b��_��Z��X��a��f��k��i��`��`��Z��d��j��c��W��G}}M��^��e��o��f��i��i��U��K��6tv5qtC��?z{3mx2mv<y�5p|;o{CtzL}|X��c��t��z��m��w�����������������|��~�����������~��}�������������������������������ˈ�����������������������y�xS[V=E@4<8CKE>G><E@NWP6?92;8!*)$&*34-66$-,$#%#!+(;E>&/, &.-(&.733;8 %.-3;9198#$#$=EA4<9'&)1./748@;%#'# )%081)1,)1.*30&$%$&.-&%'%!)'#+)(0-%$'&$$ () ))%%(([��c��Y��S��Q��b��`��i��j��o��k��f��m��k��f��[��T��d��r��o��m��h��l��x��q��h��i��h��i��i��t��t��t��t������������������������~��x��o��q��{��z��{����������p��q�����������������}�����������������������~����������}��~���������°������������������������ɻ������������������XbX@IB6?:9A>AHC*20/75:C>@IC/85&.,&..!!#$&./)22.748A;$-))2/9B>KTN2;8%'CLF5>85>96>:#,+,43(0/&/.""7A<*4/7@<1969A<2:5!$##!# *2,-61-50194$-(&$%$""!"!)'#!$"!!" !)(""''&'&&`��a��a��b��X��H��[��Z��]��i��p��k��m��]��V��O��N��X��[��`��i��j��j��k��`��d��g��m��q��u��q��v��q��t�����������������������z��z��|��������~��������������������~��������������z��{��������������������������������������������������������������������������������������������:D>>HB5?<;C?:B>(0/'&"**!)('/-&..%%BKF#,+"** "-54'&*21+5/U_WS]TGQJ!*+.74,63HRK(1/##%--&&'')1/.65#+*##*30AKF:C>8@;5=6083$!!)(" (0-)1+1:4081#,("#""#&&#,+"+("*(!!"#&%#$"#[��a��a��\��Y��U��V��Z��\��g��j��N��L��X��T��S��L��]��b��e��Z��Z��h��k��q��n��n��y��z��v��y��|��������������������}��w��x�����������~���������������������}��|��x��~�����}����������������������������~��x��s��v��w��v�����������u�|m�|}��v����������������������������=GA;D@;E@)20"++''5=<BJD''2:6,423;:+42FPI@IB+42"$$# (''&*4.=H@AKG9C>$%"++:D@JUM@JE#-*&/.!*),41.720852:7,424=9BKF>GB,42$-)-52'$+3.#+( (%,4/'0**2,(1,#,''$'$"+("*)!)(!)&%.*'/,$-')2-!*'""$$!"B��=��L��X��Z��i��k��g��d��f��]��_��e��Z��\��V��d��l��o����p��s��y�����|��z��t��z��w��s��v��w��u�����������~��}�����~����������z��m��l��d��d��r��{��w��t��y��{��~��������������������������������������|����n��t��u�����������t�~s�|���������������������������}��Zf`7A=CMI9C>IRK$--FOJ9A>'&""196FOI8B<;E>-63$-+#,*:B=\dY,624>9EOJFPK&&'((10-733=7:E?7B</:6*40#,)1965=94<92:74<8:C=9B<ENGDMH(1.# (&!  '0-#+'(1+/70)2,$,)#,),40%-'#+(%#(% (%&.*!*%*2-"+($# &&  !!I��D��W��U��\��_��`��R��Q��`��e��r��w��o��e��f��d��r�����|��y�����������{��s��m��x��|��p��w��}��y��k��e��f��k��r��v��s��~��v��u��y��{�����|��o��f��]�~d�o��}��z����������y��w��������������y��j��q��{����z����y��t��{��}��x��|�����������������������������������o}w[he+65>HDISL?HD&&/76&'&(!# 7?=+4/$-)ENIITN6?;%.*.60KSK/94BMFP\T;G@&$ +*&0/4=:DMH2<7AKF*41(& #,*/75+300843;86?:AIC?H@8A<7@;095$,+"**&%"*)&.,*2-(1+(0+(0,#,(+3/$# '$"+%&.+ )%)1-#,(#,'%"&$""%$$"Q��W��Z��j��a��O��W��R��b��k��u��y��z��p��r��t��l��o��s��w��~�����}��|��y��v��y��������|��x��������~��|��x��}��s��m��p��w��y����z��|��z��x��i��g��k��u��u��k��v��y��y��s��l��o��m�����������|��q��x��x��~��}��|��x��p��r��r��������������������������������������������AMHKWNLWNCMF#-*!# #!# ''8@<2;75>:<EA1<8+517?;%.*+40>GB[g^HULIUO ,)!-,'104><6?<:C?8C>EOK8A>",)+319A=.73-73$.);E?DNGGPI4=84>9&/+)1.(0.#,*%-+)1-)1, (&$,)'%&$$-*)1.# &#$!&$&% (&'0,$,)!*' )'%#'%'%#"P��[��h��b��]��^��X��^��b��k��q��l��r��m��j��_��^��Y��\��_��d��e��g��q��}��{��|��u��w��z��y��z��������������������|��v��x��}��������������w��{��z��z��y��~��u��x��s�y��u�m�k�m��{��t��t��q��q��q��r��z��x��o��r��v����������������������������������������������nzs1;7;F?O[R8C>""  #%&..(1.3;88A</96$.-3<9%!*2.5>7:D=UaXN[QLXQ<HB-84(21'202<7EOJ9D?0;7+52",)!*)-612<6:E@@JEGRKITMAKD3<6=FA",&)2-(1-$,($-*'&'%*2/&/*#"'/."*('$&$#!!"&%'%!$! (&!*(#"[��b��h��`��Q��U��U��\��f��r��y��z��n��]wvSt{KpNv�Lt�Br�?p�;n~9my3ix:q~c��w��y��z��x��y��{��~��������������}��y��u��v��s��t��������������}��v�{��x��u��w��l�}~��~��{��~�����������y��w��~��{��}�����v��s��t��n��o��w��������������������������������t�z���������z�|)30'//)2/3>8/:7!,+%%()!!#-56%&-449A>8@<1:73=:8B>'$*3/IQIV_Tr}plxk`mb<HB ,*&1/.956@;AJE@KE5@< ++-74<E@8A<7?::E?=G?BKD=HA4?73=7 *&%"($&/++4.)1-&.++40&.*"+'%#%#%#! "*)!! #"%# B��N��J��P��S{�_yt[vvVty[y_�QsGmy<etBl}8h2j�9m�7cs.cx+bz-dz'bx!Vd&aq5qyO�}^��z�����}��s��q��q��t��}��y��x�����|��v��y�����������}����������������������{��|�������������}��y��t��v��u��p��u��}��{��s��q�r��n������������������������������Xga���������dng-87&',55+43AJE@JC/971;8#&')7@=&.-(00!))CMIDMI5=96>;(1/#,+)32NYSKTMJTIkvgjvg=JB4@=/;8)416A=8B>*50=HB0;7(416A;KWNCME@IC:C=6@8=F?BLE3=6&0,)&"  &#!)%(0,193+4-'0*.62 ('! '&!! ! !'& !!#"" $# F��E��Ax�Hu}PyM{�Jv�Ep~Es�<o�2i�7t�/l�*d�.aw:iw3i~.bvRgPkRmWtTmVi:rw[��}����������}��~��|��{��r��}��������������������r��y��~����������{�������������w��~��y��}��y�����}�������������������~��~��}��s��o�����������������������������������������S_Z.:7-86)21097%.,/95BLE:D@(& $,.5=;((&'(1/9B?>GD3<9087FNJ+42,64=HCYcYFPG\g\T`V<H@5A;-:52>:<GC1;75?;FQJMXOGQIJTKOZQ6@85?82;57@94>7:C<0:2$/'7A8/90$!"+("*& (#*2-#,'%.)&/+&$"! ((" "##  #$
\ No newline at end of file
diff --git a/tests/wsm-stage-installer-tests.sh b/tests/wsm-stage-installer-tests.sh
new file mode 100644
index 0000000..ed68d5a
--- /dev/null
+++ b/tests/wsm-stage-installer-tests.sh
@@ -0,0 +1,73 @@
+#!/bin/bash
+set -euo pipefail
+export PATH="/usr/bin:$PATH"
+export MSYS=winsymlinks:lnk
+script=$(realpath "$1")
+base=$(mktemp -d /tmp/wsm-installer-tests.XXXXXXXX)
+cleanup() {
+ case "$base" in /tmp/wsm-installer-tests.*) rm -rf -- "$base";; *) exit 1;; esac
+}
+trap cleanup EXIT
+mkdir -p "$base/mock"
+export PATH="$base/mock:$PATH"
+export TEST_ROOT="$base"
+cat > "$base/mock/stat" <<'MOCK'
+#!/bin/sh
+[ "$1" = -f ] && [ "$2" = %z ] || exit 90
+wc -c < "$3" | tr -d ' '
+MOCK
+cat > "$base/mock/installer" <<'MOCK'
+#!/bin/sh
+echo called >> "$TEST_ROOT/calls"
+target=$4
+app="$target/Applications/Install macOS Tahoe.app"
+mkdir -p "$app/Contents/Resources" "$app/Contents/SharedSupport"
+printf '#!/bin/sh\nexit 0\n' > "$app/Contents/Resources/startosinstall"
+chmod +x "$app/Contents/Resources/startosinstall"
+if [ "${FAIL_PACKAGE:-0}" = 1 ]; then exit 7; fi
+MOCK
+cat > "$base/mock/cp" <<'MOCK'
+#!/bin/sh
+if [ "${FAIL_COPY:-0}" = 1 ]; then
+ printf partial > "$2"
+ exit 8
+fi
+/usr/bin/cp "$@"
+MOCK
+chmod +x "$base/mock/"*
+target="$base/Macintosh HD"
+package="$base/Install Assistant.pkg"
+mkdir -p "$target"
+printf 'complete test package contents' > "$package"
+app="$target/Applications/Install macOS Tahoe.app"
+support="$app/Contents/SharedSupport/SharedSupport.dmg"
+marker="$target/Applications/.wsm-install-assistant-incomplete"
+sh "$script" "$target" "$package"
+cmp "$package" "$support"
+[ ! -e "$marker" ]
+[ ! -e "${target}Applications" ]
+sh "$script" "$target" "$package"
+[ "$(wc -l < "$base/calls")" = 1 ]
+# A truncated previous copy must be repaired, even with a valid executable.
+printf short > "$support"
+sh "$script" "$target" "$package"
+cmp "$package" "$support"
+[ "$(wc -l < "$base/calls")" = 2 ]
+# A package failure cannot be hidden by its partially created executable.
+touch "$marker"
+if FAIL_PACKAGE=1 sh "$script" "$target" "$package"; then echo 'FAIL: package error ignored'; exit 1; fi
+[ -e "$marker" ]
+[ ! -e "${target}Applications" ]
+# Retry must rerun the package while its incomplete marker remains.
+sh "$script" "$target" "$package"
+[ "$(wc -l < "$base/calls")" = 4 ]
+[ ! -e "$marker" ]
+printf short > "$support"
+if FAIL_COPY=1 sh "$script" "$target" "$package"; then echo 'FAIL: copy error ignored'; exit 1; fi
+[ -e "$marker" ]
+[ ! -e "$support.wsm-part" ]
+[ "$(cat "$support")" = short ]
+sh "$script" "$target" "$package"
+cmp "$package" "$support"
+[ ! -e "$marker" ]
+echo 'PASS: complete reuse, truncated repair, package failure, interrupted copy and retry'
diff --git a/tests/wsm_app_sync_tests.cpp b/tests/wsm_app_sync_tests.cpp
index f47c949..4539999 100644
--- a/tests/wsm_app_sync_tests.cpp
+++ b/tests/wsm_app_sync_tests.cpp
@@ -2,6 +2,10 @@
#include "wsm/guest_app_path.hpp"
#include "wsm/runtime_password.hpp"
#include "wsm/setup_assistant.hpp"
+#include "wsm/setup_memory.hpp"
+#include "wsm/qemu_extra_args.hpp"
+#include "wsm/recovery_script.hpp"
+#include "wsm/setup_resume.hpp"
#include "wsm/diagnostic_output.hpp"
#include "wsm/reims_registry.hpp"
#include "wsm/ssh_private_key.hpp"
@@ -33,6 +37,38 @@ int fake_guest(const std::string&, const std::string& script) {
int main() {
using namespace wsm::runtime;
+ const std::string legacy_launch = "19:16:10 guest$ A=/Applications/Install.app; \"$A/Contents/Resources/startosinstall\" --agreetolicense --volume \"$V\"\n";
+ CHECK(legacy_install_needs_resume(legacy_launch + "22:20:23 [booting] Starting the macOS installer\n22:22:18 [failed] WSM couldn't take control of the macOS installer.\n"));
+ CHECK(!legacy_install_needs_resume("[booting] Starting the macOS installer\n"));
+ CHECK(!legacy_install_needs_resume(legacy_launch + "[failed] The macOS installer reported an error before first boot.\n"));
+ CHECK(!legacy_install_needs_resume(legacy_launch + "[first_boot] Setting up macOS\n"));
+ CHECK(!legacy_install_needs_resume(legacy_launch + "[downloading] Downloading macOS\n"));
+ CHECK(recovery_script_cksum("123456789") == 930766865u);
+ CHECK(recovery_script_cksum("") == 4294967295u);
+ const auto transfer = recovery_script_transfer(std::string(6000, 'x'), "/tmp/test-script.sh");
+ size_t line_start = 0;
+ while (line_start < transfer.size()) {
+ const auto end = transfer.find('\n', line_start);
+ CHECK((end == std::string::npos ? transfer.size() : end) - line_start < 512);
+ line_start = end == std::string::npos ? transfer.size() : end + 1;
+ }
+ CHECK(!setup_action_clickable(SetupAssistantStep::WelcomePending));
+ CHECK(!setup_action_clickable(SetupAssistantStep::Unknown));
+ CHECK(setup_action_clickable(SetupAssistantStep::Welcome));
+ CHECK(!welcome_restart_due(true, false, 119));
+ CHECK(welcome_restart_due(true, false, 120));
+ CHECK(!welcome_restart_due(false, false, 1200));
+ CHECK(!welcome_restart_due(true, true, 1200));
+ CHECK(setup_memory_mib(8077) == 4096);
+ CHECK(qemu_extra_arg("dir=C:/Users/Alice Smith/payload") == "'dir=C:/Users/Alice Smith/payload'");
+ CHECK(qemu_extra_arg("O'Neil") == "'O'\\''Neil'");
+ CHECK(qemu_option_path("C:\\Users\\Alice, Smith") == "C:/Users/Alice,, Smith");
+ CHECK(payload_extra_args("C:/Users/Alice Smith/payload").find("-drive 'if=none,id=wsmpayload,driver=vvfat,dir=C:/Users/Alice Smith/payload,") == 0);
+ CHECK(setup_memory_mib(16384) == 5120);
+ CHECK(setup_memory_mib(8077, "memory_mib = 5120\n") == 5120);
+ CHECK(setup_memory_mib(16384, "memory_mib=8192 # existing runtime\n") == 8192);
+ CHECK(!setup_commit_available(4096ull * 1024 * 1024, 4096));
+ CHECK(setup_commit_available(4352ull * 1024 * 1024, 4096));
CHECK(is_guest_app_path("/Applications/Sketch.app"));
CHECK(is_guest_app_path("/Applications/Alice's App (2).app"));
CHECK(is_guest_app_path("/Applications/Glazba Čarobnjak.app"));
@@ -45,14 +81,24 @@ int main() {
const struct { const char* file; SetupAssistantStep step; int x, y; } screens[] = {
{"country.ppm", SetupAssistantStep::Country, 0, 0},
+ {"country_25g342.ppm", SetupAssistantStep::Country, 0, 0},
+ {"country_tahoe_hidpi.ppm", SetupAssistantStep::Country, 0, 0},
{"update.ppm", SetupAssistantStep::Update, 325, 414},
{"account.ppm", SetupAssistantStep::Account, 335, 401},
+ {"apple_account.ppm", SetupAssistantStep::AppleAccount, 335, 402},
{"account_menu.ppm", SetupAssistantStep::AccountMenu, 335, 429},
+ {"account_menu_tahoe.ppm", SetupAssistantStep::AccountMenu, 335, 429},
{"account_confirm.ppm", SetupAssistantStep::AccountConfirm, 509, 331},
+ {"account_confirm_tahoe.ppm", SetupAssistantStep::AccountConfirm, 509, 331},
{"age_range.ppm", SetupAssistantStep::AgeRange, 480, 382},
+ {"age_range_tahoe.ppm", SetupAssistantStep::AgeRange, 480, 379},
+ {"analytics_tahoe.ppm", SetupAssistantStep::Analytics, 637, 404},
{"filevault.ppm", SetupAssistantStep::FileVault, 566, 401},
{"filevault_confirm.ppm", SetupAssistantStep::FileVaultConfirm, 510, 306},
+ {"filevault_confirm_tahoe.ppm", SetupAssistantStep::FileVaultConfirm, 510, 306},
{"welcome.ppm", SetupAssistantStep::Welcome, 480, 481},
+ {"welcome_tahoe.ppm", SetupAssistantStep::Welcome, 480, 477},
+ {"welcome_pending.ppm", SetupAssistantStep::WelcomePending, 0, 0},
{"normal_app.ppm", SetupAssistantStep::Unknown, 0, 0},
};
for (const auto& s : screens) {
@@ -64,10 +110,136 @@ int main() {
f.read(reinterpret_cast<char*>(pixels.data()), static_cast<std::streamsize>(pixels.size()));
CHECK(static_cast<size_t>(f.gcount()) == pixels.size());
const auto action = recognize_setup_assistant(pixels.data(), width, height);
- CHECK(action.step == s.step);
+ if (action.step != s.step) { std::cerr << "setup fixture mismatch: " << s.file << " got " << static_cast<int>(action.step) << " expected " << static_cast<int>(s.step) << "\n"; return 1; }
CHECK(action.x == s.x * 32767 / 960 && action.y == s.y * 32767 / 540);
+ if (s.step == SetupAssistantStep::Country) {
+ for (int offset : {-2, 2}) {
+ std::vector<uint8_t> shifted(pixels.size(), 193);
+ for (int y = 4; y < height - 4; ++y) for (int x = 4; x < width - 4; ++x)
+ for (int c = 0; c < 3; ++c)
+ shifted[((y + offset) * width + x + offset) * 3 + c] = pixels[(y * width + x) * 3 + c];
+ CHECK(recognize_setup_assistant(shifted.data(), width, height).step == SetupAssistantStep::Country);
+ }
+ }
}
CHECK(recognize_setup_assistant(nullptr, 0, 0).step == SetupAssistantStep::Unknown);
+ {
+ auto load_screen = [](const char* name) {
+ std::ifstream f(fs::path(WSM_TEST_FIXTURE_DIR) / name, std::ios::binary);
+ std::string magic; int w = 0, h = 0, max = 0; f >> magic >> w >> h >> max; f.get();
+ std::vector<uint8_t> p(static_cast<size_t>(w) * h * 3);
+ f.read(reinterpret_cast<char*>(p.data()), static_cast<std::streamsize>(p.size()));
+ return p;
+ };
+ auto parent = load_screen("apple_account.ppm");
+ const auto menu = load_screen("account_menu.ppm");
+ CHECK(parent.size() == 160 * 90 * 3 && menu.size() == parent.size());
+ for (int y = 60; y < 80; ++y) for (int x = 40; x < 75; ++x)
+ for (int c = 0; c < 3; ++c) parent[(y * 160 + x) * 3 + c] = menu[(y * 160 + x) * 3 + c];
+ CHECK(recognize_setup_assistant(parent.data(), 160, 90).step == SetupAssistantStep::AccountMenu);
+
+ // Centered-card cross-resolution tests: macOS Setup Assistant draws its 800x600 card at
+ // fixed 1x pixel size centered on any guest resolution (e.g. 1744x984 vs 1818x1033 vs 1920x1080 vs 2560x1440).
+ auto project_centered = [](const std::vector<uint8_t>& src160, int src_w, int src_h, int dst_w, int dst_h,
+ int shift_x = 0, int shift_y = 0) {
+ std::vector<uint8_t> dst(static_cast<size_t>(dst_w) * dst_h * 3, 193);
+ const int ox = (dst_w - src_w) / 2 + shift_x;
+ const int oy = (dst_h - src_h) / 2 + shift_y;
+ for (int y = 0; y < 90; ++y) {
+ const int py0 = oy + y * src_h / 90, py1 = oy + (y + 1) * src_h / 90;
+ for (int x = 0; x < 160; ++x) {
+ const int px0 = ox + x * src_w / 160, px1 = ox + (x + 1) * src_w / 160;
+ const uint8_t* p = &src160[(y * 160 + x) * 3];
+ for (int py = py0; py < py1; ++py) {
+ if (py < 0 || py >= dst_h) continue;
+ for (int px = px0; px < px1; ++px) {
+ if (px < 0 || px >= dst_w) continue;
+ const size_t off = (static_cast<size_t>(py) * dst_w + px) * 3;
+ dst[off] = p[0]; dst[off + 1] = p[1]; dst[off + 2] = p[2];
+ }
+ }
+ }
+ }
+ return dst;
+ };
+ // 1744x984 templates (Update, AgeRange) recognized on a 1920x1080 display with remapped click targets.
+ const auto update_on_1080 = project_centered(load_screen("update.ppm"), 1744, 984, 1920, 1080);
+ const auto update_action = recognize_setup_assistant(update_on_1080.data(), 1920, 1080);
+ CHECK(update_action.step == SetupAssistantStep::Update);
+ CHECK(update_action.x > 11300 && update_action.x < 11900 && update_action.y > 24000 && update_action.y < 24800);
+
+ const auto age_on_1080 = project_centered(load_screen("age_range.ppm"), 1744, 984, 1920, 1080);
+ const auto age_action = recognize_setup_assistant(age_on_1080.data(), 1920, 1080);
+ CHECK(age_action.step == SetupAssistantStep::AgeRange);
+ CHECK(age_action.x > 16200 && age_action.x < 16600 && age_action.y > 22200 && age_action.y < 23000);
+
+ // Windows-taskbar-clamped 1818x1033 display with off-center (+5px vertical, -3px horizontal) card shift.
+ const auto country_on_1818 = project_centered(load_screen("country_25g342.ppm"), 1920, 1080, 1818, 1033, -3, 5);
+ CHECK(recognize_setup_assistant(country_on_1818.data(), 1818, 1033).step == SetupAssistantStep::Country);
+ const auto update_on_1818 = project_centered(load_screen("update.ppm"), 1744, 984, 1818, 1033, -3, 5);
+ CHECK(recognize_setup_assistant(update_on_1818.data(), 1818, 1033).step == SetupAssistantStep::Update);
+
+ // 16:10 (1920x1200) and 21:9 ultrawide (3440x1440) displays with non-16:9 aspect ratios.
+ const auto country_on_1200 = project_centered(load_screen("country_25g342.ppm"), 1920, 1080, 1920, 1200, 0, 12);
+ CHECK(recognize_setup_assistant(country_on_1200.data(), 1920, 1200).step == SetupAssistantStep::Country);
+ const auto country_on_ultrawide = project_centered(load_screen("country_25g342.ppm"), 1920, 1080, 3440, 1440, 0, 10);
+ CHECK(recognize_setup_assistant(country_on_ultrawide.data(), 3440, 1440).step == SetupAssistantStep::Country);
+
+ // 1920x1080 templates (Country 25G342, AppleAccount, AccountMenu popup, FileVault) on 1744x984 & 2560x1440.
+ const auto country_on_1744 = project_centered(load_screen("country_25g342.ppm"), 1920, 1080, 1744, 984);
+ CHECK(recognize_setup_assistant(country_on_1744.data(), 1744, 984).step == SetupAssistantStep::Country);
+ const auto apple_on_1744 = project_centered(load_screen("apple_account.ppm"), 1920, 1080, 1744, 984);
+ CHECK(recognize_setup_assistant(apple_on_1744.data(), 1744, 984).step == SetupAssistantStep::AppleAccount);
+ const auto popup_on_1744 = project_centered(parent, 1920, 1080, 1744, 984);
+ CHECK(recognize_setup_assistant(popup_on_1744.data(), 1744, 984).step == SetupAssistantStep::AccountMenu);
+ const auto fv_on_1440 = project_centered(load_screen("filevault.ppm"), 1920, 1080, 2560, 1440);
+ CHECK(recognize_setup_assistant(fv_on_1440.data(), 2560, 1440).step == SetupAssistantStep::FileVault);
+
+ // 2x HiDPI/Retina 3488x1968 and 3616x2040 displays (1600x1200 card) + 1280x720 small display.
+ const auto country_on_retina = project_centered(load_screen("country_tahoe_hidpi.ppm"), 3488, 1968, 3488, 1968);
+ CHECK(recognize_setup_assistant(country_on_retina.data(), 3488, 1968).step == SetupAssistantStep::Country);
+ const auto age_on_retina = project_centered(load_screen("age_range_tahoe.ppm"), 3616, 2040, 3616, 2040);
+ CHECK(recognize_setup_assistant(age_on_retina.data(), 3616, 2040).step == SetupAssistantStep::AgeRange);
+ const auto analytics_on_retina = project_centered(load_screen("analytics_tahoe.ppm"), 3840, 2160, 3616, 2040);
+ CHECK(recognize_setup_assistant(analytics_on_retina.data(), 3616, 2040).step == SetupAssistantStep::Analytics);
+ const auto analytics_on_1280 = project_centered(load_screen("analytics_tahoe.ppm"), 1920, 1080, 1280, 800);
+ CHECK(recognize_setup_assistant(analytics_on_1280.data(), 1280, 800).step == SetupAssistantStep::Analytics);
+ const auto welcome_tahoe_on_1080 = project_centered(load_screen("welcome_tahoe.ppm"), 1808, 1020, 1920, 1080);
+ CHECK(recognize_setup_assistant(welcome_tahoe_on_1080.data(), 1920, 1080).step == SetupAssistantStep::Welcome);
+ const auto age_tahoe_on_1080 = project_centered(load_screen("age_range_tahoe.ppm"), 1808, 1020, 1920, 1080);
+ const auto age_tahoe_action = recognize_setup_assistant(age_tahoe_on_1080.data(), 1920, 1080);
+ CHECK(age_tahoe_action.step == SetupAssistantStep::AgeRange);
+ CHECK(age_tahoe_action.x > 16200 && age_tahoe_action.x < 16600 && age_tahoe_action.y > 22400 && age_tahoe_action.y < 23000);
+ const auto apple_on_720 = project_centered(load_screen("apple_account.ppm"), 1920, 1080, 1280, 720);
+ CHECK(recognize_setup_assistant(apple_on_720.data(), 1280, 720).step == SetupAssistantStep::AppleAccount);
+ const auto fv_on_retina = project_centered(load_screen("filevault.ppm"), 3840, 2160, 3488, 1968);
+ CHECK(recognize_setup_assistant(fv_on_retina.data(), 3488, 1968).step == SetupAssistantStep::FileVault);
+ // Dark-grey (#808080) reduceTransparency footer bar on a 1280x800 FileVault card must still
+ // restore full 4:3 height and land clicks accurately on "Not Now".
+ auto fv_grey_footer = project_centered(load_screen("filevault.ppm"), 1920, 1080, 1280, 800);
+ for (int y = 637; y < 700; ++y) for (int x = 240; x < 1040; ++x)
+ for (int c = 0; c < 3; ++c) fv_grey_footer[(static_cast<size_t>(y) * 1280 + x) * 3 + c] = 128;
+ const auto fv_grey_action = recognize_setup_assistant(fv_grey_footer.data(), 1280, 800);
+ CHECK(fv_grey_action.step == SetupAssistantStep::FileVault);
+ CHECK(fv_grey_action.y > 26600 && fv_grey_action.y < 27600);
+ const auto fv_confirm_on_retina = project_centered(load_screen("filevault_confirm_tahoe.ppm"), 3840, 2160, 3488, 1968);
+ CHECK(recognize_setup_assistant(fv_confirm_on_retina.data(), 3488, 1968).step == SetupAssistantStep::FileVaultConfirm);
+
+ // Non-setup screens must still be rejected at full resolution (strict <= 1.5 threshold intact).
+ const auto normal_on_1080 = project_centered(load_screen("normal_app.ppm"), 1920, 1080, 1920, 1080);
+ CHECK(recognize_setup_assistant(normal_on_1080.data(), 1920, 1080).step == SetupAssistantStep::Unknown);
+ const auto normal_on_1818 = project_centered(load_screen("normal_app.ppm"), 1920, 1080, 1818, 1033);
+ CHECK(recognize_setup_assistant(normal_on_1818.data(), 1818, 1033).step == SetupAssistantStep::Unknown);
+ const auto normal_on_1744 = project_centered(load_screen("normal_app.ppm"), 1744, 984, 1744, 984);
+ CHECK(recognize_setup_assistant(normal_on_1744.data(), 1744, 984).step == SetupAssistantStep::Unknown);
+ std::vector<uint8_t> blank_1080(1920 * 1080 * 3, 255);
+ CHECK(recognize_setup_assistant(blank_1080.data(), 1920, 1080).step == SetupAssistantStep::Unknown);
+ // Synthetic white centered app window (800x600 solid white on grey) must also be rejected.
+ std::vector<uint8_t> fake_white_card(1818 * 1033 * 3, 193);
+ for (int y = 216; y < 816; ++y) for (int x = 509; x < 1309; ++x)
+ for (int c = 0; c < 3; ++c) fake_white_card[(static_cast<size_t>(y) * 1818 + x) * 3 + c] = 255;
+ CHECK(recognize_setup_assistant(fake_white_card.data(), 1818, 1033).step == SetupAssistantStep::Unknown);
+ }
std::vector<uint8_t> blank(160 * 90 * 3, 255);
CHECK(recognize_setup_assistant(blank.data(), 160, 90).step == SetupAssistantStep::Unknown);
if (const char* full_dir = std::getenv("WSM_SETUP_FULL_FRAME_DIR")) {
diff --git a/tests/wsm_fullscreen_tests.cpp b/tests/wsm_fullscreen_tests.cpp
new file mode 100644
index 0000000..28efa2f
--- /dev/null
+++ b/tests/wsm_fullscreen_tests.cpp
@@ -0,0 +1,72 @@
+#include "wsm/compositor.hpp"
+#include "wsm/window_viewport.hpp"
+#include <windows.h>
+#include <windowsx.h>
+#include <atomic>
+#include <iostream>
+#include <vector>
+
+#define CHECK(x) do { if (!(x)) { std::cerr << "Fullscreen test failed at " << __LINE__ << ": " #x "\n"; return 1; } } while (0)
+bool same_rect(RECT a, RECT b) { return EqualRect(&a, &b) != FALSE; }
+int main(int argc, char** argv) {
+ using namespace wsm::compositor;
+ const auto view = window_viewport(1920, 1080, 800, 600, true);
+ CHECK(view.x == 240 && view.y == 0 && view.width == 1440 && view.height == 1080);
+ int x = 960, y = 540;
+ CHECK(viewport_point(view, 800, 600, x, y) && x == 400 && y == 300);
+ x = 10; y = 540; CHECK(!viewport_point(view, 800, 600, x, y));
+ RootlessCompositor compositor;
+ std::atomic<int> pointer_x{-1}, pointer_y{-1}, mouse_presses{0};
+ InputCallbacks callbacks;
+ callbacks.on_mouse_move = [&](const wsm::proto::InputMouseMoveEvent& event) { pointer_x = event.x; pointer_y = event.y; };
+ callbacks.on_mouse_button = [&](const wsm::proto::InputMouseButtonEvent& event) { if (event.pressed) ++mouse_presses; };
+ std::string error;
+ CHECK(compositor.start(callbacks, error));
+ const auto title = "WSM fullscreen test " + std::to_string(GetCurrentProcessId());
+ wsm::proto::WindowDescriptor descriptor{};
+ descriptor.window_id = 77; descriptor.pid = GetCurrentProcessId(); descriptor.visible = 1;
+ descriptor.style_flags = 1u << 3; descriptor.bounds = {80, 70, 800, 600};
+ CHECK(compositor.create_or_update_window(descriptor, title));
+ HWND hwnd = nullptr;
+ for (int i = 0; i < 100 && !hwnd; ++i) { Sleep(10); hwnd = FindWindowA("WsmRootlessWindowClass", title.c_str()); }
+ CHECK(hwnd != nullptr);
+ std::vector<uint32_t> pixels(800 * 600, 0xffb45a1e);
+ CHECK(compositor.present_bgra_frame(77, 800, 600, 800 * 4, reinterpret_cast<uint8_t*>(pixels.data())));
+ RECT original{}; GetWindowRect(hwnd, &original);
+ MONITORINFO monitor{sizeof(monitor)}; CHECK(GetMonitorInfoW(MonitorFromWindow(hwnd, MONITOR_DEFAULTTONEAREST), &monitor));
+ SendMessageW(hwnd, WM_KEYDOWN, VK_F11, 0);
+ RECT full{}; GetWindowRect(hwnd, &full); CHECK(same_rect(full, monitor.rcMonitor));
+ SendMessageW(hwnd, WM_KEYUP, VK_F11, 0);
+ CHECK(compositor.present_bgra_frame(77, 800, 600, 800 * 4, reinterpret_cast<uint8_t*>(pixels.data())));
+ SendMessageW(hwnd, WM_MOUSEMOVE, 0, MAKELPARAM((full.right-full.left)/2, (full.bottom-full.top)/2));
+ CHECK(std::abs(pointer_x.load() - 400) <= 1 && std::abs(pointer_y.load() - 300) <= 1);
+ if (argc > 1 && std::string(argv[1]) == "--inspect") { std::cout << title << std::endl; Sleep(60000); compositor.stop(); return 0; }
+ const auto actual_view = window_viewport(full.right-full.left, full.bottom-full.top, 800, 600, true);
+ if (actual_view.x > 20) {
+ SendMessageW(hwnd, WM_LBUTTONDOWN, MK_LBUTTON, MAKELPARAM(5, (full.bottom-full.top)/2));
+ SendMessageW(hwnd, WM_LBUTTONUP, 0, MAKELPARAM(5, (full.bottom-full.top)/2));
+ CHECK(mouse_presses == 0);
+ }
+ // Runtime geometry updates must not shrink a fullscreen host window.
+ descriptor.bounds.x = 250; descriptor.bounds.y = 200;
+ CHECK(compositor.create_or_update_window(descriptor, title)); Sleep(100);
+ RECT updated{}; GetWindowRect(hwnd, &updated); CHECK(same_rect(updated, full));
+ // Guest menus follow the fullscreen transform and still map clicks to guest points.
+ auto menu = descriptor; menu.window_id = 78; menu.style_flags |= 1u << 6; menu.bounds = {350, 280, 180, 120};
+ CHECK(compositor.create_or_update_window(menu, title + " menu")); Sleep(100);
+ HWND menu_hwnd = FindWindowA("WsmRootlessWindowClass", (title + " menu").c_str()); CHECK(menu_hwnd != nullptr);
+ RECT menu_rect{}; GetWindowRect(menu_hwnd, &menu_rect);
+ const float scale = actual_view.width / 800;
+ CHECK(std::abs(menu_rect.left - (full.left + actual_view.x + 100 * scale)) <= 1);
+ CHECK(std::abs(menu_rect.top - (full.top + actual_view.y + 80 * scale)) <= 1);
+ CHECK(compositor.destroy_window(78)); Sleep(50);
+ SendMessageW(hwnd, WM_KEYDOWN, VK_ESCAPE, 0); SendMessageW(hwnd, WM_KEYUP, VK_ESCAPE, 0);
+ RECT restored{}; GetWindowRect(hwnd, &restored); CHECK(same_rect(restored, original));
+ // The guest green traffic-light button uses the same fullscreen path.
+ SendMessageW(hwnd, WM_NCLBUTTONDOWN, HTMAXBUTTON, 0);
+ GetWindowRect(hwnd, &updated); CHECK(same_rect(updated, full));
+ SendMessageW(hwnd, WM_NCLBUTTONDOWN, HTMAXBUTTON, 0);
+ GetWindowRect(hwnd, &updated); CHECK(same_rect(updated, original));
+ compositor.stop();
+ std::cout << "PASS: F11/green button fullscreen, Escape restore, input scaling, menus and geometry stability\n";
+}
diff --git a/tests/wsm_qmp_inheritance_tests.cpp b/tests/wsm_qmp_inheritance_tests.cpp
new file mode 100644
index 0000000..81cb828
--- /dev/null
+++ b/tests/wsm_qmp_inheritance_tests.cpp
@@ -0,0 +1,65 @@
+#include "wsm/qmp_unix.hpp"
+#include <winsock2.h>
+#include <afunix.h>
+#include <windows.h>
+#include <cstring>
+#include <filesystem>
+#include <iostream>
+#include <string>
+#include <thread>
+#include <vector>
+
+static bool line(SOCKET s) {
+ char c;
+ while (recv(s, &c, 1, 0) == 1) if (c == '\n') return true;
+ return false;
+}
+static void reply(SOCKET s, const char* text) { send(s, text, static_cast<int>(strlen(text)), 0); }
+
+int main(int argc, char**) {
+ if (argc > 1) { Sleep(5000); return 0; }
+ WSADATA data{};
+ if (WSAStartup(MAKEWORD(2, 2), &data)) return 1;
+ for (bool persistent : {false, true}) {
+ const auto path = (std::filesystem::temp_directory_path() /
+ ("qmp-inherit-" + std::to_string(GetCurrentProcessId()) + (persistent ? "s" : "c") + ".sock")).string();
+ if (path.size() >= sizeof(SOCKADDR_UN{}.sun_path)) return 1;
+ SOCKET listener = WSASocketW(AF_UNIX, SOCK_STREAM, 0, nullptr, 0,
+ WSA_FLAG_OVERLAPPED | WSA_FLAG_NO_HANDLE_INHERIT);
+ SOCKADDR_UN address{}; address.sun_family = AF_UNIX;
+ memcpy(address.sun_path, path.c_str(), path.size() + 1);
+ if (bind(listener, reinterpret_cast<sockaddr*>(&address), sizeof(address)) || listen(listener, 1)) return 1;
+ bool eof = false, child_started = false;
+ std::thread server([&] {
+ SOCKET client = accept(listener, nullptr, nullptr);
+ SetHandleInformation(reinterpret_cast<HANDLE>(client), HANDLE_FLAG_INHERIT, 0);
+ DWORD timeout = 1500;
+ setsockopt(client, SOL_SOCKET, SO_RCVTIMEO, reinterpret_cast<const char*>(&timeout), sizeof(timeout));
+ reply(client, "{\"QMP\":{}}\n");
+ if (!line(client)) { closesocket(client); return; }
+ wchar_t exe[MAX_PATH]{}; GetModuleFileNameW(nullptr, exe, MAX_PATH);
+ std::wstring command = L"\"" + std::wstring(exe) + L"\" --hold";
+ STARTUPINFOW startup{}; startup.cb = sizeof(startup); PROCESS_INFORMATION child{};
+ child_started = CreateProcessW(nullptr, command.data(), nullptr, nullptr, TRUE,
+ CREATE_NO_WINDOW, nullptr, nullptr, &startup, &child) != 0;
+ reply(client, "{\"return\":{}}\n");
+ if (line(client)) reply(client, "{\"return\":{}}\n");
+ char c;
+ // The helper remains alive: EOF proves it did not inherit the production socket.
+ eof = recv(client, &c, 1, 0) == 0;
+ if (child_started) {
+ TerminateProcess(child.hProcess, 0); WaitForSingleObject(child.hProcess, 5000);
+ CloseHandle(child.hThread); CloseHandle(child.hProcess);
+ }
+ closesocket(client);
+ });
+ std::string result; bool ok;
+ if (persistent) {
+ wsm::core::QmpSession q(path); ok = q.execute("{\"execute\":\"query-status\"}", result); q.close();
+ } else ok = wsm::core::QmpUnixClient(path).execute("{\"execute\":\"query-status\"}", result);
+ server.join(); closesocket(listener); std::filesystem::remove(path);
+ if (!ok || !child_started || !eof) { std::cerr << "A helper retained the QMP connection\n"; return 1; }
+ }
+ WSACleanup();
+ std::cout << "Short-lived and persistent QMP connections are not retained by child processes.\n";
+}
diff --git a/tests/wsm_recovery_script_tests.cpp b/tests/wsm_recovery_script_tests.cpp
new file mode 100644
index 0000000..50bb997
--- /dev/null
+++ b/tests/wsm_recovery_script_tests.cpp
@@ -0,0 +1,46 @@
+#include "wsm/recovery_script.hpp"
+#include <windows.h>
+#include <filesystem>
+#include <fstream>
+#include <iostream>
+
+namespace fs = std::filesystem;
+bool run(const fs::path& bash, const fs::path& script) {
+ std::wstring command = L"\"" + bash.wstring() + L"\" \"" + script.wstring() + L"\"";
+ STARTUPINFOW si{}; si.cb = sizeof(si); PROCESS_INFORMATION pi{};
+ if (!CreateProcessW(nullptr, command.data(), nullptr, nullptr, FALSE, CREATE_NO_WINDOW, nullptr, nullptr, &si, &pi)) return false;
+ const auto wait = WaitForSingleObject(pi.hProcess, 15000);
+ if (wait != WAIT_OBJECT_0) TerminateProcess(pi.hProcess, 1);
+ DWORD code = 1; GetExitCodeProcess(pi.hProcess, &code);
+ CloseHandle(pi.hThread); CloseHandle(pi.hProcess);
+ return wait == WAIT_OBJECT_0 && code == 0;
+}
+int main(int argc, char** argv) {
+ if (argc != 2) return 1;
+ const auto base = fs::current_path() / ("wsm-transfer-test-" + std::to_string(GetCurrentProcessId()));
+ if (fs::exists(base)) return 2;
+ fs::create_directory(base);
+ const auto target = base / "received-script.sh", marker = base / "executed", harness = base / "test.sh", error_log = base / "copy.log";
+ const auto payload = "#!/bin/sh\n# quotes ' and backslashes \\ and percent % and !\n#" + std::string(6000, 'x') + "\nprintf success > " + wsm::runtime::guest_shell_quote(marker.generic_string()) + "\n";
+ auto transfer = wsm::runtime::recovery_script_transfer(payload, target.generic_string());
+ auto write_harness = [&](const std::string& body) {
+ // No external utilities are available during transfer or verification.
+ std::ofstream(harness, std::ios::binary) << "export PATH=/nonexistent\n(\n" << body << " &&\nPATH=/usr/bin sh " <<
+ wsm::runtime::guest_shell_quote(target.generic_string()) << "\n) > " << wsm::runtime::guest_shell_quote(error_log.generic_string()) << " 2>&1\n";
+ };
+ write_harness(transfer);
+ if (!run(argv[1], harness) || !fs::exists(marker)) return 3;
+ fs::remove(marker);
+ auto bad = transfer;
+ const auto first = bad.find("printf %s '") + 11;
+ bad[first] = bad[first] == 'A' ? 'B' : 'A';
+ write_harness(bad);
+ if (run(argv[1], harness) || fs::exists(marker) || !fs::exists(error_log)) return 4;
+ bad = transfer;
+ bad.erase(first, 1);
+ write_harness(bad);
+ if (run(argv[1], harness) || fs::exists(marker) || fs::file_size(error_log) == 0) return 5;
+ if (base.parent_path() != fs::current_path() || base.filename().string().rfind("wsm-transfer-test-", 0) != 0) return 6;
+ fs::remove_all(base);
+ std::cout << "PASS: long script transferred exactly; corrupt/truncated input never executes; preparation errors captured\n";
+}
diff --git a/tests/wsm_runtime_storage_tests.cpp b/tests/wsm_runtime_storage_tests.cpp
new file mode 100644
index 0000000..354cc03
--- /dev/null
+++ b/tests/wsm_runtime_storage_tests.cpp
@@ -0,0 +1,53 @@
+#include "wsm/runtime_storage.hpp"
+#include <windows.h>
+#include <filesystem>
+#include <fstream>
+#include <iostream>
+
+int main() {
+ namespace fs = std::filesystem;
+ const auto parent = fs::current_path();
+ const auto base = parent / ("wsm-storage-test-" + std::to_string(GetCurrentProcessId()));
+ const auto root = base / "app", target = base / "data with spaces";
+ fs::create_directories(root);
+ std::string error;
+ if (!wsm::runtime::select_runtime_storage(root, target, error)) {
+ std::cerr << error << '\n'; return 1;
+ }
+ const auto vms = root / "runtime/reims-ctl/vms";
+ std::ofstream(vms / "disk-test.txt") << "preserve";
+ std::ofstream(root / "runtime/reims-ctl/installers/download-test.txt") << "download";
+ std::ofstream(root / "cache/tmp/temporary-test.txt") << "temporary";
+ if (!fs::exists(target / "vms/disk-test.txt") || !fs::exists(target / "installers/download-test.txt") ||
+ !fs::exists(target / "tmp/temporary-test.txt") || wsm::runtime::runtime_storage_path(root) != target) return 2;
+ if (wsm::runtime::select_runtime_storage(root, base / "other", error)) return 3;
+ if (!fs::exists(target / "vms/disk-test.txt")) return 4;
+ const auto other_root = base / "existing-app";
+ fs::create_directories(other_root / "runtime/reims-ctl/vms");
+ std::ofstream(other_root / "runtime/reims-ctl/vms/existing.qcow2") << "untouched";
+ if (wsm::runtime::select_runtime_storage(other_root, base / "refused", error)) return 5;
+ if (!fs::exists(other_root / "runtime/reims-ctl/vms/existing.qcow2")) return 6;
+ if (wsm::runtime::select_runtime_storage(base / "unsafe", base / "unsafe/cache/tmp/child", error)) return 7;
+ // Exercise a genuinely different volume, rather than only two folders on the same drive.
+ for (auto drive : {"D:\\", "E:\\"}) {
+ std::error_code ec;
+ if (!fs::exists(drive, ec) || fs::space(drive, ec).available < 59700000000ull || ec || fs::path(drive).root_name() == parent.root_name()) continue;
+ const auto external = fs::path(drive) / ("WSM-Storage-Test-" + std::to_string(GetCurrentProcessId()));
+ if (fs::exists(external)) return 10;
+ const auto cross_root = base / "cross-volume";
+ if (!wsm::runtime::select_runtime_storage(cross_root, external, error)) { std::cerr << error; return 11; }
+ std::ofstream(cross_root / "runtime/reims-ctl/vms/cross-volume.txt") << "cross-volume";
+ if (!fs::exists(external / "vms/cross-volume.txt")) return 12;
+ for (auto suffix : {"runtime/reims-ctl/vms", "runtime/reims-ctl/installers", "cache/tmp"})
+ if (!RemoveDirectoryW((cross_root / suffix).c_str())) return 13;
+ if (external.parent_path() != fs::path(drive) || external.filename().string().rfind("WSM-Storage-Test-", 0) != 0) return 14;
+ fs::remove_all(external);
+ break;
+ }
+ // Delete the test junctions themselves before recursively cleaning this verified unique test directory.
+ for (auto suffix : {"runtime/reims-ctl/vms", "runtime/reims-ctl/installers", "cache/tmp"})
+ if (!RemoveDirectoryW((root / suffix).c_str())) return 8;
+ if (base.parent_path() != parent || base.filename().string().rfind("wsm-storage-test-", 0) != 0) return 9;
+ fs::remove_all(base);
+ std::cout << "PASS: VM, installer and temporary files redirected; existing runtime and unsafe targets protected\n";
+}