1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3661],{3661:function(e,r,n){n.d(r,{sendEmail:function(){return i}});var s=n(3881),o=n(257);let t=null;async function i(e){let{to:r,subject:n,html:i}=e;try{let e=function(){if(!t){if(!o.env.RESEND_API_KEY)throw Error("RESEND_API_KEY environment variable is not set");t=new s.R(o.env.RESEND_API_KEY)}return t}(),{error:a}=await e.emails.send({from:"SocialBuddy.ai <[email protected]>",to:r,subject:n,html:i});if(a)return console.error("Resend error:",a),{success:!1,error:a.message};return{success:!0}}catch(r){let e=r instanceof Error?r.message:"Unknown email error";return console.error("Email send failed:",e),{success:!1,error:e}}}}}]);
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.