<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!--
  PRODUCTION manifest for WhichDist for Excel.
  Host the built add-in (apps/excel-addin/dist) at https://whichdist.com/addin/
  and publish THIS file at https://whichdist.com/download/manifest.xml.
  If your domain differs, replace every https://whichdist.com/addin URL below.
  Generate a fresh <Id> GUID before an AppSource submission (a private sideload can keep this one).
-->
<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">

  <!-- Production add-in identity. MUST differ from the dev manifest's Id so
       Office doesn't serve a cached localhost registration under the same GUID.
       Keep this stable across all future updates / the AppSource submission. -->
  <Id>c767aac9-214e-4479-abf5-aabb89907b6c</Id>
  <!-- Bump Version on every AppSource resubmission. -->
  <Version>1.0.0.3</Version>
  <!-- Must match Partner Center publisher name exactly (cert policy 1120.3.6.22). -->
  <ProviderName>NCU TECHNOLOGY</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="WhichDist for Excel" />
  <Description DefaultValue="Fit probability distributions in Excel: input analysis, Weibull/reliability, goodness of fit (AICc, Anderson–Darling, Kolmogorov–Smirnov), MLE, Q–Q plots — an Arena Input Analyzer-style workflow inside Excel." />

  <IconUrl DefaultValue="https://whichdist.com/addin/assets/icon-32.png" />
  <HighResolutionIconUrl DefaultValue="https://whichdist.com/addin/assets/icon-64.png" />
  <SupportUrl DefaultValue="https://whichdist.com/contact.html" />

  <AppDomains>
    <AppDomain>https://whichdist.com</AppDomain>
  </AppDomains>

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

  <!-- Require the Excel JavaScript API (ExcelApi 1.1+). This makes the add-in
       available on Excel 2016, 2019, 2021, 2024, Microsoft 365, Excel for Mac,
       and Excel on the web, and prevents a half-working pane on Excel 2013,
       which predates the Excel API. Excel 2010 does not support web add-ins.
       NOTE: schema order is fixed — Requirements must precede DefaultSettings
       and Permissions, or Office rejects the manifest as "not valid". -->
  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="ExcelApi" MinVersion="1.1" />
    </Sets>
  </Requirements>

  <DefaultSettings>
    <SourceLocation DefaultValue="https://whichdist.com/addin/index.html" />
  </DefaultSettings>

  <Permissions>ReadWriteDocument</Permissions>

  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Workbook">
        <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="WhichDist.Group">
                <Label resid="WhichDist.Group.Label" />
                <Icon>
                  <bt:Image size="16" resid="Icon.16" />
                  <bt:Image size="32" resid="Icon.32" />
                  <bt:Image size="80" resid="Icon.80" />
                </Icon>
                <Control xsi:type="Button" id="WhichDist.OpenPane">
                  <Label resid="WhichDist.OpenPane.Label" />
                  <Supertip>
                    <Title resid="WhichDist.OpenPane.Label" />
                    <Description resid="WhichDist.OpenPane.Tooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Icon.16" />
                    <bt:Image size="32" resid="Icon.32" />
                    <bt:Image size="80" resid="Icon.80" />
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>ButtonId1</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url" />
                  </Action>
                </Control>
              </Group>
            </OfficeTab>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>

    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16" DefaultValue="https://whichdist.com/addin/assets/icon-16.png" />
        <bt:Image id="Icon.32" DefaultValue="https://whichdist.com/addin/assets/icon-32.png" />
        <bt:Image id="Icon.80" DefaultValue="https://whichdist.com/addin/assets/icon-80.png" />
      </bt:Images>
      <bt:Urls>
        <bt:Url id="Commands.Url" DefaultValue="https://whichdist.com/addin/commands.html" />
        <bt:Url id="Taskpane.Url" DefaultValue="https://whichdist.com/addin/index.html" />
        <bt:Url id="GetStarted.LearnMoreUrl" DefaultValue="https://whichdist.com" />
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="Get started with WhichDist" />
        <bt:String id="WhichDist.Group.Label" DefaultValue="WhichDist" />
        <bt:String id="WhichDist.OpenPane.Label" DefaultValue="Analyze selection" />
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="WhichDist is ready. Select numeric data and choose Analyze selection." />
        <bt:String id="WhichDist.OpenPane.Tooltip" DefaultValue="Open WhichDist and analyze the selected range." />
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
