1(function(){var d=document,html=d.documentElement;function $(s,r){return(r||d).querySelector(s);} 2function $$(s,r){return Array.prototype.slice.call((r||d).querySelectorAll(s));} 3$$('.tgl button').forEach(function(b){b.addEventListener('click',function(){var t=b.getAttribute('data-theme');if(t==='light')html.setAttribute('data-theme','light');else html.setAttribute('data-theme','dark');try{localStorage.setItem('priliv_theme',t);}catch(e){}});});var bur=$('.burger'),mnav=$('.mnav');if(bur&&mnav){bur.addEventListener('click',function(){mnav.classList.toggle('on');});$$('a',mnav).forEach(function(a){a.addEventListener('click',function(){mnav.classList.remove('on');});});} 4var quiz=$('#quiz');if(quiz){var steps=$$('.qstep',quiz),cur=0,ans={},back=$('.qback',quiz),num=$('.qn',quiz),bar=$('.qprog i',quiz);var show=function(i){steps[cur].classList.remove('on');cur=i;steps[cur].classList.add('on');num.textContent='Шаг '+(cur+1)+' из '+steps.length;bar.style.width=((cur+1)/steps.length*100)+'%';back.hidden=cur===0;if(cur===steps.length-1){fill();mhPrice();}};var fill=function(){['q1','q2','q3','q4'].forEach(function(q){var f=$('input[name="'+q+'"]',quiz);if(f)f.value=ans[q]||'';});};var MHP={'Ð¡Ð°Ð¹Ñ Ñ Ð²Ð¾Ñонкой CJM':[['ÐÑодаÑÑий ÑÐ°Ð¹Ñ (лендинг)',10000],['ÐÑлÑÑилендинг â неÑколÑко поÑадоÑнÑÑ ÑÑÑаниÑ',15000],['ÐнÑеÑнеÑ-магазин',20000]],'SEO-пÑодвижение':[['ÐеÑвиÑное SEO',5000]],'ÐÑиложение Ñ AR':[['WebAR-пÑимеÑка ÑоваÑа в 3D Ð´Ð»Ñ Ð¸Ð½ÑеÑнеÑ-магазина',15000],['ÐнÑеÑÑÐµÐ¹Ñ Ð¼Ð¾Ð±Ð¸Ð»Ñного пÑÐ¸Ð»Ð¾Ð¶ÐµÐ½Ð¸Ñ (Android, iOS)',25000],['ÐобилÑное пÑиложение Ñ Ð´Ð¾Ð¿Ð¾Ð»Ð½ÐµÐ½Ð½Ð¾Ð¹ ÑеалÑноÑÑÑÑ Ð¿Ð¾Ð´ клÑÑ',90000]],'Реклама в ЯндекÑ.ÐиÑекÑ':[['ÐÑÐ´Ð¸Ñ ÑÐµÐºÐ»Ð°Ð¼Ñ Ð¯Ð½Ð´ÐµÐºÑ.ÐиÑекÑ','0 ÑÑб.'],['ÐаÑÑÑойка ÑекламÑ','назовÑм поÑле аÑдиÑа'],['УÑлÑги ÑÑÑдии по пÑайÑÑ',3000]],'ÐÐ-ÑоÑÑÑдник':[['ÐÐ-Ð°Ð³ÐµÐ½Ñ Ð´Ð»Ñ Ð±Ð¸Ð·Ð½ÐµÑа: ÑеÑÑ','3 Ð´Ð½Ñ Ð±ÐµÑплаÑно'],['УÑлÑги ÑÑÑдии по пÑайÑÑ',3000]],'Ðока не знаÑ, нÑжен ÑовеÑ':[['СайÑ-визиÑка (ÑпеÑпÑедложение)',3000],['ÐеÑвиÑное SEO',5000],['ÐнÑеÑнеÑ-магазин (ÑпеÑпÑедложение)',10000]]};var mhRub=function(v){return typeof v==='number'?'Ð¾Ñ '+String(v).replace(/\B(?=(\d{3})+(?!\d))/g,' ')+' ÑÑб.':v;};var mhEsc=function(v){return String(v).replace(/[&<>"]/g,function(c){return{'&':'&','<':'<','>':'>','"':'"'}[c];});};var mhKey=function(){return Object.keys(MHP).filter(function(x){return(ans.q1||'').indexOf(x)>-1;})[0]||'Ðока не знаÑ, нÑжен ÑовеÑ';};var mhCalc=function(){var k=mhKey(),rows=MHP[k].slice();if(k==='Ð¡Ð°Ð¹Ñ Ñ Ð²Ð¾Ñонкой CJM'&&ans.q3==='ТоÑговлÑ, магазин')rows=[rows[2],rows[0],rows[1]];rows=rows.map(function(r){return[r[0],mhRub(r[1])];});return{rows:rows,line:rows.map(function(r){return r[0]+' '+r[1];}).join('; ')};};var mhMsg=function(R){var t='ÐдÑавÑÑвÑйÑе! ÐÑоÑÑл опÑÐ¾Ñ Ð½Ð° ÑайÑе priliv.pro.',L={q1:'ÐÑжно',q2:'СайÑ',q3:'СÑеÑа',q4:'Ðогда'};['q1','q2','q3','q4'].forEach(function(q){if(ans[q])t+='\n'+L[q]+': '+(q==='q1'?mhKey():ans[q]);});return t+'\nРаÑÑÑÑ: '+R.line+'\nХоÑÑ Ð°ÑÐ´Ð¸Ñ ÑайÑа по CJM в подаÑок.';};var mhPrice=function(){var st=steps[steps.length-1],R=mhCalc(),box=$('.mh-pq',st);if(!box){box=d.createElement('div');box.className='mh-pq';st.insertBefore(box,st.firstChild);var h=$('h3',st);if(h)h.textContent='ÐакÑепиÑÑ ÑÐµÐ½Ñ Ð¸ полÑÑиÑÑ Ð°ÑÐ´Ð¸Ñ Ð² подаÑок';var ml0=d.createElement('div');ml0.className='mh-pq-ml';var fw=$('.mhf',st);(fw?fw.parentNode:st).appendChild(ml0);} 5box.innerHTML='<h3>ÐÐ°Ñ ÑаÑÑÑÑ</h3><div class="mh-pq__rows">'+R.rows.map(function(r){return'<div><span>'+mhEsc(r[0])+'</span><b>'+mhEsc(r[1])+'</b></div>';}).join('')+'<div class="mh-pq__gift"><span>РподаÑок за оÑвеÑÑ: аÑÐ´Ð¸Ñ ÑайÑа на налиÑие воÑонки CJM</span><b>0 ÑÑб.</b></div></div>'+'<p class="mh-pq__of" style="font-size:12px;line-height:1.4;color:var(--soft);margin:8px 0 0">Ð¦ÐµÐ½Ñ ÑÐºÐ°Ð·Ð°Ð½Ñ Ð² ÑпÑавоÑнÑÑ ÑелÑÑ Ð¸ не ÑвÐ
5»ÑÑÑÑÑ Ð¿ÑблиÑной оÑеÑÑой. ТоÑнÑÑ ÑÑоимоÑÑÑ Ð½Ð°Ð·Ð¾Ð²Ñм поÑле ÑÑоÑÐ½ÐµÐ½Ð¸Ñ Ð´ÐµÑалей.</p>';var ml=$('.mh-pq-ml',st),msg=mhMsg(R);ml.innerHTML='<span>Ðли напиÑиÑе нам, оÑвеÑÑ Ñже в ÑообÑении:</span><a target="_blank" rel="noopener" href="https://t.me/IgorGoldenS?text='+encodeURIComponent(msg)+'">Telegram</a><a data-m="max" target="_blank" rel="noopener" href="https://max.ru/u/f9LHodD0cOJ15AkMTqWb1UjJvPkA9itgfkCxb09iU5LhNzPSvWk_5RtAtbc">MAX</a><em></em>';$$('a',ml).forEach(function(a){a.onclick=function(){try{if(window.ym)ym(48933782,'reachGoal','quiz_msg');}catch(e){}if(a.getAttribute('data-m')==='max'){try{navigator.clipboard.writeText(msg);}catch(e){}$('em',ml).textContent='ÐÑвеÑÑ ÑкопиÑованÑ: вÑÑавÑÑе Ð¸Ñ Ð² ÑÐ°Ñ MAX.';}};});};steps.forEach(function(st,i){$$('.qo',st).forEach(function(o){o.addEventListener('click',function(){$$('.qo',st).forEach(function(x){x.classList.remove('on');});o.classList.add('on');ans[st.getAttribute('data-q')]=o.textContent.trim();setTimeout(function(){show(i+1);},220);});});});back.addEventListener('click',function(){if(cur>0)show(cur-1);});} 6function tabs(btns,panes,cb){btns.forEach(function(b,i){b.addEventListener('click',function(){btns.forEach(function(x){x.classList.toggle('on',x===b);});panes.forEach(function(p,j){p.classList.toggle('on',j===i);});if(cb)cb(i);});});} 7tabs($$('#prices .tabs button'),$$('#prices .rows'));var gb=$$('.gtabs button'),gp=$$('.gl .gpane'),gm=$$('.map .gpane');var vid=function(i){var v=gp[i]&&$('video',gp[i]);if(v&&!v.src&&v.getAttribute('data-src')){v.src=v.getAttribute('data-src');} 8$$('video',d.querySelector('.gl')||d).forEach(function(x){if(x!==v)x.pause();});if(v){var p=v.play();if(p&&p.catch)p.catch(function(){});} 9var m=gm[i];if(m&&!m.src&&m.getAttribute('data-src'))m.src=m.getAttribute('data-src');};tabs(gb,gp,function(i){gm.forEach(function(m,j){m.classList.toggle('on',j===i);});vid(i);});if(gp.length&&'IntersectionObserver'in window){var io=new IntersectionObserver(function(es){es.forEach(function(e){if(e.isIntersecting){vid(gb.indexOf($('.gtabs button.on')));io.disconnect();}});},{rootMargin:'200px'});io.observe(gp[0]);} 10var gf=$('#formula');if(gf){var num2=function(s){var n=parseFloat(String(s).replace(/\s| /g,'').replace(',','.'));return isFinite(n)?n:0;};var rub=function(n){return Math.round(n).toString().replace(/\B(?=(\d{3})+(?!\d))/g,' ')+' ÑÑб.';};var fmt=function(n,k){return(k==='ltv'?(Math.round(n*100)/100).toString().replace('.',','):(Math.round(n*10)/10).toString().replace('.',',').replace(/\B(?=(\d{3})+(?!\d))/g,' '));};var calc=function(){var v={};$$('input[data-k]',gf).forEach(function(i){v[i.getAttribute('data-k')]=num2(i.value);});var now=v.tr*v.cv/100*v.ch*v.ltv*v.mg/100,nw=now*Math.pow(1.1,5);$$('[data-n]',gf).forEach(function(c){var k=c.getAttribute('data-n');c.textContent=fmt(v[k]*1.1,k)+(k==='cv'||k==='mg'?' %':'');});$('[data-r=now]',gf).textContent=rub(now);$('[data-r=new]',gf).textContent=rub(nw);$('[data-r=pct]',gf).textContent=now>0?'+'+rub(nw-now)+' в меÑÑÑ, ÑÑо +61 % к пÑибÑли':'ÐаполниÑе вÑе пÑÑÑ ÑиÑÑ';var f=$('input[name=q1]',gf);if(f)f.value='ÑÑаÑик '+v.tr+', конвеÑÑÐ¸Ñ '+v.cv+' %, Ñек '+v.ch+', LTV '+v.ltv+', маÑжа '+v.mg+' %';var f2=$('input[name=q2]',gf);if(f2)f2.value='пÑибÑÐ»Ñ ÑейÑÐ°Ñ '+rub(now)+', поÑле +10 % '+rub(nw);};$$('input[data-k]',gf).forEach(function(i){i.addEventListener('input',calc);});calc();} 11$$('.mhf').forEach(function(w){var s=$('input[name=src]',w);if(s)s.value=w.getAttribute('data-src')||'';});$$('.mhf input[type=tel]').forEach(function(i){i.addEventListener('focus',function(){if(!i.value)i.value='+7 (';});i.addEventListener('input',function(){var x=i.value.replace(/\D/g,'');if(x.charAt(0)==='8'||x.charAt(0)==='7')x=x.slice(1);x=x.slice(0,10);var r='+7 ('+x.slice(0,3);if(x.length>=3)r+=') '+x.slice(3,6);if(x.length>=6)r+='-'+x.slice(6,8);if(x.length>=8)r+='-'+x.slice(8,10);i.value=r;});i.addEventListener('blur',function(){if(i.value==='+7 (')i.value='';});});var row=$('.crow');if(row){var step=function(dir){var c=$('.cc',row);row.scrollBy({left:dir*(c?c.offsetWidth+12:200)*2,behavior:'smooth'});};
11var pv=$('.arr .prev'),nx=$('.arr .next');if(pv)pv.addEventListener('click',function(){step(-1);});if(nx)nx.addEventListener('click',function(){step(1);});} 12var m=$('.mhm'),box=m&&$('.box',m);var open=function(h){box.innerHTML=h;m.classList.add('on');d.body.style.overflow='hidden';};var close=function(){m.classList.remove('on');box.innerHTML='';d.body.style.overflow='';};if(m){d.addEventListener('click',function(e){var v=e.target.closest('[data-video]'),im=e.target.closest('[data-img]');if(v){e.preventDefault();open('<iframe src="'+v.getAttribute('data-video')+'" allow="autoplay; fullscreen; encrypted-media" allowfullscreen></iframe>');} 13else if(im){open('<img src="'+im.getAttribute('data-img')+'" alt="">');} 14else if(e.target===m||e.target.closest('.mhm .x'))close();});d.addEventListener('keydown',function(e){if(e.key==='Escape'&&m.classList.contains('on'))close();});} 15var sm=$('.seo-more');if(sm)sm.addEventListener('click',function(){var t=$('.seo .txt');var o=t.classList.toggle('open');sm.textContent=o?'СвеÑнÑÑÑ':'ЧиÑаÑÑ Ð¿Ð¾Ð´Ñобнее';});})();
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.