1import { Controller } from "@hotwired/stimulus" 2 3export default class extends Controller { 4 static targets = ["armContentSelect"] 5 6 connect() { 7 } 8 9 submit() { 10 this.element.requestSubmit(); 11 } 12 13 reloadArmPage(event) { 14 if (document.body.id !== "isms_online_arm_steps_show") return 15 16 const { detail } = event 17 18 if (!detail.success) return 19 20 const selectedArmId = this.armContentSelectTarget.value 21 const urlPattern = detail.formSubmission.formElement.dataset.armContentUrlPattern 22 23 const armContentUrl = `${urlPattern}${selectedArmId}` 24 window.location = armContentUrl 25 } 26 27}
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.