1if (typeof(window.gcCounter) === "undefined") { 2 var getTimeZoneData = function() { 3 var today = new Date(); 4 return encodeURI(today.getFullYear() + "-" + (today.getMonth() + 1) + "-" + today.getDate() + " " + today.getHours() + ":" + today.getMinutes()); 5 }; 6 7 try { 8 var tz = getTimeZoneData(), 9 urlAdd = ""; 10 11 if (window.gcsObjectType) { 12 urlAdd = "&objectType=" + window.gcsObjectType; 13 } 14 15 if (window.gcsObjectId) { 16 urlAdd = "&objectId=" + window.gcsObjectId; 17 } 18 19 if (window.gcUniqId) { 20 urlAdd += "&uniqId=" + encodeURIComponent(window.gcUniqId); 21 } 22 23 if (window.gcsObjectTypeId) { 24 urlAdd += "&objectTypeId=" + window.gcsObjectTypeId; 25 } 26 27 if ( 28 undefined !== window.csrfToken && window.csrfToken && undefined !== window.gcSessionId && !window.gcSessionId 29 ) { 30 urlAdd += "&token=" + window.csrfToken; 31 } 32 33 let statUrl = "/stat/counter?ref=" + encodeURIComponent(document.referrer) + "&loc=" + encodeURIComponent(document.location.href) + urlAdd + "&tzof=" + tz; 34 35 if (typeof(window.isSessionLocalStorageEnabled) === "undefined" || !window.isSessionLocalStorageEnabled) { 36 addCounterImage("gccounterImg", statUrl); 37 } else { 38 var script = document.createElement("script"); 39 script.type = "text/javascript"; 40 script.async = true; 41 script.src = statUrl; 42 document.body.appendChild(script); 43 } 44 window.gcCounter = 1; 45 } catch (e) { 46 addCounterImage("gccounterErrImg"); 47 } 48} 49 50function gcFixIncident( type, subtype ) { 51 var data = {}; 52 data.type = type; 53 data.subtype = subtype; 54 data.userId = window.accountUserId; 55 data.sessionId = window.gcSessionId; 56 57 ajaxCall( "/pl/stat/counter/fix-incident", data, {}, function( response ) { 58 59 } ); 60} 61 62function addCounterImage(id, src) 63{ 64 var img = new Image(1, 1); 65 66 if (src) { 67 img.src = src; 68 } 69 70 if (id) { 71 img.id = id; 72 } 73 74 img.style = "position: absolute; left: 0; top: 0"; 75 76 document.body.appendChild(img); 77}
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.