1import{c as t,D as f,I as a,J as n,N as u,L as p,M as w,u as s,R as _,O as i,X as h}from"./wbHSvHwd.js";const b={key:0,class:"newsletter-form__error body-m-style"},y={key:0,class:"newsletter__success"},N={class:"body-l-style"},C={__name:"NewsLetter",setup(v){let r=t(!1),l=t(""),o=t(!1),c=t("");const d=e=>{r.value=!1,e.status===200?(o.value=!0,c.value=e.message):e.statusCode===400&&(r.value=!0,l.value=e.message)};return(e,g)=>{const m=f("NewsletterForm");return a(),n("div",{class:h(["newsletter",s(o)&&"newsletter--success"])},[u("div",null,[p(m,{headerText:"Infolettre",buttonText:"S'inscrire",inputPlaceholder:"Adresse courriel",theme:{container:"newsletter-form",button:"newsletter-form__button",header:"newsletter-form__header",input:"newsletter-form__input"},onSubscribed:d},{description:w(()=>[s(r)?(a(),n("p",b,_(s(l)),1)):i("",!0)]),_:1}),s(o)?(a(),n("div",y,[u("p",N,_(s(c)),1)])):i("",!0)])],2)}}};export{C as default};
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.