PageSourceSearch

https://www.juniorstocks.com/_nuxt/qycekG7f.js

js juniorstocks.com collected 2026-10-08 23:08:15 UTC 2,791 bytes, 1 lines download raw bytes

1import{at as e,nt as t}from"./FFsIuA2d.js";import{H as n,Rt as r,at as i,ct as a,d as o,m as s,p as c,pt as l,tt as u}from"./D26NMIVi.js";import{t as d}from"./7IxXFmaK.js";import{n as f,t as p}from"#entry";import{t as m}from"./BV-5AJzc.js";var h={class:`at-cf`},g={class:`at-cf__hint`},_={key:0,class:`at-cf__done`},v={class:`at-cf__field`},y={class:`at-cf__field`},b={class:`at-cf__field`},x={class:`at-cf__hp`,"aria-hidden":`true`},S={key:0,class:`at-cf__error`},C=[`disabled`],w=p({__name:`AtContactForm`,setup(p){let w=f(),T=a(``),E=a(``),D=a(``),O=a(``),k=Date.now(),A=a(!1),j=a(`form`),M=a(``),N=async()=>{if(M.value=``,!T.value.trim()){M.value=w(`Bitte geben Sie Ihren Namen ein.`,`Please enter your name.`);return}if(!m(E.value)){M.value=w(`Bitte geben Sie eine gültige E-Mail-Adresse ein.`,`Please enter a valid email address.`);return}if(!D.value.trim()){M.value=w(`Bitte geben Sie eine Nachricht ein.`,`Please enter a message.`);return}A.value=!0;try{await d(`/api/contact`,{method:`POST`,body:{name:T.value.trim(),email:E.value.trim(),message:D.value.trim(),company:O.value,startedAt:k}}),j.value=`done`}catch{M.value=w(`Das hat leider nicht geklappt. Bitte versuchen Sie es erneut.`,`Something went wrong. Please try again.`)}finally{A.value=!1}};return(a,d)=>(n(),s(`div`,h,[o(`p`,g,r(l(w)(`Sollten Sie Fragen oder Anregungen für uns haben, schreiben Sie uns bitte im Folgenden eine Mitteilung:`,`If you have any questions or suggestions, please send us a message below:`)),1),l(j)===`done`?(n(),s(`p`,_,r(l(w)(`Vielen Dank für Ihre Nachricht! Wir melden uns so schnell wie möglich bei Ihnen.`,`Thank you for your message! We will get back to you as soon as possible.`)),1)):(n(),s(`form`,{key:1,class:`at-cf__form`,onSubmit:e(N,[`prevent`])},[o(`label`,v,[d[4]||=o(`span`,null,`Name`,-1),u(o(`input`,{"onUpdate:modelValue":d[0]||=e=>i(T)?T.value=e:null,type:`text`,name:`name`,autocomplete:`name`,required:``},null,512),[[t,l(T)]])]),o(`label`,y,[o(`span`,null,r(l(w)(`E-Mail-Adresse`,`Email address`)),1),u(o(`input`,{"onUpdate:modelValue":d[1]||=e=>i(E)?E.value=e:null,type:`email`,name:`email`,autocomplete:`email`,required:``},null,512),[[t,l(E)]])]),o(`label`,b,[o(`span`,null,r(l(w)(`Nachricht`,`Message`)),1),u(o(`textarea`,{"onUpdate:modelValue":d[2]||=e=>i(D)?D.value=e:null,name:`message`,required:``},null,512),[[t,l(D)]])]),o(`label`,x,[d[5]||=o(`span`,null,`Firma`,-1),u(o(`input`,{"onUpdate:modelValue":d[3]||=e=>i(O)?O.value=e:null,type:`text`,name:`company`,tabindex:`-1`,autocomplete:`off`},null,512),[[t,l(O)]])]),l(M)?(n(),s(`p`,S,r(l(M)),1)):c(``,!0),o(`button`,{type:`submit`,class:`at-cf__submit`,disabled:l(A)},r(l(A)?l(w)(`Wird gesendet …`,`Sending …`):l(w)(`Absenden`,`Send`)),9,C)],32))]))}},[[`__scopeId`,`data-v-6db44687`]]);export{w as t};

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.