<?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>edfb553e-e874-489a-b574-bf8be7956db2</Id>
  <Version>1.0.2605.15010</Version>
  <ProviderName>Microsoft Corporation</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Legal Agent (Frontier)" />
  <Description DefaultValue="Legal Agent (Frontier)" />
  <IconUrl DefaultValue="assets/icon-32.png" />
  <HighResolutionIconUrl DefaultValue="assets/icon-80.png" />
  <SupportUrl DefaultValue="https://www.microsoft.com" />

  <AppDomains>
    <AppDomain>https://fa000000203.resources.office.net</AppDomain>
  </AppDomains>

  <Hosts>
    <Host Name="Document" />
  </Hosts>

  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="SharedRuntime"/>
      <Set Name="WordApi" MinVersion="1.3" />
      <Set Name="CdnUrlSupport" MinVersion="1.1" />
      <Set Name="LegalAgentSdx" MinVersion="1.1"/>
    </Sets>
  </Requirements>

  <DefaultSettings>
    <SourceLocation DefaultValue="index.html" />
  </DefaultSettings>

  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides
    xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides"
    xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Document">
        <DesktopFormFactor>
          <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>LegalAgentTaskpane</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="assets/icon-16.png" />
        <bt:Image id="Icon.32x32" DefaultValue="assets/icon-32.png" />
        <bt:Image id="Icon.80x80" DefaultValue="assets/icon-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Taskpane.Url" DefaultValue="index.html" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="CommandsGroup.Label" DefaultValue="Legal Agent (Frontier)" />
        <bt:String id="TaskpaneButton.Label" DefaultValue="Legal Agent (Frontier)" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Click to open the Legal Agent (Frontier) taskpane" />
      </bt:LongStrings>
    </Resources>

    <WebApplicationInfo>
      <Id>edfb553e-e874-489a-b574-bf8be7956db2</Id>
      <Resource>api://edfb553e-e874-489a-b574-bf8be7956db2</Resource>
      <Scopes>
        <Scope>openid</Scope>
        <Scope>profile</Scope>
      </Scopes>
      <Authorizations>
        <Authorization>
          <Resource>https://augloop.office.com/v2</Resource>
          <Scopes>
            <Scope>AugLoop.Copilot</Scope>
          </Scopes>
        </Authorization>
        <Authorization>
          <Resource>00000003-0000-0000-c000-000000000000</Resource>
          <Scopes>
            <Scope>Files.Read</Scope>
          </Scopes>
        </Authorization>
        <Authorization>
          <Resource>00000003-0000-0ff1-ce00-000000000000</Resource>
          <Scopes>
            <Scope>MyFiles.Read</Scope>
          </Scopes>
        </Authorization>
        <Authorization>
          <Resource>https://petrol.office.microsoft.com</Resource>
          <Scopes>
            <Scope>Feedback.ReadWrite</Scope>
          </Scopes>
        </Authorization>
        <Authorization>
          <Resource>https://clients.config.office.net</Resource>
          <Scopes>
            <Scope>.default</Scope>
          </Scopes>
        </Authorization>
      </Authorizations>
    </WebApplicationInfo>
  </VersionOverrides>
</OfficeApp>
