PageSourceSearch

https://bigdeal.co.il/static/version1789636364/frontend/Fisha/deal…/Mageplaza_SocialShare/js/thankskit.js

js bigdeal.co.il collected 2026-09-25 00:01:04 UTC 7,769 bytes, 192 lines download raw bytes

1/**
2 * Mageplaza
3 *
4 * NOTICE OF LICENSE
5 *
6 * This source file is subject to the Mageplaza.com license that is
7 * available through the world-wide-web at this URL:
8 * https://www.mageplaza.com/LICENSE.txt
9 *
10 * DISCLAIMER
11 *
12 * Do not edit or add to this file if you wish to upgrade this extension to newer
13 * version in the future.
14 *
15 * @category    Mageplaza
16 * @package     Mageplaza_SocialShare
17 * @copyright   Copyright (c) Mageplaza (https://www.mageplaza.com/)
18 * @license     https://www.mageplaza.com/LICENSE.txt
19 */
20
21require(["jquery"], function ($) {
22    $(document).ready(function () {
23        var existCondition = setInterval(function () {
24            if ($("#a2a_modal").css("display") === "block") {
25                if (
26                    $(".a2a_button_facebook").length !== 0 &&
27                    $(".a2a_kit .a2a_button_facebook img").attr("src") !==
28                        undefined
29                ) {
30                    $(
31                        "#a2a_thanks_kit .a2a_button_facebook .a2a_s_facebook svg"
32                    ).replaceWith(
33                        '<img src="' +
34                            $(".a2a_kit .a2a_button_facebook img").attr("src") +
35                            '" width="32" height="32" alt="facebook">'
36                    );
37                    $("#a2a_thanks_kit .a2a_button_facebook").css(
38                        "height",
39                        "32px"
40                    );
41                }
42
43                if (
44                    $(".a2a_button_twitter").length !== 0 &&
45                    $(".a2a_kit .a2a_button_twitter img").attr("src") !==
46                        undefined
47                ) {
48                    $(
49                        "#a2a_thanks_kit .a2a_button_twitter .a2a_s_twitter svg"
50                    ).replaceWith(
51                        '<img src="' +
52                            $(".a2a_kit .a2a_button_twitter img").attr("src") +
53                            '" width="32" height="32" alt="twitter">'
54                    );
55                    $("#a2a_thanks_kit .a2a_button_twitter").css(
56                        "height",
57                        "32px"
58                    );
59                }
60
61                if (
62                    $(".a2a_button_facebook_messenger").length !== 0 &&
63                    $(".a2a_kit .a2a_button_facebook_messenger img").attr(
64                        "src"
65                    ) !== undefined
66                ) {
67                    $(
68                        "#a2a_thanks_kit .a2a_button_facebook_messenger .a2a_s_facebook_messenger svg"
69                    ).replaceWith(
70                        '<img src="' +
71                            $(
72                                ".a2a_kit .a2a_button_facebook_messenger img"
73                            ).attr("src") +
74                            '" width="32" height="32" alt="facebook_messenger">'
75                    );
76                    $("#a2a_thanks_kit .a2a_button_facebook_messenger").css(
77                        "height",
78                        "32px"
79                    );
80                }
81
82                if (
83                    $(".a2a_button_pinterest").length !== 0 &&
84                    $(".a2a_kit .a2a_button_pinterest img").attr("src") !==
85                        undefined
86                ) {
87                    $(
88                        "#a2a_thanks_kit .a2a_button_pinterest .a2a_s_pinterest svg"
89                    ).replaceWith(
90                        '<img src="' +
91                            $(".a2a_kit .a2a_button_pinterest img").attr(
92                                "src"
93                            ) +
94                            '" width="32" height="32" alt="pinterest">'
95                    );
96                    $("#a2a_thanks_kit .a2a_button_pinterest").css(
97                        "height",
98                        "32px"
99                    );
100                }
101
102                if (
103                    $(".a2a_button_linkedin").length !== 0 &&
104                    $(".a2a_kit .a2a_button_linkedin img").attr("src") !==
105                        undefined
106                ) {
107                    $(
108                        "#a2a_thanks_kit .a2a_button_linkedin .a2a_s_linkedin svg"
109                    ).replaceWith(
110                        '<img src="' +
111                            $(".a2a_kit .a2a_button_linkedin img").attr("src") +
112                            '" width="32" height="32" alt="linkedin">'
113                    );
114                    $("#a2a_thanks_kit .a2a_button_linkedin").css(
115                        "height",
116                        "32px"
117                    );
118                }
119
120                if (
121                    $(".a2a_button_tumblr").length !== 0 &&
122                    $(".a2a_kit .a2a_button_tumblr img").attr("src") !==
123                        undefined
124                ) {
125                    $(
126                        "#a2a_thanks_kit .a2a_button_tumblr .a2a_s_tumblr svg"
127                    ).replaceWith(
128                        '<img src="' +
129                            $(".a2a_kit .a2a_button_tumblr img").attr("src") +
130                            '" width="32" height="32" alt="tumblr">'
131                    );
132                    $("#a2a_thanks_kit .a2a_button_tumblr").css(
133                        "height",
134                        "32px"
135                    );
136                }
137
138                if (
139                    $(".a2a_button_instagram").length !== 0 &&
140                    $(".a2a_kit .a2a_button_instagram img").attr("src") !==
141                        undefined
142                ) {
143                    $(
144                        "#a2a_thanks_kit .a2a_button_instagram .a2a_s_instagram svg"
145                    ).replaceWith(
146                        '<img src="' +
147                            $(".a2a_kit .a2a_button_instagram img").attr(
148                                "src"
149                            ) +
150                            '" width="32" height="32" alt="instagram">'
151                    );
152                    $("#a2a_thanks_kit .a2a_button_instagram").css(
153                        "height",
154                        "32px"
155                    );
156                }
157
158                if (
159                    $(".a2a_button_mail").length !== 0 &&
160                    $(".a2a_kit .a2a_button_mail img").attr("src") !== undefined
161                ) {
162                    $(
163                        "#a2a_thanks_kit .a2a_button_mail .a2a_s_mail svg"
164                    ).replaceWith(
165                        '<img src="' +
166                            $(".a2a_kit .a2a_button_mail img").attr("src") +
167                            '" width="32" height="32" alt="mail">'
168                    );
169                    $("#a2a_thanks_kit .a2a_button_mail").css("height", "32px");
170                }
171
172                if (
173                    $(".a2a_button_whatsapp").length !== 0 &&
174                    $(".a2a_kit .a2a_button_whatsapp img").attr("src") !==
175                        undefined
176                ) {
177                    $(
178                        "#a2a_thanks_kit .a2a_button_whatsapp .a2a_s_whatsapp svg"
179                    ).replaceWith(
180                        '<img src="' +
181                            $(".a2a_kit .a2a_button_whatsapp img").attr("src") +
182                            '" width="32" height="32" alt="whatsapp">'
183                    );
184                    $("#a2a_thanks_kit .a2a_button_whatsapp").css(
185                        "height",
186                        "32px"
187                    );
188                }
189            }
190        }, 400);
191    });
192});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.