PageSourceSearch

http://sarman-rt.ru/build/assets/customShareFriends-bedf4414.js

js sarman-rt.ru collected 2026-10-02 19:45:22 UTC 778 bytes, 1 lines download raw bytes

1class h{constructor(o={}){this.btnSelector=o.btnSelector||".js-share-btn",this.networks={vk:(t,e)=>`https://vk.com/share.php?url=${encodeURIComponent(t)}&title=${encodeURIComponent(e)}`,ok:(t,e)=>`https://connect.ok.ru/offer?url=${encodeURIComponent(t)}&title=${encodeURIComponent(e)}`,max:(t,e)=>`https://max.ru/:share?text=${encodeURIComponent(e+" "+t)}`}}openPopup(o){const n=screen.width/2-300,s=screen.height/2-400/2;window.open(o,"_blank",`width=600,height=400,left=${n},top=${s},resizable=yes,scrollbars=yes`)}init(){document.addEventListener("click",o=>{const t=o.target.closest(this.btnSelector);if(!t)return;o.preventDefault();const e=t.dataset.network,n=window.location.href,s=document.title;this.networks[e]&&this.openPopup(this.networks[e](n,s))})}}export{h as S};

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.