PageSourceSearch

https://app.webtwizz.com/build/assets/sanitize-Cob58zan.js

js webtwizz.com collected 2026-10-06 14:00:17 UTC 830 bytes, 1 lines download raw bytes

1import{r as a,p as f}from"./selectedContext-DKyxTY3o.js";const h=(r,c)=>{const[u,s]=a.useState(!1),[l,n]=a.useState({}),[g,o]=a.useState(null);return{loading:u,errors:l,genericError:g,handleSubmit:async d=>{var i;s(!0),n({}),o(null);try{const t=document.head.querySelector('meta[name="csrf-token"]').content,e=await f.post(r,d,{headers:{"Content-Type":"application/json","X-CSRF-TOKEN":t}});c(e==null?void 0:e.data)}catch({response:t}){s(!1),(i=t==null?void 0:t.data)!=null&&i.errors&&n(t.data.errors),(t==null?void 0:t.status)!==401&&(t==null?void 0:t.status)!==422&&o("Something went wrong. Please try again later.")}}}},p=r=>typeof r!="string"?r:r.toLowerCase().trim().replace(/[<>"'&]/g,""),y=r=>typeof r!="string"?r:r.trim().replace(/<[^>]*>/g,"").replace(/[^a-zA-Z\s\-']/g,"").substring(0,255);export{y as a,p as s,h as u};

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.