PageSourceSearch

https://online.loeffelhardt.de/assets/20260928124950/el_default/js/comment-thread-list.js

js loeffelhardt.de collected 2026-10-04 19:18:46 UTC 1,493 bytes, 1 lines download raw bytes

1"use strict";(self.webpackJsonp_loeffelhardt=self.webpackJsonp_loeffelhardt||[]).push([[6760],{95339(e,t,o){o.r(t),o.d(t,{default:()=>r});var s=o(27502);class r extends s.A{show(){var e=this.commentThreadSelectComponent;this.onShowCommentThread(e.value),this.scrollDown()}}},27502(e,t,o){o.d(t,{A:()=>r});o(23792),o(62953);var s=o(57142);class r extends s.A{constructor(){super(...arguments),this.commentThreadSelectComponent=void 0,this.commentThread=void 0}readyCallback(){this.commentThreadSelectComponent=document.querySelector(this.commentThreadSelectSelector),this.commentThread=Array.from(this.querySelectorAll("."+this.commentThreadSelector)),this.show(),this.mapEvents()}mapEvents(){this.commentThreadSelectComponent.addEventListener("change",e=>{this.onSelectChange(e)})}show(){var e=this.commentThreadSelectComponent.querySelector("select");this.onShowCommentThread(e.value),this.scrollDown()}onSelectChange(e){var t=e.target;this.onShowCommentThread(t.value),this.scrollDown()}onShowCommentThread(e){this.commentThread.forEach(t=>{t.getAttribute("name")===e?t.classList.remove(this.classToToggle):t.classList.add(this.classToToggle)})}scrollDown(){this.scrollHeight>this.clientHeight&&(this.scrollTop=this.scrollHeight-this.clientHeight)}get commentThreadSelectSelector(){return this.getAttribute("comment-thread-select-selector")}get commentThreadSelector(){return this.getAttribute("comment-thread-selector")}get classToToggle(){return this.getAttribute("class-to-toggle")}}}}]);

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.