diff options
69 files changed, 3007 insertions, 1933 deletions
diff --git a/abi/term.zig b/abi/term.zig index c437f62f..187b99e5 100644 --- a/abi/term.zig +++ b/abi/term.zig @@ -231,6 +231,9 @@ pub const ImagesAt = struct { now_ms: u64, cell_w: u32, cell_h: u32, + /// Its images as glyph art even where pixels could be drawn (the + /// pane's Petscii). + petscii: bool = false, }; /// What a predicted echo reads of a cell: its codepoint, whether the shell @@ -286,8 +289,6 @@ pub const Applied = struct { seq: u32, extra: []const u8 }; pub const Parts = struct { reply: []const u8 = "", reply_dropped: u32 = 0, - mouse_cell: ?Coordinate = null, - petscii: bool = false, /// The view's top row, counted from the top of the history. view: usize = 0, phase: Prompt.Phase = .none, @@ -307,6 +308,14 @@ pub const Parts = struct { /// What reading its text can fail with. pub const TextError = error{ OutOfMemory, WriteFailed, UnknownPoint }; +/// How a kitty image's medium is had (a file, a temporary file, shared +/// memory: things of the session's machine): `read(ctx)` is the emulator's +/// own read (which deletes a temporary file and unlinks shared memory), +/// its bytes `gpa`'s (core/Term.zig `media`). +pub const Media = *const fn (ctx: *const anyopaque, read: *const fn (ctx: *const anyopaque) MediumError![]u8, gpa: std.mem.Allocator) MediumError![]u8; +/// What ghostty's loader fails a medium's read with. +pub const MediumError = error{ OutOfMemory, InvalidData, UnsupportedMedium, DimensionsTooLarge, TemporaryFileNotInTempDir, TemporaryFileNotNamedCorrectly }; + /// The entries, as `term.ops` gives them. An error set named here is what /// the core's callers name (the tape's `Failure` reads `open`'s, the text /// readers' are edit.zig's); `anyerror` where the core only passes one on @@ -343,6 +352,12 @@ pub const Ops = struct { snapshot: *const fn (s: *const State, gpa: std.mem.Allocator, w: *std.Io.Writer, slim: bool) anyerror!void, /// `snapshot`'s bytes and `parts` back into a new terminal. load: *const fn (gpa: std.mem.Allocator, snapshot: []const u8, parts: *const Parts) anyerror!*State, + /// Its emulator made again from its own snapshot where it is (a join: + /// every side does it); the snapshot's hash. + reload: *const fn (s: *State) anyerror!u64, + /// How every terminal in the process has a kitty image's medium from + /// now on (the core's: a recorded answer). + media: *const fn (read: Media) void, // ---- output and view ---- /// One read of its program's output (`Told` says where the tracked @@ -360,8 +375,8 @@ pub const Ops = struct { // ---- input ---- key: *const fn (s: *State, k: plain.Key, out: *std.Io.Writer) error{WriteFailed}!void, - mouse: *const fn (s: *State, buf: *[64]u8, action: MouseAction, button: ?MouseButton, mods: MouseMods, col: i32, row: i32, any_pressed: bool) []const u8, - wheel: *const fn (s: *State, buf: *[64]u8, turn: MouseButton, col: u16, row: u16, mods: MouseMods) ?[]const u8, + mouse: *const fn (s: *State, last: *?Parts.Coordinate, buf: *[64]u8, action: MouseAction, button: ?MouseButton, mods: MouseMods, col: i32, row: i32, any_pressed: bool) []const u8, + wheel: *const fn (s: *State, last: *?Parts.Coordinate, buf: *[64]u8, turn: MouseButton, col: u16, row: u16, mods: MouseMods) ?[]const u8, paste: *const fn (s: ?*const State, text: []u8) [3][]const u8, modes: *const fn (s: ?*const State) Modes, promptMoves: *const fn (s: *State, row: i32, col: i32) ?Moves, @@ -403,8 +418,6 @@ pub const Ops = struct { /// what it keeps to draw them is its own allocator's), and their /// placeholder cells blanked in `frame` (`frame_cols` wide). images: *const fn (s: *State, gpa: std.mem.Allocator, at: ImagesAt, out: *std.ArrayList(plain.Placement), frame: []plain.Cell, frame_cols: u16) void, - petscii: *const fn (s: ?*const State) ?bool, - togglePetscii: *const fn (s: *State) void, hasImages: *const fn (s: ?*const State) bool, // ---- its replicas ---- diff --git a/abi/wire.zig b/abi/wire.zig index b2d32033..1f7d02d2 100644 --- a/abi/wire.zig +++ b/abi/wire.zig @@ -7,7 +7,8 @@ const std = @import("std"); const builtin = @import("builtin"); const pardes = @import("core"); -const config = @import("pardes_config"); +const config = @import("pardes_options"); +const build_info = @import("build_info"); /// 23: a pane of a kind's frame names its rasters by key, their pixels /// crossing before it as strips of 4 MiB at most over the rows it shows @@ -61,18 +62,21 @@ const family = switch (config.platform) { /// their options and dependencies; -Dstamp-commit stamps one. pub const semantics: u64 = blk: { @setEvalBranchQuota(1_000_000); + // The grammar set as the four words it was hashed as when it was four + // options (highlighting, zig, minimal, full), so the hash stays. + const g = config.grammars; // The two long ones (the dependencies, 2.5 KB, and the tape's shape, // 11 KB) joined on, not formatted: formatting them at comptime was 5 % // of a compile of the core. break :blk std.hash.Wyhash.hash(0, std.fmt.comptimePrint( "wire {d}\npardes {s} {s}\n{s} grammars {} {} {} {} workspace_tag {} sources {}\nusize {d} {t}\n", .{ - version, config.version, config.commit orelse "unstamped", - family, config.syntax_highlighting, config.syntax_zig_grammar, - config.syntax_minimal_grammars, config.syntax_full_grammars, config.workspace_tag, - config.embed_sources, @sizeOf(usize), builtin.cpu.arch.endian(), + version, build_info.version, build_info.commit orelse "unstamped", + family, g != .disabled, g != .disabled, + g == .minimal or g == .full, g == .full, config.workspace_tag, + config.embed_sources, @sizeOf(usize), builtin.cpu.arch.endian(), }, - ) ++ config.deps ++ "\n" ++ pardes.tape.shape); + ) ++ build_info.deps ++ "\n" ++ pardes.tape.shape); }; /// EndOfStream: the message ends early; WriteFailed: no room for it. @@ -142,9 +142,8 @@ pub fn build(b: *std.Build) void { const shell_cfg: core.ShellConfig = .{ .tree_sitter_grammars = tree_sitter_grammars, - .tracy = tracy != null, + .tracy = tracy, .workspace_tag = workspace_tag, - .prebuilt_shaders = prebuilt_shaders, .embed_sources = embed_sources, .commit = if (stamp_commit) core.gitCommit(b) else null, .change = if (stamp_commit) core.jjChange(b) else null, @@ -156,8 +155,6 @@ pub fn build(b: *std.Build) void { .target = target, .optimize = optimize, .c_optimize = c_optimize, - .tree_sitter_grammars = tree_sitter_grammars, - .tracy = tracy, .shell_cfg = shell_cfg, .platform = platform, .also_gui = also_gui, @@ -169,7 +166,6 @@ pub fn build(b: *std.Build) void { .pdf_scroll_bench_step = pdf_scroll_bench_step, }); const parts = a.parts; - const opts = a.opts; // Off Linux, whose memfd Addon.zig's loader needs, every core has the // addons compiled in. const compiled_in = target.result.os.tag != .linux; @@ -177,28 +173,28 @@ pub fn build(b: *std.Build) void { // its own flat C ABI instead of runtime/main.zig. Tracy's client and BSD // libutil go to the shell (and Tracy's to the core) alone, as before // core.module. - const root_set = core.module(b, parts, .{ .root = if (platform == .macos) "runtime/macos.zig" else "runtime/main.zig", .config = opts, .builtin_addons = compiled_in, .tracy = true, .util = true }); + const root_set = core.module(b, parts, .{ .root = if (platform == .macos) "runtime/macos.zig" else "runtime/main.zig", .platform = platform, .builtin_addons = compiled_in, .tracy = true, .util = true }); const root_mod = root_set.root; // hxdiff's headless core and pardes-isolate are the primary shell's // configuration compiled two more ways, not two more frontends. - const core_cfg: core.Core = .{ .root = "core/root.zig", .config = opts, .builtin_addons = compiled_in, .tracy = true }; + const core_cfg: core.Core = .{ .root = "core/root.zig", .platform = platform, .builtin_addons = compiled_in, .tracy = true }; const core_set = core.module(b, parts, core_cfg); const core_module = core_set.root; // The core without the terminal module (docs/next-terminal.md, Phase 1): // what core-test is compiled from. No ghostty-vt, wuffs, zstbi or C++; // a shell boot is a scratch pane, a test that needs a terminal skips, // and shell-test runs them all with one. - const lean_cfg: core.Core = .{ .root = "core/root.zig", .config = opts, .builtin_addons = compiled_in, .terminal = false }; + const lean_cfg: core.Core = .{ .root = "core/root.zig", .platform = platform, .builtin_addons = compiled_in, .terminal = false }; const core_lean = core.module(b, parts, lean_cfg); - const isolated_mod: ?*std.Build.Module = if (platform == .tui) core.module(b, parts, .{ .root = "runtime/main.zig", .config = opts, .builtin_addons = compiled_in, .isolated = true }).root else null; + const isolated_mod: ?*std.Build.Module = if (platform == .tui) core.module(b, parts, .{ .root = "runtime/main.zig", .platform = platform, .builtin_addons = compiled_in, .isolated = true }).root else null; // `zig build static`'s: the addons compiled in (Addon.zig). Linked // statically on musl alone, as glibc links only dynamically; the gui's // is dynamic (SDL and the GPU need the display's libraries) with the // addons in it all the same. const static_linkage: ?std.builtin.LinkMode = if (target.result.isMuslLibC()) .static else null; - const static_set: ?core.Modules = if ((platform == .tui and static_linkage != null) or platform == .gui) core.module(b, parts, .{ .root = "runtime/main.zig", .config = opts, .builtin_addons = true }) else null; + const static_set: ?core.Modules = if ((platform == .tui and static_linkage != null) or platform == .gui) core.module(b, parts, .{ .root = "runtime/main.zig", .platform = platform, .builtin_addons = true }) else null; const static_mod: ?*std.Build.Module = if (static_set) |s| s.root else null; - const gui_set: ?core.Modules = if (also_gui) core.module(b, parts, .{ .root = "runtime/main.zig", .config = a.gui_opts.?, .builtin_addons = compiled_in }) else null; + const gui_set: ?core.Modules = if (also_gui) core.module(b, parts, .{ .root = "runtime/main.zig", .platform = .gui, .builtin_addons = compiled_in }) else null; const gui_mod: ?*std.Build.Module = if (gui_set) |s| s.root else null; if (a.pdf.lib) |lib| tools.pdfBenches(b, target, optimize, core_module, lib, pdf_pointer_bench_step, pdf_scroll_bench_step); @@ -320,8 +316,6 @@ pub fn build(b: *std.Build) void { .shell_cfg = shell_cfg, .target = target, .test_filters = test_filters, - .tracy = tracy, - .tree_sitter_grammars = tree_sitter_grammars, .unit_profile = unit_profile, }); tests.add(b, .{ diff --git a/build/core.zig b/build/core.zig index 974d5c7e..4e4a748b 100644 --- a/build/core.zig +++ b/build/core.zig @@ -5,7 +5,7 @@ const grammar_manifest = @import("../core/grammar_manifest.zig"); const addons = @import("addons.zig"); const patches = @import("patches.zig"); /// The package manifest, imported UNTYPED on purpose — see the `version` -/// option in `shellOptions` for why that word is load-bearing. +/// option in `buildInfo` for why that word is load-bearing. const zon = @import("../build.zig.zon"); /// Releases are numbered 0.N; the zon holds "0.N.0" because it must be semver, /// and what a user sees drops that ".0". @@ -60,11 +60,11 @@ pub fn command(b: *std.Build, argv: []const []const u8) ?[]const u8 { pub const ShellConfig = struct { tree_sitter_grammars: TreeSitterGrammars, - tracy: bool = false, + /// -Dtracy's checkout, whose client a core that asks compiles in. + tracy: ?[]const u8 = null, /// null = "the platform's own default": the macOS shell hands the row to /// its native menu bar, every other shell keeps the acme topbar. workspace_tag: ?bool = null, - prebuilt_shaders: bool = false, embed_sources: bool = false, commit: ?[]const u8 = null, /// The jj change git HEAD is in, and when this configure ran: the @@ -76,24 +76,34 @@ pub const ShellConfig = struct { lib: bool = false, }; -pub fn shellOptions(b: *std.Build, cfg: ShellConfig, platform: Platform) *std.Build.Step.Options { +/// `pardes_options`: what a module set varies at compile time, one module +/// a configuration, which `module` makes and the set's modules share. +pub fn options(b: *std.Build, cfg: ShellConfig, c: Core, pdf: bool) *std.Build.Step.Options { const o = b.addOptions(); - o.addOption(Platform, "platform", platform); - o.addOption(bool, "syntax_highlighting", cfg.tree_sitter_grammars != .disabled); - o.addOption(bool, "syntax_zig_grammar", cfg.tree_sitter_grammars != .disabled); - o.addOption(bool, "syntax_minimal_grammars", cfg.tree_sitter_grammars == .minimal or cfg.tree_sitter_grammars == .full); - o.addOption(bool, "syntax_full_grammars", cfg.tree_sitter_grammars == .full); - o.addOption(bool, "enable_tracy", cfg.tracy); - o.addOption(bool, "workspace_tag", cfg.workspace_tag orelse (platform != .macos)); + o.addOption(Platform, "platform", c.platform); + o.addOption(TreeSitterGrammars, "grammars", cfg.tree_sitter_grammars); + o.addOption(bool, "terminal", c.terminal); + o.addOption(bool, "isolated", c.isolated); + o.addOption(bool, "builtin_addons", c.builtin_addons); + // ...the pdf one only when it is built (-Dpdf=false leaves it out). + o.addOption(bool, "builtin_pdf", c.builtin_addons and pdf); + o.addOption(bool, "enable_tracy", cfg.tracy != null); + o.addOption(bool, "workspace_tag", cfg.workspace_tag orelse (c.platform != .macos)); o.addOption(bool, "embed_sources", cfg.embed_sources); + o.addOption(bool, "lib", cfg.lib); + return o; +} + +/// `build_info`: the version, and the commit, change and time a stamped +/// build was made from (see `stamp_commit`, read at configure time), and +/// every dependency's hash. +pub fn buildInfo(b: *std.Build, cfg: ShellConfig) *std.Build.Step.Options { + const o = b.addOptions(); o.addOption([]const u8, "version", display_version); - // ...and the commit it was built from, when there is one and the build - // is stamped at all (see `stamp_commit`). Read at configure time. o.addOption(?[]const u8, "commit", cfg.commit); o.addOption(?[]const u8, "change", cfg.change); o.addOption(?[]const u8, "built", cfg.built); o.addOption([]const u8, "deps", deps_text); - o.addOption(bool, "lib", cfg.lib); return o; } @@ -240,16 +250,16 @@ pub fn editorModule(b: *std.Build, name: ?[]const u8, target: std.Build.Resolved /// cell's width for j and k's goal column. vaxis: *std.Build.Module, }) *std.Build.Module { - const options: std.Build.Module.CreateOptions = .{ + const create: std.Build.Module.CreateOptions = .{ .target = target, .optimize = optimize, .root_source_file = b.path("core/lib_editor.zig"), .link_libc = true, }; - const m = if (name) |n| b.addModule(n, options) else b.createModule(options); + const m = if (name) |n| b.addModule(n, create) else b.createModule(create); var lib_cfg = cfg; lib_cfg.lib = true; - m.addOptions("pardes_config", shellOptions(b, lib_cfg, .tui)); + m.addOptions("pardes_options", options(b, lib_cfg, .{ .root = "core/lib_editor.zig", .platform = .tui, .terminal = false }, false)); m.addImport("plain", b.createModule(.{ .target = target, .optimize = optimize, .root_source_file = b.path("abi/plain.zig") })); m.addImport("generated_themes", d.themes); d.ts.wire(m); @@ -265,8 +275,10 @@ pub const Parts = struct { target: std.Build.ResolvedTarget, optimize: std.lang.Optimize, cloud9: *std.Build.Module, - /// -Dtracy's checkout, whose client a core that asks compiles in. - tracy: ?[]const u8, + /// The build's options (-Dtracy's checkout, -Dembed-sources...). + cfg: ShellConfig, + /// `build_info`, the same for every set. + info: *std.Build.Step.Options, zstd: *std.Build.Step.Compile, /// The addons, for a core that has them compiled in (Addon.zig); the /// pdf one only when it is built (-Dpdf=false leaves it out). @@ -284,16 +296,6 @@ pub const Parts = struct { uucode: *std.Build.Module, xitdb: *std.Build.Module, doc_typ: *std.Build.Step.Options, - /// -Dembed-sources: the core embeds its sources for /src. - embed_sources: bool, - /// One options module for each value of `terminal`, `isolated` and - /// `on`, shared by every core. - term_on: *std.Build.Step.Options, - term_off: *std.Build.Step.Options, - iso_on: *std.Build.Step.Options, - iso_off: *std.Build.Step.Options, - builtin_on: *std.Build.Step.Options, - builtin_off: *std.Build.Step.Options, }; /// Which core: its root and the few ways the products differ. @@ -302,9 +304,8 @@ pub const Core = struct { /// library), core/root.zig for the core, runtime/root.zig for the /// runtime, or a core file whose tests run on the core's imports. root: []const u8, - /// The shell's options (`pardes_config`): this build's, or the window's - /// in the bare build. - config: *std.Build.Step.Options, + /// This build's, or the window's in the bare build. + platform: Platform, /// The terminal module; without it (core-test) a shell boot is a scratch pane. terminal: bool = true, /// pardes-isolate's: no host but the terminal. @@ -339,7 +340,7 @@ pub fn module(b: *std.Build, p: Parts, c: Core) Modules { // forkpty: in libc proper on glibc>=2.34 and darwin; the BSDs keep it in libutil if (c.util and (p.target.result.os.tag == .freebsd or p.target.result.os.tag == .netbsd or p.target.result.os.tag == .openbsd)) m.linkSystemLibrary("util", .{}); - if (c.tracy) if (p.tracy) |tracy_path| { + if (c.tracy) if (p.cfg.tracy) |tracy_path| { m.addIncludePath(.{ .cwd_relative = tracy_path }); m.addCSourceFile(.{ .file = .{ .cwd_relative = b.pathJoin(&.{ tracy_path, "public", "TracyClient.cpp" }) }, @@ -359,7 +360,7 @@ pub fn module(b: *std.Build, p: Parts, c: Core) Modules { for (p.ts.libs.items) |lib| m.linkLibrary(lib); // The /src tree's files that live outside the core's directory // (fs.zig embeds them under the names they had there). - if (p.embed_sources) for ([_][]const u8{ "runtime/9p.zig", "runtime/9p_io.zig", "runtime/main.zig", "dev/host_io.zig" }) |f| + if (p.cfg.embed_sources) for ([_][]const u8{ "runtime/9p.zig", "runtime/9p_io.zig", "runtime/main.zig", "dev/host_io.zig" }) |f| m.addAnonymousImport(f, .{ .root_source_file = b.path(f) }); const runtime = b.createModule(.{ .target = p.target, .optimize = p.optimize, .root_source_file = b.path("runtime/root.zig"), .link_libc = true }); const dev = b.createModule(.{ .target = p.target, .optimize = p.optimize, .root_source_file = b.path("dev/root.zig"), .link_libc = true }); @@ -367,18 +368,15 @@ pub fn module(b: *std.Build, p: Parts, c: Core) Modules { const root = if (!in_runtime) m else if (std.mem.eql(u8, c.root, "runtime/root.zig")) runtime else b.createModule(.{ .target = p.target, .optimize = p.optimize, .root_source_file = b.path(c.root), .link_libc = true }); // Each options module once, so that the modules share it: a file is in // one module of a compilation. - const term_options = (if (c.terminal) p.term_on else p.term_off).createModule(); const ts_queries = if (p.ts.queries) |q| q.createModule() else null; const doc_typ = p.doc_typ.createModule(); - const pardes_config = c.config.createModule(); - const pardes_isolation = (if (c.isolated) p.iso_on else p.iso_off).createModule(); - const builtin_addons = (if (c.builtin_addons) p.builtin_on else p.builtin_off).createModule(); + const pardes_options = options(b, p.cfg, c, p.pdf != null).createModule(); + const build_info = p.info.createModule(); for ([_]*std.Build.Module{ m, dev, runtime, wire, root }) |x| { x.addImport("cloud9", p.cloud9); if (c.builtin_addons) if (p.pdf) |pdf| x.addImport("pdf_addon", pdf); if (c.builtin_addons) x.addImport("image_addon", p.image); if (c.terminal) x.addImport("term", p.term); - x.addImport("term_options", term_options); x.addImport("plain", p.plain); x.addImport("pardes_addon", p.kind); x.addImport("generated_themes", p.themes); @@ -391,9 +389,8 @@ pub fn module(b: *std.Build, p: Parts, c: Core) Modules { x.addImport("xitdb", p.xitdb); // config.zig's test checks the words and keys docs/typ names exist. x.addImport("doc_typ", doc_typ); - x.addImport("pardes_config", pardes_config); - x.addImport("pardes_isolation", pardes_isolation); - x.addImport("builtin_addons", builtin_addons); + x.addImport("pardes_options", pardes_options); + x.addImport("build_info", build_info); x.addImport("core", m); x.addImport("dev", dev); x.addImport("runtime", runtime); @@ -402,13 +399,9 @@ pub fn module(b: *std.Build, p: Parts, c: Core) Modules { return .{ .root = root, .core = m, .dev = dev, .runtime = runtime, .wire = wire }; } -/// What `assemble` makes besides the parts: the shells' options, the -/// addons, and the terminal's pieces the tests and harnesses name. +/// What `assemble` makes besides the parts: the addons, and the terminal's pieces the tests and harnesses name. pub const Assembly = struct { parts: Parts, - /// The shell's options (`pardes_config`), and the window's in the bare build. - opts: *std.Build.Step.Options, - gui_opts: ?*std.Build.Step.Options, /// What an addon in Zig imports (abi/addon.zig). addon_mod: *std.Build.Module, pdf: addons.Pdf, @@ -421,16 +414,14 @@ pub const Assembly = struct { ghostty_simd: bool, }; -/// Every core's parts, the shells' options and the addons, made once and -/// in this order (the configuration numbers what it generates by it): the -/// one-round lazy fetch, tree-sitter and the themes, the patched packages, -/// zstd, the terminal, and the options modules the cores choose between. +/// Every core's parts and the addons, made once and in this order (the +/// configuration numbers what it generates by it): the one-round lazy +/// fetch, tree-sitter and the themes, the patched packages, zstd, the +/// terminal. pub fn assemble(b: *std.Build, c: struct { target: std.Build.ResolvedTarget, optimize: std.lang.Optimize, c_optimize: std.lang.Optimize, - tree_sitter_grammars: TreeSitterGrammars, - tracy: ?[]const u8, shell_cfg: ShellConfig, platform: Platform, also_gui: bool, @@ -455,7 +446,7 @@ pub fn assemble(b: *std.Build, c: struct { // nothing else. pardes takes these whatever it builds: the missing ones // are asked for here in one round, the grammars with them, where each // `b.dependency` below would end the configure to fetch its own alone. - const ts = treeSitter(b, io, target, c_optimize, c.tree_sitter_grammars); + const ts = treeSitter(b, io, target, c_optimize, c.shell_cfg.tree_sitter_grammars); inline for (.{ "cloud9", "vaxis", "ghostty", "uucode", "zstbi", "mvzr", "zstd", "xitdb" }) |name| { // A dependency by path (none of these today) has no hash and is always there. const dep = @field(zon.dependencies, name); @@ -468,9 +459,6 @@ pub fn assemble(b: *std.Build, c: struct { const themes_mod = generatedThemes(b, io, target, optimize); - const opts = shellOptions(b, c.shell_cfg, c.platform); - const gui_opts: ?*std.Build.Step.Options = if (c.also_gui) shellOptions(b, c.shell_cfg, .gui) else null; - const zstbi_dep = b.dependency("zstbi", .{ .target = target, .optimize = c_optimize }); const zstbi_mod = zstbi_dep.module("root"); // vaxis, ghostty, mvzr and zstbi are patched as they are fetched @@ -602,28 +590,13 @@ pub fn assemble(b: *std.Build, c: struct { if (ghostty_vt_for_tests) |x| term_mod.addImport("ghostty-vt", x); if (wuffs_mod) |x| term_mod.addImport("wuffs", x); term_mod.addImport("zstbi", zstbi_mod); - - // One options module for each value a core chooses (`module`). - const term_on = b.addOptions(); - term_on.addOption(bool, "terminal", true); - const term_off = b.addOptions(); - term_off.addOption(bool, "terminal", false); - const iso_off = b.addOptions(); - iso_off.addOption(bool, "isolated", false); - const iso_on = b.addOptions(); - iso_on.addOption(bool, "isolated", true); - const builtin_off = b.addOptions(); - builtin_off.addOption(bool, "on", false); - const builtin_on = b.addOptions(); - builtin_on.addOption(bool, "on", true); - // ...the pdf one only when it is built (-Dpdf=false leaves it out). - builtin_on.addOption(bool, "pdf", pdf_built.lib != null); return .{ .parts = .{ .target = target, .optimize = optimize, .cloud9 = cloud9, - .tracy = c.tracy, + .cfg = c.shell_cfg, + .info = buildInfo(b, c.shell_cfg), .zstd = zstd, .image = image_addon.root_module, .pdf = pdf_built.module, @@ -638,16 +611,7 @@ pub fn assemble(b: *std.Build, c: struct { .uucode = uucode_mod, .xitdb = xitdb_mod, .doc_typ = c.doc_typ, - .embed_sources = c.shell_cfg.embed_sources, - .term_on = term_on, - .term_off = term_off, - .iso_on = iso_on, - .iso_off = iso_off, - .builtin_on = builtin_on, - .builtin_off = builtin_off, }, - .opts = opts, - .gui_opts = gui_opts, .addon_mod = addon_mod, .pdf = pdf_built, .image_addon = image_addon, diff --git a/build/library.zig b/build/library.zig index ebfd8596..8a23debc 100644 --- a/build/library.zig +++ b/build/library.zig @@ -24,7 +24,7 @@ pub fn build(b: *std.Build) void { }); // A library's options: its grammars, nothing stamped, no window. const cfg: core.ShellConfig = .{ .tree_sitter_grammars = tree_sitter_grammars }; - mod.addOptions("pardes_config", core.shellOptions(b, cfg, .tui)); + mod.addOptions("pardes_options", core.options(b, cfg, .{ .root = "core/lib_syntax.zig", .platform = .tui, .terminal = false }, false)); const ts = core.treeSitter(b, io, target, if (optimize == .debug) .fast else optimize, tree_sitter_grammars); const themes = core.generatedThemes(b, io, target, optimize); mod.addImport("generated_themes", themes); diff --git a/build/patches.zig b/build/patches.zig index d5ac7372..7c7b2d60 100644 --- a/build/patches.zig +++ b/build/patches.zig @@ -175,8 +175,14 @@ pub fn vaxis(b: *std.Build, patch: *std.Build.Step.Compile, vaxis_dep: *std.Buil /// zstbi with stb_image and its writer cut out: of it only its resize is /// left, for a terminal PNG's downscale (build/core.zig, "One PNG /// decoder"). zstbi.deinit still resets the reader's and the writer's flip -/// flags, and Image.deinit frees the resize's output. +/// flags, and Image.deinit frees the resize's output. And no fused +/// multiply-add in the resize: clang contracts `a * b + c` where the CPU +/// has one (aarch64 always does), which rounds once, so a PNG downscaled +/// on an Apple silicon Mac came out pixels apart from Linux's, and the same +/// bytes must give the same terminal on every machine a client runs on +/// (docs/zstbi-fp-contract.md). const zstbi_cut = [_]Edit{ + .{ .old = "#include <stdlib.h>\n", .new = "#include <stdlib.h>\n#pragma STDC FP_CONTRACT OFF\n" }, .{ .old = "#define STB_IMAGE_IMPLEMENTATION\n#include \"stb_image.h\"\n", .new = "void stbi_set_flip_vertically_on_load(int flag) { (void)flag; }\nvoid stbi_image_free(void *p) { zstbiFreePtr(p); }\n" }, .{ .old = "#define STB_IMAGE_WRITE_IMPLEMENTATION\n#include \"stb_image_write.h\"\n", .new = "void stbi_flip_vertically_on_write(int flag) { (void)flag; }\n" }, }; @@ -207,8 +213,45 @@ pub fn zstbi(b: *std.Build, patch: *std.Build.Step.Compile, zstbi_dep: *std.Buil /// - an image may be no larger than a screen's storage /// (TerminalImages.storage_limit) rather than ghostty's 400 MB, which a /// program could make pardes read and hold before refusing it. +/// - a medium's bytes (t=f, t=t, t=s) are had through `read_medium` when +/// the host sets one, which is handed ghostty's own read: pardes makes +/// that read a recorded answer, so a session reads a file once (deletes +/// a temporary file, unlinks shared memory, once) and every replica of +/// it is handed the same bytes or the same failure, never reading its +/// own machine (core/Term.zig `media`; docs/ghostty-kitty-medium.md). const ghostty_kitty = [_]Edit{ .{ + .old = " /// Initialize a chunked immage from the first image transmission.\n", + .new = + \\ /// pardes (build/patches.zig): how a file's, a temporary file's or + \\ /// shared memory's bytes are had: `read(ctx)` is ghostty's own read + \\ /// (which deletes a temporary file and unlinks shared memory), its + \\ /// bytes `alloc`'s; null, it is made as it is. + \\ pub var read_medium: ?*const fn (ctx: *const anyopaque, read: *const fn (ctx: *const anyopaque) MediumError![]u8, alloc: Allocator) MediumError![]u8 = null; + \\ pub const MediumError = error{ OutOfMemory, InvalidData, UnsupportedMedium, DimensionsTooLarge, TemporaryFileNotInTempDir, TemporaryFileNotNamedCorrectly }; + \\ + \\ /// Initialize a chunked immage from the first image transmission. + \\ + , + }, + .{ + .old = + \\ switch (t.medium) { + \\ .direct => unreachable, // handled above + \\ .file => try result.readFile(.file, io, alloc, t, cmd.data), + \\ .temporary_file => try result.readFile(.temporary_file, io, alloc, t, cmd.data), + \\ .shared_memory => try result.readSharedMemory(io, alloc, t, cmd.data), + \\ } + \\ + , + .new = + \\ // pardes (build/patches.zig): through the host's `read_medium`. + \\ const medium: PardesMedium = .{ .loading = &result, .io = io, .alloc = alloc, .t = t, .path = cmd.data }; + \\ result.data = .fromOwnedSlice(if (read_medium) |read| try read(&medium, PardesMedium.read, alloc) else try PardesMedium.read(&medium)); + \\ + , + }, + .{ .old = "const max_size = 400 * 1024 * 1024; // 400MB", .new = "const max_size = 64 * 1024 * 1024; // pardes (build.zig): a screen's storage, TerminalImages.storage_limit", }, @@ -245,11 +288,41 @@ const ghostty_kitty = [_]Edit{ }, }; +/// ghostty's terminal page (src/terminal/page.zig): a page's size is +/// rounded to 4 KiB on every target, not to the OS page (4 KiB on Linux +/// and FreeBSD, 16 KiB on an Apple aarch64 Mac). The same bytes must give +/// the same emulator on every machine a client runs on, and the rounding +/// decides how many rows a page holds and how much room its style and link +/// tables grow to, so how many history rows the 16 MiB scrollback keeps: +/// a Mac had fewer than Linux once it was full, which the digest saw +/// (docs/ghostty-page-size.md). On Linux and FreeBSD this changes nothing; +/// a Mac maps whole 16 KiB pages under a length that is not one, up to +/// 12 KiB a page left unused, and ghostty's assertions that a page's +/// length is a whole number of OS pages (page.zig, mem.zig) ask for 4 KiB. +const ghostty_page = [_]Edit{ + .{ + .old = " const total_size = alignForward(usize, meta_end, std.heap.page_size_min);\n", + .new = " const total_size = alignForward(usize, meta_end, 4 << 10); // pardes (build/patches.zig)\n", + }, + .{ + .old = " assert(l.total_size % std.heap.page_size_min == 0);\n", + .new = " assert(l.total_size % (4 << 10) == 0); // pardes (build/patches.zig)\n", + }, +}; +const ghostty_mem = [_]Edit{.{ + .old = " assert(memory.len % std.heap.page_size_min == 0);\n", + .new = " assert(memory.len % (4 << 10) == 0); // pardes (build/patches.zig): a page's size\n", + .count = 2, +}}; + pub fn ghosttyKitty(b: *std.Build, patch: *std.Build.Step.Compile, dep: *std.Build.Dependency, vt: *std.Build.Module) void { const files = b.addWriteFiles(); // The rest of src as it is; fonts are the app's, not the library's. - _ = files.addCopyDirectory(dep.path("src"), "", .{ .exclude_extensions = &.{ "graphics_image.zig", ".ttf", ".otf" } }); + // ("terminal/page.zig" leaves terminal/snapshot/page.zig in.) + _ = files.addCopyDirectory(dep.path("src"), "", .{ .exclude_extensions = &.{ "graphics_image.zig", "terminal/page.zig", "terminal/mem.zig", ".ttf", ".otf" } }); _ = files.addCopyFile(apply(b, patch, dep, "src/terminal/kitty/graphics_image.zig", &ghostty_kitty, "ghostty_kitty.zig"), "terminal/kitty/graphics_image.zig"); + _ = files.addCopyFile(apply(b, patch, dep, "src/terminal/page.zig", &ghostty_page, null), "terminal/page.zig"); + _ = files.addCopyFile(apply(b, patch, dep, "src/terminal/mem.zig", &ghostty_mem, null), "terminal/mem.zig"); vt.root_source_file = files.getDirectory().path(b, "lib_vt.zig"); } diff --git a/build/patches/ghostty_kitty.zig b/build/patches/ghostty_kitty.zig index a86d62d3..870c51e1 100644 --- a/build/patches/ghostty_kitty.zig +++ b/build/patches/ghostty_kitty.zig @@ -13,3 +13,24 @@ fn pardesOpenRegular(io: std.Io, path: []const u8) !std.Io.File { const same = std.fmt.bufPrint(&buf, "/proc/self/fd/{d}", .{probe.handle}) catch unreachable; return std.Io.Dir.cwd().openFile(io, same, .{}); } + +/// pardes (build.zig): a medium's read as ghostty makes it, handed to the +/// host's `LoadingImage.read_medium`: its bytes, the caller's. +const PardesMedium = struct { + loading: *LoadingImage, + io: std.Io, + alloc: Allocator, + t: command.Transmission, + path: []const u8, + + fn read(ctx: *const anyopaque) LoadingImage.MediumError![]u8 { + const m: *const PardesMedium = @ptrCast(@alignCast(ctx)); + switch (m.t.medium) { + .direct => unreachable, // read by the caller + .file => try m.loading.readFile(.file, m.io, m.alloc, m.t, m.path), + .temporary_file => try m.loading.readFile(.temporary_file, m.io, m.alloc, m.t, m.path), + .shared_memory => try m.loading.readSharedMemory(m.io, m.alloc, m.t, m.path), + } + return m.loading.data.toOwnedSlice(m.alloc); + } +}; diff --git a/build/tests.zig b/build/tests.zig index 50d3dd02..741eb24a 100644 --- a/build/tests.zig +++ b/build/tests.zig @@ -84,7 +84,7 @@ pub fn add(b: *std.Build, c: struct { if (c.ghostty_vt_for_tests) |x| pane_tests.root_module.addImport("ghostty-vt", x); // The core's own options module, not another over the same file: // a file is in one module of a compilation. - pane_tests.root_module.addImport("pardes_config", c.core_module.import_table.get("pardes_config").?); + pane_tests.root_module.addImport("pardes_options", c.core_module.import_table.get("pardes_options").?); const test_addons = b.addOptions(); test_addons.addOptionPath("image", c.image_addon.getEmittedBin()); test_addons.addOption(bool, "has_pdf", c.pdf_addon != null); @@ -129,7 +129,7 @@ pub fn add(b: *std.Build, c: struct { session_module.addOptions("session_options", session_options); // The build's options alone (platform), never the core: a test of a // window's word knows which build it runs in. - const behaviour_tests = units.root(b, "test/behaviour.zig", true, &.{ .{ .name = "session", .module = session_module }, .{ .name = "pardes_config", .module = c.core_module.import_table.get("pardes_config").? } }); + const behaviour_tests = units.root(b, "test/behaviour.zig", true, &.{ .{ .name = "session", .module = session_module }, .{ .name = "pardes_options", .module = c.core_module.import_table.get("pardes_options").? } }); const behaviour_test_step = b.step("behaviour-test", "run the behavioural tests, through the 9P tree alone (test/behaviour/), and the T1 runner (-- [--seed N]... | --monkey <seeds> | --replay)"); _ = units.add(b, behaviour_tests, behaviour_test_step); // An addon's own test: `--addon-test` over the fake (the template) diff --git a/build/tools.zig b/build/tools.zig index 1343fef9..62e9817a 100644 --- a/build/tools.zig +++ b/build/tools.zig @@ -2,7 +2,6 @@ const std = @import("std"); const builtin = @import("builtin"); const Platform = @import("../build.zig").Platform; const PerfBuild = @import("../build.zig").PerfBuild; -const TreeSitterGrammars = @import("../build.zig").TreeSitterGrammars; const core = @import("core.zig"); const testMatch = @import("tests.zig").testMatch; @@ -42,8 +41,6 @@ pub fn add(b: *std.Build, c: struct { shell_cfg: core.ShellConfig, target: std.Build.ResolvedTarget, test_filters: []const []const u8, - tracy: ?[]const u8, - tree_sitter_grammars: TreeSitterGrammars, unit_profile: *std.Build.Step.Compile, }) Tools { const image_harness = program(b, "pardes-image-harness", "test/image_harness.zig", c.target, c.optimize, &.{}); @@ -191,10 +188,10 @@ pub fn add(b: *std.Build, c: struct { .c_optimize = @tagName(c.c_optimize), .terminal_optimize = @tagName(c.ghostty_optimize), .platform = @tagName(c.platform), - .grammars = @tagName(c.tree_sitter_grammars), + .grammars = @tagName(c.shell_cfg.tree_sitter_grammars), .mupdf = c.pdf_addon != null, .jpx = c.enable_jpx, - .tracy = c.tracy != null, + .tracy = c.shell_cfg.tracy != null, .terminal_simd = c.ghostty_simd, .prebuilt_shaders = c.platform == .gui and c.prebuilt_shaders, }); diff --git a/core/Addon.zig b/core/Addon.zig index 0b60ca9c..c60f2430 100644 --- a/core/Addon.zig +++ b/core/Addon.zig @@ -236,9 +236,9 @@ fn fileOf(fd: c_int) ?[5]i64 { /// library exports. A static binary cannot dlopen, and the loader below /// is Linux's (a memfd): this is how either has image and PDF panes. /// A build with -Dpdf=false has the image addon alone. -const compiled_in: []const *const Kind.Ops = if (!@import("builtin_addons").on) +const compiled_in: []const *const Kind.Ops = if (!@import("pardes_options").builtin_addons) &.{} -else if (@import("builtin_addons").pdf) +else if (@import("pardes_options").builtin_pdf) &.{ &@import("image_addon").pardes_addon, &@import("pdf_addon").pardes_addon } else &.{&@import("image_addon").pardes_addon}; diff --git a/core/CHANGELOG.md b/core/CHANGELOG.md index 9b551e9b..fe9adec8 100644 --- a/core/CHANGELOG.md +++ b/core/CHANGELOG.md @@ -2,6 +2,26 @@ ## Unreleased +- `pardes attach NAME` (and `pardes-gui attach NAME`) is always a client: + a process of its own with its own view, whatever the session was + started in. A session's own terminal or window is only the one it was + born with: once a Detach or its terminal let it go, it never takes one + back. Before, an attach to a detached terminal's session handed it this + terminal (the attach waiting as its stub), and `pardes-gui attach` asked + a detached window's session to open its own window again and exited 0. + A client's Detach ends it with "'NAME' let this client go" and exit 1, + where the stub said "detached from 'NAME'" and exited 0. Bare, `pardes + attach` takes the one detached session, else the one session, of either + kind; with several it names them all. + +- A session whose daemon was killed starts the next one itself and + registers with it again, its shells' terminals and its clients with it: + `pardes ps` lists it, an attach and Adopt find it, and Detach works. It + ran on unlisted for good before, and its terminal closing ended it. + +- The words `pardes` says at a Detach name `pardes attach NAME`, the + command's spelling now, not `--attach=NAME`. + - On a client, and so on a far one, what changes only the editor is applied at once and only what touches the session's machine waits for it (a save, a shell's keys, a file read from disk, a program run, a diff --git a/core/Core.zig b/core/Core.zig index 64eb7b02..e2f8cd8a 100644 --- a/core/Core.zig +++ b/core/Core.zig @@ -1174,6 +1174,7 @@ fn openViewInner(p: *Pardes) ?View.Id { // tape does it here: a join dumps the session next, and a core // loaded from a dump has no queue (Replica.initDump). p.settle(); + pardes.panes.reloadTerminals(p); p.needs_frame = true; return .at(Views.open(p) orelse return null); } @@ -1216,6 +1217,7 @@ fn rejoinViewInner(p: *Pardes, k: View.Id) bool { if (!Views.isAway(p, k.index())) return false; p.views_away &= ~(@as(u8, 1) << @intCast(k.index())); p.settle(); + pardes.panes.reloadTerminals(p); p.needs_frame = true; return true; } diff --git a/core/Editor.zig b/core/Editor.zig index 9781d857..aaf6ab05 100644 --- a/core/Editor.zig +++ b/core/Editor.zig @@ -10,7 +10,7 @@ const Registers = @import("Registers.zig"); /// The library's build (build.zig `library`): a text with no pane and no /// core, its characters its own. Where an edit reaches a pane it branches /// on this at compile time, so the library never compiles the core. -pub const lib = @import("pardes_config").lib; +pub const lib = @import("pardes_options").lib; const Pardes = if (lib) void else @import("Core.zig"); const Syntax = if (lib) @import("lib_editor.zig").Syntax else void; const modal = @import("modal.zig"); diff --git a/core/Output.zig b/core/Output.zig index ab84ae35..759bada9 100644 --- a/core/Output.zig +++ b/core/Output.zig @@ -9,7 +9,8 @@ const Pardes = pardes.Pardes; const modal = @import("modal.zig"); const limits = @import("memory.zig").limits; const builtins = @import("builtins.zig"); -const build_options = @import("pardes_config"); +const build_options = @import("pardes_options"); +const build_info = @import("build_info"); const lsp = @import("lsp/lsp.zig"); const look = @import("look.zig"); const locations = @import("locations.zig"); @@ -896,9 +897,9 @@ pub fn openBuild(p: *Pardes, id: usize) !void { const w = &out.writer; try w.print("{s}\n", .{@import("runtime").upgrade.version_line}); try w.print("commit {s}\nchange {s}\nbuilt {s}\n", .{ - build_options.commit orelse "not stamped (a Debug build with -Dplatform or --prefix)", - build_options.change orelse "not stamped", - build_options.built orelse "not stamped", + build_info.commit orelse "not stamped (a Debug build with -Dplatform or --prefix)", + build_info.change orelse "not stamped", + build_info.built orelse "not stamped", }); try w.print("zig {s}\nmode {s}\ntarget {s}-{s}-{s}\nplatform {s}\n", .{ builtin.zig_version_string, @tagName(builtin.mode), @@ -906,10 +907,10 @@ pub fn openBuild(p: *Pardes, id: usize) !void { @tagName(builtin.abi), @tagName(build_options.platform), }); try w.print("grammars {s}\naddons {s}\nsemantics {x:0>16}\n\ndependencies\n{s}", .{ - if (build_options.syntax_full_grammars) "full" else if (build_options.syntax_minimal_grammars) "minimal" else "none", - if (@import("builtin_addons").on) "compiled in" else "loaded from <prefix>/lib/pardes/addons", + if (build_options.grammars == .full) "full" else if (build_options.grammars == .minimal) "minimal" else "none", + if (build_options.builtin_addons) "compiled in" else "loaded from <prefix>/lib/pardes/addons", @import("wire").semantics, - build_options.deps, + build_info.deps, }); const content = try out.toOwnedSlice(); return openRead(p, id, .{ .cmd = .Build }, "", content); @@ -918,7 +919,7 @@ pub fn openBuild(p: *Pardes, id: usize) !void { pub fn openChangelog(p: *Pardes, id: usize) !void { var out: std.Io.Writer.Allocating = .init(p.gpa); errdefer out.deinit(); - try out.writer.print("pardes {s}\n\n", .{build_options.version}); + try out.writer.print("pardes {s}\n\n", .{build_info.version}); try out.writer.writeAll(@embedFile("CHANGELOG.md")); const content = try out.toOwnedSlice(); return openRead(p, id, .{ .cmd = .Changelog }, "", content); diff --git a/core/Term.zig b/core/Term.zig index fde36420..aa05a68f 100644 --- a/core/Term.zig +++ b/core/Term.zig @@ -14,8 +14,17 @@ const dump = @import("dump.zig"); const File = @import("File.zig"); const iface = plain.term; +/// Writes into this process's emulators (a read fed, a grid reflowed, a +/// view moved, one opened, closed, loaded or made again): whether a unit's +/// replay made one, the replica engine's one rule (core/replica.zig +/// `confirm`) reads across that replay, on its one thread. +pub var writes: u32 = 0; +/// The reloads this process made (a join's, on every side) and their time, +/// for the soak's join line (test/replicas.zig `--bytes`). +pub var reloads: struct { n: u32 = 0, ns: u64 = 0, worst_ns: u64 = 0 } = .{}; + /// The terminal module's entries; null in a core built without it. -pub const ops: ?*const iface.Ops = if (@import("term_options").terminal) &@import("term").ops else null; +pub const ops: ?*const iface.Ops = if (@import("pardes_options").terminal) &@import("term").ops else null; /// What a core without a terminal says, once, where one would have been. pub const none = "no terminal in this build"; @@ -30,6 +39,8 @@ pub const Moves = iface.Moves; pub const MouseMods = iface.MouseMods; pub const MouseButton = iface.MouseButton; pub const MouseAction = iface.MouseAction; +/// A grid cell (the one a program last heard the mouse at: Pane.term_mouse). +pub const Coordinate = iface.Parts.Coordinate; pub const Page = iface.Page; pub const Span = iface.Span; pub const Ink = iface.Ink; @@ -91,7 +102,9 @@ pub const State = struct { var arena: std.heap.ArenaAllocator = .init(gpa); defer arena.deinit(); const parts = try walk.load(iface.Parts, arena.allocator(), bytes[8..][0..n], null); + o.media(media); out.* = .{ .impl = try o.load(gpa, bytes[8 + n ..], &parts) }; + writes +%= 1; } }; @@ -111,18 +124,52 @@ pub fn open(gpa: std.mem.Allocator, cols: u16, rows: u16) !*State { const o = ops orelse return error.NoTerminal; const s = try gpa.create(State); errdefer gpa.destroy(s); + o.media(media); s.* = .{ .impl = try o.open(gpa, cols, rows) }; + writes +%= 1; return s; } +/// A kitty image's medium (a file, a temporary file, shared memory: the +/// session's machine's) as its emulator reads it, made the tape's answer +/// (P30: the device's answer as it was, as a file's bytes are): the session +/// reads it, a temporary file deleted and shared memory unlinked there once, +/// and every replica is handed the same bytes, or the same failure. Under +/// screen state a replica feeds no emulator: the read is the session's. +fn media(ctx: *const anyopaque, read: *const fn (*const anyopaque) iface.MediumError![]u8, gpa: std.mem.Allocator) iface.MediumError![]u8 { + if (tape.screenState()) return read(ctx); + return tape.valueIn(.medium, gpa, readMedium, .{ read, ctx }); +} + +fn readMedium(read: *const fn (*const anyopaque) iface.MediumError![]u8, ctx: *const anyopaque) iface.MediumError![]u8 { + return read(ctx); +} + /// It and what it holds, freed, all of it with its own allocator (the /// one it was opened with): the allocator a caller hands is not used. pub fn close(s: *State, _: std.mem.Allocator) void { const own = the().gpa(s.impl); + writes +%= 1; the().close(s.impl); own.destroy(s); } +/// Its emulator made again from its own snapshot, where it is: at a join +/// every side does it, so that all hold the same pages (ghostty prunes its +/// history a page at a time, and a snapshot does not say how its rows were +/// cut into pages). The snapshot's hash, which every side compares. +pub fn reload(s: *State) !u64 { + writes +%= 1; + const t0 = @import("FrameStats.zig").nowNs(); + defer { + reloads.n += 1; + const dt = @import("FrameStats.zig").nowNs() -| t0; + reloads.ns += dt; + reloads.worst_ns = @max(reloads.worst_ns, dt); + } + return the().reload(s.impl); +} + /// When its next kitty animation frame is due (ms on the core's clock), as /// its last drawn frame left it; null when nothing plays. pub fn due(s: *const State) ?u64 { @@ -132,6 +179,7 @@ pub fn due(s: *const State) ?u64 { /// Loaded from a dump without its shell: its program's modes reset, its /// history marked off from what the next shell prints. pub fn revive(s: *State) void { + writes +%= 1; the().revive(s.impl); } @@ -150,6 +198,7 @@ pub fn stop() void { /// One read of its program's output (`Told` says where the tracked rows /// went). pub fn feed(s: *State, bytes: []const u8, tracked: []const i32, rows: []i32, erased: []bool) Told { + writes +%= 1; return the().feed(s.impl, bytes, tracked, rows, erased); } @@ -161,25 +210,30 @@ pub fn grid(s: ?*const State) Grid { /// Its view to a row of its history, or onto its output (null). pub fn viewTo(s: *State, at: ?usize) void { + writes +%= 1; the().viewTo(s.impl, at); } /// Its view moved by a number of rows (negative scrolls back). pub fn scroll(s: *State, delta: i32) void { + writes +%= 1; the().scroll(s.impl, delta); } /// Its view back onto its output. pub fn follow(s: *State) void { + writes +%= 1; the().follow(s.impl); } /// Its grid reflowed, now or when `resizeDeferred` makes it. pub fn resize(s: *State, cols: u16, rows: u16, later: bool) void { + writes +%= 1; the().resize(s.impl, cols, rows, later); } pub fn resizeDeferred(s: *State) bool { + writes +%= 1; return the().resizeDeferred(s.impl); } @@ -204,13 +258,13 @@ pub fn key(s: *State, k: plain.Key, out: *std.Io.Writer) !void { /// One mouse event for its program, as the mode and format it set ask for /// it; empty when the program does not hear of it. -pub fn mouse(s: *State, buf: *[64]u8, action: MouseAction, button: ?MouseButton, mods: MouseMods, col: i32, row: i32, any_pressed: bool) []const u8 { - return the().mouse(s.impl, buf, action, button, mods, col, row, any_pressed); +pub fn mouse(s: *State, last: *?Coordinate, buf: *[64]u8, action: MouseAction, button: ?MouseButton, mods: MouseMods, col: i32, row: i32, any_pressed: bool) []const u8 { + return the().mouse(s.impl, last, buf, action, button, mods, col, row, any_pressed); } /// A wheel turn for its program; null when the wheel is not the program's. -pub fn wheel(s: *State, buf: *[64]u8, turn: MouseButton, col: u16, row: u16, mods: MouseMods) ?[]const u8 { - return the().wheel(s.impl, buf, turn, col, row, mods); +pub fn wheel(s: *State, last: *?Coordinate, buf: *[64]u8, turn: MouseButton, col: u16, row: u16, mods: MouseMods) ?[]const u8 { + return the().wheel(s.impl, last, buf, turn, col, row, mods); } /// A paste as xterm makes one: three parts, the text between the brackets @@ -354,17 +408,6 @@ pub fn images(s: *State, gpa: std.mem.Allocator, at: ImagesAt, out: *std.ArrayLi the().images(s.impl, gpa, at, out, frame, frame_cols); } -/// The Petscii builtin on it: its kitty graphics as glyph art, or back to -/// pixels; null for none. -pub fn petscii(s: ?*const State) ?bool { - const o = ops orelse return null; - return o.petscii(if (s) |state| state.impl else null); -} - -pub fn togglePetscii(s: *State) void { - the().togglePetscii(s.impl); -} - /// Whether the screen showing holds any kitty graphics image. pub fn hasImages(s: ?*const State) bool { const o = ops orelse return false; diff --git a/core/Text.zig b/core/Text.zig index 51d660cf..1b3e6273 100644 --- a/core/Text.zig +++ b/core/Text.zig @@ -113,7 +113,7 @@ refused: bool = false, pub inline fn pane(t: *Text) ?*Pane { // the library's text has none (lib_editor.zig): known at compile time, // so what an edit does with a pane is not compiled there - if (comptime @import("pardes_config").lib) return null; + if (comptime @import("pardes_options").lib) return null; return switch (t.what) { .body => @alignCast(@fieldParentPtr("body", t)), .tag => @alignCast(@fieldParentPtr("tag", t)), diff --git a/core/ansi.zig b/core/ansi.zig index 6c23fee6..5f522536 100644 --- a/core/ansi.zig +++ b/core/ansi.zig @@ -228,6 +228,7 @@ pub fn images(p: *Pardes, s: *Surface, pane: *Pane, id: usize, tx: u16, tw: u16, .cols = @min(tw, pane.cols), .rows_of = rows_of[0..vp_rows], .tty_mode = pane.body.mode == .tty, + .petscii = pane.term_petscii, .now_ms = p.clock.stepped_ns / std.time.ns_per_ms, .cell_w = @max(1, p.view().cell_pixels.w), .cell_h = @max(1, p.view().cell_pixels.h), diff --git a/core/builtins.zig b/core/builtins.zig index 7122cd02..39c06206 100644 --- a/core/builtins.zig +++ b/core/builtins.zig @@ -532,7 +532,7 @@ pub const Restore = struct { }; /// Detach this pardes from its terminal or window, leaving the session -/// running: `pardes --attach` (or `pardes-gui --attach`) takes it back. +/// running: `pardes attach` (or `pardes-gui attach`) shows it as a client. pub const Detach = struct { pub const scope: Scope = .session; pub const enabled = pardes.can_attach; @@ -747,13 +747,13 @@ pub const Petscii = struct { pub const takes_arg = true; pub fn run(c: Ctx) void { // `on|off` sets it, as the tag's `petscii:on` reads; none flips it. - const now = if (c.pane.addon) |k| k.art.glyph else panes.Term.petscii(c.pane.terminal) orelse false; + const now = if (c.pane.addon) |k| k.art.glyph else c.pane.terminal != null and c.pane.term_petscii; if (c.arg != null) { const want = stateArg(c, OnOff, "Petscii", "on or off") orelse return; if ((want == .on) == now) return; } if (c.pane.addon) |k| k.art.glyph = !k.art.glyph; - if (c.pane.terminal) |state| panes.Term.togglePetscii(state); + if (c.pane.terminal != null) c.pane.term_petscii = !c.pane.term_petscii; } }; diff --git a/core/config.zig b/core/config.zig index 0032b03a..3dbfe566 100644 --- a/core/config.zig +++ b/core/config.zig @@ -39,7 +39,7 @@ comptime { @setEvalBranchQuota(20_000); // A path here is a leaf: no builtin's path is it or runs past it, and // none of it is a builtin's whole path. The library has no builtins. - if (!@import("pardes_config").lib) for (leader_args) |la| for (std.enums.values(Builtin)) |b| if (leader_path.get(b)) |path| { + if (!@import("pardes_options").lib) for (leader_args) |la| for (std.enums.values(Builtin)) |b| if (leader_path.get(b)) |path| { if (std.mem.startsWith(u8, path, la.path) or std.mem.startsWith(u8, la.path, path)) @compileError("leader_args path collides with " ++ @tagName(b) ++ ": " ++ la.path); }; diff --git a/core/dump.zig b/core/dump.zig index e6cdceec..eb0ef263 100644 --- a/core/dump.zig +++ b/core/dump.zig @@ -261,7 +261,9 @@ pub fn image(p: *Pardes, name: []const u8) ![]u8 { /// first delta brings each afresh). What is left is the session's mutable /// state, made in its step. pub fn dumpJoin(p: *Pardes, deferred: *std.ArrayListUnmanaged(walk.Deferred)) ![]u8 { - slim_terminals = true; + // Under bytes, each terminal whole (as the join's step reloaded it on + // every side: panes.reloadTerminals), its sequence in flight with it. + slim_terminals = p.tape.screen_state; defer slim_terminals = false; // The join's file reads are the session's host's, between its steps: // with its io, which the core's tape holds (a walk's hook takes no more). @@ -270,7 +272,8 @@ pub fn dumpJoin(p: *Pardes, deferred: *std.ArrayListUnmanaged(walk.Deferred)) ![ return dumpWith(p, deferred); } -/// `dumpJoin`'s and `dumpExit`'s: a terminal dumps its size, not its emulator. +/// `dumpJoin`'s under screen state and `dumpExit`'s: a terminal dumps its +/// size, not its emulator. pub var slim_terminals = false; /// `dumpJoin`'s: a plain kind's pane carries its file (SlotRecord.file), /// read with this io. diff --git a/core/lib_editor.zig b/core/lib_editor.zig index c459241a..3fe631af 100644 --- a/core/lib_editor.zig +++ b/core/lib_editor.zig @@ -3,7 +3,7 @@ //! true`, docs/next-editor.md). In-memory editing with helix's keys: no //! files, commands, builtins, prompts or views, which come back to the //! caller as an `action`. Nothing is copied here: a key runs the editor's -//! own normal.zig and edit.zig, built with `pardes_config.lib`, where a +//! own normal.zig and edit.zig, built with `pardes_options.lib`, where a //! text has no pane and its characters are its own. //! //! The editor is a value of plain data (`Editor(capacity)`): no pointer, diff --git a/core/memory.zig b/core/memory.zig index c628ae49..0e0dba29 100644 --- a/core/memory.zig +++ b/core/memory.zig @@ -1,6 +1,6 @@ const std = @import("std"); const builtin = @import("builtin"); -const config = @import("pardes_config"); +const config = @import("pardes_options"); const KiB = 1024; const MiB = 1024 * KiB; diff --git a/core/mouse.zig b/core/mouse.zig index cdf4892e..1882b691 100644 --- a/core/mouse.zig +++ b/core/mouse.zig @@ -184,7 +184,7 @@ fn programWheel(p: *Pardes, id: usize, m: Mouse, col: u16, row: u16) bool { .wheel_left => .wheel_left, else => .wheel_right, }; - const bytes = panes.Term.wheel(pane.terminal.?, &buf, wheel, gcol, grow, .{ .alt = m.alt, .ctrl = m.ctrl }) orelse return true; + const bytes = panes.Term.wheel(pane.terminal.?, &pane.term_mouse, &buf, wheel, gcol, grow, .{ .alt = m.alt, .ctrl = m.ctrl }) orelse return true; for (0..@intCast(config.wheel_rows)) |_| p.emitWrite(id, bytes); return true; } @@ -301,7 +301,7 @@ fn programMouse(p: *Pardes, m: Mouse) bool { }; if (m.kind == .press) grab.held |= bit; if (m.kind == .release) grab.held &= ~bit; - const bytes = panes.Term.mouse(pane.terminal.?, &buf, action, button, mods, col, row, grab.held != 0); + const bytes = panes.Term.mouse(pane.terminal.?, &pane.term_mouse, &buf, action, button, mods, col, row, grab.held != 0); if (bytes.len > 0) p.emitWrite(grab.id, bytes); if (grab.held == 0) v.mouse_grab = null; return true; @@ -325,7 +325,7 @@ fn programMouse(p: *Pardes, m: Mouse) bool { pane.focus = .body; pane.closePrompt(); v.mouse_grab = .{ .id = id, .serial = pane.serial, .held = bit, .unshift = shifted_to_program }; - const bytes = panes.Term.mouse(pane.terminal.?, &buf, .press, button, mods, cell.col, cell.row, true); + const bytes = panes.Term.mouse(pane.terminal.?, &pane.term_mouse, &buf, .press, button, mods, cell.col, cell.row, true); if (bytes.len > 0) p.emitWrite(id, bytes); return true; }, @@ -333,7 +333,7 @@ fn programMouse(p: *Pardes, m: Mouse) bool { // pardes's. .release, .drag => return false, .motion => { - const bytes = panes.Term.mouse(pane.terminal.?, &buf, .motion, null, mods, cell.col, cell.row, false); + const bytes = panes.Term.mouse(pane.terminal.?, &pane.term_mouse, &buf, .motion, null, mods, cell.col, cell.row, false); if (bytes.len > 0) p.emitWrite(id, bytes); // Under 1003 the move is the program's; below that pardes // hovers as ever. @@ -435,7 +435,7 @@ fn chordCutPaste(p: *Pardes, cut: bool) edit.Error!void { const row = @max(0, pane.sel[sel_slot].r1 - @as(i32, pane.tag_rows)); var mb: [64]u8 = undefined; for ([_]panes.Term.MouseAction{ .press, .release }) |action| { - const bytes = panes.Term.mouse(pane.terminal.?, &mb, action, .left, .{}, col, row, action == .press); + const bytes = panes.Term.mouse(pane.terminal.?, &pane.term_mouse, &mb, action, .left, .{}, col, row, action == .press); if (bytes.len > 0) p.emitWrite(s.id, bytes); } } diff --git a/core/panes.zig b/core/panes.zig index 7eb6cad2..574c697e 100644 --- a/core/panes.zig +++ b/core/panes.zig @@ -125,6 +125,12 @@ pub const Pane = struct { pub const Focus = enum { body, tag }; pub const SessionView = struct { wrap: bool = true, layered: bool = true, body_h: u32 = 0, tagline_h: u32 = 0, rect_h: u16 = 0 }; terminal: ?*Term.State = null, + /// Its terminal's, kept by the pane, which a rollback puts back, not by + /// the emulator, which none does (a speculation writes them): the grid + /// cell its program last heard the mouse at (motion is told once a + /// cell), and its kitty graphics drawn as glyph art (Petscii). + term_mouse: ?Term.Coordinate = null, + term_petscii: bool = false, gpa: std.mem.Allocator, serial: u32 = 0, /// What the control filesystem keeps of this pane -- addr and limit, the @@ -960,15 +966,17 @@ pub const Pane = struct { /// replica by its authority (the next delta says), on such an authority /// once the step's unit is out (`resizeDeferred`). pub fn resizeGrid(pane: *Pane, cols: u16, rows: u16) void { - // A screen-state client's speculation does what its replay does - // (its selections, never the grid): it waits for no round trip. - if (!tape.screenState() and tape.authorityOnly("resize a terminal")) return; + // A client's speculation does what its replay does (its + // selections) but the grid: it waits for no round trip. Under bytes + // it owes the grid (`touchTerminal`): its input is replayed when + // confirmed, never taken as speculated (replica.zig `confirm`). const state = pane.terminal orelse return; if (cols != pane.cols) for (0..pane.sel.len) |button| { pane.clearPointerSelection(button); pane.sel[button].state = .none; }; if (tape.screenReplica()) return; + if (tape.speculating()) return tape.touchTerminal(); // A client typing at another size than the last typist's read // history rows its replay held as holes, and the rows came // renumbered (2026-10-30): the authority's waits for the unit. @@ -1111,6 +1119,31 @@ pub const Term = @import("Term.zig"); /// not follow the output (no memory for its pin), so it was reset. pub const positions_lost = "terminal edit position reset: out of memory"; +/// At a join (Core's openView, rejoinView): under bytes, every live +/// terminal made again from its own snapshot, on every side alike, the +/// session included (Term.reload): an emulator loaded from a snapshot holds +/// its rows in other pages than one fed from its start, and ghostty prunes +/// its history a page at a time, so the joiner, loaded from the session's +/// dump made next, and the replicas there before it, would part. The +/// session's snapshot's hash is taped, and each replica's own compared +/// with it: a check of the whole emulator at every join. +pub fn reloadTerminals(p: *Pardes) void { + if (tape.screenState()) return; + for (p.panes) |slot| if (slot) |pane| if (pane.terminal) |state| { + // Its cells' size in pixels as a feed sets it (`feedOutput`): a + // frontend's draw sets its own view's between steps (ansi.zig), a + // window's other than a terminal's, and the snapshot holds it. + Term.cellPixels(state, p.view().cell_pixels.w, p.view().cell_pixels.h); + const mine: ?u64 = Term.reload(state) catch null; + p.shell_rows.markStale(pane); + if (tape.value(.reload, sameHash, .{mine}) != mine) tape.diverged("a terminal reloaded at a join is not the session's"); + }; +} + +fn sameHash(h: ?u64) ?u64 { + return h; +} + /// The sizes steps gave terminals (`Pane.resizeGrid`), made: between /// units, on an authority with screen-state replicas (replica.Peers.unit). pub fn resizeDeferred(p: *Pardes) void { @@ -1140,16 +1173,17 @@ pub fn createTerminal(gpa: std.mem.Allocator, cols: u16, rows: u16) !*Pane { return pane; } -/// A screen-state replica's emulators' allocator (`Term.State.gpa`): the C -/// heap, outside its rollback epoch: written by deltas while a copy is -/// held, no part of it is ever a copy's to save or put back. +/// A replica's emulators' allocator (`Term.State.gpa`): the C heap, +/// outside its rollback epoch: written (by the session's bytes or deltas) +/// while a copy is held, no part of it is ever a copy's to save or put +/// back, or the pages an emulator gains then are freed with the copy. pub const emulator_gpa = std.heap.c_allocator; /// What a terminal's emulator is made with, by `createTerminal` or a pane's /// load (dump.loadPane, a closed terminal brought back): `gpa`, but on a -/// screen-state replica `emulator_gpa`. +/// replica `emulator_gpa`. pub fn emulatorGpa(gpa: std.mem.Allocator) std.mem.Allocator { - return if (tape.screenReplica()) emulator_gpa else gpa; + return if (tape.replaying()) emulator_gpa else gpa; } // ---- the session's pane slots: making, finding, closing and freeing panes, and their prompts ---- diff --git a/core/replica.zig b/core/replica.zig index 559ae8f5..67a29df3 100644 --- a/core/replica.zig +++ b/core/replica.zig @@ -40,8 +40,10 @@ const checked = builtin.mode == .debug or builtin.mode == .safe; const head_len = 6; // origin or client: u16le, seq: u32le /// A `stamp` frame (wire.zig): its header and the two clocks. const stamp_len = wire.header_len + 16; -/// Confirmed units fast-pathed under one copy before it is taken afresh: -/// a rollback replays them all. +/// Confirmed units kept under one copy before it is let go, at the next +/// unit that leaves nothing applied on top (free: it is the confirmed +/// state); a rollback replays them all, so with inputs applied on top all +/// the while it is put back at twice as many. const rebase_after = 32; /// A client compares its core's digest with the session's at most once in /// this many confirmed units (a unit that carries one, its state the @@ -568,6 +570,8 @@ pub const Stats = struct { /// the authority did not share), or another's unit first. mispredicted: u32 = 0, foreign: u32 = 0, + /// The copy put back at `rebase_after` kept units with inputs applied + /// on top: the kept units replayed, the inputs applied again. rebases: u32 = 0, units: u32 = 0, /// Its digest compared with the session's (a unit's, or quiet). @@ -905,7 +909,7 @@ pub const Replica = struct { // nothing ends on again (`neutral`); none, not known. r.last_digest.clearRetainingCapacity(); if (lastDigest(u.tape)) |d| r.last_digest.appendSlice(r.gpa, d) catch {}; - if (r.pending.items[0].terminal and r.applied > 1) { + if (r.pending.items[0].terminal and (r.applied > 1 or !r.t.screen_state)) { // Right, but what it did read a terminal: replayed later (a // rollback's `since`) it would read the deltas that came // after it. So it is taken now, over the emulator its step @@ -959,7 +963,12 @@ pub const Replica = struct { r.last_digest.clearRetainingCapacity(); if (ends) |d| r.last_digest.appendSlice(r.gpa, d) catch {}; } - if (r.applied > 0 and u.origin != r.id and ends != null and std.mem.eql(u8, ends.?, r.last_digest.items)) { + // A terminal's output is never taken so (the one rule): what it + // writes outside the copy is applied once, at its place, and much + // of it no digest covers (a colour set, a mode). + if (r.applied > 0 and u.origin != r.id and ends != null and std.mem.eql(u8, ends.?, r.last_digest.items) and + (r.t.screen_state or !tape.feedsTerminal(u.tape))) + { // Nothing a digest covers moved: what was applied on top is // what the session will apply on top of it. Replayed when the // copy is next put back. @@ -992,6 +1001,7 @@ pub const Replica = struct { // replayed by a rollback were, if at all, as they came). const check = ends != null and r.checkDue(); r.t.checks = check; + const writes = Term.writes; const replayed = tape.replayUnit(&r.t, u.tape); r.t.checks = false; if (replayed) |why| { @@ -1015,10 +1025,15 @@ pub const Replica = struct { // or freed here, and is not put back with the copy: a rollback // replaying the unit again would close a terminal freed already (the // soak, a `Del` of the shell). Let go with the copy. + // The one rule: a unit that wrote an emulator (a terminal's output, + // a grid reflowed, a view moved, one reloaded at a join) wrote what + // no copy holds: kept, a rollback would replay it into what it + // wrote already (the bytes fed twice). It goes with the copy: the + // state is the confirmed one, nothing being on top. const c = r.core(); for (c.retired_panes.current, c.retired_panes.previous) |x, y| retiring = retiring or x != null or y != null; for (c.panes, serials) |slot, n| retiring = retiring or (if (slot) |pane| pane.serial else 0) != n; - if (retiring) { + if (retiring or (!r.t.screen_state and Term.writes != writes)) { r.copy.release(); rollback.Epoch.select(null); return r.clearSince(); @@ -1035,22 +1050,23 @@ pub const Replica = struct { if (r.diverged == null) r.diverged = r.gpa.dupe(u8, why) catch return; } - /// A unit kept to replay when the copy is next put back; past - /// `rebase_after` of them, that is now (`toConfirmed`). + /// A unit kept to replay when the copy is next put back (`rebase_after`). fn keepSince(r: *Replica, unit: []const u8) void { const kept = r.gpa.dupe(u8, unit) catch return r.fail("out of memory"); r.since.append(r.gpa, kept) catch return r.fail("out of memory"); - if (r.since.items.len >= rebase_after) { - r.stats.rebases += 1; - // Nothing on top: it is the confirmed state already. - if (r.applied == 0) { - r.copy.release(); - rollback.Epoch.select(null); - return r.clearSince(); - } - r.toConfirmed(); - r.dirty = true; + if (r.since.items.len < rebase_after) return; + // Nothing on top: it is the confirmed state already. + if (r.applied == 0) { + r.copy.release(); + rollback.Epoch.select(null); + return r.clearSince(); } + // An input applied on top (the session's pump unit before its own + // unit, the next to come): let go then, not replayed whole now. + if (r.since.items.len < 2 * rebase_after) return; + r.stats.rebases += 1; + r.toConfirmed(); + r.dirty = true; } fn clearSince(r: *Replica) void { @@ -1139,7 +1155,9 @@ pub const Replica = struct { const keyboard = if (c.panes[c.view().active]) |pane| pane.terminal != null else false; c.update(in.event); c.step(); - p.terminal = r.t.screen_state and (keyboard or r.t.touched); + // Under bytes: it owes an emulator a write it skipped (a grid's + // size), replayed when confirmed. + p.terminal = if (r.t.screen_state) keyboard or r.t.touched else r.t.touched; const clean = tape.endSpeculation(&r.t); const dt = nowNs() - t0; // Where a blob was written, should one be: the input that did. @@ -1215,7 +1233,6 @@ pub const Replica = struct { r.retiring = for (c.retired_panes.current, c.retired_panes.previous) |x, y| { if (x != null or y != null) break true; } else false; - if (!r.t.screen_state) return; for (r.core().panes, &r.views) |slot, *v| v.* = if (slot) |pane| if (pane.terminal) |state| pardes.Term.grid(state).view else null else null; } @@ -1230,7 +1247,6 @@ pub const Replica = struct { } fn putViews(r: *Replica) void { - if (!r.t.screen_state) return; for (r.core().panes, r.views) |slot, at| if (slot) |pane| if (pane.terminal) |state| pardes.Term.viewTo(state, at); } @@ -2055,6 +2071,10 @@ pub const Peers = struct { /// After each flush of a client's terminals, told: the soak's record /// of each terminal as each version left it (test/replicas.zig). flushed: ?struct { ctx: *anyopaque, f: *const fn (*anyopaque, *Pardes, *Screens) void } = null, + /// Its clients' terminals cross as the pty's bytes in its units, each + /// client's emulator its own (P29, P32), not as screen state: the + /// soak's (test/replicas.zig `--bytes`), until the switch. + bytes: bool = false, pub const Note = union(enum) { join: Joining, input: Msg, screen: Msg, gone: *Peer, check: *Peer, joined: *Peer }; /// A connection to join, and the view it joins again for, if it does. @@ -2175,6 +2195,14 @@ pub const Peers = struct { ps.screensOut(core, .flush); } + /// What its steps recorded passed a unit's bound (`tape.unit_max`): a + /// unit of its own now, between two inputs of the pump (Tape.cut). + fn cutUnit(ctx: *anyopaque) void { + const ps: *Peers = @ptrCast(@alignCast(ctx)); + ps.seq += 1; + ps.unit(0, ps.seq); + } + const ScreensOut = enum { flush, fill }; /// What each client is owed of the terminals (`Screens.flush`), or the @@ -2186,6 +2214,7 @@ pub const Peers = struct { } fn screensTo(ps: *Peers, core: *Pardes, peer: *Peer, comptime what: ScreensOut) void { + if (ps.bytes) return; defer { for (ps.msgs.items) |m| ps.gpa.free(m); ps.msgs.clearRetainingCapacity(); @@ -2219,8 +2248,9 @@ pub const Peers = struct { ps.t.unit_digests = true; // Terminals cross as screen state: a unit carries no pty bytes, // and its digest is a word (PARDES_REPLICA_TRACE: one a field). - ps.t.screen_state = true; + ps.t.screen_state = !ps.bytes; ps.t.whole_digest = std.c.getenv("PARDES_REPLICA_TRACE") == null; + ps.t.cut = .{ .ctx = ps, .f = cutUnit }; ps.screens = .init(ps.gpa); tape.on = &ps.t; core.tape = &ps.t; @@ -3240,13 +3270,13 @@ pub const Link = struct { var buf: [1024]u8 = undefined; const e = &c.r.echo.stats; var w: std.Io.Writer = .fixed(&buf); - w.print("inputs {d} at_once {d} stopped {d} units {d} fast {d} neutral {d} mispredicted {d} foreign {d} visible {d} rtt_us {d} spec_us {d}/{d} copy_us {d}/{d} rollback_us {d}/{d} join_ms {d} blobs {d} from_memory {d} from_disk {d} sent_kb {d} echo {d}/{d} confirmed {d} missed {d} draws {d} again {d}", .{ + w.print("inputs {d} at_once {d} stopped {d} units {d} fast {d} neutral {d} mispredicted {d} foreign {d} visible {d} rtt_us {d} spec_us {d}/{d} copy_us {d}/{d} rollback_us {d}/{d} join_ms {d} blobs {d} from_memory {d} from_disk {d} sent_kb {d} echo {d}/{d} confirmed {d} missed {d} draws {d} again {d} rebases {d} copies {d} checks {d}", .{ st.inputs, st.speculated, st.stopped, st.units, st.fast, c.r.neutral, st.mispredicted, st.foreign, c.visible, c.r.rtt_ns / 1000, pctOf(st.spec_ns.items, 50) / 1000, pctOf(st.spec_ns.items, 99) / 1000, pctOf(st.copy_ns.items, 50) / 1000, pctOf(st.copy_ns.items, 99) / 1000, pctOf(st.rollback_ns.items, 50) / 1000, pctOf(st.rollback_ns.items, 99) / 1000, c.join_ms, c.join.blobs, c.join.from_memory, c.join.from_disk, c.join.sent_bytes >> 10, e.predicted, e.predicted + e.unpredicted, e.confirmed, e.mispredicted, - c.draws, c.again, + c.draws, c.again, st.rebases, st.copies, st.checks, }) catch return; // What stopped its inputs, last: a word a pair before it. w.writeAll(" stops ") catch return; @@ -3677,6 +3707,56 @@ test "the copy taken for an input of its own stays once the input is confirmed: try std.testing.expectEqual(@as(u32, 1), r.stats.foreign); } +test "the session's pump units that moved nothing, kept under a key applied on top, reach the kept list's bound: it is let go at the confirm that leaves nothing applied, never replayed whole" { + // The live pair's order (core/replica.zig Peers.boundary): before it + // steps a client's key the session sends its pump's unit, which moved + // nothing; the client takes it with the key applied on top (`neutral`, + // kept), then the key's own unit (fast, kept). Two kept a key: which + // of them is the bound's is the arrivals' parity, and a pump's unit + // while idle turns it. + const gpa = std.testing.allocator; + const a = try Authority.init(gpa, .{ .cols = 80, .rows = 24, .file = "mise.toml" }, TestHost.host(), false); + defer a.deinit(); + const r = try Replica.init(gpa, 1, try a.unit(0, 0), false); + defer r.deinit(); + var sent: std.ArrayListUnmanaged([]u8) = .empty; + defer { + for (sent.items) |m| gpa.free(m); + sent.deinit(gpa); + } + freshSecond(); + // A first key, confirmed: the copy held, one unit kept (the parity + // that puts the bound on a pump's unit). + try key(r, 'j', &sent); + r.confirm(try a.take(sent.items[0])); + for (1..rebase_after) |i| { + try key(r, if (i % 2 == 0) 'j' else 'k', &sent); + a.pump(); + r.confirm((try a.pending()).?); + r.confirm(try a.take(sent.items[i])); + r.settle(); + try std.testing.expect(r.since.items.len <= rebase_after); + } + try std.testing.expectEqual(@as(u32, rebase_after - 1), r.neutral); + try std.testing.expectEqual(@as(u32, 0), r.stats.rebases); + try agrees(a, r); + // Keys applied on top all the while (one ahead of the session): the + // list is put back and replayed at twice the bound, not let grow. + try key(r, 'j', &sent); + for (0..3 * rebase_after) |i| { + try key(r, 'k', &sent); + a.pump(); + r.confirm((try a.pending()).?); + r.confirm(try a.take(sent.items[rebase_after + i])); + r.settle(); + try std.testing.expect(r.since.items.len <= 2 * rebase_after); + } + try std.testing.expect(r.stats.rebases >= 1); + r.confirm(try a.take(sent.items[sent.items.len - 1])); + r.settle(); + try agrees(a, r); +} + test "a rollback over a Tab it applied measures tabs as its core has them again" { // A tab's width is the core's (settings.tab, handed to every width // function), which the copy holds: once the process's (config.tab_now), @@ -4138,6 +4218,263 @@ test "a unit that closes or tears down a terminal is never kept over a copy take try std.testing.expectEqual(a.core.store.closed.items.len, r.core().store.closed.items.len); } +/// The emulators of a session's and a replica's terminals as a dump keeps +/// them (what pardes keeps beside each, its whole snapshot): the same +/// bytes, or a test fails. +fn sameTerminals(a: *Authority, r: *Replica) !void { + const gpa = std.testing.allocator; + for (a.core.panes, r.core().panes) |x, y| { + const theirs = (x orelse continue).terminal orelse continue; + const mine = (y orelse return error.NoPane).terminal orelse return error.NoTerminal; + var w1: std.Io.Writer.Allocating = .init(gpa); + defer w1.deinit(); + var w2: std.Io.Writer.Allocating = .init(gpa); + defer w2.deinit(); + try theirs.dumpWrite(gpa, &w1.writer); + try mine.dumpWrite(gpa, &w2.writer); + try std.testing.expectEqualSlices(u8, w1.written(), w2.written()); + } +} + +/// A session and a replica of the bytes kind (its terminals fed the pty's +/// bytes the session's units carry), the session's view on its text pane, +/// and the shell's slot. +const BytesPair = struct { + a: *Authority, + r: *Replica, + shell: pardes.Pane.Id, + + fn init() !BytesPair { + const gpa = std.testing.allocator; + const a = try Authority.init(gpa, .{ .cols = 80, .rows = 24, .boot = .tty }, TestHost.host(), false); + errdefer a.deinit(); + const r = try Replica.init(gpa, 1, try a.unit(0, 0), false); + var shell: ?pardes.Pane.Id = null; + for (a.core.panes, 0..) |slot, id| if (slot) |pane| { + if (pane.isTerminal()) shell = .at(id) else if (pane.file != null) a.core.view().active = @intCast(id); + }; + const pair: BytesPair = .{ .a = a, .r = r, .shell = shell orelse return error.NoShell }; + r.confirm(try a.local(.{ .focus = true })); + return pair; + } + + fn deinit(b: BytesPair) void { + b.r.deinit(); + b.a.deinit(); + } + + /// The session's program prints `bytes`, a unit of its own the replica takes. + fn output(b: BytesPair, bytes: []const u8) !void { + b.a.output(.{ .output = .{ .pane = b.shell, .bytes = bytes } }); + b.r.confirm((try b.a.pending()).?); + b.r.settle(); + } + + /// The client types a key over the text, and the session's own key + /// comes first: a rollback, which replays what was kept since the copy. + fn rollback(b: BytesPair) !void { + var sent: std.ArrayListUnmanaged([]u8) = .empty; + defer { + for (sent.items) |m| std.testing.allocator.free(m); + sent.deinit(std.testing.allocator); + } + try key(b.r, 'l', &sent); + try std.testing.expectEqual(@as(usize, 1), b.r.applied); + b.r.confirm(try b.a.local(.{ .key = .{ .cp = 'j', .text = "j" } })); + b.r.settle(); + b.r.confirm(try b.a.take(sent.items[0])); + b.r.settle(); + } +}; + +test "bytes: a session's output taken over a copy held ahead is fed once: a rollback does not feed it again" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell + const b = try BytesPair.init(); + defer b.deinit(); + b.r.ready(); + try std.testing.expect(b.r.copy.held); + try b.output("one line of the program's\r\n"); + try b.rollback(); + try agrees(b.a, b.r); + try sameTerminals(b.a, b.r); +} + +test "bytes: what a terminal's emulator gains while a copy is held is its own: a rollback frees none of it" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell + const b = try BytesPair.init(); + defer b.deinit(); + b.r.ready(); + // Pages and their side tables the emulator had not: thousands of rows, + // a colour and a link a word. + var line: [128]u8 = undefined; + for (0..3000) |i| b.a.output(.{ .output = .{ .pane = b.shell, .bytes = try std.fmt.bufPrint(&line, "\x1b[3{d}m{d}\x1b]8;;https://example.com/{d}\x1b\\ link\x1b]8;;\x1b\\\x1b[0m\r\n", .{ i % 8, i, i }) } }); + b.r.confirm((try b.a.pending()).?); + try b.rollback(); + try b.output("after\r\n"); + try agrees(b.a, b.r); + try sameTerminals(b.a, b.r); +} + +test "bytes: a session's output that moves nothing the digest covers (a colour set) is never taken as moving nothing: it is fed, at its place" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell + const b = try BytesPair.init(); + defer b.deinit(); + var sent: std.ArrayListUnmanaged([]u8) = .empty; + defer { + for (sent.items) |m| std.testing.allocator.free(m); + sent.deinit(std.testing.allocator); + } + // A key of its own applied on top, the session's colour comes, then the + // key is confirmed, and the session's next output is in that colour. + try key(b.r, 'l', &sent); + try std.testing.expectEqual(@as(usize, 1), b.r.applied); + try b.output("\x1b[31m"); + b.r.confirm(try b.a.take(sent.items[0])); + b.r.settle(); + try b.output("red\r\n"); + try agrees(b.a, b.r); + try sameTerminals(b.a, b.r); +} + +test "bytes: a mouse motion a speculation told a terminal's program is told again when its input is replayed: the cell last told is the pane's, put back with it" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell + const gpa = std.testing.allocator; + const b = try BytesPair.init(); + defer b.deinit(); + // The program hears every motion, in SGR form. + try b.output("\x1b[?1003h\x1b[?1006h"); + const at = b.a.core.view().rects[b.shell.index()]; + var sent: std.ArrayListUnmanaged([]u8) = .empty; + defer { + for (sent.items) |m| gpa.free(m); + sent.deinit(gpa); + } + // Its speculation encodes the motion (the cell noted) and stops at the + // pty's write; the session's unit for it is replayed. + try sent.append(gpa, try gpa.dupe(u8, try b.r.input(.{ .mouse = .{ .button = .none, .kind = .motion, .col = at.x + 3, .row = at.y + at.h / 2 } }))); + b.r.confirm(try b.a.take(sent.items[0])); + b.r.settle(); + try agrees(b.a, b.r); +} + +test "bytes: a client joins from a dump with its terminals whole, and every side, the session too, reloads each terminal in the step that opens its view: their hashes agree, and all go on as one" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell + const gpa = std.testing.allocator; + const b = try BytesPair.init(); + defer b.deinit(); + // History with colours and links, a sequence left open at the cut. + var line: [128]u8 = undefined; + for (0..400) |i| try b.output(try std.fmt.bufPrint(&line, "\x1b[3{d}m{d}\x1b]8;;https://example.com/{d}\x1b\\ link\x1b]8;;\x1b\\\x1b[0m\r\n", .{ i % 8, i, i })); + try b.output("half a colour: \x1b[38;2;10;20"); + const reloads = pardes.Term.writes; + const joined = (try b.a.join(2, null)).?; + defer gpa.free(joined.dump); + b.r.confirm(joined.unit); + try std.testing.expect(b.r.diverged == null); + try std.testing.expect(pardes.Term.writes != reloads); + const late = try Replica.initDump(gpa, 2, joined.view, joined.dump, .{ .cols = 80, .rows = 24 }); + defer late.deinit(); + late.t.screen_state = false; + late.core().echo = null; + try std.testing.expectEqual(joined.digest, late.digest()); + b.a.output(.{ .output = .{ .pane = b.shell, .bytes = ";30mthe rest of it\x1b[0m\r\n" } }); + const rest = (try b.a.pending()).?; + b.r.confirm(rest); + late.confirm(rest); + late.settle(); + try agrees(b.a, b.r); + try sameTerminals(b.a, b.r); + try agrees(b.a, late); + try sameTerminals(b.a, late); +} + +test "bytes: a session's output past a unit's bound is cut into units under it, between two reads" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell + const gpa = std.testing.allocator; + const b = try BytesPair.init(); + defer b.deinit(); + const Cuts = struct { + a: *Authority, + units: std.ArrayListUnmanaged([]u8) = .empty, + fn cut(ctx: *anyopaque) void { + const c: *@This() = @ptrCast(@alignCast(ctx)); + c.a.batched = 0; + c.a.seq += 1; + const u = c.a.unit(0, c.a.seq) catch unreachable; + c.units.append(std.testing.allocator, std.testing.allocator.dupe(u8, u) catch unreachable) catch unreachable; + } + }; + var cuts: Cuts = .{ .a = b.a }; + defer { + for (cuts.units.items) |u| gpa.free(u); + cuts.units.deinit(gpa); + } + b.a.t.cut = .{ .ctx = &cuts, .f = Cuts.cut }; + defer b.a.t.cut = null; + // A pump's worth of reads, 64 KiB each, 3 MiB in all. + var read: [64 * 1024]u8 = undefined; + for (&read, 0..) |*c, i| c.* = if (i % 80 == 79) '\n' else @intCast('a' + i % 26); + for (0..48) |_| b.a.output(.{ .output = .{ .pane = b.shell, .bytes = &read } }); + try std.testing.expect(cuts.units.items.len >= 2); + for (cuts.units.items) |u| { + try std.testing.expect(u.len <= tape.unit_max + read.len + 4096); + b.r.confirm(u); + } + if (try b.a.pending()) |u| b.r.confirm(u); + b.r.settle(); + try agrees(b.a, b.r); + try sameTerminals(b.a, b.r); +} + +test "bytes: a kitty image shown by a file, a temporary file or shared memory is the session's read, and the replica is handed its bytes: the same image, the cursor moved past it, the temporary file and the shared memory gone once, a missing file refused alike" { + if (pardes.Term.ops == null) return error.SkipZigTest; // a shell + const shm = struct { + extern "c" fn shm_open(name: [*:0]const u8, flag: c_int, mode: std.c.mode_t) c_int; + extern "c" fn shm_unlink(name: [*:0]const u8) c_int; + extern "c" fn ftruncate(fd: c_int, len: i64) c_int; + }; + // ghostty warns of the missing file, on the session alone. + const level = std.testing.log_level; + std.testing.log_level = .err; + defer std.testing.log_level = level; + const b = try BytesPair.init(); + defer b.deinit(); + const pixels: [12]u8 = @splat(0x7f); // 2 by 2, RGB + const pid = std.c.getpid(); + var names: [4][80]u8 = undefined; + const file = try std.fmt.bufPrintSentinel(&names[0], "/tmp/pardes-replica-{d}-file.rgb", .{pid}, 0); + const temp = try std.fmt.bufPrintSentinel(&names[1], "/tmp/tty-graphics-protocol-pardes-replica-{d}.rgb", .{pid}, 0); + const object = try std.fmt.bufPrintSentinel(&names[2], "/pardes-replica-{d}", .{pid}, 0); + const missing = try std.fmt.bufPrintSentinel(&names[3], "/tmp/pardes-replica-{d}-missing.rgb", .{pid}, 0); + for ([_][:0]const u8{ file, temp }) |path| { + const fd = std.c.open(path, .{ .ACCMODE = .WRONLY, .CREAT = true, .TRUNC = true }, @as(std.c.mode_t, 0o600)); + try std.testing.expect(fd >= 0); + defer _ = std.c.close(fd); + try std.testing.expectEqual(@as(isize, pixels.len), std.c.write(fd, &pixels, pixels.len)); + } + defer for ([_][:0]const u8{ file, temp }) |path| { + _ = std.c.unlink(path); + }; + { + const fd = shm.shm_open(object, @bitCast(std.c.O{ .ACCMODE = .RDWR, .CREAT = true, .TRUNC = true }), 0o600); + try std.testing.expect(fd >= 0); + defer _ = std.c.close(fd); + try std.testing.expectEqual(@as(c_int, 0), shm.ftruncate(fd, pixels.len)); + try std.testing.expectEqual(@as(isize, pixels.len), std.c.write(fd, &pixels, pixels.len)); + } + defer _ = shm.shm_unlink(object); + const enc = std.base64.standard.Encoder; + var line: [256]u8 = undefined; + var b64: [128]u8 = undefined; + for ([_][:0]const u8{ file, temp, object, missing }, "ftsf", 7..) |path, medium, id| + try b.output(try std.fmt.bufPrint(&line, "\x1b_Ga=T,t={c},i={d},f=24,s=2,v=2;{s}\x1b\\ shown\r\n", .{ medium, id, enc.encode(&b64, path) })); + try agrees(b.a, b.r); + try sameTerminals(b.a, b.r); + try std.testing.expect(std.c.access(file, std.c.F_OK) == 0); + try std.testing.expect(std.c.access(temp, std.c.F_OK) != 0); + try std.testing.expect(shm.shm_open(object, @bitCast(std.c.O{ .ACCMODE = .RDONLY }), 0) < 0); +} + test "a replica joined from the session's dump replays the units after it" { const gpa = std.testing.allocator; const a = try Authority.init(gpa, .{ .cols = 80, .rows = 24, .file = "mise.toml" }, TestHost.host(), false); diff --git a/core/root.zig b/core/root.zig index 5130cde8..45948189 100644 --- a/core/root.zig +++ b/core/root.zig @@ -98,12 +98,12 @@ pub const Host = host_io.Host; pub const frameMark = tracy.frameMark; /// The shell this build is for (build.zig's `-Dplatform`). -pub const platform = @import("pardes_config").platform; +pub const platform = @import("pardes_options").platform; -pub const version = @import("pardes_config").version; -pub const commit: ?[]const u8 = @import("pardes_config").commit; +pub const version = @import("build_info").version; +pub const commit: ?[]const u8 = @import("build_info").commit; -pub const isolated = @import("pardes_isolation").isolated; +pub const isolated = @import("pardes_options").isolated; pub const font_picker = platform == .gui or platform == .macos; @@ -443,7 +443,7 @@ test { // A window's build links the window's C (font.c over FreeType and // HarfBuzz) into each of its programs, and their allocator (ui_malloc // and the rest) is gui.zig's. - if (comptime @import("term_options").terminal and platform == .gui) _ = @import("dev").gui; + if (comptime @import("pardes_options").terminal and platform == .gui) _ = @import("dev").gui; } /// The container-level `var`s core/ may hold (at the top of a file, in a @@ -461,6 +461,7 @@ const allowed_vars = [_]struct { []const u8, []const u8, []const u8 }{ .{ "Kind.zig", "ready drawn", "this process's draws: those done, each keyed by its core, pane and serial, and the last token given, which no rollback takes back" }, .{ "Names.zig", "dp_rows dp_trace", "the scorer's scratch, written before it is read in one call" }, .{ "Turn.zig", "yield_depth", "this thread's nesting of yields (threadlocal)" }, + .{ "Term.zig", "writes reloads", "this process's emulators' writes, read across one replay on its thread (the replica engine's one rule), and its reloads' count and time" }, .{ "c_heap.zig", "allocators allocators_len allocators_lock last", "the C heap's registry of allocators and its lookup's memo" }, .{ "c_heap.zig", "test_allocator stateless", "its tests'" }, .{ "config.zig", "other_build addon_sources", "the docs check's data, a test's" }, diff --git a/core/syntax.zig b/core/syntax.zig index f95b745a..ba3851ab 100644 --- a/core/syntax.zig +++ b/core/syntax.zig @@ -1,5 +1,5 @@ const std = @import("std"); -const config = @import("pardes_config"); +const config = @import("pardes_options"); const tracy = @import("tracy.zig"); const grammar_manifest = @import("grammar_manifest.zig"); const locations = @import("locations.zig"); @@ -7,10 +7,9 @@ const regexp = @import("regexp.zig"); const c_heap = @import("c_heap"); const diff = @import("diff.zig"); -pub const enabled = config.syntax_highlighting; -const zig_grammar = config.syntax_zig_grammar; -const minimal_grammars = config.syntax_minimal_grammars; -const full_grammars = config.syntax_full_grammars; +pub const enabled = config.grammars != .disabled; +const minimal_grammars = config.grammars == .minimal or config.grammars == .full; +const full_grammars = config.grammars == .full; pub const ts = if (enabled) @import("tree-sitter") else struct { pub const Language = opaque {}; @@ -44,7 +43,7 @@ const Spec = struct { fn grammarSelected(comptime g: grammar_manifest.Grammar) bool { return switch (g.tier) { - .zig => zig_grammar, + .zig => enabled, .minimal => minimal_grammars, .full => full_grammars, }; @@ -2169,7 +2168,7 @@ test "a kept tree told its edits parses to the fresh parse's tree, places and al } test "syntax: a grammar handed in at run time colours and walks as the one compiled in" { - if (!zig_grammar) return error.SkipZigTest; + if (!enabled) return error.SkipZigTest; const gpa = std.testing.allocator; start(gpa); defer stop(); diff --git a/core/tagline.zig b/core/tagline.zig index fa25b2c1..afee0659 100644 --- a/core/tagline.zig +++ b/core/tagline.zig @@ -157,7 +157,8 @@ pub fn pathPrefix(p: *const Pardes, arena: std.mem.Allocator, pane: *Pane) ![]co if (pane.file) |f| return if (pane.prompt == .name) pane.input.own orelse f.path else f.path; // A terminal showing kitty graphics says how it draws them, as an image // pane does, and so does one drawing them as glyph art by choice. - if (panes.Term.petscii(pane.terminal)) |chosen| { + if (pane.terminal != null) { + const chosen = pane.term_petscii; const on = chosen or !p.view().frontend.native_images; if (chosen or panes.Term.hasImages(pane.terminal)) return std.fmt.allocPrint(arena, "{s} petscii:{s}", .{ (try shownDir(arena, pane)), if (on) "on" else "off" }); diff --git a/core/tape.zig b/core/tape.zig index 80a14079..f9303d67 100644 --- a/core/tape.zig +++ b/core/tape.zig @@ -132,6 +132,13 @@ pub const Site = enum(u16) { /// What a call into a kind did (Kind.Outcome), and a kind's pane's /// tag prefix: the authority's, whose core alone runs the kind. addon, + /// The hash of a terminal's snapshot as the session reloaded it at a + /// join (panes.reloadTerminals), which every replica's own reload + /// compares. + reload, + /// A kitty image's medium as a terminal's emulator read it (a file, a + /// temporary file, shared memory: Term.media), its bytes or its failure. + medium, }; /// What the sites return. wire.semantics hashes their shape with the @@ -304,6 +311,10 @@ pub const Tape = struct { /// not recorded, and no digest covers it. A replica's core never writes /// one but by `apply`. screen_state: bool = false, + /// The session's (replica.Peers): called between two of its inputs once + /// what it recorded since its last unit passes `unit_max`, to send that + /// as a unit: a pump of a flood's reads is cut into units under it. + cut: ?struct { ctx: *anyopaque, f: *const fn (*anyopaque) void } = null, /// A digest as one word (screen-state replicas: every unit of a pty's /// output carries one, at the pty's read rate), not one a field; what /// differs is then not named. @@ -426,6 +437,7 @@ pub const Tape = struct { if ((t.depth == 0 or t.every) and !t.no_digest and !t.unit_digests) recordDigest(t); if (t.depth == 0) t.flush(); t.seeFields(); + if (t.depth == 0 and t.buf.items.len >= unit_max) if (t.cut) |c| c.f(c.ctx); } // ---- replaying ---- @@ -786,6 +798,16 @@ pub const Tape = struct { // Diverged (said in `diverged`): what a speculation gets, harmless, // for the rest of the input. A replica joins again; a replay says so. if (!t.expectHost(id, @tagName(s))) return poisonOf(R); + // What a terminal told (its rows moved, its prompt, a command's + // output) is the session's answer, kept, and a replica whose + // emulators are fed the same bytes asks its own and compares: a + // check a unit, for nothing (P30: a digest, not state). + if (comptime s == .positions or s == .prompt) if (!t.screen_state) { + const mine = @call(.auto, f, full); + t.scratch.clearRetainingCapacity(); + walk.encode(R, &mine, &t.scratch.writer) catch @panic("tape: out of memory"); + if (!std.mem.eql(u8, t.scratch.written(), t.last_ret.bytes[t.last_ret.at..])) t.diverge("what this replica's terminal told ({t}) is not what the session's did", .{s}); + }; var ret = t.last_ret; return walk.decode(R, &ret, a orelse t.arena.allocator()) catch { t.diverge("the tape's answer to {t} is short", .{s}); @@ -885,17 +907,12 @@ pub const Tape = struct { return true; } - /// A speculation that moves a terminal's view: a screen-state replica's - /// may (its rollback puts the view back, replica.zig `views`, and a delta - /// sets it), any other stops (`authorityOnly`). - pub fn viewOnly(t: *Tape, comptime why: []const u8) bool { - if (!t.speculating) return false; - if (t.screen_state) { - t.touched = true; - return false; - } - t.poison(why); - return true; + /// A speculation that moves a terminal's view: it may (its rollback + /// puts the view back, replica.zig `views`); a screen-state replica's + /// says it did (a delta sets the view again). + pub fn viewOnly(t: *Tape, comptime _: []const u8) bool { + if (t.speculating and t.screen_state) t.touched = true; + return false; } /// A speculation read a terminal's rows or moved its view (`Tape.touched`). @@ -1248,6 +1265,12 @@ pub fn authority(comptime f: anytype, args: anytype) @typeInfo(@TypeOf(f)).@"fn" return (on orelse &none).authority(f, args); } +/// `value` whose answer's slices are `a`'s on a replay, as `site`'s are: +/// what its caller keeps (a kitty image's medium, Term.media). +pub fn valueIn(comptime s: Site, a: std.mem.Allocator, comptime f: anytype, args: anytype) @typeInfo(@TypeOf(f)).@"fn".return_type.? { + return (on orelse &none).call(s, a, f, args, false); +} + /// What `authority` was asked: `f` and its arguments as they are. fn question(comptime f: anytype, args: anytype) u64 { var h = std.hash.Wyhash.init(@intFromPtr(&f)); @@ -1465,6 +1488,30 @@ pub fn endSpeculation(t: *Tape) bool { return !t.poisoned; } +/// About what a unit of the session's holds at most (`Tape.cut`): a pump +/// takes up to 496 reads of 64 KiB, which as one unit could pass the 16 MiB +/// a message may be (replica.zig `lag_max`'s neighbour, wire's bound). +pub const unit_max = 1 << 20; + +/// Whether a unit feeds a terminal its program's output (a pty's read; an +/// input kept by hash is taken to): never taken as moving nothing (the +/// replica engine's one rule, core/replica.zig `confirm`). +pub fn feedsTerminal(bytes: []const u8) bool { + const Tag = std.meta.Tag(Input); + const EventTag = std.meta.Tag(pardes.Event); + var r: walk.Reader = .{ .bytes = bytes }; + while (nextRecord(&r)) |rec| switch (rec.kind) { + .blob => if (rec.payload.len > 0 and rec.payload[0] == @backingInt(Kind.input)) return true, + .input => { + if (rec.payload.len < @sizeOf(Tag) + @sizeOf(EventTag)) continue; + if (!std.mem.eql(u8, rec.payload[0..@sizeOf(Tag)], std.mem.asBytes(&@as(Tag, .update)))) continue; + if (std.mem.eql(u8, rec.payload[@sizeOf(Tag)..][0..@sizeOf(EventTag)], std.mem.asBytes(&@as(EventTag, .output)))) return true; + }, + else => {}, + }; + return false; +} + /// Whether two tapes record the same inputs, host calls and answers, /// their digests aside. pub fn sameRecords(a: []const u8, b: []const u8) bool { diff --git a/core/term/TerminalImages.zig b/core/term/TerminalImages.zig index feba5ddc..d0d364a1 100644 --- a/core/term/TerminalImages.zig +++ b/core/term/TerminalImages.zig @@ -24,9 +24,6 @@ const image_decode_pixels: usize = 64 * 1024 * 1024; /// oldest past this): a 4K picture in RGBA, with room for a second. pub const storage_limit = 64 * 1024 * 1024; -/// This pane asks for its images as glyph art even where pixels could be -/// drawn (the Petscii builtin). -petscii: bool = false, /// Pixels in RGBA for images ghostty-vt holds in another format (RGB, /// grey): only for images on screen, dropped the frame they are not. /// The emulator's own allocator's, as the emulator is (`draw`'s `own`): @@ -191,7 +188,7 @@ pub fn draw( const bottom = pages.getBottomRight(.viewport) orelse return; const cw: u32 = @max(1, where.cell_w); const ch: u32 = @max(1, where.cell_h); - const ctx: Ctx = .{ .ti = ti, .own = own, .gpa = gpa, .out = out, .pane = where.pane, .serial = where.serial, .tx = where.tx, .body_y = where.body_y, .cols = where.cols, .rows_of = rows_of, .cw = cw, .ch = ch }; + const ctx: Ctx = .{ .ti = ti, .own = own, .gpa = gpa, .out = out, .pane = where.pane, .serial = where.serial, .tx = where.tx, .body_y = where.body_y, .cols = where.cols, .rows_of = rows_of, .cw = cw, .ch = ch, .glyph = where.petscii }; // Handed on lowest z first (the storage's order is a hash map's), the // order a shell draws them in; equal z keeps the order they came in. const first = out.items.len; @@ -283,6 +280,8 @@ const Ctx = struct { rows_of: []const ?u16, cw: u32, ch: u32, + /// Its images as glyph art (the pane's Petscii). + glyph: bool, /// Draw `src` of `img` over `dst`, one cell row of it at a time: a row /// is shown, or not, or shown elsewhere, as the body lays it out. @@ -323,7 +322,7 @@ const Ctx = struct { }, .key = plain.Placement.keyOf(ctx.serial, img.id, @truncate(img.generation)), .z = z, - .art = .{ .glyph = ctx.ti.petscii }, + .art = .{ .glyph = ctx.glyph }, }) catch {}; } } diff --git a/core/term/term.zig b/core/term/term.zig index 6e36816a..59511727 100644 --- a/core/term/term.zig +++ b/core/term/term.zig @@ -31,6 +31,8 @@ pub const ops: iface.Ops = .{ .parts = cast(iface.Ops, "parts", terminal_.parts), .snapshot = cast(iface.Ops, "snapshot", terminal_.snapshot), .load = cast(iface.Ops, "load", terminal_.load), + .reload = cast(iface.Ops, "reload", terminal_.reload), + .media = terminal_.media, .feed = cast(iface.Ops, "feed", terminal_.feed), .grid = cast(iface.Ops, "grid", terminal_.grid), .viewTo = cast(iface.Ops, "viewTo", terminal_.viewTo), @@ -62,8 +64,6 @@ pub const ops: iface.Ops = .{ .spanColor = terminal_.spanColor, .paint = cast(iface.Ops, "paint", terminal_.paint), .images = cast(iface.Ops, "images", terminal_.images), - .petscii = cast(iface.Ops, "petscii", terminal_.petscii), - .togglePetscii = cast(iface.Ops, "togglePetscii", terminal_.togglePetscii), .hasImages = cast(iface.Ops, "hasImages", terminal_.hasImages), .encoder = cast(iface.Ops, "encoder", terminal_.encoder), .encoderFree = cast(iface.Ops, "encoderFree", terminal_.encoderFree), diff --git a/core/term/terminal.zig b/core/term/terminal.zig index d99cfb79..e57193a6 100644 --- a/core/term/terminal.zig +++ b/core/term/terminal.zig @@ -181,9 +181,6 @@ pub const State = struct { reply: [4096]u8 = undefined, reply_len: u16 = 0, reply_dropped: u32 = 0, - /// The grid cell the program last heard the mouse at, so motion is - /// reported once per cell. - mouse_cell: ?ghostty_vt.Coordinate = null, /// The kitty graphics its program placed, as drawn (TerminalImages.zig). images: TerminalImages = if (images_enabled) .{} else {}, /// Counts the emulator's writes (output, a resize, its view scrolled): @@ -201,13 +198,17 @@ pub const State = struct { /// The stream over the emulator, its answers to the program and its /// size reports routed here, PNG decoded: what `create` and a dump's - /// load both do once the emulator is in place. - fn wire(s: *State) void { - s.stream = .init(.{ .handler = .{ .inner = s.vt.vtHandler() }, .allocator = s.gpa }); + /// load both do once the emulator is in place. False when the stream's + /// keeper of a sequence in flight had no room (ghostty goes on without + /// it, swallowing the error): `open` and `load` refuse the terminal then, + /// as at any allocation that fails. + fn wire(s: *State) bool { + s.stream = .init(.{ .handler = .{ .inner = s.vt.vtHandler() }, .allocator = s.gpa, .continuation_max_bytes = continuation_max }); s.stream.handler.inner.effects.write_pty = ptyReport; s.stream.handler.inner.effects.device_attributes = ptyDeviceAttrs; s.stream.handler.inner.effects.size = ptySize; if (comptime images_enabled) TerminalImages.installPngDecoder(); + return s.stream.continuation.?.bytes.capacity > 0; } }; @@ -253,8 +254,6 @@ pub fn parts(s: *const State) Term.Parts { return .{ .reply = s.reply[0..s.reply_len], .reply_dropped = s.reply_dropped, - .mouse_cell = if (s.mouse_cell) |c| .{ .x = c.x, .y = c.y } else null, - .petscii = if (comptime images_enabled) s.images.petscii else false, .view = s.vt.screens.active.pages.scrollbar().offset, .phase = h.phase, .started = h.started, @@ -268,14 +267,42 @@ pub fn parts(s: *const State) Term.Parts { }; } +/// The most bytes of a sequence its program began and has not ended (a +/// CSI, an OSC, a UTF-8 codepoint, a kitty graphics chunk: 4 KiB of payload) +/// that its stream keeps, so a snapshot taken between any two reads carries +/// it (`snapshot`). Past it the sequence is lost at a cut, as every one was +/// before. +pub const continuation_max = 64 * 1024; + /// Its emulator as the dump keeps it: ghostty's snapshot (both screens, -/// their history, styles, links and kitty images). A sequence its program -/// had begun and not ended is not kept: the snapshot is at the ground -/// state. `slim`, a join's dump (dump.zig `dumpJoin`): its size alone, an +/// their history, styles, links and kitty images), and the sequence its +/// program had begun and not ended, which `load` feeds again. `slim`, a +/// join's dump under screen state (dump.zig `dumpJoin`): its size alone, an /// emulator made afresh there, which its first delta replaces. pub fn snapshot(s: *const State, gpa: std.mem.Allocator, w: *std.Io.Writer, slim: bool) !void { if (slim) return w.writeAll(std.mem.asBytes(&[2]u16{ s.vt.cols, s.vt.rows })); - try ghostty_vt.snapshot.encode(gpa, w, &s.vt, .{ .continuation = .ground }); + var held: std.Io.Writer.Allocating = .init(gpa); + defer held.deinit(); + s.stream.writeContinuation(&held.writer) catch |err| switch (err) { + // Longer than it keeps: lost, as at the ground state. + error.ContinuationUnavailable, error.ContinuationDisabled => held.clearRetainingCapacity(), + error.WriteFailed => return error.OutOfMemory, + }; + const continuation: ghostty_vt.snapshot.Continuation = if (held.written().len > 0) .{ .bytes = held.written() } else .ground; + try ghostty_vt.snapshot.encode(gpa, w, &s.vt, .{ .continuation = continuation }); +} + +/// `snapshot`'s bytes decoded, the emulator not yet at its address. +fn decode(gpa: std.mem.Allocator, bytes: []const u8) !ghostty_vt.snapshot.Decoded { + if (bytes.len == 4) { + const size = std.mem.bytesToValue([2]u16, bytes[0..4]); + return .{ .terminal = try emulator(gpa, @max(1, size[0]), @max(1, size[1]), scrollback_max), .continuation = .ground, .history_rows = .{} }; + } + var reader: std.Io.Reader = .fixed(bytes); + return ghostty_vt.snapshot.decodeExact(gpa, terminalIo(), &reader, .{ + .max_continuation_bytes = continuation_max, + .kitty_image_storage_limit = if (images_enabled) TerminalImages.storage_limit else 0, + }); } /// `snapshot`'s bytes and `parts` back into a new terminal, as `open` @@ -283,28 +310,81 @@ pub fn snapshot(s: *const State, gpa: std.mem.Allocator, w: *std.Io.Writer, slim pub fn load(gpa: std.mem.Allocator, bytes: []const u8, saved: *const Term.Parts) !*State { const out = try gpa.create(State); errdefer gpa.destroy(out); - var reader: std.Io.Reader = .fixed(bytes); - if (reader.buffer.len == 4) { - const size = std.mem.bytesToValue([2]u16, bytes[0..4]); - out.* = .{ .gpa = gpa, .vt = try emulator(gpa, @max(1, size[0]), @max(1, size[1])), .stream = undefined }; - } else { - var decoded = try ghostty_vt.snapshot.decodeExact(gpa, terminalIo(), &reader, .{ - .max_continuation_bytes = 0, - .kitty_image_storage_limit = if (images_enabled) TerminalImages.storage_limit else 0, - }); - defer decoded.deinit(gpa); - out.* = .{ .gpa = gpa, .vt = decoded.toOwned(), .stream = undefined }; + var decoded = try decode(gpa, bytes); + defer decoded.deinit(gpa); + out.* = .{ .gpa = gpa, .vt = decoded.toOwned(), .stream = undefined }; + if (!install(out, decoded.continuation, saved)) { + out.stream.deinit(); + out.vt.deinit(gpa); + return error.OutOfMemory; + } + return out; +} + +/// Its emulator made again from its own snapshot, where it is, what pardes +/// keeps beside it kept: what a replica and its session do at a join, so +/// that both, and the joiner loaded from the session's, hold the same pages +/// (ghostty cuts rows into pages, and prunes whole ones, by its history, +/// which a snapshot does not carry). The snapshot's hash, which every side +/// compares; on an error it is as it was. +pub fn reload(s: *State) !u64 { + const gpa = s.gpa; + var bytes: std.Io.Writer.Allocating = .init(gpa); + defer bytes.deinit(); + try snapshot(s, gpa, &bytes.writer, false); + var decoded = try decode(gpa, bytes.written()); + defer decoded.deinit(gpa); + var saved = parts(s); + var reply: [@typeInfo(@FieldType(State, "reply")).array.len]u8 = undefined; + @memcpy(reply[0..saved.reply.len], saved.reply); + saved.reply = reply[0..saved.reply.len]; + const kept = .{ s.changes, s.read, s.resize_to }; + if (comptime images_enabled) s.images.deinit(gpa); + s.stream.deinit(); + s.vt.deinit(gpa); + s.* = .{ .gpa = gpa, .vt = decoded.toOwned(), .stream = undefined, .changes = kept[0] +% 1, .read = kept[1], .resize_to = kept[2] }; + // Short of room for its sequence in flight it goes on without it (lost + // at the next cut), as ghostty's stream does: not worth a terminal. + _ = install(s, decoded.continuation, &saved); + return joinHash(bytes.written()); +} + +/// What a join compares of a snapshot (`reload`): every record of it but +/// its kitty images' (tags 8 to 10, which ghostty's framing makes optional: +/// snapshot/record.zig, a u16 tag, a u32 length, a u32 CRC and the payload, +/// after a 10-byte envelope): an animation's current frame is stepped by +/// each side's own draws, and no digest reads an image. +fn joinHash(bytes: []const u8) u64 { + const envelope = 10; + const head = 10; + var h: std.hash.Wyhash = .init(0); + h.update(bytes[0..@min(bytes.len, envelope)]); + var at: usize = envelope; + while (at + head <= bytes.len) { + const tag = std.mem.readInt(u16, bytes[at..][0..2], .little); + const end = @min(bytes.len, at + head + std.mem.readInt(u32, bytes[at + 2 ..][0..4], .little)); + if (tag < 8 or tag > 10) h.update(bytes[at..end]); + at = end; } + return h.final(); +} + +/// A decoded emulator at its address made a terminal: its stream wired, +/// the sequence in flight fed again, what pardes kept beside it put back; +/// whether its stream had all the room it wanted (`wire`). +fn install(out: *State, continuation: ghostty_vt.snapshot.Continuation, saved: *const Term.Parts) bool { if (comptime images_enabled) inline for (.{ .primary, .alternate }) |which| { if (out.vt.screens.get(which)) |screen| screen.kitty_images.image_limits = .allWithTempDir(tempDir()); }; - out.wire(); + const whole = out.wire(); + switch (continuation) { + .ground => {}, + .bytes => |bytes| out.stream.nextSlice(bytes), + } const reply = saved.reply[0..@min(saved.reply.len, out.reply.len)]; @memcpy(out.reply[0..reply.len], reply); out.reply_len = @intCast(reply.len); out.reply_dropped = saved.reply_dropped; - out.mouse_cell = coordinate(saved.mouse_cell); - out.images = if (images_enabled) .{ .petscii = saved.petscii } else {}; const h = &out.stream.handler; h.phase = saved.phase; h.started = saved.started; @@ -321,7 +401,13 @@ pub fn load(gpa: std.mem.Allocator, bytes: []const u8, saved: *const Term.Parts) const screen = out.vt.screens.active; const bottom = screen.pages.scrollbar().offset; screen.scroll(.{ .delta_row = @as(isize, @intCast(saved.view)) - @as(isize, @intCast(bottom)) }); - return out; + return whole; +} + +/// How every terminal's kitty loader has a medium's bytes from now on +/// (ghostty's `read_medium`, build/patches.zig). +pub fn media(read: Term.Media) void { + if (comptime images_enabled) ghostty_vt.kitty.graphics.LoadingImage.read_medium = read; } /// The allocator it was opened with, its own from then on. @@ -607,10 +693,13 @@ pub fn paste(state: ?*const State, text: []u8) [3][]const u8 { /// 1015 urxvt, 1005 UTF-8, else X10) how, modifiers as shift+4, meta+8, /// ctrl+16. `col`,`row` are the 0-based grid cell; a drag that left the /// grid is reported clamped to its edge, motion only when the cell -/// changed. Empty when the program does not hear of it. -pub fn mouse(state: *State, buf: *[64]u8, action: Term.MouseAction, button: ?Term.MouseButton, mods: Term.MouseMods, col: i32, row: i32, any_pressed: bool) []const u8 { +/// changed from `last`, the cell it last heard of (its pane's, which a +/// rollback puts back). Empty when the program does not hear of it. +pub fn mouse(state: *State, last: *?Term.Parts.Coordinate, buf: *[64]u8, action: Term.MouseAction, button: ?Term.MouseButton, mods: Term.MouseMods, col: i32, row: i32, any_pressed: bool) []const u8 { const input = ghostty_vt.input; var writer = std.Io.Writer.fixed(buf); + var cell = coordinate(last.*); + defer last.* = if (cell) |c| .{ .x = c.x, .y = c.y } else null; var opts: input.MouseEncodeOptions = .{ .event = state.vt.flags.mouse_event, .format = state.vt.flags.mouse_format, @@ -620,7 +709,7 @@ pub fn mouse(state: *State, buf: *[64]u8, action: Term.MouseAction, button: ?Ter .padding = .{}, }, .any_button_pressed = any_pressed, - .last_cell = &state.mouse_cell, + .last_cell = &cell, }; // A release is always reported; the rest only over the grid, or held. if (action == .release) opts.any_button_pressed = true; @@ -649,7 +738,7 @@ pub fn mouse(state: *State, buf: *[64]u8, action: Term.MouseAction, button: ?Ter /// program: its mouse report while it tracks the mouse, else, on the /// alternate screen, an arrow key in the cursor keys' mode (none for a /// sideways turn). Null when the wheel is not the program's (`Modes.wheel`). -pub fn wheel(state: *State, buf: *[64]u8, turn: Term.MouseButton, col: u16, row: u16, mods: Term.MouseMods) ?[]const u8 { +pub fn wheel(state: *State, last: *?Term.Parts.Coordinate, buf: *[64]u8, turn: Term.MouseButton, col: u16, row: u16, mods: Term.MouseMods) ?[]const u8 { const now = modes(state); if (!now.wheel) return null; const m = &state.vt.modes; @@ -658,7 +747,7 @@ pub fn wheel(state: *State, buf: *[64]u8, turn: Term.MouseButton, col: u16, row: .wheel_down => if (m.get(.cursor_keys)) "\x1bOB" else "\x1b[B", else => null, }; - return mouse(state, buf, .press, turn, mods, col, row, false); + return mouse(state, last, buf, .press, turn, mods, col, row, false); } /// The whole scrollback as plain text, `gpa`-owned: what a terminal's body @@ -731,11 +820,14 @@ pub fn close(state: *State) void { } /// A terminal pane's emulator, `cols` by `rows`, as `open` makes one. -fn emulator(gpa: std.mem.Allocator, cols: u16, rows: u16) !ghostty_vt.Terminal { +/// How much history a terminal keeps, in bytes of ghostty's pages. +const scrollback_max = 16 * 1024 * 1024; + +fn emulator(gpa: std.mem.Allocator, cols: u16, rows: u16, history: usize) !ghostty_vt.Terminal { return ghostty_vt.Terminal.init(terminalIo(), gpa, .{ .cols = cols, .rows = rows, - .max_scrollback_bytes = 16 * 1024 * 1024, + .max_scrollback_bytes = history, .kitty_image_storage_limit = if (images_enabled) TerminalImages.storage_limit else 0, // Every kitty medium, as ghostty and kitty take them: a file (t=f), // a temporary file it then deletes (t=t, in the temp directory and @@ -750,12 +842,22 @@ fn emulator(gpa: std.mem.Allocator, cols: u16, rows: u16) !ghostty_vt.Terminal { /// A new emulator, `cols` by `rows`, allocated with `gpa`, its own from /// then on (`State.gpa`). pub fn open(gpa: std.mem.Allocator, cols: u16, rows: u16) !*State { + return openKeeping(gpa, cols, rows, scrollback_max); +} + +/// `open`, keeping `history` bytes of history (the tests below fill a +/// smaller one). +fn openKeeping(gpa: std.mem.Allocator, cols: u16, rows: u16, history: usize) !*State { const state = try gpa.create(State); errdefer gpa.destroy(state); // Every other field its default, never what the heap had: a digest // reads them, and two replicas must agree (core/replica.zig). - state.* = .{ .gpa = gpa, .vt = try emulator(gpa, cols, rows), .stream = undefined }; - state.wire(); + state.* = .{ .gpa = gpa, .vt = try emulator(gpa, cols, rows, history), .stream = undefined }; + if (!state.wire()) { + state.stream.deinit(); + state.vt.deinit(gpa); + return error.OutOfMemory; + } return state; } @@ -1456,21 +1558,6 @@ pub fn due(state: *const State) ?u64 { return state.images.animation_due_ms; } -/// The Petscii builtin on a terminal: its kitty graphics as glyph art, -/// or back to pixels where the shell draws pixels. -pub fn togglePetscii(state: *State) void { - if (comptime !images_enabled) return; - state.images.petscii = !state.images.petscii; -} - -/// Whether the pane draws its kitty graphics as glyph art by choice; null -/// for a pane with no emulator. -pub fn petscii(maybe: ?*const State) ?bool { - if (comptime !images_enabled) return null; - const state = maybe orelse return null; - return state.images.petscii; -} - /// Whether the screen showing holds any kitty graphics image. pub fn hasImages(maybe: ?*const State) bool { if (comptime !images_enabled) return false; @@ -1522,3 +1609,186 @@ test "the luminance table answers exactly what ghostty computes" { } } } + +/// Its snapshot as the dump writes it, `gpa`'s (the tests below). +fn snapshotOf(gpa: std.mem.Allocator, s: *const State) ![]u8 { + var out: std.Io.Writer.Allocating = .init(gpa); + errdefer out.deinit(); + try snapshot(s, gpa, &out.writer, false); + return out.toOwnedSlice(); +} + +/// Two terminals as a replica compares them: their snapshots' bytes, what +/// pardes keeps beside the emulator, and the digest. +fn expectSame(gpa: std.mem.Allocator, a: *const State, b: *const State) !void { + const x = try snapshotOf(gpa, a); + defer gpa.free(x); + const y = try snapshotOf(gpa, b); + defer gpa.free(y); + try std.testing.expectEqualSlices(u8, x, y); + var ma: [marks_len]u8 = undefined; + var mb: [marks_len]u8 = undefined; + try std.testing.expectEqualSlices(u8, marksOf(a, &ma), marksOf(b, &mb)); + try std.testing.expectEqualSlices(u8, a.reply[0..a.reply_len], b.reply[0..b.reply_len]); + var ha: std.hash.Wyhash = .init(0); + var hb: std.hash.Wyhash = .init(0); + digest(a, &ha, true); + digest(b, &hb, true); + try std.testing.expectEqual(ha.final(), hb.final()); +} + +test "a snapshot taken inside a sequence carries it: over pardes's own handler the load continues as the terminal fed whole" { + // ghostty promises the continuation for its standard handler; pardes's + // MarkedHandler wraps it (OSC 133 marks, erases): cut at every byte of + // a CSI, an OSC (a link, pardes's own marks), a UTF-8 codepoint, a + // kitty graphics payload (APC) and a device query. + const gpa = std.testing.allocator; + const streams = [_][]const u8{ + "a\x1b[38;2;10;20;30mcolour\x1b[0m b", + "\x1b]8;;https://example.com/x\x1b\\link\x1b]8;;\x1b\\ c", + "x\u{1F469}\u{200D}\u{1F4BB}y \u{6F22}\u{5B57} \u{E9}", + "\x1b_Ga=T,i=7,f=24,s=1,v=1;AAAA\x1b\\ after", + "\x1b]133;A;aid=pardes\x07$ \x1b]133;B;aid=pardes\x07ls\r\n\x1b]133;C;aid=pardes\x07out\r\n\x1b]133;D;0;aid=pardes\x07", + "q\x1b[6n\x1b[c\x1b[16t z", + }; + for (streams) |stream| for (1..stream.len) |cut| { + const whole = try open(gpa, 24, 5); + defer close(whole); + whole.stream.nextSlice(stream[0..cut]); + whole.stream.nextSlice(stream[cut..]); + const cutting = try open(gpa, 24, 5); + defer close(cutting); + cutting.stream.nextSlice(stream[0..cut]); + const bytes = try snapshotOf(gpa, cutting); + defer gpa.free(bytes); + const loaded = try load(gpa, bytes, &parts(cutting)); + defer close(loaded); + loaded.stream.nextSlice(stream[cut..]); + expectSame(gpa, whole, loaded) catch |err| { + std.debug.print("cut at byte {d} of {f}\n", .{ cut, std.ascii.hexEscape(stream, .lower) }); + return err; + }; + }; +} + +/// What the join tests below stream: plain text, a build's log, and heavy +/// colour and links (a truecolour a cell, a link a word, marks piled on +/// letters, wide characters: what runs a page out of room for styles, +/// links and graphemes), `lines` of it, no clear. +const Corpus = enum { text, logs, heavy }; + +fn corpus(gpa: std.mem.Allocator, which: Corpus, lines: usize) ![]u8 { + var out: std.Io.Writer.Allocating = .init(gpa); + errdefer out.deinit(); + const w = &out.writer; + var prng: std.Random.DefaultPrng = .init(@as(u64, @intFromEnum(which)) + 11); + const random = prng.random(); + const words = [_][]const u8{ "the", "quick", "brown", "fox", "jumps", "over", "a", "lazy", "dog", "./core/replica.zig:1234:", "error:", "expected", "\u{6F22}\u{5B57}", "na\u{EF}ve" }; + for (0..lines) |i| switch (which) { + .text => { + for (0..random.uintLessThan(usize, 18)) |_| try w.print("{s} ", .{words[random.uintLessThan(usize, words.len)]}); + try w.print("{d}\r\n", .{i}); + }, + .logs => try w.print("[{d:>3}%] \x1b[32mBuilding CXX object\x1b[0m src/CMakeFiles/core.dir/module_{d}.cpp.o{s}\r\n", .{ i * 100 / lines, i, if (i % 9 == 0) " \x1b[1;33mwarning:\x1b[0m unused variable" else "" }), + .heavy => switch (i % 3) { + 0 => { + for (0..100) |x| try w.print("\x1b[38;2;{d};{d};{d}m{c}", .{ (i * 7 + x * 3) % 256, (i * 13 + x * 5) % 256, (x * 11 + i) % 256, @as(u8, @intCast(97 + (x + i) % 26)) }); + try w.writeAll("\x1b[0m\r\n"); + }, + 1 => { + for (0..18) |x| try w.print("\x1b]8;;https://example.com/{d}/{d}\x1b\\w{d}\x1b]8;;\x1b\\ ", .{ i, x, x }); + try w.writeAll("\r\n"); + }, + else => { + for (0..40) |x| { + try w.writeByte(@intCast(97 + (x + i) % 26)); + for (0..1 + x % 6) |j| try w.print("{u}", .{@as(u21, @intCast(0x300 + (x * 3 + j + i) % 0x6f))}); + } + try w.writeAll(" \u{6F22}\u{5B57}\u{6F22}\u{5B57} \u{1F469}\u{200D}\u{1F4BB}\r\n"); + }, + }, + }; + return out.toOwnedSlice(); +} + +/// `bytes[from..to]` fed in reads of 4 KiB, and two reflows on the way +/// at `stops` (to a little over half the width and three rows taller, then +/// back), as the join tests' every side takes them. +fn feedReflowing(s: *State, bytes: []const u8, from: usize, to: usize, stops: [2]usize) void { + const cols = s.vt.cols; + const rows = s.vt.rows; + var at = from; + while (at < to) { + if (at == stops[0]) resize(s, cols / 2 + 1, rows + 3, false); + if (at == stops[1]) resize(s, cols * 2 - 2, rows - 3, false); + var end = @min(to, at + 4096); + for (stops) |stop| if (at < stop and stop < end) { + end = stop; + }; + s.stream.nextSlice(bytes[at..end]); + at = end; + } +} + +fn sameSnapshot(gpa: std.mem.Allocator, a: *const State, b: *const State) !bool { + const x = try snapshotOf(gpa, a); + defer gpa.free(x); + const y = try snapshotOf(gpa, b); + defer gpa.free(y); + return std.mem.eql(u8, x, y); +} + +test "a join at a cut: every side reloaded from its own snapshot holds the same terminal as the joiner, after more bytes and after two reflows; a joiner nobody reloaded for with heavy colour does not" { + // The sizing pass's join check (reports/pardes-term-bytes.md, section 2) + // in the tree: a scrollback past its limit (pruned a page at a time, + // by the history of its pages), cut at a random read boundary, often + // inside a sequence. + const gpa = std.testing.allocator; + var prng: std.Random.DefaultPrng = .init(29); + const random = prng.random(); + var heavy_apart: usize = 0; + for ([_]Corpus{ .text, .logs, .heavy }, [_]usize{ 6000, 6000, 3000 }) |which, lines| { + const bytes = try corpus(gpa, which, lines); + defer gpa.free(bytes); + for (0..2) |_| { + const cut = bytes.len / 3 + random.uintLessThan(usize, bytes.len / 3); + const mid = cut + (bytes.len - cut) / 2; + const stops: [2]usize = .{ mid + (bytes.len - mid) / 3, mid + 2 * (bytes.len - mid) / 3 }; + // The session, and a replica that was there from the start. + const session = try openKeeping(gpa, 120, 40, 1 << 20); + defer close(session); + const there = try openKeeping(gpa, 120, 40, 1 << 20); + defer close(there); + feedReflowing(session, bytes, 0, cut, stops); + feedReflowing(there, bytes, 0, cut, stops); + // The same join made without the reload: the session as it + // would go on, and a joiner loaded from its snapshot. + const lineage = try openKeeping(gpa, 120, 40, 1 << 20); + defer close(lineage); + feedReflowing(lineage, bytes, 0, cut, stops); + const before = try snapshotOf(gpa, session); + defer gpa.free(before); + const unreloaded = try load(gpa, before, &parts(session)); + defer close(unreloaded); + // The join as it is made: every side reloads, the joiner loads + // the session's snapshot taken after (the join's dump). + const hash = try reload(session); + try std.testing.expectEqual(hash, try reload(there)); + try std.testing.expectEqual(hash, joinHash(before)); + const after = try snapshotOf(gpa, session); + defer gpa.free(after); + const joiner = try load(gpa, after, &parts(session)); + defer close(joiner); + for ([_]*State{ session, there, joiner, unreloaded, lineage }) |s| feedReflowing(s, bytes, cut, mid, stops); + try expectSame(gpa, session, there); + try expectSame(gpa, session, joiner); + if (!try sameSnapshot(gpa, lineage, unreloaded)) heavy_apart += @intFromBool(which == .heavy); + for ([_]*State{ session, there, joiner }) |s| feedReflowing(s, bytes, mid, bytes.len, stops); + try expectSame(gpa, session, there); + try expectSame(gpa, session, joiner); + } + } + // The fault the reload mends is real: a joiner nobody reloaded for is + // another terminal once heavy colour has pruned pages cut otherwise. + try std.testing.expectEqual(2, heavy_apart); +} diff --git a/core/tracy.zig b/core/tracy.zig index 3b0b8621..56429b1b 100644 --- a/core/tracy.zig +++ b/core/tracy.zig @@ -5,7 +5,7 @@ const std = @import("std"); const builtin = @import("builtin"); -pub const enable = if (builtin.is_test) false else @import("pardes_config").enable_tracy; +pub const enable = if (builtin.is_test) false else @import("pardes_options").enable_tracy; const SourceLocation = extern struct { name: ?[*:0]const u8, diff --git a/dev/Inbox.zig b/dev/Inbox.zig index ed3a9835..aac1f7a1 100644 --- a/dev/Inbox.zig +++ b/dev/Inbox.zig @@ -23,8 +23,6 @@ pub const Msg = union(enum) { kind_job: *KindJob, files_changed, fs_ready, - /// The daemon asks for the window again (`pardes-gui --attach`). - window, /// A shell a dead session left, its pty's master (Adopt); pid 0 is /// the last of them told. adopted: struct { pid: libc.pid_t, fd: c_int }, @@ -44,7 +42,7 @@ pub const Msg = union(enum) { .adopted => |a| if (a.fd >= 0) { _ = libc.close(a.fd); }, - .eof, .files_changed, .fs_ready, .window => {}, + .eof, .files_changed, .fs_ready => {}, } } }; @@ -264,6 +262,9 @@ pub fn close(q: *Inbox) void { } pub fn deinit(q: *Inbox) void { + // The query in flight ends first: what it still delivers is dropped. + if (q.lsp_task) |*t| t.future.cancel(q.io); + q.lsp_task = null; q.close(); std.debug.assert(q.waiting == 0); } @@ -310,6 +311,23 @@ pub fn startLsp(q: *Inbox, core: *pardes.Pardes, e: Lsp.Request) void { Lsp.start(q.io, q.lsp_allocator, core, &q.lsp_task, e, q, pushLspRows); } +/// A language server's answer or status line taken off the queue, to the +/// core (whichever frontend took it). +pub fn landLsp(q: *Inbox, core: *pardes.Pardes, m: Msg) void { + switch (m) { + .lsp => |l| { + core.update(.{ .lsp_resp = .{ .id = l.id, .rows = l.rows } }); + if (l.rows) |rows| q.lsp_allocator.free(rows); + }, + .lsp_status => |text| { + var mbuf: [256]u8 = undefined; + core.setStatus(.at(core.view().active), pardes.Messages.Message.stamp(&mbuf, "lsp", text)); + q.lsp_allocator.free(text); + }, + else => unreachable, + } +} + fn pushLspRows(ctx: ?*anyopaque, id: u32, rows: ?[]u8) void { const q: *Inbox = @ptrCast(@alignCast(ctx orelse return)); q.push(.{ .lsp = .{ .id = id, .rows = rows } }); diff --git a/dev/Ptys.zig b/dev/Ptys.zig new file mode 100644 index 00000000..16a31939 --- /dev/null +++ b/dev/Ptys.zig @@ -0,0 +1,403 @@ +//! A session's ptys: each terminal pane's shell (forked here, or adopted +//! from a session that died), its master and pid, and the reader that +//! posts what it says to the session's queue (Inbox). One table a session, +//! the session loop's (runtime/session.zig): the Host's pty calls are +//! answered here whatever the frontend (`Calls`), and a frontend draining +//! the queue hands the readers' posts back (`output`, `eof`). +const std = @import("std"); +const posix = std.posix; +const libc = std.c; +const pardes = @import("core"); +const daemon = @import("runtime").daemon; +const upgrade = @import("runtime").upgrade; +const host_io = @import("host_io.zig"); +const Inbox = host_io.Inbox; +const Ptys = @This(); + +const TIOCSWINSZ: c_int = @bitCast(@as(u32, if (@hasDecl(posix.T, "IOCSWINSZ")) posix.T.IOCSWINSZ else 0x80087467)); + +pub const Pty = struct { + fd: c_int, + pid: libc.pid_t, + /// Its reader, blocked in an Io read: `close` cancels it. + reader: ?std.Io.Future(void) = null, + /// A command pane's child, watched to its exit (host_io.watchExit); + /// the pty stays open until both its end of file and its exit. + cmd: host_io.CommandWatch = .{}, +}; + +slots: [pardes.MAX_PANES]?Pty = @splat(null), +/// Each slot's generation: a post of an older one is passed over. +gens: [pardes.MAX_PANES]u32 = @splat(0), +queue: *Inbox, +prompt_rcs: *const host_io.Shell.PromptFiles, +/// Shells a dead session left (Adopt), each waiting for the spawn of the +/// terminal pane made for it. +adoptions: host_io.Adoptions = .{}, +/// Readers run from the loop's start on (`start`): a shell spawned in the +/// first effects is read from then. +reading: bool = false, + +/// The Host's pty calls, for a host whose `ctx` is a `*Ctx` with the +/// fields `ptys: *Ptys` and `core: *Pardes`. +pub fn Calls(comptime Ctx: type) type { + return struct { + fn of(ctx: ?*anyopaque) *Ctx { + return @ptrCast(@alignCast(ctx.?)); + } + pub fn spawn(ctx: ?*anyopaque, id: pardes.Pane.Id, cwd: []const u8) void { + const s = of(ctx); + s.ptys.spawn(s.core, id, cwd); + } + pub fn write(ctx: ?*anyopaque, id: pardes.Pane.Id, bytes: []const u8) void { + of(ctx).ptys.write(id, bytes); + } + pub fn resize(ctx: ?*anyopaque, id: pardes.Pane.Id, cols: u16, rows: u16) void { + const s = of(ctx); + s.ptys.resize(s.core, id, cols, rows); + } + pub fn signal(ctx: ?*anyopaque, id: pardes.Pane.Id, sig: pardes.PtySignal) void { + of(ctx).ptys.signal(id, sig); + } + pub fn close(ctx: ?*anyopaque, id: pardes.Pane.Id) void { + of(ctx).ptys.close(id); + } + pub fn ttyTaken(ctx: ?*anyopaque, id: pardes.Pane.Id) bool { + const pt = of(ctx).ptys.slots[id.index()] orelse return false; + return host_io.ttyTaken(pt.pid, pt.fd); + } + pub fn fgName(ctx: ?*anyopaque, id: pardes.Pane.Id, buf: []u8) ?[]const u8 { + const pt = of(ctx).ptys.slots[id.index()] orelse return null; + return host_io.foregroundName(pt.pid, pt.fd, buf); + } + pub fn killJob(ctx: ?*anyopaque, id: pardes.Pane.Id) bool { + const pt = of(ctx).ptys.slots[id.index()] orelse return false; + return host_io.killJob(pt.pid, pt.fd); + } + pub fn adopt(ctx: ?*anyopaque, id: pardes.Pane.Id) void { + const s = of(ctx); + s.ptys.adoptions.ask(s.core, id.index()); + } + }; +} + +/// Pane `id`'s shell, in `cwd` (empty: where its pane's directory says), +/// or the adopted one waiting for it. +pub fn spawn(p: *Ptys, core: *pardes.Pardes, id: pardes.Pane.Id, cwd: []const u8) void { + const pane = id.index(); + if (p.adoptions.take(id)) |a| return p.take(core, pane, a); + // The new shell starts before a running one goes: one that cannot + // start leaves the running one be (pty/ctl's exec). + const running = p.slots[pane] != null; + const child = host_io.forkShell(core, pane, p.prompt_rcs, core.shellBin(), cwd, core.view().screen_h, core.view().screen_w) catch |err| { + if (running) return core.restartFailed(id, err); + return core.shellFailed(id, err); + }; + p.close(id); + p.gens[pane] +%= 1; + const command = if (core.panes[pane]) |pn| pn.command != null else false; + p.slots[pane] = .{ .fd = child.file.handle, .pid = child.pid, .cmd = .{ .watched = command and host_io.watchExit(child.pid), .fd = child.file.handle } }; + // Only a shell given no directory is asked where it is: one given a + // directory is named by it already (newShell), and the frame's poll + // (`pollCwds`) says where it went from there. + var lbuf: [pardes.memory.limits.host_path_cap + 1]u8 = undefined; + if (cwd.len == 0) if (host_io.shellCwd(child.pid, &lbuf)) |wd| core.setCwd(id, wd); + p.read(core, pane); +} + +/// An adopted shell, running already, as pane `pane`'s: told the size +/// twice (a size it never had, then the pane's), which makes it redraw. +fn take(p: *Ptys, core: *pardes.Pardes, pane: u8, a: host_io.Adoption) void { + p.close(.at(pane)); + p.gens[pane] +%= 1; + p.slots[pane] = .{ .fd = a.fd, .pid = a.pid }; + var exe_buf: [pardes.memory.limits.host_path_cap + 1]u8 = undefined; + core.acknowledgeShell(.at(pane), host_io.processExe(a.pid, &exe_buf) orelse "sh", host_io.marksPrompts(a.pid)); + var lbuf: [pardes.memory.limits.host_path_cap + 1]u8 = undefined; + if (host_io.shellCwd(a.pid, &lbuf)) |wd| core.setCwd(.at(pane), wd); + const tiny: posix.winsize = .{ .row = 1, .col = 1, .xpixel = 0, .ypixel = 0 }; + _ = posix.system.ioctl(a.fd, TIOCSWINSZ, @intFromPtr(&tiny)); + if (core.panes[pane]) |pn| p.resize(core, .at(pane), @max(pn.cols, 1), @max(pn.rows, 1)); + p.read(core, pane); +} + +/// Pane `pane`'s reader, once readers run: the place of one stopped for +/// an Upgrade let go first. One that cannot start closes the pty and says +/// why in the pane. +fn read(p: *Ptys, core: *pardes.Pardes, pane: u8) void { + if (!p.reading) return; + const pt = &(p.slots[pane] orelse return); + p.queue.cancelReader(.at(pane), p.gens[pane]); + pt.reader = p.queue.startReader(.{ .handle = pt.fd, .flags = .{ .nonblocking = false } }, .at(pane), p.gens[pane]) catch |err| { + p.close(.at(pane)); + return core.reportError(.at(pane), "terminal reader", err); + }; +} + +/// The loop's start: every shell read from now on. +pub fn start(p: *Ptys, core: *pardes.Pardes) void { + p.reading = true; + for (0..p.slots.len) |pane| p.read(core, @intCast(pane)); +} + +pub fn write(p: *Ptys, id: pardes.Pane.Id, bytes: []const u8) void { + if (p.slots[id.index()]) |pt| _ = host_io.writeFd(pt.fd, bytes); +} + +pub fn resize(p: *Ptys, core: *const pardes.Pardes, id: pardes.Pane.Id, cols: u16, rows: u16) void { + const pt = p.slots[id.index()] orelse return; + const ws = host_io.ptyWinsize(core, cols, rows); + _ = posix.system.ioctl(pt.fd, TIOCSWINSZ, @intFromPtr(&ws)); +} + +pub fn signal(p: *Ptys, id: pardes.Pane.Id, sig: pardes.PtySignal) void { + // A command whose exit is recorded is reaped: its group may be + // another's by now. + if (p.slots[id.index()]) |pt| if (!pt.cmd.exited) host_io.signalTty(pt.pid, pt.fd, sig, pt.cmd.watched); +} + +/// A daemon started since the last one died: every master told it again, +/// as `spawn` tells the first (host_io.forkShell). +pub fn tellDaemon(p: *const Ptys) void { + for (p.slots) |slot| if (slot) |pt| daemon.pty(pt.pid, pt.fd); +} + +/// The pane is gone, or its shell is: its reader out of the queue first +/// (which lets go one waiting for room there) and canceled; its pty hung +/// up, which the kernel passes on to the shell as SIGHUP; the daemon's +/// copy let go; the shell retired. +pub fn close(p: *Ptys, id: pardes.Pane.Id) void { + const pane = id.index(); + var pt = p.slots[pane] orelse return; + p.slots[pane] = null; + p.queue.cancelReader(id, p.gens[pane]); + if (pt.reader) |*r| r.cancel(p.queue.io); + _ = libc.close(pt.fd); + daemon.closed(pt.pid); + host_io.retireShell(pt.pid); +} + +/// A reader's read, off the queue (freed here). +pub fn output(p: *Ptys, core: *pardes.Pardes, o: @FieldType(Inbox.Msg, "output")) void { + defer p.queue.gpa.free(o.bytes); + if (p.gens[o.pane.index()] == o.gen) core.update(.{ .output = .{ .pane = o.pane, .bytes = o.bytes } }); +} + +/// A reader's end, off the queue: its pty's end of file, or a read that +/// failed. +pub fn eof(p: *Ptys, core: *pardes.Pardes, e: @FieldType(Inbox.Msg, "eof")) void { + const pane = e.pane.index(); + if (p.gens[pane] != e.gen) return; + if (e.failure) |err| { + p.close(e.pane); + return core.readerFailed(e.pane, err); + } + const pt = &(p.slots[pane] orelse return core.update(.{ .eof = .{ .pane = e.pane } })); + // A command's pty stays open until its child has exited: closing it + // would hang up one that runs on without it. Its exit, if it came + // first, is told now its output is in. + if (pt.cmd.watched) return host_io.commandEof(core, &p.slots, pane, p, closeWatched); + // Unwatched, a command's exit is read here, as its end, and a + // shell's, for a run waiting on it and the log. + const command = if (core.panes[pane]) |pn| pn.command != null else false; + const status = host_io.exitStatus(pt.pid, 100); + if (status != null) pt.pid = 0; // reaped: no shell to retire + p.close(e.pane); + if (command or status != null) core.update(.{ .exited = .{ .pane = e.pane, .status = status } }); + core.update(.{ .eof = .{ .pane = e.pane } }); +} + +/// The command panes' exits, told once their output is in (host_io): +/// after an exit's wake and after each batch of output. +pub fn takeExits(p: *Ptys, core: *pardes.Pardes) void { + host_io.takeExits(core, &p.slots, p, closeWatched); +} + +fn closeWatched(p: *Ptys, id: usize) void { + p.close(.at(id)); +} + +/// Where each shell is now: its pane's directory (a frame's poll). +pub fn pollCwds(p: *Ptys, core: *pardes.Pardes) void { + for (p.slots, 0..) |slot, id| if (slot) |pt| { + var lbuf: [pardes.memory.limits.host_path_cap + 1]u8 = undefined; + if (host_io.ttyCwd(pt.pid, pt.fd, core.settings.shell.effective.get(), &lbuf)) |cwd| core.setCwd(.at(id), cwd); + }; +} + +/// An Upgrade's: the readers stopped, the ptys left open. What a reader +/// posted before its cancel is in the queue still, the frontend's to +/// take; one waiting for room has it once the queue is drained. +pub fn pause(p: *Ptys) void { + for (&p.slots) |*slot| if (slot.*) |*pt| if (pt.reader) |*r| { + r.cancel(p.queue.io); + pt.reader = null; + }; +} + +/// After an Upgrade that did not happen: read on. +pub fn readOn(p: *Ptys, core: *pardes.Pardes) void { + for (p.slots, 0..) |slot, pane| if (slot) |pt| if (pt.reader == null) p.read(core, @intCast(pane)); +} + +/// The ptys an Upgrade hands to the next build. +pub fn record(p: *const Ptys, rec: *upgrade.Record) void { + for (p.slots, 0..) |slot, id| if (slot) |pt| rec.addPty(id, pt.pid, pt.fd); +} + +/// An upgraded session's shells, running on: each its pane's pty again, +/// or, when its dump would not load (`fresh`), adopted as new panes. +pub fn resumeFrom(p: *Ptys, core: *pardes.Pardes, rec: *const upgrade.Record) void { + for (rec.ptys[0..rec.nptys]) |k| { + const pane = if (rec.fresh) null else core.panes[k.pane]; + if (pane == null or !pane.?.isTerminal()) { + p.adoptions.adoptShell(core, k.pid, k.fd); + continue; + } + p.slots[k.pane] = .{ .fd = k.fd, .pid = k.pid, .cmd = .{ .watched = pane.?.command != null and host_io.watchExit(k.pid), .fd = k.fd } }; + } +} + +/// Every pty closed and every generation moved on: a Restore's (the new +/// core's panes start shells of their own) and the session's end. +pub fn stop(p: *Ptys) void { + for (0..p.slots.len) |pane| p.close(.at(pane)); + for (&p.gens) |*gen| gen.* +%= 1; +} + +/// The session's end: every shell hung up and seen out (waitRetired), the +/// adopted ones no pane took let go. +pub fn deinit(p: *Ptys) void { + p.stop(); + for (p.adoptions.list[0..p.adoptions.len]) |a| _ = libc.close(a.fd); + p.adoptions.len = 0; + host_io.waitRetired(); +} + +/// A table over `queue` with shells of its own, readers running: the +/// tests' (each slot's generation 1). +fn testing(queue: *Inbox) Ptys { + const none = struct { + const rcs: host_io.Shell.PromptFiles = .{}; + }; + return .{ .queue = queue, .prompt_rcs = &none.rcs, .gens = @splat(1), .reading = true }; +} + +fn testShell(p: *Ptys, pane: u8) !libc.pid_t { + const child = try host_io.forkShell(null, pane, p.prompt_rcs, "/bin/sh", "", 24, 80); + p.slots[pane] = .{ .fd = child.file.handle, .pid = child.pid }; + p.slots[pane].?.reader = try p.queue.startReader(.{ .handle = child.file.handle, .flags = .{ .nonblocking = false } }, .at(pane), p.gens[pane]); + return child.pid; +} + +test "a reader delivers a real shell's tail before its end of file, and closing joins it" { + const gpa = std.testing.allocator; + var queue: Inbox = .{ .io = std.testing.io, .gpa = gpa, .lsp_allocator = gpa }; + defer queue.deinit(); + var p = testing(&queue); + defer p.deinit(); + _ = try p.testShell(0); + const fd = p.slots[0].?.fd; + try std.testing.expect(host_io.writeFd(fd, "printf '\\120\\101\\122\\104\\105\\123\\055\\124\\101\\111\\114'; exit\n")); + var bytes: std.ArrayList(u8) = .empty; + defer bytes.deinit(gpa); + var ended = false; + const until = std.Io.Clock.awake.now(std.testing.io).toMilliseconds() + 2_000; + while (!ended and std.Io.Clock.awake.now(std.testing.io).toMilliseconds() < until) { + var batch = queue.take(); + defer for (batch.slice()) |msg| msg.deinit(gpa, gpa); + for (batch.slice()) |msg| switch (msg) { + .output => |o| { + try std.testing.expect(!ended); + try bytes.appendSlice(gpa, o.bytes); + }, + .eof => |e| { + try std.testing.expect(e.failure == null); + ended = true; + }, + else => return error.UnexpectedMessage, + }; + if (!ended) try std.testing.io.sleep(.fromMilliseconds(1), .awake); + } + try std.testing.expect(ended); + try std.testing.expect(std.mem.indexOf(u8, bytes.items, "PARDES-TAIL") != null); + p.close(.at(0)); + try std.testing.expect(queue.readers[0] == null); + try std.testing.expect(p.slots[0] == null); + try std.testing.expectEqual(@as(c_int, -1), libc.fcntl(fd, libc.F.GETFD)); +} + +test "a Restore's stop joins a real reader waiting for room in the queue" { + const gpa = std.testing.allocator; + var core = try pardes.Pardes.init(gpa, .{ .tty_only = true }); + defer core.deinit(); + try pardes.dump.dumpState(core); + var queue: Inbox = .{ .io = std.testing.io, .gpa = gpa, .lsp_allocator = gpa }; + defer queue.deinit(); + queue.acceptReader(.at(1), 1); + for (0..Inbox.output_capacity) |_| queue.push(.{ .output = .{ .pane = .at(1), .gen = 1, .bytes = try gpa.dupe(u8, "other pane") } }); + var p = testing(&queue); + defer p.deinit(); + _ = try p.testShell(0); + const fd = p.slots[0].?.fd; + try std.testing.expect(host_io.writeFd(fd, "printf 'after-full'; exit\n")); + try host_io.PtyTests.waitBlocked(&queue); + const old_serial = core.panes[0].?.serial; + const replacement = try pardes.dump.restore(core, core.dump_out.?, "test"); + p.stop(); + core.deinit(); + core = replacement; + // The dump's pane, its serial too; its old shell stopped all the same. + try std.testing.expectEqual(old_serial, core.panes[0].?.serial); + try std.testing.expectEqual(@as(usize, 0), queue.waiting); + try std.testing.expect(queue.readers[0] == null); + try std.testing.expectEqual(@as(c_int, -1), libc.fcntl(fd, libc.F.GETFD)); + queue.cancelReader(.at(1), 1); + queue.acceptReader(.at(0), p.gens[0]); + queue.push(.{ .eof = .{ .pane = .at(0), .gen = 1 } }); + try std.testing.expect(queue.pushOutput(.at(0), p.gens[0], try gpa.dupe(u8, "fresh"))); + var batch = queue.take(); + defer for (batch.slice()) |msg| msg.deinit(gpa, gpa); + try std.testing.expectEqual(@as(usize, 1), batch.len); + try std.testing.expectEqualStrings("fresh", batch.items[0].output.bytes); +} + +test "a pane's removal closes its pty, joins its idle reader, and its shell is reaped by the end" { + const gpa = std.testing.allocator; + const core = try pardes.Pardes.init(gpa, .{ .tty_only = true }); + defer core.deinit(); + var queue: Inbox = .{ .io = std.testing.io, .gpa = gpa, .lsp_allocator = gpa }; + defer queue.deinit(); + var p = testing(&queue); + defer p.deinit(); + while (core.nextEffect()) |_| {} + const pid = try p.testShell(0); + const fd = p.slots[0].?.fd; + try core.removePane(0, null); + // The core asks it closed (panes.retirePane): no pane outlives its pty. + while (core.nextEffect()) |e| if (e == .close_pty) p.close(e.close_pty.pane); + try std.testing.expect(p.slots[0] == null); + try std.testing.expect(queue.readers[0] == null); + try std.testing.expectEqual(@as(usize, 0), queue.waiting); + try std.testing.expectEqual(@as(usize, 0), queue.take().len); + try std.testing.expectEqual(@as(c_int, -1), libc.fcntl(fd, libc.F.GETFD)); + p.deinit(); + try std.testing.expectEqual(@as(libc.pid_t, -1), libc.waitpid(pid, null, libc.W.NOHANG)); + try std.testing.expectEqual(libc.E.CHILD, libc.errno(-1)); +} + +test "a post of an older generation is passed over" { + const gpa = std.testing.allocator; + const core = try pardes.Pardes.init(gpa, .{ .tty_only = true, .cols = 40, .rows = 12 }); + defer core.deinit(); + var queue: Inbox = .{ .io = std.testing.io, .gpa = gpa, .lsp_allocator = gpa }; + defer queue.deinit(); + var p: Ptys = .{ .queue = &queue, .prompt_rcs = undefined }; + p.gens[0] = 2; + p.output(core, .{ .pane = .at(0), .gen = 1, .bytes = try gpa.dupe(u8, "old session\n") }); + p.output(core, .{ .pane = .at(0), .gen = 2, .bytes = try gpa.dupe(u8, "current session\n") }); + const text = try pardes.Term.scrollback(core.panes[0].?.terminal, gpa); + defer gpa.free(text); + try std.testing.expect(std.mem.indexOf(u8, text, "old session") == null); + try std.testing.expect(std.mem.indexOf(u8, text, "current session") != null); +} diff --git a/dev/file_watch.zig b/dev/file_watch.zig index 84f37c81..58229d90 100644 --- a/dev/file_watch.zig +++ b/dev/file_watch.zig @@ -664,6 +664,88 @@ pub fn reloadTheme( return false; } +/// A session's file watches: the kernel's descriptor, the table (each +/// pane's mark and the theme's slot) and the reader that posts a change +/// to the session's queue (Inbox) as `files_changed`. One a session, the +/// session loop's (runtime/session.zig): the Host's three file calls are +/// answered here whatever the frontend (`Calls`), and a frontend taking +/// `files_changed` off the queue hands it back (`reload`). +pub const Watches = struct { + fd: c_int = -1, + table: Table = @splat(null), + io: std.Io, + gpa: std.mem.Allocator, + queue: *Inbox, + reader: ?std.Io.Future(void) = null, + + const Inbox = @import("Inbox.zig"); + + pub fn open(io: std.Io, gpa: std.mem.Allocator, queue: *Inbox) Watches { + return .{ .fd = init(false), .io = io, .gpa = gpa, .queue = queue }; + } + + /// The reader, from the loop's start on (none: nothing is watched for + /// a change, the marks still made). + pub fn start(w: *Watches) void { + if (w.fd >= 0) w.reader = w.io.concurrent(read, .{ w.io, w.fd, w.queue }) catch null; + } + + pub fn deinit(w: *Watches) void { + stop(w.fd); + if (w.reader) |*r| r.cancel(w.io); + w.reader = null; + if (w.fd >= 0) _ = libc.close(w.fd); + w.fd = -1; + } + + /// The marks reconciled after a wake; a second pass asked of the + /// queue when one wants it (`reloadPane`). + pub fn reload(w: *Watches, core: *pardes.Pardes) void { + if (reloadChanged(core, w.io, w.gpa, &w.table)) w.queue.push(.files_changed); + } + + /// Blocked in a read of the descriptor (a kqueue's `wait`, where there + /// is nothing to read): a change posted, whatever it was (`reload` + /// reads every mark); canceled (`deinit`), it ends. + fn read(io: std.Io, fd: c_int, queue: *Inbox) void { + if (comptime builtin.os.tag != .linux and builtin.os.tag != .freebsd) { + while (wait(fd)) queue.push(.files_changed); + return; + } + const file: std.Io.File = .{ .handle = fd, .flags = .{ .nonblocking = false } }; + var buf: [4096]u8 = undefined; + while (true) { + const n = file.readStreaming(io, &.{&buf}) catch return; + if (n == 0) return; + queue.push(.files_changed); + } + } + + /// The Host's file calls, for a host whose `ctx` is a `*Ctx` with the + /// fields `watches: *Watches` and `core: *Pardes`. + pub fn Calls(comptime Ctx: type) type { + return struct { + fn of(ctx: ?*anyopaque) *Ctx { + return @ptrCast(@alignCast(ctx.?)); + } + pub fn writeFile(ctx: ?*anyopaque, id: pardes.Pane.Id, path: []const u8, bytes: []const u8) void { + const s = of(ctx); + @import("host_io.zig").writeFile(s.core, &s.watches.table, id.index(), path, bytes); + } + pub fn watchFile(ctx: ?*anyopaque, id: pardes.Pane.Id, _: []const u8, on: bool, mode: pardes.WatchMode) void { + const s = of(ctx); + const w = s.watches; + if (applyEffect(s.core, w.io, w.fd, &w.table, id.index(), on, mode)) w.queue.push(.files_changed); + } + pub fn watchTheme(ctx: ?*anyopaque, generation: u32, on: bool) void { + const s = of(ctx); + const w = s.watches; + if (applyThemeEffect(s.core, w.gpa, w.fd, &w.table, generation, on)) w.queue.push(.files_changed); + } + }; + } +}; + pub fn identify(io: std.Io, path: []const u8) !Identity { const native = filesystem.localPath(path) orelse return error.NonLocalPath; pardes.turn.yield(); @@ -961,3 +1043,43 @@ test "a watched file deleted wakes the watch at once, and its pane says so" { _ = reloadChanged(core, io, gpa, &watches); try std.testing.expect(pane.file.?.disk_gone); } + +test "a session's watches: a marked file's change posted to the queue, the reader ended at the end" { + if (comptime !supported or !filesystem.platform_has_fs) return; + const io = std.testing.io; + const gpa = std.testing.allocator; + var tmp = std.testing.tmpDir(.{}); + defer tmp.cleanup(); + try tmp.dir.writeFile(io, .{ .sub_path = "watched", .data = "before\n" }); + var path_buf: [256]u8 = undefined; + const path = try std.fmt.bufPrint(&path_buf, ".zig-cache/tmp/{s}/watched", .{tmp.sub_path}); + const core = try pardes.Pardes.init(gpa, .{ .tty_only = true }); + defer core.deinit(); + while (core.nextEffect()) |_| {} + const id: u8 = @intCast(core.freeSlot().?); + const pane = try pardes.panes.File.open(core, id, path, 0); + var queue: Watches.Inbox = .{ .io = io, .gpa = gpa, .lsp_allocator = gpa }; + defer queue.deinit(); + var w: Watches = .open(io, gpa, &queue); + defer w.deinit(); + if (w.fd < 0) return error.NoWatcher; + defer unwatchAll(w.fd, &w.table); + while (core.nextEffect()) |effect| switch (effect) { + .watch => |watch| if (watch.pane.index() == id and watch.on) { + _ = applyEffect(core, io, w.fd, &w.table, id, watch.on, watch.mode); + }, + else => {}, + }; + w.start(); + try tmp.dir.writeFile(io, .{ .sub_path = "watched", .data = "after\n" }); + var batch: Watches.Inbox.Batch = .{}; + for (0..500) |_| { + queue.takeInto(&batch); + if (batch.len > 0) break; + try io.sleep(.fromMilliseconds(10), .awake); + } + try std.testing.expectEqual(@as(usize, 1), batch.len); + try std.testing.expect(batch.items[0] == .files_changed); + w.reload(core); + try std.testing.expectEqualStrings("after\n", pane.file.?.content); +} diff --git a/dev/gui/gui.zig b/dev/gui/gui.zig index 9695bf83..ab33abe9 100644 --- a/dev/gui/gui.zig +++ b/dev/gui/gui.zig @@ -370,17 +370,6 @@ fn emitTouchClick(g: *const Gui, in: *Input, point: TouchNormPoint, button: pard in.post(.{ .mouse = .{ .button = button, .kind = .release, .col = cell.col, .row = cell.row, .tag_hit = cell.tag_hit, .body_hit = cell.body_hit } }); } -const Pty = struct { - fd: c_int, - pid: libc.pid_t, - serial: u32, - /// Its reader, blocked in an Io read: `closePty` cancels it. - reader: ?std.Io.Future(void) = null, - /// A command pane's child, watched to its exit (host_io.watchExit); - /// the pty stays open until both its end of file and its exit. - cmd: host_io.CommandWatch = .{}, -}; - const Queue = host_io.Inbox; /// Wakes a blocking SDL_WaitEventTimeout from another thread: a push to @@ -393,32 +382,6 @@ fn sdlWake(_: ?*anyopaque) void { const PipeTasks = selection_pipe.Tasks; const output_capacity = Queue.output_capacity; -fn stopPipe() ![2]c_int { - var fds: [2]c_int = undefined; - if (libc.pipe(&fds) != 0) return error.PipeFailed; - errdefer for (fds) |fd| { - _ = libc.close(fd); - }; - for (fds) |fd| if (libc.fcntl(fd, libc.F.SETFD, @as(c_int, 1)) < 0) return error.PipeFailed; - return fds; -} - -fn watchThread(fd: c_int, stop: c_int, q: *Queue) void { - while (true) { - var fds = [_]libc.pollfd{ - .{ .fd = stop, .events = libc.POLL.IN, .revents = 0 }, - .{ .fd = fd, .events = libc.POLL.IN, .revents = 0 }, - }; - if (libc.poll(&fds, fds.len, -1) < 0) { - if (libc.errno(-1) == .INTR) continue; - return; - } - if (fds[0].revents != 0) return; - if ((fds[1].revents & (libc.POLL.ERR | libc.POLL.HUP | libc.POLL.NVAL)) != 0) return; - if (fds[1].revents != 0 and file_watch.drain(fd)) q.push(.files_changed); - } -} - const Gui = struct { addon_gpu: ?SketchGpu = null, addon_hash: [pardes.MAX_PANES]u64 = @splat(0), @@ -1001,8 +964,9 @@ fn closeWindow(g: *Gui) void { }; } -/// `pardes-gui --attach`: a window again, as the first was made, at the -/// size the last one had. False when the display will not give one. +/// A window again, as the first was made, at the size the last one had +/// (a transparent one: syncWindowOpacity). False when the display will not +/// give one. fn reopenWindow(g: *Gui) bool { const window = c.SDL_CreateWindow("pardes", g.window_w, g.window_h, g.win_flags) orelse return false; if (comptime builtin.os.tag == .macos) c.ui_macos_trackpad_attach(window); @@ -1027,14 +991,7 @@ const Own = struct { g: *Gui, test_mode: bool, detached: bool, - ptys: [pardes.MAX_PANES]?Pty = @splat(null), - gens: [pardes.MAX_PANES]u32 = @splat(0), - queue: Queue = undefined, pipe_tasks: PipeTasks = .{}, - inotify_fd: c_int = -1, - watch_reader: ?std.Thread = null, - watch_stop: [2]c_int = .{ -1, -1 }, - watches: file_watch.Table = @splat(null), shell: Shell = undefined, const Session = session_loop.Loop(Own); @@ -1058,26 +1015,17 @@ const Own = struct { core.view().frontend.native_image_patches = true; observeGuiFont(g, core); syncTaglineFont(g, core); - o.queue = .{ - .io = l.io, - .gpa = l.gpa, - .lsp_allocator = l.allocs.lsp, - .wake_fn = sdlWake, - }; - o.inotify_fd = file_watch.init(true); + l.inbox.wake_fn = sdlWake; o.shell = .{ .core = core, .gui = g, .io = l.io, .gpa = l.gpa, .lsp_allocator = l.allocs.lsp, - .prompt_rcs = &l.prompt_rcs, - .ptys = &o.ptys, - .gens = &o.gens, - .queue = &o.queue, + .ptys = &l.ptys, + .queue = &l.inbox, .pipe_tasks = &o.pipe_tasks, - .inotify_fd = o.inotify_fd, - .watches = &o.watches, + .watches = &l.watches, .fs = l.fs, .test_mode = o.test_mode, .test_clock = if (o.test_mode) host_io.testClock() else null, @@ -1100,43 +1048,16 @@ const Own = struct { const io = l.io; o.shell.fs = null; host_io.setExitWake(null, null); - pardes.lsp.setStatusSink(null, null); pardes.Kind.drawer = null; - o.shell.shutdownPtys(); o.shell.job_tasks.cancelAll(io); - if (o.inotify_fd >= 0) { - if (o.watch_reader) |thread| { - _ = host_io.writeFd(o.watch_stop[1], "x"); - thread.join(); - } - for (o.watch_stop) |fd| if (fd >= 0) { - _ = libc.close(fd); - }; - file_watch.stop(o.inotify_fd); - _ = libc.close(o.inotify_fd); - o.inotify_fd = -1; - } o.pipe_tasks.cancelAll(io); - if (o.queue.lsp_task) |*task| task.future.cancel(io); // Its worker may be waiting on the queue for room. l.core.stream.cancelTask(); - o.queue.deinit(); o.g.hit_core = null; } - pub fn resumePtys(o: *Own, rec: *const upgrade.Record) void { - o.shell.resumePtys(rec); - } - pub fn start(o: *Own, l: *Session) !void { - for (&o.ptys, 0..) |*slot, id| if (slot.*) |*pt| { - pt.reader = try o.queue.startReader(.{ .handle = pt.fd, .flags = .{ .nonblocking = false } }, .at(id), o.gens[id]); - }; - if (o.inotify_fd >= 0) { - o.watch_stop = try stopPipe(); - o.watch_reader = try std.Thread.spawn(.{}, watchThread, .{ o.inotify_fd, o.watch_stop[0], &o.queue }); - } - if (l.fs) |f| try f.watch(&o.queue, wakeFs); + if (l.fs) |f| try f.watch(&l.inbox, wakeFs); _ = c.SDL_StartTextInput(o.g.window); // An upgraded session's window, its view's again. @@ -1144,8 +1065,7 @@ const Own = struct { if (o.test_mode) setStdinRaw() catch {}; o.shell.threads_ok = true; - pardes.lsp.setStatusSink(&o.queue, Queue.lspStatus); - host_io.setExitWake(&o.queue, Queue.wakeForExit); + host_io.setExitWake(&l.inbox, Queue.wakeForExit); if (o.detached) { o.shell.closeTheWindow(); // Nothing else may wake the first wait. @@ -1163,16 +1083,10 @@ const Own = struct { deliverNote(&o.shell, n); } - pub fn watched(o: *Own) session_loop.Watched { - return .{ .fd = o.inotify_fd, .table = &o.watches }; - } - pub fn restoring(o: *Own, nc: *pardes.Pardes) void { o.pipe_tasks.cancelAll(o.shell.io); - o.queue.discardCompletions(); // One view, the window's (host_io.restoreCore). o.shell.gview = 0; - o.shell.stopPtys(); o.g.cells.clearImages(); o.g.prepared_images.clearRetainingCapacity(); nc.view().frontend.native_images = true; @@ -1498,13 +1412,11 @@ fn clientSession(init: std.process.Init, g: *Gui, opts_in: pardes.Options, test_ window.loop = &loop; // A client spawns, watches and serves nothing: the Shell's tables are // empty ones, there for what draws. - var ptys: [pardes.MAX_PANES]?Pty = @splat(null); - var gens: [pardes.MAX_PANES]u32 = @splat(0); var queue: Queue = .{ .io = io, .gpa = gpa, .lsp_allocator = start.allocs.lsp, .wake_fn = sdlWake }; defer queue.deinit(); + var ptys: host_io.Ptys = .{ .queue = &queue, .prompt_rcs = undefined }; var pipe_tasks: PipeTasks = .{}; - var watches: file_watch.Table = @splat(null); - const prompt_rcs: host_io.Shell.PromptFiles = .{}; + var no_watches: file_watch.Watches = .{ .io = io, .gpa = gpa, .queue = &queue }; var no_peers: replica.Peers = .{}; var shell: Shell = .{ .core = start.r.core(), @@ -1512,13 +1424,10 @@ fn clientSession(init: std.process.Init, g: *Gui, opts_in: pardes.Options, test_ .io = io, .gpa = gpa, .lsp_allocator = start.allocs.lsp, - .prompt_rcs = &prompt_rcs, .ptys = &ptys, - .gens = &gens, .queue = &queue, .pipe_tasks = &pipe_tasks, - .inotify_fd = -1, - .watches = &watches, + .watches = &no_watches, .test_mode = test_mode, .client = &window, .peers = &no_peers, @@ -2430,27 +2339,23 @@ fn pollGamepad(g: *Gui, in: *Input) void { const Shell = struct { core: *pardes.Pardes, - /// The window's, while one is open; null while detached (`detached` has - /// it). + /// The window's, while one is open; null once detached. gui: ?*Gui = null, - detached: ?*Gui = null, - /// Shells a dead session left (Adopt), each waiting for the spawn of - /// the terminal pane made for it. - adoptions: host_io.Adoptions = .{}, io: std.Io, gpa: std.mem.Allocator, fs: ?*ninep_io.Listener = null, lsp_allocator: std.mem.Allocator, - prompt_rcs: *const host_io.Shell.PromptFiles, - ptys: *[pardes.MAX_PANES]?Pty, - gens: *[pardes.MAX_PANES]u32, + /// The session's ptys (runtime/session.zig's), reading into `queue`; + /// a client's, an empty table. + ptys: *host_io.Ptys, queue: *Queue, /// What drainQueue takes each wakeup, kept rather than rebuilt. batch: Queue.Batch = .{}, pipe_tasks: *PipeTasks, job_tasks: PipeTasks = .{}, - inotify_fd: c_int, - watches: *file_watch.Table, + /// The session's file watches (runtime/session.zig's); a client's, + /// none. + watches: *file_watch.Watches, threads_ok: bool = false, test_mode: bool = false, feed: StdinFeed = .{}, @@ -2485,50 +2390,12 @@ const Shell = struct { took_input: bool = false, held: ?c.SDL_Event = null, - fn closePaneShell(ctx: ?*anyopaque, id: pardes.Pane.Id) void { - const pane = id.index(); - shellOf(ctx).closePty(pane); - } - - fn closePty(s: *Shell, pane: u8) void { - const pt = if (s.ptys[pane]) |*pt| pt else return; - // Out of the queue first, which lets go a reader waiting for room - // in it; then its read is canceled (or, at its end, it is joined). - s.queue.cancelReader(.at(pane), s.gens[pane]); - if (pt.reader) |*reader| { - reader.cancel(s.queue.io); // the Io it was started on (startReader) - pt.reader = null; - } - _ = libc.close(pt.fd); - daemon.closed(pt.pid); - host_io.retireShell(pt.pid); - s.ptys[pane] = null; - } - - fn stopPtys(s: *Shell) void { - for (0..s.ptys.len) |pane| s.closePty(@intCast(pane)); - for (s.gens) |*gen| gen.* +%= 1; - } - - fn shutdownPtys(s: *Shell) void { - s.stopPtys(); - host_io.waitRetired(); - } - - fn reconcilePtys(s: *Shell) void { - for (s.ptys, 0..) |slot, pane| if (slot) |pt| { - const current = s.core.panes[pane]; - if (current == null or current.?.serial != pt.serial or !current.?.isTerminal()) - s.closePty(@intCast(pane)); - }; - } - fn host(s: *Shell) pardes.Host { return .{ .ctx = s, .vtable = &vtable }; } /// Detach: the window closed, the session left running with no - /// window, for `pardes-gui --attach` to open one again. + /// window, detached for good: an attach shows it as a client. fn detachWindow(ctx: ?*anyopaque) void { const s = shellOf(ctx); // A replica client's: its link ends. @@ -2575,41 +2442,19 @@ const Shell = struct { fn closeTheWindow(s: *Shell) void { const g = s.gui orelse return; closeWindow(g); - s.detached = g; s.gui = null; s.presented = false; s.surface = null; // Its clients look at it still (Peers keeps it attended). s.peers.detached = true; s.core.unattended = s.peers.count() == 0; - daemon.setState(true); - } - - fn openTheWindow(s: *Shell) void { - const g = s.detached orelse return; - if (!reopenWindow(g)) { - log.err("--attach: no window: {s}", .{c.SDL_GetError()}); - return daemon.setState(true); - } - s.gui = g; - s.detached = null; - s.peers.detached = false; - s.core.unattended = false; - s.core.needs_frame = true; - resetScroll(g); - daemon.setState(false); + daemon.setDetached(); } fn watched(ctx: ?*anyopaque) bool { return shellOf(ctx).gui != null; } - fn adopt(ctx: ?*anyopaque, id: pardes.Pane.Id) void { - const pane = id.index(); - const s = shellOf(ctx); - s.adoptions.ask(s.core, pane); - } - fn upgradeAsked(ctx: ?*anyopaque, id: pardes.Pane.Id) void { const pane = id.index(); const s = shellOf(ctx); @@ -2644,39 +2489,21 @@ const Shell = struct { // the readers stopped (a reader waiting for room has it then), and // what they pushed meanwhile drained. s.drainQueue(); - for (s.ptys) |*slot| if (slot.*) |*pt| if (pt.reader) |*r| { - r.cancel(s.queue.io); - pt.reader = null; - }; + s.ptys.pause(); s.drainQueue(); core.settle(); // Its replica clients told, their views gone before the dump: each // dials the session again once it is back. s.peers.refuseAll(core, "the session is upgrading to another build of pardes"); var rec: upgrade.Record = .{ .link = daemon.link, .window = s.gui != null, .exe = path }; - for (s.ptys, 0..) |slot, id| if (slot) |pt| if (pt.fd >= 0) rec.addPty(id, pt.pid, pt.fd); + s.ptys.record(&rec); var at_buf: [1024:0]u8 = undefined; const failed = upgrade.dumpInto(core, &rec, &at_buf, &why) orelse upgrade.execAs(s.gpa, path, &rec, &at_buf, s.fs, &why); // As it was: its ptys read on. - for (s.ptys, 0..) |*slot, id| if (slot.*) |*pt| if (pt.fd >= 0 and pt.reader == null) { - pt.reader = s.queue.startReader(.{ .handle = pt.fd, .flags = .{ .nonblocking = false } }, .at(id), s.gens[id]) catch null; - }; + s.ptys.readOn(core); core.reportFailure(pane, failed); } - /// An upgraded session's shells, running on: each its pane's pty again, - /// or, when its dump would not load (`fresh`), adopted as new panes. - fn resumePtys(s: *Shell, rec: *const upgrade.Record) void { - for (rec.ptys[0..rec.nptys]) |k| { - const pane = if (rec.fresh) null else s.core.panes[k.pane]; - if (pane == null or !pane.?.isTerminal()) { - s.adoptions.adoptShell(s.core, k.pid, k.fd); - continue; - } - s.ptys[k.pane] = .{ .fd = k.fd, .pid = k.pid, .serial = pane.?.serial, .cmd = .{ .watched = pane.?.command != null and host_io.watchExit(k.pid), .fd = k.fd } }; - } - } - /// An upgraded session's window, its view's again; every other view /// but a replica client's, kept for its rejoin (views.away), closes. fn resumeWindow(s: *Shell) void { @@ -2695,20 +2522,20 @@ const Shell = struct { .poll_frame = pollFrame, .watched = watched, .detach = detachWindow, - .adopt = adopt, + .adopt = PtyCalls.adopt, .upgrade = upgradeAsked, - .spawn = spawnPane, - .pty_write = ptyWrite, - .pty_resize = ptyResize, - .pty_signal = ptySignal, - .close_pty = closePaneShell, - .tty_taken = ttyTaken, - .fg_name = fgName, - .kill_job = killJob, - .write_file = writeFile, + .spawn = PtyCalls.spawn, + .pty_write = PtyCalls.write, + .pty_resize = PtyCalls.resize, + .pty_signal = PtyCalls.signal, + .close_pty = PtyCalls.close, + .tty_taken = PtyCalls.ttyTaken, + .fg_name = PtyCalls.fgName, + .kill_job = PtyCalls.killJob, + .write_file = WatchCalls.writeFile, .write_dump = writeDump, - .watch_file = watchFile, - .watch_theme = watchTheme, + .watch_file = WatchCalls.watchFile, + .watch_theme = WatchCalls.watchTheme, .dump_themes = dumpThemes, .set_clipboard = setClipboard, .read_clipboard = readClipboard, @@ -2721,13 +2548,12 @@ const Shell = struct { .job = kindJob, }; + const PtyCalls = host_io.Ptys.Calls(Shell); + const WatchCalls = file_watch.Watches.Calls(Shell); + /// The command panes' exits, told once their output is in (host_io). fn takeExits(s: *Shell) void { - host_io.takeExits(s.core, s.ptys, s, closeWatched); - } - - fn closeWatched(s: *Shell, id: usize) void { - s.closePty(@intCast(id)); + s.ptys.takeExits(s.core); } /// A client's queue holds its draws alone: each landed for its pane's @@ -2745,7 +2571,6 @@ const Shell = struct { } fn drainQueue(s: *Shell) void { - s.reconcilePtys(); // After this batch's output, which an exit is told behind. defer s.takeExits(); s.queue.takeInto(&s.batch); @@ -2753,48 +2578,9 @@ const Shell = struct { if (msgs.len > 0) s.mail_only = false; var check_files = false; for (msgs.slice()) |m| switch (m) { - .output => |o| { - if (s.gens[o.pane.index()] == o.gen) - s.core.update(.{ .output = .{ .pane = o.pane, .bytes = o.bytes } }); - s.gpa.free(o.bytes); - }, - .eof => |e| { - if (s.gens[e.pane.index()] == e.gen) eof: { - if (e.failure) |err| { - s.closePty(e.pane.index()); - s.core.readerFailed(e.pane, err); - break :eof; - } - const pt = if (s.ptys[e.pane.index()]) |*pt| pt else { - s.core.update(.{ .eof = .{ .pane = e.pane } }); - break :eof; - }; - // A command's pty stays open until its child has exited: - // closing it would hang up one that runs on without it. - // Its exit, if it came first, is told now its output is in. - if (pt.cmd.watched) { - host_io.commandEof(s.core, s.ptys, e.pane.index(), s, closeWatched); - break :eof; - } - // Unwatched, a command's exit is read here, as its end, - // and a shell's, for a run waiting on it and the log. - const unwatched = if (s.core.panes[e.pane.index()]) |pane| pane.command != null else false; - const status = host_io.exitStatus(pt.pid, 100); - if (status != null) pt.pid = 0; // reaped: no shell to retire - s.closePty(e.pane.index()); - if (unwatched or status != null) s.core.update(.{ .exited = .{ .pane = e.pane, .status = status } }); - s.core.update(.{ .eof = .{ .pane = e.pane } }); - } - }, - .lsp => |l| { - s.core.update(.{ .lsp_resp = .{ .id = l.id, .rows = l.rows } }); - if (l.rows) |rows| s.lsp_allocator.free(rows); - }, - .lsp_status => |text| { - var mbuf: [256]u8 = undefined; - s.core.setStatus(.at(s.core.view().active), message.stamp(&mbuf, "lsp", text)); - s.lsp_allocator.free(text); - }, + .output => |o| s.ptys.output(s.core, o), + .eof => |e| s.ptys.eof(s.core, e), + .lsp, .lsp_status => s.queue.landLsp(s.core, m), .pipe => |response_value| { var response = response_value; s.core.update(.{ .pipe_resp = .{ @@ -2820,11 +2606,9 @@ const Shell = struct { }, .files_changed => check_files = true, .fs_ready => {}, - .window => if (s.gui == null) s.openTheWindow(), - .adopted => |a| s.adoptions.adoptShell(s.core, a.pid, a.fd), + .adopted => |a| s.ptys.adoptions.adoptShell(s.core, a.pid, a.fd), }; - if (check_files and file_watch.reloadChanged(s.core, s.io, s.gpa, s.watches)) - s.queue.push(.files_changed); + if (check_files) s.watches.reload(s.core); } }; @@ -3026,11 +2810,10 @@ fn waitDetached(core: *pardes.Pardes, timeout_ms: u32) void { fn pollFrame(ctx: ?*anyopaque) void { const s = shellOf(ctx); - s.reconcilePtys(); const core = s.core; if (s.fs) |f| if (f.tick().pending) s.queue.push(.fs_ready); // The authority owns its terminals even with its window closed. - pollCwds(core, s.ptys); + s.ptys.pollCwds(core); const g = s.gui orelse { if (core.settings.window_opacity_pending) { var unchanged_opacity: u8 = 100; @@ -3330,68 +3113,12 @@ fn guiNow(ctx: ?*anyopaque) u64 { return s.test_clock orelse s.paced_ns orelse c.SDL_GetTicksNS(); } -fn spawnPane(ctx: ?*anyopaque, id: pardes.Pane.Id, cwd: []const u8) void { - const pane = id.index(); - const s = shellOf(ctx); - if (s.adoptions.take(id)) |a| return takeShell(s, pane, a); - // The new shell starts before a running one goes: one that cannot - // start leaves the running one be (pty/ctl's exec). - const running = s.ptys[pane] != null; - const child = host_io.forkShell(s.core, pane, s.prompt_rcs, s.core.shellBin(), cwd, s.core.view().screen_h, s.core.view().screen_w) catch |err| { - if (running) return s.core.restartFailed(id, err); - return s.core.shellFailed(id, err); - }; - s.closePty(pane); - if (s.ptys[pane] != null) { - _ = libc.close(child.file.handle); - host_io.retireShell(child.pid); - return s.core.reportError(id, "shell", error.WorkersBusy); - } - s.gens[pane] +%= 1; - const command = s.core.panes[pane].?.command != null; - const pt: Pty = .{ .fd = child.file.handle, .pid = child.pid, .serial = s.core.panes[pane].?.serial, .cmd = .{ .watched = command and host_io.watchExit(child.pid), .fd = child.file.handle } }; - s.ptys[pane] = pt; - var lbuf: [pardes.memory.limits.host_path_cap + 1]u8 = undefined; - if (host_io.shellCwd(pt.pid, &lbuf)) |wd| s.core.setCwd(id, wd); - if (!s.threads_ok) return; - s.ptys[pane].?.reader = s.queue.startReader(.{ .handle = pt.fd, .flags = .{ .nonblocking = false } }, id, s.gens[pane]) catch |err| { - s.closePty(pane); - return s.core.reportError(id, "terminal reader", err); - }; -} - -/// An adopted shell, running already, as pane `pane`'s: told the size twice -/// (one it never had, then the pane's), which makes it redraw. -fn takeShell(s: *Shell, pane: u8, a: host_io.Adoption) void { - s.closePty(pane); - s.gens[pane] +%= 1; - s.ptys[pane] = .{ .fd = a.fd, .pid = a.pid, .serial = s.core.panes[pane].?.serial, .cmd = .{} }; - var exe_buf: [pardes.memory.limits.host_path_cap + 1]u8 = undefined; - s.core.acknowledgeShell(.at(pane), host_io.processExe(a.pid, &exe_buf) orelse "sh", host_io.marksPrompts(a.pid)); - var lbuf: [pardes.memory.limits.host_path_cap + 1]u8 = undefined; - if (host_io.shellCwd(a.pid, &lbuf)) |wd| s.core.setCwd(.at(pane), wd); - const tiny: posix.winsize = .{ .row = 1, .col = 1, .xpixel = 0, .ypixel = 0 }; - _ = posix.system.ioctl(a.fd, TIOCSWINSZ, @intFromPtr(&tiny)); - if (s.core.panes[pane]) |pn| ptyResize(s, .at(pane), @max(pn.cols, 1), @max(pn.rows, 1)); - if (!s.threads_ok) return; - s.ptys[pane].?.reader = s.queue.startReader(.{ .handle = a.fd, .flags = .{ .nonblocking = false } }, .at(pane), s.gens[pane]) catch |err| { - s.closePty(pane); - return s.core.reportError(.at(pane), "terminal reader", err); - }; -} - /// The daemon's thread: what it says, onto the queue (drainQueue). fn deliverNote(ctx: *anyopaque, note: daemon.Note) void { const s: *Shell = @ptrCast(@alignCast(ctx)); const q = s.queue; switch (note) { - .attach => |a| { - // A terminal for a window session: the daemon refuses that kind - // before it is sent, so only an old one's would be here. - if (a.tty >= 0) _ = libc.close(a.tty); - if (a.stub >= 0) daemon.tellStub(a.stub, "r{s}", .{"a window session takes no terminal"}); - if (a.tty < 0) q.push(.window); - }, + .relinked => q.wake(), .adopted => |a| { for (a.pids[0..a.n], a.fds[0..a.n]) |pid, fd| q.push(.{ .adopted = .{ .pid = pid, .fd = fd } }); q.push(.{ .adopted = .{ .pid = 0, .fd = -1 } }); @@ -3401,78 +3128,10 @@ fn deliverNote(ctx: *anyopaque, note: daemon.Note) void { } } -fn ptyWrite(ctx: ?*anyopaque, id: pardes.Pane.Id, bytes: []const u8) void { - const pane = id.index(); - const s = shellOf(ctx); - if (s.ptys[pane]) |pt| _ = host_io.writeFd(pt.fd, bytes); -} - -fn ptyResize(ctx: ?*anyopaque, id: pardes.Pane.Id, cols: u16, rows: u16) void { - const pane = id.index(); - const s = shellOf(ctx); - if (s.ptys[pane]) |pt| { - const ws = host_io.ptyWinsize(s.core, cols, rows); - _ = posix.system.ioctl(pt.fd, TIOCSWINSZ, @intFromPtr(&ws)); - } -} - -fn ptySignal(ctx: ?*anyopaque, id: pardes.Pane.Id, sig: pardes.PtySignal) void { - const pane = id.index(); - const s = shellOf(ctx); - // A command whose exit is recorded is reaped: its group may be another's. - if (s.ptys[pane]) |pt| if (!pt.cmd.exited) host_io.signalTty(pt.pid, pt.fd, sig, pt.cmd.watched); -} - -fn ttyTaken(ctx: ?*anyopaque, id: pardes.Pane.Id) bool { - const pane = id.index(); - const s = shellOf(ctx); - const pt = s.ptys[pane] orelse return false; - return host_io.ttyTaken(pt.pid, pt.fd); -} - -fn fgName(ctx: ?*anyopaque, id: pardes.Pane.Id, buf: []u8) ?[]const u8 { - const pane = id.index(); - const s = shellOf(ctx); - const pt = s.ptys[pane] orelse return null; - return host_io.foregroundName(pt.pid, pt.fd, buf); -} - -fn killJob(ctx: ?*anyopaque, id: pardes.Pane.Id) bool { - const pane = id.index(); - const s = shellOf(ctx); - const pt = s.ptys[pane] orelse return false; - return host_io.killJob(pt.pid, pt.fd); -} - -fn writeFile(ctx: ?*anyopaque, id: pardes.Pane.Id, path: []const u8, bytes: []const u8) void { - const pane = id.index(); - const s = shellOf(ctx); - host_io.writeFile(s.core, s.watches, pane, path, bytes); -} - fn writeDump(ctx: ?*anyopaque, bytes: []const u8) void { host_io.writeDump(shellOf(ctx).core, bytes); } -fn watchFile(ctx: ?*anyopaque, id: pardes.Pane.Id, _: []const u8, on: bool, mode: pardes.WatchMode) void { - const pane = id.index(); - const s = shellOf(ctx); - if (file_watch.applyEffect(s.core, s.io, s.inotify_fd, s.watches, pane, on, mode)) - s.queue.push(.files_changed); -} - -fn watchTheme(ctx: ?*anyopaque, generation: u32, on: bool) void { - const s = shellOf(ctx); - if (file_watch.applyThemeEffect( - s.core, - s.gpa, - s.inotify_fd, - s.watches, - generation, - on, - )) s.queue.push(.files_changed); -} - fn dumpThemes(ctx: ?*anyopaque, id: pardes.Pane.Id) void { const pane = id.index(); const s = shellOf(ctx); @@ -3590,13 +3249,6 @@ fn handOver(ctx: ?*anyopaque, seq: u32, bytes: []const u8) void { }; } -fn pollCwds(core: *pardes.Pardes, ptys: *[pardes.MAX_PANES]?Pty) void { - for (ptys, 0..) |slot, id| if (slot) |pt| { - var lbuf: [pardes.memory.limits.host_path_cap + 1]u8 = undefined; - if (host_io.ttyCwd(pt.pid, pt.fd, core.settings.shell.effective.get(), &lbuf)) |cwd| core.setCwd(.at(id), cwd); - }; -} - fn accumulateWheelDelta(pending: f32, raw_y: f32) f32 { if (!std.math.isFinite(raw_y)) return pending; const next = pending - raw_y; @@ -6276,148 +5928,6 @@ test "installed Nerd Symbols fallback covers Yazi directory icons" { try std.testing.expect(atlas.glyphForCodepoint(0xe5ff).glyph != 0); } -test "GUI PTY reader delivers a real shell tail before EOF and joins on close" { - const gpa = std.testing.allocator; - const core = try pardes.Pardes.init(gpa, .{ .tty_only = true }); - defer core.deinit(); - var queue: Queue = .{ .io = std.testing.io, .gpa = gpa, .lsp_allocator = gpa }; - defer queue.deinit(); - var ptys: [pardes.MAX_PANES]?Pty = @splat(null); - var gens: [pardes.MAX_PANES]u32 = @splat(1); - var shell: Shell = undefined; - shell.core = core; - shell.gpa = gpa; - shell.ptys = &ptys; - shell.gens = &gens; - shell.queue = &queue; - defer shell.shutdownPtys(); - const rcs: host_io.Shell.PromptFiles = .{}; - const child = try host_io.forkShell(null, 0, &rcs, "/bin/sh", "", 24, 80); - ptys[0] = .{ .fd = child.file.handle, .pid = child.pid, .serial = core.panes[0].?.serial }; - ptys[0].?.reader = try queue.startReader(.{ .handle = ptys[0].?.fd, .flags = .{ .nonblocking = false } }, .at(0), 1); - try std.testing.expect(host_io.writeFd(child.file.handle, "printf '\\120\\101\\122\\104\\105\\123\\055\\124\\101\\111\\114'; exit\n")); - var bytes: std.ArrayList(u8) = .empty; - defer bytes.deinit(gpa); - var eof = false; - const until = std.Io.Clock.awake.now(std.testing.io).toMilliseconds() + 2_000; - while (!eof and std.Io.Clock.awake.now(std.testing.io).toMilliseconds() < until) { - var batch = queue.take(); - defer for (batch.slice()) |msg| msg.deinit(gpa, gpa); - for (batch.slice()) |msg| switch (msg) { - .output => |o| { - try std.testing.expect(!eof); - try bytes.appendSlice(gpa, o.bytes); - }, - .eof => |e| { - try std.testing.expect(e.failure == null); - eof = true; - }, - else => return error.UnexpectedMessage, - }; - if (!eof) try std.testing.io.sleep(.fromMilliseconds(1), .awake); - } - try std.testing.expect(eof); - try std.testing.expect(std.mem.indexOf(u8, bytes.items, "PARDES-TAIL") != null); - shell.closePty(0); - try std.testing.expect(queue.readers[0] == null); - try std.testing.expect(ptys[0] == null or ptys[0].?.reader == null); - try std.testing.expectEqual(@as(c_int, -1), libc.fcntl(child.file.handle, libc.F.GETFD)); -} - -test "GUI PTY Restore joins a real reader waiting for queue space" { - const gpa = std.testing.allocator; - var core = try pardes.Pardes.init(gpa, .{ .tty_only = true }); - defer core.deinit(); - try dump.dumpState(core); - var queue: Queue = .{ .io = std.testing.io, .gpa = gpa, .lsp_allocator = gpa }; - defer queue.deinit(); - queue.acceptReader(.at(1), 1); - for (0..output_capacity) |_| queue.push(.{ .output = .{ .pane = .at(1), .gen = 1, .bytes = try gpa.dupe(u8, "other pane") } }); - var ptys: [pardes.MAX_PANES]?Pty = @splat(null); - var gens: [pardes.MAX_PANES]u32 = @splat(1); - var shell: Shell = undefined; - shell.core = core; - shell.gpa = gpa; - shell.ptys = &ptys; - shell.gens = &gens; - shell.queue = &queue; - defer shell.shutdownPtys(); - const rcs: host_io.Shell.PromptFiles = .{}; - const child = try host_io.forkShell(null, 0, &rcs, "/bin/sh", "", 24, 80); - ptys[0] = .{ .fd = child.file.handle, .pid = child.pid, .serial = core.panes[0].?.serial }; - ptys[0].?.reader = try queue.startReader(.{ .handle = ptys[0].?.fd, .flags = .{ .nonblocking = false } }, .at(0), 1); - try std.testing.expect(host_io.writeFd(child.file.handle, "printf 'after-full'; exit\n")); - try host_io.PtyTests.waitBlocked(&queue); - const old_serial = core.panes[0].?.serial; - const replacement = try dump.restore(core, core.dump_out.?, "test"); - shell.stopPtys(); - core.deinit(); - core = replacement; - shell.core = replacement; - // The dump's pane, its serial too; its old shell stopped all the same. - try std.testing.expectEqual(old_serial, core.panes[0].?.serial); - try std.testing.expectEqual(@as(usize, 0), queue.waiting); - try std.testing.expect(queue.readers[0] == null); - try std.testing.expectEqual(@as(c_int, -1), libc.fcntl(child.file.handle, libc.F.GETFD)); - queue.cancelReader(.at(1), 1); - queue.acceptReader(.at(0), gens[0]); - queue.push(.{ .eof = .{ .pane = .at(0), .gen = 1 } }); - try std.testing.expect(queue.pushOutput(.at(0), gens[0], try gpa.dupe(u8, "fresh"))); - var batch = queue.take(); - defer for (batch.slice()) |msg| msg.deinit(gpa, gpa); - try std.testing.expectEqual(@as(usize, 1), batch.len); - try std.testing.expectEqualStrings("fresh", batch.items[0].output.bytes); -} - -test "GUI PTY deletion joins an idle reader and its shell is reaped by exit" { - const gpa = std.testing.allocator; - const core = try pardes.Pardes.init(gpa, .{ .tty_only = true }); - defer core.deinit(); - var queue: Queue = .{ .io = std.testing.io, .gpa = gpa, .lsp_allocator = gpa }; - defer queue.deinit(); - var ptys: [pardes.MAX_PANES]?Pty = @splat(null); - var gens: [pardes.MAX_PANES]u32 = @splat(1); - var shell: Shell = undefined; - shell.core = core; - shell.gpa = gpa; - shell.ptys = &ptys; - shell.gens = &gens; - shell.queue = &queue; - defer shell.shutdownPtys(); - const rcs: host_io.Shell.PromptFiles = .{}; - const child = try host_io.forkShell(null, 0, &rcs, "/bin/sh", "", 24, 80); - ptys[0] = .{ .fd = child.file.handle, .pid = child.pid, .serial = core.panes[0].?.serial }; - ptys[0].?.reader = try queue.startReader(.{ .handle = ptys[0].?.fd, .flags = .{ .nonblocking = false } }, .at(0), 1); - try core.removePane(0, null); - shell.reconcilePtys(); - try std.testing.expect(queue.readers[0] == null); - try std.testing.expectEqual(@as(usize, 0), queue.waiting); - try std.testing.expectEqual(@as(usize, 0), queue.take().len); - try std.testing.expectEqual(@as(c_int, -1), libc.fcntl(child.file.handle, libc.F.GETFD)); - shell.shutdownPtys(); - try std.testing.expectEqual(@as(libc.pid_t, -1), libc.waitpid(child.pid, null, libc.W.NOHANG)); - try std.testing.expectEqual(libc.E.CHILD, libc.errno(-1)); -} - -test "GUI PTY file watcher stops and joins without closing its watched descriptor" { - if (!file_watch.supported) return error.SkipZigTest; - const gpa = std.testing.allocator; - var queue: Queue = .{ .io = std.testing.io, .gpa = gpa, .lsp_allocator = gpa }; - defer queue.deinit(); - const fd = file_watch.init(true); - if (fd < 0) return error.WatchInitFailed; - defer _ = libc.close(fd); - const stop = try stopPipe(); - defer for (stop) |pipe_fd| { - _ = libc.close(pipe_fd); - }; - const thread = try std.Thread.spawn(.{}, watchThread, .{ fd, stop[0], &queue }); - _ = host_io.writeFd(stop[1], "x"); - thread.join(); - try std.testing.expect(libc.fcntl(fd, libc.F.GETFD) >= 0); - try std.testing.expectEqual(@as(usize, 0), queue.take().len); -} - test "GUI completion failure survives backlog and leaves the document unchanged" { const gpa = std.testing.allocator; const core = try pardes.Pardes.init(gpa, .{ .tty_only = true }); @@ -6435,14 +5945,12 @@ test "GUI completion failure survives backlog and leaves the document unchanged" .bytes = try gpa.dupe(u8, "output"), } }); queue.push(.{ .lsp = .{ .id = id, .rows = null } }); - var gens: [pardes.MAX_PANES]u32 = @splat(1); - var ptys: [pardes.MAX_PANES]?Pty = @splat(null); + var ptys: host_io.Ptys = .{ .queue = &queue, .prompt_rcs = undefined, .gens = @splat(1) }; var shell: Shell = undefined; shell.core = core; shell.queue = &queue; shell.gpa = gpa; shell.lsp_allocator = gpa; - shell.gens = &gens; shell.ptys = &ptys; shell.drainQueue(); try std.testing.expect(core.lsp_ask.wait == null); @@ -8165,16 +7673,14 @@ test "a detached GUI authority follows terminal directory changes with no window _ = core.settings.shell.effective.set("/bin/sh"); var queue: Queue = .{ .io = io, .gpa = gpa, .lsp_allocator = gpa }; defer queue.deinit(); - var ptys: [pardes.MAX_PANES]?Pty = @splat(null); - var gens: [pardes.MAX_PANES]u32 = @splat(1); const rcs: host_io.Shell.PromptFiles = .{}; + var ptys: host_io.Ptys = .{ .queue = &queue, .prompt_rcs = &rcs, .gens = @splat(1) }; + defer ptys.deinit(); var pipes: PipeTasks = .{}; - var watches: file_watch.Table = @splat(null); var no_peers: replica.Peers = .{}; - var shell: Shell = .{ .core = core, .io = io, .gpa = gpa, .lsp_allocator = gpa, .prompt_rcs = &rcs, .ptys = &ptys, .gens = &gens, .queue = &queue, .pipe_tasks = &pipes, .inotify_fd = -1, .watches = &watches, .peers = &no_peers }; - defer shell.shutdownPtys(); + var shell: Shell = .{ .core = core, .io = io, .gpa = gpa, .lsp_allocator = gpa, .ptys = &ptys, .queue = &queue, .pipe_tasks = &pipes, .watches = undefined, .peers = &no_peers }; const child = try host_io.forkShell(null, 0, &rcs, "/bin/sh", start, 24, 80); - ptys[0] = .{ .fd = child.file.handle, .pid = child.pid, .serial = core.panes[0].?.serial }; + ptys.slots[0] = .{ .fd = child.file.handle, .pid = child.pid }; try std.testing.expect(host_io.writeFd(child.file.handle, "cd child\n")); const until = std.Io.Clock.awake.now(io).toMilliseconds() + 2_000; var actual: [4096]u8 = undefined; diff --git a/dev/host_io.zig b/dev/host_io.zig index f86c3250..5465fc7a 100644 --- a/dev/host_io.zig +++ b/dev/host_io.zig @@ -197,6 +197,8 @@ pub const Fallback = struct { /// a language query since superseded, are dropped here. pub const Inbox = @import("Inbox.zig"); +pub const Ptys = @import("Ptys.zig"); + pub const Lsp = @import("Lsp.zig"); pub const Shell = @import("Shell.zig"); diff --git a/dev/root.zig b/dev/root.zig index 2c70783f..fb1d1ad9 100644 --- a/dev/root.zig +++ b/dev/root.zig @@ -26,9 +26,10 @@ test { _ = glide; // The frontends', which main.zig's test block collected: a shell's // build (shell-test); the core without a terminal never compiled them. - if (comptime @import("term_options").terminal) { - if (comptime @import("pardes_config").platform == .tui) _ = tui; - if (comptime @import("pardes_config").platform == .gui) _ = gui; + if (comptime @import("pardes_options").terminal) { + if (comptime @import("pardes_options").platform == .tui) _ = tui; + if (comptime @import("pardes_options").platform == .gui) _ = gui; _ = vaxis_input; + _ = host_io.Ptys; } } diff --git a/dev/tui/tui.zig b/dev/tui/tui.zig index d7ea8ed6..543be3aa 100644 --- a/dev/tui/tui.zig +++ b/dev/tui/tui.zig @@ -104,9 +104,6 @@ const Msg = union(enum) { /// The terminal's input ended: its end of file, a hangup. A session /// a daemon keeps carries on detached; any other ends. quit, - /// A terminal for this detached session, and its stub's pipe - /// (daemon.Note.attach). - attach: struct { tty: posix.fd_t, stub: posix.fd_t }, /// A shell a dead session left, its pty's master (daemon.Note.adopted). adopted: struct { pid: posix.pid_t, fd: posix.fd_t }, /// A timed wait ran out: the core's next wake has come. @@ -116,8 +113,6 @@ const Msg = union(enum) { /// A SIGHUP: the session's own terminal hung up. hangup, key_press: vaxis.Key, - pty_read: struct { id: usize, gen: u32, bytes: []u8 }, - pty_eof: struct { id: usize, gen: u32 }, winsize: vaxis.Winsize, mouse: vaxis.Mouse, focus_in, @@ -125,14 +120,11 @@ const Msg = union(enum) { paste: []const u8, paste_start, paste_end, - lsp_done: struct { id: u32, rows: ?[]u8 }, - lsp_status: []u8, pipe_done: selection_pipe.Response, /// A streaming search's rows (pardes.Stream). search_rows: pardes.Stream.Batch, /// A kind's job done on a worker (host_io.KindJob). kind_job: *host_io.KindJob, - files_changed, fs_ready, /// A replica's connection, handed over by the daemon (Peers). replica: daemon.Joining, @@ -379,15 +371,6 @@ const TestReader = struct { const PipeTasks = selection_pipe.Tasks; -const Pty = struct { - file: std.Io.File, - pid: posix.pid_t, - reader: std.Io.Future(error{OutOfMemory}!void), - /// A command pane's child, watched to its exit (host_io.watchExit); - /// the pty stays open until both its end of file and its exit. - cmd: host_io.CommandWatch = .{}, -}; - /// A watched child exited: wake the loop, which takes it (`takeExits`). fn wakeForExit(ctx: ?*anyopaque) void { const loop: *Loop = @ptrCast(@alignCast(ctx.?)); @@ -584,7 +567,7 @@ fn surfaceHasKittyKey(surface: *const pardes.Surface, key: u64) bool { /// Where a session's terminal comes from: /dev/tty, as a plain `pardes` /// opens it; one open already (a session forked off its stub, -/// daemon.forkSession); or none, detached until one is attached (`--detach`). +/// daemon.forkSession); or none, detached from the start (`--detach`). /// The terminal a session starts on: /dev/tty, one its stub opened (an /// upgraded session's is raw already, `termios` the cooked one), or none. pub const Term = union(enum) { open, fd: struct { fd: posix.fd_t, termios: ?posix.termios = null }, detached }; @@ -776,23 +759,28 @@ pub fn runClient(init: std.process.Init, opts: pardes.Options, path: []const u8, var tty: Tty = undefined; var c = try Client.init(&tty, &start); defer c.link.deinit(gpa); - // A client has no clients of its own. + // A client has no clients of its own, and spawns nothing: its pty + // table an empty one over an empty queue. var no_peers: replica.Peers = .{}; + var no_inbox: host_io.Inbox = .{ .io = io, .gpa = gpa, .lsp_allocator = start.allocs.lsp }; + defer no_inbox.deinit(); + var no_ptys: host_io.Ptys = .{ .queue = &no_inbox, .prompt_rcs = undefined }; + var no_watches: file_watch.Watches = .{ .io = io, .gpa = gpa, .queue = &no_inbox }; var sh: Shell = .{ .io = io, .gpa = gpa, .lsp_gpa = start.allocs.lsp, .core = start.r.core(), .frames = &start.frames, - .prompt_rcs = undefined, .loop = &loop, .frame = &frame_arena, .paste_buf = &paste_buf, - .inotify_fd = -1, + .watches = &no_watches, .own = start.joined.view, .screen = &screen, .client = &c, .peers = &no_peers, + .ptys = &no_ptys, }; tty = .{ .sh = &sh, .screen = &screen, .loop = &loop, .joins = &start }; @@ -818,9 +806,9 @@ pub fn runClient(init: std.process.Init, opts: pardes.Options, path: []const u8, /// A terminal a session draws on, while it has one: entered (raw, the /// alternate screen, mouse and paste reports) and left (all of it put back, -/// the terminal closed) at the session's start and end, and at a detach and -/// a reattach in between (daemon.zig), its stub `daemon.stub`. One a -/// process: a second terminal on a session is a replica client of it. +/// the terminal closed) at the session's start and end, or at a detach +/// (daemon.zig), its stub `daemon.stub`. One a process, the one the session +/// was born with: an attach is a replica client of it. const Screen = struct { io: std.Io, gpa: std.mem.Allocator, @@ -961,20 +949,21 @@ const Own = struct { .lsp_gpa = l.allocs.lsp, .core = l.core, .frames = &l.frames, - .prompt_rcs = &l.prompt_rcs, .loop = o.loop, .frame = &o.frame_arena, .paste_buf = o.paste_buf, - .inotify_fd = file_watch.init(false), + .watches = &l.watches, .fs = l.fs, .test_clock = host_io.testClock(), .peers = &l.peers, + .ptys = &l.ptys, }; const sh = &o.sh; sh.screen = o.screen; + l.inbox.wake_fn = Shell.wakeForQueue; + l.inbox.wake_ctx = sh; l.peers.wake_ctx = o.loop; l.peers.wake = wakeForReplica; - pardes.lsp.setStatusSink(sh, lspStatusSink); host_io.setExitWake(o.loop, wakeForExit); const host = sh.host(); l.core.host = host; @@ -996,48 +985,18 @@ const Own = struct { stopInput(io, &o.screen.thread); pardes.Kind.drawer = null; host_io.setExitWake(null, null); - pardes.lsp.setStatusSink(null, null); - for (&sh.ptys) |*slot| if (slot.*) |*pt| { - pt.reader.cancel(io) catch {}; - _ = libc.close(pt.file.handle); - slot.* = null; - }; - for (sh.adoptions.list[0..sh.adoptions.len]) |a| _ = libc.close(a.fd); - if (sh.lsp_task) |*t| { - t.future.cancel(io); - sh.lsp_task = null; - } sh.pipe_tasks.cancelAll(io); sh.job_tasks.cancelAll(io); // Its worker may be waiting on the loop's queue for room. sh.core.stream.cancelTask(); - file_watch.stop(sh.inotify_fd); - if (sh.watch_task) |*t| { - t.cancel(io); - sh.watch_task = null; - } - if (sh.inotify_fd >= 0) { - _ = libc.close(sh.inotify_fd); - sh.inotify_fd = -1; - } while (loop.tryEvent() catch null) |ev| switch (ev) { - .pty_read => |pr| { - tookRead(io, pr.id); - gpa.free(pr.bytes); - }, .paste => |b| gpa.free(@constCast(b)), - .lsp_done => |d| if (d.rows) |rows| sh.lsp_gpa.free(rows), - .lsp_status => |text| sh.lsp_gpa.free(text), .pipe_done => |response_value| { var response = response_value; response.deinit(gpa); }, .search_rows => |b| b.deinit(gpa), .kind_job => |j| j.drop(), - .attach => |a| { - _ = libc.close(a.tty); - if (a.stub >= 0) _ = libc.close(a.stub); - }, .adopted => |a| _ = libc.close(a.fd), else => {}, }; @@ -1046,10 +1005,6 @@ const Own = struct { o.frame_arena.deinit(); } - pub fn resumePtys(o: *Own, rec: *const upgrade.Record) void { - o.sh.resumePtys(rec); - } - pub fn start(o: *Own, l: *Session) !void { const io = l.io; const sh = &o.sh; @@ -1064,10 +1019,6 @@ const Own = struct { if (!screen.on) l.watch(); sh.threads_ok = true; - for (&sh.ptys, 0..) |*slot, id| if (slot.*) |*pt| { - pt.reader = try io.concurrent(readPty, .{ io, l.gpa, pt.file, id, sh.gens[id], loop }); - }; - if (sh.inotify_fd >= 0) sh.watch_task = io.concurrent(watchFiles, .{ io, sh.inotify_fd, loop }) catch null; } /// Detached, the unit is its clients' frame: its output is paced to it @@ -1086,20 +1037,10 @@ const Own = struct { deliverNote(o.loop, n); } - pub fn watched(o: *Own) session_loop.Watched { - return .{ .fd = o.sh.inotify_fd, .table = &o.sh.watches }; - } - pub fn restoring(o: *Own, nc: *pardes.Pardes) void { const sh = &o.sh; const io = sh.io; - if (sh.lsp_task) |*task| { - task.future.cancel(io); - sh.lsp_task = null; - } sh.pipe_tasks.cancelAll(io); - for (&sh.gens) |*generation| generation.* +%= 1; - for (0..pardes.MAX_PANES) |pane| Shell.closePty(sh, .at(pane)); // One view, the terminal's (host_io.restoreCore). const live = o.screen; stopInput(io, &live.thread); @@ -1132,12 +1073,8 @@ fn clearNativeImages( fn deliverNote(ctx: *anyopaque, note: daemon.Note) void { const loop: *Loop = @ptrCast(@alignCast(ctx)); switch (note) { - .attach => |a| if (a.tty < 0) { - if (a.stub >= 0) daemon.tellStub(a.stub, "r{s}", .{"a terminal session takes a terminal"}); - } else loop.postEvent(.{ .attach = .{ .tty = a.tty, .stub = a.stub } }) catch { - _ = libc.close(a.tty); - _ = libc.close(a.stub); - }, + // A full queue wakes it anyway. + .relinked => _ = loop.tryPostEvent(.nop) catch false, .adopted => |a| { for (a.pids[0..a.n], a.fds[0..a.n]) |pid, fd| loop.postEvent(.{ .adopted = .{ .pid = pid, .fd = fd } }) catch { _ = libc.close(fd); @@ -1167,7 +1104,6 @@ const Shell = struct { /// Its runner's frame timings (Pardes.frames): written as it draws and /// takes input, never through the core. frames: *pardes.FrameStats, - prompt_rcs: *const host_io.Shell.PromptFiles, loop: *Loop, /// The terminal (none in tests), and the view it shows: a second /// terminal on the session is a replica client (`pardes --attach`). @@ -1175,16 +1111,19 @@ const Shell = struct { own: u8 = 0, frame: *std.heap.ArenaAllocator, paste_buf: *std.Io.Writer.Allocating, - inotify_fd: c_int, - /// Shells a dead session left (Adopt), each waiting for the spawn of - /// the terminal pane made for it. - adoptions: host_io.Adoptions = .{}, + /// The session's file watches (runtime/session.zig's); a client's, + /// none. + watches: *file_watch.Watches, fs: ?*ninep_io.Listener = null, - ptys: [pardes.MAX_PANES]?Pty = @splat(null), - gens: [pardes.MAX_PANES]u32 = @splat(0), - watches: file_watch.Table = @splat(null), - watch_task: ?std.Io.Future(void) = null, - lsp_task: ?host_io.Lsp.Task = null, + /// The session's ptys (runtime/session.zig's); a client's, an empty + /// table over an empty queue. + ptys: *host_io.Ptys, + /// What `takeQueue` takes off the ptys' queue, and whether the loop + /// was woken for it since it last did (one wake, not one a read ahead + /// of the terminal's keys in the loop's queue). + batch: host_io.Inbox.Batch = .{}, + batch_at: usize = 0, + queue_woken: std.atomic.Value(bool) = .init(false), pipe_tasks: PipeTasks = .{}, job_tasks: PipeTasks = .{}, threads_ok: bool = false, @@ -1207,8 +1146,6 @@ const Shell = struct { focused_ns: u64 = 0, /// Upgrade was asked from this pane, to be done between steps (`upgradeNow`). upgrade_asked: ?u8 = null, - /// Its pty readers stopped for it: their end of file is not a shell's. - upgrading: bool = false, /// The session's replica clients (core/replica.zig), on sockets: the /// session loop's (runtime/session.zig); a client's, none. peers: *replica.Peers, @@ -1272,20 +1209,20 @@ const Shell = struct { .poll_frame = pollFrame, .watched = watched, .detach = detach, - .adopt = adopt, + .adopt = PtyCalls.adopt, .upgrade = upgradeAsked, - .spawn = spawn, - .pty_write = ptyWrite, - .pty_resize = ptyResize, - .pty_signal = ptySignal, - .close_pty = closePty, - .tty_taken = ttyTaken, - .fg_name = fgName, - .kill_job = killJob, - .write_file = writeFile, + .spawn = PtyCalls.spawn, + .pty_write = PtyCalls.write, + .pty_resize = PtyCalls.resize, + .pty_signal = PtyCalls.signal, + .close_pty = PtyCalls.close, + .tty_taken = PtyCalls.ttyTaken, + .fg_name = PtyCalls.fgName, + .kill_job = PtyCalls.killJob, + .write_file = WatchCalls.writeFile, .write_dump = writeDump, - .watch_file = watchFile, - .watch_theme = watchTheme, + .watch_file = WatchCalls.watchFile, + .watch_theme = WatchCalls.watchTheme, .dump_themes = dumpThemes, .set_clipboard = setClipboard, .read_clipboard = readClipboard, @@ -1347,49 +1284,11 @@ const Shell = struct { if (null_fd > 2) _ = libc.close(null_fd); } daemon.tellStubDetached(); - daemon.setState(true); - } - - /// `pardes --attach`'s terminal, for a detached session: its own again, - /// entered as the first one was, sized, asked what it can do, and drawn - /// whole. One attached already takes no other (the daemon makes a second - /// a replica client). - fn attachTerminal(s: *Shell, fd: posix.fd_t, stub: posix.fd_t, cooked: ?posix.termios) void { - const screen = s.screen orelse { - _ = libc.close(fd); - return refuse(stub, "that session has no terminal of its own to attach to"); - }; - if (screen.on) { - _ = libc.close(fd); - return refuse(stub, "that session has a terminal: join it as a client, `pardes --attach=<socket>:<name>`"); - } - const tty = Screen.ttyOn(s.io, screen.buf, fd, cooked) catch { - _ = libc.close(fd); - daemon.setState(true); - return refuse(stub, "that terminal would not go raw"); - }; - screen.enter(tty) catch { - daemon.setState(true); - return refuse(stub, "that terminal would not take the screen"); - }; - daemon.stub = stub; - s.setAttended(true); - startInput(s.loop, screen) catch {}; - screen.vx.queryTerminalSend(screen.tty.writer()) catch {}; - s.core.needs_frame = true; - daemon.setState(false); - } - - /// A terminal refused: its stub told why (a test's has none). - fn refuse(stub: posix.fd_t, why: []const u8) void { - if (stub >= 0) daemon.tellStub(stub, "r{s}", .{why}); + daemon.setDetached(); } - fn adopt(ctx: ?*anyopaque, id: pardes.Pane.Id) void { - const pane = id.index(); - const s = of(ctx); - s.adoptions.ask(s.core, pane); - } + const PtyCalls = host_io.Ptys.Calls(Shell); + const WatchCalls = file_watch.Watches.Calls(Shell); fn upgradeAsked(ctx: ?*anyopaque, id: pardes.Pane.Id) void { const pane = id.index(); @@ -1418,18 +1317,19 @@ const Shell = struct { .ok => {}, } // Nothing more read from a pty or a terminal, and what was read - // goes in; a reader's cancel posts an end of file, passed over. - s.upgrading = true; - defer s.upgrading = false; - for (&s.ptys) |*slot| if (slot.*) |*pt| pt.reader.cancel(s.io) catch {}; + // goes in: taken, the readers stopped (one waiting for room has it + // then), and what they posted meanwhile taken. + s.takeAll(); + s.ptys.pause(); if (s.screen) |sc| stopInput(s.io, &sc.thread); while (s.loop.tryEvent() catch null) |ev| _ = s.apply(ev); + s.takeAll(); core.settle(); // Its replica clients told, their views gone before the dump: each // dials the session again once it is back. s.peers.refuseAll(core, "the session is upgrading to another build of pardes"); var rec: upgrade.Record = .{ .link = daemon.link, .stub = daemon.stub, .exe = path }; - for (s.ptys, 0..) |slot, id| if (slot) |pt| rec.addPty(id, pt.pid, pt.file.handle); + s.ptys.record(&rec); if (s.screen) |sc| if (sc.on) rec.addTty(.{ .view = s.own, .fd = sc.tty.fd.handle, @@ -1453,9 +1353,7 @@ const Shell = struct { break :failed upgrade.execAs(s.gpa, path, &rec, &at_buf, s.fs, &why); }; // As it was: its ptys read on, its terminals' keys as they were. - for (&s.ptys, 0..) |*slot, id| if (slot.*) |*pt| { - pt.reader = s.io.concurrent(readPty, .{ s.io, s.gpa, pt.file, id, s.gens[id], s.loop }) catch pt.reader; - }; + s.ptys.readOn(core); if (s.screen) |sc| if (sc.on) { if (popped) sc.vx.enableDetectedFeatures(sc.tty.writer()) catch {}; startInput(s.loop, sc) catch {}; @@ -1463,20 +1361,6 @@ const Shell = struct { core.reportFailure(pane, failed); } - /// An upgraded session's shells, running on: each its pane's pty again, - /// or, when its dump would not load (`fresh`), adopted as new panes. - fn resumePtys(s: *Shell, rec: *const upgrade.Record) void { - for (rec.ptys[0..rec.nptys]) |k| { - const pane = if (rec.fresh) null else s.core.panes[k.pane]; - if (pane == null or !pane.?.isTerminal()) { - s.adoptions.adoptShell(s.core, k.pid, k.fd); - continue; - } - const file: std.Io.File = .{ .handle = k.fd, .flags = .{ .nonblocking = false } }; - s.ptys[k.pane] = .{ .file = file, .pid = k.pid, .reader = .{ .any_future = null, .result = {} }, .cmd = .{ .watched = pane.?.command != null and host_io.watchExit(k.pid), .fd = k.fd } }; - } - } - /// An upgraded session's terminal, its view's again (`primary`, run's, /// entered already); every other view but a replica client's, kept for /// its rejoin (views.away), closes. A terminal another build kept for a @@ -1614,9 +1498,16 @@ const Shell = struct { batch += 1; } if (motion) |m| _ = s.apply(m); + // The ptys' output, after the terminal's input of this wait (which + // is never queued behind it; with clients, an input after output + // is held for the next wait: `split`). + s.takeQueue(); // An exit's wake (a .nop) or output an exit waited behind: told - // here, inside the step, so the frame after it shows it. - s.takeExits(); + // here, inside the step, so the frame after it shows it; not while + // reads taken off the queue wait their steps (`takeQueue`): one of + // them may be the command's own last output, which its exit would + // be drawn above (CommandWatch.due cannot see it). + if (s.batch_at == s.batch.len) s.takeExits(); s.reloadWatched(); } @@ -1628,10 +1519,6 @@ const Shell = struct { fn split(s: *Shell, ev: Msg) bool { if (!s.peers.recording) return false; switch (ev) { - .pty_read => { - s.took_output = true; - return false; - }, .key_press => if (s.in_paste) return false, .mouse, .paste, .paste_end, .winsize, .focus_in, .focus_out => {}, else => return false, @@ -1701,8 +1588,7 @@ const Shell = struct { core.quit = true; return true; }, - .attach => |a| s.attachTerminal(a.tty, a.stub, null), - .adopted => |a| s.adoptions.adoptShell(s.core, a.pid, a.fd), + .adopted => |a| s.ptys.adoptions.adoptShell(s.core, a.pid, a.fd), .replica => |j| { s.peers.handed(j.fd, j.view); s.input_seen = true; @@ -1741,38 +1627,6 @@ const Shell = struct { s.feed(.{ .focus = false }); }, .winsize => |ws| if (!s.detached()) s.resized(s.screen, ws), - .pty_read => |pr| { - tookRead(s.io, pr.id); - s.output_seen = true; - if (pr.id == core.view().active) s.focused_ns = @intCast(std.Io.Clock.awake.now(s.io).nanoseconds); - if (s.gens[pr.id] == pr.gen) - core.update(.{ .output = .{ .pane = .at(pr.id), .bytes = pr.bytes } }); - s.gpa.free(pr.bytes); - // An exit waiting behind this output may be told now. - s.takeExits(); - return true; - }, - .pty_eof => |e| if (s.gens[e.id] == e.gen and !s.upgrading) { - if (s.ptys[e.id]) |*pt| { - pt.reader.await(s.io) catch {}; // reader just finished; join it or its future leaks - // A command's pty stays open until its child has exited: - // closing it would hang up one that runs on without it. - // Its exit, if it came first, is told now its output is in. - if (pt.cmd.watched) { - host_io.commandEof(core, &s.ptys, e.id, s, closeWatched); - return true; - } - _ = libc.close(pt.file.handle); - // Unwatched, a command's exit is read here, as its end, - // and a shell's, for a run waiting on it and the log. - const command = if (core.panes[e.id]) |pn| pn.command != null else false; - const status = host_io.exitStatus(pt.pid, 100); - if (status == null) host_io.retireShell(pt.pid); - s.ptys[e.id] = null; - if (command or status != null) core.update(.{ .exited = .{ .pane = .at(e.id), .status = status } }); - } - core.update(.{ .eof = .{ .pane = .at(e.id) } }); - }, .key_press => |key| if (s.in_paste) { const bytes = vaxis_input.pasteBytes(key); const room = max_paste_bytes -| s.paste_buf.written().len; @@ -1793,21 +1647,7 @@ const Shell = struct { if (pasted.len > 0) s.feed(.{ .paste = pasted }); s.paste_buf.clearRetainingCapacity(); }, - .files_changed => s.check_files = true, .fs_ready => {}, - .lsp_done => |d| { - core.update(.{ .lsp_resp = .{ .id = d.id, .rows = d.rows } }); - if (d.rows) |rows| s.lsp_gpa.free(rows); - if (s.lsp_task) |*t| if (t.id == d.id) { - t.future.await(s.io); - s.lsp_task = null; - }; - }, - .lsp_status => |text| { - var mbuf: [256]u8 = undefined; - core.setStatus(.at(core.view().active), message.stamp(&mbuf, "lsp", text)); - s.lsp_gpa.free(text); - }, .pipe_done => |response_value| { var response = response_value; core.update(.{ .pipe_resp = .{ @@ -1856,8 +1696,7 @@ const Shell = struct { fn reloadWatched(s: *Shell) void { if (!s.check_files) return; s.check_files = false; - if (file_watch.reloadChanged(s.core, s.io, s.gpa, &s.watches)) - s.loop.postEvent(.files_changed) catch {}; + s.watches.reload(s.core); } /// The tty's own motions (its glide, a jump's trail) are under way. @@ -1881,10 +1720,7 @@ const Shell = struct { if (s.fs) |f| if (f.tick().pending) { _ = s.loop.tryPostEvent(.fs_ready) catch {}; }; - for (&s.ptys, 0..) |*slot, id| if (slot.*) |pt| { - var lbuf: [pardes.memory.limits.host_path_cap + 1]u8 = undefined; - if (host_io.ttyCwd(pt.pid, pt.file.handle, s.core.settings.shell.effective.get(), &lbuf)) |cwd| s.core.setCwd(.at(id), cwd); - }; + s.ptys.pollCwds(s.core); const sc = s.term() orelse return; s.core.view().frontend.native_image_patches = sc.feed.shm.load(.acquire); @@ -2026,145 +1862,67 @@ const Shell = struct { tracy.frameMark(); } - fn spawn(ctx: ?*anyopaque, id: pardes.Pane.Id, cwd: []const u8) void { - const pane = id.index(); - const s = of(ctx); - if (s.adoptions.take(id)) |a| return s.takeShell(pane, a); - // The new shell starts before a running one goes: one that cannot - // start leaves the running one be (pty/ctl's exec). - const running = s.ptys[pane] != null; - const child = host_io.forkShell(s.core, pane, s.prompt_rcs, s.core.shellBin(), cwd, s.core.view().screen_h, s.core.view().screen_w) catch |err| { - if (running) return s.core.restartFailed(id, err); - return s.core.shellFailed(id, err); - }; - closePty(ctx, id); // a shell still in the slot goes, reaped - s.gens[pane] +%= 1; - const command = if (s.core.panes[pane]) |pn| pn.command != null else false; - s.ptys[pane] = .{ .file = child.file, .pid = child.pid, .reader = .{ .any_future = null, .result = {} }, .cmd = .{ .watched = command and host_io.watchExit(child.pid), .fd = child.file.handle } }; - var lbuf: [pardes.memory.limits.host_path_cap + 1]u8 = undefined; - // Only a shell given no directory is asked where it is: one given a - // directory is named by it already (newShell), and asked now, before - // its chdir, it would answer this process's, a rename to undo. - if (cwd.len == 0) if (host_io.shellCwd(child.pid, &lbuf)) |wd| s.core.setCwd(id, wd); - if (s.threads_ok) { - if (s.ptys[pane]) |*pt| { - pt.reader = s.io.concurrent(readPty, .{ s.io, s.gpa, pt.file, @as(usize, pane), s.gens[pane], s.loop }) catch pt.reader; - } - } - } - - /// An adopted shell, running already, as pane `pane`'s: told the size - /// twice (a size it never had, then the pane's), which makes it redraw. - fn takeShell(s: *Shell, pane: u8, a: host_io.Adoption) void { - closePty(s, .at(pane)); - s.gens[pane] +%= 1; - const file: std.Io.File = .{ .handle = a.fd, .flags = .{ .nonblocking = false } }; - s.ptys[pane] = .{ .file = file, .pid = a.pid, .reader = .{ .any_future = null, .result = {} }, .cmd = .{} }; - var exe_buf: [pardes.memory.limits.host_path_cap + 1]u8 = undefined; - s.core.acknowledgeShell(.at(pane), host_io.processExe(a.pid, &exe_buf) orelse "sh", host_io.marksPrompts(a.pid)); - var lbuf: [pardes.memory.limits.host_path_cap + 1]u8 = undefined; - if (host_io.shellCwd(a.pid, &lbuf)) |wd| s.core.setCwd(.at(pane), wd); - const tiny: posix.winsize = .{ .row = 1, .col = 1, .xpixel = 0, .ypixel = 0 }; - _ = posix.system.ioctl(a.fd, TIOCSWINSZ, @intFromPtr(&tiny)); - if (s.core.panes[pane]) |pn| ptyResize(s, .at(pane), @max(pn.cols, 1), @max(pn.rows, 1)); - if (s.threads_ok) if (s.ptys[pane]) |*pt| { - pt.reader = s.io.concurrent(readPty, .{ s.io, s.gpa, pt.file, @as(usize, pane), s.gens[pane], s.loop }) catch pt.reader; - }; + /// The command panes' exits, told once their output is in (host_io). + fn takeExits(s: *Shell) void { + s.ptys.takeExits(s.core); } - fn ptyWrite(ctx: ?*anyopaque, id: pardes.Pane.Id, bytes: []const u8) void { - const pane = id.index(); + /// A post to the session's queue (Inbox.wake, any thread): the loop + /// woken, once until it takes them. + fn wakeForQueue(ctx: ?*anyopaque) void { const s = of(ctx); - if (s.ptys[pane]) |pt| _ = host_io.writeFd(pt.file.handle, bytes); + if (s.queue_woken.swap(true, .acq_rel)) return; + // A full queue is taken soon anyway, and the post with it. + if (!(s.loop.tryPostEvent(.nop) catch false)) s.queue_woken.store(false, .release); } - fn ptyResize(ctx: ?*anyopaque, id: pardes.Pane.Id, cols: u16, rows: u16) void { - const pane = id.index(); - const s = of(ctx); - if (s.ptys[pane]) |pt| { - const ws = host_io.ptyWinsize(s.core, cols, rows); - _ = posix.system.ioctl(pt.file.handle, TIOCSWINSZ, @intFromPtr(&ws)); + /// What the session's queue holds: its ptys' output (`waitInput` + /// paces it; the focused pane's is its echo) and their ends of file. + /// A read a step, as the terminal's own queue gave them: the frame + /// after one shows it before what came after it (a command's last line + /// before its exit scrolls it away), the rest kept for the next wait. + fn takeQueue(s: *Shell) void { + while (true) { + if (s.batch_at == s.batch.len) { + s.queue_woken.store(false, .release); + s.ptys.queue.takeInto(&s.batch); + s.batch_at = 0; + if (s.batch.len == 0) return; + } + const m = s.batch.items[s.batch_at]; + s.batch_at += 1; + switch (m) { + .output => |o| { + s.output_seen = true; + s.mail_only = false; + if (s.peers.recording) s.took_output = true; + if (o.pane.index() == s.core.view().active) s.focused_ns = @intCast(std.Io.Clock.awake.now(s.io).nanoseconds); + s.ptys.output(s.core, o); + // The next wait takes the rest (a wake its own: the + // one a post made may be taken already). + _ = s.loop.tryPostEvent(.nop) catch {}; + return; + }, + .eof => |e| s.ptys.eof(s.core, e), + .files_changed => s.check_files = true, + .lsp, .lsp_status => s.ptys.queue.landLsp(s.core, m), + else => m.deinit(s.gpa, s.lsp_gpa), + } } } - fn ptySignal(ctx: ?*anyopaque, id: pardes.Pane.Id, sig: pardes.PtySignal) void { - const pane = id.index(); - const s = of(ctx); - // A command whose exit is recorded is reaped: its group may be - // another's by now. - if (s.ptys[pane]) |pt| if (!pt.cmd.exited) host_io.signalTty(pt.pid, pt.file.handle, sig, pt.cmd.watched); - } - - /// The pane is gone: hang its pty up, which the kernel passes on to the - /// shell as SIGHUP, and retire the shell. Output still in flight - /// carries the old generation and is dropped. - fn closePty(ctx: ?*anyopaque, id: pardes.Pane.Id) void { - const pane = id.index(); - const s = of(ctx); - var pt = s.ptys[pane] orelse return; - s.ptys[pane] = null; - s.gens[pane] +%= 1; - pt.reader.cancel(s.io) catch {}; - _ = libc.close(pt.file.handle); - daemon.closed(pt.pid); - host_io.retireShell(pt.pid); - } - - fn ttyTaken(ctx: ?*anyopaque, id: pardes.Pane.Id) bool { - const pane = id.index(); - const s = of(ctx); - const pt = s.ptys[pane] orelse return false; - return host_io.ttyTaken(pt.pid, pt.file.handle); - } - - fn fgName(ctx: ?*anyopaque, id: pardes.Pane.Id, buf: []u8) ?[]const u8 { - const pane = id.index(); - const s = of(ctx); - const pt = s.ptys[pane] orelse return null; - return host_io.foregroundName(pt.pid, pt.file.handle, buf); - } - - /// The command panes' exits, told once their output is in (host_io). - fn takeExits(s: *@This()) void { - host_io.takeExits(s.core, &s.ptys, s, closeWatched); - } - - fn closeWatched(s: *@This(), id: usize) void { - const pt = &(s.ptys[id] orelse return); - _ = libc.close(pt.file.handle); - s.ptys[id] = null; - } - - fn killJob(ctx: ?*anyopaque, id: pardes.Pane.Id) bool { - const pane = id.index(); - const s = of(ctx); - const pt = s.ptys[pane] orelse return false; - return host_io.killJob(pt.pid, pt.file.handle); - } - - fn writeFile(ctx: ?*anyopaque, id: pardes.Pane.Id, path: []const u8, bytes: []const u8) void { - const pane = id.index(); - const s = of(ctx); - host_io.writeFile(s.core, &s.watches, pane, path, bytes); + /// Everything queued taken (an Upgrade's). + fn takeAll(s: *Shell) void { + while (true) { + s.takeQueue(); + if (s.batch.len == 0) return; + } } fn writeDump(ctx: ?*anyopaque, bytes: []const u8) void { host_io.writeDump(of(ctx).core, bytes); } - fn watchFile(ctx: ?*anyopaque, id: pardes.Pane.Id, _: []const u8, on: bool, mode: pardes.WatchMode) void { - const pane = id.index(); - const s = of(ctx); - if (file_watch.applyEffect(s.core, s.io, s.inotify_fd, &s.watches, pane, on, mode)) - s.loop.postEvent(.files_changed) catch {}; - } - - fn watchTheme(ctx: ?*anyopaque, generation: u32, on: bool) void { - const s = of(ctx); - if (file_watch.applyThemeEffect(s.core, s.gpa, s.inotify_fd, &s.watches, generation, on)) - s.loop.postEvent(.files_changed) catch {}; - } - fn dumpThemes(ctx: ?*anyopaque, id: pardes.Pane.Id) void { const pane = id.index(); const s = of(ctx); @@ -2192,16 +1950,9 @@ const Shell = struct { fn lsp(ctx: ?*anyopaque, req: host_io.Lsp.Request) void { const s = of(ctx); - if (!s.threads_ok) { - s.core.update(.{ .lsp_resp = .{ .id = req.id, .rows = null } }); - return s.core.reportError(req.pane, "lsp", error.WorkersUnavailable); - } - host_io.Lsp.start(s.io, s.lsp_gpa, s.core, &s.lsp_task, req, s, deliverLspRows); - } - - fn deliverLspRows(ctx: ?*anyopaque, id: u32, rows: ?[]u8) void { - const s = of(ctx); - s.loop.postEvent(.{ .lsp_done = .{ .id = id, .rows = rows } }) catch if (rows) |owned| s.lsp_gpa.free(owned); + if (s.threads_ok) return s.ptys.queue.startLsp(s.core, req); + s.core.update(.{ .lsp_resp = .{ .id = req.id, .rows = null } }); + s.core.reportError(req.pane, "lsp", error.WorkersUnavailable); } fn pipe(ctx: ?*anyopaque, id: u32) void { @@ -2257,29 +2008,6 @@ const Shell = struct { } }; -fn lspStatusSink(ctx: ?*anyopaque, text: []const u8) void { - const s: *Shell = @ptrCast(@alignCast(ctx orelse return)); - const copy = s.lsp_gpa.dupe(u8, text) catch return; - const posted = s.loop.tryPostEvent(.{ .lsp_status = copy }) catch false; - if (!posted) s.lsp_gpa.free(copy); -} - -fn watchFiles(io: std.Io, fd: c_int, loop: *Loop) void { - if (comptime builtin.os.tag != .linux and builtin.os.tag != .freebsd) { - while (file_watch.wait(fd)) loop.postEvent(.files_changed) catch break; - return; - } - const file: std.Io.File = .{ .handle = fd, .flags = .{ .nonblocking = false } }; - // One buffer, read into directly: a Reader around it only added a second - // (and in a safe build, filled both as `undefined` on every start). - var buf: [4096]u8 = undefined; - while (true) { - const n = file.readStreaming(io, &.{&buf}) catch break; - if (n == 0) break; - loop.postEvent(.files_changed) catch break; - } -} - fn keepSignal(_: posix.SIG) callconv(.c) void {} /// A replica client's (`runClient`): a hangup is its end, whoever sent it. @@ -2351,44 +2079,6 @@ fn wakeFs(ctx: ?*anyopaque) void { _ = loop.tryPostEvent(.fs_ready) catch {}; } -/// Each pane's reads posted and not yet taken in. Two at most: a flood the -/// loop cannot keep up with waits in its pty, not in the queue ahead of a -/// key and its echo (hundreds of 4 KB reads queued were half a second). -var reads_queued: [pardes.MAX_PANES]std.atomic.Value(u32) = @splat(.init(0)); - -/// A read of pane `id` taken in (or dropped): its reader may read on. Never -/// below zero, for an event no reader posted (a test's). -fn tookRead(io: std.Io, id: usize) void { - var queued = reads_queued[id].load(.acquire); - while (queued > 0) queued = reads_queued[id].cmpxchgWeak(queued, queued - 1, .acq_rel, .acquire) orelse { - if (queued == 2) io.futexWake(u32, &reads_queued[id].raw, 1); - return; - }; -} - -fn readPty(io: std.Io, gpa: std.mem.Allocator, pty: std.Io.File, id: usize, gen: u32, loop: *Loop) error{OutOfMemory}!void { - // One buffer, read into directly: a Reader around it only added a second - // (and in a safe build, filled both as `undefined` on every start). - var buf: [0x10000]u8 = undefined; - read: while (true) { - while (true) { - const queued = reads_queued[id].load(.acquire); - if (queued < 2) break; - io.futexWait(u32, &reads_queued[id].raw, queued) catch break :read; - } - const n = pty.readStreaming(io, &.{&buf}) catch break; - if (n == 0) break; - const bytes = try gpa.dupe(u8, buf[0..n]); - _ = reads_queued[id].fetchAdd(1, .acq_rel); - loop.postEvent(.{ .pty_read = .{ .id = id, .gen = gen, .bytes = bytes } }) catch { - tookRead(io, id); - gpa.free(bytes); - break; - }; - } - _ = loop.tryPostEvent(.{ .pty_eof = .{ .id = id, .gen = gen } }) catch {}; -} - const max_paste_bytes: usize = pardes.memory.limits.max_paste_bytes; fn mouseEvent(m: vaxis.Mouse) ?pardes.Event { @@ -2995,46 +2685,6 @@ test "on a terminal with no kitty graphics a program's 64x64 image over 8x4 cell try std.testing.expectEqual(@as(usize, 32), painted); } -test "TTY queued results reject old PTY generations and LSP request IDs" { - const gpa = std.testing.allocator; - const core = try pardes.Pardes.init(gpa, .{ .tty_only = true, .cols = 40, .rows = 12 }); - defer core.deinit(); - var no_peers: replica.Peers = .{}; - var shell: Shell = .{ - .io = std.testing.io, - .gpa = gpa, - .lsp_gpa = gpa, - .core = core, - .frames = core.frames, - .prompt_rcs = undefined, - .loop = undefined, - .frame = undefined, - .paste_buf = undefined, - .inotify_fd = -1, - .peers = &no_peers, - }; - shell.gens[0] = 2; - _ = shell.apply(.{ .pty_read = .{ .id = 0, .gen = 1, .bytes = try gpa.dupe(u8, "old session\n") } }); - _ = shell.apply(.{ .pty_read = .{ .id = 0, .gen = 2, .bytes = try gpa.dupe(u8, "current session\n") } }); - const text = try pardes.Term.scrollback(core.panes[0].?.terminal, gpa); - defer gpa.free(text); - try std.testing.expect(std.mem.indexOf(u8, text, "old session") == null); - try std.testing.expect(std.mem.indexOf(u8, text, "current session") != null); - - core.lspRequest(0, .status, ""); - const old_id = core.lsp_ask.wait.?.id; - core.lspRequest(0, .status, ""); - const current_id = core.lsp_ask.wait.?.id; - shell.lsp_task = .{ .id = current_id, .future = .{ .any_future = null, .result = {} } }; - _ = shell.apply(.{ .lsp_done = .{ .id = old_id, .rows = try gpa.dupe(u8, "stale result\n") } }); - try std.testing.expect(shell.lsp_task != null); - try std.testing.expectEqual(current_id, shell.lsp_task.?.id); - try std.testing.expectEqual(current_id, core.lsp_ask.wait.?.id); - _ = shell.apply(.{ .lsp_done = .{ .id = current_id, .rows = try gpa.dupe(u8, "") } }); - try std.testing.expect(shell.lsp_task == null); - try std.testing.expect(core.lsp_ask.wait == null); -} - test "TTY worker setup failures finish matching LSP and pipe requests" { const gpa = std.testing.allocator; var failing_vtable = std.testing.io.vtable.*; @@ -3048,19 +2698,22 @@ test "TTY worker setup failures finish matching LSP and pipe requests" { .fail_index = if (failure == 0) 0 else std.math.maxInt(usize), }); var no_peers: replica.Peers = .{}; + var queue: host_io.Inbox = .{ .io = failing_io, .gpa = gpa, .lsp_allocator = failing.allocator() }; + defer queue.deinit(); + var ptys: host_io.Ptys = .{ .queue = &queue, .prompt_rcs = undefined }; var shell: Shell = .{ .io = failing_io, .gpa = failing.allocator(), .lsp_gpa = failing.allocator(), .core = core, .frames = core.frames, - .prompt_rcs = undefined, .loop = undefined, .frame = undefined, .paste_buf = undefined, - .inotify_fd = -1, + .watches = undefined, .threads_ok = true, .peers = &no_peers, + .ptys = &ptys, }; core.lspRequest(core.view().active, .status, ""); const req: host_io.Lsp.Request = .{ @@ -3083,7 +2736,7 @@ test "TTY worker setup failures finish matching LSP and pipe requests" { Shell.pipe(&shell, pipe_id); try std.testing.expect(core.pipe.wait == null); try std.testing.expectEqualStrings("abc", pane.file.?.content); - try std.testing.expect(shell.lsp_task == null); + try std.testing.expect(queue.lsp_task == null); try std.testing.expectEqual(@as(usize, 0), shell.pipe_tasks.len); } } diff --git a/docs/ghostty-kitty-medium.md b/docs/ghostty-kitty-medium.md new file mode 100644 index 00000000..c990ea6d --- /dev/null +++ b/docs/ghostty-kitty-medium.md @@ -0,0 +1,57 @@ +# ghostty: a host cannot be the one that reads a kitty image's medium + +A note for upstream (https://github.com/ghostty-org/ghostty), against the +commit pardes pins (83fb95624b04, 1.4.0, `build.zig.zon`). pardes patches +its fetched copy at build time (build/patches.zig, `ghostty_kitty`, and +build/patches/ghostty_kitty.zig) until upstream has a way, if it wants one. + +## What a host cannot do + +A kitty graphics transmission by file (`t=f`), temporary file (`t=t`) or +shared memory (`t=s`) is read inside `LoadingImage.init` +(`src/terminal/kitty/graphics_image.zig`): `readFile` opens, checks and +reads the path, and deletes a temporary file; `readSharedMemory` opens, +maps, copies and unlinks the object. A host of libghostty-vt can allow or +refuse each medium (`LoadingImage.Limits`), and nothing else: it cannot +be the one that has the bytes. + +pardes needs to. A session's terminal is parsed by its own emulator and, +the same bytes in the same order, by the emulator of every client of the +session, each on its own machine. A file or a shared memory object names +something on the session's machine, and a temporary file or an object is +gone once its first reader has read it. So a client must not read the +medium: it must be handed the bytes the session read, or the failure the +session met, and the program must be answered once, by the session. If a +client refuses the medium instead, a shown image (`a=T`) moves the +session's cursor past it and not the client's, and the two terminals part. + +## The patch + +`LoadingImage.read_medium`, a hook a host may set (null: ghostty's read +as it is). When set, `init` hands it ghostty's own read as a function and +a context, and the allocator the bytes are to be in; what it returns +becomes the image's data: + +```zig +pub var read_medium: ?*const fn (ctx: *const anyopaque, read: *const fn (ctx: *const anyopaque) MediumError![]u8, alloc: Allocator) MediumError![]u8 = null; +``` + +The read itself is ghostty's, unchanged (`readFile`, `readSharedMemory`, +their checks, the deletion and the unlink), behind a small struct appended +to the file (`PardesMedium.read`). pardes's hook calls it on the session +and records what it returned; a client's hook returns the recorded bytes +(or error) without calling it. Everything before the read (the limits, +the PNG check, the path's NUL check) and after it (decompression, +decoding, the size checks of `complete`, the answer) runs on every side +alike. + +## Why not rewrite the transmission instead + +The other way is to turn `t=f`, `t=t` and `t=s` into direct data before +the emulator sees it. That parses the APC outside ghostty, repeats its +rules (the temporary directory and the name a temporary file must have, +the `/proc`, `/sys` and device refusals, the shared memory range by +format, offset and size, `S` meaning an exact length), and re-encodes the +bytes as base64 a third larger, chunked to the protocol's limits. It also +changes what the emulator sees, so its answer to the program has to be +checked to match. The hook keeps all of that in ghostty. diff --git a/docs/ghostty-page-size.md b/docs/ghostty-page-size.md new file mode 100644 index 00000000..6e65f36a --- /dev/null +++ b/docs/ghostty-page-size.md @@ -0,0 +1,128 @@ +# ghostty: a terminal's state depends on the OS page size + +A report for upstream (https://github.com/ghostty-org/ghostty), against +the commit pardes pins (83fb95624b04, 1.4.0, `build.zig.zon`). pardes +patches its fetched copy at build time (build/patches.zig, `ghostty_page` +and `ghostty_mem`) until it is fixed there, if upstream wants it fixed. + +## What happens + +A page's memory is rounded up to the OS page (`src/terminal/page.zig`, +`Page.layout`): + +```zig +const total_size = alignForward(usize, meta_end, std.heap.page_size_min); +``` + +`page_size_min` is 4 KiB on x86-64 and aarch64 Linux, FreeBSD and x86-64 +macOS, and 16 KiB on aarch64 macOS (Zig's `std/heap.zig`). The rounding is +not only slack: `Capacity.adjust` fills the rounded size with rows +(`availableBytesForGrid` is `total_size` less the metadata), and a style +table that grows is sized to fill it too. A standard page is 401,408 bytes +on Linux and 409,600 on an Apple silicon Mac. The scrollback limit +(`max_scrollback_bytes`) counts these bytes and prunes a whole page at a +time, so the same bytes fed to two terminals of the same size keep +different history on the two machines, and the snapshot of either +records its own capacity hints. + +pardes meets it because a client of a session runs its own emulator on +the pty's bytes: a Mac client of a Linux session must end with the +session's terminal, row for row. + +## Measured + +A driver fed eight streams through pardes's own wrapper +(`core/term/terminal.zig`), at 120x40, in reads of 4,096 and 65,536 bytes, +resized to 61x43 at a third and back at two thirds; then the hash of +pardes's per-unit digest (the active screen's text, the history's extent, +the view, the cursor) and of ghostty's full snapshot. Linux x86-64 (SIMD +on and off) and FreeBSD 15.1 amd64 gave the same lines; the Mac +(Darwin 25.6, arm64): + +| stream | digest | snapshot | history rows, Linux / Mac | +|---|---|---|---| +| shell, 90 KB | equal | differs (a style capacity hint, 388 / 397, and its record's CRC) | 0 / 0 | +| TUI, 31 KB | equal | equal | 0 / 0 | +| source text, 3.1 MB | differs | differs | 25,323 / 25,264 | +| build logs, 1.6 MB | differs | differs | 15,531 / 15,495 | +| heavy colour and links, 10 MB | differs | differs | 14,201 / 13,024 | +| a colour a cell, a link a word, stacked marks, 9 MB | differs | differs | 4,296 / 3,716 | +| kitty images, raw RGBA, 8.4 MB | equal | equal | 0 / 0 | + +The active screen's text, the cursor and the modes are the same on both; +what differs is how much history is kept and, on the last stream, which +links were dropped for lack of room in a page (19,002 `start_hyperlink +OutOfSpace` on Linux, 19,750 on the Mac). The smallest streams that show +it: the first 601,027 bytes of the source text (the first prune) for the +history, the first 11,690 bytes of the shell stream (its page's style +table grows) for the snapshot alone. + +The same driver built for Linux with `std.options.page_size_min = 16 KiB` +gives the Mac's lines exactly, digest and snapshot, on every stream: the +page size is the whole cause. + +## The fix + +Round a page's size to 4 KiB on every target, whatever the OS page is: + +```diff +--- a/src/terminal/page.zig ++++ b/src/terminal/page.zig +@@ Page.layout +- const total_size = alignForward(usize, meta_end, std.heap.page_size_min); ++ const total_size = alignForward(usize, meta_end, 4 << 10); +@@ Page.init +- assert(l.total_size % std.heap.page_size_min == 0); ++ assert(l.total_size % (4 << 10) == 0); +--- a/src/terminal/mem.zig ++++ b/src/terminal/mem.zig +@@ decommit, recommit +- assert(memory.len % std.heap.page_size_min == 0); ++ assert(memory.len % (4 << 10) == 0); +``` + +Why the Mac is the one that changes: on Linux and FreeBSD, where +`page_size_min` is 4 KiB, the three lines are what they were, so their +terminals are byte for byte what they were (the same history, the same +cost); only an Apple silicon Mac's pages shrink to Linux's sizes. + +Why a Mac can: the length of a page's memory need not be a whole number of +OS pages. A page's memory is `mmap`ed (`Page.init`, `AllocPosix`) or a +pool item allocated alone by the page allocator (`UntouchedPool`, ghostty's +tagged allocator on Darwin, which rounds the mapping up to whole pages and +unmaps it the same way); the pointer stays 16 KiB aligned, as its type +says; only the length is shorter than the mapping. `madvise` (`decommit`, +`recommit`: `FREE_REUSABLE`, `FREE_REUSE`) acts on whole pages, and the +last page of a mapping is that page's alone, the slack included. What +asked for whole OS pages were three assertions, which now ask for 4 KiB: +in a safe build they failed at once on a Mac; in a fast one they were +promises to the optimiser. Nothing else in ghostty's terminal, its page +pool, its compression or its snapshot loader reads the rounding. + +With it, the Mac gives Linux's lines on every stream (and with the PNG fix +of docs/zstbi-fp-contract.md, the PNG stream too). + +## What it costs + +Nothing on Linux and FreeBSD. On an Apple silicon Mac a page's mapping +keeps up to 12 KiB it does not use (8 KiB for a standard page: 401,408 +bytes in 409,600), never touched, so never resident; the scrollback's +16 MiB budget counts the 4 KiB-rounded size, so a Mac now keeps Linux's +history (above: 25,323 rows of source text, 14,201 of heavy colour, where +it kept 25,264 and 13,024). + +Measured with the Edit: on Linux and FreeBSD the cross-check driver's +eighteen lines are the lines it gave before, page counts and page bytes +included; pardes-perf's per-operation counts are within 0.03% of the +base's (its terminal cells +0.007%); on the Mac a ReleaseSafe build of +the driver runs all eight streams, the full scrollbacks' pruning and +page reuse included, with no assertion, and gives Linux's lines. + +## Upstream today + +Not read beyond what is on this machine (no network). The pin, 83fb956 +(1.4.0), has the rounding at `page.zig:1770`. The newest other copy here, +`~/05-genizah/ghostty` at its `main` (e8e7fea1, 2026-06-16, 1.3.2-dev), is +OLDER than the pin and has the same line (`page.zig:1753`). So moving the +pin is no fix as far as can be seen from here; whether upstream changed +it after 1.4.0 is not known. diff --git a/docs/next-editor.md b/docs/next-editor.md index 120b4c09..e7168256 100644 --- a/docs/next-editor.md +++ b/docs/next-editor.md @@ -7,7 +7,7 @@ Decided 2026-11-17 on the coordinator's leans (survey: `.scratch/sketch/reports/editor-lib.md`); built the same day. One source of truth: the library runs the functions pardes runs, compiled from the -same files with `pardes_config.lib` set; nothing is copied for it. +same files with `pardes_options.lib` set; nothing is copied for it. ## The calls, as built diff --git a/docs/next-run.md b/docs/next-run.md index 06941026..74eab197 100644 --- a/docs/next-run.md +++ b/docs/next-run.md @@ -1,4 +1,4 @@ -# Running pardes: an attach is always a client (ruled, not built) +# Running pardes: an attach is always a client (ruled; built 2026-11-20, all but `--detach` forking) > the way it's distributed with client/server and detached and stuff, it's > confusing to me now and I think it must be confusing in the code too, @@ -7,69 +7,84 @@ Ruled by the user on 2026-11-17, answering the reorganisation plan's questions: the words of distribution (*session*, *client*, *far*, *frontend*, *detached*, *attach*); "attach is always a client"; the daemon -stays as built; the vocabulary and the manual's page first, no code moved -yet. Nothing in this note is built. What runs today, with a figure for each -way of starting pardes, is the manual's "How pardes runs" +stays as built; the vocabulary and the manual's page first, the code +after. Built on 2026-11-20 (agent pardes-attach, report +`.scratch/sketch/reports/pardes-attach.md`): an attach is always a client, +the in-place attach deleted, and a session registering again with a +restarted daemon. Not built: `--detach` forking (below). What runs, with a +figure for each way of starting pardes, is the manual's "How pardes runs" (`docs/typ/running.typ`); the daemon's history is `docs/next-daemon.md`. -Line numbers are this tree's, 2026-11-19. ## The ruling A session's own frontend is only the one it was born with. Once it has let that go (a Detach, its terminal or window closing), it stays detached, and every attach after that is a client: a process of its own with a -replica core, as the second attach to a session is today. +replica core, as the second attach to a session already was. Two more things go with it (the coordinator's, put to the user with the question): - a session registers again with a daemon that was restarted, so a daemon's - death no longer leaves its sessions unlisted for good; + death no longer leaves its sessions unlisted for good (built); - `--detach` forks as a terminal's session does, so the process you typed - returns at once and `ps` always shows a session the same way. + returns at once and `ps` always shows a session the same way (not + built). -## Today, and after +## Before, and now - + The figure is `docs/next-run.typ`, drawn by `docs/typ/figures.typ` (`typst compile --root . --ignore-system-fonts -f svg docs/next-run.typ docs/next-run.svg`). -Today `pardes attach` is four mechanisms, picked by the daemon's `find` -(`runtime/daemon.zig:901-972`) and by `main.zig`'s `attachTo` -(`runtime/main.zig:1806-1842`): a terminal handed to a detached terminal's -session, which draws on it in its own process while the attach process -waits as its stub; a window's detached session asked to open its own -window again, while the attach process exits; a client here, when the -session has a frontend or is of the other kind; a far client through -`ssh -L`. After, it is the last two only: a client, here or far. +Before, `pardes attach` was four mechanisms, picked by the daemon's `find` +and by `main.zig`'s `attachTo`: a terminal handed to a detached terminal's +session, which drew on it in its own process while the attach process +waited as its stub; a window's detached session asked to open its own +window again, while the attach process exited; a client here, when the +session had a frontend or was of the other kind; a far client through +`ssh -L`. Now it is the last two only: a client, here or far. +`runtime/main.zig`'s `attachTo` goes to this machine's replica socket with +the name (the daemon refuses one no session has); bare, `bareAttach` takes +the one detached session from the daemon's `list`, else the one session, +else names them and asks which. -## What it removes +What a user who relied on the in-place attach does now: `pardes attach +work` (or `pardes-gui attach work`) is a client of the detached session, +its own process in this terminal or window. What differs from having the +session's own frontend back: the client is a second process (a terminal's +10-16 MB, a window's about 110 MB); an addon that is not plain runs in the +session alone (its panes show a line saying so); its Detach, or its +terminal closing, ends the client with "'work' let this client go" and exit +1, where the stub said "detached from 'work'" and exit 0 (the last word a +session sends its client, and exit codes, are the next steps: "B" in +`.scratch/sketch/reports/pardes-last-step-design.md`). -The reorganisation plan's option b, checked against this tree: +## What it removed -| What goes | Where today | Lines, about | -|---|---|---| -| A terminal handed to a session: the daemon's `attach` request and answer, the session's `attachTerminal`, the `attach` note and message | `runtime/daemon.zig:400-403`, `:431-437`, `:504-533`, `:883-897`; `dev/tui/tui.zig:107-109`, `:1037-1040`, `:1135-1140`, `:1354-1387`, `:1711`; `runtime/main.zig:1821-1842` | 110 | -| A window opened again in place | `dev/gui/gui.zig:550-557` (what it reopens with), `:1004-1022` (`reopenWindow`), `:2588-2601` (`openTheWindow`), `:2823`, `:3388-3394` | 50 | -| The daemon choosing which session takes a frontend: `find`, its `other` answer, the use of `daemon.Kind` to match | `runtime/daemon.zig:901-972`, `:506-509` | 75 | -| The stub's second use: an attach process waiting on a session that is not its child (`stubWait`'s `child = false`, its `r` refusals) | `runtime/daemon.zig:561-616` in part (`:593-597`, `:613-615`) | 10 | +Counted on the change itself (deleted lines, comments with them; a +function's added replacement in brackets): -What does not go, against the plan's list: the upgrade record's terminal -and window fields. A session born with a terminal still takes it across an -Upgrade (`dev/tui/tui.zig:1438-1446`, `runtime/upgrade.zig:101-117`), and a window's still -says whether it had its window (`dev/gui/gui.zig:2656`). Only the record's other -terminals (`dev/tui/tui.zig:1487-1506`, a build's from before 2026-11-06, when a -second local terminal stopped being the session's) are already dead weight. -Detach of the session's own frontend stays too (`dev/tui/tui.zig:1327-1352`, -`dev/gui/gui.zig:2530-2539`, `:2575-2586`): it is how a session becomes detached. -`daemon.Kind` stays in the hello and in `pardes ps` (`tty` or `gui`). +| What went | Where | Lines | +|---|---|---| +| The daemon choosing which session takes a frontend: `find`, its `other` answer, the `attach` verb and its test | `runtime/daemon.zig` `Daemon.find`, `Daemon.take` | 99 | +| The attach request: `daemon.attach`, `Answer`, `Note.attach` and the reader's arm | `runtime/daemon.zig` | 36 | +| The stub's second use: `stubWait`'s `child` and its `r` and `x` words, `tellStubExit` | `runtime/daemon.zig`, `runtime/main.zig` | 37 | +| `attachTo`'s two hand-offs and `crossAttach` | `runtime/main.zig` | 41 (+16: `attachTo`; +33: `bareAttach` and its test, what `find` chose, done here) | +| A terminal handed to a session: `attachTerminal`, `refuse`, the `.attach` message and its three arms | `dev/tui/tui.zig` | 52 | +| A window opened again in place: `openTheWindow`, `Shell.detached`, the queue's `.window` and its arms | `dev/gui/gui.zig`, `dev/Inbox.zig`, `runtime/macos.zig` | 34 | +| `setState(false)`, which nothing says now | `runtime/daemon.zig` (`setDetached`) | 2 | +| **in all** | | **305 deleted, 94 added** | -The plan counted 87 + about 60 + 67 lines for the first three rows; the -counts above include each piece's comments and its callers' lines. +What did not go: the upgrade record's terminal and window fields (a +session born with a terminal still takes it across an Upgrade); Detach of +the session's own frontend (it is how a session becomes detached); +`reopenWindow`, which a WindowOpacity under 100 makes a window again with; +`daemon.Kind` in the hello and in `pardes ps` (`tty` or `gui`). -## What a client lacks today, which the change makes work +## What a client lacked, which the change made work The ruling turns these from objections into work. Each is checked here: what is true, and whether it was measured. @@ -86,7 +101,7 @@ what is true, and whether it was measured. terminal's client and is four or five times too small for a window's; what would shed it is a lighter way to draw, not a lighter core. A client adds about 1.3 MB to its session (a terminal's), 13 MB (a - window's with addon panes). Today only a second attach pays it; after, every attach to a detached + window's with addon panes). Before, only a second attach paid it; now every attach to a detached session does, which is the tmux habit (`pardes --detach=work`, then `pardes attach work`). - **An addon's code does not run in a replica.** No longer so for an @@ -121,23 +136,31 @@ what is true, and whether it was measured. Not measured here: a keystroke to its frame, local client against own frontend, on the soak gate. -## A session registering again +## A session registering again (built) -Today a session says hello once, at its start (`runtime/main.zig:1567-1595`), or -on its link after an Upgrade (`runtime/daemon.zig:392-398`). When the daemon dies -the session's reader sees the link end (`runtime/daemon.zig:419-425`) and nothing -dials again, so the session runs on unlisted: `pardes ps` and attach do not -find it, Detach and Adopt refuse, and its frontend closing ends it -(`dev/tui/tui.zig:1699-1709`, `dev/gui/gui.zig:1839`). The next daemon knows only the -sessions that start after it. +Before, a session said hello once, at its start, or on its link after an +Upgrade; when the daemon died the session's reader saw the link end and +nothing dialled again, so the session ran on unlisted: `pardes ps` and +attach did not find it, Detach and Adopt refused, and its frontend closing +ended it. With "an attach is always a client" that would have meant no +attach to any session after a daemon's death. -The work: when `gone` is set, the session's loop (which calls -`daemon.watch` each iteration already, `runtime/session.zig:115`, `:133-135`) -dials again, starting a daemon if none answers (`daemon.connect(true)`), -says its hello with its state, sends a dup of every pty master it holds -(at most 64 fds a message, `runtime/daemon.zig:37`), and its clients' pids. What -cannot come back: the shells of sessions killed earlier, which only the -dead daemon held. +Now (`runtime/daemon.zig` `readNotes`, `redial`, `relinked`; +`runtime/session.zig` `watch`; `dev/Ptys.zig` `tellDaemon`): the reader +thread, blocked in its read, is woken by the link's end alone. If the +daemon had taken the hello (an `ok` came) and the session is not ending, +it dials the next daemon, starting one if none answers +(`daemon.connect(true)`: the lock decides which of several sessions starts +it), puts the new connection on the link's own fd (`dup3`, so the session +loop's own sends never race a new fd) and says the hello with its kind, +name and whether it is detached. It then posts a note that wakes the +session loop once, which tells the new daemon a dup of every pty master it +holds and its clients' pids. Nothing polls and nothing waits on a timer: an +idle session is at 0 wakeups before and after (`test/daemon.py --relink`, +2 s each). A link the daemon never took (another build's daemon refuses +the hello) is not dialled again, so two builds cannot loop. What cannot +come back: the shells of sessions killed earlier, which only the dead +daemon held. ## `--detach` forking @@ -166,10 +189,10 @@ binary's strings (`/usr/sbin/rex` links libghostty); Rex was not run. | Who holds the programs | one server an account holds every session and runs every program (`skill-show.txt`) | each session is its own process, with the truth; the daemon holds a dup of each pty master and a list | | What starts it | any command starts a missing server (`--autostart`) | the first session starts the daemon; what you start is the session | | A client | "one program connected to the server" (`help-client.txt`); not a thin view: it replays the server's stream into its own libghostty and draws locally (the binary links libghostty; the help text does not say so, and this row first called it a view of the server's state: the user's correction, 2026-11-17) | the same principle, the stream shipped and the state derived where it is shown, into a whole replica core with its own view; what pardes adds is a client applying its own input before the session confirms it (speculation, rolled back when the session ordered things otherwise) and a predicted echo | -| Attach | no user's verb; in the API "start receiving its events and get its current view" | today four mechanisms; after this note, one: a client | +| Attach | no user's verb; in the API "start receiving its events and get its current view" | one: a client (four mechanisms until 2026-11-20) | | The last client leaves | "the session keeps running" (`api-session.detach.txt`) | the same for a client; today a session's own frontend closing depends on its kind and the daemon | | Another machine | the same commands with `-S HOST` | `attach HOST:NAME`; a far session's 9P is not reached that way | -| The server or daemon dies | "Stopping the server ends every program" (`help-server-stop.txt`) | a killed daemon ends nothing; today its sessions run on unlisted | +| The server or daemon dies | "Stopping the server ends every program" (`help-server-stop.txt`) | a killed daemon ends nothing; its sessions start the next and register with it again | What pardes bought that Rex does not have: a deterministic core replicated in each client, so a far session feels local (a key is applied @@ -182,8 +205,6 @@ session takes back. ## Open questions -- Re-registration: dial again at once and back off, or only when - something needs the daemon (a Detach, an Adopt, the frontend closing)? - `--detach` with no daemon starts a session nothing can attach to (`runtime/main.zig:1567-1569` ignores the failed registration). Refuse, or keep it as a 9P-only session? @@ -191,6 +212,6 @@ session takes back. own (the daemon's list, and so /sessions, still says `attached`, a wire word). After the change that frontend can only be the first one: is "has a frontend" the word, or "with its first frontend"? -- When: the order the user ruled is this vocabulary and the page first, - and the code after sketchbook's steps land (`.scratch/sketch/PARDES.md`, - ruling 4). +- A client's Detach exits 1 with "let this client go", where the stub's + said "detached from" and exited 0: the session's last word to a client + (step B of the last-step design) would let it say which. diff --git a/docs/next-run.svg b/docs/next-run.svg index fdfc705a..b46d94fa 100644 --- a/docs/next-run.svg +++ b/docs/next-run.svg @@ -1 +1 @@ -<svg viewBox="0 0 487.559055118 263.622047244" width="487.559055118pt" height="263.622047244pt" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:h5="http://www.w3.org/1999/xhtml"><path fill="#fffdeb" fill-rule="nonzero" d="M 0 0v 263.622047244h 487.559055118v -263.622047244Z "/><g transform="translate(11.338582677 11.338582677)"><g transform="translate(6.377952756)"><path fill="none" transform="translate(0 3.140114173)" d="M 0 0h 100.575v 7.893h -100.575v -7.893Z "/><g transform="translate(0 3.140114173)"><g transform="matrix(1 0 0 -1 0 5.805)"><use xlink:href="#gCBC02698E0DC81949E7946DCCAD7CA82" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB44AD3C00DF2BD7A3B0995B729B2F89E" x="5.301" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gF88A53126547B34D74B7301FD88D8DF1" x="10.323" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g965CA1D8408744C80095348185AD8EB9" x="15.372" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB660411C2F58EF21C746E36AF5EB3882" x="19.926" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g398368A0D00D14BA56A0002AB19285E8" x="24.948" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB5AA84E78D76FDE35653B311F1AA0E2B" x="29.502" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB44AD3C00DF2BD7A3B0995B729B2F89E" x="33.021" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g3AABD6367CE61353955D2F6F568F5DF" x="37.98" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g3DAF27FF8EE988A590BB98F02E9B14AB" x="43.362" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g695758CB2C6BE00D50F851A154409E48" x="49.464" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g136C905B50E42975079434436E4DAEF4" x="57.609" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g1B4BB274E0645BBC7FEACF3996C1781A" x="62.073" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gBEE8BA0F24EAA5B9AC424E258079A41E" x="66.177" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g965CA1D8408744C80095348185AD8EB9" x="71.748" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g77DFF579C4297C58BB534BE65B39B6CA" x="76.302" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g5D166F0F7E5A44368BF2E983F6EE9FD5" x="81.846" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g5CCD08CEE029BB1E1252C86C73083DDC" x="84.744" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g695758CB2C6BE00D50F851A154409E48" x="88.587" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g5CCD08CEE029BB1E1252C86C73083DDC" x="96.732" y="0" fill="#293f35" fill-rule="nonzero"/></g></g><path fill="none" transform="translate(0 31.140848031)" d="M 0 0h 86.2766v 5.7498h -86.2766v -5.7498Z "/><g transform="translate(-1.1e-7 31.140847984)"><g transform="matrix(1 0 0 -1 0 4.773)"><use xlink:href="#gEA697D3AA600950D3503999204808095" x="0" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="5.4464" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="7.7182" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gA0586F0D2D4C6A9E691AAC05AA88B5C6" x="10.6856" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g51D2901EEF863DC6E5D6F7FFEB96FC3" x="13.3274" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="19.1216" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="21.164" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="24.9972" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g4A2782C275CDF79DA78B5EAF78F9C469" x="28.5936" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g1DB8A00DF728AA39A61155EC2A73D367" x="30.562" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="32.5452" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="37.0074" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="39.6196" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="42.587" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="45.1992" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="47.8114" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="49.8538" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="53.1616" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE96EA473BA9C7FC59449D03505FC99F5" x="56.9948" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g331101EC19D94DBA83B72BC0E35993FF" x="60.4654" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="64.084" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="67.0514" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="69.3232" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g5F6B5B58B9859169D31B8362C347FEDF" x="72.9196" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="75.7982" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="79.6388" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g331101EC19D94DBA83B72BC0E35993FF" x="82.658" y="0" fill="#3d6055" fill-rule="nonzero"/></g></g><path fill="#fffdeb" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(0 41.102362205)" d="M 0 0m 2 0c -1.103568 0 -2 0.896432 -2 2v 22.929133858c 0 1.103568 0.896432 2 2 2h 92.377952756c 1.103568 0 2 -0.896432 2 -2v -22.929133858c 0 -1.103568 -0.896432 -2 -2 -2h -92.377952756Z "/><path fill="none" transform="translate(10.097223448 51.165205501)" d="M 0 0h 76.183505859v 6.803447266h -76.183505859v -6.803447266Z "/><g transform="translate(10.097223307 51.16520537)"><g transform="matrix(1 0 0 -1 0 5.341152344)"><use xlink:href="#g6516EBF8634F8ACF12BB342ADDDCB8A6" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="4.232416992" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="8.464833984" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g15DEB9D2A8B3973474F57A46943BB23F" x="12.697250977" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g56CDD368D5583E871C775654264D6775" x="16.929667969" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAFEBBDFB460EB0C08478C1E849AF4DD7" x="21.162084961" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="29.626918945" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="33.859335938" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="38.09175293" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="42.324169922" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA9CF33D0D1D8CAA2E91905CCF7AF386E" x="46.556586914" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g1C44445D4E73BE0785133DA3643417B4" x="50.789003906" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA53B11B5D7DE22624F603554D7751F7A" x="59.253837891" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB36B05DB7C8B106A24538B5154E2ECAE" x="63.486254883" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="67.718671875" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g79C123D67CCDD083B73E9A197F3F3128" x="71.951088867" y="0" fill="#293f35" fill-rule="nonzero"/></g></g><path fill="none" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(96.377952756 54.566929134)" d="M 0 0h 10.482846745"/><path fill="#293f35" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(106.010405858 53.291338583)" d="M 0 0m 3.401574803 1.275590551l -3.401574803 -1.275590551l 0.850393701 1.275590551l -0.850393701 1.275590551l 3.401574803 -1.275590551Z "/><path fill="#e5efec" fill-rule="nonzero" stroke="#36826b" stroke-width="1.3" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(110.551181102 41.102362205)" d="M 0 0m 3 0c -1.655352 0 -3 1.344648 -3 3v 20.929133858c 0 1.655352 1.344648 3 3 3h 96.047244094c 1.655352 0 3 -1.344648 3 -3v -20.929133858c 0 -1.655352 -1.344648 -3 -3 -3h -96.047244094Z "/><path fill="none" transform="translate(113.385826772 45.934829134)" d="M 0 0h 96.377952756v 17.2642h -96.377952756v -17.2642Z "/><g transform="translate(113.385826772 45.934829008)"><g><g transform="matrix(1 0 0 -1 6.549176378 4.8692)"><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="2.3384" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="6.3196" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="11.4774" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="14.3634" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="17.6712" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="20.5572" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="23.4432" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="25.4486" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="29.1782" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="35.039" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="38.7834" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="41.5362" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="44.918" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="50.4458" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="55.1818" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="59.163" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="62.4708" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="65.1644" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8AA8538F7E24294E2CAE099289BB02E" x="68.4722" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="72.0686" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="74.407" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="78.3882" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="80.3936" y="0" fill="#293f35" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 11.107576378 14.5484)"><use xlink:href="#gE463BBA7A0B790CD6263FF7D95B0059" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="3.8406" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="6.5342" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="10.3156" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="13.4828" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="16.7906" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="19.6766" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g30C2621CFB156FC7FA7A5C34E756626C" x="24.4126" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="28.1348" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="31.4944" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="34.6616" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g502A19B2EAB7D3B413152B8028260B4F" x="38.3912" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="44.2372" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="47.545" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="52.281" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="54.2864" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="56.6248" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="61.3608" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="64.2468" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8115B8898C77FA1AC952AEA1F1C8868F" x="66.5852" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g30C2621CFB156FC7FA7A5C34E756626C" x="70.5146" y="0" fill="#293f35" fill-rule="nonzero"/></g></g></g><path fill="none" transform="translate(0 79.329824409)" d="M 0 0h 84.0936v 5.7498h -84.0936v -5.7498Z "/><g transform="translate(-9.4e-8 79.329824362)"><g transform="matrix(1 0 0 -1 0 4.773)"><use xlink:href="#gEA697D3AA600950D3503999204808095" x="0" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gAEB14721E05777B2298C4935FA0D5596" x="5.4464" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="10.5376" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="12.58" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g331101EC19D94DBA83B72BC0E35993FF" x="16.4132" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="20.0318" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gAEB14721E05777B2298C4935FA0D5596" x="23.2878" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g1DB8A00DF728AA39A61155EC2A73D367" x="28.379" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="30.3622" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="34.8244" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="37.4366" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="40.404" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="43.0162" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="45.6284" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="47.6708" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="50.9786" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE96EA473BA9C7FC59449D03505FC99F5" x="54.8118" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g331101EC19D94DBA83B72BC0E35993FF" x="58.2824" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="61.901" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="64.8684" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="67.1402" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g5F6B5B58B9859169D31B8362C347FEDF" x="70.7366" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="73.6152" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="77.4558" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g331101EC19D94DBA83B72BC0E35993FF" x="80.475" y="0" fill="#3d6055" fill-rule="nonzero"/></g></g><path fill="#fffdeb" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(0 89.291338583)" d="M 0 0m 2 0c -1.103568 0 -2 0.896432 -2 2v 22.929133858c 0 1.103568 0.896432 2 2 2h 92.377952756c 1.103568 0 2 -0.896432 2 -2v -22.929133858c 0 -1.103568 -0.896432 -2 -2 -2h -92.377952756Z "/><path fill="none" transform="translate(1.632389464 99.330153559)" d="M 0 0h 93.113173828v 6.851503906h -93.113173828v -6.851503906Z "/><g transform="translate(1.632389386 99.330153449)"><g transform="matrix(1 0 0 -1 0 5.341152344)"><use xlink:href="#g6516EBF8634F8ACF12BB342ADDDCB8A6" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="4.232416992" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="8.464833984" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g15DEB9D2A8B3973474F57A46943BB23F" x="12.697250977" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g56CDD368D5583E871C775654264D6775" x="16.929667969" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAFEBBDFB460EB0C08478C1E849AF4DD7" x="21.162084961" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g58B9648DC59AA07203C3D2D0219F23B0" x="25.394501953" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA84BF29868B6D7A9285BA3B966F83566" x="29.626918945" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gBBBD00F1306CF31EE80D575649D29609" x="33.859335938" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g3148C5B55E2FA22B889139DEBBE7337B" x="38.09175293" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="46.556586914" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="50.789003906" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="55.021420898" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="59.253837891" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA9CF33D0D1D8CAA2E91905CCF7AF386E" x="63.486254883" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g1C44445D4E73BE0785133DA3643417B4" x="67.718671875" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA53B11B5D7DE22624F603554D7751F7A" x="76.183505859" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB36B05DB7C8B106A24538B5154E2ECAE" x="80.415922852" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="84.648339844" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g79C123D67CCDD083B73E9A197F3F3128" x="88.880756836" y="0" fill="#293f35" fill-rule="nonzero"/></g></g><path fill="none" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(96.377952756 102.755905512)" d="M 0 0h 10.482846745"/><path fill="#293f35" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(106.010405858 101.480314961)" d="M 0 0m 3.401574803 1.275590551l -3.401574803 -1.275590551l 0.850393701 1.275590551l -0.850393701 1.275590551l 3.401574803 -1.275590551Z "/><path fill="#e5efec" fill-rule="nonzero" stroke="#36826b" stroke-width="1.3" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(110.551181102 89.291338583)" d="M 0 0m 3 0c -1.655352 0 -3 1.344648 -3 3v 20.929133858c 0 1.655352 1.344648 3 3 3h 96.047244094c 1.655352 0 3 -1.344648 3 -3v -20.929133858c 0 -1.655352 -1.344648 -3 -3 -3h -96.047244094Z "/><path fill="none" transform="translate(113.385826772 93.750105512)" d="M 0 0h 96.377952756v 18.0116h -96.377952756v -18.0116Z "/><g transform="translate(113.385826772 93.750105402)"><g><g transform="matrix(1 0 0 -1 9.683076378 4.8692)"><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="2.3384" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="6.3196" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="11.4774" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="14.3634" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="17.6712" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="20.5572" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="23.4432" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="25.4486" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="29.1782" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="35.039" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gE463BBA7A0B790CD6263FF7D95B0059" x="38.7686" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="42.661" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="45.9688" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="49.9796" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="54.7156" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="56.721" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="59.0594" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="63.7954" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="67.4732" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="73.001" y="0" fill="#293f35" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 8.351076378 14.5484)"><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="5.5278" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="7.5332" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="11.544" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="15.2884" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="18.9662" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8AA8538F7E24294E2CAE099289BB02E" x="24.494" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="28.0904" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="30.4288" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="34.41" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="36.4154" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gE463BBA7A0B790CD6263FF7D95B0059" x="41.1514" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="44.992" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="47.6856" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="51.467" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="54.6342" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="57.942" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="60.828" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="65.564" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8116C7A8612503EE2E30BE26518FB452" x="68.82" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="72.446" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="74.4514" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="76.7898" y="0" fill="#293f35" fill-rule="nonzero"/></g></g></g><path fill="none" transform="translate(0 127.126600787)" d="M 0 0h 106.9226v 6.5342h -106.9226v -6.5342Z "/><g transform="translate(-1.1e-7 127.126600724)"><g transform="matrix(1 0 0 -1 0 4.773)"><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="0" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="2.0424" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="6.1642" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="10.0048" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="13.6012" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="18.0634" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g7099D674A30674388E34F33BC3BABC25" x="23.5098" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gA0586F0D2D4C6A9E691AAC05AA88B5C6" x="25.8334" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="28.416" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="31.7238" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="35.557" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="37.8288" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="40.7962" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g331101EC19D94DBA83B72BC0E35993FF" x="44.6294" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE96EA473BA9C7FC59449D03505FC99F5" x="48.248" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="51.7186" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gA0586F0D2D4C6A9E691AAC05AA88B5C6" x="55.0264" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="59.5182" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="61.5606" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="66.0228" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="68.2946" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="72.1352" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="76.9526" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="80.2604" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="82.5322" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="86.3728" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gA0586F0D2D4C6A9E691AAC05AA88B5C6" x="89.3402" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9EFC992958D99FCCEE55A4837734B079" x="93.832" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="97.4284" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="99.4708" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g331101EC19D94DBA83B72BC0E35993FF" x="103.304" y="0" fill="#3d6055" fill-rule="nonzero"/></g></g><path fill="#fffdeb" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(0 137.480314961)" d="M 0 0m 2 0c -1.103568 0 -2 0.896432 -2 2v 22.929133858c 0 1.103568 0.896432 2 2 2h 92.377952756c 1.103568 0 2 -0.896432 2 -2v -22.929133858c 0 -1.103568 -0.896432 -2 -2 -2h -92.377952756Z "/><path fill="none" transform="translate(10.097223448 147.543158257)" d="M 0 0h 76.183505859v 6.803447266h -76.183505859v -6.803447266Z "/><g transform="translate(10.097223307 147.543158126)"><g transform="matrix(1 0 0 -1 0 5.341152344)"><use xlink:href="#g6516EBF8634F8ACF12BB342ADDDCB8A6" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="4.232416992" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="8.464833984" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g15DEB9D2A8B3973474F57A46943BB23F" x="12.697250977" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g56CDD368D5583E871C775654264D6775" x="16.929667969" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAFEBBDFB460EB0C08478C1E849AF4DD7" x="21.162084961" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="29.626918945" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="33.859335938" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="38.09175293" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="42.324169922" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA9CF33D0D1D8CAA2E91905CCF7AF386E" x="46.556586914" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g1C44445D4E73BE0785133DA3643417B4" x="50.789003906" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA53B11B5D7DE22624F603554D7751F7A" x="59.253837891" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB36B05DB7C8B106A24538B5154E2ECAE" x="63.486254883" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="67.718671875" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g79C123D67CCDD083B73E9A197F3F3128" x="71.951088867" y="0" fill="#293f35" fill-rule="nonzero"/></g></g><path fill="none" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(96.377952756 150.94488189)" d="M 0 0h 10.482846745"/><path fill="#293f35" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(106.010405858 149.669291339)" d="M 0 0m 3.401574803 1.275590551l -3.401574803 -1.275590551l 0.850393701 1.275590551l -0.850393701 1.275590551l 3.401574803 -1.275590551Z "/><path fill="#ece7ed" fill-rule="nonzero" stroke="#6e4774" stroke-width="1.3" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(110.551181102 137.480314961)" d="M 0 0m 3 0c -1.655352 0 -3 1.344648 -3 3v 20.929133858c 0 1.655352 1.344648 3 3 3h 96.047244094c 1.655352 0 3 -1.344648 3 -3v -20.929133858c 0 -1.655352 -1.344648 -3 -3 -3h -96.047244094Z "/><path fill="none" transform="translate(113.385826772 141.93908189)" d="M 0 0h 96.377952756v 18.0116h -96.377952756v -18.0116Z "/><g transform="translate(113.385826772 141.93908178)"><g><g transform="matrix(1 0 0 -1 6.290176378 4.8692)"><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="5.2318" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="8.399" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="10.3526" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="12.358" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="15.6658" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="19.6766" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFCEB6BB1E1DA93DB8EE284D457C663DB" x="22.015" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="25.6114" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="27.9498" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="31.931" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="33.9364" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gE463BBA7A0B790CD6263FF7D95B0059" x="38.6724" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="42.513" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="45.2066" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="48.988" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="52.1552" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="55.463" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="58.349" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="61.235" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="64.713" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="70.2408" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="72.2462" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="74.5846" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="80.4158" y="0" fill="#293f35" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 38.013976378 14.5484)"><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="2.6936" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gE463BBA7A0B790CD6263FF7D95B0059" x="6.0014" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="9.842" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="11.7956" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="13.801" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="16.9682" y="0" fill="#293f35" fill-rule="nonzero"/></g></g></g><path fill="none" transform="translate(0 176.159177165)" d="M 0 0h 58.2528v 4.847h -58.2528v -4.847Z "/><g transform="translate(-9.4e-8 176.15917715)"><g transform="matrix(1 0 0 -1 0 4.773)"><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="0" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="3.3078" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="8.991" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="12.5874" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="16.4206" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="19.7284" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="22.0002" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="25.8408" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gA0586F0D2D4C6A9E691AAC05AA88B5C6" x="28.8082" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g51D2901EEF863DC6E5D6F7FFEB96FC3" x="33.3" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="39.0942" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g5F6B5B58B9859169D31B8362C347FEDF" x="42.6906" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="45.5692" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="49.4098" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="51.4522" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="55.2854" y="0" fill="#3d6055" fill-rule="nonzero"/></g></g><path fill="#fffdeb" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(0 185.669291339)" d="M 0 0m 2 0c -1.103568 0 -2 0.896432 -2 2v 22.929133858c 0 1.103568 0.896432 2 2 2h 92.377952756c 1.103568 0 2 -0.896432 2 -2v -22.929133858c 0 -1.103568 -0.896432 -2 -2 -2h -92.377952756Z "/><path fill="none" transform="translate(1.632389464 195.732134635)" d="M 0 0h 93.113173828v 6.803447266h -93.113173828v -6.803447266Z "/><g transform="translate(1.632389386 195.732134504)"><g transform="matrix(1 0 0 -1 0 5.341152344)"><use xlink:href="#g6516EBF8634F8ACF12BB342ADDDCB8A6" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="4.232416992" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="8.464833984" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g15DEB9D2A8B3973474F57A46943BB23F" x="12.697250977" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g56CDD368D5583E871C775654264D6775" x="16.929667969" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAFEBBDFB460EB0C08478C1E849AF4DD7" x="21.162084961" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="29.626918945" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="33.859335938" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="38.09175293" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="42.324169922" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA9CF33D0D1D8CAA2E91905CCF7AF386E" x="46.556586914" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g1C44445D4E73BE0785133DA3643417B4" x="50.789003906" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gD49AC9951C1B1964A042F0D13A58DE95" x="59.253837891" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB36B05DB7C8B106A24538B5154E2ECAE" x="63.486254883" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA8A111EE742990F70FFBAFD304DD5562" x="67.718671875" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g65AAEF3C1D5B855451928DB0DB6507D9" x="71.951088867" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA53B11B5D7DE22624F603554D7751F7A" x="76.183505859" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB36B05DB7C8B106A24538B5154E2ECAE" x="80.415922852" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="84.648339844" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g79C123D67CCDD083B73E9A197F3F3128" x="88.880756836" y="0" fill="#293f35" fill-rule="nonzero"/></g></g><path fill="none" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(96.377952756 199.133858268)" d="M 0 0h 10.482846745"/><path fill="#293f35" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(106.010405858 197.858267717)" d="M 0 0m 3.401574803 1.275590551l -3.401574803 -1.275590551l 0.850393701 1.275590551l -0.850393701 1.275590551l 3.401574803 -1.275590551Z "/><path fill="#ece7ed" fill-rule="nonzero" stroke="#6e4774" stroke-width="1.3" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(110.551181102 185.669291339)" d="M 0 0m 3 0c -1.655352 0 -3 1.344648 -3 3v 20.929133858c 0 1.655352 1.344648 3 3 3h 96.047244094c 1.655352 0 3 -1.344648 3 -3v -20.929133858c 0 -1.655352 -1.344648 -3 -3 -3h -96.047244094Z "/><path fill="none" transform="translate(113.385826772 195.818658268)" d="M 0 0h 96.377952756v 6.6304h -96.377952756v -6.6304Z "/><g transform="translate(113.385826772 195.818658236)"><g><g transform="matrix(1 0 0 -1 11.648354503 4.8692)"><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="5.2318" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="8.399" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="10.3526" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="12.358" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="15.6658" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="19.6766" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="22.015" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="25.493" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="27.8314" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="31.8126" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="34.5062" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8115B8898C77FA1AC952AEA1F1C8868F" x="38.2358" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g88B8AF40C2FFFEADD5E217116309CD15" x="42.1652" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="45.8652" y="0" fill="#293f35" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 63.344754503 4.8692)"><use xlink:href="#g3F7D6C5E210F973C975677087D66C5C5" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g3F7D6C5E210F973C975677087D66C5C5" x="3.564140625" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g38E85F1BB3A3AE658FCC37DF7D65F321" x="7.12828125" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B6E78D810E3FE39A8482429056608AC" x="14.2565625" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g83B03D21CD6A496754FF4083F96EAA9F" x="17.820703125" y="0" fill="#293f35" fill-rule="nonzero"/></g></g></g><path fill="none" stroke="#95baa2" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(225.354330709)" d="M 0 0m 0 240.94488189v -240.94488189"/><path fill="none" transform="translate(239.527559055 3.140114173)" d="M 0 0h 85.698v 7.893h -85.698v -7.893Z "/><g transform="translate(239.527559055 3.140114173)"><g transform="matrix(1 0 0 -1 0 5.805)"><use xlink:href="#g2F6531DE89CEE38A2CBDC7B71834583C" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gBF080AF06783B426D5345204ACB9BA70" x="6.66" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g136C905B50E42975079434436E4DAEF4" x="12.852" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g3DAF27FF8EE988A590BB98F02E9B14AB" x="17.253" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g398368A0D00D14BA56A0002AB19285E8" x="21.105" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g965CA1D8408744C80095348185AD8EB9" x="25.659" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g627329597DD3903044C5A4D75073B71C" x="30.213" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gE67DB6CC3A2607827A01F5F9C91259DF" x="33.138" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g965CA1D8408744C80095348185AD8EB9" x="40.131" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB660411C2F58EF21C746E36AF5EB3882" x="44.685" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g5CCD08CEE029BB1E1252C86C73083DDC" x="49.707" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g965CA1D8408744C80095348185AD8EB9" x="55.8" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g1B4BB274E0645BBC7FEACF3996C1781A" x="62.604" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g627329597DD3903044C5A4D75073B71C" x="66.708" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g5D166F0F7E5A44368BF2E983F6EE9FD5" x="69.633" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g136C905B50E42975079434436E4DAEF4" x="72.531" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g77DFF579C4297C58BB534BE65B39B6CA" x="76.932" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCA7AD9848E83F426C822AF345B8AA35" x="82.476" y="0" fill="#293f35" fill-rule="nonzero"/></g></g><path fill="none" transform="translate(239.527559055 30.763448031)" d="M 0 0h 81.4v 6.5046h -81.4v -6.5046Z "/><g transform="translate(239.527558929 30.763447937)"><g transform="matrix(1 0 0 -1 0 4.773)"><use xlink:href="#gEA697D3AA600950D3503999204808095" x="0" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="3.5964" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8937F2D32CF646903777568E01BCC94D" x="7.4296" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="13.0018" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="15.614" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="18.5814" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="21.1936" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="23.8058" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="25.8482" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="29.156" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="34.8392" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="38.147" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="43.8302" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="46.102" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="49.9426" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="51.985" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g51D2901EEF863DC6E5D6F7FFEB96FC3" x="56.4472" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="62.2414" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g5F6B5B58B9859169D31B8362C347FEDF" x="65.8378" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="68.7164" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="72.557" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="74.5994" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="78.4326" y="0" fill="#3d6055" fill-rule="nonzero"/></g></g><path fill="#fffdeb" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(239.527559055 41.102362205)" d="M 0 0m 2 0c -1.103568 0 -2 0.896432 -2 2v 22.929133858c 0 1.103568 0.896432 2 2 2h 92.377952756c 1.103568 0 2 -0.896432 2 -2v -22.929133858c 0 -1.103568 -0.896432 -2 -2 -2h -92.377952756Z "/><path fill="none" transform="translate(249.624782503 51.165205501)" d="M 0 0h 76.183505859v 6.803447266h -76.183505859v -6.803447266Z "/><g transform="translate(249.624782362 51.16520537)"><g transform="matrix(1 0 0 -1 0 5.341152344)"><use xlink:href="#g6516EBF8634F8ACF12BB342ADDDCB8A6" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="4.232416992" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="8.464833984" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g15DEB9D2A8B3973474F57A46943BB23F" x="12.697250977" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g56CDD368D5583E871C775654264D6775" x="16.929667969" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAFEBBDFB460EB0C08478C1E849AF4DD7" x="21.162084961" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="29.626918945" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="33.859335938" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="38.09175293" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="42.324169922" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA9CF33D0D1D8CAA2E91905CCF7AF386E" x="46.556586914" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g1C44445D4E73BE0785133DA3643417B4" x="50.789003906" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA53B11B5D7DE22624F603554D7751F7A" x="59.253837891" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB36B05DB7C8B106A24538B5154E2ECAE" x="63.486254883" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="67.718671875" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g79C123D67CCDD083B73E9A197F3F3128" x="71.951088867" y="0" fill="#293f35" fill-rule="nonzero"/></g></g><path fill="none" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(335.905511811 54.566929134)" d="M 0 0h 10.482846745"/><path fill="#293f35" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(345.537964913 53.291338583)" d="M 0 0m 3.401574803 1.275590551l -3.401574803 -1.275590551l 0.850393701 1.275590551l -0.850393701 1.275590551l 3.401574803 -1.275590551Z "/><path fill="#ece7ed" fill-rule="nonzero" stroke="#6e4774" stroke-width="1.3" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(350.078740157 41.102362205)" d="M 0 0m 3 0c -1.655352 0 -3 1.344648 -3 3v 20.929133858c 0 1.655352 1.344648 3 3 3h 96.047244094c 1.655352 0 3 -1.344648 3 -3v -20.929133858c 0 -1.655352 -1.344648 -3 -3 -3h -96.047244094Z "/><path fill="none" transform="translate(352.913385827 45.561129134)" d="M 0 0h 96.377952756v 18.0116h -96.377952756v -18.0116Z "/><g transform="translate(352.913385827 45.561129024)"><g><g transform="matrix(1 0 0 -1 6.290176378 4.8692)"><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="5.2318" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="8.399" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="10.3526" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="12.358" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="15.6658" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="19.6766" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFCEB6BB1E1DA93DB8EE284D457C663DB" x="22.015" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="25.6114" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="27.9498" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="31.931" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="33.9364" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gE463BBA7A0B790CD6263FF7D95B0059" x="38.6724" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="42.513" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="45.2066" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="48.988" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="52.1552" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="55.463" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="58.349" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="61.235" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="64.713" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="70.2408" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="72.2462" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="74.5846" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="80.4158" y="0" fill="#293f35" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 38.013976378 14.5484)"><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="2.6936" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gE463BBA7A0B790CD6263FF7D95B0059" x="6.0014" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="9.842" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="11.7956" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="13.801" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="16.9682" y="0" fill="#293f35" fill-rule="nonzero"/></g></g></g><path fill="none" transform="translate(239.527559055 79.781224409)" d="M 0 0h 58.2528v 4.847h -58.2528v -4.847Z "/><g transform="translate(239.527558961 79.781224394)"><g transform="matrix(1 0 0 -1 0 4.773)"><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="0" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="3.3078" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="8.991" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="12.5874" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="16.4206" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="19.7284" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="22.0002" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="25.8408" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gA0586F0D2D4C6A9E691AAC05AA88B5C6" x="28.8082" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g51D2901EEF863DC6E5D6F7FFEB96FC3" x="33.3" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="39.0942" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g5F6B5B58B9859169D31B8362C347FEDF" x="42.6906" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="45.5692" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="49.4098" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="51.4522" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="55.2854" y="0" fill="#3d6055" fill-rule="nonzero"/></g></g><path fill="#fffdeb" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(239.527559055 89.291338583)" d="M 0 0m 2 0c -1.103568 0 -2 0.896432 -2 2v 22.929133858c 0 1.103568 0.896432 2 2 2h 92.377952756c 1.103568 0 2 -0.896432 2 -2v -22.929133858c 0 -1.103568 -0.896432 -2 -2 -2h -92.377952756Z "/><path fill="none" transform="translate(241.159948519 99.354181879)" d="M 0 0h 93.113173828v 6.803447266h -93.113173828v -6.803447266Z "/><g transform="translate(241.159948441 99.354181748)"><g transform="matrix(1 0 0 -1 0 5.341152344)"><use xlink:href="#g6516EBF8634F8ACF12BB342ADDDCB8A6" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="4.232416992" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="8.464833984" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g15DEB9D2A8B3973474F57A46943BB23F" x="12.697250977" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g56CDD368D5583E871C775654264D6775" x="16.929667969" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAFEBBDFB460EB0C08478C1E849AF4DD7" x="21.162084961" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="29.626918945" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="33.859335938" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="38.09175293" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="42.324169922" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA9CF33D0D1D8CAA2E91905CCF7AF386E" x="46.556586914" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g1C44445D4E73BE0785133DA3643417B4" x="50.789003906" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gD49AC9951C1B1964A042F0D13A58DE95" x="59.253837891" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB36B05DB7C8B106A24538B5154E2ECAE" x="63.486254883" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA8A111EE742990F70FFBAFD304DD5562" x="67.718671875" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g65AAEF3C1D5B855451928DB0DB6507D9" x="71.951088867" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA53B11B5D7DE22624F603554D7751F7A" x="76.183505859" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB36B05DB7C8B106A24538B5154E2ECAE" x="80.415922852" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="84.648339844" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g79C123D67CCDD083B73E9A197F3F3128" x="88.880756836" y="0" fill="#293f35" fill-rule="nonzero"/></g></g><path fill="none" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(335.905511811 102.755905512)" d="M 0 0h 10.482846745"/><path fill="#293f35" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(345.537964913 101.480314961)" d="M 0 0m 3.401574803 1.275590551l -3.401574803 -1.275590551l 0.850393701 1.275590551l -0.850393701 1.275590551l 3.401574803 -1.275590551Z "/><path fill="#ece7ed" fill-rule="nonzero" stroke="#6e4774" stroke-width="1.3" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(350.078740157 89.291338583)" d="M 0 0m 3 0c -1.655352 0 -3 1.344648 -3 3v 20.929133858c 0 1.655352 1.344648 3 3 3h 96.047244094c 1.655352 0 3 -1.344648 3 -3v -20.929133858c 0 -1.655352 -1.344648 -3 -3 -3h -96.047244094Z "/><path fill="none" transform="translate(352.913385827 99.440705512)" d="M 0 0h 96.377952756v 6.6304h -96.377952756v -6.6304Z "/><g transform="translate(352.913385827 99.44070548)"><g><g transform="matrix(1 0 0 -1 11.648354503 4.8692)"><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="5.2318" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="8.399" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="10.3526" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="12.358" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="15.6658" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="19.6766" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="22.015" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="25.493" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="27.8314" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="31.8126" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="34.5062" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8115B8898C77FA1AC952AEA1F1C8868F" x="38.2358" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g88B8AF40C2FFFEADD5E217116309CD15" x="42.1652" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="45.8652" y="0" fill="#293f35" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 63.344754503 4.8692)"><use xlink:href="#g3F7D6C5E210F973C975677087D66C5C5" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g3F7D6C5E210F973C975677087D66C5C5" x="3.564140625" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g38E85F1BB3A3AE658FCC37DF7D65F321" x="7.12828125" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B6E78D810E3FE39A8482429056608AC" x="14.2565625" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g83B03D21CD6A496754FF4083F96EAA9F" x="17.820703125" y="0" fill="#293f35" fill-rule="nonzero"/></g></g></g><path fill="none" transform="translate(239.527559055 143.433034646)" d="M 0 0h 212.598425197v 27.7796h -212.598425197v -27.7796Z "/><g transform="translate(239.527559055 143.433034583)"><g><g transform="matrix(1 0 0 -1 0 4.8692)"><use xlink:href="#g407F12BFEF65CE198C92C3C59AD2D7D9" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="6.993" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="9.879" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="13.1868" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="16.0728" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="18.9588" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="20.9642" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="24.6938" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g5BD0DE59D7F4E05CAF8E080AB574B80D" x="28.7046" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="30.6878" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="35.4238" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="39.1016" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="44.6294" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g4F7F7F9C98605AE4B8D9FEBDF3EBC176" x="50.4902" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="52.7842" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="55.4778" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="59.2074" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="63.2182" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="65.5566" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="68.8644" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="72.8752" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="78.4696" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="80.475" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="85.211" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="88.9406" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="92.9514" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g154F083D4F8819E1C16CDC52D5D766D5" x="94.905" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="100.566" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="102.9044" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="106.8856" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="112.0434" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="115.773" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="119.7838" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="124.9416" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="126.947" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="131.1354" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="136.6632" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="140.045" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g30C2621CFB156FC7FA7A5C34E756626C" x="144.781" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="148.5032" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="152.2328" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="154.9856" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="160.8464" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="166.3742" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="168.3796" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="170.718" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFCEB6BB1E1DA93DB8EE284D457C663DB" x="174.6992" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="178.2956" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g57F4044859B64878400EFC6A728FBBC6" x="183.5274" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="188.7148" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="192.0226" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="194.361" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="197.7428" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="200.91" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="204.8912" y="0" fill="#293f35" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 0 14.5484)"><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="3.7296" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="8.3324" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="10.3378" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="12.6762" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="17.4122" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="19.7506" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="23.0584" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g502A19B2EAB7D3B413152B8028260B4F" x="25.8112" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="31.6572" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="33.6626" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="37.6734" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="41.0552" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="44.8588" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="48.5884" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="53.1912" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="58.719" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="60.7244" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="64.7352" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="68.4796" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="72.1574" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="79.5352" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="82.7024" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="84.656" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="88.3856" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="91.2716" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="93.277" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g88B8AF40C2FFFEADD5E217116309CD15" x="97.2878" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="100.9878" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="104.4658" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="106.4194" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="109.7272" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9A8BF45F7DE893D9679B8AC2ADD75AA1" x="113.109" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="116.7276" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="120.0354" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="124.7714" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="126.7768" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="130.9652" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="134.7096" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="138.0174" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="140.3558" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="143.7376" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="146.9048" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="150.886" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="154.2456" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g4F7F7F9C98605AE4B8D9FEBDF3EBC176" x="159.84" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="162.134" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="165.8636" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g88B8AF40C2FFFEADD5E217116309CD15" x="170.4664" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="174.1664" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="177.9478" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="181.7292" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="185.4736" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="188.9516" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="192.3334" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="196.3442" y="0" fill="#293f35" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 0 24.2276)"><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="3.3078" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="6.6896" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="9.8568" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="15.688" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="19.0698" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="21.4082" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="23.7466" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="27.1284" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="30.2956" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="36.1268" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B2824F9A08C306B11BDA309013243A4" x="39.5086" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="43.919" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="47.2268" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="51.8296" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="53.835" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="58.571" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="63.8028" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="66.97" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="68.9236" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="70.929" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="74.2368" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="78.2476" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gC19C9240250D3DBC3782848BC4EAA75F" x="80.586" y="0" fill="#293f35" fill-rule="nonzero"/></g></g></g><path fill="none" transform="translate(239.527559055 193.017133858)" d="M 0 0h 212.598425197v 27.824h -212.598425197v -27.824Z "/><g transform="translate(239.527559055 193.017133843)"><g><g transform="matrix(1 0 0 -1 0 4.8692)"><use xlink:href="#g6E096C41F459AF11867C1D7CCA4B959A" x="0" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="5.069" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="8.7986" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="12.8094" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFCEB6BB1E1DA93DB8EE284D457C663DB" x="16.1172" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="19.7136" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="24.9454" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="27.2838" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="30.5916" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g502A19B2EAB7D3B413152B8028260B4F" x="33.3444" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="39.1904" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="41.1958" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="45.2066" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="48.5884" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="52.392" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="56.3732" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="59.755" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="63.7658" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="67.5102" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="70.8698" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="76.4642" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="78.8026" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="84.3822" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="89.614" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="92.5" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="95.8078" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="98.6938" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="101.5798" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="103.5852" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="107.3148" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="111.3256" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="114.8036" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="120.0354" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="125.5632" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="127.5686" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="131.5794" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="135.3238" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="139.0016" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="146.3794" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gE463BBA7A0B790CD6263FF7D95B0059" x="150.109" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="154.0014" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="157.3092" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="161.32" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="164.6796" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="170.274" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g88B8AF40C2FFFEADD5E217116309CD15" x="173.6558" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="177.3558" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="180.7376" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="182.743" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="188.6038" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="190.6092" y="0" fill="#8a3a00" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 0 14.5484)"><use xlink:href="#gE463BBA7A0B790CD6263FF7D95B0059" x="0" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="3.8406" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="5.7942" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="9.176" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="12.3432" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="15.577" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="19.055" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="21.3934" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="25.3746" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="30.5324" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="34.2768" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="37.6586" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g502A19B2EAB7D3B413152B8028260B4F" x="40.9664" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="46.8124" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="50.542" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="56.4028" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="59.57" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="63.5512" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="67.3326" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="71.0622" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="73.9482" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="75.9536" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g88B8AF40C2FFFEADD5E217116309CD15" x="79.9644" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="85.5144" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="91.0422" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="95.0234" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="97.0288" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="100.196" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="106.0272" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="108.9132" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="112.221" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="115.107" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="117.993" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="119.9984" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="123.728" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="129.5888" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="131.9272" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g6C0518489EE83099652E729FB2B7897F" x="135.309" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="139.0978" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="142.4056" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="147.1416" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g4F7F7F9C98605AE4B8D9FEBDF3EBC176" x="152.3734" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="154.6674" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="157.361" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="161.0906" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="165.1014" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="167.4398" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="170.7476" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="174.7584" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="178.5028" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="181.9808" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="184.3192" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="188.3004" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="193.4582" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="196.3442" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g8115B8898C77FA1AC952AEA1F1C8868F" x="198.6826" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g30C2621CFB156FC7FA7A5C34E756626C" x="202.612" y="0" fill="#8a3a00" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 0 24.2276)"><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="0" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g4F7F7F9C98605AE4B8D9FEBDF3EBC176" x="3.7296" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="7.8736" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="11.2554" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="17.1162" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="20.498" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="22.8364" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="25.1748" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="28.5566" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="31.7238" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gC19C9240250D3DBC3782848BC4EAA75F" x="35.705" y="0" fill="#8a3a00" fill-rule="nonzero"/></g></g></g></g></g><defs><symbol id="gCBC02698E0DC81949E7946DCCAD7CA82" overflow="visible"><path d="M 0 0m 3.645 1.107v 3.42c 0 0.576 0.09 0.909 0.414 0.909h 0.198c 0.675 0 1.053 -0.225 1.206 -0.918c 0.099 0 0.27 0.009 0.351 0.045c -0.063 0.414 -0.108 0.882 -0.117 1.287c 0 0.009 -0.018 0.027 -0.027 0.027c -0.306 -0.027 -1.305 -0.072 -2.016 -0.072h -1.269c -0.693 0 -1.755 0.045 -2.097 0.072c -0.018 0 -0.036 -0.018 -0.036 -0.027c -0.036 -0.405 -0.126 -0.882 -0.225 -1.314c 0.09 -0.036 0.243 -0.045 0.351 -0.045c 0.18 0.72 0.549 0.945 1.143 0.945h 0.441c 0.333 0 0.423 -0.333 0.423 -0.882v -3.447c 0 -0.747 -0.153 -0.792 -0.873 -0.819c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.441 0.009 0.909 0.018 1.485 0.018c 0.594 0 1.071 -0.009 1.521 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.72 0.027 -0.873 0.072 -0.873 0.819Z "/></symbol><symbol id="gB44AD3C00DF2BD7A3B0995B729B2F89E" overflow="visible"><path d="M 0 0m 0.333 1.863c 0 -1.179 0.936 -1.953 2.142 -1.953c 0.639 0 1.17 0.18 1.539 0.513c 0.459 0.405 0.612 1.017 0.612 1.521c 0 1.179 -0.801 2.052 -2.142 2.052c -0.747 0 -1.305 -0.261 -1.656 -0.666c -0.342 -0.396 -0.495 -0.936 -0.495 -1.467Z m 2.007 1.755c 0.612 0 1.026 -0.729 1.026 -1.962c 0 -1.08 -0.423 -1.368 -0.747 -1.368c -0.738 0 -1.026 1.107 -1.026 1.773c 0 0.828 0.144 1.557 0.747 1.557Z "/></symbol><symbol id="gF88A53126547B34D74B7301FD88D8DF1" overflow="visible"><path d="M 0 0m 3.195 0.432c 0.018 -0.216 0.036 -0.369 0.036 -0.369c 0.009 -0.108 0.081 -0.153 0.207 -0.153c 0.333 0.09 0.873 0.216 1.494 0.297c 0.018 0.054 0 0.234 -0.018 0.288c -0.486 0.045 -0.585 0.189 -0.585 0.702v 4.05c 0 0.585 0.027 0.918 0.027 0.918c 0 0.081 -0.063 0.117 -0.144 0.117c -0.333 -0.108 -1.053 -0.207 -1.692 -0.234c -0.027 -0.108 -0.018 -0.225 0.027 -0.306c 0.567 -0.045 0.612 -0.054 0.612 -0.675v -1.17c -0.171 0.054 -0.387 0.099 -0.648 0.099c -1.161 0 -2.178 -1.017 -2.178 -2.214c 0 -0.531 0.189 -1.152 0.63 -1.494c 0.324 -0.252 0.549 -0.378 1.053 -0.378c 0.243 0 0.909 0.396 1.098 0.522Z m -0.027 0.423c -0.189 -0.153 -0.666 -0.351 -0.774 -0.351c -0.45 0 -0.801 0.504 -0.801 1.557c 0 0.477 0.054 0.891 0.225 1.17c 0.153 0.243 0.396 0.387 0.666 0.387c 0.234 0 0.459 -0.027 0.675 -0.324v -2.214c 0 -0.072 0 -0.153 0.009 -0.225Z "/></symbol><symbol id="g965CA1D8408744C80095348185AD8EB9" overflow="visible"><path d="M 0 0m 2.655 0.441c 0.063 -0.369 0.306 -0.531 0.702 -0.531c 0.495 0 0.846 0.189 1.179 0.504c -0.018 0.108 -0.054 0.18 -0.162 0.252c -0.117 -0.09 -0.207 -0.126 -0.378 -0.126c -0.198 0 -0.252 0.162 -0.252 0.603l 0.018 1.296c 0 1.296 -0.801 1.557 -1.539 1.557c -0.657 0 -1.665 -0.378 -1.665 -0.972c 0 -0.252 0.108 -0.45 0.459 -0.45c 0.324 0 0.558 0.198 0.558 0.414c 0 0.045 -0.009 0.099 -0.018 0.153c -0.018 0.09 -0.036 0.18 -0.018 0.27c 0.009 0.099 0.081 0.207 0.378 0.207c 0.378 0 0.693 -0.162 0.693 -1.305l -0.603 -0.189c -0.945 -0.297 -1.611 -0.558 -1.611 -1.269c 0 -0.621 0.342 -0.945 1.125 -0.945c 0.261 0 0.783 0.288 1.08 0.522Z m -0.045 1.521v -1.188c -0.225 -0.18 -0.45 -0.324 -0.612 -0.324c -0.387 0 -0.522 0.261 -0.522 0.54c 0 0.333 0.027 0.612 0.666 0.819Z "/></symbol><symbol id="gB660411C2F58EF21C746E36AF5EB3882" overflow="visible"><path d="M 0 0m 2.178 -1.512c 0.144 0.252 0.279 0.576 0.387 0.846c 0.72 1.737 1.161 2.709 1.638 3.717c 0.126 0.261 0.396 0.54 0.729 0.567c 0.054 0.054 0.054 0.252 0 0.306c -0.225 -0.009 -0.387 -0.018 -0.639 -0.018c -0.315 0 -0.621 0.009 -0.954 0.018c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.288 -0.027 0.576 -0.072 0.432 -0.396l -0.927 -2.079c 0 -0.009 0 -0.009 -0.009 -0.018c 0 0.009 0 0.018 -0.009 0.036l -0.837 1.881c -0.009 0.009 -0.009 0.018 -0.009 0.027c -0.162 0.351 -0.225 0.504 0.306 0.549c 0.054 0.054 0.054 0.252 0 0.306c -0.333 -0.009 -0.873 -0.018 -1.197 -0.018c -0.306 0 -0.819 0.009 -0.999 0.018c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.396 -0.036 0.468 -0.099 0.711 -0.666l 1.161 -2.664c 0.027 -0.045 0.063 -0.081 0.09 -0.117c 0.117 -0.162 0.216 -0.297 0.162 -0.423l -0.216 -0.495c -0.117 -0.279 -0.225 -0.441 -0.477 -0.441c -0.162 0 -0.189 0.036 -0.315 0.036c -0.342 0 -0.54 -0.234 -0.54 -0.414c 0 -0.117 0.027 -0.261 0.108 -0.36c 0.081 -0.099 0.234 -0.162 0.351 -0.162c 0.117 0 0.387 0.036 0.513 0.09c 0.189 0.09 0.441 0.306 0.54 0.486Z "/></symbol><symbol id="g398368A0D00D14BA56A0002AB19285E8" overflow="visible"><path d="M 0 0m 0.54 0.54c 0 -0.342 0.288 -0.612 0.648 -0.612c 0.36 0 0.666 0.288 0.666 0.63c 0 0.351 -0.288 0.621 -0.648 0.621c -0.36 0 -0.666 -0.288 -0.666 -0.639Z m 0 2.682c 0 -0.342 0.288 -0.612 0.648 -0.612c 0.36 0 0.666 0.288 0.666 0.63c 0 0.351 -0.288 0.621 -0.648 0.621c -0.36 0 -0.666 -0.288 -0.666 -0.639Z "/></symbol><symbol id="gB5AA84E78D76FDE35653B311F1AA0E2B" overflow="visible"><path d="M 0 0m 2.07 1.152v 2.304h 0.774c 0.162 0 0.315 0.045 0.315 0.153v 0.207c 0 0.054 -0.009 0.09 -0.18 0.09h -0.909v 0.459c 0 1.341 0.369 1.539 0.567 1.539c 0.153 0 0.189 -0.135 0.252 -0.351c 0.081 -0.288 0.315 -0.513 0.639 -0.513c 0.297 0 0.513 0.189 0.513 0.576c 0 0.243 -0.279 0.666 -1.233 0.666c -0.423 0 -0.927 -0.153 -1.269 -0.522c -0.333 -0.36 -0.639 -0.81 -0.639 -1.674v -0.18h -0.018c -0.306 0 -0.675 -0.045 -0.675 -0.117v -0.243c 0 -0.063 0.036 -0.09 0.243 -0.09h 0.45v -2.322c 0 -0.738 -0.144 -0.819 -0.693 -0.846c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.783 0.018 1.278 0.018c 0.495 0 0.891 -0.009 1.278 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.549 0.027 -0.693 0.108 -0.693 0.864Z "/></symbol><symbol id="g3AABD6367CE61353955D2F6F568F5DF" overflow="visible"><path d="M 0 0m 4.59 1.197v 1.557c 0 0.756 0.018 0.648 0.018 0.864c 0 0.153 -0.036 0.252 -0.09 0.306c -0.162 -0.009 -0.342 -0.018 -0.513 -0.018c -0.252 0 -0.837 0.009 -1.188 0.018c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.459 -0.045 0.603 -0.108 0.603 -0.864v -1.665c 0 -0.09 0 -0.18 0.009 -0.27c -0.369 -0.225 -0.666 -0.243 -0.828 -0.243c -0.36 0 -0.63 0.045 -0.63 0.675v 1.503c 0 0.756 0.018 0.648 0.018 0.864c 0 0.153 -0.036 0.252 -0.09 0.306c -0.162 -0.009 -0.351 -0.018 -0.513 -0.018c -0.459 0 -0.801 0.009 -1.188 0.018c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.414 -0.018 0.603 -0.108 0.603 -0.864v -1.404c 0 -0.954 0.378 -1.44 1.152 -1.44c 0.324 0 0.981 0.261 1.503 0.549c 0.018 -0.225 0.036 -0.396 0.036 -0.396c 0.009 -0.108 0.081 -0.153 0.207 -0.153c 0.333 0.09 0.873 0.216 1.494 0.297c 0.018 0.054 0 0.234 -0.018 0.288c -0.486 0.045 -0.585 0.189 -0.585 0.702Z "/></symbol><symbol id="g3DAF27FF8EE988A590BB98F02E9B14AB" overflow="visible"><path d="M 0 0m 2.052 2.412c 0 0.324 0.099 0.459 0.216 0.594c 0.072 0.09 0.153 0.153 0.288 0.153c 0.081 0 0.18 -0.081 0.252 -0.171c 0.063 -0.072 0.216 -0.144 0.423 -0.144c 0.261 0 0.513 0.27 0.513 0.648c 0 0.234 -0.27 0.504 -0.594 0.504c -0.315 0 -0.657 -0.27 -1.071 -0.864h -0.036c -0.018 0.27 -0.063 0.711 -0.063 0.711c -0.009 0.081 -0.081 0.153 -0.207 0.153c -0.423 -0.108 -0.9 -0.234 -1.494 -0.297c -0.018 -0.054 0 -0.225 0.018 -0.279c 0.495 -0.045 0.585 -0.126 0.585 -0.639v -1.683c 0 -0.747 -0.099 -0.765 -0.648 -0.81c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.756 0.018 1.233 0.018c 0.477 0 0.846 -0.009 1.233 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.549 0.036 -0.648 0.063 -0.648 0.81Z "/></symbol><symbol id="g695758CB2C6BE00D50F851A154409E48" overflow="visible"><path d="M 0 0m 2.052 1.098v 1.791c 0 0.045 0 0.09 0 0.135c 0.351 0.216 0.666 0.306 0.819 0.306c 0.36 0 0.63 -0.162 0.63 -0.675v -1.503c 0 -0.756 -0.144 -0.837 -0.513 -0.864c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.666 0.018 1.098 0.018c 0.432 0 0.711 -0.009 1.098 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.36 0.027 -0.513 0.108 -0.513 0.864v 1.404c 0 0.225 -0.009 0.405 -0.036 0.495c 0.342 0.171 0.729 0.279 0.873 0.279c 0.36 0 0.612 -0.162 0.612 -0.675v -1.503c 0 -0.756 -0.144 -0.837 -0.513 -0.864c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.666 0.018 1.098 0.018c 0.495 0 0.891 -0.009 1.278 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.549 0.027 -0.693 0.108 -0.693 0.864v 1.404c 0 0.99 -0.36 1.44 -1.134 1.44c -0.333 0 -1.089 -0.36 -1.611 -0.648c -0.135 0.387 -0.495 0.648 -1.026 0.648c -0.324 0 -0.972 -0.342 -1.485 -0.63c -0.027 0.27 -0.054 0.477 -0.054 0.477c -0.009 0.108 -0.081 0.153 -0.207 0.153c -0.333 -0.09 -0.873 -0.216 -1.494 -0.297c -0.018 -0.054 0 -0.234 0.018 -0.288c 0.495 -0.045 0.585 -0.117 0.585 -0.63v -1.683c 0 -0.747 -0.099 -0.765 -0.648 -0.81c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.756 0.018 1.233 0.018c 0.414 0 0.666 -0.009 1.053 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.378 0.036 -0.468 0.063 -0.468 0.81Z "/></symbol><symbol id="g136C905B50E42975079434436E4DAEF4" overflow="visible"><path d="M 0 0m 3.879 1.161c -0.369 -0.378 -0.855 -0.477 -1.197 -0.477c -0.702 0 -1.134 0.405 -1.134 1.287c 0 0.063 0.009 0.099 0.009 0.144h 2.16c 0.216 0 0.261 0.153 0.261 0.279c 0 0.765 -0.297 1.602 -1.62 1.602c -0.945 0 -2.025 -0.837 -2.025 -2.214c 0 -0.522 0.189 -1.071 0.576 -1.422c 0.342 -0.306 0.783 -0.45 1.422 -0.45c 0.621 0 1.233 0.315 1.683 0.972c 0 0.117 -0.045 0.279 -0.135 0.279Z m -2.286 1.314c 0.009 0.315 0.054 0.657 0.18 0.837c 0.144 0.216 0.387 0.306 0.486 0.306c 0.243 0 0.576 -0.234 0.576 -0.954c 0 -0.054 0 -0.171 -0.018 -0.189Z "/></symbol><symbol id="g1B4BB274E0645BBC7FEACF3996C1781A" overflow="visible"><path d="M 0 0m 3.798 0.783c 0 0.108 -0.018 0.279 -0.117 0.279c -0.36 -0.333 -0.666 -0.504 -0.927 -0.504c -0.675 0 -1.206 0.486 -1.206 1.566c 0 0.999 0.225 1.494 0.702 1.494c 0.333 0 0.468 -0.351 0.495 -0.639c 0.027 -0.243 0.27 -0.423 0.558 -0.423c 0.288 0 0.495 0.225 0.495 0.504c 0 0.405 -0.486 0.936 -1.467 0.936c -1.062 0 -1.998 -0.855 -1.998 -2.187c 0 -0.585 0.207 -1.098 0.558 -1.431c 0.351 -0.333 0.765 -0.468 1.404 -0.468c 0.54 0 1.161 0.378 1.503 0.873Z "/></symbol><symbol id="gBEE8BA0F24EAA5B9AC424E258079A41E" overflow="visible"><path d="M 0 0m 4.752 1.152v 1.404c 0 0.99 -0.423 1.44 -1.197 1.44c -0.333 0 -0.972 -0.333 -1.485 -0.648v 1.899c 0 0.585 0.027 0.918 0.027 0.918c 0 0.081 -0.063 0.117 -0.144 0.117c -0.333 -0.108 -1.053 -0.207 -1.692 -0.234c -0.027 -0.108 -0.018 -0.207 0.027 -0.288c 0.567 -0.045 0.612 -0.054 0.612 -0.675v -3.942c 0 -0.747 -0.144 -0.828 -0.693 -0.855c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.783 0.018 1.278 0.018c 0.432 0 0.711 -0.009 1.098 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.378 0.027 -0.513 0.108 -0.513 0.855v 1.845c 0.378 0.234 0.675 0.342 0.837 0.342c 0.36 0 0.675 -0.162 0.675 -0.675v -1.503c 0 -0.756 -0.144 -0.837 -0.513 -0.864c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.666 0.018 1.098 0.018c 0.495 0 0.891 -0.009 1.278 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.549 0.027 -0.693 0.108 -0.693 0.864Z "/></symbol><symbol id="g77DFF579C4297C58BB534BE65B39B6CA" overflow="visible"><path d="M 0 0m 2.052 1.098v 1.809c 0.36 0.243 0.72 0.423 0.882 0.423c 0.36 0 0.63 -0.162 0.63 -0.675v -1.503c 0 -0.756 -0.144 -0.837 -0.513 -0.864c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.666 0.018 1.098 0.018c 0.495 0 0.891 -0.009 1.278 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.549 0.027 -0.693 0.108 -0.693 0.864v 1.404c 0 0.99 -0.423 1.44 -1.197 1.44c -0.36 0 -0.999 -0.396 -1.494 -0.738c -0.027 0.315 -0.063 0.585 -0.063 0.585c -0.009 0.108 -0.081 0.153 -0.207 0.153c -0.333 -0.09 -0.873 -0.216 -1.494 -0.297c -0.018 -0.054 0 -0.234 0.018 -0.288c 0.495 -0.045 0.585 -0.117 0.585 -0.63v -1.683c 0 -0.747 -0.099 -0.765 -0.648 -0.81c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.756 0.018 1.233 0.018c 0.414 0 0.666 -0.009 1.053 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.378 0.036 -0.468 0.063 -0.468 0.81Z "/></symbol><symbol id="g5D166F0F7E5A44368BF2E983F6EE9FD5" overflow="visible"><path d="M 0 0m 2.088 1.098v 1.791c 0 0.45 0.036 0.954 0.036 0.954c 0 0.099 -0.081 0.153 -0.207 0.153c -0.252 -0.099 -0.981 -0.171 -1.602 -0.252c -0.018 -0.054 0 -0.234 0.018 -0.288c 0.495 -0.045 0.585 -0.117 0.585 -0.63v -1.728c 0 -0.747 -0.099 -0.765 -0.648 -0.81c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.756 0.018 1.233 0.018c 0.477 0 0.846 -0.009 1.233 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.549 0.036 -0.648 0.063 -0.648 0.81Z m -1.215 4.266c 0 -0.297 0.216 -0.594 0.576 -0.594c 0.405 0 0.639 0.324 0.639 0.558c 0 0.27 -0.207 0.594 -0.585 0.594c -0.423 0 -0.63 -0.288 -0.63 -0.558Z "/></symbol><symbol id="g5CCD08CEE029BB1E1252C86C73083DDC" overflow="visible"><path d="M 0 0m 0.432 1.314c 0.036 -0.441 0.081 -0.864 0.153 -1.206c 0.171 -0.054 0.747 -0.198 1.251 -0.198c 0.693 0 1.557 0.378 1.557 1.161c 0 0.306 -0.072 0.549 -0.279 0.774c -0.252 0.288 -0.63 0.513 -1.044 0.693c -0.36 0.153 -0.486 0.441 -0.486 0.702c 0 0.207 0.171 0.378 0.432 0.378c 0.315 0 0.621 -0.288 0.846 -0.837c 0.162 -0.027 0.261 -0.018 0.351 0.045c 0 0.324 -0.036 0.666 -0.117 0.954c -0.288 0.126 -0.513 0.216 -1.008 0.216c -0.477 0 -0.927 -0.18 -1.215 -0.468c -0.207 -0.207 -0.306 -0.459 -0.306 -0.702c 0 -0.27 0.108 -0.486 0.279 -0.675c 0.279 -0.306 0.774 -0.621 1.044 -0.747c 0.36 -0.162 0.459 -0.486 0.459 -0.702c 0 -0.288 -0.288 -0.441 -0.531 -0.441c -0.405 0 -0.837 0.414 -1.026 1.071c -0.144 0.027 -0.216 0.018 -0.36 -0.018Z "/></symbol><symbol id="gEA697D3AA600950D3503999204808095" overflow="visible"><path d="M 0 0m 3.034 3.2042c -0.1998 0.0222 -0.296 0.0444 -0.592 0.0444c -0.7918 0 -1.8648 -1.1618 -1.8648 -2.3236c 0 -0.4144 0.0962 -0.999 0.7178 -0.999c 0.3922 0 0.8066 0.407 1.2506 1.0656l 0.0148 -0.0148l -0.0962 -0.3108c -0.0518 -0.1702 -0.074 -0.3182 -0.074 -0.407c 0 -0.1406 0.0518 -0.333 0.3034 -0.333c 0.4588 0 0.7548 0.296 0.9472 0.7178c -0.037 0.0666 -0.074 0.1184 -0.1702 0.1184c -0.1998 -0.2738 -0.3404 -0.3922 -0.4144 -0.3922c -0.0222 0 -0.0888 0.0148 -0.0888 0.1036c 0 0.0666 0.0444 0.2738 0.074 0.4144l 0.5106 2.3014c -0.0518 0 -0.0962 0 -0.148 0c -0.1332 -0.0074 -0.259 -0.0148 -0.37 0.0148Z m -0.37 -1.5836c -0.3626 -0.666 -0.9324 -1.2876 -1.1692 -1.2876c -0.2516 0 -0.3256 0.296 -0.3256 0.7104c 0 0.7844 0.6142 1.9758 1.295 1.9758c 0.1554 0 0.3182 -0.0518 0.4588 -0.1406c 0 0 -0.074 -0.7844 -0.259 -1.258Z "/></symbol><symbol id="g798C35D1731787BE6C5AA5B1CEBDE2CE" overflow="visible"><path d="M 0 0m 1.3764 3.1746l -0.3922 -0.0222c -0.1406 -0.0074 -0.1924 -0.0666 -0.2072 -0.1258c -0.0074 -0.0222 -0.0296 -0.111 -0.0296 -0.1258c 0 -0.0148 0.0222 -0.0148 0.0444 -0.0148h 0.518l -0.4514 -2.0128c -0.0518 -0.2368 -0.1036 -0.4662 -0.1036 -0.6068c 0 -0.2664 0.1332 -0.3404 0.3626 -0.3404c 0.333 0 0.8214 0.3034 1.073 0.7622c -0.0222 0.0962 -0.074 0.1406 -0.1628 0.1406c -0.3404 -0.3848 -0.4736 -0.4588 -0.592 -0.4588c -0.0222 0 -0.0962 0.0148 -0.0962 0.1036c 0 0.0666 0.0222 0.2146 0.0814 0.4662l 0.4366 1.9462h 0.7252c 0.0888 0.037 0.1554 0.2294 0.074 0.2886h -0.7326l 0.074 0.333c 0.0296 0.1406 0.0962 0.3552 0.0962 0.444c 0 0.1258 -0.0592 0.1998 -0.296 0.1998c -0.2664 0 -0.2516 -0.333 -0.3256 -0.6068Z "/></symbol><symbol id="g28C6CD81BBA25752DE65F787116FCF9F" overflow="visible"><path d="M 0 0m 1.2358 1.4726c 1.9018 0.37 1.9018 0.9324 1.9018 1.2136c 0 0.0074 0 0.0074 0 0.0148c 0 0.185 -0.1702 0.5476 -0.703 0.5476c -1.2876 0 -1.8204 -1.258 -1.8204 -2.1978c 0 -0.629 0.296 -1.1248 0.9102 -1.1248c 0.4958 0 0.9472 0.259 1.3838 0.8214c -0.037 0.0814 -0.0814 0.1184 -0.1702 0.1184c -0.4218 -0.4292 -0.592 -0.4958 -0.9472 -0.4958c -0.333 0 -0.5624 0.1776 -0.5624 0.851c 0 0.037 0 0.1924 0.0074 0.2516Z m 1.3912 1.2654c 0 -0.666 -0.777 -0.9102 -1.3394 -0.9842c 0.259 1.0508 0.666 1.2654 0.9768 1.2654c 0.2664 0 0.3626 -0.0666 0.3626 -0.2812Z "/></symbol><symbol id="gA0586F0D2D4C6A9E691AAC05AA88B5C6" overflow="visible"><path d="M 0 0m 1.6354 2.109l 0.0592 0.259c 0.0666 0.2886 0.1332 0.5476 0.1332 0.6734c 0 0.111 -0.0666 0.185 -0.1628 0.185c -0.2368 0 -0.5402 -0.0518 -0.888 -0.0962c -0.0518 -0.0592 -0.037 -0.1406 0.0074 -0.2072l 0.296 -0.0222c 0.0888 -0.0074 0.1332 -0.074 0.1332 -0.148c 0 -0.0666 0 -0.1702 -0.0518 -0.3774l -0.407 -1.8426c -0.037 -0.1554 -0.0962 -0.2886 -0.0962 -0.407c 0 -0.1184 0.0666 -0.1998 0.2812 -0.1998c 0.259 0 0.2664 0.3182 0.3404 0.6068l 0.2146 0.8658c 0.3552 0.6438 0.7696 1.332 0.9398 1.332c 0.074 0 0.111 -0.037 0.1554 -0.0888c 0.0518 -0.0592 0.148 -0.1554 0.2516 -0.1554c 0.1998 0 0.333 0.2146 0.333 0.4144c 0 0.1554 -0.111 0.3478 -0.3848 0.3478c -0.37 0 -0.7992 -0.4588 -1.1248 -1.147Z "/></symbol><symbol id="g51D2901EEF863DC6E5D6F7FFEB96FC3" overflow="visible"><path d="M 0 0m 1.3468 2.3754l -0.4218 -1.8426c -0.037 -0.148 -0.0962 -0.333 -0.0962 -0.407c 0 -0.1184 0.0666 -0.1998 0.3034 -0.1998c 0.2812 0 0.2664 0.3256 0.3404 0.6068l 0.296 1.1914c 0.5772 0.8362 0.9916 1.0804 1.2284 1.0804c 0.148 0 0.1924 -0.0518 0.1924 -0.2738c 0 -0.0888 -0.0074 -0.2664 -0.0592 -0.4958l -0.3552 -1.5022c -0.037 -0.148 -0.0962 -0.333 -0.0962 -0.407c 0 -0.1184 0.0666 -0.1998 0.3034 -0.1998c 0.2812 0 0.2738 0.3256 0.3404 0.6068l 0.2812 1.1618c 0.629 0.8806 0.9176 1.11 1.1544 1.11c 0.1406 0 0.2146 -0.0518 0.2146 -0.2738c 0 -0.0814 -0.0074 -0.296 -0.0666 -0.5254l -0.2886 -1.1618c -0.074 -0.3034 -0.1332 -0.6068 -0.1332 -0.6734c 0 -0.148 0.1332 -0.2442 0.2368 -0.2442c 0.4366 0 0.8436 0.2146 1.0952 0.8214c -0.0148 0.0666 -0.0666 0.1036 -0.1628 0.1036c -0.1776 -0.2812 -0.3848 -0.481 -0.518 -0.481c -0.037 0 -0.0518 0.0444 -0.0518 0.0814c 0 0.0296 0.0148 0.2146 0.037 0.296l 0.3478 1.3172c 0.0444 0.1702 0.074 0.3996 0.074 0.5402c 0 0.4662 -0.222 0.6438 -0.4514 0.6438c -0.5254 0 -0.9324 -0.4514 -1.3616 -0.9916c 0.0222 0.1184 0.0296 0.2516 0.0296 0.3478c 0 0.518 -0.222 0.6438 -0.4292 0.6438c -0.5328 0 -1.0138 -0.3922 -1.4504 -0.9546l -0.0148 0.0074l 0.0148 0.0666c 0.074 0.2886 0.1702 0.5772 0.1702 0.703c 0 0.1036 -0.0592 0.1554 -0.1554 0.1554c -0.2368 0 -0.5698 -0.0518 -0.9176 -0.0962c -0.0518 -0.0592 -0.037 -0.1406 0.0074 -0.2072l 0.296 -0.0222c 0.0888 -0.0074 0.1332 -0.074 0.1332 -0.148c 0 -0.0666 -0.0222 -0.1702 -0.0666 -0.3774Z "/></symbol><symbol id="g8D93301AB31C91F9A2CCF9C7BA1DBF57" overflow="visible"><path d="M 0 0m 1.813 2.368c 0.0666 0.2886 0.1554 0.5772 0.1554 0.703c 0 0.1036 -0.0592 0.1554 -0.1554 0.1554c -0.2368 0 -0.5698 -0.0518 -0.9176 -0.0962c -0.0518 -0.0592 -0.037 -0.1406 0.0074 -0.2072l 0.296 -0.0222c 0.0888 -0.0074 0.1332 -0.074 0.1332 -0.148c 0 -0.0666 -0.0148 -0.1702 -0.0666 -0.3774l -0.3478 -1.5244c -0.0518 -0.2368 -0.1258 -0.5402 -0.1258 -0.6808c 0 -0.1406 0.0814 -0.2442 0.3034 -0.2442c 0.3552 0 0.6882 0.2516 1.0286 0.6882c -0.0222 0.0666 -0.0666 0.1258 -0.1702 0.1258c -0.1924 -0.222 -0.407 -0.37 -0.481 -0.37c -0.0518 0 -0.074 0.037 -0.074 0.1258c 0 0.0666 0.037 0.2294 0.0814 0.4218Z m -0.3256 1.85c 0 -0.1924 0.1628 -0.3552 0.3552 -0.3552c 0.1924 0 0.3552 0.1628 0.3552 0.3552c 0 0.1924 -0.1628 0.3552 -0.3552 0.3552c -0.1924 0 -0.3552 -0.1628 -0.3552 -0.3552Z "/></symbol><symbol id="g19B0D44A63D904EB9E4EBB7C5C9212CB" overflow="visible"><path d="M 0 0m 3.2042 0.9176l 0.2812 1.1766c 0.0592 0.259 0.0962 0.4292 0.0962 0.5624c 0 0.444 -0.1998 0.592 -0.4884 0.592c -0.3848 0 -0.703 -0.1554 -1.3838 -0.9546l -0.0074 0.0074l 0.0222 0.0666c 0.0962 0.2738 0.1628 0.592 0.1628 0.703c 0 0.1036 -0.0592 0.1554 -0.1554 0.1554c -0.2368 0 -0.5846 -0.0444 -0.9324 -0.0962c -0.0518 -0.0592 -0.037 -0.1406 0.0074 -0.2072l 0.296 -0.0222c 0.0888 -0.0074 0.1332 -0.074 0.1332 -0.148c 0 -0.0592 -0.0222 -0.1702 -0.0666 -0.3774l -0.4144 -1.8426c -0.037 -0.148 -0.0962 -0.333 -0.0962 -0.407c 0 -0.1184 0.0814 -0.1998 0.3182 -0.1998c 0.2812 0 0.2738 0.3256 0.3404 0.6068l 0.2812 1.2284c 0.4662 0.6068 0.8732 1.0434 1.1396 1.0434c 0.1554 0 0.259 -0.037 0.259 -0.2664c 0 -0.0888 -0.0444 -0.296 -0.0962 -0.5032l -0.2812 -1.184c -0.0592 -0.2368 -0.1258 -0.5402 -0.1258 -0.6808c 0 -0.1406 0.0814 -0.2442 0.3034 -0.2442c 0.3552 0 0.7104 0.2516 1.0508 0.6882c -0.0222 0.0666 -0.0666 0.1258 -0.1702 0.1258c -0.1924 -0.222 -0.407 -0.37 -0.481 -0.37c -0.0518 0 -0.074 0.037 -0.074 0.1258c 0 0.0666 0.037 0.2294 0.0814 0.4218Z "/></symbol><symbol id="g4A2782C275CDF79DA78B5EAF78F9C469" overflow="visible"><path d="M 0 0m 2.1164 4.3142c 0.111 0.481 0.185 0.777 0.185 0.777c 0 0.0518 -0.0222 0.074 -0.0888 0.074c -0.1998 -0.074 -0.7326 -0.1702 -1.036 -0.1924l -0.0222 -0.1776c 0 -0.0222 0.0074 -0.037 0.037 -0.037l 0.2294 -0.0148c 0.0962 0 0.1554 -0.0444 0.1554 -0.2072c 0 -0.0814 -0.0148 -0.2072 -0.0518 -0.37l -0.7326 -3.2856c -0.0518 -0.2368 -0.1036 -0.4884 -0.1036 -0.629c 0 -0.1406 0.037 -0.3256 0.3108 -0.3256c 0.333 0 0.74 0.1924 1.073 0.7474c -0.0296 0.074 -0.0666 0.1258 -0.1628 0.1258c -0.222 -0.2664 -0.4588 -0.4292 -0.5476 -0.4292c -0.0592 0 -0.0888 0.0444 -0.0888 0.1036c 0 0.0592 0.0222 0.1702 0.0888 0.4662Z "/></symbol><symbol id="g1DB8A00DF728AA39A61155EC2A73D367" overflow="visible"><path d="M 0 0m 1.5022 4.7952c 0 -0.1776 0.111 -0.2664 0.2516 -0.3034c 0.1184 -0.0296 0.2294 -0.0592 0.2294 -0.1924c 0 -0.2072 -0.3774 -0.555 -0.7696 -0.6438c -0.0222 -0.0666 0 -0.1258 0.0592 -0.1702c 0.8584 0.1554 1.0656 0.8214 1.0656 1.2062c 0 0.296 -0.1702 0.4736 -0.3996 0.4736c -0.222 0 -0.4366 -0.1406 -0.4366 -0.37Z "/></symbol><symbol id="g9195F18F2BF6DE74C0C8DD65892D26F" overflow="visible"><path d="M 0 0m 1.2876 -0.074h 0.111c 0.7252 0 1.1618 0.3996 1.1618 0.9472c 0 0.3478 -0.1998 0.6882 -0.8806 1.1396c -0.222 0.148 -0.296 0.2812 -0.296 0.4662c 0 0.259 0.148 0.5254 0.4662 0.5254c 0.185 0 0.3108 -0.0592 0.333 -0.2146c 0.0222 -0.1776 0.148 -0.3848 0.3404 -0.3848c 0.2072 0 0.2664 0.1332 0.2664 0.2516c 0 0.2664 -0.3848 0.592 -0.8436 0.592c -0.6438 0 -1.036 -0.4736 -1.036 -0.925c 0 -0.296 0.1628 -0.6142 0.6438 -0.9398c 0.3922 -0.2664 0.4514 -0.5106 0.4514 -0.666c 0 -0.407 -0.296 -0.5476 -0.629 -0.5476c -0.1924 0 -0.296 0.037 -0.3182 0.1998c -0.0222 0.1702 -0.1258 0.3922 -0.3478 0.3922c -0.2146 0 -0.2738 -0.1776 -0.2738 -0.259c 0 -0.2738 0.3404 -0.5476 0.851 -0.5772Z "/></symbol><symbol id="g41C7C56EAFB5E7E0365E9A42CE486F8C" overflow="visible"><path d="M 0 0m 0.5772 1.1988c 0 -0.3922 0.0962 -1.2728 1.036 -1.2728c 0.2368 0 0.4662 0.0296 0.6808 0.1406c 0.6438 0.3256 1.147 1.11 1.147 1.9832c 0 0.5328 -0.1332 1.1988 -1.0434 1.1988c -1.2358 0 -1.8204 -1.1618 -1.8204 -2.0498Z m 0.6142 0.0592c 0 0.666 0.2886 1.7464 1.073 1.7464c 0.222 0 0.3404 -0.1184 0.4514 -0.3256c 0.0888 -0.185 0.111 -0.4588 0.111 -0.6808c 0 -0.296 -0.0444 -0.9324 -0.3182 -1.3468c -0.2072 -0.3182 -0.5032 -0.4514 -0.7844 -0.4514c -0.2146 0 -0.5328 0.2812 -0.5328 1.0582Z "/></symbol><symbol id="gE96EA473BA9C7FC59449D03505FC99F5" overflow="visible"><path d="M 0 0m 0.4588 0.333c 0 -0.1776 0.111 -0.2664 0.2516 -0.3034c 0.1184 -0.0296 0.2294 -0.0592 0.2294 -0.1924c 0 -0.2072 -0.3774 -0.555 -0.7696 -0.6438c -0.0222 -0.0666 0 -0.1258 0.0592 -0.1702c 0.8584 0.1554 1.0656 0.8214 1.0656 1.2062c 0 0.296 -0.1702 0.4736 -0.3996 0.4736c -0.222 0 -0.4366 -0.1406 -0.4366 -0.37Z "/></symbol><symbol id="g331101EC19D94DBA83B72BC0E35993FF" overflow="visible"><path d="M 0 0m 2.553 0.8584l -0.0518 -0.1924c -0.0444 -0.1776 -0.074 -0.3182 -0.074 -0.407c 0 -0.1406 0.0518 -0.333 0.3034 -0.333c 0.4588 0 0.7548 0.296 0.9472 0.7178c -0.037 0.0666 -0.074 0.1184 -0.1702 0.1184c -0.1998 -0.2738 -0.3404 -0.3922 -0.4144 -0.3922c -0.0222 0 -0.0888 0.0148 -0.0888 0.1036c 0 0.0666 0.0444 0.2738 0.074 0.4144l 0.7844 3.4262c 0.111 0.481 0.185 0.777 0.185 0.777c 0 0.0518 -0.0222 0.074 -0.0888 0.074c -0.1998 -0.074 -0.7326 -0.1702 -1.036 -0.1924l -0.0222 -0.1776c 0 -0.0222 0.0074 -0.037 0.037 -0.037l 0.2294 -0.0148c 0.0962 0 0.1554 -0.0444 0.1554 -0.2072c 0 -0.0814 -0.0148 -0.2072 -0.0518 -0.37l -0.2738 -1.3246h -0.0074c -0.0888 0.222 -0.3034 0.407 -0.5846 0.407c -0.7918 0 -1.8056 -1.0952 -1.8056 -2.257c 0 -0.407 0.1036 -1.0656 0.7548 -1.0656c 0.3848 0 0.7326 0.296 1.1766 0.9472Z m 0 0.5772c -0.3626 -0.666 -0.7844 -1.1692 -1.073 -1.1692c -0.2368 0 -0.2886 0.4292 -0.2886 0.8436c 0 0.7844 0.555 1.8722 1.2358 1.8722c 0.2812 0 0.4662 -0.3848 0.4662 -0.6438c 0 -0.1702 -0.1258 -0.5106 -0.3404 -0.9028Z "/></symbol><symbol id="g5F6B5B58B9859169D31B8362C347FEDF" overflow="visible"><path d="M 0 0m 1.5466 -0.074c 0.5328 0 1.0138 0.3848 1.369 0.8806c -0.0222 0.074 -0.0962 0.1258 -0.1628 0.1258c -0.2886 -0.3256 -0.5846 -0.5698 -0.9768 -0.5698c -0.1258 0 -0.2664 0.0296 -0.37 0.1702c -0.111 0.1406 -0.185 0.2886 -0.185 0.7326c 0 1.1026 0.518 1.7538 1.0878 1.7538c 0.1036 0 0.3108 -0.037 0.3108 -0.2812c 0 -0.0444 -0.0148 -0.1036 -0.037 -0.1406c -0.0222 -0.0296 -0.037 -0.111 -0.037 -0.1554c 0 -0.1184 0.074 -0.2368 0.1998 -0.2368c 0.1998 0 0.3848 0.148 0.3848 0.333c 0 0.2886 -0.0222 0.7104 -0.8288 0.7104c -0.296 0 -0.7696 -0.1924 -1.0804 -0.518c -0.3626 -0.3922 -0.6068 -0.962 -0.6068 -1.628c 0 -0.2442 0.0518 -0.5772 0.222 -0.8214c 0.1554 -0.2146 0.407 -0.3552 0.7104 -0.3552Z "/></symbol><symbol id="gE58F150F864B781A35F9BB7FE925D9CB" overflow="visible"><path d="M 0 0m 1.3024 0.5328l 0.2812 1.2284c 0.4662 0.6068 0.9472 1.0434 1.2136 1.0434c 0.1554 0 0.259 -0.0444 0.259 -0.2738c 0 -0.1036 -0.0148 -0.2442 -0.074 -0.4958l -0.2812 -1.184c -0.0592 -0.2368 -0.1258 -0.5402 -0.1258 -0.6808c 0 -0.1406 0.0814 -0.2442 0.3034 -0.2442c 0.3552 0 0.6882 0.2516 1.0286 0.6882c -0.0222 0.0666 -0.0666 0.1258 -0.1702 0.1258c -0.1924 -0.222 -0.407 -0.37 -0.481 -0.37c -0.0518 0 -0.074 0.037 -0.074 0.1258c 0 0.0666 0.037 0.2294 0.0814 0.4218l 0.2812 1.1766c 0.0592 0.259 0.0962 0.4292 0.0962 0.5624c 0 0.444 -0.1998 0.592 -0.4884 0.592c -0.3848 0 -0.7696 -0.1554 -1.4504 -0.9398l 0.4514 2.0054c 0.111 0.481 0.185 0.777 0.185 0.777c 0 0.0518 -0.0222 0.074 -0.0888 0.074c -0.1998 -0.074 -0.7326 -0.1702 -1.036 -0.1924l -0.0222 -0.1776c 0 -0.0222 0.0074 -0.037 0.037 -0.037l 0.2294 -0.0148c 0.0962 0 0.1554 -0.0444 0.1554 -0.2072c 0 -0.0814 -0.0148 -0.2072 -0.0518 -0.37l -0.8066 -3.6334c -0.037 -0.148 -0.0962 -0.333 -0.0962 -0.407c 0 -0.1184 0.0666 -0.1998 0.3034 -0.1998c 0.2812 0 0.2738 0.3256 0.3404 0.6068Z "/></symbol><symbol id="g6516EBF8634F8ACF12BB342ADDDCB8A6" overflow="visible"><path d="M 0 0m 1.287231445 0.483999023v -1.946293945h -0.63503418v 5.306826172h 0.63503418v -0.490864258q 0.157900391 0.284907227 0.420495605 0.434226074q 0.262595215 0.149318848 0.605856934 0.149318848q 0.696821289 0 1.093288574 -0.538920898q 0.396467285 -0.538920898 0.396467285 -1.493188477q 0 -0.937104492 -0.398183594 -1.470876465q -0.398183594 -0.533771973 -1.091572266 -0.533771973q -0.350126953 0 -0.612722168 0.149318848q -0.262595215 0.149318848 -0.413630371 0.434226074Z m 1.853613281 1.434833984q 0 0.734580078 -0.23170166 1.108735352q -0.23170166 0.374155273 -0.688239746 0.374155273q -0.459970703 0 -0.696821289 -0.375871582q -0.236850586 -0.375871582 -0.236850586 -1.107019043q 0 -0.727714844 0.236850586 -1.105302734q 0.236850586 -0.377587891 0.696821289 -0.377587891q 0.456538086 0 0.688239746 0.374155273q 0.23170166 0.374155273 0.23170166 1.108735352Z "/></symbol><symbol id="g8B9E512F4CAEADE270CB73386A23287B" overflow="visible"><path d="M 0 0m 2.409697266 1.932563477h -0.209389648q -0.552651367 0 -0.832409668 -0.193942871q -0.279758301 -0.193942871 -0.279758301 -0.578395996q 0 -0.346694336 0.209389648 -0.538920898q 0.209389648 -0.192226563 0.580112305 -0.192226563q 0.521757813 0 0.820395508 0.362141113q 0.298637695 0.362141113 0.302070313 1.00060791v 0.140737305h -0.590410156Z m 1.225444336 0.260878906v -2.193442383h -0.63503418v 0.569814453q -0.202524414 -0.343261719 -0.509743652 -0.506311035q -0.307219238 -0.163049316 -0.746594238 -0.163049316q -0.586977539 0 -0.937104492 0.331247559q -0.350126953 0.331247559 -0.350126953 0.887331543q 0 0.641899414 0.430793457 0.974863281q 0.430793457 0.332963867 1.264919434 0.332963867h 0.847856445v 0.099545898q -0.003432617 0.459970703 -0.233417969 0.667644043q -0.229985352 0.20767334 -0.734580078 0.20767334q -0.322666016 0 -0.652197266 -0.092680664q -0.32953125 -0.092680664 -0.641899414 -0.271176758v 0.631601563q 0.350126953 0.13387207 0.67107666 0.200808105q 0.320949707 0.066936035 0.62302002 0.066936035q 0.477133789 0 0.815246582 -0.140737305q 0.338112793 -0.140737305 0.547502441 -0.422211914q 0.130439453 -0.171630859 0.185361328 -0.423928223q 0.054921875 -0.252297363 0.054921875 -0.75689209Z "/></symbol><symbol id="g9DA584B3127C4963BD7B072B4AE98539" overflow="visible"><path d="M 0 0m 3.964672852 3.05159668q -0.202524414 0.157900391 -0.411914063 0.229985352q -0.209389648 0.072084961 -0.459970703 0.072084961q -0.590410156 0 -0.90277832 -0.370722656q -0.312368164 -0.370722656 -0.312368164 -1.070976563v -1.911967773h -0.63503418v 3.84453125h 0.63503418v -0.751743164q 0.157900391 0.408481445 0.485715332 0.626452637q 0.327814941 0.217971191 0.777487793 0.217971191q 0.233417969 0 0.435942383 -0.058354492q 0.202524414 -0.058354492 0.387885742 -0.181928711v -0.645332031Z "/></symbol><symbol id="g15DEB9D2A8B3973474F57A46943BB23F" overflow="visible"><path d="M 0 0m 2.945185547 3.353666992v 1.987485352h 0.631601563v -5.341152344h -0.631601563v 0.483999023q -0.157900391 -0.284907227 -0.420495605 -0.434226074q -0.262595215 -0.149318848 -0.605856934 -0.149318848q -0.696821289 0 -1.096721191 0.540637207q -0.399899902 0.540637207 -0.399899902 1.491472168q 0 0.937104492 0.401616211 1.470876465q 0.401616211 0.533771973 1.095004883 0.533771973q 0.346694336 0 0.611005859 -0.149318848q 0.264311523 -0.149318848 0.41534668 -0.434226074Z m -1.857045898 -1.434833984q 0 -0.734580078 0.233417969 -1.108735352q 0.233417969 -0.374155273 0.689956055 -0.374155273q 0.456538086 0 0.69510498 0.377587891q 0.238566895 0.377587891 0.238566895 1.105302734q 0 0.731147461 -0.238566895 1.107019043q -0.238566895 0.375871582 -0.69510498 0.375871582q -0.456538086 0 -0.689956055 -0.374155273q -0.233417969 -0.374155273 -0.233417969 -1.108735352Z "/></symbol><symbol id="g56CDD368D5583E871C775654264D6775" overflow="visible"><path d="M 0 0m 3.817070313 2.080166016v -0.308935547h -2.735795898v -0.020595703q 0 -0.628168945 0.327814941 -0.971430664q 0.327814941 -0.343261719 0.925090332 -0.343261719q 0.302070313 0 0.631601563 0.096113281q 0.32953125 0.096113281 0.703686523 0.291772461v -0.628168945q -0.360424805 -0.147602539 -0.69510498 -0.221403809q -0.334680176 -0.07380127 -0.64704834 -0.07380127q -0.895913086 0 -1.400507813 0.53720459q -0.504594727 0.53720459 -0.504594727 1.481174316q 0 0.919941406 0.494296875 1.469160156q 0.494296875 0.54921875 1.318125 0.54921875q 0.734580078 0 1.158508301 -0.497729492q 0.423928223 -0.497729492 0.423928223 -1.359316406Z m -0.631601563 0.185361328q -0.013730469 0.556083984 -0.262595215 0.846140137q -0.248864746 0.290056152 -0.715700684 0.290056152q -0.456538086 0 -0.751743164 -0.302070313q -0.295205078 -0.302070313 -0.350126953 -0.837558594l 2.080166016 0.003432617Z "/></symbol><symbol id="gAFEBBDFB460EB0C08478C1E849AF4DD7" overflow="visible"><path d="M 0 0m 3.339936523 3.71065918v -0.617871094q -0.271176758 0.157900391 -0.545786133 0.236850586q -0.274609375 0.078950195 -0.559516602 0.078950195q -0.429077148 0 -0.640183105 -0.139020996q -0.211105957 -0.139020996 -0.211105957 -0.423928223q 0 -0.257446289 0.157900391 -0.384453125q 0.157900391 -0.127006836 0.786069336 -0.247148438l 0.254013672 -0.048056641q 0.470268555 -0.089248047 0.712268066 -0.356992188q 0.241999512 -0.267744141 0.241999512 -0.696821289q 0 -0.569814453 -0.405048828 -0.89076416q -0.405048828 -0.320949707 -1.125898438 -0.320949707q -0.284907227 0 -0.597275391 0.060070801q -0.312368164 0.060070801 -0.676225586 0.180212402v 0.652197266q 0.35355957 -0.181928711 0.676225586 -0.272893066q 0.322666016 -0.090964355 0.611005859 -0.090964355q 0.418779297 0 0.648764648 0.169914551q 0.229985352 0.169914551 0.229985352 0.47541748q 0 0.439375 -0.840991211 0.607573242l -0.027460938 0.006865234l -0.236850586 0.048056641q -0.545786133 0.106411133 -0.796367188 0.358708496q -0.250581055 0.252297363 -0.250581055 0.688239746q 0 0.552651367 0.374155273 0.853005371q 0.374155273 0.300354004 1.067543945 0.300354004q 0.308935547 0 0.593842773 -0.056638184q 0.284907227 -0.056638184 0.559516602 -0.169914551Z "/></symbol><symbol id="g8FCB107D521EED6F10C0AD408CC4A120" overflow="visible"><path d="M 0 0m 2.107626953 4.936103516v -1.091572266h 1.434833984v -0.490864258h -1.434833984v -2.08703125q 0 -0.425644531 0.161333008 -0.593842773q 0.161333008 -0.168198242 0.562949219 -0.168198242h 0.710551758v -0.504594727h -0.772338867q -0.710551758 0 -1.002324219 0.284907227q -0.291772461 0.284907227 -0.291772461 0.981728516v 2.08703125h -1.026352539v 0.490864258h 1.026352539v 1.091572266h 0.631601563Z "/></symbol><symbol id="gA9CF33D0D1D8CAA2E91905CCF7AF386E" overflow="visible"><path d="M 0 0m 3.642006836 0.19565918q -0.254013672 -0.147602539 -0.523474121 -0.221403809q -0.269460449 -0.07380127 -0.550935059 -0.07380127q -0.892480469 0 -1.395358887 0.535488281q -0.502878418 0.535488281 -0.502878418 1.482890625q 0 0.947402344 0.502878418 1.482890625q 0.502878418 0.535488281 1.395358887 0.535488281q 0.278041992 0 0.542353516 -0.072084961q 0.264311523 -0.072084961 0.532055664 -0.223120117v -0.662495117q -0.250581055 0.223120117 -0.502878418 0.322666016q -0.252297363 0.099545898 -0.571530762 0.099545898q -0.593842773 0 -0.913076172 -0.384453125q -0.319233398 -0.384453125 -0.319233398 -1.0984375q 0 -0.710551758 0.320949707 -1.096721191q 0.320949707 -0.386169434 0.911359863 -0.386169434q 0.32953125 0 0.590410156 0.101262207q 0.260878906 0.101262207 0.483999023 0.314084473v -0.655629883Z "/></symbol><symbol id="g1C44445D4E73BE0785133DA3643417B4" overflow="visible"><path d="M 0 0m 3.607680664 2.382236328v -2.382236328h -0.63503418v 2.382236328q 0 0.518325195 -0.181928711 0.762041016q -0.181928711 0.24371582 -0.569814453 0.24371582q -0.442807617 0 -0.681374512 -0.314084473q -0.238566895 -0.314084473 -0.238566895 -0.901062012v -2.17284668h -0.631601563v 5.341152344h 0.631601563v -2.073300781q 0.168198242 0.32953125 0.456538086 0.499445801q 0.288339844 0.169914551 0.68309082 0.169914551q 0.586977539 0 0.877033691 -0.386169434q 0.290056152 -0.386169434 0.290056152 -1.168806152Z "/></symbol><symbol id="gA53B11B5D7DE22624F603554D7751F7A" overflow="visible"><path d="M 0 0m 0 3.84453125h 0.624736328l 0.669360352 -3.106518555l 0.54921875 1.984052734h 0.538920898l 0.556083984 -1.984052734l 0.669360352 3.106518555h 0.624736328l -0.899345703 -3.84453125h -0.604140625l -0.614438477 2.107626953l -0.611005859 -2.107626953h -0.604140625l -0.899345703 3.84453125Z "/></symbol><symbol id="gB36B05DB7C8B106A24538B5154E2ECAE" overflow="visible"><path d="M 0 0m 2.114492187 3.401723633q -0.480566406 0 -0.727714844 -0.374155273q -0.247148438 -0.374155273 -0.247148438 -1.108735352q 0 -0.731147461 0.247148438 -1.107019043q 0.247148438 -0.375871582 0.727714844 -0.375871582q 0.483999023 0 0.731147461 0.375871582q 0.247148438 0.375871582 0.247148438 1.107019043q 0 0.734580078 -0.247148438 1.108735352q -0.247148438 0.374155273 -0.731147461 0.374155273Z m 0 0.535488281q 0.799799805 0 1.223728027 -0.518325195q 0.423928223 -0.518325195 0.423928223 -1.500053711q 0 -0.985161133 -0.422211914 -1.50177002q -0.422211914 -0.516608887 -1.225444336 -0.516608887q -0.799799805 0 -1.222011719 0.516608887q -0.422211914 0.516608887 -0.422211914 1.50177002q 0 0.981728516 0.422211914 1.500053711q 0.422211914 0.518325195 1.222011719 0.518325195Z "/></symbol><symbol id="g79C123D67CCDD083B73E9A197F3F3128" overflow="visible"><path d="M 0 0m 0.810097656 5.341152344h 0.652197266v -3.092788086l 1.657954102 1.596166992h 0.76890625l -1.51378418 -1.448564453l 1.750634766 -2.395966797h -0.772338867l -1.421103516 1.984052734l -0.470268555 -0.442807617v -1.541245117h -0.652197266v 5.341152344Z "/></symbol><symbol id="gFF7C46FA036CA39B00652D238CFD3F79" overflow="visible"><path d="M 0 0m 0.3182 3.1746c -0.1036 0 -0.1332 -0.0888 -0.1332 -0.148v -0.0962c 0 -0.037 0.0074 -0.0444 0.037 -0.0444h 0.4366v -2.2274c 0 -0.5254 0.2294 -0.7326 0.5698 -0.7326c 0.3404 0 0.7104 0.1628 0.999 0.4884c -0.0148 0.074 -0.0592 0.1184 -0.1332 0.1258c -0.1924 -0.148 -0.4144 -0.2072 -0.6068 -0.2072c -0.1998 0 -0.2442 0.222 -0.2442 0.6808v 1.8722h 0.7696c 0.074 0 0.1776 0.0296 0.1776 0.0962v 0.148c 0 0.0296 -0.0222 0.0444 -0.0592 0.0444h -0.888v 0.2886c 0 0.481 0.0296 0.777 0.0296 0.777c 0 0.0444 -0.0222 0.0666 -0.0592 0.0666c -0.0296 0 -0.0962 -0.0296 -0.1628 -0.0666c -0.0814 -0.0444 -0.1554 -0.0814 -0.2516 -0.1036c -0.0888 -0.0296 -0.1628 -0.0518 -0.1628 -0.1036c 0 -0.0888 0.0222 -0.037 0.0222 -0.8584Z "/></symbol><symbol id="gCD10CFE8D13D0502D7BABC390C7D620F" overflow="visible"><path d="M 0 0m 1.2358 2.1164c 0 0.1554 0.0666 0.2442 0.1258 0.3108c 0.2812 0.2738 0.6586 0.4366 0.9472 0.4366c 0.148 0 0.3034 -0.0962 0.3922 -0.2664c 0.074 -0.148 0.0888 -0.3478 0.0888 -0.5698v -1.1248c 0 -0.6068 -0.074 -0.6364 -0.4588 -0.6734c -0.037 -0.0444 -0.037 -0.1998 0 -0.2442c 0.2072 0.0074 0.4588 0.0148 0.7548 0.0148c 0.296 0 0.5402 -0.0074 0.7844 -0.0148c 0.037 0.0444 0.037 0.1998 0 0.2442c -0.4144 0.037 -0.4958 0.0666 -0.4958 0.6734v 1.1026c 0 0.407 -0.0296 0.7696 -0.1998 0.9916c -0.1258 0.1628 -0.3552 0.2516 -0.6142 0.2516c -0.3626 0 -0.8066 -0.0962 -1.258 -0.5994c 0 -0.0074 -0.0074 -0.0074 -0.0148 -0.0148c -0.0222 -0.0296 -0.0592 -0.074 -0.0592 0.0148l 0.0074 1.665c 0 0.481 0.0296 0.777 0.0296 0.777c 0 0.0518 -0.0296 0.074 -0.0962 0.074c -0.185 -0.074 -0.74 -0.1776 -1.036 -0.1998c -0.0148 -0.0592 0 -0.1776 0.0444 -0.222c 0.0222 0 0.0444 0 0.0666 0c 0.3256 -0.0222 0.407 -0.0222 0.407 -0.6068v -3.2338c 0 -0.6142 -0.0888 -0.6438 -0.518 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.2442 0.0074 0.518 0.0148 0.814 0.0148c 0.2812 0 0.5254 -0.0074 0.7326 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.3774 0.0296 -0.444 0.0592 -0.444 0.6734Z "/></symbol><symbol id="gAA65137CBD2F12FA15AFBCFC68DD5182" overflow="visible"><path d="M 0 0m 2.8564 0.6882c -0.2738 -0.2812 -0.4884 -0.3996 -0.9176 -0.3996c -0.2664 0 -0.5772 0.1554 -0.8066 0.5328c -0.148 0.2442 -0.2368 0.5846 -0.2368 1.0138l 1.9684 -0.0148c 0.0888 0 0.1406 0.0444 0.1406 0.1258c 0 0.6216 -0.222 1.2876 -1.2506 1.2876c -0.6438 0 -1.48 -0.6142 -1.48 -1.739c 0 -0.4144 0.1036 -0.814 0.3478 -1.0952c 0.2516 -0.296 0.5994 -0.4736 1.1322 -0.4736c 0.5624 0 0.962 0.259 1.258 0.6438c -0.0222 0.074 -0.0666 0.111 -0.1554 0.1184Z m -1.9388 1.3986c 0.1406 0.8362 0.6586 0.9028 0.8362 0.9028c 0.2812 0 0.6142 -0.1554 0.6142 -0.777c 0 -0.0666 -0.0296 -0.1036 -0.111 -0.1036Z "/></symbol><symbol id="gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" overflow="visible"><path d="M 0 0m 0.3552 1.0212c 0.0296 -0.3626 0.0518 -0.7104 0.0518 -1.0212c 0.074 0.0148 0.148 0.0222 0.185 0.0222c 0.0518 0 0.0962 0 0.148 -0.0148c 0.1998 -0.0518 0.3996 -0.0814 0.6734 -0.0814c 0.4144 0 1.1766 0.1998 1.1766 0.9324c 0 0.5032 -0.3626 0.7992 -0.8658 0.9842c -0.444 0.1702 -0.74 0.2812 -0.74 0.6882c 0 0.3034 0.2664 0.4736 0.518 0.4736c 0.1628 0 0.592 -0.0592 0.6882 -0.6882c 0.0444 -0.0444 0.1924 -0.037 0.2368 0.0074c 0.0222 0.2664 0.037 0.5402 0.0444 0.7844c -0.2294 0.037 -0.5846 0.1406 -0.9694 0.1406c -0.5476 0 -1.0434 -0.3552 -1.0434 -0.8288c 0 -0.5402 0.2442 -0.7696 0.814 -1.0064c 0.6142 -0.2516 0.7548 -0.407 0.7548 -0.7252c 0 -0.3626 -0.3552 -0.518 -0.629 -0.518c -0.2886 0 -0.4514 0.0962 -0.5254 0.1776c -0.1628 0.1702 -0.2442 0.4958 -0.2886 0.6808c -0.0444 0.0444 -0.185 0.037 -0.2294 -0.0074Z "/></symbol><symbol id="gDCF05E46321EA4880E85DD8DCA7E84D8" overflow="visible"><path d="M 0 0m 1.3394 0.9028v 1.4726c 0 0.37 0.0296 0.8436 0.0296 0.8436c 0 0.0296 -0.037 0.0518 -0.0962 0.0518c -0.2072 -0.0814 -0.5032 -0.148 -1.0138 -0.2146c -0.0148 -0.0444 0 -0.1628 0.0148 -0.2072c 0.407 -0.037 0.481 -0.0814 0.481 -0.5032v -1.443c 0 -0.6142 -0.0814 -0.6364 -0.5328 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.2442 0.0074 0.5328 0.0148 0.8288 0.0148c 0.296 0 0.5772 -0.0074 0.8214 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.4514 0.0296 -0.5328 0.0592 -0.5328 0.6734Z m -0.6734 3.5298c 0 -0.1924 0.1776 -0.3848 0.3552 -0.3848c 0.2072 0 0.3848 0.1998 0.3848 0.3552c 0 0.1776 -0.1554 0.3848 -0.3552 0.3848c -0.1776 0 -0.3848 -0.1776 -0.3848 -0.3552Z "/></symbol><symbol id="g81B3A9F45BA5623D272A10055902C9BB" overflow="visible"><path d="M 0 0m 0.3034 1.517c 0 -0.7548 0.5032 -1.591 1.554 -1.591c 0.4736 0 0.8362 0.1702 1.0878 0.4144c 0.333 0.3256 0.481 0.7918 0.481 1.2432c 0 0.7696 -0.4218 1.665 -1.554 1.665c -0.4884 0 -0.888 -0.1998 -1.1618 -0.518c -0.2664 -0.3182 -0.407 -0.7474 -0.407 -1.2136Z m 1.4578 1.4726c 0.6364 0 1.0286 -0.5772 1.0286 -1.6428c 0 -0.9324 -0.481 -1.1618 -0.8288 -1.1618c -0.7696 0 -1.0212 0.9324 -1.0212 1.5022c 0 0.6438 0.1554 1.3024 0.8214 1.3024Z "/></symbol><symbol id="g2EA0627FB9063D4AF73FFF8929FC14E6" overflow="visible"><path d="M 0 0m 1.3616 2.6492c -0.0444 -0.0518 -0.0888 -0.0666 -0.0888 0c -0.0074 0.1998 -0.0222 0.4884 -0.0592 0.5624c -0.0148 0.037 -0.0296 0.0592 -0.0888 0.0592c -0.2072 -0.0814 -0.3996 -0.148 -0.9102 -0.2146c -0.0148 -0.0444 0 -0.1628 0.0148 -0.2072c 0.3996 -0.037 0.481 -0.074 0.481 -0.5032v -1.443c 0 -0.6068 -0.074 -0.6364 -0.518 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.222 0.0074 0.518 0.0148 0.814 0.0148c 0.296 0 0.518 -0.0074 0.74 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.3774 0.037 -0.4514 0.0666 -0.4514 0.6734v 1.2136c 0 0.1554 0.0666 0.2442 0.1258 0.3108c 0.2812 0.2738 0.6142 0.4366 0.9028 0.4366c 0.148 0 0.3034 -0.0962 0.3922 -0.2664c 0.074 -0.148 0.0888 -0.3478 0.0888 -0.5698v -1.1248c 0 -0.6068 -0.074 -0.6364 -0.4588 -0.6734c -0.037 -0.0444 -0.037 -0.1998 0 -0.2442c 0.222 0.0074 0.4588 0.0148 0.7548 0.0148c 0.296 0 0.5624 -0.0074 0.7844 -0.0148c 0.037 0.0444 0.037 0.1998 0 0.2442c -0.4144 0.037 -0.4958 0.0666 -0.4958 0.6734v 1.1026c 0 0.407 -0.0296 0.7622 -0.1998 0.9916c -0.1258 0.1628 -0.3552 0.2516 -0.6142 0.2516c -0.3626 0 -0.777 -0.0962 -1.2136 -0.5994Z "/></symbol><symbol id="g17EAE68D559C13C5F6D3C434C900AC6E" overflow="visible"><path d="M 0 0m 2.4716 0.37c 0.037 0.0296 0.1036 0.0444 0.111 -0.0074c 0.0222 -0.1776 0.0814 -0.4366 0.0814 -0.4366c 0.0592 -0.0222 0.0962 -0.0148 0.1406 0c 0.1628 0.1332 0.4218 0.2442 0.8732 0.296c 0.0444 0.0444 0.0444 0.1554 0 0.1998c -0.4736 0.037 -0.5402 0.1776 -0.5402 0.5402v 3.3522c 0 0.481 0.0296 0.777 0.0296 0.777c 0 0.0518 -0.0296 0.074 -0.0962 0.074c -0.185 -0.074 -0.74 -0.1776 -1.036 -0.1998c -0.0148 -0.0592 0 -0.1776 0.0444 -0.222c 0.0222 0 0.0444 0 0.0666 0c 0.3256 -0.0222 0.407 -0.0222 0.407 -0.6068v -0.9472c 0 -0.0518 -0.0148 -0.0666 -0.0666 -0.0666c -0.0296 0 -0.333 0.1258 -0.5772 0.1258c -0.4884 0 -0.814 -0.1628 -1.11 -0.444c -0.3182 -0.3182 -0.5106 -0.7548 -0.5106 -1.3024c 0 -0.9102 0.4588 -1.5762 1.258 -1.5762c 0.2886 0 0.5624 0.148 0.925 0.444Z m 0.0814 0.5476c 0 -0.1406 -0.0148 -0.1998 -0.1184 -0.2886c -0.2738 -0.2368 -0.5106 -0.3552 -0.6956 -0.3552c -0.3996 0 -0.814 0.4366 -0.814 1.3616c 0 0.5328 0.1036 0.8288 0.2146 0.9842c 0.2294 0.3478 0.5402 0.37 0.6882 0.37c 0.2664 0 0.4514 -0.0962 0.5994 -0.2664c 0.1036 -0.1184 0.1258 -0.1702 0.1258 -0.3996Z "/></symbol><symbol id="gB593D0F7F3B5A707DB146A6D5A2F6906" overflow="visible"><path d="M 0 0m 1.3024 2.6492c -0.0148 0.296 -0.0222 0.4884 -0.0592 0.5624c -0.0148 0.037 -0.0296 0.0592 -0.0888 0.0592c -0.2072 -0.0814 -0.3996 -0.148 -0.9102 -0.2146c -0.0148 -0.0444 0 -0.1628 0.0148 -0.2072c 0.3996 -0.037 0.481 -0.074 0.481 -0.5032v -1.443c 0 -0.6142 -0.0888 -0.6438 -0.5476 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.259 0.0074 0.5476 0.0148 0.8436 0.0148c 0.296 0 0.6364 -0.0074 0.8954 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.518 0.037 -0.6068 0.0592 -0.6068 0.6734v 1.0286c 0 0.1924 0.0888 0.3626 0.1776 0.4958c 0.0814 0.1184 0.2516 0.3626 0.3404 0.3626c 0.0666 0 0.1332 -0.0148 0.1924 -0.0962c 0.0518 -0.074 0.1406 -0.1702 0.2664 -0.1702c 0.1776 0 0.3478 0.185 0.3478 0.37c 0 0.1406 -0.1332 0.3552 -0.444 0.3552c -0.3478 0 -0.6512 -0.3256 -0.8214 -0.6142c -0.0444 -0.0814 -0.0814 -0.0222 -0.0814 0.0148Z "/></symbol><symbol id="g227F1C33E7EF9EF7212CC6ECE689450F" overflow="visible"><path d="M 0 0m 2.1682 0.3552c 0.0444 -0.2294 0.1258 -0.4292 0.4958 -0.4292c 0.2812 0 0.5476 0.1258 0.703 0.2738c -0.0148 0.0888 -0.0444 0.1554 -0.1258 0.1998c -0.0518 -0.0444 -0.1776 -0.1184 -0.2738 -0.1184c -0.2146 0 -0.222 0.2886 -0.222 0.629v 1.0878c 0 1.0508 -0.5772 1.2506 -1.1174 1.2506c -0.6068 0 -1.221 -0.3996 -1.221 -0.8214c 0 -0.1776 0.0888 -0.2664 0.259 -0.2664c 0.2146 0 0.3478 0.1554 0.3478 0.2516c 0 0.0518 -0.0074 0.1036 -0.0222 0.1332c -0.0074 0.0222 -0.0148 0.0666 -0.0148 0.148c 0 0.2294 0.3108 0.3108 0.592 0.3108c 0.2516 0 0.5994 -0.1258 0.5994 -0.962c 0 -0.0518 -0.0222 -0.0814 -0.0444 -0.0888l -0.6364 -0.1554c -0.7104 -0.1776 -1.221 -0.5698 -1.221 -1.073c 0 -0.6068 0.4144 -0.7992 0.9324 -0.7992c 0.259 0 0.481 0.0592 0.8066 0.3108l 0.148 0.1184Z m 0 1.369v -0.9768c 0 -0.0962 -0.0444 -0.148 -0.1036 -0.1924c -0.1924 -0.1554 -0.444 -0.3256 -0.6512 -0.3256c -0.37 0 -0.5328 0.296 -0.5328 0.5254c 0 0.333 0.1554 0.6734 0.703 0.814Z "/></symbol><symbol id="gEAECEA240A6BA02884ABCDE9009E4469" overflow="visible"><path d="M 0 0m 1.5022 2.9452c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.222 -0.0074 -0.481 -0.0148 -0.7474 -0.0148c -0.2812 0 -0.481 0.0074 -0.6734 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.3478 -0.037 0.4292 -0.111 0.5846 -0.4958l 0.9694 -2.3902c 0.0444 -0.1036 0.1036 -0.148 0.1776 -0.148c 0.0666 0 0.1258 0.0444 0.1776 0.1628l 0.7474 1.8204l 0.7622 -1.8352c 0.0444 -0.1036 0.1036 -0.148 0.1776 -0.148c 0.0666 0 0.1258 0.0444 0.1702 0.1554l 0.9694 2.3458c 0.1184 0.3034 0.2442 0.5106 0.6216 0.5328c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.148 -0.0074 -0.3108 -0.0148 -0.5328 -0.0148c -0.222 0 -0.5328 0.0074 -0.7548 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.555 -0.0296 0.481 -0.2442 0.3774 -0.5032l -0.6216 -1.5392c -0.074 -0.185 -0.1036 -0.185 -0.1628 -0.0296l -0.6364 1.6206c -0.1406 0.3478 -0.1258 0.4218 0.2664 0.4514c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.222 -0.0074 -0.518 -0.0148 -0.74 -0.0148c -0.185 0 -0.4292 0.0074 -0.6512 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.3478 -0.0296 0.4366 -0.2442 0.5698 -0.5772l 0.0444 -0.1184l -0.518 -1.3098c -0.0962 -0.2442 -0.111 -0.2516 -0.2072 -0.0148l -0.592 1.5244c -0.1406 0.3552 -0.1332 0.4736 0.222 0.4958Z "/></symbol><symbol id="g8AA8538F7E24294E2CAE099289BB02E" overflow="visible"><path d="M 0 0m 0.9102 0.703c -0.2294 0 -0.3922 -0.1554 -0.3922 -0.3626c 0 -0.2294 0.1924 -0.3034 0.3256 -0.3256c 0.1406 -0.0148 0.2664 -0.0592 0.2664 -0.2294c 0 -0.1554 -0.2664 -0.4958 -0.6512 -0.592c 0 -0.074 0.0148 -0.1258 0.0666 -0.1776c 0.444 0.0814 0.8732 0.4366 0.8732 0.9546c 0 0.444 -0.1924 0.7326 -0.4884 0.7326Z m -0.3922 1.924c 0 -0.2146 0.1776 -0.3922 0.3922 -0.3922c 0.2146 0 0.3922 0.1776 0.3922 0.3922c 0 0.2146 -0.1776 0.3922 -0.3922 0.3922c -0.2146 0 -0.3922 -0.1776 -0.3922 -0.3922Z "/></symbol><symbol id="gE463BBA7A0B790CD6263FF7D95B0059" overflow="visible"><path d="M 0 0m 1.1544 2.7232c -0.0074 0.222 -0.0222 0.4144 -0.0592 0.4884c -0.0148 0.037 -0.0296 0.0592 -0.0888 0.0592c -0.2072 -0.0814 -0.3996 -0.148 -0.9102 -0.2146c -0.0148 -0.0444 0 -0.1628 0.0148 -0.2072c 0.3996 -0.037 0.481 -0.074 0.481 -0.5032v -3.1598c 0 -0.6142 -0.0814 -0.6512 -0.5328 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.259 0.0074 0.5328 0.0148 0.8288 0.0148c 0.296 0 0.6512 -0.0074 0.8954 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.5254 0.0296 -0.6068 0.0592 -0.6068 0.6734v 0.7992c 0 0.0962 0.0296 0.0888 0.1036 0.0592c 0.185 -0.074 0.407 -0.1184 0.6438 -0.1184c 0.4144 0 0.7844 0.1258 1.0878 0.4144c 0.3478 0.3404 0.5476 0.7992 0.5476 1.3986c 0 0.7844 -0.555 1.5096 -1.3098 1.5096c -0.3404 0 -0.7178 -0.222 -1.0138 -0.555c -0.0444 -0.0444 -0.074 -0.0444 -0.0814 0.0296Z m 0.1406 -0.2738c 0.1924 0.2368 0.5328 0.4588 0.7474 0.4588c 0.4736 0 0.8806 -0.5328 0.8806 -1.369c 0 -0.6068 -0.2146 -1.3616 -1.0434 -1.3616c -0.1332 0 -0.3922 0.037 -0.5254 0.1554c -0.148 0.1332 -0.1776 0.1776 -0.1776 0.444v 1.3468c 0 0.1554 0.0296 0.222 0.1184 0.3256Z "/></symbol><symbol id="g2B084261FDB9199AB54C9E85B286CDED" overflow="visible"><path d="M 0 0m 2.9452 0.6734c -0.0296 0.0666 -0.0888 0.0962 -0.1554 0.1036c -0.2516 -0.3256 -0.5698 -0.4884 -0.888 -0.4884c -0.5402 0 -0.9916 0.5476 -0.9916 1.4134c 0 0.814 0.3552 1.3024 0.8436 1.3024c 0.4366 0 0.4958 -0.259 0.5254 -0.518c 0.0222 -0.1998 0.1258 -0.2664 0.2812 -0.2664c 0.1554 0 0.3626 0.0962 0.3626 0.3256c 0 0.407 -0.4218 0.703 -1.1322 0.703c -0.7326 0 -1.517 -0.6586 -1.517 -1.7094c 0 -0.9546 0.5328 -1.6132 1.4652 -1.6132c 0.444 0 0.8362 0.1406 1.2062 0.7474Z "/></symbol><symbol id="g30C2621CFB156FC7FA7A5C34E756626C" overflow="visible"><path d="M 0 0m 1.2358 2.9156c -0.0444 -0.0444 -0.074 -0.0296 -0.074 0.037v 1.3616c 0 0.481 0.0296 0.777 0.0296 0.777c 0 0.0518 -0.0296 0.074 -0.0962 0.074c -0.185 -0.074 -0.74 -0.1776 -1.036 -0.1998c -0.0148 -0.0592 0 -0.1776 0.0444 -0.222c 0.0222 0 0.0444 0 0.0666 0c 0.3256 -0.0222 0.407 -0.0222 0.407 -0.6068v -3.6112c 0 -0.2886 -0.0074 -0.4218 -0.0296 -0.5254c 0.037 -0.0592 0.074 -0.0888 0.1628 -0.0888c 0.0444 0.0444 0.1184 0.111 0.1776 0.1776c 0.074 0.0888 0.1184 0.0888 0.1998 0.0222c 0.1702 -0.1406 0.3922 -0.185 0.6512 -0.185c 0.7548 0 1.6354 0.6882 1.6354 1.8648c 0 0.9028 -0.666 1.4578 -1.3098 1.4578c -0.3182 0 -0.5994 -0.1258 -0.8288 -0.333Z m 0.0518 -0.2294c 0.1924 0.1702 0.4144 0.2368 0.629 0.2368c 0.4514 0 0.8214 -0.5476 0.8214 -1.2654c 0 -0.8436 -0.3404 -1.48 -1.0434 -1.48c -0.2294 0 -0.3848 0.1628 -0.5328 0.3478v 1.85c 0 0.1554 0.0296 0.2294 0.1258 0.3108Z "/></symbol><symbol id="g502A19B2EAB7D3B413152B8028260B4F" overflow="visible"><path d="M 0 0m 1.258 2.6492c -0.0074 0.222 -0.0222 0.4884 -0.0592 0.5624c -0.0148 0.037 -0.0296 0.0592 -0.0888 0.0592c -0.2072 -0.0814 -0.3996 -0.148 -0.9102 -0.2146c -0.0148 -0.0444 0 -0.1628 0.0148 -0.2072c 0.3996 -0.037 0.481 -0.074 0.481 -0.5032v -1.443c 0 -0.6068 -0.0962 -0.6438 -0.5032 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.222 0.0074 0.5032 0.0148 0.7992 0.0148c 0.296 0 0.5254 -0.0074 0.7474 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.3774 0.037 -0.4588 0.0666 -0.4588 0.6734v 1.2136c 0 0.1554 0.0666 0.2442 0.1258 0.3108c 0.296 0.2886 0.5698 0.4366 0.7992 0.4366c 0.2812 0 0.4884 -0.1776 0.4884 -0.6734v -1.2876c 0 -0.6068 -0.0592 -0.6438 -0.4588 -0.6734c -0.037 -0.0444 -0.037 -0.1998 0 -0.2442c 0.185 0.0074 0.4588 0.0148 0.7548 0.0148c 0.296 0 0.5402 -0.0074 0.7252 -0.0148c 0.037 0.0444 0.037 0.1998 0 0.2442c -0.37 0.0296 -0.4366 0.0666 -0.4366 0.6734v 1.1766c 0 0.1036 0 0.2072 -0.0074 0.296c 0.3552 0.3922 0.6882 0.4884 0.9768 0.4884c 0.2812 0 0.444 -0.1628 0.444 -0.6586v -1.3024c 0 -0.6068 -0.074 -0.6438 -0.4588 -0.6734c -0.037 -0.0444 -0.037 -0.1998 0 -0.2442c 0.185 0.0074 0.4588 0.0148 0.7548 0.0148c 0.296 0 0.555 -0.0074 0.7622 -0.0148c 0.037 0.0444 0.037 0.1998 0 0.2442c -0.407 0.0296 -0.4736 0.0666 -0.4736 0.6734v 1.1692c 0 0.6586 -0.111 1.1766 -0.7622 1.1766c -0.3774 0 -0.8362 -0.1406 -1.221 -0.5476c -0.0222 -0.0222 -0.0666 -0.0592 -0.0814 0.0074c -0.0666 0.3034 -0.3552 0.5402 -0.74 0.5402c -0.4292 0 -0.814 -0.2516 -1.1248 -0.5994c -0.037 -0.037 -0.0814 -0.0888 -0.0888 0Z "/></symbol><symbol id="g8115B8898C77FA1AC952AEA1F1C8868F" overflow="visible"><path d="M 0 0m 1.6058 -0.074c 0.2886 0 0.6364 0.148 0.999 0.444c 0.037 0.0296 0.1036 0.0444 0.111 -0.0074c 0.0222 -0.185 0.0814 -0.4366 0.0814 -0.4366c 0.0592 -0.0222 0.0962 -0.0148 0.1406 0c 0.1628 0.1332 0.4218 0.2442 0.8732 0.296c 0.0444 0.0444 0.0444 0.1554 0 0.1998c -0.4736 0.037 -0.5402 0.1776 -0.5402 0.5402v 1.4208c 0 0.222 0.0296 0.7622 0.0296 0.7622c 0 0.0222 -0.0222 0.0444 -0.0592 0.0444c -0.037 -0.0074 -0.148 -0.0148 -0.259 -0.0148c -0.2368 0 -0.5032 0.0074 -0.7548 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.3626 -0.0222 0.4588 -0.111 0.4588 -0.5994v -1.4282c 0 -0.1406 -0.0148 -0.1998 -0.1184 -0.2886c -0.2738 -0.2368 -0.555 -0.3552 -0.74 -0.3552c -0.222 0 -0.592 0.1036 -0.592 0.7622v 1.3468c 0 0.222 0.0296 0.7622 0.0296 0.7622c 0 0.0222 -0.0222 0.0444 -0.0592 0.0444c -0.037 -0.0074 -0.148 -0.0148 -0.259 -0.0148c -0.2368 0 -0.5032 0.0074 -0.7548 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.3552 -0.0296 0.4588 -0.111 0.4588 -0.592v -1.4208c 0 -0.5106 0.222 -1.0064 0.9546 -1.0064Z "/></symbol><symbol id="gAEB14721E05777B2298C4935FA0D5596" overflow="visible"><path d="M 0 0m 1.961 -0.0888c 0.0592 0 0.1924 0.1036 0.3108 0.2886c 0.2738 0.4366 0.6808 1.147 0.9398 1.702l 0.0444 0.0074c 0.1036 -0.4736 0.2146 -1.073 0.2886 -1.5688c 0.0518 -0.3552 0.1036 -0.4292 0.1702 -0.4292c 0.0888 0 0.1924 0.0888 0.3404 0.2738c 0.2146 0.2664 0.4514 0.5994 0.555 0.7548c 0.1628 0.222 0.4218 0.6808 0.629 1.1692c 0.111 0.259 0.1998 0.5254 0.1998 0.7918c 0 0.2072 -0.0962 0.3478 -0.3848 0.3478c -0.2146 0 -0.3404 -0.0962 -0.3404 -0.2738c 0 -0.0444 0.0148 -0.1184 0.037 -0.148c 0.111 -0.1702 0.1554 -0.3256 0.1554 -0.444c 0 -0.333 -0.1924 -0.9028 -0.4736 -1.2802c -0.111 -0.1554 -0.2294 -0.3034 -0.333 -0.407l -0.0518 0.0148c -0.0666 0.3848 -0.1628 0.8806 -0.259 1.2802c -0.0666 0.2812 -0.1332 0.5328 -0.185 0.6586c -0.1184 0 -0.2442 -0.0296 -0.3626 -0.0888c -0.3108 -0.7104 -0.7918 -1.591 -0.962 -1.8574l -0.0222 0.0074l -0.2516 1.5762c -0.111 0.6882 -0.1924 0.962 -0.4662 0.962c -0.2442 0 -0.6734 -0.4366 -0.9324 -0.8288c 0.0148 -0.074 0.074 -0.1258 0.1554 -0.1332c 0.2072 0.1998 0.3774 0.3552 0.518 0.3552c 0.074 0 0.111 -0.1258 0.1702 -0.4514l 0.3108 -1.8056c 0.0666 -0.37 0.1332 -0.4736 0.1998 -0.4736Z "/></symbol><symbol id="g58B9648DC59AA07203C3D2D0219F23B0" overflow="visible"><path d="M 0 0m 1.222011719 2.207172852h 1.788393555v -0.562949219h -1.788393555v 0.562949219Z "/></symbol><symbol id="gA84BF29868B6D7A9285BA3B966F83566" overflow="visible"><path d="M 0 0m 2.945185547 1.95315918q 0 0.710551758 -0.23170166 1.079558105q -0.23170166 0.369006348 -0.674509277 0.369006348q -0.46340332 0 -0.707119141 -0.369006348q -0.24371582 -0.369006348 -0.24371582 -1.079558105q 0 -0.710551758 0.245432129 -1.082990723q 0.245432129 -0.372438965 0.712268066 -0.372438965q 0.435942383 0 0.667644043 0.374155273q 0.23170166 0.374155273 0.23170166 1.081274414Z m 0.631601563 -1.706010742q 0 -0.865019531 -0.408481445 -1.311259766q -0.408481445 -0.446240234 -1.201416016 -0.446240234q -0.260878906 0 -0.545786133 0.048056641q -0.284907227 0.048056641 -0.569814453 0.140737305v 0.624736328q 0.336396484 -0.157900391 0.611005859 -0.233417969q 0.274609375 -0.075517578 0.504594727 -0.075517578q 0.511459961 0 0.74487793 0.278041992q 0.233417969 0.278041992 0.233417969 0.882182617v 0.027460938v 0.429077148q -0.151035156 -0.322666016 -0.411914063 -0.480566406q -0.260878906 -0.157900391 -0.63503418 -0.157900391q -0.672792969 0 -1.07440918 0.538920898q -0.401616211 0.538920898 -0.401616211 1.441699219q 0 0.906210938 0.401616211 1.445131836q 0.401616211 0.538920898 1.07440918 0.538920898q 0.370722656 0 0.628168945 -0.147602539q 0.257446289 -0.147602539 0.418779297 -0.456538086v 0.497729492h 0.631601563v -3.583652344Z "/></symbol><symbol id="gBBBD00F1306CF31EE80D575649D29609" overflow="visible"><path d="M 0 0m 0.669360352 1.455429688v 2.382236328h 0.631601563v -2.382236328q 0 -0.518325195 0.18364502 -0.762041016q 0.18364502 -0.24371582 0.568098145 -0.24371582q 0.446240234 0 0.68309082 0.314084473q 0.236850586 0.314084473 0.236850586 0.901062012v 2.17284668h 0.63503418v -3.837666016h -0.63503418v 0.576679688q -0.168198242 -0.332963867 -0.458254395 -0.504594727q -0.290056152 -0.171630859 -0.677941895 -0.171630859q -0.590410156 0 -0.87875 0.386169434q -0.288339844 0.386169434 -0.288339844 1.168806152Z "/></symbol><symbol id="g3148C5B55E2FA22B889139DEBBE7337B" overflow="visible"><path d="M 0 0m 0.87875 3.84453125h 1.616762695v -3.353666992h 1.252905273v -0.490864258h -3.137412109v 0.490864258h 1.252905273v 2.862802734h -0.985161133v 0.490864258Z m 0.985161133 1.496621094h 0.631601563v -0.799799805h -0.631601563v 0.799799805Z "/></symbol><symbol id="g8116C7A8612503EE2E30BE26518FB452" overflow="visible"><path d="M 0 0m 1.3468 2.6492c -0.1702 0.2516 -0.1184 0.259 0.2146 0.296c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.1998 -0.0074 -0.5254 -0.0148 -0.7474 -0.0148c -0.222 0 -0.444 0.0074 -0.6364 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.2516 -0.0222 0.4588 -0.148 0.666 -0.4514l 0.6438 -0.9398c 0.037 -0.0518 0.037 -0.074 0.0074 -0.111l -0.6216 -0.7992c -0.296 -0.3774 -0.4588 -0.3996 -0.7178 -0.4144c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.148 0.0074 0.3108 0.0148 0.5328 0.0148c 0.222 0 0.4292 -0.0074 0.6216 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.2664 0.0296 -0.3256 0.0592 -0.1628 0.296l 0.4662 0.6734c 0.0592 0.0888 0.0888 0.0814 0.1332 0.0148l 0.4292 -0.592c 0.259 -0.3552 0.1406 -0.37 -0.0962 -0.3922c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.222 0.0074 0.4662 0.0148 0.7326 0.0148c 0.2812 0 0.481 -0.0074 0.6586 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.333 0.0222 -0.444 0.0444 -0.74 0.4662l -0.666 0.9398c -0.0296 0.0444 -0.037 0.0666 0 0.111l 0.6216 0.7918c 0.2738 0.3478 0.4514 0.3848 0.7178 0.407c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.148 -0.0074 -0.3182 -0.0148 -0.5402 -0.0148c -0.222 0 -0.4292 0.0074 -0.6216 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.2738 -0.0296 0.3552 -0.0518 0.1776 -0.3034l -0.481 -0.6734c -0.0518 -0.074 -0.0814 -0.0666 -0.1406 0.0148Z "/></symbol><symbol id="g7099D674A30674388E34F33BC3BABC25" overflow="visible"><path d="M 0 0m 1.3912 2.886c -0.148 -0.8436 -0.2294 -1.2876 -0.3034 -1.8426c -0.0962 -0.7252 -0.2368 -1.9166 -0.5032 -2.3384c -0.0814 -0.1258 -0.2294 -0.222 -0.3404 -0.222c -0.1036 0 -0.1332 0.0518 -0.1776 0.1258c -0.0666 0.0962 -0.2072 0.2368 -0.37 0.2368c -0.2072 0 -0.2738 -0.1406 -0.2738 -0.2664c 0 -0.1628 0.1776 -0.3404 0.6808 -0.3404c 0.3034 0 0.629 0.148 0.8584 0.4662c 0.2072 0.2886 0.37 0.851 0.6586 2.257c 0.1184 0.5772 0.2368 1.1766 0.3478 1.7982l 0.0222 0.1258h 0.6882c 0.0666 0 0.1776 0.0296 0.1924 0.0888c 0 0 0.037 0.1554 0.037 0.1628c 0 0.0222 -0.0148 0.037 -0.0518 0.037h -0.814l 0.0814 0.4218c 0.0518 0.2812 0.1332 0.5328 0.222 0.7326c 0.185 0.4588 0.4884 0.592 0.6142 0.592c 0.1702 0 0.2516 -0.037 0.2886 -0.1924c 0.0296 -0.1628 0.0888 -0.3626 0.3404 -0.3626c 0.2294 0 0.2812 0.1776 0.2812 0.2516c 0 0.296 -0.3256 0.5476 -0.851 0.5476c -0.2072 0 -0.6586 -0.111 -0.9694 -0.4736c -0.259 -0.3034 -0.4514 -0.8732 -0.5846 -1.517l -0.4884 -0.0222c -0.1406 -0.0074 -0.1924 -0.0666 -0.2072 -0.1258c -0.0074 -0.0222 -0.0296 -0.111 -0.0296 -0.1258c 0 -0.0148 0.0222 -0.0148 0.0444 -0.0148Z "/></symbol><symbol id="g9EFC992958D99FCCEE55A4837734B079" overflow="visible"><path d="M 0 0m 0.6586 0.5328c -0.037 -0.148 -0.0962 -0.333 -0.0962 -0.407c 0 -0.1184 0.0666 -0.1998 0.3034 -0.1998c 0.2812 0 0.2812 0.333 0.3404 0.6068l 0.2664 1.1988c 0.0592 0.0222 0.111 0.0222 0.1628 0.0222c 0.0592 0 0.111 -0.0518 0.148 -0.1184c 0.1332 -0.2368 0.2146 -0.6142 0.3626 -0.9472c 0.2442 -0.5328 0.4292 -0.7622 0.7326 -0.7622c 0.2516 0 0.5106 0.2294 0.7474 0.6438c -0.0518 0.0592 -0.0814 0.0962 -0.1628 0.0962c -0.148 -0.2146 -0.3034 -0.3552 -0.3848 -0.3552c -0.1406 0 -0.1924 0.1332 -0.2664 0.2812c -0.2072 0.407 -0.3034 0.6956 -0.407 0.9028c -0.1184 0.2294 -0.1628 0.333 -0.407 0.3996v 0.0296l 0.3848 0.3404c 0.3626 0.3256 0.5624 0.4588 0.7104 0.4588c 0.1924 0 0.1628 -0.1036 0.4144 -0.1036c 0.1036 0 0.3404 0.1406 0.3404 0.37c 0 0.2072 -0.1628 0.259 -0.3626 0.259c -0.2368 0 -0.6882 -0.2812 -1.221 -0.7548l -0.296 -0.2516c -0.1258 -0.111 -0.2812 -0.2294 -0.4366 -0.2294l 0.5328 2.3014c 0.111 0.481 0.185 0.777 0.185 0.777c 0 0.0518 -0.0222 0.074 -0.0888 0.074c -0.1998 -0.074 -0.7326 -0.1702 -1.036 -0.1924l -0.0222 -0.1776c 0 -0.0222 0.0074 -0.037 0.037 -0.037l 0.2294 -0.0148c 0.0962 0 0.1554 -0.0444 0.1554 -0.2072c 0 -0.0814 -0.0148 -0.2072 -0.0518 -0.37Z "/></symbol><symbol id="g147035C7BE92CBD6C380DC6FF00D02EF" overflow="visible"><path d="M 0 0m 0.703 0.9028c 0 -0.6142 -0.0814 -0.6512 -0.5328 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.259 0.0074 0.5328 0.0148 0.8288 0.0148c 0.296 0 0.5772 -0.0074 0.8214 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.4514 0.0222 -0.5328 0.0592 -0.5328 0.6734v 3.4114c 0 0.481 0.0296 0.777 0.0296 0.777c 0 0.0518 -0.0296 0.074 -0.0962 0.074c -0.185 -0.074 -0.74 -0.1776 -1.036 -0.1998c -0.0148 -0.0592 0 -0.1776 0.0444 -0.222c 0.4292 -0.0296 0.4736 -0.0518 0.4736 -0.6068Z "/></symbol><symbol id="gFCEB6BB1E1DA93DB8EE284D457C663DB" overflow="visible"><path d="M 0 0m 0.518 0.444c 0 -0.2146 0.1776 -0.3922 0.3922 -0.3922c 0.2146 0 0.3922 0.1776 0.3922 0.3922c 0 0.2146 -0.1776 0.3922 -0.3922 0.3922c -0.2146 0 -0.3922 -0.1776 -0.3922 -0.3922Z m 0 2.2052c 0 -0.2146 0.1776 -0.3922 0.3922 -0.3922c 0.2146 0 0.3922 0.1776 0.3922 0.3922c 0 0.2146 -0.1776 0.3922 -0.3922 0.3922c -0.2146 0 -0.3922 -0.1776 -0.3922 -0.3922Z "/></symbol><symbol id="g4A206E7E63429D89DFF56DDF8E8EA377" overflow="visible"><path d="M 0 0m 0.7696 0.703c -0.2294 0 -0.3922 -0.1554 -0.3922 -0.3626c 0 -0.2294 0.1924 -0.3034 0.3256 -0.3256c 0.1406 -0.0148 0.2664 -0.0592 0.2664 -0.2294c 0 -0.1554 -0.2664 -0.4958 -0.6512 -0.592c 0 -0.074 0.0148 -0.1258 0.0666 -0.1776c 0.444 0.0814 0.8732 0.4366 0.8732 0.9546c 0 0.444 -0.1924 0.7326 -0.4884 0.7326Z "/></symbol><symbol id="gD49AC9951C1B1964A042F0D13A58DE95" overflow="visible"><path d="M 0 0m 3.151142578 1.918833008q 0 0.734580078 -0.233417969 1.108735352q -0.233417969 0.374155273 -0.689956055 0.374155273q -0.459970703 0 -0.696821289 -0.375871582q -0.236850586 -0.375871582 -0.236850586 -1.107019043q 0 -0.727714844 0.236850586 -1.105302734q 0.236850586 -0.377587891 0.696821289 -0.377587891q 0.456538086 0 0.689956055 0.374155273q 0.233417969 0.374155273 0.233417969 1.108735352Z m -1.857045898 1.434833984q 0.151035156 0.281474609 0.417062988 0.432509766q 0.266027832 0.151035156 0.616154785 0.151035156q 0.693388672 0 1.091572266 -0.533771973q 0.398183594 -0.533771973 0.398183594 -1.470876465q 0 -0.950834961 -0.399899902 -1.491472168q -0.399899902 -0.540637207 -1.096721191 -0.540637207q -0.343261719 0 -0.605856934 0.149318848q -0.262595215 0.149318848 -0.420495605 0.434226074v -0.483999023h -0.631601563v 5.341152344h 0.631601563v -1.987485352Z "/></symbol><symbol id="gA8A111EE742990F70FFBAFD304DD5562" overflow="visible"><path d="M 0 0m 3.837666016 3.84453125l -1.376479492 -1.839882813l 1.510351563 -2.004648438h -0.731147461l -1.125898438 1.541245117l -1.12246582 -1.541245117h -0.731147461l 1.510351563 2.004648438l -1.376479492 1.839882813h 0.700253906l 1.019487305 -1.390209961l 1.01262207 1.390209961h 0.710551758Z "/></symbol><symbol id="g65AAEF3C1D5B855451928DB0DB6507D9" overflow="visible"><path d="M 0 0m 1.678549805 3.64887207h 0.865019531v -1.040083008h -0.865019531v 1.040083008Z m 0 -2.601923828h 0.865019531v -1.046948242h -0.865019531v 1.046948242Z "/></symbol><symbol id="g88B8AF40C2FFFEADD5E217116309CD15" overflow="visible"><path d="M 0 0m 3.2856 2.8638c 0.1406 0 0.2738 0.1332 0.2738 0.2812c 0 0.1554 -0.1406 0.2738 -0.3404 0.2738c -0.1924 0 -0.5476 -0.1258 -0.74 -0.3774c -0.0888 0.0592 -0.333 0.2072 -0.7696 0.2072c -0.6586 0 -1.2654 -0.444 -1.2654 -1.1248c 0 -0.3996 0.1776 -0.629 0.3848 -0.8288c -0.2072 -0.1776 -0.3256 -0.4958 -0.3256 -0.7474c 0 -0.2664 0.148 -0.4736 0.3404 -0.5698c -0.3996 -0.2368 -0.6068 -0.5772 -0.6068 -0.8954c 0 -0.6438 0.6068 -0.8436 1.1766 -0.8436c 0.999 0 2.0794 0.481 2.0794 1.2802c 0 0.2368 -0.111 0.4218 -0.3256 0.5994c -0.2886 0.2368 -0.8066 0.2442 -1.0804 0.2442c -0.1332 0 -0.3182 -0.0148 -0.4958 -0.037c -0.111 -0.0074 -0.185 -0.0148 -0.222 -0.0148c -0.2146 0 -0.4736 0.1036 -0.4736 0.4218c 0 0.148 0.0444 0.3034 0.1332 0.4292c 0.1776 -0.1036 0.3848 -0.1554 0.6734 -0.1554c 0.6512 0 1.2506 0.407 1.2506 1.1322c 0 0.3478 -0.1036 0.5476 -0.3182 0.7696c 0.0518 0.074 0.1998 0.1776 0.296 0.1776c 0.0518 0 0.1036 -0.0222 0.148 -0.0888c 0.0296 -0.0592 0.1258 -0.1332 0.2072 -0.1332Z m -2.3088 -2.9378c 0.0814 -0.0222 0.1998 -0.037 0.296 -0.037c 0.2294 0 0.4366 0.0222 0.5402 0.0222c 0.37 0 0.6808 -0.0074 0.8954 -0.1258c 0.2886 -0.1628 0.3774 -0.2664 0.3774 -0.4588c 0 -0.5328 -0.7844 -0.814 -1.4504 -0.814c -0.2664 0 -0.888 0.2146 -0.888 0.7178c 0 0.2516 0.0148 0.4366 0.2294 0.6956Z m 1.3838 2.1386c 0 -0.6882 -0.3478 -0.8288 -0.6216 -0.8288c -0.6216 0 -0.6882 0.5254 -0.6882 0.999c 0 0.518 0.185 0.7844 0.592 0.7844c 0.4662 0 0.7178 -0.3404 0.7178 -0.9546Z "/></symbol><symbol id="g3F7D6C5E210F973C975677087D66C5C5" overflow="visible"><path d="M 0 0m 2.812578125 3.124765625v -0.5203125q -0.228359375 0.13296875 -0.459609375 0.199453125q -0.23125 0.066484375 -0.471171875 0.066484375q -0.361328125 0 -0.539101563 -0.117070313q -0.177773438 -0.117070313 -0.177773438 -0.356992188q 0 -0.216796875 0.13296875 -0.32375q 0.13296875 -0.106953125 0.661953125 -0.208125l 0.21390625 -0.04046875q 0.396015625 -0.07515625 0.599804688 -0.300625q 0.203789063 -0.22546875 0.203789063 -0.586796875q 0 -0.47984375 -0.34109375 -0.750117188q -0.34109375 -0.270273438 -0.948125 -0.270273438q -0.239921875 0 -0.50296875 0.050585938q -0.263046875 0.050585938 -0.569453125 0.151757813v 0.54921875q 0.297734375 -0.153203125 0.569453125 -0.229804688q 0.27171875 -0.076601563 0.51453125 -0.076601563q 0.35265625 0 0.546328125 0.143085938q 0.193671875 0.143085938 0.193671875 0.400351563q 0 0.37 -0.708203125 0.511640625l -0.023125 0.00578125l -0.199453125 0.04046875q -0.459609375 0.089609375 -0.670625 0.302070313q -0.211015625 0.212460938 -0.211015625 0.579570313q 0 0.465390625 0.315078125 0.718320313q 0.315078125 0.252929688 0.898984375 0.252929688q 0.26015625 0 0.500078125 -0.047695313q 0.239921875 -0.047695313 0.471171875 -0.143085938Z "/></symbol><symbol id="g38E85F1BB3A3AE658FCC37DF7D65F321" overflow="visible"><path d="M 0 0m 3.038046875 2.00609375v -2.00609375h -0.534765625v 2.00609375q 0 0.436484375 -0.153203125 0.64171875q -0.153203125 0.205234375 -0.47984375 0.205234375q -0.372890625 0 -0.573789063 -0.264492188q -0.200898438 -0.264492188 -0.200898438 -0.758789063v -1.829765625h -0.531875v 4.4978125h 0.531875v -1.7459375q 0.141640625 0.2775 0.384453125 0.420585938q 0.2428125 0.143085938 0.575234375 0.143085938q 0.494296875 0 0.738554688 -0.325195313q 0.244257813 -0.325195313 0.244257813 -0.984257813Z "/></symbol><symbol id="g8B6E78D810E3FE39A8482429056608AC" overflow="visible"><path d="M 0 0m 1.0290625 1.858671875h 1.506015625v -0.4740625h -1.506015625v 0.4740625Z "/></symbol><symbol id="g83B03D21CD6A496754FF4083F96EAA9F" overflow="visible"><path d="M 0 0m 0.621484375 4.315703125h 0.586796875v -3.824296875h 2.084140625v -0.49140625h -2.6709375v 4.315703125Z "/></symbol><symbol id="g2F6531DE89CEE38A2CBDC7B71834583C" overflow="visible"><path d="M 0 0m 1.485 0.711l 0.477 1.251c 0.045 0.117 0.099 0.153 0.315 0.153h 1.71l 0.504 -1.467c 0.108 -0.324 -0.153 -0.333 -0.495 -0.351c -0.054 0 -0.117 -0.009 -0.171 -0.009c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.333 0.009 1.188 0.018 1.539 0.018c 0.369 0 0.873 -0.009 1.206 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.351 0.036 -0.648 0.027 -0.81 0.486l -1.854 5.148c -0.135 -0.081 -0.675 -0.396 -0.99 -0.396l -1.953 -4.608c -0.234 -0.558 -0.504 -0.603 -0.9 -0.63c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.333 0.009 0.495 0.018 0.846 0.018c 0.369 0 0.864 -0.009 1.197 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.342 0.027 -0.765 0.054 -0.621 0.423Z m 0.972 1.836c -0.198 0 -0.261 0.027 -0.225 0.117l 0.792 2.016h 0.063l 0.738 -2.133Z "/></symbol><symbol id="gBF080AF06783B426D5345204ACB9BA70" overflow="visible"><path d="M 0 0m 3.735 3.456v -2.511c 0 -0.315 0.081 -0.621 0.27 -0.783c 0.207 -0.171 0.531 -0.252 0.747 -0.252c 0.495 0 0.999 0.252 1.179 0.504c 0 0.108 -0.054 0.162 -0.162 0.252c -0.117 -0.09 -0.297 -0.126 -0.468 -0.126c -0.198 0 -0.396 0.153 -0.396 0.603v 2.313h 0.81c 0.162 0 0.243 0.045 0.243 0.153v 0.207c 0 0.054 -0.027 0.09 -0.198 0.09h -0.855v 1.359c 0 0.099 -0.504 0.792 -1.161 0.954c -0.216 0.054 -0.378 0.063 -0.576 0.063c -0.558 0 -1.134 -0.135 -1.467 -0.459c -0.414 -0.405 -0.756 -0.783 -0.756 -1.8v -0.117h -0.108c -0.306 0 -0.639 -0.135 -0.639 -0.207v -0.153c 0 -0.063 0.036 -0.09 0.243 -0.09h 0.504v -2.322c 0 -0.738 -0.144 -0.819 -0.693 -0.846c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.783 0.018 1.278 0.018c 0.468 0 0.801 -0.009 1.188 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.468 0.036 -0.603 0.108 -0.603 0.864v 2.304Z m -0.261 0.45h -1.359v 0.396c 0 1.341 0.684 1.602 0.882 1.602c 0.396 0 0.927 -0.531 0.927 -0.954c 0 -0.504 -0.027 -1.044 -0.45 -1.044Z "/></symbol><symbol id="g627329597DD3903044C5A4D75073B71C" overflow="visible"><path d="M 0 0m 0.9 1.143c 0 -0.747 -0.144 -0.828 -0.693 -0.855c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.783 0.018 1.278 0.018c 0.495 0 0.891 -0.009 1.278 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.549 0.027 -0.693 0.108 -0.693 0.855v 4.104c 0 0.585 0.027 0.918 0.027 0.918c 0 0.081 -0.063 0.117 -0.144 0.117c -0.333 -0.108 -1.053 -0.207 -1.692 -0.234c -0.027 -0.108 -0.018 -0.207 0.027 -0.288c 0.567 -0.045 0.612 -0.054 0.612 -0.675Z "/></symbol><symbol id="gE67DB6CC3A2607827A01F5F9C91259DF" overflow="visible"><path d="M 0 0m 4.338 2.979c -0.171 0.432 -0.279 0.828 -0.279 0.828c -0.162 -0.009 -0.333 -0.009 -0.504 0.009l -0.855 -2.376c -0.027 -0.063 -0.063 -0.081 -0.099 0.009l -0.513 1.53c -0.009 0.027 -0.018 0.045 -0.027 0.072c -0.126 0.378 -0.18 0.522 0.351 0.567c 0.054 0.054 0.054 0.252 0 0.306c -0.333 -0.009 -0.72 -0.018 -1.179 -0.018c -0.315 0 -0.774 0.009 -1.107 0.018c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.522 -0.063 0.549 -0.234 0.72 -0.693l 1.098 -2.844c 0.063 -0.171 0.18 -0.189 0.297 -0.189c 0.09 0 0.261 0.018 0.333 0.207l 0.846 2.223l 0.864 -2.241c 0.063 -0.162 0.234 -0.189 0.351 -0.189c 0.09 0 0.243 0.027 0.315 0.207l 1.107 2.745c 0.153 0.387 0.306 0.729 0.81 0.774c 0.054 0.054 0.054 0.252 0 0.306c -0.198 -0.009 -0.36 -0.018 -0.594 -0.018c -0.333 0 -0.72 0.009 -1.053 0.018c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.486 -0.036 0.531 -0.27 0.36 -0.711l -0.522 -1.422c -0.036 -0.108 -0.09 -0.099 -0.126 -0.009Z "/></symbol><symbol id="gDCA7AD9848E83F426C822AF345B8AA35" overflow="visible"><path d="M 0 0m 0.567 3.906c -0.126 0 -0.261 -0.036 -0.378 -0.135v -0.261c 0 -0.045 0.009 -0.054 0.045 -0.054h 0.585c -0.018 -0.909 -0.027 -2.061 -0.027 -2.511c 0 -0.315 0.081 -0.621 0.27 -0.783c 0.207 -0.171 0.531 -0.252 0.747 -0.252c 0.495 0 1.044 0.252 1.224 0.504c 0 0.108 -0.054 0.162 -0.162 0.252c -0.117 -0.09 -0.342 -0.126 -0.513 -0.126c -0.198 0 -0.396 0.153 -0.396 0.603c 0 0.45 -0.009 1.413 -0.009 2.313h 0.909c 0.09 0 0.216 0.036 0.216 0.117v 0.279c 0 0.036 -0.027 0.054 -0.072 0.054h -1.053l 0.009 0.306c 0.018 0.603 0.045 1.017 0.045 1.017c 0 0.054 -0.027 0.081 -0.072 0.081c -0.063 0 -0.396 -0.099 -0.54 -0.162c -0.153 -0.063 -0.414 -0.117 -0.477 -0.198c -0.063 -0.081 -0.099 -0.324 -0.099 -1.044Z "/></symbol><symbol id="g8937F2D32CF646903777568E01BCC94D" overflow="visible"><path d="M 0 0m 2.6122 0c 0.1406 0.2368 1.0434 1.6206 1.2506 2.109c 0.111 0.259 0.1998 0.5254 0.1998 0.7918c 0 0.2072 -0.0962 0.3478 -0.3848 0.3478c -0.2146 0 -0.3404 -0.0962 -0.3404 -0.2738c 0 -0.0444 0.0148 -0.1184 0.037 -0.148c 0.111 -0.1702 0.1554 -0.3256 0.1554 -0.444c 0 -0.3256 -0.3034 -0.8806 -0.555 -1.2802c 0 0 -0.3848 -0.6216 -0.5698 -0.8954l -0.0518 0.0222c -0.0444 0.8584 -0.0962 1.554 -0.3182 2.4716c -0.1036 0.3922 -0.1998 0.5476 -0.3848 0.5476c -0.1702 0 -0.7178 -0.3034 -0.9768 -0.4958c 0.0074 -0.0814 0.037 -0.1702 0.0962 -0.2294c 0.0888 0.0444 0.333 0.1628 0.4884 0.1628c 0.0962 0 0.1702 -0.0222 0.2072 -0.0888c 0.0296 -0.0592 0.074 -0.1776 0.111 -0.3108c 0.2294 -0.7548 0.4514 -2.553 0.3626 -2.7454c -0.3034 -0.4958 -0.6142 -0.8214 -0.7178 -0.8214c -0.074 0 -0.2146 0.0962 -0.259 0.1332c -0.0518 0.0444 -0.1998 0.1036 -0.259 0.1036c -0.1554 0 -0.3404 -0.148 -0.3404 -0.3774c 0 -0.2442 0.3256 -0.3108 0.4514 -0.3108c 0.3922 0 0.9842 0.481 1.4578 1.2136Z "/></symbol><symbol id="g407F12BFEF65CE198C92C3C59AD2D7D9" overflow="visible"><path d="M 0 0m 1.147 0.5846l 0.407 1.073c 0.037 0.0962 0.0814 0.1258 0.259 0.1258h 1.5614l 0.4292 -1.2506c 0.0888 -0.2516 -0.1924 -0.2812 -0.5476 -0.3034c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.2738 0.0074 0.6808 0.0148 0.9694 0.0148c 0.3034 0 0.5846 -0.0074 0.8436 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.2886 0.0296 -0.5402 0.0518 -0.666 0.407l -1.5244 4.2328c -0.111 -0.0666 -0.3108 -0.148 -0.407 -0.148l -1.6798 -3.9664c -0.1924 -0.4588 -0.4144 -0.5032 -0.74 -0.5254c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.1924 0.0074 0.4366 0.0148 0.6586 0.0148c 0.3034 0 0.6734 -0.0074 0.9472 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.2812 0.0222 -0.629 0.0518 -0.5106 0.3552Z m 0.7992 1.5096c -0.1628 0 -0.2146 0.0222 -0.185 0.0962l 0.7548 1.9166h 0.0444l 0.6956 -2.0128Z "/></symbol><symbol id="g5BD0DE59D7F4E05CAF8E080AB574B80D" overflow="visible"><path d="M 0 0m 0.9546 5.1652c -0.2294 0 -0.3922 -0.1554 -0.3922 -0.3626c 0 -0.2294 0.1924 -0.3034 0.3256 -0.3256c 0.1406 -0.0148 0.2664 -0.0592 0.2664 -0.2294c 0 -0.1554 -0.2664 -0.4958 -0.6512 -0.592c 0 -0.074 0.0148 -0.1258 0.0666 -0.1776c 0.444 0.0814 0.8732 0.4366 0.8732 0.9546c 0 0.444 -0.1924 0.7326 -0.4884 0.7326Z "/></symbol><symbol id="g4F7F7F9C98605AE4B8D9FEBDF3EBC176" overflow="visible"><path d="M 0 0m 1.295 0.9028v 1.9832h 0.6882c 0.0666 0 0.1702 0.0296 0.1702 0.0962v 0.148c 0 0.0296 -0.0222 0.0444 -0.0592 0.0444h -0.7992v 0.4218c 0 1.1396 0.3404 1.3172 0.5846 1.3172c 0.222 0 0.3404 -0.0888 0.444 -0.3478c 0.0592 -0.1332 0.1406 -0.2368 0.296 -0.2368c 0.1258 0 0.3034 0.1554 0.3034 0.3034c 0 0.1258 -0.0814 0.259 -0.2368 0.3774c -0.1924 0.1332 -0.3848 0.1554 -0.666 0.1554c -0.6216 0 -1.3098 -0.5402 -1.3098 -1.6946v -0.296h -0.3774c -0.1332 0 -0.1702 -0.0888 -0.1702 -0.148v -0.0962c 0 -0.037 0.0074 -0.0444 0.037 -0.0444h 0.5106v -1.9832c 0 -0.6142 -0.1184 -0.6438 -0.518 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.259 0.0074 0.518 0.0148 0.814 0.0148c 0.296 0 0.6512 -0.0074 0.9102 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.5772 0.0296 -0.6216 0.0592 -0.6216 0.6734Z "/></symbol><symbol id="g154F083D4F8819E1C16CDC52D5D766D5" overflow="visible"><path d="M 0 0m 1.5096 -1.184c 0.1184 0.2072 0.2146 0.4144 0.3034 0.6364c 0.592 1.4282 0.925 2.1904 1.3098 3.0192c 0.148 0.3108 0.2516 0.4292 0.5994 0.4736c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.148 -0.0074 -0.3182 -0.0148 -0.5254 -0.0148c -0.222 0 -0.4514 0.0074 -0.6734 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.2368 -0.0222 0.4736 -0.0666 0.3552 -0.333l -0.7326 -1.6946c -0.0518 -0.1184 -0.1184 -0.1406 -0.1776 0.0074l -0.6586 1.5392c -0.1332 0.3108 -0.1702 0.4514 0.2442 0.481c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.2738 -0.0074 -0.5698 -0.0148 -0.8362 -0.0148c -0.2516 0 -0.4514 0.0074 -0.5994 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.296 -0.037 0.3922 -0.1036 0.5846 -0.555l 0.8362 -1.9462c 0.0666 -0.148 0.1776 -0.4884 0.1036 -0.6956c -0.0888 -0.2442 -0.1776 -0.4514 -0.2886 -0.6808c -0.0814 -0.148 -0.185 -0.2146 -0.37 -0.2146c -0.1036 0 -0.1332 0.0222 -0.2146 0.0222c -0.2146 0 -0.3256 -0.222 -0.3256 -0.3182c 0 -0.1554 0.148 -0.2738 0.3478 -0.2738c 0.1554 0 0.4514 0.0592 0.7178 0.5328Z "/></symbol><symbol id="g57F4044859B64878400EFC6A728FBBC6" overflow="visible"><path d="M 0 0m 1.0952 4.773c -0.2664 0 -0.6586 0.0074 -0.9546 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.518 -0.0222 0.6438 -0.0592 0.6438 -0.6734v -2.9674c 0 -0.6142 -0.1258 -0.6512 -0.6438 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.2886 0.0074 0.6808 0.0148 0.962 0.0148c 0.2738 0 0.5846 -0.0148 1.3468 -0.0148c 1.0434 0 2.4198 0.4736 2.4198 2.294c 0 1.3764 -1.1322 2.5086 -2.553 2.5086c -0.5254 0 -0.9324 -0.0148 -1.221 -0.0148Z m 0.3182 -4.1514v 3.552c 0 0.259 0.259 0.3626 0.6216 0.3626c 1.5984 0 2.1238 -1.295 2.1238 -2.4346c 0 -1.4948 -0.8954 -1.8648 -1.9388 -1.8648c -0.7252 0 -0.8066 0.148 -0.8066 0.3848Z "/></symbol><symbol id="g9A8BF45F7DE893D9679B8AC2ADD75AA1" overflow="visible"><path d="M 0 0m 2.405 2.9452c 0.3996 -0.0296 0.444 -0.1184 0.2886 -0.4958l -0.5994 -1.4504c -0.1184 -0.2886 -0.1554 -0.2886 -0.2738 0.0222l -0.5328 1.4282c -0.1332 0.3552 -0.1628 0.444 0.2294 0.4958c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.2442 -0.0074 -0.5032 -0.0148 -0.7474 -0.0148c -0.2442 0 -0.4662 0.0074 -0.6882 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.3922 -0.0444 0.444 -0.1628 0.592 -0.5402l 0.9472 -2.3384c 0.0444 -0.111 0.0888 -0.1554 0.185 -0.1554c 0.074 0 0.1258 0.0444 0.1776 0.1702l 0.9842 2.3162c 0.1406 0.3256 0.222 0.5106 0.6364 0.5476c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.148 -0.0074 -0.3256 -0.0148 -0.518 -0.0148c -0.2442 0 -0.4958 0.0074 -0.6808 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442Z "/></symbol><symbol id="g2B2824F9A08C306B11BDA309013243A4" overflow="visible"><path d="M 0 0m 1.295 2.886h 1.4356v -2.2274c 0 -0.5254 0.2294 -0.7326 0.5698 -0.7326c 0.3404 0 0.7104 0.1628 0.999 0.4884c -0.0148 0.074 -0.0592 0.1184 -0.1332 0.1258c -0.1924 -0.148 -0.4144 -0.2072 -0.6068 -0.2072c -0.1998 0 -0.2442 0.222 -0.2442 0.6808v 1.8722h 0.7696c 0.074 0 0.1776 0.0296 0.1776 0.0962v 0.148c 0 0.0296 -0.0222 0.0444 -0.0592 0.0444h -0.888v 0.2886c 0 0.481 0.0296 0.777 0.0296 0.777c 0 0.0518 -0.0296 0.074 -0.0962 0.074l -0.4292 -0.1924c -0.0074 -0.0074 -0.0222 -0.0148 -0.037 -0.0222c -0.037 -0.0148 -0.0666 -0.037 -0.0666 -0.074c 0.0148 -0.1628 0.0148 -0.2294 0.0148 -0.7696c 0 -0.0296 0 -0.0518 0 -0.0814h -1.4356v 0.4218c 0 0.1258 0 0.2516 0 0.3626c -0.0074 0.3108 -0.0148 0.5476 0.0296 0.6734c 0.0592 0.1776 0.222 0.2812 0.333 0.2812c 0.2072 0 0.3108 -0.1258 0.3996 -0.3404c 0.0518 -0.1258 0.1406 -0.2072 0.2886 -0.2072c 0.1406 0 0.2442 0.111 0.2442 0.2664c 0 0.1184 -0.0666 0.2442 -0.2146 0.3552c -0.148 0.111 -0.37 0.1776 -0.6512 0.1776c -0.2146 0 -0.555 -0.1184 -0.7326 -0.3552c -0.222 -0.296 -0.2812 -0.6882 -0.2812 -1.3394v -0.296h -0.3774c -0.1332 0 -0.1702 -0.0888 -0.1702 -0.148v -0.0962c 0 -0.037 0.0074 -0.0444 0.037 -0.0444h 0.5106v -1.9832c 0 -0.6142 -0.0814 -0.6438 -0.481 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.2516 0.0074 0.518 0.0148 0.777 0.0148c 0.259 0 0.5772 -0.0074 0.8732 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.5032 0.0296 -0.5846 0.0592 -0.5846 0.6734Z "/></symbol><symbol id="gC19C9240250D3DBC3782848BC4EAA75F" overflow="visible"><path d="M 0 0m 0.4218 0.3182c 0 -0.2146 0.1776 -0.3922 0.3922 -0.3922c 0.2146 0 0.3922 0.1776 0.3922 0.3922c 0 0.2146 -0.1776 0.3922 -0.3922 0.3922c -0.2146 0 -0.3922 -0.1776 -0.3922 -0.3922Z "/></symbol><symbol id="g6E096C41F459AF11867C1D7CCA4B959A" overflow="visible"><path d="M 0 0m 2.7898 4.8692c -1.2358 0 -2.516 -0.9694 -2.516 -2.5974c 0 -1.332 0.9176 -2.3458 2.331 -2.3458c 0.8732 0 1.5614 0.185 2.0646 0.6142c -0.0814 0.0666 -0.1184 0.1258 -0.1184 0.2072v 0.8584c 0 0.259 0.1258 0.333 0.3404 0.3552c 0.0444 0.0444 0.0444 0.222 0 0.2664c -0.1776 -0.0074 -0.3626 -0.0148 -0.6586 -0.0148c -0.2442 0 -0.592 0.0074 -0.9176 0.0148c -0.0444 -0.0444 -0.0444 -0.222 0 -0.2664c 0.407 -0.0296 0.6068 -0.0592 0.6068 -0.3552v -1.1322c -0.2516 -0.2368 -0.7474 -0.2812 -1.147 -0.2812c -1.1692 0 -1.7908 1.2506 -1.7908 2.2274c 0 1.295 0.8436 2.183 1.702 2.183c 1.073 0 1.3764 -0.6142 1.5688 -1.2506c 0.0814 -0.0074 0.1628 0.0074 0.2442 0.0444c -0.0148 0.3108 -0.0518 0.6068 -0.1702 1.1396c -0.444 0.074 -0.7178 0.333 -1.5392 0.333Z "/></symbol><symbol id="g6C0518489EE83099652E729FB2B7897F" overflow="visible"><path d="M 0 0m 0.6364 0.9028c 0 -0.6142 -0.0814 -0.6438 -0.4958 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.2442 0.0074 0.4958 0.0148 0.7918 0.0148c 0.259 0 0.5032 -0.0074 0.6734 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.3034 0.0296 -0.3848 0.0592 -0.3848 0.6734v 0.6438c 0.1406 -0.0074 0.2442 -0.0148 0.3182 -0.037c 0.0814 -0.0592 0.148 -0.1258 0.2368 -0.2442l 0.5402 -0.7252c 0.2146 -0.2886 0.3034 -0.4292 0.3108 -0.518c 0 -0.0222 0.0074 -0.037 0.0296 -0.037c 0.148 0.0074 0.3108 0.0148 0.4588 0.0148c 0.2294 0 0.4588 -0.0074 0.6068 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.2516 0.0296 -0.4366 0.0592 -0.6364 0.3108l -0.9768 1.2284c -0.0296 0.037 -0.0518 0.0666 -0.0518 0.1036c 0 0.0296 0 0.0444 0.0296 0.074l 0.6512 0.6734c 0.222 0.2368 0.481 0.296 0.777 0.3256c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.1702 -0.0074 -0.3774 -0.0148 -0.6438 -0.0148c -0.2812 0 -0.555 0.0074 -0.7252 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.4144 -0.0296 0.2368 -0.2886 0.1702 -0.3774c -0.1702 -0.2146 -0.3996 -0.4662 -0.592 -0.6068c -0.1628 -0.1184 -0.3626 -0.2072 -0.5032 -0.2294v 2.5826c 0 0.481 0.0296 0.777 0.0296 0.777c 0 0.0518 -0.0296 0.074 -0.0962 0.074c -0.185 -0.074 -0.74 -0.1776 -1.036 -0.1998c -0.0148 -0.0592 0 -0.1776 0.0444 -0.222c 0.0222 0 0.0444 0 0.0666 0c 0.3256 -0.0222 0.407 -0.0222 0.407 -0.6068Z "/></symbol></defs></svg>
\ No newline at end of file +<svg viewBox="0 0 487.559055118 263.622047244" width="487.559055118pt" height="263.622047244pt" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:h5="http://www.w3.org/1999/xhtml"><path fill="#fffdeb" fill-rule="nonzero" d="M 0 0v 263.622047244h 487.559055118v -263.622047244Z "/><g transform="translate(11.338582677 11.338582677)"><g transform="translate(6.377952756)"><path fill="none" transform="translate(0 4.139114173)" d="M 0 0h 102.573v 5.895h -102.573v -5.895Z "/><g transform="translate(0 4.139114173)"><g transform="matrix(1 0 0 -1 0 5.805)"><use xlink:href="#g76D07E066C4F3E0BFDF94E494713D6CD" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g136C905B50E42975079434436E4DAEF4" x="5.886" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB5AA84E78D76FDE35653B311F1AA0E2B" x="10.287" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB44AD3C00DF2BD7A3B0995B729B2F89E" x="13.806" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g3DAF27FF8EE988A590BB98F02E9B14AB" x="18.765" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g136C905B50E42975079434436E4DAEF4" x="22.545" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g398368A0D00D14BA56A0002AB19285E8" x="26.946" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB5AA84E78D76FDE35653B311F1AA0E2B" x="31.5" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB44AD3C00DF2BD7A3B0995B729B2F89E" x="35.019" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g3AABD6367CE61353955D2F6F568F5DF" x="39.978" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g3DAF27FF8EE988A590BB98F02E9B14AB" x="45.36" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g695758CB2C6BE00D50F851A154409E48" x="51.462" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g136C905B50E42975079434436E4DAEF4" x="59.607" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g1B4BB274E0645BBC7FEACF3996C1781A" x="64.071" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gBEE8BA0F24EAA5B9AC424E258079A41E" x="68.175" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g965CA1D8408744C80095348185AD8EB9" x="73.746" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g77DFF579C4297C58BB534BE65B39B6CA" x="78.3" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g5D166F0F7E5A44368BF2E983F6EE9FD5" x="83.844" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g5CCD08CEE029BB1E1252C86C73083DDC" x="86.742" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g695758CB2C6BE00D50F851A154409E48" x="90.585" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g5CCD08CEE029BB1E1252C86C73083DDC" x="98.73" y="0" fill="#293f35" fill-rule="nonzero"/></g></g><path fill="none" transform="translate(0 31.140848031)" d="M 0 0h 86.2766v 5.7498h -86.2766v -5.7498Z "/><g transform="translate(-1.1e-7 31.140847984)"><g transform="matrix(1 0 0 -1 0 4.773)"><use xlink:href="#gEA697D3AA600950D3503999204808095" x="0" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="5.4464" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="7.7182" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gA0586F0D2D4C6A9E691AAC05AA88B5C6" x="10.6856" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g51D2901EEF863DC6E5D6F7FFEB96FC3" x="13.3274" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="19.1216" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="21.164" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="24.9972" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g4A2782C275CDF79DA78B5EAF78F9C469" x="28.5936" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g1DB8A00DF728AA39A61155EC2A73D367" x="30.562" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="32.5452" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="37.0074" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="39.6196" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="42.587" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="45.1992" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="47.8114" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="49.8538" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="53.1616" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE96EA473BA9C7FC59449D03505FC99F5" x="56.9948" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g331101EC19D94DBA83B72BC0E35993FF" x="60.4654" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="64.084" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="67.0514" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="69.3232" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g5F6B5B58B9859169D31B8362C347FEDF" x="72.9196" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="75.7982" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="79.6388" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g331101EC19D94DBA83B72BC0E35993FF" x="82.658" y="0" fill="#3d6055" fill-rule="nonzero"/></g></g><path fill="#fffdeb" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(0 41.102362205)" d="M 0 0m 2 0c -1.103568 0 -2 0.896432 -2 2v 22.929133858c 0 1.103568 0.896432 2 2 2h 92.377952756c 1.103568 0 2 -0.896432 2 -2v -22.929133858c 0 -1.103568 -0.896432 -2 -2 -2h -92.377952756Z "/><path fill="none" transform="translate(10.097223448 51.165205501)" d="M 0 0h 76.183505859v 6.803447266h -76.183505859v -6.803447266Z "/><g transform="translate(10.097223307 51.16520537)"><g transform="matrix(1 0 0 -1 0 5.341152344)"><use xlink:href="#g6516EBF8634F8ACF12BB342ADDDCB8A6" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="4.232416992" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="8.464833984" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g15DEB9D2A8B3973474F57A46943BB23F" x="12.697250977" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g56CDD368D5583E871C775654264D6775" x="16.929667969" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAFEBBDFB460EB0C08478C1E849AF4DD7" x="21.162084961" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="29.626918945" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="33.859335938" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="38.09175293" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="42.324169922" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA9CF33D0D1D8CAA2E91905CCF7AF386E" x="46.556586914" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g1C44445D4E73BE0785133DA3643417B4" x="50.789003906" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA53B11B5D7DE22624F603554D7751F7A" x="59.253837891" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB36B05DB7C8B106A24538B5154E2ECAE" x="63.486254883" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="67.718671875" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g79C123D67CCDD083B73E9A197F3F3128" x="71.951088867" y="0" fill="#293f35" fill-rule="nonzero"/></g></g><path fill="none" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(96.377952756 54.566929134)" d="M 0 0h 10.482846745"/><path fill="#293f35" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(106.010405858 53.291338583)" d="M 0 0m 3.401574803 1.275590551l -3.401574803 -1.275590551l 0.850393701 1.275590551l -0.850393701 1.275590551l 3.401574803 -1.275590551Z "/><path fill="#e5efec" fill-rule="nonzero" stroke="#36826b" stroke-width="1.3" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(110.551181102 41.102362205)" d="M 0 0m 3 0c -1.655352 0 -3 1.344648 -3 3v 20.929133858c 0 1.655352 1.344648 3 3 3h 96.047244094c 1.655352 0 3 -1.344648 3 -3v -20.929133858c 0 -1.655352 -1.344648 -3 -3 -3h -96.047244094Z "/><path fill="none" transform="translate(113.385826772 45.934829134)" d="M 0 0h 96.377952756v 17.2642h -96.377952756v -17.2642Z "/><g transform="translate(113.385826772 45.934829008)"><g><g transform="matrix(1 0 0 -1 6.549176378 4.8692)"><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="2.3384" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="6.3196" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="11.4774" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="14.3634" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="17.6712" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="20.5572" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="23.4432" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="25.4486" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="29.1782" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="35.039" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="38.7834" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="41.5362" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="44.918" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="50.4458" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="55.1818" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="59.163" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="62.4708" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="65.1644" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8AA8538F7E24294E2CAE099289BB02E" x="68.4722" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="72.0686" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="74.407" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="78.3882" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="80.3936" y="0" fill="#293f35" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 11.107576378 14.5484)"><use xlink:href="#gE463BBA7A0B790CD6263FF7D95B0059" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="3.8406" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="6.5342" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="10.3156" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="13.4828" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="16.7906" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="19.6766" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g30C2621CFB156FC7FA7A5C34E756626C" x="24.4126" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="28.1348" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="31.4944" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="34.6616" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g502A19B2EAB7D3B413152B8028260B4F" x="38.3912" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="44.2372" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="47.545" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="52.281" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="54.2864" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="56.6248" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="61.3608" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="64.2468" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8115B8898C77FA1AC952AEA1F1C8868F" x="66.5852" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g30C2621CFB156FC7FA7A5C34E756626C" x="70.5146" y="0" fill="#293f35" fill-rule="nonzero"/></g></g></g><path fill="none" transform="translate(0 79.329824409)" d="M 0 0h 84.0936v 5.7498h -84.0936v -5.7498Z "/><g transform="translate(-9.4e-8 79.329824362)"><g transform="matrix(1 0 0 -1 0 4.773)"><use xlink:href="#gEA697D3AA600950D3503999204808095" x="0" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gAEB14721E05777B2298C4935FA0D5596" x="5.4464" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="10.5376" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="12.58" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g331101EC19D94DBA83B72BC0E35993FF" x="16.4132" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="20.0318" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gAEB14721E05777B2298C4935FA0D5596" x="23.2878" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g1DB8A00DF728AA39A61155EC2A73D367" x="28.379" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="30.3622" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="34.8244" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="37.4366" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="40.404" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="43.0162" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="45.6284" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="47.6708" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="50.9786" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE96EA473BA9C7FC59449D03505FC99F5" x="54.8118" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g331101EC19D94DBA83B72BC0E35993FF" x="58.2824" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="61.901" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="64.8684" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="67.1402" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g5F6B5B58B9859169D31B8362C347FEDF" x="70.7366" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="73.6152" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="77.4558" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g331101EC19D94DBA83B72BC0E35993FF" x="80.475" y="0" fill="#3d6055" fill-rule="nonzero"/></g></g><path fill="#fffdeb" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(0 89.291338583)" d="M 0 0m 2 0c -1.103568 0 -2 0.896432 -2 2v 22.929133858c 0 1.103568 0.896432 2 2 2h 92.377952756c 1.103568 0 2 -0.896432 2 -2v -22.929133858c 0 -1.103568 -0.896432 -2 -2 -2h -92.377952756Z "/><path fill="none" transform="translate(1.632389464 99.330153559)" d="M 0 0h 93.113173828v 6.851503906h -93.113173828v -6.851503906Z "/><g transform="translate(1.632389386 99.330153449)"><g transform="matrix(1 0 0 -1 0 5.341152344)"><use xlink:href="#g6516EBF8634F8ACF12BB342ADDDCB8A6" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="4.232416992" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="8.464833984" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g15DEB9D2A8B3973474F57A46943BB23F" x="12.697250977" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g56CDD368D5583E871C775654264D6775" x="16.929667969" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAFEBBDFB460EB0C08478C1E849AF4DD7" x="21.162084961" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g58B9648DC59AA07203C3D2D0219F23B0" x="25.394501953" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA84BF29868B6D7A9285BA3B966F83566" x="29.626918945" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gBBBD00F1306CF31EE80D575649D29609" x="33.859335938" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g3148C5B55E2FA22B889139DEBBE7337B" x="38.09175293" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="46.556586914" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="50.789003906" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="55.021420898" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="59.253837891" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA9CF33D0D1D8CAA2E91905CCF7AF386E" x="63.486254883" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g1C44445D4E73BE0785133DA3643417B4" x="67.718671875" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA53B11B5D7DE22624F603554D7751F7A" x="76.183505859" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB36B05DB7C8B106A24538B5154E2ECAE" x="80.415922852" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="84.648339844" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g79C123D67CCDD083B73E9A197F3F3128" x="88.880756836" y="0" fill="#293f35" fill-rule="nonzero"/></g></g><path fill="none" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(96.377952756 102.755905512)" d="M 0 0h 10.482846745"/><path fill="#293f35" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(106.010405858 101.480314961)" d="M 0 0m 3.401574803 1.275590551l -3.401574803 -1.275590551l 0.850393701 1.275590551l -0.850393701 1.275590551l 3.401574803 -1.275590551Z "/><path fill="#e5efec" fill-rule="nonzero" stroke="#36826b" stroke-width="1.3" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(110.551181102 89.291338583)" d="M 0 0m 3 0c -1.655352 0 -3 1.344648 -3 3v 20.929133858c 0 1.655352 1.344648 3 3 3h 96.047244094c 1.655352 0 3 -1.344648 3 -3v -20.929133858c 0 -1.655352 -1.344648 -3 -3 -3h -96.047244094Z "/><path fill="none" transform="translate(113.385826772 93.750105512)" d="M 0 0h 96.377952756v 18.0116h -96.377952756v -18.0116Z "/><g transform="translate(113.385826772 93.750105402)"><g><g transform="matrix(1 0 0 -1 9.683076378 4.8692)"><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="2.3384" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="6.3196" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="11.4774" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="14.3634" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="17.6712" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="20.5572" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="23.4432" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="25.4486" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="29.1782" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="35.039" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gE463BBA7A0B790CD6263FF7D95B0059" x="38.7686" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="42.661" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="45.9688" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="49.9796" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="54.7156" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="56.721" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="59.0594" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="63.7954" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="67.4732" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="73.001" y="0" fill="#293f35" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 8.351076378 14.5484)"><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="5.5278" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="7.5332" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="11.544" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="15.2884" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="18.9662" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8AA8538F7E24294E2CAE099289BB02E" x="24.494" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="28.0904" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="30.4288" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="34.41" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="36.4154" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gE463BBA7A0B790CD6263FF7D95B0059" x="41.1514" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="44.992" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="47.6856" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="51.467" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="54.6342" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="57.942" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="60.828" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="65.564" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8116C7A8612503EE2E30BE26518FB452" x="68.82" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="72.446" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="74.4514" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="76.7898" y="0" fill="#293f35" fill-rule="nonzero"/></g></g></g><path fill="none" transform="translate(0 127.126600787)" d="M 0 0h 106.9226v 6.5342h -106.9226v -6.5342Z "/><g transform="translate(-1.1e-7 127.126600724)"><g transform="matrix(1 0 0 -1 0 4.773)"><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="0" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="2.0424" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="6.1642" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="10.0048" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="13.6012" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="18.0634" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g7099D674A30674388E34F33BC3BABC25" x="23.5098" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gA0586F0D2D4C6A9E691AAC05AA88B5C6" x="25.8334" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="28.416" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="31.7238" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="35.557" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="37.8288" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="40.7962" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g331101EC19D94DBA83B72BC0E35993FF" x="44.6294" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE96EA473BA9C7FC59449D03505FC99F5" x="48.248" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="51.7186" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gA0586F0D2D4C6A9E691AAC05AA88B5C6" x="55.0264" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="59.5182" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="61.5606" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="66.0228" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="68.2946" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="72.1352" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="76.9526" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="80.2604" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="82.5322" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="86.3728" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gA0586F0D2D4C6A9E691AAC05AA88B5C6" x="89.3402" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9EFC992958D99FCCEE55A4837734B079" x="93.832" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="97.4284" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="99.4708" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g331101EC19D94DBA83B72BC0E35993FF" x="103.304" y="0" fill="#3d6055" fill-rule="nonzero"/></g></g><path fill="#fffdeb" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(0 137.480314961)" d="M 0 0m 2 0c -1.103568 0 -2 0.896432 -2 2v 22.929133858c 0 1.103568 0.896432 2 2 2h 92.377952756c 1.103568 0 2 -0.896432 2 -2v -22.929133858c 0 -1.103568 -0.896432 -2 -2 -2h -92.377952756Z "/><path fill="none" transform="translate(10.097223448 147.543158257)" d="M 0 0h 76.183505859v 6.803447266h -76.183505859v -6.803447266Z "/><g transform="translate(10.097223307 147.543158126)"><g transform="matrix(1 0 0 -1 0 5.341152344)"><use xlink:href="#g6516EBF8634F8ACF12BB342ADDDCB8A6" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="4.232416992" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="8.464833984" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g15DEB9D2A8B3973474F57A46943BB23F" x="12.697250977" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g56CDD368D5583E871C775654264D6775" x="16.929667969" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAFEBBDFB460EB0C08478C1E849AF4DD7" x="21.162084961" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="29.626918945" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="33.859335938" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="38.09175293" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="42.324169922" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA9CF33D0D1D8CAA2E91905CCF7AF386E" x="46.556586914" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g1C44445D4E73BE0785133DA3643417B4" x="50.789003906" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA53B11B5D7DE22624F603554D7751F7A" x="59.253837891" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB36B05DB7C8B106A24538B5154E2ECAE" x="63.486254883" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="67.718671875" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g79C123D67CCDD083B73E9A197F3F3128" x="71.951088867" y="0" fill="#293f35" fill-rule="nonzero"/></g></g><path fill="none" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(96.377952756 150.94488189)" d="M 0 0h 10.482846745"/><path fill="#293f35" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(106.010405858 149.669291339)" d="M 0 0m 3.401574803 1.275590551l -3.401574803 -1.275590551l 0.850393701 1.275590551l -0.850393701 1.275590551l 3.401574803 -1.275590551Z "/><path fill="#ece7ed" fill-rule="nonzero" stroke="#6e4774" stroke-width="1.3" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(110.551181102 137.480314961)" d="M 0 0m 3 0c -1.655352 0 -3 1.344648 -3 3v 20.929133858c 0 1.655352 1.344648 3 3 3h 96.047244094c 1.655352 0 3 -1.344648 3 -3v -20.929133858c 0 -1.655352 -1.344648 -3 -3 -3h -96.047244094Z "/><path fill="none" transform="translate(113.385826772 141.93908189)" d="M 0 0h 96.377952756v 18.0116h -96.377952756v -18.0116Z "/><g transform="translate(113.385826772 141.93908178)"><g><g transform="matrix(1 0 0 -1 6.290176378 4.8692)"><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="5.2318" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="8.399" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="10.3526" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="12.358" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="15.6658" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="19.6766" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFCEB6BB1E1DA93DB8EE284D457C663DB" x="22.015" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="25.6114" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="27.9498" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="31.931" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="33.9364" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gE463BBA7A0B790CD6263FF7D95B0059" x="38.6724" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="42.513" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="45.2066" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="48.988" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="52.1552" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="55.463" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="58.349" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="61.235" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="64.713" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="70.2408" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="72.2462" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="74.5846" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="80.4158" y="0" fill="#293f35" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 38.013976378 14.5484)"><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="2.6936" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gE463BBA7A0B790CD6263FF7D95B0059" x="6.0014" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="9.842" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="11.7956" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="13.801" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="16.9682" y="0" fill="#293f35" fill-rule="nonzero"/></g></g></g><path fill="none" transform="translate(0 176.159177165)" d="M 0 0h 58.2528v 4.847h -58.2528v -4.847Z "/><g transform="translate(-9.4e-8 176.15917715)"><g transform="matrix(1 0 0 -1 0 4.773)"><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="0" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="3.3078" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="8.991" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="12.5874" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="16.4206" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="19.7284" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="22.0002" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="25.8408" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gA0586F0D2D4C6A9E691AAC05AA88B5C6" x="28.8082" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g51D2901EEF863DC6E5D6F7FFEB96FC3" x="33.3" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="39.0942" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g5F6B5B58B9859169D31B8362C347FEDF" x="42.6906" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="45.5692" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="49.4098" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="51.4522" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="55.2854" y="0" fill="#3d6055" fill-rule="nonzero"/></g></g><path fill="#fffdeb" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(0 185.669291339)" d="M 0 0m 2 0c -1.103568 0 -2 0.896432 -2 2v 22.929133858c 0 1.103568 0.896432 2 2 2h 92.377952756c 1.103568 0 2 -0.896432 2 -2v -22.929133858c 0 -1.103568 -0.896432 -2 -2 -2h -92.377952756Z "/><path fill="none" transform="translate(1.632389464 195.732134635)" d="M 0 0h 93.113173828v 6.803447266h -93.113173828v -6.803447266Z "/><g transform="translate(1.632389386 195.732134504)"><g transform="matrix(1 0 0 -1 0 5.341152344)"><use xlink:href="#g6516EBF8634F8ACF12BB342ADDDCB8A6" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="4.232416992" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="8.464833984" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g15DEB9D2A8B3973474F57A46943BB23F" x="12.697250977" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g56CDD368D5583E871C775654264D6775" x="16.929667969" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAFEBBDFB460EB0C08478C1E849AF4DD7" x="21.162084961" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="29.626918945" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="33.859335938" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="38.09175293" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="42.324169922" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA9CF33D0D1D8CAA2E91905CCF7AF386E" x="46.556586914" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g1C44445D4E73BE0785133DA3643417B4" x="50.789003906" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gD49AC9951C1B1964A042F0D13A58DE95" x="59.253837891" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB36B05DB7C8B106A24538B5154E2ECAE" x="63.486254883" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA8A111EE742990F70FFBAFD304DD5562" x="67.718671875" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g65AAEF3C1D5B855451928DB0DB6507D9" x="71.951088867" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA53B11B5D7DE22624F603554D7751F7A" x="76.183505859" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB36B05DB7C8B106A24538B5154E2ECAE" x="80.415922852" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="84.648339844" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g79C123D67CCDD083B73E9A197F3F3128" x="88.880756836" y="0" fill="#293f35" fill-rule="nonzero"/></g></g><path fill="none" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(96.377952756 199.133858268)" d="M 0 0h 10.482846745"/><path fill="#293f35" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(106.010405858 197.858267717)" d="M 0 0m 3.401574803 1.275590551l -3.401574803 -1.275590551l 0.850393701 1.275590551l -0.850393701 1.275590551l 3.401574803 -1.275590551Z "/><path fill="#ece7ed" fill-rule="nonzero" stroke="#6e4774" stroke-width="1.3" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(110.551181102 185.669291339)" d="M 0 0m 3 0c -1.655352 0 -3 1.344648 -3 3v 20.929133858c 0 1.655352 1.344648 3 3 3h 96.047244094c 1.655352 0 3 -1.344648 3 -3v -20.929133858c 0 -1.655352 -1.344648 -3 -3 -3h -96.047244094Z "/><path fill="none" transform="translate(113.385826772 195.818658268)" d="M 0 0h 96.377952756v 6.6304h -96.377952756v -6.6304Z "/><g transform="translate(113.385826772 195.818658236)"><g><g transform="matrix(1 0 0 -1 11.648354503 4.8692)"><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="5.2318" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="8.399" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="10.3526" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="12.358" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="15.6658" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="19.6766" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="22.015" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="25.493" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="27.8314" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="31.8126" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="34.5062" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8115B8898C77FA1AC952AEA1F1C8868F" x="38.2358" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g88B8AF40C2FFFEADD5E217116309CD15" x="42.1652" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="45.8652" y="0" fill="#293f35" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 63.344754503 4.8692)"><use xlink:href="#g3F7D6C5E210F973C975677087D66C5C5" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g3F7D6C5E210F973C975677087D66C5C5" x="3.564140625" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g38E85F1BB3A3AE658FCC37DF7D65F321" x="7.12828125" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B6E78D810E3FE39A8482429056608AC" x="14.2565625" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g83B03D21CD6A496754FF4083F96EAA9F" x="17.820703125" y="0" fill="#293f35" fill-rule="nonzero"/></g></g></g><path fill="none" stroke="#95baa2" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(225.354330709)" d="M 0 0m 0 240.94488189v -240.94488189"/><path fill="none" transform="translate(239.527559055 3.140114173)" d="M 0 0h 83.142v 7.893h -83.142v -7.893Z "/><g transform="translate(239.527559055 3.140114173)"><g transform="matrix(1 0 0 -1 0 5.805)"><use xlink:href="#gADFA079071B0CD140744EECB5189F189" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB44AD3C00DF2BD7A3B0995B729B2F89E" x="6.66" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gE67DB6CC3A2607827A01F5F9C91259DF" x="11.556" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g398368A0D00D14BA56A0002AB19285E8" x="18.549" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g965CA1D8408744C80095348185AD8EB9" x="23.103" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g627329597DD3903044C5A4D75073B71C" x="27.657" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gE67DB6CC3A2607827A01F5F9C91259DF" x="30.582" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g965CA1D8408744C80095348185AD8EB9" x="37.575" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB660411C2F58EF21C746E36AF5EB3882" x="42.129" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g5CCD08CEE029BB1E1252C86C73083DDC" x="47.151" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g965CA1D8408744C80095348185AD8EB9" x="53.244" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g1B4BB274E0645BBC7FEACF3996C1781A" x="60.048" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g627329597DD3903044C5A4D75073B71C" x="64.152" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g5D166F0F7E5A44368BF2E983F6EE9FD5" x="67.077" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g136C905B50E42975079434436E4DAEF4" x="69.975" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g77DFF579C4297C58BB534BE65B39B6CA" x="74.376" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCA7AD9848E83F426C822AF345B8AA35" x="79.92" y="0" fill="#293f35" fill-rule="nonzero"/></g></g><path fill="none" transform="translate(239.527559055 30.763448031)" d="M 0 0h 81.4v 6.5046h -81.4v -6.5046Z "/><g transform="translate(239.527558929 30.763447937)"><g transform="matrix(1 0 0 -1 0 4.773)"><use xlink:href="#gEA697D3AA600950D3503999204808095" x="0" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="3.5964" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8937F2D32CF646903777568E01BCC94D" x="7.4296" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="13.0018" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="15.614" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="18.5814" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="21.1936" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="23.8058" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="25.8482" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="29.156" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="34.8392" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="38.147" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="43.8302" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="46.102" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="49.9426" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g9195F18F2BF6DE74C0C8DD65892D26F" x="51.985" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g51D2901EEF863DC6E5D6F7FFEB96FC3" x="56.4472" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="62.2414" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g5F6B5B58B9859169D31B8362C347FEDF" x="65.8378" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="68.7164" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="72.557" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="74.5994" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="78.4326" y="0" fill="#3d6055" fill-rule="nonzero"/></g></g><path fill="#fffdeb" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(239.527559055 41.102362205)" d="M 0 0m 2 0c -1.103568 0 -2 0.896432 -2 2v 22.929133858c 0 1.103568 0.896432 2 2 2h 92.377952756c 1.103568 0 2 -0.896432 2 -2v -22.929133858c 0 -1.103568 -0.896432 -2 -2 -2h -92.377952756Z "/><path fill="none" transform="translate(249.624782503 51.165205501)" d="M 0 0h 76.183505859v 6.803447266h -76.183505859v -6.803447266Z "/><g transform="translate(249.624782362 51.16520537)"><g transform="matrix(1 0 0 -1 0 5.341152344)"><use xlink:href="#g6516EBF8634F8ACF12BB342ADDDCB8A6" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="4.232416992" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="8.464833984" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g15DEB9D2A8B3973474F57A46943BB23F" x="12.697250977" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g56CDD368D5583E871C775654264D6775" x="16.929667969" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAFEBBDFB460EB0C08478C1E849AF4DD7" x="21.162084961" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="29.626918945" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="33.859335938" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="38.09175293" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="42.324169922" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA9CF33D0D1D8CAA2E91905CCF7AF386E" x="46.556586914" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g1C44445D4E73BE0785133DA3643417B4" x="50.789003906" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA53B11B5D7DE22624F603554D7751F7A" x="59.253837891" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB36B05DB7C8B106A24538B5154E2ECAE" x="63.486254883" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="67.718671875" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g79C123D67CCDD083B73E9A197F3F3128" x="71.951088867" y="0" fill="#293f35" fill-rule="nonzero"/></g></g><path fill="none" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(335.905511811 54.566929134)" d="M 0 0h 10.482846745"/><path fill="#293f35" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(345.537964913 53.291338583)" d="M 0 0m 3.401574803 1.275590551l -3.401574803 -1.275590551l 0.850393701 1.275590551l -0.850393701 1.275590551l 3.401574803 -1.275590551Z "/><path fill="#ece7ed" fill-rule="nonzero" stroke="#6e4774" stroke-width="1.3" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(350.078740157 41.102362205)" d="M 0 0m 3 0c -1.655352 0 -3 1.344648 -3 3v 20.929133858c 0 1.655352 1.344648 3 3 3h 96.047244094c 1.655352 0 3 -1.344648 3 -3v -20.929133858c 0 -1.655352 -1.344648 -3 -3 -3h -96.047244094Z "/><path fill="none" transform="translate(352.913385827 45.561129134)" d="M 0 0h 96.377952756v 18.0116h -96.377952756v -18.0116Z "/><g transform="translate(352.913385827 45.561129024)"><g><g transform="matrix(1 0 0 -1 6.290176378 4.8692)"><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="5.2318" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="8.399" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="10.3526" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="12.358" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="15.6658" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="19.6766" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFCEB6BB1E1DA93DB8EE284D457C663DB" x="22.015" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="25.6114" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="27.9498" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="31.931" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="33.9364" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gE463BBA7A0B790CD6263FF7D95B0059" x="38.6724" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="42.513" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="45.2066" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="48.988" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="52.1552" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="55.463" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="58.349" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="61.235" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="64.713" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="70.2408" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="72.2462" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="74.5846" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="80.4158" y="0" fill="#293f35" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 38.013976378 14.5484)"><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="2.6936" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gE463BBA7A0B790CD6263FF7D95B0059" x="6.0014" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="9.842" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="11.7956" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="13.801" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="16.9682" y="0" fill="#293f35" fill-rule="nonzero"/></g></g></g><path fill="none" transform="translate(239.527559055 79.781224409)" d="M 0 0h 58.2528v 4.847h -58.2528v -4.847Z "/><g transform="translate(239.527558961 79.781224394)"><g transform="matrix(1 0 0 -1 0 4.773)"><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="0" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="3.3078" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="8.991" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="12.5874" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g41C7C56EAFB5E7E0365E9A42CE486F8C" x="16.4206" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g798C35D1731787BE6C5AA5B1CEBDE2CE" x="19.7284" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="22.0002" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="25.8408" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gA0586F0D2D4C6A9E691AAC05AA88B5C6" x="28.8082" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g51D2901EEF863DC6E5D6F7FFEB96FC3" x="33.3" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gEA697D3AA600950D3503999204808095" x="39.0942" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g5F6B5B58B9859169D31B8362C347FEDF" x="42.6906" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#gE58F150F864B781A35F9BB7FE925D9CB" x="45.5692" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g8D93301AB31C91F9A2CCF9C7BA1DBF57" x="49.4098" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g19B0D44A63D904EB9E4EBB7C5C9212CB" x="51.4522" y="0" fill="#3d6055" fill-rule="nonzero"/><use xlink:href="#g28C6CD81BBA25752DE65F787116FCF9F" x="55.2854" y="0" fill="#3d6055" fill-rule="nonzero"/></g></g><path fill="#fffdeb" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(239.527559055 89.291338583)" d="M 0 0m 2 0c -1.103568 0 -2 0.896432 -2 2v 22.929133858c 0 1.103568 0.896432 2 2 2h 92.377952756c 1.103568 0 2 -0.896432 2 -2v -22.929133858c 0 -1.103568 -0.896432 -2 -2 -2h -92.377952756Z "/><path fill="none" transform="translate(241.159948519 99.354181879)" d="M 0 0h 93.113173828v 6.803447266h -93.113173828v -6.803447266Z "/><g transform="translate(241.159948441 99.354181748)"><g transform="matrix(1 0 0 -1 0 5.341152344)"><use xlink:href="#g6516EBF8634F8ACF12BB342ADDDCB8A6" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="4.232416992" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="8.464833984" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g15DEB9D2A8B3973474F57A46943BB23F" x="12.697250977" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g56CDD368D5583E871C775654264D6775" x="16.929667969" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAFEBBDFB460EB0C08478C1E849AF4DD7" x="21.162084961" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="29.626918945" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="33.859335938" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8FCB107D521EED6F10C0AD408CC4A120" x="38.09175293" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B9E512F4CAEADE270CB73386A23287B" x="42.324169922" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA9CF33D0D1D8CAA2E91905CCF7AF386E" x="46.556586914" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g1C44445D4E73BE0785133DA3643417B4" x="50.789003906" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gD49AC9951C1B1964A042F0D13A58DE95" x="59.253837891" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB36B05DB7C8B106A24538B5154E2ECAE" x="63.486254883" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA8A111EE742990F70FFBAFD304DD5562" x="67.718671875" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g65AAEF3C1D5B855451928DB0DB6507D9" x="71.951088867" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gA53B11B5D7DE22624F603554D7751F7A" x="76.183505859" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB36B05DB7C8B106A24538B5154E2ECAE" x="80.415922852" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9DA584B3127C4963BD7B072B4AE98539" x="84.648339844" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g79C123D67CCDD083B73E9A197F3F3128" x="88.880756836" y="0" fill="#293f35" fill-rule="nonzero"/></g></g><path fill="none" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(335.905511811 102.755905512)" d="M 0 0h 10.482846745"/><path fill="#293f35" fill-rule="nonzero" stroke="#293f35" stroke-width="0.8" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(345.537964913 101.480314961)" d="M 0 0m 3.401574803 1.275590551l -3.401574803 -1.275590551l 0.850393701 1.275590551l -0.850393701 1.275590551l 3.401574803 -1.275590551Z "/><path fill="#ece7ed" fill-rule="nonzero" stroke="#6e4774" stroke-width="1.3" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="4" transform="translate(350.078740157 89.291338583)" d="M 0 0m 3 0c -1.655352 0 -3 1.344648 -3 3v 20.929133858c 0 1.655352 1.344648 3 3 3h 96.047244094c 1.655352 0 3 -1.344648 3 -3v -20.929133858c 0 -1.655352 -1.344648 -3 -3 -3h -96.047244094Z "/><path fill="none" transform="translate(352.913385827 99.440705512)" d="M 0 0h 96.377952756v 6.6304h -96.377952756v -6.6304Z "/><g transform="translate(352.913385827 99.44070548)"><g><g transform="matrix(1 0 0 -1 11.648354503 4.8692)"><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="5.2318" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="8.399" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="10.3526" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="12.358" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="15.6658" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="19.6766" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="22.015" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="25.493" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="27.8314" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="31.8126" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="34.5062" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8115B8898C77FA1AC952AEA1F1C8868F" x="38.2358" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g88B8AF40C2FFFEADD5E217116309CD15" x="42.1652" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="45.8652" y="0" fill="#293f35" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 63.344754503 4.8692)"><use xlink:href="#g3F7D6C5E210F973C975677087D66C5C5" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g3F7D6C5E210F973C975677087D66C5C5" x="3.564140625" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g38E85F1BB3A3AE658FCC37DF7D65F321" x="7.12828125" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g8B6E78D810E3FE39A8482429056608AC" x="14.2565625" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g83B03D21CD6A496754FF4083F96EAA9F" x="17.820703125" y="0" fill="#293f35" fill-rule="nonzero"/></g></g></g><path fill="none" transform="translate(239.527559055 143.433034646)" d="M 0 0h 212.598425197v 27.7796h -212.598425197v -27.7796Z "/><g transform="translate(239.527559055 143.433034583)"><g><g transform="matrix(1 0 0 -1 0 4.8692)"><use xlink:href="#g407F12BFEF65CE198C92C3C59AD2D7D9" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="6.993" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="9.879" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="13.1868" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="16.0728" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="18.9588" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="20.9642" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="24.6938" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g5BD0DE59D7F4E05CAF8E080AB574B80D" x="28.7046" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="30.6878" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="35.4238" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="39.1016" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="44.6294" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g4F7F7F9C98605AE4B8D9FEBDF3EBC176" x="50.4902" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="52.7842" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="55.4778" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="59.2074" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="63.2182" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="65.5566" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="68.8644" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="72.8752" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="78.4696" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="80.475" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="85.211" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="88.9406" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="92.9514" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g154F083D4F8819E1C16CDC52D5D766D5" x="94.905" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="100.566" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="102.9044" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="106.8856" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="112.0434" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="115.773" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="119.7838" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="124.9416" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="126.947" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="131.1354" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="136.6632" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="140.045" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g30C2621CFB156FC7FA7A5C34E756626C" x="144.781" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="148.5032" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="152.2328" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="154.9856" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="160.8464" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="166.3742" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="168.3796" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="170.718" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFCEB6BB1E1DA93DB8EE284D457C663DB" x="174.6992" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="178.2956" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g57F4044859B64878400EFC6A728FBBC6" x="183.5274" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="188.7148" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="192.0226" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="194.361" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="197.7428" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="200.91" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="204.8912" y="0" fill="#293f35" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 0 14.5484)"><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="3.7296" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="8.3324" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="10.3378" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="12.6762" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="17.4122" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="19.7506" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="23.0584" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g502A19B2EAB7D3B413152B8028260B4F" x="25.8112" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="31.6572" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="33.6626" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="37.6734" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="41.0552" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="44.8588" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="48.5884" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="53.1912" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="58.719" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="60.7244" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="64.7352" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="68.4796" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="72.1574" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="79.5352" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="82.7024" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="84.656" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="88.3856" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="91.2716" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="93.277" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g88B8AF40C2FFFEADD5E217116309CD15" x="97.2878" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="100.9878" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="104.4658" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="106.4194" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="109.7272" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g9A8BF45F7DE893D9679B8AC2ADD75AA1" x="113.109" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="116.7276" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="120.0354" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="124.7714" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="126.7768" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="130.9652" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="134.7096" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="138.0174" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="140.3558" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="143.7376" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="146.9048" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="150.886" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="154.2456" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g4F7F7F9C98605AE4B8D9FEBDF3EBC176" x="159.84" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="162.134" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="165.8636" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g88B8AF40C2FFFEADD5E217116309CD15" x="170.4664" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="174.1664" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="177.9478" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="181.7292" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="185.4736" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="188.9516" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="192.3334" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="196.3442" y="0" fill="#293f35" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 0 24.2276)"><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="0" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="3.3078" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="6.6896" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="9.8568" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="15.688" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="19.0698" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="21.4082" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="23.7466" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="27.1284" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="30.2956" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="36.1268" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B2824F9A08C306B11BDA309013243A4" x="39.5086" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="43.919" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="47.2268" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="51.8296" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="53.835" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="58.571" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="63.8028" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="66.97" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="68.9236" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="70.929" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="74.2368" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="78.2476" y="0" fill="#293f35" fill-rule="nonzero"/><use xlink:href="#gC19C9240250D3DBC3782848BC4EAA75F" x="80.586" y="0" fill="#293f35" fill-rule="nonzero"/></g></g></g><path fill="none" transform="translate(239.527559055 193.017133858)" d="M 0 0h 212.598425197v 27.824h -212.598425197v -27.824Z "/><g transform="translate(239.527559055 193.017133843)"><g><g transform="matrix(1 0 0 -1 0 4.8692)"><use xlink:href="#g6E096C41F459AF11867C1D7CCA4B959A" x="0" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="5.069" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="8.7986" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="12.8094" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFCEB6BB1E1DA93DB8EE284D457C663DB" x="16.1172" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="19.7136" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="24.9454" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="27.2838" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="30.5916" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g502A19B2EAB7D3B413152B8028260B4F" x="33.3444" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="39.1904" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="41.1958" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="45.2066" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="48.5884" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="52.392" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="56.3732" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="59.755" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="63.7658" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="67.5102" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="70.8698" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="76.4642" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="78.8026" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="84.3822" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="89.614" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="92.5" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="95.8078" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="98.6938" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="101.5798" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="103.5852" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="107.3148" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="111.3256" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="114.8036" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="120.0354" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="125.5632" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="127.5686" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="131.5794" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="135.3238" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="139.0016" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="146.3794" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gE463BBA7A0B790CD6263FF7D95B0059" x="150.109" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="154.0014" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="157.3092" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="161.32" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="164.6796" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="170.274" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g88B8AF40C2FFFEADD5E217116309CD15" x="173.6558" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="177.3558" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="180.7376" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="182.743" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="188.6038" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="190.6092" y="0" fill="#8a3a00" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 0 14.5484)"><use xlink:href="#gE463BBA7A0B790CD6263FF7D95B0059" x="0" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g147035C7BE92CBD6C380DC6FF00D02EF" x="3.8406" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="5.7942" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="9.176" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="12.3432" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="15.577" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="19.055" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="21.3934" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="25.3746" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="30.5324" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="34.2768" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="37.6586" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g502A19B2EAB7D3B413152B8028260B4F" x="40.9664" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="46.8124" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="50.542" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="56.4028" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="59.57" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="63.5512" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="67.3326" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="71.0622" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="73.9482" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="75.9536" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g88B8AF40C2FFFEADD5E217116309CD15" x="79.9644" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gEAECEA240A6BA02884ABCDE9009E4469" x="85.5144" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="91.0422" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="95.0234" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="97.0288" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="100.196" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="106.0272" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="108.9132" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="112.221" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="115.107" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gDCF05E46321EA4880E85DD8DCA7E84D8" x="117.993" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="119.9984" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="123.728" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="129.5888" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="131.9272" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g6C0518489EE83099652E729FB2B7897F" x="135.309" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="139.0978" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="142.4056" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="147.1416" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g4F7F7F9C98605AE4B8D9FEBDF3EBC176" x="152.3734" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gB593D0F7F3B5A707DB146A6D5A2F6906" x="154.6674" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="157.361" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="161.0906" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="165.1014" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="167.4398" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="170.7476" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g17EAE68D559C13C5F6D3C434C900AC6E" x="174.7584" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g4A206E7E63429D89DFF56DDF8E8EA377" x="178.5028" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="181.9808" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="184.3192" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gAA65137CBD2F12FA15AFBCFC68DD5182" x="188.3004" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" x="193.4582" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="196.3442" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g8115B8898C77FA1AC952AEA1F1C8868F" x="198.6826" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g30C2621CFB156FC7FA7A5C34E756626C" x="202.612" y="0" fill="#8a3a00" fill-rule="nonzero"/></g><g transform="matrix(1 0 0 -1 0 24.2276)"><use xlink:href="#g81B3A9F45BA5623D272A10055902C9BB" x="0" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g4F7F7F9C98605AE4B8D9FEBDF3EBC176" x="3.7296" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="7.8736" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2EA0627FB9063D4AF73FFF8929FC14E6" x="11.2554" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="17.1162" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="20.498" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gFF7C46FA036CA39B00652D238CFD3F79" x="22.8364" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g227F1C33E7EF9EF7212CC6ECE689450F" x="25.1748" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#g2B084261FDB9199AB54C9E85B286CDED" x="28.5566" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gCD10CFE8D13D0502D7BABC390C7D620F" x="31.7238" y="0" fill="#8a3a00" fill-rule="nonzero"/><use xlink:href="#gC19C9240250D3DBC3782848BC4EAA75F" x="35.705" y="0" fill="#8a3a00" fill-rule="nonzero"/></g></g></g></g></g><defs><symbol id="g76D07E066C4F3E0BFDF94E494713D6CD" overflow="visible"><path d="M 0 0m 1.557 5.805c -0.36 0 -1.386 0.018 -1.386 0.018c -0.09 -0.054 -0.09 -0.252 0 -0.306c 0.495 -0.027 0.747 -0.063 0.747 -0.81v -3.609c 0 -0.747 -0.252 -0.783 -0.747 -0.81c -0.09 -0.054 -0.09 -0.252 0 -0.306c 0 0 1.026 0.018 1.386 0.018c 0.36 0 0.936 -0.018 1.476 -0.018c 1.845 0 2.439 0.774 2.439 1.692c 0 0.792 -0.396 1.305 -1.35 1.557v 0.018c 0.486 0.216 0.864 0.711 0.864 1.17c 0 0.621 -0.333 1.404 -2.151 1.404c -0.45 0 -0.99 -0.018 -1.278 -0.018Z m 0.621 -2.799h 0.639c 0.927 0 1.332 -0.549 1.332 -1.323c 0 -0.54 -0.189 -1.323 -1.377 -1.323c -0.54 0 -0.594 0.135 -0.594 0.396Z m 0 2.052c 0 0.261 0.045 0.387 0.63 0.387c 0.414 0 0.918 -0.162 0.918 -1.044c 0 -0.72 -0.405 -1.017 -1.044 -1.017h -0.504Z "/></symbol><symbol id="g136C905B50E42975079434436E4DAEF4" overflow="visible"><path d="M 0 0m 3.879 1.161c -0.369 -0.378 -0.855 -0.477 -1.197 -0.477c -0.702 0 -1.134 0.405 -1.134 1.287c 0 0.063 0.009 0.099 0.009 0.144h 2.16c 0.216 0 0.261 0.153 0.261 0.279c 0 0.765 -0.297 1.602 -1.62 1.602c -0.945 0 -2.025 -0.837 -2.025 -2.214c 0 -0.522 0.189 -1.071 0.576 -1.422c 0.342 -0.306 0.783 -0.45 1.422 -0.45c 0.621 0 1.233 0.315 1.683 0.972c 0 0.117 -0.045 0.279 -0.135 0.279Z m -2.286 1.314c 0.009 0.315 0.054 0.657 0.18 0.837c 0.144 0.216 0.387 0.306 0.486 0.306c 0.243 0 0.576 -0.234 0.576 -0.954c 0 -0.054 0 -0.171 -0.018 -0.189Z "/></symbol><symbol id="gB5AA84E78D76FDE35653B311F1AA0E2B" overflow="visible"><path d="M 0 0m 2.07 1.152v 2.304h 0.774c 0.162 0 0.315 0.045 0.315 0.153v 0.207c 0 0.054 -0.009 0.09 -0.18 0.09h -0.909v 0.459c 0 1.341 0.369 1.539 0.567 1.539c 0.153 0 0.189 -0.135 0.252 -0.351c 0.081 -0.288 0.315 -0.513 0.639 -0.513c 0.297 0 0.513 0.189 0.513 0.576c 0 0.243 -0.279 0.666 -1.233 0.666c -0.423 0 -0.927 -0.153 -1.269 -0.522c -0.333 -0.36 -0.639 -0.81 -0.639 -1.674v -0.18h -0.018c -0.306 0 -0.675 -0.045 -0.675 -0.117v -0.243c 0 -0.063 0.036 -0.09 0.243 -0.09h 0.45v -2.322c 0 -0.738 -0.144 -0.819 -0.693 -0.846c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.783 0.018 1.278 0.018c 0.495 0 0.891 -0.009 1.278 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.549 0.027 -0.693 0.108 -0.693 0.864Z "/></symbol><symbol id="gB44AD3C00DF2BD7A3B0995B729B2F89E" overflow="visible"><path d="M 0 0m 0.333 1.863c 0 -1.179 0.936 -1.953 2.142 -1.953c 0.639 0 1.17 0.18 1.539 0.513c 0.459 0.405 0.612 1.017 0.612 1.521c 0 1.179 -0.801 2.052 -2.142 2.052c -0.747 0 -1.305 -0.261 -1.656 -0.666c -0.342 -0.396 -0.495 -0.936 -0.495 -1.467Z m 2.007 1.755c 0.612 0 1.026 -0.729 1.026 -1.962c 0 -1.08 -0.423 -1.368 -0.747 -1.368c -0.738 0 -1.026 1.107 -1.026 1.773c 0 0.828 0.144 1.557 0.747 1.557Z "/></symbol><symbol id="g3DAF27FF8EE988A590BB98F02E9B14AB" overflow="visible"><path d="M 0 0m 2.052 2.412c 0 0.324 0.099 0.459 0.216 0.594c 0.072 0.09 0.153 0.153 0.288 0.153c 0.081 0 0.18 -0.081 0.252 -0.171c 0.063 -0.072 0.216 -0.144 0.423 -0.144c 0.261 0 0.513 0.27 0.513 0.648c 0 0.234 -0.27 0.504 -0.594 0.504c -0.315 0 -0.657 -0.27 -1.071 -0.864h -0.036c -0.018 0.27 -0.063 0.711 -0.063 0.711c -0.009 0.081 -0.081 0.153 -0.207 0.153c -0.423 -0.108 -0.9 -0.234 -1.494 -0.297c -0.018 -0.054 0 -0.225 0.018 -0.279c 0.495 -0.045 0.585 -0.126 0.585 -0.639v -1.683c 0 -0.747 -0.099 -0.765 -0.648 -0.81c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.756 0.018 1.233 0.018c 0.477 0 0.846 -0.009 1.233 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.549 0.036 -0.648 0.063 -0.648 0.81Z "/></symbol><symbol id="g398368A0D00D14BA56A0002AB19285E8" overflow="visible"><path d="M 0 0m 0.54 0.54c 0 -0.342 0.288 -0.612 0.648 -0.612c 0.36 0 0.666 0.288 0.666 0.63c 0 0.351 -0.288 0.621 -0.648 0.621c -0.36 0 -0.666 -0.288 -0.666 -0.639Z m 0 2.682c 0 -0.342 0.288 -0.612 0.648 -0.612c 0.36 0 0.666 0.288 0.666 0.63c 0 0.351 -0.288 0.621 -0.648 0.621c -0.36 0 -0.666 -0.288 -0.666 -0.639Z "/></symbol><symbol id="g3AABD6367CE61353955D2F6F568F5DF" overflow="visible"><path d="M 0 0m 4.59 1.197v 1.557c 0 0.756 0.018 0.648 0.018 0.864c 0 0.153 -0.036 0.252 -0.09 0.306c -0.162 -0.009 -0.342 -0.018 -0.513 -0.018c -0.252 0 -0.837 0.009 -1.188 0.018c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.459 -0.045 0.603 -0.108 0.603 -0.864v -1.665c 0 -0.09 0 -0.18 0.009 -0.27c -0.369 -0.225 -0.666 -0.243 -0.828 -0.243c -0.36 0 -0.63 0.045 -0.63 0.675v 1.503c 0 0.756 0.018 0.648 0.018 0.864c 0 0.153 -0.036 0.252 -0.09 0.306c -0.162 -0.009 -0.351 -0.018 -0.513 -0.018c -0.459 0 -0.801 0.009 -1.188 0.018c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.414 -0.018 0.603 -0.108 0.603 -0.864v -1.404c 0 -0.954 0.378 -1.44 1.152 -1.44c 0.324 0 0.981 0.261 1.503 0.549c 0.018 -0.225 0.036 -0.396 0.036 -0.396c 0.009 -0.108 0.081 -0.153 0.207 -0.153c 0.333 0.09 0.873 0.216 1.494 0.297c 0.018 0.054 0 0.234 -0.018 0.288c -0.486 0.045 -0.585 0.189 -0.585 0.702Z "/></symbol><symbol id="g695758CB2C6BE00D50F851A154409E48" overflow="visible"><path d="M 0 0m 2.052 1.098v 1.791c 0 0.045 0 0.09 0 0.135c 0.351 0.216 0.666 0.306 0.819 0.306c 0.36 0 0.63 -0.162 0.63 -0.675v -1.503c 0 -0.756 -0.144 -0.837 -0.513 -0.864c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.666 0.018 1.098 0.018c 0.432 0 0.711 -0.009 1.098 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.36 0.027 -0.513 0.108 -0.513 0.864v 1.404c 0 0.225 -0.009 0.405 -0.036 0.495c 0.342 0.171 0.729 0.279 0.873 0.279c 0.36 0 0.612 -0.162 0.612 -0.675v -1.503c 0 -0.756 -0.144 -0.837 -0.513 -0.864c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.666 0.018 1.098 0.018c 0.495 0 0.891 -0.009 1.278 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.549 0.027 -0.693 0.108 -0.693 0.864v 1.404c 0 0.99 -0.36 1.44 -1.134 1.44c -0.333 0 -1.089 -0.36 -1.611 -0.648c -0.135 0.387 -0.495 0.648 -1.026 0.648c -0.324 0 -0.972 -0.342 -1.485 -0.63c -0.027 0.27 -0.054 0.477 -0.054 0.477c -0.009 0.108 -0.081 0.153 -0.207 0.153c -0.333 -0.09 -0.873 -0.216 -1.494 -0.297c -0.018 -0.054 0 -0.234 0.018 -0.288c 0.495 -0.045 0.585 -0.117 0.585 -0.63v -1.683c 0 -0.747 -0.099 -0.765 -0.648 -0.81c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.756 0.018 1.233 0.018c 0.414 0 0.666 -0.009 1.053 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.378 0.036 -0.468 0.063 -0.468 0.81Z "/></symbol><symbol id="g1B4BB274E0645BBC7FEACF3996C1781A" overflow="visible"><path d="M 0 0m 3.798 0.783c 0 0.108 -0.018 0.279 -0.117 0.279c -0.36 -0.333 -0.666 -0.504 -0.927 -0.504c -0.675 0 -1.206 0.486 -1.206 1.566c 0 0.999 0.225 1.494 0.702 1.494c 0.333 0 0.468 -0.351 0.495 -0.639c 0.027 -0.243 0.27 -0.423 0.558 -0.423c 0.288 0 0.495 0.225 0.495 0.504c 0 0.405 -0.486 0.936 -1.467 0.936c -1.062 0 -1.998 -0.855 -1.998 -2.187c 0 -0.585 0.207 -1.098 0.558 -1.431c 0.351 -0.333 0.765 -0.468 1.404 -0.468c 0.54 0 1.161 0.378 1.503 0.873Z "/></symbol><symbol id="gBEE8BA0F24EAA5B9AC424E258079A41E" overflow="visible"><path d="M 0 0m 4.752 1.152v 1.404c 0 0.99 -0.423 1.44 -1.197 1.44c -0.333 0 -0.972 -0.333 -1.485 -0.648v 1.899c 0 0.585 0.027 0.918 0.027 0.918c 0 0.081 -0.063 0.117 -0.144 0.117c -0.333 -0.108 -1.053 -0.207 -1.692 -0.234c -0.027 -0.108 -0.018 -0.207 0.027 -0.288c 0.567 -0.045 0.612 -0.054 0.612 -0.675v -3.942c 0 -0.747 -0.144 -0.828 -0.693 -0.855c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.783 0.018 1.278 0.018c 0.432 0 0.711 -0.009 1.098 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.378 0.027 -0.513 0.108 -0.513 0.855v 1.845c 0.378 0.234 0.675 0.342 0.837 0.342c 0.36 0 0.675 -0.162 0.675 -0.675v -1.503c 0 -0.756 -0.144 -0.837 -0.513 -0.864c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.666 0.018 1.098 0.018c 0.495 0 0.891 -0.009 1.278 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.549 0.027 -0.693 0.108 -0.693 0.864Z "/></symbol><symbol id="g965CA1D8408744C80095348185AD8EB9" overflow="visible"><path d="M 0 0m 2.655 0.441c 0.063 -0.369 0.306 -0.531 0.702 -0.531c 0.495 0 0.846 0.189 1.179 0.504c -0.018 0.108 -0.054 0.18 -0.162 0.252c -0.117 -0.09 -0.207 -0.126 -0.378 -0.126c -0.198 0 -0.252 0.162 -0.252 0.603l 0.018 1.296c 0 1.296 -0.801 1.557 -1.539 1.557c -0.657 0 -1.665 -0.378 -1.665 -0.972c 0 -0.252 0.108 -0.45 0.459 -0.45c 0.324 0 0.558 0.198 0.558 0.414c 0 0.045 -0.009 0.099 -0.018 0.153c -0.018 0.09 -0.036 0.18 -0.018 0.27c 0.009 0.099 0.081 0.207 0.378 0.207c 0.378 0 0.693 -0.162 0.693 -1.305l -0.603 -0.189c -0.945 -0.297 -1.611 -0.558 -1.611 -1.269c 0 -0.621 0.342 -0.945 1.125 -0.945c 0.261 0 0.783 0.288 1.08 0.522Z m -0.045 1.521v -1.188c -0.225 -0.18 -0.45 -0.324 -0.612 -0.324c -0.387 0 -0.522 0.261 -0.522 0.54c 0 0.333 0.027 0.612 0.666 0.819Z "/></symbol><symbol id="g77DFF579C4297C58BB534BE65B39B6CA" overflow="visible"><path d="M 0 0m 2.052 1.098v 1.809c 0.36 0.243 0.72 0.423 0.882 0.423c 0.36 0 0.63 -0.162 0.63 -0.675v -1.503c 0 -0.756 -0.144 -0.837 -0.513 -0.864c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.666 0.018 1.098 0.018c 0.495 0 0.891 -0.009 1.278 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.549 0.027 -0.693 0.108 -0.693 0.864v 1.404c 0 0.99 -0.423 1.44 -1.197 1.44c -0.36 0 -0.999 -0.396 -1.494 -0.738c -0.027 0.315 -0.063 0.585 -0.063 0.585c -0.009 0.108 -0.081 0.153 -0.207 0.153c -0.333 -0.09 -0.873 -0.216 -1.494 -0.297c -0.018 -0.054 0 -0.234 0.018 -0.288c 0.495 -0.045 0.585 -0.117 0.585 -0.63v -1.683c 0 -0.747 -0.099 -0.765 -0.648 -0.81c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.756 0.018 1.233 0.018c 0.414 0 0.666 -0.009 1.053 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.378 0.036 -0.468 0.063 -0.468 0.81Z "/></symbol><symbol id="g5D166F0F7E5A44368BF2E983F6EE9FD5" overflow="visible"><path d="M 0 0m 2.088 1.098v 1.791c 0 0.45 0.036 0.954 0.036 0.954c 0 0.099 -0.081 0.153 -0.207 0.153c -0.252 -0.099 -0.981 -0.171 -1.602 -0.252c -0.018 -0.054 0 -0.234 0.018 -0.288c 0.495 -0.045 0.585 -0.117 0.585 -0.63v -1.728c 0 -0.747 -0.099 -0.765 -0.648 -0.81c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.756 0.018 1.233 0.018c 0.477 0 0.846 -0.009 1.233 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.549 0.036 -0.648 0.063 -0.648 0.81Z m -1.215 4.266c 0 -0.297 0.216 -0.594 0.576 -0.594c 0.405 0 0.639 0.324 0.639 0.558c 0 0.27 -0.207 0.594 -0.585 0.594c -0.423 0 -0.63 -0.288 -0.63 -0.558Z "/></symbol><symbol id="g5CCD08CEE029BB1E1252C86C73083DDC" overflow="visible"><path d="M 0 0m 0.432 1.314c 0.036 -0.441 0.081 -0.864 0.153 -1.206c 0.171 -0.054 0.747 -0.198 1.251 -0.198c 0.693 0 1.557 0.378 1.557 1.161c 0 0.306 -0.072 0.549 -0.279 0.774c -0.252 0.288 -0.63 0.513 -1.044 0.693c -0.36 0.153 -0.486 0.441 -0.486 0.702c 0 0.207 0.171 0.378 0.432 0.378c 0.315 0 0.621 -0.288 0.846 -0.837c 0.162 -0.027 0.261 -0.018 0.351 0.045c 0 0.324 -0.036 0.666 -0.117 0.954c -0.288 0.126 -0.513 0.216 -1.008 0.216c -0.477 0 -0.927 -0.18 -1.215 -0.468c -0.207 -0.207 -0.306 -0.459 -0.306 -0.702c 0 -0.27 0.108 -0.486 0.279 -0.675c 0.279 -0.306 0.774 -0.621 1.044 -0.747c 0.36 -0.162 0.459 -0.486 0.459 -0.702c 0 -0.288 -0.288 -0.441 -0.531 -0.441c -0.405 0 -0.837 0.414 -1.026 1.071c -0.144 0.027 -0.216 0.018 -0.36 -0.018Z "/></symbol><symbol id="gEA697D3AA600950D3503999204808095" overflow="visible"><path d="M 0 0m 3.034 3.2042c -0.1998 0.0222 -0.296 0.0444 -0.592 0.0444c -0.7918 0 -1.8648 -1.1618 -1.8648 -2.3236c 0 -0.4144 0.0962 -0.999 0.7178 -0.999c 0.3922 0 0.8066 0.407 1.2506 1.0656l 0.0148 -0.0148l -0.0962 -0.3108c -0.0518 -0.1702 -0.074 -0.3182 -0.074 -0.407c 0 -0.1406 0.0518 -0.333 0.3034 -0.333c 0.4588 0 0.7548 0.296 0.9472 0.7178c -0.037 0.0666 -0.074 0.1184 -0.1702 0.1184c -0.1998 -0.2738 -0.3404 -0.3922 -0.4144 -0.3922c -0.0222 0 -0.0888 0.0148 -0.0888 0.1036c 0 0.0666 0.0444 0.2738 0.074 0.4144l 0.5106 2.3014c -0.0518 0 -0.0962 0 -0.148 0c -0.1332 -0.0074 -0.259 -0.0148 -0.37 0.0148Z m -0.37 -1.5836c -0.3626 -0.666 -0.9324 -1.2876 -1.1692 -1.2876c -0.2516 0 -0.3256 0.296 -0.3256 0.7104c 0 0.7844 0.6142 1.9758 1.295 1.9758c 0.1554 0 0.3182 -0.0518 0.4588 -0.1406c 0 0 -0.074 -0.7844 -0.259 -1.258Z "/></symbol><symbol id="g798C35D1731787BE6C5AA5B1CEBDE2CE" overflow="visible"><path d="M 0 0m 1.3764 3.1746l -0.3922 -0.0222c -0.1406 -0.0074 -0.1924 -0.0666 -0.2072 -0.1258c -0.0074 -0.0222 -0.0296 -0.111 -0.0296 -0.1258c 0 -0.0148 0.0222 -0.0148 0.0444 -0.0148h 0.518l -0.4514 -2.0128c -0.0518 -0.2368 -0.1036 -0.4662 -0.1036 -0.6068c 0 -0.2664 0.1332 -0.3404 0.3626 -0.3404c 0.333 0 0.8214 0.3034 1.073 0.7622c -0.0222 0.0962 -0.074 0.1406 -0.1628 0.1406c -0.3404 -0.3848 -0.4736 -0.4588 -0.592 -0.4588c -0.0222 0 -0.0962 0.0148 -0.0962 0.1036c 0 0.0666 0.0222 0.2146 0.0814 0.4662l 0.4366 1.9462h 0.7252c 0.0888 0.037 0.1554 0.2294 0.074 0.2886h -0.7326l 0.074 0.333c 0.0296 0.1406 0.0962 0.3552 0.0962 0.444c 0 0.1258 -0.0592 0.1998 -0.296 0.1998c -0.2664 0 -0.2516 -0.333 -0.3256 -0.6068Z "/></symbol><symbol id="g28C6CD81BBA25752DE65F787116FCF9F" overflow="visible"><path d="M 0 0m 1.2358 1.4726c 1.9018 0.37 1.9018 0.9324 1.9018 1.2136c 0 0.0074 0 0.0074 0 0.0148c 0 0.185 -0.1702 0.5476 -0.703 0.5476c -1.2876 0 -1.8204 -1.258 -1.8204 -2.1978c 0 -0.629 0.296 -1.1248 0.9102 -1.1248c 0.4958 0 0.9472 0.259 1.3838 0.8214c -0.037 0.0814 -0.0814 0.1184 -0.1702 0.1184c -0.4218 -0.4292 -0.592 -0.4958 -0.9472 -0.4958c -0.333 0 -0.5624 0.1776 -0.5624 0.851c 0 0.037 0 0.1924 0.0074 0.2516Z m 1.3912 1.2654c 0 -0.666 -0.777 -0.9102 -1.3394 -0.9842c 0.259 1.0508 0.666 1.2654 0.9768 1.2654c 0.2664 0 0.3626 -0.0666 0.3626 -0.2812Z "/></symbol><symbol id="gA0586F0D2D4C6A9E691AAC05AA88B5C6" overflow="visible"><path d="M 0 0m 1.6354 2.109l 0.0592 0.259c 0.0666 0.2886 0.1332 0.5476 0.1332 0.6734c 0 0.111 -0.0666 0.185 -0.1628 0.185c -0.2368 0 -0.5402 -0.0518 -0.888 -0.0962c -0.0518 -0.0592 -0.037 -0.1406 0.0074 -0.2072l 0.296 -0.0222c 0.0888 -0.0074 0.1332 -0.074 0.1332 -0.148c 0 -0.0666 0 -0.1702 -0.0518 -0.3774l -0.407 -1.8426c -0.037 -0.1554 -0.0962 -0.2886 -0.0962 -0.407c 0 -0.1184 0.0666 -0.1998 0.2812 -0.1998c 0.259 0 0.2664 0.3182 0.3404 0.6068l 0.2146 0.8658c 0.3552 0.6438 0.7696 1.332 0.9398 1.332c 0.074 0 0.111 -0.037 0.1554 -0.0888c 0.0518 -0.0592 0.148 -0.1554 0.2516 -0.1554c 0.1998 0 0.333 0.2146 0.333 0.4144c 0 0.1554 -0.111 0.3478 -0.3848 0.3478c -0.37 0 -0.7992 -0.4588 -1.1248 -1.147Z "/></symbol><symbol id="g51D2901EEF863DC6E5D6F7FFEB96FC3" overflow="visible"><path d="M 0 0m 1.3468 2.3754l -0.4218 -1.8426c -0.037 -0.148 -0.0962 -0.333 -0.0962 -0.407c 0 -0.1184 0.0666 -0.1998 0.3034 -0.1998c 0.2812 0 0.2664 0.3256 0.3404 0.6068l 0.296 1.1914c 0.5772 0.8362 0.9916 1.0804 1.2284 1.0804c 0.148 0 0.1924 -0.0518 0.1924 -0.2738c 0 -0.0888 -0.0074 -0.2664 -0.0592 -0.4958l -0.3552 -1.5022c -0.037 -0.148 -0.0962 -0.333 -0.0962 -0.407c 0 -0.1184 0.0666 -0.1998 0.3034 -0.1998c 0.2812 0 0.2738 0.3256 0.3404 0.6068l 0.2812 1.1618c 0.629 0.8806 0.9176 1.11 1.1544 1.11c 0.1406 0 0.2146 -0.0518 0.2146 -0.2738c 0 -0.0814 -0.0074 -0.296 -0.0666 -0.5254l -0.2886 -1.1618c -0.074 -0.3034 -0.1332 -0.6068 -0.1332 -0.6734c 0 -0.148 0.1332 -0.2442 0.2368 -0.2442c 0.4366 0 0.8436 0.2146 1.0952 0.8214c -0.0148 0.0666 -0.0666 0.1036 -0.1628 0.1036c -0.1776 -0.2812 -0.3848 -0.481 -0.518 -0.481c -0.037 0 -0.0518 0.0444 -0.0518 0.0814c 0 0.0296 0.0148 0.2146 0.037 0.296l 0.3478 1.3172c 0.0444 0.1702 0.074 0.3996 0.074 0.5402c 0 0.4662 -0.222 0.6438 -0.4514 0.6438c -0.5254 0 -0.9324 -0.4514 -1.3616 -0.9916c 0.0222 0.1184 0.0296 0.2516 0.0296 0.3478c 0 0.518 -0.222 0.6438 -0.4292 0.6438c -0.5328 0 -1.0138 -0.3922 -1.4504 -0.9546l -0.0148 0.0074l 0.0148 0.0666c 0.074 0.2886 0.1702 0.5772 0.1702 0.703c 0 0.1036 -0.0592 0.1554 -0.1554 0.1554c -0.2368 0 -0.5698 -0.0518 -0.9176 -0.0962c -0.0518 -0.0592 -0.037 -0.1406 0.0074 -0.2072l 0.296 -0.0222c 0.0888 -0.0074 0.1332 -0.074 0.1332 -0.148c 0 -0.0666 -0.0222 -0.1702 -0.0666 -0.3774Z "/></symbol><symbol id="g8D93301AB31C91F9A2CCF9C7BA1DBF57" overflow="visible"><path d="M 0 0m 1.813 2.368c 0.0666 0.2886 0.1554 0.5772 0.1554 0.703c 0 0.1036 -0.0592 0.1554 -0.1554 0.1554c -0.2368 0 -0.5698 -0.0518 -0.9176 -0.0962c -0.0518 -0.0592 -0.037 -0.1406 0.0074 -0.2072l 0.296 -0.0222c 0.0888 -0.0074 0.1332 -0.074 0.1332 -0.148c 0 -0.0666 -0.0148 -0.1702 -0.0666 -0.3774l -0.3478 -1.5244c -0.0518 -0.2368 -0.1258 -0.5402 -0.1258 -0.6808c 0 -0.1406 0.0814 -0.2442 0.3034 -0.2442c 0.3552 0 0.6882 0.2516 1.0286 0.6882c -0.0222 0.0666 -0.0666 0.1258 -0.1702 0.1258c -0.1924 -0.222 -0.407 -0.37 -0.481 -0.37c -0.0518 0 -0.074 0.037 -0.074 0.1258c 0 0.0666 0.037 0.2294 0.0814 0.4218Z m -0.3256 1.85c 0 -0.1924 0.1628 -0.3552 0.3552 -0.3552c 0.1924 0 0.3552 0.1628 0.3552 0.3552c 0 0.1924 -0.1628 0.3552 -0.3552 0.3552c -0.1924 0 -0.3552 -0.1628 -0.3552 -0.3552Z "/></symbol><symbol id="g19B0D44A63D904EB9E4EBB7C5C9212CB" overflow="visible"><path d="M 0 0m 3.2042 0.9176l 0.2812 1.1766c 0.0592 0.259 0.0962 0.4292 0.0962 0.5624c 0 0.444 -0.1998 0.592 -0.4884 0.592c -0.3848 0 -0.703 -0.1554 -1.3838 -0.9546l -0.0074 0.0074l 0.0222 0.0666c 0.0962 0.2738 0.1628 0.592 0.1628 0.703c 0 0.1036 -0.0592 0.1554 -0.1554 0.1554c -0.2368 0 -0.5846 -0.0444 -0.9324 -0.0962c -0.0518 -0.0592 -0.037 -0.1406 0.0074 -0.2072l 0.296 -0.0222c 0.0888 -0.0074 0.1332 -0.074 0.1332 -0.148c 0 -0.0592 -0.0222 -0.1702 -0.0666 -0.3774l -0.4144 -1.8426c -0.037 -0.148 -0.0962 -0.333 -0.0962 -0.407c 0 -0.1184 0.0814 -0.1998 0.3182 -0.1998c 0.2812 0 0.2738 0.3256 0.3404 0.6068l 0.2812 1.2284c 0.4662 0.6068 0.8732 1.0434 1.1396 1.0434c 0.1554 0 0.259 -0.037 0.259 -0.2664c 0 -0.0888 -0.0444 -0.296 -0.0962 -0.5032l -0.2812 -1.184c -0.0592 -0.2368 -0.1258 -0.5402 -0.1258 -0.6808c 0 -0.1406 0.0814 -0.2442 0.3034 -0.2442c 0.3552 0 0.7104 0.2516 1.0508 0.6882c -0.0222 0.0666 -0.0666 0.1258 -0.1702 0.1258c -0.1924 -0.222 -0.407 -0.37 -0.481 -0.37c -0.0518 0 -0.074 0.037 -0.074 0.1258c 0 0.0666 0.037 0.2294 0.0814 0.4218Z "/></symbol><symbol id="g4A2782C275CDF79DA78B5EAF78F9C469" overflow="visible"><path d="M 0 0m 2.1164 4.3142c 0.111 0.481 0.185 0.777 0.185 0.777c 0 0.0518 -0.0222 0.074 -0.0888 0.074c -0.1998 -0.074 -0.7326 -0.1702 -1.036 -0.1924l -0.0222 -0.1776c 0 -0.0222 0.0074 -0.037 0.037 -0.037l 0.2294 -0.0148c 0.0962 0 0.1554 -0.0444 0.1554 -0.2072c 0 -0.0814 -0.0148 -0.2072 -0.0518 -0.37l -0.7326 -3.2856c -0.0518 -0.2368 -0.1036 -0.4884 -0.1036 -0.629c 0 -0.1406 0.037 -0.3256 0.3108 -0.3256c 0.333 0 0.74 0.1924 1.073 0.7474c -0.0296 0.074 -0.0666 0.1258 -0.1628 0.1258c -0.222 -0.2664 -0.4588 -0.4292 -0.5476 -0.4292c -0.0592 0 -0.0888 0.0444 -0.0888 0.1036c 0 0.0592 0.0222 0.1702 0.0888 0.4662Z "/></symbol><symbol id="g1DB8A00DF728AA39A61155EC2A73D367" overflow="visible"><path d="M 0 0m 1.5022 4.7952c 0 -0.1776 0.111 -0.2664 0.2516 -0.3034c 0.1184 -0.0296 0.2294 -0.0592 0.2294 -0.1924c 0 -0.2072 -0.3774 -0.555 -0.7696 -0.6438c -0.0222 -0.0666 0 -0.1258 0.0592 -0.1702c 0.8584 0.1554 1.0656 0.8214 1.0656 1.2062c 0 0.296 -0.1702 0.4736 -0.3996 0.4736c -0.222 0 -0.4366 -0.1406 -0.4366 -0.37Z "/></symbol><symbol id="g9195F18F2BF6DE74C0C8DD65892D26F" overflow="visible"><path d="M 0 0m 1.2876 -0.074h 0.111c 0.7252 0 1.1618 0.3996 1.1618 0.9472c 0 0.3478 -0.1998 0.6882 -0.8806 1.1396c -0.222 0.148 -0.296 0.2812 -0.296 0.4662c 0 0.259 0.148 0.5254 0.4662 0.5254c 0.185 0 0.3108 -0.0592 0.333 -0.2146c 0.0222 -0.1776 0.148 -0.3848 0.3404 -0.3848c 0.2072 0 0.2664 0.1332 0.2664 0.2516c 0 0.2664 -0.3848 0.592 -0.8436 0.592c -0.6438 0 -1.036 -0.4736 -1.036 -0.925c 0 -0.296 0.1628 -0.6142 0.6438 -0.9398c 0.3922 -0.2664 0.4514 -0.5106 0.4514 -0.666c 0 -0.407 -0.296 -0.5476 -0.629 -0.5476c -0.1924 0 -0.296 0.037 -0.3182 0.1998c -0.0222 0.1702 -0.1258 0.3922 -0.3478 0.3922c -0.2146 0 -0.2738 -0.1776 -0.2738 -0.259c 0 -0.2738 0.3404 -0.5476 0.851 -0.5772Z "/></symbol><symbol id="g41C7C56EAFB5E7E0365E9A42CE486F8C" overflow="visible"><path d="M 0 0m 0.5772 1.1988c 0 -0.3922 0.0962 -1.2728 1.036 -1.2728c 0.2368 0 0.4662 0.0296 0.6808 0.1406c 0.6438 0.3256 1.147 1.11 1.147 1.9832c 0 0.5328 -0.1332 1.1988 -1.0434 1.1988c -1.2358 0 -1.8204 -1.1618 -1.8204 -2.0498Z m 0.6142 0.0592c 0 0.666 0.2886 1.7464 1.073 1.7464c 0.222 0 0.3404 -0.1184 0.4514 -0.3256c 0.0888 -0.185 0.111 -0.4588 0.111 -0.6808c 0 -0.296 -0.0444 -0.9324 -0.3182 -1.3468c -0.2072 -0.3182 -0.5032 -0.4514 -0.7844 -0.4514c -0.2146 0 -0.5328 0.2812 -0.5328 1.0582Z "/></symbol><symbol id="gE96EA473BA9C7FC59449D03505FC99F5" overflow="visible"><path d="M 0 0m 0.4588 0.333c 0 -0.1776 0.111 -0.2664 0.2516 -0.3034c 0.1184 -0.0296 0.2294 -0.0592 0.2294 -0.1924c 0 -0.2072 -0.3774 -0.555 -0.7696 -0.6438c -0.0222 -0.0666 0 -0.1258 0.0592 -0.1702c 0.8584 0.1554 1.0656 0.8214 1.0656 1.2062c 0 0.296 -0.1702 0.4736 -0.3996 0.4736c -0.222 0 -0.4366 -0.1406 -0.4366 -0.37Z "/></symbol><symbol id="g331101EC19D94DBA83B72BC0E35993FF" overflow="visible"><path d="M 0 0m 2.553 0.8584l -0.0518 -0.1924c -0.0444 -0.1776 -0.074 -0.3182 -0.074 -0.407c 0 -0.1406 0.0518 -0.333 0.3034 -0.333c 0.4588 0 0.7548 0.296 0.9472 0.7178c -0.037 0.0666 -0.074 0.1184 -0.1702 0.1184c -0.1998 -0.2738 -0.3404 -0.3922 -0.4144 -0.3922c -0.0222 0 -0.0888 0.0148 -0.0888 0.1036c 0 0.0666 0.0444 0.2738 0.074 0.4144l 0.7844 3.4262c 0.111 0.481 0.185 0.777 0.185 0.777c 0 0.0518 -0.0222 0.074 -0.0888 0.074c -0.1998 -0.074 -0.7326 -0.1702 -1.036 -0.1924l -0.0222 -0.1776c 0 -0.0222 0.0074 -0.037 0.037 -0.037l 0.2294 -0.0148c 0.0962 0 0.1554 -0.0444 0.1554 -0.2072c 0 -0.0814 -0.0148 -0.2072 -0.0518 -0.37l -0.2738 -1.3246h -0.0074c -0.0888 0.222 -0.3034 0.407 -0.5846 0.407c -0.7918 0 -1.8056 -1.0952 -1.8056 -2.257c 0 -0.407 0.1036 -1.0656 0.7548 -1.0656c 0.3848 0 0.7326 0.296 1.1766 0.9472Z m 0 0.5772c -0.3626 -0.666 -0.7844 -1.1692 -1.073 -1.1692c -0.2368 0 -0.2886 0.4292 -0.2886 0.8436c 0 0.7844 0.555 1.8722 1.2358 1.8722c 0.2812 0 0.4662 -0.3848 0.4662 -0.6438c 0 -0.1702 -0.1258 -0.5106 -0.3404 -0.9028Z "/></symbol><symbol id="g5F6B5B58B9859169D31B8362C347FEDF" overflow="visible"><path d="M 0 0m 1.5466 -0.074c 0.5328 0 1.0138 0.3848 1.369 0.8806c -0.0222 0.074 -0.0962 0.1258 -0.1628 0.1258c -0.2886 -0.3256 -0.5846 -0.5698 -0.9768 -0.5698c -0.1258 0 -0.2664 0.0296 -0.37 0.1702c -0.111 0.1406 -0.185 0.2886 -0.185 0.7326c 0 1.1026 0.518 1.7538 1.0878 1.7538c 0.1036 0 0.3108 -0.037 0.3108 -0.2812c 0 -0.0444 -0.0148 -0.1036 -0.037 -0.1406c -0.0222 -0.0296 -0.037 -0.111 -0.037 -0.1554c 0 -0.1184 0.074 -0.2368 0.1998 -0.2368c 0.1998 0 0.3848 0.148 0.3848 0.333c 0 0.2886 -0.0222 0.7104 -0.8288 0.7104c -0.296 0 -0.7696 -0.1924 -1.0804 -0.518c -0.3626 -0.3922 -0.6068 -0.962 -0.6068 -1.628c 0 -0.2442 0.0518 -0.5772 0.222 -0.8214c 0.1554 -0.2146 0.407 -0.3552 0.7104 -0.3552Z "/></symbol><symbol id="gE58F150F864B781A35F9BB7FE925D9CB" overflow="visible"><path d="M 0 0m 1.3024 0.5328l 0.2812 1.2284c 0.4662 0.6068 0.9472 1.0434 1.2136 1.0434c 0.1554 0 0.259 -0.0444 0.259 -0.2738c 0 -0.1036 -0.0148 -0.2442 -0.074 -0.4958l -0.2812 -1.184c -0.0592 -0.2368 -0.1258 -0.5402 -0.1258 -0.6808c 0 -0.1406 0.0814 -0.2442 0.3034 -0.2442c 0.3552 0 0.6882 0.2516 1.0286 0.6882c -0.0222 0.0666 -0.0666 0.1258 -0.1702 0.1258c -0.1924 -0.222 -0.407 -0.37 -0.481 -0.37c -0.0518 0 -0.074 0.037 -0.074 0.1258c 0 0.0666 0.037 0.2294 0.0814 0.4218l 0.2812 1.1766c 0.0592 0.259 0.0962 0.4292 0.0962 0.5624c 0 0.444 -0.1998 0.592 -0.4884 0.592c -0.3848 0 -0.7696 -0.1554 -1.4504 -0.9398l 0.4514 2.0054c 0.111 0.481 0.185 0.777 0.185 0.777c 0 0.0518 -0.0222 0.074 -0.0888 0.074c -0.1998 -0.074 -0.7326 -0.1702 -1.036 -0.1924l -0.0222 -0.1776c 0 -0.0222 0.0074 -0.037 0.037 -0.037l 0.2294 -0.0148c 0.0962 0 0.1554 -0.0444 0.1554 -0.2072c 0 -0.0814 -0.0148 -0.2072 -0.0518 -0.37l -0.8066 -3.6334c -0.037 -0.148 -0.0962 -0.333 -0.0962 -0.407c 0 -0.1184 0.0666 -0.1998 0.3034 -0.1998c 0.2812 0 0.2738 0.3256 0.3404 0.6068Z "/></symbol><symbol id="g6516EBF8634F8ACF12BB342ADDDCB8A6" overflow="visible"><path d="M 0 0m 1.287231445 0.483999023v -1.946293945h -0.63503418v 5.306826172h 0.63503418v -0.490864258q 0.157900391 0.284907227 0.420495605 0.434226074q 0.262595215 0.149318848 0.605856934 0.149318848q 0.696821289 0 1.093288574 -0.538920898q 0.396467285 -0.538920898 0.396467285 -1.493188477q 0 -0.937104492 -0.398183594 -1.470876465q -0.398183594 -0.533771973 -1.091572266 -0.533771973q -0.350126953 0 -0.612722168 0.149318848q -0.262595215 0.149318848 -0.413630371 0.434226074Z m 1.853613281 1.434833984q 0 0.734580078 -0.23170166 1.108735352q -0.23170166 0.374155273 -0.688239746 0.374155273q -0.459970703 0 -0.696821289 -0.375871582q -0.236850586 -0.375871582 -0.236850586 -1.107019043q 0 -0.727714844 0.236850586 -1.105302734q 0.236850586 -0.377587891 0.696821289 -0.377587891q 0.456538086 0 0.688239746 0.374155273q 0.23170166 0.374155273 0.23170166 1.108735352Z "/></symbol><symbol id="g8B9E512F4CAEADE270CB73386A23287B" overflow="visible"><path d="M 0 0m 2.409697266 1.932563477h -0.209389648q -0.552651367 0 -0.832409668 -0.193942871q -0.279758301 -0.193942871 -0.279758301 -0.578395996q 0 -0.346694336 0.209389648 -0.538920898q 0.209389648 -0.192226563 0.580112305 -0.192226563q 0.521757813 0 0.820395508 0.362141113q 0.298637695 0.362141113 0.302070313 1.00060791v 0.140737305h -0.590410156Z m 1.225444336 0.260878906v -2.193442383h -0.63503418v 0.569814453q -0.202524414 -0.343261719 -0.509743652 -0.506311035q -0.307219238 -0.163049316 -0.746594238 -0.163049316q -0.586977539 0 -0.937104492 0.331247559q -0.350126953 0.331247559 -0.350126953 0.887331543q 0 0.641899414 0.430793457 0.974863281q 0.430793457 0.332963867 1.264919434 0.332963867h 0.847856445v 0.099545898q -0.003432617 0.459970703 -0.233417969 0.667644043q -0.229985352 0.20767334 -0.734580078 0.20767334q -0.322666016 0 -0.652197266 -0.092680664q -0.32953125 -0.092680664 -0.641899414 -0.271176758v 0.631601563q 0.350126953 0.13387207 0.67107666 0.200808105q 0.320949707 0.066936035 0.62302002 0.066936035q 0.477133789 0 0.815246582 -0.140737305q 0.338112793 -0.140737305 0.547502441 -0.422211914q 0.130439453 -0.171630859 0.185361328 -0.423928223q 0.054921875 -0.252297363 0.054921875 -0.75689209Z "/></symbol><symbol id="g9DA584B3127C4963BD7B072B4AE98539" overflow="visible"><path d="M 0 0m 3.964672852 3.05159668q -0.202524414 0.157900391 -0.411914063 0.229985352q -0.209389648 0.072084961 -0.459970703 0.072084961q -0.590410156 0 -0.90277832 -0.370722656q -0.312368164 -0.370722656 -0.312368164 -1.070976563v -1.911967773h -0.63503418v 3.84453125h 0.63503418v -0.751743164q 0.157900391 0.408481445 0.485715332 0.626452637q 0.327814941 0.217971191 0.777487793 0.217971191q 0.233417969 0 0.435942383 -0.058354492q 0.202524414 -0.058354492 0.387885742 -0.181928711v -0.645332031Z "/></symbol><symbol id="g15DEB9D2A8B3973474F57A46943BB23F" overflow="visible"><path d="M 0 0m 2.945185547 3.353666992v 1.987485352h 0.631601563v -5.341152344h -0.631601563v 0.483999023q -0.157900391 -0.284907227 -0.420495605 -0.434226074q -0.262595215 -0.149318848 -0.605856934 -0.149318848q -0.696821289 0 -1.096721191 0.540637207q -0.399899902 0.540637207 -0.399899902 1.491472168q 0 0.937104492 0.401616211 1.470876465q 0.401616211 0.533771973 1.095004883 0.533771973q 0.346694336 0 0.611005859 -0.149318848q 0.264311523 -0.149318848 0.41534668 -0.434226074Z m -1.857045898 -1.434833984q 0 -0.734580078 0.233417969 -1.108735352q 0.233417969 -0.374155273 0.689956055 -0.374155273q 0.456538086 0 0.69510498 0.377587891q 0.238566895 0.377587891 0.238566895 1.105302734q 0 0.731147461 -0.238566895 1.107019043q -0.238566895 0.375871582 -0.69510498 0.375871582q -0.456538086 0 -0.689956055 -0.374155273q -0.233417969 -0.374155273 -0.233417969 -1.108735352Z "/></symbol><symbol id="g56CDD368D5583E871C775654264D6775" overflow="visible"><path d="M 0 0m 3.817070313 2.080166016v -0.308935547h -2.735795898v -0.020595703q 0 -0.628168945 0.327814941 -0.971430664q 0.327814941 -0.343261719 0.925090332 -0.343261719q 0.302070313 0 0.631601563 0.096113281q 0.32953125 0.096113281 0.703686523 0.291772461v -0.628168945q -0.360424805 -0.147602539 -0.69510498 -0.221403809q -0.334680176 -0.07380127 -0.64704834 -0.07380127q -0.895913086 0 -1.400507813 0.53720459q -0.504594727 0.53720459 -0.504594727 1.481174316q 0 0.919941406 0.494296875 1.469160156q 0.494296875 0.54921875 1.318125 0.54921875q 0.734580078 0 1.158508301 -0.497729492q 0.423928223 -0.497729492 0.423928223 -1.359316406Z m -0.631601563 0.185361328q -0.013730469 0.556083984 -0.262595215 0.846140137q -0.248864746 0.290056152 -0.715700684 0.290056152q -0.456538086 0 -0.751743164 -0.302070313q -0.295205078 -0.302070313 -0.350126953 -0.837558594l 2.080166016 0.003432617Z "/></symbol><symbol id="gAFEBBDFB460EB0C08478C1E849AF4DD7" overflow="visible"><path d="M 0 0m 3.339936523 3.71065918v -0.617871094q -0.271176758 0.157900391 -0.545786133 0.236850586q -0.274609375 0.078950195 -0.559516602 0.078950195q -0.429077148 0 -0.640183105 -0.139020996q -0.211105957 -0.139020996 -0.211105957 -0.423928223q 0 -0.257446289 0.157900391 -0.384453125q 0.157900391 -0.127006836 0.786069336 -0.247148438l 0.254013672 -0.048056641q 0.470268555 -0.089248047 0.712268066 -0.356992188q 0.241999512 -0.267744141 0.241999512 -0.696821289q 0 -0.569814453 -0.405048828 -0.89076416q -0.405048828 -0.320949707 -1.125898438 -0.320949707q -0.284907227 0 -0.597275391 0.060070801q -0.312368164 0.060070801 -0.676225586 0.180212402v 0.652197266q 0.35355957 -0.181928711 0.676225586 -0.272893066q 0.322666016 -0.090964355 0.611005859 -0.090964355q 0.418779297 0 0.648764648 0.169914551q 0.229985352 0.169914551 0.229985352 0.47541748q 0 0.439375 -0.840991211 0.607573242l -0.027460938 0.006865234l -0.236850586 0.048056641q -0.545786133 0.106411133 -0.796367188 0.358708496q -0.250581055 0.252297363 -0.250581055 0.688239746q 0 0.552651367 0.374155273 0.853005371q 0.374155273 0.300354004 1.067543945 0.300354004q 0.308935547 0 0.593842773 -0.056638184q 0.284907227 -0.056638184 0.559516602 -0.169914551Z "/></symbol><symbol id="g8FCB107D521EED6F10C0AD408CC4A120" overflow="visible"><path d="M 0 0m 2.107626953 4.936103516v -1.091572266h 1.434833984v -0.490864258h -1.434833984v -2.08703125q 0 -0.425644531 0.161333008 -0.593842773q 0.161333008 -0.168198242 0.562949219 -0.168198242h 0.710551758v -0.504594727h -0.772338867q -0.710551758 0 -1.002324219 0.284907227q -0.291772461 0.284907227 -0.291772461 0.981728516v 2.08703125h -1.026352539v 0.490864258h 1.026352539v 1.091572266h 0.631601563Z "/></symbol><symbol id="gA9CF33D0D1D8CAA2E91905CCF7AF386E" overflow="visible"><path d="M 0 0m 3.642006836 0.19565918q -0.254013672 -0.147602539 -0.523474121 -0.221403809q -0.269460449 -0.07380127 -0.550935059 -0.07380127q -0.892480469 0 -1.395358887 0.535488281q -0.502878418 0.535488281 -0.502878418 1.482890625q 0 0.947402344 0.502878418 1.482890625q 0.502878418 0.535488281 1.395358887 0.535488281q 0.278041992 0 0.542353516 -0.072084961q 0.264311523 -0.072084961 0.532055664 -0.223120117v -0.662495117q -0.250581055 0.223120117 -0.502878418 0.322666016q -0.252297363 0.099545898 -0.571530762 0.099545898q -0.593842773 0 -0.913076172 -0.384453125q -0.319233398 -0.384453125 -0.319233398 -1.0984375q 0 -0.710551758 0.320949707 -1.096721191q 0.320949707 -0.386169434 0.911359863 -0.386169434q 0.32953125 0 0.590410156 0.101262207q 0.260878906 0.101262207 0.483999023 0.314084473v -0.655629883Z "/></symbol><symbol id="g1C44445D4E73BE0785133DA3643417B4" overflow="visible"><path d="M 0 0m 3.607680664 2.382236328v -2.382236328h -0.63503418v 2.382236328q 0 0.518325195 -0.181928711 0.762041016q -0.181928711 0.24371582 -0.569814453 0.24371582q -0.442807617 0 -0.681374512 -0.314084473q -0.238566895 -0.314084473 -0.238566895 -0.901062012v -2.17284668h -0.631601563v 5.341152344h 0.631601563v -2.073300781q 0.168198242 0.32953125 0.456538086 0.499445801q 0.288339844 0.169914551 0.68309082 0.169914551q 0.586977539 0 0.877033691 -0.386169434q 0.290056152 -0.386169434 0.290056152 -1.168806152Z "/></symbol><symbol id="gA53B11B5D7DE22624F603554D7751F7A" overflow="visible"><path d="M 0 0m 0 3.84453125h 0.624736328l 0.669360352 -3.106518555l 0.54921875 1.984052734h 0.538920898l 0.556083984 -1.984052734l 0.669360352 3.106518555h 0.624736328l -0.899345703 -3.84453125h -0.604140625l -0.614438477 2.107626953l -0.611005859 -2.107626953h -0.604140625l -0.899345703 3.84453125Z "/></symbol><symbol id="gB36B05DB7C8B106A24538B5154E2ECAE" overflow="visible"><path d="M 0 0m 2.114492187 3.401723633q -0.480566406 0 -0.727714844 -0.374155273q -0.247148438 -0.374155273 -0.247148438 -1.108735352q 0 -0.731147461 0.247148438 -1.107019043q 0.247148438 -0.375871582 0.727714844 -0.375871582q 0.483999023 0 0.731147461 0.375871582q 0.247148438 0.375871582 0.247148438 1.107019043q 0 0.734580078 -0.247148438 1.108735352q -0.247148438 0.374155273 -0.731147461 0.374155273Z m 0 0.535488281q 0.799799805 0 1.223728027 -0.518325195q 0.423928223 -0.518325195 0.423928223 -1.500053711q 0 -0.985161133 -0.422211914 -1.50177002q -0.422211914 -0.516608887 -1.225444336 -0.516608887q -0.799799805 0 -1.222011719 0.516608887q -0.422211914 0.516608887 -0.422211914 1.50177002q 0 0.981728516 0.422211914 1.500053711q 0.422211914 0.518325195 1.222011719 0.518325195Z "/></symbol><symbol id="g79C123D67CCDD083B73E9A197F3F3128" overflow="visible"><path d="M 0 0m 0.810097656 5.341152344h 0.652197266v -3.092788086l 1.657954102 1.596166992h 0.76890625l -1.51378418 -1.448564453l 1.750634766 -2.395966797h -0.772338867l -1.421103516 1.984052734l -0.470268555 -0.442807617v -1.541245117h -0.652197266v 5.341152344Z "/></symbol><symbol id="gFF7C46FA036CA39B00652D238CFD3F79" overflow="visible"><path d="M 0 0m 0.3182 3.1746c -0.1036 0 -0.1332 -0.0888 -0.1332 -0.148v -0.0962c 0 -0.037 0.0074 -0.0444 0.037 -0.0444h 0.4366v -2.2274c 0 -0.5254 0.2294 -0.7326 0.5698 -0.7326c 0.3404 0 0.7104 0.1628 0.999 0.4884c -0.0148 0.074 -0.0592 0.1184 -0.1332 0.1258c -0.1924 -0.148 -0.4144 -0.2072 -0.6068 -0.2072c -0.1998 0 -0.2442 0.222 -0.2442 0.6808v 1.8722h 0.7696c 0.074 0 0.1776 0.0296 0.1776 0.0962v 0.148c 0 0.0296 -0.0222 0.0444 -0.0592 0.0444h -0.888v 0.2886c 0 0.481 0.0296 0.777 0.0296 0.777c 0 0.0444 -0.0222 0.0666 -0.0592 0.0666c -0.0296 0 -0.0962 -0.0296 -0.1628 -0.0666c -0.0814 -0.0444 -0.1554 -0.0814 -0.2516 -0.1036c -0.0888 -0.0296 -0.1628 -0.0518 -0.1628 -0.1036c 0 -0.0888 0.0222 -0.037 0.0222 -0.8584Z "/></symbol><symbol id="gCD10CFE8D13D0502D7BABC390C7D620F" overflow="visible"><path d="M 0 0m 1.2358 2.1164c 0 0.1554 0.0666 0.2442 0.1258 0.3108c 0.2812 0.2738 0.6586 0.4366 0.9472 0.4366c 0.148 0 0.3034 -0.0962 0.3922 -0.2664c 0.074 -0.148 0.0888 -0.3478 0.0888 -0.5698v -1.1248c 0 -0.6068 -0.074 -0.6364 -0.4588 -0.6734c -0.037 -0.0444 -0.037 -0.1998 0 -0.2442c 0.2072 0.0074 0.4588 0.0148 0.7548 0.0148c 0.296 0 0.5402 -0.0074 0.7844 -0.0148c 0.037 0.0444 0.037 0.1998 0 0.2442c -0.4144 0.037 -0.4958 0.0666 -0.4958 0.6734v 1.1026c 0 0.407 -0.0296 0.7696 -0.1998 0.9916c -0.1258 0.1628 -0.3552 0.2516 -0.6142 0.2516c -0.3626 0 -0.8066 -0.0962 -1.258 -0.5994c 0 -0.0074 -0.0074 -0.0074 -0.0148 -0.0148c -0.0222 -0.0296 -0.0592 -0.074 -0.0592 0.0148l 0.0074 1.665c 0 0.481 0.0296 0.777 0.0296 0.777c 0 0.0518 -0.0296 0.074 -0.0962 0.074c -0.185 -0.074 -0.74 -0.1776 -1.036 -0.1998c -0.0148 -0.0592 0 -0.1776 0.0444 -0.222c 0.0222 0 0.0444 0 0.0666 0c 0.3256 -0.0222 0.407 -0.0222 0.407 -0.6068v -3.2338c 0 -0.6142 -0.0888 -0.6438 -0.518 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.2442 0.0074 0.518 0.0148 0.814 0.0148c 0.2812 0 0.5254 -0.0074 0.7326 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.3774 0.0296 -0.444 0.0592 -0.444 0.6734Z "/></symbol><symbol id="gAA65137CBD2F12FA15AFBCFC68DD5182" overflow="visible"><path d="M 0 0m 2.8564 0.6882c -0.2738 -0.2812 -0.4884 -0.3996 -0.9176 -0.3996c -0.2664 0 -0.5772 0.1554 -0.8066 0.5328c -0.148 0.2442 -0.2368 0.5846 -0.2368 1.0138l 1.9684 -0.0148c 0.0888 0 0.1406 0.0444 0.1406 0.1258c 0 0.6216 -0.222 1.2876 -1.2506 1.2876c -0.6438 0 -1.48 -0.6142 -1.48 -1.739c 0 -0.4144 0.1036 -0.814 0.3478 -1.0952c 0.2516 -0.296 0.5994 -0.4736 1.1322 -0.4736c 0.5624 0 0.962 0.259 1.258 0.6438c -0.0222 0.074 -0.0666 0.111 -0.1554 0.1184Z m -1.9388 1.3986c 0.1406 0.8362 0.6586 0.9028 0.8362 0.9028c 0.2812 0 0.6142 -0.1554 0.6142 -0.777c 0 -0.0666 -0.0296 -0.1036 -0.111 -0.1036Z "/></symbol><symbol id="gFF10AA7DF63AD4AA0304F9C0BAD6DFB6" overflow="visible"><path d="M 0 0m 0.3552 1.0212c 0.0296 -0.3626 0.0518 -0.7104 0.0518 -1.0212c 0.074 0.0148 0.148 0.0222 0.185 0.0222c 0.0518 0 0.0962 0 0.148 -0.0148c 0.1998 -0.0518 0.3996 -0.0814 0.6734 -0.0814c 0.4144 0 1.1766 0.1998 1.1766 0.9324c 0 0.5032 -0.3626 0.7992 -0.8658 0.9842c -0.444 0.1702 -0.74 0.2812 -0.74 0.6882c 0 0.3034 0.2664 0.4736 0.518 0.4736c 0.1628 0 0.592 -0.0592 0.6882 -0.6882c 0.0444 -0.0444 0.1924 -0.037 0.2368 0.0074c 0.0222 0.2664 0.037 0.5402 0.0444 0.7844c -0.2294 0.037 -0.5846 0.1406 -0.9694 0.1406c -0.5476 0 -1.0434 -0.3552 -1.0434 -0.8288c 0 -0.5402 0.2442 -0.7696 0.814 -1.0064c 0.6142 -0.2516 0.7548 -0.407 0.7548 -0.7252c 0 -0.3626 -0.3552 -0.518 -0.629 -0.518c -0.2886 0 -0.4514 0.0962 -0.5254 0.1776c -0.1628 0.1702 -0.2442 0.4958 -0.2886 0.6808c -0.0444 0.0444 -0.185 0.037 -0.2294 -0.0074Z "/></symbol><symbol id="gDCF05E46321EA4880E85DD8DCA7E84D8" overflow="visible"><path d="M 0 0m 1.3394 0.9028v 1.4726c 0 0.37 0.0296 0.8436 0.0296 0.8436c 0 0.0296 -0.037 0.0518 -0.0962 0.0518c -0.2072 -0.0814 -0.5032 -0.148 -1.0138 -0.2146c -0.0148 -0.0444 0 -0.1628 0.0148 -0.2072c 0.407 -0.037 0.481 -0.0814 0.481 -0.5032v -1.443c 0 -0.6142 -0.0814 -0.6364 -0.5328 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.2442 0.0074 0.5328 0.0148 0.8288 0.0148c 0.296 0 0.5772 -0.0074 0.8214 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.4514 0.0296 -0.5328 0.0592 -0.5328 0.6734Z m -0.6734 3.5298c 0 -0.1924 0.1776 -0.3848 0.3552 -0.3848c 0.2072 0 0.3848 0.1998 0.3848 0.3552c 0 0.1776 -0.1554 0.3848 -0.3552 0.3848c -0.1776 0 -0.3848 -0.1776 -0.3848 -0.3552Z "/></symbol><symbol id="g81B3A9F45BA5623D272A10055902C9BB" overflow="visible"><path d="M 0 0m 0.3034 1.517c 0 -0.7548 0.5032 -1.591 1.554 -1.591c 0.4736 0 0.8362 0.1702 1.0878 0.4144c 0.333 0.3256 0.481 0.7918 0.481 1.2432c 0 0.7696 -0.4218 1.665 -1.554 1.665c -0.4884 0 -0.888 -0.1998 -1.1618 -0.518c -0.2664 -0.3182 -0.407 -0.7474 -0.407 -1.2136Z m 1.4578 1.4726c 0.6364 0 1.0286 -0.5772 1.0286 -1.6428c 0 -0.9324 -0.481 -1.1618 -0.8288 -1.1618c -0.7696 0 -1.0212 0.9324 -1.0212 1.5022c 0 0.6438 0.1554 1.3024 0.8214 1.3024Z "/></symbol><symbol id="g2EA0627FB9063D4AF73FFF8929FC14E6" overflow="visible"><path d="M 0 0m 1.3616 2.6492c -0.0444 -0.0518 -0.0888 -0.0666 -0.0888 0c -0.0074 0.1998 -0.0222 0.4884 -0.0592 0.5624c -0.0148 0.037 -0.0296 0.0592 -0.0888 0.0592c -0.2072 -0.0814 -0.3996 -0.148 -0.9102 -0.2146c -0.0148 -0.0444 0 -0.1628 0.0148 -0.2072c 0.3996 -0.037 0.481 -0.074 0.481 -0.5032v -1.443c 0 -0.6068 -0.074 -0.6364 -0.518 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.222 0.0074 0.518 0.0148 0.814 0.0148c 0.296 0 0.518 -0.0074 0.74 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.3774 0.037 -0.4514 0.0666 -0.4514 0.6734v 1.2136c 0 0.1554 0.0666 0.2442 0.1258 0.3108c 0.2812 0.2738 0.6142 0.4366 0.9028 0.4366c 0.148 0 0.3034 -0.0962 0.3922 -0.2664c 0.074 -0.148 0.0888 -0.3478 0.0888 -0.5698v -1.1248c 0 -0.6068 -0.074 -0.6364 -0.4588 -0.6734c -0.037 -0.0444 -0.037 -0.1998 0 -0.2442c 0.222 0.0074 0.4588 0.0148 0.7548 0.0148c 0.296 0 0.5624 -0.0074 0.7844 -0.0148c 0.037 0.0444 0.037 0.1998 0 0.2442c -0.4144 0.037 -0.4958 0.0666 -0.4958 0.6734v 1.1026c 0 0.407 -0.0296 0.7622 -0.1998 0.9916c -0.1258 0.1628 -0.3552 0.2516 -0.6142 0.2516c -0.3626 0 -0.777 -0.0962 -1.2136 -0.5994Z "/></symbol><symbol id="g17EAE68D559C13C5F6D3C434C900AC6E" overflow="visible"><path d="M 0 0m 2.4716 0.37c 0.037 0.0296 0.1036 0.0444 0.111 -0.0074c 0.0222 -0.1776 0.0814 -0.4366 0.0814 -0.4366c 0.0592 -0.0222 0.0962 -0.0148 0.1406 0c 0.1628 0.1332 0.4218 0.2442 0.8732 0.296c 0.0444 0.0444 0.0444 0.1554 0 0.1998c -0.4736 0.037 -0.5402 0.1776 -0.5402 0.5402v 3.3522c 0 0.481 0.0296 0.777 0.0296 0.777c 0 0.0518 -0.0296 0.074 -0.0962 0.074c -0.185 -0.074 -0.74 -0.1776 -1.036 -0.1998c -0.0148 -0.0592 0 -0.1776 0.0444 -0.222c 0.0222 0 0.0444 0 0.0666 0c 0.3256 -0.0222 0.407 -0.0222 0.407 -0.6068v -0.9472c 0 -0.0518 -0.0148 -0.0666 -0.0666 -0.0666c -0.0296 0 -0.333 0.1258 -0.5772 0.1258c -0.4884 0 -0.814 -0.1628 -1.11 -0.444c -0.3182 -0.3182 -0.5106 -0.7548 -0.5106 -1.3024c 0 -0.9102 0.4588 -1.5762 1.258 -1.5762c 0.2886 0 0.5624 0.148 0.925 0.444Z m 0.0814 0.5476c 0 -0.1406 -0.0148 -0.1998 -0.1184 -0.2886c -0.2738 -0.2368 -0.5106 -0.3552 -0.6956 -0.3552c -0.3996 0 -0.814 0.4366 -0.814 1.3616c 0 0.5328 0.1036 0.8288 0.2146 0.9842c 0.2294 0.3478 0.5402 0.37 0.6882 0.37c 0.2664 0 0.4514 -0.0962 0.5994 -0.2664c 0.1036 -0.1184 0.1258 -0.1702 0.1258 -0.3996Z "/></symbol><symbol id="gB593D0F7F3B5A707DB146A6D5A2F6906" overflow="visible"><path d="M 0 0m 1.3024 2.6492c -0.0148 0.296 -0.0222 0.4884 -0.0592 0.5624c -0.0148 0.037 -0.0296 0.0592 -0.0888 0.0592c -0.2072 -0.0814 -0.3996 -0.148 -0.9102 -0.2146c -0.0148 -0.0444 0 -0.1628 0.0148 -0.2072c 0.3996 -0.037 0.481 -0.074 0.481 -0.5032v -1.443c 0 -0.6142 -0.0888 -0.6438 -0.5476 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.259 0.0074 0.5476 0.0148 0.8436 0.0148c 0.296 0 0.6364 -0.0074 0.8954 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.518 0.037 -0.6068 0.0592 -0.6068 0.6734v 1.0286c 0 0.1924 0.0888 0.3626 0.1776 0.4958c 0.0814 0.1184 0.2516 0.3626 0.3404 0.3626c 0.0666 0 0.1332 -0.0148 0.1924 -0.0962c 0.0518 -0.074 0.1406 -0.1702 0.2664 -0.1702c 0.1776 0 0.3478 0.185 0.3478 0.37c 0 0.1406 -0.1332 0.3552 -0.444 0.3552c -0.3478 0 -0.6512 -0.3256 -0.8214 -0.6142c -0.0444 -0.0814 -0.0814 -0.0222 -0.0814 0.0148Z "/></symbol><symbol id="g227F1C33E7EF9EF7212CC6ECE689450F" overflow="visible"><path d="M 0 0m 2.1682 0.3552c 0.0444 -0.2294 0.1258 -0.4292 0.4958 -0.4292c 0.2812 0 0.5476 0.1258 0.703 0.2738c -0.0148 0.0888 -0.0444 0.1554 -0.1258 0.1998c -0.0518 -0.0444 -0.1776 -0.1184 -0.2738 -0.1184c -0.2146 0 -0.222 0.2886 -0.222 0.629v 1.0878c 0 1.0508 -0.5772 1.2506 -1.1174 1.2506c -0.6068 0 -1.221 -0.3996 -1.221 -0.8214c 0 -0.1776 0.0888 -0.2664 0.259 -0.2664c 0.2146 0 0.3478 0.1554 0.3478 0.2516c 0 0.0518 -0.0074 0.1036 -0.0222 0.1332c -0.0074 0.0222 -0.0148 0.0666 -0.0148 0.148c 0 0.2294 0.3108 0.3108 0.592 0.3108c 0.2516 0 0.5994 -0.1258 0.5994 -0.962c 0 -0.0518 -0.0222 -0.0814 -0.0444 -0.0888l -0.6364 -0.1554c -0.7104 -0.1776 -1.221 -0.5698 -1.221 -1.073c 0 -0.6068 0.4144 -0.7992 0.9324 -0.7992c 0.259 0 0.481 0.0592 0.8066 0.3108l 0.148 0.1184Z m 0 1.369v -0.9768c 0 -0.0962 -0.0444 -0.148 -0.1036 -0.1924c -0.1924 -0.1554 -0.444 -0.3256 -0.6512 -0.3256c -0.37 0 -0.5328 0.296 -0.5328 0.5254c 0 0.333 0.1554 0.6734 0.703 0.814Z "/></symbol><symbol id="gEAECEA240A6BA02884ABCDE9009E4469" overflow="visible"><path d="M 0 0m 1.5022 2.9452c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.222 -0.0074 -0.481 -0.0148 -0.7474 -0.0148c -0.2812 0 -0.481 0.0074 -0.6734 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.3478 -0.037 0.4292 -0.111 0.5846 -0.4958l 0.9694 -2.3902c 0.0444 -0.1036 0.1036 -0.148 0.1776 -0.148c 0.0666 0 0.1258 0.0444 0.1776 0.1628l 0.7474 1.8204l 0.7622 -1.8352c 0.0444 -0.1036 0.1036 -0.148 0.1776 -0.148c 0.0666 0 0.1258 0.0444 0.1702 0.1554l 0.9694 2.3458c 0.1184 0.3034 0.2442 0.5106 0.6216 0.5328c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.148 -0.0074 -0.3108 -0.0148 -0.5328 -0.0148c -0.222 0 -0.5328 0.0074 -0.7548 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.555 -0.0296 0.481 -0.2442 0.3774 -0.5032l -0.6216 -1.5392c -0.074 -0.185 -0.1036 -0.185 -0.1628 -0.0296l -0.6364 1.6206c -0.1406 0.3478 -0.1258 0.4218 0.2664 0.4514c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.222 -0.0074 -0.518 -0.0148 -0.74 -0.0148c -0.185 0 -0.4292 0.0074 -0.6512 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.3478 -0.0296 0.4366 -0.2442 0.5698 -0.5772l 0.0444 -0.1184l -0.518 -1.3098c -0.0962 -0.2442 -0.111 -0.2516 -0.2072 -0.0148l -0.592 1.5244c -0.1406 0.3552 -0.1332 0.4736 0.222 0.4958Z "/></symbol><symbol id="g8AA8538F7E24294E2CAE099289BB02E" overflow="visible"><path d="M 0 0m 0.9102 0.703c -0.2294 0 -0.3922 -0.1554 -0.3922 -0.3626c 0 -0.2294 0.1924 -0.3034 0.3256 -0.3256c 0.1406 -0.0148 0.2664 -0.0592 0.2664 -0.2294c 0 -0.1554 -0.2664 -0.4958 -0.6512 -0.592c 0 -0.074 0.0148 -0.1258 0.0666 -0.1776c 0.444 0.0814 0.8732 0.4366 0.8732 0.9546c 0 0.444 -0.1924 0.7326 -0.4884 0.7326Z m -0.3922 1.924c 0 -0.2146 0.1776 -0.3922 0.3922 -0.3922c 0.2146 0 0.3922 0.1776 0.3922 0.3922c 0 0.2146 -0.1776 0.3922 -0.3922 0.3922c -0.2146 0 -0.3922 -0.1776 -0.3922 -0.3922Z "/></symbol><symbol id="gE463BBA7A0B790CD6263FF7D95B0059" overflow="visible"><path d="M 0 0m 1.1544 2.7232c -0.0074 0.222 -0.0222 0.4144 -0.0592 0.4884c -0.0148 0.037 -0.0296 0.0592 -0.0888 0.0592c -0.2072 -0.0814 -0.3996 -0.148 -0.9102 -0.2146c -0.0148 -0.0444 0 -0.1628 0.0148 -0.2072c 0.3996 -0.037 0.481 -0.074 0.481 -0.5032v -3.1598c 0 -0.6142 -0.0814 -0.6512 -0.5328 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.259 0.0074 0.5328 0.0148 0.8288 0.0148c 0.296 0 0.6512 -0.0074 0.8954 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.5254 0.0296 -0.6068 0.0592 -0.6068 0.6734v 0.7992c 0 0.0962 0.0296 0.0888 0.1036 0.0592c 0.185 -0.074 0.407 -0.1184 0.6438 -0.1184c 0.4144 0 0.7844 0.1258 1.0878 0.4144c 0.3478 0.3404 0.5476 0.7992 0.5476 1.3986c 0 0.7844 -0.555 1.5096 -1.3098 1.5096c -0.3404 0 -0.7178 -0.222 -1.0138 -0.555c -0.0444 -0.0444 -0.074 -0.0444 -0.0814 0.0296Z m 0.1406 -0.2738c 0.1924 0.2368 0.5328 0.4588 0.7474 0.4588c 0.4736 0 0.8806 -0.5328 0.8806 -1.369c 0 -0.6068 -0.2146 -1.3616 -1.0434 -1.3616c -0.1332 0 -0.3922 0.037 -0.5254 0.1554c -0.148 0.1332 -0.1776 0.1776 -0.1776 0.444v 1.3468c 0 0.1554 0.0296 0.222 0.1184 0.3256Z "/></symbol><symbol id="g2B084261FDB9199AB54C9E85B286CDED" overflow="visible"><path d="M 0 0m 2.9452 0.6734c -0.0296 0.0666 -0.0888 0.0962 -0.1554 0.1036c -0.2516 -0.3256 -0.5698 -0.4884 -0.888 -0.4884c -0.5402 0 -0.9916 0.5476 -0.9916 1.4134c 0 0.814 0.3552 1.3024 0.8436 1.3024c 0.4366 0 0.4958 -0.259 0.5254 -0.518c 0.0222 -0.1998 0.1258 -0.2664 0.2812 -0.2664c 0.1554 0 0.3626 0.0962 0.3626 0.3256c 0 0.407 -0.4218 0.703 -1.1322 0.703c -0.7326 0 -1.517 -0.6586 -1.517 -1.7094c 0 -0.9546 0.5328 -1.6132 1.4652 -1.6132c 0.444 0 0.8362 0.1406 1.2062 0.7474Z "/></symbol><symbol id="g30C2621CFB156FC7FA7A5C34E756626C" overflow="visible"><path d="M 0 0m 1.2358 2.9156c -0.0444 -0.0444 -0.074 -0.0296 -0.074 0.037v 1.3616c 0 0.481 0.0296 0.777 0.0296 0.777c 0 0.0518 -0.0296 0.074 -0.0962 0.074c -0.185 -0.074 -0.74 -0.1776 -1.036 -0.1998c -0.0148 -0.0592 0 -0.1776 0.0444 -0.222c 0.0222 0 0.0444 0 0.0666 0c 0.3256 -0.0222 0.407 -0.0222 0.407 -0.6068v -3.6112c 0 -0.2886 -0.0074 -0.4218 -0.0296 -0.5254c 0.037 -0.0592 0.074 -0.0888 0.1628 -0.0888c 0.0444 0.0444 0.1184 0.111 0.1776 0.1776c 0.074 0.0888 0.1184 0.0888 0.1998 0.0222c 0.1702 -0.1406 0.3922 -0.185 0.6512 -0.185c 0.7548 0 1.6354 0.6882 1.6354 1.8648c 0 0.9028 -0.666 1.4578 -1.3098 1.4578c -0.3182 0 -0.5994 -0.1258 -0.8288 -0.333Z m 0.0518 -0.2294c 0.1924 0.1702 0.4144 0.2368 0.629 0.2368c 0.4514 0 0.8214 -0.5476 0.8214 -1.2654c 0 -0.8436 -0.3404 -1.48 -1.0434 -1.48c -0.2294 0 -0.3848 0.1628 -0.5328 0.3478v 1.85c 0 0.1554 0.0296 0.2294 0.1258 0.3108Z "/></symbol><symbol id="g502A19B2EAB7D3B413152B8028260B4F" overflow="visible"><path d="M 0 0m 1.258 2.6492c -0.0074 0.222 -0.0222 0.4884 -0.0592 0.5624c -0.0148 0.037 -0.0296 0.0592 -0.0888 0.0592c -0.2072 -0.0814 -0.3996 -0.148 -0.9102 -0.2146c -0.0148 -0.0444 0 -0.1628 0.0148 -0.2072c 0.3996 -0.037 0.481 -0.074 0.481 -0.5032v -1.443c 0 -0.6068 -0.0962 -0.6438 -0.5032 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.222 0.0074 0.5032 0.0148 0.7992 0.0148c 0.296 0 0.5254 -0.0074 0.7474 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.3774 0.037 -0.4588 0.0666 -0.4588 0.6734v 1.2136c 0 0.1554 0.0666 0.2442 0.1258 0.3108c 0.296 0.2886 0.5698 0.4366 0.7992 0.4366c 0.2812 0 0.4884 -0.1776 0.4884 -0.6734v -1.2876c 0 -0.6068 -0.0592 -0.6438 -0.4588 -0.6734c -0.037 -0.0444 -0.037 -0.1998 0 -0.2442c 0.185 0.0074 0.4588 0.0148 0.7548 0.0148c 0.296 0 0.5402 -0.0074 0.7252 -0.0148c 0.037 0.0444 0.037 0.1998 0 0.2442c -0.37 0.0296 -0.4366 0.0666 -0.4366 0.6734v 1.1766c 0 0.1036 0 0.2072 -0.0074 0.296c 0.3552 0.3922 0.6882 0.4884 0.9768 0.4884c 0.2812 0 0.444 -0.1628 0.444 -0.6586v -1.3024c 0 -0.6068 -0.074 -0.6438 -0.4588 -0.6734c -0.037 -0.0444 -0.037 -0.1998 0 -0.2442c 0.185 0.0074 0.4588 0.0148 0.7548 0.0148c 0.296 0 0.555 -0.0074 0.7622 -0.0148c 0.037 0.0444 0.037 0.1998 0 0.2442c -0.407 0.0296 -0.4736 0.0666 -0.4736 0.6734v 1.1692c 0 0.6586 -0.111 1.1766 -0.7622 1.1766c -0.3774 0 -0.8362 -0.1406 -1.221 -0.5476c -0.0222 -0.0222 -0.0666 -0.0592 -0.0814 0.0074c -0.0666 0.3034 -0.3552 0.5402 -0.74 0.5402c -0.4292 0 -0.814 -0.2516 -1.1248 -0.5994c -0.037 -0.037 -0.0814 -0.0888 -0.0888 0Z "/></symbol><symbol id="g8115B8898C77FA1AC952AEA1F1C8868F" overflow="visible"><path d="M 0 0m 1.6058 -0.074c 0.2886 0 0.6364 0.148 0.999 0.444c 0.037 0.0296 0.1036 0.0444 0.111 -0.0074c 0.0222 -0.185 0.0814 -0.4366 0.0814 -0.4366c 0.0592 -0.0222 0.0962 -0.0148 0.1406 0c 0.1628 0.1332 0.4218 0.2442 0.8732 0.296c 0.0444 0.0444 0.0444 0.1554 0 0.1998c -0.4736 0.037 -0.5402 0.1776 -0.5402 0.5402v 1.4208c 0 0.222 0.0296 0.7622 0.0296 0.7622c 0 0.0222 -0.0222 0.0444 -0.0592 0.0444c -0.037 -0.0074 -0.148 -0.0148 -0.259 -0.0148c -0.2368 0 -0.5032 0.0074 -0.7548 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.3626 -0.0222 0.4588 -0.111 0.4588 -0.5994v -1.4282c 0 -0.1406 -0.0148 -0.1998 -0.1184 -0.2886c -0.2738 -0.2368 -0.555 -0.3552 -0.74 -0.3552c -0.222 0 -0.592 0.1036 -0.592 0.7622v 1.3468c 0 0.222 0.0296 0.7622 0.0296 0.7622c 0 0.0222 -0.0222 0.0444 -0.0592 0.0444c -0.037 -0.0074 -0.148 -0.0148 -0.259 -0.0148c -0.2368 0 -0.5032 0.0074 -0.7548 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.3552 -0.0296 0.4588 -0.111 0.4588 -0.592v -1.4208c 0 -0.5106 0.222 -1.0064 0.9546 -1.0064Z "/></symbol><symbol id="gAEB14721E05777B2298C4935FA0D5596" overflow="visible"><path d="M 0 0m 1.961 -0.0888c 0.0592 0 0.1924 0.1036 0.3108 0.2886c 0.2738 0.4366 0.6808 1.147 0.9398 1.702l 0.0444 0.0074c 0.1036 -0.4736 0.2146 -1.073 0.2886 -1.5688c 0.0518 -0.3552 0.1036 -0.4292 0.1702 -0.4292c 0.0888 0 0.1924 0.0888 0.3404 0.2738c 0.2146 0.2664 0.4514 0.5994 0.555 0.7548c 0.1628 0.222 0.4218 0.6808 0.629 1.1692c 0.111 0.259 0.1998 0.5254 0.1998 0.7918c 0 0.2072 -0.0962 0.3478 -0.3848 0.3478c -0.2146 0 -0.3404 -0.0962 -0.3404 -0.2738c 0 -0.0444 0.0148 -0.1184 0.037 -0.148c 0.111 -0.1702 0.1554 -0.3256 0.1554 -0.444c 0 -0.333 -0.1924 -0.9028 -0.4736 -1.2802c -0.111 -0.1554 -0.2294 -0.3034 -0.333 -0.407l -0.0518 0.0148c -0.0666 0.3848 -0.1628 0.8806 -0.259 1.2802c -0.0666 0.2812 -0.1332 0.5328 -0.185 0.6586c -0.1184 0 -0.2442 -0.0296 -0.3626 -0.0888c -0.3108 -0.7104 -0.7918 -1.591 -0.962 -1.8574l -0.0222 0.0074l -0.2516 1.5762c -0.111 0.6882 -0.1924 0.962 -0.4662 0.962c -0.2442 0 -0.6734 -0.4366 -0.9324 -0.8288c 0.0148 -0.074 0.074 -0.1258 0.1554 -0.1332c 0.2072 0.1998 0.3774 0.3552 0.518 0.3552c 0.074 0 0.111 -0.1258 0.1702 -0.4514l 0.3108 -1.8056c 0.0666 -0.37 0.1332 -0.4736 0.1998 -0.4736Z "/></symbol><symbol id="g58B9648DC59AA07203C3D2D0219F23B0" overflow="visible"><path d="M 0 0m 1.222011719 2.207172852h 1.788393555v -0.562949219h -1.788393555v 0.562949219Z "/></symbol><symbol id="gA84BF29868B6D7A9285BA3B966F83566" overflow="visible"><path d="M 0 0m 2.945185547 1.95315918q 0 0.710551758 -0.23170166 1.079558105q -0.23170166 0.369006348 -0.674509277 0.369006348q -0.46340332 0 -0.707119141 -0.369006348q -0.24371582 -0.369006348 -0.24371582 -1.079558105q 0 -0.710551758 0.245432129 -1.082990723q 0.245432129 -0.372438965 0.712268066 -0.372438965q 0.435942383 0 0.667644043 0.374155273q 0.23170166 0.374155273 0.23170166 1.081274414Z m 0.631601563 -1.706010742q 0 -0.865019531 -0.408481445 -1.311259766q -0.408481445 -0.446240234 -1.201416016 -0.446240234q -0.260878906 0 -0.545786133 0.048056641q -0.284907227 0.048056641 -0.569814453 0.140737305v 0.624736328q 0.336396484 -0.157900391 0.611005859 -0.233417969q 0.274609375 -0.075517578 0.504594727 -0.075517578q 0.511459961 0 0.74487793 0.278041992q 0.233417969 0.278041992 0.233417969 0.882182617v 0.027460938v 0.429077148q -0.151035156 -0.322666016 -0.411914063 -0.480566406q -0.260878906 -0.157900391 -0.63503418 -0.157900391q -0.672792969 0 -1.07440918 0.538920898q -0.401616211 0.538920898 -0.401616211 1.441699219q 0 0.906210938 0.401616211 1.445131836q 0.401616211 0.538920898 1.07440918 0.538920898q 0.370722656 0 0.628168945 -0.147602539q 0.257446289 -0.147602539 0.418779297 -0.456538086v 0.497729492h 0.631601563v -3.583652344Z "/></symbol><symbol id="gBBBD00F1306CF31EE80D575649D29609" overflow="visible"><path d="M 0 0m 0.669360352 1.455429688v 2.382236328h 0.631601563v -2.382236328q 0 -0.518325195 0.18364502 -0.762041016q 0.18364502 -0.24371582 0.568098145 -0.24371582q 0.446240234 0 0.68309082 0.314084473q 0.236850586 0.314084473 0.236850586 0.901062012v 2.17284668h 0.63503418v -3.837666016h -0.63503418v 0.576679688q -0.168198242 -0.332963867 -0.458254395 -0.504594727q -0.290056152 -0.171630859 -0.677941895 -0.171630859q -0.590410156 0 -0.87875 0.386169434q -0.288339844 0.386169434 -0.288339844 1.168806152Z "/></symbol><symbol id="g3148C5B55E2FA22B889139DEBBE7337B" overflow="visible"><path d="M 0 0m 0.87875 3.84453125h 1.616762695v -3.353666992h 1.252905273v -0.490864258h -3.137412109v 0.490864258h 1.252905273v 2.862802734h -0.985161133v 0.490864258Z m 0.985161133 1.496621094h 0.631601563v -0.799799805h -0.631601563v 0.799799805Z "/></symbol><symbol id="g8116C7A8612503EE2E30BE26518FB452" overflow="visible"><path d="M 0 0m 1.3468 2.6492c -0.1702 0.2516 -0.1184 0.259 0.2146 0.296c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.1998 -0.0074 -0.5254 -0.0148 -0.7474 -0.0148c -0.222 0 -0.444 0.0074 -0.6364 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.2516 -0.0222 0.4588 -0.148 0.666 -0.4514l 0.6438 -0.9398c 0.037 -0.0518 0.037 -0.074 0.0074 -0.111l -0.6216 -0.7992c -0.296 -0.3774 -0.4588 -0.3996 -0.7178 -0.4144c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.148 0.0074 0.3108 0.0148 0.5328 0.0148c 0.222 0 0.4292 -0.0074 0.6216 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.2664 0.0296 -0.3256 0.0592 -0.1628 0.296l 0.4662 0.6734c 0.0592 0.0888 0.0888 0.0814 0.1332 0.0148l 0.4292 -0.592c 0.259 -0.3552 0.1406 -0.37 -0.0962 -0.3922c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.222 0.0074 0.4662 0.0148 0.7326 0.0148c 0.2812 0 0.481 -0.0074 0.6586 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.333 0.0222 -0.444 0.0444 -0.74 0.4662l -0.666 0.9398c -0.0296 0.0444 -0.037 0.0666 0 0.111l 0.6216 0.7918c 0.2738 0.3478 0.4514 0.3848 0.7178 0.407c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.148 -0.0074 -0.3182 -0.0148 -0.5402 -0.0148c -0.222 0 -0.4292 0.0074 -0.6216 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.2738 -0.0296 0.3552 -0.0518 0.1776 -0.3034l -0.481 -0.6734c -0.0518 -0.074 -0.0814 -0.0666 -0.1406 0.0148Z "/></symbol><symbol id="g7099D674A30674388E34F33BC3BABC25" overflow="visible"><path d="M 0 0m 1.3912 2.886c -0.148 -0.8436 -0.2294 -1.2876 -0.3034 -1.8426c -0.0962 -0.7252 -0.2368 -1.9166 -0.5032 -2.3384c -0.0814 -0.1258 -0.2294 -0.222 -0.3404 -0.222c -0.1036 0 -0.1332 0.0518 -0.1776 0.1258c -0.0666 0.0962 -0.2072 0.2368 -0.37 0.2368c -0.2072 0 -0.2738 -0.1406 -0.2738 -0.2664c 0 -0.1628 0.1776 -0.3404 0.6808 -0.3404c 0.3034 0 0.629 0.148 0.8584 0.4662c 0.2072 0.2886 0.37 0.851 0.6586 2.257c 0.1184 0.5772 0.2368 1.1766 0.3478 1.7982l 0.0222 0.1258h 0.6882c 0.0666 0 0.1776 0.0296 0.1924 0.0888c 0 0 0.037 0.1554 0.037 0.1628c 0 0.0222 -0.0148 0.037 -0.0518 0.037h -0.814l 0.0814 0.4218c 0.0518 0.2812 0.1332 0.5328 0.222 0.7326c 0.185 0.4588 0.4884 0.592 0.6142 0.592c 0.1702 0 0.2516 -0.037 0.2886 -0.1924c 0.0296 -0.1628 0.0888 -0.3626 0.3404 -0.3626c 0.2294 0 0.2812 0.1776 0.2812 0.2516c 0 0.296 -0.3256 0.5476 -0.851 0.5476c -0.2072 0 -0.6586 -0.111 -0.9694 -0.4736c -0.259 -0.3034 -0.4514 -0.8732 -0.5846 -1.517l -0.4884 -0.0222c -0.1406 -0.0074 -0.1924 -0.0666 -0.2072 -0.1258c -0.0074 -0.0222 -0.0296 -0.111 -0.0296 -0.1258c 0 -0.0148 0.0222 -0.0148 0.0444 -0.0148Z "/></symbol><symbol id="g9EFC992958D99FCCEE55A4837734B079" overflow="visible"><path d="M 0 0m 0.6586 0.5328c -0.037 -0.148 -0.0962 -0.333 -0.0962 -0.407c 0 -0.1184 0.0666 -0.1998 0.3034 -0.1998c 0.2812 0 0.2812 0.333 0.3404 0.6068l 0.2664 1.1988c 0.0592 0.0222 0.111 0.0222 0.1628 0.0222c 0.0592 0 0.111 -0.0518 0.148 -0.1184c 0.1332 -0.2368 0.2146 -0.6142 0.3626 -0.9472c 0.2442 -0.5328 0.4292 -0.7622 0.7326 -0.7622c 0.2516 0 0.5106 0.2294 0.7474 0.6438c -0.0518 0.0592 -0.0814 0.0962 -0.1628 0.0962c -0.148 -0.2146 -0.3034 -0.3552 -0.3848 -0.3552c -0.1406 0 -0.1924 0.1332 -0.2664 0.2812c -0.2072 0.407 -0.3034 0.6956 -0.407 0.9028c -0.1184 0.2294 -0.1628 0.333 -0.407 0.3996v 0.0296l 0.3848 0.3404c 0.3626 0.3256 0.5624 0.4588 0.7104 0.4588c 0.1924 0 0.1628 -0.1036 0.4144 -0.1036c 0.1036 0 0.3404 0.1406 0.3404 0.37c 0 0.2072 -0.1628 0.259 -0.3626 0.259c -0.2368 0 -0.6882 -0.2812 -1.221 -0.7548l -0.296 -0.2516c -0.1258 -0.111 -0.2812 -0.2294 -0.4366 -0.2294l 0.5328 2.3014c 0.111 0.481 0.185 0.777 0.185 0.777c 0 0.0518 -0.0222 0.074 -0.0888 0.074c -0.1998 -0.074 -0.7326 -0.1702 -1.036 -0.1924l -0.0222 -0.1776c 0 -0.0222 0.0074 -0.037 0.037 -0.037l 0.2294 -0.0148c 0.0962 0 0.1554 -0.0444 0.1554 -0.2072c 0 -0.0814 -0.0148 -0.2072 -0.0518 -0.37Z "/></symbol><symbol id="g147035C7BE92CBD6C380DC6FF00D02EF" overflow="visible"><path d="M 0 0m 0.703 0.9028c 0 -0.6142 -0.0814 -0.6512 -0.5328 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.259 0.0074 0.5328 0.0148 0.8288 0.0148c 0.296 0 0.5772 -0.0074 0.8214 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.4514 0.0222 -0.5328 0.0592 -0.5328 0.6734v 3.4114c 0 0.481 0.0296 0.777 0.0296 0.777c 0 0.0518 -0.0296 0.074 -0.0962 0.074c -0.185 -0.074 -0.74 -0.1776 -1.036 -0.1998c -0.0148 -0.0592 0 -0.1776 0.0444 -0.222c 0.4292 -0.0296 0.4736 -0.0518 0.4736 -0.6068Z "/></symbol><symbol id="gFCEB6BB1E1DA93DB8EE284D457C663DB" overflow="visible"><path d="M 0 0m 0.518 0.444c 0 -0.2146 0.1776 -0.3922 0.3922 -0.3922c 0.2146 0 0.3922 0.1776 0.3922 0.3922c 0 0.2146 -0.1776 0.3922 -0.3922 0.3922c -0.2146 0 -0.3922 -0.1776 -0.3922 -0.3922Z m 0 2.2052c 0 -0.2146 0.1776 -0.3922 0.3922 -0.3922c 0.2146 0 0.3922 0.1776 0.3922 0.3922c 0 0.2146 -0.1776 0.3922 -0.3922 0.3922c -0.2146 0 -0.3922 -0.1776 -0.3922 -0.3922Z "/></symbol><symbol id="g4A206E7E63429D89DFF56DDF8E8EA377" overflow="visible"><path d="M 0 0m 0.7696 0.703c -0.2294 0 -0.3922 -0.1554 -0.3922 -0.3626c 0 -0.2294 0.1924 -0.3034 0.3256 -0.3256c 0.1406 -0.0148 0.2664 -0.0592 0.2664 -0.2294c 0 -0.1554 -0.2664 -0.4958 -0.6512 -0.592c 0 -0.074 0.0148 -0.1258 0.0666 -0.1776c 0.444 0.0814 0.8732 0.4366 0.8732 0.9546c 0 0.444 -0.1924 0.7326 -0.4884 0.7326Z "/></symbol><symbol id="gD49AC9951C1B1964A042F0D13A58DE95" overflow="visible"><path d="M 0 0m 3.151142578 1.918833008q 0 0.734580078 -0.233417969 1.108735352q -0.233417969 0.374155273 -0.689956055 0.374155273q -0.459970703 0 -0.696821289 -0.375871582q -0.236850586 -0.375871582 -0.236850586 -1.107019043q 0 -0.727714844 0.236850586 -1.105302734q 0.236850586 -0.377587891 0.696821289 -0.377587891q 0.456538086 0 0.689956055 0.374155273q 0.233417969 0.374155273 0.233417969 1.108735352Z m -1.857045898 1.434833984q 0.151035156 0.281474609 0.417062988 0.432509766q 0.266027832 0.151035156 0.616154785 0.151035156q 0.693388672 0 1.091572266 -0.533771973q 0.398183594 -0.533771973 0.398183594 -1.470876465q 0 -0.950834961 -0.399899902 -1.491472168q -0.399899902 -0.540637207 -1.096721191 -0.540637207q -0.343261719 0 -0.605856934 0.149318848q -0.262595215 0.149318848 -0.420495605 0.434226074v -0.483999023h -0.631601563v 5.341152344h 0.631601563v -1.987485352Z "/></symbol><symbol id="gA8A111EE742990F70FFBAFD304DD5562" overflow="visible"><path d="M 0 0m 3.837666016 3.84453125l -1.376479492 -1.839882813l 1.510351563 -2.004648438h -0.731147461l -1.125898438 1.541245117l -1.12246582 -1.541245117h -0.731147461l 1.510351563 2.004648438l -1.376479492 1.839882813h 0.700253906l 1.019487305 -1.390209961l 1.01262207 1.390209961h 0.710551758Z "/></symbol><symbol id="g65AAEF3C1D5B855451928DB0DB6507D9" overflow="visible"><path d="M 0 0m 1.678549805 3.64887207h 0.865019531v -1.040083008h -0.865019531v 1.040083008Z m 0 -2.601923828h 0.865019531v -1.046948242h -0.865019531v 1.046948242Z "/></symbol><symbol id="g88B8AF40C2FFFEADD5E217116309CD15" overflow="visible"><path d="M 0 0m 3.2856 2.8638c 0.1406 0 0.2738 0.1332 0.2738 0.2812c 0 0.1554 -0.1406 0.2738 -0.3404 0.2738c -0.1924 0 -0.5476 -0.1258 -0.74 -0.3774c -0.0888 0.0592 -0.333 0.2072 -0.7696 0.2072c -0.6586 0 -1.2654 -0.444 -1.2654 -1.1248c 0 -0.3996 0.1776 -0.629 0.3848 -0.8288c -0.2072 -0.1776 -0.3256 -0.4958 -0.3256 -0.7474c 0 -0.2664 0.148 -0.4736 0.3404 -0.5698c -0.3996 -0.2368 -0.6068 -0.5772 -0.6068 -0.8954c 0 -0.6438 0.6068 -0.8436 1.1766 -0.8436c 0.999 0 2.0794 0.481 2.0794 1.2802c 0 0.2368 -0.111 0.4218 -0.3256 0.5994c -0.2886 0.2368 -0.8066 0.2442 -1.0804 0.2442c -0.1332 0 -0.3182 -0.0148 -0.4958 -0.037c -0.111 -0.0074 -0.185 -0.0148 -0.222 -0.0148c -0.2146 0 -0.4736 0.1036 -0.4736 0.4218c 0 0.148 0.0444 0.3034 0.1332 0.4292c 0.1776 -0.1036 0.3848 -0.1554 0.6734 -0.1554c 0.6512 0 1.2506 0.407 1.2506 1.1322c 0 0.3478 -0.1036 0.5476 -0.3182 0.7696c 0.0518 0.074 0.1998 0.1776 0.296 0.1776c 0.0518 0 0.1036 -0.0222 0.148 -0.0888c 0.0296 -0.0592 0.1258 -0.1332 0.2072 -0.1332Z m -2.3088 -2.9378c 0.0814 -0.0222 0.1998 -0.037 0.296 -0.037c 0.2294 0 0.4366 0.0222 0.5402 0.0222c 0.37 0 0.6808 -0.0074 0.8954 -0.1258c 0.2886 -0.1628 0.3774 -0.2664 0.3774 -0.4588c 0 -0.5328 -0.7844 -0.814 -1.4504 -0.814c -0.2664 0 -0.888 0.2146 -0.888 0.7178c 0 0.2516 0.0148 0.4366 0.2294 0.6956Z m 1.3838 2.1386c 0 -0.6882 -0.3478 -0.8288 -0.6216 -0.8288c -0.6216 0 -0.6882 0.5254 -0.6882 0.999c 0 0.518 0.185 0.7844 0.592 0.7844c 0.4662 0 0.7178 -0.3404 0.7178 -0.9546Z "/></symbol><symbol id="g3F7D6C5E210F973C975677087D66C5C5" overflow="visible"><path d="M 0 0m 2.812578125 3.124765625v -0.5203125q -0.228359375 0.13296875 -0.459609375 0.199453125q -0.23125 0.066484375 -0.471171875 0.066484375q -0.361328125 0 -0.539101563 -0.117070313q -0.177773438 -0.117070313 -0.177773438 -0.356992188q 0 -0.216796875 0.13296875 -0.32375q 0.13296875 -0.106953125 0.661953125 -0.208125l 0.21390625 -0.04046875q 0.396015625 -0.07515625 0.599804688 -0.300625q 0.203789063 -0.22546875 0.203789063 -0.586796875q 0 -0.47984375 -0.34109375 -0.750117188q -0.34109375 -0.270273438 -0.948125 -0.270273438q -0.239921875 0 -0.50296875 0.050585938q -0.263046875 0.050585938 -0.569453125 0.151757813v 0.54921875q 0.297734375 -0.153203125 0.569453125 -0.229804688q 0.27171875 -0.076601563 0.51453125 -0.076601563q 0.35265625 0 0.546328125 0.143085938q 0.193671875 0.143085938 0.193671875 0.400351563q 0 0.37 -0.708203125 0.511640625l -0.023125 0.00578125l -0.199453125 0.04046875q -0.459609375 0.089609375 -0.670625 0.302070313q -0.211015625 0.212460938 -0.211015625 0.579570313q 0 0.465390625 0.315078125 0.718320313q 0.315078125 0.252929688 0.898984375 0.252929688q 0.26015625 0 0.500078125 -0.047695313q 0.239921875 -0.047695313 0.471171875 -0.143085938Z "/></symbol><symbol id="g38E85F1BB3A3AE658FCC37DF7D65F321" overflow="visible"><path d="M 0 0m 3.038046875 2.00609375v -2.00609375h -0.534765625v 2.00609375q 0 0.436484375 -0.153203125 0.64171875q -0.153203125 0.205234375 -0.47984375 0.205234375q -0.372890625 0 -0.573789063 -0.264492188q -0.200898438 -0.264492188 -0.200898438 -0.758789063v -1.829765625h -0.531875v 4.4978125h 0.531875v -1.7459375q 0.141640625 0.2775 0.384453125 0.420585938q 0.2428125 0.143085938 0.575234375 0.143085938q 0.494296875 0 0.738554688 -0.325195313q 0.244257813 -0.325195313 0.244257813 -0.984257813Z "/></symbol><symbol id="g8B6E78D810E3FE39A8482429056608AC" overflow="visible"><path d="M 0 0m 1.0290625 1.858671875h 1.506015625v -0.4740625h -1.506015625v 0.4740625Z "/></symbol><symbol id="g83B03D21CD6A496754FF4083F96EAA9F" overflow="visible"><path d="M 0 0m 0.621484375 4.315703125h 0.586796875v -3.824296875h 2.084140625v -0.49140625h -2.6709375v 4.315703125Z "/></symbol><symbol id="gADFA079071B0CD140744EECB5189F189" overflow="visible"><path d="M 0 0m 5.679 0c 0 0 -0.045 0.639 -0.045 0.918v 3.69c 0 0.801 0.153 0.846 0.783 0.909c 0.054 0.054 0.054 0.252 0 0.306c -0.441 -0.009 -0.594 -0.018 -0.972 -0.018c -0.405 0 -0.594 0.009 -1.044 0.018c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.63 -0.063 0.783 -0.09 0.783 -0.909v -2.529c 0 -0.225 -0.117 -0.18 -0.243 -0.027l -2.385 2.808l -0.801 0.945l -1.467 0.018c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.387 -0.027 0.657 -0.333 0.711 -0.567v -3.753c 0 -0.801 -0.153 -0.846 -0.783 -0.909c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.441 0.009 0.612 0.018 1.008 0.018c 0.396 0 0.558 -0.009 1.008 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.63 0.063 -0.783 0.09 -0.783 0.909v 2.673c 0 0.09 0.018 0.18 0.072 0.18c 0.045 0 0.117 -0.063 0.216 -0.18l 3.015 -3.582c 0.18 -0.225 0.36 -0.396 0.36 -0.396c 0.315 0 0.405 0.027 0.567 0.108Z "/></symbol><symbol id="gE67DB6CC3A2607827A01F5F9C91259DF" overflow="visible"><path d="M 0 0m 4.338 2.979c -0.171 0.432 -0.279 0.828 -0.279 0.828c -0.162 -0.009 -0.333 -0.009 -0.504 0.009l -0.855 -2.376c -0.027 -0.063 -0.063 -0.081 -0.099 0.009l -0.513 1.53c -0.009 0.027 -0.018 0.045 -0.027 0.072c -0.126 0.378 -0.18 0.522 0.351 0.567c 0.054 0.054 0.054 0.252 0 0.306c -0.333 -0.009 -0.72 -0.018 -1.179 -0.018c -0.315 0 -0.774 0.009 -1.107 0.018c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.522 -0.063 0.549 -0.234 0.72 -0.693l 1.098 -2.844c 0.063 -0.171 0.18 -0.189 0.297 -0.189c 0.09 0 0.261 0.018 0.333 0.207l 0.846 2.223l 0.864 -2.241c 0.063 -0.162 0.234 -0.189 0.351 -0.189c 0.09 0 0.243 0.027 0.315 0.207l 1.107 2.745c 0.153 0.387 0.306 0.729 0.81 0.774c 0.054 0.054 0.054 0.252 0 0.306c -0.198 -0.009 -0.36 -0.018 -0.594 -0.018c -0.333 0 -0.72 0.009 -1.053 0.018c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.486 -0.036 0.531 -0.27 0.36 -0.711l -0.522 -1.422c -0.036 -0.108 -0.09 -0.099 -0.126 -0.009Z "/></symbol><symbol id="g627329597DD3903044C5A4D75073B71C" overflow="visible"><path d="M 0 0m 0.9 1.143c 0 -0.747 -0.144 -0.828 -0.693 -0.855c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.378 0.009 0.783 0.018 1.278 0.018c 0.495 0 0.891 -0.009 1.278 -0.018c 0.054 0.054 0.054 0.252 0 0.306c -0.549 0.027 -0.693 0.108 -0.693 0.855v 4.104c 0 0.585 0.027 0.918 0.027 0.918c 0 0.081 -0.063 0.117 -0.144 0.117c -0.333 -0.108 -1.053 -0.207 -1.692 -0.234c -0.027 -0.108 -0.018 -0.207 0.027 -0.288c 0.567 -0.045 0.612 -0.054 0.612 -0.675Z "/></symbol><symbol id="gB660411C2F58EF21C746E36AF5EB3882" overflow="visible"><path d="M 0 0m 2.178 -1.512c 0.144 0.252 0.279 0.576 0.387 0.846c 0.72 1.737 1.161 2.709 1.638 3.717c 0.126 0.261 0.396 0.54 0.729 0.567c 0.054 0.054 0.054 0.252 0 0.306c -0.225 -0.009 -0.387 -0.018 -0.639 -0.018c -0.315 0 -0.621 0.009 -0.954 0.018c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.288 -0.027 0.576 -0.072 0.432 -0.396l -0.927 -2.079c 0 -0.009 0 -0.009 -0.009 -0.018c 0 0.009 0 0.018 -0.009 0.036l -0.837 1.881c -0.009 0.009 -0.009 0.018 -0.009 0.027c -0.162 0.351 -0.225 0.504 0.306 0.549c 0.054 0.054 0.054 0.252 0 0.306c -0.333 -0.009 -0.873 -0.018 -1.197 -0.018c -0.306 0 -0.819 0.009 -0.999 0.018c -0.054 -0.054 -0.054 -0.252 0 -0.306c 0.396 -0.036 0.468 -0.099 0.711 -0.666l 1.161 -2.664c 0.027 -0.045 0.063 -0.081 0.09 -0.117c 0.117 -0.162 0.216 -0.297 0.162 -0.423l -0.216 -0.495c -0.117 -0.279 -0.225 -0.441 -0.477 -0.441c -0.162 0 -0.189 0.036 -0.315 0.036c -0.342 0 -0.54 -0.234 -0.54 -0.414c 0 -0.117 0.027 -0.261 0.108 -0.36c 0.081 -0.099 0.234 -0.162 0.351 -0.162c 0.117 0 0.387 0.036 0.513 0.09c 0.189 0.09 0.441 0.306 0.54 0.486Z "/></symbol><symbol id="gDCA7AD9848E83F426C822AF345B8AA35" overflow="visible"><path d="M 0 0m 0.567 3.906c -0.126 0 -0.261 -0.036 -0.378 -0.135v -0.261c 0 -0.045 0.009 -0.054 0.045 -0.054h 0.585c -0.018 -0.909 -0.027 -2.061 -0.027 -2.511c 0 -0.315 0.081 -0.621 0.27 -0.783c 0.207 -0.171 0.531 -0.252 0.747 -0.252c 0.495 0 1.044 0.252 1.224 0.504c 0 0.108 -0.054 0.162 -0.162 0.252c -0.117 -0.09 -0.342 -0.126 -0.513 -0.126c -0.198 0 -0.396 0.153 -0.396 0.603c 0 0.45 -0.009 1.413 -0.009 2.313h 0.909c 0.09 0 0.216 0.036 0.216 0.117v 0.279c 0 0.036 -0.027 0.054 -0.072 0.054h -1.053l 0.009 0.306c 0.018 0.603 0.045 1.017 0.045 1.017c 0 0.054 -0.027 0.081 -0.072 0.081c -0.063 0 -0.396 -0.099 -0.54 -0.162c -0.153 -0.063 -0.414 -0.117 -0.477 -0.198c -0.063 -0.081 -0.099 -0.324 -0.099 -1.044Z "/></symbol><symbol id="g8937F2D32CF646903777568E01BCC94D" overflow="visible"><path d="M 0 0m 2.6122 0c 0.1406 0.2368 1.0434 1.6206 1.2506 2.109c 0.111 0.259 0.1998 0.5254 0.1998 0.7918c 0 0.2072 -0.0962 0.3478 -0.3848 0.3478c -0.2146 0 -0.3404 -0.0962 -0.3404 -0.2738c 0 -0.0444 0.0148 -0.1184 0.037 -0.148c 0.111 -0.1702 0.1554 -0.3256 0.1554 -0.444c 0 -0.3256 -0.3034 -0.8806 -0.555 -1.2802c 0 0 -0.3848 -0.6216 -0.5698 -0.8954l -0.0518 0.0222c -0.0444 0.8584 -0.0962 1.554 -0.3182 2.4716c -0.1036 0.3922 -0.1998 0.5476 -0.3848 0.5476c -0.1702 0 -0.7178 -0.3034 -0.9768 -0.4958c 0.0074 -0.0814 0.037 -0.1702 0.0962 -0.2294c 0.0888 0.0444 0.333 0.1628 0.4884 0.1628c 0.0962 0 0.1702 -0.0222 0.2072 -0.0888c 0.0296 -0.0592 0.074 -0.1776 0.111 -0.3108c 0.2294 -0.7548 0.4514 -2.553 0.3626 -2.7454c -0.3034 -0.4958 -0.6142 -0.8214 -0.7178 -0.8214c -0.074 0 -0.2146 0.0962 -0.259 0.1332c -0.0518 0.0444 -0.1998 0.1036 -0.259 0.1036c -0.1554 0 -0.3404 -0.148 -0.3404 -0.3774c 0 -0.2442 0.3256 -0.3108 0.4514 -0.3108c 0.3922 0 0.9842 0.481 1.4578 1.2136Z "/></symbol><symbol id="g407F12BFEF65CE198C92C3C59AD2D7D9" overflow="visible"><path d="M 0 0m 1.147 0.5846l 0.407 1.073c 0.037 0.0962 0.0814 0.1258 0.259 0.1258h 1.5614l 0.4292 -1.2506c 0.0888 -0.2516 -0.1924 -0.2812 -0.5476 -0.3034c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.2738 0.0074 0.6808 0.0148 0.9694 0.0148c 0.3034 0 0.5846 -0.0074 0.8436 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.2886 0.0296 -0.5402 0.0518 -0.666 0.407l -1.5244 4.2328c -0.111 -0.0666 -0.3108 -0.148 -0.407 -0.148l -1.6798 -3.9664c -0.1924 -0.4588 -0.4144 -0.5032 -0.74 -0.5254c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.1924 0.0074 0.4366 0.0148 0.6586 0.0148c 0.3034 0 0.6734 -0.0074 0.9472 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.2812 0.0222 -0.629 0.0518 -0.5106 0.3552Z m 0.7992 1.5096c -0.1628 0 -0.2146 0.0222 -0.185 0.0962l 0.7548 1.9166h 0.0444l 0.6956 -2.0128Z "/></symbol><symbol id="g5BD0DE59D7F4E05CAF8E080AB574B80D" overflow="visible"><path d="M 0 0m 0.9546 5.1652c -0.2294 0 -0.3922 -0.1554 -0.3922 -0.3626c 0 -0.2294 0.1924 -0.3034 0.3256 -0.3256c 0.1406 -0.0148 0.2664 -0.0592 0.2664 -0.2294c 0 -0.1554 -0.2664 -0.4958 -0.6512 -0.592c 0 -0.074 0.0148 -0.1258 0.0666 -0.1776c 0.444 0.0814 0.8732 0.4366 0.8732 0.9546c 0 0.444 -0.1924 0.7326 -0.4884 0.7326Z "/></symbol><symbol id="g4F7F7F9C98605AE4B8D9FEBDF3EBC176" overflow="visible"><path d="M 0 0m 1.295 0.9028v 1.9832h 0.6882c 0.0666 0 0.1702 0.0296 0.1702 0.0962v 0.148c 0 0.0296 -0.0222 0.0444 -0.0592 0.0444h -0.7992v 0.4218c 0 1.1396 0.3404 1.3172 0.5846 1.3172c 0.222 0 0.3404 -0.0888 0.444 -0.3478c 0.0592 -0.1332 0.1406 -0.2368 0.296 -0.2368c 0.1258 0 0.3034 0.1554 0.3034 0.3034c 0 0.1258 -0.0814 0.259 -0.2368 0.3774c -0.1924 0.1332 -0.3848 0.1554 -0.666 0.1554c -0.6216 0 -1.3098 -0.5402 -1.3098 -1.6946v -0.296h -0.3774c -0.1332 0 -0.1702 -0.0888 -0.1702 -0.148v -0.0962c 0 -0.037 0.0074 -0.0444 0.037 -0.0444h 0.5106v -1.9832c 0 -0.6142 -0.1184 -0.6438 -0.518 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.259 0.0074 0.518 0.0148 0.814 0.0148c 0.296 0 0.6512 -0.0074 0.9102 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.5772 0.0296 -0.6216 0.0592 -0.6216 0.6734Z "/></symbol><symbol id="g154F083D4F8819E1C16CDC52D5D766D5" overflow="visible"><path d="M 0 0m 1.5096 -1.184c 0.1184 0.2072 0.2146 0.4144 0.3034 0.6364c 0.592 1.4282 0.925 2.1904 1.3098 3.0192c 0.148 0.3108 0.2516 0.4292 0.5994 0.4736c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.148 -0.0074 -0.3182 -0.0148 -0.5254 -0.0148c -0.222 0 -0.4514 0.0074 -0.6734 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.2368 -0.0222 0.4736 -0.0666 0.3552 -0.333l -0.7326 -1.6946c -0.0518 -0.1184 -0.1184 -0.1406 -0.1776 0.0074l -0.6586 1.5392c -0.1332 0.3108 -0.1702 0.4514 0.2442 0.481c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.2738 -0.0074 -0.5698 -0.0148 -0.8362 -0.0148c -0.2516 0 -0.4514 0.0074 -0.5994 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.296 -0.037 0.3922 -0.1036 0.5846 -0.555l 0.8362 -1.9462c 0.0666 -0.148 0.1776 -0.4884 0.1036 -0.6956c -0.0888 -0.2442 -0.1776 -0.4514 -0.2886 -0.6808c -0.0814 -0.148 -0.185 -0.2146 -0.37 -0.2146c -0.1036 0 -0.1332 0.0222 -0.2146 0.0222c -0.2146 0 -0.3256 -0.222 -0.3256 -0.3182c 0 -0.1554 0.148 -0.2738 0.3478 -0.2738c 0.1554 0 0.4514 0.0592 0.7178 0.5328Z "/></symbol><symbol id="g57F4044859B64878400EFC6A728FBBC6" overflow="visible"><path d="M 0 0m 1.0952 4.773c -0.2664 0 -0.6586 0.0074 -0.9546 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.518 -0.0222 0.6438 -0.0592 0.6438 -0.6734v -2.9674c 0 -0.6142 -0.1258 -0.6512 -0.6438 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.2886 0.0074 0.6808 0.0148 0.962 0.0148c 0.2738 0 0.5846 -0.0148 1.3468 -0.0148c 1.0434 0 2.4198 0.4736 2.4198 2.294c 0 1.3764 -1.1322 2.5086 -2.553 2.5086c -0.5254 0 -0.9324 -0.0148 -1.221 -0.0148Z m 0.3182 -4.1514v 3.552c 0 0.259 0.259 0.3626 0.6216 0.3626c 1.5984 0 2.1238 -1.295 2.1238 -2.4346c 0 -1.4948 -0.8954 -1.8648 -1.9388 -1.8648c -0.7252 0 -0.8066 0.148 -0.8066 0.3848Z "/></symbol><symbol id="g9A8BF45F7DE893D9679B8AC2ADD75AA1" overflow="visible"><path d="M 0 0m 2.405 2.9452c 0.3996 -0.0296 0.444 -0.1184 0.2886 -0.4958l -0.5994 -1.4504c -0.1184 -0.2886 -0.1554 -0.2886 -0.2738 0.0222l -0.5328 1.4282c -0.1332 0.3552 -0.1628 0.444 0.2294 0.4958c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.2442 -0.0074 -0.5032 -0.0148 -0.7474 -0.0148c -0.2442 0 -0.4662 0.0074 -0.6882 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.3922 -0.0444 0.444 -0.1628 0.592 -0.5402l 0.9472 -2.3384c 0.0444 -0.111 0.0888 -0.1554 0.185 -0.1554c 0.074 0 0.1258 0.0444 0.1776 0.1702l 0.9842 2.3162c 0.1406 0.3256 0.222 0.5106 0.6364 0.5476c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.148 -0.0074 -0.3256 -0.0148 -0.518 -0.0148c -0.2442 0 -0.4958 0.0074 -0.6808 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442Z "/></symbol><symbol id="g2B2824F9A08C306B11BDA309013243A4" overflow="visible"><path d="M 0 0m 1.295 2.886h 1.4356v -2.2274c 0 -0.5254 0.2294 -0.7326 0.5698 -0.7326c 0.3404 0 0.7104 0.1628 0.999 0.4884c -0.0148 0.074 -0.0592 0.1184 -0.1332 0.1258c -0.1924 -0.148 -0.4144 -0.2072 -0.6068 -0.2072c -0.1998 0 -0.2442 0.222 -0.2442 0.6808v 1.8722h 0.7696c 0.074 0 0.1776 0.0296 0.1776 0.0962v 0.148c 0 0.0296 -0.0222 0.0444 -0.0592 0.0444h -0.888v 0.2886c 0 0.481 0.0296 0.777 0.0296 0.777c 0 0.0518 -0.0296 0.074 -0.0962 0.074l -0.4292 -0.1924c -0.0074 -0.0074 -0.0222 -0.0148 -0.037 -0.0222c -0.037 -0.0148 -0.0666 -0.037 -0.0666 -0.074c 0.0148 -0.1628 0.0148 -0.2294 0.0148 -0.7696c 0 -0.0296 0 -0.0518 0 -0.0814h -1.4356v 0.4218c 0 0.1258 0 0.2516 0 0.3626c -0.0074 0.3108 -0.0148 0.5476 0.0296 0.6734c 0.0592 0.1776 0.222 0.2812 0.333 0.2812c 0.2072 0 0.3108 -0.1258 0.3996 -0.3404c 0.0518 -0.1258 0.1406 -0.2072 0.2886 -0.2072c 0.1406 0 0.2442 0.111 0.2442 0.2664c 0 0.1184 -0.0666 0.2442 -0.2146 0.3552c -0.148 0.111 -0.37 0.1776 -0.6512 0.1776c -0.2146 0 -0.555 -0.1184 -0.7326 -0.3552c -0.222 -0.296 -0.2812 -0.6882 -0.2812 -1.3394v -0.296h -0.3774c -0.1332 0 -0.1702 -0.0888 -0.1702 -0.148v -0.0962c 0 -0.037 0.0074 -0.0444 0.037 -0.0444h 0.5106v -1.9832c 0 -0.6142 -0.0814 -0.6438 -0.481 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.2516 0.0074 0.518 0.0148 0.777 0.0148c 0.259 0 0.5772 -0.0074 0.8732 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.5032 0.0296 -0.5846 0.0592 -0.5846 0.6734Z "/></symbol><symbol id="gC19C9240250D3DBC3782848BC4EAA75F" overflow="visible"><path d="M 0 0m 0.4218 0.3182c 0 -0.2146 0.1776 -0.3922 0.3922 -0.3922c 0.2146 0 0.3922 0.1776 0.3922 0.3922c 0 0.2146 -0.1776 0.3922 -0.3922 0.3922c -0.2146 0 -0.3922 -0.1776 -0.3922 -0.3922Z "/></symbol><symbol id="g6E096C41F459AF11867C1D7CCA4B959A" overflow="visible"><path d="M 0 0m 2.7898 4.8692c -1.2358 0 -2.516 -0.9694 -2.516 -2.5974c 0 -1.332 0.9176 -2.3458 2.331 -2.3458c 0.8732 0 1.5614 0.185 2.0646 0.6142c -0.0814 0.0666 -0.1184 0.1258 -0.1184 0.2072v 0.8584c 0 0.259 0.1258 0.333 0.3404 0.3552c 0.0444 0.0444 0.0444 0.222 0 0.2664c -0.1776 -0.0074 -0.3626 -0.0148 -0.6586 -0.0148c -0.2442 0 -0.592 0.0074 -0.9176 0.0148c -0.0444 -0.0444 -0.0444 -0.222 0 -0.2664c 0.407 -0.0296 0.6068 -0.0592 0.6068 -0.3552v -1.1322c -0.2516 -0.2368 -0.7474 -0.2812 -1.147 -0.2812c -1.1692 0 -1.7908 1.2506 -1.7908 2.2274c 0 1.295 0.8436 2.183 1.702 2.183c 1.073 0 1.3764 -0.6142 1.5688 -1.2506c 0.0814 -0.0074 0.1628 0.0074 0.2442 0.0444c -0.0148 0.3108 -0.0518 0.6068 -0.1702 1.1396c -0.444 0.074 -0.7178 0.333 -1.5392 0.333Z "/></symbol><symbol id="g6C0518489EE83099652E729FB2B7897F" overflow="visible"><path d="M 0 0m 0.6364 0.9028c 0 -0.6142 -0.0814 -0.6438 -0.4958 -0.6734c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.2442 0.0074 0.4958 0.0148 0.7918 0.0148c 0.259 0 0.5032 -0.0074 0.6734 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.3034 0.0296 -0.3848 0.0592 -0.3848 0.6734v 0.6438c 0.1406 -0.0074 0.2442 -0.0148 0.3182 -0.037c 0.0814 -0.0592 0.148 -0.1258 0.2368 -0.2442l 0.5402 -0.7252c 0.2146 -0.2886 0.3034 -0.4292 0.3108 -0.518c 0 -0.0222 0.0074 -0.037 0.0296 -0.037c 0.148 0.0074 0.3108 0.0148 0.4588 0.0148c 0.2294 0 0.4588 -0.0074 0.6068 -0.0148c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.2516 0.0296 -0.4366 0.0592 -0.6364 0.3108l -0.9768 1.2284c -0.0296 0.037 -0.0518 0.0666 -0.0518 0.1036c 0 0.0296 0 0.0444 0.0296 0.074l 0.6512 0.6734c 0.222 0.2368 0.481 0.296 0.777 0.3256c 0.0444 0.0444 0.0444 0.1998 0 0.2442c -0.1702 -0.0074 -0.3774 -0.0148 -0.6438 -0.0148c -0.2812 0 -0.555 0.0074 -0.7252 0.0148c -0.0444 -0.0444 -0.0444 -0.1998 0 -0.2442c 0.4144 -0.0296 0.2368 -0.2886 0.1702 -0.3774c -0.1702 -0.2146 -0.3996 -0.4662 -0.592 -0.6068c -0.1628 -0.1184 -0.3626 -0.2072 -0.5032 -0.2294v 2.5826c 0 0.481 0.0296 0.777 0.0296 0.777c 0 0.0518 -0.0296 0.074 -0.0962 0.074c -0.185 -0.074 -0.74 -0.1776 -1.036 -0.1998c -0.0148 -0.0592 0 -0.1776 0.0444 -0.222c 0.0222 0 0.0444 0 0.0666 0c 0.3256 -0.0222 0.407 -0.0222 0.407 -0.6068Z "/></symbol></defs></svg>
\ No newline at end of file diff --git a/docs/next-run.typ b/docs/next-run.typ index 91461b25..5d972f0e 100644 --- a/docs/next-run.typ +++ b/docs/next-run.typ @@ -1,5 +1,5 @@ -// The figure of docs/next-run.md: what `pardes attach` does today beside -// what it does once "an attach is always a client" is built. Drawn by +// The figure of docs/next-run.md: what `pardes attach` did before beside +// what it does since "an attach is always a client" was built. Drawn by // docs/typ/figures.typ, the one file of the docs that imports cetz. // typst compile --root . --ignore-system-fonts -f svg docs/next-run.typ docs/next-run.svg #import "typ/style.typ": palette diff --git a/docs/next-terminal.md b/docs/next-terminal.md index 2d033380..ad21ef9b 100644 --- a/docs/next-terminal.md +++ b/docs/next-terminal.md @@ -184,9 +184,9 @@ What differs from the plan above, and why: - **The ops are a compile-time constant, not handed over at start.** `Term.ops` (core/Term.zig:18) is `&@import("term").ops` when the build's - `term_options.terminal` says the core has a terminal, null otherwise. + `pardes_options.terminal` says the core has a terminal, null otherwise. Every core module but core-test's is given `term`; core-test's - (`core_lean` in build.zig) is not, and its `term_options` say so. A + (`core_lean` in build.zig) is not, and its `pardes_options` say so. A run-time `Pardes.Options.terminal` would have put the table in every test's options and every host's start for no gain: no build ever has two terminals, and a null known at compile time drops the dead code. diff --git a/docs/typ/building.typ b/docs/typ/building.typ index 9350b484..8bfcb85b 100644 --- a/docs/typ/building.typ +++ b/docs/typ/building.typ @@ -501,10 +501,13 @@ life; the first session that finds none starts it (a double fork and an exec) and it exits a second after it holds nothing. It is nobody's parent: a session registers on one connection, sends it a dup of every pty master it forks (so a session killed outright never hangs its shells up, and -#word("Adopt") takes them into another), says whether a terminal or a -window shows it, and is handed a terminal (`pardes --attach`) or a window -request (`pardes-gui --attach`) through it. Messages are `SOCK_SEQPACKET` -datagrams: a line of words and the fds it carries. +#word("Adopt") takes them into another), says whether it has let its own +terminal or window go, and is handed each client's connection through it +(`pardes attach`, below). A daemon that dies is started again by the +sessions: each one's link's reader, woken by the link's end, dials the +next, says the hello again and tells it its masters and its clients. +Messages are `SOCK_SEQPACKET` datagrams: a line of words and the fds it +carries. `pardes` in a terminal forks its session off before anything starts: the session, in a session of its own (`setsid`), draws on the terminal it @@ -512,9 +515,9 @@ opened, and the process the shell waits on stays as its stub, passing it `SIGWINCH`, `SIGTERM`, `SIGINT` and `SIGQUIT` and ending with its status. #word("Detach"), or the terminal's end (EIO, a hangup), puts the terminal back and lets it go; the stub ends (exit 0) and the session -runs on with nothing drawn, until `pardes --attach` hands it another -terminal. A window's #word("Detach") closes the window and keeps the -process; `pardes-gui --attach` opens one again. `PARDES_DAEMON=off` (the +runs on with nothing drawn, detached for good: `pardes attach` is a client +of it. A window's #word("Detach") closes the window and keeps the +process, the same. `PARDES_DAEMON=off` (the process tests) runs a session as before the daemon: in the terminal's own process, ended by its hangup. diff --git a/docs/typ/builtins-gui.json b/docs/typ/builtins-gui.json index 732e66a7..34a46fa6 100644 --- a/docs/typ/builtins-gui.json +++ b/docs/typ/builtins-gui.json @@ -24,7 +24,7 @@ {"name": "DelAbove", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Close the pane, giving its rows to the pane above it."}, {"name": "DelBelow", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Close the pane, giving its rows to the pane below it."}, {"name": "Delcol", "leader": "SPC c d", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Close this column and its panes, refusing once over unsaved text."}, - {"name": "Detach", "leader": "SPC s D", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Detach this pardes from its terminal or window, leaving the session running: `pardes --attach` (or `pardes-gui --attach`) takes it back."}, + {"name": "Detach", "leader": "SPC s D", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Detach this pardes from its terminal or window, leaving the session running: `pardes attach` (or `pardes-gui attach`) shows it as a client."}, {"name": "Diagnostics", "leader": "SPC l d", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List the file's diagnostics from the language server."}, {"name": "Diff", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Stack a diff's hunks as a diff viewer shows them, each under its place and the declarations around it, in a +Diff; on a +Diff, show the diff itself as text."}, {"name": "Down", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Move the keyboard to the pane below, off a tag onto the pane under it."}, diff --git a/docs/typ/builtins-tui.json b/docs/typ/builtins-tui.json index 0a074c44..5919a77a 100644 --- a/docs/typ/builtins-tui.json +++ b/docs/typ/builtins-tui.json @@ -23,7 +23,7 @@ {"name": "DelAbove", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Close the pane, giving its rows to the pane above it."}, {"name": "DelBelow", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Close the pane, giving its rows to the pane below it."}, {"name": "Delcol", "leader": "SPC c d", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Close this column and its panes, refusing once over unsaved text."}, - {"name": "Detach", "leader": "SPC s D", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Detach this pardes from its terminal or window, leaving the session running: `pardes --attach` (or `pardes-gui --attach`) takes it back."}, + {"name": "Detach", "leader": "SPC s D", "also": [], "arg": false, "scope": "root", "setting": false, "choices": null, "doc": "Detach this pardes from its terminal or window, leaving the session running: `pardes attach` (or `pardes-gui attach`) shows it as a client."}, {"name": "Diagnostics", "leader": "SPC l d", "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "List the file's diagnostics from the language server."}, {"name": "Diff", "leader": null, "also": [], "arg": true, "scope": "pane", "setting": false, "choices": null, "doc": "Stack a diff's hunks as a diff viewer shows them, each under its place and the declarations around it, in a +Diff; on a +Diff, show the diff itself as text."}, {"name": "Down", "leader": null, "also": [], "arg": false, "scope": "pane", "setting": false, "choices": null, "doc": "Move the keyboard to the pane below, off a tag onto the pane under it."}, diff --git a/docs/typ/cheatsheet.typ b/docs/typ/cheatsheet.typ index e931effa..2df92b00 100644 --- a/docs/typ/cheatsheet.typ +++ b/docs/typ/cheatsheet.typ @@ -122,7 +122,7 @@ Helix-style: motions *select*, then an edit acts on the selection. Mode box: bla - A query pane under the pane: line 1 the query, its first word the source: `/pat`, `Find name` (fuzzy), `Grep text` (literal), `Recent`, `Panes`, `Symbols`, `All`. #keys("Ctrl-n", "Ctrl-p") step, #key("Enter") lands and keeps the rows, #key("Esc") puts things back. #word("Help"), #word("Tutor"). == Sessions -`pardes --detach=work`; `--attach=work` (`pardes-gui --attach=work`) takes it back; #word("Detach") leaves it running; #word("Adopt") takes in a killed session's shells. #doc("detached") +`pardes --detach=work`; `pardes attach work` shows it here, as a client (`pardes-gui attach work`: in a window); #word("Detach") leaves it running; #word("Adopt") takes in a killed session's shells. #doc("detached") == Config #word("Config") (#key("SPC f c")): `~/.config/pardes/init`, a builtin a line (#word("Theme") `atelier`). #word("DumpConfig"): every setting. #word("Dump") / #word("Restore"): the workspace. #doc("config") diff --git a/docs/typ/command-line.txt b/docs/typ/command-line.txt index 0b06275e..3c73fed4 100644 --- a/docs/typ/command-line.txt +++ b/docs/typ/command-line.txt @@ -12,7 +12,7 @@ Open: Sessions: ps the daemon's sessions, their clients and shells - attach [NAME] show a detached session here (HOST:NAME: over ssh) + attach [NAME] show a session here, as a client (HOST:NAME: over ssh) kill NAME end a session and its shells (--all: every one) new [flags] [FILE] start one: --detach=NAME --9p=NAME -n 3 (help new) @@ -54,15 +54,16 @@ See also: attach, kill, /sessions == pardes help attach -Show a detached session here: in this terminal for pardes, a window -for pardes-gui. Bare, the one detached session (with none, the one -session). One with a frontend already, or of the other kind, is joined -as a client. HOST:NAME is a client of session NAME on another machine, -over `ssh -L` to its pardes-replica.sock ($PARDES_SSH: the ssh -command, default ssh; $PARDES_REMOTE_RUNTIME: its runtime directory, -if not this one's path); SOCK:NAME goes through a socket forwarded -already (a path, with a '/'). Returns when the session detaches or -ends. +Show a session here as a client: a process of its own, with a copy of +the session's core and a view of its own, in this terminal for pardes, +a window for pardes-gui, whatever the session was started in. Bare, +the one detached session (with none, the one session). HOST:NAME is a +client of session NAME on another machine, over `ssh -L` to its +pardes-replica.sock ($PARDES_SSH: the ssh command, default ssh; +$PARDES_REMOTE_RUNTIME: its runtime directory, if not this one's +path); SOCK:NAME goes through a socket forwarded already (a path, with +a '/'). Returns when it is let go: its Detach or its terminal or window +closing (the session runs on), or the session's end. Usage: pardes attach [NAME] diff --git a/docs/typ/figures.typ b/docs/typ/figures.typ index 4ca51c1a..15364e47 100644 --- a/docs/typ/figures.typ +++ b/docs/typ/figures.typ @@ -201,37 +201,9 @@ wire((14.1, 3.0), (14.1, 1.67), ends: none, dash: "dotted", label: [keeps each \ one open], at: (15.15, 2.33), width: 1.6) }) -/// `pardes attach work` to a session with no frontend: a terminal's and a -/// window's. -#let run-attach-detached() = drawn(alt: "pardes attach to a detached session: the terminal handed to the session through the daemon; for a window, the session opens its own again", { - import cetz.draw: * - // A terminal's session. - content((0, 8.75), anchor: "west", text(size: 8pt, weight: "bold")[a terminal's session: `pardes attach work`]) - screen(0, 6.4, 3.4, 1.7, [this terminal]) - proc(0, 3.9, 3.4, 2.0, "stub", "pardes attach work", - ("plain", [now the job your shell waits on]), ("plain", [holds nothing])) - daemon-box(5.5, 3.9) - proc(11.0, 3.9, 5.0, 4.2, "session", "pardes --detach=work", - core-truth, ptys, ninep("work"), - ("plain", [draws on this terminal now]), - ("plain", [the same process as before])) - wire((3.4, 4.8), (5.5, 4.8), label: [① this terminal \ and a pipe], at: (4.45, 5.32), width: 1.8) - wire((8.9, 4.8), (11.0, 4.8), dash: "dashed", label: [② handed on], at: (9.95, 5.15)) - wire((3.4, 7.25), (11.0, 7.25), ends: "both", label: [③ keys in, frames out], at: (7.2, 7.6)) - line((-0.1, 3.3), (16.1, 3.3), stroke: (paint: palette.rule, thickness: 0.6pt)) - // A window's session. - content((0, 2.85), anchor: "west", text(size: 8pt, weight: "bold")[a window's session: `pardes-gui attach work`]) - proc(0, 0, 3.4, 2.0, "other", "pardes-gui attach work", ("plain", [asks, then exits: no stub]), dash: "dashed") - daemon-box(5.5, 0) - proc(11.0, 0, 5.0, 2.3, "session", "pardes-gui --detach=work", - core-truth, ("plain", [opens its own window again])) - wire((3.4, 0.9), (5.5, 0.9), label: [① asks], at: (4.45, 1.25)) - wire((8.9, 0.9), (11.0, 0.9), dash: "dashed", label: [② "attach"], at: (9.95, 1.25)) -}) - -/// `pardes attach work` to a session that has a frontend (or is of the -/// other kind): a client. -#let run-attach-client() = drawn(alt: "pardes attach to a session with a frontend: a client process with its own replica core, joined through the daemon", { +/// `pardes attach work`: a client, whether or not the session still has +/// the frontend it was born with (here it has). +#let run-attach-client() = drawn(alt: "pardes attach: a client process with its own replica core, joined through the daemon", { import cetz.draw: * screen(0, 3.4, 3.0, 1.7, [its own terminal]) proc(0, 0, 4.8, 2.9, "session", "pardes", @@ -283,12 +255,12 @@ wire((10.6, 0.7), (12.2, 0.7), ends: "both", label: [a pty's bytes], at: (11.4, 1.05)) }) -// ---- docs/next-run.md: the ruled direction, not built ---- +// ---- docs/next-run.md: the ruling, built ---- -/// What `pardes attach` does today (four things) beside what it does once -/// "an attach is always a client" is built (one). Drawn by +/// What `pardes attach` did before 2026-11-20 (four things) beside what it +/// does since "an attach is always a client" was built (one). Drawn by /// docs/next-run.typ for the design note; no chapter shows it. -#let run-attach-before-after() = drawn(alt: "pardes attach today: four mechanisms; after: always a client", { +#let run-attach-before-after() = drawn(alt: "pardes attach before: four mechanisms; now: always a client", { import cetz.draw: * let row(x, y, when, typed, kind, said) = { content((x, y + 1.2), anchor: "west", text(size: small, style: "italic", fill: palette.tag-fg, when)) @@ -299,13 +271,13 @@ rect((x + 3.9, y), (x + 7.5, y + 0.95), fill: tint(c), stroke: 1.3pt + c, radius: 3pt) content((x + 5.7, y + 0.475), box(width: 3.4cm, align(center, text(size: small, said)))) } - content((0, 8.15), anchor: "west", text(size: 9pt, weight: "bold")[Today: four mechanisms]) + content((0, 8.15), anchor: "west", text(size: 9pt, weight: "bold")[Before: four mechanisms]) row(0, 6.0, [a terminal's session, detached], [pardes attach work], "session", [the session draws here; this process becomes its stub]) row(0, 4.3, [a window's session, detached], [pardes-gui attach work], "session", [the session opens its own window; this process exits]) row(0, 2.6, [it has a frontend, or is the other kind], [pardes attach work], "client", [a client: this process, with a replica]) row(0, 0.9, [on another machine], [pardes attach box:work], "client", [a client, through `ssh -L`]) line((7.95, -0.1), (7.95, 8.4), stroke: (paint: palette.rule, thickness: 0.8pt)) - content((8.45, 8.15), anchor: "west", text(size: 9pt, weight: "bold")[After: always a client]) + content((8.45, 8.15), anchor: "west", text(size: 9pt, weight: "bold")[Now: always a client]) row(8.45, 6.0, [any session on this machine], [pardes attach work], "client", [a client: this process, with a replica]) row(8.45, 4.3, [on another machine], [pardes attach box:work], "client", [a client, through `ssh -L`]) content((8.45, 2.85), anchor: "west", box(width: 7.5cm, text(size: small)[A session's own frontend is only the one it was born with: a Detach, or its terminal or window closing, leaves it detached for good, and each attach after is a client.])) diff --git a/docs/typ/guide.typ b/docs/typ/guide.typ index e69c756a..3dd8107c 100644 --- a/docs/typ/guide.typ +++ b/docs/typ/guide.typ @@ -352,28 +352,29 @@ cheatsheet (#doc("cheatsheet")) say so. ``` pardes --detach=work & a session with no screen of its own -pardes --attach=work show it here -pardes-gui --attach=work a window session's window again -pardes --ps every session the daemon lists, and its shells -pardes --kill=work end it and its shells (--kill-all: every one) +pardes attach work show it here, as a client +pardes-gui attach work show it in a window, as a client +pardes ps every session the daemon lists, and its shells +pardes kill work end it and its shells (kill --all: every one) ``` #word("Detach") (#key("SPC s D")) lets the terminal or the window go and leaves the session running, its panes, shells and files kept; so does a terminal that closes, while the daemon (below) is there. A window that -closes ends its session, unless the session has clients. -`pardes --attach` takes it back in any terminal, -`pardes-gui --attach` a window session's window: a terminal session takes -a terminal, a window session a window. Attached already, it takes another -view: each terminal or window has its own columns, focus, cursors and -scroll over the same panes, texts and registers, and a terminal shown in -two takes the size of the one that last typed into it. #word("Detach") in -one lets only that one go. A session is named by `--9p=` or +closes ends its session, unless the session has clients. Once let go, a +session's own terminal or window never comes back: `pardes attach` shows +it in any terminal, `pardes-gui attach` in a window, either kind of +session, each as a client, a process of its own. Each terminal or window +has its own view (columns, focus, cursors, scroll) over the same panes, +texts and registers, and a terminal shown in two takes the size of the +one that last typed into it. #word("Detach") in one lets only that one +go. A session is named by `--9p=` or `--detach=`, else its pid. A session killed outright leaves its shells running; #word("Adopt") in another takes them in as terminal panes, what they showed gone. One `pardes --daemon` per user lists the sessions and holds their shells' terminals open; the first session starts it, it is -nobody's parent, and it leaves once it holds nothing. Which processes +nobody's parent, and it leaves once it holds nothing; killed, the +sessions start it again. Which processes run, and what survives what, is in #doc("running"). After a rebuild, #word("Upgrade") (#key("SPC s U")) moves a running session onto the pardes now installed diff --git a/docs/typ/reference.typ b/docs/typ/reference.typ index 4c193e0f..425209a0 100644 --- a/docs/typ/reference.typ +++ b/docs/typ/reference.typ @@ -1014,7 +1014,7 @@ at 200, ending in `…`. Control characters become spaces. of its own, a terminal or window; `pardes ps` says "has a frontend") with a `client <pid>` line for each of its clients and a `shell <pid>` line for each shell it holds, then `orphan <pid>` for each shell no session holds. Any of the - names attaches (`pardes --attach=<name>`, either kind). Read fails `no + names attaches (`pardes attach <name>`, either kind, as a client). Read fails `no pardes daemon answers` with none, or one too old to list (Upgrade it). - #file("/os/"): existing regular files take read, write and truncation to zero; create, remove, rename and mode changes are refused as not @@ -1350,15 +1350,13 @@ to its end before the write is answered, and one that finds nothing fails, which #word("Adopt") takes. `--kill=NAME` ends that session and its shells (a TERM, then a KILL 2 s later; unsaved changes are lost), `--kill-all` every session and every kept shell; with no daemon running - each says so and exits 1. Bare `--detach` names the session after its pid; bare - `--attach` needs exactly one detached session of its kind (a terminal's - for `pardes`, a window's for `pardes-gui`), or with none detached the - only session of that kind, joined as a client (with none of that kind, - the only session there is); a second `--detach=NAME` - while NAME runs (a plain session is named by its pid) says so in words - and exits 1. A session with a frontend already is joined as a client, as one of - the other kind is, and one on another machine (`--attach=HOST:NAME`, over - `ssh -L`; `--attach=SOCKET:NAME` through a socket forwarded already): its + each says so and exits 1. Bare `--detach` names the session after its pid; a + second `--detach=NAME` while NAME runs (a plain session is named by its + pid) says so in words and exits 1. `attach NAME` (`--attach=NAME`) is + always a client of session NAME, either kind, here or on another machine + (`attach HOST:NAME`, over `ssh -L`; `attach SOCKET:NAME` through a socket + forwarded already); bare, of the one detached session, else the only + session (with several, it names them and exits 1): its own process, listed under the session by `--ps`, up to three clients (four views at once, the session's own among them): each terminal or window its own layout, focus, cursors, selections, modes, diff --git a/docs/typ/running.typ b/docs/typ/running.typ index 1500845e..74eb8cbd 100644 --- a/docs/typ/running.typ +++ b/docs/typ/running.typ @@ -4,31 +4,32 @@ // attach); the direction not built yet is docs/next-run.md. The file:line // that says each fact is in a comment beside it. #import "style.typ": word, doc, pairs, file -#import "figures.typ": run-legend, run-terminal, run-window, run-detach, run-attach-detached, run-attach-client, run-far, run-no-daemon +#import "figures.typ": run-legend, run-terminal, run-window, run-detach, run-attach-client, run-far, run-no-daemon A running pardes is up to four kinds of process. Which of them there are, and what each holds, depends only on how it was started. -// runtime/daemon.zig:8-16 (nobody's parent; dups; hands terminals, -// windows, replicas); core/replica.zig:1-19, :747-794 (a client's core +// runtime/daemon.zig:8-17 (nobody's parent; dups; lists the sessions, +// hands a client's connection on); core/replica.zig:1-19, :747-794 (a client's core // from the dump); dev/host_io.zig:548-551 (the shells are the session's -// children); runtime/9p_io.zig:57 (the socket); runtime/daemon.zig:546-698 -// (the stub). +// children); runtime/9p_io.zig:57 (the socket); runtime/daemon.zig forkSession, +// stubWait (the stub). #pairs( [*session*], [the process with the truth: the one core every other copy follows, the shells' pty masters (the shells are its children) and the 9P socket. There is one a session, always.], [*client*], [any further terminal or window on a session: a process of its own, with a copy of the session's core (a replica) loaded from the session's dump and kept in step with the session's tape. It has its own view (columns, focus, cursors, scroll) and draws it. It holds no shells and no 9P socket. A client on another machine is *far*.], - [*daemon*], [`pardes --daemon`, one per user per machine: a switchboard. It spawns nothing and is nobody's parent. It keeps the list of sessions and a dup of every pty master, so that a session killed outright never hangs its shells up; clients dial its replica socket; it hands a terminal, a window's request or a client's connection to the session that takes it. The first session that finds none starts it, and it exits a second after it holds nothing.], + [*daemon*], [`pardes --daemon`, one per user per machine: a switchboard. It spawns nothing and is nobody's parent. It keeps the list of sessions and a dup of every pty master, so that a session killed outright never hangs its shells up; clients dial its replica socket, and it hands each client's connection to the session it names. The first session that finds none starts it, and it exits a second after it holds nothing. Killed, it is started again by its sessions, which register with the next one.], [*stub*], [the process your shell waits on when the session is not it. It holds nothing: it passes signals on, and ends when the session leaves its terminal.], ) -// dev/tui/tui.zig:590 (a session's terminal: one or none); -// dev/gui/gui.zig:2433-2436 (the window, or none while detached); -// runtime/daemon.zig:901-905 ("a session shows one frontend of its own"). +// dev/tui/tui.zig Screen (a session's terminal: the one it was born +// with, or none); dev/gui/gui.zig Shell.gui (the window, or none once +// detached); runtime/main.zig attachTo (an attach is a client). A *frontend* is what draws: the terminal (`pardes`), the window (`pardes-gui`), or the Mac's own build. A session draws at most one -frontend of its own: the one it was started with, or one attached to it -later. A session with none is *detached*; it may still have clients. -To *attach* is to show a session here. +frontend of its own: the one it was started with. Once it lets that one go +(a #word("Detach"), its terminal closing) it is *detached*, for good; it +may still have clients. To *attach* is to show a session here, and an +attach is always a client. In the figures a box with a heavy edge is a process: its kind, then the command `ps` shows for it, then what it holds. The core with the truth is @@ -41,11 +42,11 @@ travels on it. #run-terminal() -// runtime/main.zig:1570-1595, runtime/daemon.zig:663-698 (the fork, -// setsid, the stub); runtime/daemon.zig:550-559, :567-616 (what the stub -// forwards and how it ends); dev/tui/tui.zig:1685-1709 (the terminal's -// end: detached while kept, else the end); runtime/daemon.zig:305-314 -// (kept: the daemon answered and is still there). +// runtime/main.zig, the fork (daemon.forkSession: setsid, the stub); +// runtime/daemon.zig forward, stubWait (what the stub forwards and how it +// ends); dev/tui/tui.zig, the `.quit` arm (the terminal's end: detached +// while kept, else the end); runtime/daemon.zig kept (the daemon +// answered and is still there). `pardes` forks the session off and stays as its stub. The session runs in a POSIX session of its own, so it can outlive the job your shell waits on. It reads the keys from the terminal and draws on it itself; the stub only @@ -54,7 +55,7 @@ session too) and exits when the session leaves the terminal, with the session's status, or 0 after a #word("Detach"). Closing the terminal detaches the session while a daemon keeps it. With no -daemon, or after the daemon has died, it ends the session and its shells. +daemon it ends the session and its shells. = `pardes-gui` <run-window> @@ -80,9 +81,9 @@ terminal hangs up. // process). The process you started is the session: nothing is forked, so the `&` that puts it in the background is yours to type (`pardes new --detach=work` is -the same). It draws nothing and is 160×50 until an attach or the root -#file("ctl")'s `size` sizes it. Until something attaches, 9P is the only -way in (#doc("scripting")). +the same). It draws nothing and is 160×50 until the root #file("ctl")'s +`size` sizes it; a client shows its own view, at its own size. Until a +client attaches, 9P is the only way in (#doc("scripting")). // runtime/main.zig, the --detach branch (the exec of the pardes beside it). `pardes-gui --detach` runs the `pardes` installed beside it in its place: @@ -95,55 +96,42 @@ a daemon keeps it; a window's binary's ends on it, as any job does. With no daem `--detach` still starts a session, which nothing can attach to: only 9P reaches it. -= Attach, to a detached session <run-attach-detached> - -#run-attach-detached() - -// runtime/main.zig:1812-1842 (attachTo); runtime/daemon.zig:883-897 -// (handed on); dev/tui/tui.zig:1354-1382 (the terminal entered as the -// first was); dev/gui/gui.zig:3384-3402, :2588-2601 (the window opened -// again). -For a terminal's session, `pardes attach work` hands its terminal and a -pipe to the session through the daemon, and stays as the stub. For a -window's, `pardes-gui attach work` asks, then exits, and the session opens -its own window again. Either way the frontend is the session's own again, -in the process that has been the session all along: what happens when -it closes is what the first two sections say. - -// runtime/daemon.zig:901-972 (find: the bare attach, and `other`). -The kind has to match. A terminal's session attached from `pardes-gui`, -or a window's from `pardes`, is joined as a client (the next section). -Bare, `pardes attach` takes the one detached session of its kind; with -none, the one session of its kind, as a client; with no session of its -kind, the only session there is, as a client. `--attach=work` is the older -spelling of `attach work`. - -= Attach, to a session that has a frontend <run-attach-client> += Attach <run-attach-client> #run-attach-client() -// runtime/main.zig:1844-1850 (crossAttach); runtime/daemon.zig:974-1008 -// (the hello, the same build, handed on); core/replica.zig:1-19 -// (speculation and rollback); core/replica.zig:2204-2214, core/views.zig:31, +// runtime/main.zig attachTo, bareAttach (a client, through the replica +// socket; bare: the one detached session, else the one session); +// runtime/daemon.zig hear (the hello, the same build, handed on); +// core/replica.zig:1-19 (speculation and rollback); core/views.zig:31, // core/Core.zig:1163-1203 (four views, the session's own among them); -// core/replica.zig:2303-2325 (a client leaving); core/replica.zig initDump, -// core/Addon.zig plainOps (a plain kind's code runs in the client that has -// it; another's in the session alone); dev/gui/gui.zig:2200-2214 (a -// client's notch: whole rows sent), :3673 (glideFrame: the picture on the -// client's clock); dev/gui/gui.zig:595-623 (a client's font: the session's -// request, by the face's name on this machine). Measured 2026-11-17 +// core/replica.zig closeViewOf (a client leaving); core/replica.zig +// initDump, core/Addon.zig plainOps (a plain kind's code runs in the +// client that has it; another's in the session alone); +// dev/gui/gui.zig:2200-2214 (a client's notch: whole rows sent), +// glideFrame (the picture on the client's clock); dev/gui/gui.zig +// syncReplicaFont (a client's font: the session's request, by the face's +// name on this machine). Measured 2026-11-17 // (.scratch/sketch/reports/pardes-measure.md sections A, C and E): a // client's notch glides as the session's window does (5 frames, 0 to // -22 px); a terminal's client 10-16 MB PSS idle, a window's about 110 MB // (187 MB RSS), as a window session's, three quarters of it the GPU and // display libraries. -A session draws one frontend of its own, so the second attach is a client. -The daemon checks the client's hello (the session's name, and the client's -build: a client must be the build its session is) and hands its -connection to the session; from then on the two talk directly. The client -loads the session's dump into its own core, applies its own keys at once, -and takes the session's tape (each step as the session took it) as the -truth, rolling back when the session ordered things differently. +`pardes attach work` is a client of session work, whatever the session was +started in and whether or not it still has its own frontend: in a terminal +for `pardes`, a window for `pardes-gui`. A session never takes a frontend +of its own back: the one it was born with is the only one it ever has. +Bare, `pardes attach` takes the one detached session; with none detached, +the only session there is; with several, it names them and asks which. +`--attach=work` is the older spelling of `attach work`. + +The client says its hello on the daemon's replica socket: the session's +name, and the client's build (a client must be the build its session is). +The daemon refuses a name no session has, and hands the connection to the +session; from then on the two talk directly. The client loads the +session's dump into its own core, applies its own keys at once, and takes +the session's tape (each step as the session took it) as the truth, +rolling back when the session ordered things differently. // core/replica.zig:5316-5395 (may_wait: what a client waits for, each // row's why); core/tape.zig:1163-1193 (keeps_stopping); core/Core.zig:1763-1778 @@ -163,7 +151,7 @@ opens here. A session takes three clients: four views at once, its own among them. A client's #word("Detach"), or its terminal or window closing, ends that -client only; the last client of a detached session leaves its layout as +client only (it says the session let it go, and exits 1); the last client of a detached session leaves its layout as the session's, for the next one to find. In a client, an addon whose state is plain (`PA_PLAIN`: the games, the picture, the PDF) runs in the client that shows it, from that client's own addons; one the client lacks @@ -202,18 +190,18 @@ of the session or a divergence of its own. `pardes attach /run/x.sock:work` #run-no-daemon() -// runtime/daemon.zig:52-61 (PARDES_DAEMON, PARDES_TEST), :34 (Linux and -// FreeBSD only); runtime/main.zig:1576-1592 (no daemon reached: no fork); -// dev/tui/tui.zig:1333-1334, dev/gui/gui.zig:2537, dev/host_io.zig:85 -// (Detach and Adopt refused); core/replica.zig:2087-2092 (a client only -// through the daemon); core/root.zig:118 (can_attach); -// runtime/main.zig:1513-1515 (a far attach needs no daemon here). +// runtime/daemon.zig wanted (PARDES_DAEMON, PARDES_TEST), supported +// (Linux and FreeBSD only); runtime/main.zig, the fork (no daemon reached: +// no fork); dev/tui/tui.zig detach, dev/gui/gui.zig detachWindow, +// dev/host_io.zig (Detach and Adopt refused); runtime/main.zig attachTo (a +// client only through the daemon); core/root.zig can_attach; +// runtime/main.zig, `attach HOST:NAME` (a far attach needs no daemon here). With `PARDES_DAEMON=off`, in a window under test (`PARDES_TEST`), where none could start, and in the Mac's own build, the session is the process you started, with no stub. #word("Detach") and #word("Adopt") refuse, no client can join (a client comes only through the daemon), and closing the terminal or the window ends the session and its shells. A session whose -daemon died is in the same place (#link(<run-survives>)[below]). +daemon died is not: it starts the next one itself (#link(<run-survives>)[below]). `pardes-gui` built for a Mac has no daemon either, but can still be a far client. @@ -234,8 +222,7 @@ client. [`pardes`], [stub, session, daemon], [`pardes` twice (the stub, and its child the session), `pardes --daemon`], [the session], [the session, on your terminal], [the session detaches while a daemon keeps it; else it ends], [`pardes-gui`], [session, daemon], [`pardes-gui`, the daemon], [the session], [the session, its window], [the session ends, unless it has clients and a daemon: then it runs on, detached], [`pardes --detach=work &`], [session, daemon], [`pardes --detach=work`, the daemon], [the session], [nothing], [it has none; its terminal's hangup ends a window's, not a terminal's while a daemon keeps it], - [`pardes attach work`, detached], [stub, session, daemon (a window's attach exits)], [`pardes attach work` (the stub), the session as it was], [the session], [the session, on this terminal (or its window)], [as for `pardes` (or `pardes-gui`)], - [`pardes attach work`, it has a frontend], [client, session, daemon], [`pardes attach work` (the client), the session], [the session; the client has a replica], [each its own: the session its frontend, the client this terminal], [the client ends; the session runs on], + [`pardes attach work`], [client, session, daemon], [`pardes attach work` (the client), the session as it was], [the session; the client has a replica], [the client, this terminal (`pardes-gui`: a window); the session its own frontend, if it still has it], [the client ends; the session runs on], [`pardes attach box:work`], [here: client, ssh; on box: daemon, session], [`pardes attach box:work`, `ssh -tt -q -o ExitOnForwardFailure=yes -L … box exec sleep 2147483647`], [the far session], [the client, here], [the client ends, and its ssh], [no daemon], [session], [`pardes` (or `pardes-gui`)], [the session], [the session], [the session ends, with its shells], ) @@ -247,13 +234,14 @@ started it. After an #word("Upgrade"), a session's command line starts with = What survives what <run-survives> -// core/replica.zig:2303-2325 (a client leaving); runtime/daemon.zig:485-502, +// core/replica.zig closeViewOf (a client leaving); runtime/daemon.zig hangUp, quit, // runtime/9p_io.zig:704-729, dev/tui/tui.zig:928-940 (TERM, HUP, INT: the -// shells go); runtime/daemon.zig:755-765, :770-789 (killed outright: kept +// shells go); runtime/daemon.zig Daemon.hangUp, Daemon.kill (killed outright: kept // for Adopt; `kill`: not); dev/tui/tui.zig:598-600 (a HUP kept by a daemon -// is a terminal's end, not the session's); runtime/daemon.zig:397, -// runtime/main.zig:1566-1593 (registered at the start and at an Upgrade -// only); runtime/upgrade.zig:1-15, core/replica.zig:2370-2393, :2988-3008 +// is a terminal's end, not the session's); runtime/daemon.zig readNotes, +// redial, relinked, dev/Ptys.zig tellDaemon (the next daemon dialled by +// the link's end alone, the hello and the shells' masters told it +// again); runtime/upgrade.zig:1-15, core/replica.zig:2370-2393, :2988-3008 // (Upgrade); core/Db.zig:1-17, :385-410 (the state file: Recent, the dumps). #{ set text(size: 0.85em) @@ -268,7 +256,7 @@ started it. After an #word("Upgrade"), a session's command line starts with [#word("Detach") in its own frontend], [runs on, detached (refused with no daemon)], [stay], [stay], [it ends (#word("Exit"), `pardes kill`, a TERM or an INT)], [gone; a terminal's stub exits with its status], [hang up with it], [each told, and exits], [it is killed outright (KILL) or crashes], [gone, its text with it unless dumped (#word("Dump"))], [run on while a daemon holds their terminals, and #word("Adopt") in another session takes them (what they showed is lost)], [each exits], - [the daemon is killed], [runs on, but no daemon lists it again, this one or the next: `pardes ps` and attach do not find it, #word("Detach") and #word("Adopt") refuse, and its frontend closing ends it], [stay; the shells of sessions killed earlier, held only by the daemon, hang up], [the ones joined stay; no new one can join], + [the daemon is killed], [runs on, and dials the next daemon at once, starting it if none answers: `pardes ps` lists it again, clients attach, #word("Detach") and #word("Adopt") work], [stay, their terminals held by the next daemon too; the shells of sessions killed earlier, held only by the dead daemon, hang up], [the ones joined stay; new ones join through the next daemon], [#word("Upgrade")], [the same pid on the new build, its dump loaded again; every view, terminal and stub kept; the daemon moves too. A build that cannot load the dump hands it back to the one before], [stay, the session's children still], [let go, and each joins again by itself (it tries for 20 s)], [a reboot], [gone; what is on disk stays: saved files and the state file (`pardes.xitdb`: Recent and the dumps, which #word("Restore") brings back)], [gone], [gone], ) @@ -282,8 +270,8 @@ started it. After an #word("Upgrade"), a session's command line starts with [*client*], [any further terminal or window on a session: its own process, a replica core], [*far*], [a client on another machine], [*frontend*], [what draws: the terminal, the window, the Mac's own], - [*detached*], [a session with no frontend of its own (it may have clients)], - [*attach*], [show a session here], + [*detached*], [a session with no frontend of its own, for good once it has let go the one it was born with (it may have clients)], + [*attach*], [show a session here: always a client], [*daemon*], [the per-user switchboard, `pardes --daemon`], [*stub*], [the process your shell waits on when the session is not it], ) @@ -295,7 +283,7 @@ and `headless` for detached): // core/replica.zig:1-19 (authority); core/replica.zig:2006-2062, :3013 // (Peers, Link, Joining); dev/tui/tui.zig:1162, dev/gui/gui.zig:2431 // (Shell); core/Core.zig:313-315, core/replica.zig:2028-2030 (unattended -// against detached); runtime/daemon.zig:283, :363, :799 (the daemon's +// against detached); runtime/daemon.zig hello, setDetached, Daemon.list (the daemon's // attached and detached), runtime/main.zig:1647 (`ps` says "has a // frontend"); runtime/session.zig:1-30, runtime/client.zig:1-35 (the // loops and what a frontend gives each). diff --git a/docs/zstbi-fp-contract.md b/docs/zstbi-fp-contract.md new file mode 100644 index 00000000..95c067fd --- /dev/null +++ b/docs/zstbi-fp-contract.md @@ -0,0 +1,66 @@ +# stb_image_resize: a downscale's pixels depend on the CPU's fused multiply-add + +A report for upstream (https://github.com/zig-gamedev/zstbi, which vendors +nothings/stb's `stb_image_resize.h` v0.97), against the commit pardes pins +(6b9bea1f, `build.zig.zon`). pardes patches its fetched copy at build time +(build/patches.zig, `zstbi_cut`) until it is fixed there, if upstream wants +it fixed. + +## What happens + +pardes downscales a kitty graphics PNG over 1280 pixels with zstbi's +`stbir_resize_uint8` (core/term/TerminalImages.zig, `decodePng`). The +resize is plain C on floats, with no SIMD of its own, and clang compiles C +with `-ffp-contract=on`: where the target has a fused multiply-add, +`a * b + c` becomes one instruction that rounds once instead of twice. +aarch64 always has one; the x86-64 targets pardes builds for here do not +use one. The aarch64 macOS binary has 66 `fmadd`/`fmla` in +`stbir__resize_arbitrary` and 32 in `stbir__resample_horizontal_downsample`; +the x86-64 Linux and FreeBSD binaries have no `vfmadd` anywhere. So the same +PNG downscales to pixels a step apart on an Apple silicon Mac. + +pardes meets it because a client of a session runs its own emulator on the +pty's bytes: a Mac client of a Linux session must end with the session's +terminal, and a join compares the snapshot (which holds each image's +pixels) of the two. + +## Measured + +Three PNGs sent by direct data (`f=100`): 1601x1203 (downscaled to +1280x961), 700x2001 (to 447x1280) and 333x257 (not downscaled). On Linux +x86-64 (SIMD on and off) and FreeBSD 15.1 amd64 the three images' pixels +were the same; on the Mac (Darwin 25.6, arm64) the two downscaled ones +differed and the third was the same, as were two 1024x768 images sent as +raw RGBA (`f=32`). pardes's per-unit digest does not cover images, so only +the snapshot differed. + +## The fix + +Contraction off for the whole translation unit, at the top of zstbi's C file: + +```diff +--- a/src/zstbi.c ++++ b/src/zstbi.c +@@ -1,3 +1,4 @@ + #include <stdlib.h> ++#pragma STDC FP_CONTRACT OFF +``` + +(`-ffp-contract=off` in zstbi's build flags is the same.) With it the Mac +binary has no fused multiply-add in `stbir_*`, and the Mac's pixels are +Linux's: the three images, and the snapshot (with the page fix of +docs/ghostty-page-size.md, every stream's). + +## What it costs + +A multiply and an add where there was one instruction, in a resize made +once per image sent (a 1601x1203 picture's), on aarch64 only: not +measured, as nothing else of pardes runs it. + +## Upstream today + +Not read beyond what is on this machine (no network): no copy of zstbi or +stb is in `~/05-genizah`. The three zstbi copies in `zig-pkg/` (the pin and +two others) all vendor `stb_image_resize.h` v0.97 with no pragma. stb's own +successor, `stb_image_resize2.h`, has SIMD paths of its own; moving to it +would be another question of the same kind, not a fix of this one. diff --git a/runtime/daemon.zig b/runtime/daemon.zig index 0d860918..80e1cc09 100644 --- a/runtime/daemon.zig +++ b/runtime/daemon.zig @@ -10,9 +10,10 @@ //! - a dup of every pty master it forks (`pty`), so a session killed //! outright never hangs its shells up, and which ones it closed; //! - whether a terminal or a window shows it (`state`). -//! It hands a terminal (`pardes --attach`) or a window request -//! (`pardes-gui --attach`) to a detached session, and a crashed session's -//! masters to the one that asks for them (Adopt). +//! It lists the sessions (`pardes ps`), hands a crashed session's masters +//! to the one that asks for them (Adopt), and a client's connection to the +//! session it names (below). A session whose daemon died dials the next +//! one and registers again (`readNotes`). //! //! Messages are SOCK_SEQPACKET datagrams: a line of words, and the fds it //! carries (SCM_RIGHTS). @@ -290,9 +291,17 @@ fn hello(fd: c_int, k: Kind, pid: libc.pid_t, named: []const u8, detached: bool) /// tell of their ptys; -1 with none (no daemon, or PARDES_DAEMON=off). pub var link: c_int = -1; /// The daemon said `ok` to the hello, and the link has not ended since; -/// `gone` once it has ended. +/// `gone` once it has ended for good (`readNotes`). var up = std.atomic.Value(bool).init(false); var gone = std.atomic.Value(bool).init(false); +/// The session is ending (`quit`): its link's end is no daemon's death. +var quitting = std.atomic.Value(bool).init(false); +/// A new daemon took the hello since the last one died: the rest of what +/// the dead one was told is to be told again (`relinked`). +var retell = std.atomic.Value(bool).init(false); +/// What the hello says besides the name: the kind, and whether detached. +var kind: Kind = .tty; +var detached_now = std.atomic.Value(bool).init(false); /// What it is called (its 9P name). var name_buf: [128]u8 = undefined; var name_len: usize = 0; @@ -328,6 +337,8 @@ fn setName(named: []const u8) void { pub fn register(fd: ?c_int, k: Kind, named: []const u8, detached: bool) bool { if (comptime !supported) return false; setName(named); + kind = k; + detached_now.store(detached, .release); const c = fd orelse connect(true) orelse return false; startPending(true); if (!hello(c, k, libc.getpid(), name(), detached)) { @@ -359,20 +370,36 @@ pub fn closed(pid: libc.pid_t) void { tell(std.fmt.bufPrint(&buf, "close {d}", .{pid}) catch unreachable, &.{}); // a pid fits 32 } -pub fn setState(detached: bool) void { - tell(if (detached) "state detached" else "state attached", &.{}); +/// Its own frontend let go (Detach, its terminal's end): detached for +/// good, an attach after it a client. +pub fn setDetached() void { + detached_now.store(true, .release); + tell("state detached", &.{}); } +/// The last `clients` line, kept to be told to a new daemon (`relinked`). +var clients_line: ["clients".len + max_clients * " -2147483648".len]u8 = undefined; +var clients_len: usize = 0; + /// This session's replica clients now, each its process's pid (0 when its /// socket's peer is not known), for `--ps`. pub fn clients(pids: []const libc.pid_t) void { - var buf: ["clients".len + max_clients * " -2147483648".len]u8 = undefined; - var w: std.Io.Writer = .fixed(&buf); - w.writeAll("clients") catch unreachable; // a literal, its .len in buf's - for (pids[0..@min(pids.len, max_clients)]) |pid| w.print(" {d}", .{pid}) catch unreachable; // max_clients i32s, in buf's type + var w: std.Io.Writer = .fixed(&clients_line); + w.writeAll("clients") catch unreachable; // a literal, its .len in clients_line's + for (pids[0..@min(pids.len, max_clients)]) |pid| w.print(" {d}", .{pid}) catch unreachable; // max_clients i32s, in clients_line's type + clients_len = w.end; tell(w.buffered(), &.{}); } +/// Whether a new daemon took this session's hello since the last call +/// (the session loop's, each pass): its clients told it again here, its +/// ptys the caller's to tell (`pty`). +pub fn relinked() bool { + if (!retell.swap(false, .acq_rel)) return false; + if (clients_len > 0) tell(clients_line[0..clients_len], &.{}); + return true; +} + /// Asks for the masters of sessions that died holding them; they come back /// as an `adopted` note. pub fn adopt() void { @@ -394,13 +421,15 @@ pub fn resumeLink(fd: c_int, stub_fd: c_int, k: Kind, named: []const u8, detache stub = stub_fd; if (stub >= 0) hupOnStubDeath(true); setName(named); + kind = k; + detached_now.store(detached, .release); if (fd >= 0 and hello(fd, k, libc.getpid(), name(), detached)) link = fd else if (fd >= 0) _ = libc.close(fd); } pub const Note = union(enum) { - /// A terminal for a detached tui session (`pardes --attach`), and the - /// stub's pipe; for a window session, both -1: open a window. - attach: struct { tty: c_int, stub: c_int }, + /// A new daemon took the hello (`readNotes`): the session loop is woken + /// to tell it the rest (`relinked`). + relinked, adopted: struct { pids: [max_fds]libc.pid_t, fds: [max_fds]c_int, n: usize }, /// A replica's connection, its hello taken (core/replica.zig `Peers`), /// and the view it joins again for, if it does. @@ -418,46 +447,58 @@ pub fn watch(ctx: *anyopaque, deliver: *const fn (ctx: *anyopaque, note: Note) v fn readNotes(fd: c_int, ctx: *anyopaque, deliver: *const fn (ctx: *anyopaque, note: Note) void) void { var buf: [msg_max]u8 = undefined; - // The end of the link (a daemon gone, a hello refused): not kept. - defer { - up.store(false, .release); - gone.store(true, .release); - } - while (recv(fd, &buf)) |got| { - var words = std.mem.tokenizeScalar(u8, got.words, ' '); - const verb = words.next() orelse ""; - if (std.meta.stringToEnum(enum { ok, attach, replica, adopted }, verb)) |v| switch (v) { - .ok => up.store(true, .release), - .attach => { - deliver(ctx, .{ .attach = .{ - .tty = if (got.nfds >= 2) got.fds[0] else -1, - .stub = if (got.nfds >= 2) got.fds[1] else -1, - } }); - for (got.fds[@min(got.nfds, 2)..got.nfds]) |f| _ = libc.close(f); - }, - .replica => { - const view = std.fmt.parseInt(u8, words.next() orelse "", 10) catch null; - if (got.nfds >= 1) deliver(ctx, .{ .replica = .{ .fd = got.fds[0], .view = view } }); - for (got.fds[@min(got.nfds, 1)..got.nfds]) |f| _ = libc.close(f); - }, - .adopted => { - var note: Note = .{ .adopted = .{ .pids = undefined, .fds = undefined, .n = 0 } }; - const a = ¬e.adopted; - for (got.fds[0..got.nfds]) |f| { - const pid = std.fmt.parseInt(libc.pid_t, words.next() orelse "", 10) catch { - _ = libc.close(f); - continue; - }; - a.pids[a.n] = pid; - a.fds[a.n] = f; - a.n += 1; - } - deliver(ctx, note); - }, - } else for (got.fds[0..got.nfds]) |f| { - _ = libc.close(f); + while (true) { + while (recv(fd, &buf)) |got| { + var words = std.mem.tokenizeScalar(u8, got.words, ' '); + const verb = words.next() orelse ""; + if (std.meta.stringToEnum(enum { ok, replica, adopted }, verb)) |v| switch (v) { + .ok => up.store(true, .release), + .replica => { + const view = std.fmt.parseInt(u8, words.next() orelse "", 10) catch null; + if (got.nfds >= 1) deliver(ctx, .{ .replica = .{ .fd = got.fds[0], .view = view } }); + for (got.fds[@min(got.nfds, 1)..got.nfds]) |f| _ = libc.close(f); + }, + .adopted => { + var note: Note = .{ .adopted = .{ .pids = undefined, .fds = undefined, .n = 0 } }; + const a = ¬e.adopted; + for (got.fds[0..got.nfds]) |f| { + const pid = std.fmt.parseInt(libc.pid_t, words.next() orelse "", 10) catch { + _ = libc.close(f); + continue; + }; + a.pids[a.n] = pid; + a.fds[a.n] = f; + a.n += 1; + } + deliver(ctx, note); + }, + } else for (got.fds[0..got.nfds]) |f| { + _ = libc.close(f); + } } + // The end of the link. One whose daemon took the hello (it died, or + // let the session go) is dialled again, a daemon started if none + // answers, and the hello said, here, off the session's way: the + // link's end is what wakes this, never a timer. One that never took + // it (another build's daemon), or the session's own end, is not: + // an end begun while it dialled finds the new link (`quit`). + if (!up.swap(false, .acq_rel) or quitting.load(.acquire) or !redial(fd) or quitting.load(.acquire)) break; + retell.store(true, .release); + deliver(ctx, .relinked); } + // Not kept, until the session's end. + gone.store(true, .release); +} + +/// A new connection in the place of `fd`, the link (its number kept, so +/// the session's own sends never race a new fd), and the hello said on it. +fn redial(fd: c_int) bool { + if (comptime !supported) return false; + const c = connect(true) orelse return false; + startPending(true); + defer _ = libc.close(c); + return libc.dup3(c, fd, @bitCast(@as(u32, @bitCast(libc.O{ .CLOEXEC = true })))) >= 0 and + hello(fd, kind, libc.getpid(), name(), detached_now.load(.acquire)); } /// `bytes` sent whole on a socket, never raising SIGPIPE: false when the @@ -493,6 +534,7 @@ pub fn hangUp() void { /// link closed, the reader joined. pub fn quit() void { if (link < 0) return; + quitting.store(true, .release); tell("quit", &.{}); _ = libc.shutdown(link, 2); if (reader) |r| r.join(); @@ -501,37 +543,13 @@ pub fn quit() void { link = -1; } -// ---- `pardes --attach`: a terminal, or a window, for a detached session ---- - -/// `other`: the session is the other kind (a window's for a terminal, or a -/// terminal's for a window), named so: joined as a replica client instead -/// (`replicaSocket`). -pub const Answer = union(enum) { ok: libc.pid_t, no: []const u8, other: []const u8 }; +// ---- `pardes attach`: a client, by the replica socket ---- /// This machine's replica socket, which joins a session of either kind. pub fn replicaSocket(buf: *[sun_path_len:0]u8) ?[:0]const u8 { return place(buf, "pardes-replica.sock"); } -/// Asks the daemon to hand `fds` (a terminal and a stub's pipe, or none for -/// a window) to the detached session `named` (any one, when empty), and -/// answers how it went; the words are `buf`'s. -pub fn attach(k: Kind, named: []const u8, fds: []const c_int, buf: []u8) Answer { - const fd = connect(false) orelse return .{ .no = "no detached session is running" }; - defer _ = libc.close(fd); - var line: [256]u8 = undefined; - const words = std.fmt.bufPrint(&line, "attach {t} {s}", .{ k, named }) catch return .{ .no = "that name is too long" }; - if (!send(fd, words, fds) or !readable(fd, 2000)) return .{ .no = "the daemon does not answer" }; - const got = recv(fd, buf) orelse return .{ .no = "the daemon hung up" }; - for (got.fds[0..got.nfds]) |f| _ = libc.close(f); - if (std.mem.startsWith(u8, got.words, "ok ")) { - const pid = std.fmt.parseInt(libc.pid_t, got.words[3..], 10) catch return .{ .no = "the daemon answered nonsense" }; - return .{ .ok = pid }; - } - if (std.mem.startsWith(u8, got.words, "other ")) return .{ .other = got.words["other ".len..] }; - return .{ .no = if (std.mem.startsWith(u8, got.words, "no ")) got.words[3..] else got.words }; -} - /// The daemon's answer to `words` (`list`, `kill <name>`, `killall`), in /// `buf`; null with no daemon running, or none answering. pub fn ask(words: []const u8, buf: []u8) ?[]const u8 { @@ -558,13 +576,11 @@ fn forward(sig: posix.SIG) callconv(.c) void { } } -/// The job the shell waits on, for a session that is not its child any -/// more (`pardes --attach`) or that it forked (`child`, reaped here): what -/// a terminal sends the job goes on to the session (its size, an end +/// The job the shell waits on, for the session it forked (reaped here): +/// what a terminal sends the job goes on to the session (its size, an end /// asked for), and it ends when the session is gone from the terminal -- -/// detached (`d<name>`), exited (`x<code>`, or the pipe's end and the -/// child's status), or refused (`r<why>`). -pub fn stubWait(session: libc.pid_t, child: bool, pipe: c_int) noreturn { +/// detached (`d<name>`), or exited (the pipe's end and the child's status). +fn stubWait(session: libc.pid_t, pipe: c_int) noreturn { stub_child = session; const on: posix.Sigaction = .{ .handler = .{ .handler = forward }, .mask = posix.sigemptyset(), .flags = posix.SA.RESTART }; for ([_]posix.SIG{ .WINCH, .TERM, .INT, .QUIT, .HUP }) |sig| posix.sigaction(sig, &on, null); @@ -587,31 +603,21 @@ pub fn stubWait(session: libc.pid_t, child: bool, pipe: c_int) noreturn { if (said.len > 0 and said[0] == 'd') { var text: [700]u8 = undefined; const who = said[1..]; - out.writeStreamingAll(io, std.fmt.bufPrint(&text, "pardes: detached from '{s}', which is still running; come back with `pardes --attach={s}`\n", .{ who, who }) catch "pardes: detached\n") catch {}; + out.writeStreamingAll(io, std.fmt.bufPrint(&text, "pardes: detached from '{s}', which is still running; come back with `pardes attach {s}`\n", .{ who, who }) catch "pardes: detached\n") catch {}; libc._exit(0); } - if (said.len > 0 and said[0] == 'r') { - var text: [700]u8 = undefined; - out.writeStreamingAll(io, std.fmt.bufPrint(&text, "pardes: --attach: {s}\n", .{said[1..]}) catch "pardes: --attach refused\n") catch {}; - libc._exit(1); + var status: c_int = 0; + while (libc.waitpid(session, &status, 0) < 0) { + if (libc.errno(-1) != .INTR) libc._exit(1); } - if (child) { - var status: c_int = 0; - while (libc.waitpid(session, &status, 0) < 0) { - if (libc.errno(-1) != .INTR) libc._exit(1); - } - const s: u32 = @bitCast(status); - if (libc.W.IFEXITED(s)) libc._exit(@intCast(libc.W.EXITSTATUS(s))); - if (libc.W.IFSIGNALED(s)) { - const sig = libc.W.TERMSIG(s); - const default: posix.Sigaction = .{ .handler = .{ .handler = posix.SIG.DFL }, .mask = posix.sigemptyset(), .flags = 0 }; - posix.sigaction(sig, &default, null); - _ = libc.raise(sig); - } - libc._exit(1); + const s: u32 = @bitCast(status); + if (libc.W.IFEXITED(s)) libc._exit(@intCast(libc.W.EXITSTATUS(s))); + if (libc.W.IFSIGNALED(s)) { + const sig = libc.W.TERMSIG(s); + const default: posix.Sigaction = .{ .handler = .{ .handler = posix.SIG.DFL }, .mask = posix.sigemptyset(), .flags = 0 }; + posix.sigaction(sig, &default, null); + _ = libc.raise(sig); } - if (said.len > 0 and said[0] == 'x') libc._exit(std.fmt.parseInt(u8, said[1..], 10) catch 1); - out.writeStreamingAll(io, "pardes: the session ended without a word\n") catch {}; libc._exit(1); } @@ -642,16 +648,8 @@ pub fn tellStubDetached() void { stub = -1; } -/// The session's end, `code` its exit status: the stub is told (and goes). -pub fn tellStubExit(code: u8) void { - tellStub(stub, "x{d}", .{code}); - stub = -1; -} - -/// The stub on `fd` told how its terminal's session went, what stubWait -/// reads, and its pipe let go: `d<name>` detached (one of a session's -/// several terminals, views.zig), `x<code>` exited, `r<why>` refused (an -/// attach that came too late). +/// The stub on `fd` told that its terminal's session detached +/// (`d<name>`), what stubWait reads, and its pipe let go. pub fn tellStub(fd: c_int, comptime fmt: []const u8, args: anytype) void { if (fd < 0) return; var buf: [256]u8 = undefined; @@ -694,7 +692,7 @@ pub fn forkSession(conn: c_int) ?void { _ = libc.close(conn); // Off the session's way: it is drawing already, its hello queued. startPending(true); - stubWait(pid, true, pipe[0]); + stubWait(pid, pipe[0]); } // ---- the daemon ---- @@ -815,7 +813,7 @@ const Daemon = struct { }; const c = &d.conns[i]; var words = std.mem.tokenizeScalar(u8, got.words, ' '); - const Verb = enum { hello, state, clients, pty, close, quit, upgrade, list, kill, killall, adopt, attach }; + const Verb = enum { hello, state, clients, pty, close, quit, upgrade, list, kill, killall, adopt }; switch (std.meta.stringToEnum(Verb, words.next() orelse return) orelse return) { .hello => { const v = std.fmt.parseInt(u32, words.next() orelse "", 10) catch 0; @@ -880,95 +878,7 @@ const Daemon = struct { if (!send(c.fd, w.buffered(), fds[0..n])) return d.hangUp(i); for (given[0..n]) |h| h.owner = i; }, - .attach => { - const k = std.meta.stringToEnum(Kind, words.next() orelse "") orelse return d.reply(i, "no bad attach", &.{}); - const wanted_name = std.mem.trim(u8, words.rest(), " "); - var why: [512]u8 = undefined; - // "other <name>": the client joins it through the replica socket. - const target = d.find(k, wanted_name, &why) orelse return d.reply(i, std.mem.sliceTo(&why, 0), &.{}); - const t = &d.conns[target]; - if (!send(t.fd, "attach", got.fds[0..got.nfds])) { - d.hangUp(target); - return d.reply(i, "no that session does not answer", &.{}); - } - t.detached = false; - var line: [32]u8 = undefined; - return d.reply(i, std.fmt.bufPrint(&line, "ok {d}", .{t.pid}) catch unreachable, &.{}); // a pid fits 32 - }, - } - } - - /// The detached session of kind `k` called `wanted_name`, or the one - /// there is when it is empty; else null, and why not in `why` - /// (0-terminated): "other <its name>" for one to join as a replica - /// client (of the other kind, or attached already: a session shows one - /// frontend of its own). - fn find(d: *Daemon, k: Kind, wanted_name: []const u8, why: *[512]u8) ?u8 { - @memset(why, 0); - const other: []const u8 = switch (k) { - .tty => "a window: attach it with `pardes-gui --attach", - .gui => "a terminal session: attach it with `pardes --attach", - }; - if (wanted_name.len != 0) { - for (&d.conns, 0..) |*s, i| if (s.fd >= 0 and s.kind != null and std.mem.eql(u8, s.named(), wanted_name)) { - if (s.kind.? != k or !s.detached) { - _ = std.fmt.bufPrint(why, "other {s}", .{wanted_name}) catch {}; - return null; - } - return @as(u8, @intCast(i)); - }; - _ = std.fmt.bufPrint(why, "no no session called '{s}'", .{wanted_name}) catch {}; - return null; - } - var found: ?u8 = null; - var count: usize = 0; - var others: usize = 0; - var w: std.Io.Writer = .fixed(why[0 .. why.len - 1]); - for (&d.conns, 0..) |*s, i| if (s.fd >= 0 and s.detached and s.kind != null) { - if (s.kind.? != k) { - others += 1; - continue; - } - count += 1; - found = @intCast(i); - }; - if (count == 1) return found.?; - // None detached: the one session there is, joined as a client. - if (count == 0) { - for (&d.conns, 0..) |*s, i| if (s.fd >= 0 and s.kind == k) { - count += 1; - found = @intCast(i); - }; - if (count == 1) { - _ = std.fmt.bufPrint(why, "other {s}", .{d.conns[found.?].named()}) catch unreachable; // a [128]u8 field's name fits 512 - return null; - } - count = 0; - // None of this kind at all: the one session there is, the other kind's. - var only: ?*Conn = null; - var sessions: usize = 0; - for (&d.conns) |*s| if (s.fd >= 0 and s.kind != null) { - sessions += 1; - only = s; - }; - if (found == null and sessions == 1) { - _ = std.fmt.bufPrint(why, "other {s}", .{only.?.named()}) catch unreachable; // a [128]u8 field's name fits 512 - return null; - } } - if (count == 0 and others == 0) { - w.writeAll("no no detached session is running") catch unreachable; // a literal fits 511 - return null; - } - if (count == 0) { - w.print("no the detached session{s} running {s} {s}=<name>`", .{ if (others == 1) " is" else "s are", if (others == 1) "is" else "are each", other }) catch {}; // cut short, still 0-terminated - return null; - } - w.print("no {d} detached sessions are running; say which with --attach=<name>:", .{count}) catch unreachable; // a usize fits 511 - for (&d.conns) |*s| if (s.fd >= 0 and s.detached and s.kind == k) { - w.print(" {s}", .{s.named()}) catch {}; - }; - return null; } /// More of a replica's hello; once it is whole, the connection refused @@ -1239,13 +1149,3 @@ test "a message carries its words and its fds, and the peer's end is null" { _ = libc.close(pair[1]); try std.testing.expect(recv(pair[0], &buf) == null); } - -test "an attach by a name longer than any session's is refused in words, never an empty reason" { - var d: Daemon = .{}; - var why: [512]u8 = undefined; - const long: []const u8 = &@as([600]u8, @splat('n')); - try std.testing.expect(d.find(.tty, long, &why) == null); - const said = std.mem.sliceTo(&why, 0); - try std.testing.expect(std.mem.startsWith(u8, said, "no ")); - try std.testing.expect(said.len > "no ".len); -} diff --git a/runtime/macos.zig b/runtime/macos.zig index a5869753..cfe93b13 100644 --- a/runtime/macos.zig +++ b/runtime/macos.zig @@ -359,7 +359,7 @@ fn initCore(runtime: ?*const Callbacks, cols_arg: u16, rows_arg: u16) !void { core.settings.workspace_tag = if (std.c.getenv("PARDES_WORKSPACE_TAG")) |v| std.mem.eql(u8, std.mem.span(v), "1") else - @import("pardes_config").workspace_tag; + @import("pardes_options").workspace_tag; core.view().frontend.native_images = true; var prompt_rcs = host_io.Shell.prepare(); @@ -835,7 +835,7 @@ fn drainInbox(st: *State) bool { // No daemon on macOS (daemon.supported): neither ever comes. // ponytail: no `job` host entry here either: a kind's jobs run // on the loop (host_io.KindJob.runHere), so none comes. - .files_changed, .fs_ready, .handed, .window, .adopted, .kind_job => {}, + .files_changed, .fs_ready, .handed, .adopted, .kind_job => {}, } } for (0..pardes.MAX_PANES) |pane| { diff --git a/runtime/main.zig b/runtime/main.zig index 448dfa57..a791ffec 100644 --- a/runtime/main.zig +++ b/runtime/main.zig @@ -280,17 +280,18 @@ const cmds = std.EnumArray(Cmd, Doc).init(.{ .attach = .{ .group = .Sessions, .args = "[NAME]", - .line = "show a detached session here (HOST:NAME: over ssh)", + .line = "show a session here, as a client (HOST:NAME: over ssh)", .doc = - \\Show a detached session here: in this terminal for pardes, a window - \\for pardes-gui. Bare, the one detached session (with none, the one - \\session). One with a frontend already, or of the other kind, is joined - \\as a client. HOST:NAME is a client of session NAME on another machine, - \\over `ssh -L` to its pardes-replica.sock ($PARDES_SSH: the ssh - \\command, default ssh; $PARDES_REMOTE_RUNTIME: its runtime directory, - \\if not this one's path); SOCK:NAME goes through a socket forwarded - \\already (a path, with a '/'). Returns when the session detaches or - \\ends. + \\Show a session here as a client: a process of its own, with a copy of + \\the session's core and a view of its own, in this terminal for pardes, + \\a window for pardes-gui, whatever the session was started in. Bare, + \\the one detached session (with none, the one session). HOST:NAME is a + \\client of session NAME on another machine, over `ssh -L` to its + \\pardes-replica.sock ($PARDES_SSH: the ssh command, default ssh; + \\$PARDES_REMOTE_RUNTIME: its runtime directory, if not this one's + \\path); SOCK:NAME goes through a socket forwarded already (a path, with + \\a '/'). Returns when it is let go: its Detach or its terminal or window + \\closing (the session runs on), or the session's end. , .examples = &.{ .{ "pardes attach", "the one detached session" }, @@ -1595,7 +1596,6 @@ fn nativeMain(std_init: std.process.Init) !void { } } defer daemon.quit(); - errdefer daemon.tellStubExit(1); switch (pardes.platform) { .tui => @import("dev").tui.run(init, opts, term) catch |err| switch (err) { // No controlling terminal (a detached pty, a daemon): said, not @@ -1609,7 +1609,6 @@ fn nativeMain(std_init: std.process.Init) !void { .gui => try @import("dev").gui.run(init, opts, detached), .macos => unreachable, } - daemon.tellStubExit(0); } extern "c" fn execvp(file: [*:0]const u8, argv: [*:null]const ?[*:0]const u8) c_int; @@ -1803,50 +1802,61 @@ fn attachClient(init: std.process.Init, opts: pardes.Options, where: []const u8, std.process.exit(0); } -/// `pardes --attach[=name]` in a terminal: this terminal handed (through -/// the daemon) to the detached session of that name, or the only one, and -/// this process its stub until the session leaves it. `pardes-gui -/// --attach`: the session asked to open its window again, and done. A -/// session attached already, or of the other kind, is joined as a replica -/// client, through this machine's replica socket. +/// `pardes attach [NAME]` (`pardes-gui` too): a client of the session of +/// that name on this machine, through its replica socket (the daemon +/// refuses a name no session has); bare, of the one `bareAttach` finds. fn attachTo(init: std.process.Init, opts: pardes.Options, name: []const u8) noreturn { const io = init.io; - var words: [600]u8 = undefined; if (comptime !daemon.supported) die(io, "--attach: this system has no pardes daemon to attach through", .{}); - if (pardes.platform == .gui) switch (daemon.attach(.gui, name, &.{}, &words)) { - .ok => std.process.exit(0), - .no => |why| die(io, "--attach: {s}", .{why}), - .other => |named| crossAttach(init, opts, named), - }; - const fd = std.c.open("/dev/tty", .{ .ACCMODE = .RDWR, .CLOEXEC = true, .NOCTTY = true }, @as(std.c.mode_t, 0)); - if (fd < 0) die(io, "--attach: no terminal to attach: /dev/tty will not open", .{}); - if (std.posix.tcgetattr(fd)) |tio| std.posix.tcsetattr(fd, .NOW, tio) catch {} else |_| {} - var pipe: [2]std.c.fd_t = undefined; - if (std.c.pipe(&pipe) != 0) die(io, "--attach: no pipe for the session to say when it leaves", .{}); - ninep_io.setCloexec(pipe[0]); - ninep_io.setCloexec(pipe[1]); - switch (daemon.attach(.tty, name, &.{ fd, pipe[1] }, &words)) { - .ok => |pid| { - _ = std.c.close(fd); - _ = std.c.close(pipe[1]); - daemon.stubWait(pid, false, pipe[0]); - }, - .no => |why| die(io, "--attach: {s}", .{why}), - .other => |named| { - _ = std.c.close(fd); - _ = std.c.close(pipe[0]); - _ = std.c.close(pipe[1]); - crossAttach(init, opts, named); - }, + var list: [4096]u8 = undefined; + var names_buf: [600]u8 = undefined; + var names: std.Io.Writer = .fixed(&names_buf); + const said = daemon.ask("list", &list) orelse die(io, "--attach: no pardes daemon is running", .{}); + const named = if (name.len != 0) name else bareAttach(said, &names) orelse if (names.end == 0) + die(io, "--attach: no session is running", .{}) + else + die(io, "--attach: say which session:{s}", .{names.buffered()}); + var sock_buf: [ninep_io.sun_path_len:0]u8 = undefined; + const sock = daemon.replicaSocket(&sock_buf) orelse die(io, "--attach: no runtime directory for the replica socket", .{}); + attachClient(init, opts, sock, named); +} + +/// The session a bare attach takes, from the daemon's `list`: the one +/// detached, else the one there is; null with none or several, every +/// session's name in `names`. +fn bareAttach(list: []const u8, names: *std.Io.Writer) ?[]const u8 { + var one: ?[]const u8 = null; + var detached: ?[]const u8 = null; + var n: usize = 0; + var n_detached: usize = 0; + var lines = std.mem.tokenizeScalar(u8, list, '\n'); + while (lines.next()) |line| { + var words = std.mem.tokenizeScalar(u8, line, ' '); + if (!std.mem.eql(u8, words.next() orelse "", "session")) continue; + _ = words.next(); // its pid + _ = words.next(); // its kind + const state = words.next() orelse continue; + one = std.mem.trim(u8, words.rest(), " "); + n += 1; + names.print(" {s}", .{one.?}) catch {}; // cut short + if (!std.mem.eql(u8, state, "detached")) continue; + detached = one; + n_detached += 1; } + if (n_detached == 1) return detached; + return if (n == 1) one else null; } -/// A session attached already or of the other kind (`--attach`'s): a -/// replica client of it here. -fn crossAttach(init: std.process.Init, opts: pardes.Options, name: []const u8) noreturn { - var sock_buf: [ninep_io.sun_path_len:0]u8 = undefined; - const sock = daemon.replicaSocket(&sock_buf) orelse die(init.io, "--attach: no runtime directory for the replica socket", .{}); - attachClient(init, opts, sock, name); +test "a bare attach takes the one detached session, else the one there is, else names them" { + var buf: [600]u8 = undefined; + var names: std.Io.Writer = .fixed(&buf); + try std.testing.expectEqualStrings("b", bareAttach("daemon 1\nsession 2 tty attached a\nshell 9\nsession 3 gui detached b\n", &names).?); + try std.testing.expectEqualStrings("a", bareAttach("daemon 1\nsession 2 tty attached a\n", &names).?); + names = .fixed(&buf); + try std.testing.expect(bareAttach("daemon 1\norphan 4\n", &names) == null); + try std.testing.expectEqual(@as(usize, 0), names.end); + try std.testing.expect(bareAttach("session 2 tty detached a\nsession 3 tty detached b c\n", &names) == null); + try std.testing.expectEqualStrings(" a b c", names.buffered()); } /// Where Recent's file (0.24) and the store before it were kept: diff --git a/runtime/root.zig b/runtime/root.zig index ec89e734..930f3389 100644 --- a/runtime/root.zig +++ b/runtime/root.zig @@ -22,9 +22,9 @@ test { _ = ninep; // main.zig's test block collected the crash file's: a shell's build // (shell-test); the core without a terminal (core-test) never compiled it. - if (comptime @import("term_options").terminal) _ = crash; + if (comptime @import("pardes_options").terminal) _ = crash; // A window's build links the window's C (font.c over FreeType and // HarfBuzz) into each of its programs, and their allocator (ui_malloc // and the rest) is gui.zig's. - if (comptime @import("term_options").terminal and @import("pardes_config").platform == .gui) _ = @import("dev").gui; + if (comptime @import("pardes_options").terminal and @import("pardes_options").platform == .gui) _ = @import("dev").gui; } diff --git a/runtime/session.zig b/runtime/session.zig index f401c85a..fdd72c2b 100644 --- a/runtime/session.zig +++ b/runtime/session.zig @@ -2,29 +2,31 @@ //! (dev/gui `runNative`) alike, each with a frontend of its own. It holds //! the session's allocators and workers, its core (an upgrade's, a dump's //! or a new one), the prompt files its shells start with, its 9P listener -//! and its replica clients (`Peers`): a step, its unit to the clients and -//! theirs taken in, an Upgrade or a Restore between steps; and the order -//! its parts end in. Its devices (the ptys and their readers, the files -//! watched, the LSP's and the pipes' and addons' jobs, the queue they post -//! to, the session's own input) are still its frontend's (each `Shell`, -//! the services step's to make one). What a frontend does is: +//! its replica clients (`Peers`), its queue (the workers' and readers' +//! posts, `Inbox`), its ptys (`Ptys`) and the files it watches +//! (`file_watch.Watches`): a step, its unit to the clients and theirs +//! taken in, an Upgrade or a Restore between steps; and the order its +//! parts end in. Its other devices (the LSP's and the pipes' and addons' +//! jobs, the session's own input) are still its frontend's (each `Shell`); +//! the language servers' answers come through its queue (`Inbox.startLsp`). +//! What a frontend does is: //! //! - `options(o)`: before the core: what it gives the core it starts (a //! window's size, for a dump's layout). //! - `open(l) Host`: its devices made over the session's core and parts, -//! the host the core steps with (the core's, set there); what it does -//! before the core's first effects (an upgraded terminal's panes its -//! own again, whether anyone looks). +//! the host the core steps with (the core's, set there), who wakes it +//! when the queue gets a post (`l.inbox`); what it does before the +//! core's first effects (an upgraded terminal's panes its own again, +//! whether anyone looks). //! - `close(l)`: its devices stopped, after the clients are let go and -//! before the core goes. -//! - `resumePtys(rec)`: an upgraded session's shells, its own again. -//! - `start(l)`: after the first effects: its input, its readers, the -//! listener's wake, a detached session's first wait (`l.watch`). +//! before the watches, the ptys, the queue and the core go. +//! - `start(l)`: after the first effects, the ptys and the watches +//! read: its input, its readers, the listener's wake, a detached +//! session's first wait (`l.watch`). //! - `sent()`: after each step's unit went to the clients. //! - `upgradeAsked()`: an Upgrade asked in the step, done (it execs). -//! - `note(n)`: what the daemon says (a terminal, an adopted shell, a -//! client's connection), onto its queue. -//! - `watched()`: the files it watches (a Restore stops watching them). +//! - `note(n)`: what the daemon says (an adopted shell, a client's +//! connection, a new daemon's hello taken), onto its queue. //! - `restoring(nc)`, `restored(l)`: a Restore's new core, before it //! replaces the old one (its devices let go, what it is told of the //! frontend) and after (its own view of it again). @@ -32,14 +34,12 @@ const std = @import("std"); const pardes = @import("core"); const replica = pardes.replica; const host_io = @import("dev").host_io; +const Ptys = host_io.Ptys; const file_watch = @import("dev").file_watch; const daemon = @import("daemon.zig"); const upgrade = @import("upgrade.zig"); const ninep_io = @import("9p_io.zig"); -/// The files a frontend watches (host_io.restoreCore lets them go). -pub const Watched = struct { fd: c_int, table: *file_watch.Table }; - pub fn Loop(comptime Frontend: type) type { return struct { const L = @This(); @@ -52,6 +52,11 @@ pub fn Loop(comptime Frontend: type) type { frames: pardes.FrameStats = .{}, core: *pardes.Pardes = undefined, prompt_rcs: host_io.Shell.PromptFiles = undefined, + /// What the session's workers and readers post, for the frontend + /// to take in its wait. + inbox: host_io.Inbox = undefined, + ptys: Ptys = undefined, + watches: file_watch.Watches = undefined, fs: ?*ninep_io.Listener = null, peers: replica.Peers = .{}, host: pardes.Host = undefined, @@ -83,6 +88,15 @@ pub fn Loop(comptime Frontend: type) type { l.fs = ninep_io.start(l.io, l.gpa, l.core); defer if (l.fs) |f| f.deinit(l.gpa); l.peers = .{ .gpa = l.gpa, .io = l.io, .name = daemon.name() }; + l.inbox = .{ .io = l.io, .gpa = l.gpa, .lsp_allocator = l.allocs.lsp }; + defer l.inbox.deinit(); + // The language servers' status lines, from the first effects on. + pardes.lsp.setStatusSink(&l.inbox, host_io.Inbox.lspStatus); + defer pardes.lsp.setStatusSink(null, null); + l.ptys = .{ .queue = &l.inbox, .prompt_rcs = &l.prompt_rcs }; + defer l.ptys.deinit(); + l.watches = .open(l.io, l.gpa, &l.inbox); + defer l.watches.deinit(); l.host = try fe.open(&l); defer fe.close(&l); @@ -93,9 +107,11 @@ pub fn Loop(comptime Frontend: type) type { // ...and its shells, once a fresh session's own has a directory // to adopt them in. if (upgrade.resumed) |*rec| { - fe.resumePtys(rec); + l.ptys.resumeFrom(l.core, rec); l.effects(); } + l.ptys.start(l.core); + l.watches.start(); try fe.start(&l); while (!l.core.quit) { @@ -108,8 +124,7 @@ pub fn Loop(comptime Frontend: type) type { // Asked in the step (the word), done between steps: the // session whole. fe.upgradeAsked(); - // A terminal (`pardes --attach`), a window asked for again, - // an adopted shell or a client's connection, handed on by + // An adopted shell or a client's connection, handed on by // the daemon's thread; started after the first frame, off a // start's way. l.watch(); @@ -129,8 +144,10 @@ pub fn Loop(comptime Frontend: type) type { } /// What the daemon says, onto the frontend's queue (once: its - /// reader is started by the first call). + /// reader is started by the first call); and a daemon started + /// since the last one died told the shells' masters it held. pub fn watch(l: *L) void { + if (daemon.relinked()) l.ptys.tellDaemon(); daemon.watch(l.fe, note); } @@ -140,11 +157,14 @@ pub fn Loop(comptime Frontend: type) type { } /// A Restore: the core its dump makes replaces this one, its clients - /// let go (host_io.restoreCore); the frontend's devices with it. + /// let go (host_io.restoreCore); its shells and the frontend's + /// devices with it. fn restore(l: *L, path: []const u8) void { - const w = l.fe.watched(); - const nc = host_io.restoreCore(l.gpa, l.core, path, &l.peers, w.fd, w.table) orelse return; + const nc = host_io.restoreCore(l.gpa, l.core, path, &l.peers, l.watches.fd, &l.watches.table) orelse return; l.fe.restoring(nc); + // An answer to the old core's query is turned away. + l.inbox.discardCompletions(); + l.ptys.stop(); nc.host = l.host; if (l.fs) |f| f.reset(nc); l.core.deinit(); diff --git a/test/behaviour/panes.zig b/test/behaviour/panes.zig index 67155776..dcde9c4d 100644 --- a/test/behaviour/panes.zig +++ b/test/behaviour/panes.zig @@ -888,7 +888,7 @@ test "panes: truncating body empties it, and a stat says the length after" { } test "panes: a rename colours a source its new name's language names, its text unchanged" { - if (!@import("pardes_config").syntax_highlighting) return error.SkipZigTest; + if (@import("pardes_options").grammars == .disabled) return error.SkipZigTest; var s = try Session.initFile(std.testing.allocator, "fn check() void {}\n"); defer s.deinit(); const n = try s.focused(); diff --git a/test/behaviour/settings.zig b/test/behaviour/settings.zig index 66cd97df..cacee701 100644 --- a/test/behaviour/settings.zig +++ b/test/behaviour/settings.zig @@ -37,7 +37,7 @@ test "settings: Pet is the window's: a terminal's view refuses it; a window take defer s.deinit(); // Which build, from its options, not from the answer: a terminal's view // taking Pet must fail here, not pass as a window. - if (comptime @import("pardes_config").platform == .gui) { + if (comptime @import("pardes_options").platform == .gui) { try std.testing.expectEqualStrings("Pet off", try setting(&s, "Pet")); try s.write("/ctl", "Pet cat\n"); try std.testing.expectEqualStrings("Pet cat", try setting(&s, "Pet")); @@ -106,7 +106,7 @@ test "settings: a bad setting value is quoted, so two different bad values log a test "settings: a setting this frontend cannot show says GUI-only, never run as a command, and DumpDir reads back" { var s = try Session.initFile(std.testing.allocator, "x\n"); defer s.deinit(); - if (comptime @import("pardes_config").platform != .gui) { + if (comptime @import("pardes_options").platform != .gui) { _ = try s.refused("/ctl", "GripWidth 120\n"); try std.testing.expectEqualStrings("GripWidth is GUI-only, invalid here \"GripWidth\"", s.said); // A builtin the GUI alone has, written to a ctl or an exec, never @@ -158,7 +158,7 @@ test "settings: Back and Forward written to exec keep to the focused file" { }); } -const syntax = @import("pardes_config").syntax_highlighting; +const syntax = @import("pardes_options").grammars != .disabled; /// The style /screen draws the cell `into` cells into the first place /// `text` is drawn. @@ -314,7 +314,7 @@ test "settings: the user's startup file loads clean, every word of it known and const ctl = try s.read("/ctl"); for ([_][]const u8{ "Theme monokai_pro_classic\n", "CallstackDepth 64\n", "InactiveDim 5\n", "Shell fish\n", "JumpTrail on\n", "LocationsConfig context:4 tscontext:on tslocations:on layout:stacked\n" }) |line| try expectHas(ctl, line); // The window's words, which a terminal's view leaves to the window. - const window = @import("pardes_config").platform == .gui; + const window = @import("pardes_options").platform == .gui; for ([_][2][]const u8{ .{ "GripWidth", "110" }, .{ "CursorBlink", "off" }, .{ "WindowOpacity", "100" }, .{ "TaglineSize", "80" }, .{ "Pet", "frog" } }) |w| try expectHas(ctl, if (window) s.at("\n{s} {s}\n", .{ w[0], w[1] }) else s.at("\n# {s} unsupported\n", .{w[0]})); } diff --git a/test/daemon.py b/test/daemon.py index e600beb7..d134732b 100644 --- a/test/daemon.py +++ b/test/daemon.py @@ -2,8 +2,10 @@ """The per-user daemon end to end (docs/next-daemon.md, phase 3), under a private HOME and runtime directory: -- a terminal's session detached (the stub ends, exit 0) and attached again - from another terminal, N times; +- a terminal's session detached (the stub ends, exit 0), then attached + from another terminal N times, each a client (an attach is always one); +- the daemon killed: its sessions start the next and register again with + it, their shells too, and a client attaches (`relink`); - a session killed outright: its shells live on, held by the daemon, and another session adopts them as terminal panes; - a replica's hello on the daemon's stream socket (phase 5): one of this @@ -16,13 +18,15 @@ private HOME and runtime directory: - nothing left behind: no session, shell, daemon or socket. python3 -B test/daemon.py <pardes> [cycles] - python3 -B test/daemon.py --gui <pardes-gui> [cycles] (a hidden window; - needs a Wayland display, and a pardes beside it for the refusal) + python3 -B test/daemon.py --gui <pardes-gui> [cycles] (hidden windows, + offscreen, and a pardes beside it for the terminal's client) python3 -B test/daemon.py --ping <socket> <session> <pardes> [n] a hello of <pardes>'s build and n pings on a replica socket (one `ssh -L` forwards, say), timed python3 -B test/daemon.py --clients <pardes> the replica clients alone + python3 -B test/daemon.py --relink <pardes> + the daemon killed: its sessions register again with the next python3 -B test/daemon.py --far <pardes> the far clients and their blob cache alone, and a file by its hash python3 -B test/daemon.py --games <pardes> <lib> [seconds] @@ -428,8 +432,8 @@ def clients(binary): wait_for('both clients out of insert mode', lambda: normal_again(ta) and normal_again(tb)) wait_for('client A agrees once quiet', lambda: agreed(root / 'a.check', 0)) wait_for('client B agrees once quiet', lambda: agreed(root / 'b.check', 0)) - # A terminal attached while a client's view is live (its input the - # last): it takes the session's own and is drawn. + # A terminal attached by the session's name alone while a client's + # view is live (its input the last): a client too, drawn. tt = Term(24, 80) terms.append(tt) stub = tt.spawn([binary, '--attach=files'], env) @@ -507,7 +511,7 @@ def clients(binary): f'one killed, the other typed on and detached; a third typed into a shell, agreed ' f'{len(checks(root / "c.check"))} times, and was hung up') exit_session(nine, pane) - sess.wait(timeout=10) + sess.wait(timeout=60) nine.socket.close() wait_for('nothing left', lambda: not [p for p in processes(root) if alive(p)], timeout=10) print('daemon: replica clients\' session ended, nothing left behind') @@ -606,6 +610,132 @@ def manage(binary): shutil.rmtree(root, ignore_errors=True) +def wakeups(pid, secs): + """Its threads' context switches over `secs` (Linux's /proc): none for + a process nothing wakes.""" + def count(): + n = 0 + for task in os.listdir(f'/proc/{pid}/task'): + try: + for line in open(f'/proc/{pid}/task/{task}/status'): + if line.split(':')[0] in ('voluntary_ctxt_switches', 'nonvoluntary_ctxt_switches'): + n += int(line.split()[1]) + except OSError: + pass + return n + before = count() + time.sleep(secs) + return count() - before + + +def relink(binary): + """The daemon killed outright (docs/next-run.md, "A session registering + again"): a detached session and a terminal's, each with a shell, dial + the next daemon themselves (the first to find none starts it) and + register again with their shells' masters, so `--ps` lists both and + their shells, a client attaches, and the session then killed outright + leaves its shell to an Adopt. An idle session stays idle before and + after.""" + scratch = Path(__file__).resolve().parent.parent.parent / '.scratch' / 'daemon' / 'dmn' + scratch.mkdir(parents=True, exist_ok=True) + root = Path(tempfile.mkdtemp(prefix='rr-', dir=scratch)) + env = {k: v for k, v in os.environ.items() if not k.startswith('PARDES_') and 'PAGER' not in k} + env.update(HOME=str(root), XDG_RUNTIME_DIR=str(root), XDG_CONFIG_HOME=str(root / 'config'), + TERM='xterm-256color', SHELL=shutil.which('bash') or '/bin/bash', PARDES_NOTIME='1') + (root / 'config' / 'pardes').mkdir(parents=True) + (root / 'config' / 'pardes' / 'init').write_text('Shell bash\nMessageLinger 0\n') + + def listed(): + out = subprocess.run([binary, '--ps'], env=env, cwd=root, capture_output=True, timeout=30) + return out.stdout.decode() if out.returncode == 0 else '' + + def daemons(): + return [p for p in processes(root) if cmdline(p)[1:2] == [b'--daemon'] and alive(p)] + + started = [] + terms = [] + try: + (root / 'notes.txt').write_text('notes\n') + started.append(subprocess.Popen([binary, '--detach=work', str(root / 'notes.txt')], env=env, cwd=root, + stdin=subprocess.DEVNULL, stdout=subprocess.DEVNULL, + stderr=subprocess.DEVNULL, start_new_session=True).pid) + wait_for('the detached session\'s 9P socket', (root / 'pardes-9p-work.sock').exists) + work = Client(root / 'pardes-9p-work.sock') + session = int(dict(line.split(maxsplit=1) for line in work.read('/status').decode().splitlines())['pid']) + started.append(session) + work.write('/pane/1/exec', b'Term\n') + wait_for('its shell', lambda: terminals(work)) + shell = terminals(work)[0] + wait_for('its shell answers', lambda: run(work, shell, b'true\n') == b'exit 0\n') + shell_pid = int(run(work, shell, b'echo $$\n').split(b'\n')[1]) + started.append(shell_pid) + term = Term() + terms.append(term) + stub = term.spawn([binary, '--tty', '--9p=own'], env) + started.append(stub.pid) + wait_for('the terminal\'s session', (root / 'pardes-9p-own.sock').exists) + own = Client(root / 'pardes-9p-own.sock') + own_pid = int(dict(line.split(maxsplit=1) for line in own.read('/status').decode().splitlines())['pid']) + started.append(own_pid) + wait_for('its first frame', lambda: b'\x1b[?1049h' in term.text()) + own_shell = terminals(own)[0] + own_shell_pid = int(run(own, own_shell, b'echo $$\n').split(b'\n')[1]) + started.append(own_shell_pid) + expected = [f'session work {session} (tty, detached)', f'session own {own_pid} (tty, has a frontend)', + f'shell {shell_pid}', f'shell {own_shell_pid}'] + assert all(row in listed() for row in expected), listed() + daemon = daemons()[0] + idle = wakeups(session, 2) if procfs else 0 + os.kill(daemon, signal.SIGKILL) + wait_for('the daemon gone', lambda: not alive(daemon)) + # Nobody runs pardes again: the sessions start the next one. + again = wait_for('a daemon again', daemons)[0] + started.append(again) + wait_for('both sessions and their shells listed again', lambda: all(row in listed() for row in expected)) + idle_after = wakeups(session, 2) if procfs else 0 + assert idle <= 2 and idle_after <= 2, ('an idle session woke', idle, idle_after) + print(f'relink: daemon {daemon} killed, {again} started by its sessions, both listed again with their shells; ' + f'the detached one idle before and after ({idle} and {idle_after} wakeups in 2 s)') + tc = Term(30, 100) + terms.append(tc) + c = tc.spawn([binary, 'attach', 'work'], env) + started.append(c.pid) + wait_for('the client\'s first frame', lambda: b'notes' in tc.text(), timeout=30) + wait_for('the client in --ps', lambda: f'client {c.pid} ' in listed()) + c.send_signal(signal.SIGHUP) + c.wait(timeout=10) + os.kill(session, signal.SIGKILL) + wait_for('the killed session gone', lambda: not alive(session)) + wait_for('its shell no session\'s', lambda: 'no session holds' in listed()) + assert alive(shell_pid), 'the new daemon held its master' + before = set(terminals(own)) + own.write(f'/pane/{min(before)}/exec', b'Adopt\n') + pane = wait_for('the adopted pane', lambda: set(terminals(own)) - before).pop() + assert run(own, pane, b'echo $$\n').split(b'\n')[1] == str(shell_pid).encode() + print(f'relink: a client attached to the session through the new daemon; killed outright, its shell {shell_pid} was adopted') + exit_session(own, pane) + stub.wait(timeout=10) + own.socket.close() + work.socket.close() + wait_for('the shells hung up', lambda: not alive(shell_pid) and not alive(own_shell_pid)) + wait_for('the daemon gone once idle', lambda: not alive(again), timeout=5) + left = [p for p in processes(root) if alive(p)] + assert not left, [cmdline(p) for p in left] + print('relink: nothing left behind') + finally: + for t in terms: + try: + t.close() + except OSError: + pass + for pid in started + processes(root): + try: + os.kill(pid, signal.SIGKILL) + except (ProcessLookupError, PermissionError): + pass + shutil.rmtree(root, ignore_errors=True) + + class Window: """A pardes-gui in test mode, its window offscreen and hidden, its keys written to its stdin (the test feed: Escape as `CSI 27 u`, which a @@ -704,7 +834,7 @@ def pdf_window(binary, gui_binary): print(f'daemon: a PDF in a detached session, a window client\'s wheel over it: the session at page {page()}, ' f'the window\'s digest the session\'s {len(checks(check))} times') exit_session(nine, pdf) - sess.wait(timeout=10) + sess.wait(timeout=60) nine.socket.close() finally: for pid in started: @@ -850,7 +980,7 @@ def window_clients(binary, gui_binary): f'{agreements} and {len(checks(root / "a.check"))} times; one put off the session\'s state joined again, ' f'joined again across an Upgrade, agreed {len(checks(dcheck))} times and detached (far: its joins {joins(root / "wd.stats")})') exit_session(nine, pane) - sess.wait(timeout=10) + sess.wait(timeout=60) nine.socket.close() # A window's session (its daemon on, as a desktop's is), served to a # terminal's client and a window's, the window typing as they do. @@ -1086,7 +1216,7 @@ def far(binary): b_joins[1]['blobs'], c_join['from_disk'], c_join['blobs'], d_join['sent_kb'], sum(len(checks(root / f'{n}.check')) for n in 'abcdef'))) exit_session(nine, pane) - sess.wait(timeout=10) + sess.wait(timeout=60) nine.socket.close() wait_for('nothing left', lambda: not [p for p in processes(root) if alive(p)], timeout=10) finally: @@ -1169,7 +1299,7 @@ def by_hash(binary): os.write(t.master, b' sD') wait_for('a client let go', lambda: c.poll() is not None, timeout=20) exit_session(nine, pane) - sess.wait(timeout=10) + sess.wait(timeout=60) nine.socket.close() finally: for t in terms: @@ -1282,7 +1412,7 @@ def games(binary, libs, secs=10): f'{got["c"]["foreign"]} (the third typing text), every digest agreed; a kind whose tick reads the clock was caught and its ' f'client joined again once') exit_session(nine, text) - sess.wait(timeout=10) + sess.wait(timeout=60) nine.socket.close() finally: for t in terms: @@ -1392,73 +1522,94 @@ def main(binary, cycles): far(binary) by_hash(binary) manage(binary) + relink(binary) shell = terminals(client)[0] shell_pid = int(run(client, shell, b'echo $$\n').split(b'\n')[1]) started.append(shell_pid) + # Detach in the terminal it was born with: the stub ends (exit 0, + # its words), the terminal put back; the session runs on detached, + # for good: every attach after it is a client. + client.write(f'/pane/{shell}/exec', b'Detach\n') + assert stub.wait(timeout=10) == 0, stub.returncode + # The stub's last words are in its terminal before it ends, but + # this side's reader may not have them yet. + wait_for('the stub says it detached', lambda: b'detached from \'work\', which is still running; come back with `pardes attach work`' in term.text()) + assert b'\x1b[?1049l' in term.text(), 'the terminal is put back' + term.close() + assert alive(session) and alive(shell_pid) + assert run(client, shell, b'echo still\n').startswith(b'exit 0\nstill'), 'the shell runs on, detached' + + def attach(term, argv, typed): + """A client: its own process, drawn, listed by --ps under the + session, detached still, and its keys in the shell.""" + c = term.spawn(argv, env) + started.append(c.pid) + wait_for('the client\'s first frame', lambda: b'\x1b[?1049h' in term.text()) + listed = wait_for('the client in --ps', lambda: (lambda out: f'client {c.pid} ' in out and out)( + subprocess.run([binary, '--ps'], env=env, capture_output=True, timeout=30).stdout.decode())) + assert f'session work {session} (tty, detached)' in listed, listed + os.write(term.master, f'echo {typed}\r'.encode()) + wait_for('its keys in the shell', lambda: typed.encode() in client.read(f'/pane/{shell}/body')) + return c + + def let_go(how, c, term): + """Detach in it (its view the live one: it typed last), or its + terminal closed: it ends; the session and its shell run on.""" + if how == 'detach': + client.write(f'/pane/{shell}/exec', b'Detach\n') + assert c.wait(timeout=10) == 1, c.returncode + wait_for('the client says it was let go', lambda: b'let this client go' in term.text()) + else: + term.close() + c.wait(timeout=10) + if how == 'detach': + term.close() + assert alive(session) and alive(shell_pid) + baseline = None for cycle in range(cycles): - client.write(f'/pane/{shell}/exec', b'Detach\n') - assert stub.wait(timeout=10) == 0, stub.returncode - # The stub's last words are in its terminal before it ends, but - # this side's reader may not have them yet. - wait_for('the stub says it detached', lambda: b'detached from \'work\'' in term.text()) - said = term.text() - assert b'\x1b[?1049l' in said, 'the terminal is put back' - term.close() - assert alive(session) and alive(shell_pid) - assert run(client, shell, b'echo still\n').startswith(b'exit 0\nstill'), 'the shell runs on, detached' term = Term(30, 100) - stub = term.spawn([binary, '--attach=work'], env) - wait_for('the attached terminal\'s first frame', lambda: b'\x1b[?1049h' in term.text()) - wait_for('the session sized to its new terminal', - lambda: client.screen()['cols'] == 100 and client.screen()['rows'] == 30) + c = attach(term, [binary, '--attach=work'] if cycle % 2 else [binary, 'attach'], f'cycle-{cycle}') now = (fds(session), fds(daemon), len(list(root.iterdir())), len(processes(root))) if baseline is None: baseline = now assert now == baseline, (cycle, now, baseline) - print(f'daemon: {cycles} detach/attach cycles, fds/sockets/processes level: {baseline}') + let_go('detach' if cycle % 2 else 'close', c, term) + print(f'daemon: a Detach in its own terminal, then {cycles} attaches as clients (Detach in each, or its terminal closed), ' + f'fds/sockets/processes level: {baseline}') - # Another terminal while one is attached: a replica client of the - # session (a session shows one frontend of its own), listed under - # it by --ps, drawn beside the first, typed into as the first is. - # Detached from inside, it ends and the first draws on; closed - # outright, the same. + # Two clients at once, both listed by --ps, both typed into and + # drawn; the second let go by a Detach in it, or its terminal + # closed, and the first draws on. + term = Term(30, 100) + first = attach(term, [binary, 'attach', 'work'], 'first-in') for how in ('detach', 'close'): - # Bigger than the first: the shell, sized for the first (its - # last typist), shows whole in it. term2 = Term(40, 120) - stub2 = term2.spawn([binary, '--attach=work'], env) - started.append(stub2.pid) - wait_for('the second terminal\'s first frame', lambda: b'\x1b[?1049h' in term2.text()) - wait_for('the second terminal\'s view live', lambda: client.screen()['cols'] == 120) - listed = subprocess.run([binary, '--ps'], env=env, capture_output=True, timeout=30).stdout.decode() - assert f'client {stub2.pid} ' in listed, listed + second = attach(term2, [binary, 'attach', 'work'], f'two-typed-{how}') os.write(term.master, f'echo one-typed-{how}\r'.encode()) wait_for('the first terminal\'s keys in the shell', lambda: f'one-typed-{how}'.encode() in client.read(f'/pane/{shell}/body')) - os.write(term2.master, f'echo two-typed-{how}\r'.encode()) - wait_for('the second terminal\'s keys in the shell', lambda: f'two-typed-{how}'.encode() in client.read(f'/pane/{shell}/body')) + # (Words no line before has a letter of in the same place: a + # terminal is sent the cells that changed.) + drawn = f'{how.upper()}BOTHDRAWN' seen = len(term.text()) - run(client, shell, f'echo both-drawn-{how}\n'.encode()) - wait_for('the first terminal drawn', lambda: f'both-drawn-{how}'.encode() in term.text()[seen:]) - wait_for('the second terminal drawn', lambda: f'both-drawn-{how}'.encode() in term2.text()) - assert stub.poll() is None and stub2.poll() is None - if how == 'detach': - # Its view is the live one (its terminal spoke last). - client.write(f'/pane/{shell}/exec', b'Detach\n') - stub2.wait(timeout=10) - term2.close() - else: - term2.close() - stub2.wait(timeout=10) - wait_for('the first terminal\'s view live again', lambda: client.screen()['cols'] == 100) - wait_for('the client gone from --ps', lambda: 'client ' not in subprocess.run([binary, '--ps'], env=env, capture_output=True, timeout=30).stdout.decode()) + run(client, shell, f'echo {drawn}\n'.encode()) + wait_for('the first terminal drawn', lambda: drawn.encode() in term.text()[seen:]) + wait_for('the second terminal drawn', lambda: drawn.encode() in term2.text()) + assert first.poll() is None and second.poll() is None + # Its view the live one: it typed last. + os.write(term2.master, f'echo two-last-{how}\r'.encode()) + wait_for('the second terminal\'s keys in the shell', lambda: f'two-last-{how}'.encode() in client.read(f'/pane/{shell}/body')) + let_go(how, second, term2) + wait_for('the client gone from --ps', lambda: f'client {second.pid} ' not in subprocess.run([binary, '--ps'], env=env, capture_output=True, timeout=30).stdout.decode()) + drawn = f'{how.upper()}FIRSTON' seen = len(term.text()) - run(client, shell, f'echo first-on-{how}\n'.encode()) - wait_for('the first terminal drawn on', lambda: f'first-on-{how}'.encode() in term.text()[seen:]) - assert stub.poll() is None, 'the first terminal stays attached' + run(client, shell, f'echo {drawn}\n'.encode()) + wait_for('the first terminal drawn on', lambda: drawn.encode() in term.text()[seen:]) + assert first.poll() is None, 'the first client stays' now = (fds(session), fds(daemon), len(list(root.iterdir())), len([p for p in processes(root) if alive(p)])) assert now[:3] == baseline[:3], (how, now, baseline) - print('daemon: a second terminal on an attached session a client of it (in --ps), both typed into and drawn, then detached and closed; the first drew on') + print('daemon: two clients at once, each in --ps, both typed into and drawn; the second detached, then closed; the first drew on') + stub = first # Killed outright: its shells live on, their masters the daemon's, # and a replica client of it hears so at once, in words (one froze @@ -1470,7 +1621,10 @@ def main(binary, cycles): os.kill(session, signal.SIGKILL) killed = time.monotonic() wait_for('the replica client ended with its session', lambda: rc.poll() is not None, timeout=10) - assert time.monotonic() - killed < 2 and b'let this client go' in tr.text(), (time.monotonic() - killed, tr.text()[-300:]) + assert time.monotonic() - killed < 2, time.monotonic() - killed + # Its words are in its terminal before it ends, but this side's + # reader may not have them yet. + wait_for('the replica client says it was let go', lambda: b'let this client go' in tr.text()) tr.close() stub.wait(timeout=10) client.socket.close() @@ -1507,22 +1661,33 @@ def main(binary, cycles): shell.kill() shell.wait(timeout=10) term.close() - term = Term() - stub = term.spawn([binary, '--attach=fresh'], env) - wait_for('the attached terminal\'s first frame', lambda: b'\x1b[?1049h' in term.text()) - wait_for('the session sized to its new terminal', lambda: not sized(client)) - print('daemon: a session whose stub was killed outright detached, and was attached again') before = set(terminals(client)) client.write(f'/pane/{min(before)}/exec', b'Adopt\n') adopted = wait_for('the adopted pane', lambda: set(terminals(client)) - before) pane = adopted.pop() + # Sized twice (Ptys.take): a run into a prompt redrawn under it + # reads as not run (core/ninep/pty.zig). + wait_for('the adopted shell answers', lambda: run(client, pane, b'true\n') == b'exit 0\n') said = run(client, pane, b'echo $$\n') assert said.split(b'\n')[1] == str(shell_pid).encode(), said print(f'daemon: shell {shell_pid} outlived kill -9 of its session and was adopted') + # Attached again: a client. (After the runs: a pty/run under a + # client puts it off the session's state, and it joins again; one + # that tries as the session ends says it could not.) + term = Term() + stub = term.spawn([binary, 'attach', 'fresh'], env) + started.append(stub.pid) + wait_for('the client\'s first frame', lambda: b'\x1b[?1049h' in term.text()) + listed = wait_for('the client in --ps', lambda: (lambda out: f'client {stub.pid} ' in out and out)( + subprocess.run([binary, '--ps'], env=env, capture_output=True, timeout=30).stdout.decode())) + assert f'session fresh {session} (tty, detached)' in listed, listed + print('daemon: a session whose stub was killed outright detached, and was attached again, as a client') - # The end: the session quits, its shells hang up, the daemon goes. - client.write(f'/pane/{pane}/exec', b'Exit\n') - stub.wait(timeout=10) + # The end: the session quits, its shells hang up, its client and + # the daemon go. + exit_session(client, pane) + assert stub.wait(timeout=10) == 1, stub.returncode + wait_for('the client says it was let go', lambda: b'let this client go' in term.text()) client.socket.close() term.close() wait_for('the adopted shell hung up', lambda: not alive(shell_pid)) @@ -1551,62 +1716,67 @@ def sized(client): def gui(binary, cycles): - """A window's Detach closes it and keeps the process; `pardes-gui - --attach` opens it again. Test mode: a hidden window, its stdin the - test feed.""" + """A window's Detach closes it and keeps the process, detached for good: + `pardes-gui attach` is a window client of it, a process of its own, + and so is a terminal's `pardes attach`. Test mode: hidden windows, + offscreen, the session's stdin the test feed.""" scratch = Path(__file__).resolve().parent.parent.parent / '.scratch' / 'daemon' / 'dmn' + scratch.mkdir(parents=True, exist_ok=True) root = Path(tempfile.mkdtemp(prefix='rtg-', dir=scratch)) env = {k: v for k, v in os.environ.items() if not k.startswith('PARDES_') and 'PAGER' not in k} - display = Path(os.environ.get('WAYLAND_DISPLAY', 'wayland-0')) - if not display.is_absolute(): - display = Path(os.environ.get('XDG_RUNTIME_DIR', f'/run/user/{os.getuid()}')) / display (root / 'caps').mkdir() env.update(HOME=str(root), XDG_RUNTIME_DIR=str(root), XDG_CONFIG_HOME=str(root / 'config'), SHELL='/bin/bash', PARDES_NOTIME='1', PARDES_TEST='1', PARDES_TEST_CAPTURE_DIR=str(root / 'caps'), - SDL_VIDEODRIVER='wayland', WAYLAND_DISPLAY=str(display), PARDES_DAEMON='on') + SDL_VIDEO_DRIVER='offscreen', PARDES_DAEMON='on', TERM='xterm-256color') (root / 'config' / 'pardes').mkdir(parents=True) (root / 'config' / 'pardes' / 'init').write_text('Shell bash\nMessageLinger 0\n') feed_r, feed_w = os.pipe() proc = subprocess.Popen([binary, '--9p=win'], env=env, cwd=root, stdin=feed_r, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, start_new_session=True) os.close(feed_r) + + def listed(): + return subprocess.run([binary, '--ps'], env=env, cwd=root, capture_output=True, timeout=30).stdout.decode() + try: sock = root / 'pardes-9p-win.sock' wait_for('the window session', sock.exists, timeout=20) client = Client(sock) shell = terminals(client)[0] assert not sized(client), 'a window owns the size' - baseline = None - for cycle in range(cycles): - client.write(f'/pane/{shell}/exec', b'Detach\n') - wait_for('the window closed', lambda: sized(client)) - assert proc.poll() is None, 'the process carries on with no window' - attach = subprocess.run([binary, '--attach=win'], env=env, cwd=root, timeout=10, - stdout=subprocess.PIPE, stderr=subprocess.PIPE) - assert attach.returncode == 0, attach.stderr - wait_for('the window open again', lambda: not sized(client)) - now = (fds(proc.pid), len(processes(root))) - baseline = baseline or now - assert now == baseline, (cycle, now, baseline) - print(f'daemon: {cycles} window detach/attach cycles, fds/processes level: {baseline}') - # Attached already: another window is a replica client of the - # session (its own process, its captures its own), listed by --ps; - # closed, it ends alone. + # With its window: another window is a client of the session (its + # own process, its captures its own), listed by --ps; closed, it + # ends alone. second = Window(root, 'second', [binary, '--attach=win'], env) wait_for('the second window drawn', lambda: (root / 'second' / 'latest.ppm').exists(), timeout=20) - listed = subprocess.run([binary, '--ps'], env=env, cwd=root, capture_output=True, timeout=30).stdout.decode() - assert f'client {second.pid} ' in listed, listed + assert f'client {second.pid} ' in listed(), listed() second.close() - wait_for('the client gone from --ps', lambda: 'client ' not in subprocess.run([binary, '--ps'], env=env, cwd=root, capture_output=True, timeout=30).stdout.decode()) + wait_for('the client gone from --ps', lambda: 'client ' not in listed()) assert not sized(client), 'the first window stays' assert proc.poll() is None - print('daemon: a second window on an attached window session a client of it (in --ps), closed alone') - # Another kind joins as a replica client: a terminal of the window's - # session, by its name alone. A name nobody has is refused in words. + print('daemon: a second window on a window session a client of it (in --ps), closed alone') + # Detached: the window closed, the process on; every attach after it + # a window client, the session detached still. client.write(f'/pane/{shell}/exec', b'Detach\n') wait_for('the window closed', lambda: sized(client)) + assert proc.poll() is None, 'the process carries on with no window' + assert f'session win {proc.pid} (gui, detached)' in listed(), listed() + baseline = None + for cycle in range(cycles): + w = Window(root, f'w{cycle}', [binary, 'attach'] if cycle % 2 else [binary, '--attach=win'], env) + wait_for('the client window drawn', lambda: (root / f'w{cycle}' / 'latest.ppm').exists(), timeout=20) + wait_for('the client in --ps', lambda: f'client {w.pid} ' in listed()) + assert f'session win {proc.pid} (gui, detached)' in listed(), listed() + now = (fds(proc.pid), len(processes(root))) + baseline = baseline or now + assert now == baseline, (cycle, now, baseline) + w.close() + wait_for('the client gone from --ps', lambda: 'client ' not in listed()) + print(f'daemon: a window Detach, then {cycles} window attaches as clients, fds/processes level: {baseline}') + # A terminal's client of the window's session, by its name alone. A + # name nobody has is refused in words. term = Term() - tty_attach = term.spawn([binary.replace('pardes-gui', 'pardes'), '--attach=win'], env) + tty_attach = term.spawn([binary.replace('pardes-gui', 'pardes'), 'attach', 'win'], env) wait_for('the window session drawn in the terminal', lambda: b'\x1b[?1049h' in term.text()) time.sleep(1) assert tty_attach.poll() is None, term.text()[-400:] @@ -2061,6 +2231,8 @@ if __name__ == '__main__': clients(sys.argv[2]) elif sys.argv[1:2] == ['--manage']: manage(sys.argv[2]) + elif sys.argv[1:2] == ['--relink']: + relink(sys.argv[2]) elif sys.argv[1:2] == ['--games']: games(sys.argv[2], sys.argv[3], float(sys.argv[4]) if len(sys.argv) > 4 else 10) elif sys.argv[1:2] == ['--far']: diff --git a/test/output.zig b/test/output.zig index 4b9e7678..c5ddddd5 100644 --- a/test/output.zig +++ b/test/output.zig @@ -786,7 +786,7 @@ test "identical result refresh keeps warm content caches without allocation" { const index = try panes.File.lineIndex(p.gpa, file); const styles = try std.testing.allocator.dupe(u8, file.highlights); defer std.testing.allocator.free(styles); - if (@import("pardes_config").syntax_zig_grammar) try std.testing.expect(styles.len > 0); + if (@import("pardes_options").grammars != .disabled) try std.testing.expect(styles.len > 0); const revision = file.revision; const saved_revision = file.saved_revision; const body_ptr = file.content.ptr; diff --git a/test/perf.zig b/test/perf.zig index 880e6abe..7920dedf 100644 --- a/test/perf.zig +++ b/test/perf.zig @@ -41,10 +41,17 @@ const Op = enum { open, render, key_down, + /// key_down's key through a near client and its session in one process + /// (`measureClient`): the pair's count. + client_key_down, key_right, page_down, wheel, edit_char, + client_edit_char, + /// A delete and its undo on the saved file (d, u: the terminal kit's + /// `edit`), through a near client and its session. + client_delete_undo, /// edit_char with a Zerox twin open on the same file: the twin takes /// the splice, not a copy of the text (File.setContentSpan). edit_twin, @@ -69,10 +76,13 @@ const Op = enum { .open => "open", .render => "render", .key_down => "key-down", + .client_key_down => "client-key-down", .key_right => "key-right", .page_down => "page-down", .wheel => "wheel", .edit_char => "edit-char", + .client_edit_char => "client-edit-char", + .client_delete_undo => "client-delete-undo", .edit_twin => "edit-twin", .body_write => "body-2m", .body_appends => "body-appends", @@ -565,7 +575,11 @@ fn measure(op: Op, fx: Fixture, path: []const u8, expected_bytes: usize, reps: u const samples = try gpa.alloc(u64, reps); defer gpa.free(samples); - if (op == .image_frame) return measureImage(std.fs.path.dirname(path).?, samples, warmup); + switch (op) { + .image_frame => return measureImage(std.fs.path.dirname(path).?, samples, warmup), + .client_key_down, .client_edit_char, .client_delete_undo => return measureClient(op, path, reps), + else => {}, + } if (op == .open) { for (0..warmup + reps) |n| { const core = try boot(); @@ -618,7 +632,7 @@ fn measure(op: Op, fx: Fixture, path: []const u8, expected_bytes: usize, reps: u const wheel_row = rect.y + pardes.BOX_H; const t0 = nowNs(); switch (op) { - .open, .image_frame => unreachable, + .open, .image_frame, .client_key_down, .client_edit_char, .client_delete_undo => unreachable, .render, .deep_selection => {}, .key_down => core.update(.{ .key = .{ .cp = 'j', .text = "j" } }), .key_right => core.update(.{ .key = .{ .cp = 'l', .text = "l" } }), @@ -632,7 +646,7 @@ fn measure(op: Op, fx: Fixture, path: []const u8, expected_bytes: usize, reps: u _ = try frame(core); const dt = nowNs() -| t0; switch (op) { - .open, .image_frame => unreachable, + .open, .image_frame, .client_key_down, .client_edit_char, .client_delete_undo => unreachable, .body_write => if (pane.file.?.content.len != before.len + 8 * body_chunk.len) return error.BodyWriteWasNotAppended, .body_appends => if (pane.file.?.content.len != before.len + append_count * append_chunk_len) return error.BodyAppendsWereNotAppended, .render, .deep_selection => if (pane.body.cur_row != before.row or pane.body.cur_col != before.col or pane.file.?.content.len != before.len) @@ -660,6 +674,61 @@ fn measure(op: Op, fx: Fixture, path: []const u8, expected_bytes: usize, reps: u return summarize(samples); } +/// The keys of a client cell's gesture: a key down, a character typed in +/// insert mode, a delete undone (two keys). +fn clientKeys(op: Op) []const pardes.Event { + return switch (op) { + .client_key_down => &.{.{ .key = .{ .cp = 'j', .text = "j" } }}, + .client_edit_char => &.{.{ .key = .{ .cp = 'x', .text = "x" } }}, + .client_delete_undo => &.{ .{ .key = .{ .cp = 'd', .text = "d" } }, .{ .key = .{ .cp = 'u', .text = "u" } } }, + else => unreachable, + }; +} + +const client_host_vtable = pardes.replica.everyEntry(.{}); + +/// A near client's gesture through a replica of a session in this process +/// (core/replica.zig), in the live pair's order: the key applied on the +/// client at once, the session's pump unit (it moved nothing) and the +/// key's own unit confirmed, the client's frame. The count is the pair's, +/// the session's step and the client's; one order of arrival, so what +/// depends on another (a unit of another client's, a late one) it does +/// not see. +fn measureClient(op: Op, path: []const u8, reps: usize) !Cell { + const warmup = 3; + const samples = try gpa.alloc(u64, reps); + defer gpa.free(samples); + const a = try pardes.replica.Authority.init(gpa, .{ .tty_only = true, .file = path, .cols = screen_cols, .rows = screen_rows }, .{ .vtable = &client_host_vtable }, false); + defer a.deinit(); + const r = try pardes.replica.Replica.init(gpa, 1, try a.unit(0, 0), false); + defer r.deinit(); + // Idle first, as a client is: its copy taken ahead and a pump's unit of + // the session's kept over it. Two units kept a key after that put the + // kept list's bound on a pump's unit, under a key applied: the arrival + // a client's rollback copy is dearest on (core/replica.zig keepSince). + r.ready(); + a.pump(); + r.confirm((try a.pending()).?); + if (op == .client_edit_char) try clientKey(a, r, .{ .key = .{ .cp = 'i', .text = "i" } }); + for (0..warmup + reps) |n| { + const t0 = nowNs(); + for (clientKeys(op)) |ev| try clientKey(a, r, ev); + _ = r.draw(.{ .ctx = null, .f = null }); + if (n >= warmup) samples[n - warmup] = (nowNs() -| t0) / 1000; + } + if (r.diverged != null or r.stats.mispredicted != 0 or !r.quiet() or r.digest() != pardes.replica.digestOf(a)) return error.ClientDiverged; + return summarize(samples); +} + +fn clientKey(a: *pardes.replica.Authority, r: *pardes.replica.Replica, ev: pardes.Event) !void { + const msg = try gpa.dupe(u8, try r.input(ev)); + defer gpa.free(msg); + a.pump(); + r.confirm((try a.pending()).?); + r.confirm(try a.take(msg)); + r.settle(); +} + fn measureImage(dir: []const u8, samples: []u64, warmup: usize) !Cell { const path = try std.fmt.allocPrint(gpa, "{s}/picture.ppm", .{dir}); defer gpa.free(path); diff --git a/test/replicas.zig b/test/replicas.zig index 910c6e57..7bf79055 100644 --- a/test/replicas.zig +++ b/test/replicas.zig @@ -53,6 +53,10 @@ const gpa = std.heap.c_allocator; pub const std_options: std.Options = .{ .log_level = .warn }; extern "c" fn setenv(name: [*:0]const u8, value: [*:0]const u8, overwrite: c_int) c_int; var trace = false; +/// `--bytes`: its clients are replicas of the bytes kind, each terminal fed +/// the pty's bytes its units carry into an emulator of its own, joined from +/// a dump with every emulator whole (core/replica.zig `Peers.bytes`). +var bytes_kind = false; /// The PDF the soak opens (`--pdf`), absolute. var pdf_path: ?[]const u8 = null; const frame_us = 16_667; @@ -242,6 +246,9 @@ const Totals = struct { /// Deltas the replicas applied while the flood ran. flood_deltas: u64 = 0, flood_us: u64 = 0, + /// Kitty images a client held at quiescence, the session's pixels + /// (`--bytes`, `images`). + images_equal: u64 = 0, flood_delta_bytes: u64 = 0, flood_unit_bytes: u64 = 0, fetched: u64 = 0, @@ -791,6 +798,13 @@ const Soak = struct { /// encoding cost. framed: bool = false, encode_ns: u64 = 0, + /// The session's pty told the answers to the program's kitty query and + /// its four images (`questions`, `images`, `kitty_oks`): each once, whatever the + /// clients. + kitty_answers: [kitty_oks.len]u32 = @splat(0), + /// The temporary file and the shared memory object an image was shown + /// by (`images`): gone once the session read them. + media: *const Media = undefined, /// A Peer's queue, swapped out as its writer swaps it (the Peers' /// allocator's). sending: std.ArrayListUnmanaged(u8) = .empty, @@ -809,6 +823,11 @@ const Soak = struct { fn ptyWrite(ctx: ?*anyopaque, id: pardes.Pane.Id, bytes: []const u8) void { const pane = id.index(); const s = of(ctx); + // Only the session's emulator answers its program: a client's + // answers are its tape's, never written (`questions`). + for (kitty_oks, &s.kitty_answers) |ok, *n| if (std.mem.indexOf(u8, bytes, ok) != null) { + n.* += 1; + }; s.echo.append(gpa, .{ .pane = pane, .bytes = gpa.dupe(u8, bytes) catch return }) catch {}; } @@ -873,6 +892,7 @@ const Soak = struct { pub fn open(s: *Soak, l: *SessionLoop) !pardes.Host { s.l = l; l.peers.threads = false; + l.peers.bytes = bytes_kind; l.peers.flushed = .{ .ctx = s, .f = flushed }; const host: pardes.Host = .{ .ctx = s, .vtable = &vtable }; l.core.host = host; @@ -903,8 +923,6 @@ const Soak = struct { s.sending.deinit(s.l.peers.gpa); } - pub fn resumePtys(_: *Soak, _: anytype) void {} - /// The tty's own boot (a raw shell, a text pane under it), then three /// files looked at, and the picture and the PDF in a column of their /// own (plain kinds' panes every client joins with, loaded from its @@ -941,6 +959,9 @@ const Soak = struct { const at: u64 = switch (c) { 0, 1 => s.random.uintLessThan(u64, 100_000), 2 => 1_200_000, + // One joins in the middle of the flood, its emulators loaded + // whole and every other side's reloaded. + 3 => if (bytes_kind) flood_at + 100_000 else 2_300_000, else => 2_000_000 + c * 100_000, }; try net.send(.{ .at = at, .n = 0, .kind = .dial, .who = @intCast(c + 1), .bytes = &.{} }); @@ -1100,10 +1121,6 @@ const Soak = struct { pub fn upgradeAsked(_: *Soak) void {} pub fn note(_: *Soak, _: anytype) void {} - /// No Restore is typed here (host_io.restoreCore is the session's own). - pub fn watched(_: *Soak) session_loop.Watched { - unreachable; - } pub fn restoring(_: *Soak, _: *pardes.Pardes) void {} pub fn restored(_: *Soak, _: *SessionLoop) void {} @@ -1412,6 +1429,11 @@ const Soak = struct { } const rp = try replica.Replica.initDump(gpa, cl.id, cl.view, m.bytes, .{ .cols = cl.cols, .rows = cl.rows, .distrusted = &cl.distrusted }); cl.r = rp; + // Its terminals its own emulators, fed what the units carry. + if (bytes_kind) { + rp.t.screen_state = false; + rp.core().echo = null; + } rp.stats.samples = true; rp.t.local_files = true; rp.echo.now = m.at * 1000; @@ -1449,6 +1471,17 @@ const Soak = struct { totals.flood_us += s.flood_end -| flood_at; for (s.flood_deltas[0..s.clients.len]) |d| totals.flood_deltas += d; const want = pardes.tape.digestOf(core); + if (bytes_kind) std.debug.print("seed {d} rtt {d} ms: a join's step at worst {d} us (the session's reloads and its dump), the last dump {d} KB ({d} KB of state)\n", .{ s.r.seed, s.r.rtt_ms, s.l.peers.join_ns / 1000, s.l.peers.dump_bytes >> 10, s.l.peers.state_bytes >> 10 }); + if (bytes_kind) for (kitty_oks, s.kitty_answers) |ok, n| if (n != 1) { + totals.unequal += 1; + std.debug.print("seed {d} rtt {d} ms: the program's kitty {f} was answered {d} times on the session's pty\n", .{ s.r.seed, s.r.rtt_ms, std.ascii.hexEscape(ok, .lower), n }); + }; + if (bytes_kind) for (&s.media.temp, &s.media.object) |*temp, *object| { + for ([_][:0]const u8{ temp, object }, [_]bool{ libc.access(temp, libc.F_OK) == 0, shm.shm_open(object, @bitCast(libc.O{ .ACCMODE = .RDONLY }), 0) >= 0 }) |name, left| if (left) { + totals.unequal += 1; + std.debug.print("seed {d} rtt {d} ms: {s}, an image's medium, is still there\n", .{ s.r.seed, s.r.rtt_ms, name }); + }; + }; for (s.clients, 1..) |*cl, id| { totals.resizes += cl.resizes; totals.wakes += cl.wakes; @@ -1475,7 +1508,8 @@ const Soak = struct { totals.unequal += 1; std.debug.print("seed {d} rtt {d} ms: client {d} at quiescence: {s}\n", .{ s.r.seed, s.r.rtt_ms, id, if (rp.quiet()) "another digest" else "inputs still pending" }); } - // At quiescence, every terminal the session's, cell for cell. + // At quiescence, every terminal the session's, cell for cell, + // and its kitty images the session's, pixel for pixel. for (core.panes, 0..) |slot, pid| { const pane = slot orelse continue; const state = pane.terminal orelse continue; @@ -1487,6 +1521,13 @@ const Soak = struct { totals.unequal += 1; std.debug.print("seed {d} rtt {d} ms: client {d}'s terminal {d} at quiescence is not the session's\n", .{ s.r.seed, s.r.rtt_ms, id, pid }); } + const theirs = imagesHash(state); + if (!std.mem.eql(u64, &theirs, &imagesHash(mine))) { + totals.unequal += 1; + std.debug.print("seed {d} rtt {d} ms: client {d}'s kitty images in terminal {d} are not the session's\n", .{ s.r.seed, s.r.rtt_ms, id, pid }); + } else for (theirs) |h| { + if (h != 0) totals.images_equal += 1; + } } // ...and every file's text the session's, byte for byte: a digest // takes a text of 4 KiB and up by its length (core/walk.zig). @@ -1560,9 +1601,22 @@ fn run(init: std.process.Init, r: Run, dir: []const u8, totals: *Totals) !void { // flood of `yes`, read 4 KB at a time as a pty gives it. const tui = try screen_state.tuiStream(gpa); defer gpa.free(tui); - const shell_session = try screen_state.shellStream(gpa); + const session_only = try screen_state.shellStream(gpa); + defer gpa.free(session_only); + const shell_session = try std.mem.concat(gpa, u8, &.{ session_only, if (bytes_kind) questions else "" }); defer gpa.free(shell_session); - const yes = try screen_state.yesStream(gpa, @intCast(r.flood_mb * (1 << 20) / 3)); + var media: Media = undefined; + const shown = if (bytes_kind) try images(dir, r.seed, &media) else ""; + defer if (bytes_kind) { + gpa.free(shown); + for (&media.temp, &media.object) |*temp, *object| { + _ = libc.unlink(temp); + _ = shm.shm_unlink(object); + } + }; + const yes_only = try screen_state.yesStream(gpa, @intCast(r.flood_mb * (1 << 20) / 3)); + defer gpa.free(yes_only); + const yes = try std.mem.concat(gpa, u8, &.{ yes_only, shown }); defer gpa.free(yes); var soak: Soak = .{ @@ -1578,12 +1632,92 @@ fn run(init: std.process.Init, r: Run, dir: []const u8, totals: *Totals) !void { .yes = yes, .own_left = r.steps, .typing = r.clients + 1, + .media = &media, }; // The session: THE session loop, from its start to its end. try SessionLoop.run(init, .{ .cols = 100, .rows = 30, .boot = .tty }, &soak); if (soak.err) |err| return err; } +/// What `questions`'s kitty query and `images`'s four are answered with. +const kitty_oks = [_][]const u8{ "\x1b_Gi=31;OK", "\x1b_Gi=5;OK", "\x1b_Gi=6;OK", "\x1b_Gi=7;OK", "\x1b_Gi=8;OK" }; + +/// The temporary files and the shared memory objects `images` shows its +/// images by, which the session's emulator removes when it reads them. +const Media = struct { temp: [2][300:0]u8, object: [2][64:0]u8 }; + +const shm = struct { + extern "c" fn shm_open(name: [*:0]const u8, flag: c_int, mode: libc.mode_t) c_int; + extern "c" fn shm_unlink(name: [*:0]const u8) c_int; + extern "c" fn ftruncate(fd: c_int, len: i64) c_int; +}; + +/// The pixels of each of `images`'s kept images a terminal holds, hashed +/// (0: not held). +fn imagesHash(state: *pardes.Term.State) [4]u64 { + var out: [4]u64 = @splat(0); + const screen = pardes.Term.emulatorOf(state).vt.screens.active; + for (&out, 15..) |*h, id| if (screen.kitty_images.imageById(@intCast(id))) |img| { + h.* = std.hash.Wyhash.hash(1, img.data.bytes() orelse continue); + }; + return out; +} + +/// What the shell's program asks its terminal at the end of its session +/// (`--bytes`): device attributes, the cursor's place, the cell's size in +/// pixels, a kitty query. +const questions = "\x1b[c\x1b[6n\x1b[16t\x1b_Gi=31,s=1,v=1,a=q,t=d,f=24;AAAA\x1b\\\r\n$ "; + +/// What the flood's program shows at its end (`--bytes`; after it, so the +/// clients still hold them at quiescence): kitty images shown (a=T) by +/// direct data, by a file of the session's machine, by a temporary file +/// (which its reader deletes) and by shared memory (which its reader +/// unlinks), twice: answered (ids 5 to 8, `kitty_oks`), and kept (ids 15 +/// to 18, q=1: the soak's tty echoes an answer back as output, and an +/// echoed `ESC _ G i=5;OK` is a transmission of image 5 that fails and +/// takes it away), the kept one by shared memory 1.4 MB, so its read +/// crosses to a client by hash. Each medium is the session's to read and +/// every client is handed its bytes (Term.media): each image in every +/// client, pixel for pixel; the program answered once; each temporary file +/// and object gone once. +fn images(dir: []const u8, seed: u64, media: *Media) ![]u8 { + var path_buf: [300]u8 = undefined; + const path = try std.fmt.bufPrintSentinel(&path_buf, "{s}/pixels.rgb", .{dir}, 0); + try writeText(path, &@as([12]u8, @splat(0x7f))); + var out: std.ArrayListUnmanaged(u8) = .empty; + errdefer out.deinit(gpa); + var b64: [3][400]u8 = undefined; + const enc = std.base64.standard.Encoder; + for (0..2, [_]u32{ 2, 600 }, [_][]const u8{ "", ",q=1" }) |round, side, quiet| { + const temp = try std.fmt.bufPrintSentinel(&media.temp[round], "{s}/tty-graphics-protocol-{d}-{d}.rgb", .{ dir, seed, round }, 0); + try writeText(temp, &@as([12]u8, @splat(0x3f))); + const object = try std.fmt.bufPrintSentinel(&media.object[round], "/pardes-soak-{d}-{d}-{d}", .{ libc.getpid(), seed, round }, 0); + const fd = shm.shm_open(object, @bitCast(libc.O{ .ACCMODE = .RDWR, .CREAT = true, .TRUNC = true }), 0o600); + if (fd < 0) return error.ShmOpenFailed; + defer _ = libc.close(fd); + // Sized first: FreeBSD's write does not grow a shared memory object. + if (shm.ftruncate(fd, side * side * 4) != 0) return error.WriteFailed; + var row: [600 * 4]u8 = undefined; + for (0..side) |y| { + for (row[0 .. side * 4], 0..) |*c, i| c.* = @truncate(i * 7 + y * 13 + seed); + if (libc.write(fd, &row, side * 4) != side * 4) return error.WriteFailed; + } + const id = 5 + 10 * round; + try out.print(gpa, "\x1b_Ga=T,i={d},f=24,s=2,v=2{s};AAAAAAAAAAAAAAAA\x1b\\\r\n\x1b_Ga=T,i={d},t=f,f=24,s=2,v=2{s};{s}\x1b\\\r\n" ++ + "\x1b_Ga=T,i={d},t=t,f=24,s=2,v=2{s};{s}\x1b\\\r\n\x1b_Ga=T,i={d},t=s,f=32,s={d},v={d},c=8,r=4{s};{s}\x1b\\\r\n", .{ + id, quiet, + id + 1, quiet, + enc.encode(&b64[0], path), id + 2, + quiet, enc.encode(&b64[1], temp), + id + 3, side, + side, quiet, + enc.encode(&b64[2], object), + }); + } + try out.appendSlice(gpa, "$ "); + return out.toOwnedSlice(gpa); +} + /// A typist: keys 50-200 ms apart, a pause now and then. fn typistGap(random: std.Random) u64 { return if (random.uintLessThan(u8, 12) == 0) random.intRangeAtMost(u64, 300_000, 1_500_000) else random.intRangeAtMost(u64, 50_000, 200_000); @@ -2722,6 +2856,10 @@ pub fn main(init: std.process.Init) !void { echo_mode = true; continue; } + if (std.mem.eql(u8, name, "--bytes")) { + bytes_kind = true; + continue; + } if (i + 1 >= args.len) return error.MissingValue; i += 1; const value = args[i]; @@ -2787,7 +2925,9 @@ pub fn main(init: std.process.Init) !void { defer stop_lines.deinit(gpa); for (rtts) |rtt| { var t: Totals = .{}; + pardes.Term.reloads = .{}; for (first..first + seeds) |seed| try run(init, .{ .seed = seed, .rtt_ms = rtt, .steps = steps, .clients = clients, .flood_mb = flood_mb }, dir, &t); + if (bytes_kind) std.debug.print("rtt {d}: {d} reloads of a terminal at joins, every side (the session's own too), {d} us each, {d} us at worst; {d} kitty images in clients at quiescence, each the session's pixels\n", .{ rtt, pardes.Term.reloads.n, pardes.Term.reloads.ns / @max(1, pardes.Term.reloads.n) / 1000, pardes.Term.reloads.worst_ns / 1000, t.images_equal }); const rollbacks = t.mispredicted + t.foreign; std.debug.print("{d:>4} {d:>6} {d:>7} {d:>7} {d:>6} {d:>6} {d:>6} ({d}+{d}) {d:>5.1}% {d:>6} {d:>5}/{d:<6} {d:>5}/{d:<5} ({d}) {d:>7}/{d:<7} {d:>8} {d:>7}\n", .{ rtt, t.inputs, t.speculated, diff --git a/test/terminal.zig b/test/terminal.zig index e6c530d5..b7b9cd33 100644 --- a/test/terminal.zig +++ b/test/terminal.zig @@ -34,7 +34,6 @@ const prompt = Term.prompt; const scroll = Term.scroll; const scrollback = Term.scrollback; const commandOutput = Term.commandOutput; -const petscii = Term.petscii; const filterOf = emu.filterOf; const filterPalette = emu.filterPalette; const keyedRgb = emu.keyedRgb; @@ -892,7 +891,7 @@ test "a terminal's image is a placement whatever the frontend draws, and the Pet try pardes.dump.dumpState(p); const restored = try pardes.dump.restore(p, p.dump_out.?, "/tmp/pardes.dump.zon"); defer restored.deinit(); - try std.testing.expectEqual(@as(?bool, true), petscii(restored.panes[0].?.terminal)); + try std.testing.expect(restored.panes[0].?.term_petscii); try std.testing.expect(p.executeBuiltinLine(0, "Petscii")); _ = frame.reset(.retain_capacity); s = try p.render(frame.allocator()); @@ -904,12 +903,12 @@ test "a new terminal draws its program's images as pixels, and one without image const gpa = std.testing.allocator; const p = try Pardes.init(gpa, .{ .cols = 80, .rows = 24, .shells = 1 }); defer p.deinit(); - try std.testing.expectEqual(false, petscii(p.panes[0].?.terminal).?); + try std.testing.expect(!p.panes[0].?.term_petscii); // A pane without images says nothing of them. try std.testing.expect(std.mem.indexOf(u8, try tagline.tagPrefix(p, p.panes[0].?), "petscii") == null); const id = p.freeSlot().?; const fresh = try p.newShell(id, ""); - try std.testing.expectEqual(false, petscii(fresh.terminal).?); + try std.testing.expect(!fresh.term_petscii); } test "a program asking the cell size in pixels (CSI 16 t) is told the shell's" { |
