1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2965],{65151:function(t,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/not-banks/[companyId]/credit",function(){return e(61310)}])},58530:function(t,n,e){"use strict";var a=e(85893),l=e(67294),o=e(73795);let i=t=>{var n,e;let{data:l,title:i=null,seo:c=null}=t,s=(null==l?void 0:null===(n=l.logo)||void 0===n?void 0:n.original)||(null==l?void 0:null===(e=l.logo)||void 0===e?void 0:e.mini),d=c||(null==l?void 0:l.name);return l?(0,a.jsxs)("div",{className:"main-caption-logo",children:[i?(0,a.jsxs)("h1",{children:[i," ",d]}):(0,a.jsx)("h1",{children:d}),(0,a.jsx)(o.Z,{src:s,alt:"".concat(i," ").concat((null==l?void 0:l.name)&&l.name)})]}):(0,a.jsx)("div",{className:"main-caption-logo"})};n.Z=l.memo(i)},2805:function(t,n,e){"use strict";e.d(n,{R:function(){return l}});var a=e(59952);let l=(t,n,e)=>{let l=t?a.hu.text_410[n]:a.hu.text_404[n];return e.statusCode=t?410:404,{title:l,description:l,keywords:l,noindex:0}}},61310:function(t,n,e){"use strict";e.r(n);var a=e(85893),l=e(14416),o=e(67294),i=e(44478),c=e(98877),s=e(98381),d=e(30023),u=e(11163),r=e(76292),g=e(99611),v=e(65557),m=e(87110),p=e(81597),h=e(73385),f=e(78667),y=e(82338),w=e(50550),x=e(35687),k=e(19688),j=e(27846),Z=e(58530),_=e(2805);let S=t=>{var n,d,_;let{isServer:S,page404:b}=t,N=(0,l.v9)(t=>t),I=N.languages.active,z=(0,u.useRouter)(),C=(0,l.I0)(),E=z.query.companyId,L=new g.Z(I),B=(0,l.v9)(t=>t.translates.list),q=new m.Z(B,I),D=N.company.company,M=N.company.company,R=N.company.menuNotBanks,T=N.selectCards.selectCards,F=N.numberSelect.numberSelect,[P,O]=(0,o.useState)(null);(0,o.useEffect)(()=>{if(D&&!S){let t=null==D?void 0:D.seo;t={...t,title:(null==t?void 0:t.title)+" | "+"".concat(q.get("ÐÑедиÑÑ")),description:(null==t?void 0:t.description)+" | "+"".concat(q.get("ÐÑедиÑÑ"))},C((0,r.k7)(t));let n=(null==L?void 0:L.translates)&&(null==L?void 0:L.translates["127"]),e=(null==L?void 0:L.translates)&&(null==L?void 0:L.translates["191"]),a={az:"".concat(n.az,"/").concat(E).concat(e.az),ru:"".concat(n.ru,"/").concat(E).concat(e.ru),en:"".concat(n.en,"/").concat(E).concat(e.en)};C((0,k.VM)(null,a))}},[D]),(0,o.useEffect)(()=>{(null==D?void 0:D.name)&&C((0,r.ZD)([{title:"".concat(q.get("ÐÐÐÐ")),href:"/".concat(L.get("127"))},{title:D&&D.name,href:"/".concat(L.get("127"),"/").concat(E)},{title:"".concat(q.get("ÐÑедиÑÑ"))}]))},[D]),(0,o.useEffect)(()=>{if(null==D?void 0:D.id){let t=e(60749),n=localStorage.getItem("sid"),a=localStorage.getItem("token");n||(n=t.generate(30),localStorage.setItem("sid",n));let l=null==D?void 0:D.id,o=window.location.href,i=n;C((0,x.k)("company",l,o,i,null,a))}},[D]);let V=null==N?void 0:null===(n=N.consumerLoans)||void 0===n?void 0:n.loading,X=null==N?void 0:null===(d=N.consumerLoans)||void 0===d?void 0:d.countList;return((0,o.useEffect)(()=>{let t=null==D?void 0:D.slug;!S&&E&&t!==E&&C((0,s.xS)(I,E)),C((0,y.q1)(I,"523?with[]=524&with[]=531&with[]=537&with[]=540&with[]=527&with[]=521")),C((0,w.p)(I))},[E]),!D&&b)?(0,a.jsx)(c.Z,{children:(0,a.jsx)(p.aN,{})}):S&&!b?(0,a.jsx)(c.Z,{children:(0,a.jsx)(j.l,{})}):(0,a.jsxs)(c.Z,{children:[(0,a.jsx)(i.Z,{}),(0,a.jsxs)("div",{className:"page-section white-section bank-wrapper-header",children:[(0,a.jsx)(Z.Z,{data:D,title:q.get("ÐÑедиÑÑ"),seo:null==D?void 0:null===(_=D.seo)||void 0===_?void 0:_.h1}),(0,a.jsx)("div",{className:"section-bottom-tabs company-menu",children:(0,a.jsx)(v.Z,{list:R[I],prefix:"/".concat(L.get("127"),"/").concat(E),activeIndex:1})})]}),(0,a.jsx)(h.C,{title:q.get("ÐоÑÑебиÑелÑÑкие кÑедиÑÑ"),lang:I,data:T&&T,consumerLoans:!0,depositBig:!1,loading:V,actualBank:null==M?void 0:M.id,selectData2:F&&F,lengthData:X||null,setLengthFilter:O}),!!M&&(0,a.jsx)("div",{className:"lazyload-wrapper",children:(0,a.jsx)(f.Z,{data:D,bannerAddress:"produkty/kredity/potrebitelskie-kredity",actualBank:null==M?void 0:M.id,lengthFilter:P,service:"816",setLengthFilter:O,typeC:"notBank",micro:!0,linkCompany:"/".concat(L.get("127"),"/").concat(E,"/").concat(L.get("255"))})})]})};S.getInitialProps=async t=>{let{req:n,reduxStore:e,query:a,res:l,asPath:o}=t,i=!1,c=!1;if(n){var d,u,v,p,h,f,y,w;i=!0;let x=new g.Z(n.language);await e.dispatch((0,r.SY)(n.language,o));let j=new m.Z(e.getState().translates.list,n.language);await e.dispatch((0,s.xS)(n.language,a.companyId));let Z=null===(d=e.getState())||void 0===d?void 0:null===(u=d.company)||void 0===u?void 0:null===(v=u.company)||void 0===v?void 0:v.seo,S=null===(p=e.getState())||void 0===p?void 0:null===(h=p.company)||void 0===h?void 0:h.company,b=(null==x?void 0:x.translates)&&(null==x?void 0:x.translates["127"]),N=(null==x?void 0:x.translates)&&(null==x?void 0:x.translates["191"]),I=(null==S?void 0:S.type)===3,z=null==n?void 0:n.url,C=!1;if(z.includes(b[n.language])&&(C=!0),c=!!S&&I&&C){await e.dispatch((0,r.k7)(Z={...Z,description:(null==Z?void 0:Z.description)+" | "+"".concat(j.get("ÐÑедиÑÑ")),title:(null==Z?void 0:Z.title)+" | "+"".concat(j.get("ÐÑедиÑÑ"))}));let E=a.companyId;await e.dispatch((0,k.VM)(null,{az:"".concat(b.az,"/").concat(E).concat(N.az),ru:"".concat(b.ru,"/").concat(E).concat(N.ru),en:"".concat(b.en,"/").concat(E).concat(N.en)}))}else{let L=(null===(f=e.getState().breakLink)||void 0===f?void 0:null===(y=f.breakLink)||void 0===y?void 0:null===(w=y.data)||void 0===w?void 0:w.isBreak)||410===e.getState().company.company;Z=(0,_.R)(L,n.language,l)}await e.dispatch((0,r.k7)(Z))}return await e.dispatch((0,r.vT)(65)),{namespacesRequired:["common"],companyMenuIndex:7,isServer:i,page404:c}},n.default=(0,d.withTranslation)()(S)},98381:function(t,n,e){"use strict";e.d(n,{Ch:function(){return i},D5:function(){return c},nU:function(){return s},ut:function(){return u},xS:function(){return o}});var a=e(82031),l=e(88961);let o=function(t,n){let e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return async o=>{try{var i,c;let s="/companies/with-slug?lang=".concat(t,"&slug=").concat(n,"&limit=").concat(e);a&&(s+="&schema=".concat(a));let u=await l.Z.get(s),r=null===(i=u.data)||void 0===i?void 0:i.model,g=null===(c=u.data)||void 0===c?void 0:c.code;o(200===g?d(r):d(g))}catch(v){console.log(v)}}},i=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"az",n=arguments.length>1?arguments[1]:void 0,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"id,title,intro,slug,datetime,image,categories";return async a=>
1{try{let o="/news?lang=".concat(t,"&company_slug=").concat(n,"&sort=-datetime&limit=3");e&&(o+="&fields=".concat(e));let i=await l.Z.get(o),c=i.data;a(r(c))}catch(s){console.log(s)}}},c=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"az",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"id,title,intro,slug,datetime,image,categories";return async e=>{try{let a="/news?lang=".concat(t,"&company_slug&sort=-datetime&limit=3&filter[tags]=2");n&&(a+="&fields=".concat(n));let o=await l.Z.get(a),i=o.data;e(r(i))}catch(c){console.log(c)}}},s=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"az",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,o=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"id,title,intro,slug,datetime,image,categories";return async c=>{try{let s="/news?lang=".concat(t,"&company_slug=").concat(o,"&sort=-datetime&page=").concat(n,"&limit=").concat(e);i&&(s+="&fields=".concat(i));let d=await l.Z.get(s),u=d.data,r=d.headers["x-pagination-page-count"];c({type:a.J6M,news:u.length>0?u:null,pagesCount:r})}catch(g){console.log(g)}}};function d(t){return{type:a.xBq,company:t}}function u(){return{type:a.u3G}}function r(t){return{type:a.j99,news:t.length>0?t:null}}}},function(t){t.O(0,[4472,5814,7724,9568,2077,1369,7197,9774,2888,179],function(){return t(t.s=65151)}),_N_E=t.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.