1function realtimePosting(b){var f=b.topicPrefixId,n=document.querySelector("#realtimeCountdown-"+f),u=document.querySelector("#newDiscussion-"+f);n.classList.remove("pie-area");fetch("/realtimeposting/?"+(new URLSearchParams(b)).toString(),{method:"GET",headers:{Accept:"application/json"},cache:"no-cache"}).then(function(c){if(!c.ok)throw Error("Netzwerkfehler: "+c.status);return c.json()}).then(function(c){if(!Array.isArray(c))throw Error("Ung\u00fcltige Daten: Array erwartet");var r={};document.querySelectorAll('[id^="targetRow'+ 2f+'-"]').forEach(function(d){d.classList.remove("posUp","posDown","newPost");var e=parseInt(d.dataset.postid)||0;e&&(r[e]={oldKey:parseInt(d.dataset.oldkey)||0,oldCount:parseInt(d.dataset.oldcount)||0})});c.forEach(function(d,e){if(d&&d.topicId){var g=e+1,p=d.topicPostingCount||0,k=d.topicId||0,a=document.querySelector("#targetRow"+f+"-"+g);if(a){var h=r[k]||{oldKey:g,oldCount:0},q=a.querySelector("td.sort-content a"),t=a.querySelector("td.sort-content small"),v=a.querySelector("td.sort-perf");if(h.oldKey&& 3g!==h.oldKey){var l=g<h.oldKey;setTimeout(function(){a.classList.add(l?"posUp":"posDown")},100*e)}p>h.oldCount&&!a.classList.contains("posUp")&&!a.classList.contains("posDown")&&setTimeout(function(){a.classList.add("newPost")},100*e);a.querySelectorAll(".sort-arrow i").forEach(function(m){m.style.display="none"});if(e=a.querySelector(".sort-arrow ."+(h.oldKey&&g<h.oldKey?"fa-rotate-270":h.oldKey&&g>h.oldKey?"fa-rotate-90":"fa-sort")))e.style.display="inline-block";a.dataset.oldkey=g;a.dataset.oldcount= 4p;a.dataset.postid=k;q.setAttribute("href",d.topicUrl||"#");q.textContent=d.topicTitle||"";t&&(t.textContent=d.isMainTopic?"Hauptdiskussion":"");v.innerHTML=d.perf||"";a.setAttribute("aria-label",g<h.oldKey?"Position gestiegen":g>h.oldKey?"Position gefallen":"Position gleich")}}});n.classList.add("pie-area");u.querySelector("tbody").setAttribute("aria-live","polite")}).catch(function(c){console.error("Fehler beim Ajax-Aufruf f\u00fcr Realtime-Posting:",c);c=document.createElement("tr");c.innerHTML= 5'<td colspan="4" class="text-center text-danger">Fehler beim Laden der Daten</td>';u.appendChild(c);n.classList.add("pie-area");setTimeout(function(){realtimePosting(b)},5E3)})} 6function realtimePostingList(b){function f(l){l=l?"running":"paused";for(var m=0;m<k.length;m++)k[m].style.animationPlayState=l}function n(){e?(h.innerHTML="Play",a.classList.remove("text-muted"),a.classList.add("text-success"),q.classList.remove("fa-pause"),q.classList.add("fa-play")):(h.innerHTML="Pause",a.classList.remove("text-success"),a.classList.add("text-muted"),q.classList.remove("fa-play"),q.classList.add("fa-pause"))}function u(){for(var l=0;l<k.length;l++)k[l].style.animation="none";requestAnimationFrame(function(){requestAnimationFrame(function(){for(var m= 70;m<k.length;m++)k[m].style.animation=""})})}function c(){g=0;realtimePosting(d);u()}function r(){null!==p&&clearInterval(p);p=setInterval(function(){e||(g++,15<=g&&c())},1E3)}var d=b;b=d.topicPrefixId;var e=!1,g=0,p=null,k=document.getElementById("realtimeCountdown-"+b).querySelectorAll(".spinner, .filler, .mask"),a=document.getElementById("realtimeStop-"+b),h=document.getElementById("realtimeStopText-"+b),q=document.getElementById("realtimeStopIcon-"+b);a.onclick=function(){(e=!e)?f(!1):(c(),r()); 8n();return!1};var t=function(){e||f(!0)},v=function(){f(!1)};window.addEventListener("focus",t);window.addEventListener("blur",v);f(!0);n();setTimeout(function(){c();r()},1E3*b);return{destroy:function(){null!==p&&clearInterval(p);window.removeEventListener("focus",t);window.removeEventListener("blur",v);a.onclick=null},pause:function(){e=!0;f(!1);n()},resume:function(){e=!1;c();r();n()}}}var realtimePostingTables=document.querySelectorAll('[id^="newDiscussion-"]'),tableInstances=[]; 90<realtimePostingTables.length&&realtimePostingTables.forEach(function(b){b=b.dataset.realtimePostingTablesId;window["realtimePosting_"+b]&&tableInstances.push(realtimePostingList(window["realtimePosting_"+b]))});var globalPauseButton=document.getElementById("realtimeStop-All"); 10if(globalPauseButton){var globalPaused=!1,globalIcon=document.getElementById("realtimeStopIcon-All"),globalText=document.getElementById("realtimeStopText-All");function b(){globalPaused?(globalIcon.classList.remove("fa-pause"),globalIcon.classList.add("fa-play"),globalText.innerHTML="Play",globalPauseButton.classList.remove("text-muted"),globalPauseButton.classList.add("text-success")):(globalIcon.classList.remove("fa-play"),globalIcon.classList.add("fa-pause"),globalText.innerHTML="Pause",globalPauseButton.classList.remove("text-success"), 11globalPauseButton.classList.add("text-muted"))}globalPauseButton.onclick=function(){globalPaused=!globalPaused;for(var f=0;f<tableInstances.length;f++)globalPaused?tableInstances[f].pause():tableInstances[f].resume();b();return!1};b()};
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.