PageSourceSearch

https://www.karachicamera.com/_webx/CnWser8N.js

js karachicamera.com collected 2026-09-27 09:37:07 UTC 688 bytes, 1 lines download raw bytes

1import{h as a,o,A as t}from"./BdEtjDPP.js";import{r as i}from"./BIaCPJ4S.js";function p(){const e=i({loading:!1,email:""}),{SecureOFetch:s}=a();o();const r=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;return{state:e,addNewsLetter:async()=>{if(!e.email){t.error("Email field cannot be empty.",{position:"top-right",autoClose:!0,duration:3e3});return}if(!r.test(e.email)){t.error("Please enter a valid email address.",{position:"top-right",autoClose:!0,duration:3e3});return}e.loading=!0,(await s("/Header/AddNewsletterSignup",{params:{Email:e.email}})).status=="success"&&t.success("Thanks for subscribing! 🎉",{position:"top-right",autoClose:!0,duration:3e3}),e.email="",e.loading=!1}}}export{p 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.