PageSourceSearch

https://banks.az/_next/static/chunks/pages/products/credits/bad-loans-06b98144219b9f3c.js

js banks.az collected 2026-10-01 12:36:12 UTC 17,125 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6078],{32716:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/products/credits/bad-loans",function(){return n(91602)}])},91527:function(e,t,n){"use strict";n.d(t,{s:function(){return u}});var i=n(85893),l=n(95246),o=n(67294),a=n(54357),s=n(25675),r=n.n(s);let u=e=>{var t,n;let{data:s,keyValue:u,element_type:d}=e,c=s&&Object.values(s).filter(e=>e.key===u),v=c&&c[0],p=(0,o.useRef)(null),[h,f]=(0,o.useState)(!1),[m,g]=(0,o.useState)(200);(0,o.useEffect)(()=>{window.matchMedia("(max-width: 992px)").matches?f(!0):f(!1),window.addEventListener("resize",function(e){window.matchMedia("(max-width: 992px)").matches?f(!0):f(!1)})},[]),(0,o.useEffect)(()=>{if(p.current){let e=p.current.offsetWidth;g(e)}},[]);let y=h?null==v?void 0:v.code_mobile:null==v?void 0:v.code,w=h?null==v?void 0:null===(t=v.attach_mobile)||void 0===t?void 0:t.original:null==v?void 0:null===(n=v.attach)||void 0===n?void 0:n.original;return v?(0,i.jsxs)("div",{ref:p,children:[w&&(0,i.jsx)(l.o,{element_type:d,element_id:null==v?void 0:v.id,target:"_blank",hrefLink:(null==v?void 0:v.link)?v.link:"#",children:(0,i.jsx)(r(),{src:w,alt:v.name,width:h?m:250,height:h?150:500,className:"border-radius-style"})}),y&&(0,i.jsx)(a.I,{element_type:d,element_id:v.id,children:(0,i.jsx)("div",{className:"breakSpaces",dangerouslySetInnerHTML:{__html:y}})})]}):null}},66038:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var i=n(85893),l=n(67294),o=n(14416),a=n(56897),s=n.n(a);let r=e=>{let{title:t,classes:n,description:o}=e,a=(0,l.useRef)(null),[s,r]=(0,l.useState)(!1),u=()=>{r(e=>!e)};return o?(0,i.jsxs)("div",{className:"".concat(s?n.open:""," ").concat(n["faq-one-list"]),children:[(0,i.jsxs)("div",{className:n.caption,onClick:u,children:[t," ",(0,i.jsx)("i",{className:"ico-21"})]}),(0,i.jsx)("div",{className:n.description,ref:a,children:(0,i.jsx)("div",{className:"breakSpaces",id:"breakSpaces",dangerouslySetInnerHTML:{__html:o}})})]}):null};var u=l.memo(r),d=n(87110);let c=e=>{let{text:t,maxLength:n}=e,a=(0,o.v9)(e=>e),s=a.languages.active,r=a.translates.list,u=new d.Z(r,s),[c,v]=(0,l.useState)(!1),p=(0,l.useMemo)(()=>t?t.replace(/\s+$/,""):"",[t]),h=(0,l.useMemo)(()=>p.length>n,[p,n]),f=(0,l.useMemo)(()=>h?p.slice(0,n)+" ...":p,[p,n,h]),m=()=>{v(!c)};return(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{className:"breakSpaces",id:"breakSpaces",dangerouslySetInnerHTML:{__html:c?p:f}}),h&&(0,i.jsx)("div",{onClick:m,className:"mt-20",children:c?(0,i.jsx)("div",{className:"read-info-more",children:u.get("Скрыть")}):(0,i.jsx)("div",{className:"read-info-more",children:u.get("Читать полностью")})})]})};n(62963);var v=n(16314),p=n(9008),h=n.n(p);let f=e=>{var t;let{data:n,title:l,description:o}=e,a={"@context":"https://schema.org","@type":"FAQPage",name:l,...o&&{description:o},mainEntity:n.map(e=>({"@type":"Question",name:null==e?void 0:e.question,...(null==e?void 0:e.answer)&&{acceptedAnswer:{"@type":"Answer",text:null==e?void 0:e.answer}}}))};return(null==a?void 0:null===(t=a.mainEntity)||void 0===t?void 0:t.length)<1?null:(0,i.jsx)(h(),{children:(0,i.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(a)}})})},m=e=>{let{data:t,title:n,FAQText:l}=e;return t&&(null==t?void 0:t.length)!==0||l?(0,i.jsxs)("div",{className:"section-padding",children:[(0,i.jsx)(f,{data:t,title:n,description:l}),t&&(null==t?void 0:t.length)>0&&(0,i.jsx)(v.Z,{title:n,children:Object.values(t).map((e,t)=>(0,i.jsx)(u,{classes:s(),title:null==e?void 0:e.question,description:null==e?void 0:e.answer},"faq-".concat(null==e?void 0:e.id,"-").concat(t)))}),l&&(0,i.jsx)("div",{className:"".concat(s()["simple-text"]," page-section white-section"),children:(0,i.jsx)(c,{text:l,maxLength:920})})]}):null};var g=l.memo(m);let y=e=>{var t;let{headerMenu:n,children:a,children2:s,pageId:r=!0}=e,u=(0,o.v9)(e=>e),c=u.layout,v=u.languages.active,p=null===(t=u.seoPageId)||void 0===t?void 0:t.seoPageId,h=u.layout.headerMenu||[],f=(0,o.v9)(e=>e.translates.list),m=new d.Z(f,v),[y,w]=function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];let e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0,o=(0,l.useMemo)(()=>
1{if(e){var l,o,a,s,r,u,d,c,v,p,h,f,m,g,y,w,b,x;let j=null,_=null;return i?(j=null===(l=null===(o=null===(a=null==e?void 0:e.headerMenu[t])||void 0===a?void 0:a.children[n])||void 0===o?void 0:o.children[i])||void 0===l?void 0:null===(s=l.data)||void 0===s?void 0:s.faq,_=null===(r=null===(u=null===(d=null==e?void 0:e.headerMenu[t])||void 0===d?void 0:d.children[n])||void 0===u?void 0:u.children[i])||void 0===r?void 0:null===(c=r.data)||void 0===c?void 0:c.text):n?(j=null===(v=null===(p=null==e?void 0:e.headerMenu[t])||void 0===p?void 0:p.children[n])||void 0===v?void 0:null===(h=v.data)||void 0===h?void 0:h.faq,_=null===(f=null===(m=null==e?void 0:e.headerMenu[t])||void 0===m?void 0:m.children[n])||void 0===f?void 0:null===(g=f.data)||void 0===g?void 0:g.text):(j=null===(y=null==e?void 0:e.headerMenu[t])||void 0===y?void 0:null===(w=y.data)||void 0===w?void 0:w.faq,_=null===(b=null==e?void 0:e.headerMenu[t])||void 0===b?void 0:null===(x=b.data)||void 0===x?void 0:x.text),[j,_]}},[e]);return o}(null,c,h,a,s);return!r||(null==p?void 0:p.faq)||(null==p?void 0:p.text)||y?(0,i.jsx)("div",{className:"lazyload-wrapper",children:(0,i.jsx)(g,{data:(null==p?void 0:p.faq)||y,FAQText:(null==p?void 0:p.text)||w,title:m.get("Популярные вопросы"),lang:v})}):null};var w=l.memo(y)},91602:function(e,t,n){"use strict";n.r(t);var i=n(85893),l=n(81597),o=n(98877),a=n(44478),s=n(76292),r=n(30023),u=n(99611),d=n(87110),c=n(14416),v=n(67294),p=n(13255),h=n(50550),f=n(73385),m=n(78667),g=n(54064),y=n(11325),w=n(56303),b=n(66038),x=n(19688),j=n(59952),_=n(27846),k=n(11163);let S=e=>{var t,n,r,y;let{isServer:j,page404:S}=e,E=(0,c.v9)(e=>e),L=E.languages.active,O=E.layout,N=(0,c.v9)(e=>e.translates.list),P=new d.Z(N,L),C=(0,c.I0)(),I=(0,k.useRouter)();new u.Z(L);let T=E.consumerLoans.consumerLoans,M=null==E?void 0:null===(t=E.consumerLoans)||void 0===t?void 0:t.loading,Z=null==E?void 0:null===(n=E.consumerLoans)||void 0===n?void 0:n.countList,q=E.numberSelect.numberSelect,R=E.selectCards.selectCards,A=null===(r=E.seoPageId)||void 0===r?void 0:null===(y=r.seoPageId)||void 0===y?void 0:y.seo,F="badLoans",H="".concat(P.get("Кредиты с плохой КИ"));(0,v.useEffect)(()=>{j||C((0,w.z0)(L,248))},[]),(0,v.useEffect)(()=>{if(A&&!j){var e,t,n,i;(null==A?void 0:A.title)||(A={title:H,description:H,keywords:H,noindex:null==A?void 0:A.noindex}),A={...A,title:A.title},C((0,s.k7)(A)),C((0,x.VM)(null===(e=E.seoPageId)||void 0===e?void 0:null===(t=e.seoPageId)||void 0===t?void 0:t.slug,null===(n=E.seoPageId)||void 0===n?void 0:null===(i=n.seoPageId)||void 0===i?void 0:i.slug_all))}},[A,I]);let[z,U]=(0,v.useState)(null),[W,D]=(0,v.useState)(!1);return((0,v.useEffect)(()=>{N&&!W&&(C((0,s.ZD)([{title:H,href:"/"}])),D(!0))},[N]),(0,v.useEffect)(()=>{C((0,p.Iz)()),C((0,p.Kc)()),C((0,g.G9)()),C((0,g.hU)("15",L)),C((0,p.q1)(L,"523?with[]=524&with[]=531&with[]=537&with[]=540&with[]=527&with[]=521&with[]=189&with[]=479&with[]=320&with[]=319&with[]=316&with[]=315")),C((0,h.p)(L))},[]),R&&q)?j&&!S?(0,i.jsx)(o.Z,{children:(0,i.jsx)(_.l,{})}):(0,i.jsxs)(o.Z,{children:[(0,i.jsx)(a.Z,{}),(0,i.jsx)(f.C,{title:H,lang:L,data:R&&{...R,banks:{...R.banks,224:"Leobank"}},consumerLoans:!0,depositBig:!0,loading:M,securedLoans:!0,selectData2:q&&q,lengthData:Z||null,setLengthFilter:U,creditTypeName:F}),(0,i.jsx)("div",{className:"lazyload-wrapper",children:(0,i.jsx)(m.Z,{skipInitialFetch:j,bannerAddress:"produkty/kredity/potrebitelskie-kredity",securedLoans:!0,lengthFilter:z,setLengthFilter:U,creditTypeName:F,linkFilterSlider:"badLoans"})}),(null==O?void 0:O.headerMenu)&&T&&(0,i.jsx)(b.Z,{headerMenu:"_6",children:"_".concat(248)})]}):(0,i.jsx)(o.Z,{children:(0,i.jsx)(l.aN,{})})};S.getInitialProps=async e=>{let{req:t,reduxStore:n,res:i,asPath:l,query:o}=e,a=!1,r=!1;if(t){var c,v,f,m,b,_,k,S,E;r=!0,await n.dispatch((0,s.SY)(t.language,l)),await n.dispatch((0,w.z0)(t.language,248)),await n.dispatch((0,x.VM)(null===(c=n.get
1State())||void 0===c?void 0:null===(v=c.seoPageId)||void 0===v?void 0:null===(f=v.seoPageId)||void 0===f?void 0:f.slug,null===(m=n.getState())||void 0===m?void 0:null===(b=m.seoPageId)||void 0===b?void 0:null===(_=b.seoPageId)||void 0===_?void 0:_.slug_all));let L=new d.Z(n.getState().translates.list,t.language),O=null===(k=n.getState())||void 0===k?void 0:null===(S=k.seoPageId)||void 0===S?void 0:null===(E=S.seoPageId)||void 0===E?void 0:E.seo,N="".concat(L.get("Кредиты с плохой КИ")),P=new u.Z(t.language),C=(null==P?void 0:P.translates)&&(null==P?void 0:P.translates[248]),I=null==t?void 0:t.url,T=!1;if(I.includes(C[t.language])&&(T=!0),a=T)await Promise.all([n.dispatch((0,p.q1)(t.language,"523?with[]=524&with[]=531&with[]=537&with[]=540&with[]=527&with[]=521&with[]=189&with[]=479&with[]=320&with[]=319&with[]=316&with[]=315")),n.dispatch((0,h.p)(t.language)),n.dispatch((0,g.hU)("15",t.language))]),await n.dispatch((0,y.l)(t.language,(null==o?void 0:o.currency)||"AZN",(null==o?void 0:o.depositAmount)||null,(null==o?void 0:o.depositTerm)||null,null,(null==o?void 0:o.sortCoast)||null,(null==o?void 0:o.targetCredit)||null,(null==o?void 0:o.pledgeCredit)||null,(null==o?void 0:o.suretyCredit)||null,(null==o?void 0:o.proofIncomeCredit)||null,(null==o?void 0:o.borrowerCredit)||null,(null==o?void 0:o.obtainingCredit)||null,(null==o?void 0:o.valueAge)||null,(null==o?void 0:o.experience)||null,(null==o?void 0:o.banksValue)||null,(null==o?void 0:o.page)||1,10,!0,0,"badLoans")),(null==O?void 0:O.title)||(O={title:N,description:N,keywords:N,noindex:null==O?void 0:O.noindex});else{let M="".concat(j.hu.text_404[t.language]);O={title:M,description:M,keywords:M,noindex:0},i.statusCode=404}await n.dispatch((0,s.k7)(O))}return n.dispatch((0,s.vT)(6)),{namespacesRequired:["common"],isServer:r,page404:a}},t.default=(0,r.withTranslation)()(S)},54064:function(e,t,n){"use strict";n.d(t,{G9:function(){return a},hU:function(){return o}});var i=n(82031),l=n(88961);let o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"1000",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ru";return async n=>{try{let o=await l.Z.get("products/partner?product_type_id=".concat(e,"&lang=").concat(t)),a=o.data;n({type:i.m4K,partnerProduct:a})}catch(s){console.log(s)}}};function a(){return{type:i.XQR}}},56897:function(e){e.exports={"box-hover":"style_box-hover__WAdEr","faq-one-list":"style_faq-one-list__CHylJ",caption:"style_caption__xDAU6",description:"style_description__7jQjZ",open:"style_open__nUiI8","simple-text":"style_simple-text__9W8hb"}},33812:function(e){"use strict";e.exports={canvasStyle:{position:"absolute",bottom:0,left:0,height:0,overflow:"hidden","padding-top":0,"padding-bottom":0,border:"none"},mirrorProps:["box-sizing","width","font-size","font-weight","font-family","font-style","letter-spacing","text-indent","white-space","word-break","overflow-wrap","padding-left","padding-right"]}},96920:function(e){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports={omit:function(e,n){if(!e||"object"!==t(e))return e;var i={};return Object.keys(e).forEach(function(t){n.indexOf(t)>-1||(i[t]=e[t])}),i}}},57878:function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function o(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function a(e,t,n){return(a="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var i=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=s(e)););return e}(e,t);if(i){var l=Object.getOwnPropertyDescriptor(i,t);return l.get?l.get.call(n):l.value}})(e,t,n||e)}
1function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var u=n(67294),d=n(33812),c=d.canvasStyle,v=d.mirrorProps,p=n(96920).omit;function h(e,t){for(;e&&t--;)e=e.previousElementSibling;return e}var f={basedOn:void 0,className:"",component:"div",ellipsis:"…",maxLine:1,onReflow:function(){},text:"",trimRight:!0,winWidth:void 0},m=Object.keys(f),g=function(e){var t,n;function d(e){var t,n;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,d),(t=(n=s(d).call(this,e))&&("object"===i(n)||"function"==typeof n)?n:function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this)).state={text:e.text,clamped:!1},t.units=[],t.maxLine=0,t.canvas=null,t}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}(d,e),t=[{key:"componentDidMount",value:function(){this.initCanvas(),this.reflow(this.props)}},{key:"componentDidUpdate",value:function(e){e.winWidth!==this.props.winWidth&&this.copyStyleToCanvas(),this.props!==e&&this.reflow(this.props)}},{key:"componentWillUnmount",value:function(){this.canvas.parentNode.removeChild(this.canvas)}},{key:"setState",value:function(e,t){return void 0!==e.clamped&&(this.clamped=e.clamped),a(s(d.prototype),"setState",this).call(this,e,t)}},{key:"initCanvas",value:function(){if(!this.canvas){var e=this.canvas=document.createElement("div");e.className="LinesEllipsis-canvas ".concat(this.props.className),e.setAttribute("aria-hidden","true"),this.copyStyleToCanvas(),Object.keys(c).forEach(function(t){e.style[t]=c[t]}),document.body.appendChild(e)}}},{key:"copyStyleToCanvas",value:function(){var e=this,t=window.getComputedStyle(this.target);v.forEach(function(n){e.canvas.style[n]=t[n]})}},{key:"reflow",value:function(e){var t=e.basedOn||(/^[\x00-\x7F]+$/.test(e.text)?"words":"letters");switch(t){case"words":this.units=e.text.split(/\b|(?=\W)/);break;case"letters":this.units=Array.from(e.text);break;default:throw Error("Unsupported options basedOn: ".concat(t))}this.maxLine=+e.maxLine||1,this.canvas.innerHTML=this.units.map(function(e){return"<span class='LinesEllipsis-unit'>".concat(e,"</span>")}).join("");var n=this.putEllipsis(this.calcIndexes()),i=n>-1,l={clamped:i,text:i?this.units.slice(0,n).join(""):e.text};this.setState(l,e.onReflow.bind(this,l))}},{key:"calcIndexes",value:function(){var e=[0],t=this.canvas.firstElementChild;if(!t)return e;for(var n=0,i=1,l=t.offsetTop;(t=t.nextElementSibling)&&(t.offsetTop>l&&(i++,e.push(n),l=t.offsetTop),n++,!(i>this.maxLine)););return e}},{key:"putEllipsis",value:function(e){if(e.length<=this.maxLine)return -1;var t=e[this.maxLine],n=this.units.slice(0,t),i=this.canvas.children[t].offsetTop;this.canvas.innerHTML=n.map(function(e,t){return"<span class='LinesEllipsis-unit'>".concat(e,"</span>")}).join("")+"<wbr><span class='LinesEllipsis-ellipsis'>".concat(this.props.ellipsis,"</span>");for(var l=this.canvas.lastElementChild,o=h(l,2);o&&(l.offsetTop>i||l.offsetHeight>o.offsetHeight||l.offsetTop>o.offsetTop);)this.canvas.removeChild(o),o=h(l,2),n.pop();return n.length}},{key:"isClamped",value:function(){return this.clamped}},{key:"render",value:function(){var e=this,t=this.state,n=t.text,i=t.clamped,o=this.props,a=o.component,s=o.ellipsis,r=o.trimRight,d=o.className,c=function(e,t){if(null==e)return{};var n,i,l=function(e,t){if(null==e)return{};var n,i,l={},o=Object.keys(e);for(i=0;i<o.length;i++)n=o[i],t.indexOf(n)>=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}(o,["component","ellipsis","trimRight","className"]);return u.createElement(a,l({className:"LinesEllipsis ".concat(i?"LinesEllipsis--clamped":""," ").concat(d),ref:function(t){return e.target=t}},p(c,m)),i&&r?n.replace(/[\s\uFEFF\xA0]+$/,""):n,u.createElement("wbr",null),i&&u.createElement("span",{className:"LinesEllipsis-ellipsis"},s))}}],o(d.prototype,t),n&&o(d,n),d}(u.Component);g.defaultProps=f,e.exports=g}},function(e){e.O(0,[4472,5814,7724,9568,6720,2077,1369,7197,9774,2888,179],function(){return e(e.s=32716)}),_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.