"use strict";document.addEventListener("click",t=>{let e=t.target.classList.contains("gs-share-link")?t.target:t.target.closest(".gs-share-link");if(e){t.preventDefault();let i=e.getAttribute("data-href"),s=e.getAttribute("data-service");if("copy"===s){GSwriteClipboardText(i);GSshowSnackbar(e.getAttribute("data-snackbar"))}else{let a="pinterest"===s?750:650,r="twitter"===s||"linkedin"===s?500:"pinterest"===s?320:300,n,l=`top=${screen.height/2-r/2},left=${screen.width/2-a/2},width=${a},height=${r}`;window.open(i,s,l)}}},!1);