(()=>{const t=()=>{const t=window.location.href;document.querySelector(".twitter-link").setAttribute("href",`https://twitter.com/intent/tweet?text=${t}`),document.querySelector(".facebook-link").setAttribute("href",`https://www.facebook.com/sharer/sharer.php?u=${t}`),document.querySelector(".pinterest-link").setAttribute("href",`https://pinterest.com/pin/create/button/?url=${t}`),document.querySelector(".linkedin-link").setAttribute("href",`https://www.linkedin.com/shareArticle?mini=true&url=${t}`),document.querySelector(".reddit-link").setAttribute("href",` https://reddit.com/submit?url=${t}`),document.querySelector(".whatsapp-link").setAttribute("href",`https://api.whatsapp.com/send?text=${t}`),document.querySelector(".email-link").setAttribute("href",`mailto:?subject= . ${t} . &body=Check out this site: . ${t} ." title="Share by Email`),document.querySelector(".wordpress-link").setAttribute("href",`https://wordpress.com/press-this.php?u=${t}`)};t(),window.addEventListener("click",(()=>{popUp=document.querySelector(".gutenify-popup-container"),popUp&&(contents=Array.from(document?.querySelectorAll(".wp-block-gutenify-social-share")),contents&&t())}))})();