<?xml version="1.0"?>
<!--
/**
 * Webkul Software.
 *
 * @category  Webkul
 * @package   Webkul_Marketplace
 * @author    Webkul Software Private Limited
 * @copyright Webkul Software Private Limited (https://webkul.com)
 * @license   https://store.webkul.com/license.html
 */
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <head>
        <css src="Webkul_Marketplace::css/wk_block.css"/>
        <css src="Webkul_Marketplace::css/preview.css"/>
    </head>
    <body>
        <referenceBlock name="header.links">
            <block class="Webkul\Marketplace\Block\View\Html\Link" name="marketplace-top-link">
                <arguments>
                    <argument name="label" xsi:type="string" translate="true">Sell</argument>
                    <argument name="path" xsi:type="string">marketplace</argument>
                </arguments>
            </block>
            <block class="Webkul\Marketplace\Block\View\Html\SwitchLink" name="marketplace-account-switch-link" >
                <arguments>
                    <argument name="label" xsi:type="string" translate="true">Vendor Dashboard</argument>
                    <argument name="path" xsi:type="string">marketplace\account\dashboard</argument>
                </arguments>
            </block>
        </referenceBlock>
        <referenceBlock name="footer_links">
            <block class="Webkul\Marketplace\Block\View\Html\Link" name="marketplace-link">
                <arguments>
                    <argument name="label" xsi:type="string" translate="true">Sell</argument>
                    <argument name="path" xsi:type="string">marketplace</argument>
                </arguments>
            </block>
            <block class="Webkul\Marketplace\Block\View\Html\Link" name="marketplace-vendor-login-link" >
                <arguments>
                    <argument name="label" xsi:type="string" translate="true">Vendor Login</argument>
                    <argument name="path" xsi:type="string">marketplace/account/dashboard</argument>
                </arguments>
            </block>
        </referenceBlock>
        <referenceContainer name="content">
            <block class="Webkul\Marketplace\Block\PublishedNewsPopup" name="marketplace_account_adminnews_popup_default" template="Webkul_Marketplace::account/published_news_popup.phtml" cacheable="true" ifconfig="marketplace/general_settings/enable_module"/>
        </referenceContainer>
        <referenceContainer name="seller.content">
            <block class="Webkul\Marketplace\Block\PublishedNewsPopup" name="marketplace_account_adminnews_popup" template="Webkul_Marketplace::account/published_news_popup.phtml" cacheable="true" ifconfig="marketplace/general_settings/enable_module"/>
        </referenceContainer>
        <referenceBlock name="wishlist_sidebar">
            <action method="setTemplate">
                <argument name="template" xsi:type="string">Webkul_Marketplace::wishlist/sidebar.phtml</argument>
            </action>
            <arguments>
                <argument name="marketplace_view_model" xsi:type="object">Webkul\Marketplace\ViewModel\HelperViewModel</argument>
            </arguments>
        </referenceBlock>
    </body>
</page>
