PageSourceSearch

https://superomsk.ru/_astro/PopunderBanner.astro_astro_type_script_index_0_lang.C3cPM4fs.js

js superomsk.ru collected 2026-10-02 07:40:43 UTC 2,378 bytes, 1 lines download raw bytes

1import{h as e,t}from"./pwa.BNJ2VCi0.js";var n=`goldenfond`,r=900,i=600,a=10,o=100,s=50,c=null;function l(e){let t=`${e}=`,n=document.cookie.split(`;`);for(let e of n){let n=e.trim();if(n.startsWith(t))return n.slice(t.length)}return``}function u(e,t,n){document.cookie=`${e}=${t}; path=/; max-age=${n}; samesite=lax`}function d(){c!==null&&(clearInterval(c),c=null),document.getElementById(`openwindow`)?.remove(),document.getElementById(`backgroundform`)?.remove(),document.body.style.overflow=`auto`}function f(){if(e())return!1;let t=document.getElementById(`openwindow`),o=document.querySelector(`.popunder-link`);if(!t||!o)return!1;if(t.dataset.popunderReady===`1`)return!0;if(t.dataset.popunderReady=`1`,l(n)===`1`)return d(),!0;if(u(n,`1`,10800),typeof window.superomskReachGoal==`function`&&typeof window.superomskPopunderShowGoal==`function`&&window.superomskReachGoal(window.superomskPopunderShowGoal()),document.body.style.overflow=`hidden`,!document.getElementById(`backgroundform`)){let e=document.createElement(`div`);e.id=`backgroundform`,e.addEventListener(`click`,d),document.body.insertBefore(e,t)}if(!document.getElementById(`my-close`)){let e=document.createElement(`div`);e.id=`my-close`,e.className=`slow`,e.innerHTML=`<p class="one">ПРОПУСТИТЬ</p><p class="two">Закроется через: <span id="timePop">${a}</span></p>`,e.addEventListener(`click`,d),t.appendChild(e)}let s=window.matchMedia(`(max-width: 991px)`).matches,f=r,p=i;if(s){f=Math.min(r,Math.max(0,window.innerWidth-16)),p=Math.round(i/r*f);let e=Math.max(0,window.innerHeight-16);p>e&&(p=e)}t.style.width=`${f}px`,t.style.height=`${p}px`,t.style.display=`block`,t.style.padding=`5px`,s?(t.style.marginLeft=`0`,t.style.marginTop=`0`):(t.style.marginLeft=`${-(Math.floor(f/2)+5)}px`,t.style.marginTop=`${-(Math.floor(p/2)+5)}px`,t.style.transform=``);let m=document.getElementById(`openwindow-content`);m&&(m.style.height=`${t.offsetHeight}px`);let h=a,g=document.getElementById(`timePop`);return c=window.setInterval(()=>{if(--h,h>0){g&&(g.textContent=String(h));return}d()},1e3),!0}function p(){let n=0,r=window.setInterval(()=>{let t=e();if(f()){window.clearInterval(r);return}t||(n+=1,n>=s&&window.clearInterval(r))},o);window.addEventListener(t,()=>{n=0,f()})}function m(){p()}document.readyState===`loading`?document.addEventListener(`DOMContentLoaded`,m,{once:!0}):m();

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.