PageSourceSearch

https://buildersacademynz.web.app/chunk-N4VJDY2A.js

js buildersacademynz.web.app collected 2026-10-03 12:22:41 UTC 883 bytes, 1 lines download raw bytes

1import{a as m}from"./chunk-GUZO7ZNK.js";import{F as p,Fb as s,I as l,Ib as c,a}from"./chunk-3RYB6SVN.js";var g=(()=>{let e=class e{constructor(t){this.http=t,this._READER=new FileReader,this._REMOTE_URI=m.apiUrl+"inventory_web_imgUpload.php"}handleImageSelection(t){let r=t.target.files[0];return this._READER.readAsDataURL(r),new a(i=>{this._READER.onloadend=()=>{i.next(this._READER.result),i.complete()},this._READER.onerror=o=>{i.error(o)}})}isCorrectFileType(t){return/^(gif|jpg|jpeg|png)$/i.test(t)}replaceAll(t,r,i){return t.replace(new RegExp(r,"g"),i)}uploadImageSelection(t,r){let i=new s({"Content-Type":"application/octet-stream"}),o={name:r,file:t};return this.http.post(this._REMOTE_URI,JSON.stringify(o),{headers:i})}};e.\u0275fac=function(r){return new(r||e)(l(c))},e.\u0275prov=p({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})();export{g as a};

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.