PageSourceSearch

https://www.pkoleasing.pl/_next/static/chunks/3256.914f3aa80ce4cdec.js

js pkoleasing.pl collected 2026-10-02 06:03:45 UTC 30,269 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3256],{73256:(e,a,l)=>{l.r(a),l.d(a,{default:()=>E});var t=l(26514),n=l(69001),r=l.n(n),i=l(29692),o=l(62176),s=l(24995),d=l(99257),m=l(23469),p=l.n(m),c=l(75834),u=l(93794),h=l(93069),_=l(60719),y=l(29009),x=l(56264),g=l(82056),f=l(6395),j=l(98938),v=l(90677),b=l(13403),w=l(43371),z=l(38291),k=l(54004),A=l(2141),N=l(34453),W=l(12097),T=l(29601),F=l(53303),B=l(74621),P=l(51507),C=l(27133),S=l(13436),M=l(42920),q=l(30839);let I=p()(()=>Promise.resolve().then(l.bind(l,61265)),{loadableGenerated:{webpack:()=>[61265]}}),L="ccforms",Y=u.Df.withName("PKOBPCCForms").create(()=>({container:{maxWidth:600,margin:"0 auto"},title:{fontSize:"32px",lineHeight:"40px",marginBottom:"12px",fontWeight:"600",[k.Ay.breakpoints.down("md")]:{fontSize:"24px",lineHeight:"32px"}},subtitle:{marginTop:0,marginBottom:"12px",lineHeight:"24px",fontWeight:300},form:{[k.Ay.breakpoints.up("md")]:{marginTop:"24px"}},formContainer:{display:"flex",flexDirection:"column",gap:"8px",position:"relative"},fieldset:{margin:0,padding:0,border:"none","&>legend":w.$},inputWrapper:{marginTop:"22px"},labelWrapper:{display:"flex",alignItems:"center",marginBottom:"2px","& label":{color:k.Ay.palette.text.primary,display:"inline-block",fontSize:"14px",lineHeight:"24px"},"& .pkobp-tooltip":{display:"inline-block",height:"24px",marginLeft:"4px",marginTop:"-3px"}},textField:{width:"100%",".text-spacing-detected &":{"& fieldset":{"& legend, & span":{lineHeight:"1 !important"}}},"& .MuiInputBase-root, &.MuiInputBase-root":{borderRadius:"8px",borderColor:k.Ay.palette.text.primary,fontFamily:k.Ay.typography.fontFamily,height:"48px",".text-spacing-detected &":{height:"auto",minHeight:"48px"}},"& .MuiInputAdornment-root":{marginLeft:"-2px",marginTop:"0",letterSpacing:"-1px",[k.Ay.breakpoints.down("md")]:{marginTop:"1px"},".text-spacing-detected &":{"& p":{marginTop:"5px"}}},"& .MuiInputBase-input":{paddingTop:"15px",paddingBottom:"15px",".text-spacing-detected &":{"&:not(textarea)":{lineHeight:"1 !important"},paddingTop:"calc(15px + 5px)"}},"& .MuiInputBase-multiline":{height:"unset",paddingTop:"15px",paddingBottom:"15px","& textarea":{padding:"0 !important"}},"& .MuiOutlinedInput-notchedOutline":{top:0,"& > *":{lineHeight:"0"}}},select:{width:"100%",maxWidth:"calc(100vw - 32px)","& .MuiInputBase-root, &.MuiInputBase-root":{height:"48px",borderRadius:"8px",borderColor:k.Ay.palette.text.primary,fontFamily:k.Ay.typography.fontFamily},"& svg":{cursor:"pointer",pointerEvents:"none",position:"absolute",right:"8px",[k.Ay.breakpoints.down("sm")]:{right:"3px"}},".text-spacing-detected &":{"& fieldset":{"& legend, & span":{lineHeight:"1 !important"}}}},select__error:{"& fieldset":{borderColor:k.Ay.palette.error.main}},option:{whiteSpace:"normal"},agreementsWrapper:{marginTop:"24px",maxWidth:"calc(100vw - 32px - 24px)","& a":{...F.buttonTextBlueStyles}},agreementsError:{marginTop:"-8px",marginBottom:"8px"},infosWrapper:{marginTop:"24px",maxWidth:"calc(100vw - 32px - 24px)"},faqWrapper:{maxWidth:600,marginTop:"16px",marginBottom:"32px",padding:0,listStyleType:"none"},faq_header:{marginTop:"32px",fontSize:"24px",lineHeight:"32px",marginBottom:"16px",[k.Ay.breakpoints.down("md")]:{fontSize:"18px",lineHeight:"24px",marginBottom:"16px"}},accordionBox:{paddingTop:"28px",paddingBottom:"28px",borderTop:"1px solid ".concat(k.Ay.palette.secondary.borders),"&:last-of-type":{borderBottom:"1px solid ".concat(k.Ay.palette.secondary.borders)},[k.Ay.breakpoints.down("sm")]:{paddingTop:"24px",paddingBottom:"23px"},"&>div>div>div>span":{fontSize:"14px"},"& .pkobp-wysiwyg":{fontSize:"14px","& *:not(h1,h2,h3,h4,h5,h6,.wysiwygDocumentsItem__extension,.pkobp-tooltip)":{fontSize:"14px !important"}},"& .MuiAccordionSummary-expandIconWrapper":{alignSelf:"flex-start"},"& .MuiCollapse-wrapper":{maxWidth:"calc(100vw - 50px)"}},submitButton:{width:"auto",alignSelf:"start",margin:"-4px auto 0 auto",[k.Ay.breakpoints.down("sm")]:{width:"100%"}},responseContainer:{display:"flex",flexDirection:"column",width:"100%",height:"100%",[k.Ay.breakpoints.up("sm")]:{minWidth:"600px"}},messageWrapper:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",width:"100%",height:"100%",marginBottom:"15px"},checkIcon:{width:"96px",height:"96px",fill:k.Ay.palette.success.main,marginBottom:"16
1px"},closeIcon:{width:"96px",height:"96px",fill:k.Ay.palette.error.main},responseHeader:{margin:"0 0 18px 0",textAlign:"center",fontSize:"24px",lineHeight:32/24,[k.Ay.breakpoints.down("sm")]:{fontSize:"18px"}},responseMessage:{textAlign:"center",fontWeight:300,maxWidth:"550px",lineHeight:"24px"},responseBtn:{width:"auto",alignSelf:"center",[k.Ay.breakpoints.down("sm")]:{width:"100%"}}})),E=e=>{var a,l,n,m,p,u,w,E,O,H,V,D,$,X,K,R,Z,U,G,J,Q,ee,ea,el,et,en,er,ei,eo;let{...es}=e,ed=(0,A.A)(),em=(0,c.useContext)(S.G),{classes:ep}=Y(),ec=(0,f.A)(k.Ay.breakpoints.down("sm")),[eu,eh]=(0,c.useState)(!1),[e_,ey]=(0,c.useState)(null),[ex,eg]=(0,c.useState)(!1),[ef,ej]=(0,c.useState)((null==es||null==(l=es.contact_form_group_rendered)||null==(a=l.forms)?void 0:a.length)===1?null==es||null==(p=es.contact_form_group_rendered)||null==(m=p.forms)||null==(n=m[0])?void 0:n.id:null),[ev,eb]=(0,c.useState)([]),ew=async(e,a)=>{let{resetForm:l}=a;eh(!0);try{var t,n;let a={...e},r=eN(ef,"agreement_accepted_1"),i=eN(ef,"agreement_accepted_2"),o=eN(ef,"agreement_accepted_3"),s=eN(ef,"agreement_accepted_4"),d=eN(ef,"agreement_accepted_5");if(r?e.agreement_accepted_1||Object.assign(a,{agreement_accepted_1:!1}):delete a.agreement_accepted_1,i?e.agreement_accepted_2||Object.assign(a,{agreement_accepted_2:!1}):delete a.agreement_accepted_2,o?e.agreement_accepted_3||Object.assign(a,{agreement_accepted_3:!1}):delete a.agreement_accepted_3,s?e.agreement_accepted_4||Object.assign(a,{agreement_accepted_4:!1}):delete a.agreement_accepted_4,d?e.agreement_accepted_5||Object.assign(a,{agreement_accepted_5:!1}):delete a.agreement_accepted_5,r&&Object.assign(a,{agreement_1:r.display_name+" - "+r.content,agreement_display_name_1:r.display_name}),i&&Object.assign(a,{agreement_2:i.display_name+" - "+i.content,agreement_display_name_2:i.display_name}),o&&Object.assign(a,{agreement_3:o.display_name+" - "+o.content,agreement_display_name_3:o.display_name}),s&&Object.assign(a,{agreement_4:s.display_name+" - "+s.content,agreement_display_name_4:s.display_name}),d&&Object.assign(a,{agreement_5:d.display_name+" - "+d.content,agreement_display_name_5:d.display_name}),(null==(t=eA(ef))?void 0:t.category)==="property"){let e=document.getElementById(q.yY),l=document.getElementById(q.lJ),t=(null==e?void 0:e.innerText)||"",n=(null==l?void 0:l.innerText)||"";Object.assign(a,{subject:t+" "+n})}let m=await ed.apiModulesContactFormCreate(a);if(m.ok&&(null==m||null==(n=m.data)?void 0:n.status))ey({type:"success",message:"Dziękujemy, Twoja wiadomość została wysłana."}),l();else throw Error("HTTP error! Status: ".concat(m.status))}catch(e){console.error(e),(null==e?void 0:e.status)===429?ey({type:"error",message:"Mamy już Twoje zgłoszenie.<br>Jeśli chcesz wysłać kolejne, zr\xf3b to za kilka minut."}):ey({type:"error",message:"Wystąpił błąd podczas wysyłania formularza.<br>Spr\xf3buj ponownie p\xf3źniej."})}finally{eh(!1)}},ez=()=>{eg(!1),setTimeout(()=>{ey(null)},500)};(0,c.useEffect)(()=>{(null==e_?void 0:e_.type)&&eg(!0)},[e_]),(0,c.useEffect)(()=>{eb(ek())},[]);let ek=()=>{var e,a,l,t;return(null==(a=es.contact_form_group_rendered)||null==(e=a.forms)?void 0:e.length)?null==(t=es.contact_form_group_rendered)||null==(l=t.forms)?void 0:l.map(e=>({value:e.id,label:e.category_display})):[]},eA=e=>es.contact_form_group_rendered.forms.find(a=>a.id===e),eN=(e,a)=>{var l;let t=a.replace("agreement_accepted_","agreement_");return(null==(l=eA(e))?void 0:l[t])||null},eW={form:(null==es||null==(w=es.contact_form_group_rendered)||null==(u=w.forms)?void 0:u.length)===1?null==es||null==(H=es.contact_form_group_rendered)||null==(O=H.forms)||null==(E=O[0])?void 0:E.id:null,response_type:(null==(V=eA(ef))?void 0:V.response_types)==="none"?"none":"email",text:"",first_name:"",last_name:"",pesel:"",email:"",phone:"",agreement_accepted_1:null,agreement_accepted_2:null,agreement_accepted_3:null,agreement_accepted_4:null,agreement_accepted_5:null,city:"",street:"",street_number:"",flat_number:"",postal_code:"",post_office:"",subject:""},eT=/^\d*$/,eF=/^[a-zA-Z\u0080-\u00FF\u0100-\u017F\u0180-\u024F\s-]*$/,eB=W.Ut,eP=/^\d{2}-\d{3}
1$/,eC=/^\d*-?\d*$/,eS=/^[A-Za-z0-9\u0080-\u00FF\u0100-\u017F\u0180-\u024F\s-.]*$/,eM=/^[A-Za-z0-9\s/]*$/,eq=h.Ik().shape({form:h.Yj().nullable().required("To pole jest wymagane."),response_type:h.Yj().required("To pole jest wymagane."),text:h.Yj().required("To pole jest wymagane.").max(1e4,"Pole może mieć maksymalnie 10.000 znak\xf3w.").matches(/^[A-Za-z0-9\u0080-\u00FF\u0100-\u017F\u0180-\u024F\s-.,:;!?"'/()@#$%^&*=_+<>]*$/,"Pole może zawierać tylko litery, cyfry, spacje oraz znaki -.,:;!?\"'/()@#$%^&*=_+<>.").test("did_value_contains_not_allowed_chars","Pole może zawierać tylko litery, cyfry, spacje oraz znaki -.,:;!?\"'/()@#$%^&*=_+<>.",e=>!(null==e?void 0:e.includes("\xa9"))&&!(null==e?void 0:e.includes("\xae"))),first_name:h.Yj().required("To pole jest wymagane.").min(3,"Pole musi mieć minimalnie 3 znaki.").max(200,"Pole może mieć maksymalnie 200 znak\xf3w.").matches(eF,"Imię może zawierać tylko litery, spacje i myślniki.").test("did_value_contains_not_allowed_chars","Imię może zawierać tylko litery, spacje i myślniki.",e=>!(null==e?void 0:e.includes("\xa9"))&&!(null==e?void 0:e.includes("\xae"))),last_name:(null==(D=eA(ef))?void 0:D.show_last_name)?h.Yj().required("To pole jest wymagane.").min(3,"Pole musi mieć minimalnie 3 znaki.").max(200,"Pole może mieć maksymalnie 200 znak\xf3w.").matches(eF,"Nazwisko może zawierać tylko litery, spacje i myślniki.").test("did_value_contains_not_allowed_chars","Nazwisko może zawierać tylko litery, spacje i myślniki.",e=>!(null==e?void 0:e.includes("\xa9"))&&!(null==e?void 0:e.includes("\xae"))):h.Yj(),email:h.Yj().when("response_type",{is:"email",then:h.Yj().required("To pole jest wymagane.").max(100,"Pole może mieć maksymalnie 100 znak\xf3w.").matches(eB,"Niepoprawna wartość dla pola E-mail."),otherwise:h.Yj().max(100,"Pole może mieć maksymalnie 100 znak\xf3w.").matches(eB,"Niepoprawna wartość dla pola E-mail.")}),phone:h.Yj().when("response_type",{is:"phone",then:h.Yj().required("To pole jest wymagane.").max(20,"Pole może mieć maksymalnie 20 znak\xf3w.").matches(/^\d{9}$/,"Poprawny numer powinien składać się z 9 cyfr."),otherwise:h.Yj()}),city:(null==($=eA(ef))?void 0:$.show_address_fields)?h.Yj().required("To pole jest wymagane.").max(100,"Pole może mieć maksymalnie 100 znak\xf3w.").matches(eF,"Miejscowość może zawierać tylko litery, spacje i myślniki."):h.Yj(),street:h.Yj().when("response_type",{is:"letter",then:h.Yj().required("To pole jest wymagane.").max(100,"Pole może mieć maksymalnie 100 znak\xf3w.").matches(eS,"Ulica może zawierać tylko litery, cyfry, spacje, myślniki i kropki."),otherwise:h.Yj().nullable().max(100,"Pole może mieć maksymalnie 100 znak\xf3w.").matches(eS,"Ulica może zawierać tylko litery, cyfry, spacje, myślniki i kropki.")}),street_number:h.Yj().when("response_type",{is:"letter",then:h.Yj().required("To pole jest wymagane.").max(100,"Pole może mieć maksymalnie 100 znak\xf3w.").matches(eM,"Numer ulicy może zawierać tylko cyfry, litery, spacje i znak /."),otherwise:h.Yj().nullable().max(100,"Pole może mieć maksymalnie 100 znak\xf3w.").matches(eM,"Numer ulicy może zawierać tylko cyfry, litery, spacje i znak /.")}),flat_number:h.Yj().when("response_type",{is:"letter",then:h.Yj().max(100,"Pole może mieć maksymalnie 100 znak\xf3w.").matches(eM,"Numer lokalu może zawierać tylko cyfry, litery, spacje i znak /."),otherwise:h.Yj().nullable().max(100,"Pole może mieć maksymalnie 100 znak\xf3w.").matches(eM,"Numer lokalu może zawierać tylko cyfry, litery, spacje i znak /.")}),postal_code:h.Yj().when("response_type",{is:"letter",then:h.Yj().required("To pole jest wymagane.").max(6,"Pole może mieć maksymalnie 6 znak\xf3w.").matches(eP,"Kod pocztowy powinien mieć format XX-XXX (X jest cyfrą)."),otherwise:h.Yj().nullable().max(6,"Pole może mieć maksymalnie 6 znak\xf3w.").matches(eP,"Kod pocztowy powinien mieć format XX-XXX (X jest cyfrą).")}),post_office:h.Yj().when("response_type",{is:"letter",then:h.Yj().max(100,"Pole może mieć maksymalnie 100 znak\xf3w.").matches(eF,"Poczta może zawierać tylko litery, spacje i myślniki."),otherwise:h.Yj().nullable().max(100,"Pole może mieć maksymalnie 100 znak\xf3w.").matches(eF,"Poczta może zawierać tylko litery, spacje i myślniki.")}),pesel:(null==(X=eA(ef))?void 0:X.show_pesel)?h.Yj().matches(/^\d{11}$/,"Należy wprowadzić poprawny PESEL (11 cyfr).").test("nip_or_pesel_checksum","Nie zgadza się suma kontrolna numeru.",e=>null==e||!e.length||(0,T.i)(e)):h.Yj(),agreement_accepted_1:(null==(K=eN(ef,"agreement_accepted_1"))?void 0:K.is_required)?h.zM().nullable().required((null==(R=eN(ef,"agreement_accepted_1"))?void 0:R.error_message)||"Ta zgoda jest wymagana"):h.zM().nullable(),agreement_accepted_2:(null==(Z=eN(ef,"agreement_accepted_2"))?void 0:Z.is_required)?h.zM().nullable().required((null==(U=eN(ef,"agreement_accepted_2"))?void 0:U.error_message)||"Ta zgoda jest wymagana"):h.zM().nullable(),agreement_accepted_3:(null==(G=eN(ef,"agreement_accepted_3"))?void 0:G.is_required)?h.zM().nullable().required((null==(J=eN(ef,"agreement_accepted_3"))?void 0:J.error_message)||"Ta zgoda jest wymagana"):h.zM().nullable(),agreement_accepted_4:(null==(Q=eN(ef,"agreement_accepted_4"))?void 0:Q.is_required)?h.zM().nullable().required((null==(ee=eN(ef,"agreement_accepted_4"))?void 0:ee.error_message)||"Ta zgoda jest wymagana"):h.zM().nullable(),agreement_accepted_5:(null==(ea=eN(ef,"agreement_accepted_5"))?void 0:ea.is_required)?h.zM().nullable().required((null==(el=eN(ef,"agreement_accepted_5"))?void 0:el.error_message)||"Ta zgoda jest wymagana"):h.zM().nullable()}),eI={form:"".concat(L,"--select-form"),response_type:"".concat(L,"--select-response_type"),text:"".concat(L,"--input-text"),phone:"".concat(L,"--input-phone"),email:"".concat(L,"--input-email"),pesel:"".concat(L,"--input-pesel"),first_name:"".concat(L,"--input-first_name"),last_name:"".concat(L,"--input-last_name"),city:"".concat(L,"--input-city"),street:"".concat(L,"--input-street"),street_number:"".concat(L,"--input-street_number"),flat_number:"".concat(L,"--input-flat_number"),postal_code:"".concat(L,"--input-postal_code"),post_office:"".concat(L,"--input-post_office")},eL=(0,N.D)(null==(et=es.title)?void 0:et.hx,1);return(null==(er=es.contact_form_group_rendered)||null==(en=er.forms)?void 0:en.length)?(0,t.jsxs)(j.A,{className:ep.container,id:em,"data-cy":"".concat(L,"--wrapper"),children:[(0,t.jsx)(M.A,{variant:(0,N.a)(null==(ei=es.title)?void 0:ei.hx),align:"center",cy:L+"--title",className:ep.title,children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:null==(eo=es.title)?void 0:eo.text}})}),es.subtitle&&(0,t.jsx)(M.A,{variant:"body3",align:"center",className:ep.subtitle,dangerouslySetInnerHTML:{__html:es.subtitle}}
1),(0,t.jsx)(d.l1,{initialValues:eW,validationSchema:eq,onSubmit:ew,children:e=>{var a,l,n,m,p,u,h,f,w,k,A,W,T,S,q,Y,E,O,H,V,D,$,X,K,R,Z,U,G,J,Q,ee,ea,el,et,en,er,ei,eo,ed,em,eh,ey,eg,eb,ew,ek,eW,eB,eP,eq,eY,eE,eO,eH,eV,eD,e$,eX,eK,eR,eZ,eU,eG,eJ,eQ,e0,e1,e2,e4;return(0,c.useEffect)(()=>{if(e.submitCount>0&&!e.isValid){let a=Object.keys(e.errors)[0],l=document.querySelector('[name="'.concat(a,'"]'));(null==l?void 0:l.focus)&&l.focus()}},[e.submitCount,e.isValid]),(0,t.jsx)(d.lV,{className:ep.form,children:(0,t.jsxs)(j.A,{className:ep.formContainer,children:[eu&&(0,t.jsx)(C.Ay,{isLoading:eu,withOverlay:!0,size:C.iW.LG}),(0,t.jsxs)(j.A,{component:"fieldset",className:ep.fieldset,"aria-live":"polite","aria-hidden":(null==e_?void 0:e_.type)==="success",children:[(null==e_?void 0:e_.type)!=="success"&&!eu&&(0,t.jsx)(t.Fragment,{children:e.submitCount>0&&!e.isValid?(0,t.jsx)("legend",{children:"Nie wszystkie pola formularza są poprawnie uzupełnione"},"invalid-inputs"):(0,t.jsx)("legend",{children:"Pola do wypełnienia formularza"},"valid-inputs")}),(null==(l=es.contact_form_group_rendered)||null==(a=l.forms)?void 0:a.length)>1&&(0,t.jsxs)(j.A,{className:ep.inputWrapper,children:[(0,t.jsx)(j.A,{className:ep.labelWrapper,children:(0,t.jsx)("label",{htmlFor:eI.form,children:"Wybierz temat"})}),(0,t.jsx)(_.A,{className:r()(ep.select,{[ep.select__error]:(null==(n=e.touched)?void 0:n.form)&&(null==(m=e.errors)?void 0:m.form)}),name:"form",value:e.values.form,onChange:a=>{var l;e.handleChange(a),ej(a.target.value),(null==(l=eA(a.target.value))?void 0:l.response_types)==="none"?e.setFieldValue("response_type","none"):e.setFieldValue("response_type","email")},displayEmpty:!0,IconComponent:()=>(0,t.jsx)(o.A,{width:"27px",height:"27px"}),inputProps:{"aria-label":"Wybierz temat",id:eI.form,"aria-invalid":!!(null==(p=e.errors)?void 0:p.form),"aria-describedby":"form_error"},children:ev.map(e=>(0,t.jsx)(y.A,{value:e.value,className:ep.option,children:e.label},e.value))}),(null==(u=e.touched)?void 0:u.form)&&(null==(h=e.errors)?void 0:h.form)&&(0,t.jsx)(x.A,{id:"form_error",error:!0,children:null==(f=e.errors)?void 0:f.form})]}),(null==(k=eA(ef))||null==(w=k.faq)?void 0:w.length)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(M.A,{variant:(0,N.a)(eL),align:"center",cy:L+"--faq-header",className:ep.faq_header,children:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:null==(A=eA(ef))?void 0:A.faq_header}})}),(0,t.jsx)(j.A,{component:"ul",className:ep.faqWrapper,children:null==(W=eA(ef))?void 0:W.faq.map((e,a)=>{var l,n;return(0,t.jsx)(j.A,{component:"li",className:ep.accordionBox,children:(0,t.jsx)(v.A,{cy:"".concat(L,"--position-").concat(a),title:(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:e.question}}),styleTitleBolder:!0,styleBlockElement:!0,styleMarginBeforeContent:!0,uuid:"".concat(null==(l=eA(ef))?void 0:l.id,"-faq-key-").concat(a,"-accordion"),ariaLabel:e.question,className:"PKOBPAccordionBasic__wysiwyg",children:(0,t.jsx)(z.default,{content:e.answer})})},"".concat(null==(n=eA(ef))?void 0:n.id,"-faq-key-").concat(a))})})]}):(0,t.jsx)(t.Fragment,{}),(0,t.jsxs)(j.A,{className:ep.inputWrapper,children:[(0,t.jsx)(j.A,{className:ep.labelWrapper,children:(0,t.jsx)("label",{htmlFor:eI.text,children:"Treść pytania"})}),(0,t.jsx)(g.A,{id:eI.text,name:"text","aria-label":"Wpisz treść pytania",className:ep.textField,value:e.values.text,onChange:a=>{e.setFieldValue("text",a.target.value),e.setFieldTouched("text",!0,!1)},onBlur:e.handleBlur,error:(null==(T=e.touched)?void 0:T.text)&&!!(null==(S=e.errors)?void 0:S.text),helperText:(null==(q=e.touched)?void 0:q.text)&&(null==(Y=e.errors)?void 0:Y.text),fullWidth:!0,multiline:!0,minRows:4,maxRows:10})]}),["phone","letter"].includes(null==(E=eA(ef))?void 0:E.response_types)&&(0,t.jsxs)(j.A,{className:ep.inputWrapper,children:[(0,t.jsx)(j.A,{className:ep.labelWrapper,children:(0,t.jsx)("label",{htmlFor:eI.response_type,children:"Wybierz formę odpowiedzi"})}),(0,t.jsx)(_.A,{className:ep.select,name:"response_type",value:e.values.response_type,onChange:e.handleChange,displayEmpty:!0,IconComponent:()=>(0,t.jsx)(o.A,{width:"27px",height:"27px"}),inputProps:{"aria-label":"Wybierz formę odpowiedzi",id:eI.response_type},children:(e=>{var a;let l=null==(a=eA(e))?void 0:a.response_types;return"phone"===l?[{value:"email",label:"Email"},{value:"phone",label:"Telefon od konsultanta"}]:"letter"===l?[{value:"email",label:"Email"},{value:"letter",label:"List"}]:[{value:"email",label:"Email"}]})(ef).map(e=>(0,t.jsx)(y.A,{value:e.value,className:ep.option,children:e.label},e.value))})]}),(0,t.jsxs)(j.A,{className:ep.inputWrapper,children:[(0,t.jsx)(j.A,{className:ep.labelWrapper,children:(0,t.jsx)("label",{htmlFor:eI.first_name,children:"Imię"})}),(0,t.jsx)(g.A,{id:eI.first_name,name:"first_name","aria-label":"Wpisz imię",className:ep.textField,value:e.values.first_name,onChange:a=>{let l=a.target.value;eF.test(l)&&e.setFieldValue("first_name",l)},onBlur:e.handleBlur,error:(null==(O=e.touched)?void 0:O.first_name)&&!!(null==(H=e.errors)?void 0:H.first_name),helperText:(null==(V=e.touched)?void 0:V.first_name)&&(null==(D=e.errors)?void 0:D.first_name),fullWidth:!0,inputProps:{maxLength:200}})]}),(null==($=eA(ef))?void 0:$.show_last_name)&&(0,t.jsxs)(j.A,{className:ep.inputWrapper,children:[(0,t.jsx)(j.A,{className:ep.labelWrapper,children:(0,t.jsx)("label",{htmlFor:eI.last_name,children:"Nazwisko"})}),(0,t.jsx)(g.A,{id:eI.last_name,name:"last_name","aria-label":"Wpisz nazwisko",className:ep.textField,value:e.values.last_name,onChange:a=>{let l=a.target.value;eF.test(l)&&e.setFieldValue("last_name",l)},onBlur:e.handleBlur,error:(null==(X=e.touched)?void 0:X.last_name)&&!!(null==(K=e.errors)?void 0:K.last_name),helperText:(null==(R=e.touched)?void 0:R.last_name)&&(null==(Z=e.errors)?void 0:Z.last_name),fullWidth:!0,inputProps:{maxLength:200}})]}),(null==(U=eA(ef))?void 0:U.show_pesel)&&(0,t.jsxs)(j.A,{className:ep.inputWrapper,children:[(0,t.jsxs)(j.A,{className:ep.labelWrapper,children:[(0,t.jsx)("label",{htmlFor:eI.pesel,children:"PESEL"}),(0,t.jsx)(I,{...{name:"Tooltip for ".concat(eI.pesel),symbol:"?",text:"Jeśli Twoje zgłoszenie dotyczy produkt\xf3w PKO Banku Polskiego, z kt\xf3rych korzystasz, podanie Twojego numeru PESEL ułatwi wyjaśnienie sprawy."},$_ID:"".concat(L,"_").concat(eI.pesel,"--tooltip")})]}),(0,t.jsx)(g.A,{id:eI.pesel,name:"pesel","aria-label":"Wpisz PESEL",className:ep.textField,value:e.values.pesel,onChange:a=>{let l=a.target.value;eT.test(l)&&e.setFieldValue("pesel",l)},onBlur:e.handleBlur,error:(null==(G=e.touched)?void 0:G.pesel)&&!!(null==(J=e.errors)?void 0:J.pesel),helperText:(null==(Q=e.touched)?void 0:Q.pesel)&&(null==(ee=e.errors)?void 0:ee.pesel),fullWidth:!0,inputProps:{maxLength:11}})]}),"phone"===e.values.response_type&&(0,t.jsxs)(j.A,{className:ep.inputWrapper,children:[(0,t.jsx)(j.A,{className:ep.labelWrapper,children:(0,t.jsx)("label",{htmlFor:eI.phone,children:"Telefon"})}),(0,t.jsx)(g.A,{id:eI.phone,name:"phone","aria-label":"Wpisz telefon",className:ep.textField,value:e.values.phone,onChange:a=>{let l=a.target.value;eT.test(l)&&e.setFieldValue("phone",l)},onBlur:e.handleBlur,error:(null==(ea=e.touched)?void 0:ea.phone)&&!!(null==(el=e.errors)?void 0:el.phone),helperText:(null==(et=e.touched)?void 0:et.phone)&&(null==(en=e.errors)?void 0:en.phone),fullWidth:!0,inputProps:{maxLength:20}})]}),(0,t.jsxs)(j.A,{className:ep.inputWrapper,children:[(0,t.jsxs)(j.A,{className:ep.labelWrapper,children:[(0,t.jsx)("label",{htmlFor:eI.email,children:"E-mail"}),(null==(ei=eA(ef))||null==(er=ei.email_tooltip)?void 0:er.length)?(0,t.jsx)(I,{...{name:"Tooltip for ".concat(eI.email),symbol:"?",text:null==(eo=eA(ef))?void 0:eo.email_tooltip},$_ID:"".concat(L,"_").concat(eI.email,"--tooltip")}):""]}),(0,t.jsx)(g.A,{id:eI.email,name:"email","aria-label":"Wpisz E-mail",className:ep.textField,value:e.values.email,onChange:e.handleChange,onBlur:e.handleBlur,error:(null==(ed=e.touched)?void 0:ed.email)&&!!(null==(em=e.errors)?void 0:em.email),helperText:(null==(eh=e.touched)?void 0:eh.email)&&(null==(ey=e.errors)?void 0:ey.email),fullWidth:!0,inputProps:{maxLength:100}})]}),(null==(eg=eA(ef))?void 0:eg.show_address_fields)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(j.A,{className:ep.inputWrapper,children:[(0,t.jsx)(j.A,{className:ep.labelWrapper,children:(0,t.jsx)("label",{htmlFor:eI.city,children:"Miejscowość"})}),(0,t.jsx)(g.A,{id:eI.city,name:"city","aria-label":"Wpisz miejscowość",className:ep.textField,value:e.values.city,onChange:a=>{let l=a.target.value;eF.test(l)&&e.setFieldValue("city",l)},onBlur:e.handleBlur,error:(null==(eb=e.touched)?void 0:eb.city)&&!!(null==(ew=e.errors)?void 0:e
1w.city),helperText:(null==(ek=e.touched)?void 0:ek.city)&&(null==(eW=e.errors)?void 0:eW.city),fullWidth:!0,inputProps:{maxLength:100}})]}),(0,t.jsxs)(j.A,{className:ep.inputWrapper,children:[(0,t.jsx)(j.A,{className:ep.labelWrapper,children:(0,t.jsx)("label",{htmlFor:eI.street,children:"Ulica"})}),(0,t.jsx)(g.A,{id:eI.street,name:"street","aria-label":"Wpisz ulicę",className:ep.textField,value:e.values.street,onChange:a=>{let l=a.target.value;eS.test(l)&&e.setFieldValue("street",l)},onBlur:e.handleBlur,error:(null==(eB=e.touched)?void 0:eB.street)&&!!(null==(eP=e.errors)?void 0:eP.street),helperText:(null==(eq=e.touched)?void 0:eq.street)&&(null==(eY=e.errors)?void 0:eY.street),fullWidth:!0,inputProps:{maxLength:100}})]}),(0,t.jsxs)(j.A,{className:ep.inputWrapper,children:[(0,t.jsx)(j.A,{className:ep.labelWrapper,children:(0,t.jsx)("label",{htmlFor:eI.street_number,children:"Numer budynku"})}),(0,t.jsx)(g.A,{id:eI.street_number,name:"street_number","aria-label":"Wpisz numer budynku",className:ep.textField,value:e.values.street_number,onChange:a=>{let l=a.target.value;eM.test(l)&&e.setFieldValue("street_number",l)},onBlur:e.handleBlur,error:(null==(eE=e.touched)?void 0:eE.street_number)&&!!(null==(eO=e.errors)?void 0:eO.street_number),helperText:(null==(eH=e.touched)?void 0:eH.street_number)&&(null==(eV=e.errors)?void 0:eV.street_number),fullWidth:!0,inputProps:{maxLength:100}})]}),(0,t.jsxs)(j.A,{className:ep.inputWrapper,children:[(0,t.jsx)(j.A,{className:ep.labelWrapper,children:(0,t.jsx)("label",{htmlFor:eI.flat_number,children:"Numer lokalu"})}),(0,t.jsx)(g.A,{id:eI.flat_number,name:"flat_number","aria-label":"Wpisz numer lokalu",className:ep.textField,value:e.values.flat_number,onChange:a=>{let l=a.target.value;eM.test(l)&&e.setFieldValue("flat_number",l)},onBlur:e.handleBlur,error:(null==(eD=e.touched)?void 0:eD.flat_number)&&!!(null==(e$=e.errors)?void 0:e$.flat_number),helperText:(null==(eX=e.touched)?void 0:eX.flat_number)&&(null==(eK=e.errors)?void 0:eK.flat_number),fullWidth:!0,inputProps:{maxLength:100}})]}),(0,t.jsxs)(j.A,{className:ep.inputWrapper,children:[(0,t.jsx)(j.A,{className:ep.labelWrapper,children:(0,t.jsx)("label",{htmlFor:eI.postal_code,children:"Kod pocztowy"})}),(0,t.jsx)(g.A,{id:eI.postal_code,name:"postal_code","aria-label":"Wpisz kod pocztowy",className:ep.textField,value:e.values.postal_code,onChange:a=>{let l=a.target.value;eC.test(l)&&e.setFieldValue("postal_code",l)},onBlur:e.handleBlur,error:(null==(eR=e.touched)?void 0:eR.postal_code)&&!!(null==(eZ=e.errors)?void 0:eZ.postal_code),helperText:(null==(eU=e.touched)?void 0:eU.postal_code)&&(null==(eG=e.errors)?void 0:eG.postal_code),fullWidth:!0,inputProps:{maxLength:100}})]}),(0,t.jsxs)(j.A,{className:ep.inputWrapper,children:[(0,t.jsx)(j.A,{className:ep.labelWrapper,children:(0,t.jsx)("label",{htmlFor:eI.post_office,children:"Poczta"})}),(0,t.jsx)(g.A,{id:eI.post_office,name:"post_office","aria-label":"Wpisz pocztę",className:ep.textField,value:e.values.post_office,onChange:a=>{let l=a.target.value;eF.test(l)&&e.setFieldValue("post_office",l)},onBlur:e.handleBlur,error:(null==(eJ=e.touched)?void 0:eJ.post_office)&&!!(null==(eQ=e.errors)?void 0:eQ.post_office),helperText:(null==(e0=e.touched)?void 0:e0.post_office)&&(null==(e1=e.errors)?void 0:e1.post_office),fullWidth:!0,inputProps:{maxLength:100}})]})]}),(0,t.jsx)(j.A,{className:ep.agreementsWrapper,children:["agreement_accepted_1","agreement_accepted_2","agreement_accepted_3","agreement_accepted_4","agreement_accepted_5"].map(a=>{let l=eN(ef,a);return l?(0,t.jsx)(P.A,{formik:{...e,handleChange:l=>{e.setFieldValue(a,l.target.checked)}},field:{...l,name:a}},a):(0,t.jsx)(t.Fragment,{})})}),(0,t.jsx)(j.A,{className:ep.infosWrapper,children:["info_1","info_2"].map(e=>{let a=((e,a)=>{var l;return(null==(l=eA(e))?void 0:l[a])||null})(ef,e);return a?(0,t.jsx)(B.A,{link_label:null==a?void 0:a.link_label,link_label_expanded:null==a?void 0:a.link_label_expanded,content:null==a?void 0:a.content,display_name:null==a?void 0:a.display_name},e):(0,t.jsx)(t.Fragment,{})})})]}),(0,t.jsx)(b.Ay,{isOpen:ex,handleClose:ez,size:b.Ih.MD,modalStyle:b.YT.DEFAULT,fullScreen:ec,showDrawerOnMobile:!1,$_ID_MODAL_TITLE:"PKOBP_CC_FORMS_MODAL",children:(0,t.jsxs)(j.A,{className:ep.responseContainer,children:[(0,t.jsxs)(j.A,{className:ep.messageWrapper,children:[(null==e_?void 0:e_.type)==="success"?(0,t.jsx)(i.A,{className:ep.checkIcon}):(0,t.jsx)(s.A,{className:ep.closeIcon}),(null==e_?void 0:e_.message)&&(0,t.jsx)(M.A,{className:ep.responseHeader,variant:"body1",dangerouslySetInnerHTML:{__html:null==e_?void 0:e_.message},id:"PKOBP_CC_FORMS_MODAL"}),(null==e_?void 0:e_.type)==="success"&&(0,t.jsx)(t.Fragment,{children:(null==(e2=eA(ef))?void 0:e2.category)==="property"?(0,t.jsxs)(M.A,{className:ep.responseMessage,variant:"body2",children:["Dołożymy starań, aby skontaktować się z Tobą jak najszybciej w sprawie interesującej Cię oferty.",(0,t.jsx)("br",{}),(0,t.jsx)("br",{}),"Pamiętaj, że z powodu ustawień niekt\xf3rych program\xf3w pocztowych, nasze wiadomości e-mail mogą trafić do folderu SPAM."]}):(null==(e4=eA(ef))?void 0:e4.category)==="to_spokesman"?(0,t.jsxs)(M.A,{className:ep.responseMessage,variant:"body2",children:["Na odwołania odpowiadamy w ciągu 30 dni.",(0,t.jsx)("br",{}),"W wyjątkowych przypadkach czas odpowiedzi może się wydłużyć, powiadomimy Cię o nowym przewidywanym terminie odpowiedzi.",(0,t.jsx)("br",{}),(0,t.jsx)("br",{}),"Pamiętaj, że z powodu ustawień niekt\xf3rych program\xf3w pocztowych, nasze wiadomości e-mail mogą trafić do folderu SPAM."]}):(0,t.jsxs)(M.A,{className:ep.responseMessage,variant:"body2",children:["Oczekuj na odpowied
1ź.",(0,t.jsx)("br",{}),(0,t.jsx)("br",{}),"Pamiętaj, że z powodu ustawień niekt\xf3rych program\xf3w pocztowych, nasze wiadomości e-mail mogą trafić do folderu SPAM."]})})]}),(0,t.jsx)(F.default,{className:ep.responseBtn,variant:"primary",renderAsButton:!0,onClickCallback:ez,ariaLabel:"Zamknij okno",cy:L,children:"Zamknij"})]})}),(0,t.jsx)(F.default,{type:"submit",variant:"primary",disabled:e.isSubmitting,renderAsButton:!0,className:ep.submitButton,ariaLabel:"Wyślij uzupełniony formularz",children:"Wyślij"})]})})}})]}):(0,t.jsx)(M.A,{children:"Brak zdefiniowanych formularzy w grupie"})}}}]);

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.