PageSourceSearch

https://www.funk-experts.de/_next/static/chunks/476.1564cb7d940f091a.js

js funk-experts.de collected 2026-10-07 00:57:25 UTC 15,394 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[476],{77476:function(e,t,r){r.d(t,{a_:function(){return h},hi:function(){return x},r8:function(){return m}});var n=r(57437),o=r(68207),l=r(9889),a=r(521),i=r(13449),c=r(22053);r(2265);var s=r(75806),d=r(42879),u=r(95338);let h=e=>{let{name:t,photo:r,...l}=e,a=(0,u.E)();return(0,n.jsx)(o.chakra.div,{children:(0,n.jsx)(o.chakra.div,{...l,children:(0,n.jsx)(s.c,{data:r,alt:a("customer.altText",{name:t}),sx:{height:"full",img:{objectFit:"cover"}}})})})},m=e=>{let{title:t,subtitle:r,contact:c,children:s,photo:u}=e,m=(0,l.useMultiStyleConfig)("Contact"),{name:x,availability:f}=c;return(0,n.jsx)(o.chakra.div,{__css:m.wrapper,children:(0,n.jsxs)(a.W,{maxW:"container.contactSection",children:[(0,n.jsx)(o.chakra.div,{sx:m.contactText,children:(0,n.jsxs)(i.k,{gap:8,children:[(0,n.jsxs)(o.chakra.div,{sx:m.contactDetails,children:[(0,n.jsx)(d.Hx,{size:"h2",sx:m.title,children:t}),(0,n.jsx)(d.Hx,{size:"h4",as:"p",sx:m.contactDetailText,children:r.replace("{name}",x)}),u&&(0,n.jsx)(h,{name:x,photo:u,sx:m.photoMobile}),(0,n.jsx)(o.chakra.p,{sx:m.contactDetailText,fontSize:{base:"sm",md:"md"},fontWeight:"medium",paddingTop:5,children:c.text?c.text.replace("{name}",x).replace("{availability}",f):null})]}),u&&(0,n.jsx)(h,{name:x,photo:u,sx:m.photoDesktop})]})}),s]})})},x=e=>{let{leftForm:t,rightForm:r}=e,o=(0,l.useMultiStyleConfig)("Contact");
1return(0,n.jsxs)(i.k,{sx:o.contactForms,children:[(0,n.jsx)(c.xu,{w:"100%",boxShadow:t?"-10px 10px 60px 0px var(--chakra-colors-shadows-drop)":"unset",children:t}),(0,n.jsx)(c.xu,{w:"100%",boxShadow:r?"dropWide":"unset",children:r})]})}},45290:function(e,t,r){r.d(t,{SP:function(){return o},WU:function(){return a},vc:function(){return l}});var n=r(12108);let o=r(6469).de,l="dd.MM.yyyy",a=e=>(0,n.WU)(e,l,{locale:o})},70476:function(e,t,r){r.r(t),r.d(t,{DemoModal:function(){return a}});var n=r(57437);r(2265);var o=r(35595),l=r(52972);let a=()=>{let{demoModalSection:e}=(0,o.hS)();if(!e)return null;let{title:t,subtitle:r,demoText:a,contact:i}=e;return(0,n.jsx)(l.p,{title:t,subtitle:r,demoText:a,contact:i})}},70729:function(e,t,r){r.d(t,{b:function(){return s}});var n=r(57437),o=r(9889),l=r(68207);r(2265);var a=r(95338),i=r(3635);let c=e=>e&&(0,i.o)(e)?e:"zod.missing",s=e=>{var t,r;let{error:i,message:s,...d}=e,u=(0,a.E)(),h=!!(null!==(t=null==i?void 0:i.message)&&void 0!==t?t:s),m=c(null!==(r=null==i?void 0:i.message)&&void 0!==r?r:s),x=(0,o.useMultiStyleConfig)("FormErrorMessageI18n",{isVisible:h});return(0,n.jsx)(l.chakra.div,{__css:x.wrapper,...d,children:h?u(m):(0,n.jsx)(n.Fragment,{children:"\xa0"})})}},20046:function(e,t,r){r.d(t,{i:function(){return d}});var n=r(57437),o=r(9889),l=r(22053),a=r(41360);r(2265);var i=r(29501),c=r(70729),s=r(86326);let d=e=>{var t,r;let{children:d,name:u,label:h,placeholder:m,isDisabled:x,isInvalid:f,variant:g,onChange:j,icon:p,...b}=e,{register:v,formState:{errors:C},watch:y}=(0,i.Gc)(),S=(0,o.useStyleConfig)("FormSelect",{variant:g,isFilled:!!y(u)}),{onChange:k,...w}=v(u);return(0,n.jsxs)(s.NI,{isInvalid:f,...b,children:[(0,n.jsxs)(l.xu,{sx:S,children:[(0,n.jsx)(s.lX,{children:h}),(0,n.jsx)(a.P,{placeholder:m,isDisabled:x,value:y(u),onChange:e=>{null==j||j(e),k(e)},icon:p,...w,children:d})]}),(0,n.jsx)(c.b,{message:null===(r=C[u])||void 0===r?void 0:null===(t=r.message)||void 0===t?void 0:t.toString()})]})}},11656:function(e,t,r){r.d(t,{Z:function(){return a},u:function(){return i}});var n=r(57437),o=r(1677),l=r(25730);let a=e=>{let{isValid:t,forceDisabled:r=!1,...l}=e;return(0,n.jsx)(o.z,{...t?{}:{"data-form-submit-disabled":!0},isDisabled:r,type:"submit",...l})},i=e=>{let{isValid:t,forceDisabled:r=!1,...o}=e;return(0,n.jsx)(l.h,{...t?{}:{"data-form-submit-disabled":!0},isDisabled:r,type:"submit",...o})}},1690:function(e,t,r){r.d(t,{b:function(){return f}});var n=r(57437),o=r(9889),l=r(95782),a=r(58774),i=r(82305),c=r(25230),s=r(68207),d=r(61576),u=r(98095),h=r(96840);r(2265);var m=r(95338),x=r(87798);let f=e=>{let{text:t,placement:r={base:"auto",md:"left"},variant:f,...g}=e,j=(0,o.useMultiStyleConfig)("InfoTooltip",{variant:f}),p=(0,m.E)(),[b,{on:v,off:C}]=(0,l.k)(),y=(0,a.S)(r);return(0,n.jsxs)(i.J,{placement:y,onOpen:v,onClose:C,children:[(0,n.jsx)(c.x,{children:(0,n.jsx)(s.chakra.button,{__css:j.button,"aria-label":p("infoTooltip.label"),"data-is-open":b,type:"button",...g,children:(0,n.jsx)(x.kI,{})})}),(0,n.jsxs)(d.y,{sx:j.content,children:[(0,n.jsx)(u.u,{sx:j.closeButton}),(0,n.jsx)(h.b,{sx:j.body,children:t})]})]})}},14727:function(e,t,r){r.d(t,{g:function(){return s}});var n=r(57437),o=r(9889),l=r(68207),a=r(32191),i=r(2265),c=r(95338);let s=(0,i.forwardRef)((e,t)=>{let{value:r,maxLength:i,...s}=e,d=(0,o.useMultiStyleConfig)("TextareaWithCounter"),u=(0,c.E)(),h=!!i,m=r?r.toString().length:0;return(0,n.jsxs)(l.chakra.div,{__css:d.wrapper,children:[(0,n.jsx)(a.g,{value:r,ref:t,maxLength:i,sx:d.textarea,...s}),h&&(0,n.jsx)(l.chakra.p,{__css:d.counter,children:u("textarea.counter",{length:m,maxLength:i})})]})});s.displayName="Textarea"},86326:function(e,t,r){r.d(t,{E8:function(){return I},Ee:function(){return _},FY:function(){return F},NI:function(){return k},hQ:function(){return z},lX:function(){return w}});var n=r(57437),o=r(95171),l=r(40748),a=r(26262),i=r(58055),c=r(22811),s=r(12125),d=r(68193),u=r(10883),h=r(70118),m=r(68207),x=r(1677),f=r(70671),g=r(23258),j=r(15067),p=r(2265),b=r(29501),v=r(95338),C=r(87798),y=r(70729),S=r(42879);let k=e=>{let{...t}=e;return(0,n.jsx)(o.NI,{...t})},w=e=>{let{children:t,...r}=e;if(!(0,o.NJ)())throw Error("FormLabel used outside of FormControl context");return(0,n.jsx)(l.l,{...r,children:t})},I=e=>{let{type:t,children:r,icon:o,isFilled:l,...s}=e;switch(t){case"big":return(0,n.jsxs)(a.g,{gap:6,width:"full",mb:6,paddingTop:24,...s,children:[(0,n.jsxs)(i.U,{flexDir:"row",width:"full",justifyContent:"start",children:[o,l?(0,n.jsx)(C.MC,{color:"brand.highlight",w:6,h:6}):null,(0,n.jsx)(S.Hx,{margin:"auto",size:"h4",maxW:"container.xs",children:r})]}),(0,n.jsx)(c.i,{borderColor:l?"brand.highlight":void 0})]});case"small":return(0,n.jsxs)(a.g,{width:"full",gap:2,mb:4,...s,children:[(0,n.jsx)(S.Hx,{size:"h5",alignSelf:"start",children:r}),(0,n.jsx)(c.i,{})]});default:return null}},z=e=>{let{formSchema:t,data:r,placeholder:l}=e;if(!(0,o.NJ)())throw Error("Combobox used outside of FormControl context");let a=(0,v.E)(),{control:i,setValue:c}=(0,b.Gc)(),[f,g]=p.useState(r),{isOpen:y,getMenuProps:S,getInputProps:k,getItemProps:w,setInputValue:I}=(0,j.Kb)({onInputValueChange:e=>{let{inputValue:t}=e;if(!t){c("searchTerm",""),g(r);return}c("searchTerm",t),g(r.filter(e=>e.toLowerCase().includes(t.toLowerCase())))},items:f});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(b.Qr,{control:i,name:"searchTerm",render:e=>{let{field:t}=e;return(0,n.jsxs)(s.B,{children:[(0,n.jsx)(d.Z,{color:"brand.medium",children:(0,n.jsx)(C.Yt,{})}),(0,n.jsx)(u.I,{...t,placeholder:l,...k(),value:t.value}),(0,n.jsx)(d.x,{color:"brand.medium",children:(0,n.jsx)(h.P,{"aria-label":a("viewClaim.search.delete"),sx:{_hover:{bg:"none",color:"brand.blue"}},onClick:()=>{c("searchTerm",""),I("")}})})]})}}),(0,n.jsx)(m.chakra.ul,{__css:{maxH:"32rem",overflowY:"scroll",paddingLeft:0,boxShadow:"drop",border:"1px solid",color:"brand.light",marginBottom:4,borderRadius:"md",visibility:y&&f.length?void 0:"hidden"},...S(),children:y&&f.map(e=>(0,n.jsx)(x.z,{variant:"outline",type:"button",sx:{fontWeight:"normal",w:"full",border:"none",borderRadius:"none",_hover:{bg:"brand.light"},color:"brand.blue",justifyContent:"flex-start",pl:10},...w({item:e}),children:e},e))}),f.length<1&&(0,n.jsx)(n.Fragment,{children:a("viewClaim.search.numberNotFound")})]})},_=e=>{let{value:t,values:r,labels:l,onChange:a}=e;if(!(0,o.NJ)())throw Error("RadioGroup used outside of FormControl context");return(0,n.jsx)(f.E,{onChange:a,variant:"tabs",value:t,as:i.U,placeContent:"center",gap:24,marginTop:8,marginBottom:8,children:l.map((e,t)=>{let o=r[t];return(0,n.jsx)(g.Y,{value:o,children:e},o)})})},F=e=>{let{control:t,name:r,isInvalid:o,label:l,placeholder:a,error:i,children:c}=e;return(0,n.jsxs)(k,{isInvalid:o,children:[(0,n.jsx)(w,{variant:"medium",children:l}),(0,n.jsx)(b.Qr,{control:t,name:r,render:e=>{let{field:t}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(u.I,{variant:"outline",borderColor:"brand.light",placeholder:a,...t}),c]})}}),(0,n.jsx)(y.b,{error:i})]})}},73825:function(e,t,r){r.d(t,{b:function(){return a}});var n=r(29);let o=e=>({auto:[n.pUJ.format,n.pUJ.compress],w:e,fit:n.bKy.fill,crop:[n.Ho$.edges],q:Math.round(20+(1-Math.min(e/1440,1))*40)}),l=e=>{let{width:t,fileAspectRatio:r}=e;return{...o(t),h:Math.floor(t/r),fit:n.bKy.crop,crop:[n.Ho$.focalpoint]}},a={heroSlideImage:l({fileAspectRatio:3/4,width:1024}),contentImage:o(1024),contentWideImage:l({fileAspectRatio:2,width:1280}),videoThumbnailImage:o(512),contactImage:o(168)}},7153:function(e,t,r){r.d(t,{l:function(){return x}});var n=r(21770),o=r(41443),l=r.n(o),a=r(45290),i=r(24831),c=r(81680),s=r(34569),d=r(93448),u=r(22982);let h=async(e,t)=>(await c.ZP.post("".concat([(0,u.Bh)(),"publicapi/v1",e].map(d.g_).join("/")),{json:t,headers:{authorization:"Bearer ".concat(s.ZL)}})).json();i.z.object({emailTemplateSlug:i.z.string(),emailSubject:i.z.string(),payload:i.z.record(i.z.string().min(1),i.z.union([i.z.string(),i.z.date(),i.z.number()]))});let m=e=>e instanceof Date?(0,a.WU)(e):e,x=()=>(0,n.D)({mutationFn:async e=>{let{emailTemplateSlug:t,emailSubject:r,payload:n}=e;return h("emails/send",{templateSlug:t,emailSubject:r,payload:l()(n,m)})}})},42365:function(e,t,r){r.d(t,{V:function(){return S},Yk:function(){return v},t:function(){return C},yl:function(){return y}});var n=r(57437),o=r(9889),l=r(68207),a=r(2265),i=r(29501),c=r(57559),s=r(20046),d=r(11656),u=r(42879),h=r(1690),m=r(52926),x=r(95338),f=r(87798),g=r(35595),j=r(32909),p=r(24831),b=r(7153);let v=p.z.object({emailSubject:p.z.string(),productOrCategory:p.z.string().min(1).or(p.z.undefined()),categoryProduct:p.z.string().min(1).or(p.z.undefined())}),C=e=>{let{buttonText:t,isValid:r,children:s,type:h,form:m,...p}=e,v=(0,o.useMultiStyleConfig)("ContactForm"),C=(0,x.E)(),{locale:y,brandConfig:{slug:S}}=(0,g.hS)(),{data:k}=(0,c.Ei3)({locale:y}),w=(0,a.useMemo)(()=>{var e;return null!==(e=null==k?void 0:k.allProductPages.filter(e=>e.showContactForm))&&void 0!==e?e:[]},[k]),I=(0,b.l)(),z=(0,j.cM)(),_=(0,g.rv)(),{handleSubmit:F}=m,T=(0,a.useCallback)(e=>{F(e=>{let t,{emailSubject:r,productOrCategory:n,categoryProduct:o,...l}=e,a="".concat(h,"FormSlug");if(_){if(!(t=_[a])){z(C("toast.formSubmitError"));return}I.mutate({emailSubject:"[".concat(S,"] ").concat(r),emailTemplateSlug:t,payload:l})}let i=w.find(e=>e.slug===n||e.slug===o);if(!i)return;if(!(t=i[a])){z(C("toast.formSubmitError"));return}let c=i.name;I.mutate({emailSubject:"[".concat(S,"] ").concat(r).concat("".concat(c)),emailTemplateSlug:t,payload:l})})(e)},[F,h,_,w,I,S,z,C]);return I.isSuccess?(0,n.jsx)(l.chakra.div,{__css:v.formWrapper,children:(0,n.jsx)(l.chakra.div,{sx:v.content,children:(0,n.jsxs)(l.chakra.div,{sx:v.formSent,children:[(0,n.jsx)(f.MC,{width:14,height:14,color:"brand.highlight"}),(0,n.jsx)(u.Hx,{size:"h3",children:C("sent")})]})})}):(0,n.jsx)(i.RV,{...m,children:(0,n.jsx)(l.chakra.div,{__css:v.formWrapper,...p,children:(0,n.jsxs)(l.chakra.form,{sx:v.content,onSubmit:T,id:"form_".concat(h),children:[s,(0,n.jsx)(l.chakra.div,{sx:v.buttonWrapper,children:(0,n.jsx)(d.Z,{isValid:r,rightIcon:(0,n.jsx)(f.k4,{}),width:"100%",isLoading:I.isPending,forceDisabled:I.isPending,id:"submit_contact_form_".concat(h),children:t})})]})})})},y=e=>{let{children:t}=e,r=(0,o.useMultiStyleConfig)("ContactForm"),a=(0,x.E)();return(0,n.jsxs)(l.chakra.div,{sx:r.formTitleWrapper,children:[(0,n.jsx)(l.chakra.div,{sx:r.formTitle,children:t}),(0,n.jsx)(h.b,{text:a("contact.consent")})]})},S=()=>{var e,t;let r=(0,o.useMultiStyleConfig)("ContactForm"),a=(0,x.E)(),{locale:d}=(0,g.hS)(),{formState:{errors:u},watch:h}=(0,i.Gc)(),{data:f,isPending:j}=(0,c.Ei3)({locale:d}),{data:p,isPending:b}=(0,c.B5z)({locale:d});if((0,g.rv)())return null;let v=null!==(e=null==f?void 0:f.allProductPages.filter(e=>e.showContactForm))&&void 0!==e?e:[],C=null!==(t=null==p?void 0:p.allProductCategories)&&void 0!==t?t:[],y=[...v.filter(e=>!e.productCategory),...C],S=v.filter(e=>{let{productCategory:t}=e;return t&&t.slug===h("productOrCategory")});return(j||b)&&(l.chakra.div,r.formWrapper,l.chakra.div,r.content,m.g),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.i,{name:"productOrCategory",label:a("contact.form.productOrCategory.label"),placeholder:a("contact.form.productOrCategory.placeholder"),isInvalid:!!u.productOrCategory,sx:r.formControl,children:y.map(e=>{let{slug:t,name:r}=e;return(0,n.jsx)("option",{value:t,children:r},t)})}),S.length>0&&(0,n.jsx)(s.i,{name:"categoryProduct",label:a("contact.form.categoryProduct.label"),placeholder:a("contact.form.categoryProduct.placeholder"),sx:r.formControl,isInvalid:!!u.categoryProduct,children:S.map(e=>{let{slug:t,name:r}=e;return(0,n.jsx)("option",{id:t,value:t,children:r},t)})})]})}},52972:function(e,t,r){r.d(t,{p:function(){return y}});var n=r(57437);r(2265);var o=r(57559),l=r(77476),a=r(35595),i=r(73825),c=r(9889),s=r(10883),d=r(13590),u=r(29501),h=r(70729),m=r(42879),x=r(14727),f=r(86326),g=r(95338),j=r(87798),p=r(24831),b=r(42365);let v=b.Yk.extend({name:p.z.string(),email:p.z.string().email().min(1),company:
1p.z.string(),message:p.z.string().min(1).max(500)}),C=e=>{let t=(0,c.useMultiStyleConfig)("ContactForm"),r=(0,g.E)(),o=(0,u.cI)({resolver:(0,d.F)(v),mode:"onTouched",defaultValues:{emailSubject:r("contact.subject.demo")}}),{register:l,control:a,formState:{errors:i,isValid:p}}=o;return(0,n.jsxs)(b.t,{type:"demo",isValid:p,buttonText:r("contact.send"),form:o,...e,children:[(0,n.jsxs)(b.yl,{children:[(0,n.jsx)(j.Iz,{}),(0,n.jsx)(m.Hx,{size:"h3",children:r("contact.demo.title")})]}),(0,n.jsx)(b.V,{}),(0,n.jsxs)(f.NI,{isInvalid:!!i.name,sx:t.formControl,children:[(0,n.jsx)(f.lX,{children:r("contact.form.name.label")}),(0,n.jsx)(s.I,{placeholder:r("contact.form.name.placeholder"),...l("name")}),(0,n.jsx)(h.b,{error:i.name})]}),(0,n.jsxs)(f.NI,{isInvalid:!!i.email,sx:t.formControl,children:[(0,n.jsx)(f.lX,{children:r("contact.form.email.label")}),(0,n.jsx)(s.I,{placeholder:r("contact.form.email.placeholder"),...l("email")}),(0,n.jsx)(h.b,{error:i.email})]}),(0,n.jsxs)(f.NI,{isInvalid:!!i.company,sx:t.formControl,children:[(0,n.jsx)(f.lX,{children:r("contact.form.company.label")}),(0,n.jsx)(s.I,{placeholder:r("contact.form.company.placeholder"),...l("company")}),(0,n.jsx)(h.b,{error:i.company})]}),(0,n.jsxs)(f.NI,{isInvalid:!!i.message,sx:t.formControl,children:[(0,n.jsx)(f.lX,{children:r("contact.form.message.label")}),(0,n.jsx)(u.Qr,{control:a,name:"message",render:e=>{let{field:t}=e;return(0,n.jsx)(x.g,{maxLength:500,placeholder:r("contact.form.message.placeholder"),resize:"none",...t})}}),(0,n.jsx)(h.b,{error:i.message})]})]})},y=e=>{var t,r;let{title:c,subtitle:s,contact:d}=e,{locale:u}=(0,a.hS)(),{data:h}=(0,o.pTH)({locale:u,id:d.id,contactImage:i.b.contactImage}),m=null!==(r=null==h?void 0:null===(t=h.contact)||void 0===t?void 0:t.photo)&&void 0!==r?r:null;return(0,n.jsx)(l.r8,{title:c,subtitle:s,contact:d,photo:m,children:(0,n.jsx)(l.hi,{rightForm:(0,n.jsx)(C,{})})})}}}]);
2//# sourceMappingURL=476.1564cb7d940f091a.js.map

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.