1var pageid = ahc_ajax_front.page_id; 2var page_id = (pageid.length > 0) ? pageid : ''; 3var pagetitle = ahc_ajax_front.page_title; 4var page_title = (pagetitle.length > 0) ? pagetitle : ''; 5var posttype = ahc_ajax_front.post_type; 6var post_type = (posttype.length > 0) ? posttype : ''; 7var referer = document.referrer; 8var useragent = window.navigator.userAgent; 9var servername = location.hostname; 10var hostname = location.host; 11var request_uri = location.pathname.substring(1); 12// اÙÙ query string ÙØÙ Ù Ù Ø¹Ø§Ù ÙØ§Øª Ø§ÙØÙ ÙØ© (utm_source/utm_medium/...) â ÙØ±Ø³ÙÙ 13// ÙÙØ³ÙØ±ÙØ± ÙÙØªÙ ÙÙÙ Ù Ù ØªØØ¯Ùد ٠صدر Ø§ÙØ²Ùارة Ù Ù Ø§ÙØÙ ÙØ© ÙÙÙØ³ ÙÙØ· ٠٠اÙÙ referer. 14var page_query = location.search; 15 16var xhttp = new XMLHttpRequest(); 17 18xhttp.open("POST", ahc_ajax_front.ajax_url, true); 19xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); 20xhttp.send("action=ahcpro_track_visitor" + 21 "&page_id=" + encodeURIComponent(page_id) + 22 "&page_title=" + encodeURIComponent(page_title) + 23 "&post_type=" + encodeURIComponent(post_type) + 24 "&referer=" + encodeURIComponent(referer) + 25 "&useragent=" + encodeURIComponent(useragent) + 26 "&servername=" + encodeURIComponent(servername) + 27 "&hostname=" + encodeURIComponent(hostname) + 28 "&page_query=" + encodeURIComponent(page_query) + 29 "&request_uri=" + encodeURIComponent(request_uri)); 30 31// ============================================================ 32// WordPress Heartbeat API integration 33// ÙØ¶ÙÙ IP Ø§ÙØ²Ø§Ø¦Ø± عÙÙ ÙÙ heartbeat ÙØ±Ø³ÙÙ WordPress تÙÙØ§Ø¦Ùا٠34// ============================================================ 35(function() { 36 function attachHeartbeat() { 37 if (typeof jQuery === 'undefined') { 38 setTimeout(attachHeartbeat, 200); 39 return; 40 } 41 42 jQuery(document).on('heartbeat-send.ahcpro', function(event, data) { 43 if (typeof ahc_ajax_front !== 'undefined' && ahc_ajax_front.visitor_ip) { 44 data['ahcpro_heartbeat_ip'] = ahc_ajax_front.visitor_ip; 45 } 46 }); 47 48 // Ø¥Ø¨ÙØ§Ø¡ اÙÙ heartbeat عÙÙ Ø§ÙØ¥Ø¹Ø¯Ø§Ø¯ اÙÙÙØ§Ø³Ù (ÙÙ 60 ثاÙÙØ©) بد٠fast (15 ثاÙÙØ©) 49 // ÙØªÙÙÙÙ Ø§ÙØ¶ØºØ· عÙÙ Ø§ÙØ³ÙØ±ÙØ± ÙÙØ§Ø¹Ø¯Ø© Ø§ÙØ¨ÙØ§ÙØ§Øª ØªØØª Ø§ÙØªØ±Ø§ÙÙÙ Ø§ÙØ¹Ø§ÙÙ. 50 if (typeof wp !== 'undefined' && wp.heartbeat && typeof wp.heartbeat.interval === 'function') { 51 wp.heartbeat.interval('standard'); 52 } 53 } 54 55 if (document.readyState === 'loading') { 56 document.addEventListener('DOMContentLoaded', attachHeartbeat); 57 } else { 58 attachHeartbeat(); 59 } 60})();
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.