PageSourceSearch

https://agroportal.su/wp-content/cache/autoptimize/autoptimize_sin…8441bb7bc4aee70250b7ec007218e.php?ver=1.0.1

js agroportal.su collected 2026-10-08 18:49:11 UTC 2,095 bytes, 4 lines download raw bytes

1jQuery(document).ready(function($){let areaChart,compareChart;function calculateArea(){let length=parseFloat($('#ta_length').val())||0;let width=parseFloat($('#ta_width').val())||0;let tracks=parseInt($('#ta_tracks_count').val());let area=tracks*length*width;return{area:area,length:length,width:width,tracks:tracks};}
2function updateUI(){let{area,length,width,tracks}=calculateArea();$('#ta_result_value').text(area.toFixed(2));let percent=Math.min(100,(area/5)*100);$('#ta_gauge_fill').css('width',percent+'%');if(area<1.5)$('#ta_recommend').text('⚠️ Малая опорная площадь! Высок риск переуплотнения почвы.');else if(area<2.5)$('#ta_recommend').text('🟡 Удовлетворительная площадь, но для тяжёлых тракторов желательно больше.');else $('#ta_recommend').text('✅ Отличная опорная площадь! Давление на почву в норме.');if(areaChart)areaChart.destroy();let ctx=document.getElementById('ta_areaChart').getContext('2d');areaChart=new Chart(ctx,{type:'bar',data:{labels:['Ваша опорная площадь (м²)','Рекомендуемый минимум (2.5 м²)','Идеал (3.5+ м²)'],datasets:[{label:'Площадь (м²)',data:[area.toFixed(2),2.5,3.5],backgroundColor:['#2d6a4f','#ffb74d','#4caf50']}]}});}
3if(document.getElementById('ta_compareChart')){let ctx2=document.getElementById('ta_compareChart').getContext('2d');compareChart=new Chart(ctx2,{type:'radar',data:{labels:['Опорная площадь (м²)','Давление (кПа)','Сцепление (усл.)','Риск уплотнения'],datasets:[{label:'Гусеничный трактор',data:[2.5,45,85,30],backgroundColor:'rgba(45,106,79,0.2)',borderColor:'#2d6a4f'},{label:'Колёсный трактор',data:[0.96,120,65,78],backgroundColor:'rgba(255,183,77,0.2)',borderColor:'#ffb74d'}]}});}
4$('#ta_calc_btn').on('click',function(e){e.preventDefault();updateUI();$('.ta-gauge-fill').css('transition','width 0.8s ease');});updateUI();});

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.