<?xml version="1.0" encoding="UTF-8"?>
<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>92c3744e-f01f-4af7-80ca-f5141c07960e</Id>
  <Version>1.0.0</Version>
  <ProviderName>ClariTrial</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="ClariTrial for Excel" />
  <Description DefaultValue="Clinical trial intelligence in Excel. Search trials, look up pipeline data, and use CLARI formulas." />
  <IconUrl DefaultValue="https://www.claritrial.com/icon.png" />
  <HighResolutionIconUrl DefaultValue="https://www.claritrial.com/icon.png" />
  <SupportUrl DefaultValue="https://www.claritrial.com/excel" />

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

  <DefaultSettings>
    <SourceLocation DefaultValue="https://www.claritrial.com/excel/taskpane" />
  </DefaultSettings>

  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">
        <AllFormFactors>
          <ExtensionPoint xsi:type="CustomFunctions">
            <Script>
              <SourceLocation resid="functionsJs" />
            </Script>
            <Page>
              <SourceLocation resid="functionsHtml" />
            </Page>
            <Metadata>
              <SourceLocation resid="functionsJson" />
            </Metadata>
            <Namespace resid="namespace" />
          </ExtensionPoint>
        </AllFormFactors>

        <DesktopFormFactor>
          <GetStarted>
            <Title resid="getStartedTitle" />
            <Description resid="getStartedDesc" />
            <LearnMoreUrl resid="learnMoreUrl" />
          </GetStarted>

          <FunctionFile resid="commandsHtml" />

          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <CustomTab id="clariTab">
              <Label resid="tabLabel" />
              <Group id="clariGroup">
                <Label resid="groupLabel" />
                <Icon>
                  <bt:Image size="16" resid="icon16" />
                  <bt:Image size="32" resid="icon32" />
                  <bt:Image size="80" resid="icon80" />
                </Icon>
                <Control xsi:type="Button" id="showTaskpane">
                  <Label resid="taskpaneLabel" />
                  <Supertip>
                    <Title resid="taskpaneLabel" />
                    <Description resid="taskpaneTooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="icon16" />
                    <bt:Image size="32" resid="icon32" />
                    <bt:Image size="80" resid="icon80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>clariTaskpane</TaskpaneId>
                    <SourceLocation resid="taskpaneUrl" />
                  </Action>
                </Control>
              </Group>
            </CustomTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>

    <Resources>
      <bt:Urls>
        <bt:Url id="taskpaneUrl" DefaultValue="https://www.claritrial.com/excel/taskpane" />
        <bt:Url id="functionsJs" DefaultValue="https://www.claritrial.com/excel/functions.js" />
        <bt:Url id="functionsHtml" DefaultValue="https://www.claritrial.com/excel/functions.html" />
        <bt:Url id="functionsJson" DefaultValue="https://www.claritrial.com/excel/functions.json" />
        <bt:Url id="commandsHtml" DefaultValue="https://www.claritrial.com/excel/functions.html" />
        <bt:Url id="learnMoreUrl" DefaultValue="https://www.claritrial.com/excel" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="namespace" DefaultValue="CLARI" />
        <bt:String id="tabLabel" DefaultValue="ClariTrial" />
        <bt:String id="groupLabel" DefaultValue="Clinical Intelligence" />
        <bt:String id="taskpaneLabel" DefaultValue="Open Panel" />
        <bt:String id="getStartedTitle" DefaultValue="ClariTrial for Excel" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="taskpaneTooltip" DefaultValue="Open the ClariTrial panel to search trials, browse pipelines, and chat with AI." />
        <bt:String id="getStartedDesc" DefaultValue="Search clinical trials, browse company pipelines, and use CLARI formulas directly in your spreadsheet." />
      </bt:LongStrings>
      <bt:Images>
        <bt:Image id="icon16" DefaultValue="https://www.claritrial.com/icon.png" />
        <bt:Image id="icon32" DefaultValue="https://www.claritrial.com/icon.png" />
        <bt:Image id="icon80" DefaultValue="https://www.claritrial.com/icon.png" />
      </bt:Images>
    </Resources>
  </VersionOverrides>
</OfficeApp>
