1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7021],{4476:e=>{e.exports={thankYou:"complaintsForm_thankYou__AC6rM",fileArea:"complaintsForm_fileArea__VM9Wx",areaError:"complaintsForm_areaError__5uTUV",file:"complaintsForm_file__zaB4D",fileError:"complaintsForm_fileError__WjYxf"}},7411:e=>{e.exports={root:"SanityContentStyles_root__C5Y6z",smallerText:"SanityContentStyles_smallerText__tFK44",altUl:"SanityContentStyles_altUl__fQHnt",basic:"SanityContentStyles_basic__aYrrz"}},10414:(e,n,r)=>{"use strict";r.r(n),r.d(n,{__N_SSG:()=>y,default:()=>k});var a=r(60072),s=r(71050),t=r(71908),l=r(74915),o=r(61030),c=r(36031),i=r(65039),m=r(6229),_=r(5791),d=r(60004),h=r(4476),x=r.n(h);let p=e=>{var n,r;let{content:s}=e,l=(0,_.c)(),h=[{name:l("radio_option_yes"),value:1},{name:l("radio_option_no"),value:0}],[p,j]=(0,d.useState)(!1),[f,u]=(0,d.useState)(""),[v,g]=(0,d.useState)(!1),[y,k]=(0,d.useState)(null),b=(0,d.useRef)(),{values:N,onChange:S,validate:C,errors:G}=(0,m.mN)({company_name:[e=>!e&&l("complaints_form_company_name_error")],message:[e=>!e&&l("complaints_form_message_error")],file:[e=>e&&e.size>1e7&&l("complaints_form_file_error")],has_request:[e=>void 0===e&&l("complaints_form_has_request_error")],name:[e=>!e&&l("complaints_form_name_error")],email:[e=>!e&&l("complaints_form_email_error"),e=>-1===e.search(/[^@]+@[^.]+\..+/)&&l("complaints_form_email_invalid_error")],phone:[e=>!e&&l("complaints_form_phone_error")]});return(0,a.jsx)(a.Fragment,{children:p?(0,a.jsxs)("div",{className:x().thankYou,children:[(0,a.jsx)(t.cG,{m:!0}),(0,a.jsx)("p",{children:l.rich("complaints_thank_you_1",{company_name:f,b:e=>(0,a.jsx)("b",{children:e})})}),(0,a.jsx)("p",{children:l("complaints_thank_you_2")})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h2",{children:s.heading}),(0,a.jsx)(t.cG,{s:!0}),(0,a.jsx)(o.FO,{type:"text",name:"company_name",value:N.company_name,legend:!0,placeholder:s.serviceName,onChange:e=>{S(e),u(e.target.value)},error:G.company_name||y&&y.company_name&&l("complaints_form_company_name_error")}),(0,a.jsx)(t.cG,{s:!0}),(0,a.jsx)(o.FO,{type:"text",name:"message",onChange:S,value:N.message,legend:!0,placeholder:s.situation,textArea:!0,error:G.message||y&&y.message&&l("complaints_form_message_error")}),(0,a.jsx)(t.cG,{s:!0}),(0,a.jsxs)("div",{className:[x().fileArea].join(" "),children:[(0,a.jsxs)(t.lL,{icon:"add",fontSize:18,className:G&&G.file?x().areaError:"",children:[(0,a.jsx)("label",{htmlFor:"file",children:(null==(r=b.current)||null==(n=r.files[0])?void 0:n.name)||s.file}),(0,a.jsx)("input",{ref:b,onChange:e=>{S({target:{name:"file",value:e.target.files[0]}})},accept:".xlsx,.xls,image/*,.doc, .docx,.ppt, .pptx,.txt,.pdf",type:"file",name:"file",id:"file",size:"10",className:x().file})]}),(0,a.jsx)(t.cG,{s:!0}),(0,a.jsx)("div",{className:x().fileError,children:G&&G.file&&l("complaints_form_file_error")})]}),(0,a.jsx)(t.cG,{l:!0}),(0,a.jsx)("div",{children:(0,a.jsx)("b",{children:s.question.questionTitle})}),(0,a.jsx)(t.cG,{s:!0}),(0,a.jsx)(o.sx,{options:h,value:N.has_request,name:"has_request",onChange:S,errorBold:!0,error:G.has_request}),(0,a.jsx)(t.cG,{l:!0}),(0,a.jsx)("h2",{children:s.contactSection.contactHeading}),(0,a.jsx)(t.cG,{s:!0}),(0,a.jsx)(o.FO,{type:"text",name:"name",legend:!0,placeholder:s.contactSection.name,value:N.name,onChange:S,error:G.name||y&&y.name&&l("complaints_form_name_error")}),(0,a.jsx)(t.cG,{s:!0}),(0,a.jsx)(o.FO,{type:"email",name:"email",legend:!0,placeholder:s.contactSection.email,value:N.email,onChange:S,error:G.email||y&&y.email&&l("complaints_form_email_error")}),(0,a.jsx)(t.cG,{s:!0}),(0,a.jsx)(o.FO,{type:"telephone",name:"phone",legend:!0,placeholder:s.contactSection.phone,value:N.phone,onChange:S,error:G.phone||y&&y.phone&&l("complaints_form_phone_error")}),(0,a.jsx)(t.cG,{l:!0}),(0,a.jsx)(t.$n,{name:"default",disabled:v,onClick:()=>{C(),C()&&(g(!0),(0,c.T)("complaints/save",{payload:N}).then(()=>{g(!1),j(!0)},e=>{g(!1),e&&e.error===i.JC&&(g(!1),k(Object.keys(e).filter(e=>"error"!==e&&"status"!==e)))}))},children:s.button})]})})};var j=r(25836),f=r(94373),u=r(94731),v=r(99670),g=r.n(v),y=!0;let k=e=>{let{contact:n,content:r}=e;return(0,a.jsx)(a.Fragment,{children:r&&(0,a.jsx)(f.A,{title:r.seoTitle,border:!0,hideMargin:!0,description:r.seoDescription,otherCountryLinks:u.Uu.complaintAboutCompany,children:(0,a.jsx)("div",{children:(0,a.jsxs)(j.A,{size:"l",children:[(0,a.jsx)(t.cG,{xl:!0}),(0,a.jsxs)(s.fI,{children:[(0,a.jsx)(s.fv,{md:6,children:(0,a.jsxs)("div",{className:g().form,children:[(0,a.jsx)("h1",{children:r.complaints.heading}),(0,a.jsx)("p",{className:g().desc,children:r.complaints.description}),(0,a.jsx)(p,{content:r.form})]})}),(0,a.jsx)(s.fv,{md:6,children:(0,a.jsxs)("div",{className:g().contact,children:[(0,a.jsx)(t.cG,{xxl:!0}),(0,a.jsx)(l.A,{content:n})]})})]}),(0,a.jsx)(t.cG,{xxl:!0})]})})})})}},12039:(e,n,r)=>{"use strict";r.d(n,{A:()=>i});var a=r(60072),s=r(63675),t=r(89438),l=r(21003),o=r(7411),c=r.n(o);let i=e=>{let{content:n,altUlStyling:r,basic:o,className:i,children:m}=e,_=[c().root,r?c().altUl:"",o?c().basic:"",i||""].join(" "),d={marks:{link:e=>{let{value:n,children:r}=e,{blank:s,href:t}=n;return s?(0,a.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",children:r}):(0,a.jsx)("a",{href:t,children:r})}},types:{table:e=>(0,a.jsx)(l.A,{table:e.value}),anchor:t.A}};return(0,a.jsxs)("div",{className:_,children:[(0,a.jsx)(s.RK,{value:n,components:d,className:_}),(0,a.jsx)("span",{className:_,children:m})]})}},21003:(e,n,r)=>{"use strict";r.d(n,{A:()=>l});var a=r(60072),s=r(63178),t=r.n(s);let l=e=>{let{table:n}=e;return(0,a.jsx)("div",{className:t().container,children:(0,a.jsx)("table",{className:t().root,children:(0,a.jsxs)("tbody",{children:[(0,a.jsx)("tr",{children:n.rows[0].cells.map((e,n)=>(0,a.jsx)("th",{children:e},n))}),n.rows.map((e,n)=>n>0&&(0,a.jsx)("tr",{children:e.cells.map((e,n)=>(0,a.jsx)("td",{children:e},n))},n))]})})})}},45841:(e,n,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/klacht-over-bedrijf",function(){return r(10414)}])},56880:e=>{e.exports={block:"ContactBlock_block__neUzK",bordered:"ContactBlock_bordered__gaTgh",contactImage:"ContactBlock_contactImage__0LF8V",icons:"ContactBlock_icons__8iyiU",chatLink:"ContactBlock_chatLink__mvkkh",contactWrapper:"C
1ontactBlock_contactWrapper__TM8Ss"}},63178:e=>{e.exports={container:"Table_container__Lzlqv",root:"Table_root__mYyBY"}},74915:(e,n,r)=>{"use strict";r.d(n,{A:()=>h});var a=r(60072),s=r(71050),t=r(71908),l=r(72788);let o=e=>{let{src:n,srcSmall:r,children:s,height:t,className:l,style:o,alt:c="foto.jpg"}=e;return(0,a.jsxs)("picture",{className:l||"",style:{overflow:"hidden",display:"block"},children:[(0,a.jsx)("source",{media:"(min-width: 650px)",srcSet:n}),(0,a.jsx)("source",{media:"(min-width: 465px)",srcSet:n}),(0,a.jsx)("img",{src:n,alt:c,style:{width:"100%",...o}})]})};var c=r(35319),i=r(73566),m=r(12039),_=r(56880),d=r.n(_);let h=e=>{let{content:n,blogSizes:r=!1}=e;return(0,a.jsxs)("div",{className:[d().block,d().bordered].join(" "),children:[(0,a.jsx)(m.A,{content:n.contactBlock}),(0,a.jsx)(t.cG,{l:!0,mobile:"m"}),(0,a.jsxs)(s.fI,{middle:"xs",className:d().contactWrapper,children:[(0,a.jsx)(s.fv,{xs:4,sm:3,md:r?3:5,children:(0,a.jsx)(o,{src:(0,l.VG)(n.contactImage).width(180).height(180).url(),className:d().contactImage})}),(0,a.jsxs)(s.fv,{xs:8,sm:9,md:r?9:7,className:d().icons,children:[(0,a.jsx)("div",{className:d().chatLink,children:(0,a.jsx)(i.A,{type:c.g.LINK,children:(0,a.jsx)(t.lL,{icon:"question_answer",fontSize:26,children:(0,a.jsx)(m.A,{content:n.contact.chat})})})}),(0,a.jsx)(t.cG,{m:!0}),(0,a.jsx)(t.lL,{icon:"phone",fontSize:26,children:(0,a.jsx)("div",{children:(0,a.jsx)("a",{href:"tel:".concat(n.contact.phoneUrl),children:n.contact.phone})})}),(0,a.jsx)(t.cG,{m:!0}),(0,a.jsx)(t.lL,{icon:"mail",fontSize:26,children:(0,a.jsx)("div",{children:(0,a.jsx)("a",{href:"mailto:".concat(n.contact.email),children:n.contact.email})})}),(0,a.jsx)(t.cG,{m:!0}),(0,a.jsx)(t.lL,{icon:"place",fontSize:26,children:(0,a.jsx)("div",{children:n.contact.address})})]})]})]})}},89438:(e,n,r)=>{"use strict";r.d(n,{A:()=>s});var a=r(60072);let s=e=>{let{value:n}=e;return(0,a.jsx)("div",{style:{paddingTop:110,marginTop:-110,position:"relative",zIndex:-1},id:n.id})}},99670:e=>{e.exports={form:"complaints_form__TAAwg",contact:"complaints_contact__MbDp2",desc:"complaints_desc__7K_cZ"}}},e=>{e.O(0,[4205,3675,2960,8304,4373,2810,2788,636,6593,8792],()=>e(e.s=45841)),_N_E=e.O()}]);
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.