1import{Controller}from"@hotwired/stimulus";export default class extends Controller{static targets=["floorPlan","canvas"];initialize(){}marker(t){const e=t.target.coords.split(",");this.drawSomething(e)}drawSomething(t){const e=this.canvasTarget.getContext("2d");e.canvas.width=this.floorPlanTarget.width,e.canvas.height=this.floorPlanTarget.height;let o=t.slice(0);for(e.fillStyle="rgba(125,129,126,0.5)",e.beginPath(),e.moveTo(o.shift(),o.shift());o.length;)e.lineTo(o.shift(),o.shift());e.closePath(),e.fill()}move_position(){}mousedown(){}mouseup(){}set_point(){}save(){}update(){}delete(){}}
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.