PageSourceSearch

https://tlgrm.ru/assets/3.5.33-32f0f3c/js/splash.js.d0f545f9.js

js tlgrm.ru collected 2026-09-24 09:41:18 UTC 3,694 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7c2095f9-9e5e-4458-a1d1-87006c79fe27",e._sentryDebugIdIdentifier="sentry-dbid-7c2095f9-9e5e-4458-a1d1-87006c79fe27")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"v3.5.33-32f0f3c"},(self.webpackChunktlgrm_static=self.webpackChunktlgrm_static||[]).push([[915],{67931:function(e,t,n){n(19443);!function(){const e=document.getElementsByClassName("js-extra")[0],t=document.getElementsByClassName("js-app-link")[0],n=document.getElementsByClassName("js-platform-name")[0],a=document.getElementById("dl_apps_list"),s=e.parentElement.getElementsByTagName("svg")[0],i=s.children[0].getAttribute("xlink:href").split("#")[0],l=navigator.userAgent;[{id:"windows_xp",regex:/windows nt (?:5.\d|6\.0)/i,defaultName:"Windows",flavours:[{name:"Windows Vista",regex:/NT 6\.0/i},{name:"Windows XP",regex:/NT 5\.\d/i}]},{id:"windows",regex:/windows nt/i,defaultName:"Windows",flavours:[{name:"Windows 10",regex:/NT 10\.\d/i},{name:"Windows 7",regex:/NT 6\.1/i,icon:"windows_xp"},{name:"Windows 8",regex:/NT 6\.[2-3]/i}]},{id:"android",regex:/Android/i,defaultName:"Android",flavours:[]},{id:"ios",regex:/ios|iphone|ipad/i,defaultName:"iOS",icon:"apple",flavours:[{name:"iPhone",regex:/iphone/i},{name:"iPad",regex:/ipad/i}]},{id:"mac",regex:/mac os x/i,defaultName:"macOS",icon:"apple",flavours:[{name:"Mac OS X",regex:/Mac OS X 10_[0-7]_/i},{name:"OS X",regex:/Mac OS X 10_(?:[8-9]|10|11)/i}]},{id:"linux",regex:/Linux/i,defaultName:"Linux",flavours:[{name:"Ubuntu",regex:/ubuntu/i,icon:"ubuntu"}]}].some(({id:o,icon:r,regex:d,defaultName:c,flavours:u})=>{if(!l.match(d))return!1;const f=window._apps[o];let m=c,g=r||o;const p=u.find(e=>l.match(e.regex));p?.name&&(m=p.name),p?.icon&&(g=p.icon),t.href=f.link,e.innerHTML=f.extra.replace(/\[([^\]]*)\]\(([^)]*)\)/g,(e,t,n)=>`<a href="${n}" target="_blank" rel="nofollow noreferrer">${t}</a>`),n.innerHTML=m,s.children[0].setAttribute("xlink:href",i+"#icn_"+g),s.classList.remove("intro__button-icon--default"),s.classList.add("intro__button-icon--"+g),a.dataset.platform="android"===o||"ios"===o?"mobile":"desktop";const w=a.querySelector(`[data-os="${o}"]`);return w&&(w.style.display="none"),!0});const o=document.getElementsByClassName("intro-downloads")[0];document.addEventListener("click",e=>{e.target.matches(".intro__button_caret")?o.classList.toggle("show"):o.classList.contains("show")&&o.classList.remove("show")});const r=document.getElementsByClassName("splgallery")[0],d=r.getElementsByClassName("splgallery__slides")[0],c=r.querySelectorAll(".splgallery__menu_item");if(null==r.offsetParent)return!1;let u=0;const f=function(){++u>=c.length&&(u=0),c[u].children[0].click()};let m=window.setInterval(f,8e4),g=0;const p=[];Array.prototype.forEach.call(d.getElementsByClassName("splgallery__slide"),(e,t)=>{p[t]=g,g+=900}),d.style.width=g+"px",r.addEventListener("click",e=>!!e.target.matches(".splgallery__menu_link")&&(e.preventDefault(),e.stopPropagation(),clearInterval(m),m=window.setInterval(f,8e4),u=e.target.dataset.slide-1,c.forEach((e,t)=>{t===u?(e.classList.remove("inact"),e.classList.add("act")):(e.classList.remove("act"),e.classList.add("inact"))}),d.style.transform="translate("+-p[u]+"px, 0)",!0))}()}},function(e){e.O(0,[862,443],function(){return t=67931,e(e.s=t);var t});e.O()}]);
2//# sourceMappingURL=splash.js.d0f545f9.js.map

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.