This commit is contained in:
2026-09-15 10:35:56 +08:00
commit 782f8ea7aa
4086 changed files with 631288 additions and 0 deletions
@@ -0,0 +1,52 @@
<?xml version="1.0"?>
<!--
/**
* Mageplaza
*
* NOTICE OF LICENSE
*
* This source file is subject to the Mageplaza.com license that is
* available through the world-wide-web at this URL:
* https://www.mageplaza.com/LICENSE.txt
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category Mageplaza
* @package Mageplaza_SocialShare
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
* @license https://www.mageplaza.com/LICENSE.txt
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="columns.top">
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.InlineTop" template="Mageplaza_SocialShare::socialshare.phtml">
<arguments>
<argument name="page" xsi:type="string">category_page</argument>
<argument name="position" xsi:type="string">top_content</argument>
<argument name="type" xsi:type="string">inline</argument>
</arguments>
</block>
</referenceContainer>
<referenceContainer name="content">
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.Float" template="Mageplaza_SocialShare::socialshare.phtml">
<arguments>
<argument name="page" xsi:type="string">category_page</argument>
<argument name="type" xsi:type="string">float</argument>
<argument name="position" xsi:type="string">float_position</argument>
</arguments>
</block>
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.InlineBottom" template="Mageplaza_SocialShare::socialshare.phtml">
<arguments>
<argument name="page" xsi:type="string">category_page</argument>
<argument name="position" xsi:type="string">bottom_content</argument>
<argument name="type" xsi:type="string">inline</argument>
</arguments>
</block>
</referenceContainer>
</body>
</page>
@@ -0,0 +1,64 @@
<?xml version="1.0"?>
<!--
/**
* Mageplaza
*
* NOTICE OF LICENSE
*
* This source file is subject to the Mageplaza.com license that is
* available through the world-wide-web at this URL:
* https://www.mageplaza.com/LICENSE.txt
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category Mageplaza
* @package Mageplaza_SocialShare
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
* @license https://www.mageplaza.com/LICENSE.txt
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="content">
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.InlineTop" template="Mageplaza_SocialShare::socialshare.phtml" before="-">
<arguments>
<argument name="page" xsi:type="string">product_page</argument>
<argument name="position" xsi:type="string">top_content</argument>
<argument name="type" xsi:type="string">inline</argument>
</arguments>
</block>
</referenceContainer>
<referenceContainer name="content">
<referenceContainer name="product.info.main">
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.InlineCart" template="Mageplaza_SocialShare::socialshare.phtml">
<arguments>
<argument name="page" xsi:type="string">under_cart</argument>
<argument name="position" xsi:type="string">under_cart</argument>
<argument name="type" xsi:type="string">inline</argument>
</arguments>
</block>
</referenceContainer>
</referenceContainer>
<referenceContainer name="content.aside">
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.Float" template="Mageplaza_SocialShare::socialshare.phtml">
<arguments>
<argument name="page" xsi:type="string">product_page</argument>
<argument name="position" xsi:type="string">float_position</argument>
<argument name="type" xsi:type="string">float</argument>
</arguments>
</block>
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.InlineBottom" template="Mageplaza_SocialShare::socialshare.phtml" after="-">
<arguments>
<argument name="page" xsi:type="string">product_page</argument>
<argument name="position" xsi:type="string">bottom_content</argument>
<argument name="type" xsi:type="string">inline</argument>
</arguments>
</block>
</referenceContainer>
</body>
</page>
@@ -0,0 +1,49 @@
<?xml version="1.0"?>
<!--
/**
* Mageplaza
*
* NOTICE OF LICENSE
*
* This source file is subject to the Mageplaza.com license that is
* available through the world-wide-web at this URL:
* https://www.mageplaza.com/LICENSE.txt
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category Mageplaza
* @package Mageplaza_SocialShare
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
* @license https://www.mageplaza.com/LICENSE.txt
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="content">
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.InlineTop" template="Mageplaza_SocialShare::socialshare.phtml" before="-">
<arguments>
<argument name="page" xsi:type="string">home_page</argument>
<argument name="position" xsi:type="string">top_content</argument>
<argument name="type" xsi:type="string">inline</argument>
</arguments>
</block>
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.InlineBottom" template="Mageplaza_SocialShare::socialshare.phtml" after="-">
<arguments>
<argument name="page" xsi:type="string">home_page</argument>
<argument name="position" xsi:type="string">bottom_content</argument>
<argument name="type" xsi:type="string">inline</argument>
</arguments>
</block>
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.Float" template="Mageplaza_SocialShare::socialshare.phtml" after="-">
<arguments>
<argument name="page" xsi:type="string">cms_page</argument>
<argument name="position" xsi:type="string">float_position</argument>
<argument name="type" xsi:type="string">float</argument>
</arguments>
</block>
</referenceContainer>
</body>
</page>
@@ -0,0 +1,35 @@
<?xml version="1.0"?>
<!--
/**
* Mageplaza
*
* NOTICE OF LICENSE
*
* This source file is subject to the Mageplaza.com license that is
* available through the world-wide-web at this URL:
* https://www.mageplaza.com/LICENSE.txt
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category Mageplaza
* @package Mageplaza_SocialShare
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
* @license https://www.mageplaza.com/LICENSE.txt
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="content">
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.Float" template="Mageplaza_SocialShare::socialshare.phtml">
<arguments>
<argument name="page" xsi:type="string">cms_page</argument>
<argument name="position" xsi:type="string">float_position</argument>
<argument name="type" xsi:type="string">float</argument>
</arguments>
</block>
</referenceContainer>
</body>
</page>
@@ -0,0 +1,35 @@
<?xml version="1.0"?>
<!--
/**
* Mageplaza
*
* NOTICE OF LICENSE
*
* This source file is subject to the Mageplaza.com license that is
* available through the world-wide-web at this URL:
* https://www.mageplaza.com/LICENSE.txt
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category Mageplaza
* @package Mageplaza_SocialShare
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
* @license https://www.mageplaza.com/LICENSE.txt
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="content">
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.Float" template="Mageplaza_SocialShare::socialshare.phtml" after="-">
<arguments>
<argument name="page" xsi:type="string">contact_us</argument>
<argument name="position" xsi:type="string">float_position</argument>
<argument name="type" xsi:type="string">float</argument>
</arguments>
</block>
</referenceContainer>
</body>
</page>
@@ -0,0 +1,52 @@
<?xml version="1.0"?>
<!--
/**
* Mageplaza
*
* NOTICE OF LICENSE
*
* This source file is subject to the Mageplaza.com license that is
* available through the world-wide-web at this URL:
* https://www.mageplaza.com/LICENSE.txt
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category Mageplaza
* @package Mageplaza_SocialShare
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
* @license https://www.mageplaza.com/LICENSE.txt
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="columns.top">
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.InlineTop" template="Mageplaza_SocialShare::socialshare.phtml">
<arguments>
<argument name="page" xsi:type="string">dailydeal_alldeals</argument>
<argument name="position" xsi:type="string">top_content</argument>
<argument name="type" xsi:type="string">inline</argument>
</arguments>
</block>
</referenceContainer>
<referenceContainer name="content">
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.Float" template="Mageplaza_SocialShare::socialshare.phtml">
<arguments>
<argument name="page" xsi:type="string">dailydeal_alldeals</argument>
<argument name="type" xsi:type="string">float</argument>
<argument name="position" xsi:type="string">float_position</argument>
</arguments>
</block>
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.InlineBottom" template="Mageplaza_SocialShare::socialshare.phtml">
<arguments>
<argument name="page" xsi:type="string">dailydeal_alldeals</argument>
<argument name="position" xsi:type="string">bottom_content</argument>
<argument name="type" xsi:type="string">inline</argument>
</arguments>
</block>
</referenceContainer>
</body>
</page>
@@ -0,0 +1,52 @@
<?xml version="1.0"?>
<!--
/**
* Mageplaza
*
* NOTICE OF LICENSE
*
* This source file is subject to the Mageplaza.com license that is
* available through the world-wide-web at this URL:
* https://www.mageplaza.com/LICENSE.txt
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category Mageplaza
* @package Mageplaza_SocialShare
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
* @license https://www.mageplaza.com/LICENSE.txt
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="columns.top">
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.InlineTop" template="Mageplaza_SocialShare::socialshare.phtml">
<arguments>
<argument name="page" xsi:type="string">dailydeal_bestsellerdeals</argument>
<argument name="position" xsi:type="string">top_content</argument>
<argument name="type" xsi:type="string">inline</argument>
</arguments>
</block>
</referenceContainer>
<referenceContainer name="content">
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.Float" template="Mageplaza_SocialShare::socialshare.phtml">
<arguments>
<argument name="page" xsi:type="string">dailydeal_bestsellerdeals</argument>
<argument name="type" xsi:type="string">float</argument>
<argument name="position" xsi:type="string">float_position</argument>
</arguments>
</block>
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.InlineBottom" template="Mageplaza_SocialShare::socialshare.phtml">
<arguments>
<argument name="page" xsi:type="string">dailydeal_bestsellerdeals</argument>
<argument name="position" xsi:type="string">bottom_content</argument>
<argument name="type" xsi:type="string">inline</argument>
</arguments>
</block>
</referenceContainer>
</body>
</page>
@@ -0,0 +1,52 @@
<?xml version="1.0"?>
<!--
/**
* Mageplaza
*
* NOTICE OF LICENSE
*
* This source file is subject to the Mageplaza.com license that is
* available through the world-wide-web at this URL:
* https://www.mageplaza.com/LICENSE.txt
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category Mageplaza
* @package Mageplaza_SocialShare
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
* @license https://www.mageplaza.com/LICENSE.txt
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="columns.top">
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.InlineTop" template="Mageplaza_SocialShare::socialshare.phtml">
<arguments>
<argument name="page" xsi:type="string">dailydeal_featureddeals</argument>
<argument name="position" xsi:type="string">top_content</argument>
<argument name="type" xsi:type="string">inline</argument>
</arguments>
</block>
</referenceContainer>
<referenceContainer name="content">
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.Float" template="Mageplaza_SocialShare::socialshare.phtml">
<arguments>
<argument name="page" xsi:type="string">dailydeal_featureddeals</argument>
<argument name="type" xsi:type="string">float</argument>
<argument name="position" xsi:type="string">float_position</argument>
</arguments>
</block>
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.InlineBottom" template="Mageplaza_SocialShare::socialshare.phtml">
<arguments>
<argument name="page" xsi:type="string">dailydeal_featureddeals</argument>
<argument name="position" xsi:type="string">bottom_content</argument>
<argument name="type" xsi:type="string">inline</argument>
</arguments>
</block>
</referenceContainer>
</body>
</page>
@@ -0,0 +1,52 @@
<?xml version="1.0"?>
<!--
/**
* Mageplaza
*
* NOTICE OF LICENSE
*
* This source file is subject to the Mageplaza.com license that is
* available through the world-wide-web at this URL:
* https://www.mageplaza.com/LICENSE.txt
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category Mageplaza
* @package Mageplaza_SocialShare
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
* @license https://www.mageplaza.com/LICENSE.txt
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="columns.top">
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.InlineTop" template="Mageplaza_SocialShare::socialshare.phtml">
<arguments>
<argument name="page" xsi:type="string">dailydeal_newdeals</argument>
<argument name="position" xsi:type="string">top_content</argument>
<argument name="type" xsi:type="string">inline</argument>
</arguments>
</block>
</referenceContainer>
<referenceContainer name="content">
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.Float" template="Mageplaza_SocialShare::socialshare.phtml">
<arguments>
<argument name="page" xsi:type="string">dailydeal_newdeals</argument>
<argument name="type" xsi:type="string">float</argument>
<argument name="position" xsi:type="string">float_position</argument>
</arguments>
</block>
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.InlineBottom" template="Mageplaza_SocialShare::socialshare.phtml">
<arguments>
<argument name="page" xsi:type="string">dailydeal_newdeals</argument>
<argument name="position" xsi:type="string">bottom_content</argument>
<argument name="type" xsi:type="string">inline</argument>
</arguments>
</block>
</referenceContainer>
</body>
</page>
@@ -0,0 +1,38 @@
<?xml version="1.0"?>
<!--
/**
* Mageplaza
*
* NOTICE OF LICENSE
*
* This source file is subject to the Mageplaza.com license that is
* available through the world-wide-web at this URL:
* https://www.mageplaza.com/LICENSE.txt
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category Mageplaza
* @package Mageplaza_SocialShare
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
* @license https://www.mageplaza.com/LICENSE.txt
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<script src="https://static.addtoany.com/menu/page.js" src_type="url"/>
<script src="Mageplaza_SocialShare::js/thankskit.js"/>
</head>
<body>
<referenceContainer name="after.body.start">
<block class="Mageplaza\SocialShare\Block\SocialShare" name="mp.SocialShare.Float" template="Mageplaza_SocialShare::socialshare.phtml" after="-">
<arguments>
<argument name="position" xsi:type="string">float_position</argument>
<argument name="type" xsi:type="string">float</argument>
</arguments>
</block>
</referenceContainer>
</body>
</page>
@@ -0,0 +1,116 @@
<?php
/**
* Mageplaza
*
* NOTICE OF LICENSE
*
* This source file is subject to the Mageplaza.com license that is
* available through the world-wide-web at this URL:
* https://www.mageplaza.com/LICENSE.txt
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category Mageplaza
* @package Mageplaza_SocialShare
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
* @license https://www.mageplaza.com/LICENSE.txt
*/
?>
<?php /** @var \Mageplaza\SocialShare\Block\SocialShare $block */ ?>
<?php if ($block->isEnable()): ?>
<?php if ($block->isThisPageEnable() && $block->isThisPositionEnable()): ?>
<style type="text/css">
.a2a_svg, .a2a_count {
border-radius: <?= /* @noEscape */ $block->getBorderRadius()?> !important;
display: block;
}
<?php if ($block->isDisplayInline()):?>
.mp_social_share_inline, .mp_social_share_inline_under_cart {
display: flex;
border-radius: 7px;
padding: 7px 7px 7px 5px;
<?= /* @noEscape */ $block->getBackgroundColor()?>
}
.mp_social_share_inline {
width: fit-content;
justify-content: flex-end;
<?= $block->getPosition() === 'bottom_content' ? 'float: right;' : 'float: left;' ?>
}
.mp_social_share_inline_under_cart {
justify-content: flex-start;
float: left;
}
<?php else: ?>
.mp_social_share_float {
<?php if ($block->isVerticalStyle($block->getFloatStyle())): ?>
<?= /* @noEscape */ $block->getFloatMargin('top')?>
<?php endif;?>
<?= /* @noEscape */ $block->getFloatPosition()?>
<?= /* @noEscape */ $block->getBackgroundColor()?>
z-index: 9999;
}
<?php if (!$block->isVerticalStyle($block->getFloatStyle())):?>
.a2a_floating_style.a2a_default_style {
<?= /* @noEscape */ $block->getFloatMargin('bottom')?>
}
<?php endif;?>
@media only screen and (min-width: 430px) {.navigation { z-index: 1; }}
@media only screen and (max-width: 777px) {
.mp_social_share_inline {
width: fit-content;
justify-content: flex-end;
float: none;
}
}
.footer-bottom .container .logo { z-index: 0;}
<?php endif;?>
</style>
<div class="<?= /* @noEscape */ $block->getContainerClass($block->getDisplayType()) ?>">
<div class="a2a_kit <?= /* @noEscape */ $block->getDisplayType() ?>
<?= /* @noEscape */ $block->getButtonSize() ?>
<?= /* @noEscape */ $block->getFloatStyle() ?>">
<?php foreach ($block->getEnableService() as $enableService): ?>
<?php if ($block->isImageEnable($enableService)): ?>
<a class="a2a_button_<?= /* @noEscape */ $enableService ?>
<?= /* @noEscape */ $block->getShareCounter($enableService) ?>">
<img src="<?= /* @noEscape */ $block->getImageUrl($enableService) ?>"
<?= /* @noEscape */ $block->setImageSize($block->getButtonSize()) ?>
alt="<?= /* @noEscape */ $enableService ?>">
</a>
<?php else: ?>
<a class="a2a_button_<?= /* @noEscape */ $enableService ?>
<?= /* @noEscape */ $block->getShareCounter($enableService) ?>"></a>
<?php endif; ?>
<?php endforeach; ?>
<?php if ($block->isAddMoreShare()): ?>
<a class="a2a_dd <?= /* @noEscape */ $block->getShareCounter('a2a_dd') ?>"
href="https://www.addtoany.com/share"></a>
<?php endif; ?>
</div>
</div>
<script type="text/javascript">
var a2a_config = a2a_config || {};
a2a_config.icon_color ="<?= /* @noEscape */ $block->getIconColor() ?>";
a2a_config.num_services = <?= /* @noEscape */ $block->getNumberOfService() ?>;
a2a_config.onclick = <?= /* @noEscape */ $block->getMenuType() ?>;
a2a_config.thanks = {postShare: <?= /* @noEscape */ $block->getThankYou() ?>,};
a2a_config.exclude_services = [<?= /* @noEscape */ $block->getDisabledServices() ?>];
</script>
<?php endif; ?>
<?php endif; ?>
@@ -0,0 +1,62 @@
/**
* Mageplaza
*
* NOTICE OF LICENSE
*
* This source file is subject to the Mageplaza.com license that is
* available through the world-wide-web at this URL:
* https://www.mageplaza.com/LICENSE.txt
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this extension to newer
* version in the future.
*
* @category Mageplaza
* @package Mageplaza_SocialShare
* @copyright Copyright (c) Mageplaza (https://www.mageplaza.com/)
* @license https://www.mageplaza.com/LICENSE.txt
*/
require([
'jquery'
], function ($) {
$(document).ready(function () {
var existCondition = setInterval(
function () {
if ($('#a2a_modal').css('display') === 'block') {
if ($('.a2a_button_facebook').length !== 0 && $('.a2a_kit .a2a_button_facebook img').attr('src') !== undefined) {
$('#a2a_thanks_kit .a2a_button_facebook .a2a_s_facebook svg').replaceWith('<img src="' + $('.a2a_kit .a2a_button_facebook img').attr('src') + '" width="32" height="32" alt="facebook">');
$('#a2a_thanks_kit .a2a_button_facebook').css('height', '32px');
}
if ($('.a2a_button_twitter').length !== 0 && $('.a2a_kit .a2a_button_twitter img').attr('src') !== undefined) {
$('#a2a_thanks_kit .a2a_button_twitter .a2a_s_twitter svg').replaceWith('<img src="' + $('.a2a_kit .a2a_button_twitter img').attr('src') + '" width="32" height="32" alt="twitter">');
$('#a2a_thanks_kit .a2a_button_twitter').css('height', '32px');
}
if ($('.a2a_button_facebook_messenger').length !== 0 && $('.a2a_kit .a2a_button_facebook_messenger img').attr('src') !== undefined) {
$('#a2a_thanks_kit .a2a_button_facebook_messenger .a2a_s_facebook_messenger svg').replaceWith('<img src="' + $('.a2a_kit .a2a_button_facebook_messenger img').attr('src') + '" width="32" height="32" alt="facebook_messenger">');
$('#a2a_thanks_kit .a2a_button_facebook_messenger').css('height', '32px');
}
if ($('.a2a_button_pinterest').length !== 0 && $('.a2a_kit .a2a_button_pinterest img').attr('src') !== undefined) {
$('#a2a_thanks_kit .a2a_button_pinterest .a2a_s_pinterest svg').replaceWith('<img src="' + $('.a2a_kit .a2a_button_pinterest img').attr('src') + '" width="32" height="32" alt="pinterest">');
$('#a2a_thanks_kit .a2a_button_pinterest').css('height', '32px');
}
if ($('.a2a_button_linkedin').length !== 0 && $('.a2a_kit .a2a_button_linkedin img').attr('src') !== undefined) {
$('#a2a_thanks_kit .a2a_button_linkedin .a2a_s_linkedin svg').replaceWith('<img src="' + $('.a2a_kit .a2a_button_linkedin img').attr('src') + '" width="32" height="32" alt="linkedin">');
$('#a2a_thanks_kit .a2a_button_linkedin').css('height', '32px');
}
if ($('.a2a_button_tumblr').length !== 0 && $('.a2a_kit .a2a_button_tumblr img').attr('src') !== undefined) {
$('#a2a_thanks_kit .a2a_button_tumblr .a2a_s_tumblr svg').replaceWith('<img src="' + $('.a2a_kit .a2a_button_tumblr img').attr('src') + '" width="32" height="32" alt="tumblr">');
$('#a2a_thanks_kit .a2a_button_tumblr').css('height', '32px');
}
}
}, 400
);
});
});