(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4633],{22868:function(){},26349:function(){},99830:function(){},70209:function(){},22029:function(e,t,n){Promise.resolve().then(n.bind(n,82778)),Promise.resolve().then(n.bind(n,4091)),Promise.resolve().then(n.bind(n,23204)),Promise.resolve().then(n.bind(n,90476))},4091:function(e,t,n){"use strict";n.d(t,{default:function(){return nV}});var a,i,l,o,r,s,c,d,u,m,v,p,_,g,h=n(57437),f=n(2265),y=n(99376),b=n(80684),x=n(35563),w=n(75461),C=n(20777),j=n(74157),N=n(59226),T=n(46295),k=n(17730),R=n(61994),A=n(44197),S=n(27648),I=n(69286),P=n.n(I);let B=e=>{let{data:t}=e,n=e=>t=>{e.disableLink&&(t.preventDefault(),t.stopPropagation()),e.onClick&&e.onClick()};return(0,h.jsx)("ul",{className:P().choice,children:t.map(e=>(0,h.jsx)("li",{className:P().choiceOption,children:(0,h.jsx)(S.default,{href:e.url,onClick:n(e),prefetch:!1,children:e.name})},e.id))})};var L=n(60816),O=n(97358),M=n(41858);let E=e=>{(0,f.useEffect)(()=>{if(!e)return;let{title:t,description:n,alternates:{canonical:a}}=e;document.title=t;let i=document.querySelector('meta[name="description"]');if(i)i.setAttribute("content",n||"");else{let e=document.createElement("meta");e.name="description",e.content=n||"",document.head.appendChild(e)}let l=document.querySelector('link[rel="canonical"]');l?l.setAttribute("href",a||""):((l=document.createElement("link")).rel="canonical",l.href=a||"",document.head.appendChild(l))},[e])};var D=n(31893),F=n(33562),U=n(87940),W=n(24269);let z=(e,t)=>e===W.$.bank&&"finance"in t,H=(e,t)=>e===W.$.insurance&&"legal_entities"in t&&Object.keys(t.legal_entities[0]||{}).some(e=>e.startsWith("insType")),V=e=>"microCredits_num"in e;var q=n(53120),Y=n(49689),X=n(1649),Q=n.n(X);let $=e=>e.map(e=>"string"==typeof e?(0,h.jsx)("div",{dangerouslySetInnerHTML:{__html:e}},e):(0,h.jsxs)("div",{className:Q().row,children:[(0,h.jsx)("p",{className:Q().year,children:e.data.year}),(0,h.jsx)("div",{className:Q().text,dangerouslySetInnerHTML:{__html:e.data.text}})]},e.data.year)),Z=e=>{let{title:t,description:n,historyRowsRef:a,visibleItems:i=3,onShowAll:l,onShowMore:o,isPopup:r=!1}=e,s=(0,w.aF)("m");return n?(0,h.jsxs)("div",{className:Q().history,children:[!r&&(0,h.jsx)("h2",{className:Q().historyTitle,children:t}),(0,h.jsx)("div",{className:(0,R.Z)(Q().historyRows,{[Q().historyModal]:r}),ref:a,children:"string"==typeof n?(0,h.jsx)("div",{dangerouslySetInnerHTML:{__html:n}}):$(n.slice(0,s?i:n.length))}),"string"!=typeof n&&!r&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:Q().gradient}),(0,h.jsx)(A.j,{text:"Показать все",mainPageUrl:U.qL,iconColor:"light",className:Q().showAllButton,onClick:l,widthMaxContent:!0})]}),"string"!=typeof n&&n.length>i&&r&&(0,h.jsx)(A.j,{text:"Показать еще",mainPageUrl:U.qL,icon:b.IconFdsChevronDownSmallO,iconColor:"light",className:Q().showMoreButton,onClick:o,widthMaxContent:!0})]}):null},G=["finuslugi.ru","inguru.dev","moex.com"],J=e=>e.includes("//")&&!G.find(t=>e&&e.indexOf(t)>=0),K=e=>e?e=e.replace(/href="(.*?)"/gi,(e,t)=>"".concat(e).concat(J(t)?' rel="nofollow"':"")):"",ee=e=>{let{items:t}=e,[n,a]=(0,f.useState)(!1),i=()=>a(e=>!e);return t.length?t.map(e=>(0,h.jsxs)("div",{className:Q().requisit,children:[(0,h.jsx)("p",{className:Q().infoItemTitle,children:e.title}),Array.isArray(e.value)?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:Q().infoItemValue,children:e.value.slice(0,n?e.value.length:1).map(e=>(0,h.jsx)("div",{className:Q().infoItemValueItem,children:e},e))}),(0,h.jsx)(A.j,{text:n?"Свернуть":"Все свидетельства",mainPageUrl:U.qL,icon:n?b.IconFdsChevronUpSmallO:b.IconFdsChevronDownSmallO,iconColor:"light",className:Q().showMoreLicensesButton,onClick:i,widthMaxContent:!0})]}):(0,h.jsx)("div",{className:Q().infoItemValue,dangerouslySetInnerHTML:{__html:K(e.value)}})]},e.title)):null},et=e=>{let{title:t,items:n}=e,[a,i]=(0,f.useState)(!1);return n.length&&n[0].length?(0,h.jsxs)("div",{children:[t&&(0,h.jsx)("h2",{className:Q().title,children:t}),n.map((e,t)=>(0,h.jsx)("div",{className:(0,R.Z)(Q().requisitesColumn,{collapsed:t>0&&!a}),children:(0,h.jsx)(ee,{items:e})},t)),n.length>1&&(0,h.jsx)(A.j,{text:a?"Свернуть":"Показать все юрлица",mainPageUrl:U.qL,icon:a?b.IconFdsChevronUpSmallO:b.IconFdsChevronDownSmallO,iconColor:"light",className:Q().showMoreLegalEntitiesButton,onClick:()=>i(e=>!e),widthMaxContent:!0})]}):null},en=e=>{let{insuranceTypes:t,loadingInsuranceTypes:n}=e,a=(0,w.aF)("m"),[i,l]=(0,f.useState)(!1),o=(0,f.useRef)(null),[r,s]=(0,f.useState)(!1);return((0,f.useEffect)(()=>{o.current&&s(o.current.scrollHeight>(a?164:76))},[t,a]),n)?(0,h.jsx)(x.Od,{className:Q().insuranceTypes,width:468,height:152}):(0,h.jsxs)("div",{className:Q().insuranceTypes,children:[(0,h.jsx)("p",{className:Q().infoItemTitle,children:"Виды страхования"}),(0,h.jsx)("div",{ref:o,className:(0,R.Z)(Q().typesList,{[Q().expanded]:i}),children:null==t?void 0:t.map(e=>(0,h.jsx)(w.Vp,{label:e.name,variant:"secondary",className:(0,R.Z)(Q().insuranceTypeTag,{[Q().insuranceTypeTagFull]:i})},e.id))}),r&&(0,h.jsx)(A.j,{text:i?"Свернуть":"Показать еще",mainPageUrl:U.qL,icon:i?b.IconFdsChevronUpSmallO:b.IconFdsChevronDownSmallO,iconColor:"light",className:Q().showMoreLicensesButton,onClick:()=>{l(e=>(e&&o.current&&o.current.scrollIntoView({behavior:"smooth",block:"center"}),!e))},widthMaxContent:!0})]})},ea=e=>{let t=(0,f.useRef)();(0,f.useEffect)(()=>{if("undefined"==typeof document)return;let n=window.innerWidth-document.documentElement.clientWidth;e&&n&&!document.body.style.top&&(t.current=window.scrollY||window.pageYOffset),e&&void 0!==t.current&&n&&(document.body.classList.add("hide-scrollbar"),document.documentElement.style.setProperty("overflow-y","scroll"),document.body.style.setProperty("width","calc(100vw - ".concat(n,"px)")),document.body.style.setProperty("top","-".concat(t.current,"px"))),e&&!n&&(document.body.style.setProperty("overflow","hidden"),document.body.style.setProperty("height","100vw"));let a=document.querySelectorAll("[data-portal]").length>1;e||a||(document.body.classList.remove("hide-scrollbar"),document.documentElement.style.removeProperty("overflow-y"),document.body.style.removeProperty("top")),e||a||void 0===t.current||(window.scrollTo(0,t.current),t.current=void 0)},[e])},ei=(e,t)=>{(0,f.useEffect)(()=>{let n;let a=()=>{let n=e.current;if(!n)return;let a=n.getBoundingClientRect().top,i=n.getBoundingClientRect().bottom,l=0;for(let e of Array.from(n.children)){let t=e.getBoundingClientRect();if(t.bottom>a&&t.top<i)l++;else break}t(l)},i=new ResizeObserver(()=>{n=requestAnimationFrame(a)});return e.current&&i.observe(e.current),n=requestAnimationFrame(a),()=>{i.disconnect(),cancelAnimationFrame(n)}},[e,t])};var el=n(71938);let eo=e=>/^https?:\/\//i.test(e)?e:"https://".concat(e),er=(e,t)=>{var n,a,i;let l=[],o=z(e,t),r=H(e,t),s=V(t);if(o){let{legal_entities:e,email:n,ogrn:o,cpp:r,bic:s,inn:c,okpo:d}=t;if(Array.isArray(e)&&(null===(i=e[0])||void 0===i?void 0:null===(a=i.licenses)||void 0===a?void 0:a.length)){let{number:t,date:n}=e[0].licenses[0];l.push({title:"Лицензия",value:"№ ".concat(t," от ").concat((0,el.p6)(n).toString()," г.").concat(o?', <a href="https://www.cbr.ru/finorg/foinfo/?ogrn='.concat(o,'" target="_blank">информация на сайте ЦБ РФ</a>'):"")})}if(Array.isArray(e)&&e.length){let{name:t,legal_address:n}=e[0]||{};t&&l.push({title:"Сокращенное наименование",value:t}),n&&l.push({title:"Юридический адрес",value:n})}n&&l.push({title:"Email",value:'<a href="mailto:'.concat(n,'">').concat(n,"</a>")}),o&&l.push({title:"ОГРН",value:o}),r&&l.push({title:"КПП",value:r}),s&&l.push({title:"БИК",value:s.padStart(9,"0")}),c&&l.push({title:"ИНН",value:c}),d&&l.push({title:"ОКПО",value:d})}if(r){let{legal_entities:[{legal_address:e,name:n,licenses:a}],legal_name:i}=t,o=i||n;e&&l.push({title:"Юридический адрес",value:e}),o&&l.push({title:"Полное наименование",value:o}),(null==a?void 0:a.length)&&l.push({title:"Свидетельство",value:a.map(e=>"№ ".concat(e.number," от ").concat(e.date))})}return s&&(null===(n=t.legal_entities)||void 0===n?void 0:n[0])?t.legal_entities.map(e=>{let{address:t,name:n,registration_number:a}=e,i=[];return n&&i.push({title:"Юридическое лицо",value:n}),t&&i.push({title:"Юридический адрес",value:t}),a&&i.push({title:"Регистрационный номер",value:a}),i}):[l]},es=e=>{let{site:t,site_url:n}=e,a=[];n&&a.push({title:"Официальный сайт",value:'<a href="'.concat(eo(n),'" target="_blank">').concat(t||n,"</a>")});let i=e.phone||e.maintel;return i&&a.push({title:"Телефоны",value:"string"==typeof i?'<a href="tel:'.concat(i,'">').concat(i,"</a>"):'<a href="tel:'.concat(i.phone,'">').concat(i.phone,"</a> <span>").concat(i.description,"</span>")}),a},ec="Реквизиты",ed="Контакты",eu=e=>{let{orgType:t,company:n,insuranceTypes:a,loadingInsuranceTypes:i}=e,l=(0,w.aF)("m"),o=H(t,n),r=t===W.$.bank,s="История ".concat(r?"банка":"компании"),c=(0,f.useRef)(null),[d,u]=(0,f.useState)(s),[m,v]=(0,f.useState)(!1),[p,_]=(0,f.useState)(!1),[g,y]=(0,f.useState)(3),[C,j]=(0,f.useState)(3);ei(c,l?y:j),ea(m);let N=t===W.$.insurance,{description:T}=n,k=er(t,n),S=es(n),I=o?null==a?void 0:a.filter(e=>{var t,a,i;return null==n?void 0:null===(i=n.legal_entities)||void 0===i?void 0:null===(a=i[0])||void 0===a?void 0:null===(t=a.ins_types)||void 0===t?void 0:t.includes(Number(e.id))}):[],P=[s];k.length>0&&P.push(ec),S.length>0&&P.push(ed);let B=d===s,L=e=>{u(e),_(!0)},E=T&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(Z,{title:s,description:T,historyRowsRef:c,onShowAll:()=>v(!0),onShowMore:()=>{Array.isArray(T)&&y(T.length)},visibleItems:l?g:C,isPopup:l}),!l&&(0,h.jsx)(M.X,{organizationType:t,bannerUrl:o?O.Te[n.url]:void 0,compact:!0})]}),D=k.length>0&&(0,h.jsx)(et,{title:l?void 0:ec,items:k}),F=S.length>0&&(0,h.jsx)("div",{className:Q().contacts,children:(0,h.jsx)(et,{title:l?void 0:ed,items:[S]})}),z=(!!(null==I?void 0:I.length)||i)&&(0,h.jsx)(en,{insuranceTypes:I||[],loadingInsuranceTypes:i});return(0,h.jsx)(x.W2,{children:(0,h.jsx)("div",{className:Q().wrapper,children:l?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:Q().bankInfoTabs,children:P.map(e=>(0,h.jsx)(A.j,{text:e,mainPageUrl:U.qL,icon:b.IconFdsChevronRightO,iconColor:"white",className:Q().bankInfoTabButton,onClick:()=>L(e),widthMaxContent:!0},e))}),(0,h.jsx)(Y.j,{title:d,isOpen:p,onClose:()=>{_(!1),y(3)},full:B,className:Q().historyPopup,children:B?E:d===ec?(0,h.jsxs)(h.Fragment,{children:[D,z]}):d===ed?F:null})]}):(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("div",{className:Q().topRow,children:[E,(0,h.jsx)(q.d,{className:Q().drawer,contentClassName:Q().container,isOpen:m,onClose:()=>v(!1),title:(0,h.jsx)("p",{className:Q().historyTitle,children:s}),titleAlign:"left",width:"695px",rowTitle:!0,children:(0,h.jsx)("div",{className:(0,R.Z)(Q().historyRows,Q().historyModal),children:T&&$(T)})})]}),(0,h.jsxs)("div",{className:(0,R.Z)(Q().bottomRow,N&&Q().withoutWrap),children:[D,F]}),o&&z]})})})};var em=n(66285),ev=n(75599),ep=n(51479),e_=n(54550),eg=n(82869),eh=n.n(eg);let ef=e=>(0,h.jsxs)("div",{className:(0,R.Z)(eh().starWrapper,{[eh().mid]:e.mid,[eh().big]:e.big,[eh().partial]:!e.total}),children:[(0,h.jsx)(b.IconFdsStarF,{size:e.big?20:16,className:eh().starIcon}),(0,ev.Z)(e.ratingValue),e.total?"/".concat(e.total):"",e.text?"/":"",(0,h.jsx)("span",{className:eh().starText,children:e.text})]}),ey=e=>{var t,n;let a=(0,w.aF)("m"),i=U.yi[e.orgType],l=e.companyPeopleRatings,o=[String(e.company.id)],r=Object.entries((null==l?void 0:l.service_count)||{}).map(e=>{let[t,n]=e;return{serviceId:t,count:n.count,rating:n.rating}}),s=Object.fromEntries((null===(n=e.serviceTypes)||void 0===n?void 0:null===(t=n[e.orgType])||void 0===t?void 0:t.map(e=>{let{id:t,...n}=e;return[t,n]}))||[]);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("p",{className:eh().description,children:["Составляется на основе отзывов клиентов ",i.name_rs]}),(0,h.jsxs)("div",{className:eh().peopleRatingWrapper,children:[!e.loading&&(0,h.jsxs)("div",{className:eh().peopleRatingTopInfo,children:[(0,h.jsx)(ef,{ratingValue:(null==l?void 0:l.total_rating)||0,text:"5",big:!0}),(0,h.jsx)(A.j,{className:eh().peopleRatingTopFullInfoLink,text:"".concat((null==l?void 0:l.total_count)||0," ").concat((0,x._6)((null==l?void 0:l.total_count)||0,"отзыв","отзыва","отзывов")," на Финуслугах"),mainPageUrl:U.qL,href:(0,em.G)({type:e.orgType,com:o}),target:"_self"})]}),e.loading&&(0,h.jsx)(x.Od,{className:eh().peopleRatingTopInfo,width:346,height:44}),!e.loading&&r.map(t=>{var n;let{serviceId:i,count:l,rating:r}=t,c=null==s?void 0:null===(n=s[i])||void 0===n?void 0:n.name;if(!c)return null;let d=l?"".concat(l," ").concat((0,x._6)(l,"отзыв","отзыва","отзывов")):"",u=(0,em.G)({type:e.orgType,com:o,service:i});return(0,h.jsx)("a",{href:u,className:eh().rowItem,onClick:()=>{(0,ep.D)({eventCategory:U.qL,eventActionType:ep.i.block,eventActionText:(0,e_.b)(c),eventLabel:u})},children:(0,h.jsxs)("div",{className:eh().rowTitleWrapper,children:[!a&&(0,h.jsx)(ef,{ratingValue:r,total:5,mid:!0}),(0,h.jsx)("div",{className:eh().rowTitle,children:c}),(0,h.jsxs)("div",{className:eh().rowLink,children:[a&&(0,h.jsx)(ef,{ratingValue:r,mid:!0}),d&&(a?"/".concat(d):"(".concat(d,")"))]}),(0,h.jsx)(b.IconFdsArrowUpRightSmallO,{size:26,className:eh().rowItemIcon})]})},i)}),e.loading&&[1,2,3,4,5].map(e=>(0,h.jsx)(x.Od,{className:eh().rowItem,height:a?92:64},e))]}),!a&&(0,h.jsxs)("p",{className:eh().disclaimer,children:["Рейтинги ",e.company.name_r||e.company.name," составлены на основании наиболее актуальных данных за"," ",new Date().getFullYear()," год"]})]})};var eb=n(8081),ex=n(31538);let ew=e=>{let{company:t,companyPeopleRatings:n,orgType:a,serviceTypes:i,loading:l}=e;return(0,h.jsx)("div",{className:eh().wrapper,children:(0,h.jsxs)("div",{className:eh().container,children:[(0,h.jsx)("div",{className:eh().body,children:(0,h.jsxs)("div",{className:eh().info,children:[(0,h.jsx)("h2",{className:eh().title,children:"Пользовательский рейтинг"}),(0,h.jsx)(ey,{company:t,companyPeopleRatings:n,orgType:a,serviceTypes:i,loading:l})]})}),(0,h.jsxs)("div",{className:eh().bannerWrapper,children:[(0,h.jsx)(ex.l,{company:t.url,orgType:a,eventCategory:"companyDetail"}),(0,h.jsx)(eb.u,{})]})]})})};var eC=n(91672),ej=n(57234),eN=n.n(ej);let eT=e=>(0,h.jsxs)("div",{className:eN().featureInfo,children:[(0,h.jsx)("div",{className:eN().iconWrapper,style:{background:e.color},children:e.icon}),(0,h.jsxs)("div",{className:eN().content,children:[(0,h.jsx)("div",{className:eN().infoTitle,children:e.title}),(0,h.jsx)(S.default,{href:e.href||"",onClick:t=>{(0,ep.D)({eventCategory:U.qL,eventActionType:ep.i.link,eventActionText:(0,e_.b)(e.link),eventLabel:(0,e_.b)(e.title)}),e.onClick&&(t.preventDefault(),e.onClick())},children:e.link})]})]});var ek=n(68927),eR=n.n(ek);let eA=e=>{let{uslugiTabUrl:t,generalRating:n,name_rs:a,catalogUrl:i,company:l,organizationType:o,productsNum:r,onBankFeatureClick:s,getTabPath:c}=e,d=(0,T.S)().NEXT_PUBLIC_BASE_URL,u=(0,w.aF)("xs"),{reviews_num:m}=l,v=o===W.$.bank,p=o===W.$.insurance,_=m>0?"".concat(m," ").concat((0,x._6)(m,"отзыв","отзыва","отзывов")):"";return(0,h.jsxs)("div",{className:eR().content,children:[(0,h.jsx)(M.X,{organizationType:o,bannerUrl:p?O.Te[l.url]:void 0}),(0,h.jsxs)("div",{className:eR().wrapper,children:[(0,h.jsx)("div",{className:eR().logo,children:(0,h.jsx)(eC.D,{url:v&&l.bic||l.url||"",type:o,width:78,height:78,companyName:l.name})}),(0,h.jsxs)("div",{className:eR().info,children:[(0,h.jsxs)("div",{className:eR().company,children:[(0,h.jsx)("div",{className:eR().name,children:l.name}),!!n&&(0,h.jsxs)("div",{className:eR().rating,children:[(0,h.jsx)(b.IconFdsStarF,{size:u?20:24,className:eR().iconStar}),(0,ev.Z)(n)]})]}),(0,h.jsx)("p",{className:eR().description,children:l.short_description}),(0,h.jsx)(A.j,{className:eR().fullInfoLink,text:"Каталог всех ".concat(a),mainPageUrl:d,href:"".concat(d,"/").concat(i),target:"_self"})]}),(0,h.jsxs)("div",{className:eR().rightInfo,children:[r>0&&(0,h.jsx)(eT,{title:"Продукты",link:"".concat(r," ").concat((0,x._6)(r,"продукт","продукта","продуктов")," на сайте"),color:"#E7F9F6",icon:(0,h.jsx)(b.IconFdsOctostarCheckO,{size:24}),onClick:()=>s("uslugi"),href:c({tab:{id:"uslugi",path:"/".concat(t)}})}),(0,h.jsx)(eT,{title:"Пользовательский рейтинг",link:"Составляется на основе отзывов",color:"#FEF1FE",icon:(0,h.jsx)(b.IconFdsChartTrendSquareO,{size:24}),onClick:()=>s("ratings"),href:c({tab:{id:"ratings",path:"/rejtingi"}})}),(0,h.jsx)(eT,{title:l.reviews_num?"Клиенты рекомендуют":"Отзывов нет",link:_,color:"#FFF4E0",icon:(0,h.jsx)(b.IconFdsChatDotsSquareO,{size:24}),onClick:()=>s("reviews"),href:c({tab:{id:"reviews",path:"/otzyvy"}})}),(0,h.jsx)(A.j,{className:eR().fullInfoLink,text:"Каталог всех ".concat(a),mainPageUrl:U.qL,href:"".concat(d,"/").concat(i),target:"_self"})]})]})]})};var eS=n(41356);let eI=[{value:"newest",label:"Сначала новые"},{value:"oldest",label:"Сначала старые"},{value:"high-rating",label:"С высокой оценкой"},{value:"low-rating",label:"С низкой оценкой"}];var eP=n(31408),eB=n(36773);let eL=(e,t,n,a)=>e.map(e=>{let i;let l="SK"===e.target?W.$.insurance:"MFO"===e.target?W.$.mfo:W.$.bank;i=l===W.$.insurance?null==n?void 0:n.insurance_companies.find(t=>t.id===e.company_id):l===W.$.mfo?null==n?void 0:n.mfos.find(t=>t.id===e.company_id):null==n?void 0:n.companies.find(t=>t.id===e.company_id),a&&(i=a);let o=null==t?void 0:t[l],r=null==o?void 0:o.find(t=>t.id===e.service_id);return{...e,fkType:l,fkLogo:null==i?void 0:i.logo_mob,fkName:null==i?void 0:i.name,fkUrl:null==i?void 0:i.url,bic:(0,eB.A)(i)||void 0,serviceName:(null==r?void 0:r.name_sing)||(null==r?void 0:r.name)}});var eO=n(22870),eM=n(58439),eE=n.n(eM);let eD=e=>{var t;let{company:n,orgType:a,companyReviews:i,maxPage:l,serviceTypes:o,initialPage:r}=e,[s,c]=(0,f.useState)(i),[d,u]=(0,f.useState)(o),[m,v]=(0,f.useState)("newest"),[p,_]=(0,f.useState)(!1),[g,y]=(0,f.useState)(l>1),C=(0,f.useRef)(r),[j,N]=(0,f.useState)(!i.length),[T,k]=(0,f.useState)(!1),R=(0,f.useRef)(!0),A=eL(s,d,null,n),S=(null===(t=eI.find(e=>e.value===m))||void 0===t?void 0:t.label)||eI[0].label,I="oldest"===m||"low-rating"===m,P=(0,eS.K1)({type:a,companyIds:[n.id],sort:"high-rating"===m||"low-rating"===m?"rating":void 0,orderDesc:!I}),B=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;C.current=e,1===e?N(!0):k(!0),(0,eS.Jh)(P.reviews,e).then(t=>{var n,a;c([...e>1?s:[],...(null==t?void 0:null===(n=t.result)||void 0===n?void 0:n.reviews)||[]]),y(e+1<=((null==t?void 0:null===(a=t.result)||void 0===a?void 0:a.pages)||0)),d||u((0,eO.c)(t))}).finally(()=>{N(!1),k(!1)})};(0,f.useEffect)(()=>{if(R.current&&i.length>0){R.current=!1;return}B()},[a,n.id,m]);let L=(0,f.useCallback)(e=>{(0,ep.D)({eventCategory:U.qL,eventActionType:ep.i.select,eventActionText:(0,e_.b)(e.label)}),v(e.value),_(!1)},[v,_]);return(0,h.jsxs)("section",{className:eE().section,children:[(0,h.jsx)(x.W2,{children:(0,h.jsx)("div",{className:eE().sortWrapper,children:(0,h.jsxs)(w.Lt,{opened:p,placement:"bottom-end",onToggle:_,children:[(0,h.jsxs)(w.WA,{onClick:()=>_(!0),className:eE().activeSortOption,children:[I?(0,h.jsx)(b.IconFdsSortAscendingO,{className:eE().sortIcon}):(0,h.jsx)(b.IconFdsSortDescendingO,{className:eE().sortIcon}),S]}),(0,h.jsx)(w.Nv,{children:eI.map(e=>(0,h.jsx)(w.Qr,{label:e.label,onClick:()=>L(e)},e.value))})]})})}),(0,h.jsx)(eP.j,{reviews:A,onShowMore:g?()=>{B(C.current+1)}:void 0,loading:j,loadingMore:T,eventCategory:"companyDetail",initialMaxPage:l,initialPage:r,company:n})]})};var eF=n(87334),eU=n(95777),eW=n(37953),ez=n.n(eW);let eH=e=>{let{label:t,preposition:n,value:a,isTitle:i}=e,l=n?"".concat(n," ").concat(a):a,o=i&&"string"==typeof a?l:"";return(0,h.jsxs)("div",{className:(0,R.Z)(ez().group,i&&ez().titleGroup),children:[(0,h.jsx)("p",{className:ez().groupSub,title:i&&"string"==typeof t?t:"",children:t}),(0,h.jsxs)("p",{className:(0,R.Z)(ez().groupContent,n&&ez().nowrap),title:o,children:[n&&(0,h.jsx)("span",{className:ez().preposition,children:n})," ",a]})]})},eV=e=>"credit_group_id"in e,eq=e=>"card_group_id"in e,eY=e=>"deposit_group_id"in e,eX=e=>"mortgage_group_id"in e,eQ=e=>"autoCredit_group_id"in e,e$=e=>"debitCard_group_id"in e,eZ=e=>"microCredit_group_id"in e;var eG=n(90138);let eJ=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"₽";if("number"!=typeof e||0===e)return"-";let a=Math.abs(e),i=1,l="";a>=1e12?(i=1e12,l="трлн "):a>=1e9?(i=1e9,l="млрд "):a>=1e6&&(i=1e6,l="млн ");let o=a;if(t&&(o=Math.floor(10*a/i)/10),Math.floor(o)>=1e4&&(o=o.toString().replace(/\B(?=(\d{3})+(?!\d))/g," ")),o=(0,eG.m)(o),t&&(o+=" ".concat(l)),n){let e="string"==typeof n?n:"₽",t="₽"===e?"style='font-family: var(--font-family-primary)'":"";o+=" <span ".concat(t,">").concat(e,"</span>")}return e<0?"-".concat(o):o},eK=e=>{switch(e){case 2:case"2":case"840":case 840:case"USD":return{shortName:"долл.",unit:"$",name:"долларах",code:"USD",locale:"en",num:2};case 3:case"3":case"978":case 978:case"EUR":return{shortName:"евро",unit:"€",name:"евро",code:"EUR",locale:"en",num:3};case 4:case"4":case"156":case 156:case"CNY":return{shortName:"юань",unit:"\xa5",name:"юанях",code:"CNY",locale:"zh-CN",num:4};case 5:case"5":case"CHF":return{shortName:"франк",unit:"₣",name:"франках",code:"CHF",locale:"en",num:5};case 6:case"6":case"GBP":return{shortName:"фунт",unit:"\xa3",name:"фунтах",code:"GBP",locale:"en",num:6};case 7:case"7":case"JPY":return{shortName:"иена",unit:"\xa5",name:"иенах",code:"JPY",locale:"ja-JP",num:7};default:return{shortName:"руб.",unit:"₽",name:"рублях",code:"RUB",locale:"ru",num:1}}},e0={RATE:"rate",FULL_PRICE:"full price",AMOUNT:"amount",FIRST_PAYMENT:"first payment",MONTHLY_PAYMENT:"monthly payment",LIMIT:"limit",GRACE_PERIOD:"grace period",YEAR_COST:"year cost",TERM:"term",TERM_WITHOUT_PERCENTS:"term without percents",SERVICE_COST:"service cost",BALANCE_INTEREST:"balance interest",BONUS:"bonus"},e1={background:"var(--color-blue-200)"},e2={background:"var(--color-purple-200)"},e3={background:"var(--color-pink-100)"},e4=e=>(0,h.jsx)("span",{dangerouslySetInnerHTML:{__html:e}}),e6=e=>{var t;return(null===(t=e.online_application)||void 0===t?void 0:t.type)===3},e7=e=>{var t;return(null===(t=e.online_application)||void 0===t?void 0:t.commercial)===1},e5=e=>{var t,n,a;let i=[],l=[],o=null===(t=e.full_price)||void 0===t?void 0:t.from,r=null===(n=e.full_price)||void 0===n?void 0:n.to;void 0!==o&&void 0!==r&&i.push({name:e0.FULL_PRICE,label:"Полная стоимость кредита",value:(0,eG.m)("".concat(o,"-").concat(r,"%"))});let s=e.payment;s&&i.push({name:e0.MONTHLY_PAYMENT,label:"Ежемесячный платеж",preposition:"от",value:e4(eJ(s))});let c=null===(a=e.amount)||void 0===a?void 0:a.to;return c&&i.push({name:e0.AMOUNT,label:"Сумма",preposition:"до",value:e4(eJ(Number(c)))}),l.push({text:"Кредит",style:e1}),e6(e)?l.push({text:"Подача заявки на Финуслугах",color:"purple"}):l.push({text:"Открытие в банке",color:"primary"}),e.loan.not_required&&l.push({text:"Без залога",color:"primary"}),l.push({text:e.income_proof.not_required?"Без справок":"Требуется подтверждение дохода",color:"primary"}),{fields:i,chips:l}},e8=e=>{let t=[],n=[],a=e.first_year_cost;if(a){let e="Бесплатно"===a?a:eJ(+a.replace(/[^\d]/g,""));t.push({name:e0.YEAR_COST,label:"Обслуживание в год",value:e4(e)})}let i=e.credit_limit_to;i&&t.push({name:e0.LIMIT,label:"Кредитный лимит",preposition:"до",value:e4(eJ(Number(i)))});let l=e.grace_period;return l&&t.push({name:e0.GRACE_PERIOD,label:"Льготный период",preposition:"до",value:"".concat(l," ").concat((0,x._6)(l,"дня","дней","дней"))}),n.push({text:"Кредитные карты",color:"orange"}),1===e.online_application.unplatform_banks?n.push({text:"Подача заявки на Финуслугах",style:e2}):e7(e)&&3!==e.online_application.type?n.push({text:"Подача заявки на сайте банка",style:e2}):3!==e.online_application.type&&n.push({text:"Открытие в банке",style:e2}),e.online_application.commercial_desc&&n.push({text:e.online_application.commercial_desc,color:"primary"}),n.push({text:e.proof_income_need_not?"Без справок":"Требуется подтверждение дохода",color:"primary"}),{fields:t,chips:n}},e9=e=>{var t,n,a,i,l,o,r,s;let c=[],d=[],u=null===(n=e.interest_rate)||void 0===n?void 0:null===(t=n.rates[0])||void 0===t?void 0:t.rate;u&&c.push({name:e0.RATE,label:"Ставка",value:"".concat(u,"%")});let m=null===(i=e.interest_rate)||void 0===i?void 0:null===(a=i.rates[0])||void 0===a?void 0:a.term_from;if(m){let t=m<e.interest_rate.rates[0].term_to?"от":"",n="";n=m<30?"".concat(m," дн."):m>365?"".concat(Math.round(m/365)," ").concat((0,x._6)(m,"год","года","лет")):"".concat(Math.round(m/30)," мес."),c.push({name:e0.TERM,label:"Срок",preposition:t,value:n})}let v=null===(o=e.interest_rate)||void 0===o?void 0:null===(l=o.rates[0])||void 0===l?void 0:l.amount_from;if(v){let t=eK(e.currency_id).unit;c.push({name:e0.AMOUNT,label:"Сумма вклада",preposition:"от",value:e4("".concat(eJ(v,!0,t)))})}let p=!!e.type.saving_account;return d.push(p?{text:"Накопительный счет",style:e1}:{text:"Вклад",color:"orange"}),e6(e)?d.push({text:"Открытие онлайн на Финуслугах",color:"purple"}):e7(e)?d.push({text:"Заявка через сайт банка",color:"primary"}):d.push({text:"Открытие в банке",color:"primary"}),!p&&(null===(r=e.interest_capitalization)||void 0===r?void 0:r.has)&&d.push({text:"С капитализацией",color:"primary"}),!p&&(null===(s=e.refill)||void 0===s?void 0:s.has)&&d.push({text:"Пополнение",color:"primary"}),{fields:c,chips:d}},te=e=>{var t,n,a,i;let l=[],o=[],r=null===(t=e.full_price)||void 0===t?void 0:t.from,s=null===(n=e.full_price)||void 0===n?void 0:n.to;r&&s&&l.push({name:e0.FULL_PRICE,label:"Полная стоимость кредита",value:(0,eG.m)("".concat(r,"-").concat(s,"%"))});let c=null===(a=e.amount)||void 0===a?void 0:a.to;c&&l.push({name:e0.AMOUNT,label:"Сумма кредита",preposition:"до",value:e4(eJ(Number(c)))});let d=null===(i=e.first_payment)||void 0===i?void 0:i.from;return d&&l.push({name:e0.FIRST_PAYMENT,label:"Первый взнос",preposition:"от",value:"".concat(d,"%")}),o.push({text:"Ипотека",color:"green"}),e6(e)?o.push({text:"Открытие онлайн на Финуслугах",color:"purple"}):e7(e)?o.push({text:"Подача заявки на сайте банка",color:"primary"}):o.push({text:"Открытие в банке",color:"primary"}),o.push({text:e.income_proof.not_required?"Без справок":"Требуется подтверждение дохода",color:"primary"}),{fields:l,chips:o}},tt=e=>{var t,n,a,i;let l=[],o=[],r=null===(t=e.full_price)||void 0===t?void 0:t.from,s=null===(n=e.full_price)||void 0===n?void 0:n.to;r&&s&&l.push({name:e0.FULL_PRICE,label:"Полная стоимость кредита",value:(0,eG.m)("".concat(r,"-").concat(s,"%"))});let c=null===(a=e.amount)||void 0===a?void 0:a.from;c&&l.push({name:e0.AMOUNT,label:"Сумма",preposition:"от",value:e4(eJ(Number(c)))});let d=null===(i=e.first_payment)||void 0===i?void 0:i.from;return d&&l.push({name:e0.FIRST_PAYMENT,label:"Первый взнос",preposition:"от",value:"".concat(d,"%")}),o.push({text:"Автокредит",style:e3}),e7(e)&&o.push({text:"Заявка через сайт банка",color:"primary"}),e.registration_address.permanent&&o.push({text:"Постоянная регистрация",color:"primary"}),e.insurance_need.need&&o.push({text:"Потребуется Каско",color:"primary"}),{fields:l,chips:o}},tn=e=>{var t,n,a,i,l;let o=[],r=[],s=(null===(n=e.service_cost)||void 0===n?void 0:null===(t=n.custom_text)||void 0===t?void 0:t.content)||(null===(a=e.service_cost)||void 0===a?void 0:a.first_year_cost);if(s){let t=eK(e.currency_id).unit,n="Бесплатно"===s?s:eJ(+s.replace(/[^\d]/g,""),!0,t);n&&o.push({name:e0.SERVICE_COST,label:"Обслуживание в год",value:e4(n)})}let c=e.balance_interest_number?"".concat(e.balance_interest_number,"%"):"Нет";o.push({name:e0.BALANCE_INTEREST,label:"Проценты на остаток",value:c});let d=null;"Нет"!==e.discounts.text&&(d=e.discounts.text),e.cash_back.has&&(d="Кэшбэк");let u=String(null==e?void 0:null===(l=e.discounts)||void 0===l?void 0:null===(i=l.text)||void 0===i?void 0:i.toLowerCase());return u.includes("путешествия")&&(d="Мили"),u.includes("торговые сети")&&(d="Баллы"),d&&o.push({name:e0.BONUS,label:"Бонусы",value:d}),r.push({text:"Дебетовая карта",color:"orange"}),e7(e)&&3!==e.online_application.type?r.push({text:"Подача заявки на сайте банка",style:e2}):3!==e.online_application.type&&r.push({text:"Открытие в банке",style:e2}),e.online_application.commercial_desc&&r.push({text:e.online_application.commercial_desc,color:"primary"}),{fields:o,chips:r}},ta=e=>{let t=[],n=+e.term_without_percents;n&&t.push({name:e0.TERM_WITHOUT_PERCENTS,label:"Срок без %",value:"".concat(n," ").concat((0,x._6)(Number(n),"день","дня","дней"))}),e.amount.to&&t.push({name:e0.AMOUNT,label:"Сумма",value:e4(eJ(Number(e.amount.to),!0,!1)),preposition:"до"});let a=e.period.to;return a&&t.push({name:e0.TERM,label:"Срок",value:"".concat(a," ").concat((0,x._6)(Number(a),"дня","дней","дней")),preposition:"до"}),{fields:t,chips:[]}},ti=e=>{let t=[],n=[];if(eV(e)){let{fields:a,chips:i}=e5(e);t=a,n=i}if(eq(e)){let{fields:a,chips:i}=e8(e);t=a,n=i}if(eY(e)){let{fields:a,chips:i}=e9(e);t=a,n=i}if(eX(e)){let{fields:a,chips:i}=te(e);t=a,n=i}if(eQ(e)){let{fields:a,chips:i}=tt(e);t=a,n=i}if(e$(e)){let{fields:a,chips:i}=tn(e);t=a,n=i}if(eZ(e)){let{fields:a,chips:i}=ta(e);t=a,n=i}return{fields:t,chips:n}};var tl=n(75950),to=n.n(tl);let tr=e=>{let{offer:t,company:n,isLastOfferOnPage:a,order:i,isWhiteCard:l=!1}=e,o=(0,T.S)(),r=(0,y.usePathname)(),s=V(n),c=(0,f.useMemo)(()=>({offerId:String(t.id),order:i,category:"mfo"}),[t.id,i]),d=function(e,t){let[n,a]=(0,f.useState)(""),i=(0,eF.u)(),l=(0,eU.z)(),{offerId:o,order:r,placement:s="",category:c}=null!=t?t:{},d=void 0!==r?"".concat(s).concat(r+1):void 0;return(0,f.useEffect)(()=>{if(!e)return;let t=null;try{t=new URL(e)}catch(e){return}(function(e,t){let{pathname:n,utmSource:a,utmMedium:i,utmCampaign:l,utmTerm:o,utmContent:r,clickId:s}=t;void 0!==n&&e.set("page_path",n),void 0!==a&&e.set("utm_source",a),void 0!==i&&e.set("utm_medium",i),void 0!==l&&e.set("utm_campaign",l),void 0!==o&&e.set("utm_term",o),void 0!==r&&e.set("utm_content",r),void 0!==s&&e.set("ext_id",s)})(t.searchParams,i),function(e,t){let{browserId:n,sessionId:a,customerId:i,yandexId:l}=t;void 0!==l&&e.set("t6",l),void 0!==a&&e.set("t7",a),void 0!==n&&e.set("t8",n),void 0!==i&&e.set("t9",i)}(t.searchParams,l),void 0!==o&&t.searchParams.set("cms_offer_id",o),void 0!==d&&t.searchParams.set("order",d),void 0!==c&&t.searchParams.set("category",c),a(t.toString())},[e,i,l,o,d,c]),n}(t.online_application.url,c),u=o.NEXT_PUBLIC_BASE_URL,{fields:m,chips:v}=ti(t),p=(0,f.useMemo)(()=>1===t.online_application.commercial,[t.online_application]),_=(0,f.useMemo)(()=>{let e=window.location.pathname.split("/").filter(Boolean)[2];return"".concat(u,"/").concat(s?"mikrozajmy":e,"/").concat(t.url)},[u,r,s,t.url]),g=e=>()=>{(0,ep.D)({eventCategory:U.qL,eventActionType:ep.i.offer,eventActionText:(0,e_.b)(t.title),eventLabel:e})};return(0,h.jsxs)("div",{className:(0,R.Z)(to().card,{[to().paddingForButton]:a,[to().whiteCard]:l}),children:[(0,h.jsx)("div",{className:to().top,children:(0,h.jsxs)("div",{className:to().topContent,children:[(0,h.jsxs)("div",{className:to().bankInfo,children:[(0,h.jsx)("div",{className:to().icon,children:(0,h.jsx)(eC.D,{url:(0,eB.A)(n)||n.url,type:(0,eB.A)(n)?"bank":"mfo",width:40,height:40,companyName:n.name})}),(0,h.jsx)(eH,{label:t.title,value:n.name,isTitle:!0})]}),(0,h.jsx)("div",{className:to().groups,children:m.map(e=>e.value&&(0,h.jsx)(eH,{label:e.label,preposition:e.preposition,value:e.value},e.name))})]})}),(0,h.jsxs)("div",{className:to().bottom,children:[v.length>0&&(0,h.jsx)("div",{className:to().chips,children:v.map(e=>(0,h.jsx)("div",{className:to().chipWrapper,children:(0,h.jsx)(w.Vp,{label:e.text,variant:e.color,className:to().chip,style:e.style,rounded:!0})},e.text))}),(0,h.jsxs)("div",{className:to().buttons,children:[(0,h.jsx)(w.zx,{className:to().offerButton,variant:"secondary",size:"xs",label:"Подробнее",as:"a",target:"_blank",href:_,onClick:g(_)}),p&&(0,h.jsx)(w.zx,{rel:"nofollow",size:"xs",label:"Оформить",as:"a",target:"_blank",href:d,onClick:g(t.online_application.url)})]})]}),a&&(0,h.jsx)("div",{className:to().lastOfferCornerGradient})]},t.id)};var ts=n(34914),tc=n.n(ts);let td=["предложение","предложения","предложений"],tu=e=>{var t;let{offers:n,bank:a,loading:i}=e,l=V(a),[o,r]=(0,f.useState)(null!==(t=null==n?void 0:n.length)&&void 0!==t?t:0),[s,c]=(0,f.useState)(l?o:6),d=i&&!n,u=o-s,m="Ещё ".concat(u," ").concat((0,x._6)(u,...td));return(0,f.useEffect)(()=>{r((null==n?void 0:n.length)||0),c((null==n?void 0:n.length)||0)},[n]),(0,h.jsx)("div",{className:l?void 0:tc().wrapper,children:(0,h.jsxs)(x.W2,{className:(0,R.Z)(tc().productsListContainer,{[tc().containerTopPadding]:!l}),children:[!l&&!d&&(0,h.jsx)("h2",{className:tc().title,children:"Найдено ".concat(o," ").concat((0,x._6)(null!=o?o:0,...td))}),!l&&d&&(0,h.jsx)(x.Od,{className:tc().title}),(0,h.jsxs)("div",{id:"offers-list",className:(0,R.Z)(tc().offersList),children:[null==n?void 0:n.slice(0,s).map((e,t)=>{let n=s===t+1&&u>0;return(0,h.jsx)(tr,{company:a,offer:e,order:t,isLastOfferOnPage:l?void 0:n,isWhiteCard:l},e.id)}),d&&[1,2,3].map(e=>(0,h.jsx)(x.Od,{className:(0,R.Z)(tc().skeleton,{[tc().mfoSkeleton]:l})},e))]}),!l&&u>0&&(0,h.jsx)("div",{className:tc().showMore,children:(0,h.jsx)(w.zx,{variant:"purple",appearance:"ghost",label:m,onClick:()=>c(s+6),className:tc().showMoreButton,disabled:s>=o,iconRight:(0,h.jsx)(b.IconFdsChevronDownSmallO,{className:tc().showMoreIcon})})})]})})};var tm=n(90498),tv=n.n(tm);let tp=(e,t,n)=>{var a,i;let l=e=>{if(null==e)return null;let t="string"==typeof e?Number(e):e;return Number.isNaN(t)?null:t},o=e.reduce((e,n)=>{let a=l(t(n)),i=l(e?t(e):null);return(null!=a?a:1/0)<(null!=i?i:1/0)?n:e},null),r=e.reduce((e,t)=>{let a=l(n(t)),i=l(e?n(e):null);return(null!=a?a:-1/0)>(null!=i?i:-1/0)?t:e},null),s=null!==(a=l(o?t(o):null))&&void 0!==a?a:0,c=null!==(i=l(r?n(r):null))&&void 0!==i?i:s;return{low:s,high:c}},t_=e=>{var t;return e.site_title?e.site_title:"string"==typeof e.site?e.site:(null===(t=e.site)||void 0===t?void 0:t.title)||""},tg=(e,t)=>{var n;return(null===(n=e.short_description)||void 0===n?void 0:n.trim())||"Открыть вклад ".concat(e.title," от ").concat(t," — актуальные процентные ставки по депозитам, условия и онлайн расчет дохода")},th=e=>{var t,n,a,i,l,o,r,s,c;return String(null!==(c=null!==(s=null!==(r=null!==(o=null===(a=e.interest_rate)||void 0===a?void 0:null===(n=a.rates)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.rate)&&void 0!==o?o:e.interest_rate_from)&&void 0!==r?r:null===(i=e.interest_rate)||void 0===i?void 0:i.from)&&void 0!==s?s:null===(l=e.interest_rate)||void 0===l?void 0:l.to)&&void 0!==c?c:0)},tf=e=>(e||[]).slice(0,2).map(e=>({"@type":"Review",author:{"@type":"Person",name:e.name},datePublished:e.date?(0,el.p6)(e.date,{format:"yyyy-MM-dd"}):"",name:e.title||e.situation||"Отзыв",reviewBody:e.review,reviewRating:{"@type":"Rating",ratingValue:e.rating,bestRating:5,worstRating:1}})),ty=e=>{var t,n;let{baseUrl:a,assetsUrl:i,items:l,h1:o,description:r,company:s,service:c,serviceLink:d,generalRating:u,quote:m,reviews:v}=e,p=l.filter(e=>0===e.archive).slice(0,10),_=String(s.bic).padStart(9,"0"),g="".concat(a,"/banki/").concat(s.url,"/").concat(d),h="".concat(i,"/mp-assets/images/bank/logo-brandmark-bank-").concat(_,".svg"),f={"@context":"https://schema.org","@type":"Product",name:o,description:r,url:g},{low:y,high:b}=tp(p,e=>{var t;return null===(t=e.amount)||void 0===t?void 0:t.from},e=>{var t;return null===(t=e.amount)||void 0===t?void 0:t.to}),{low:x,high:w}=tp(p,e=>{var t;return null===(t=e.interest_rate)||void 0===t?void 0:t.from},e=>{var t;return null===(t=e.interest_rate)||void 0===t?void 0:t.to}),{low:C,high:j}=tp(p,e=>e.credit_limit_from,e=>e.credit_limit_to),N={"@type":"BankOrCreditUnion",name:s.name,url:t_(s),image:h,...Array.isArray(s.legal_entities)&&(null===(t=s.legal_entities[0])||void 0===t?void 0:t.legal_address)&&{address:{"@type":"PostalAddress",addressLocality:s.legal_entities[0].legal_address}}},T=u&&s.reviews_num?{"@type":"AggregateRating",ratingValue:u,reviewCount:s.reviews_num,ratingCount:s.reviews_num,bestRating:5,worstRating:1}:void 0;if("debitCards"===c){let e="".concat(a,"/banki/").concat(s.url);return{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":e,name:s.name,url:e,logo:h},{"@type":"Product","@id":g,name:o,brand:{"@id":e},description:r,offers:{"@type":"AggregateOffer",priceCurrency:"RUB",lowPrice:x,highPrice:w,offerCount:l.length,url:g,availability:"https://schema.org/InStock"},isRelatedTo:{"@type":"ItemList",name:"Предложения дебетовых карт",itemListElement:p.map((t,n)=>{var i,l,o,r;return{"@type":"ListItem",position:n+1,item:{"@type":"PaymentCard",name:t.title,brand:{"@id":e},...t.cash_back&&t.cash_back.action&&{cashBack:t.cash_back.action},contactlessPayment:!0,offers:{"@type":"Offer",price:null!==(r=null==t?void 0:null===(o=t.interest_rate)||void 0===o?void 0:null===(l=o.rates)||void 0===l?void 0:null===(i=l[0])||void 0===i?void 0:i.amount_from)&&void 0!==r?r:0,priceCurrency:eK(t.currency_id).code,url:"".concat(a,"/debetovye_karty/").concat(t.url),availability:"https://schema.org/InStock"}}}})}}]}}if("cards"===c)return{...f,image:h,offers:{"@type":"AggregateOffer",priceCurrency:"RUB",lowPrice:C,highPrice:j,offerCount:l.length,url:g,offers:p.map(e=>({"@type":"CreditCard",url:"".concat(a,"/kreditnye_karty/").concat(e.url),name:e.title,...e.credit_limit_to&&{floorLimit:e.credit_limit_to},...e.interest_rate_from&&{annualPercentageRate:{"@type":"QuantitativeValue",name:"Процентные ставки",minValue:"".concat(e.interest_rate_from,"%")}},provider:N}))},...u&&{aggregateRating:T}};if("credits"===c)return{...f,image:h,offers:{"@type":"AggregateOffer",priceCurrency:"RUB",lowPrice:y,highPrice:b,offerCount:l.length,url:g,offers:p.map(e=>{let{amount:t,period:n,interest_rate:i}=e,l="".concat(a,"/potrebitelskie_kredity/").concat(e.url);return{"@type":"LoanOrCredit",url:l,name:e.title,...e.credit_limit_to&&{floorLimit:e.credit_limit_to},category:"Потребительские кредиты",...t&&t.from&&t.to&&{amount:{"@type":"MonetaryAmount",name:e.title,value:"".concat(t.from," – ").concat(t.to," ₽"),currency:"RUB"}},...n&&n.to&&{loanTerm:{"@type":"QuantitativeValue",value:n.to,unitCode:"DAY"}},...i&&i.to&&i.from&&{annualPercentageRate:{"@type":"QuantitativeValue",name:"".concat(i.from,"–").concat(i.to,"%"),minValue:i.from,maxValue:i.to}},broker:N,potentialAction:{"@type":"Action",name:"Подробнее",url:l}}})},...u&&{aggregateRating:T}};if("mortgages"===c)return{...f,image:h,offers:{"@type":"AggregateOffer",priceCurrency:"RUB",lowPrice:y,highPrice:b,offerCount:l.length,url:g,offers:p.map(e=>{let{amount:t,period:n,interest_rate:i}=e,l="".concat(a,"/ipoteka/").concat(e.url);return{"@type":"LoanOrCredit",url:l,name:e.title,category:"Ипотека",...t&&t.from&&t.to&&{amount:{"@type":"MonetaryAmount",name:e.title,value:"".concat(t.from," – ").concat(t.to," ₽"),currency:"RUB"}},...n&&n.to&&{loanTerm:{"@type":"QuantitativeValue",value:n.to,unitCode:"DAY"}},...i&&i.to&&i.from&&{annualPercentageRate:{"@type":"QuantitativeValue",name:i.from===i.to?"".concat(i.to,"%"):"".concat(i.from,"–").concat(i.to,"%"),minValue:i.from,maxValue:i.to}},broker:N,potentialAction:{"@type":"Action",name:"Подробнее",url:l}}})},...u&&{aggregateRating:T}};let k=s.name_r||s.name,R=p.map(e=>({"@type":"InvestmentOrDeposit",name:e.title,url:"".concat(a,"/vklady/").concat(e.url),amount:{"@type":"MonetaryAmount",currency:"RUB",value:e.amount&&e.amount.from?e.amount.from:"1"},description:tg(e,k),annualPercentageRate:th(e)})),A="deposits"===c?tf(v):[],S={...f,brand:{"@type":"Brand",name:s.name},...T&&{aggregateRating:T},...A.length&&{review:A},isRelatedTo:R};if("deposits"===c){let e={"@type":"AggregateOffer",lowPrice:y,highPrice:b,priceCurrency:"RUB",offerCount:l.length};S.offers=e,(null==m?void 0:m.published)&&R.push({"@type":"Quotation",text:(n=m.content,tv()(n,{allowedTags:[],allowedAttributes:{}})),author:{"@type":"Person",name:m.expert.name,jobTitle:m.expert.position,sameAs:"".concat(a,"/navigator/").concat(m.expert.url)}})}return S};var tb=n(56227);let tx=(e,t)=>{let n=[];return t?tb.MX.has(t.url)?n.push("reg_".concat(t.url)):e&&n.push("reg_".concat(e.url),t.url):e&&n.push("reg_".concat(e.url)),n.length>0?"/".concat(n.join("/")):""};var tw=n(65993),tC=n.n(tw);let tj=e=>{var t;let{servicesBlocks:n,offersBlocks:a,bank:i,activeService:l,setActiveService:o,h1:r,description:s,loading:c,region:d,town:u,generalRating:m,quote:v,reviews:p}=e,_=(0,T.S)(),g=(0,y.usePathname)(),b=(0,f.useRef)(null),w=l?null==a?void 0:null===(t=a[l.serviceName])||void 0===t?void 0:t.data:null,C=(0,f.useCallback)((e,t)=>{o(e),!t&&b.current&&setTimeout(()=>{var e;null===(e=b.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"start"})},100)},[o]);(0,f.useEffect)(()=>{!l&&(null==n?void 0:n[0])&&C(n[0],!0)},[g]);let j=e=>t=>{t.preventDefault(),(0,ep.D)({eventCategory:U.qL,eventActionType:ep.i.tab,eventActionText:(0,e_.b)(e.title)}),C(e)};return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)(x.W2,{className:tC().section,children:[(0,h.jsxs)("div",{className:(0,R.Z)(tC().tiles,{[tC().oneColumn]:1===n.length}),children:[n.map(e=>(0,h.jsxs)("a",{href:"/banki/".concat(i.url,"/").concat(e.link).concat(tx(d,u)),className:(0,R.Z)(tC().tile,{[tC().short]:n.length<3}),onClick:j(e),children:[(0,h.jsx)("div",{className:(0,R.Z)(tC().background,{[tC().active]:e.title===(null==l?void 0:l.title)})}),(0,h.jsx)("div",{className:tC().imageWrapper,children:e.image&&(0,h.jsx)("img",{src:e.image,alt:e.title,className:tC().image})}),(0,h.jsx)("span",{children:e.title})," ",(0,h.jsx)("span",{className:tC().count,children:e.count})]},e.title)),c&&!n.length&&[1,2,3,4,5].map(e=>(0,h.jsx)(x.Od,{className:tC().tile},e))]}),(0,h.jsx)("div",{ref:b})]}),(0,h.jsx)(tu,{offers:w||null,tags:[],bank:i,loading:c}),Array.isArray(w)&&(null==w?void 0:w.length)>0&&(0,h.jsx)(L.d,{data:ty({baseUrl:_.NEXT_PUBLIC_BASE_URL,assetsUrl:_.NEXT_PUBLIC_S3_ASSETS,items:w,h1:r,description:s,company:i,service:(null==l?void 0:l.serviceName)||"",serviceLink:(null==l?void 0:l.link)||"",generalRating:m,quote:v,reviews:p})})]})},tN=e=>{let{services:t,loading:n}=e,a=(0,T.S)().NEXT_PUBLIC_BASE_URL,i=n&&!t,l=e=>()=>{(0,ep.D)({eventCategory:U.qL,eventActionType:ep.i.tab,eventActionText:(0,e_.b)(e.title),eventLabel:e.link})};return(0,h.jsx)(x.W2,{className:tC().section,children:(0,h.jsxs)("div",{className:(0,R.Z)(tC().tiles,tC().insurance,{[tC().leftAlignment]:3>((null==t?void 0:t.length)||0)&&!i}),children:[null==t?void 0:t.map(e=>(0,h.jsxs)("a",{className:tC().tile,href:"".concat(a,"/").concat(e.link),onClick:l(e),children:[(0,h.jsx)("div",{className:(0,R.Z)(tC().background)}),(0,h.jsx)("div",{className:tC().imageWrapper,children:e.image&&(0,h.jsx)("img",{src:e.image,alt:e.title,className:tC().image})}),(0,h.jsx)("span",{children:e.title})]},e.title)),i&&[1,2,3,4].map(e=>(0,h.jsx)(x.Od,{className:tC().tile},e))]})})},tT=e=>{let{organizationType:t,servicesBlocks:n,servicesLoading:a,bankServices:i,company:l,pageTitle:o,description:r,activeService:s,handleServiceChange:c,region:d,town:u,loading:m,mfoOffers:v,generalRating:p,quote:_,reviews:g}=e,f=t===W.$.bank,y=t===W.$.insurance,b=t===W.$.mfo;return f&&((null==n?void 0:n.length)>0||a)?(0,h.jsx)(tj,{servicesBlocks:n,offersBlocks:i,bank:l,h1:o,description:r||"",activeService:s,setActiveService:c,loading:a,region:d,town:u,generalRating:p,quote:_,reviews:g}):y?(0,h.jsx)(tN,{services:n,loading:m}):b?(0,h.jsx)(tu,{tags:[],offers:v||null,bank:l,loading:!v&&a}):null},tk=(e,t)=>{let n=(0,f.useRef)(!0),a=(0,f.useRef)(null),i=(0,y.usePathname)();(0,f.useEffect)(()=>{if(n.current){n.current=!1,a.current=i;return}i!==a.current&&(e(),a.current=i)},[...t,e,i])};var tR=n(59306);let tA=async()=>(await (0,tR.t)({url:"/money_data/BankTowns.json"})).data,tS={osago:"osago",kasko:"kasko",mortgage:"mortgage",property:"property"},tI={credit:"credits",card:"cards",deposit:"deposits",autoCredit:"autoCredits",debitCard:"debitCards",microCredit:"microCredit",mortgage:"mortgages"},tP={credit:"/money_data/Credits.json",microCredit:"/money_data/MicroCredits.json",card:"/money_data/Cards.json",debitCard:"/money_data/DebitCards.json",mortgage:"/money_data/Mortgages.json",autoCredit:"/money_data/AutoCredits.json"},tB=e=>{let{companyName:t,service:n,region:a,town:i,isMfo:l,onlyTexts:o}=e,r=new URLSearchParams({archive:"0",url:t});return n&&r.set("service",n),a&&r.set("region",a),i&&r.set("town",i),l&&(r.set("mfo","1"),r.set("service","microCredit")),o&&r.set("text","1"),r},tL=async e=>{let t=tB(e),n="/money_data/ServiceDetail.json?".concat(t.toString());return{data:(await (0,tR.t)({url:n})).data||null,service:e.service}},tO=async e=>{let t=tB(e),n="/money_data/ServiceDetail.json?".concat(t.toString());return{data:(await (0,tR.t)({url:n})).data||null,service:e.service}},tM=async e=>{let{id:t,service:n,region:a,town:i,tag:l}=e;if(!n)return;let o=new URLSearchParams({archive:"0",bank:String(t)});if(a&&o.set("region",a),i&&o.set("town",i),l){let e=l.slice(4);o.set("tag",e)}let r="".concat(tP[n],"?").concat(o.toString());return{data:(await (0,tR.t)({url:r})).data||null,service:n}},tE=async()=>{var e;return{data:(null===(e=(await (0,tR.t)({url:"/money_data/ServiceTags.json"})).data)||void 0===e?void 0:e.tags)||null}},tD=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:W.$.bank;return(await (0,tR.t)({url:"/money_data/Company.json?url=".concat(e,"&type=").concat(t)})).data||null},tF=async e=>(await (0,tR.t)({url:"/api/v1/banks?size=1&bic=".concat(e),options:{isHeadlessCMS:!0}})).data||null,tU=()=>(0,tR.t)({url:"/money_data/InsuranceTypes.json"}),tW=async(e,t,n,a)=>{var i;let l=new URLSearchParams({type:(e===W.$.insurance?"sk":e).toUpperCase(),url:t});n&&l.set("region",n),a&&l.set("town",a);let o="/money_data/ServicesInfo.json?".concat(l.toString());return(null===(i=(await (0,tR.t)({url:o})).data)||void 0===i?void 0:i.services)||[]},tz=async(e,t,n,a)=>{let i=await tW(e,t,n,a),l=e===W.$.insurance,o=l?tS:tI;return Object.keys(o).reduce((e,t)=>{var n;let a=o[t],r=i.find(e=>e.service===t);if(!r)return e;let s=null!==(n=null==r?void 0:r.count)&&void 0!==n?n:l?1:0;return e[a]={data:null,tags:[],length:s,serviceText:[]},e},{})},tH=async e=>{var t,n,a,i;let l;let{type:o,company:r,regionUrl:s,townUrl:c,activeServiceName:d,currentBankServices:u,tag:m}=e;l=u?{...u}:await tz(o,r.url,s,c);let[v]=Object.entries(tI).find(e=>{let[t,n]=e;return n===d})||[];if(!v)return l;let p={companyName:r.url,id:r.id,service:v,region:s,town:c,tag:m},_="deposit"===v?await tL(p):await tM(p),g=await tO({...p,onlyTexts:!0}),h=null==_?void 0:null===(t=_.data)||void 0===t?void 0:t[d||""];"credits"===d&&(h=[...h,...null==_?void 0:null===(i=_.data)||void 0===i?void 0:i.credits_online]);let f=null==g?void 0:null===(n=g.data)||void 0===n?void 0:n["".concat(v,"Text")],y=c?f.town_content:f.all_russia_content,b=null==_?void 0:null===(a=_.data)||void 0===a?void 0:a["".concat(v,"Tags")];return l[d]={data:h||null,tags:b||[],length:v in tS?1:(null==h?void 0:h.length)||0,serviceText:y||[]},l},tV=(e,t,n)=>tL({companyName:e,region:t,town:n,isMfo:!0});var tq=n(10611);let tY=async(e,t)=>e&&t?(await (0,tR.t)({url:"/api/v1/stats/banks/".concat(e,"/tags?tagId=").concat(t),options:{isHeadlessCMS:!0}})).data:null,tX=()=>(0,tR.t)({url:"/api/v2/product-tags",options:{isHeadlessCMS:!0}}),tQ=async e=>{var t;return(null===(t=(await (0,tR.t)({url:"/money_data/Description.json?url=".concat(e)})).data)||void 0===t?void 0:t.description)||null};var t$=n(58560);let tZ=(e,t,n)=>{var a,i,l;return 1!==e.archive&&("mfo_url"in e||!("active_to"in e&&e.active_to&&new Date(e.active_to)<new Date)&&!!(!t||1===e.all_russia||((null===(a=e.custom_towns)||void 0===a?void 0:a.length)||0)>0&&e.custom_towns.includes(t.id)||!e.limited_regions&&(null==n?void 0:null===(i=n.bank_towns)||void 0===i?void 0:i[e.bank_id])&&(null==n?void 0:null===(l=n.bank_towns)||void 0===l?void 0:l[e.bank_id].includes(t.id))))},tG=(e,t,n,a)=>Object.entries(e).reduce((e,i)=>{var l;let[o,r]=i,s=(null==r?void 0:null===(l=r.data)||void 0===l?void 0:l.filter(e=>tZ(e,t,n)))||null,c=Array.isArray(s)?s.length:r.length;return e[o]={data:"deposits"===o?[]:s,tags:(null==r?void 0:r.tags)||[],length:"deposits"===o&&a?a.platformProducts.length+a.nonPlatformProducts.length:c,serviceText:r.serviceText},e},{}),tJ=async e=>{var t,n,a;let i=(null==e?void 0:null===(t=e.company)||void 0===t?void 0:t.name_r)||(null==e?void 0:null===(n=e.company)||void 0===n?void 0:n.name)||"",l=null==e?void 0:e.locationText,o=null==e?void 0:e.activeTag,r=await tL({companyName:e.company.url,service:"deposit"}),s=((null==r?void 0:null===(a=r.data)||void 0===a?void 0:a.deposits)||[]).map(e=>{var t,n;return(null==e?void 0:null===(n=e.interest_rate)||void 0===n?void 0:null===(t=n.rates)||void 0===t?void 0:t[0].rate)||0});return"".concat(o?o.name:"Вклады"," ").concat(i).concat(l," для физических лиц на сегодня со ставкой до ").concat(Math.max(...s),"%")},tK=(e,t)=>U.pj.find(e=>t.includes(e))?"uslugi"===e.id:U.Cp.find(e=>t.includes(e))?"ratings"===e.id:!!e.path&&t.includes(e.path),t0=e=>{if(U.pj.find(t=>e.includes(t)))return"uslugi";if(U.Cp.find(t=>e.includes(t)))return"ratings";let[t]=Object.entries(U.RV).find(t=>{let[n,a]=t;return!!a&&e.includes(a)})||[];return t||"about"},t1=async(e,t,n,a,i,l,o,r)=>{let s=z(i,e),c=V(e),d=H(i,e),u=(0,U.xB)(t,""),m=n&&Object.values(U.RV).some(e=>e==="/".concat(n)),v=s&&!u.some(e=>e.link===n),p=d&&!U.hu[n];if(n&&!n.includes("reg_")&&(v||c&&"mikrozajmy"!==n||p)&&!m)return(0,y.notFound)();let _=u.find(e=>a.includes(e.link)),g=(0,U.i7)(e,i,s,!1),h=g.find(e=>tK(e,a))||g[0],f=(null==e?void 0:e.name_r)||(null==e?void 0:e.name)||"",b=_?"".concat(_.title," ").concat(f," — Финуслуги"):h.metaTitle||h.title,x=(null==o?void 0:o.name_p)||(null==l?void 0:l.name_p),w=x?" в ".concat(x):"";return i===W.$.insurance&&"ratings"===h.id?"Рейтинг страховой компании ".concat(e.name):(null==_?void 0:_.serviceName)==="deposits"?await tJ({company:e,locationText:w,activeTag:r}):(null==_?void 0:_.serviceName)==="debitCards"?"".concat(r?r.name:"Дебетовые карты"," ").concat(f).concat(w," - оформить онлайн заявку на карту на Финуслугах"):(null==_?void 0:_.serviceName)==="kasko"?"".concat(_.title," в ").concat(f).concat(w,": выбрать страховку через Финуслуги"):(null==_?void 0:_.serviceName)==="osago"?"".concat(_.title," в ").concat(f).concat(w,": выбрать страховку на авто через Финуслуги"):c&&"mikrozajmy"===n&&r?"".concat(r.name," от ").concat(f).concat(w,": оформить микрозайм ").concat(w?"":"от ".concat(f)," на Финуслугах"):c&&"mikrozajmy"===n?"Услуги ".concat(f).concat(w,": посмотреть все предложения от МФО ").concat(e.name):c?"Информация о ".concat(e.name_p,": финансовый рейтинг, отзывы клиентов, адреса офисов МФО ").concat(e.name):(null==_?void 0:_.serviceName)==="credits"?"".concat(r?"".concat(r.name," от"):"Кредиты"," ").concat(f).concat(w," — оформить ").concat(r?"":"кредит"," через Финуслуги"):(null==_?void 0:_.serviceName)==="cards"&&r?"".concat(r.name," ").concat(f).concat(w,": оформить кредитку через Финуслуги"):(null==_?void 0:_.serviceName)==="cards"?"Кредитные карты ".concat(f).concat(w,": оформить на официальном сайте Финуслуги"):(null==_?void 0:_.serviceName)==="mortgages"?"".concat(r?"".concat(r.name," от"):"Ипотека"," ").concat(f).concat(w,": подать заявку через Финуслуги"):(null==_?void 0:_.serviceName)==="autoCredits"&&r?"".concat(r.name," от ").concat(f).concat(w,": оформить на официальном сайте Финуслуги"):(null==_?void 0:_.serviceName)==="autoCredits"?"Автокредиты ".concat(f).concat(w,": выбрать и оформить через Финуслуги"):"".concat(b)};var t2=n(48156);async function t3(e){var t,n,a,i,l,o,r,s,c,d,u,m,v,p;let _=(0,T.S)().NEXT_PUBLIC_BASE_URL,[g,h,f]=e||[],b=(null==e?void 0:e.join("/"))||"",x=e.findIndex(e=>e.startsWith("reg_")),w=x>-1?e[x].replace("reg_",""):void 0,C=w?e[x+1]:void 0,j=t0(b),N=null==e?void 0:e.find(e=>e.startsWith("teg_")),k=U._V.includes(g)?W.$.insurance:U.N3.includes(g)?W.$.mfo:W.$.bank,R=k===W.$.bank,A=k===W.$.insurance,S=await tD(h,k);if(!S||!R&&"uslugi"===f||f&&!U.pj.includes("/".concat(f))&&w||f&&!f.includes("reg_")&&!U.jl.includes("/".concat(f)))return(0,y.notFound)();let[I]=Object.entries(U.ys).find(e=>{let[t,n]=e;return n===f})||[],P=null,B=null,L=null,O=await (0,t$.s)(),M=null==O?void 0:null===(n=O.companies)||void 0===n?void 0:null===(t=n.find(e=>{let{url:t}=e;return t===h}))||void 0===t?void 0:t.bic;if(M){let e=await tF(M);(null==e?void 0:null===(o=e.content)||void 0===o?void 0:null===(l=o[0])||void 0===l?void 0:l.bankId)&&(P=null==e?void 0:null===(s=e.content)||void 0===s?void 0:null===(r=s[0])||void 0===r?void 0:r.bankId)}let E=null==N?void 0:N.slice(4);R&&(L=null!==(d=null===(c=(await tX()).data)||void 0===c?void 0:c.content)&&void 0!==d?d:null);let D=null==L?void 0:null===(a=L.find(e=>e.url===(null!=E?E:"all_offers")))||void 0===a?void 0:a.id,[F,z,H,V,q,Y,X]=await Promise.allSettled([(0,t$.s)({regions:!0}),tQ(b),tH({type:k,company:S,regionUrl:w,townUrl:C,activeServiceName:I,tag:N}),tA(),R&&"uslugi"===j?(0,tq.q)(M):null,"uslugi"!==j||A?null:tE(),R&&P&&D?tY(P,D):null]),Q=null,$=null;"fulfilled"===F.status&&F.value&&($=(null==(Q=F.value.regions.find(e=>{let{url:t}=e;return t===w})||null)?void 0:Q.towns.find(e=>{let{url:t}=e;return t===C}))||null,Q&&!$&&($=Q.towns.find(e=>{let{main:t}=e;return t})||null));let Z=(0,t2._)(V,null),G=(0,t2._)(q,null);B=(0,t2._)(X,null);let J=null;if("fulfilled"===H.status&&H.value&&(J=tG(H.value,$,Z,{platformProducts:null!==(u=null==B?void 0:B.platformProducts)&&void 0!==u?u:[],nonPlatformProducts:null!==(m=null==B?void 0:B.nonPlatformProducts)&&void 0!==m?m:[]}),(null==G?void 0:G.length)&&(null==J?void 0:J.deposits))){let e=(null==J?void 0:J.deposits.length)+(null==G?void 0:G.length);J.deposits.length=e}let K="",ee="fulfilled"===z.status?z.value:"",et=(0,t2._)(Y,null),en=null!==(v=(0,U.xB)(J,"").find(e=>b.includes(e.link)))&&void 0!==v?v:null,ea=(null==en?void 0:en.serviceTagName)&&null!==(p=null==et?void 0:null===(i=et.data)||void 0===i?void 0:i[null==en?void 0:en.serviceTagName])&&void 0!==p?p:[],ei=null==ea?void 0:ea.find(e=>"teg_".concat(e.url)===N);S&&(K=await t1(S,J,f,b,k,Q,$,ei));let el=e?"/".concat(b):"";return{title:K,description:ee,alternates:{canonical:"".concat(_).concat(el)}}}let t4=()=>{let[e,t]=(0,f.useState)(null),n=(0,y.usePathname)();return tk(()=>{(async()=>{let e=n.split(/[?#]/)[0].split("/").filter(Boolean);t(await t3(e))})()},[n]),e},t6=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(await (0,tR.t)({url:"/api/v1/quotes?quoteUrl=".concat(e,"&published=").concat(t),options:{isHeadlessCMS:!0}})).data||null};var t7=n(65377);let t5={getLayoutData:async e=>(await (0,tR.t)({url:"/api/v1/layout/".concat(e),options:{isHeadlessCMS:!0}})).data||null,async getPageData(e,t){let n=new URLSearchParams({scLayoutName:e,scPageUrl:t}).toString();return(await (0,tR.t)({url:"/api/v1/data/page-data?".concat(n),options:{isHeadlessCMS:!0}})).data||null},getPage:async e=>(await (0,tR.t)({url:"/api/v1/sc-page/".concat(e),options:{isHeadlessCMS:!0}})).data||null},t8={async getPageContent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"v2";return(await (0,tR.t)({url:"/api/".concat(t,"/pages/").concat(e),options:{isPageContent:!0}})).data},async getWidgetContent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"v2";return(await (0,tR.t)({url:"/api/".concat(t,"/widgets/").concat(e),options:{isPageContent:!0}})).data}};var t9=n(30318),ne=n(84620),nt=n(79920),nn=n(21013);async function na(e){var t,n,a,i,l,o,r,s,c,d,u,m,v,p,_,g,h,f,b;let x,{slug:w,isSection:C,radioType:j,initialPage:N=1,fallbackToAnyNonEmptyRadio:T=!1}=e,{regionUrl:k,townUrl:R,companyUrl:A,pointUrl:S}=(0,nt.jO)(w||[]),I=(0,nt.lw)(w);if(I&&!S)return(0,y.notFound)();let P=null,B="true"===C,L=j||ne.Q.Atm,O=null,M=null,[E,D,F,U,z]=await Promise.allSettled([B||I?null:t8.getWidgetContent("bestOffers","v1"),B||I?null:t5.getPageData("FAQ","adresa"),B||I?null:(0,eS.Jh)((0,eS.K1)({includeCompany:!0}).reviews,1,10),I?(0,t7.O9)(S||""):null,I?t5.getPageData("SupportWidget","general"):null]);async function H(e){let t=[t9.H9[e]],n=(0,t7.bv)({regionUrl:k,townUrl:R,orgUrl:A,marker:t}),a=await (0,t7.ZK)(n,N);return{dataUrl:n,addressesData:a}}I||(x=await H(L));let V=[ne.Q.Atm,ne.Q.branch,ne.Q.Legal].filter(e=>e!==L);if(T&&B){if(!(null==x?void 0:null===(r=x.addressesData)||void 0===r?void 0:null===(o=r.data)||void 0===o?void 0:o.totalItems)&&V.length){let e=V.shift();e&&(L=e,x=await H(L))}if(!(null==x?void 0:null===(c=x.addressesData)||void 0===c?void 0:null===(s=c.data)||void 0===s?void 0:s.totalItems)&&V.length){let e=V.shift();e&&(L=e,x=await H(L))}}let{dataUrl:q,addressesData:Y}=x||{},X=null,Q=(0,t2._)(F,null)||null;if(Q){let e=(0,eO.c)(Q);X={scLayoutName:"ReviewsAboutFinuslugi",title:"Отзывы о финансовых организациях",subTitle:"Публикуем честные отзывы, чтобы помочь вам сделать выбор",isActive:!0,custom:{background:""},value:{type:"all",reviews:null==Q?void 0:Q.result.reviews.map(t=>(0,nn.W)([t],e,W.$.bank,t.company)[0]),registerButton:{link:"/otzyvy",text:"Смотреть все отзывы"}}}}let $=[],Z=0;(null==Y?void 0:Y.data)&&($=(null===(d=Y.data)||void 0===d?void 0:d.addresses)||[],Z=(null===(u=Y.data)||void 0===u?void 0:u.maxPage)||0);let G=null;if(A&&(null===(n=$[0])||void 0===n?void 0:null===(t=n.company)||void 0===t?void 0:t.name)){let e="com";(null===(m=$[0])||void 0===m?void 0:m.mfo_id)&&(e="mfo"),(null===(v=$[0])||void 0===v?void 0:v.sk_id)&&(e="sk"),G={label:null===(_=$[0])||void 0===_?void 0:null===(p=_.company)||void 0===p?void 0:p.name,value:"".concat(e,"_").concat(A)}}(k||R)&&(null===(i=$[0])||void 0===i?void 0:null===(a=i.town)||void 0===a?void 0:a.name)&&(O={id:$[0].region_id,url:null===(h=$[0])||void 0===h?void 0:null===(g=h.town)||void 0===g?void 0:g.region_url},M={id:$[0].town_id,...null===(f=$[0])||void 0===f?void 0:f.town});let J=null;if("fulfilled"===U.status&&U.value&&(J=(P=U.value||null).company),I&&P&&(k||R)){O={url:k},M={url:R||""};let e={url:R||"",region_url:k||"",name:"",name_p:""};P.town=e,P.distance_self=null===(b=P.distance_self)||void 0===b?void 0:b.map(t=>({...t,town:e}))}return!I||J&&P||(0,y.notFound)(),{addresses:$,region:O,town:M,selectedFk:G?[G]:[],maxPage:Z,reviews:X,company:J,address:P,dataUrl:q,faqBlockData:(0,t2._)(D,null),supportBlockData:(null===(l=(0,t2._)(z,null))||void 0===l?void 0:l.value)||null,pageIsSection:B,isDetailPage:I,initRadioType:L,bestOffersData:(0,t2._)(E,null)}}let ni=(e,t,n)=>({slug:(0,nt.ly)({[t?"fk":"sk"]:[e]}).replace("/adresa/","").split("/"),isSection:"true",radioType:n,fallbackToAnyNonEmptyRadio:t});function nl(e){return{id:e.id,name:e.tagName,tag_name:e.tagName,url:e.url,bank_region_page:1,region_page:1,url_redirect:!1,displayInLinksBlock:e.displayInLinksBlock}}let no=e=>{let{ssr:t,orgType:n,company:a,isInsurance:i,isBank:l,activeTabId:o,setDepositTagsBanksStatsData:r,bankTowns:s,setBankTowns:c,setIsUslugiTab:d,quote:u,setQuote:m,pathname:v}=e,[p,_]=(0,f.useState)(!1),[g,h]=(0,f.useState)(t.insuranceTypes),[y,b]=(0,f.useState)(t.adresaProps),[x,w]=(0,f.useState)(t.reviews),[C,j]=(0,f.useState)(t.reviewsMaxPage),[N,T]=(0,f.useState)(t.serviceTypes),[k,R]=(0,f.useState)(t.companyPeopleRatings),[A,S]=(0,f.useState)(t.tags),I=(0,eS.K1)({type:n,companyIds:[a.id],orderDesc:!0}),P=async()=>{var e,d,p,f,A,P,B,L,O,M,E,D,F,U,z,H,V,q;_(!0);let Y=i&&"about"===o&&!g?tU():null,X=!y&&"about"===o,Q=n===W.$.bank?ne.Q.Atm:ne.Q.branch,$=X?na(ni(a.url,l,Q)):null,Z=("ratings"!==o||N)&&("uslugi"!==o||x)?null:(0,eS.Jh)(I.reviews,1,4),G="ratings"!==o||k?null:(0,eS.e9)(I.ratings),J=l&&"uslugi"===o&&!s?tA():null,K="uslugi"===o?t6(v):null,ee="uslugi"===o&&l?tE():null,et=l&&t.bankProviderId&&t.depositTagId?tY(t.bankProviderId,t.depositTagId):null,[en,ea,ei,el,eo,er,es,ec]=await Promise.allSettled([Y,$,Z,G,J,K,ee,et]);g||h((null===(O=(0,t2._)(en,null))||void 0===O?void 0:null===(L=O.data)||void 0===L?void 0:L.ins_types)||null),y||b((0,t2._)(ea,null));let ed=(0,t2._)(ei,null);x||w((null==ed?void 0:ed.result.reviews)||null),C||j((null==ed?void 0:ed.result.pages)||0),!N&&ed&&T((0,eO.c)(ed)),k||R((0,t2._)(el,null)),s||c((0,t2._)(eo,null)),u||m((null===(E=(0,t2._)(er,null))||void 0===E?void 0:null===(M=E.content)||void 0===M?void 0:M[0])||null);let eu=(0,t2._)(ec,null),em=(0,t2._)(es,null)||null;S({data:{autoCredit:null!==(D=null==em?void 0:null===(e=em.data)||void 0===e?void 0:e.autoCredit)&&void 0!==D?D:[],card:null!==(F=null==em?void 0:null===(d=em.data)||void 0===d?void 0:d.card)&&void 0!==F?F:[],credit:null!==(U=null==em?void 0:null===(p=em.data)||void 0===p?void 0:p.credit)&&void 0!==U?U:[],debitCard:null!==(z=null==em?void 0:null===(f=em.data)||void 0===f?void 0:f.debitCard)&&void 0!==z?z:[],microCredit:null!==(H=null==em?void 0:null===(A=em.data)||void 0===A?void 0:A.microCredit)&&void 0!==H?H:[],mortgage:null!==(V=null==em?void 0:null===(P=em.data)||void 0===P?void 0:P.mortgage)&&void 0!==V?V:[],deposit:null!==(q=null==eu?void 0:null===(B=eu.tagList)||void 0===B?void 0:B.map(nl))&&void 0!==q?q:[]}}),r(eu),_(!1)};return(0,f.useEffect)(()=>{d("uslugi"===o),P()},[o]),{loading:p,insuranceTypes:g,adresaProps:y,reviews:x,reviewsMaxPage:C,serviceTypes:N,companyPeopleRatings:k,tags:A}};(a=d||(d={})).Fixed="FIXED",a.MaxBalance="MAX_BALANCE",a.Min="MIN",a.MinSum="MIN_SUM",a.NoRestrictions="NO_RESTRICTIONS",a.Started="STARTED",(i=u||(u={})).CustomerChoice="CUSTOMER_CHOICE",i.Fixed="FIXED",i.No="NO",(l=m||(m={})).OnDemand="ON_DEMAND",l.PreferentialRateForWholeTerm="PREFERENTIAL_RATE_FOR_WHOLE_TERM",l.WithoutRecalculationOfInterest="WITHOUT_RECALCULATION_OF_INTEREST",(o=v||(v={})).Capitalisation="CAPITALISATION",o.ToCurrentBankCustomerAccount="TO_CURRENT_BANK_CUSTOMER_ACCOUNT",o.ToNominalAccount="TO_NOMINAL_ACCOUNT",(r=p||(p={})).Daily="DAILY",r.InTheEnd="IN_THE_END",r.Monthly="MONTHLY",r.NoRestrictions="NO_RESTRICTIONS",r.OnDemand="ON_DEMAND",(s=_||(_={})).PreferentialRateForWholeTerm="PREFERENTIAL_RATE_FOR_WHOLE_TERM",s.WithoutRecalculationOfInterest="WITHOUT_RECALCULATION_OF_INTEREST",(c=g||(g={})).SALARY_OR_PENSION="SALARY_OR_PENSION",c.SPENDING="SPENDING";let nr={status_custom:null,currency_id:1,popular:0,popular_factor:0,online_application:{type:3,url:"",phones:[],commercial:0,commercial_desc:""},initial_applications_num:0,interest_rate:{comp:"",comment:"",rates:[]},amount:{comp:"",comment:""},static_tags:[],ord_inn:"",ord_company:"",ord_token:"",short_description:"",no_online_registration:0,online_application_url:null,online_application_phones:null,image_pair_id:0,is_adv:0,is_adv_content:null,deposit_group_id:0,term:{comp:"",comment:"",ladder_rates:0},partial_withdrawal:{comp:"",comment:""},interest_payment:{comp:"",comment:"",daily:0,quarterly:0,half_year:0,annually:0},refill:{comp:"",comment:""},replenishment:null,interest_capitalization:{comp:"",comment:""},preferential_termination:{comp:"",comment:""},type:{comp:"",comment:"",text:"",investment:0,pension:0,mortgage:0,multicurrency:0,charitable:0,seasonal:0,child:0,insurance:0,salary:0,saving_account:0},inc_interest_rate:{comp:"",comment:"",text:"Невозможно",has:0},special_conditions:{comment:""},additional_info:{comment:""},additional_fields:null,pluses:null,minuses:null,additional_qa_top:0,additional_qa:[],all_russia:1,limited_regions:0,custom_regions:[],custom_towns:[],unstable:0,multicurrency:0,similar_ids:[],image_pair_key:"",similar_items:[],mp:null},ns=e=>{if(!e||!e.value)return 0;let t=e.value;switch(e.type){case"MONTH":t=30.416*e.value;break;case"YEAR":t=365.25*e.value}return Math.round(t)},nc=(e,t,n)=>{var a;let i;let l=n||nr,o=t.find(t=>Number((0,eB.A)(t))===+e.bic),r=[],s=e.options[0];try{i=o&&o.legal_entities?"string"==typeof o.legal_entities?JSON.parse(o.legal_entities):o.legal_entities:void 0}catch(e){console.error(e)}let c=1e6,d=0,u=1e6,m=0;return e.options.forEach(e=>{e.currencies.forEach(t=>{t.rates.forEach(t=>{r.push({from:null,to:null,term:null,amount:null,term_from:ns(t.minimumPeriod),term_to:ns(t.maximumPeriod),rate:t.maximumRate,amount_from:t.minimumAmount||null,amount_to:t.maximumAmount||null,diff:t.topRateDelta||0,tag:{title:t&&t.tags&&t.tags.title?t.tags.title:"",description:t&&t.tags&&t.tags.description?t.tags.description:"",deeplink:t&&t.tags&&t.tags.deepLink?t.tags.deepLink:"",url:t&&t.tags&&t.tags.url?t.tags.url:""},optionId:e.id}),c=Math.min(c,t.minimumAmount),d=Math.max(d,t.maximumAmount||0),u=Math.min(u,ns(t.minimumPeriod)),m=Math.max(m,ns(t.maximumPeriod))})})}),{...l,...e,id:parseInt(e.id,10),url:e.internalUrl,title:e.name,fin_exclusive:+e.exclusive,active_to:e.activeTo,bank_id:(null==o?void 0:o.id)?Number(o.id):0,bank_name:o?o.name:"",bank_url:o?o.url:"",logo:(null==o?void 0:o.logo)?o.logo:"",logo_mob:(null==o?void 0:o.logo_mob)?o.logo_mob:"",legal_name:Array.isArray(i)&&i[0]?null===(a=i[0])||void 0===a?void 0:a.name:"",interest_rate:{...n?n.interest_rate:{},rates:r.length?r:l.interest_rate.rates},amount:{...l.amount,from:c,to:d},archive:e.archive?1:0,m_updated_at:e.updatedAt?e.updatedAt.slice(0,10):null,online_application:{...l.online_application,url:"https://lk.finuslugi.ru/add-product?aggregatorId=moex-mp-new-sc&productId=".concat(e.id,"&optionId=").concat(s.id)},term:{...l.term,from:u,to:m},partial_withdrawal:{...l.partial_withdrawal,text:s.partialWithdrawal?"Возможно":"Невозможно",has:s.partialWithdrawal?1:0},interest_payment:{...l.interest_payment,text:"IN_THE_END"===s.interestPayments[0].periods[0].type?"В конце срока":"Ежемесячно",monthly:"MONTHLY"===s.interestPayments[0].periods[0].type?1:0,end:"IN_THE_END"===s.interestPayments[0].periods[0].type?1:0},refill:{comment:"",...l.refill,text:s.replenishment?"Возможно":"Нет",has:s.replenishment?1:0},interest_capitalization:{comment:"",...l.interest_capitalization,has:"CAPITALISATION"===s.interestPayments[0].method?1:0,text:"CAPITALISATION"===s.interestPayments[0].method?"Да":"Нет"},preferential_termination:{...l.preferential_termination,text:"PREFERENTIAL_RATE_FOR_WHOLE_TERM"===s.earlyTermination?"Да":"Нет",has:"PREFERENTIAL_RATE_FOR_WHOLE_TERM"===s.earlyTermination?1:0},prolongation:{text:s.prolongations?"Предусмотрена":"Не предусмотрена"}}},nd=(e,t,n)=>{var a,i,l,o;let r=String(null!==(l=null==e?void 0:null===(a=e.contentAttributes)||void 0===a?void 0:a.bic)&&void 0!==l?l:"").padStart(9,"0"),s="".concat(t,"/mp-assets/images/bank/logo-brandmark-bank-").concat(r,".svg");return null!==(o=null==n?void 0:n.logo_mob)&&void 0!==o?o:(null==e?void 0:null===(i=e.contentAttributes)||void 0===i?void 0:i.bic)?s:void 0},nu=e=>{var t,n,a,i,l,o,r,s;let c=(null===(n=e.contentAttributes)||void 0===n?void 0:null===(t=n.integration)||void 0===t?void 0:t.integrationType)==="REFERAL"||(null===(i=e.contentAttributes)||void 0===i?void 0:null===(a=i.integration)||void 0===a?void 0:a.integrationType)==="INTERNAL_REFERAL";return{type:c?1:0,url:null!==(s=null===(o=e.contentAttributes)||void 0===o?void 0:null===(l=o.integration)||void 0===l?void 0:l.url)&&void 0!==s?s:"",commercial:c?1:0,order:null===(r=e.contentAttributes)||void 0===r?void 0:r.order}},nm=(e,t,n)=>{var a,i,l,o;return{...null==e?void 0:e.interest_rate,rates:t.length?t:null!==(l=null===(a=e.interest_rate)||void 0===a?void 0:a.rates)&&void 0!==l?l:[],comment:null!==(o=null===(i=n.contentAttributes)||void 0===i?void 0:i.ratesComment)&&void 0!==o?o:""}},nv=(e,t)=>{var n,a,i,l;let o=null==t?void 0:null===(l=t.interestPayments)||void 0===l?void 0:null===(i=l[0])||void 0===i?void 0:null===(a=i.periods)||void 0===a?void 0:null===(n=a[0])||void 0===n?void 0:n.type;return{...e.interest_payment,text:"",daily:"DAILY"===o?1:0,monthly:"MONTHLY"===o?1:0,quarterly:"QUARTERLY"===o?1:0,end:"INTEREST_AHEAD"===o?1:0}},np=(e,t)=>({charitable:"charitable"===e.productType?1:0,child:"child"===e.productType?1:0,insurance:"insurance"===e.productType?1:0,investment:"investment"===e.productType?1:0,martgage:"mortgage"===e.productType?1:0,multicurrency:(null==t?void 0:t.currencies.length)>1?1:0,pension:"pension"===e.productType?1:0,salary:"salary"===e.productType?1:0,saving_account:"saving_account"===e.productType?1:0,seasonal:"seasonal"===e.productType?1:0}),n_=e=>{try{var t,n;if(!e)return"";let a=e.legal_entities;if("string"==typeof a){let e=JSON.parse(a);return Array.isArray(e)&&(null===(n=e[0])||void 0===n?void 0:n.name)?e[0].name:""}if(Array.isArray(a))return(null===(t=a[0])||void 0===t?void 0:t.name)||"";return""}catch(e){return""}},ng=(e,t)=>Math.min(e,t.minimumPeriod?ns(t.minimumPeriod):0),nh=(e,t)=>Math.max(e,t.maximumPeriod?ns(t.maximumPeriod):0),nf=(e,t,n)=>{var a,i,l,o,r,s;t.push({from:null,to:null,term:null,amount:null,term_from:n.minimumPeriod?ns(n.minimumPeriod):0,term_to:n.maximumPeriod?ns(n.maximumPeriod):0,rate:n.maximumRate,amount_from:null!==(r=n.minimumAmount)&&void 0!==r?r:null,amount_to:null!==(s=n.maximumAmount)&&void 0!==s?s:null,diff:n.topRateDelta||0,tag:{title:(null==n?void 0:null===(a=n.tags)||void 0===a?void 0:a.title)||"",description:(null==n?void 0:null===(i=n.tags)||void 0===i?void 0:i.description)||"",deeplink:(null==n?void 0:null===(l=n.tags)||void 0===l?void 0:l.deepLink)||"",url:(null==n?void 0:null===(o=n.tags)||void 0===o?void 0:o.url)||""},optionId:e.id})},ny=e=>{let t=[],n=1/0,a=0,i=1/0,l=0;return e.filter(e=>null==e?void 0:e.active).forEach(e=>{var o;(null!==(o=e.currencies)&&void 0!==o?o:[]).forEach(o=>{var r;(null!==(r=o.rates)&&void 0!==r?r:[]).forEach(o=>{nf(e,t,o),n=Math.min(n,o.minimumAmount),a=Math.max(a,o.maximumAmount),i=ng(i,o),l=nh(l,o)})})}),{rates:t,amountFrom:n,amountTo:a,termFrom:i,termTo:l}},nb=e=>{var t,n;return(null==e?void 0:null===(n=e.interestPayments)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.method)==="CAPITALISATION"?1:0},nx=e=>nb(e)?"Да":"Нет",nw=e=>(null==e?void 0:e.earlyTermination)===_.PreferentialRateForWholeTerm||(null==e?void 0:e.earlyTermination)===_.WithoutRecalculationOfInterest?1:0,nC=e=>nw(e)?"Да":"Нет",nj=e=>{var t,n;return(null==e?void 0:null===(n=e.replenishment)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.type)==="NO_RESTRICTIONS"?1:0},nN=e=>nj(e)?"Возможно":"Невозможно",nT=e=>{var t,n;return(null==e?void 0:null===(n=e.partialWithdrawal)||void 0===n?void 0:null===(t=n[0])||void 0===t?void 0:t.type)==="NO_RESTRICTIONS"?1:0},nk=e=>nT(e)?"Возможно":"Невозможно",nR=(e,t,n,a)=>{var i,l,o,r,s,c,d,u,m,v,p,_,g,h,f,y,b,x,w,C,j,N;let T=null!=a?a:nr,k=null===(l=e.attributes)||void 0===l?void 0:null===(i=l.options)||void 0===i?void 0:i[0],R=n_(t),{rates:A,amountFrom:S,amountTo:I,termFrom:P,termTo:B}=ny(null!==(y=null===(o=e.attributes)||void 0===o?void 0:o.options)&&void 0!==y?y:[]),L=nd(e,n,t);return{...T,...e,id:e.id,url:null!==(b=null==e?void 0:null===(r=e.contentAttributes)||void 0===r?void 0:r.url)&&void 0!==b?b:"",title:e.name,active_to:e.visibleTo,active_from:e.visibleFrom,archive:(null===(s=e.contentAttributes)||void 0===s?void 0:s.archive)?1:0,m_updated_at:null!==(x=null===(d=e.contentAttributes)||void 0===d?void 0:null===(c=d.updatedAt)||void 0===c?void 0:c.slice(0,10))&&void 0!==x?x:"",bank_id:Number(null==t?void 0:t.id),bank_name:null!==(w=null==t?void 0:t.name)&&void 0!==w?w:"",bank_url:null!==(C=null==t?void 0:t.url)&&void 0!==C?C:"",logo:L,logo_mob:L,legal_name:R,currency_id:Number(null===(p=e.attributes.options)||void 0===p?void 0:null===(v=p[0])||void 0===v?void 0:null===(m=v.currencies)||void 0===m?void 0:null===(u=m[0])||void 0===u?void 0:u.currency),online_application:nu(e),interest_rate:nm(T,A,e),amount:{...T.amount,from:S,to:I},term:{...T.term,from:P,to:B},partial_withdrawal:{...T.partial_withdrawal,has:nT(k),text:nk(k)},interest_payment:nv(T,k),refill:{comment:"",...T.refill,has:nj(k),text:nN(k)},interest_capitalization:{comment:"",...T.interest_capitalization,has:nb(k),text:nx(k)},preferential_termination:{...T.preferential_termination,has:nw(k),text:nC(k)},type:np(e,k),prolongation:{text:(null==k?void 0:k.prolongations)?"Предусмотрена":"Не предусмотрена"},all_russia:(null===(_=e.contentAttributes)||void 0===_?void 0:_.availableAllRussia)?1:0,custom_regions:null!==(j=null===(g=e.attributes)||void 0===g?void 0:g.regions)&&void 0!==j?j:[],multicurrency:(null==k?void 0:k.currencies.length)>1?1:0,finuslugiBonusPromotion:{},fin_exclusive:e.attributes.exclusive?1:0,asSavingAccount:null!==(N=e.attributes.asSavingAccount)&&void 0!==N&&N,promo:!1,floatingRateInformations:e.floatingRateInformations,external:{integrationType:null===(f=e.contentAttributes)||void 0===f?void 0:null===(h=f.integration)||void 0===h?void 0:h.integrationType}}},nA=e=>{var t,n,a,i,l,o,r,s;let c=(0,T.S)(),[d,u]=(0,f.useState)(e.initialServices),[m,v]=(0,f.useState)(e.initialMfoOffers),[p,_]=(0,f.useState)(e.initialQuote&&e.activeService?{[null===(t=e.activeService)||void 0===t?void 0:t.serviceName]:e.initialQuote}:{}),[g,h]=(0,f.useState)(!1),y="".concat((null===(n=e.region)||void 0===n?void 0:n.url)||"").concat((null===(a=e.town)||void 0===a?void 0:a.url)||""),b=(0,f.useRef)(y);(0,f.useEffect)(()=>{if(e.orgType!==W.$.mfo||!e.isUslugiTab||m&&y===b.current)return;b.current=y;let t=async()=>{var t,n,a,i,l,o,r;let[s,c]=await Promise.allSettled([tH({type:e.orgType,company:e.company,regionUrl:null===(t=e.region)||void 0===t?void 0:t.url,townUrl:null===(n=e.town)||void 0===n?void 0:n.url,tag:e.tag}),tV(e.company.url,null===(a=e.region)||void 0===a?void 0:a.url,null===(i=e.town)||void 0===i?void 0:i.url)]),d=(0,t2._)(c,null);d&&v(null===(o=d.data)||void 0===o?void 0:null===(l=o.microCredits)||void 0===l?void 0:l.filter(t=>tZ(t,e.town)));let m=(0,t2._)(s,null);if(null==m?void 0:m.microCredit){let t=null==d?void 0:null===(r=d.data)||void 0===r?void 0:r.microCreditText,n=e.town?null==t?void 0:t.town_content:null==t?void 0:t.all_russia_content;m.microCredit.serviceText=n||[]}u(m)};h(!0),t().finally(()=>h(!1))},[e.company,null===(i=e.region)||void 0===i?void 0:i.url,null===(l=e.town)||void 0===l?void 0:l.url,e.isUslugiTab]),(0,f.useEffect)(()=>{var t,n;if(e.orgType!==W.$.bank||!e.isUslugiTab)return;let a=null===(t=e.activeService)||void 0===t?void 0:t.serviceName,i=!!(null==d?void 0:null===(n=d[a])||void 0===n?void 0:n.data),l=!!a&&p[a],o=y!==b.current;if(i&&l&&!o){e.setQuote(l);return}b.current=y,h(!0);let r=e.company.bic;(async()=>{var t,n,i,l,s,c,m,v,p,g;let h=null===(t=e.tag)||void 0===t?void 0:t.slice(4),f=null!==(g=null===(n=(await tX()).data)||void 0===n?void 0:n.content)&&void 0!==g?g:null,y=null==f?void 0:null===(i=f.find(e=>e.url===(null!=h?h:"all_offers")))||void 0===i?void 0:i.id,b=await tF(r),x=null==b?void 0:null===(s=b.content)||void 0===s?void 0:null===(l=s[0])||void 0===l?void 0:l.bankId,[w,C,j]=await Promise.allSettled([tH({type:e.orgType,company:e.company,regionUrl:null===(c=e.region)||void 0===c?void 0:c.url,townUrl:null===(m=e.town)||void 0===m?void 0:m.url,activeServiceName:a,currentBankServices:o?null:d,tag:e.tag}),x&&y?tY(x,y):null,t6(e.pathname)]);u((0,t2._)(w,null)),e.setDepositTagsBanksStatsData((0,t2._)(C,null));let N=(null===(p=(0,t2._)(j,null))||void 0===p?void 0:null===(v=p.content)||void 0===v?void 0:v[0])||null;a&&N&&_(e=>({...e,[a]:N})),e.setQuote(N)})().finally(()=>h(!1))},[e.company,null===(o=e.region)||void 0===o?void 0:o.url,null===(r=e.town)||void 0===r?void 0:r.url,null===(s=e.activeService)||void 0===s?void 0:s.serviceName]);let x=(0,f.useMemo)(()=>d?tG(d,e.town,e.bankTowns):d,[d,e.town,e.bankTowns]);return{organizationServices:(0,f.useMemo)(()=>{var t,n,a,i,l,o;if(!(null==x?void 0:null===(t=x.deposits)||void 0===t?void 0:t.data))return x;let r=[...(null!==(l=null===(n=e.depositTagsBanksStatsData)||void 0===n?void 0:n.platformProducts)&&void 0!==l?l:[]).map(t=>nc(t,[e.company])),...(null!==(o=null===(a=e.depositTagsBanksStatsData)||void 0===a?void 0:a.nonPlatformProducts)&&void 0!==o?o:[]).map(t=>nR(t,e.company,c.NEXT_PUBLIC_S3_ASSETS))];return{...x,deposits:{data:r,tags:null==x?void 0:null===(i=x.deposits)||void 0===i?void 0:i.tags,length:r.length,serviceText:x.deposits.serviceText}}},[x,e.company,e.depositTagsBanksStatsData,c.NEXT_PUBLIC_S3_ASSETS]),mfoOffers:m,servicesLoading:g}},nS=e=>{let t,{baseUrl:n,company:a,orgType:i,generalRating:l}=e,o="banki";i===W.$.mfo&&(o="mfo"),i===W.$.insurance&&(o="kompanija");let r=a.logo||a.logo_mob,s=r&&r.indexOf("http")>=0?{"@type":"ImageObject",url:r}:void 0,c=a.phone||a.maintel,{legal_entities:d}=a;if(Array.isArray(d)&&d.length>0){let e=d[0];"legal_address"in e&&e.legal_address?t=e.legal_address:"address"in e&&(t=e.address)}return{"@context":"https://schema.org","@type":i===W.$.insurance?"InsuranceAgency":"BankOrCreditUnion",name:a.name,description:a.short_description,url:"".concat(n,"/").concat(o,"/").concat(a.url),image:s,...c&&{telephone:c},...a.site&&{sameAs:[a.site]},...l&&{aggregateRating:{"@type":"AggregateRating",ratingValue:l,reviewCount:a.reviews_num,ratingCount:a.reviews_num}},...c&&{contactPoint:{"@type":"ContactPoint",telephone:c}},...i!==W.$.insurance&&t&&{address:{"@type":"PostalAddress",addressLocality:t}}}},nI=e=>{let t=((null==e?void 0:e[W.$.bank])||[]).find(e=>{let{name:t}=e;return t.toLowerCase().includes("вклады")});return(null==t?void 0:t.id)&&Number(t.id)||null},nP=e=>{var t;return null===(t=Object.values(e||{}))||void 0===t?void 0:t.reduce((e,t)=>e+t.length,0)};var nB=n(90852);let nL=e=>{let t=new Date,n=t.getDate(),a=t.getMonth(),i=t.getFullYear(),l=["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"][a],o="".concat(n," ").concat(l," ").concat(i,"г.");return e.replace(/{date}/gim,o)},nO=e=>{let t=new Date().getFullYear();return e.replace(/{year}/gim,t.toString())},nM=e=>{if(!e||!e.length)return"";let t=e[0].toLowerCase();return"в"!==t&&"ф"!==t||(0,nB.r)(e[1])?"в":"во"},nE=(e,t,n,a,i,l,o,r)=>{let s=e;if(i&&(s=(s=(s=(s=s.replace(/{(bank|mfo)}/gim,i.name)).replace(/{(bank|mfo)_r}/gim,i.name_r||i.name)).replace(/{(bank|mfo)_p}/gim,i.name_p)).replace(/{(bank|mfo)_link}/gim,i.url)),l&&(s=s.replace(/{tag_name}/gim,l.tag_name.toLowerCase())),!t)return l&&(s=(s=s.replace(/в {place_p}/gim,"во всей России")).replace(/{place}/gim,"России")),nO(s=nL(s));let c=new Date().getFullYear(),d=n?n.name:t.name,u=n?n.name_r:t.name_r,m=n?n.name_p:t.name_p,v=n?n.name:t.name,p=n?n.name_r:t.name_r,_=n?n.name_p:t.name_p,g=t.name,h=t.name_r,f=t.name_p,y=!1,b=n?"reg_".concat(t.url).concat(t.towns&&t.towns.length>1?"/".concat(n.url):""):"reg_".concat(t.url);n&&(y=a.includes(n.id));let x=n&&y?"".concat(n.name," (").concat(t.name,")"):(null==n?void 0:n.name)||(null==t?void 0:t.name),w=n&&y?"".concat(n.name_r," (").concat(t.name,")"):(null==n?void 0:n.name_r)||(null==t?void 0:t.name_r),C=n&&y?"".concat(n.name_p," (").concat(t.name,")"):(null==n?void 0:n.name_p)||(null==t?void 0:t.name_p);return o&&n&&(d=x,u=w,m=C,v=x,p=w,_=C),/{place_p} {region_r}/.test(s)&&(77===t.id||76===t.id||85===t.id)&&(s=s.replace(/{region_r}/gim,"")),[[/в {place}/gim,"".concat(nM(d)," ").concat(d)],[/в {place_r}/gim,"".concat(nM(u)," ").concat(u)],[/в {place_p}/gim,"".concat(nM(m)," ").concat(m)],[/в {town}/gim,"".concat(nM(v)," ").concat(v)],[/в {town_r}/gim,"".concat(nM(p)," ").concat(p)],[/в {town_p}/gim,"".concat(nM(_)," ").concat(_)],[/в {region}/gim,"".concat(nM(g)," ").concat(g)],[/в {region_r}/gim,"".concat(nM(h)," ").concat(h)],[/в {region_p}/gim,"".concat(nM(f)," ").concat(f)],[/в {town_dub}/gim,"".concat(nM(x)," ").concat(x)],[/в {town_dub_r}/gim,"".concat(nM(w)," ").concat(w)],[/в {town_dub_p}/gim,"".concat(nM(C)," ").concat(C)],[/{place}/gim,d],[/{place_r}/gim,u],[/{place_p}/gim,m],[/{town}/gim,v],[/{town_r}/gim,p],[/{town_p}/gim,_],[/{region}/gim,g],[/{region_r}/gim,h],[/{region_p}/gim,f],[/{town_dub}/gim,x],[/{town_dub_r}/gim,w],[/{town_dub_p}/gim,C],[/{year}/gim,c.toString()],[/{place_link}/gim,b],[/{max_deposits_rate}/gim,(null==r?void 0:r.toString())||""]].forEach(e=>{let[t,n]=e;s=s.replace(t,n)}),s=nL(s)},nD=(e,t,n,a,i)=>((null==e?void 0:e.title)&&(e.title=nE(e.title,t,n,a,i)),(null==e?void 0:e.content)&&e.content.forEach(e=>{e.data&&(e.data.html&&(e.data.html=nE(e.data.html,t,n,a,i)),e.data.text&&(e.data.text=nE(e.data.text,t,n,a,i)))}),e);var nF=n(33346),nU=n(89487),nW=n(47270),nz=n(26819),nH=n.n(nz),nV=e=>{var t,n,a,i,l;let o=(0,T.S)(),r=o.NEXT_PUBLIC_BASE_URL,s=o.NEXT_PUBLIC_S3_ASSETS;E(t4());let{orgType:c,generalRating:d,company:u,description:m,ssr:v,bestOffersData:p,supportBlockData:_}=e,g=(0,y.usePathname)(),{region:S,town:I,handleOpenCityModal:P}=(0,D.S)({initialRegion:v.region,initialTown:v.town}),W=g.split("/").find(e=>e.startsWith("teg_")),q=U.yi[c],[Y,X]=(0,f.useState)(v.productsNum),[Q,$]=(0,f.useState)(v.quote),[Z,G]=(0,f.useState)(v.activeTag),J=(0,f.useRef)(!0),K=(0,f.useRef)(null),[ee,et]=(0,f.useState)(v.depositTagsBanksStats),[en,ea]=(0,f.useState)(v.bankTowns),[ei,el]=(0,f.useState)(Y>0&&"uslugi"===t0(g)),eo=z(c,u),er=H(c,u),es=V(u),[ec,ed]=(0,f.useState)(v.activeService),{organizationServices:em,mfoOffers:ev,servicesLoading:eg}=nA({isMounted:!J.current,initialServices:v.organizationServices,initialMfoOffers:v.mfoOffers,region:S,town:I,orgType:c,company:u,bankTowns:en,isUslugiTab:ei,activeService:ec,depositTagsBanksStatsData:ee,setDepositTagsBanksStatsData:et,initialQuote:v.quote,setQuote:$,pathname:g,tag:W}),eh=(0,f.useMemo)(()=>(0,U.xB)(em,s),[em]),ef=es?"mikrozajmy":null===(t=eh[0])||void 0===t?void 0:t.link,ey=(0,U.i7)(u,c,eo,Y>0,ef),eb=(0,f.useMemo)(()=>ey.find(e=>tK(e,g)),[g,u]),[ex,eC]=(0,f.useState)(eb||ey[0]),ej=(()=>{let e=[{href:"/",label:"Главная"},{label:eo?"Банки":"Каталог ".concat(q.name_rs_full),href:"/".concat(q.catalogUrl)},{label:u.name,href:eo?"/".concat(q.catalogUrl,"/").concat(u.url):""}];if(!eo)return e[e.length-1].href=void 0,e;ec&&e.push({label:ec.title,href:"/".concat(q.catalogUrl,"/").concat(u.url,"/").concat(ec.link)}),Z&&ec&&e.push({label:Z.tag_name,href:"/".concat(q.catalogUrl,"/").concat(u.url,"/").concat(ec.link,"/teg_").concat(Z.url)});let t=(null==I?void 0:I.name_p)||(null==S?void 0:S.name_p),n="kompanija"!==q.url&&(ec||"uslugi"===ex.id);return t&&n&&e.push({label:"В ".concat(t)}),e[e.length-1].href=void 0,e})(),{loading:eN,insuranceTypes:eT,adresaProps:ek,reviews:eR,reviewsMaxPage:eS,serviceTypes:eI,companyPeopleRatings:eP,tags:eB}=no({ssr:v,orgType:c,company:u,isInsurance:er,activeTabId:ex.id,isBank:eo,setDepositTagsBanksStatsData:et,bankTowns:en,setBankTowns:ea,setIsUslugiTab:el,quote:Q,setQuote:$,pathname:g}),eL=e=>{let{tab:t,service:n}=e,a=(null==n?void 0:n.link)?"/".concat(n.link):t.path,i="kompanija"!==q.url&&(n||"uslugi"===t.id)?tx(S,I):"";return"/".concat(q.url,"/").concat(u.url).concat(a).concat(i)},eO=e=>{let t=ey.find(t=>t.id===e);if(!t)return;let{search:n,hash:a}=window.location,i=eL({tab:t}),l="".concat(i).concat(n).concat(a);window.history.replaceState(null,"",l),"uslugi"!==t.id&&ed(null),eC(t)},{pageTitle:eM,location:eE}=(0,f.useMemo)(()=>{let e=(null==I?void 0:I.name_p)||(null==S?void 0:S.name_p);return{pageTitle:Z&&((null==ec?void 0:ec.serviceName)==="cards"||(null==ec?void 0:ec.serviceName)==="debitCards")?"".concat(Z.name," ").concat(u.name_r||u.name):Z?"".concat(Z.name," от ").concat(u.name_r||u.name):(null==ec?void 0:ec.serviceName)==="kasko"||(null==ec?void 0:ec.serviceName)==="osago"?"".concat(ec.title," в ").concat(u.name_r||u.name):(null==ec?void 0:ec.serviceName)==="microCredit"?"Предложения ".concat(u.name_r||u.name):ec?"".concat(ec.title," ").concat(u.name_r||u.name):ex.title,location:e}},[null==S?void 0:S.id,null==I?void 0:I.id,ec,u.name_r,u.name,ex.id,Z]);(0,f.useEffect)(()=>{let e=nP(em);X(e),e||"uslugi"!==ex.id||eO(ey[0].id)},[em]),(0,f.useEffect)(()=>{if(J.current){J.current=!1;return}if(er||"uslugi"!==ex.id)return;let e="";"uslugi"===ex.id&&es?e="/mikrozajmy":(null==ec?void 0:ec.link)&&(e="/".concat(ec.link));let t=W?"/".concat(W):"",n="uslugi"===ex.id?"":ex.path,a=tx(S,I),i="/".concat(q.url,"/").concat(u.url).concat(n).concat(e).concat(t).concat(a).concat(window.location.hash);window.history.replaceState(null,"",i)},[ec,null==S?void 0:S.id,null==I?void 0:I.id]),(0,f.useEffect)(()=>{var e,t;let n=null==ec?void 0:ec.serviceTagName,a=n&&null!==(t=null==eB?void 0:null===(e=eB.data)||void 0===e?void 0:e[n])&&void 0!==t?t:[];G(null==a?void 0:a.find(e=>"teg_".concat(e.url)===W))},[ec,eB,W]);let eF=(0,h.jsx)(A.j,{className:nH().partnersLink,text:"Вы представитель ".concat(U.yi[c].name_r,"?"),mainPageUrl:U.qL,href:"/partners",target:"_self",iconColor:"white"}),eU={title:"Отзывы о ".concat(u.name_p||u.name),subTitle:"",value:{reviews:(0,nn.W)(eR,eI,c,u),registerButton:{text:"Показать все отзывы",link:"/".concat(q.url,"/").concat(u.url,"/otzyvy"),customClass:nH().allReviewsButton,iconRight:(0,h.jsx)(b.IconFdsArrowRightO,{className:nH().allReviewsButtonIcon})}}},eW=(0,f.useMemo)(()=>{var e;if((null==ec?void 0:ec.serviceName)!=="deposits")return eR;if(null===(e=v.depositReviews)||void 0===e?void 0:e.length)return v.depositReviews;let t=nI(eI);return t?(eR||[]).filter(e=>e.service_id===t):[]},[null==ec?void 0:ec.serviceName,eI,eR,v.depositReviews]),ez=e=>{(0,ep.D)({eventCategory:U.qL,eventActionType:ep.i.tab,eventActionText:(0,e_.b)(e.label)}),eO(e.id)},eH=(()=>{var e,t,n;let a=null==ec?void 0:ec.serviceName,i=null==ec?void 0:ec.serviceTagName;if(!a&&!es)return[];let l=es?"microCredit":a,o=(null==em?void 0:null===(e=em[l])||void 0===e?void 0:e.serviceText)||[],r=(null==eB?void 0:null===(t=eB.data)||void 0===t?void 0:t[i||""])||[],s=tx(S,I),c=r.filter(e=>!!e.bank_region_page&&("deposits"!==a||e.displayInLinksBlock)&&(!!e.region_page||!S&&!I)).map(e=>{var t;return{id:e.id,name:"DEFAULT"===e.tag_name||"vse_vklady"===e.tag_name?"Все ".concat(null==ec?void 0:null===(t=ec.title_plural)||void 0===t?void 0:t.toLowerCase()):e.tag_name,url:"/".concat(q.url,"/").concat(u.url,"/").concat(null==ec?void 0:ec.link,"/teg_").concat(e.url).concat(s)}}).sort((e,t)=>{let n=e.name.startsWith("Все "),a=t.name.startsWith("Все ");return n&&!a?-1:!n&&a?1:0}),d="Виды ".concat(null==ec?void 0:null===(n=ec.title_r)||void 0===n?void 0:n.toLowerCase()),m=(0,h.jsx)(B,{data:c});return[...o.map(e=>{let t=nD(e,S,I,[],u);return{question:t.title,answer:t.content.map(e=>e.data.html).join("")}}),...c.length>0?[{question:d,answer:m}]:[]]})();return(0,h.jsxs)("div",{className:nH().page,children:[(0,h.jsxs)(x.W2,{children:[(0,h.jsx)(w.Oo,{style:{padding:"16px 0"},items:ej,className:nH().breadcrumbs}),(0,h.jsx)(L.d,{data:(0,nF.M)(ej,o.NEXT_PUBLIC_BASE_URL,g,eo)}),(0,h.jsx)(L.d,{data:nS({baseUrl:r,company:u,orgType:c,generalRating:d})}),(0,h.jsx)(eA,{uslugiTabUrl:ef,generalRating:d,name_rs:q.name_rs,catalogUrl:q.catalogUrl,company:u,organizationType:c,productsNum:Y,onBankFeatureClick:e=>{var t;null===(t=K.current)||void 0===t||t.scrollIntoView({behavior:"smooth",block:"center"}),eO(e)},getTabPath:eL}),(0,h.jsxs)("div",{ref:K,className:nH().infoBlock,children:[(0,h.jsxs)("h1",{className:nH().title,children:[eM,eE&&ei&&(0,h.jsxs)(h.Fragment,{children:[" в ",(0,h.jsx)("span",{onClick:P,className:nH().location,children:eE})]})]}),(0,h.jsx)(w.iR,{className:nH().tabsWrapper,options:{spaceBetween:0,slidesPerView:"auto"},children:ey.map(e=>(0,h.jsx)(w.wI,{className:(0,R.Z)(nH().tab,{[nH().activeTab]:ex.id===e.id}),onClick:()=>ez(e),children:(0,h.jsx)("a",{href:eL({tab:e}),onClick:e=>e.preventDefault(),children:e.label})},e.id))})]})]}),"about"===ex.id&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(eu,{orgType:c,company:u,insuranceTypes:eT,loadingInsuranceTypes:!eT&&eN}),eF,(0,h.jsx)("div",{className:nH().mobileBanner,children:(0,h.jsx)(x.W2,{children:(0,h.jsx)(M.X,{organizationType:c,bannerUrl:er?O.Te[u.url]:void 0,compact:es})})}),!!(null==ek?void 0:null===(n=ek.selectedFk)||void 0===n?void 0:n.length)&&(0,h.jsx)(F.default,{...ek,region:S,town:I,needsGeoLocationSync:(null==S?void 0:S.url)!==(null===(a=v.region)||void 0===a?void 0:a.url)||(null==I?void 0:I.url)!==(null===(i=v.town)||void 0===i?void 0:i.url)}),eN&&!(null==ek?void 0:null===(l=ek.selectedFk)||void 0===l?void 0:l.length)&&(0,h.jsx)(x.W2,{children:(0,h.jsx)(x.Od,{className:nH().adresaSkeleton})})]}),"reviews"===ex.id&&(0,h.jsx)(eD,{company:u,orgType:c,companyReviews:eR||[],maxPage:eS,serviceTypes:eI,initialPage:e.initialPage}),"ratings"===ex.id&&(0,h.jsxs)(x.W2,{className:nH().ratingsContainer,children:[(0,h.jsx)(ew,{company:u,companyPeopleRatings:eP,orgType:c,serviceTypes:eI,loading:!eP&&eN}),eF]}),"uslugi"===ex.id&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(tT,{organizationType:c,servicesBlocks:eh,servicesLoading:eg,bankServices:em,company:u,pageTitle:eM,description:m||"",activeService:ec,handleServiceChange:e=>{if(!e)return;let{search:t,hash:n}=window.location,a=eL({tab:ex,service:e}),i="".concat(a).concat(t).concat(n);window.history.replaceState(null,"",i),ed(e)},region:S,town:I,mfoOffers:ev,generalRating:d,quote:Q,reviews:eW}),Q&&(0,h.jsx)(j.c,{className:nH().quote,quote:Q})]}),(0,h.jsx)("div",{className:(0,R.Z)({[nH().hiddenSection]:!(eo||"news"===ex.id)}),children:p&&(0,h.jsx)(C.MJ,{tabs:p,baseUrl:o.NEXT_PUBLIC_BASE_URL,s3Assets:"".concat(o.NEXT_PUBLIC_S3_ASSETS,"/mp-assets"),dataLayerPush:nU.l})}),"uslugi"===ex.id&&(0,h.jsx)(nW.X,{...eU,showAllStars:!0,variant:eo?"secondary":"primary",loading:!eR&&eN}),!er&&"uslugi"===ex.id&&!!eH.length&&!W&&(0,h.jsx)(N.C,{questions:eH,dataLayerPush:nU.l,eventCategory:U.qL,tagTitle:"h3"}),_&&(0,h.jsx)(k.B,{..._,s3Assets:o.NEXT_PUBLIC_S3_ASSETS})]})}},87334:function(e,t,n){"use strict";n.d(t,{BinomParamsProvider:function(){return r},u:function(){return s}});var a=n(57437),i=n(2265),l=n(99376);let o=(0,i.createContext)(void 0);function r(e){var t,n,r,s,c,d;let{children:u}=e,m=(0,l.useSearchParams)(),v=(0,l.usePathname)(),p=null===(t=m.get("utm_source"))||void 0===t?void 0:t.toString(),_=null===(n=m.get("utm_campaign"))||void 0===n?void 0:n.toString(),g=null===(r=m.get("utm_content"))||void 0===r?void 0:r.toString(),h=null===(s=m.get("utm_medium"))||void 0===s?void 0:s.toString(),f=null===(c=m.get("utm_term"))||void 0===c?void 0:c.toString(),y=null===(d=m.get("click_id"))||void 0===d?void 0:d.toString(),b=(0,i.useMemo)(()=>({pathname:v,utmSource:p,utmMedium:h,utmCampaign:_,utmTerm:f,utmContent:g,clickId:y}),[v,p,h,_,f,g,y]);return(0,a.jsx)(o.Provider,{value:b,children:u})}function s(){let e=(0,i.useContext)(o);if(void 0===e)throw Error("The context of the binom params is used outside of the provider");return e}},95777:function(e,t,n){"use strict";n.d(t,{UserParamsProvider:function(){return d},z:function(){return u}});var a=n(57437),i=n(2265),l=n(38856);function o(e){var t;return null!==(t=sessionStorage.getItem(e))&&void 0!==t?t:void 0}let r=(0,i.createContext)(void 0),s="browserId",c="browserSessionId";function d(e){let{children:t}=e,[n,d]=(0,i.useState)({});return(0,i.useEffect)(()=>{var e,t;let{[s]:n,[c]:a,"auth.gtm_customer_id":i,_ym_uid:r}=Object.fromEntries(document.cookie.split("; ").map(e=>e.split("=")));d({browserId:null!=n?n:null!==(t=l.A.getItem(s))&&void 0!==t?t:void 0,sessionId:null!==(e=null!=a?a:o(c))&&void 0!==e?e:o(s),customerId:i,yandexId:r})},[]),(0,a.jsx)(r.Provider,{value:n,children:t})}function u(){let e=(0,i.useContext)(r);if(void 0===e)throw Error("The context of the user params is used outside of the provider");return e}},23204:function(e,t,n){"use strict";n.d(t,{default:function(){return ep}});var a=n(57437),i=n(2265),l=n(33145),o=n(99376),r=n(35563),s=n(75461),c=n(20777),d=n(46295),u=n(17730),m=n(58560),v=n(60816),p=n(31893),_=n(80684),g=n(24620),h=n(29248),f=n(8285),y=n(51479),b=n(54550),x=n(439),w=n.n(x);let C=e=>{let{filter:t,formData:n,onChange:l,onShowMore:o,onSubmit:r}=e,c=(0,s.aF)("l"),d=(0,i.useCallback)(e=>{(0,y.D)({eventCategory:f.Rd,eventActionType:y.i.select,eventActionText:(0,b.b)("Тип организации"),eventLabel:(0,b.b)(e.label||"")}),l("orgType",e)},[l]),u=(0,i.useCallback)(e=>{(0,y.D)({eventCategory:f.Rd,eventActionType:y.i.select,eventActionText:(0,b.b)("Название организации"),eventLabel:(0,b.b)((null==e?void 0:e.map(e=>{let{label:t}=e;return t}).join(","))||"")}),l("orgName",e)},[l]),m=(0,i.useCallback)(()=>{(0,y.D)({eventCategory:f.Rd,eventActionType:y.i.button,eventActionText:(0,b.b)("Все параметры")}),o()},[o]);return(0,a.jsxs)("div",{className:w().filter,children:[(0,a.jsxs)("div",{className:w().selectors,children:[(0,a.jsx)(s.Ph,{className:w().input,size:"m",label:"Тип организации",options:n.orgType,value:t.orgType,onChange:d}),(0,a.jsx)(g.H,{className:w().input,size:"middle",label:"Название организации",options:n.orgName,value:t.orgName||null,onChange:u,multiple:!0,search:!0,isMobile:c})]}),(0,a.jsxs)("div",{className:w().buttons,children:[!(c&&t.ratingType===h.BH.people)&&(0,a.jsx)(s.zx,{iconLeft:(0,a.jsx)(_.IconFdsParametersHorizontalO,{size:22}),className:w().allParametersButton,variant:"secondary",label:"Все параметры",onClick:m}),(0,a.jsx)(s.zx,{className:w().showButton,label:"Показать",onClick:r})]})]})};var j=n(40224),N=n(61994),T=n(91672),k=n(87940),R=n(8081),A=n(31538),S=n(75599);let I=(e,t)=>{let n=f.O0[t].url,a=e.url;return"/".concat(n,"/").concat(a,"/otzyvy")},P=(e,t,n)=>{let a=I(e,t);(0,y.D)({eventCategory:n||"",eventActionType:y.i.link,eventActionText:String(e.reviews_num),eventLabel:a}),window.open(a,"_blank")};var B=n(78226),L=n.n(B);let O=()=>(0,a.jsxs)("div",{className:L().header,children:[(0,a.jsx)("div",{className:L().title,children:"Пользовательский рейтинг"}),(0,a.jsx)("div",{className:L().subtitle,children:"Пользовательский рейтинг основан на отзывах клиентов банков и финансовых организаций представленых на Финуслугах"})]});var M=n(18926),E=n.n(M);let D=e=>{let{type:t,data:n,filter:l,sortOrder:o,setSort:c,loading:u}=e,m=(0,d.S)(),[v,p]=(0,i.useState)(11),g=(0,i.useCallback)(()=>{(0,y.D)({eventCategory:f.Rd,eventActionType:y.i.button,eventActionText:(0,b.b)("Показать еще")}),p(e=>e+11)},[p]),x=[{name:"Место",width:"72px",sortName:""},{name:"Название ".concat(f.O0[t].name_r),width:"1032px"},{name:"Рейтинг",width:"110px",sortName:h.vA.ratings},{name:"Все отзывы",width:"144px",sortName:h.vA.reviewsNum}],w=(e,t)=>{t&&((0,y.D)({eventCategory:f.Rd,eventActionType:y.i.button,eventActionText:(0,b.b)(e)}),c(t))},C=e=>"".concat(m.NEXT_PUBLIC_BASE_URL,"/").concat(f.O0[t].url,"/").concat(e.url).concat(k.RV.ratings),j=!!n&&(v<n.length||u&&n.length>=v),B=e=>{let t=C(e);(0,y.D)({eventCategory:f.Rd,eventActionType:y.i.offer,eventActionText:(0,b.b)(e.name),eventLabel:t})};return(0,a.jsxs)(r.W2,{className:E().desktopOnly,children:[(0,a.jsx)("div",{style:{width:"100%"},children:(0,a.jsxs)("div",{className:E().wrapper,children:[(0,a.jsx)(O,{}),(0,a.jsxs)("div",{className:E().tableWrapper,children:[(0,a.jsxs)("table",{children:[(0,a.jsx)("colgroup",{children:x.map((e,t)=>{let{width:n}=e;return(0,a.jsx)("col",{style:{width:n,minWidth:1!==t?n:void 0}},t)})}),(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:x.map((e,t)=>{let{name:n,sortName:i}=e;return(0,a.jsx)("th",{children:(0,a.jsxs)("div",{className:(0,N.Z)(E().headCell,{[E().sortIcon]:!!i,[E().active]:l===i,[E().asc]:o===h.ib.Asc}),onClick:()=>w(n,i),children:[(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:n}}),i&&(0,a.jsx)(_.IconFdsSortDescendingO,{size:24,className:E().filterIcon})]})},t)})})}),(0,a.jsx)("tbody",{children:n&&n.slice(0,v).map(e=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{className:E().place,children:e.place}),(0,a.jsx)("td",{children:(0,a.jsxs)("a",{className:E().bank,href:C(e),target:"_blank",onClick:()=>B(e),rel:"noreferrer",children:[(0,a.jsx)(T.D,{url:e.bic||e.url,type:t,width:32,height:32,companyName:e.name}),(0,a.jsx)("label",{children:e.name})]})}),(0,a.jsxs)("td",{children:[(0,a.jsx)(_.IconFdsStarF,{className:E().star,size:22}),(0,a.jsx)("label",{children:(0,S.Z)(Number(e.reviews_rating))})]}),(0,a.jsx)("td",{onClick:()=>P(e,t,"rating"),children:(0,a.jsx)("a",{href:I(e,t),className:E().rewardLink,onClick:e=>e.preventDefault(),children:e.reviews_num})})]},e.url))})]}),j&&(0,a.jsx)("div",{className:E().buttonWrapper,children:(0,a.jsx)(s.zx,{size:"s",variant:"secondary",label:"Показать еще",onClick:g,pending:u})})]})]})}),(0,a.jsxs)("div",{className:E().bannerWrapper,children:[(0,a.jsx)(A.l,{eventCategory:"rating"}),(0,a.jsx)(R.u,{})]})]})};var F=n(44197),U=n(64778),W=n.n(U);let z=e=>{let{item:t,type:n,className:i,baseUrl:l}=e,o="".concat(l,"/").concat(f.O0[n].url,"/").concat(t.url).concat(k.RV.ratings);return(0,a.jsxs)("div",{className:(0,N.Z)(W().mobileCard,i),children:[(0,a.jsxs)("a",{className:W().bank,href:o,target:"_blank",onClick:()=>{(0,y.D)({eventCategory:f.Rd,eventActionType:y.i.offer,eventActionText:(0,b.b)(t.name),eventLabel:o})},rel:"noreferrer",children:[(0,a.jsx)(T.D,{url:t.bic||t.url||"",type:n,width:32,height:32,companyName:t.name}),(0,a.jsx)("label",{children:t.name})]}),(0,a.jsxs)("div",{className:W().cardInfo,children:[(0,a.jsxs)("div",{className:W().cardInfoItem,children:[(0,a.jsxs)("div",{className:W().cardValueWrapper,children:[(0,a.jsx)(_.IconFdsStarF,{className:W().star,size:18}),(0,a.jsx)("p",{className:W().cardValue,children:t.reviews_rating})]}),(0,a.jsx)("p",{children:"Рейтинг"})]}),(0,a.jsxs)("div",{className:W().cardInfoItem,children:[(0,a.jsx)("p",{className:W().cardValue,children:t.reviews_num}),(0,a.jsx)("p",{children:"Все отзывы"})]}),(0,a.jsxs)("div",{className:W().cardInfoItem,children:[(0,a.jsx)("p",{className:W().cardValue,children:t.place}),(0,a.jsx)("p",{children:"Место"})]})]}),(0,a.jsx)(F.j,{className:W().fullInfoLink,mainPageUrl:f.Rd,href:"".concat(l,"/").concat(f.O0[n].url,"/").concat(t.url).concat(k.RV.reviews),target:"_blank",text:"Смотреть отзывы"})]})};var H=n(15413),V=n.n(H);let q=e=>{let{type:t,data:n,loading:l}=e,o=(0,d.S)(),[c,u]=(0,i.useState)(4),m=(0,i.useCallback)(()=>{(0,y.D)({eventCategory:f.Rd,eventActionType:y.i.button,eventActionText:(0,b.b)("Показать еще")}),u(e=>e+4)},[u]),v=!!n&&(c<n.length||l&&n.length>=c);return(0,a.jsxs)("div",{className:V().mobileOnly,children:[(0,a.jsxs)("div",{className:V().wrapper,children:[(0,a.jsx)(O,{}),n&&(0,a.jsxs)("div",{className:V().mobileBody,children:[n.slice(0,c).map(e=>(0,a.jsx)(z,{item:e,type:t,baseUrl:o.NEXT_PUBLIC_BASE_URL},e.url)),v&&(0,a.jsx)(s.zx,{className:V().button,size:"s",variant:"secondary",label:"Показать еще",onClick:m,pending:l})]})]}),(0,a.jsxs)(r.W2,{className:V().bannerWrapper,children:[(0,a.jsx)(A.l,{eventCategory:"rating"}),(0,a.jsx)(R.u,{})]})]})},Y=e=>{let{filter:t,sortOrder:n,organizations:i,selectedOrgs:l,region:o,setOrderDesc:r,setSortState:s,loading:c,type:d}=e,u={type:d,filter:t,selectedOrgs:l,region:o,sortOrder:n,setSort:e=>{e===t?r(n===h.ib.Desc?h.ib.Asc:h.ib.Desc):s(e)},loading:c};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(D,{...u,data:i}),(0,a.jsx)(q,{...u,data:i}),(0,a.jsx)(v.d,{data:(0,j.d)(i,d)})]})};var X=n(24269);let Q=e=>{let{type:t,baseUrl:n,filter:a,sortOrder:i,organizations:l,selectedOrgs:o,region:r}=e,s=l.filter(e=>0===o.length||o.includes(e.id));r&&(s=s.filter(e=>{let{region_ids:t}=e;return t.includes(r.id)}));let c=t===X.$.mfo,d=t===X.$.insurance,u="banki";c?u="mfo":d&&(u="kompanija");let m=i===h.ib.Desc;return[...s].sort((e,t)=>{let n=e[a],i=t[a];return m?i-n:n-i}).map((e,t)=>{var a;let i=m?t+1:s.length-t;return{bic:e.bic,reviews_rating:e.reviews_rating,reviews_num:(null==e?void 0:e.reviews_num)||0,name:(null==e?void 0:e.name)||"",logo:null!==(a=null==e?void 0:e.logo_mob)&&void 0!==a?a:"",url:(null==e?void 0:e.url)||"",description:null==e?void 0:e.short_description,detailPageUrl:"".concat(n,"/").concat(u,"/").concat((null==e?void 0:e.url)||""),phone:null==e?void 0:e.phone,site:null==e?void 0:e.site,place:i}})};var $=n(13466),Z=n(53120),G=n(49689),J=n(98323),K=n.n(J);let ee=e=>{let{filter:t,formData:n,isOpen:l,onClose:o,onSubmit:r,onReset:c,onChange:d}=e,u=(0,s.aF)("m"),m=(0,i.useCallback)(e=>{(0,y.D)({eventCategory:f.Rd,eventActionType:y.i.radio,eventActionText:(0,b.b)(e.label||"")}),d("sortBy",e.id)},[d]),v=(0,i.useCallback)(e=>{(0,y.D)({eventCategory:f.Rd,eventActionType:y.i.select,eventActionText:(0,b.b)("Тип организации"),eventLabel:(0,b.b)(e.label||"")}),d("orgType",e)},[d]),p=(0,i.useCallback)(e=>{(0,y.D)({eventCategory:f.Rd,eventActionType:y.i.radio,eventActionText:(0,b.b)(e.label)}),d("filterBy",e.id)},[d]),_=(0,i.useCallback)(e=>{(0,y.D)({eventCategory:f.Rd,eventActionType:y.i.select,eventActionText:(0,b.b)("Название организации"),eventLabel:(0,b.b)((null==e?void 0:e.map(e=>{let{label:t}=e;return t}).join(","))||"")}),d("orgName",e)},[d]),x=(0,i.useCallback)(()=>{(0,y.D)({eventCategory:f.Rd,eventActionType:y.i.button,eventActionText:(0,b.b)("Сбросить параметры")}),c()},[c]),w=t.orgType.value,C=t.ratingType===h.BH.people,j=t.ratingType===h.BH.people?f.RU:n.filterBy[w],N=(0,a.jsxs)("div",{className:K().body,children:[(0,a.jsxs)("div",{className:K().row,children:[(0,a.jsx)(s.Ph,{className:K().input,size:"m",label:"Тип организации",options:n.orgType,value:t.orgType,onChange:v}),(0,a.jsx)(g.H,{className:K().input,size:"middle",label:"Название организации",options:n.orgName,value:t.orgName||null,onChange:e=>_(e),multiple:!0,search:!0,isMobile:u})]}),C&&(0,a.jsxs)("div",{className:K().sortingPanel,children:[(0,a.jsx)("h3",{className:K().sectionTitle,children:"Фильтр по"}),(0,a.jsx)("div",{className:K().radiosWrapper,children:j.map((e,n)=>(0,a.jsx)(s.Y8,{checked:t.filterBy===e.id||!t.filterBy&&0===n,value:t.filterBy===e.id||!t.filterBy&&0===n,name:"".concat(e.id,"_radio"),label:e.label,onChange:()=>p(e)},e.id))})]}),C&&(0,a.jsx)("div",{className:K().divider}),(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:K().sortingPanel,children:[(0,a.jsx)("h3",{className:K().sectionTitle,children:"Сортировать по"}),(0,a.jsx)("div",{className:K().radiosWrapper,children:n.sortBy.map(e=>(0,a.jsx)(s.Y8,{checked:t.sortBy===e.id,value:t.sortBy===e.id,name:"".concat(e.id,"_radio"),label:e.label,onChange:()=>m(e)},e.id))})]})})]}),T=(0,a.jsxs)("div",{className:K().buttonActions,children:[(0,a.jsx)(s.zx,{size:"m",className:K().button,onClick:r,children:"Показать"}),(0,a.jsx)(s.zx,{variant:"secondary",size:"m",className:K().button,onClick:x,children:"Сбросить параметры"})]});return(0,a.jsx)($.h,{children:u?(0,a.jsx)(G.j,{isOpen:l,onClose:o,footer:T,title:"Все параметры",children:N}):(0,a.jsx)(Z.d,{isOpen:l,onClose:o,title:"Все параметры",contentClassName:K().content,titleAlign:"left",rowTitle:!0,footer:T,width:"600px",children:N})})};var et=n(90375),en=n(7970),ea=n.n(en);let ei=e=>{var t;let n=e.filter.orgType.value,i=(e.filter.ratingType===h.BH.people?[{id:h.vA.ratings,label:"По рейтингу"},{id:h.vA.reviewsNum,label:"По отзывам"}]:e.formData.filterBy[n]).map(e=>{let{id:t,label:n}=e;return{value:t,label:"По ".concat(n.toLowerCase()),shortLabel:"Сортировка"}});return(0,a.jsx)("div",{className:(0,N.Z)(ea().wrapper,{[ea().visible]:e.isVisible}),children:(0,a.jsx)(et.p,{className:ea().customFilter,onClickParams:e.onShowMore,onClickChip:e.onShowMore,chips:[{id:"orgType",label:"Тип организации: ".concat(null===(t=e.filter.orgType)||void 0===t?void 0:t.label)}],sortTypeItems:i,sortTypeValue:e.filter.filterBy||"",onChangeSortType:t=>{e.onChange("filterBy",t)},isIncreaseSort:"desc"===e.filter.sortBy,onChangeIncreaseSort:t=>{e.onChange("sortBy",t?h.ib.Desc:h.ib.Asc)}})})},el=e=>{var t,n;let[a,l]=(0,i.useState)(e),o=(null===(t=a.orgType)||void 0===t?void 0:t.value)===X.$.insurance,r=(null===(n=a.orgType)||void 0===n?void 0:n.value)===X.$.mfo,s=o?"/strahovanie_otzyvy":r?"/polzovatelskij_rejting_mfo":"/polzovatelskij_rejting_bankov";(0,i.useEffect)(()=>{window.location.pathname!==s&&window.history.replaceState(null,"",s)},[s]);let c=(e,t)=>{switch(e){case"ratingType":l(e=>({...e,ratingType:t}));break;case"sortBy":l(e=>({...e,sortBy:t}));break;case"orgType":l(e=>({...e,orgType:t,orgName:null,ratingType:h.BH.people}));break;case"orgName":l(e=>({...e,orgName:t}));break;case"filterBy":l(e=>({...e,filterBy:t}))}};return{filter:a,change:c,reset:()=>{c("orgName",null)}}};var eo=n(59339),er=n(33346),es=n(75552),ec=n(84886),ed=n(89487),eu=n(3845),em=n.n(eu),ev={src:"/directory/_next/static/media/banner-main.1b963c85.webp",height:432,width:976,blurDataURL:"data:image/webp;base64,UklGRpoAAABXRUJQVlA4WAoAAAAQAAAABwAAAwAAQUxQSCEAAAAAAAAABENLU14ABAcx4P1kWQ0UIRXB/zISAgEAALf/VgAAVlA4IFIAAADQAQCdASoIAAQAAkA4JbACdAEXfo+2sADhUf1KvG2Bn49/Q+yHqUlxpmj8vwO26VANDj5/8Goqov+pv/Qff4mv79UFf1N4y5/THzEdodafvAAA",blurWidth:8,blurHeight:4},ep=e=>{var t;let{initRatingForm:n,serverSelectOptions:_,initOrganizations:g,bestOffersData:x,supportBlockData:w}=e,j=(0,d.S)(),[N,T]=(0,i.useState)(!0),[k,R]=(0,i.useState)(),[A,S]=(0,i.useState)(g),I=(0,i.useRef)(null),P=(0,o.usePathname)(),{region:B,town:L,handleOpenCityModal:O}=(0,p.S)({initialRegion:null,initialTown:null}),[M,E]=(0,i.useState)(!1),[D,F]=(0,i.useState)(!1),{filter:U,change:W,reset:z}=el(n),H=(0,i.useMemo)(()=>{if(!k)return _;let e=(0,es.l)({data:k,type:U.orgType.value});return(0,eo.u)(e).sort((e,t)=>e.label.localeCompare(t.label))},[U.orgType]),V=f.kX[U.orgType.value],q=(0,i.useMemo)(()=>({orgType:f.un,orgName:H,ratingType:V,sortBy:U.filterBy===h.vA.reviewsNum?f.Fo:f.pm,filterBy:f.pA}),[H,U.orgType.value,U.filterBy]),$=()=>E(e=>!e),Z=(null==L?void 0:L.name_p)||(null==B?void 0:B.name_p)||"",G=U.orgType.value===X.$.mfo,J=f.O0[U.orgType.value].name_p,K=G?J.toUpperCase():J,et="Пользовательский рейтинг ".concat(K),en=[{href:"/",label:"Главная"},{label:"".concat(et," ").concat(Z)}],ea=(0,i.useCallback)(()=>{if((0,y.D)({eventCategory:f.Rd,eventActionType:y.i.button,eventActionText:(0,b.b)("Показать")}),E(!1),I.current){let e=I.current.getBoundingClientRect().bottom+window.scrollY;window.scrollTo({top:e,behavior:"smooth"})}},[E]);return(0,i.useEffect)(()=>{var e;(null===(e=U.orgName)||void 0===e?void 0:e.find(e=>{let{value:t}=e;return!_.find(e=>e.value===t)}))&&z()},[_]),(0,i.useEffect)(()=>{T(!0),(async()=>{let e=await (0,m.s)();e&&(R(e),T(!1))})()},[]),(0,i.useEffect)(()=>{var e;if(!k)return;let t=U.orgType.value,n=(0,es.l)({data:k,type:t}).filter(e=>!e.archive);S(Q({type:t,baseUrl:j.NEXT_PUBLIC_BASE_URL,filter:U.filterBy,sortOrder:U.sortBy,selectedOrgs:(null===(e=U.orgName)||void 0===e?void 0:e.map(e=>e.value))||[],organizations:n,region:B}))},[k,B,U]),(0,i.useEffect)(()=>{let e=()=>{if(I.current){let e=I.current.offsetTop+I.current.offsetHeight+150;F(window.scrollY>e)}},t=(0,ec.P)(e,100);return e(),window.addEventListener("scroll",t),()=>window.removeEventListener("scroll",t)},[]),(0,a.jsxs)("div",{className:em().page,children:[(0,a.jsx)("div",{ref:I,children:(0,a.jsxs)(r.W2,{children:[(0,a.jsxs)("div",{className:em().topBannerSection,children:[(0,a.jsxs)("div",{className:em().left,children:[(0,a.jsx)(s.Oo,{style:{paddingTop:"16px"},items:en}),(0,a.jsx)(v.d,{data:(0,er.M)(en,j.NEXT_PUBLIC_BASE_URL,P)}),(0,a.jsxs)("div",{className:em().text,children:[(0,a.jsxs)("h1",{className:em().title,children:[et,Z?" в ":" по ",(0,a.jsx)("p",{onClick:()=>{(0,y.D)({eventCategory:f.Rd,eventActionType:y.i.link,eventActionText:(0,b.b)(Z||"всей России")}),O()},children:Z||"всей России"})]}),(0,a.jsxs)("div",{className:em().subtitle,children:["Собрали актуальную информацию, чтобы вы знали",(0,a.jsx)("br",{className:"desktopOnly"}),"кому доверить финансы"]})]})]}),(0,a.jsx)("div",{className:em().image,children:(0,a.jsx)(l.default,{src:ev,width:486,height:243,alt:"banner image"})})]}),(0,a.jsx)(C,{filter:U,formData:q,onSubmit:ea,onShowMore:$,onChange:W}),(0,a.jsx)(ee,{isOpen:M,filter:U,formData:q,onChange:W,onClose:$,onSubmit:ea,onReset:z})]})}),(0,a.jsx)(ei,{isVisible:D,onShowMore:$,filter:U,formData:q,onChange:W}),(0,a.jsx)(Y,{sortOrder:U.sortBy,filter:U.filterBy,region:B,organizations:A,selectedOrgs:(null===(t=U.orgName)||void 0===t?void 0:t.map(e=>e.value))||[],setSortState:e=>W("filterBy",e),setOrderDesc:e=>W("sortBy",e),loading:N,type:U.orgType.value}),x&&(0,a.jsx)(c.MJ,{tabs:x,baseUrl:j.NEXT_PUBLIC_BASE_URL,s3Assets:"".concat(j.NEXT_PUBLIC_S3_ASSETS,"/mp-assets"),dataLayerPush:ed.l}),w&&(0,a.jsx)(u.B,{...w,s3Assets:j.NEXT_PUBLIC_S3_ASSETS})]})}},90476:function(e,t,n){"use strict";n.d(t,{default:function(){return Y}});var a=n(57437),i=n(35563),l=n(75461),o=n(20777),r=n(46295),s=n(17730),c=n(60816),d=n(31538),u=n(70754),m=n(24269);let v=(e,t)=>{if(!e)return 0;if("number"==typeof e.people_rating)return e.people_rating;let n=0,a=0,i=[];return t===m.$.insurance?i=[{r:e.purchase_raiting,f:.1},{r:e.precedent_raiting,f:.5},{r:e.consideration_raiting,f:.7},{r:e.payout_raiting,f:2}]:1===e.filter_id?i=[{r:e.rating.informing,f:.2},{r:e.rating.receipt,f:.4},{r:e.rating.payments,f:.8},{r:e.rating.withdrawal,f:1},{r:e.rating.repayment,f:1},{r:e.rating.closing,f:.2}]:2===e.filter_id?i=[{r:e.rating.informing,f:.2},{r:e.rating.receipt,f:.8},{r:e.rating.repayment,f:1.2},{r:e.rating.closing,f:.3}]:3===e.filter_id?i=[{r:e.rating.informing,f:.5},{r:e.rating.receipt,f:.6},{r:e.rating.repayment,f:1},{r:e.rating.closing,f:.6}]:4===e.filter_id?i=[{r:e.rating.informing,f:.2},{r:e.rating.receipt,f:.8},{r:e.rating.repayment,f:1.2},{r:e.rating.closing,f:.3}]:5===e.filter_id?i=[{r:e.rating.informing,f:.3},{r:e.rating.opening,f:.6},{r:e.rating.withdrawal,f:1},{r:e.rating.refill,f:1},{r:e.rating.closing,f:.3}]:6===e.filter_id?i=[{r:e.rating.informing,f:.1},{r:e.rating.opening,f:.6},{r:e.rating.payments,f:1},{r:e.rating.withdrawal,f:1},{r:e.rating.refill,f:.5},{r:e.rating.closing,f:.1}]:7===e.filter_id?i=[{r:e.rating.informing,f:.2},{r:e.rating.service,f:.8}]:8===e.filter_id?i=[{r:e.rating.informing,f:.2},{r:e.rating.receipt,f:.6},{r:e.rating.payments,f:1},{r:e.rating.buyout,f:.8},{r:e.rating.closing,f:.2}]:9===e.filter_id?i=[{r:e.rating.informing,f:.2},{r:e.rating.service,f:.8}]:10===e.filter_id&&(i=[{r:e.rating.informing,f:.8},{r:e.rating.receipt,f:.5},{r:e.rating.payments,f:1},{r:e.rating.service,f:.7}]),i.forEach(function(e){e.r&&(n+=e.r*e.f,a+=e.f)}),n=a?n/a:0},p=e=>{let t,{item:n,baseUrl:a,orgType:i,org:l}=e,o="".concat(a,"/banki/").concat(null==l?void 0:l.url,"/otzyvy/").concat(n.url),r=v(n,i);if(l){let{legal_entities:e}=l;if(Array.isArray(e)&&e.length>0){let n=e[0];"legal_address"in n&&n.legal_address?t=n.legal_address:"address"in n&&(t=n.address)}}return{"@context":"https://schema.org","@type":"Review","@id":"".concat(o,"#review"),mainEntityOfPage:{"@type":"WebPage","@id":o},inLanguage:"ru-RU",itemReviewed:{"@type":i===m.$.insurance?"InsuranceAgency":"BankOrCreditUnion",...l&&{name:l.name},brand:{"@type":"Organization",...l&&{name:l.name}},...t&&{address:{"@type":"PostalAddress",addressLocality:t}}},name:n.title,reviewBody:n.review,datePublished:n.published,reviewRating:{"@type":"Rating",ratingValue:Math.round(r),bestRating:5,worstRating:1},author:{"@type":"Person",name:n.first_name},publisher:{"@type":"Organization",name:"Финуслуги",url:a}}};var _=n(80684),g=n(61994),h=n(44197),f=n(91672),y=n(56227),b=n(75599),x=n(68671),w=n.n(x);let C=e=>{let t=(0,r.S)();if(!e.org)return null;let{name_p:n,url:i}=y.yi[e.orgType];return(0,a.jsx)("div",{className:(0,g.Z)(w().wrapper,e.className),children:(0,a.jsxs)("div",{className:w().card,children:[(0,a.jsxs)("div",{className:w().logo,children:[(0,a.jsx)(f.D,{url:e.org.bic||e.org.url||"",type:e.orgType,width:42,height:42,companyName:e.org.name}),(0,a.jsxs)("div",{className:w().ratingBadge,children:[(0,a.jsx)(_.IconFdsStarF,{className:w().star}),(0,b.Z)(e.generalRating||0)]})]}),(0,a.jsx)("div",{className:w().title,children:e.org.name}),(0,a.jsx)("ul",{className:w().list,children:!!e.org.reviews_num&&(0,a.jsxs)("li",{children:[e.org.reviews_num," отзывов"]})}),(0,a.jsx)(h.j,{className:w().fullInfoLink,mainPageUrl:t.NEXT_PUBLIC_BASE_URL,href:"/".concat(i,"/").concat(e.org.url),target:"_self",text:"Подробнее о ".concat(n)})]})})};var j=n(71938),N=n(16205),T=n.n(N);let k=e=>{let{data:t,organization:n,organizationType:i}=e;if(t.length)return(0,a.jsxs)("div",{className:T().answers,children:[(0,a.jsx)("p",{className:T().title,children:"Ответ организации"}),(0,a.jsx)("div",{className:T().list,children:t.map(e=>{let{id:t,answer:l,published:o,user:{company_name:r}}=e;return(0,a.jsxs)("div",{className:T().answer,children:[(0,a.jsx)("div",{className:T().logo,children:(0,a.jsx)(f.D,{url:(null==n?void 0:n.bic)||(null==n?void 0:n.url)||"",type:i,width:48,height:48,companyName:null==n?void 0:n.name})}),(0,a.jsxs)("div",{className:T().content,children:[(0,a.jsxs)("div",{className:T().info,children:[(0,a.jsx)("p",{className:T().name,children:r}),(0,a.jsx)("p",{className:T().date,children:(0,j.p6)(o,{format:"dd.MM.yyyy HH:mm"}).toString()})]}),(0,a.jsx)("div",{className:T().text,dangerouslySetInnerHTML:{__html:l}})]})]},t)})})]})};var R=n(94073),A=n(68583),S=n.n(A);let I=e=>{var t,n,i,o,r,s;let c=v(e.review,e.orgType);return(0,a.jsxs)("div",{className:S().wrapper,children:[(0,a.jsxs)("div",{className:S().header,children:[(0,a.jsxs)("div",{className:S().user,children:[(0,a.jsx)(R.y,{user:e.review.first_name,bic:null===(t=e.org)||void 0===t?void 0:t.bic,fkUrl:null===(n=e.org)||void 0===n?void 0:n.url,fkLogo:null===(i=e.org)||void 0===i?void 0:i.logo_mob,fkType:e.orgType,type:"ReviewDetail",fkName:null===(o=e.org)||void 0===o?void 0:o.name}),(0,a.jsxs)("div",{className:S().info,children:[(0,a.jsx)("div",{className:S().name,children:e.review.first_name}),(0,a.jsxs)("div",{className:S().rating,children:[(0,b.Z)(c),(0,a.jsx)("div",{className:S().ratingStars,children:[1,2,3,4,5].map(e=>(0,a.jsx)(_.IconFdsStarF,{size:18,className:(0,g.Z)(S().star,{[S().gray]:e>Number(c)})},e))})]})]})]}),(0,a.jsx)("div",{className:S().date,children:(0,j.p6)(e.review.published).toString()})]}),(0,a.jsxs)("div",{className:S().tags,children:[!!(null===(r=e.org)||void 0===r?void 0:r.name)&&(0,a.jsx)(l.Vp,{label:null===(s=e.org)||void 0===s?void 0:s.name,variant:"secondary"}),!!e.review.serviceName&&(0,a.jsx)(l.Vp,{label:e.review.serviceName,variant:"secondary"}),e.review.answers.length>0&&(0,a.jsx)(l.Vp,{label:"Есть ответ банка",variant:"purple"})]}),(0,a.jsxs)("div",{className:S().text,children:[(0,a.jsx)("div",{className:S().title,children:e.review.title}),(0,a.jsx)("div",{className:S().review,children:e.review.review})]}),(0,a.jsx)(k,{data:e.review.answers,organization:e.org,organizationType:e.orgType})]})},P=(e,t,n)=>{switch(t){case m.$.insurance:return"/otzyv/".concat((null==n?void 0:n.url)||"","/").concat(e.url);case m.$.mfo:return"/mfo/".concat((null==n?void 0:n.url)||"","/otzyvy/").concat(e.url);default:return"/banki/".concat((null==n?void 0:n.url)||"","/otzyvy/").concat(e.url)}};var B=n(51479),L=n(54550),O=n(83756),M=n.n(O);let E=e=>{var t,n,i,o,r,s;let c=P(e.review,e.orgType,e.org);return(0,a.jsxs)("a",{className:M().wrapper,href:c,target:"_self",onClick:()=>{(0,B.D)({eventCategory:u.lD,eventActionType:B.i.offer,eventActionText:(0,L.b)(e.review.title||""),eventLabel:(0,L.b)(c||"")})},children:[(0,a.jsxs)("div",{className:M().header,children:[(0,a.jsxs)("div",{className:M().user,children:[(0,a.jsx)(R.y,{user:e.review.first_name,bic:null===(t=e.org)||void 0===t?void 0:t.bic,fkUrl:null===(n=e.org)||void 0===n?void 0:n.url,fkLogo:null===(i=e.org)||void 0===i?void 0:i.logo_mob,fkType:e.orgType,forceMobile:!0,fkName:null===(o=e.org)||void 0===o?void 0:o.name}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:M().name,children:e.review.first_name}),(0,a.jsxs)("div",{className:M().rating,children:[(0,b.Z)(v(e.review,e.orgType)),(0,a.jsx)(_.IconFdsStarF,{size:16,className:M().ratingIcon})]})]})]}),(0,a.jsx)("div",{className:M().date,children:(0,j.p6)(e.review.published).toString()})]}),(0,a.jsxs)("div",{className:M().tags,children:[!!(null===(r=e.org)||void 0===r?void 0:r.name)&&(0,a.jsx)(l.Vp,{size:"s",label:null===(s=e.org)||void 0===s?void 0:s.name,variant:"secondary"}),!!e.review.serviceName&&(0,a.jsx)(l.Vp,{size:"s",label:e.review.serviceName,variant:"secondary"}),e.review.answers.length>0&&(0,a.jsx)(l.Vp,{size:"s",label:"Есть ответ банка",variant:"purple"})]}),(0,a.jsxs)("div",{className:M().text,children:[(0,a.jsx)("div",{className:M().title,children:e.review.title}),(0,a.jsx)("div",{className:M().review,children:e.review.review}),(0,a.jsxs)("div",{className:M().footer,children:[(0,a.jsx)("button",{className:M().readMore,children:"Читать полностью"}),e.review.answers.length>0&&(0,a.jsxs)("button",{className:M().commentsIcon,children:[(0,a.jsx)(_.IconFdsChatDotsCircleO,{size:20}),(0,a.jsx)("p",{className:M().commentsLabel,children:e.review.answers.length})]})]})]})]})};var D=n(90852),F=n(1413),U=n.n(F);let W=e=>{var t,n,i,l,o;let s=(0,r.S)().NEXT_PUBLIC_BASE_URL,c=(0,D.r)((null===(t=e.org)||void 0===t?void 0:t.name_p)||"")?"об":"о",{name_p:d,url:u}=y.yi[e.orgType],v=e.orgType===m.$.insurance?"/otzyvy/".concat(null===(n=e.org)||void 0===n?void 0:n.url):"/".concat(u,"/").concat(null===(i=e.org)||void 0===i?void 0:i.url,"/otzyvy");return(0,a.jsxs)("div",{className:(0,g.Z)(U().wrapper,e.className),children:[(0,a.jsx)("h2",{className:U().title,dangerouslySetInnerHTML:{__html:"Другие отзывы".concat((null===(l=e.org)||void 0===l?void 0:l.name_p)?" ".concat(c,"&nbsp;").concat(null===(o=e.org)||void 0===o?void 0:o.name_p):"")}}),(0,a.jsx)("div",{className:U().list,children:e.companyReviews.map(t=>(0,a.jsx)(E,{review:t,...e},t.id))}),!!e.org&&(0,a.jsx)(h.j,{className:U().fullInfoLink,iconColor:"white",mainPageUrl:s,href:v,target:"_self",text:"Смотреть все отзывы о ".concat(d)})]})},z={[m.$.bank]:{name:"Банк",name_p:"банках",name_r:"банков",any:"Любой",url:"/polzovatelskij_rejting_bankov"},[m.$.mfo]:{name:"МФО",name_p:"мфо",name_r:"мфо",any:"Любая",url:"/polzovatelskij_rejting_mfo"},[m.$.insurance]:{name:"Страховая",name_p:"страховых компаниях",name_r:"страховых",any:"Любая",url:"/strahovanie_otzyvy"}};var H=n(89487),V=n(77919),q=n.n(V),Y=e=>{let{orgType:t,review:n,companyReviews:v,org:_,generalRating:g,orgPlace:h,mostPopularServiceName:f,bestOffersData:y,supportBlockData:b}=e,x=(0,r.S)(),w=z[t],j=(0,D.r)((null==_?void 0:_.name)||"")?"об":"о",N=(null==_?void 0:_.name_p)?" ".concat(j," ").concat(null==_?void 0:_.name_p):"",T=n.first_name_r?" от ".concat(n.first_name_r):"",k={[m.$.mfo]:"mfo",[m.$.insurance]:"sk"}[t]||null;return(0,a.jsxs)("div",{className:q().page,children:[(0,a.jsxs)(i.W2,{children:[(0,a.jsx)(l.Oo,{style:{padding:"16px 0"},items:[{href:"/",label:"Главная"},{label:"Отзывы о ".concat(w.name_p),href:"/otzyvy".concat(k?"?type=".concat(k):"")},{label:"Отзыв".concat(N).concat(T)}]}),(0,a.jsx)("h1",{className:"collapsed",children:n.title}),(0,a.jsxs)("div",{className:q().wrapper,children:[(0,a.jsxs)("div",{className:q().main,children:[(0,a.jsx)(I,{review:n,org:_,orgType:t}),(0,a.jsx)(W,{org:_,companyReviews:v,orgType:t,className:"desktopOnly"})]}),(0,a.jsxs)("div",{className:q().sidebar,children:[(0,a.jsx)(d.l,{eventCategory:u.lD}),(0,a.jsx)(C,{org:_,orgType:t,generalRating:g,orgPlace:h,mostPopularServiceName:f})]})]}),(0,a.jsx)(W,{org:_,companyReviews:v,orgType:t,className:"mobileOnly"}),(0,a.jsx)(c.d,{data:p({item:n,baseUrl:x.NEXT_PUBLIC_BASE_URL,orgType:t,org:_})}),(0,a.jsx)("div",{style:{height:"32px"}})]}),y&&(0,a.jsx)(o.MJ,{tabs:y,baseUrl:x.NEXT_PUBLIC_BASE_URL,s3Assets:"".concat(x.NEXT_PUBLIC_S3_ASSETS,"/mp-assets"),dataLayerPush:H.l}),b&&(0,a.jsx)(s.B,{...b,s3Assets:x.NEXT_PUBLIC_S3_ASSETS})]})}},48156:function(e,t,n){"use strict";function a(e,t){return(null==e?void 0:e.status)==="fulfilled"?e.value:t}n.d(t,{_:function(){return a}})},90852:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});let a=e=>["а","е","ё","и","о","у","ы","э","ю","я"].indexOf(e.charAt(0).toLowerCase())>=0},69286:function(e){e.exports={container:"FaqLinkList_container__IbV_r",choice:"FaqLinkList_choice__sIjKt",choiceOption:"FaqLinkList_choiceOption__m4t8n"}},26819:function(e){e.exports={page:"CompanyDetail_page__kep46",breadcrumbs:"CompanyDetail_breadcrumbs__oPhG_",whiteBlock:"CompanyDetail_whiteBlock__Q1H5o",bannerWrapper:"CompanyDetail_bannerWrapper___yLFB",infoBlock:"CompanyDetail_infoBlock__wr3c5",title:"CompanyDetail_title__cCsD7",location:"CompanyDetail_location__pIaSI",tabsWrapper:"CompanyDetail_tabsWrapper__XEjJj",swiper:"CompanyDetail_swiper__4FZvI",tab:"CompanyDetail_tab__vURjC",activeTab:"CompanyDetail_activeTab__XwUgC",hide:"CompanyDetail_hide___0iP3",partnersLink:"CompanyDetail_partnersLink__UMBFD",allReviewsButton:"CompanyDetail_allReviewsButton__4SyI4",allReviewsButtonIcon:"CompanyDetail_allReviewsButtonIcon___e3A4",ratingsContainer:"CompanyDetail_ratingsContainer__J7H_e",hiddenSection:"CompanyDetail_hiddenSection__d3uhv",adresaSkeleton:"CompanyDetail_adresaSkeleton__W11UH",quote:"CompanyDetail_quote__D_hRw",mobileBanner:"CompanyDetail_mobileBanner__mizYh"}},1649:function(e){e.exports={wrapper:"AboutCompany_wrapper__rj6IF",bankInfoTabs:"AboutCompany_bankInfoTabs__lHQch",bankInfoTabButton:"AboutCompany_bankInfoTabButton__xAQv9",topRow:"AboutCompany_topRow__KZF42",history:"AboutCompany_history__cMb_u",title:"AboutCompany_title__wV5gI",historyTitle:"AboutCompany_historyTitle__UjkcP",historyRows:"AboutCompany_historyRows__uOkzU",historyModal:"AboutCompany_historyModal__Lfqnx",historyPopup:"AboutCompany_historyPopup__xxvMi",row:"AboutCompany_row__56bY_",year:"AboutCompany_year__oVOar",text:"AboutCompany_text__c7bFw",showAllButton:"AboutCompany_showAllButton__rS_At",showMoreButton:"AboutCompany_showMoreButton__Vx1Ov",bottomRow:"AboutCompany_bottomRow__tvoMX",withoutWrap:"AboutCompany_withoutWrap__2ScQS",requisitesColumn:"AboutCompany_requisitesColumn__FUxMp",infoItemTitle:"AboutCompany_infoItemTitle__CQzFs",infoItemValue:"AboutCompany_infoItemValue__lGtAO",partnersButton:"AboutCompany_partnersButton__jcva_",drawer:"AboutCompany_drawer__bJ_Kw",showMoreLicensesButton:"AboutCompany_showMoreLicensesButton__DTjyU",showMoreLegalEntitiesButton:"AboutCompany_showMoreLegalEntitiesButton__gYSTU",insuranceTypes:"AboutCompany_insuranceTypes__ocTvY",typesList:"AboutCompany_typesList__iHV1x",insuranceTypeTag:"AboutCompany_insuranceTypeTag__qWxSV",insuranceTypeTagFull:"AboutCompany_insuranceTypeTagFull__f_lBv",expanded:"AboutCompany_expanded__j2W4l",gradient:"AboutCompany_gradient___B3kF"}},75950:function(e){e.exports={card:"BankDetailOffer_card___qule",offerButton:"BankDetailOffer_offerButton__f557Z",iconButton:"BankDetailOffer_iconButton__xZ2B7",paddingForButton:"BankDetailOffer_paddingForButton__LD8l7",chips:"BankDetailOffer_chips__Vpi_b",top:"BankDetailOffer_top___m8mF",topContent:"BankDetailOffer_topContent__IAVK0",controls:"BankDetailOffer_controls__mk21X",mortgageInfo:"BankDetailOffer_mortgageInfo__XFWiW",bankInfo:"BankDetailOffer_bankInfo__GM0We",groups:"BankDetailOffer_groups__3AlEf",whiteCard:"BankDetailOffer_whiteCard__OKOMd",buttons:"BankDetailOffer_buttons__On_Kr",iconDetail:"BankDetailOffer_iconDetail__JAZX3",bottom:"BankDetailOffer_bottom__pwfBV",chip:"BankDetailOffer_chip__rkNCj",icon:"BankDetailOffer_icon__Cn7Cm",tooltip:"BankDetailOffer_tooltip__KLX7N",lastOfferCornerGradient:"BankDetailOffer_lastOfferCornerGradient__6D5t6"}},37953:function(e){e.exports={group:"BankDetailOfferInfoGroup_group__62HVe",titleGroup:"BankDetailOfferInfoGroup_titleGroup__So6h2",groupSub:"BankDetailOfferInfoGroup_groupSub__VMjtj",groupContent:"BankDetailOfferInfoGroup_groupContent__wppAC",nowrap:"BankDetailOfferInfoGroup_nowrap__zh5jk",preposition:"BankDetailOfferInfoGroup_preposition__iTuPw"}},57234:function(e){e.exports={featureInfo:"BankFeatureInfo_featureInfo__LmfMJ",iconWrapper:"BankFeatureInfo_iconWrapper__w1rzO",content:"BankFeatureInfo_content__lVR97",title:"BankFeatureInfo_title__FstHu"}},34914:function(e){e.exports={wrapper:"BankOffersList_wrapper__9KEFv",productsListContainer:"BankOffersList_productsListContainer__R7J4A",containerTopPadding:"BankOffersList_containerTopPadding__gz6wc",title:"BankOffersList_title__4c75O",chips:"BankOffersList_chips__BIggh",location:"BankOffersList_location__CBqLf",offersList:"BankOffersList_offersList__1DdH_",showMore:"BankOffersList_showMore__oXbJn",showMoreButton:"BankOffersList_showMoreButton___oq_s",showMoreIcon:"BankOffersList_showMoreIcon__adNTC",skeleton:"BankOffersList_skeleton__zM1Kr",mfoSkeleton:"BankOffersList_mfoSkeleton__oZjyj"}},65993:function(e){e.exports={section:"BankServices_section__bRF_x",tiles:"BankServices_tiles__43klK",background:"BankServices_background__A7c4v",imageWrapper:"BankServices_imageWrapper__D4DZ3",tile:"BankServices_tile__y3Au5",short:"BankServices_short__Ef_PG",count:"BankServices_count__0o7nL",active:"BankServices_active__uOsfR",image:"BankServices_image__4h9Jf",insurance:"BankServices_insurance__EGlFo",leftAlignment:"BankServices_leftAlignment__FOWbc",reviewsContainer:"BankServices_reviewsContainer__lebSM"}},82869:function(e){e.exports={wrapper:"CompanyDetailPeopleRatingTab_wrapper__NiGY7",container:"CompanyDetailPeopleRatingTab_container__0YUmK",body:"CompanyDetailPeopleRatingTab_body__CyRvJ",info:"CompanyDetailPeopleRatingTab_info__jtpRH",title:"CompanyDetailPeopleRatingTab_title__pjatM",description:"CompanyDetailPeopleRatingTab_description__hVNgg",peopleRatingWrapper:"CompanyDetailPeopleRatingTab_peopleRatingWrapper___i7Uj",peopleRatingTopInfo:"CompanyDetailPeopleRatingTab_peopleRatingTopInfo__Alp1I",peopleRatingTopFullInfoLink:"CompanyDetailPeopleRatingTab_peopleRatingTopFullInfoLink__C_sSI",rowItem:"CompanyDetailPeopleRatingTab_rowItem__BgPhS",rowItemIcon:"CompanyDetailPeopleRatingTab_rowItemIcon__sSnwj",rowTitleWrapper:"CompanyDetailPeopleRatingTab_rowTitleWrapper__2t419",rowTitle:"CompanyDetailPeopleRatingTab_rowTitle__8iU3R",rowLink:"CompanyDetailPeopleRatingTab_rowLink__P8voN",starWrapper:"CompanyDetailPeopleRatingTab_starWrapper__sYIqc",starIcon:"CompanyDetailPeopleRatingTab_starIcon__C8hBu",starText:"CompanyDetailPeopleRatingTab_starText__S1VvT",mid:"CompanyDetailPeopleRatingTab_mid__YwwMF",big:"CompanyDetailPeopleRatingTab_big__GTNwm",partial:"CompanyDetailPeopleRatingTab_partial__ePmT2",disclaimer:"CompanyDetailPeopleRatingTab_disclaimer__JdEE2",bannerWrapper:"CompanyDetailPeopleRatingTab_bannerWrapper__y8eB9"}},68927:function(e){e.exports={content:"CompanyMainContent_content__bmtK6",wrapper:"CompanyMainContent_wrapper__ultUh",logo:"CompanyMainContent_logo__ZxenF",info:"CompanyMainContent_info__e__V7",fullInfoLink:"CompanyMainContent_fullInfoLink__gy5yN",company:"CompanyMainContent_company__0RBAK",name:"CompanyMainContent_name__jd_tI",rating:"CompanyMainContent_rating__ngkel",iconStar:"CompanyMainContent_iconStar__oHtnx",description:"CompanyMainContent_description__iIj1F",rightInfo:"CompanyMainContent_rightInfo__zyiQJ"}},58439:function(e){e.exports={section:"CompanyReviews_section__jsSLr",sortWrapper:"CompanyReviews_sortWrapper__nHMN_",activeSortOption:"CompanyReviews_activeSortOption__OYSoq",sortIcon:"CompanyReviews_sortIcon__0fwy3"}},3845:function(e){e.exports={topBannerSection:"Rating_topBannerSection__HB80f",title:"Rating_title__Gxh_p",page:"Rating_page__RRuXZ",left:"Rating_left__l_yPV",text:"Rating_text__GoHIb",subtitle:"Rating_subtitle__nrMI6",image:"Rating_image__KuIg4"}},439:function(e){e.exports={filter:"Filter_filter__K8oRK",selectors:"Filter_selectors__cUY8e",chips:"Filter_chips__j7yCc",sortingPanel:"Filter_sortingPanel__rrohd",buttons:"Filter_buttons__1ys0F",showButton:"Filter_showButton__U8dCU",allParametersButton:"Filter_allParametersButton__N55fU",radiosWrapper:"Filter_radiosWrapper__LGTn9",input:"Filter_input__mmsT1",activeSortOption:"Filter_activeSortOption__L_7U5",sortIcon:"Filter_sortIcon__IxjGH"}},18926:function(e){e.exports={rewardLink:"PeopleRatingsDesktop_rewardLink__zGDat",tableWrapper:"PeopleRatingsDesktop_tableWrapper__5SL35",bank:"PeopleRatingsDesktop_bank__K2Cc_",desktopOnly:"PeopleRatingsDesktop_desktopOnly__UmyRA",wrapper:"PeopleRatingsDesktop_wrapper__MPHbg",value:"PeopleRatingsDesktop_value__wTsSl",active:"PeopleRatingsDesktop_active__7jKYc",headCell:"PeopleRatingsDesktop_headCell___9ZoS",sortIcon:"PeopleRatingsDesktop_sortIcon__4zdl6",filterIcon:"PeopleRatingsDesktop_filterIcon__9td57",asc:"PeopleRatingsDesktop_asc__3bFeQ",star:"PeopleRatingsDesktop_star__7JOz2",place:"PeopleRatingsDesktop_place__ftov7",buttonWrapper:"PeopleRatingsDesktop_buttonWrapper__Otp8h",bannerWrapper:"PeopleRatingsDesktop_bannerWrapper__MVqGW"}},78226:function(e){e.exports={header:"PeopleRatingsHeader_header__5Zxdg",title:"PeopleRatingsHeader_title__gQj_t",subtitle:"PeopleRatingsHeader_subtitle__0TaaY"}},15413:function(e){e.exports={mobileOnly:"PeopleRatingsMobile_mobileOnly__bX0qO",wrapper:"PeopleRatingsMobile_wrapper__gIYsY",mobileBody:"PeopleRatingsMobile_mobileBody__TMmNa",bannerWrapper:"PeopleRatingsMobile_bannerWrapper__i_fJa"}},64778:function(e){e.exports={mobileCard:"PeopleRatingsMobileCard_mobileCard__4LAi4",open:"PeopleRatingsMobileCard_open__agJnz",button:"PeopleRatingsMobileCard_button__g_X2H",bank:"PeopleRatingsMobileCard_bank__UX6Wn",row:"PeopleRatingsMobileCard_row__MHoqo",withPlace:"PeopleRatingsMobileCard_withPlace__8b4W7",hidden:"PeopleRatingsMobileCard_hidden__YI_Fs",fullInfoLink:"PeopleRatingsMobileCard_fullInfoLink__iM1eQ",cardInfo:"PeopleRatingsMobileCard_cardInfo__xR7eQ",cardInfoItem:"PeopleRatingsMobileCard_cardInfoItem__Rh2Ol",cardValueWrapper:"PeopleRatingsMobileCard_cardValueWrapper__vVByf",cardValue:"PeopleRatingsMobileCard_cardValue__1fTiW",star:"PeopleRatingsMobileCard_star__iBQyD"}},98323:function(e){e.exports={content:"RatingFilterModal_content__8xkyj",sectionTitle:"RatingFilterModal_sectionTitle__DjHrd",body:"RatingFilterModal_body__6cc1Q",button:"RatingFilterModal_button__33YNM",buttonActions:"RatingFilterModal_buttonActions__v___u",row:"RatingFilterModal_row__Rtn0k",sortingPanel:"RatingFilterModal_sortingPanel__uT4bJ",divider:"RatingFilterModal_divider__fNTvL",radiosWrapper:"RatingFilterModal_radiosWrapper__9Vu8M",input:"RatingFilterModal_input__0z0BL"}},7970:function(e){e.exports={wrapper:"RatingMobileStickyFilter_wrapper__9TrR6",visible:"RatingMobileStickyFilter_visible__WhFA2",customFilter:"RatingMobileStickyFilter_customFilter__hxAHm"}},77919:function(e){e.exports={page:"ReviewsDetail_page__fFZCz",wrapper:"ReviewsDetail_wrapper__uL0Mc",main:"ReviewsDetail_main__uPib_",sidebar:"ReviewsDetail_sidebar__cedho"}},68671:function(e){e.exports={wrapper:"CompanySidebarCard_wrapper__TRwOg",card:"CompanySidebarCard_card__QyyFq",logo:"CompanySidebarCard_logo__yODga",ratingBadge:"CompanySidebarCard_ratingBadge__1IoYS",title:"CompanySidebarCard_title__LpMMI",list:"CompanySidebarCard_list__YvqcT",star:"CompanySidebarCard_star__GgNmA",fullInfoLink:"CompanySidebarCard_fullInfoLink__R9O1o"}},68583:function(e){e.exports={wrapper:"MainReviewCard_wrapper__RwbJa",header:"MainReviewCard_header__4MKi1",user:"MainReviewCard_user__iJcrO",info:"MainReviewCard_info__wREIG",name:"MainReviewCard_name__3Tj4E",rating:"MainReviewCard_rating__yls4B",ratingStars:"MainReviewCard_ratingStars__4YQX1",star:"MainReviewCard_star__LQ5Ka",gray:"MainReviewCard_gray__QTErQ",date:"MainReviewCard_date__Lf8og",tags:"MainReviewCard_tags__VfEjz",text:"MainReviewCard_text__68QbX",title:"MainReviewCard_title__40q12",review:"MainReviewCard_review__hZtp9"}},16205:function(e){e.exports={answers:"MainReviewCardAnswer_answers__hgQox",title:"MainReviewCardAnswer_title__P56p0",list:"MainReviewCardAnswer_list__WDOeM",answer:"MainReviewCardAnswer_answer__3wEQG",info:"MainReviewCardAnswer_info__r3X1Z",name:"MainReviewCardAnswer_name__hj5Jl",text:"MainReviewCardAnswer_text__housl",date:"MainReviewCardAnswer_date__Depna"}},1413:function(e){e.exports={wrapper:"OtherReviewsSection_wrapper__FExMe",title:"OtherReviewsSection_title__jrzEQ",list:"OtherReviewsSection_list__G_Ate",fullInfoLink:"OtherReviewsSection_fullInfoLink__a7jI5"}},83756:function(e){e.exports={wrapper:"ReviewCard_wrapper__Yg30L",header:"ReviewCard_header__TbkvL",user:"ReviewCard_user__4Y8H8",name:"ReviewCard_name__POHYk",rating:"ReviewCard_rating__CYwd_",ratingIcon:"ReviewCard_ratingIcon__m_WUv",date:"ReviewCard_date__BM5sD",tags:"ReviewCard_tags__Y5iNH",text:"ReviewCard_text___4zEJ",title:"ReviewCard_title__C34ve",review:"ReviewCard_review__dxXeG",footer:"ReviewCard_footer__Gocfz",readMore:"ReviewCard_readMore__GTn2H",commentsIcon:"ReviewCard_commentsIcon__nRR2S",commentsLabel:"ReviewCard_commentsLabel__sQSx2"}}},function(e){e.O(0,[9015,1528,3826,8514,3031,5073,3544,5501,207,9811,8848,7082,8549,3389,8547,2477,2587,1746,2926,1888,3562,3400,2971,2117,1744],function(){return e(e.s=22029)}),_N_E=e.O()}]);