1function handleSubmitBuilder(event) { 2 event.preventDefault(); 3 const form = event.target; 4 const data = new FormData(form); 5 const formJSON = Object.fromEntries(data.entries()); 6 // eslint-disable-next-line no-undef 7 formJSON.form_id =window.formId; 8 fetch("https://api.clicksites.ai/app/leads", { 9 method: "POST", 10 headers: { 11 "Content-Type": "application/json" 12 }, 13 body: JSON.stringify(formJSON) 14 }).then(function(response) { 15 return response.json(); 16 }).then(function(json) { 17 //redirect to another page 18 //if window has redirect url 19 if(window.redirect_url){ 20 window.location.href = window.redirect_url; 21 }else{ 22 //stay on same page 23 window.location.reload(); 24 25 } 26 }); 27 28} 29 30 31function handleImageSelect(url){ 32 // eslint-disable-next-line no-restricted-globals 33 parent.selectAsset(url,false); 34 35}
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.