PageSourceSearch

https://www.librechat.ai/_next/static/chunks/1132.989778386e5e46f5.js

js librechat.ai collected 2026-10-02 07:37:12 UTC 1,717 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1132],{24990:e=>{e.exports={container:"newsletterform_container__yzjoE","form-wrapper":"newsletterform_form-wrapper__uxd0S","form-title":"newsletterform_form-title__bCOAJ","form-container":"newsletterform_form-container__dXp__","email-input":"newsletterform_email-input__W_y4o","subscribe-button":"newsletterform_subscribe-button__cq4hj",anime:"newsletterform_anime__3EwCC"}},51132:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>u});var s=t(42549),n=t(56049),i=t(9851),a=t(10843),o=t.n(a),l=t(24990),c=t.n(l);let u=()=>{let[e,r]=(0,n.useState)(""),[t,a]=(0,n.useState)(!1),l=async t=>{if(t.preventDefault(),!o().isEmail(e))return void i.Ay.error("Invalid email format");a(!0);try{let t=await fetch("/api/unsubscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e})});200===t.status?(i.Ay.success("Unsubscription successful"),r("")):404===t.status?i.Ay.error("Subscriber not found"):i.Ay.error("Unsubscription failed")}catch{i.Ay.error("Unsubscription failed")}finally{a(!1)}};return(0,s.jsxs)("div",{className:c().container,children:[(0,s.jsx)("br",{}),(0,s.jsx)(i.l$,{position:"bottom-center",reverseOrder:!1}),(0,s.jsxs)("div",{className:c()["form-wrapper"],children:[(0,s.jsx)("h2",{className:c()["form-title"],children:"Unsubscribe From Our Newsletter"}),(0,s.jsxs)("form",{onSubmit:l,className:c()["form-container"],children:[(0,s.jsx)("input",{type:"email",placeholder:"Coming soon...",value:e,onChange:e=>r(e.target.value),className:c()["email-input"],readOnly:!0}),(0,s.jsx)("button",{type:"submit",className:c()["subscribe-button"],disabled:t||!0,children:t?"Unsubscribing...":"Unsubscribe"})]})]})]})}}}]);

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.