PageSourceSearch

https://www.complexityexplorer.org/assets/controllers/challenges/a…cfccef0232af8857fa59b693a5ef4f87db3be6fc.js

js complexityexplorer.org collected 2026-09-24 17:53:56 UTC 397 bytes, 19 lines download raw bytes

1import { Controller } from "stimulus-use-actions"
2
3export default class extends Controller {
4  static values = {
5    source: String,
6  }
7
8  static actions = {
9    element: "click->append:prevent",
10  }
11
12  connect() {
13    this.sourceTarget = document.querySelector(this.sourceValue)
14  }
15
16  append() {
17    this.sourceTarget.insertAdjacentElement("afterend", this.sourceTarget.cloneNode(true))
18  }
19};

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.