PageSourceSearch

https://fleetloop.com/_nuxt/fOCil-Dp.js

js fleetloop.com collected 2026-10-06 21:21:38 UTC 5,156 bytes, 1 lines download raw bytes

1import{d as T,c as q,v as A,o as m,x as s,s as n,O as C,i as t,m as i,t as k,E as S,y as V,F,K as r,A as g,I as M,M as Z,N as z,J as j,j as B,H as D,r as a,z as E,C as I}from"./DqJkSAhv.js";import{_ as O}from"./Bv4ggmzu.js";const R={class:"flex flex-col gap-4 sm:flex-row"},W=["disabled"],G=["value"],H=["disabled"],J=["value"],K={class:"flex flex-col gap-4 sm:flex-row"},Q=["disabled"],X=["disabled"],Y={class:"flex flex-col gap-4 sm:flex-row"},ee=["disabled"],le=["disabled"],te={class:"flex flex-col gap-4 sm:flex-row"},se=["disabled"],oe=["disabled"],ae=["disabled"],ne={class:"flex flex-col justify-between gap-6 sm:flex-row"},ie={class:"ml-0.5 flex h-fit items-center"},de=["disabled"],re={class:"ml-3 text-sm"},ue=["disabled"],me={class:"special-title-yellow font-bold"},ce=T({__name:"PartnerForm",props:{blok:{},contentWidth:{}},setup(d){const p=a(""),f=a(""),b=a(""),v=a(""),x=a(""),w=a(""),y=a(""),h=a(""),_=a(""),u=a(!1),o=a(!1),c=a(!1),$=async()=>{o.value=!0;const U=new URLSearchParams({email:p.value,firstname:f.value,lastname:b.value,company:v.value,location:x.value,industry:w.value,website:y.value,phone:h.value,message:_.value}).toString();try{(await fetch(d.blok.link?.url,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:U})).ok&&(c.value=!0)}catch{c.value=!1}finally{o.value=!1}};return(U,e)=>{const N=j,L=E,P=O;return m(),q(P,{id:d.blok.idForScrolling,blok:d.blok,"content-width":d.contentWidth,center:!0,class:"px-6 py-8 md:py-12 lg:py-24"},{default:A(()=>[s("form",{class:g(["mt-10 flex w-full flex-col gap-4",{invisible:t(c)}]),onSubmit:D($,["prevent"])},[s("div",R,[n(s("select",{"onUpdate:modelValue":e[0]||(e[0]=l=>i(x)?x.value=l:null),required:"",disabled:t(o),class:"form-input sm:w-1/2"},[e[11]||(e[11]=s("option",{value:"",disabled:"",selected:""},"Gewünschter Standort*",-1)),(m(!0),k(F,null,S(d.blok.locations,l=>(m(),k("option",{key:l,value:l},V(l),9,G))),128))],8,W),[[C,t(x)]]),n(s("select",{"onUpdate:modelValue":e[1]||(e[1]=l=>i(w)?w.value=l:null),required:"",disabled:t(o),class:"form-input sm:w-1/2"},[e[12]||(e[12]=s("option",{value:"",disabled:"",selected:""},"Unternehmensbereich*",-1)),(m(!0),k(F,null,S(d.blok.departments,l=>(m(),k("option",{key:l,value:l},V(l),9,J))),128))],8,H),[[C,t(w)]])]),s("div",K,[n(s("input",{"onUpdate:modelValue":e[2]||(e[2]=l=>i(v)?v.value=l:null),type:"text",required:"",disabled:t(o),placeholder:"Firma*",class:"form-input sm:w-1/2"},null,8,Q),[[r,t(v)]]),n(s("input",{"onUpdate:modelValue":e[3]||(e[3]=l=>i(p)?p.value=l:null),type:"email",required:"",disabled:t(o),placeholder:"E-Mail-Adresse*",class:"form-input sm:w-1/2",pattern:"^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$"},null,8,X),[[r,t(p)]])]),s("div",Y,[n(s("input",{"onUpdate:modelValue":e[4]||(e[4]=l=>i(f)?f.value=l:null),type:"text",required:"",disabled:t(o),placeholder:"Vorname*",class:"form-input sm:w-1/2",pattern:"^([a-zA-Z\\s\\-]*)$"},null,8,ee),[[r,t(f)]]),n(s("input",{"onUpdate:modelValue":e[5]||(e[5]=l=>i(b)?b.value=l:null),type:"text",required:"",disabled:t(o),placeholder:"Nachname*",class:"form-input sm:w-1/2",pattern:"^([a-zA-Z\\s\\-]*)$"},null,8,le),[[r,t(b)]])]),s("div",te,[n(s("input",{"onUpdate:modelValue":e[6]||(e[6]=l=>i(h)?h.value=l:null),type:"tel",disabled:t(o),placeholder:"Telefon",class:"form-input sm:w-1/2",pattern:"^\\+?[0-9\\s\\-]+$"},null,8,se),[[r,t(h)]]),n(s("input",{"onUpdate:modelValue":e[7]||(e[7]=l=>i(y)?y.value=l:null),type:"url",disabled:t(o),placeholder:"Website",class:"form-input sm:w-1/2"},null,8,oe),[[r,t(y)]])]),n(s("textarea",{"onUpdate:modelValue":e[8]||(e[8]=l=>i(_)?_.value=l:null),disabled:t(o),placeholder:"Nachricht",class:"form-input h-32 w-full"},null,8,ae),[[r,t(_)]]),s("div",ne,[s("div",ie,[s("div",{class:g(["flex size-5 items-center justify-center rounded-md border-2 border-fl-blue",{"bg-fl-blue":t(u)}]),onClick:e[9]||(e[9]=l=>u.value=!t(u))},[M(N,{name:"mdi:check-bold",class:"text-white"})],2),n(s("input",{"onUpdate:modelValue":e[10]||(e[10]=l=>i(u)?u.value=l:null),type:"checkbox",disabled:t(o),required:"",class:"-z-10 -ml-4"},null,8,de),[[Z,t(u)]]),s("p",re,[e[14]||(e[14]=z("Zustimmung ",-1)),M(L,{class:"text-fl-blue hover:cursor-pointer hover:text-fl-blue-dark",to:d.blok.privacyLink.cached_url},{default:A(()=>[...e[13]||(e[13]=[z("Datenschutz",-1)])]),_:1},8,["to"]),e[15]||(e[15]=z("*",-1))]),e[16]||(e[16]=s("p",{class:"ml-20 text-sm"},"*Pflichtfelder",-1))]),s("button",{name:"submit",disabled:t(o),class:"relative flex w-full items-center justify-center rounded-full bg-fl-blue px-24 py-2 text-white hover:cursor-pointer hover:bg-fl-blue-dark disabled:bg-fl-blue-dark sm:w-fit"},[s("span",{class:g({invisible:t(o)})},"Absenden",2),t(o)?(m(),q(N,{key:0,name:"mdi:loading",class:"absolute left-1/2 size-6 animate-spin"})):B("",!0)],8,ue)])],34),s("div",{class:g(["absolute top-1/2 m-auto size-full bg-transparent transition-all duration-500",{"scale-100 opacity-100":t(c),"scale-0 opacity-0":!t(c)}])},[s("span",me,V(d.blok.successMessage),1)],2)]),_:1},8,["id","blok","content-width"])}}}),be=Object.assign(I(ce,[["__scopeId","data-v-f5aae6b4"]]),{__name:"PartnerForm"});export{be 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.