<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0" xmlns:ov="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="TaskPaneApp">
  <Id>3dcfdb34-70c3-4bfe-8d5e-85089afcf673</Id>
  <Version>1.4.0.0</Version>
  <ProviderName>Zavion Technologies</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Grant Gni"/>
  <Description DefaultValue="Grant Gni is an AI grant-writing assistant that drafts, edits, and reviews funding proposals directly in your document."/>
  <IconUrl DefaultValue="https://grant-gni.pages.dev/assets/icon-32.png"/>
  <HighResolutionIconUrl DefaultValue="https://grant-gni.pages.dev/assets/icon-64.png"/>
  <SupportUrl DefaultValue="https://grant-gni-website.pages.dev/feedback.html"/>
  <AppDomains>
    <AppDomain>https://grant-gni-website.pages.dev</AppDomain>
    <!-- Grant Gni backend gateway (Cloud Run). -->
    <AppDomain>https://grant-gni-backend-418969920062.europe-west1.run.app</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Document"/>
  </Hosts>
  <Requirements>
    <Sets DefaultMinVersion="1.4">
      <Set Name="WordApi" MinVersion="1.4"/>
    </Sets>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://grant-gni.pages.dev/taskpane.html"/>
  </DefaultSettings>
  <Permissions>ReadWriteDocument</Permissions>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Document">
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title"/>
            <Description resid="GetStarted.Description"/>
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl"/>
          </GetStarted>
          <FunctionFile resid="Commands.Url"/>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <OfficeTab id="TabHome">
              <Group id="CommandsGroup">
                <Label resid="CommandsGroup.Label"/>
                <Icon>
                  <bt:Image size="16" resid="Icon.16x16"/>
                  <bt:Image size="32" resid="Icon.32x32"/>
                  <bt:Image size="80" resid="Icon.80x80"/>
                </Icon>
                <Control xsi:type="Button" id="TaskpaneButton">
                  <Label resid="TaskpaneButton.Label"/>
                  <Supertip>
                    <Title resid="TaskpaneButton.Label"/>
                    <Description resid="TaskpaneButton.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.16x16"/>
                    <bt:Image size="32" resid="Icon.32x32"/>
                    <bt:Image size="80" resid="Icon.80x80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>ButtonId-Gemini-1</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://grant-gni.pages.dev/assets/icon-16.png"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://grant-gni.pages.dev/assets/icon-32.png"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://grant-gni.pages.dev/assets/icon-80.png"/>
      </bt:Images>
      <bt:Urls>
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://go.microsoft.com/fwlink/?LinkId=276812"/>
        <bt:Url id="Commands.Url" DefaultValue="https://grant-gni.pages.dev/commands.html"/>
        <bt:Url id="Taskpane.Url" DefaultValue="https://grant-gni.pages.dev/taskpane.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="Let Grant Gni help with your funding proposal!"/>
        <bt:String id="CommandsGroup.Label" DefaultValue="Grant Gni"/>
        <bt:String id="TaskpaneButton.Label" DefaultValue="Assistant"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="Click Assistant to open Grant Gni and start working on your funding proposal."/>
        <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Open Grant Gni for this document"/>
      </bt:LongStrings>
    </Resources>
    <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides/1.1" xsi:type="VersionOverridesV1_1">
      <Hosts>
        <Host xsi:type="Document">
          <DesktopFormFactor>
            <GetStarted>
              <Title resid="GetStarted.Title"/>
              <Description resid="GetStarted.Description"/>
              <LearnMoreUrl resid="GetStarted.LearnMoreUrl"/>
            </GetStarted>
            <FunctionFile resid="Commands.Url"/>
            <ExtensionPoint xsi:type="PrimaryCommandSurface">
              <OfficeTab id="TabHome">
                <Group id="CommandsGroup">
                  <Label resid="CommandsGroup.Label"/>
                  <Icon>
                    <bt:Image size="16" resid="Icon.16x16"/>
                    <bt:Image size="32" resid="Icon.32x32"/>
                    <bt:Image size="80" resid="Icon.80x80"/>
                  </Icon>
                  <Control xsi:type="Button" id="TaskpaneButton">
                    <Label resid="TaskpaneButton.Label"/>
                    <Supertip>
                      <Title resid="TaskpaneButton.Label"/>
                      <Description resid="TaskpaneButton.Tooltip"/>
                    </Supertip>
                    <Icon>
                      <bt:Image size="16" resid="Icon.16x16"/>
                      <bt:Image size="32" resid="Icon.32x32"/>
                      <bt:Image size="80" resid="Icon.80x80"/>
                    </Icon>
                    <Action xsi:type="ShowTaskpane">
                      <TaskpaneId>ButtonId-Gemini-1</TaskpaneId>
                      <SourceLocation resid="Taskpane.Url"/>
                    </Action>
                  </Control>
                </Group>
              </OfficeTab>
            </ExtensionPoint>
            <ExtensionPoint xsi:type="KeyboardShortcuts">
              <Shortcuts resid="Shortcuts.Url"/>
            </ExtensionPoint>
          </DesktopFormFactor>
        </Host>
      </Hosts>
      <Resources>
        <bt:Images>
          <bt:Image id="Icon.16x16" DefaultValue="https://grant-gni.pages.dev/assets/icon-16.png"/>
          <bt:Image id="Icon.32x32" DefaultValue="https://grant-gni.pages.dev/assets/icon-32.png"/>
          <bt:Image id="Icon.80x80" DefaultValue="https://grant-gni.pages.dev/assets/icon-80.png"/>
        </bt:Images>
        <bt:Urls>
          <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://go.microsoft.com/fwlink/?LinkId=276812"/>
          <bt:Url id="Commands.Url" DefaultValue="https://grant-gni.pages.dev/commands.html"/>
          <bt:Url id="Taskpane.Url" DefaultValue="https://grant-gni.pages.dev/taskpane.html"/>
          <bt:Url id="Shortcuts.Url" DefaultValue="https://grant-gni.pages.dev/shortcuts.json"/>
        </bt:Urls>
        <bt:ShortStrings>
          <bt:String id="GetStarted.Title" DefaultValue="Let Grant Gni help with your funding proposal!"/>
          <bt:String id="CommandsGroup.Label" DefaultValue="Grant Gni"/>
          <bt:String id="TaskpaneButton.Label" DefaultValue="Assistant"/>
        </bt:ShortStrings>
        <bt:LongStrings>
          <bt:String id="GetStarted.Description" DefaultValue="Click Assistant to open Grant Gni and start working on your funding proposal."/>
          <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Open Grant Gni for this document"/>
        </bt:LongStrings>
      </Resources>
    </VersionOverrides>
  </VersionOverrides>
</OfficeApp>