1"use strict";(self.webpackChunkgatsby_starter_contentful_homepage=self.webpackChunkgatsby_starter_contentful_homepage||[]).push([[351],{3204:function(e){const t=/[\p{Lu}]/u,a=/[\p{Ll}]/u,n=/^[\p{Lu}](?![\p{Lu}])/gu,r=/([\p{Alpha}\p{N}_]|$)/u,l=/[_.\- ]+/,o=new RegExp("^"+l.source),i=new RegExp(l.source+r.source,"gu"),s=new RegExp("\\d+"+r.source,"gu"),c=(e,r)=>{if("string"!=typeof e&&!Array.isArray(e))throw new TypeError("Expected the input to be `string | string[]`");if(r={pascalCase:!1,preserveConsecutiveUppercase:!1,...r},0===(e=Array.isArray(e)?e.map((e=>e.trim())).filter((e=>e.length)).join("-"):e.trim()).length)return"";const l=!1===r.locale?e=>e.toLowerCase():e=>e.toLocaleLowerCase(r.locale),c=!1===r.locale?e=>e.toUpperCase():e=>e.toLocaleUpperCase(r.locale);if(1===e.length)return r.pascalCase?c(e):l(e);return e!==l(e)&&(e=((e,n,r)=>{let l=!1,o=!1,i=!1;for(let s=0;s<e.length;s++){const c=e[s];l&&t.test(c)?(e=e.slice(0,s)+"-"+e.slice(s),l=!1,i=o,o=!0,s++):o&&i&&a.test(c)?(e=e.slice(0,s-1)+"-"+e.slice(s-1),i=o,o=!1,l=!0):(l=n(c)===c&&r(c)!==c,i=o,o=r(c)===c&&n(c)!==c)}return e})(e,l,c)),e=e.replace(o,""),e=r.preserveConsecutiveUppercase?((e,t)=>(n.lastIndex=0,e.replace(n,(e=>t(e)))))(e,l):l(e),r.pascalCase&&(e=c(e.charAt(0))+e.slice(1)),((e,t)=>(i.lastIndex=0,s.lastIndex=0,e.replace(i,((e,a)=>t(a))).replace(s,(e=>t(e)))))(e,c)};e.exports=c,e.exports.default=c},8032:function(e,t,a){a.d(t,{G:function(){return H},L:function(){return g},M:function(){return x},P:function(){return C},_:function(){return i},a:function(){return o},b:function(){return d},c:function(){return c},g:function(){return h},h:function(){return s}});var n=a(7294),r=(a(3204),a(5697)),l=a.n(r);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},o.apply(this,arguments)}function i(e,t){if(null==e)return{};var a,n,r={},l=Object.keys(e);for(n=0;n<l.length;n++)t.indexOf(a=l[n])>=0||(r[a]=e[a]);return r}const s=()=>"undefined"!=typeof HTMLImageElement&&"loading"in HTMLImageElement.prototype;const c=e=>{var t;return(e=>{var t,a;return Boolean(null==e||null==(t=e.images)||null==(a=t.fallback)?void 0:a.src)})(e)?e:(e=>Boolean(null==e?void 0:e.gatsbyImageData))(e)?e.gatsbyImageData:(e=>Boolean(null==e?void 0:e.gatsbyImage))(e)?e.gatsbyImage:null==e||null==(t=e.childImageSharp)?void 0:t.gatsbyImageData};function u(e,t,a){const n={};let r="gatsby-image-wrapper";return"fixed"===a?(n.width=e,n.height=t):"constrained"===a&&(r="gatsby-image-wrapper gatsby-image-wrapper-constrained"),{className:r,"data-gatsby-image-wrapper":"",style:n}}function d(e,t,a,n,r){return void 0===r&&(r={}),o({},a,{loading:n,shouldLoad:e,"data-main-image":"",style:o({},r,{opacity:t?1:0})})}function h(e,t,a,n,r,l,i,s){const c={};l&&(c.backgroundColor=l,"fixed"===a?(c.width=n,c.height=r,c.backgroundColor=l,c.position="relative"):("constrained"===a||"fullWidth"===a)&&(c.position="absolute",c.top=0,c.left=0,c.bottom=0,c.right=0)),i&&(c.objectFit=i),s&&(c.objectPosition=s);const u=o({},e,{"aria-hidden":!0,"data-placeholder-image":"",style:o({opacity:t?0:1,transition:"opacity 500ms linear"},c)});return u}const m=["children"],p=function(e){let{layout:t,width:a,height:r}=e;return"fullWidth"===t?n.createElement("div",{"aria-hidden":!0,style:{paddingTop:r/a*100+"%"}}):"constrained"===t?n.createElement("div",{style:{maxWidth:a,display:"block"}},n.createElement("img",{alt:"",role:"presentation","aria-hidden":"true",src:"data:image/svg+xml;charset=utf-8,%3Csvg%20height='"+r+"'%20width='"+a+"'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%3E%3C/svg%3E",style:{maxWidth:"100%",display:"block",position:"static"}})):null},g=function(e){let{children:t}=e,a=i(e,m);return n.createElement(n.Fragment,null,n.createElement(p,o({},a)),t,null)},f=["src","srcSet","loading","alt","shouldLoad"],v=["fallback","sources","shouldLoad"],w=function(e){let{src:t,srcSet:a,loading:r,alt:l="",shouldLoad:s}=e,c=i(e,f);return n.createElement("img",o({},c,{decoding:"async",loading:r,src:s?t:void 0,"data-src":s?void 0:t,srcSet:s?a:void 0,"data-srcset":s?void 0:a,alt:l}))},y=function(e){let{fallback:t,sources:a=[],shouldLoad:r=!0}=e,l=i(e,v);const s=l.sizes||(null==t?void 0:t.sizes),c=n.createElement(w,o({},l,t,{sizes:s,shouldLoad:r}));return a.length?n.createElement("picture",null,a.map((e=>{let{media:t,srcSet:a,type:l}=e;return n.createElement("source",{key:t+"-"+l+"-"+a,type:l,media:t,srcSet:r?a:void 0,"data-srcset":r?void 0:a,sizes:s})})),c):c};var E;w.propTypes={src:r.string.isRequired,alt:r.string.isRequired,sizes:r.string,srcSet:r.string,shouldLoad:r.bool},y.displayName="Picture",y.propTypes={alt:r.string.isRequired,shouldLoad:r.bool,fallback:r.exact({src:r.string.isRequired,srcSet:r.string,sizes:r.string}),sources:r.arrayOf(r.oneOfType([r.exact({media:r.string.isRequired,type:r.string,sizes:r.string,srcSet:r.string.isRequired}),r.exact({media:r.string,type:r.string.isRequired,sizes:r.string,srcSet:r.string.isRequired})]))};const b=["fallback"],C=function(e){let{fallback:t}=e,a=i(e,b);return t?n.createElement(y,o({},a,{fallback:{src:t},"aria-hidden":!0,alt:""})):n.createElement("div",o({},a))};C.displayName="Placeholder",C.propTypes={fallback:r.string,sources:null==(E=y.propTypes)?void 0:E.sources,alt:function(e,t,a){return e[t]?new Error("Invalid prop `"+t+"` supplied to `"+a+"`. Validation failed."):null}};const x=function(e){return n.createElement(n.Fragment,null,n.createElement(y,o({},e)),n.createElement("noscript",null,n.createElement(y,o({},e,{shouldLoad:!0}))))};x.displayName="MainImage",x.propTypes=y.propTypes;const z=["as","className","class","style","image","loading","imgClassName","imgStyle","backgroundColor","objectFit","objectPosition"],L=["style","className"],k=e=>e.replace(/\n/g,""),_=function(e,t,a){for(var n=arguments.length,r=new Array(n>3?n-3:0),o=3;o<n;o++)r[o-3]=arguments[o];
1return e.alt||""===e.alt?l().string.apply(l(),[e,t,a].concat(r)):new Error('The "alt" prop is required in '+a+'. If the image is purely presentational then pass an empty string: e.g. alt="". Learn more: https://a11y-style-guide.com/style-guide/section-media.html')},M={image:l().object.isRequired,alt:_},S=["as","image","style","backgroundColor","className","class","onStartLoad","onLoad","onError"],A=["style","className"],I=new Set;let T,j;const R=function(e){let{as:t="div",image:r,style:l,backgroundColor:c,className:d,class:h,onStartLoad:m,onLoad:p,onError:g}=e,f=i(e,S);const{width:v,height:w,layout:y}=r,E=u(v,w,y),{style:b,className:C}=E,x=i(E,A),z=(0,n.useRef)(),L=(0,n.useMemo)((()=>JSON.stringify(r.images)),[r.images]);h&&(d=h);const k=function(e,t,a){let n="";return"fullWidth"===e&&(n='<div aria-hidden="true" style="padding-top: '+a/t*100+'%;"></div>'),"constrained"===e&&(n='<div style="max-width: '+t+'px; display: block;"><img alt="" role="presentation" aria-hidden="true" src="data:image/svg+xml;charset=utf-8,%3Csvg%20height=\''+a+"'%20width='"+t+"'%20xmlns='http://www.w3.org/2000/svg'%20version='1.1'%3E%3C/svg%3E\" style=\"max-width: 100%; display: block; position: static;\"></div>"),n}(y,v,w);return(0,n.useEffect)((()=>{T||(T=a.e(731).then(a.bind(a,6731)).then((e=>{let{renderImageToString:t,swapPlaceholderImage:a}=e;return j=t,{renderImageToString:t,swapPlaceholderImage:a}})));const e=z.current.querySelector("[data-gatsby-image-ssr]");if(e&&s())return e.complete?(null==m||m({wasCached:!0}),null==p||p({wasCached:!0}),setTimeout((()=>{e.removeAttribute("data-gatsby-image-ssr")}),0)):(null==m||m({wasCached:!0}),e.addEventListener("load",(function t(){e.removeEventListener("load",t),null==p||p({wasCached:!0}),setTimeout((()=>{e.removeAttribute("data-gatsby-image-ssr")}),0)}))),void I.add(L);if(j&&I.has(L))return;let t,n;return T.then((e=>{let{renderImageToString:a,swapPlaceholderImage:i}=e;z.current&&(z.current.innerHTML=a(o({isLoading:!0,isLoaded:I.has(L),image:r},f)),I.has(L)||(t=requestAnimationFrame((()=>{z.current&&(n=i(z.current,L,I,l,m,p,g))}))))})),()=>{t&&cancelAnimationFrame(t),n&&n()}}),[r]),(0,n.useLayoutEffect)((()=>{I.has(L)&&j&&(z.current.innerHTML=j(o({isLoading:I.has(L),isLoaded:I.has(L),image:r},f)),null==m||m({wasCached:!0}),null==p||p({wasCached:!0}))}),[r]),(0,n.createElement)(t,o({},x,{style:o({},b,l,{backgroundColor:c}),className:C+(d?" "+d:""),ref:z,dangerouslySetInnerHTML:{__html:k},suppressHydrationWarning:!0}))},H=(0,n.memo)((function(e){return e.image?(0,n.createElement)(R,e):null}));H.propTypes=M,H.displayName="GatsbyImage";const N=["src","__imageData","__error","width","height","aspectRatio","tracedSVGOptions","placeholder","formats","quality","transformOptions","jpgOptions","pngOptions","webpOptions","avifOptions","blurredOptions","breakpoints","outputPixelDensities"];function V(e){return function(t){let{src:a,__imageData:r,__error:l}=t,s=i(t,N);return l&&console.warn(l),r?n.createElement(e,o({image:r},s)):(console.warn("Image not loaded",a),null)}}const F=V((function(e){let{as:t="div",className:a,class:r,style:l,image:s,loading:c="lazy",imgClassName:m,imgStyle:p,backgroundColor:f,objectFit:v,objectPosition:w}=e,y=i(e,z);if(!s)return console.warn("[gatsby-plugin-image] Missing image prop"),null;r&&(a=r),p=o({objectFit:v,objectPosition:w,backgroundColor:f},p);const{width:E,height:b,layout:_,images:M,placeholder:S,backgroundColor:A}=s,I=u(E,b,_),{style:T,className:j}=I,R=i(I,L),H={fallback:void 0,sources:[]};return M.fallback&&(H.fallback=o({},M.fallback,{srcSet:M.fallback.srcSet?k(M.fallback.srcSet):void 0})),M.sources&&(H.sources=M.sources.map((e=>o({},e,{srcSet:k(e.srcSet)})))),n.createElement(t,o({},R,{style:o({},T,l,{backgroundColor:f}),className:j+(a?" "+a:"")}),n.createElement(g,{layout:_,width:E,height:b},n.createElement(C,o({},h(S,!1,_,E,b,A,v,w))),n.createElement(x,o({"data-gatsby-image-ssr":"",className:m},y,d("eager"===c,!1,H,c,p)))))})),B=function(e,t){for(var a=arguments.length,n=new Array(a>2?a-2:0),r=2;r<a;r++)n[r-2]=arguments[r];return"fullWidth"!==e.layout||"width"!==t&&"height"!==t||!e[t]?l().number.apply(l(),[e,t].concat(n)):new Error('"'+t+'" '+e[t]+" may not be passed when layout is fullWidth.")},q=new Set(["fixed","fullWidth","constrained"]),O={src:l().string.isRequired,alt:_,width:B,height:B,sizes:l().string,layout:e=>{if(void 0!==e.layout&&!q.has(e.layout))return new Error("Invalid value "+e.layout+'" provided for prop "layout". Defaulting to "constrained". Valid values are "fixed", "fullWidth" or "constrained".')}};F.displayName="StaticImage",F.propTypes=O;const P=V(H);P.displayName="StaticImage",P.propTypes=O},8488:function(e,t,a){a.d(t,{YM:function(){return s},rr:function(){return i}});const n="https://api.cegjelzo.com/api/v2/search",r={}.VAT_API_KEY,l={}.VAT_CUSTOMER_TOKEN,o={}.VAT_CLIENT_ID,i=async(e,t)=>{const a=new Headers;a.append("X-Api-Key",r),a.append("X-Customer-Token",l),a.append("X-Client-Id",o);const i=new URLSearchParams({key:t,value:e});try{const e=await fetch(n+"?"+i,{method:"GET",headers:a,mode:"cors"});if(!e.ok)throw new Error("Network response was not ok: "+e.status+" "+e.statusText);return await e.json()}catch(s){return console.log(s),s}},s=async(e,t)=>{await fetch("https://api.envimap.hu/api/v1/users/register",{method:"POST",headers:{accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(e)}).then((e=>e.json())).then((e=>{if(200===e.status)return t("registrationSuccess")})).catch((e=>console.log(e)))}},5346:function(e,t,a){a.d(t,{ZJ:function(){return s},ol:function(){return c},Oc:function(){return r},$C:function(){return l},x8:function(){return u},Vj:function(){return d},yR:function(){return h}
1,rj:function(){return p},IW:function(){return m},Qp:function(){return g},eh:function(){return f},n5:function(){return v}});var n=a(7294);const r=()=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"122",height:"28",fill:"none",viewBox:"0 0 122 28"},n.createElement("path",{fill:"#00FF7F",d:"M78.623 24.276l.553-1.123a2.181 2.181 0 00.077 1.123h-.63zm1.145-2.325l8.174-16.59c.266-.54.659-.977 1.14-1.289a3.335 3.335 0 011.824-.528v-.007c.665 0 1.284.185 1.816.528v.007a3.22 3.22 0 011.145 1.282l.003-.001 8.258 16.722c-.925-1.25-2.978-2.29-5.654-2.901L90.906 7.898l-5.553 11.27c-2.6.59-4.616 1.584-5.585 2.784zm22.825 1.065l.622 1.26h-.667a2.16 2.16 0 00.045-1.26z"}),n.createElement("path",{fill:"#fff",d:"M56.633 24.223l.065-17.95a2.589 2.589 0 01.637-1.69 3.06 3.06 0 011.645-.973V3.61a3.283 3.283 0 011.95.149c.6.241 1.11.66 1.44 1.216l4.854 8.223 4.88-8.248c.33-.559.841-.977 1.44-1.217a3.28 3.28 0 011.952-.148c.671.155 1.24.504 1.644.977h.008c.403.471.635 1.059.635 1.69h-.007l-.005 18.065H73.93l.003-15.069-4.052 6.85a2.863 2.863 0 01-1.108 1.058 3.23 3.23 0 01-1.55.385v.007a3.23 3.23 0 01-1.55-.392 2.865 2.865 0 01-1.107-1.058L60.53 9.259l-.054 14.964h-3.842z"}),n.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M103.873 24.223l.034-17.692c0-.413.082-.797.244-1.151.165-.36.407-.685.724-.972a3.297 3.297 0 011.069-.65 3.552 3.552 0 011.264-.219l5.44.023v-.006h.005c2.396 0 4.566.886 6.136 2.317 1.572 1.431 2.544 3.41 2.544 5.593 0 2.171-.966 4.142-2.529 5.575-1.559 1.428-3.718 2.317-6.108 2.33h-4.973l-.009 4.852h-3.841zm3.875-17.183l-.018 8.832h4.951c1.325-.008 2.526-.504 3.396-1.302.866-.793 1.4-1.89 1.4-3.104 0-1.214-.541-2.314-1.414-3.11-.874-.796-2.081-1.288-3.415-1.288v-.516l-.002.51-4.898-.022z",clipRule:"evenodd"}),n.createElement("path",{fill:"#fff",d:"M79.929 21.626a13.625 13.625 0 011.613-.75c2.448-.957 5.713-1.542 9.253-1.542 3.349 0 6.471.527 8.884 1.405h.00
17a13.48 13.48 0 012.317 1.084l1.212 2.452h-4.222l-.01-.02v.025a13.41 13.41 0 00-.728-.289l.001-.002c-1.964-.714-4.582-1.142-7.461-1.142-3.027 0-5.757.475-7.747 1.253-.147.057-.29.116-.427.175h-3.998l1.306-2.65z"}),n.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M9.832 10.878c1.736 0 2.991.358 3.767 1.072.775.715 1.163 1.72 1.163 3.015 0 1.227-.379 2.173-1.136 2.837-.757.665-2.03.997-3.822.997H2.853v.959c0 .538.17.98.512 1.324.342.345.919.517 1.73.517h8.947v2.598H5.096c-.923 0-1.703-.11-2.34-.328-.638-.218-1.164-.525-1.58-.92a3.464 3.464 0 01-.9-1.388A5.293 5.293 0 010 19.808v-4.54c0-.623.092-1.203.277-1.741a3.451 3.451 0 01.9-1.4c.415-.395.941-.702 1.578-.92.638-.22 1.418-.329 2.34-.329h4.737zm-6.98 5.827h6.87c.793 0 1.352-.143 1.675-.429.323-.285.485-.672.485-1.16 0-.505-.166-.908-.499-1.21-.332-.303-.858-.455-1.578-.455H5.096c-.812 0-1.39.177-1.73.53-.342.353-.513.79-.513 1.312v1.412z",clipRule:"evenodd"}),n.createElement("path",{fill:"#fff",d:"M24.65 10.878c2.492 0 4.343.51 5.552 1.527 1.21 1.017 1.814 2.45 1.814 4.3v7.492h-2.963v-7.492c0-1.06-.347-1.866-1.039-2.421-.692-.555-1.814-.833-3.365-.833h-4.791c-.24 0-.36.127-.36.379v10.367h-2.936v-11.25c0-.79.157-1.333.471-1.627.314-.295.84-.442 1.579-.442h6.038zM35.312 10.878l4.874 10.696c.111.269.351.404.72.404.388 0 .647-.135.776-.404l5.068-10.696h3.157l-5.65 11.881c-.313.64-.742 1.09-1.287 1.35-.545.26-1.233.391-2.063.391-.85 0-1.547-.134-2.092-.404-.544-.269-.955-.714-1.232-1.337L32.21 10.88h3.102zM53.674 10.878v13.319h-2.936V10.878h2.936zM54.017 7.077c0 .905-.806 1.64-1.8 1.64-.993 0-1.8-.735-1.8-1.64 0-.905.806-1.639 1.8-1.639.995 0 1.8.734 1.8 1.64z"})),l=()=>n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"122",height:"28",fill:"none",viewBox:"0 0 122 28"},n.createElement("path",{fill:"#00FF7F",d:"M78.623 24.276l.553-1.123a2.174 2.174 0 00.076 1.123h-.63zm1.145-2.325l8.174-16.59c.266-.54.659-.977 1.14-1.289a3.335 3.335 0 011.824-.528v-.007c.664 0 1.284.185 1.816.528v.007a3.22 3.22 0 011.145 1.282l.003-.001 8.258 16.722c-.925-1.25-2.978-2.29-5.654-2.901L90.905 7.898l-5.552 11.27c-2.6.59-4.616 1.584-5.585 2.784zm22.825 1.065l.622 1.26h-.667a2.204 2.204 0 00.045-1.26z"}),n.createElement("path",{fill:"#0A0A29",d:"M56.633 24.223l.065-17.95a2.589 2.589 0 01.637-1.69 3.06 3.06 0 011.645-.973V3.61a3.283 3.283 0 011.95.149c.6.241 1.11.66 1.44 1.216l4.854 8.223 4.88-8.248c.33-.559.841-.977 1.44-1.217a3.28 3.28 0 011.952-.148c.671.155 1.24.504 1.644.977h.008c.403.471.635 1.059.635 1.69h-.007l-.005 18.065H73.93l.003-15.069-4.052 6.85a2.863 2.863 0 01-1.108 1.058 3.23 3.23 0 01-1.55.385v.007a3.23 3.23 0 01-1.55-.392 2.865 2.865 0 01-1.107-1.058L60.53 9.259l-.054 14.964h-3.842z"}),n.createElement("path",{fill:"#0A0A29",fillRule:"evenodd",d:"M103.873 24.223l.034-17.692c0-.413.082-.797.244-1.151.165-.36.407-.685.724-.972a3.297 3.297 0 011.069-.65 3.552 3.552 0 011.264-.219l5.44.023v-.006h.005c2.396 0 4.566.886 6.136 2.317 1.572 1.431 2.544 3.41 2.544 5.593 0 2.171-.966 4.142-2.53 5.575-1.558 1.428-3.717 2.317-6.107 2.33h-4.973l-.009 4.852h-3.841zm3.875-17.183l-.018 8.832h4.951c1.325-.008 2.526-.504 3.396-1.302.866-.793 1.4-1.89 1.4-3.104 0-1.214-.541-2.314-1.414-3.11-.874-.796-2.081-1.288-3.415-1.288v-.516l-.002.51-4.898-.022z",clipRule:"evenodd"}),n.createElement("path",{fill:"#0A0A29",d:"M79.929 21.626a13.625 13.625 0 011.613-.75c2.448-.957 5.713-1.542 9.253-1.542 3.349 0 6.471.527 8.884 1.405h.00
17a13.48 13.48 0 012.317 1.084l1.212 2.452h-4.222l-.01-.02v.025a13.41 13.41 0 00-.728-.289l.001-.002c-1.964-.714-4.582-1.142-7.461-1.142-3.027 0-5.757.475-7.747 1.253-.147.057-.29.116-.427.175h-3.998l1.306-2.65z"}),n.createElement("path",{fill:"#0A0A29",fillRule:"evenodd",d:"M9.832 10.878c1.736 0 2.991.358 3.767 1.072.775.715 1.163 1.72 1.163 3.015 0 1.227-.379 2.173-1.136 2.837-.757.665-2.03.997-3.822.997H2.853v.959c0 .538.17.98.512 1.324.342.345.919.517 1.73.517h8.947v2.598H5.096c-.923 0-1.703-.11-2.34-.328-.638-.218-1.164-.525-1.58-.92a3.464 3.464 0 01-.9-1.388A5.293 5.293 0 010 19.808v-4.54c0-.623.092-1.203.277-1.741a3.451 3.451 0 01.9-1.4c.415-.395.941-.702 1.578-.92.638-.22 1.418-.329 2.34-.329h4.737zm-6.98 5.827h6.87c.793 0 1.352-.143 1.675-.429.323-.285.485-.672.485-1.16 0-.505-.166-.908-.499-1.21-.332-.303-.858-.455-1.578-.455H5.096c-.812 0-1.39.177-1.73.53-.342.353-.513.79-.513 1.312v1.412z",clipRule:"evenodd"}),n.createElement("path",{fill:"#0A0A29",d:"M24.65 10.878c2.492 0 4.343.51 5.552 1.527 1.21 1.017 1.814 2.45 1.814 4.3v7.492h-2.963v-7.492c0-1.06-.347-1.866-1.039-2.421-.692-.555-1.814-.833-3.365-.833h-4.791c-.24 0-.36.127-.36.379v10.367h-2.936v-11.25c0-.79.157-1.333.471-1.627.314-.295.84-.442 1.579-.442h6.038zM35.312 10.878l4.874 10.696c.111.269.351.404.72.404.388 0 .647-.135.776-.404l5.068-10.696h3.157l-5.65 11.881c-.313.64-.742 1.09-1.287 1.35-.545.26-1.233.391-2.063.391-.85 0-1.547-.134-2.092-.404-.544-.269-.955-.714-1.232-1.337L32.21 10.88h3.102zM53.674 10.878v13.319h-2.936V10.878h2.936zM54.017 7.077c0 .905-.806 1.64-1.8 1.64-.993 0-1.8-.735-1.8-1.64 0-.905.806-1.639 1.8-1.639.995 0 1.8.734 1.8 1.64z"}));let o;const i=e=>{switch(e){case"green":o="#00FF7F";break;case"white":o="#FFF";break;case"red":o="#FF0055";break;case"darkGray":o="#A1A1AA";break;default:o="#0A0A29"}return o},s=e=>(i(e.color),n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},n.createElement("g",{fill:o},n.createElement("path",{d:"M12 4L10.5867 5.41333L16.1733 11H4V13H16.1733L10.5867 18.5867L12 20L20 12L12 4Z"})))),c=e=>(i(e.color),n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},n.createElement("path",{fill:o,d:"M12 4l-1.413 1.413L16.173 11H4v2h12.173l-5.586 5.587L12 20l8-8-8-8z"}))),u=e=>(i(e.color),n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},n.createElement("path",{fill:o,d:"M20.749 4.707l-1.415-1.414-7.292 7.293-7.293-7.293-1.415 1.414L10.627 12l-7.293 7.293 1.415 1.414 7.293-7.293 7.292 7.293 1.415-1.414L13.456 12l7.293-7.293z"}))),d=e=>(i(e.color),n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},n.createElement("path",{fill:o,d:"M17 3C17 3.55228 16.5523 4 16 4C15.4477 4 15 3.55228 15 3C15 2.44772 15.4477 2 16 2C16.5523 2 17 2.44772 17 3Z"}),n.createElement("path",{fill:o,fillRule:"evenodd",clipRule:"evenodd",d:"M5 12C5 10.346 6.346 9 8 9C9.654 9 11 10.346 11 12C11 13.654 9.654 15 8 15C6.346 15 5 13.654 5 12ZM7 12C7 12.551 7.449 13 8 13C8.551 13 9 12.551 9 12C9 11.449 8.551 11 8 11C7.449 11 7 11.449 7 12Z"}),n.createElement("path",{fill:o,d:"M16.001 15C16.5533 15 17.001 14.5523 17.001 14C17.001 13.4477 16.5533 13 16.001 13C15.4487 13 15.001 13.4477 15.001 14C15.001 14.5523 15.4487 15 16.001 15Z"}),n.createElement("path",{fill:o,d:"M13 17C13 17.5523 12.5523 18 12 18C11.4477 18 11 17.5523 11 17C11 16.4477 11.4477 16 12 16C12.5523 16 13 16.4477 13 17Z"}),n.createElement("path",{fill:o,fillRule:"evenodd",clipRule:"evenodd",d:"M20.61 9.89105C20.892 9.80005 21.201 9.83905 21.453 9.99805C21.704 10.1571 21.871 10.4191 21.908 10.7151C21.971 11.1991 22 11.6071 22 12.0001C22 17.5151 17.514 22.0001 12 22.0001C6.486 22.0001 2 17.5151 2 12.0001C2 6.67505 6.169 2.29205 11.492 2.02505C11.857 2.00405 12.203 2.18905 12.394 2.49905C12.586 2.81105 12.592 3.20205 12.41 3.51905C12.139 3.99505 12 4.49305 12 5.00005C12 6.65405 13.346 8.00005 15 8.00005C15.531 8.00005 16.045 7.85305 16.529 7.56405C16.817 7.39205 17.171 7.37505 17.474 7.52005C17.776 7.66405 17.986 7.95105 18.033 8.28205C18.172 9.26105 19.018 10.0001 20 10.0001C20.184 10.0001 20.377 9.96505 20.61 9.89105ZM4 12.0001C4 16.4111 7.589 20.0001 12 20.0001C16.411 20.0001 20 16.4111 20 12.0001C18.464 12.0001 17.095 11.1041 16.434 9.78205C15.966 9.92605 15.482 10.0001 15 10.0001C12.243 10.0001 10 7.75705 10 5.00005C10 4.74705 10.02 4.49605 10.059 4.24805C6.561 5.11505 4 8.26805 4 12.0001Z"}),n.createElement("path",{fill:o,d:"M21 6C21.5523 6 22 5.55228 22 5C22 4.44772 21.5523 4 21 4C20.4477 4 20 4.44772 20 5C20 5.55228 20.4477 6 21 6Z"}))),h=e=>(i(e.color),n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},n.createElement("path",{fill:o,d:"M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"}))),m=e=>(i(e.color),n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},n.createElement("path",{fill:o,d:"M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7 0-.24-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3
1-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92 1.61 0 2.92-1.31 2.92-2.92 0-1.61-1.31-2.92-2.92-2.92z"}))),p=e=>(i(e.color),n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},n.createElement("g",{clipPath:"url(#clip0_421_3933)"},n.createElement("path",{fill:o,d:"M22.675 0H1.325C.594 0 0 .592 0 1.325v21.35C0 23.407.594 24 1.325 24h11.494v-9.294H9.69v-3.623h3.128V8.412c0-3.1 1.892-4.788 4.658-4.788 1.326 0 2.462.099 2.794.142v3.24h-1.918c-1.504 0-1.794.715-1.794 1.764v2.312h3.588l-.47 3.622H16.56V24h6.115c.732 0 1.326-.594 1.326-1.324V1.324C24 .592 23.406 0 22.675 0z"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_421_3933"},n.createElement("path",{fill:"#fff",d:"M0 0H24V24H0z"}))))),g=e=>(i(e.color),n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},n.createElement("g",{clipPath:"url(#clip0_421_3935)"},n.createElement("path",{fill:o,d:"M19 0H5a5 5 0 00-5 5v14a5 5 0 005 5h14a5 5 0 005-5V5a5 5 0 00-5-5zM8 19H5V8h3v11zM6.5 6.732c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zM20 19h-3v-5.604c0-3.368-4-3.113-4 0V19h-3V8h3v1.765c1.396-2.586 7-2.777 7 2.476V19z"})),n.createElement("defs",null,n.createElement("clipPath",{id:"clip0_421_3935"},n.createElement("path",{fill:"#fff",d:"M0 0H24V24H0z"}))))),f=e=>(i(e.color),n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},n.createElement("path",{fill:o,d:"M21 11.001H3v2h18v-2z"}))),v=e=>(i(e.color),n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",fill:"none",viewBox:"0 0 24 24"},n.createElement("path",{fill:o,d:"M16.002 8c0 2.205-1.794 4-4 4-2.205 0-4-1.795-4-4s1.794-4 4-4 4 1.795 4 4zM4.002 19c0-3.533 3.29-6 8-6 4.711 0 8 2.467 8 6v1h-16v-1z"})))},1009:function(e,t,a){a.d(t,{qt:function(){return f},n2:function(){return h},Xv:function(){return s},AR:function(){return r},bs:function(){return m},Sh:function(){return l},fw:function(){return d},L_:function(){return c},bh:function(){return i},xH:function(){return w},Rx:function(){return u},NZ:function(){return E},Lm:function(){return b},$N:function(){return g}});var n=a(8488);const r=async function(e,t,a){if(void 0===t&&(t="completeByVAT"),""!==e.target.value){let r=[];if("completeByVAT"===t&&13===e.target.value.length)r=await(0,n.rr)(e.target.value,"vatnum");else{if("completeByName"!==t)return void console.warn("Bad complete type was added");r=await(0,n.rr)(e.target.value,"name")}if(r.length>0){const e=r[0],n="completeByVAT"===t?"name":"vatnum";let l="";"companies"===e.type?l="completeByVAT"===t?e.short_name[0].name:e.tax_number[0].tax_number.toString():"self_employed"===e.type&&(l="completeByVAT"===t?m(e.name)+" E.V.":e.tax_number.toString()),a((e=>((e,t,a)=>e.map((e=>e.name===t?{...e,value:a}:e)))(e,n,l)))}else console.warn("No company was founded")}else console.warn("Empty input")},l={reg:"register-container",regC:"register-container__content",regCB:"register-container__content-bottom",dm:"demo-map",dmCS:"demo-map__categories-select",dmCL:"demo-map__categories-list",dmMCS:"demo-map__categories-mobile-select",dmMCL:"demo-map__categories-mobile-list",dmI:"demo-map__info",aC:"article-content",aCB:"article-content__body",aCBC:"article-content__body-carousel"},o=["január","február","március","április","május","június","július","augusztus","szeptember","október","november","december"],i=e=>{const t=e.split("-"),a=t[0],n=parseInt(t[1],10)-1;return a+". "+o[n]+" "+parseInt(t[2],10)+"."},s=e=>{const t=new Date(e);return t.getFullYear()+"."+(t.getMonth()+1).toString().padStart(2,"0")+"."+t.getDate().toString().padStart(2,"0")+"."},c=e=>{let t="";const a=e=>{for(let n in e)"string"==typeof e[n]?t+=e[n]+" ":"object"==typeof e[n]&&a(e[n])};e.forEach((e=>{a(e)}));const n=t.trim().split(/\s+/).length;return Math.ceil(n/200)},u=(e,t)=>{const{name:a,value:n,type:r,checked:l}=e.target;t((e=>e.map((e=>e.name===a?{...e,value:"checkbox"===r?l:n}:e))))},d=e=>e.reduce(((e,t)=>(e[t.name]=t.value,e)),{}),h=[{label:"Cégnév",type:"text",name:"company",value:"",required:!0,hasError:!1},{label:"Adószám",type:"text",name:"vatnum",value:"",required:!0,hasError:!1},{label:"Vezetéknév*",type:"text",name:"last_name",value:"",required:!0,hasError:!1},{label:"Keresztnév*",type:"text",name:"first_name",value:"",required:!0,hasError:!1},{label:"Email cÃm*",type:"text",name:"email",value:"",required:!0,hasError:!1},{label:"Telefonszám*",type:"text",name:"phone",value:"",required:!0,hasError:!1},{label:"Jelszó*",type:"password",name:"password",value:"",required:!0,hasError:!1},{label:"Jelszó újra*",type:"password",name:"passwordAgain",value:"",required:!0,hasError:!1},{label:"Elfogadom az Ãltalános SzerzÅdési Feltételek-ben le
1Ãrtakat és hozzájárulok adataim kezeléséhez.",name:"checkbox",value:!1,type:"checkbox",required:!0,hasError:!1}],m=e=>{const t=e.toLowerCase().split(" ");for(let a=0;a<t.length;a++)t[a]=t[a].charAt(0).toUpperCase()+t[a].slice(1);return t.join(" ")},p=(e,t)=>{e.forEach((e=>e.hasError=!1)),t(e)},g=async(e,t,a)=>{const r=[];if(p(t,a),13!==e.vatnum.length&&11!==e.vatnum.length&&!e.vatnum.includes("-")){r.push("Kérjük a teljes adószámot adja meg!");const e=t.findIndex((e=>"company_vat"===e.name));-1!==e&&(t[e].hasError=!0)}if(13===e.vatnum.length||11!==e.vatnum.length&&e.company_vat.includes("-")){if((await(0,n.rr)(e.vatnum.slice(0,8),"vatnum")).length<1){r.push("Az adószám nem létezik!");const e=t.findIndex((e=>"company_vat"===e.name));-1!==e&&(t[e].hasError=!0)}}if(e.password!==e.passwordAgain){r.push("Jelszavak nem egyeznek!");const e=t.findIndex((e=>"password"===e.name)),a=t.findIndex((e=>"passwordAgain"===e.name));-1!==e&&(t[e].hasError=!0),-1!==a&&(t[a].hasError=!0)}if(l=e.email,!/\S+@\S+\.\S+/.test(l)){r.push("Helytelen email formátum!");const e=t.findIndex((e=>"email"===e.name));-1!==e&&(t[e].hasError=!0)}var l,o;if(o=e.phone,!/^\+?\d{9,}$/.test(o)){r.push("Helytelen telefonszám!");const e=t.findIndex((e=>"phone"===e.name));-1!==e&&(t[e].hasError=!0)}if(!e.checkbox){r.push("ÃSZF elfogadása kötelezÅ!");const e=t.findIndex((e=>"checkbox"===e.name));-1!==e&&(t[e].hasError=!0)}return r.length>0?(a(t),r):(p(t,a),!0)},f=e=>e.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f()]/g,"").replace(/\s+/g,"-"),v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",w=e=>{let t=" ";const a=v.length;for(let n=0;n<e;n++)t+=v.charAt(Math.floor(Math.random()*a));return t};var y=a(7294);const E={xl:1568,lg:980,md:672,sm:378},b=()=>{const{0:e,1:t}=(0,y.useState)(0);return(0,y.useEffect)((()=>{0===e&&t(window.innerWidth);const a=()=>{t(window.innerWidth)};return window.addEventListener("resize",a),()=>{window.removeEventListener("resize",a)}}),[e]),e}}}]); 2//# sourceMappingURL=commons-e2a6c1b025dd2e2ccb49.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.