<GuiXml>
    <Controls>
        <Control name="ZO_ChapterUpgradePane_SharedTemplate" virtual="true">
            <Controls>
                <Texture name="$(parent)Background">
                    <Anchor point="TOPLEFT" />
                    <Anchor point="TOPRIGHT" />
                    <!-- 1024x256 image cropped to 768x256 -->
                    <TextureCoords left="0" right="0.75" top="0" bottom="1"/>
                    <Controls>
                        <Texture name="$(parent)OverlayGradient" textureFile="EsoUI/Art/Market/market_ItemGradient_256.dds" alpha="0.6" level="2">
                            <AnchorFill />
                        </Texture>

                        <Backdrop name="$(parent)Border" />
                    </Controls>
                </Texture>

                <Label name="$(parent)Title" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_SELECTED">
                    <Anchor point="TOPLEFT" relativeTo="$(parent)Background" offsetX="5" offsetY="5" />
                </Label>

                <Label name="$(parent)PurchaseState" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_SELECTED">
                    <Anchor point="BOTTOMLEFT" relativeTo="$(parent)Background" offsetX="5" offsetY="-5" />
                </Label>

                <Label name="$(parent)TextCallout" inherit="ZO_MarketTextCallout_Base" hidden="true">
                    <Anchor point="BOTTOMLEFT" relativeTo="$(parent)PurchaseState" relativePoint="TOPLEFT" offsetX="10" offsetY="-5" />
                </Label>

                <Control name="$(parent)Release" hidden="true">
                    <Anchor point="BOTTOMRIGHT" relativeTo="$(parent)Background" offsetX="-5" offsetY="-5" />

                    <Controls>
                        <Label name="$(parent)Date" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_SELECTED">
                            <Anchor point="BOTTOMRIGHT" />
                        </Label>

                        <Label name="$(parent)Header" modifyTextType="UPPERCASE" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" text="SI_CHAPTER_UPGRADE_RELEASE_HEADER">
                            <AnchorToBaseline side="LEFT" relativeToLabel="$(parent)Date" offsetX="-5" />
                        </Label>
                    </Controls>
                </Control>
            </Controls>
        </Control>

        <Label name="ZO_ChapterUpgrade_TextCallout_TimeLeftStyle" color="INTERFACE_COLOR_TYPE_MARKET_COLORS:MARKET_COLORS_ON_SALE" virtual="true">
            <Controls>
                <Control name="$(parent)Background">
                    <Controls>
                        <Texture name="$(parent)Center" color="INTERFACE_COLOR_TYPE_GENERAL:INTERFACE_GENERAL_COLOR_BLACK" />
                        <Texture name="$(parent)Left" color="INTERFACE_COLOR_TYPE_GENERAL:INTERFACE_GENERAL_COLOR_BLACK" />
                        <Texture name="$(parent)Right" color="INTERFACE_COLOR_TYPE_GENERAL:INTERFACE_GENERAL_COLOR_BLACK" />
                    </Controls>
                </Control>
            </Controls>
        </Label>

        <Label name="ZO_ChapterUpgrade_TextCallout_OnSaleStyle" color="INTERFACE_COLOR_TYPE_GENERAL:INTERFACE_TEXT_COLOR_SELECTED" virtual="true">
            <Controls>
                <Control name="$(parent)Background">
                    <Controls>
                        <Texture name="$(parent)Center" color="INTERFACE_COLOR_TYPE_MARKET_COLORS:MARKET_COLORS_ON_SALE" />
                        <Texture name="$(parent)Left" color="INTERFACE_COLOR_TYPE_MARKET_COLORS:MARKET_COLORS_ON_SALE" />
                        <Texture name="$(parent)Right" color="INTERFACE_COLOR_TYPE_MARKET_COLORS:MARKET_COLORS_ON_SALE" />
                    </Controls>
                </Control>
            </Controls>
        </Label>

        <Label name="ZO_ChapterUpgrade_TextCallout_NewStyle" color="INTERFACE_COLOR_TYPE_GENERAL:INTERFACE_TEXT_COLOR_SELECTED" virtual="true">
            <Controls>
                <Control name="$(parent)Background">
                    <Controls>
                        <Texture name="$(parent)Center" color="INTERFACE_COLOR_TYPE_MARKET_COLORS:MARKET_COLORS_NEW" />
                        <Texture name="$(parent)Left" color="INTERFACE_COLOR_TYPE_MARKET_COLORS:MARKET_COLORS_NEW" />
                        <Texture name="$(parent)Right" color="INTERFACE_COLOR_TYPE_MARKET_COLORS:MARKET_COLORS_NEW" />
                    </Controls>
                </Control>
            </Controls>
        </Label>

        <Control name="ZO_ChapterUpgrade_Shared_RewardsEntryHeader" virtual="true">
            <OnInitialized>
                self.descriptor = self:GetNamedChild("Descriptor")
            </OnInitialized>

            <Controls>
                <Label name="$(parent)Descriptor" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" modifyTextType="UPPERCASE">
                    <Anchor point="BOTTOMLEFT" />
                </Label>
            </Controls>
        </Control>

        <Control name="ZO_ChapterUpgrade_Shared_RewardsEditionEntryHeader" inherits="ZO_ChapterUpgrade_Shared_RewardsEntryHeader" virtual="true">
            <Controls>
                <Label name="$(parent)CollectorsLabel" color="INTERFACE_COLOR_TYPE_MARKET_COLORS:MARKET_COLORS_COLLECTORS_EDITION" wrapMode="ELLIPSIS" maxLineCount="2" horizontalAlignment="CENTER" modifyTextType="UPPERCASE" text="SI_CHAPTER_UPGRADE_COLLECTORS_REWARDS_HEADER">
                    <Anchor point="BOTTOMRIGHT" offsetX="-5" />
                </Label>

                <Label name="$(parent)StandardLabel" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_SELECTED" wrapMode="ELLIPSIS" maxLineCount="2" horizontalAlignment="CENTER" modifyTextType="UPPERCASE" text="SI_CHAPTER_UPGRADE_STANDARD_REWARDS_HEADER">
                    <Anchor point="BOTTOMRIGHT" relativeTo="$(parent)CollectorsLabel" relativePoint="BOTTOMLEFT" offsetX="-10" />
                </Label>

                <Label name="$(parent)Descriptor" override="true">
                    <Anchor point="BOTTOMRIGHT" relativeTo="$(parent)StandardLabel" relativePoint="BOTTOMLEFT" offsetX="-10" />
                    <Anchor point="LEFT" constrains="X" />
                </Label>
            </Controls>
        </Control>

        <Control name="ZO_ChapterUpgrade_Shared_RewardsEntry" virtual="true">
            <OnInitialized>
                ZO_ChapterUpgradeRewardEntry_Shared_OnInitialized(self)
            </OnInitialized>

            <Controls>
                <Texture name="$(parent)Icon">
                    <Anchor point="LEFT" offsetX="10" />
                </Texture>

                <Texture name="$(parent)CollectorsCheckMark" color="INTERFACE_COLOR_TYPE_MARKET_COLORS:MARKET_COLORS_COLLECTORS_EDITION" textureFile="EsoUI/Art/Miscellaneous/check_icon_32.dds">
                    <Dimensions x="32" y="32" />
                </Texture>

                <Texture name="$(parent)StandardCheckMark" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_SELECTED" textureFile="EsoUI/Art/Miscellaneous/check_icon_32.dds">
                    <Dimensions x="32" y="32" />
                </Texture>

                <Label name="$(parent)DisplayName" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_SELECTED" />
            </Controls>
        </Control>
    </Controls>
</GuiXml>