<?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>5b338bf0-484c-4a37-93a5-6f7169fba70b</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>AlphaSense</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="AlphaSense for PowerPoint"/>
  <Description DefaultValue="AlphaSense brings you an AI Add-In for PowerPoint."/>
  <IconUrl DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/logo.png"/>
  <HighResolutionIconUrl DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/logo.png"/>
  <SupportUrl DefaultValue="https://carousel.crisp.help"/>
  <AppDomains>
    <AppDomain>https://plugins.alpha-sense.org/carousel-addin/latest</AppDomain>
    <AppDomain>https://auth.rc.alpha-sense.com</AppDomain>
    <AppDomain>https://auth.dev4.alpha-sense.org</AppDomain>
    <AppDomain>https://auth.research.alpha-sense.com</AppDomain>
    <AppDomain>https://cdn.auth0.com</AppDomain>
  </AppDomains>
  <Hosts>
    <Host Name="Presentation"/>
  </Hosts>
  <Requirements>
    <Sets DefaultMinVersion="1.1">
      <Set Name="SharedRuntime" MinVersion="1.1"/>
      <Set Name="AddinCommands" MinVersion="1.1"/>
    </Sets>
  </Requirements>
  <DefaultSettings>
    <SourceLocation DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/taskpane.html"/>
  </DefaultSettings>
  <Permissions>ReadWriteDocument</Permissions>
  <VersionOverrides xmlns="http://schemas.microsoft.com/office/taskpaneappversionoverrides" xsi:type="VersionOverridesV1_0">
    <Hosts>
      <Host xsi:type="Presentation">
        <!-- Add Runtimes section BEFORE DesktopFormFactor -->
        <Runtimes>
          <Runtime resid="Taskpane.Url" lifetime="long" />
        </Runtimes>
        <DesktopFormFactor>
          <GetStarted>
            <Title resid="GetStarted.Title"/>
            <Description resid="GetStarted.Description"/>
            <LearnMoreUrl resid="GetStarted.LearnMoreUrl"/>
          </GetStarted>
          <!-- Update FunctionFile to use same URL -->
          <FunctionFile resid="Taskpane.Url"/>
          <ExtensionPoint xsi:type="PrimaryCommandSurface">
            <CustomTab id="TabCarousel">
              <!-- Auth Group -->
              <Group id="AuthGroup">
                <Label resid="AuthGroup.Label"/>
                <Icon>
                  <bt:Image size="16" resid="Logout.16x16"/>
                  <bt:Image size="32" resid="Logout.32x32"/>
                  <bt:Image size="80" resid="Logout.80x80"/>
                </Icon>
                <Control xsi:type="Button" id="LoginButton">
                  <Label resid="LoginButton.Label"/>
                  <Supertip>
                    <Title resid="LoginButton.Label"/>
                    <Description resid="LoginButton.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Logout.16x16"/>
                    <bt:Image size="32" resid="Logout.32x32"/>
                    <bt:Image size="80" resid="Logout.80x80"/>
                  </Icon>
                  <Action xsi:type="ExecuteFunction">
                    <FunctionName>openLoginDialog</FunctionName>
                  </Action>
                </Control>
              </Group>
              <!-- AI Slide Editing and Deck Building Group -->
              <Group id="AICreationGroup">
                <Label resid="AICreationGroup.Label"/>
                <Icon>
                  <bt:Image size="16" resid="ChatPane.16x16"/>
                  <bt:Image size="32" resid="ChatPane.32x32"/>
                  <bt:Image size="80" resid="ChatPane.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="ChatPane.16x16"/>
                    <bt:Image size="32" resid="ChatPane.32x32"/>
                    <bt:Image size="80" resid="ChatPane.80x80"/>
                  </Icon>
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>ButtonId1</TaskpaneId>
                    <SourceLocation resid="Taskpane.Url"/>
                  </Action>
                  <Enabled>true</Enabled>
                </Control>
                <Control xsi:type="Button" id="PlanningButton">
                  <Label resid="PlanningButton.Label"/>
                  <Supertip>
                    <Title resid="PlanningButton.Label"/>
                    <Description resid="PlanningButton.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="DeckBuilder.16x16"/>
                    <bt:Image size="32" resid="DeckBuilder.32x32"/>
                    <bt:Image size="80" resid="DeckBuilder.80x80"/>
                  </Icon>
                  <Action xsi:type="ExecuteFunction">
                    <FunctionName>openPlanningDialog</FunctionName>
                  </Action>
                  <Enabled>false</Enabled>
                </Control>
              </Group>
              <!-- Utilities Group -->
              <Group id="UtilitiesGroup">
                <Label resid="UtilitiesGroup.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="ResyncButton">
                  <Label resid="ResyncButton.Label"/>
                  <Supertip>
                    <Title resid="ResyncButton.Label"/>
                    <Description resid="ResyncButton.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="SyncDeck.16x16"/>
                    <bt:Image size="32" resid="SyncDeck.32x32"/>
                    <bt:Image size="80" resid="SyncDeck.80x80"/>
                  </Icon>
                  <Action xsi:type="ExecuteFunction">
                    <FunctionName>openResyncModal</FunctionName>
                  </Action>
                  <Enabled>false</Enabled>
                </Control>
                <Control xsi:type="Button" id="ManageDataButton">
                  <Label resid="ManageDataButton.Label"/>
                  <Supertip>
                    <Title resid="ManageDataButton.Label"/>
                    <Description resid="ManageDataButton.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="ManageData.16x16"/>
                    <bt:Image size="32" resid="ManageData.32x32"/>
                    <bt:Image size="80" resid="ManageData.80x80"/>
                  </Icon>
                  <Action xsi:type="ExecuteFunction">
                    <FunctionName>openManageDataDialog</FunctionName>
                  </Action>
                </Control>
              </Group>
              <!-- Personalization Group -->
              <Group id="PersonalizationGroup">
                <Label resid="PersonalizationGroup.Label"/>
                <Icon>
                  <bt:Image size="16" resid="CustomInstructions.16x16"/>
                  <bt:Image size="32" resid="CustomInstructions.32x32"/>
                  <bt:Image size="80" resid="CustomInstructions.80x80"/>
                </Icon>
                <Control xsi:type="Button" id="CustomInstructionsButton">
                  <Label resid="CustomInstructionsButton.Label"/>
                  <Supertip>
                    <Title resid="CustomInstructionsButton.Label"/>
                    <Description resid="CustomInstructionsButton.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="CustomInstructions.16x16"/>
                    <bt:Image size="32" resid="CustomInstructions.32x32"/>
                    <bt:Image size="80" resid="CustomInstructions.80x80"/>
                  </Icon>
                  <Action xsi:type="ExecuteFunction">
                    <FunctionName>openCustomInstructionsModal</FunctionName>
                  </Action>
                  <Enabled>true</Enabled>
                </Control>
                <Control xsi:type="Button" id="PromptLibraryButton">
                  <Label resid="PromptLibraryButton.Label"/>
                  <Supertip>
                    <Title resid="PromptLibraryButton.Label"/>
                    <Description resid="PromptLibraryButton.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="PromptLibrary.16x16"/>
                    <bt:Image size="32" resid="PromptLibrary.32x32"/>
                    <bt:Image size="80" resid="PromptLibrary.80x80"/>
                  </Icon>
                  <Action xsi:type="ExecuteFunction">
                    <FunctionName>openPromptLibraryModal</FunctionName>
                  </Action>
                  <Enabled>true</Enabled>
                </Control>
                <Control xsi:type="Button" id="SettingsButton">
                  <Label resid="SettingsButton.Label"/>
                  <Supertip>
                    <Title resid="SettingsButton.Label"/>
                    <Description resid="SettingsButton.Tooltip"/>
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="Settings.16x16"/>
                    <bt:Image size="32" resid="Settings.32x32"/>
                    <bt:Image size="80" resid="Settings.80x80"/>
                  </Icon>
                  <Action xsi:type="ExecuteFunction">
                    <FunctionName>openSettingsModal</FunctionName>
                  </Action>
                  <Enabled>true</Enabled>
                </Control>
              </Group>
              <Label resid="TabCarousel.Label"/>
            </CustomTab>
          </ExtensionPoint>
          <ExtensionPoint xsi:type="ContextMenu">
            <OfficeMenu id="ContextMenuText">
              <Control xsi:type="Button" id="ViewCitationsContextMenuButton">
                <Label resid="ContextMenu.ViewCitations.Label"/>
                <Supertip>
                  <Title resid="ContextMenu.ViewCitations.Label"/>
                  <Description resid="ContextMenu.ViewCitations.Tip"/>
                </Supertip>
                <Icon>
                  <bt:Image size="16" resid="Settings.16x16"/>
                  <bt:Image size="32" resid="Settings.32x32"/>
                  <bt:Image size="80" resid="Settings.80x80"/>
                </Icon>
                <Action xsi:type="ExecuteFunction">
                  <FunctionName>openCitationsDialog</FunctionName>
                </Action>
              </Control>
            </OfficeMenu>
          </ExtensionPoint>
        </DesktopFormFactor>
      </Host>
    </Hosts>
    <Resources>
      <bt:Images>
        <bt:Image id="Icon.16x16" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/icon-16.png"/>
        <bt:Image id="Icon.32x32" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/icon-32.png"/>
        <bt:Image id="Icon.80x80" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/icon-80.png"/>
        <bt:Image id="ChatPane.16x16" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Chat Pane 16x16.png"/>
        <bt:Image id="ChatPane.32x32" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Chat Pane 32x32.png"/>
        <bt:Image id="ChatPane.80x80" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Chat Pane 80x80.png"/>
        <bt:Image id="Logout.16x16" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Logout 32x32.png"/>
        <bt:Image id="Logout.32x32" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Logout 32x32.png"/>
        <bt:Image id="Logout.80x80" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Logout 32x32.png"/>
        <bt:Image id="Settings.16x16" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Settings 32x32.png"/>
        <bt:Image id="Settings.32x32" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Settings 32x32.png"/>
        <bt:Image id="Settings.80x80" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Settings 32x32.png"/>
        <bt:Image id="ManageData.16x16" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Manage Data 32x32.png"/>
        <bt:Image id="ManageData.32x32" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Manage Data 32x32.png"/>
        <bt:Image id="ManageData.80x80" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Manage Data 32x32.png"/>
        <bt:Image id="CustomInstructions.16x16" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/CustomInstructions 32x32.png"/>
        <bt:Image id="CustomInstructions.32x32" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/CustomInstructions 32x32.png"/>
        <bt:Image id="CustomInstructions.80x80" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/CustomInstructions 32x32.png"/>
        <bt:Image id="About.16x16" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/About 32x32.png"/>
        <bt:Image id="About.32x32" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/About 32x32.png"/>
        <bt:Image id="About.80x80" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/About 32x32.png"/>
        <bt:Image id="Help.16x16" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Help 32x32.png"/>
        <bt:Image id="Help.32x32" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Help 32x32.png"/>
        <bt:Image id="Help.80x80" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Help 32x32.png"/>
        <bt:Image id="PromptLibrary.16x16" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/PromptLibrary 32x32.png"/>
        <bt:Image id="PromptLibrary.32x32" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/PromptLibrary 32x32.png"/>
        <bt:Image id="PromptLibrary.80x80" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/PromptLibrary 32x32.png"/>
        <bt:Image id="DeckBuilder.16x16" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Slide Deck Builder 48x48.png"/>
        <bt:Image id="DeckBuilder.32x32" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Slide Deck Builder 48x48.png"/>
        <bt:Image id="DeckBuilder.80x80" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Slide Deck Builder 48x48.png"/>
        <bt:Image id="SyncDeck.16x16" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Replace Tables 48x48.png"/>
        <bt:Image id="SyncDeck.32x32" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Replace Tables 48x48.png"/>
        <bt:Image id="SyncDeck.80x80" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/assets/Replace Tables 48x48.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://plugins.alpha-sense.org/carousel-addin/latest/commands.html"/>
        <bt:Url id="Taskpane.Url" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/taskpane.html"/>
        <bt:Url id="Dialog.Url" DefaultValue="https://plugins.alpha-sense.org/carousel-addin/latest/login.html"/>
      </bt:Urls>
      <bt:ShortStrings>
        <bt:String id="GetStarted.Title" DefaultValue="Get started with AlphaSense!"/>
        <bt:String id="TabCarousel.Label" DefaultValue="AlphaSense"/>
        <!-- Group Labels -->
        <bt:String id="AuthGroup.Label" DefaultValue="Auth"/>
        <bt:String id="AICreationGroup.Label" DefaultValue="AI Slide Editing and Deck Building"/>
        <bt:String id="UtilitiesGroup.Label" DefaultValue="Utilities"/>
        <bt:String id="PersonalizationGroup.Label" DefaultValue="Personalization"/>
        <!-- Button Labels -->
        <bt:String id="LoginButton.Label" DefaultValue="Login / Logout"/>
        <bt:String id="TaskpaneButton.Label" DefaultValue="AlphaSense Chat"/>
        <bt:String id="PlanningButton.Label" DefaultValue="Deck Builder"/>
        <bt:String id="ResyncButton.Label" DefaultValue="Sync Deck with Excel"/>
        <bt:String id="ManageDataButton.Label" DefaultValue="Manage Data"/>
        <bt:String id="CustomInstructionsButton.Label" DefaultValue="Custom Instructions"/>
        <bt:String id="PromptLibraryButton.Label" DefaultValue="Prompt Library"/>
        <bt:String id="SettingsButton.Label" DefaultValue="Settings"/>
        <bt:String id="ContextMenu.ViewCitations.Label" DefaultValue="View citations"/>
      </bt:ShortStrings>
      <bt:LongStrings>
        <bt:String id="GetStarted.Description" DefaultValue="AlphaSense Add-In loaded successfully. Go to the ALPHASENSE tab and click the 'AlphaSense Chat' button to get started."/>
        <bt:String id="LoginButton.Tooltip" DefaultValue="Click to sign in or out of AlphaSense"/>
        <bt:String id="TaskpaneButton.Tooltip" DefaultValue="Open AlphaSense Chat for AI-powered slide assistance"/>
        <bt:String id="PlanningButton.Tooltip" DefaultValue="Open AlphaSense Deck Builder to plan and create your presentation"/>
        <bt:String id="ResyncButton.Tooltip" DefaultValue="Check and update Excel charts and tables from source files"/>
        <bt:String id="ManageDataButton.Tooltip" DefaultValue="Review local data stores and clear cached/indexed data when needed"/>
        <bt:String id="CustomInstructionsButton.Tooltip" DefaultValue="Configure custom instructions for AI responses"/>
        <bt:String id="PromptLibraryButton.Tooltip" DefaultValue="Browse and use saved prompts"/>
        <bt:String id="SettingsButton.Tooltip" DefaultValue="Open AlphaSense settings"/>
        <bt:String id="ContextMenu.ViewCitations.Tip" DefaultValue="Open citations for the selected text"/>
      </bt:LongStrings>
    </Resources>
  </VersionOverrides>
</OfficeApp>
