<?xml version="1.0" encoding="UTF-8"?>
<interface>
  <requires lib="gtk" version="4.0"/>
  <object class="GtkGrid" id="devices_grid">
    <property name="row-spacing">6</property>
    <property name="column-spacing">12</property>
    <property name="column-homogeneous">1</property>
    <child>
      <object class="GtkLabel">
        <property name="label" translatable="yes">Status</property>
        <property name="xalign">1</property>
        <style>
          <class name="dim-label"/>
        </style>
        <layout>
          <property name="column">0</property>
          <property name="row">1</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkLabel" id="priority_label">
        <property name="visible">0</property>
        <property name="label" translatable="yes">Priority</property>
        <property name="xalign">1</property>
        <style>
          <class name="dim-label"/>
        </style>
        <layout>
          <property name="column">0</property>
          <property name="row">2</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkLabel" id="software_label">
        <property name="visible">0</property>
        <property name="label" translatable="yes">Software</property>
        <property name="xalign">1</property>
        <style>
          <class name="dim-label"/>
        </style>
        <layout>
          <property name="column">0</property>
          <property name="row">3</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkLabel" id="system_label">
        <property name="visible">0</property>
        <property name="label" translatable="yes">Operating System</property>
        <property name="xalign">1</property>
        <style>
          <class name="dim-label"/>
        </style>
        <layout>
          <property name="column">0</property>
          <property name="row">4</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkLabel" id="time_label">
        <property name="visible">0</property>
        <property name="label" translatable="yes">Local Time</property>
        <property name="xalign">1</property>
        <style>
          <class name="dim-label"/>
        </style>
        <layout>
          <property name="column">0</property>
          <property name="row">5</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkLabel" id="status_value">
        <property name="xalign">0</property>
        <layout>
          <property name="column">1</property>
          <property name="row">1</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkLabel" id="priority_value">
        <property name="visible">0</property>
        <property name="xalign">0</property>
        <layout>
          <property name="column">1</property>
          <property name="row">2</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkLabel" id="software_value">
        <property name="visible">0</property>
        <property name="xalign">0</property>
        <property name="wrap">1</property>
        <property name="wrap-mode">word-char</property>
        <layout>
          <property name="column">1</property>
          <property name="row">3</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkLabel" id="system_value">
        <property name="visible">0</property>
        <property name="xalign">0</property>
        <property name="wrap">1</property>
        <property name="wrap-mode">word-char</property>
        <layout>
          <property name="column">1</property>
          <property name="row">4</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkLabel" id="time_value">
        <property name="visible">0</property>
        <property name="xalign">0</property>
        <layout>
          <property name="column">1</property>
          <property name="row">5</property>
        </layout>
      </object>
    </child>
    <child>
      <object class="GtkBox" id="resource_box">
        <property name="margin-bottom">12</property>
        <property name="spacing">12</property>
        <child>
          <object class="GtkLabel" id="resource_label">
            <property name="hexpand">1</property>
            <style>
              <class name="bold16"/>
            </style>
          </object>
        </child>
        <child>
          <placeholder/>
        </child>
        <layout>
          <property name="column">0</property>
          <property name="row">0</property>
          <property name="column-span">2</property>
        </layout>
      </object>
    </child>
  </object>
  <object class="GtkListStore" id="groups_model">
    <columns>
      <column type="gboolean"/>
      <column type="gchararray"/>
    </columns>
  </object>
  <object class="GtkGrid" id="main_grid">
    <child>
      <object class="GtkBox">
        <property name="width-request">570</property>
        <property name="height-request">450</property>
        <property name="hexpand">1</property>
        <property name="vexpand">1</property>
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkRevealer" id="header_revealer">
            <property name="transition-duration">200</property>
            <property name="child">
              <object class="GtkBox">
                <property name="spacing">12</property>
                <child>
                  <object class="GtkImage" id="avatar_image_header">
                    <property name="icon-name">missing-image</property>
                  </object>
                </child>
                <child>
                  <object class="GtkLabel" id="contact_name_header_label">
                    <property name="halign">start</property>
                    <property name="ellipsize">end</property>
                    <property name="single-line-mode">1</property>
                    <property name="max-width-chars">20</property>
                    <style>
                      <class name="large-header"/>
                    </style>
                  </object>
                </child>
                <child>
                  <object class="GtkButton" id="edit_contact_name_header_button">
                    <property name="focusable">1</property>
                    <property name="receives-default">1</property>
                    <property name="tooltip-text" translatable="yes">Edit Name…</property>
                    <property name="valign">center</property>
                    <child>
                      <object class="GtkImage">
                        <property name="icon-name">document-edit-symbolic</property>
                      </object>
                    </child>
                  </object>
                </child>
                <style>
                  <class name="stack-header"/>
                </style>
              </object>
            </property>
          </object>
        </child>
        <child>
          <object class="GtkStack" id="main_stack">
            <property name="vexpand">1</property>
            <property name="transition-type">crossfade</property>
            <child>
              <object class="GtkStackPage">
                <property name="name">information</property>
                <property name="title" translatable="yes">Information</property>
                <property name="icon-name">feather-user-symbolic</property>
                <property name="child">
                  <object class="GtkScrolledWindow" id="vcard_scrolled">
                    <property name="focusable">1</property>
                    <property name="child">
                      <object class="GtkViewport">
                        <property name="child">
                          <object class="GtkBox" id="vcard_box">
                            <property name="orientation">vertical</property>
                            <property name="spacing">12</property>
                            <child>
                              <object class="GtkImage" id="avatar_image">
                                <property name="icon-name">missing-image</property>
                                <style>
                                  <class name="m-18"/>
                                </style>
                              </object>
                            </child>
                            <child>
                              <object class="GtkBox" id="contact_name_controls_box">
                                <property name="halign">center</property>
                                <child>
                                  <placeholder/>
                                </child>
                              </object>
                            </child>
                            <child>
                              <object class="GtkLabel" id="contact_jid_label">
                                <property name="focusable">1</property>
                                <property name="margin-bottom">6</property>
                                <property name="selectable">1</property>
                                <property name="ellipsize">end</property>
                                <property name="single-line-mode">1</property>
                                <property name="max-width-chars">50</property>
                                <style>
                                  <class name="dim-label"/>
                                </style>
                              </object>
                            </child>
                            <child>
                              <object class="GtkGrid" id="group_chat_grid">
                                <property name="visible">0</property>
                                <property name="row-spacing">12</property>
                                <property name="column-spacing">12</property>
                                <property name="column-homogeneous">1</property>
                                <child>
                                  <object class="GtkLabel">
                                    <property name="halign">end</property>
                                    <property name="margin-end">18</property>
                                    <property name="label" translatable="yes">Role</property>
                                    <style>
                                      <class name="dim-label"/>
                                    </style>
                                    <layout>
                                      <property name="column">0</property>
                                      <property name="row">0</property>
                                    </layout>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkLabel" id="role_label">
                                    <property name="halign">start</property>
                                    <layout>
                                      <property name="column">1</property>
                                      <property name="row">0</property>
                                    </layout>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkLabel">
                                    <property name="halign">end</property>
                                    <property name="margin-end">18</property>
                                    <property name="label" translatable="yes">Affiliation</property>
                                    <style>
                                      <class name="dim-label"/>
                                    </style>
                                    <layout>
                                      <property name="column">0</property>
                                      <property name="row">1</property>
                                    </layout>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkLabel" id="affiliation_label">
                                    <property name="halign">start</property>
                                    <layout>
                                      <property name="column">1</property>
                                      <property name="row">1</property>
                                    </layout>
                                  </object>
                                </child>
                              </object>
                            </child>
                          </object>
                        </property>
                      </object>
                    </property>
                    <style>
                      <class name="p-18"/>
                    </style>
                  </object>
                </property>
              </object>
            </child>
            <child>
              <object class="GtkStackPage">
                <property name="name">settings</property>
                <property name="title" translatable="yes">Settings</property>
                <property name="icon-name">document-properties-symbolic</property>
                <property name="child">
                  <object class="GtkScrolledWindow" id="settings_scrolled">
                    <property name="focusable">1</property>
                    <property name="hscrollbar-policy">never</property>
                    <property name="child">
                      <object class="GtkViewport">
                        <property name="child">
                          <object class="GtkBox" id="settings_box">
                            <property name="halign">center</property>
                            <property name="orientation">vertical</property>
                            <property name="spacing">24</property>
                            <child>
                              <object class="GtkBox">
                                <property name="orientation">vertical</property>
                                <property name="spacing">12</property>
                                <child>
                                  <object class="GtkLabel">
                                    <property name="halign">start</property>
                                    <property name="label" translatable="yes">Status</property>
                                    <style>
                                      <class name="bold"/>
                                    </style>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkListBox" id="subscription_listbox">
                                    <property name="width-request">400</property>
                                    <property name="selection-mode">none</property>
                                    <child>
                                      <object class="GtkListBoxRow">
                                        <property name="focusable">1</property>
                                        <property name="activatable">0</property>
                                        <property name="selectable">0</property>
                                        <property name="child">
                                          <object class="GtkBox">
                                            <child>
                                              <object class="GtkLabel">
                                                <property name="halign">start</property>
                                                <property name="hexpand">1</property>
                                                <property name="label" translatable="yes">Share my online status</property>
                                              </object>
                                            </child>
                                            <child>
                                              <object class="GtkSwitch" id="from_subscription_switch">
                                                <property name="focusable">1</property>
                                                <property name="halign">end</property>
                                                <property name="valign">center</property>
                                              </object>
                                            </child>
                                          </object>
                                        </property>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkListBoxRow">
                                        <property name="focusable">1</property>
                                        <property name="activatable">0</property>
                                        <property name="selectable">0</property>
                                        <property name="child">
                                          <object class="GtkBox">
                                            <child>
                                              <object class="GtkLabel">
                                                <property name="halign">start</property>
                                                <property name="hexpand">1</property>
                                                <property name="margin-end">24</property>
                                                <property name="label" translatable="yes">I can see contact&apos;s online status</property>
                                              </object>
                                            </child>
                                            <child>
                                              <object class="GtkBox">
                                                <property name="halign">end</property>
                                                <property name="spacing">12</property>
                                                <child>
                                                  <object class="GtkStack" id="to_subscription_stack">
                                                    <property name="halign">end</property>
                                                    <property name="valign">center</property>
                                                    <property name="transition-type">crossfade</property>
                                                    <child>
                                                      <object class="GtkStackPage">
                                                        <property name="name">request</property>
                                                        <property name="child">
                                                          <object class="GtkBox">
                                                            <property name="halign">end</property>
                                                            <property name="spacing">12</property>
                                                            <child>
                                                              <object class="GtkStack" id="request_stack">
                                                                <property name="transition-type">crossfade</property>
                                                                <child>
                                                                  <object class="GtkStackPage">
                                                                    <property name="name">cross</property>
                                                                    <property name="child">
                                                                      <object class="GtkImage">
                                                                        <property name="tooltip-text" translatable="yes">You cannot see this contact&apos;s online status</property>
                                                                        <property name="halign">center</property>
                                                                        <property name="icon-name">window-close-symbolic</property>
                                                                      </object>
                                                                    </property>
                                                                  </object>
                                                                </child>
                                                                <child>
                                                                  <object class="GtkStackPage">
                                                                    <property name="name">requested</property>
                                                                    <property name="child">
                                                                      <object class="GtkImage">
                                                                        <property name="tooltip-text" translatable="yes">You requested to see this contact&apos;s online status</property>
                                                                        <property name="icon-name">document-open-recent-symbolic</property>
                                                                      </object>
                                                                    </property>
                                                                  </object>
                                                                </child>
                                                              </object>
                                                            </child>
                                                            <child>
                                                              <object class="GtkButton" id="to_subscription_button">
                                                                <property name="label" translatable="yes">_Request</property>
                                                                <property name="focusable">1</property>
                                                                <property name="receives-default">1</property>
                                                                <property name="tooltip-text" translatable="yes">Request to see this contact&apos;s online status</property>
                                                                <property name="valign">center</property>
                                                                <property name="use-underline">1</property>
                                                              </object>
                                                            </child>
                                                          </object>
                                                        </property>
                                                      </object>
                                                    </child>
                                                    <child>
                                                      <object class="GtkStackPage">
                                                        <property name="name">checkmark</property>
                                                        <property name="child">
                                                          <object class="GtkImage">
                                                            <property name="tooltip-text" translatable="yes">You can see the contact&apos;s online status</property>
                                                            <property name="halign">end</property>
                                                            <property name="icon-name">object-select-symbolic</property>
                                                          </object>
                                                        </property>
                                                      </object>
                                                    </child>
                                                  </object>
                                                </child>
                                              </object>
                                            </child>
                                          </object>
                                        </property>
                                      </object>
                                    </child>
                                    <style>
                                      <class name="settings"/>
                                    </style>
                                  </object>
                                </child>
                              </object>
                            </child>
                            <child>
                              <object class="GtkBox" id="contact_settings_box">
                                <property name="orientation">vertical</property>
                                <property name="spacing">12</property>
                                <child>
                                  <object class="GtkLabel">
                                    <property name="halign">start</property>
                                    <property name="label" translatable="yes">Privacy</property>
                                    <style>
                                      <class name="bold"/>
                                    </style>
                                  </object>
                                </child>
                                <child>
                                  <placeholder/>
                                </child>
                              </object>
                            </child>
                            <child>
                              <object class="GtkButton" id="remove_history_button">
                                <property name="label" translatable="yes">Remove History…</property>
                                <property name="focusable">1</property>
                                <property name="halign">start</property>
                                <style>
                                  <class name="destructive-action"/>
                                </style>
                              </object>
                            </child>
                            <style>
                              <class name="p-18"/>
                            </style>
                          </object>
                        </property>
                      </object>
                    </property>
                    <style>
                      <class name="p-18"/>
                    </style>
                  </object>
                </property>
              </object>
            </child>
            <child>
              <object class="GtkStackPage">
                <property name="name">encryption-omemo</property>
                <property name="title" translatable="yes">Encryption (OMEMO)</property>
                <property name="icon-name">channel-secure-symbolic</property>
                <property name="child">
                  <object class="GtkScrolledWindow" id="encryption_scrolled">
                    <property name="focusable">1</property>
                    <property name="hscrollbar-policy">never</property>
                    <property name="child">
                      <object class="GtkViewport">
                        <property name="child">
                          <object class="GtkBox" id="encryption_box">
                            <property name="margin-start">36</property>
                            <property name="margin-end">36</property>
                            <property name="margin-top">36</property>
                            <property name="margin-bottom">36</property>
                            <property name="orientation">vertical</property>
                            <child>
                              <placeholder/>
                            </child>
                          </object>
                        </property>
                      </object>
                    </property>
                  </object>
                </property>
              </object>
            </child>
            <child>
              <object class="GtkStackPage">
                <property name="name">groups</property>
                <property name="title" translatable="yes">Groups</property>
                <property name="icon-name">system-users-symbolic</property>
                <property name="child">
                  <object class="GtkStack" id="groups_page_stack">
                    <property name="transition-type">crossfade</property>
                    <child>
                      <object class="GtkStackPage">
                        <property name="name">groups</property>
                        <property name="child">
                          <object class="GtkBox">
                            <property name="margin-start">18</property>
                            <property name="margin-end">18</property>
                            <property name="margin-top">24</property>
                            <property name="margin-bottom">36</property>
                            <property name="orientation">vertical</property>
                            <property name="spacing">12</property>
                            <child>
                              <object class="GtkLabel">
                                <property name="label" translatable="yes">Choose the contact&apos;s groups</property>
                                <property name="wrap">1</property>
                                <style>
                                  <class name="dim-label"/>
                                </style>
                              </object>
                            </child>
                            <child>
                              <object class="GtkBox">
                                <property name="width-request">400</property>
                                <property name="halign">center</property>
                                <property name="orientation">vertical</property>
                                <child>
                                  <object class="GtkScrolledWindow">
                                    <property name="height-request">250</property>
                                    <property name="focusable">1</property>
                                    <property name="vexpand">1</property>
                                    <property name="child">
                                      <object class="GtkViewport">
                                        <property name="child">
                                          <object class="GtkTreeView" id="groups_treeview">
                                            <property name="focusable">1</property>
                                            <property name="model">groups_model</property>
                                            <property name="headers-visible">0</property>
                                            <child internal-child="selection">
                                              <object class="GtkTreeSelection" id="tree_selection"/>
                                            </child>
                                            <child>
                                              <object class="GtkTreeViewColumn">
                                                <child>
                                                  <object class="GtkCellRendererToggle" id="toggle_renderer">
                                                    <property name="xpad">12</property>
                                                  </object>
                                                  <attributes>
                                                    <attribute name="active">0</attribute>
                                                  </attributes>
                                                </child>
                                              </object>
                                            </child>
                                            <child>
                                              <object class="GtkTreeViewColumn">
                                                <property name="title" translatable="yes">column</property>
                                                <property name="sort-column-id">1</property>
                                                <child>
                                                  <object class="GtkCellRendererText" id="text_renderer">
                                                    <property name="height">42</property>
                                                    <property name="editable">1</property>
                                                  </object>
                                                  <attributes>
                                                    <attribute name="text">1</attribute>
                                                  </attributes>
                                                </child>
                                              </object>
                                            </child>
                                          </object>
                                        </property>
                                      </object>
                                    </property>
                                  </object>
                                </child>
                                <child>
                                  <object class="GtkBox">
                                    <property name="css-classes">toolbar</property>
                                    <property name="can-focus">0</property>
                                    <child>
                                      <object class="GtkButton" id="group_add_button">
                                        <property name="can-focus">0</property>
                                        <property name="tooltip-text" translatable="yes">Add Group…</property>
                                        <property name="use-underline">1</property>
                                        <property name="icon-name">feather-plus-symbolic</property>
                                      </object>
                                    </child>
                                    <child>
                                      <object class="GtkButton" id="group_remove_button">
                                        <property name="sensitive">0</property>
                                        <property name="can-focus">0</property>
                                        <property name="tooltip-text" translatable="yes">Remove Group…</property>
                                        <property name="use-underline">1</property>
                                        <property name="icon-name">feather-trash-symbolic</property>
                                      </object>
                                    </child>
                                    <style>
                                      <class name="inline-toolbar"/>
                                    </style>
                                  </object>
                                </child>
                              </object>
                            </child>
                          </object>
                        </property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkStackPage">
                        <property name="name">offline</property>
                        <property name="child">
                          <object class="GtkLabel">
                            <property name="label" translatable="yes">You are offline.</property>
                            <style>
                              <class name="dim-label"/>
                            </style>
                          </object>
                        </property>
                      </object>
                    </child>
                  </object>
                </property>
              </object>
            </child>
            <child>
              <object class="GtkStackPage">
                <property name="name">notes</property>
                <property name="title" translatable="yes">Notes</property>
                <property name="icon-name">lucide-notebook-tabs-symbolic</property>
                <property name="child">
                  <object class="GtkStack" id="notes_page_stack">
                    <property name="transition-type">crossfade</property>
                    <child>
                      <object class="GtkStackPage">
                        <property name="name">notes</property>
                        <property name="child">
                          <object class="GtkBox">
                            <property name="margin-start">18</property>
                            <property name="margin-end">18</property>
                            <property name="margin-top">24</property>
                            <property name="margin-bottom">36</property>
                            <property name="orientation">vertical</property>
                            <property name="spacing">12</property>
                            <child>
                              <object class="GtkLabel">
                                <property name="label" translatable="yes">Personal notes about this contact</property>
                                <property name="wrap">1</property>
                                <property name="max-width-chars">42</property>
                                <style>
                                  <class name="dim-label"/>
                                </style>
                              </object>
                            </child>
                            <child>
                              <object class="GtkScrolledWindow" id="scrolledwindow_annotation">
                                <property name="height-request">70</property>
                                <property name="focusable">1</property>
                                <property name="vexpand">1</property>
                                <property name="child">
                                  <object class="GtkTextView" id="textview_annotation">
                                    <property name="focusable">1</property>
                                    <property name="wrap-mode">word</property>
                                    <property name="left-margin">6</property>
                                    <property name="right-margin">6</property>
                                    <property name="top-margin">6</property>
                                    <property name="bottom-margin">6</property>
                                  </object>
                                </property>
                              </object>
                            </child>
                          </object>
                        </property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkStackPage">
                        <property name="name">offline</property>
                        <property name="child">
                          <object class="GtkLabel">
                            <property name="label" translatable="yes">You are offline.</property>
                            <style>
                              <class name="dim-label"/>
                            </style>
                          </object>
                        </property>
                      </object>
                    </child>
                  </object>
                </property>
              </object>
            </child>
            <child>
              <object class="GtkStackPage">
                <property name="name">devices</property>
                <property name="title" translatable="yes">Devices</property>
                <property name="icon-name">computer-symbolic</property>
                <property name="child">
                  <object class="GtkStack" id="devices_stack">
                    <child>
                      <object class="GtkStackPage">
                        <property name="name">offline</property>
                        <property name="child">
                          <object class="GtkBox">
                            <property name="orientation">vertical</property>
                            <child>
                              <object class="GtkLabel">
                                <property name="vexpand">1</property>
                                <property name="margin-start">18</property>
                                <property name="margin-end">18</property>
                                <property name="margin-top">18</property>
                                <property name="margin-bottom">36</property>
                                <property name="label" translatable="yes">No devices online</property>
                                <style>
                                  <class name="dim-label"/>
                                </style>
                              </object>
                            </child>
                          </object>
                        </property>
                      </object>
                    </child>
                    <child>
                      <object class="GtkStackPage">
                        <property name="name">devices</property>
                        <property name="child">
                          <object class="GtkScrolledWindow">
                            <property name="focusable">1</property>
                            <property name="child">
                              <object class="GtkViewport">
                                <property name="child">
                                  <object class="GtkBox" id="devices_box">
                                    <property name="halign">center</property>
                                    <property name="orientation">vertical</property>
                                    <property name="spacing">24</property>
                                    <child>
                                      <placeholder/>
                                    </child>
                                  </object>
                                </property>
                              </object>
                            </property>
                          </object>
                        </property>
                      </object>
                    </child>
                  </object>
                </property>
              </object>
            </child>
            <style>
              <class name="stack-border"/>
            </style>
          </object>
        </child>
        <layout>
          <property name="column">1</property>
          <property name="row">0</property>
        </layout>
      </object>
    </child>
    <child>
      <placeholder/>
    </child>
  </object>
</interface>
