1const s=(e,t)=>{e.addEventListener("click",()=>{confirm(t)&&window.open("https://www.facebook.com/sharer.php?u="+encodeURIComponent(document.URL)+"&t="+encodeURIComponent(document.URL))})},d=(e,t)=>{e.addEventListener("click",()=>{confirm(t)&&window.open("https://twitter.com/intent/tweet?text="+encodeURIComponent(document.title)+":%20"+encodeURIComponent(document.URL))})},a=(e,t)=>{e.addEventListener("click",()=>{confirm(t)&&window.open("https://www.linkedin.com/shareArticle?url="+encodeURIComponent(document.URL)+"&mini=true")})},p=e=>{e.addEventListener("click",()=>{window.open("mailto:?subject="+encodeURIComponent(document.title)+"&body="+encodeURIComponent(document.URL))})},u=e=>{e.addEventListener("click",()=>{window.print()})},m=e=>{const t=e.querySelector(".js-share-facebook"),o=e.querySelector(".js-share-twitter"),i=e.querySelector(".js-share-linkedin"),r=e.querySelector(".js-share-mail"),c=e.querySelector(".js-share-print"),n=e.dataset.confirmMessage??"Are you sure?";t&&s(t,n),o&&d(o,n),i&&a(i,n),r&&p(r),c&&u(c)};export{m as ContentShareLinks};
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.