PageSourceSearch

https://www.briq.mx/assets/controllers/char_counter_controller-610…dce561a77ce097ef58f2ed0985968c01d3c21049.js

js briq.mx collected 2026-09-24 12:32:32 UTC 491 bytes, 1 lines download raw bytes

1import{Controller}from"@hotwired/stimulus";export default class extends Controller{static targets=["input","counter"];static values={maxLength:Number};connect(){this.setCounter()}setCounter(){const t=this.maxLengthValue-this.inputTarget.value.length;this.counterTarget.innerText=t}updateInput(){this._limitInput(),this.setCounter()}_limitInput(){if(this.inputTarget.value.length>this.maxLengthValue){const t=this.inputTarget.value.substring(0,this.maxLengthValue);this.inputTarget.value=t}}}

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.