PageSourceSearch

https://30stades.com/static/js/footer_js/common_footer.js

js 30stades.com collected 2026-10-02 11:33:12 UTC 93,803 bytes, 928 lines download raw bytes

1let footer = document.getElementById("footer_js");
2let ios_img = footer.getAttribute("ios_img");
3let and_img = footer.getAttribute("and_img");
4let footer_link_color = footer.getAttribute("link_color");
5let disable_async_comp_homepage = footer.getAttribute("disable_async_comp_homepage")=== '1' || footer.getAttribute("disable_async_comp_homepage")=== 'True' ? true : false;
6contrast_color = (color, classname,css) => {
7  try{
8  color = color.split("#")[1] || color;
9  var rgb = [];
10  for (let i = 0; i < color.length; i += 2) {
11    rgb.push(parseInt(color[i] + color[i + 1], 16));
12  }
13
14  var c = "rgb(" + rgb[0] + "," + rgb[1] + "," + rgb[2] + ")";
15
16  var o = Math.round(
17    (parseInt(rgb[0]) * 299 + parseInt(rgb[1]) * 587 + parseInt(rgb[2]) * 114) /
18      1000
19  );
20
21  if (o > 125) {
22    $("." + classname).css(css, "black");
23  } else {
24    $("." + classname).css(css, "white");
25  }
26}
27catch(err){
28  console.log(err)
29}
30
31};
32
33
34latest_articles_footer = (items) => {
35  try {
36    $("#stories_footer_1").append(`
37  <ul id="latest_stories_list" class="latest_stories_footer"></ul> `);
38    for (let i = 0; i < 6 ; i++) {
39      if (i % 2 === 0) {
40        var latest_stories = `
41        <li>
42          <p class="line_clamp"><a href="${items[i].legacy_url}" aria-label="${items[i].title}" class="footer-anchor">${items[i].title}</a></p>
43        </li>
44        `;
45        $("#latest_stories_list").append(latest_stories);
46      } else {
47        var stories = `
48          <li>
49            <p class="line_clamp" ><a href="${items[i].legacy_url}" aria-label="${items[i].title}" class="footer-anchor">${items[i].title}</a></p>
50          </li>
51          `;
52        $("#stories_footer_2").append(stories);
53      }
54    }
55  } catch (err) {
56    console.error(err, "latest_stories");
57  }
58}
59function showV2FooterSection(res) {
60  $('.footer-class').removeClass('px-4')
61  $(".v2-footer-section").css("display", "block");
62  $(".v1-footer-section").css("display", "none");
63  $(".v2-footer-section").css('background', res?.accent_color ? res?.accent_color : '#000');
64  $(".v2-footer-section").css('color', res?.text_color ? res?.text_color : '#fff');
65  $(".footer-newsletter .newsletter_msg").css('color', res?.text_color ? res?.text_color : '#fff');
66  $(".footer-newsletter .newsletter_msg p").css('color', res?.text_color ? res?.text_color : '#fff');
67  $(".preview-first-row .first-column .image-section .image").css("display","none")
68  contrast_color(res?.accent_color ? res?.accent_color : '#000000' ,"publive-logo svg path","fill")
69  if (res?.logo) {
70    $('.preview-first-row').removeClass('display-none')
71    $(".preview-first-row .first-column .image-section .image").attr(
72      "src",
73      res.logo
74    );
75    $(".preview-first-row .first-column .image-section .image").css("display","flex")
76  }
77  $(".preview-first-row .first-column .newsletter-section").addClass(
78    res?.newsletter_css_block
79  );
80
81  if (res?.short_bio) {
82    $('.preview-first-row').removeClass('display-none')
83    $(".preview-first-row .first-column .p-tag-short-bio").html(res.short_bio);
84  }
85
86  setApkLinksForFooter(res);
87  setSocialLinksForFooter(res);
88  setQuickLinksForFooter(res);
89  if (res?.latest_stories_status) {
90    setLatestStoriesForFooter(res);
91  }
92  setAffiliateLinksForFooter(res);
93  if(res?.copy_right_text){
94    $('.preview-last-row .copy-right-text').html(res?.copy_right_text)
95  }
96}
97
98function setApkLinksForFooter(res) {
99  if (res?.app_links?.android_url) {
100    $('.preview-first-row .second-column').removeClass('display-none')
101    $(".preview-first-row .second-column .show-app-link-section").css("display", "flex");
102    const android_link = `
103      <p class="footer-social-link-p-tag"><a href="${res?.app_links?.android_url}" aria-label="${res?.app_links?.android_url}" class=""><img src="${and_img}" class="v2-footer-app-link" alt="${res?.app_links?.android_url}"></a></p>
104      `;
105    $(".preview-first-row .second-column .show-app-link-section").append(
106      android_link
107    );
108  }
109  if (res?.app_links?.apple_url) {
110    $('.preview-first-row .second-column').removeClass('display-none')
111    $(".preview-first-row .second-column .show-app-link-section").css("display", "flex");
112    const ios_link = `
113        <p class="footer-social-link-p-tag"><a href="${res?.app_links?.apple_url}" aria-label="${res?.app_links?.apple_url}" class=""><img src="${ios_img}
113" class="v2-footer-app-link" alt="${res?.app_links?.apple_url}"></a></p>`;
114    $(".preview-first-row .second-column .show-app-link-section").append(
115      ios_link
116    );
117  }
118}
119
120function setSocialLinksForFooter(res) {
121  try {
122      var load_dark_svg = 1
123      if(isColorDark(res?.accent_color)){
124        load_dark_svg = 0
125      }
126      if (res?.amp_social_links && res?.amp_social_links?.length > 0 ) {
127        $('.preview-first-row').removeClass('display-none')
128        $('.preview-first-row .second-column').removeClass('display-none')
129      }
130      if (res?.amp_social_links?.facebook?.title === "Facebook") {
131        var facebook = `
132          <a href="${res?.amp_social_links?.facebook?.link}" aria-label="facebook" class="link-secondary">
133          ${get_facebook_svg(load_dark_svg)}
134          </a>`;
135        $(".preview-first-row .second-column .social-logo-section").append(
136          facebook
137        );
138      }
139      if (res?.amp_social_links?.linkedin?.title === "LinkedIn") {
140        var linkedin = `
141          <a href="${res?.amp_social_links?.linkedin?.link}" aria-label="linkedin" class="link-secondary">
142          ${get_linkedin_svg(load_dark_svg)}
143          </a>
144        `;
145        $(".preview-first-row .second-column .social-logo-section").append(
146          linkedin
147        );
148      }
149      if (res?.amp_social_links?.instagram?.title === "Instagram") {
150        var instagram = `
151            <a href="${res?.amp_social_links?.instagram?.link}" aria-label="instagram" class="link-secondary">
152            ${get_instagram_svg(load_dark_svg)}
153          </a>
154        `;
155        $(".preview-first-row .second-column .social-logo-section").append(
156          instagram
157        );
158      }
159      if (res?.amp_social_links?.twitter?.title === "Twitter") {
160        var twitter = `
161            <a href="${res?.amp_social_links?.twitter?.link}" aria-label="twitter" class="link-secondary">
162            ${get_twitter_svg(load_dark_svg)}
163          </a>
164        `;
165        $(".preview-first-row .second-column .social-logo-section").append(
166          twitter
167        );
168      }
169      if (res?.amp_social_links?.youtube?.title === "YouTube") {
170        var youtube = `
171          <a href="${res?.amp_social_links?.youtube?.link}" aria-label="youtube" class="link-secondary">
172          ${get_youtube_svg(load_dark_svg)}
173        </a>
174        `;
175        $(".preview-first-row .second-column .social-logo-section").append(
176          youtube
177        );
178      }
179      if (res?.amp_social_links?.whatsapp?.title === "Whatsapp") {
180        var whatsapp = `
181        <a href="${res?.amp_social_links?.whatsapp?.link}" aria-label="whatsapp" class="link-secondary">
182        ${get_whatsapp_svg(load_dark_svg)}
183        </a>
184      `;
185        $(".preview-first-row .second-column .social-logo-section").append(
186          whatsapp
187        );
188      }
189      if (res?.amp_social_links?.thread?.title === "Thread") {
190        var thread = `
191        <a href="${res?.amp_social_links?.thread?.link}" aria-label="thread" class="link-secondary">
192        ${get_thread_svg(load_dark_svg)}
193
194        </a>
195      `;
196        $(".preview-first-row .second-column .social-logo-section").append(
197          thread
198        );
199      }
200      if (res?.amp_social_links?.telegram?.title === "Telegram") {
201        var telegram = `
202        <a href="${res?.amp_social_links?.telegram?.link}" aria-label="telegram" class="link-secondary">
203        ${get_telegram_svg(load_dark_svg)}
204
205        </a>
206      `;
207        $(".preview-first-row .second-column .social-logo-section").append(
208          telegram
209        );
210      }
211      if (res?.amp_social_links?.tiktok?.title === "Tiktok") {
212        var tiktok = `
213        <a href="${res?.amp_social_links?.tiktok?.link}" aria-label="tiktok" class="link-secondary">
214        ${get_tiktok_svg(load_dark_svg)}
215        </a>
216      `;
217        $(".preview-first-row .second-column .social-logo-section").append(
218          tiktok
219        );
220      }
221      if (res?.amp_social_links?.reddit?.title === "Reddit") {
222        var reddit = `
223        <a href="${res?.amp_social_links?.reddit?.link}" aria-label="reddit" class="link-secondary">
224        ${get_reddit_svg(load_dark_svg)}
225        </a>
226      `;
227        $(".preview-first-row .second-column .social-logo-section").append(
228          reddit
229        );
230      }
231      if (res?.amp_social_links?.twitch?.title === "Twitch") {
232        var twitch = `
233        <a href="${res?.amp_social_links?.twitch?.link}" aria-label="twitch" class="link-secondary">
234        ${get_twitch_svg(load_dark_svg)}
235        </a>
236      `;
237        $(".preview-first-row .second-column .social-logo-section").append(
238          twitch
239        );
240      }
241      if (res?.amp_social_links?.discord?.title === "Discord") {
242        var discord = `
243        <a href="${res?.amp_social_links?.discord?.link}" aria-label="discord" class="link-secondary">
244        ${get_discord_svg(load_dark_svg)}
245        </a>
246      `;
247        $(".preview-first-row .second-column .social-logo-section").append(
248          discord
249        );
250      }
251      if (res?.amp_social_links?.snapchat?.title === "Snapchat") {
252        var snapchat = `
253        <a href="${res?.amp_social_links?.snapchat?.link}" aria-label="snapchat" class="link-secondary">
254        ${get_snapchat_svg(load_dark_svg)}
255        </a>
256      `;
257        $(".preview-first-row .second-column .social-logo-section").append(
258          snapchat
259        );
260      }
261      if (res?.amp_social_links?.pinterest?.title === "Pinterest") {
262        var pinterest = `
263        <a href="${res?.amp_social_links?.pinterest?.link}" aria-label="pinterest" class="link-secondary">
264        ${get_pinterest_svg(load_dark_svg)}
265        </a>
266      `;
267        $(".preview-first-row .second-column .social-logo-section").append(
268          pinterest
269        );
270      }
271      if (res?.amp_social_links?.tumblr?.title === "Tumblr") {
272        var tumblr = `
273        <a href="${res?.amp_social_links?.tumblr?.link}" aria-label="tumblr" class="link-secondary">
274        ${get_tumblr_svg(load_dark_svg)}
275        </a>
276      `;
277        $(".preview-first-row .second-column .social-logo-section").append(
278          tumblr
279        );
280      }
281      if (res?.amp_social_links?.messenger?.title === "Messenger") {
282        var messenger = `
283        <a href="${res?.amp_social_links?.messenger?.link}" aria-label="messenger" class="link-secondary">
284        ${get_messenger_svg(load_dark_svg)}
285        </a>
286      `;
287        $(".preview-first-row .second-column .social-logo-section").append(
288          messenger
289        );
290      }
291  } catch (err) {
292    console.error(err, "social links");
293  }
294}
295
296function setQuickLinksForFooter(res) {
297  try {
298    if (res?.quick_menu) {
299      for (var i = 0; i < res?.quick_menu?.length; i++) {
300        let quickMenuMainDiv = ``;
301        const menuItemDiv = `
302          <p class="quick-link-title">${res?.quick_menu[i]?.title}</p>
303        `;
304        let menuItemChildItem = ``;
305        const childItems = res?.quick_menu[i]?.childQuickLinks;
306        for (var j = 0; j < childItems?.length; j++) {
307          menuItemChildItem += `
308          <li>
309            <a class="add-link-input-text" href="${childItems[j]?.link}" aria-label="${childItems[j]?.name}">
310                <span>${childItems[j]?.name} </span>
311            </a>
312          </li>
313          `;
314        }
315        quickMenuMainDiv += `
316          ${menuItemDiv}
317          <div class="menu-title">
318            <ul class="links-div secondary_font">
319              <!-- run the loop here-->
320              ${menuItemChildItem}
321            </ul>
322          </div>
323          <hr class="footer-preview-hr-non-amp">`;
324        $(".preview-second-row .quick-link-items").append(quickMenuMainDiv);
325      }
326    }
327  } catch (err) {
328    console.error(err, "quick menu");
329  }
330}
331
332function setLatestStoriesForFooter(res) {
333  try {
334    if (res?.latest_stories) {
335      let latestStoriesItems = ''
336      for (let i = 0; i < res?.latest_stories?.length; i++) {
337        latestStoriesItems += `
338          <li>
339            <a class="add-link-input-text" href="${res?.latest_stories[i]?.legacy_url}" aria-label="${res?.latest_stories[i]?.title}">
340              <span>${res?.latest_stories[i]?.title}</span>
341            </a>
342          </li>
343        `;
344      }
345      const latestStories = `
346        <p class="quick-link-title">Latest Stories</p>
347        <div class="menu-title">
348          <ul class="links-div secondary_font">
349            ${latestStoriesItems}
350          </ul>
351        </div>
352        <hr class="footer-preview-hr-non-amp" />
353      `;
354      $(".preview-third-row").css("display", "block");
355      $(".preview-third-row").append(latestStories);
356    } else {
357      $(".preview-third-row").css("display", "none");
358    }
359  } catch (err) {
360    $(".preview-third-row").css("display", "none");
361    console.error(err, "latest stories");
362  }
363}
364
365function setAffiliateLinksForFooter(res) {
366  if (res?.affiliate_websites?.length) {
367    for (let i = 0; i < res?.affiliate_websites?.length; i++) {
368      const affiliateWebsitesItems = `
369      <a class="affiliate-website-link" href="${res?.affiliate_websites[i]?.link}" aria-label="${res?.affiliate_websites[i]?.link}">
370          <img class="image" src="${res?.affiliate_websites[i]?.affliteWebsiteLogo}" />
371        </a>
372      `;
373      $(".preview-fourth-row").css("display", "flex");
374      $(".preview-fourth-row .menu-title .links-div").append(
375        affiliateWebsitesItems
376      );
377    }
378  }
379}
380
381function handleFormSubmitCommon(formId, buttonClass,messageClass) {
382  document.querySelector(buttonClass).addEventListener('click', function(event) {
383    event.preventDefault(); // Prevent the default form submission
384    var form = document.querySelector(formId);
385    var formData = new FormData(form);
386
387    // Remove any existing occurrences of the key "group_ids"
388    formData.delete('group_ids');
389
390    // Select all input elements with the name "group_ids"
391    var groupIdsInputs = form.querySelectorAll('input[name="group_ids"]:checked');
392
393    // Create an array to store the values
394    var groupIdsArray = [];
395
396    // Iterate over each input element and push its value to the array
397    groupIdsInputs.forEach(function(input) {
398        groupIdsArray.push(input.value);
399    });
400
401    // Convert the array to a comma-separated string
402    var groupIdsString = groupIdsArray.join(',');
403
404    // Append the comma-separated string to the formData
405    formData.append('group_ids', groupIdsString);
406    fetch('/amp_subscribe_to_newsletter', {
407      method: 'POST',
408      body: formData
409    })
410    .then(response => response.json())
411    .then(data => {
412      var messageElement = document.querySelector(`${messageClass} p`);
413      messageElement.textContent = data.message;
414      form.reset();
415    })
416    .catch(error => {
417      console.error('Error:', error);
418    });
419  });
420}
421
422
423function isColorDark(color) {
424  // Convert hex to RGB
425  const hexColor = color?.replace(/^#/, '');
426  const bigint = parseInt(hexColor, 16);
427  const r = (bigint >> 16) & 255;
428  const g = (bigint >> 8) & 255;
429  const b = bigint & 255;
430
431  // Calculate luminance
432  const luminance = 0.2126 * r + 0.7152 * g + 0.0722 * b;
433
434  // You can adjust the threshold based on your preference
435  return luminance < 128;
436}
437
438function get_facebook_svg(load_dark_svg){
439  if(load_dark_svg){
440    return `<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewB
440ox="0 0 25 25" fill="none">
441      <path d="M24.6525 12.5811C24.6525 18.8013 20.0431 23.9436 14.0551 24.7781C13.4952 24.8558 12.9224 24.8963 12.3409 24.8963C11.6697 24.8963 11.0106 24.8428 10.3688 24.7393C4.50672 23.7952 0.0292969 18.7107 0.0292969 12.5811C0.0292969 5.77929 5.54196 0.265015 12.3418 0.265015C19.1416 0.265015 24.6542 5.77929 24.6542 12.5811H24.6525Z" fill="#383D38"/>
442      <path d="M14.0549 10.1545V12.8374H17.3729L16.8475 16.4515H14.0549V24.7781C13.495 24.8558 12.9222 24.8963 12.3407 24.8963C11.6695 24.8963 11.0104 24.8428 10.3686 24.7393V16.4515H7.30859V12.8374H10.3686V9.55473C10.3686 7.51816 12.0189 5.86646 14.0558 5.86646V5.86818C14.0618 5.86818 14.067 5.86646 14.073 5.86646H17.3737V8.99208H15.217C14.576 8.99208 14.0558 9.51245 14.0558 10.1536L14.0549 10.1545Z" fill="white"/>
443    </svg>`
444  }
445  return`
446    <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25" fill="none">
447    <path d="M24.6525 12.5811C24.6525 18.8013 20.0431 23.9436 14.0551 24.7781C13.4952 24.8558 12.9224 24.8963 12.3409 24.8963C11.6697 24.8963 11.0106 24.8428 10.3688 24.7393C4.50672 23.7952 0.0292969 18.7107 0.0292969 12.5811C0.0292969 5.77929 5.54196 0.265015 12.3418 0.265015C19.1416 0.265015 24.6542 5.77929 24.6542 12.5811H24.6525Z" fill="white"/>
448    <path d="M14.0549 10.1545V12.8374H17.3729L16.8475 16.4515H14.0549V24.7781C13.495 24.8558 12.9222 24.8963 12.3407 24.8963C11.6695 24.8963 11.0104 24.8428 10.3686 24.7393V16.4515H7.30859V12.8374H10.3686V9.55473C10.3686 7.51816 12.0189 5.86646 14.0558 5.86646V5.86818C14.0618 5.86818 14.067 5.86646 14.073 5.86646H17.3737V8.99208H15.217C14.576 8.99208 14.0558 9.51245 14.0558 10.1536L14.0549 10.1545Z" fill="black"/>
449  </svg>`
450}
451
452function get_linkedin_svg(load_dark_svg){
453  if(load_dark_svg){
454    return `<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25" fill="none">
455    <path d="M12.5139 0.138306H12.4578C5.67357 0.138306 0.173828 5.63966 0.173828 12.4259V12.482C0.173828 19.2683 5.67357 24.7696 12.4578 24.7696H12.5139C19.2982 24.7696 24.7979 19.2683 24.7979 12.482V12.4259C24.7979 5.63966 19.2982 0.138306 12.5139 0.138306Z" fill="#383D38"/>
456    <path d="M6.04624 8.32523C5.72186 8.02405 5.56055 7.65126 5.56055 7.2077C5.56055 6.76414 5.72272 6.37495 6.04624 6.07292C6.37061 5.77174 6.78816 5.62073 7.29974 5.62073C7.81133 5.62073 8.21249 5.77174 8.536 6.07292C8.86038 6.37409 9.02169 6.75293 9.02169 7.2077C9.02169 7.66248 8.85951 8.02405 8.536 8.32523C8.21163 8.6264 7.80011 8.77741 7.29974 8.77741C6.79938 8.77741 6.37061 8.6264 6.04624 8.32523ZM8.74909 10.0529V19.2865H5.83229V10.0529H8.74909Z" fill="#FEFFFC"/>
457    <path d="M18.4576 10.965C19.0934 11.6554 19.4109 12.6029 19.4109 13.8093V19.1234H16.6407V14.1838C16.6407 13.5754 16.4829 13.1025 16.168 12.766C15.8531 12.4294 15.4287 12.2603 14.8972 12.2603C14.3658 12.2603 13.9413 12.4286 13.6265 12.766C13.3116 13.1025 13.1537 13.5754 13.1537 14.1838V19.1234H10.3672V10.027H13.1537V11.2334C13.4358 10.8312 13.8163 10.5137 14.2942 10.2798C14.7721 10.0459 15.3096 9.92944 15.9075 9.92944C16.972 9.92944 17.8226 10.2746 18.4576 10.9641V10.965Z" fill="#FEFFFC"/>
458  </svg>`
459  }
460  return`
461  <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25" fill="none">
462  <path d="M12.5139 0.138306H12.4578C5.67357 0.138306 0.173828 5.63966 0.173828 12.4259V12.482C0.173828 19.2683 5.67357 24.7696 12.4578 24.7696H12.5139C19.2982 24.7696 24.7979 19.2683 24.7979 12.482V12.4259C24.7979 5.63966 19.2982 0.138306 12.5139 0.138306Z" fill="white"/>
463  <path d="M6.04624 8.32523C5.72186 8.02405 5.56055 7.65126 5.56055 7.2077C5.56055 6.76414 5.72272 6.37495 6.04624 6.07292C6.37061 5.77174 6.78816 5.62073 7.29974 5.62073C7.81133 5.62073 8.21249 5.77174 8.536 6.07292C8.86038 6.37409 9.02169 6.75293 9.02169 7.2077C9.02169 7.66248 8.85951 8.02405 8.536 8.32523C8.21163 8.6264 7.80011 8.77741 7.29974 8.77741C6.79938 8.77741 6.37061 8.6264 6.04624 8.32523ZM8.74909 10.0529V19.2865H5.83229V10.0529H8.74909Z" fill="black"/>
464  <path d="M18.4576 10.965C19.0934 11.6554 19.4109 12.6029 19.4109 13.8093V19.1234H16.6407V14.1838C16.6407 13.5754 16.4829 13.1025 16.
464168 12.766C15.8531 12.4294 15.4287 12.2603 14.8972 12.2603C14.3658 12.2603 13.9413 12.4286 13.6265 12.766C13.3116 13.1025 13.1537 13.5754 13.1537 14.1838V19.1234H10.3672V10.027H13.1537V11.2334C13.4358 10.8312 13.8163 10.5137 14.2942 10.2798C14.7721 10.0459 15.3096 9.92944 15.9075 9.92944C16.972 9.92944 17.8226 10.2746 18.4576 10.9641V10.965Z" fill="black"/>
465</svg>`
466}
467
468function get_linkedin_svg(load_dark_svg){
469  if(load_dark_svg){
470    return `<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25" fill="none">
471    <path d="M12.5139 0.138306H12.4578C5.67357 0.138306 0.173828 5.63966 0.173828 12.4259V12.482C0.173828 19.2683 5.67357 24.7696 12.4578 24.7696H12.5139C19.2982 24.7696 24.7979 19.2683 24.7979 12.482V12.4259C24.7979 5.63966 19.2982 0.138306 12.5139 0.138306Z" fill="#383D38"/>
472    <path d="M6.04624 8.32523C5.72186 8.02405 5.56055 7.65126 5.56055 7.2077C5.56055 6.76414 5.72272 6.37495 6.04624 6.07292C6.37061 5.77174 6.78816 5.62073 7.29974 5.62073C7.81133 5.62073 8.21249 5.77174 8.536 6.07292C8.86038 6.37409 9.02169 6.75293 9.02169 7.2077C9.02169 7.66248 8.85951 8.02405 8.536 8.32523C8.21163 8.6264 7.80011 8.77741 7.29974 8.77741C6.79938 8.77741 6.37061 8.6264 6.04624 8.32523ZM8.74909 10.0529V19.2865H5.83229V10.0529H8.74909Z" fill="#FEFFFC"/>
473    <path d="M18.4576 10.965C19.0934 11.6554 19.4109 12.6029 19.4109 13.8093V19.1234H16.6407V14.1838C16.6407 13.5754 16.4829 13.1025 16.168 12.766C15.8531 12.4294 15.4287 12.2603 14.8972 12.2603C14.3658 12.2603 13.9413 12.4286 13.6265 12.766C13.3116 13.1025 13.1537 13.5754 13.1537 14.1838V19.1234H10.3672V10.027H13.1537V11.2334C13.4358 10.8312 13.8163 10.5137 14.2942 10.2798C14.7721 10.0459 15.3096 9.92944 15.9075 9.92944C16.972 9.92944 17.8226 10.2746 18.4576 10.9641V10.965Z" fill="#FEFFFC"/>
474  </svg>`
475  }
476  return`
477  <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25" fill="none">
478  <path d="M12.5139 0.138306H12.4578C5.67357 0.138306 0.173828 5.63966 0.173828 12.4259V12.482C0.173828 19.2683 5.67357 24.7696 12.4578 24.7696H12.5139C19.2982 24.7696 24.7979 19.2683 24.7979 12.482V12.4259C24.7979 5.63966 19.2982 0.138306 12.5139 0.138306Z" fill="white"/>
479  <path d="M6.04624 8.32523C5.72186 8.02405 5.56055 7.65126 5.56055 7.2077C5.56055 6.76414 5.72272 6.37495 6.04624 6.07292C6.37061 5.77174 6.78816 5.62073 7.29974 5.62073C7.81133 5.62073 8.21249 5.77174 8.536 6.07292C8.86038 6.37409 9.02169 6.75293 9.02169 7.2077C9.02169 7.66248 8.85951 8.02405 8.536 8.32523C8.21163 8.6264 7.80011 8.77741 7.29974 8.77741C6.79938 8.77741 6.37061 8.6264 6.04624 8.32523ZM8.74909 10.0529V19.2865H5.83229V10.0529H8.74909Z" fill="black"/>
480  <path d="M18.4576 10.965C19.0934 11.6554 19.4109 12.6029 19.4109 13.8093V19.1234H16.6407V14.1838C16.6407 13.5754 16.4829 13.1025 16.168 12.766C15.8531 12.4294 15.4287 12.2603 14.8972 12.2603C14.3658 12.2603 13.9413 12.4286 13.6265 12.766C13.3116 13.1025 13.1537 13.5754 13.1537 14.1838V19.1234H10.3672V10.027H13.1537V11.2334C13.4358 10.8312 13.8163 10.5137 14.2942 10.2798C14.7721 10.0459 15.3096 9.92944 15.9075 9.92944C16.972 9.92944 17.8226 10.2746 18.4576 10.9641V10.965Z" fill="black"/>
481</svg>`
482}
483
484function get_instagram_svg(load_dark_svg){
485  if(load_dark_svg){
486    return `<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25" fill="none">
487    <path d="M12.51 0.265869H12.4539C5.66966 0.265869 0.169922 5.76722 0.169922 12.5535V12.6096C0.169922 19.3958 5.66966 24.8972 12.4539 24.8972H12.51C19.2943 24.8972 24.794 19.3958 24.794 12.6096V12.5535C24.794 5.76722 19.2943 0.265869 12.51 0.265869Z" fill="#383D38"/>
488    <path d="M16.2942 5.27716H8.67487C6.56988 5.27716 4.85742 6.99013 4.85742 9.09574V16.0684C4.85742 18.174 6.56988 19.887 8.67487 19.887H16.2942C18.3992 19.887 20.1117 18.174 20.1117 16.0684V9.09574C20.1117 6.99013 18.3992 5.27716 16.2942 5.27716ZM6.2041 9.09574C6.2041 7.73313 7.31267 6.62423 8.67487 6.62423H16.2942C17.6565 6.62423 18.765 7.73313 18.765 9.09574V16.0684C18.765 17.431 17.6565 18.5399 16.2942 18.5399H8.67487C7.31267 18.5399 6.2041 17.431 6.2041 16.0684V9.09574Z" fill="white"/>
489    <path d="M12.4845 16.1332C14.4419 16.1332 16.0353 14.5402 16.0353 12.5813C16.0353 10.6224 14.4428 9.02936 12.4845 9.02936C10.5261 9.02936 8.93359 10.6224 8.93359 12.5813C8.93359 14.5402 10.5261 16.1332 12.4845 16.1332ZM12.4845 10.3773C13.7 10.3773 14.6887 11.3662 14.6887 12.5821C14.6887 13.798 13.7 14.787 12.4845 14.787C11.2689 14.787 10.2803 13.798 10.2803 12.5821C10.2803 11.3662 11.2689 10.3773 12.4845 10.3773Z" fill="white"/>
490    <path d="M16.363 9.60319C16.8901 9.60319 17.3197 9.1743 17.3197 8.64617C17.3197 8.11804 16.891 7.68915 16.363 7.68915C15.835 7.68915 15.4062 8.11804 15.4062 8.64617C15.4062 9.1743 15.835 9.60319 16.363 9.60319Z" fill="white"/>
491  </svg>`
492  }
493  return`
494  <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25" fill="none">
495  <path d="M12.51 0.265869H12.4539C5.66966 0.265869 0.169922 5.76722 0.169922 12.5535V12.6096C0.169922 19.3958 5.66966 24.8972 12.4539 24.8972H12.51C19.2943 24.8972 24.794 19.3958 24.794 12.6096V12.5535C24.794 5.76722 19.2943 0.265869 12.51 0.265869Z" fill="white"/>
496  <path d="M16.2942 5.27716H8.67487C6.56988 5.27716 4.85742 6.99013 4.85742 9.09574V16.0684C4.85742 18.174 6.56988 19.887 8.67487 19.887H16.2942C18.3992 19.887 20.1117 18.174 20.1117 16.0684V9.09574C20.1117 6.99013 18.3992 5.27716 16.2942 5.27716ZM6.2041 9.09574C6.2041 7.73313 7.31267 6.62423 8.67487 6.62423H16.2942C17.6565 6.62423 18.765 7.73313 18.765 9.09574V16.0684C18.765 17.431 17.6565 18.5399 16.2942 18.5399H8.67487C7.31267 18.5399 6.2041 17.431 6.2041 16.0684V9.09574Z" fill="black"/>
497  <path d="M12.4845 16.1332C14.4419 16.1332 16.0353 14.5402 16.0353 12.5813C16.0353 10.6224 14.4428 9.02936 12.4845 9.02936C10.5261 9.02936 8.93359 10.6224 8.93359 12.5813C8.93359 14.5402 10.5261 16.1332 12.4845 16.1332ZM12.4845 10.3773C13.7 10.3773 14.6887 11.3662 14.6887 12.5821C14.6887 13.798 13.7 14.787 12.4845 14.787C11.2689 14.787 10.2803 13.798 10.2803 12.5821C10.2803 11.3662 11.2689 10.3773 12.4845 10.3773Z" fill="black"/>
498  <path d="M16.363 9.60319C16.8901 9.60319 17.3197 9.1743 17.3197 8.64617C17.3197 8.11804 16.891 7.68915 16.363 7.68915C15.835 7.68915 15.4062 8.11804 15.4062 8.6461
4987C15.4062 9.1743 15.835 9.60319 16.363 9.60319Z" fill="black"/>
499</svg>`
500}
501
502function get_twitter_svg(load_dark_svg){
503  if(load_dark_svg){
504    return `<svg xmlns="http://www.w3.org/2000/svg" width="26" height="25" viewBox="0 0 26 25" fill="none">
505    <path d="M25.0822 12.5811C25.0822 18.8013 20.4728 23.9436 14.4848 24.7781C13.9249 24.8558 13.352 24.8963 12.7706 24.8963C12.0994 24.8963 11.4403 24.8428 10.7985 24.7393C4.9364 23.7952 0.458984 18.7107 0.458984 12.5811C0.458984 5.77929 5.97164 0.265015 12.7714 0.265015C19.5713 0.265015 25.0839 5.77929 25.0839 12.5811H25.0822Z" fill="#383D38"/>
506    <path d="M5.45139 5.69745L11.1297 13.2915L5.41602 19.4659H6.70231L11.7051 14.0603L15.7469 19.4659H20.1233L14.1258 11.4447L19.4444 5.69745H18.1581L13.5513 10.6758L9.82873 5.69745H5.45224H5.45139ZM7.34242 6.64497H9.35252L18.2306 18.5184H16.2205L7.34242 6.64497Z" fill="white"/>
507  </svg>`
508  }
509  return`
510  <svg xmlns="http://www.w3.org/2000/svg" width="26" height="25" viewBox="0 0 26 25" fill="none">
511  <path d="M25.0822 12.5811C25.0822 18.8013 20.4728 23.9436 14.4848 24.7781C13.9249 24.8558 13.352 24.8963 12.7706 24.8963C12.0994 24.8963 11.4403 24.8428 10.7985 24.7393C4.9364 23.7952 0.458984 18.7107 0.458984 12.5811C0.458984 5.77929 5.97164 0.265015 12.7714 0.265015C19.5713 0.265015 25.0839 5.77929 25.0839 12.5811H25.0822Z" fill="white"/>
512  <path d="M5.45139 5.69745L11.1297 13.2915L5.41602 19.4659H6.70231L11.7051 14.0603L15.7469 19.4659H20.1233L14.1258 11.4447L19.4444 5.69745H18.1581L13.5513 10.6758L9.82873 5.69745H5.45224H5.45139ZM7.34242 6.64497H9.35252L18.2306 18.5184H16.2205L7.34242 6.64497Z" fill="black"/>
513</svg>`
514}
515
516function get_youtube_svg(load_dark_svg){
517  if(load_dark_svg){
518    return `<svg xmlns="http://www.w3.org/2000/svg" width="26" height="25" viewBox="0 0 26 25" fill="none">
519    <path d="M25.3335 12.582C25.3335 5.79953 19.8369 0.30127 13.0564 0.30127C6.27595 0.30127 0.779297 5.79953 0.779297 12.582C0.779297 19.3644 6.27595 24.8627 13.0564 24.8627C19.8369 24.8627 25.3335 19.3644 25.3335 12.582Z" fill="#383D38"/>
520    <path d="M20.7896 10.0372C20.6929 9.10432 20.485 8.07309 19.7198 7.53115C19.1271 7.11089 18.3481 7.09536 17.6209 7.09622C16.0835 7.09622 14.5453 7.09881 13.008 7.09968C11.5293 7.1014 10.0507 7.10226 8.57199 7.10399C7.9543 7.10399 7.35386 7.05653 6.78016 7.32404C6.28756 7.55359 5.90193 7.99025 5.66986 8.47609C5.34808 9.15178 5.28079 9.91722 5.24197 10.6645C5.17036 12.0254 5.17813 13.3898 5.26354 14.7498C5.32651 15.7422 5.48611 16.839 6.25305 17.4715C6.93286 18.0316 7.89218 18.0592 8.77386 18.0601C11.5725 18.0627 14.3719 18.0652 17.1714 18.067C17.5303 18.0678 17.9047 18.0609 18.2705 18.0212C18.99 17.9436 19.6758 17.7373 20.1382 17.204C20.6049 16.6664 20.7249 15.9182 20.7956 15.2097C20.9681 13.4907 20.9664 11.7553 20.7896 10.0372ZM11.3896 14.9914V10.1718L15.5616 12.5812L11.3896 14.9914Z" fill="white"/>
521  </svg>`
522  }
523  return`
524  <svg xmlns="http://www.w3.org/2000/svg" width="26" height="25" viewBox="0 0 26 25" fill="none">
525  <path d="M25.3335 12.582C25.3335 5.79953 19.8369 0.30127 13.0564 0.30127C6.27595 0.30127 0.779297 5.79953 0.779297 12.582C0.779297 19.3644 6.27595 24.8627 13.0564 24.8627C19.8369 24.8627 25.3335 19.3644 25.3335 12.582Z" fill="white"/>
526  <path d="M20.7896 10.0372C20.6929 9.10432 20.485 8.07309 19.7198 7.53115C19.1271 7.11089 18.3481 7.09536 17.6209 7.09622C16.0835 7.09622 14.5453 7.09881 13.008 7.09968C11.5293 7.1014 10.0507 7.10226 8.57199 7.10399C7.9543 7.10399 7.35386 7.05653 6.78016 7.32404C6.28756 7.55359 5.90193 7.99025 5.66986 8.47609C5.34808 9.15178 5.28079 9.91722 5.24197 10.6645C5.17036 12.0254 5.17813 13.3898 5.26354 14.7498C5.32651 15.7422 5.48611 16.839 6.25305 17.4715C6.93286 18.0316 7.89218 18.0592 8.77386 18.0601C11.5725 18.0627 14.3719 18.0652 17.1714 18.067C17.5303 18.0678 17.9047 18.0609 18.2705 18.0212C18.99 17.9436 19.6758 17.7373 20.1382 17.204C20.6049 16.6664 20.7249 15.9182 20.7956 15.2097C20.9681 13.4907 20.9664 11.7553 20.7896 10.0372ZM11.3896 14.9914V10.1718L15.5616 12.5812L11.3896 14.9914Z" fill="black"/>
527</svg>`
528}
529
530function get_whatsapp_svg(load_dark_svg){
531  if(load_dark_svg){
532    return `<svg xmlns="http://www.w3.org/2000/svg" width="26" height="25" viewB
532ox="0 0 26 25" fill="none">
533    <path d="M12.9416 0.265869H12.8856C6.1013 0.265869 0.601562 5.76722 0.601562 12.5535V12.6096C0.601562 19.3958 6.1013 24.8972 12.8856 24.8972H12.9416C19.7259 24.8972 25.2256 19.3958 25.2256 12.6096V12.5535C25.2256 5.76722 19.7259 0.265869 12.9416 0.265869Z" fill="#383D38"/>
534    <path d="M15.3139 16.1837C12.1625 16.1837 9.59852 13.6182 9.59766 10.4658C9.59852 9.66672 10.249 9.01691 11.0461 9.01691C11.1281 9.01691 11.2092 9.02381 11.2868 9.03762C11.4576 9.06609 11.6198 9.12391 11.7691 9.21107C11.7906 9.22402 11.8053 9.24473 11.8088 9.26889L12.1418 11.3685C12.1461 11.3926 12.1383 11.4176 12.1219 11.4358C11.9382 11.6394 11.7035 11.7861 11.4421 11.8595L11.3162 11.8949L11.3636 12.0165C11.7932 13.1108 12.668 13.9849 13.7628 14.4164L13.8844 14.4647L13.9198 14.3388C13.9931 14.0773 14.1398 13.8426 14.3434 13.6587C14.358 13.6449 14.3779 13.638 14.3977 13.638C14.402 13.638 14.4064 13.638 14.4115 13.6389L16.5105 13.972C16.5355 13.9763 16.5562 13.9901 16.5691 14.0117C16.6554 14.161 16.7132 14.3241 16.7426 14.4949C16.7564 14.5709 16.7624 14.6511 16.7624 14.7348C16.7624 15.5331 16.1128 16.1829 15.3139 16.1837Z" fill="#FDFDFD"/>
535    <path d="M20.9026 11.8897C20.7326 9.96881 19.8527 8.18681 18.4249 6.87253C16.9885 5.55048 15.1251 4.82214 13.1762 4.82214C8.89896 4.82214 5.41883 8.3033 5.41883 12.5818C5.41883 14.0178 5.81481 15.4166 6.56449 16.6351L4.89258 20.3372L10.2456 19.7668C11.1765 20.1482 12.1617 20.3415 13.1754 20.3415C13.4419 20.3415 13.7154 20.3277 13.9898 20.2992C14.2313 20.2734 14.4755 20.2354 14.7153 20.1871C18.2972 19.463 20.9121 16.2831 20.9328 12.6233V12.5818C20.9328 12.3488 20.9224 12.1158 20.9017 11.8906L20.9026 11.8897ZM10.4518 18.1419L7.49018 18.4577L8.37445 16.4979L8.19759 16.2606C8.18465 16.2434 8.17171 16.2261 8.15705 16.2062C7.38924 15.1457 6.98376 13.8927 6.98376 12.5827C6.98376 9.16712 9.76166 6.38841 13.1762 6.38841C16.3751 6.38841 19.0866 8.88494 19.348 12.0718C19.3618 12.2427 19.3696 12.4144 19.3696 12.5836C19.3696 12.6319 19.3687 12.6793 19.3678 12.7303C19.3023 15.5875 17.3069 18.0141 14.5152 18.632C14.3021 18.6795 14.0838 18.7157 13.8664 18.739C13.6404 18.7649 13.4083 18.7778 13.178 18.7778C12.3575 18.7778 11.5604 18.6191 10.8073 18.305C10.7236 18.2713 10.6416 18.2351 10.5648 18.1979L10.4527 18.1436L10.4518 18.1419Z" fill="#FDFDFD"/>
536  </svg>`
537  }
538  return`
539  <svg xmlns="http://www.w3.org/2000/svg" width="26" height="25" viewBox="0 0 26 25" fill="none">
540  <path d="M12.9416 0.265869H12.8856C6.1013 0.265869 0.601562 5.76722 0.601562 12.5535V12.6096C0.601562 19.3958 6.1013 24.8972 12.8856 24.8972H12.9416C19.7259 24.8972 25.2256 19.3958 25.2256 12.6096V12.5535C25.2256 5.76722 19.7259 0.265869 12.9416 0.265869Z" fill="white"/>
541  <path d="M15.3139 16.1837C12.1625 16.1837 9.59852 13.6182 9.59766 10.4658C9.59852 9.66672 10.249 9.01691 11.0461 9.01691C11.1281 9.01691 11.2092 9.02381 11.2868 9.03762C11.4576 9.06609 11.6198 9.12391 11.7691 9.21107C11.7906 9.22402 11.8053 9.24473 11.8088 9.26889L12.1418 11.3685C12.1461 11.3926 12.1383 11.4176 12.1219 11.4358C11.9382 11.6394 11.7035 11.7861 11.4421 11.8595L11.3162 11.8949L11.3636 12.0165C11.7932 13.1108 12.668 13.9849 13.7628 14.4164L13.8844 14.4647L13.9198 14.3388C13.9931 14.0773 14.1398 13.8426 14.3434 13.6587C14.358 13.6449 14.3779 13.638 14.3977 13.638C14.402 13.638 14.4064 13.638 14.4115 13.6389L16.5105 13.972C16.5355 13.9763 16.5562 13.9901 16.5691 14.0117C16.6554 14.161 16.7132 14.3241 16.7426 14.4949C16.7564 14.5709 16.7624 14.6511 16.7624 14.7348C16.7624 15.5331 16.1128 16.1829 15.3139 16.1837Z" fill="black"/>
542  <path d="M20.9026 11.8897C20.7326 9.96881 19.8527 8.18681 18.4249 6.87253C16.9885 5.55048 15.1251 4.82214 13.1762 4.82214C8.89896 4.82214 5.41883 8.3033 5.41883 12.5818C5.41883 14.0178 5.81481 15.4166 6.56449 16.6351L4.89258 20.3372L10.2456 19.7668C11.1765 20.1482 12.1617 20.3415 13.1754 20.3415C13.4419 20.3415 13.7154 20.3277 13.9898 20.2992C14.2313 20.2734 14.4755 20.2354 14.7153 20.1871C18.2972 19.463 20.9121 16.2831 20.9328 12.6233V12.5818C20.9328 12.3488 20.9224 12.1158 20.9017 11.8906L20.9026 11.8897ZM10.4518 18.1419L7.49018 18.4577L8.37445 16.4979L8.19759 16.2606C8.18465 16.2434 8.17171 16.2261 8.15705 16.2062C7.38924 15.1457 6.98376 13.8927 6.98376 12.5827C6.98376 9.16712 9.76166 6.38841 13.1762 6.38841C16.3751 6.38841 19.0866 8.88494 19.348 12.0718C19.3618 12.2427 19.3696 12.4144 19.3696 12.5836C19.3696 12.6319 19.3687 12.6793 19.3678 12.7303C19.3023 15.5875 17.3069 18.0141 14.5152 18.632C14.3021 18.6795 14.0838 18.7157 13.8664 18.739C13.6404 18.7649 13.4083 18.7778 13.178 18.7778C12.3575 18.7778 11.5604 18.6191 10.8073 18.305C10.7236 18.2713 10.6416 18.2351 10.5648 18.1979L10.4527 18.1436L10.4518 18.1419Z" fill="black"/>
543</svg>`
544}
545
546function get_thread_svg(load_dark_svg){
547  if(load_dark_svg){
548    return `<svg xmlns="http://www.w3.org/2000/svg" width="26" height="25" viewB
548ox="0 0 26 25" fill="none">
549    <path d="M13.2011 24.7706C20.0011 24.7706 25.5136 19.2565 25.5136 12.4545C25.5136 5.65253 20.0011 0.138428 13.2011 0.138428C6.40115 0.138428 0.888672 5.65253 0.888672 12.4545C0.888672 19.2565 6.40115 24.7706 13.2011 24.7706Z" fill="#383D38"/>
550    <path d="M17.1863 11.7278C19.3939 12.6572 20.4801 14.8819 19.7597 17.1843C19.2689 18.7557 17.8704 20.0251 16.3719 20.599C14.4826 21.3248 11.9454 21.2782 10.0819 20.505C6.30244 18.9387 5.42077 14.5894 5.79604 10.971C6.05744 8.43825 7.11166 5.96934 9.43923 4.69993C11.1931 3.73946 13.4379 3.60311 15.3582 4.00525C17.3519 4.42292 18.9704 5.60258 19.9512 7.3889C20.2541 7.93688 20.4991 8.54267 20.682 9.21663C20.6871 9.24252 20.6768 9.26928 20.6509 9.27446L19.2628 9.64035C19.2369 9.64552 19.2102 9.62999 19.205 9.60928C18.9962 8.81536 18.6675 8.11033 18.2129 7.49504C16.7929 5.56289 14.1884 5.04598 11.9437 5.44811C9.29688 5.9236 7.83546 7.78241 7.40756 10.335C7.05817 12.4078 7.16773 14.8095 8.12274 16.7209C8.92678 18.3294 10.383 19.2321 12.1369 19.4832C13.0816 19.6135 14.0055 19.598 14.9088 19.4306C16.2037 19.1907 17.5918 18.3338 18.1551 17.1066C18.5209 16.3127 18.5571 15.3056 18.1551 14.5169C17.9256 14.0682 17.5805 13.7075 17.1268 13.4365C17.1061 13.421 17.0741 13.4313 17.0638 13.452C17.0586 13.4572 17.0586 13.4624 17.0586 13.4676C17.006 13.8542 16.918 14.2347 16.7869 14.6058C16.5988 15.1331 16.3279 15.5878 15.9673 15.958C14.7561 17.2059 12.6476 17.3155 11.2224 16.4171C10.0845 15.6966 9.65663 14.2244 10.1993 13.0128C10.7626 11.7598 12.1412 11.217 13.4508 11.154C14.1918 11.1177 14.876 11.1488 15.5075 11.2377C15.5334 11.2429 15.554 11.2221 15.5601 11.1963V11.1807C15.5023 10.8934 15.435 10.6586 15.3513 10.4757C14.9131 9.51005 13.9261 9.25374 12.9401 9.37887C12.3086 9.4574 11.8125 9.75512 11.4416 10.2669C11.426 10.2876 11.4001 10.2927 11.3786 10.2772L10.1993 9.47294C10.1786 9.45741 10.1734 9.43151 10.1889 9.40476C10.8204 8.51678 11.6762 7.99987 12.7624 7.85921C13.6604 7.73926 14.6672 7.87992 15.4505 8.35541C16.6247 9.07597 17.0422 10.3713 17.1466 11.6812C17.157 11.7071 17.1673 11.7227 17.1828 11.7278H17.1863ZM11.5537 13.7748C11.3191 14.5635 11.8617 15.1848 12.5976 15.3721C13.6311 15.6336 14.7794 15.4032 15.2702 14.3435C15.4635 13.9258 15.5782 13.4348 15.6144 12.8764C15.6144 12.8505 15.5989 12.8298 15.5782 12.8298C14.8113 12.6788 14.0228 12.6469 13.2187 12.7254C12.5665 12.7936 11.7573 13.0913 11.5537 13.7748Z" fill="white"/>
551  </svg>`
552  }
553  return`
554  <svg xmlns="http://www.w3.org/2000/svg" width="26" height="25" viewBox="0 0 26 25" fill="none">
555  <path d="M13.2011 24.7706C20.0011 24.7706 25.5136 19.2565 25.5136 12.4545C25.5136 5.65253 20.0011 0.138428 13.2011 0.138428C6.40115 0.138428 0.888672 5.65253 0.888672 12.4545C0.888672 19.2565 6.40115 24.7706 13.2011 24.7706Z" fill="white"/>
556  <path d="M17.1863 11.7278C19.3939 12.6572 20.4801 14.8819 19.7597 17.1843C19.2689 18.7557 17.8704 20.0251 16.3719 20.599C14.4826 21.3248 11.9454 21.2782 10.0819 20.505C6.30244 18.9387 5.42077 14.5894 5.79604 10.971C6.05744 8.43825 7.11166 5.96934 9.43923 4.69993C11.1931 3.73946 13.4379 3.60311 15.3582 4.00525C17.3519 4.42292 18.9704 5.60258 19.9512 7.3889C20.2541 7.93688 20.4991 8.54267 20.682 9.21663C20.6871 9.24252 20.6768 9.26928 20.6509 9.27446L19.2628 9.64035C19.2369 9.64552 19.2102 9.62999 19.205 9.60928C18.9962 8.81536 18.6675 8.11033 18.2129 7.49504C16.7929 5.56289 14.1884 5.04598 11.9437 5.44811C9.29688 5.9236 7.83546 7.78241 7.40756 10.335C7.05817 12.4078 7.16773 14.8095 8.12274 16.7209C8.92678 18.3294 10.383 19.2321 12.1369 19.4832C13.0816 19.6135 14.0055 19.598 14.9088 19.4306C16.2037 19.1907 17.5918 18.3338 18.1551 17.1066C18.5209 16.3127 18.5571 15.3056 18.1551 14.5169C17.9256 14.0682 17.5805 13.7075 17.1268 13.4365C17.1061 13.421 17.0741 13.4313 17.0638 13.452C17.0586 13.4572 17.0586 13.4624 17.0586 13.4676C17.006 13.8542 16.918 14.2347 16.7869 14.6058C16.5988 15.1331 16.3279 15.5878 15.9673 15.958C14.7561 17.2059 12.6476 17.3155 11.2224 16.4171C10.0845 15.6966 9.65663 14.2244 10.1993 13.0128C10.7626 11.7598 12.1412 11.217 13.4508 11.154C14.1918 11.1177 14.876 11.1488 15.5075 11.2377C15.5334 11.2429 15.554 11.2221 15.5601 11.1963V11.1807C15.5023 10.8934 15.435 10.6586 15.3513 10.4757C14.9131 9.51005 13.9261 9.25374 12.9401 9.37887C12.3086 9.4574 11.8125 9.75512 11.4416 10.2669C11.426 10.2876 11.4001 10.2927 11.3786 10.2772L10.1993 9.47294C10.1786 9.45741 10.1734 9.43151 10.1889 9.40476C10.8204 8.51678 11.6762 7.99987 12.7624 7.85921C13.6604 7.73926 14.6672 7.87992 
55615.4505 8.35541C16.6247 9.07597 17.0422 10.3713 17.1466 11.6812C17.157 11.7071 17.1673 11.7227 17.1828 11.7278H17.1863ZM11.5537 13.7748C11.3191 14.5635 11.8617 15.1848 12.5976 15.3721C13.6311 15.6336 14.7794 15.4032 15.2702 14.3435C15.4635 13.9258 15.5782 13.4348 15.6144 12.8764C15.6144 12.8505 15.5989 12.8298 15.5782 12.8298C14.8113 12.6788 14.0228 12.6469 13.2187 12.7254C12.5665 12.7936 11.7573 13.0913 11.5537 13.7748Z" fill="black"/>
557</svg>`
558}
559
560function get_telegram_svg(load_dark_svg){
561  if(load_dark_svg){
562    return `<svg xmlns="http://www.w3.org/2000/svg" width="26" height="25" viewBox="0 0 26 25" fill="none">
563    <path d="M13.2287 0.265869H13.1727C6.3884 0.265869 0.888672 5.76722 0.888672 12.5535V12.6096C0.888672 19.3958 6.3884 24.8972 13.1727 24.8972H13.2287C20.013 24.8972 25.5127 19.3958 25.5127 12.6096V12.5535C25.5127 5.76722 20.013 0.265869 13.2287 0.265869Z" fill="#383D38"/>
564    <path d="M5.55298 12.1616C5.58749 12.1444 5.62201 12.128 5.65566 12.1125C6.24057 11.8415 6.83325 11.5878 7.42506 11.3341C7.45698 11.3341 7.51045 11.297 7.54065 11.2849C7.58637 11.265 7.6321 11.2461 7.67783 11.2262C7.76582 11.1882 7.85382 11.1511 7.94095 11.1132C8.11695 11.0381 8.29206 10.963 8.46805 10.8879L9.52141 10.4366C10.2236 10.1363 10.9268 9.83512 11.629 9.53481C12.3312 9.23451 13.0343 8.93333 13.7366 8.63302C14.4388 8.33272 15.1419 8.03155 15.8441 7.73124C16.5464 7.43093 17.2495 7.12976 17.9517 6.82945C18.1079 6.76214 18.277 6.66204 18.4443 6.63269C18.585 6.60767 18.7221 6.55935 18.8636 6.53259C19.1319 6.48168 19.4278 6.46097 19.6849 6.57229C19.7738 6.61113 19.8557 6.66549 19.9239 6.73366C20.25 7.05641 20.2042 7.58626 20.1352 8.04017C19.6547 11.2038 19.1742 14.3682 18.6928 17.5318C18.6272 17.9659 18.5375 18.4422 18.195 18.7167C17.9051 18.9488 17.4928 18.9747 17.1347 18.8763C16.7767 18.7771 16.461 18.5691 16.1513 18.3646C14.8667 17.5137 13.5813 16.6628 12.2967 15.8119C11.9913 15.61 11.6514 15.346 11.6549 14.9792C11.6566 14.7583 11.7886 14.5615 11.9232 14.3864C13.0395 12.9297 14.6502 11.9287 15.8485 10.5393C16.0176 10.3434 16.1504 9.98959 15.9183 9.87655C15.7803 9.80924 15.6216 9.90071 15.4956 9.98787C13.9117 11.0881 12.3287 12.1893 10.7447 13.2895C10.228 13.6485 9.6862 14.0179 9.06333 14.1059C8.50602 14.1853 7.94527 14.0299 7.40608 13.8712C6.95403 13.7383 6.50282 13.6019 6.05335 13.4613C5.81438 13.387 5.56765 13.3068 5.38303 13.1385C5.19841 12.9702 5.09232 12.6872 5.20361 12.4628C5.27348 12.3222 5.40893 12.2333 5.55128 12.1608L5.55298 12.1616Z" fill="#FEFFFC"/>
565  </svg>`
566  }
567  return`
568  <svg xmlns="http://www.w3.org/2000/svg" width="26" height="25" viewBox="0 0 26 25" fill="none">
569  <path d="M13.2287 0.265869H13.1727C6.3884 0.265869 0.888672 5.76722 0.888672 12.5535V12.6096C0.888672 19.3958 6.3884 24.8972 13.1727 24.8972H13.2287C20.013 24.8972 25.5127 19.3958 25.5127 12.6096V12.5535C25.5127 5.76722 20.013 0.265869 13.2287 0.265869Z" fill="white"/>
570  <path d="M5.55298 12.1616C5.58749 12.1444 5.62201 12.128 5.65566 12.1125C6.24057 11.8415 6.83325 11.5878 7.42506 11.3341C7.45698 11.3341 7.51045 11.297 7.54065 11.2849C7.58637 11.265 7.6321 11.2461 7.67783 11.2262C7.76582 11.1882 7.85382 11.1511 7.94095 11.1132C8.11695 11.0381 8.29206 10.963 8.46805 10.8879L9.52141 10.4366C10.2236 10.1363 10.9268 9.83512 11.629 9.53481C12.3312 9.23451 13.0343 8.93333 13.7366 8.63302C14.4388 8.33272 15.1419 8.03155 15.8441 7.73124C16.5464 7.43093 17.2495 7.12976 17.9517 6.82945C18.1079 6.76214 18.277 6.66204 18.4443 6.63269C18.585 6.60767 18.7221 6.55935 18.8636 6.53259C19.1319 6.48168 19.4278 6.46097 19.6849 6.57229C19.7738 6.61113 19.8557 6.66549 19.9239 6.73366C20.25 7.05641 20.2042 7.58626 20.1352 8.04017C19.6547 11.2038 19.1742 14.3682 18.6928 17.5318C18.6272 17.9659 18.5375 18.4422 18.195 18.7167C17.9051 18.9488 17.4928 18.9747 17.1347 18.8763C16.7767 18.7771 16.461 18.5691 16.1513 18.3646C14.8667 17.5137 13.5813 16.6628 12.2967 15.8119C11.9913 15.61 11.6514 15.346 11.6549 14.9792C11.6566 14.7583 11.7886 14.5615 11.9232 14.3864C13.0395 12.9297 14.6502 11.9287 15.8485 10.5393C16.0176 10.3434 16.1504 9.98959 15.9183 9.87655C15.7803 9.80924 15.6216 9.90071 15.4956 9.98787C13.9117 11.0881 12.3287 12.1893 10.7447 13.2895C10.228 13.6485 9.6862 14.0179 9.06333 14.1059C8.50602 14.1853 7.94527 14.0299 7.40608 13.8712C6.95403 13.7383 6.50282 13.6019 6.05335 13.4613C5.81438 13.387 5.56765 13.3068 5.38303 13.1385C5.19841 12.9702 5.09232 12.6872 5.20361 12.4628C5.27348 12.3222 5.40893 12.2333 5.55128 12.1608L5.55298 12.1616Z" fill="black"/>
571</svg>`
572}
573function get_reddit_svg(load_dark_svg){
574  if(load_dark_svg){
575    return `<svg xmlns="http://www.w3.org/2000/svg" width="26" height="25" viewB
575ox="0 0 26 25" fill="none">
576    <path d="M13.0842 0.138428H13.0281C6.24388 0.138428 0.744141 5.63978 0.744141 12.426V12.4821C0.744141 19.2684 6.24388 24.7698 13.0281 24.7698H13.0842C19.8685 24.7698 25.3682 19.2684 25.3682 12.4821V12.426C25.3682 5.63978 19.8685 0.138428 13.0842 0.138428Z" fill="#383D38"/>
577    <path d="M20.6844 12.1456C20.48 11.2179 19.6328 10.6164 18.7925 10.8019C18.5061 10.8649 18.2594 11.0125 18.0644 11.2144C16.9334 10.3929 15.3892 9.85009 13.6646 9.7474L14.4902 6.30939L16.9394 6.89534C16.98 7.56499 17.5347 8.0957 18.2145 8.0957C18.8943 8.0957 19.4931 7.52271 19.4931 6.81681C19.4931 6.11091 18.9202 5.5379 18.2145 5.5379C17.7029 5.5379 17.2621 5.83908 17.0585 6.27401L14.4014 5.63801C14.1926 5.58796 13.983 5.71653 13.9321 5.92537L13.0185 9.73015C11.0947 9.7405 9.3589 10.2971 8.11316 11.1885C8.05191 11.1316 7.98635 11.0789 7.91474 11.0323C7.18921 10.5689 6.18675 10.8425 5.67603 11.6424C5.16531 12.4433 5.33871 13.4676 6.06424 13.931C6.10738 13.9586 6.15138 13.9828 6.19624 14.0052C6.16691 14.1839 6.15138 14.3659 6.15138 14.5497C6.15138 17.212 9.24934 19.3702 13.0711 19.3702C16.8929 19.3702 19.9908 17.212 19.9908 14.5497C19.9908 14.3633 19.9744 14.1795 19.9442 13.9992C20.5335 13.6566 20.8544 12.9101 20.6862 12.1456H20.6844ZM9.52282 13.4331C9.52282 12.8264 10.0146 12.3345 10.621 12.3345C11.2275 12.3345 11.7193 12.8264 11.7193 13.4331C11.7193 14.0397 11.2275 14.5316 10.621 14.5316C10.0146 14.5316 9.52282 14.0397 9.52282 13.4331ZM15.6221 16.9013C15.2848 17.2077 14.3531 17.9222 12.9892 17.9351C12.9771 17.9351 12.9641 17.9351 12.952 17.9351C11.57 17.9351 10.6262 17.2137 10.282 16.9013C10.1716 16.8012 10.1638 16.6303 10.2639 16.5207C10.364 16.4103 10.5348 16.4025 10.6443 16.5026C10.9437 16.7753 11.771 17.4079 12.984 17.3966C14.1633 17.3854 14.9682 16.7684 15.2598 16.5035C15.3702 16.4034 15.5402 16.4111 15.6402 16.5216C15.7403 16.6321 15.7325 16.8021 15.6221 16.9022V16.9013ZM15.4893 14.5316C14.8828 14.5316 14.391 14.0397 14.391 13.4331C14.391 12.8264 14.8828 12.3345 15.4893 12.3345C16.0957 12.3345 16.5875 12.8264 16.5875 13.4331C16.5875 14.0397 16.0957 14.5316 15.4893 14.5316Z" fill="white"/>
578  </svg>`
579  }
580  return`
581  <svg xmlns="http://www.w3.org/2000/svg" width="26" height="25" viewBox="0 0 26 25" fill="none">
582  <path d="M13.0842 0.138428H13.0281C6.24388 0.138428 0.744141 5.63978 0.744141 12.426V12.4821C0.744141 19.2684 6.24388 24.7698 13.0281 24.7698H13.0842C19.8685 24.7698 25.3682 19.2684 25.3682 12.4821V12.426C25.3682 5.63978 19.8685 0.138428 13.0842 0.138428Z" fill="white"/>
583  <path d="M20.6844 12.1456C20.48 11.2179 19.6328 10.6164 18.7925 10.8019C18.5061 10.8649 18.2594 11.0125 18.0644 11.2144C16.9334 10.3929 15.3892 9.85009 13.6646 9.7474L14.4902 6.30939L16.9394 6.89534C16.98 7.56499 17.5347 8.0957 18.2145 8.0957C18.8943 8.0957 19.4931 7.52271 19.4931 6.81681C19.4931 6.11091 18.9202 5.5379 18.2145 5.5379C17.7029 5.5379 17.2621 5.83908 17.0585 6.27401L14.4014 5.63801C14.1926 5.58796 13.983 5.71653 13.9321 5.92537L13.0185 9.73015C11.0947 9.7405 9.3589 10.2971 8.11316 11.1885C8.05191 11.1316 7.98635 11.0789 7.91474 11.0323C7.18921 10.5689 6.18675 10.8425 5.67603 11.6424C5.16531 12.4433 5.33871 13.4676 6.06424 13.931C6.10738 13.9586 6.15138 13.9828 6.19624 14.0052C6.16691 14.1839 6.15138 14.3659 6.15138 14.5497C6.15138 17.212 9.24934 19.3702 13.0711 19.3702C16.8929 19.3702 19.9908 17.212 19.9908 14.5497C19.9908 14.3633 19.9744 14.1795 19.9442 13.9992C20.5335 13.6566 20.8544 12.9101 20.6862 12.1456H20.6844ZM9.52282 13.4331C9.52282 12.8264 10.0146 12.3345 10.621 12.3345C11.2275 12.3345 11.7193 12.8264 11.7193 13.4331C11.7193 14.0397 11.2275 14.5316 10.621 14.5316C10.0146 14.5316 9.52282 14.0397 9.52282 13.4331ZM15.6221 16.9013C15.2848 17.2077 14.3531 17.9222 12.9892 17.9351C12.9771 17.9351 12.9641 17.9351 12.952 17.9351C11.57 17.9351 10.6262 17.2137 10.282 16.9013C10.1716 16.8012 10.1638 16.6303 10.2639 16.5207C10.364 16.4103 10.5348 16.4025 10.6443 16.5026C10.9437 16.7753 11.771 17.4079 12.984 17.3966C14.1633 17.3854 14.9682 16.7684 15.2598 16.5035C15.3702 16.4034 15.5402 16.4111 15.6402 16.5216C15.7403 16.6321 15.7325 16.8021 15.6221 16.9022V16.9013ZM15.4893 14.5316C14.8828 14.5316 14.391 14.0397 14.391 13.4331C14.391 12.8264 14.8828 12.3345 15.4893 12.3345C16.0957 12.3345 16.5875 12.8264 16.5875 13.4331C16.5875 14.0397 16.0957 14.5316 15.4893 14.5316Z" fill="black"/>
584</svg>`
585}
586function get_tiktok_svg(load_dark_svg){
587  if(load_dark_svg){
588    return `
589    <svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
590  <path d="M12.6526 0.265869H12.5965C5.81224 0.265869 0.3125 5.76722 0.3125 12.5535V12.6096C0.3125 19.3958 5.81224 24.8972 12.5965 24.8972H12.6526C19.4368 24.8972 24.9366 19.3958 24.9366 12.6096V12.5535C24.9366 5.76722 19.4368 0.265869 12.6526 0.265869Z" fill="#383D38"/>
591  <path d="M18.5776 9.1767V11.5024C18.1713 11.4627 17.6433 11.3703 17.0593 11.1563C16.2967 10.8767 15.729 10.4944 15.3572 10.1984V14.899L15.3477 14.8843C15.3537 14.9775 15.3572 15.0724 15.3572 15.1682C15.3572 17.5025 13.4584 19.4027 11.1239 19.4027C8.78943 19.4027 6.89062 17.5025 6.89062 15.1682C6.89062 12.8339 8.78943 10.9328 11.1239 10.9328C11.3525 10.9328 11.5768 10.9509 11.7959 10.9863V13.2783C11.5854 13.2032 11.3594 13.1627 11.1239 13.1627C10.0188 13.1627 9.11898 14.0619 9.11898 15.1682C9.11898 16.2745 10.0188 17.1737 11.1239 17.1737C12.229 17.1737 13.1288 16.2736 13.1288 15.1682C13.1288 15.1268 13.128 15.0854 13.1254 15.0439V5.90955H15.4486C15.4572 6.1063 15.465 6.30478 15.4736 6.50154C15.4892 6.889 15.6272 7.26093 15.8679 7.56556C16.15 7.92368 16.5667 8.33963 17.1516 8.67187C17.6994 8.98167 18.2136 9.11542 18.5776 9.17842V9.1767Z" fill="white"/>
592  </svg>
593  `
594  }
595  return`<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
596<path d="M12.6526 0.265869H12.5965C5.81224 0.265869 0.3125 5.76722 0.3125 12.5535V12.6096C0.3125 19.3958 5.81224 24.8972 12.5965 24.8972H12.6526C19.4368 24.8972 24.9366 19.3958 24.9366 12.6096V12.5535C24.9366 5.76722 19.4368 0.265869 12.6526 0.265869Z" fill="white"/>
597<path d="M18.5776 9.1767V11.5024C18.1713 11.4627 17.6433 11.3703 17.0593 11.1563C16.2967 10.8767 15.729 10.4944 15.3572 10.1984V14.899L15.3477 14.8843C15.3537 14.9775 15.3572 15.0724 15.3572 15.1682C15.3572 17.5025 13.4584 19.4027 11.1239 19.4027C8.78943 19.4027 6.89062 17.5025 6.89062 15.1682C6.89062 12.8339 8.78943 10.9328 11.1239 10.9328C11.3525 10.9328 11.5768 10.9509 11.7959 10.9863V13.2783C11.5854 13.2032 11.3594 13.1627 11.1239 13.1627C10.0188 13.1627 9.11898 14.0619 9.11898 15.1682C9.11898 16.2745 10.0188 17.1737 11.1239 17.1737C12.229 17.1737 13.1288 16.2736 13.1288 15.1682C13.1288 15.1268 13.128 15.0854 13.1254 15.0439V5.90955H15.4486C15.4572 6.1063 15.465 6.30478 15.4736 6.50154C15.4892 6.889 15.6272 7.26093 15.8679 7.56556C16.15 7.92368 16.5667 8.33963 17.1516 8.67187C17.6994 8.98167 18.2136 9.11542 18.5776 9.17842V9.1767Z" fill="black"/>
598</svg>
599`
600}
601function get_twitch_svg(load_dark_svg){
602  if(load_dark_svg){
603    return`<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25" fill="none">
604    <path d="M12.3713 0.138306H12.3152C5.53097 0.138306 0.03125 5.63966 0.03125 12.4259V12.482C0.03125 19.2683 5.53097 24.7696 12.3152 24.7696H12.3713C19.1556 24.7696 24.6553 19.2683 24.6553 12.482V12.4259C24.6553 5.63966 19.1556 0.138306 12.3713 0.138306Z" fill="#383D38"/>
605    <path d="M8.50816 6.03833L5.76562 8.78167V18.6565H9.05598V21.3998L11.7985 18.6565H13.9924L18.9287 13.7186V6.03833H8.50816ZM17.8314 13.1698L15.6375 15.3643H13.4437L11.5242 17.2844V15.3643H9.05598V7.13514H17.8314V13.1698Z" fill="white"/>
606    <path d="M16.1824 9.05612H15.0859V12.3474H16.1824V9.05612Z" fill="white"/>
607    <path d="M13.1668 9.05612H12.0703V12.3474H13.1668V9.05612Z" fill="white"/>
608  </svg>
609  `
610  }
611  return `<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25" fill="none">
612  <path d="M12.3713 0.138306H12.3152C5.53097 0.138306 0.03125 5.63966 0.03125 12.4259V12.482C0.03125 19.2683 5.53097 24.7696 12.3152 24.7696H12.3713C19.1556 24.7696 24.6553 19.2683 24.6553 12.482V12.4259C24.6553 5.63966 19.1556 0.138306 12.3713 0.138306Z" fill="white"/>
613  <path d="M8.50816 6.03833L5.76562 8.78167V18.6565H9.05598V21.3998L11.7985 18.6565H13.9924L18.9287 13.7186V6.03833H8.50816ZM17.8314 13.1698L15.6375 15.3643H13.4437L11.5242 17.2844V15.3643H9.05598V7.13514H17.8314V13.1698Z" fill="black"/>
614  <path d="M16.1824 9.05613H15.0859V12.3474H16.1824V9.05613Z" fill="black"/>
615  <path d="M13.1668 9.05613H12.0703V12.3474H13.1668V9.05613Z" fill="black"/>
616  </svg>
617  `
618}
619function get_discord_svg(load_dark_svg){
620  if(load_dark_svg){
621    return`<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewB
621ox="0 0 25 25" fill="none">
622    <path d="M12.6526 0.265869H12.5965C5.81222 0.265869 0.3125 5.76722 0.3125 12.5535V12.6096C0.3125 19.3958 5.81222 24.8972 12.5965 24.8972H12.6526C19.4368 24.8972 24.9366 19.3958 24.9366 12.6096V12.5535C24.9366 5.76722 19.4368 0.265869 12.6526 0.265869Z" fill="#383D38"/>
623    <path d="M18.786 6.92709C17.6525 6.40673 16.4378 6.02357 15.167 5.80438C15.1437 5.80007 15.1204 5.81043 15.1092 5.832C14.9531 6.10987 14.7797 6.47317 14.6589 6.75795C13.2924 6.55343 11.9328 6.55343 10.5938 6.75795C10.4722 6.46627 10.2928 6.10987 10.1357 5.832C10.1237 5.81129 10.1004 5.80093 10.078 5.80438C8.80805 6.02357 7.59251 6.40673 6.45892 6.92709C6.44943 6.9314 6.4408 6.93831 6.43477 6.9478C4.12963 10.3927 3.49811 13.7531 3.80782 17.072C3.80955 17.0884 3.81818 17.1039 3.83112 17.1134C5.35206 18.2309 6.82557 18.9092 8.27146 19.3588C8.29475 19.3657 8.3189 19.3571 8.33357 19.3381C8.6752 18.8713 8.9806 18.3785 9.242 17.8599C9.25753 17.8297 9.24199 17.7934 9.21093 17.7813C8.72696 17.5975 8.26713 17.374 7.8237 17.1203C7.78833 17.0996 7.78576 17.0495 7.81768 17.0254C7.91085 16.9555 8.00402 16.883 8.09287 16.8096C8.10927 16.7958 8.13169 16.7933 8.15067 16.8019C11.0606 18.1308 14.2111 18.1308 17.0865 16.8019C17.1055 16.7924 17.1279 16.7958 17.1443 16.8088C17.2332 16.8821 17.3264 16.9555 17.4204 17.0254C17.4523 17.0495 17.4506 17.0996 17.4152 17.1203C16.9727 17.3792 16.512 17.5984 16.0271 17.7813C15.9952 17.7934 15.9814 17.8297 15.9969 17.8607C16.2644 18.3776 16.5689 18.8704 16.9045 19.3381C16.9183 19.358 16.9433 19.3666 16.9666 19.3597C18.4194 18.9101 19.8929 18.2318 21.4138 17.1143C21.4268 17.1048 21.4354 17.0892 21.4371 17.0737C21.8081 13.237 20.816 9.90429 18.8085 6.94953C18.8033 6.94003 18.7955 6.93227 18.7852 6.92795L18.786 6.92709ZM9.67505 15.051C8.79855 15.051 8.07735 14.2467 8.07735 13.2586C8.07735 12.2705 8.78561 11.4662 9.67505 11.4662C10.5645 11.4662 11.2874 12.2783 11.2728 13.2586C11.2728 14.2467 10.5645 15.051 9.67505 15.051ZM15.5837 15.051C14.7072 15.051 13.986 14.2467 13.986 13.2586C13.986 12.2705 14.6942 11.4662 15.5837 11.4662C16.4731 11.4662 17.1961 12.2783 17.1814 13.2586C17.1814 14.2467 16.4809 15.051 15.5837 15.051Z" fill="white"/>
624  </svg>
625  `
626  }
627return `<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25" fill="none">
628    <path d="M12.6526 0.265869H12.5965C5.81222 0.265869 0.3125 5.76722 0.3125 12.5535V12.6096C0.3125 19.3958 5.81222 24.8972 12.5965 24.8972H12.6526C19.4368 24.8972 24.9366 19.3958 24.9366 12.6096V12.5535C24.9366 5.76722 19.4368 0.265869 12.6526 0.265869Z" fill="white"/>
629    <path d="M18.786 6.92709C17.6525 6.40673 16.4378 6.02357 15.167 5.80438C15.1437 5.80007 15.1204 5.81043 15.1092 5.832C14.9531 6.10987 14.7797 6.47317 14.6589 6.75795C13.2924 6.55343 11.9328 6.55343 10.5938 6.75795C10.4722 6.46627 10.2928 6.10987 10.1357 5.832C10.1237 5.81129 10.1004 5.80093 10.078 5.80438C8.80805 6.02357 7.59251 6.40673 6.45892 6.92709C6.44943 6.9314 6.4408 6.93831 6.43477 6.9478C4.12963 10.3927 3.49811 13.7531 3.80782 17.072C3.80955 17.0884 3.81818 17.1039 3.83112 17.1134C5.35206 18.2309 6.82557 18.9092 8.2714
6296 19.3588C8.29475 19.3657 8.3189 19.3571 8.33357 19.3381C8.6752 18.8713 8.9806 18.3785 9.242 17.8599C9.25753 17.8297 9.24199 17.7934 9.21093 17.7813C8.72696 17.5975 8.26713 17.374 7.8237 17.1203C7.78833 17.0996 7.78576 17.0495 7.81768 17.0254C7.91085 16.9555 8.00402 16.883 8.09287 16.8096C8.10927 16.7958 8.13169 16.7933 8.15067 16.8019C11.0606 18.1308 14.2111 18.1308 17.0865 16.8019C17.1055 16.7924 17.1279 16.7958 17.1443 16.8088C17.2332 16.8821 17.3264 16.9555 17.4204 17.0254C17.4523 17.0495 17.4506 17.0996 17.4152 17.1203C16.9727 17.3792 16.512 17.5984 16.0271 17.7813C15.9952 17.7934 15.9814 17.8297 15.9969 17.8607C16.2644 18.3776 16.5689 18.8704 16.9045 19.3381C16.9183 19.358 16.9433 19.3666 16.9666 19.3597C18.4194 18.9101 19.8929 18.2318 21.4138 17.1143C21.4268 17.1048 21.4354 17.0892 21.4371 17.0737C21.8081 13.237 20.816 9.90429 18.8085 6.94953C18.8033 6.94003 18.7955 6.93227 18.7852 6.92795L18.786 6.92709ZM9.67505 15.051C8.79855 15.051 8.07735 14.2467 8.07735 13.2586C8.07735 12.2705 8.78561 11.4662 9.67505 11.4662C10.5645 11.4662 11.2874 12.2783 11.2728 13.2586C11.2728 14.2467 10.5645 15.051 9.67505 15.051ZM15.5837 15.051C14.7072 15.051 13.986 14.2467 13.986 13.2586C13.986 12.2705 14.6942 11.4662 15.5837 11.4662C16.4731 11.4662 17.1961 12.2783 17.1814 13.2586C17.1814 14.2467 16.4809 15.051 15.5837 15.051Z" fill="black"/>
630  </svg>
631  `
632}
633function get_snapchat_svg(load_dark_svg){
634  if(load_dark_svg){
635    return`<svg xmlns="http://www.w3.org/2000/svg" width="26" height="25" viewBox="0 0 26 25" fill="none">
636    <path d="M12.9416 0.138306H12.8856C6.1013 0.138306 0.601562 5.63966 0.601562 12.4259V12.482C0.601562 19.2683 6.1013 24.7696 12.8856 24.7696H12.9416C19.7259 24.7696 25.2256 19.2683 25.2256 12.482V12.4259C25.2256 5.63966 19.7259 0.138306 12.9416 0.138306Z" fill="#383D38"/>
637    <path d="M16.7693 10.1995C16.7676 10.3643 16.7503 10.5291 16.7348 10.6939C16.7296 10.7483 16.7279 10.8035 16.727 10.8579C16.7253 10.952 16.8004 11.0374 16.8944 11.0313C16.9393 11.0288 16.985 11.0167 17.0281 11.002C17.1722 10.9511 17.3145 10.8967 17.4578 10.8424C17.5872 10.7923 17.7192 10.7474 17.8529 10.7112C17.9987 10.6715 18.1445 10.6422 18.2929 10.6663C18.5948 10.7155 18.7915 11.0408 18.6811 11.3265C18.65 11.4067 18.6026 11.4758 18.5456 11.5396C18.4671 11.6268 18.3783 11.701 18.2816 11.7666C18.1678 11.8434 18.053 11.9185 17.9383 11.9944C17.7468 12.1204 17.5552 12.2455 17.3646 12.3732C17.2852 12.4259 17.2084 12.482 17.1334 12.5398C17.092 12.5717 17.0532 12.6088 17.0178 12.6477C16.9505 12.7227 16.9134 12.8185 16.9194 12.9186C16.9255 13.0248 16.9436 13.1283 16.9729 13.2302C17.0635 13.5477 17.2024 13.8429 17.3706 14.125C17.8218 14.8784 18.4611 15.4669 19.222 15.9476C19.4308 16.0796 19.6542 16.1858 19.8742 16.2997C19.9052 16.3161 19.9354 16.3325 19.9656 16.3506C19.9958 16.3687 20.0226 16.3929 20.0424 16.4222C20.0735 16.4662 20.0778 16.5128 20.051 16.5612C20.0286 16.6026 19.9958 16.6345 19.9605 16.6639C19.9208 16.6966 19.8776 16.7243 19.8328 16.7493C19.5757 16.8951 19.2996 17.0039 19.0141 17.0798C18.876 17.1169 18.738 17.1557 18.6008 17.1963C18.5163 17.2213 18.4369 17.2584 18.3584 17.299C18.2264 17.3672 18.1514 17.4768 18.1238 17.6191C18.1082 17.6985 18.0987 17.7797 18.0841 17.859C18.0478 18.0601 17.9754 18.1335 17.7787 18.168C17.7097 18.1801 17.6389 18.187 17.569 18.1913C17.3931 18.2008 17.2171 18.206 17.0411 18.2154C17.0359 18.2154 17.0307 18.2155 17.0264 18.2163C16.3233 18.2577 15.6435 18.483 15.0405 18.8471C15.0086 18.8661 14.9766 18.886 14.9439 18.9049C14.6997 19.0525 14.4512 19.1932 14.1847 19.2967C13.887 19.4124 13.5799 19.4814 13.2616 19.5099C12.9933 19.534 12.7258 19.5306 12.4593 19.5004C12.0598 19.4555 11.6811 19.339 11.3231 19.1561C11.1566 19.0706 10.9961 18.9757 10.8374 18.8782C10.8288 18.873 10.8201 18.8678 10.8106 18.8618C10.1774 18.4761 9.45707 18.2422 8.71601 18.212C8.71083 18.212 8.70566 18.212 8.70049 18.212C8.5452 18.206 8.39077 18.1999 8.23549 18.1904C8.1449 18.1852 8.05432 18.1732 7.96546 18.149C7.85245 18.1179 7.77049 18.0187 7.74892 17.9039C7.73685 17.8409 7.72736 17.7779 7.71614 17.7149C7.71355 17.7011 7.71355 17.6865 7.71096 17.6726C7.68508 17.488 7.59363 17.3525 7.42023 17.274C7.31412 17.2256 7.20542 17.1868 7.09327 17.1557C6.90003 17.1022 6.70505 17.0548 6.51612 16.9866C6.34962 16.9271 6.18916 16.8563 6.03474 16.7717C5.98815 16.7467 5.94329 16.7182 5.90015 16.6889C5.87082 16.669 5.84322 16.6466 5.81906 16.6216C5.74142 16.5405 5.74918 16.4343 5.83717 16.3653C5.88807 16.3247 5.9476 16.298 6.0054 16.2695C6.40828 16.0719 6.79046 15.8406 7.1459 15.5662C7.6825 15.1528 8.13714 14.6635 8.48136 14.0741C8.60386 13.8636 8.70565 13.6401 8.78934 13.4105C8.84455 13.2586 8.88941 13.1068 8.90063 12.9471C8.90839 12.8298 8.8687 12.7132 8.78847 12.6278C8.73067 12.5665 8.66338 12.5174 8.59523 12.4682C8.49343 12.3957 8.39077 12.3241 8.28725 12.2559C8.06467 12.1092 7.84123 11.9651 7.61865 11.8192C7.52117 11.7554 7.42713 11.6863 7.34258 11.6061C7.28133 11.5474 7.22612 11.4844 7.
63718212 11.411C7.09068 11.2574 7.08378 11.0995 7.15193 10.9373C7.19248 10.8406 7.2684 10.7586 7.3633 10.7146C7.49874 10.6525 7.64022 10.6447 7.78257 10.668C7.93613 10.6931 8.08365 10.7405 8.22944 10.7932C8.37869 10.8467 8.52535 10.9054 8.67374 10.9606C8.74275 10.9865 8.81263 11.0124 8.88596 11.0236C8.90321 11.0262 8.92047 11.0313 8.93773 11.0305C9.02314 11.0279 9.09387 11.0003 9.09301 10.8855C9.09301 10.8303 9.09129 10.7742 9.0887 10.719C9.07576 10.4428 9.05937 10.1667 9.05246 9.89052C9.03694 9.23295 9.03952 8.57279 9.2112 7.9342C9.31645 7.54328 9.49848 7.17998 9.74435 6.85723C10.2542 6.18672 10.9271 5.76128 11.732 5.53433C12.172 5.41006 12.6215 5.3695 13.077 5.38331C13.5075 5.39625 13.9362 5.46874 14.3434 5.61113C14.8265 5.78027 15.2656 6.02535 15.6392 6.37312C16.0636 6.76835 16.3906 7.23003 16.5683 7.78923C16.6485 8.04208 16.6994 8.30096 16.7305 8.5633C16.7952 9.1061 16.7771 9.65234 16.7719 10.1977L16.7693 10.1995Z" fill="white"/>
638  </svg>
639  `
640  }
641  return `<svg xmlns="http://www.w3.org/2000/svg" width="26" height="25" viewBox="0 0 26 25" fill="none">
642    <path d="M12.9416 0.138306H12.8856C6.1013 0.138306 0.601562 5.63966 0.601562 12.4259V12.482C0.601562 19.2683 6.1013 24.7696 12.8856 24.7696H12.9416C19.7259 24.7696 25.2256 19.2683 25.2256 12.482V12.4259C25.2256 5.63966 19.7259 0.138306 12.9416 0.138306Z" fill="white"/>
643    <path d="M16.7693 10.1995C16.7676 10.3643 16.7503 10.5291 16.7348 10.6939C16.7296 10.7483 16.7279 10.8035 16.727 10.8579C16.7253 10.952 16.8004 11.0374 16.8944 11.0313C16.9393 11.0288 16.985 11.0167 17.0281 11.002C17.1722 10.9511 17.3145 10.8967 17.4578 10.8424C17.5872 10.7923 17.7192 10.7474 17.8529 10.7112C17.9987 10.6715 18.1445 10.6422 18.2929 10.6663C18.5948 10.7155 18.7915 11.0408 18.6811 11.3265C18.65 11.4067 18.6026 11.4758 18.5456 11.5396C18.4671 11.6268 18.3783 11.701 18.2816 11.7666C18.1678 11.8434 18.053 11.9185 17.9383 11.9944C17.7468 12.1204 17.5552 12.2455 17.3646 12.3732C17.2852 12.4259 17.2084 12.482 17.1334 12.5398C17.092 12.5717 17.0532 12.6088 17.0178 12.6477C16.9505 12.7227 16.9134 12.8185 16.9194 12.9186C16.9255 13.0248 16.9436 13.1283 16.9729 13.2302C17.0635 13.5477 17.2024 13.8429 17.3706 14.125C17.8218 14.8784 18.4611 15.4669 19.222 15.9476C19.4308 16.0796 19.6542 16.1858 19.8742 16.2997C19.9052 16.3161 19.9354 16.3325 19.9656 16.3506C19.9958 16.3687 20.0226 16.3929 20.0424 16.4222C20.0735 16.4662 20.0778 16.5128 20.051 16.5612C20.0286 16.6026 19.9958 16.6345 19.9605 16.6639C19.9208 16.6966 19.8776 16.7243 19.8328 16.7493C19.5757 16.8951 19.2996 17.0039 19.0141 17.0798C18.876 17.1169 18.738 17.1557 18.6008 17.1963C18.5163 17.2213 18.4369 17.2584 18.3584 17.299C18.2264 17.3672 18.1514 17.4768 18.1238 17.6191C18.1082 17.6985 18.0987 17.7797 18.0841 17.859C18.0478 18.0601 17.9754 18.1335 17.7787 18.168C17.7097 18.1801 17.6389 18.187 17.569 18.1913C17.3931 18.2008 17.2171 18.206 17.0411 18.2154C17.0359 18.2154 17.0307 18.2155 17.0264 18.2163C16.3233 18.2577 15.6435 18.483 15.0405 18.8471C15.0086 18.8661 14.9766 18.886 14.9439 18.9049C14.6997 19.0525 14.4512 19.1932 14.1847 19.2967C13.887 19.4124 13.5799 19.4814 13.2616 19.5099C12.9933 19.534 12.7258 19.5306 12.4593 19.5004C12.0598 19.4555 11.6811 19.339 11.3231 19.1561C11.1566 19.0706 10.9961 18.9757 10.8374 18.8782C10.8288 18.873 10.8201 18.8678 10.8106 18.8618C10.1774 18.4761 9.45707 18.2422 8.71601 18.212C8.71083 18.212 8.70566 18.212 8.70049 18.212C8.5452 18.206 8.39077 18.1999 8.23549 18.1904C8.1449 18.1852 8.05432 18.1732 7.96546 18.149C7.85245 18.1179 7.77049 18.0187 7.74892 17.9039C7.73685 17.8409 7.72736 17.7779 7.71614 17.7149C7.71355 17.7011 7.71355 17.6865 7.71096 17.6726C7.68508 17.488 7.59363 17.3525 7.42023 17.274C7.31412 17.2256 7.20542 17.1868 7.09327 17.1557C6.90003 17.1022 6.70505 17.0548 6.51612 16.9866C6.34962 16.9271 6.18916 16.8563 6.03474 16.7717C5.98815 16.7467 5.94329 16.7182 5.90015 16.6889C5.87082 16.669 5.84322 16.6466 5.81906 16.6216C5.74142 16.5405 5.74918 16.4343 5.83717 16.3653C5.88807 16.3247 5.9476 16.298 6.0054 16.2695C6.40828 16.0719 6.79046 15.8406 7.1459 15.5662C7.6825 15.1528 8.13714 14.6635 8.48136 14.0741C8.60386 13.8636 8.70565 13.6401 8.78934 13.4105C8.84455 13.2586 8.88941 13.1068 8.90063 12.9471C8.90839 12.8298 8.8687 12.7132 8.78847 12.6278C8.73067 12.5665 8.66338 12.5174 8.59523 12.4682C8.49343 12.3957 8.39077 12.3241 8.28725 12.2559C8.06467 12.1092 7.84123 11.9651 7.61865 11.8192C7.52117 11.7554 7.42713 11.6863 7.34258 11.6061C7.28133 11.5474 7.22612 11.4844 7.
64318212 11.411C7.09068 11.2574 7.08378 11.0995 7.15193 10.9373C7.19248 10.8406 7.2684 10.7586 7.3633 10.7146C7.49874 10.6525 7.64022 10.6447 7.78257 10.668C7.93613 10.6931 8.08365 10.7405 8.22944 10.7932C8.37869 10.8467 8.52535 10.9054 8.67374 10.9606C8.74275 10.9865 8.81263 11.0124 8.88596 11.0236C8.90321 11.0262 8.92047 11.0313 8.93773 11.0305C9.02314 11.0279 9.09387 11.0003 9.09301 10.8855C9.09301 10.8303 9.09129 10.7742 9.0887 10.719C9.07576 10.4428 9.05937 10.1667 9.05246 9.89052C9.03694 9.23295 9.03952 8.57279 9.2112 7.9342C9.31645 7.54328 9.49848 7.17998 9.74435 6.85723C10.2542 6.18672 10.9271 5.76128 11.732 5.53433C12.172 5.41006 12.6215 5.3695 13.077 5.38331C13.5075 5.39625 13.9362 5.46874 14.3434 5.61113C14.8265 5.78027 15.2656 6.02535 15.6392 6.37312C16.0636 6.76835 16.3906 7.23003 16.5683 7.78923C16.6485 8.04208 16.6994 8.30096 16.7305 8.5633C16.7952 9.1061 16.7771 9.65234 16.7719 10.1977L16.7693 10.1995Z" fill="black"/>
644  </svg>
645  `
646}
647function get_pinterest_svg(load_dark_svg){
648  if(load_dark_svg){
649    return`<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25" fill="none">
650    <path d="M12.6526 0.138306H12.5965C5.81224 0.138306 0.3125 5.63966 0.3125 12.4259V12.482C0.3125 19.2683 5.81224 24.7696 12.5965 24.7696H12.6526C19.4368 24.7696 24.9366 19.2683 24.9366 12.482V12.4259C24.9366 5.63966 19.4368 0.138306 12.6526 0.138306Z" fill="#383D38"/>
651    <path fill-rule="evenodd" clip-rule="evenodd" d="M11.4994 15.8216C11.4847 15.8725 11.4709 15.9157 11.4597 15.9588C10.8084 18.5114 10.7359 19.0784 10.0664 20.2641C9.74725 20.8276 9.3875 21.3618 8.9898 21.8726C8.94494 21.9305 8.90266 22.0047 8.81294 21.9866C8.71459 21.9658 8.70683 21.877 8.69648 21.7984C8.5895 21.0226 8.52998 20.2451 8.55586 19.4616C8.5895 18.4415 8.71546 18.0912 10.0302 12.5614C10.0492 12.4768 10.0276 12.4069 10 12.331C9.68513 11.4818 9.62302 10.6197 9.89822 9.74639C10.4935 7.85997 12.6313 7.71586 13.0048 9.27177C13.2351 10.234 12.6261 11.4939 12.1585 13.3561C11.7711 14.8922 13.5794 15.9847 15.1245 14.8629C16.5496 13.829 17.1026 11.3506 16.9974 9.59365C16.7903 6.09091 12.9505 5.33411 10.5151 6.46199C7.72249 7.75384 7.08754 11.216 8.34881 12.7987C8.50841 12.9997 8.80949 13.1231 8.75687 13.3268C8.67577 13.6435 8.60417 13.9628 8.51617 14.2778C8.45061 14.5125 8.07706 14.5979 7.83982 14.5013C7.37482 14.3132 6.98747 14.0172 6.67344 13.6271C5.60283 12.3007 5.29657 9.67736 6.71227 7.45612C8.28066 4.99583 11.1983 3.99998 13.8623 4.30201C17.044 4.66359 19.0549 6.83824 19.4311 9.30543C19.6027 10.429 19.4794 13.1999 17.9024 15.1588C16.0881 17.4094 13.1472 17.5587 11.7901 16.1771C11.6857 16.071 11.6021 15.9476 11.4994 15.8207V15.8216Z" fill="white"/>
652  </svg>
653  `
654  }
655return `<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25" fill="none">
656    <path d="M12.6526 0.138306H12.5965C5.81224 0.138306 0.3125 5.63966 0.3125 12.4259V12.482C0.3125 19.2683 5.81224 24.7696 12.5965 24.7696H12.6526C19.4368 24.7696 24.9366 19.2683 24.9366 12.482V12.4259C24.9366 5.63966 19.4368 0.138306 12.6526 0.138306Z" fill="white"/>
657    <path fill-rule="evenodd" clip-rule="evenodd" d="M11.4994 15.8216C11.4847 15.8725 11.4709 15.9157 11.4597 15.9588C10.8084 18.5114 10.7359 19.0784 10.0664 20.2641C9.74725 20.8276 9.3875 21.3618 8.9898 21.8726C8.94494 21.9305 8.90266 22.0047 8.81294 21.9866C8.71459 21.9658 8.70683 21.877 8.69648 21.7984C8.5895 21.0226 8.52998 20.2451 8.55586 19.4615C8.5895 18.4415 8.71546 18.0912 10.0302 12.5613C10.0492 12.4768 10.0276 12.4069 10 12.3309C9.68513 11.4818 9.62302 10.6197 9.89822 9.74639C10.4935 7.85997 12.6313 7.71585 13.0048 9.27176C13.2351 10.234 12.6261 11.4939 12.1585 13.3561C11.7711 14.8922 13.5794 15.9847 15.1245 14.8629C16.5496 13.829 17.1026 11.3506 16.9974 9.59364C16.7903 6.09091 12.9505 5.3341 10.5151 6.46198C7.72249 7.75383 7.08754 11.216 8.34881 12.7987C8.50841 12.9997 8.80949 13.1231 8.75687 13.3268C8.67577 13.6435 8.60417 13.9628 8.51617 14.2778C8.45061 14.5125 8.07706 14.5979 7.83982 14.5013C7.37482 14.3131 6.98747 14.0171 6.67344 13.6271C5.60283 12.3007 5.29657 9.67736 6.71227 7.45611C8.28066 4.99583 11.1983 3.99997 13.8623 4.302
65701C17.044 4.66358 19.0549 6.83823 19.4311 9.30542C19.6027 10.429 19.4794 13.1999 17.9024 15.1588C16.0881 17.4094 13.1472 17.5587 11.7901 16.1771C11.6857 16.071 11.6021 15.9476 11.4994 15.8207V15.8216Z" fill="black"/>
658  </svg>
659  `
660}
661function get_tumblr_svg(load_dark_svg){
662  if(load_dark_svg){
663    return`<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25" fill="none">
664    <path d="M12.6526 0.057373H12.5965C5.81222 0.057373 0.3125 5.55873 0.3125 12.345V12.4011C0.3125 19.1874 5.81222 24.6887 12.5965 24.6887H12.6526C19.4368 24.6887 24.9366 19.1874 24.9366 12.4011V12.345C24.9366 5.55873 19.4368 0.057373 12.6526 0.057373Z" fill="#383D38"/>
665    <path d="M16.6793 20.4551H13.9808C11.5506 20.4551 9.73975 19.2047 9.73975 16.2128V11.4217H7.53125V8.82766C9.96148 8.19684 10.9777 6.10417 11.0951 4.29283H13.6185V8.40654H16.5629V11.4217H13.6185V15.5941C13.6185 16.8445 14.2491 17.2769 15.2542 17.2769H16.6793V20.456V20.4551Z" fill="white"/>
666  </svg>
667  `
668  }
669  return `<svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" viewBox="0 0 25 25" fill="none">
670  <path d="M12.6526 0.057373H12.5965C5.81222 0.057373 0.3125 5.55873 0.3125 12.345V12.4011C0.3125 19.1874 5.81222 24.6887 12.5965 24.6887H12.6526C19.4368 24.6887 24.9366 19.1874 24.9366 12.4011V12.345C24.9366 5.55873 19.4368 0.057373 12.6526 0.057373Z" fill="white"/>
671  <path d="M16.6793 20.4551H13.9808C11.5506 20.4551 9.73975 19.2047 9.73975 16.2128V11.4217H7.53125V8.82766C9.96148 8.19684 10.9777 6.10417 11.0951 4.29283H13.6185V8.40654H16.5629V11.4217H13.6185V15.5941C13.6185 16.8445 14.2491 17.2769 15.2542 17.2769H16.6793V20.456V20.4551Z" fill="black"/>
672  </svg>
673  `
674}
675function get_messenger_svg(load_dark_svg){
676  if(load_dark_svg){
677    return`<svg xmlns="http://www.w3.org/2000/svg" width="26" height="25" viewBox="0 0 26 25" fill="none">
678    <path d="M12.801 0.138428H12.7449C5.96067 0.138428 0.460938 5.63978 0.460938 12.426V12.4821C0.460938 19.2684 5.96067 24.7698 12.7449 24.7698H12.801C19.5853 24.7698 25.085 19.2684 25.085 12.4821V12.426C25.085 5.63978 19.5853 0.138428 12.801 0.138428Z" fill="#383D38"/>
679    <path d="M20.0784 11.8003C19.7472 8.06202 16.5992 5.12106 12.7774 5.12106C8.73479 5.12106 5.44531 8.41151 5.44531 12.4536C5.44531 13.9379 5.8896 15.3212 6.65137 16.4767L5.73777 18.502C5.49708 19.0345 5.92583 19.6265 6.50643 19.5652L9.90806 19.2028C10.7897 19.579 11.7594 19.787 12.7774 19.787C13.0362 19.787 13.2933 19.7732 13.5452 19.7473C13.7781 19.7223 14.0068 19.6869 14.2328 19.642C17.5671 18.9672 20.0879 16.021 20.1078 12.4959V12.4536C20.1078 12.2344 20.0983 12.0144 20.0784 11.8003ZM16.8494 10.8028L15.3103 13.1776L14.4959 14.4341C14.3225 14.7016 13.9576 14.7655 13.7039 14.5721L12.3538 13.5487L11.5213 12.9179C11.454 12.8669 11.36 12.8687 11.2944 12.9222L9.25155 14.5894C8.92286 14.8578 8.4734 14.4539 8.70374 14.0984L10.1453 11.8754L10.9597 10.6181C11.1331 10.3506 11.4972 10.2867 11.7517 10.4791L13.0621 11.4733L13.8946 12.1032C13.9619 12.155 14.0559 12.1533 14.1215 12.0989L16.3007 10.3117C16.6294 10.0425 17.0806 10.4464 16.8494 10.8028Z" fill="white"/>
680  </svg>
681  `
682  }
683  return `<svg xmlns="http://www.w3.org/2000/svg" width="26" height="25" viewBox="0 0 26 25" fill="none">
684      <path d="M12.801 0.138428H12.7449C5.96067 0.138428 0.460938 5.63978 0.460938 12.426V12.4821C0.460938 19.2684 5.96067 24.7698 12.7449 24.7698H12.801C19.5853 24.7698 25.085 19.2684 25.085 12.4821V12.426C25.085 5.63978 19.5853 0.138428 12.801 0.138428Z" fill="white"/>
685      <path d="M20.0784 11.8003C19.7472 8.06202 16.5992 5.12107 12.7774 5.12107C8.73479 5.12107 5.44531 8.41152 5.44531 12.4536C5.44531 13.9379 5.8896 15.3212 6.65137 16.4767L5.73777 18.5021C5.49708 19.0345 5.92583 19.6265 6.50643 19.5652L9.90806 19.2028C10.7897 19.579 11.7594 19.787 12.7774 19.787C13.0362 19.787 13.2933 19.7732 13.5452 19.7473C13.7781 19.7223 14.0068 19.6869 14.2328 19.642C17.5671 18.9672 20.0879 16.0211 20.1078 12.4959V12.4536C20.1078 12.2344 20.0983 12.0144 20.0784 11.8003ZM16.8494 10.8028L15.3103 13.1776L14.4959 14.4341C14.3225 14.7016 13.9576 14.7655 13.7039 14.5722L12.3538 13.5487L11.5213 12.9179C11.454 12.867 11.36 12.8687 11.2944 12.9222L9.25155 14.5894C8.92286 14.8578 8.4734 14.4539 8.70374 14.0984L10.1453 11.8754L10.9597 10.6181C11.1331 10.3506 11.4972 10.2867 11.7517 10.4792L13.0621 11.4733L13.8946 12.1032C13.9619 12.155 14.0559 12.1533 14.1215 12.0989L16.3007 10.3117C16.6294 10.0425 17.0806 10.4464 16.8494 10.8028Z" fill="black"/>
686    </svg>
687    `
688}
689
690get_footer_data = () => {
691  $.ajax({
692    method: "get",
693    url: "/get_footer_data",
694    dataType: "json",
695    success: function (res) {
696      var res = res.items[0];
697      if (res.footer_v2_enabled && !disable_async_comp_homepage) {
698        showV2FooterSection(res);
699      } 
700      else if (res.footer_v2_enabled && disable_async_comp_homepage){
701        setLatestStoriesForFooter(res)
702      } else {
703        latest_articles_footer(res?.latest_stories.results)
704        $(".v2-footer-section").css("display", "none");
705        var subscribe_button = "";
706        var donate_us_button = "";
707        var quick_links_1 = "";
708        var quick_links_array_1 = "";
709        var quick_links_2 = "";
710        var quick_links_array_2 = "";
711        var social_link_footer = "";
712
713        try {
714          if (res.publisher_logo) {
715            var footer_logo = `
716         <span><a href="/" class="logo-name" aria-label="logo" >
717         <img class="brand-footer-img"src="${res.publisher_logo}" alt="logo">
718         </a></span>
719         `;
720            $("#footer_logo").append(footer_logo);
721          }
722        } catch (err) {
723          console.error(err, "publisher_logo");
724        }
725        try {
726          if (res.subscribe_button) {
727            subscribe_button += `
728        <div class="text mb-1 subscribe_button text-start"> ${res.subscribe_button.text}</div>
729        <a href="${res.subscribe_button.url}" aria-label="${res.subscribe_button.text}" class="subscribe-btn btn-footer">${res.subscribe_button.text}</a>
730        `;
731            $("#subscribe_button_foot").append(subscribe_button);
732          }
733        } catch (err) {
734          console.error(err, "Subcribe button");
735        }
736        // quick links 1
737        try {
738          if (res.quick_links_1) {
739            $("#quick_link_1").append(`<div class="">
740         <!-- Links -->
741         <h6 class="text-uppercase footer_sub_title mb-3">
742          ${res.quick_links_1.text}
743         </h6>
744       </div> `);
745
746            for (let i = 0; i < res.quick_links_1.links.length; i++) {
747              quick_links_array_1 += `
748         <li class="quick_items">
749           <a href="${res.quick_links_1.links[i].url}" aria-label="${res.quick_links_1.links[i].text}" class="footer-anchor">${res.quick_links_1.links[i].text}</a>
750         </li>
751         `;
752            }
753            $("#quick_link_1").append(quick_links_array_1);
754          }
755        } catch (err) {
756          console.error(err, "quick links 1");
757        }
758        try {
759          if (res.quick_links_2) {
760            $("#quick_link_2").append(`<div class="">
761         <!-- Links -->
762         <h6 class="text-uppercase footer_sub_title mb-3">
763          ${res.quick_links_2.text}
764         </h6>
765       </div> `);
766
767            for (let i = 0; i < res.quick_links_2.links.length; i++) {
768              quick_links_array_2 += `               
769         <li class="quick_items">
770           <a href="${res.quick_links_2.links[i].url}" aria-label="${res.quick_links_2.links[i].text}" class="footer-anchor">${res.quick_links_2.links[i].text}</a>
771         </li>
772         `;
773            }
774            $("#quick_link_2").append(quick_links_array_2);
775          }
776        } catch (err) {
777          console.error(err, "quick links 1");
778        }
779
780        // donate us button
781        try {
782          if (res.donate_us_button) {
783            donate_us_button += `
784         
785         <!-- Links -->
786         <h6 class="text-uppercase footer_sub_title mb-3">
787          ${res.donate_us_button.text}
788         </h6>
789         <a href="${res.donate_us_button.url}" aria-label="${res.donate_us_button.text}" class="donate-btn btn-footer">${res.donate_us_button.text}</a>
790       
791         `;
792            $("#donate_us_button").append(donate_us_button);
793          }
794        } catch (err) {
795          console.error(err, "donate us button");
796        }
797
798        try {
799          if (res.copyright_text) {
800            var copyright_text = `
801         ${res.copyright_text}
802         `;
803            $("#copyright_text").append(copyright_text);
804          }
805        } catch (err) {
806          console.error(err, "copyright");
807        }
808        if (res.app_download_links) {
809          try {
810            if (res.app_download_links.android) {
811              const android_link = `
812        <p><a href="${res.app_download_links.android.link}" aria-label="${res.app_download_links.android.link}" class=""><img src="${and_img}" class="app_download_img" alt="${res.app_download_links.android.text}"></a></p>
813        `;
814              $("#app_download").append(android_link);
815            }
816            if (res.app_download_links.ios) {
817              const ios_link = `
818        <p><a href="${res.app_download_links.ios.link}" aria-label="${res.app_download_links.ios.link}" class=""><img src="${ios_img}" class="app_download_img" alt="${res.app_download_links.ios.text}"></a></p>`;
819              $("#app_download").append(ios_link);
820            }
821          } catch (err) {
822            console.error(err, "social links");
823          }
824        }
825        try {
826          if (res.social_links.facebook) {
827            var facebook = `
828         <a href="${res.social_links.facebook}" aria-label="facebook" class="ms-4 link-secondary social-footer-link">
829         <svg xmlns="http://www.w3.org/2000/svg"width="18" height="18" viewBox="0 0 320 512">
829<path d="M279.14 288l14.22-92.66h-88.91v-60.13c0-25.35 12.42-50.06 52.24-50.06h40.42V6.26S260.43 0 225.36 0c-73.22 0-121.08 44.38-121.08 124.72v70.62H22.89V288h81.39v224h100.17V288z"/></svg>      </a>`;
830            $("#social_links").append(facebook);
831          }
832          if (res.social_links.linkedin) {
833            var linkedin = `
834         <a href="${res.social_links.linkedin}" aria-label="linkedin" class="ms-4 link-secondary social-footer-link">
835         <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 448 512"><path d="M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"/></svg>
836       </a>
837       `;
838            $("#social_links").append(linkedin);
839          }
840          if (res.social_links.instagram) {
841            var instagram = `
842         <a href="${res.social_links.instagram}" aria-label="instagram" class="ms-4 link-secondary social-footer-link">
843         <svg xmlns="http://www.w3.org/2000/svg"  width="18" height="18" viewBox="0 0 448 512"><path d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"/></svg>
844       </a>
845       `;
846            $("#social_links").append(instagram);
847          }
848          if (res.social_links.twitter) {
849            var twitter = `
850         <a href="${res.social_links.twitter}" aria-label="twitter" class="ms-4 link-secondary social-footer-link">
851         <svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 512 512"><path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"/></svg>
852       </a>
853       `;
854            $("#social_links").append(twitter);
855          }
856          if (res.social_links.youtube) {
857            var youtube = `
858         <a href="${res.social_links.youtube}" aria-label="youtube" class="ms-4 link-secondary social-footer-link">
859         <svg xmlns="http://www.w3.org/2000/svg" width="18"  height="18" viewBox="0 0 576 512"><path d="M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"/></svg>
860       </a>
861       `;
862            $("#social_links").append(youtube);
863          }
864          if (res.social_links.koo) {
865            var koo = `
866         <a href="${res.social_links.koo}" aria-label="koo" class="ms-4 link-secondary social-footer-link">
867         <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 495.45 721.36"width="18" height="18"><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><path d="M368,310.51A60.56,60.56,0,0,1,345.15,302c11.16,14.88,30.06,41.72,36.44,50.82a.65.65,0,0,0,.66.28.7.7,0,0,0,.58-.53c5.18-17.91,3.76-36.06,3.27-40.67C380.51,311.67,374.48,311.23,3
86768,310.51Z"/><path d="M417.11,298.13c-12.76-4.65-34.11-12.43-37.93-12.43-4,0-27.32,4.73-41.19,7.67,4.41,3.74,15.85,12.32,30.36,14.4,40.68,4.52,60.18-2.35,60.94-5.2-.09,0-.27-.19-.9-.4C426.2,301.44,422.09,299.94,417.11,298.13Z"/><path d="M495,361.42c-2.52-70.45-23.4-129.79-43.59-187.18q-3.12-8.87-6.2-17.69c-21.08-60.61-70.55-89.46-114.47-89.93a52.17,52.17,0,0,1,1.48-16c.41-1.65.95-3.62,1.54-5.76,4-14.77,6.84-26.44,3.15-31.28a5.66,5.66,0,0,0-4.61-2.23c-6.62,0-10.24,7.69-12.1,14-7.15-13.12-17.47-28.53-25-24.78-3.38,1.69-3.57,7.89-.58,18.5-4.37-4.79-9-8.22-13-8.88a7.13,7.13,0,0,0-6.42,1.93c-4,4,0,11.66,5.33,18.79-7.79-2.13-11.64,1.31-12.23,1.9l-.32.32-.2.4c-2.93,5.85.78,10.36,4,12,15.72,7.86,27,19.54,31.82,25.11-76,21.3-123.93,63.63-146.46,129.18-19.82,57.68-15.76,121.59-12.5,173,.77,12.16,1.5,23.65,1.83,34,.79,25-6,44.12-20.11,56.78C95.47,491.16,37.42,482.86,9.52,478.87l-1.19-.17-.35,0c-2.08.23-6,1.58-7.42,5.19-1.61,4,.23,9.07,5.61,15.48l.36.35c66.75,55.08,154,94.71,230.16,108.14v48.7c0,9.79-29.57,13.11-58.49,15.07a4.17,4.17,0,0,0,0,8.32c24.83,1.46,41.12,2.92,45.86,4.1,1.78.44,2.85,1.11,3.19,2,1.13,2.94-3.47,9.78-6.52,14.3l-1.05,1.57c-3.24,4.86-8.09,13.63-4.23,17.77a5.48,5.48,0,0,0,4.19,1.65c3.57,0,8.08-2.23,12-4.45,18.23-10.42,18.23-10.42,25.34-8,1,.34,2.07.72,3.13,1.1,5.86,2.11,10.91,3.93,13.46.83,2.32-2.82.26-7.19-2.32-11.48l-1-1.59c-7.76-12.89-12.44-20.67-12.44-41.11V611A285.44,285.44,0,0,0,290,612.9a201.35,201.35,0,0,0,37-3.19c-1.59,8.1-5.57,27.93-9.8,44.83-5.85,23.42,13.24,53,20.38,58.07a10.42,10.42,0,0,0,5.73,2.29,3.41,3.41,0,0,0,1-.11c2.66-.47,4.14-2.64,5.58-4.74,2.19-3.2,4.67-6.83,11.83-8,12.18-2,31.14,2.33,38.72,4.29a3.63,3.63,0,0,0,3.21-6.32c-7.44-6-10.19-10.24-10.28-12a.57.57,0,0,1,.18-.54c2.39-2.39,9-5.52,18.13-8.59a4.11,4.11,0,0,0-.68-8c-12.51-1.88-54.21-8.35-65.24-12.76-8.84-3.53-8.11-8.87-5.44-21.69.54-2.62,1.13-5.41,1.62-8.38,2-11.71,3.43-18.47,4.1-21.34,61.54-12,104.59-45.47,128.09-99.69C495.72,457.18,496.39,400.05,495,361.42ZM292.32,263.64a16.55,16.55,0,1,1,16.55-16.55A16.55,16.55,0,0,1,292.32,263.64ZM393,201.58a16.55,16.55,0,1,1-16.55,16.55A16.55,16.55,0,0,1,393,201.58Zm39,101.56c-1,4.38-14.76,8.87-38.5,8.87-1.49,0-3,0-4.6-.06.56,5.35,1.84,23.21-3.41,41.35a3.51,3.51,0,0,1-3.35,2.53,3.41,3.41,0,0,1-2.8-1.46c-7.62-10.86-33.1-47.07-41.85-57.81-2.05-1.66-3.23-2.83-3.39-3l-1.79-1.79,2.48-.53c1.58-.34,38.81-8.3,44.41-8.3,4,0,20.66,6,38.87,12.6,4.94,1.8,9,3.29,11.2,4C432.3,300.58,432.12,302.56,432,303.14Z"fill="{{icon_color}}"/></g></g></svg>
868       </a>
869       `;
870            $("#social_links").append(koo);
871          }
872          if (res.social_links.whatsapp) {
873            var whatsapp = `
874             <a href="${res.social_links.whatsapp}" aria-label="whatsapp" class="ms-4 link-secondary social-footer-link">
875               <svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="18" height="18" viewBox="0 0 50 50">
876                 <path d="M25,2C12.318,2,2,12.318,2,25c0,3.96,1.023,7.854,2.963,11.29L2.037,46.73c-0.096,0.343-0.003,0.711,0.245,0.966 C2.473,47.893,2.733,48,3,48c0.08,0,0.161-0.01,0.24-0.029l10.896-2.699C17.463,47.058,21.21,48,25,48c12.682,0,23-10.318,23-23 S37.682,2,25,2z M36.57,33.116c-0.492,1.362-2.852,2.605-3.986,2.772c-1.018,0.149-2.306,0.213-3.72-0.231 c-0.857-0.27-1.957-0.628-3.366-1.229c-5.923-2.526-9.791-8.415-10.087-8.804C15.116,25.235,13,22.463,13,19.594 s1.525-4.28,2.067-4.864c0.542-0.584,1.181-0.73,1.575-0.73s0.787,0.005,1.132,0.021c0.363,0.018,0.85-0.137,1.329,1.001 c0.492,1.168,1.673,4.037,1.819,4.33c0.148,0.292,0.246,0.633,0.05,1.022c-0.196,0.389-0.294,0.632-0.59,0.973 s-0.62,0.76-0.886,1.022c-0.296,0.291-0.603,0.606-0.259,1.19c0.344,0.584,1.529,2.493,3.285,4.039 c2.255,1.986,4.158,2.602,4.748,2.894c0.59,0.292,0.935,0.243,1.279-0.146c0.344-0.39,1.476-1.703,1.869-2.286 s0.787-0.487,1.329-0.292c0.542,0.194,3.445,1.604,4.035,1.896c0.59,0.292,0.984,0.438,1.132,0.681 C37.062,30.587,37.062,31.755,36.57,33.116z"></path>
877               </svg>
878             </a>
879           `;
880            $("#social_links").append(whatsapp);
881          }
882          if (res.social_links.thread) {
883            var thread = `
884             <a href="${res.social_links.thread}" aria-label="thread" class="ms-4 link-secondary social-footer-link">
885               <svg xmlns="http://www.w3.org/2000/svg" version="1.0" width="478.000000pt" height="478.000000pt" viewBox="0 0 478.000000 478.000000" preserveAspectRatio="xMidYMid meet">
886                 <g transform="translate(0.000000,478.000000) scale(0.100000,-0.100000)" fill="#000000" stroke="none">
887                 <path d="M850 4773 c-14 -2 -58 -13 -99 -24 -351 -94 -618 -362 -723 -725 l-23 -79 0 -1555 0 -1555 23 -79 c103 -357 353 -612 707 -723 l90 -28 1560 0 1560 0 79 23 c364 105 623 364 728 728 l23 79 0 1555 0 1555 -23 79 c-72 250 -218 453 -422 588 -97 64 -169 98 -290 136 l-85 27 -1540 1 c-847 1 -1551 0 -1565 -3z m1900 -608 c509 -85 866 -367 1109 -878 90 -187 105 -226 89 -232 -60 -23 -324 -92 -329 -87 -3 4 -21 50 -38 102 -150 436 -436 687 -875 767 -123 23 -429 22 -579 -1 -438 -68 -729 -329 -882 -791 -71 -216 -100 -448 -92 -749 11 -467 121 -802 336 -1028 160 -169 381 
887-289 631 -344 114 -25 418 -25 565 0 216 36 393 119 528 245 234 220 312 517 200 758 -33 70 -102 162 -158 207 -47 39 -65 40 -65 2 0 -45 -42 -183 -80 -261 -78 -163 -195 -281 -355 -361 -129 -64 -223 -86 -370 -86 -90 0 -140 5 -200 21 -295 77 -475 297 -475 576 1 254 153 472 396 567 118 45 228 58 512 58 l253 0 -6 23 c-23 80 -79 174 -139 232 -104 102 -228 133 -408 102 -116 -20 -186 -54 -254 -122 -30 -30 -57 -55 -59 -55 -5 0 -237 150 -249 160 -15 15 40 93 113 162 81 77 193 137 316 169 109 29 349 32 445 6 304 -84 508 -315 555 -629 23 -153 20 -145 78 -174 197 -100 388 -310 467 -515 135 -349 30 -757 -274 -1064 -179 -181 -367 -272 -671 -326 -113 -20 -164 -23 -385 -23 -204 -1 -273 3 -345 17 -357 70 -764 321 -935 576 -117 175 -224 499 -275 831 -23 151 -30 457 -15 620 57 623 334 1122 749 1350 183 100 413 166 676 194 84 9 403 -3 495 -19z"/>
888                 <path d="M2358 2330 c-27 -4 -76 -18 -110 -29 -277 -92 -293 -397 -29 -519 45 -21 75 -27 151 -30 160 -7 290 36 367 121 71 79 133 256 133 381 l0 43 -97 18 c-109 20 -342 28 -415 15z"/>
889                 </g>
890               </svg>
891             </a>
892           `;
893            $("#social_links").append(thread);
894          }
895          if (res.social_links.telegram) {
896            var telegram = `
897             <a href="${res.social_links.telegram}" aria-label="telegram" class="ms-4 link-secondary social-footer-link">
898               <svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="18" height="18" viewBox="0 0 50 50">
899                 <path d="M25,2c12.703,0,23,10.297,23,23S37.703,48,25,48S2,37.703,2,25S12.297,2,25,2z M32.934,34.375	c0.423-1.298,2.405-14.234,2.65-16.783c0.074-0.772-0.17-1.285-0.648-1.514c-0.578-0.278-1.434-0.139-2.427,0.219	c-1.362,0.491-18.774,7.884-19.78,8.312c-0.954,0.405-1.856,0.847-1.856,1.487c0,0.45,0.267,0.703,1.003,0.966	c0.766,0.273,2.695,0.858,3.834,1.172c1.097,0.303,2.346,0.04,3.046-0.395c0.742-0.461,9.305-6.191,9.92-6.693	c0.614-0.502,1.104,0.141,0.602,0.644c-0.502,0.502-6.38,6.207-7.155,6.997c-0.941,0.959-0.273,1.953,0.358,2.351	c0.721,0.454,5.906,3.932,6.687,4.49c0.781,0.558,1.573,0.811,2.298,0.811C32.191,36.439,32.573,35.484,32.934,34.375z"></path>
900               </svg>
901             </a>
902           `;
903            $("#social_links").append(telegram);
904          }
905          if (res.social_links.reddit) {
906            var reddit = `
907             <a href="${res.social_links.reddit}" aria-label="reddit" class="ms-4 link-secondary social-footer-link">
908               <svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="100" height="100" viewBox="0 0 50 50">
909                 <path d="M 29 3 C 26.894531 3 24.433594 4.652344 24.0625 12.03125 C 24.375 12.023438 24.683594 12 25 12 C 25.351563 12 25.714844 12.019531 26.0625 12.03125 C 26.300781 7.597656 27.355469 5 29 5 C 29.703125 5 30.101563 5.382813 30.84375 6.1875 C 31.710938 7.128906 32.84375 8.351563 35.0625 8.8125 C 35.027344 8.550781 35 8.269531 35 8 C 35 7.578125 35.042969 7.179688 35.125 6.78125 C 33.75 6.40625 33.023438 5.613281 32.3125 4.84375 C 31.519531 3.984375 30.609375 3 29 3 Z M 41 4 C 38.792969 4 37 5.796875 37 8 C 37 10.203125 38.792969 12 41 12 C 43.207031 12 45 10.203125 45 8 C 45 5.796875 43.207031 4 41 4 Z M 25 14 C 12.867188 14 3 20.179688 3 29 C 3 37.820313 12.867188 45 25 45 C 37.132813 45 47 37.820313 47 29 C 47 20.179688 37.132813 14 25 14 Z M 7.5 14.9375 C 6.039063 14.9375 4.652344 15.535156 3.59375 16.59375 C 1.871094 18.316406 1.515625 20.792969 2.5 22.84375 C 4.011719 19.917969 6.613281 17.421875 9.96875 15.5625 C 9.207031 15.175781 8.363281 14.9375 7.5 14.9375 Z M 42.5 14.9375 C 41.636719 14.9375 40.792969 15.175781 40.03125 15.5625 C 43.386719 17.421875 45.988281 19.917969 47.5 22.84375 C 48.484375 20.792969 48.128906 18.316406 46.40625 16.59375 C 45.347656 15.535156 43.960938 14.9375 42.5 14.9375 Z M 17 23 C 18.65625 23 20 24.34375 20 26 C 20 27.65625 18.65625 29 17 29 C 15.34375 29 14 27.65625 14 26 C 14 24.34375 15.34375 23 17 23 Z M 33 23 C 34.65625 23 36 24.34375 36 26 C 36 27.65625 34.65625 29 33 29 C 31.34375 29 30 27.65625 30 26 C 30 24.34375 31.34375 23 33 23 Z M 16.0625 34 C 16.3125 34.042969 16.558594 34.183594 16.71875 34.40625 C 16.824219 34.554688 19.167969 37.6875 25 37.6875 C 30.910156 37.6875 33.257813 34.46875 33.28125 34.4375 C 33.597656 33.988281 34.234375 33.867188 34.6875 34.1875 C 35.136719 34.503906 35.222656 35.109375 34.90625 35.5625 C 34.789063 35.730469 31.9375 39.6875 25 39.6875 C 18.058594 39.6875 15.210938 35.730469 15.09375 35.5625 C 14.777344 35.109375 14.859375 34.503906 15.3125 34.1875 C 15.539063 34.027344 15.8125 33.957031 16.0625 34 Z"></path>
910               </svg>
911             </a>
912           `;
913            $("#social_links").append(reddit);
914          }
915        } catch (err) {
916          console.error(err, "social links");
917        }
918        contrast_color(footer_link_color, "btn-footer",'color');
919      }
920    },
921  });
922};
923
924try{
925  get_footer_data()
926}catch(err){
927  console.log('error in footer ',err)
928}

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.