1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4858],{64858:function(e,i,n){n.r(i),n.d(i,{PageContactT11:function(){return X}});var o,t,r=n(67294),l=n(80157),d=n(39400),a=n(65089),c=(n(47941),n(82526),n(38880),n(89554),n(54747),n(49337),n(33321),n(69070),n(71383)),s=n(59499),p=n(50029),f=n(17674),u=n(19521),h=n(87794),x=n.n(h),m=(n(92222),n(68309),n(69826),n(41539),n(57327),n(21249),n(1879)),v=n(5123),g=n(17461),b=n(4241),y=n(8781),j=n(73521),w=u.ZP.div.withConfig({componentId:"sc-mv9hyy-0"})(["display:flex;flex-direction:column;strong{font-weight:400;}h3{color:rgb(255,255,255);display:block;font-family:Roboto,sans-serif;font-size:30px;font-weight:300;line-height:42px;margin:5px 0 10px;}label{color:#fff;font-size:16px;font-weight:400;line-height:24px;margin-bottom:5px;}@media (","){flex-direction:row;height:786px;}"],y.bN.silver_768),C=u.ZP.div.withConfig({componentId:"sc-mv9hyy-1"})(["border-bottom:1px solid #fff;height:306px;padding:30px;*{font-size:16px;font-weight:300;}[data-tel]{margin-top:21px;}"]),P=u.ZP.div.withConfig({componentId:"sc-mv9hyy-2"})(["border-top:1px solid #fff;padding:30px;p{line-height:17px !important;}table{td:not(:first-child){padding-left:8px;}}span{color:#fff;}"]),I=((0,u.iv)(["h1{color:#fff;font-size:25px;font-weight:600;margin-bottom:30px;}"]),(0,u.iv)(["h6{color:#fff;font-size:19px;}"]),(0,u.iv)(["margin-top:20px;"]),u.ZP.div.withConfig({componentId:"sc-mv9hyy-3"})(["width:100%;*{font-weight:300;}"])),k=(0,u.iv)(["label,input,textarea{width:100%;display:block;}input,textarea{color:#fff;background-color:#444;border:2px solid #fff;box-shadow:inset 0 1px 1px rgb(0 0 0 / 8%);line-height:1.42857143;margin-bottom:15px;padding:6px 12px;}input{height:34px;}"]),_=(0,u.iv)([".frc{&-captcha{overflow:hidden;display:none;margin-bottom:15px;margin-top:0;padding:5px 10px;width:100%;background-color:#444444;&[data-attached]{display:block !important;}}&-container{display:flex;align-items:center;}&-icon{color:#eeeeee;fill:#eeeeee;stroke:#eeeeee;margin:0;margin-right:10px;}&-content{button{color:#eeeeee;border-color:#eeeeee;}}&-banner{&,a{&,b{color:#eeeeee;}}}}"]),Z=u.ZP.div.withConfig({componentId:"sc-mv9hyy-4"})(['justify-content:space-between;margin-top:20px;> div{display:flex;align-items:flex-start;> label > a{color:#fff;font-size:15px;font-weight:400;line-height:24px;margin-bottom:5px;&:hover{color:#fff;text-decoration:underline;}}}button{display:block;width:100%;line-height:22px;font-weight:300;color:#fff;padding:7px 0;border:2px solid #fff;&:hover{background-color:var(--color-primary-light);}}div.button{}input{&[type="checkbox"]{margin-top:5px;}}']),N=((0,u.iv)(["display:flex;max-width:50%;"]),(0,u.iv)(["font-size:12px;margin-left:5px;a{color:#fff;}"])),z=u.ZP.div.withConfig({componentId:"sc-mv9hyy-5"})(["overflow:auto;background:",";border-top:2px solid #fff;border-bottom:2px solid #fff;border-left:1px solid #fff;border-right:1px solid #fff;color:#fff;display:flex;flex-direction:column;height:786px;padding:30px;width:100%;@media (","){width:50%;}"],j.r.palette.default,y.bN.silver_768),E=u.ZP.div.withConfig({componentId:"sc-mv9hyy-6"})(["background:",";border-bottom:2px solid #fff;border-left:1px solid #fff;border-right:1px solid #fff;color:#fff;display:flex;flex-direction:column;height:786px;width:100%;@media (","){width:50%;border-top:2px solid #fff;}"],j.r.palette.default,y.bN.silver_768),O=n(88134),q=n(45850),T=n(16761),S=n(85893);function F(e,i){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);i&&(o=o.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),n.push.apply(n,o)}return n}function M(e){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?F(Object(n),!0).forEach((function(i){(0,s.Z)(e,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(Object(n)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))}))}return e}var A=function(){var e,i,n,o,t,l,d,a,c,s,u,h,y,j,F,A,J,B,K,L,H,R=(0,r.useContext)(v._y),W=(0,v.fx)(R),Y=(0,m.cI)(),Q=Y.register,V=Y.handleSubmit,X=(Y.errors,Y.reset),G=(0,O.H)(!1),ee=r.useState(!1),ie=(0,f.Z)(ee,2),ne=ie[0],oe=ie[1],te=function(){var e=(0,p.Z)(x().mark((function e(i){var n,o,t,r,l;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=null===(n=document.querySelector(".frc-captcha-solution"))||void 0===n?void 0:n.value,l=document.title,r||sessionStorage.getItem("fcaptcha")){e.next=5;break}return alert("Es fehlt die Captcha L\xf6sung"),e.abrupt("return");case 5:return e.next=7,(0,g.x)(M(M({fcValue:r||sessionStorage.getItem("fcaptcha")},i),{},{line:null===R||void 0===R||null===(o=R.CompanyInformationPrivate)||void 0===o?void 0:o.line,subject:"Neue Anfrage \xfcber Ihre Homepage ".concat(null!==i&&void 0!==i&&i.Name?"von ".concat(null===i||void 0===i?void 0:i.Name," "):"").concat(l?"
1- ".concat(l):""),dealerMail:null===R||void 0===R||null===(t=R.CompanyInformationPublic)||void 0===t?void 0:t.email,replyTo:i["E-Mail"]||i.email,templateId:"d-26922068a30343d98a725c3fdaa663da"}));case 7:X(),oe(!0);case 9:case"end":return e.stop()}}),e)})));return function(i){return e.apply(this,arguments)}}(),re=(null===(e=R.UniversalTexts)||void 0===e?void 0:e.name)||"Name",le=(null===(i=R.UniversalTexts)||void 0===i?void 0:i.eMail)||"E-Mail",de=(null===(n=R.UniversalTexts)||void 0===n?void 0:n.message)||"Nachricht",ae=(null===(o=R.PageContact)||void 0===o||null===(t=o.extras)||void 0===t||t.find((function(e){return"SidebarText"===e.__typename})),null===W||void 0===W||null===(l=W.elements)||void 0===l?void 0:l.filter((function(e){return"Asset"===(null===e||void 0===e?void 0:e.__typename)}))),ce=null===W||void 0===W||null===(d=W.elements)||void 0===d?void 0:d.filter((function(e){return"TextElement"===(null===e||void 0===e?void 0:e.__typename)}));return null===ce||void 0===ce||ce.map((function(e){var i;null!==e&&void 0!==e&&e.icon&&(null===e||void 0===e||null===(i=e.icon)||void 0===i||i.map((function(e){return ae.push(e)})))})),(0,S.jsxs)(w,{children:[(0,S.jsx)(z,{children:(0,S.jsxs)(I,{children:[(null===R||void 0===R||null===(a=R.UniversalTexts)||void 0===a?void 0:a.contactForm)&&(0,S.jsx)("h3",{children:null===R||void 0===R||null===(c=R.UniversalTexts)||void 0===c?void 0:c.contactForm}),ne?(0,S.jsxs)("div",{children:[(0,S.jsx)("h1",{children:"DANKE!"}),"Wir werden uns sobald wie m\xf6glich bei Ihnen melden."]}):(0,S.jsxs)("form",{onSubmit:V(te),children:[(0,S.jsxs)(D,{$_css:k,children:[(0,S.jsx)("label",{htmlFor:"Name",children:re}),(0,S.jsx)("input",{required:!0,type:"text",name:"Name",ref:Q({options:{required:!0,unique:!0},min:12})}),(0,S.jsx)("label",{htmlFor:"E-Mail",children:le}),(0,S.jsx)("input",{required:!0,type:"email",name:"E-Mail",ref:Q({options:{required:!0,unique:!0},min:4})}),(0,S.jsxs)("div",{children:[(0,S.jsx)("label",{htmlFor:"Nachricht",children:de}),(0,S.jsx)("textarea",{rows:5,required:!0,name:"Nachricht",ref:Q({required:!0})})]})]}),(0,S.jsx)(U,{$_css2:_,children:(0,S.jsx)(q.FriendlyCaptcha,{})}),(0,S.jsxs)(Z,{children:[(0,S.jsxs)("div",{children:[(0,S.jsx)("input",{required:!0,type:"checkbox",placeholder:"Ich akzeptiere die Datenschutzerkl\xe4rung",name:"checkbox",ref:Q({required:!0})}),(0,S.jsxs)($,{htmlFor:"checkbox",$_css3:N,children:["Ich akzeptiere die"," ",(0,S.jsx)("a",{href:"/".concat((null===(s=R.PageImprint)||void 0===s?void 0:s.slug)||""),children:"Datenschutzerkl\xe4rung"})]})]}),(0,S.jsx)("br",{}),(0,S.jsx)("div",{className:"button",children:(0,S.jsx)("button",{type:"submit",children:(null===R||void 0===R||null===(u=R.UniversalTexts)||void 0===u?void 0:u.Submit)||"Absenden"})}),(0,S.jsx)("br",{}),(0,S.jsx)("br",{}),(0,S.jsx)("br",{}),(0,S.jsx)("br",{}),(0,S.jsx)("br",{})]})]})]})}),(0,S.jsxs)(E,{children:[(0,S.jsxs)(C,{children:[(0,S.jsx)("h3",{children:"Kontakt"}),(0,S.jsx)("h2",{children:(0,T.getContactCompanyNameFull)()}),(0,S.jsx)("p",{children:null===(h=R.CompanyInformationPublic)||void 0===h?void 0:h.street}),(0,S.jsxs)("p",{children:[(null===(y=R.CompanyInformationPublic)||void 0===y?void 0:y.postcode)+" "," ",null===(j=R.CompanyInformationPublic)||void 0===j?void 0:j.place]}),(null===(F=R.CompanyInformationPublic)||void 0===F?void 0:F.phone)&&(0,S.jsxs)("p",{"data-tel":!0,children:["Tel: ",null===(A=R.CompanyInformationPublic)||void 0===A?void 0:A.phone]}),(null===(J=R.CompanyInformationPublic)||void 0===J?void 0:J.fax)&&(0,S.jsxs)("p",{"data-fax":!0,children:["Fax: ",null===(B=R.CompanyInformationPublic)||void 0===B?void 0:B.fax]}),(0,S.jsx)("br",{}),(0,S.jsx)("br",{}),(null===R||void 0===R||null===(K=R.CompanyInformationPublic)||void 0===K?void 0:K.email)&&(0,S.jsx)("a",{href:null===R||void 0===R||null===(L=R.CompanyInformationPublic)||void 0===L?void 0:L.email,children:null===R||void 0===R||null===(H=R.CompanyInformationPublic)||void 0===H?void 0:H.email})]}),(0,S.jsxs)(P,{children:[(0,S.jsx)("h3",{children:"\xd6ffnungszeiten"}),G&&(0,S.jsx)(b.yt,{textContent:G})]})]})]})},D=(0,u.ZP)("div")(o||(o=(0,c.Z)(["",""])),(function(e){return e.$_css})),U=(0,u.ZP)("div")(t||(t=(0,c.Z)(["",""])),(function(e){return e.$_css2})),$=(0,u.ZP)("label").withConfig({componentId:"sc-63o4o-0"})(["",""],(function(e){return e.$_css3})),J=u.ZP.div.withConfig({componentId:"sc-1iyv2r0-0"})([""]),B=u.ZP.div.withConfig({componentId:"sc-1iyv2r0-1"}
1)(["height:500px;margin:0 0px 40px 0px;@media (","){margin:0 0 40px 0;}"],y.bN.silver_768),K=((0,u.iv)(["margin-bottom:50px;align-items:flex-start;padding-left:10px;"]),u.ZP.div.withConfig({componentId:"sc-1iyv2r0-2"})(["margin-top:5px;display:flex;button{width:50%;margin-left:14px;font-weight:300;background-color:#92c2d6;color:#efefef;padding:15px;&:hover{background-color:#706f6f;}}"]),u.ZP.div.withConfig({componentId:"sc-1iyv2r0-3"})(["position:relative;margin-right:14px;width:50%;input{padding:6px 35px 6px 12px;width:100%;height:100%;}svg{opacity:0.5;cursor:pointer;position:absolute;top:50%;transform:translateY(-50%);right:7px;}"]),u.ZP.div.withConfig({componentId:"sc-1iyv2r0-4"})(["margin-top:30px;background-color:#ffd533;table:not(.adp-placemark){tr{td{padding:8px 0;border-top-width:1px;border-top-color:"," !important;line-height:150%;&:first-child{padding-left:5px;width:10% !important;}&:nth-child(2){width:5% !important;font-weight:500;font-size:14px;}&:nth-child(3){width:70% !important;font-weight:500;}&:nth-child(4){width:15% !important;}}}}"],(function(e){var i;return null===(i=e.theme.palette)||void 0===i?void 0:i.green})),(0,u.iv)([""]),"map"),L=function(e,i){if(i){var n=window.google.maps,o=document.getElementById(K),t=new n.Map(o,{zoom:e,center:i});new n.Marker({position:i,map:t})}},H=function(){var e,i,n,o,t=(0,r.useContext)(v._y),l=t.PageContact&&{lat:null===(e=t.PageContact)||void 0===e?void 0:e.location.latitude,lng:null===(i=t.PageContact)||void 0===i?void 0:i.location.longitude},d=(null===(n=t.PageContact)||void 0===n||null===(o=n.location)||void 0===o?void 0:o.zoom)||12;return(0,r.useEffect)((function(){if(l){var e=function(){return L(d,l)};if(!window.google)return function(e){var i=document.createElement("script");i.type="text/javascript",i.src="https://maps.google.com/maps/api/js?key=".concat("AIzaSyC3R3hK-wYEJ-oan_SlEq2PiUJJCiJQrWA");var n=document.getElementsByTagName("script")[0];return n.parentNode.insertBefore(i,n),i.addEventListener("load",e),function(){return i.removeEventListener("load",e)}}(e);e()}}),[d,l]),(0,S.jsx)(J,{children:(0,S.jsx)(B,{id:K})})},R=u.ZP.div.withConfig({componentId:"sc-1naq9gl-0"})(["width:100%;","{}p,span{font-weight:300;}h2{color:#fff;font-size:20px;}@media (","){}"],l.JX,y.bN.silver_768),W=u.ZP.div.withConfig({componentId:"sc-1naq9gl-1"})(["padding:125px 30px 30px 30px;background-color:#333333;position:relative;> div.background-wrapper{position:absolute;top:0;left:0;width:100%;height:100%;> div{height:100%;}}> div{position:relative;z-index:2;> div{margin:0;}}"]),Y=u.ZP.div.withConfig({componentId:"sc-1naq9gl-2"})(["@media (","){}"],y.bN.gold_1024),Q=n(71139),V=function(){var e,i,n,o=(0,r.useContext)(v._y),t=(0,v.fx)(o),l="Asset"===(null===t||void 0===t||null===(e=t.elements)||void 0===e||null===(i=e[0])||void 0===i?void 0:i.__typename)&&(null===t||void 0===t||null===(n=t.elements)||void 0===n?void 0:n[0]);return(0,S.jsxs)(R,{children:[(0,S.jsxs)(W,{children:[l&&l.src&&(0,S.jsx)("div",{className:"background-wrapper",children:(0,S.jsx)(Q.M,{img:l,lazyload:!1})}),(0,S.jsx)(H,{})]}),(0,S.jsx)(Y,{children:(0,S.jsx)(A,{})})]})},X=function(){return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(a.Z,{}),(0,S.jsx)(l.rj,{children:(0,S.jsx)(l.$0,{children:(0,S.jsx)(V,{})})}),(0,S.jsx)(d.Z,{})]})};X.displayName="PageContactT11"}}]);
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.