1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3360,4430],{7987:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/verify/[status]",function(){return n(5146)}])},331:function(e,t,n){"use strict";var r=n(7294),i="undefined"!==typeof document?document:{};t.Z=function(){var e=(0,r.useRef)(),t=i.documentElement,n=i.body;return[function(){if(n&&n.style&&!e.current){var r=window.innerWidth-t.clientWidth,i=parseInt(window.getComputedStyle(n).getPropertyValue("padding-right"))||0;t.style.position="relative",t.style.overflow="hidden",n.style.position="relative",n.style.overflow="hidden",n.style.paddingRight="".concat(i+r,"px"),e.current=!0}},function(){n&&n.style&&e.current&&(t.style.position="",t.style.overflow="",n.style.position="",n.style.overflow="",n.style.paddingRight="",e.current=!1)}]}},7942:function(e,t,n){"use strict";var r=n(7294),i=n(4697);t.Z=function(){var e=(0,r.useState)(0),t=e[0],n=e[1],u=(0,i.y1)((function(){n(window.pageYOffset)}),5);return(0,r.useEffect)((function(){return window.addEventListener("scroll",u),function(){window.removeEventListener("scroll",u)}}),[u]),t}},4430:function(e,t,n){"use strict";n.r(t);var r=n(828),i=n(5893),u=n(7294),o=n(1163),l=n(2746),c=n(5697),a=n.n(c),s=n(603),d=n(2432),f=n(5633),v=n(331),x=n(1232),m=n(784),p=n(1008),h=n(7101),b=n(6499),w=n(227),g=n(5257),y=(0,u.forwardRef)((function(e,t){var n=e.simple,c=void 0!==n&&n,a=l.useTranslations,y=a("header-t"),j=a("buttons-t"),k=(0,o.useRouter)(),N=k.locale,E=k.defaultLocale,_=(0,r.Z)((0,v.Z)(),2),R=_[0],Z=_[1],C=(0,u.useState)(!1),S=C[0],A=C[1],L=(0,d.t)((function(e){return e.isAuth})),O=(0,f.i)((function(e){return e.banners})),T=null===O||void 0===O?void 0:O.find((function(e){return 1===(null===e||void 0===e?void 0:e.type)}));return(0,u.useEffect)((function(){var e,t;S?(R(),null===(e=null===document||void 0===document?void 0:document.querySelector("#chat-widget-container"))||void 0===e||e.classList.add("hidden")):(Z(),null===(t=null===document||void 0===document?void 0:document.querySelector("#chat-widget-container"))||void 0===t||t.classList.remove("hidden"));return function(){return Z()}}),[Z,R,S]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("header",{ref:t,className:"fixed inset-x-0 top-0 z-[100]",children:[(0,i.jsx)("span",{className:(0,s.cx)(T?"opacity-100":"opacity-0","transition-opacity ease-in duration-500"),children:T&&(0,i.jsx)(m.Z,{banner:T})}),!c&&(0,i.jsx)("div",{className:"absolute inset-x-0 top-0 z-0 w-full h-full bg-black-rgba_15 rounded-b-[20px] backdrop-blur-[50px]"}),(0,i.jsx)("div",{className:"relative z-10 flex items-center px-4 py-2",children:(0,i.jsxs)("div",{className:(0,s.cx)(c?"text-base":"text-white","w-full flex items-center"),children:[(0,i.jsx)(p.Z,{link:"/"!==(null===k||void 0===k?void 0:k.pathname),mainColor:c?"var(--dark-200)":"var(--white)",stopColor1:c?"var(--dark-200)":"var(--white)",stopColor2:c?"var(--dark-200)":"var(--white)"}),(0,i.jsxs)("div",{className:"ml-auto flex items-center",children:[(0,i.jsx)(h.Z,{}),!c&&(0,i.jsx)("button",{id:"burgerButton","aria-label":"Burger",className:"ml-1",onClick:function(){return A(!S)},children:(0,i.jsx)(g.J,{type:S?"close":"burger",color:c?"var(--dark-200)":"var(--white)"})})]})]})})]}),S&&(0,i.jsxs)("div",{className:"px-4 pt-16 pb-10 bg-dark-200 font-medium text-white fixed inset-0 flex flex-col z-[99]",children:[(0,i.jsx)("div",{className:"my-auto grid grid-cols-[100%] gap-y-6 items-center",children:(0,i.jsx)(b.Z,{t:y,locale:N,defaultLocale:E})}),(0,i.jsxs)("div",{className:"mt-4 grid grid-cols-[100%] gap-y-3",children:[(0,i.jsx)(w.default,{id:"loginMobile",propClassName:"w-full text-center",type:"link",mode:L?"white":"white-transparent",label:j(L?"login_system":"login"),link:(0,x.Z)(L,N,E)}),!L&&(0,i.jsx)(w.default,{id:"registerMobile",propClassName:"w-full text-center",type:"link",mode:"white",label:j("try_free"),link:(0,x.Z)(L,N,E,"",!1)})]})]})]})}));y.displayName="AppHeaderMobile",t.default=y,y.propTypes={simple:a().bool}},4471:function(e,t,n){"use strict";n.d(t,{j:function(){return m}});var r=n(5893),i=n(1163),u=n(113),o=n(603),l=n(2368),c=n(7942),a=n(1087),s=n(5633),d=n(9299),f=n(4430),v=n(4320),x=function(e){var t=e.children,n=(0,i.useRouter)(),x=(0,u.Z)("(max-width: ".concat(l.ub,"px)"),!1),m=(0,c.Z)(),p=(0,s.i)((function(e){return e.banners})),h=null===p||void 0===p?void 0:p.find((function(e){return 1===(null===e||void 0===e?void 0:e.type)})),b="/analiz-klientiv-ta-konkurentiv"===n.pathname?"var(--linear-gradient-green)":"";return(0,r.jsxs)("div",{className:"min-h-screen flex flex-col bg-dark-200",children:[x?(0,r.jsx)(f.default,{bg:"/pricing"!==(null===n||void 0===n?void 0:n.route)&&!a.ep.cases.find((function(e){return e===(null===n||void 0===n?void 0:n.route)}))||m>100}):(0,r.jsx)(d.Z,{bg:"/pricing"!==(null===n||void 0===n?void 0:n.route)&&!a.ep.cases.find((function(e){return e===(null===n||void 0===n?void 0:n.route)}))||m>50}
1),(0,r.jsx)("main",{className:(0,o.cx)("bg-dark-200","/404"===(null===n||void 0===n?void 0:n.route)||a.ep.cases.find((function(e){return e===(null===n||void 0===n?void 0:n.route)}))||a.ep.forWhom.find((function(e){return e===(null===n||void 0===n?void 0:n.route)}))||a.ep.hromades.find((function(e){return e===(null===n||void 0===n?void 0:n.route)}))||(null===n||void 0===n?void 0:n.route.includes("status"))?"":h?"pt-28":"pt-20"),style:{background:b},children:t}),(0,r.jsx)(v.Z,{})]})},m=function(e){return(0,r.jsx)(x,{children:e})}},5146:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return y},default:function(){return j}});var r=n(7568),i=n(7297),u=n(7582),o=n(5893),l=n(7294),c=n(1163),a=n(5152),s=n.n(a),d=n(2746),f=n(603),v=n(2432),x=n(1232),m={Ok:{title:"Ok.title",description:"Ok.text",text:"Ok.text",label:{auth:"Ok.label.auth",nonAuth:"Ok.label.nonAuth"}},Error:{title:"Error.title",description:"Error.text"},WrongCode:{title:"Error.title",description:"Error.text"},Rejected:{title:"Rejected.title",description:"Rejected.text",text:"Rejected.text",label:{auth:"Rejected.label.auth",nonAuth:"Rejected.label.nonAuth"}}},p=n(4471),h=n(8431),b=n(5257);function w(){var e=(0,i.Z)(["\n button {\n font-size: 14px;\n }\n "]);return w=function(){return e},e}var g=s()((function(){return Promise.resolve().then(n.bind(n,227))}),{loadableGenerated:{webpack:function(){return[227]}},ssr:!1}),y=!0;function j(e){var t=e.specificStatus,n=(0,d.useTranslations)("status-t"),i=(0,c.useRouter)(),a=i.locale,s=i.defaultLocale,f=(0,l.useState)(!1),p=f[0],w=f[1],y=(0,v.t)((function(e){return e.isAuth})),j="Ok"===t,N="Error"===t||"WrongCode"===t,E=m,_=(0,l.useCallback)((0,r.Z)((function(){return(0,u.__generator)(this,(function(e){return y?window.open((0,x.Z)(y,a,s,"business-profile/"),"_self"):window.open((0,x.Z)(y,a,s),"_blank"),[2]}))})),[s,y,a]);return(0,l.useEffect)((function(){return w(!y&&E[t].text)}),[E,y,t]),(0,l.useEffect)((function(){var e=function(){y&&j&&setTimeout((function(){return _()}),2500)};if("complete"!==document.readyState)return window.addEventListener("load",e),function(){return window.removeEventListener("load",e)};e()}),[_,y,j]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(h.Z,{title:N?n.rich(E[t].title,{br:""}):n(E[t].title),description:n(E[t].description)}),(0,o.jsx)("section",{className:k,children:(0,o.jsx)("div",{className:"contain flex justify-center items-center animate-fadeSlow",children:(0,o.jsxs)("div",{className:"w-full text-center animate-fadeSmooth",style:{maxWidth:"33rem"},children:[(0,o.jsx)("div",{className:"mb-8 flex justify-center",children:(0,o.jsx)(b.J,{type:"verify-".concat(j?"success":"error")})}),E[t].title&&(0,o.jsx)("h1",{className:"mb-4 font-medium text-2xl lg:text-[32px] leading-[130%] text-white",children:n.rich(E[t].title,{br:(0,o.jsx)("br",{},"space")})}),!N&&(0,o.jsxs)(o.Fragment,{children:[(p||!j&&E[t].text)&&(0,o.jsx)("p",{className:"mb-8 lg:mb-10 text-sm lg:text-[16px] leading-[150%] text-gray-400 ",children:n(E[t].text)}),"label"in E[t]&&(0,o.jsx)(g,{id:"".concat(t,"Button"),propClassName:"".concat(p||!j&&E[t].text?"":"mt-6"," px-6 text-[16px] leading-[150%]"),mode:"grey-blue",label:n(p?E[t].label.nonAuth:E[t].label.auth),sendData:_})]})]})})})]})}j.getLayout=p.j;var k="py-5 relative flex flex-col justify-center items-center w-full h-screen border-b border-solid border-white overflow-hidden "+(0,f.iv)(w())},4697:function(e,t,n){"use strict";n.d(t,{y1:function(){return i}});var r=n(7294);function i(e,t,n){var i=this,u=(0,r.useRef)(null),o=(0,r.useRef)(0),l=(0,r.useRef)(null),c=(0,r.useRef)([]),a=(0,r.useRef)(),s=(0,r.useRef)(),d=(0,r.useRef)(e),f=(0,r.useRef)(!0);(0,r.useEffect)((function(){d.current=e}),[e]);var v=!t&&0!==t&&"undefined"!=typeof window;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var x=!!(n=n||{}).leading,m=!("trailing"in n)||!!n.trailing,p="maxWait"in n,h=p?Math.max(+n.maxWait||0,t):null;(0,r.useEffect)((function(){return f.current=!0,function(){f.current=!1}}),[]);var b=(0,r.useMemo)((function(){var e=function(e){var t=c.current,n=a.current;return c.current=a.current=null,o.current=e,s.current=d.current.apply(n,t)},n=function(e,t){v&&cancelAnimationFrame(l.current),l.current=v?requestAnimationFrame(e):setTimeout(e,t)},r=function(e){if(!f.current)return!1;var n=e-u.current;return!u.current||n>=t||n<0||p&&e-o.current>=h},b=function(t){return l.current=null,m&&c.current?e(t):(c.current=a.current=null,s.current)},w=function e(){var i=Date.now();if(r(i))return b(i);if(f.current){var l=t-(i-u.current),c=p?Math.min(l,h-(i-o.current)):l;n(e,c)}},g=function(){var d=Date.now(),v=r(d);if(c.current=[].slice.call(arguments),a.current=i,u.current=d,v){if(!l.current&&f.current)return o.current=u.current,n(w,t),x?e(u.current):s.current;if(p)return n(w,t),e(u.current)}return l.current||n(w,t),s.current};return g.cancel=function(){l.current&&(v?cancelAnimationFrame(l.current):clearTimeout(l.current)),o.current=0,c.current=u.current=a.current=l.current=null},g.isPending=function(){return!!l.current},g.flush=function(){return l.current?b(Date.now()):s.current},g}),[x,p,t,h,m,v]);return b}}},function(e){e.O(0,[7914,6812,8962,9774,2888,179],(function(){return t=7987,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.