(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4633,224],{22868:function(){},26349:function(){},99830:function(){},70209:function(){},27126:function(e,t,i){Promise.resolve().then(i.bind(i,82778)),Promise.resolve().then(i.bind(i,18009)),Promise.resolve().then(i.bind(i,4859)),Promise.resolve().then(i.bind(i,23691)),Promise.resolve().then(i.bind(i,46001)),Promise.resolve().then(i.bind(i,53898))},10611:function(e,t,i){"use strict";i.d(t,{q:function(){return a}});var n=i(27163);let a=async e=>{if(!e)return null;let t=String(e).trim(),i=t.startsWith("0")?t:"0".concat(t),a="/deposits/api/proxy/new/api/v1/deposits/by-banks/".concat(encodeURIComponent(i));return(await (0,n.t)({url:a,options:{isBaseUrl:!0}})).data}},18009:function(e,t,i){"use strict";i.d(t,{default:function(){return iM}});var n,a,l,o,r,s,c,d,u,m,v,p,_,g,f=i(57437),h=i(2265),y=i(99376),w=i(80684),x=i(35563),b=i(75461),C=i(20777),j=i(74157),N=i(73514),T=i(46295),k=i(17730),R=i(61994),S=i(44197),A=i(82300),I=i(60816),L=i(97358),P=i(41858),O=i(99094),E=i(31893),B=i(71393),M=i(58514),D=i(24269);let F=(e,t)=>e===D.$.bank&&!!t&&"finance"in t,U=(e,t)=>e===D.$.insurance&&!!t&&"legal_entities"in t&&Object.keys(t.legal_entities[0]||{}).some(e=>e.startsWith("insType")),z=e=>"microCredits_num"in e;var W=i(53120),H=i(30942),V=i(1649),q=i.n(V);let $=e=>e.map(e=>"string"==typeof e?(0,f.jsx)("div",{dangerouslySetInnerHTML:{__html:e}},e):(0,f.jsxs)("div",{className:q().row,children:[(0,f.jsx)("p",{className:q().year,children:e.data.year}),(0,f.jsx)("div",{className:q().text,dangerouslySetInnerHTML:{__html:e.data.text}})]},e.data.year)),Z=e=>{let{title:t,description:i,historyRowsRef:n,visibleItems:a=3,onShowAll:l,onShowMore:o,isPopup:r=!1}=e,s=(0,b.aF)("m");return i?(0,f.jsxs)("div",{className:q().history,children:[!r&&(0,f.jsx)("h2",{className:q().historyTitle,children:t}),(0,f.jsx)("div",{className:(0,R.Z)(q().historyRows,{[q().historyModal]:r}),ref:n,children:"string"==typeof i?(0,f.jsx)("div",{dangerouslySetInnerHTML:{__html:i}}):$(i.slice(0,s?a:i.length))}),"string"!=typeof i&&!r&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:q().gradient}),(0,f.jsx)(S.j,{text:"Показать все",mainPageUrl:M.qL,iconColor:"light",className:q().showAllButton,onClick:l,widthMaxContent:!0})]}),"string"!=typeof i&&i.length>a&&r&&(0,f.jsx)(S.j,{text:"Показать еще",mainPageUrl:M.qL,icon:w.IconFdsChevronDownSmallO,iconColor:"light",className:q().showMoreButton,onClick:o,widthMaxContent:!0})]}):null};var Y=i(21241);let X=e=>{let{items:t}=e,[i,n]=(0,h.useState)(!1),a=()=>n(e=>!e);return t.length?t.map(e=>(0,f.jsxs)("div",{className:q().requisit,children:[(0,f.jsx)("p",{className:q().infoItemTitle,children:e.title}),Array.isArray(e.value)?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:q().infoItemValue,children:e.value.slice(0,i?e.value.length:1).map(e=>(0,f.jsx)("div",{className:q().infoItemValueItem,children:e},e))}),(0,f.jsx)(S.j,{text:i?"Свернуть":"Все свидетельства",mainPageUrl:M.qL,icon:i?w.IconFdsChevronUpSmallO:w.IconFdsChevronDownSmallO,iconColor:"light",className:q().showMoreLicensesButton,onClick:a,widthMaxContent:!0})]}):(0,f.jsx)("div",{className:q().infoItemValue,dangerouslySetInnerHTML:{__html:(0,Y.$)(e.value)}})]},e.title)):null},G=e=>{let{title:t,items:i}=e,[n,a]=(0,h.useState)(!1);return i.length&&i[0].length?(0,f.jsxs)("div",{children:[t&&(0,f.jsx)("h2",{className:q().title,children:t}),i.map((e,t)=>(0,f.jsx)("div",{className:(0,R.Z)(q().requisitesColumn,{collapsed:t>0&&!n}),children:(0,f.jsx)(X,{items:e})},t)),i.length>1&&(0,f.jsx)(S.j,{text:n?"Свернуть":"Показать все юрлица",mainPageUrl:M.qL,icon:n?w.IconFdsChevronUpSmallO:w.IconFdsChevronDownSmallO,iconColor:"light",className:q().showMoreLegalEntitiesButton,onClick:()=>a(e=>!e),widthMaxContent:!0})]}):null},Q=e=>{let{insuranceTypes:t,loadingInsuranceTypes:i}=e,n=(0,b.aF)("m"),[a,l]=(0,h.useState)(!1),o=(0,h.useRef)(null),[r,s]=(0,h.useState)(!1);return((0,h.useEffect)(()=>{o.current&&s(o.current.scrollHeight>(n?164:76))},[t,n]),i)?(0,f.jsx)(x.Od,{className:q().insuranceTypes,width:468,height:152}):(0,f.jsxs)("div",{className:q().insuranceTypes,children:[(0,f.jsx)("p",{className:q().infoItemTitle,children:"Виды страхования"}),(0,f.jsx)("div",{ref:o,className:(0,R.Z)(q().typesList,{[q().expanded]:a}),children:null==t?void 0:t.map(e=>(0,f.jsx)(b.Vp,{label:e.name,variant:"secondary",className:(0,R.Z)(q().insuranceTypeTag,{[q().insuranceTypeTagFull]:a})},e.id))}),r&&(0,f.jsx)(S.j,{text:a?"Свернуть":"Показать еще",mainPageUrl:M.qL,icon:a?w.IconFdsChevronUpSmallO:w.IconFdsChevronDownSmallO,iconColor:"light",className:q().showMoreLicensesButton,onClick:()=>{l(e=>(e&&o.current&&o.current.scrollIntoView({behavior:"smooth",block:"center"}),!e))},widthMaxContent:!0})]})},K=e=>{let t=(0,h.useRef)();(0,h.useEffect)(()=>{if("undefined"==typeof document)return;let i=window.innerWidth-document.documentElement.clientWidth;e&&i&&!document.body.style.top&&(t.current=window.scrollY||window.pageYOffset),e&&void 0!==t.current&&i&&(document.body.classList.add("hide-scrollbar"),document.documentElement.style.setProperty("overflow-y","scroll"),document.body.style.setProperty("width","calc(100vw - ".concat(i,"px)")),document.body.style.setProperty("top","-".concat(t.current,"px"))),e&&!i&&(document.body.style.setProperty("overflow","hidden"),document.body.style.setProperty("height","100vw"));let n=document.querySelectorAll("[data-portal]").length>1;e||n||(document.body.classList.remove("hide-scrollbar"),document.documentElement.style.removeProperty("overflow-y"),document.body.style.removeProperty("top")),e||n||void 0===t.current||(window.scrollTo(0,t.current),t.current=void 0)},[e])},J=(e,t)=>{(0,h.useEffect)(()=>{let i;let n=()=>{let i=e.current;if(!i)return;let n=i.getBoundingClientRect().top,a=i.getBoundingClientRect().bottom,l=0;for(let e of Array.from(i.children)){let t=e.getBoundingClientRect();if(t.bottom>n&&t.top<a)l++;else break}t(l)},a=new ResizeObserver(()=>{i=requestAnimationFrame(n)});return e.current&&a.observe(e.current),i=requestAnimationFrame(n),()=>{a.disconnect(),cancelAnimationFrame(i)}},[e,t])};var ee=i(71938),et=i(13372);let ei=(e,t)=>{var i,n,a;let l=[],o=F(e,t),r=U(e,t),s=z(t);if(o){let{legal_entities:e,email:i,ogrn:o,cpp:r,bic:s,inn:c,okpo:d}=t;if(Array.isArray(e)&&(null===(a=e[0])||void 0===a?void 0:null===(n=a.licenses)||void 0===n?void 0:n.length)){let{number:t,date:i}=e[0].licenses[0];l.push({title:"Лицензия",value:"№ ".concat(t," от ").concat((0,ee.p6)(i).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:i}=e[0]||{};t&&l.push({title:"Сокращенное наименование",value:t}),i&&l.push({title:"Юридический адрес",value:i})}i&&l.push({title:"Email",value:'<a href="mailto:'.concat(i,'">').concat(i,"</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:i,licenses:n}],legal_name:a}=t,o=a||i;e&&l.push({title:"Юридический адрес",value:e}),o&&l.push({title:"Полное наименование",value:o}),(null==n?void 0:n.length)&&l.push({title:"Свидетельство",value:n.map(e=>"№ ".concat(e.number," от ").concat((0,ee.p6)(e.date).toString()))})}return s&&(null===(i=t.legal_entities)||void 0===i?void 0:i[0])?t.legal_entities.map(e=>{let{address:t,name:i,registration_number:n}=e,a=[];return i&&a.push({title:"Юридическое лицо",value:i}),t&&a.push({title:"Юридический адрес",value:t}),n&&a.push({title:"Регистрационный номер",value:n}),a}):[l]},en=e=>{let{site:t,site_url:i}=e,n=[];i&&n.push({title:"Официальный сайт",value:'<a href="'.concat((0,et.N)(i),'" target="_blank">').concat(t||i,"</a>")});let a=e.phone||e.maintel;return a&&n.push({title:"Телефоны",value:"string"==typeof a?'<a href="tel:'.concat(a,'">').concat(a,"</a>"):'<a href="tel:'.concat(a.phone,'">').concat(a.phone,"</a> <span>").concat(a.description,"</span>")}),n},ea="Реквизиты",el="Контакты",eo=e=>{let{orgType:t,company:i,insuranceTypes:n,loadingInsuranceTypes:a}=e,l=(0,b.aF)("m"),o=U(t,i),r=t===D.$.bank,s="История ".concat(r?"банка":"компании"),c=(0,h.useRef)(null),[d,u]=(0,h.useState)(s),[m,v]=(0,h.useState)(!1),[p,_]=(0,h.useState)(!1),[g,y]=(0,h.useState)(3),[C,j]=(0,h.useState)(3);J(c,l?y:j),K(m);let N=t===D.$.insurance,{description:T}=i,k=ei(t,i),A=en(i),I=o?null==n?void 0:n.filter(e=>{var t,n,a;return null==i?void 0:null===(a=i.legal_entities)||void 0===a?void 0:null===(n=a[0])||void 0===n?void 0:null===(t=n.ins_types)||void 0===t?void 0:t.includes(Number(e.id))}):[],O=[s];k.length>0&&O.push(ea),A.length>0&&O.push(el);let E=d===s,B=e=>{u(e),_(!0)},F=T&&(0,f.jsxs)(f.Fragment,{children:[(0,f.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,f.jsx)(P.X,{organizationType:t,bannerUrl:o?L.Te[i.url]:void 0,compact:!0})]}),z=k.length>0&&(0,f.jsx)(G,{title:l?void 0:ea,items:k}),V=A.length>0&&(0,f.jsx)("div",{className:q().contacts,children:(0,f.jsx)(G,{title:l?void 0:el,items:[A]})}),Y=(!!(null==I?void 0:I.length)||a)&&(0,f.jsx)(Q,{insuranceTypes:I||[],loadingInsuranceTypes:a});return(0,f.jsx)(x.W2,{children:(0,f.jsx)("div",{className:q().wrapper,children:l?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("div",{className:q().bankInfoTabs,children:O.map(e=>(0,f.jsx)(S.j,{text:e,mainPageUrl:M.qL,icon:w.IconFdsChevronRightO,iconColor:"white",className:q().bankInfoTabButton,onClick:()=>B(e),widthMaxContent:!0},e))}),(0,f.jsx)(H.j,{title:d,isOpen:p,onClose:()=>{_(!1),y(3)},full:E,className:q().historyPopup,children:E?F:d===ea?(0,f.jsxs)(f.Fragment,{children:[z,Y]}):d===el?V:null})]}):(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("div",{className:q().topRow,children:[F,(0,f.jsx)(W.d,{className:q().drawer,contentClassName:q().container,isOpen:m,onClose:()=>v(!1),title:(0,f.jsx)("p",{className:q().historyTitle,children:s}),titleAlign:"left",width:"695px",rowTitle:!0,children:(0,f.jsx)("div",{className:(0,R.Z)(q().historyRows,q().historyModal),children:T&&$(T)})})]}),(0,f.jsxs)("div",{className:(0,R.Z)(q().bottomRow,N&&q().withoutWrap),children:[z,V]}),o&&Y]})})})};var er=i(49180),es=i(98607),ec=i(66285),ed=i(75599),eu=i(51479),em=i(54550),ev=i(82869),ep=i.n(ev);let e_=e=>"".concat(e," ").concat((0,x._6)(e,"отзыв","отзыва","отзывов")," на Финуслугах"),eg=e=>"cmsId"in e,ef=e=>{if(eg(e)){var t;return String(null!==(t=e.cmsId)&&void 0!==t?t:e.id)}return String(e.id)},eh=e=>(0,f.jsxs)("div",{className:(0,R.Z)(ep().starWrapper,{[ep().mid]:e.mid,[ep().big]:e.big,[ep().partial]:!e.total}),children:[(0,f.jsx)(w.IconFdsStarF,{size:e.big?20:16,className:ep().starIcon}),(0,ed.Z)(e.ratingValue),e.total?"/".concat(e.total):"",e.text?"/":"",(0,f.jsx)("span",{className:ep().starText,children:e.text})]}),ey=e=>{let t=e_(e.reviewsCount);return(0,f.jsxs)("div",{className:ep().lowReviewsRatingInfo,children:[(0,f.jsxs)("div",{className:ep().lowReviewsRatingTop,children:[(0,f.jsxs)("div",{className:ep().lowReviewsRatingTitle,children:[(0,f.jsx)(w.IconFdsStarF,{size:24,className:ep().lowReviewsRatingIcon}),(0,f.jsx)("span",{children:"Рейтинг отсутствует"})]}),(0,f.jsx)(S.j,{className:ep().lowReviewsRatingLink,text:t,mainPageUrl:M.qL,href:e.reviewsHref,target:"_self",offPadding:!0})]}),(0,f.jsxs)("div",{className:ep().lowReviewsRatingDescription,children:["Для расчета рейтинга нужно не менее ",5," отзывов"]})]})},ew=e=>{var t,i;let n=(0,b.aF)("m"),a=M.yi[e.orgType],l=e.companyPeopleRatings,o=(null==l?void 0:l.total_count)||0,r=e.orgType!==D.$.mfo,s=[ef(e.company)],c=(0,ec.G)({type:e.orgType,com:s}),d=Object.entries((null==l?void 0:l.service_count)||{}).map(e=>{let[t,i]=e;return{serviceId:t,count:i.count,rating:i.rating}}),u=Object.fromEntries((null===(i=e.serviceTypes)||void 0===i?void 0:null===(t=i[e.orgType])||void 0===t?void 0:t.map(e=>{let{id:t,...i}=e;return[t,i]}))||[]);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("p",{className:ep().description,children:["Составляется на основе отзывов клиентов ",a.name_rs]}),(0,f.jsxs)("div",{className:ep().peopleRatingWrapper,children:[!e.loading&&(0,f.jsx)("div",{className:ep().peopleRatingTopInfo,children:o<5?(0,f.jsx)(ey,{reviewsCount:o,reviewsHref:c}):(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(eh,{ratingValue:(null==l?void 0:l.total_rating_new)||0,text:"5",big:!0}),(0,f.jsx)(S.j,{className:ep().peopleRatingTopFullInfoLink,text:e_(o),mainPageUrl:M.qL,href:c,target:"_self"})]})}),e.loading&&(0,f.jsx)(x.Od,{className:ep().peopleRatingTopInfo,width:346,height:44}),r&&!e.loading&&d.map(t=>{var i;let{serviceId:a,count:l,rating:o}=t,r=null==u?void 0:null===(i=u[a])||void 0===i?void 0:i.name;if(!r)return null;let c=l?"".concat(l," ").concat((0,x._6)(l,"отзыв","отзыва","отзывов")):"",d=(0,ec.G)({type:e.orgType,com:s,service:a});return(0,f.jsx)("a",{href:d,className:ep().rowItem,onClick:()=>{(0,eu.D)({eventCategory:M.qL,eventActionType:eu.i.block,eventActionText:(0,em.b)(r),eventLabel:d})},children:(0,f.jsxs)("div",{className:ep().rowTitleWrapper,children:[!n&&(0,f.jsx)(eh,{ratingValue:o,total:5,mid:!0}),(0,f.jsx)("div",{className:ep().rowTitle,children:r}),(0,f.jsxs)("div",{className:ep().rowLink,children:[n&&(0,f.jsx)(eh,{ratingValue:o,mid:!0}),c&&(n?"/".concat(c):"(".concat(c,")"))]}),(0,f.jsx)(w.IconFdsArrowUpRightSmallO,{size:26,className:ep().rowItemIcon})]})},a)}),r&&e.loading&&[1,2,3,4,5].map(e=>(0,f.jsx)(x.Od,{className:ep().rowItem,height:n?92:64},e))]}),!n&&(0,f.jsxs)("p",{className:ep().disclaimer,children:["Рейтинги ",e.company.name_r||e.company.name," составлены на основании наиболее актуальных данных за"," ",new Date().getFullYear()," год"]})]})},ex=e=>{let{company:t,companyPeopleRatings:i,orgType:n,serviceTypes:a,loading:l}=e;return(0,f.jsx)("div",{className:ep().wrapper,children:(0,f.jsxs)("div",{className:ep().container,children:[(0,f.jsx)("div",{className:ep().body,children:(0,f.jsxs)("div",{className:ep().info,children:[(0,f.jsx)("h2",{className:ep().title,children:"Пользовательский рейтинг"}),(0,f.jsx)(ew,{company:t,companyPeopleRatings:i,orgType:n,serviceTypes:a,loading:l})]})}),(0,f.jsxs)("div",{className:ep().bannerWrapper,children:[(0,f.jsx)(er.v,{company:t.url,orgType:n,eventCategory:"companyDetail"}),(0,f.jsx)(es.u,{})]})]})})};var eb=i(91672),eC=i(96418),ej=i(68927),eN=i.n(ej);let eT=e=>{let{uslugiTabUrl:t,generalRating:i,name_rs:n,catalogUrl:a,company:l,organizationType:o,productsNum:r,onBankFeatureClick:s,getTabPath:c,reviewsCount:d}=e,u=(0,T.S)().NEXT_PUBLIC_BASE_URL,m=(0,b.aF)("xs"),v=o===D.$.bank,p=o===D.$.insurance,_=void 0!==d?d:l.reviews_num,g=_&&_>0?"".concat(_," ").concat((0,x._6)(_,"отзыв","отзыва","отзывов")):"";return(0,f.jsxs)("div",{className:eN().content,children:[(0,f.jsx)(P.X,{organizationType:o,bannerUrl:p?L.Te[l.url]:void 0}),(0,f.jsxs)("div",{className:eN().wrapper,children:[(0,f.jsx)("div",{className:eN().logo,children:(0,f.jsx)(eb.D,{bic:v&&l.bic||l.url||"",type:o,url:l.url,width:78,height:78,companyName:l.name})}),(0,f.jsxs)("div",{className:eN().info,children:[(0,f.jsxs)("div",{className:eN().company,children:[(0,f.jsx)("div",{className:eN().name,children:l.name}),!!i&&(0,f.jsxs)("div",{className:eN().rating,children:[(0,f.jsx)(w.IconFdsStarF,{size:m?20:24,className:eN().iconStar}),(0,ed.Z)(i)]})]}),(0,f.jsx)("p",{className:eN().description,children:l.short_description}),(0,f.jsx)(S.j,{className:eN().fullInfoLink,text:"Каталог всех ".concat(n),mainPageUrl:u,href:"".concat(u,"/").concat(a),target:"_self"})]}),(0,f.jsxs)("div",{className:eN().rightInfo,children:[r>0&&(0,f.jsx)(eC.E,{title:"Продукты",link:"".concat(r," ").concat((0,x._6)(r,"продукт","продукта","продуктов")," на сайте"),color:"#E7F9F6",icon:(0,f.jsx)(w.IconFdsOctostarCheckO,{size:24}),onClick:()=>s("uslugi"),href:c({tab:{id:"uslugi",path:"/".concat(t)}})}),(0,f.jsx)(eC.E,{title:"Пользовательский рейтинг",link:"Составляется на основе отзывов",color:"#FEF1FE",icon:(0,f.jsx)(w.IconFdsChartTrendSquareO,{size:24}),onClick:()=>s("ratings"),href:c({tab:{id:"ratings",path:"/rejtingi"}})}),(0,f.jsx)(eC.E,{title:_?"Клиенты рекомендуют":"Отзывов нет",link:g,color:"#FFF4E0",icon:(0,f.jsx)(w.IconFdsChatDotsSquareO,{size:24}),onClick:()=>s("reviews"),href:c({tab:{id:"reviews",path:"/otzyvy"}})}),(0,f.jsx)(S.j,{className:eN().fullInfoLink,text:"Каталог всех ".concat(n),mainPageUrl:M.qL,href:"".concat(u,"/").concat(a),target:"_self"})]})]})]})};var ek=i(41356);let eR=[{value:"newest",label:"Сначала новые"},{value:"oldest",label:"Сначала старые"},{value:"high-rating",label:"С высокой оценкой"},{value:"low-rating",label:"С низкой оценкой"}];var eS=i(45418),eA=i(36773);let eI=(e,t,i,n)=>e.map(e=>{let a;let l="SK"===e.target?D.$.insurance:"MFO"===e.target?D.$.mfo:D.$.bank;a=l===D.$.insurance?null==i?void 0:i.insurance_companies.find(t=>t.id===e.company_id):l===D.$.mfo?null==i?void 0:i.mfos.find(t=>t.id===e.company_id):null==i?void 0:i.companies.find(t=>t.id===e.company_id),n&&(a=n);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==a?void 0:a.logo_mob,fkName:null==a?void 0:a.name,fkUrl:null==a?void 0:a.url,bic:(0,eA.A)(a)||void 0,serviceName:(null==r?void 0:r.name_sing)||(null==r?void 0:r.name)}});var eL=i(22870),eP=i(58439),eO=i.n(eP);let eE=e=>{var t;let{company:i,orgType:n,companyReviews:a,maxPage:l,serviceTypes:o,initialPage:r}=e,[s,c]=(0,h.useState)(a),[d,u]=(0,h.useState)(o),[m,v]=(0,h.useState)("newest"),[p,_]=(0,h.useState)(!1),[g,y]=(0,h.useState)(l>1),C=(0,h.useRef)(r),[j,N]=(0,h.useState)(!a.length),[T,k]=(0,h.useState)(!1),R=(0,h.useRef)(!0),S=eI(s,d,null,i),A=(null===(t=eR.find(e=>e.value===m))||void 0===t?void 0:t.label)||eR[0].label,I="oldest"===m||"low-rating"===m,L=n===D.$.mfo&&i.cmsId?i.cmsId:null,P=(0,h.useMemo)(()=>(0,ek.K1)({type:n,companyIds:L?[L]:[i.id],sort:"high-rating"===m||"low-rating"===m?"rating":void 0,orderDesc:!I}),[n,i.id,L,m,I]),O=(0,h.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;C.current=e,1===e?N(!0):k(!0),(0,ek.Jh)(P.reviews,e,4,void 0,L||void 0).then(t=>{var i;c(i=>{var n,a;return 1===e?(null==t?void 0:null===(n=t.result)||void 0===n?void 0:n.reviews)||[]:[...i,...(null==t?void 0:null===(a=t.result)||void 0===a?void 0:a.reviews)||[]]}),y(e+1<=((null==t?void 0:null===(i=t.result)||void 0===i?void 0:i.pages)||0)),u(e=>e||(0,eL.c)(t))}).finally(()=>{N(!1),k(!1)})},[P.reviews,L]);(0,h.useEffect)(()=>{if(R.current&&a.length>0){R.current=!1;return}O()},[O]);let E=(0,h.useCallback)(e=>{(0,eu.D)({eventCategory:M.qL,eventActionType:eu.i.select,eventActionText:(0,em.b)(e.label)}),v(e.value),_(!1)},[v,_]);return(0,f.jsxs)("section",{className:eO().section,children:[(0,f.jsx)(x.W2,{children:(0,f.jsx)("div",{className:eO().sortWrapper,children:(0,f.jsxs)(b.Lt,{opened:p,placement:"bottom-end",onToggle:_,children:[(0,f.jsxs)(b.WA,{onClick:()=>_(!0),className:eO().activeSortOption,children:[I?(0,f.jsx)(w.IconFdsSortAscendingO,{className:eO().sortIcon}):(0,f.jsx)(w.IconFdsSortDescendingO,{className:eO().sortIcon}),A]}),(0,f.jsx)(b.Nv,{children:eR.map(e=>(0,f.jsx)(b.Qr,{label:e.label,onClick:()=>E(e)},e.value))})]})})}),(0,f.jsx)(eS.j,{reviews:S,onShowMore:g?()=>{O((C.current||1)+1)}:void 0,loading:j,loadingMore:T,eventCategory:"companyDetail",initialMaxPage:l,initialPage:r,company:i})]})};var eB=i(87334),eM=i(95777),eD=i(37953),eF=i.n(eD);let eU=e=>{let{label:t,preposition:i,value:n,isTitle:a}=e,l=i?"".concat(i," ").concat(n):n,o=a&&"string"==typeof n?l:"";return(0,f.jsxs)("div",{className:(0,R.Z)(eF().group,a&&eF().titleGroup),children:[(0,f.jsx)("p",{className:eF().groupSub,title:a&&"string"==typeof t?t:"",children:t}),(0,f.jsxs)("p",{className:(0,R.Z)(eF().groupContent,i&&eF().nowrap),title:o,children:[i&&(0,f.jsx)("span",{className:eF().preposition,children:i})," ",n]})]})},ez=e=>"credit_group_id"in e,eW=e=>"card_group_id"in e,eH=e=>"deposit_group_id"in e,eV=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||"mfo_name"in e||"mfo_url"in e;var eY=i(57431),eX=i(90138),eG=i(23649);let eQ={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"},eK={background:"var(--color-blue-200)"},eJ={background:"var(--color-purple-200)"},e0={background:"var(--color-pink-100)"},e1=e=>(0,f.jsx)("span",{dangerouslySetInnerHTML:{__html:e}}),e2=e=>{var t;return(null===(t=e.online_application)||void 0===t?void 0:t.type)===3},e4=e=>{var t;return(null===(t=e.online_application)||void 0===t?void 0:t.commercial)===1},e6=e=>{var t,i,n;let a=[],l=[],o=null===(t=e.full_price)||void 0===t?void 0:t.from,r=null===(i=e.full_price)||void 0===i?void 0:i.to;void 0!==o&&void 0!==r&&a.push({name:eQ.FULL_PRICE,label:"Полная стоимость кредита",value:(0,eX.m)("".concat(o,"-").concat(r,"%"))});let s=e.payment;s&&a.push({name:eQ.MONTHLY_PAYMENT,label:"Ежемесячный платеж",preposition:"от",value:e1((0,eY.u)(s))});let c=null===(n=e.amount)||void 0===n?void 0:n.to;return c&&a.push({name:eQ.AMOUNT,label:"Сумма",preposition:"до",value:e1((0,eY.u)(Number(c)))}),l.push({text:"Кредит",style:eK}),e2(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:a,chips:l}},e5=e=>{let t=[],i=[],n=e.first_year_cost;if(n){let e="Бесплатно"===n?n:(0,eY.u)(+n.replace(/[^\d]/g,""));t.push({name:eQ.YEAR_COST,label:"Обслуживание в год",value:e1(e)})}let a=e.credit_limit_to;a&&t.push({name:eQ.LIMIT,label:"Кредитный лимит",preposition:"до",value:e1((0,eY.u)(Number(a)))});let l=e.grace_period;return l&&t.push({name:eQ.GRACE_PERIOD,label:"Льготный период",preposition:"до",value:"".concat(l," ").concat((0,x._6)(l,"дня","дней","дней"))}),i.push({text:"Кредитные карты",color:"orange"}),1===e.online_application.unplatform_banks?i.push({text:"Подача заявки на Финуслугах",style:eJ}):e4(e)&&3!==e.online_application.type?i.push({text:"Подача заявки на сайте банка",style:eJ}):3!==e.online_application.type&&i.push({text:"Открытие в банке",style:eJ}),e.online_application.commercial_desc&&i.push({text:e.online_application.commercial_desc,color:"primary"}),i.push({text:e.proof_income_need_not?"Без справок":"Требуется подтверждение дохода",color:"primary"}),{fields:t,chips:i}},e3=e=>{var t,i,n,a,l,o,r,s;let c=[],d=[],u=null===(i=e.interest_rate)||void 0===i?void 0:null===(t=i.rates[0])||void 0===t?void 0:t.rate;u&&c.push({name:eQ.RATE,label:"Ставка",value:"".concat(u,"%")});let m=null===(a=e.interest_rate)||void 0===a?void 0:null===(n=a.rates[0])||void 0===n?void 0:n.term_from;if(m){let t=m<e.interest_rate.rates[0].term_to?"от":"",i="";i=m<30?"".concat(m," дн."):m>365?"".concat(Math.round(m/365)," ").concat((0,x._6)(Math.round(m/365),...t?["года","лет","лет"]:["год","года","лет"])):"".concat(Math.round(m/30)," мес."),c.push({name:eQ.TERM,label:"Срок",preposition:t,value:i})}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=(0,eG.z)(e.currency_id).unit;c.push({name:eQ.AMOUNT,label:"Сумма вклада",preposition:"от",value:e1("".concat((0,eY.u)(v,!0,t)))})}let p=!!e.type.saving_account||!!e.asSavingAccount;return d.push(p?{text:"Накопительный счет",style:eK}:{text:"Вклад",color:"orange"}),e2(e)?d.push({text:"Открытие онлайн на Финуслугах",color:"purple"}):e4(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}},e7=e=>{var t,i,n,a;let l=[],o=[],r=null===(t=e.full_price)||void 0===t?void 0:t.from,s=null===(i=e.full_price)||void 0===i?void 0:i.to;r&&s&&l.push({name:eQ.FULL_PRICE,label:"Полная стоимость кредита",value:(0,eX.m)("".concat(r,"-").concat(s,"%"))});let c=null===(n=e.amount)||void 0===n?void 0:n.to;c&&l.push({name:eQ.AMOUNT,label:"Сумма кредита",preposition:"до",value:e1((0,eY.u)(Number(c)))});let d=null===(a=e.first_payment)||void 0===a?void 0:a.from;return d&&l.push({name:eQ.FIRST_PAYMENT,label:"Первый взнос",preposition:"от",value:"".concat(d,"%")}),o.push({text:"Ипотека",color:"green"}),e2(e)?o.push({text:"Открытие онлайн на Финуслугах",color:"purple"}):e4(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}},e9=e=>{var t,i,n,a;let l=[],o=[],r=null===(t=e.full_price)||void 0===t?void 0:t.from,s=null===(i=e.full_price)||void 0===i?void 0:i.to;r&&s&&l.push({name:eQ.FULL_PRICE,label:"Полная стоимость кредита",value:(0,eX.m)("".concat(r,"-").concat(s,"%"))});let c=null===(n=e.amount)||void 0===n?void 0:n.from;c&&l.push({name:eQ.AMOUNT,label:"Сумма",preposition:"от",value:e1((0,eY.u)(Number(c)))});let d=null===(a=e.first_payment)||void 0===a?void 0:a.from;return d&&l.push({name:eQ.FIRST_PAYMENT,label:"Первый взнос",preposition:"от",value:"".concat(d,"%")}),o.push({text:"Автокредит",style:e0}),e4(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}},e8=e=>{var t,i,n,a,l;let o=[],r=[],s=(null===(i=e.service_cost)||void 0===i?void 0:null===(t=i.custom_text)||void 0===t?void 0:t.content)||(null===(n=e.service_cost)||void 0===n?void 0:n.first_year_cost);if(s){let t=(0,eG.z)(e.currency_id).unit,i="Бесплатно"===s?s:(0,eY.u)(+s.replace(/[^\d]/g,""),!0,t);i&&o.push({name:eQ.SERVICE_COST,label:"Обслуживание в год",value:e1(i)})}let c=e.balance_interest_number?"".concat(e.balance_interest_number,"%"):"Нет";o.push({name:eQ.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===(a=l.text)||void 0===a?void 0:a.toLowerCase());return u.includes("путешествия")&&(d="Мили"),u.includes("торговые сети")&&(d="Баллы"),d&&o.push({name:eQ.BONUS,label:"Бонусы",value:d}),r.push({text:"Дебетовая карта",color:"orange"}),e4(e)&&3!==e.online_application.type?r.push({text:"Подача заявки на сайте банка",style:eJ}):3!==e.online_application.type&&r.push({text:"Открытие в банке",style:eJ}),e.online_application.commercial_desc&&r.push({text:e.online_application.commercial_desc,color:"primary"}),{fields:o,chips:r}},te=e=>{var t;let i=[],n=+(null!==(t=e.term_without_percents)&&void 0!==t?t:"");n>0&&i.push({name:eQ.TERM_WITHOUT_PERCENTS,label:"Срок без %",value:"".concat(n," ").concat((0,x._6)(Number(n),"день","дня","дней"))}),e.amount.to&&i.push({name:eQ.AMOUNT,label:"Сумма",value:e1((0,eY.u)(Number(e.amount.to),!0,!1)),preposition:"до"});let a=e.period.to;return a&&i.push({name:eQ.TERM,label:"Срок",value:"".concat(a," ").concat((0,x._6)(Number(a),"дня","дней","дней")),preposition:"до"}),{fields:i,chips:[]}},tt=e=>{let t=[],i=[];if(ez(e)){let{fields:n,chips:a}=e6(e);t=n,i=a}if(eW(e)){let{fields:n,chips:a}=e5(e);t=n,i=a}if(eH(e)){let{fields:n,chips:a}=e3(e);t=n,i=a}if(eV(e)){let{fields:n,chips:a}=e7(e);t=n,i=a}if(eq(e)){let{fields:n,chips:a}=e9(e);t=n,i=a}if(e$(e)){let{fields:n,chips:a}=e8(e);t=n,i=a}if(eZ(e)){let{fields:n,chips:a}=te(e);t=n,i=a}return{fields:t,chips:i}};var ti=i(94825),tn=i(75950),ta=i.n(tn);let tl=e=>{let{offer:t,company:i,isLastOfferOnPage:n,order:a,isWhiteCard:l=!1}=e,o=(0,T.S)(),r=(0,y.usePathname)(),s=z(i),c=(0,h.useMemo)(()=>({offerId:String(t.id),order:a,category:"mfo"}),[t.id,a]),d=function(e,t){let[i,n]=(0,h.useState)(""),a=(0,eB.u)(),l=(0,eM.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,h.useEffect)(()=>{if(!e)return;let t=null;try{t=new URL(e)}catch(e){return}(function(e,t){let{pathname:i,utmSource:n,utmMedium:a,utmCampaign:l,utmTerm:o,utmContent:r,clickId:s}=t;void 0!==i&&e.set("page_path",i),void 0!==n&&e.set("utm_source",n),void 0!==a&&e.set("utm_medium",a),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,a),function(e,t){let{browserId:i,sessionId:n,customerId:a,yandexId:l}=t;void 0!==l&&e.set("t6",l),void 0!==n&&e.set("t7",n),void 0!==i&&e.set("t8",i),void 0!==a&&e.set("t9",a)}(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),n(t.toString())},[e,a,l,o,d,c]),i}(t.online_application.url,c),u=o.NEXT_PUBLIC_BASE_URL,{fields:m,chips:v}=tt(t),p=(0,h.useMemo)(()=>1===t.online_application.commercial,[t.online_application]),_=(0,h.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,eu.D)({eventCategory:M.qL,eventActionType:eu.i.offer,eventActionText:(0,em.b)(t.title),eventLabel:e})};return(0,f.jsxs)("div",{className:(0,R.Z)(ta().card,{[ta().paddingForButton]:n,[ta().whiteCard]:l}),children:[(0,f.jsx)("div",{className:ta().top,children:(0,f.jsxs)("div",{className:ta().topContent,children:[(0,f.jsxs)("div",{className:ta().bankInfo,children:[(0,f.jsx)("div",{className:ta().icon,children:(0,f.jsx)(eb.D,{bic:(0,eA.A)(i)||(null==i?void 0:i.url),type:(0,eA.A)(i)?ti.yz.bank:ti.yz.mfo,url:null==i?void 0:i.url,width:40,height:40,companyName:null==i?void 0:i.name})}),(0,f.jsx)(eU,{label:t.title,value:null==i?void 0:i.name,isTitle:!0})]}),(0,f.jsx)("div",{className:ta().groups,children:m.map(e=>e.value&&(0,f.jsx)(eU,{label:e.label,preposition:e.preposition,value:e.value},e.name))})]})}),(0,f.jsxs)("div",{className:ta().bottom,children:[v.length>0&&(0,f.jsx)("div",{className:ta().chips,children:v.map(e=>(0,f.jsx)("div",{className:ta().chipWrapper,children:(0,f.jsx)(b.Vp,{label:e.text,variant:e.color,className:ta().chip,style:e.style,rounded:!0})},e.text))}),(0,f.jsxs)("div",{className:ta().buttons,children:[(0,f.jsx)(b.zx,{className:ta().offerButton,variant:"secondary",size:"xs",label:"Подробнее",as:"a",target:"_blank",href:_,onClick:g(_)}),p&&(0,f.jsx)(b.zx,{rel:"nofollow",size:"xs",label:"Оформить",as:"a",target:"_blank",href:d,onClick:g(t.online_application.url)})]})]}),n&&(0,f.jsx)("div",{className:ta().lastOfferCornerGradient})]},t.id)};var to=i(34914),tr=i.n(to);let ts=["предложение","предложения","предложений"],tc=e=>{var t;let{offers:i,bank:n,loading:a}=e,l=z(n),o=null!==(t=null==i?void 0:i.length)&&void 0!==t?t:0,[r,s]=(0,h.useState)(1),c=l?o:Math.min(o,6*r),d=o-c,u="Ещё ".concat(d," ").concat((0,x._6)(d,...ts));return(0,f.jsx)("div",{className:l?void 0:tr().wrapper,children:(0,f.jsxs)(x.W2,{className:(0,R.Z)(tr().productsListContainer,{[tr().containerTopPadding]:!l}),children:[!l&&!(a||!i)&&(0,f.jsx)("h2",{className:tr().title,children:"Найдено ".concat(o," ").concat((0,x._6)(null!=o?o:0,...ts))}),(0,f.jsx)("div",{id:"offers-list",className:(0,R.Z)(tr().offersList),children:null==i?void 0:i.slice(0,c).map((e,t)=>{let i=c===t+1&&d>0;return(0,f.jsx)(tl,{company:n,offer:e,order:t,isLastOfferOnPage:l?void 0:i,isWhiteCard:l},e.id)})}),!l&&d>0&&(0,f.jsx)("div",{className:tr().showMore,children:(0,f.jsx)(b.zx,{variant:"purple",appearance:"ghost",label:u,onClick:()=>s(e=>e+1),className:tr().showMoreButton,disabled:c>=o,iconRight:(0,f.jsx)(w.IconFdsChevronDownSmallO,{className:tr().showMoreIcon})})})]})})};var td=i(90498),tu=i.n(td);let tm=(e,t,i)=>{var n;let a=e=>{if(null==e)return null;let t="string"==typeof e?Number(e):e;return Number.isNaN(t)?null:t},l=e=>{let t=a(e);return null!==t&&t>0?t:null},o=e.map(e=>a(t(e))).filter(e=>null!==e),r=e.map(e=>l(i(e))).filter(e=>null!==e),s=o.length>0?Math.min(...o):0,c=r.length>0?Math.max(...r):null,d=o.length>0?Math.max(...o):null,u=null!==(n=null!=c?c:d)&&void 0!==n?n:s;return{low:s,high:Math.max(u,s)}},tv=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)||""},tp=(e,t)=>{var i;return(null===(i=e.short_description)||void 0===i?void 0:i.trim())||"Открыть вклад ".concat(e.title," от ").concat(t," — актуальные процентные ставки по депозитам, условия и онлайн расчет дохода")},t_=e=>{var t,i,n,a,l,o,r,s,c;return String(null!==(c=null!==(s=null!==(r=null!==(o=null===(n=e.interest_rate)||void 0===n?void 0:null===(i=n.rates)||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t.rate)&&void 0!==o?o:e.interest_rate_from)&&void 0!==r?r:null===(a=e.interest_rate)||void 0===a?void 0:a.from)&&void 0!==s?s:null===(l=e.interest_rate)||void 0===l?void 0:l.to)&&void 0!==c?c:0)},tg=e=>(e||[]).slice(0,2).map(e=>({"@type":"Review",author:{"@type":"Person",name:e.name},datePublished:e.date?(0,ee.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}})),tf=e=>{var t,i;let{baseUrl:n,assetsUrl:a,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(n,"/banki/").concat(s.url,"/").concat(d),f="".concat(a,"/mp-assets/images/bank/logo-brandmark-bank-").concat(_,".svg"),h={"@context":"https://schema.org","@type":"Product",name:o,description:r,url:g},{low:y,high:w}=tm(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:b}=tm(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}=tm(p,e=>e.credit_limit_from,e=>e.credit_limit_to),N={"@type":"BankOrCreditUnion",name:s.name,url:tv(s),image:f,...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={"@type":"AggregateRating",ratingValue:null!=u?u:0,reviewCount:s.reviews_num,ratingCount:s.reviews_num,bestRating:5,worstRating:0};if("debitCards"===c){let e="".concat(n,"/banki/").concat(s.url);return{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":e,name:s.name,url:e,logo:f},{"@type":"Product","@id":g,name:o,brand:{"@id":e},description:r,offers:{"@type":"AggregateOffer",priceCurrency:"RUB",lowPrice:x,highPrice:b,offerCount:l.length,url:g,availability:"https://schema.org/InStock"},isRelatedTo:{"@type":"ItemList",name:"Предложения дебетовых карт",itemListElement:p.map((t,i)=>{var a,l,o,r;return{"@type":"ListItem",position:i+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===(a=l[0])||void 0===a?void 0:a.amount_from)&&void 0!==r?r:0,priceCurrency:(0,eG.z)(t.currency_id).code,url:"".concat(n,"/debetovye_karty/").concat(t.url),availability:"https://schema.org/InStock"}}}})}}]}}if("cards"===c)return{...h,image:f,offers:{"@type":"AggregateOffer",priceCurrency:"RUB",lowPrice:C,highPrice:j,offerCount:l.length,url:g,offers:p.map(e=>({"@type":"CreditCard",url:"".concat(n,"/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{...h,image:f,offers:{"@type":"AggregateOffer",priceCurrency:"RUB",lowPrice:y,highPrice:w,offerCount:l.length,url:g,offers:p.map(e=>{let{amount:t,period:i,interest_rate:a}=e,l="".concat(n,"/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"}},...i&&i.to&&{loanTerm:{"@type":"QuantitativeValue",value:i.to,unitCode:"DAY"}},...a&&a.to&&a.from&&{annualPercentageRate:{"@type":"QuantitativeValue",name:"".concat(a.from,"–").concat(a.to,"%"),minValue:a.from,maxValue:a.to}},broker:N,potentialAction:{"@type":"Action",name:"Подробнее",url:l}}})},...u&&{aggregateRating:T}};if("mortgages"===c)return{...h,image:f,offers:{"@type":"AggregateOffer",priceCurrency:"RUB",lowPrice:y,highPrice:w,offerCount:l.length,url:g,offers:p.map(e=>{let{amount:t,period:i,interest_rate:a}=e,l="".concat(n,"/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"}},...i&&i.to&&{loanTerm:{"@type":"QuantitativeValue",value:i.to,unitCode:"DAY"}},...a&&a.to&&a.from&&{annualPercentageRate:{"@type":"QuantitativeValue",name:a.from===a.to?"".concat(a.to,"%"):"".concat(a.from,"–").concat(a.to,"%"),minValue:a.from,maxValue:a.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(n,"/vklady/").concat(e.url),amount:{"@type":"MonetaryAmount",currency:"RUB",value:e.amount&&e.amount.from?e.amount.from:"1"},description:tp(e,k),annualPercentageRate:t_(e)})),S="deposits"===c?tg(v):[],A={...h,brand:{"@type":"Brand",name:s.name},...T&&{aggregateRating:T},...S.length&&{review:S},isRelatedTo:R};if("deposits"===c){let e={"@type":"AggregateOffer",lowPrice:y,highPrice:w,priceCurrency:"RUB",offerCount:l.length};A.offers=e,(null==m?void 0:m.published)&&R.push({"@type":"Quotation",text:(i=m.content,tu()(i,{allowedTags:[],allowedAttributes:{}})),author:{"@type":"Person",name:m.expert.name,jobTitle:m.expert.position,sameAs:"".concat(n,"/navigator/").concat(m.expert.url)}})}return A};var th=i(3994),ty=i.n(th);let tw=e=>{let{service:t,href:i,active:n,onClick:a,hideCount:l}=e;return(0,f.jsxs)("a",{href:i,className:(0,R.Z)(ty().tile,{[ty().active]:n}),onClick:a,children:[(0,f.jsxs)("span",{className:ty().tileContent,children:[t.icon,(0,f.jsx)("span",{className:ty().tileTitle,children:t.title})]}),!l&&(0,f.jsx)("span",{className:ty().count,children:t.count})]})};var tx=i(4806),tb=i.n(tx);let tC=e=>{let{data:t,loading:i,activeService:n,hideCount:a}=e;return(0,f.jsx)("div",{className:tb().wrapper,children:(0,f.jsxs)("div",{className:tb().tiles,children:[t.map(t=>(0,f.jsx)(tw,{service:t,href:e.getHref(t.link),active:t.title===(null==n?void 0:n.title),onClick:e.onClick(t),hideCount:a},t.title)),i&&!t.length&&[1,2,3,4,5].map(e=>(0,f.jsx)(x.Od,{className:tb().skeleton},e))]})})};var tj=i(42593),tN=i(65993),tT=i.n(tN);let tk=e=>{var t;let{servicesBlocks:i,offersBlocks:n,bank:a,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)(),w=(0,h.useRef)(null),b=l?null==n?void 0:null===(t=n[l.serviceName])||void 0===t?void 0:t.data:null,C=(0,h.useCallback)((e,t)=>{o(e),!t&&w.current&&setTimeout(()=>{var e;null===(e=w.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"start"})},100)},[o]);return(0,h.useEffect)(()=>{!l&&(null==i?void 0:i[0])&&C(i[0],!0)},[g]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(x.W2,{className:tT().section,children:[(0,f.jsx)(tC,{data:i,getHref:e=>"/banki/".concat(a.url,"/").concat(e).concat((0,tj.a)(d,u)),onClick:e=>t=>{t.preventDefault(),(0,eu.D)({eventCategory:M.qL,eventActionType:eu.i.tab,eventActionText:(0,em.b)(e.title)}),C(e)},loading:c,activeService:l}),(0,f.jsx)("div",{ref:w})]}),(0,f.jsx)(tc,{offers:b||null,tags:[],bank:a,loading:c},g),Array.isArray(b)&&(null==b?void 0:b.length)>0&&(0,f.jsx)(I.d,{data:tf({baseUrl:_.NEXT_PUBLIC_BASE_URL,assetsUrl:_.NEXT_PUBLIC_S3_ASSETS,items:b,h1:r,description:s,company:a,service:(null==l?void 0:l.serviceName)||"",serviceLink:(null==l?void 0:l.link)||"",generalRating:m,quote:v,reviews:p})})]})},tR=e=>{let{services:t,loading:i}=e,n=(0,T.S)().NEXT_PUBLIC_BASE_URL;return(0,f.jsx)(x.W2,{className:tT().section,children:(0,f.jsx)(tC,{data:t||[],getHref:e=>"".concat(n,"/").concat(e),onClick:e=>()=>{(0,eu.D)({eventCategory:M.qL,eventActionType:eu.i.tab,eventActionText:(0,em.b)(e.title),eventLabel:e.link})},loading:i&&!t,activeService:null,hideCount:!0})})},tS=e=>{let{organizationType:t,servicesBlocks:i,servicesLoading:n,bankServices:a,company:l,pageTitle:o,description:r,activeService:s,handleServiceChange:c,region:d,town:u,loading:m,mfoOffers:v,generalRating:p,quote:_,reviews:g}=e,h=t===D.$.bank,y=t===D.$.insurance,w=t===D.$.mfo;return h&&((null==i?void 0:i.length)>0||n)?(0,f.jsx)(tk,{servicesBlocks:i,offersBlocks:a,bank:l,h1:o,description:r||"",activeService:s,setActiveService:c,loading:n,region:d,town:u,generalRating:p,quote:_,reviews:g}):y?(0,f.jsx)(tR,{services:i,loading:m}):w?(0,f.jsx)(tc,{tags:[],offers:v||null,bank:l,loading:!v&&n}):null};var tA=i(54583),tI=i(27163);let tL=async()=>(await (0,tI.t)({url:"/money_data/BankTowns.json"})).data;var tP=i(25986),tO=i(10611);let tE=async(e,t)=>e&&t?(await (0,tI.t)({url:"/api/v1/stats/banks/".concat(e,"/tags?tagId=").concat(t),options:{isHeadlessCMS:!0}})).data:null,tB=()=>(0,tI.t)({url:"/api/v2/product-tags",options:{isHeadlessCMS:!0}});var tM=i(89304),tD=i(58560);let tF=(e,t,i)=>{var n,a;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||(e.custom_towns||[]).some(e=>Number(e)===t.id)||!e.limited_regions&&(null==i?void 0:null===(n=i.bank_towns)||void 0===n?void 0:n[e.bank_id])&&(null==i?void 0:null===(a=i.bank_towns)||void 0===a?void 0:a[e.bank_id].includes(t.id))))},tU=(e,t,i,n)=>Object.entries(e).reduce((e,a)=>{var l;let[o,r]=a,s=(null==r?void 0:null===(l=r.data)||void 0===l?void 0:l.filter(e=>tF(e,t,i)))||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&&n?n.platformProducts.length+n.nonPlatformProducts.length:c,serviceText:r.serviceText},e},{}),tz=async e=>{var t,i,n;let a=(null==e?void 0:null===(t=e.company)||void 0===t?void 0:t.name_r)||(null==e?void 0:null===(i=e.company)||void 0===i?void 0:i.name)||"",l=null==e?void 0:e.locationText,o=null==e?void 0:e.activeTag,r=await (0,tP.bw)({companyName:e.company.url,service:"deposit"}),s=((null==r?void 0:null===(n=r.data)||void 0===n?void 0:n.deposits)||[]).map(e=>{var t,i;return(null==e?void 0:null===(i=e.interest_rate)||void 0===i?void 0:null===(t=i.rates)||void 0===t?void 0:t[0].rate)||0});return"".concat(o?o.name:"Вклады"," ").concat(a).concat(l," для физических лиц на сегодня со ставкой до ").concat(Math.max(...s),"%")};var tW=i(54634);let tH=async(e,t,i,n,a,l,o,r)=>{let s=F(a,e),c=z(e),d=U(a,e),u=(0,M.xB)(t,""),m=i&&Object.values(M.RV).some(e=>e==="/".concat(i)),v=s&&!u.some(e=>e.link===i),p=d&&!M.hu[i];if(i&&!i.includes("reg_")&&(v||c&&"mikrozajmy"!==i||p)&&!m)return(0,y.notFound)();let _=u.find(e=>n.includes(e.link)),g=(0,M.i7)(e,a,s,!1),f=g.find(e=>(0,tW.S)(e,n))||g[0],h=(null==e?void 0:e.name_r)||(null==e?void 0:e.name)||"",w=_?"".concat(_.title," ").concat(h," — Финуслуги"):f.metaTitle||f.title,x=(null==o?void 0:o.name_p)||(null==l?void 0:l.name_p),b=x?" в ".concat(x):"";return a===D.$.insurance&&"ratings"===f.id?"Рейтинг страховой компании ".concat(e.name):(null==_?void 0:_.serviceName)==="deposits"?await tz({company:e,locationText:b,activeTag:r}):(null==_?void 0:_.serviceName)==="debitCards"?"".concat(r?r.name:"Дебетовые карты"," ").concat(h).concat(b," - оформить онлайн заявку на карту на Финуслугах"):(null==_?void 0:_.serviceName)==="kasko"?"".concat(_.title," в ").concat(h).concat(b,": выбрать страховку через Финуслуги"):(null==_?void 0:_.serviceName)==="osago"?"".concat(_.title," в ").concat(h).concat(b,": выбрать страховку на авто через Финуслуги"):c&&"mikrozajmy"===i&&r?"".concat(r.name," от ").concat(h).concat(b,": оформить микрозайм ").concat(b?"":"от ".concat(h)," на Финуслугах"):c&&"mikrozajmy"===i?"Услуги ".concat(h).concat(b,": посмотреть все предложения от МФО ").concat(e.name):c&&"rejtingi"===i?"Рейтинг МФО ".concat(h,": отзывы клиентов, адреса офисов и вся информация о МФО ").concat(h):c&&"otzyvy"===i?"Отзывы о МФО ".concat(e.name,": честные отзывы клиентов, рейтинги и вся информация о МФО ").concat(e.name):c?"Информация о ".concat(e.name_p,": финансовый рейтинг, отзывы клиентов, адреса офисов МФО ").concat(e.name):(null==_?void 0:_.serviceName)==="credits"?"".concat(r?"".concat(r.name," от"):"Кредиты"," ").concat(h).concat(b," — оформить ").concat(r?"":"кредит"," через Финуслуги"):(null==_?void 0:_.serviceName)==="cards"&&r?"".concat(r.name," ").concat(h).concat(b,": оформить кредитку через Финуслуги"):(null==_?void 0:_.serviceName)==="cards"?"Кредитные карты ".concat(h).concat(b,": оформить на официальном сайте Финуслуги"):(null==_?void 0:_.serviceName)==="mortgages"?"".concat(r?"".concat(r.name," от"):"Ипотека"," ").concat(h).concat(b,": подать заявку через Финуслуги"):(null==_?void 0:_.serviceName)==="autoCredits"&&r?"".concat(r.name," от ").concat(h).concat(b,": оформить на официальном сайте Финуслуги"):(null==_?void 0:_.serviceName)==="autoCredits"?"Автокредиты ".concat(h).concat(b,": выбрать и оформить через Финуслуги"):"".concat(w)};var tV=i(48156);async function tq(e){var t,i,n,a,l,o,r,s,c,d,u,m,v,p;let _=(0,T.S)().NEXT_PUBLIC_BASE_URL,[g,f,h]=e||[],w=(null==e?void 0:e.join("/"))||"",x=e.findIndex(e=>e.startsWith("reg_")),b=x>-1?e[x].replace("reg_",""):void 0,C=b?e[x+1]:void 0,j=(0,tW.I)(w),N=null==e?void 0:e.find(e=>e.startsWith("teg_")),k=M._V.includes(g)?D.$.insurance:M.N3.includes(g)?D.$.mfo:D.$.bank,R=k===D.$.bank,S=k===D.$.insurance,A=k===D.$.mfo?await (0,tP.fM)(f):await (0,tP.IZ)(f,k);if(!A||!R&&"uslugi"===h||h&&!M.pj.includes("/".concat(h))&&b||h&&!h.includes("reg_")&&!M.jl.includes("/".concat(h)))return(0,y.notFound)();let[I]=Object.entries(M.ys).find(e=>{let[t,i]=e;return i===h})||[],L=null,P=null,O=null,E=await (0,tD.s)(),B=null==E?void 0:null===(i=E.companies)||void 0===i?void 0:null===(t=i.find(e=>{let{url:t}=e;return t===f}))||void 0===t?void 0:t.bic;if(B){let e=await (0,tP.ed)(B);(null==e?void 0:null===(o=e.content)||void 0===o?void 0:null===(l=o[0])||void 0===l?void 0:l.bankId)&&(L=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 F=null==N?void 0:N.slice(4);R&&(O=null!==(d=null===(c=(await tB()).data)||void 0===c?void 0:c.content)&&void 0!==d?d:null);let U=null==O?void 0:null===(n=O.find(e=>e.url===(null!=F?F:"all_offers")))||void 0===n?void 0:n.id,[z,W,H,V,q,$,Z]=await Promise.allSettled([(0,tD.s)({regions:!0}),(0,tM._)(w),(0,tP.pg)({type:k,company:A,regionUrl:b,townUrl:C,activeServiceName:I,tag:N}),tL(),R&&"uslugi"===j?(0,tO.q)(B):null,"uslugi"!==j||S?null:(0,tP.NK)(),R&&L&&U?tE(L,U):null]),Y=null,X=null;"fulfilled"===z.status&&z.value&&(X=(null==(Y=z.value.regions.find(e=>{let{url:t}=e;return t===b})||null)?void 0:Y.towns.find(e=>{let{url:t}=e;return t===C}))||null,Y&&!X&&(X=Y.towns.find(e=>{let{main:t}=e;return t})||null));let G=(0,tV._)(V,null),Q=(0,tV._)(q,null);P=(0,tV._)(Z,null);let K=null;if("fulfilled"===H.status&&H.value&&(K=tU(H.value,X,G,{platformProducts:null!==(u=null==P?void 0:P.platformProducts)&&void 0!==u?u:[],nonPlatformProducts:null!==(m=null==P?void 0:P.nonPlatformProducts)&&void 0!==m?m:[]}),(null==Q?void 0:Q.length)&&(null==K?void 0:K.deposits))){let e=(null==K?void 0:K.deposits.length)+(null==Q?void 0:Q.length);K.deposits.length=e}let J="",ee="fulfilled"===W.status?W.value:"",et=(0,tV._)($,null),ei=null!==(v=(0,M.xB)(K,"").find(e=>w.includes(e.link)))&&void 0!==v?v:null,en=(null==ei?void 0:ei.serviceTagName)&&null!==(p=null==et?void 0:null===(a=et.data)||void 0===a?void 0:a[null==ei?void 0:ei.serviceTagName])&&void 0!==p?p:[],ea=null==en?void 0:en.find(e=>"teg_".concat(e.url)===N);A&&(J=await tH(A,K,h,w,k,Y,X,ea));let el=e?"/".concat(w):"";return{title:J,description:ee,alternates:{canonical:"".concat(_).concat(el)}}}let t$=()=>{let[e,t]=(0,h.useState)(null),i=(0,y.usePathname)();return(0,tA.j)(()=>{(async()=>{let e=i.split(/[?#]/)[0].split("/").filter(Boolean);t(await tq(e))})()},[i]),e},tZ=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(await (0,tI.t)({url:"/api/v1/quotes?quoteUrl=".concat(e,"&published=").concat(t),options:{isHeadlessCMS:!0}})).data||null};var tY=i(65377);let tX={getLayoutData:async e=>(await (0,tI.t)({url:"/api/v1/layout/".concat(e),options:{isHeadlessCMS:!0}})).data||null,async getPageData(e,t){let i=new URLSearchParams({scLayoutName:e,scPageUrl:t}).toString();return(await (0,tI.t)({url:"/api/v1/data/page-data?".concat(i),options:{isHeadlessCMS:!0}})).data||null},getPage:async e=>(await (0,tI.t)({url:"/api/v1/sc-page/".concat(e),options:{isHeadlessCMS:!0}})).data||null},tG={async getPageContent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"v2";return(await (0,tI.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,tI.t)({url:"/api/".concat(t,"/widgets/").concat(e),options:{isPageContent:!0}})).data}};var tQ=i(30318),tK=i(84620),tJ=i(79920),t0=i(21013);async function t1(e){var t,i,n,a,l,o,r,s,c,d,u,m,v,p,_,g,f,h,w,x,b,C;let j,{slug:N,isSection:T,radioType:k,initialPage:R=1,fallbackToAnyNonEmptyRadio:S=!1,fallbackToAllAddresses:A=!1}=e,{regionUrl:I,townUrl:L,companyUrl:P,pointUrl:O}=(0,tJ.jO)(N||[]),E=(0,tJ.lw)(N);if(E&&!O)return(0,y.notFound)();let B=null,M="true"===T,F=k||tK.Q.Atm,U=null,z=null,[W,H,V,q,$]=await Promise.allSettled([M||E?null:tG.getWidgetContent("bestOffers","v1"),M||E?null:tX.getPageData("FAQ","adresa"),M||E?null:(0,ek.Jh)((0,ek.K1)({includeCompany:!0}).reviews,1,10),E?(0,tY.O9)(O||""):null,E?tX.getPageData("SupportWidget","general"):null]);async function Z(e){let t=[tQ.H9[e]],i=(0,tY.bv)({regionUrl:I,townUrl:L,orgUrl:P,marker:t}),n=await (0,tY.ZK)(i,R);return{dataUrl:i,addressesData:n}}let Y=!1;E||(j=await Z(F));let X=[tK.Q.Atm,tK.Q.branch,tK.Q.Legal].filter(e=>e!==F);if(S&&M){if(!(null==j?void 0:null===(c=j.addressesData)||void 0===c?void 0:null===(s=c.data)||void 0===s?void 0:s.totalItems)&&X.length){let e=X.shift();e&&(F=e,j=await Z(F))}if(!(null==j?void 0:null===(u=j.addressesData)||void 0===u?void 0:null===(d=u.data)||void 0===d?void 0:d.totalItems)&&X.length){let e=X.shift();e&&(F=e,j=await Z(F))}}if(A&&M&&!(null==j?void 0:null===(i=j.addressesData)||void 0===i?void 0:null===(t=i.data)||void 0===t?void 0:t.totalItems)){let e=(0,tY.bv)({regionUrl:I,townUrl:L,orgUrl:P}),t=await (0,tY.ZK)(e,R);j={dataUrl:e,addressesData:t},Y=!!(null===(m=t.data)||void 0===m?void 0:m.totalItems)}let{dataUrl:G,addressesData:Q}=j||{},K=null,J=(0,tV._)(V,null)||null;if(J){let e=(0,eL.c)(J);K={scLayoutName:"ReviewsAboutFinuslugi",title:"Отзывы о финансовых организациях",subTitle:"Публикуем честные отзывы, чтобы помочь вам сделать выбор",isActive:!0,custom:{background:""},value:{type:"all",reviews:null==J?void 0:J.result.reviews.map(t=>(0,t0.W)([t],e,D.$.bank,t.company)[0]),registerButton:{link:"/otzyvy",text:"Смотреть все отзывы"}}}}let ee=[],et=0;(null==Q?void 0:Q.data)&&(ee=(null===(v=Q.data)||void 0===v?void 0:v.addresses)||[],et=(null===(p=Q.data)||void 0===p?void 0:p.maxPage)||0);let ei=null;if(P&&(null===(a=ee[0])||void 0===a?void 0:null===(n=a.company)||void 0===n?void 0:n.name)){let e="com";(null===(_=ee[0])||void 0===_?void 0:_.mfo_id)&&(e="mfo"),(null===(g=ee[0])||void 0===g?void 0:g.sk_id)&&(e="sk"),ei={label:null===(h=ee[0])||void 0===h?void 0:null===(f=h.company)||void 0===f?void 0:f.name,value:"".concat(e,"_").concat(P)}}(I||L)&&(null===(o=ee[0])||void 0===o?void 0:null===(l=o.town)||void 0===l?void 0:l.name)&&(U={id:ee[0].region_id,url:null===(x=ee[0])||void 0===x?void 0:null===(w=x.town)||void 0===w?void 0:w.region_url},z={id:ee[0].town_id,...null===(b=ee[0])||void 0===b?void 0:b.town});let en=null;if("fulfilled"===q.status&&q.value&&(en=(B=q.value||null).company),E&&B&&(I||L)){U={url:I},z={url:L||""};let e={url:L||"",region_url:I||"",name:"",name_p:""};B.town=e,B.distance_self=null===(C=B.distance_self)||void 0===C?void 0:C.map(t=>({...t,town:e}))}return!E||en&&B||(0,y.notFound)(),{addresses:ee,region:U,town:z,selectedFk:ei?[ei]:[],maxPage:et,reviews:K,company:en,address:B,dataUrl:G,faqBlockData:(0,tV._)(H,null),supportBlockData:(null===(r=(0,tV._)($,null))||void 0===r?void 0:r.value)||null,pageIsSection:M,isDetailPage:E,initRadioType:F,isAllAddressesMode:Y,bestOffersData:(0,tV._)(W,null)}}let t2=(e,t,i)=>({slug:(0,tJ.ly)({[t?"fk":"sk"]:[e]}).replace("/adresa/","").split("/"),isSection:"true",radioType:i,fallbackToAnyNonEmptyRadio:t,fallbackToAllAddresses:!0}),t4={[M.ys.credits]:"consumer_credits",[M.ys.cards]:"credit_cards",[M.ys.deposits]:"deposit",[M.ys.mortgages]:"mortgage",[M.ys.autoCredits]:"car-credit",[M.ys.debitCards]:"debit",[M.ys.microCredits]:"microcredits",[M.ys.osago]:"osago",[M.ys.kasko]:"kasko",[M.ys.mortgage]:"ipotechnoe_strahovanie",[M.ys.property]:"strahovanie_kvartir_i_domov"};function t6(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 t5=e=>{let{ssr:t,orgType:i,company:n,isInsurance:a,isBank:l,activeTabId:o,activeServiceLink:r,setDepositTagsBanksStatsData:s,bankTowns:c,setBankTowns:d,setIsUslugiTab:u,quote:m,setQuote:v,pathname:p}=e,[_,g]=(0,h.useState)(!1),[f,y]=(0,h.useState)(t.insuranceTypes),[w,x]=(0,h.useState)(t.adresaProps),[b,C]=(0,h.useState)(t.reviews),[j,N]=(0,h.useState)(t.reviewsMaxPage),[T,k]=(0,h.useState)(t.serviceTypes),[R,S]=(0,h.useState)(t.companyPeopleRatings),[A,I]=(0,h.useState)(t.tags),L=i===D.$.mfo&&n.cmsId?n.cmsId:null,P=(0,ek.K1)({type:i,companyIds:L?[L]:[n.id],orderDesc:!0}),O=async()=>{var e,r,u,_,h,A,O,E,B,M,F,U,z,W,H,V,q,$;g(!0);let Z=a&&"about"===o&&!f?(0,tP.me)():null,Y=!w&&"about"===o,X=i===D.$.bank?tK.Q.Atm:tK.Q.branch,G=Y?t1(t2(n.url,l,X)):null,Q="ratings"===o&&!T||"uslugi"===o&&!b,K="ratings"===o&&!R,J=null,ee=null;if(Q||K){let e=Q?(0,ek.Jh)(P.reviews,1,4,void 0,null!=L?L:void 0):null,t=K?(0,ek.e9)(P.ratings):null;[J,ee]=await Promise.allSettled([e,t]);let i=(0,tV._)(J,null);b||C((null==i?void 0:i.result.reviews)||null),j||N((null==i?void 0:i.result.pages)||0),!T&&i&&k((0,eL.c)(i))}let et=l&&"uslugi"===o&&!c?tL():null,ei="uslugi"===o?tZ(p):null,en="uslugi"!==o||a?null:(0,tP.NK)(),ea=l&&t.bankProviderId&&t.depositTagId?tE(t.bankProviderId,t.depositTagId):null,[el,eo,er,es,ec,ed]=await Promise.allSettled([Z,G,et,ei,en,ea]);f||y((null===(r=(0,tV._)(el,null))||void 0===r?void 0:null===(e=r.data)||void 0===e?void 0:e.ins_types)||null),w||x((0,tV._)(eo,null)),!R&&ee&&S((0,tV._)(ee,null)),c||d((0,tV._)(er,null)),m||v((null===(_=(0,tV._)(es,null))||void 0===_?void 0:null===(u=_.content)||void 0===u?void 0:u[0])||null);let eu=(0,tV._)(ed,null);if("uslugi"===o&&!a){let e=(0,tV._)(ec,null)||null;I({data:{autoCredit:null!==(U=null==e?void 0:null===(h=e.data)||void 0===h?void 0:h.autoCredit)&&void 0!==U?U:[],card:null!==(z=null==e?void 0:null===(A=e.data)||void 0===A?void 0:A.card)&&void 0!==z?z:[],credit:null!==(W=null==e?void 0:null===(O=e.data)||void 0===O?void 0:O.credit)&&void 0!==W?W:[],debitCard:null!==(H=null==e?void 0:null===(E=e.data)||void 0===E?void 0:E.debitCard)&&void 0!==H?H:[],microCredit:null!==(V=null==e?void 0:null===(B=e.data)||void 0===B?void 0:B.microCredit)&&void 0!==V?V:[],mortgage:null!==(q=null==e?void 0:null===(M=e.data)||void 0===M?void 0:M.mortgage)&&void 0!==q?q:[],deposit:null!==($=null==eu?void 0:null===(F=eu.tagList)||void 0===F?void 0:F.map(t6))&&void 0!==$?$:[]}})}s(eu),g(!1)},E=async()=>{var e;let t=r?t4[r]:void 0,a=null==T?void 0:null===(e=T[i])||void 0===e?void 0:e.find(e=>{let{url:i}=e;return i===t}),l=(0,ek.K1)({type:i,companyIds:L?[L]:[n.id],orderDesc:!0,serviceId:String(null==a?void 0:a.id)}),o=await (0,ek.Jh)(l.reviews,1,4);C((null==o?void 0:o.result.reviews)||null),o&&k(e=>null!=e?e:(0,eL.c)(o))};return(0,h.useEffect)(()=>{u("uslugi"===o),O()},[o]),(0,h.useEffect)(()=>{l&&"uslugi"===o&&E()},[r,o,l,T,i,n]),{loading:_,insuranceTypes:f,adresaProps:w,reviews:b,reviewsMaxPage:j,serviceTypes:T,companyPeopleRatings:R,tags:A}};var t3=i(74710);(n=d||(d={})).Fixed="FIXED",n.MaxBalance="MAX_BALANCE",n.Min="MIN",n.MinSum="MIN_SUM",n.NoRestrictions="NO_RESTRICTIONS",n.Started="STARTED",(a=u||(u={})).CustomerChoice="CUSTOMER_CHOICE",a.Fixed="FIXED",a.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 t7={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},t9=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)},t8=(e,t,i)=>{var n;let a;let l=i||t7,o=t.find(t=>Number((0,eA.A)(t))===+e.bic),r=[],s=e.options[0];try{a=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:t9(t.minimumPeriod),term_to:t9(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,t9(t.minimumPeriod)),m=Math.max(m,t9(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(a)&&a[0]?null===(n=a[0])||void 0===n?void 0:n.name:"",interest_rate:{...i?i.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?"Предусмотрена":"Не предусмотрена"}}},ie=(e,t,i)=>{var n,a,l,o;let r=String(null!==(l=null==e?void 0:null===(n=e.contentAttributes)||void 0===n?void 0:n.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==i?void 0:i.logo_mob)&&void 0!==o?o:(null==e?void 0:null===(a=e.contentAttributes)||void 0===a?void 0:a.bic)?s:void 0},it=e=>{var t,i,n,a,l,o,r,s;let c=(null===(i=e.contentAttributes)||void 0===i?void 0:null===(t=i.integration)||void 0===t?void 0:t.integrationType)==="REFERAL"||(null===(a=e.contentAttributes)||void 0===a?void 0:null===(n=a.integration)||void 0===n?void 0:n.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}},ii=(e,t,i)=>{var n,a,l,o;return{...null==e?void 0:e.interest_rate,rates:t.length?t:null!==(l=null===(n=e.interest_rate)||void 0===n?void 0:n.rates)&&void 0!==l?l:[],comment:null!==(o=null===(a=i.contentAttributes)||void 0===a?void 0:a.ratesComment)&&void 0!==o?o:""}},ia=(e,t)=>{var i,n,a,l;let o=null==t?void 0:null===(l=t.interestPayments)||void 0===l?void 0:null===(a=l[0])||void 0===a?void 0:null===(n=a.periods)||void 0===n?void 0:null===(i=n[0])||void 0===i?void 0:i.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}},il=(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}),io=e=>{try{var t,i;if(!e)return"";let n=e.legal_entities;if("string"==typeof n){let e=JSON.parse(n);return Array.isArray(e)&&(null===(i=e[0])||void 0===i?void 0:i.name)?e[0].name:""}if(Array.isArray(n))return(null===(t=n[0])||void 0===t?void 0:t.name)||"";return""}catch(e){return""}},ir=(e,t)=>Math.min(e,t.minimumPeriod?t9(t.minimumPeriod):0),is=(e,t)=>Math.max(e,t.maximumPeriod?t9(t.maximumPeriod):0),ic=(e,t,i)=>{var n,a,l,o,r,s;t.push({from:null,to:null,term:null,amount:null,term_from:i.minimumPeriod?t9(i.minimumPeriod):0,term_to:i.maximumPeriod?t9(i.maximumPeriod):0,rate:i.maximumRate,amount_from:null!==(r=i.minimumAmount)&&void 0!==r?r:null,amount_to:null!==(s=i.maximumAmount)&&void 0!==s?s:null,diff:i.topRateDelta||0,tag:{title:(null==i?void 0:null===(n=i.tags)||void 0===n?void 0:n.title)||"",description:(null==i?void 0:null===(a=i.tags)||void 0===a?void 0:a.description)||"",deeplink:(null==i?void 0:null===(l=i.tags)||void 0===l?void 0:l.deepLink)||"",url:(null==i?void 0:null===(o=i.tags)||void 0===o?void 0:o.url)||""},optionId:e.id})},id=e=>{let t=[],i=1/0,n=0,a=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=>{ic(e,t,o),i=Math.min(i,o.minimumAmount),n=Math.max(n,o.maximumAmount),a=ir(a,o),l=is(l,o)})})}),{rates:t,amountFrom:i,amountTo:n,termFrom:a,termTo:l}},iu=e=>{var t,i;return(null==e?void 0:null===(i=e.interestPayments)||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t.method)==="CAPITALISATION"?1:0},im=e=>iu(e)?"Да":"Нет",iv=e=>(null==e?void 0:e.earlyTermination)===_.PreferentialRateForWholeTerm||(null==e?void 0:e.earlyTermination)===_.WithoutRecalculationOfInterest?1:0,ip=e=>iv(e)?"Да":"Нет",i_=e=>{var t,i;return(null==e?void 0:null===(i=e.replenishment)||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t.type)==="NO_RESTRICTIONS"?1:0},ig=e=>i_(e)?"Возможно":"Невозможно",ih=e=>{var t,i;return(null==e?void 0:null===(i=e.partialWithdrawal)||void 0===i?void 0:null===(t=i[0])||void 0===t?void 0:t.type)==="NO_RESTRICTIONS"?1:0},iy=e=>ih(e)?"Возможно":"Невозможно",iw=(e,t,i,n)=>{var a,l,o,r,s,c,d,u,m,v,p,_,g,f,h,y,w,x,b,C,j,N;let T=null!=n?n:t7,k=null===(l=e.attributes)||void 0===l?void 0:null===(a=l.options)||void 0===a?void 0:a[0],R=io(t),{rates:S,amountFrom:A,amountTo:I,termFrom:L,termTo:P}=id(null!==(y=null===(o=e.attributes)||void 0===o?void 0:o.options)&&void 0!==y?y:[]),O=ie(e,i,t);return{...T,...e,id:e.id,url:null!==(w=null==e?void 0:null===(r=e.contentAttributes)||void 0===r?void 0:r.url)&&void 0!==w?w:"",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!==(b=null==t?void 0:t.name)&&void 0!==b?b:"",bank_url:null!==(C=null==t?void 0:t.url)&&void 0!==C?C:"",logo:O,logo_mob:O,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:it(e),interest_rate:ii(T,S,e),amount:{...T.amount,from:A,to:I},term:{...T.term,from:L,to:P},partial_withdrawal:{...T.partial_withdrawal,has:ih(k),text:iy(k)},interest_payment:ia(T,k),refill:{comment:"",...T.refill,has:i_(k),text:ig(k)},interest_capitalization:{comment:"",...T.interest_capitalization,has:iu(k),text:im(k)},preferential_termination:{...T.preferential_termination,has:iv(k),text:ip(k)},type:il(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===(h=e.contentAttributes)||void 0===h?void 0:null===(f=h.integration)||void 0===f?void 0:f.integrationType}}};var ix=i(1859);let ib=e=>{var t,i,n,a,l,o,r,s;let c=(0,T.S)(),[d,u]=(0,h.useState)(e.initialServices),[m,v]=(0,h.useState)(e.initialMfoOffers),[p,_]=(0,h.useState)(e.initialSeoTexts),[g,f]=(0,h.useState)(e.initialQuote&&e.activeService?{[null===(t=e.activeService)||void 0===t?void 0:t.serviceName]:e.initialQuote}:{}),[y,w]=(0,h.useState)(!1),x="".concat((null===(i=e.region)||void 0===i?void 0:i.url)||"").concat((null===(n=e.town)||void 0===n?void 0:n.url)||""),b=(0,h.useRef)(x);(0,h.useEffect)(()=>{if(e.orgType!==D.$.mfo||!e.isUslugiTab)return;let t=!1,i=async()=>{var i,n,a,l,o,r,s,c,d;let[m,p]=await Promise.allSettled([(0,tP.pg)({type:e.orgType,company:e.company,regionUrl:null===(i=e.region)||void 0===i?void 0:i.url,townUrl:null===(n=e.town)||void 0===n?void 0:n.url,tag:e.tag}),(0,tP.Gk)({companyName:e.company.url,companyId:e.company.id,region:null===(a=e.region)||void 0===a?void 0:a.url,town:null===(l=e.town)||void 0===l?void 0:l.url})]);if(t)return;let _=(0,tV._)(m,null),g=(0,tV._)(p,null);v(g?(null===(r=g.data)||void 0===r?void 0:null===(o=r.microCredits)||void 0===o?void 0:o.filter(t=>tF(t,e.town)))||[]:(null===(s=e.initialMfoOffers)||void 0===s?void 0:s.filter(t=>tF(t,e.town)))||[]);let f=null==_?void 0:_.microCredit;if(f&&g){let t=null===(c=g.data)||void 0===c?void 0:c.microCreditText,i=(null===(d=e.town)||void 0===d?void 0:d.url)?null==t?void 0:t.town_content:null==t?void 0:t.all_russia_content;f.serviceText=i||[]}u(_)};return w(!0),i().finally(()=>{t||w(!1)}),()=>{t=!0,w(!1)}},[e.company,null===(a=e.region)||void 0===a?void 0:a.url,null===(l=e.town)||void 0===l?void 0:l.url,e.isUslugiTab,e.initialMfoOffers]),(0,h.useEffect)(()=>{var t,i;if(e.orgType!==D.$.bank||!e.isUslugiTab)return;let n=null===(t=e.activeService)||void 0===t?void 0:t.serviceName;if(!n)return;let a=!!(null==d?void 0:null===(i=d[n])||void 0===i?void 0:i.data),l=!!n&&g[n],o=x!==b.current;if(a&&l&&!o){e.setQuote(l);return}let r=!1;b.current=x,w(!0);let s=e.company.bic;return(async()=>{var t,i,a,l,c,m,v,p,_,g,h;let y=null===(t=e.tag)||void 0===t?void 0:t.slice(4),w=null!==(h=null===(i=(await tB()).data)||void 0===i?void 0:i.content)&&void 0!==h?h:null,C=null==w?void 0:null===(a=w.find(e=>e.url===(null!=y?y:"all_offers")))||void 0===a?void 0:a.id,j=await (0,tP.ed)(s),N=null==j?void 0:null===(c=j.content)||void 0===c?void 0:null===(l=c[0])||void 0===l?void 0:l.bankId,[T,k,R]=await Promise.allSettled([(0,tP.pg)({type:e.orgType,company:e.company,regionUrl:null===(m=e.region)||void 0===m?void 0:m.url,townUrl:null===(v=e.town)||void 0===v?void 0:v.url,activeServiceName:n,currentBankServices:o?null:d,tag:e.tag}),N&&C?tE(N,C):null,tZ(null===(p=e.pathname)||void 0===p?void 0:p.replace(/\/reg_.*$/,""))]);if(r)return;b.current=x,u((0,tV._)(T,null)),e.setDepositTagsBanksStatsData((0,tV._)(k,null));let S=(null===(g=(0,tV._)(R,null))||void 0===g?void 0:null===(_=g.content)||void 0===_?void 0:_[0])||null;n&&S&&f(e=>({...e,[n]:S})),e.setQuote(S)})().finally(()=>{r||w(!1)}),()=>{r=!0,w(!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,e.isUslugiTab,null===(s=e.activeService)||void 0===s?void 0:s.serviceName]),(0,h.useEffect)(()=>{e.isUslugiTab&&e.isSeoTextsEnabled&&(async()=>{let t=await (0,t3.s)(e.pathname);t&&Array.isArray(t)&&_((0,ix.Q)(t))})()},[e.isSeoTextsEnabled,e.pathname,e.isUslugiTab]);let C=(0,h.useMemo)(()=>d?tU(d,e.town,e.bankTowns):d,[d,e.town,e.bankTowns]);return{organizationServices:(0,h.useMemo)(()=>{var t,i,n,a,l,o;if(!(null==C?void 0:null===(t=C.deposits)||void 0===t?void 0:t.data))return C;let r=[...(null!==(l=null===(i=e.depositTagsBanksStatsData)||void 0===i?void 0:i.platformProducts)&&void 0!==l?l:[]).map(t=>t8(t,[e.company])),...(null!==(o=null===(n=e.depositTagsBanksStatsData)||void 0===n?void 0:n.nonPlatformProducts)&&void 0!==o?o:[]).map(t=>iw(t,e.company,c.NEXT_PUBLIC_S3_ASSETS))];return{...C,deposits:{data:r,tags:null==C?void 0:null===(a=C.deposits)||void 0===a?void 0:a.tags,length:r.length,serviceText:C.deposits.serviceText}}},[C,e.company,e.depositTagsBanksStatsData,c.NEXT_PUBLIC_S3_ASSETS]),mfoOffers:m,servicesLoading:y,seoTexts:p}},iC=e=>{let t,{baseUrl:i,company:n,orgType:a,generalRating:l}=e,o="banki";a===D.$.mfo&&(o="mfo"),a===D.$.insurance&&(o="kompanija");let r=n.logo||n.logo_mob,s=r&&r.indexOf("http")>=0?{"@type":"ImageObject",url:r}:void 0,c=n.phone||n.maintel,{legal_entities:d}=n;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":a===D.$.insurance?"InsuranceAgency":"BankOrCreditUnion",name:n.name,description:n.short_description,url:"".concat(i,"/").concat(o,"/").concat(n.url),image:s,...c&&{telephone:c},...n.site&&{sameAs:[n.site]},...l&&{aggregateRating:{"@type":"AggregateRating",ratingValue:l,reviewCount:n.reviews_num,ratingCount:n.reviews_num,bestRating:5,worstRating:0}},...c&&{contactPoint:{"@type":"ContactPoint",telephone:c}},...a!==D.$.insurance&&t&&{address:{"@type":"PostalAddress",addressLocality:t}}}},ij=e=>{let t=((null==e?void 0:e[D.$.bank])||[]).find(e=>{let{name:t}=e;return t.toLowerCase().includes("вклады")});return(null==t?void 0:t.id)&&Number(t.id)||null},iN=e=>{var t;return null===(t=Object.values(e||{}))||void 0===t?void 0:t.reduce((e,t)=>e+t.length,0)};var iT=i(90852);let ik=e=>{let t=new Date,i=t.getDate(),n=t.getMonth(),a=t.getFullYear(),l=["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"][n],o="".concat(i," ").concat(l," ").concat(a,"г.");return e.replace(/{date}/gim,o)},iR=e=>{let t=new Date().getFullYear();return e.replace(/{year}/gim,t.toString())},iS=e=>{if(!e||!e.length)return"";let t=e[0].toLowerCase();return"в"!==t&&"ф"!==t||(0,iT.r)(e[1])?"в":"во"},iA=(e,t,i,n,a,l,o,r)=>{let s=e;if(a&&(s=(s=(s=(s=s.replace(/{(bank|mfo)}/gim,a.name)).replace(/{(bank|mfo)_r}/gim,a.name_r||a.name)).replace(/{(bank|mfo)_p}/gim,a.name_p)).replace(/{(bank|mfo)_link}/gim,a.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,"России")),iR(s=ik(s));let c=new Date().getFullYear(),d=i?i.name:t.name,u=i?i.name_r:t.name_r,m=i?i.name_p:t.name_p,v=i?i.name:t.name,p=i?i.name_r:t.name_r,_=i?i.name_p:t.name_p,g=t.name,f=t.name_r,h=t.name_p,y=!1,w=i?"reg_".concat(t.url).concat(t.towns&&t.towns.length>1?"/".concat(i.url):""):"reg_".concat(t.url);i&&(y=n.includes(i.id));let x=i&&y?"".concat(i.name," (").concat(t.name,")"):(null==i?void 0:i.name)||(null==t?void 0:t.name),b=i&&y?"".concat(i.name_r," (").concat(t.name,")"):(null==i?void 0:i.name_r)||(null==t?void 0:t.name_r),C=i&&y?"".concat(i.name_p," (").concat(t.name,")"):(null==i?void 0:i.name_p)||(null==t?void 0:t.name_p);return o&&i&&(d=x,u=b,m=C,v=x,p=b,_=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(iS(d)," ").concat(d)],[/в {place_r}/gim,"".concat(iS(u)," ").concat(u)],[/в {place_p}/gim,"".concat(iS(m)," ").concat(m)],[/в {town}/gim,"".concat(iS(v)," ").concat(v)],[/в {town_r}/gim,"".concat(iS(p)," ").concat(p)],[/в {town_p}/gim,"".concat(iS(_)," ").concat(_)],[/в {region}/gim,"".concat(iS(g)," ").concat(g)],[/в {region_r}/gim,"".concat(iS(f)," ").concat(f)],[/в {region_p}/gim,"".concat(iS(h)," ").concat(h)],[/в {town_dub}/gim,"".concat(iS(x)," ").concat(x)],[/в {town_dub_r}/gim,"".concat(iS(b)," ").concat(b)],[/в {town_dub_p}/gim,"".concat(iS(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,f],[/{region_p}/gim,h],[/{town_dub}/gim,x],[/{town_dub_r}/gim,b],[/{town_dub_p}/gim,C],[/{year}/gim,c.toString()],[/{place_link}/gim,w],[/{max_deposits_rate}/gim,(null==r?void 0:r.toString())||""]].forEach(e=>{let[t,i]=e;s=s.replace(t,i)}),s=ik(s)},iI=(e,t,i,n,a)=>((null==e?void 0:e.title)&&(e.title=iA(e.title,t,i,n,a)),(null==e?void 0:e.content)&&e.content.forEach(e=>{e.data&&(e.data.html&&(e.data.html=iA(e.data.html,t,i,n,a)),e.data.text&&(e.data.text=iA(e.data.text,t,i,n,a)))}),e);var iL=i(33346),iP=i(89487),iO=i(39031),iE=i(26819),iB=i.n(iE),iM=e=>{var t,i,n,a,l;let o=(0,T.S)(),r=o.NEXT_PUBLIC_BASE_URL,s=o.NEXT_PUBLIC_S3_ASSETS,c="true"===o.FEATURE_TOGGLE_SEO_TEXTS,d=t$();(0,O.j)(d);let{orgType:u,generalRating:m,company:v,description:p,ssr:_,bestOffersData:g,supportBlockData:z}=e,W=(0,y.usePathname)(),{region:H,town:V,handleOpenCityModal:q}=(0,E.S)({initialRegion:_.region,initialTown:_.town}),$=W.split("/").find(e=>e.startsWith("teg_")),Z=M.yi[u],[Y,X]=(0,h.useState)(_.productsNum),[G,Q]=(0,h.useState)(_.quote),[K,J]=(0,h.useState)(_.activeTag),ee=(0,h.useRef)(!0),et=(0,h.useRef)(null),[ei,en]=(0,h.useState)(_.depositTagsBanksStats),[ea,el]=(0,h.useState)(_.bankTowns),[er,es]=(0,h.useState)(Y>0&&"uslugi"===(0,tW.I)(W)),ec=F(u,v),ed=U(u,v),ev=u===D.$.mfo,[ep,e_]=(0,h.useState)(_.activeService),{organizationServices:eg,mfoOffers:ef,servicesLoading:eh,seoTexts:ey}=ib({initialServices:_.organizationServices,initialMfoOffers:_.mfoOffers,initialSeoTexts:_.seoTexts,region:H,town:V,orgType:u,company:v,bankTowns:ea,isUslugiTab:er,activeService:ep,depositTagsBanksStatsData:ei,setDepositTagsBanksStatsData:en,initialQuote:_.quote,setQuote:Q,pathname:W,tag:$,isSeoTextsEnabled:c}),ew=(0,h.useMemo)(()=>(0,M.xB)(eg,s),[eg]),eb=ev?"mikrozajmy":null===(t=ew[0])||void 0===t?void 0:t.link,eC=(0,M.i7)(v,u,ec,Y>0,eb),ej=(0,h.useMemo)(()=>eC.find(e=>(0,tW.S)(e,W)),[W,v]),[eN,ek]=(0,h.useState)(ej||eC[0]),eR=(()=>{let e=[{href:"/",label:"Главная"},{label:ec?"Банки":"Каталог ".concat(Z.name_rs_full),href:"/".concat(Z.catalogUrl)},{label:v.name,href:ec?"/".concat(Z.catalogUrl,"/").concat(v.url):""}];if(!ec)return e[e.length-1].href=void 0,e;let t=(null==ep?void 0:ep.serviceName)==="deposits",i=(null==V?void 0:V.name_p)||(null==H?void 0:H.name_p);ep&&(!t||i||K&&t)&&e.push({label:ep.title,href:"/".concat(Z.catalogUrl,"/").concat(v.url,"/").concat(ep.link)}),K&&ep&&(!t||i)&&e.push({label:K.tag_name,href:"/".concat(Z.catalogUrl,"/").concat(v.url,"/").concat(ep.link,"/teg_").concat(K.url)});let n="kompanija"!==Z.url&&(ep||"uslugi"===eN.id);return i&&n&&!t&&e.push({label:"В ".concat(i)}),t||(e[e.length-1].href=void 0),e})(),{loading:eS,insuranceTypes:eA,adresaProps:eI,reviews:eL,reviewsMaxPage:eP,serviceTypes:eO,companyPeopleRatings:eB,tags:eM}=t5({ssr:_,orgType:u,company:v,isInsurance:ed,activeTabId:eN.id,activeServiceLink:null==ep?void 0:ep.link,isBank:ec,setDepositTagsBanksStatsData:en,bankTowns:ea,setBankTowns:el,setIsUslugiTab:es,quote:G,setQuote:Q,pathname:W}),eD=e=>{let{tab:t,service:i}=e,n=(null==i?void 0:i.link)?"/".concat(i.link):t.path,a="kompanija"!==Z.url&&(i||"uslugi"===t.id)?(0,tj.a)(H,V):"";return"/".concat(Z.url,"/").concat(v.url).concat(n).concat(a)},eF=e=>{let t=eC.find(t=>t.id===e);if(!t)return;let i="uslugi"===t.id,n=i?ep:void 0;i&&ev&&(n={link:"mikrozajmy"});let{search:a,hash:l}=window.location,o=eD({tab:t,service:n||void 0}),r="".concat(o).concat(a).concat(l);window.history.replaceState(null,"",r),"uslugi"!==t.id&&e_(null),ek(t)},{pageTitle:eU,location:ez}=(0,h.useMemo)(()=>{let e=(null==V?void 0:V.name_p)||(null==H?void 0:H.name_p);return{pageTitle:K&&((null==ep?void 0:ep.serviceName)==="cards"||(null==ep?void 0:ep.serviceName)==="debitCards")?"".concat(K.name," ").concat(v.name_r||v.name):K?"".concat(K.name," от ").concat(v.name_r||v.name):(null==ep?void 0:ep.serviceName)==="kasko"||(null==ep?void 0:ep.serviceName)==="osago"?"".concat(ep.title," в ").concat(v.name_r||v.name):(null==ep?void 0:ep.serviceName)==="microCredit"?"Предложения ".concat(v.name_r||v.name):ep?"".concat(ep.title," ").concat(v.name_r||v.name):eN.title,location:e}},[null==H?void 0:H.id,null==V?void 0:V.id,ep,v.name_r,v.name,eN.id,K]);(0,h.useEffect)(()=>{let e=iN(eg);X(e),e||"uslugi"!==eN.id||eF(eC[0].id)},[eg]),(0,h.useEffect)(()=>{if(ee.current){ee.current=!1;return}if(ed||"uslugi"!==eN.id)return;let e="";"uslugi"===eN.id&&ev?e="/mikrozajmy":(null==ep?void 0:ep.link)&&(e="/".concat(ep.link));let t=$?"/".concat($):"",i="uslugi"===eN.id?"":eN.path,n=(0,tj.a)(H,V),a="/".concat(Z.url,"/").concat(v.url).concat(i).concat(e).concat(t).concat(n).concat(window.location.hash);window.history.replaceState(null,"",a)},[ep,null==H?void 0:H.id,null==V?void 0:V.id]),(0,h.useEffect)(()=>{var e,t;let i=null==ep?void 0:ep.serviceTagName,n=i&&null!==(t=null==eM?void 0:null===(e=eM.data)||void 0===e?void 0:e[i])&&void 0!==t?t:[];J(null==n?void 0:n.find(e=>"teg_".concat(e.url)===$))},[ep,eM,$]);let eW=(0,f.jsx)(S.j,{className:iB().partnersLink,text:"Вы представитель ".concat(M.yi[u].name_r,"?"),mainPageUrl:M.qL,href:"/partners",target:"_self",iconColor:"white"}),eH={title:"Отзывы о ".concat(v.name_p||v.name),subTitle:"",value:{reviews:(0,t0.W)(eL,eO,u,v),registerButton:{text:"Показать все отзывы",link:"/".concat(Z.url,"/").concat(v.url,"/otzyvy"),customClass:iB().allReviewsButton,iconRight:(0,f.jsx)(w.IconFdsArrowRightO,{className:iB().allReviewsButtonIcon})}}},eV=(0,h.useMemo)(()=>{var e;if((null==ep?void 0:ep.serviceName)!=="deposits")return eL;if(null===(e=_.depositReviews)||void 0===e?void 0:e.length)return _.depositReviews;let t=ij(eO);return t?(eL||[]).filter(e=>e.service_id===t):[]},[null==ep?void 0:ep.serviceName,eO,eL,_.depositReviews]),eq=e=>{(0,eu.D)({eventCategory:M.qL,eventActionType:eu.i.tab,eventActionText:(0,em.b)(e.label)}),eF(e.id)},e$=(()=>{var e,t,i;let n=null==ep?void 0:ep.serviceName,a=null==ep?void 0:ep.serviceTagName;if(!n&&!ev)return[];let l=ev?"microCredit":n,o=(null==eg?void 0:null===(e=eg[l])||void 0===e?void 0:e.serviceText)||[],r=(null==eM?void 0:null===(t=eM.data)||void 0===t?void 0:t[a||""])||[],s=(0,tj.a)(H,V),d=r.filter(e=>!!e.bank_region_page&&("deposits"!==n||e.displayInLinksBlock)&&(!!e.region_page||!H&&!V)).map(e=>{var t;let i="DEFAULT"===e.tag_name||"vse_vklady"===e.tag_name?"Все ".concat(null==ep?void 0:null===(t=ep.title_plural)||void 0===t?void 0:t.toLowerCase()):e.tag_name,n="DEFAULT"===e.tag_name||"vse_vklady"===e.tag_name?"":"/teg_".concat(e.url),a="/".concat(Z.url,"/").concat(v.url,"/").concat(null==ep?void 0:ep.link).concat(n).concat(s);return{id:e.id,name:i,url:a}}).sort((e,t)=>{let i=e.name.startsWith("Все "),n=t.name.startsWith("Все ");return i&&!n?-1:!i&&n?1:0}),u="Виды ".concat(null==ep?void 0:null===(i=ep.title_r)||void 0===i?void 0:i.toLowerCase()),m=(0,f.jsx)(A.t,{data:d});return[...c?null!=ey?ey:[]:[...o.map(e=>{let t=iI(e,H,V,[],v);return{question:t.title,answer:t.content.map(e=>e.data.html).join("")}})],...d.length>0?[{question:u,answer:m}]:[]]})();return(0,f.jsxs)("div",{className:iB().page,children:[(0,f.jsxs)(x.W2,{children:[(0,f.jsx)(b.Oo,{style:{padding:"16px 0"},items:eR,className:iB().breadcrumbs,isMobile:!1,isFullView:!0}),(0,f.jsx)(I.d,{data:(0,iL.M)(eR,o.NEXT_PUBLIC_BASE_URL,W,ec,(null==ep?void 0:ep.serviceName)==="deposits")}),(0,f.jsx)(I.d,{data:iC({baseUrl:r,company:v,orgType:u,generalRating:m})}),(0,f.jsx)(eT,{uslugiTabUrl:eb,generalRating:m,name_rs:Z.name_rs,catalogUrl:Z.catalogUrl,company:v,organizationType:u,productsNum:Y,onBankFeatureClick:e=>{var t;null===(t=et.current)||void 0===t||t.scrollIntoView({behavior:"smooth",block:"center"}),eF(e)},getTabPath:eD,reviewsCount:ev&&v.cmsId?_.reviewsCount||v.reviews_num:void 0}),(0,f.jsxs)("div",{ref:et,className:iB().infoBlock,children:[(0,f.jsxs)("h1",{className:iB().title,children:[eU,ez&&er&&(0,f.jsxs)(f.Fragment,{children:[" в ",(0,f.jsx)("span",{onClick:q,className:iB().location,children:ez})]})]}),(0,f.jsx)(b.iR,{className:iB().tabsWrapper,options:{spaceBetween:0,slidesPerView:"auto"},children:eC.map(e=>(0,f.jsx)(b.wI,{className:(0,R.Z)(iB().tab,{[iB().activeTab]:!e.isExternal&&eN.id===e.id}),onClick:e.isExternal?void 0:()=>eq(e),children:(0,f.jsx)("a",{href:e.isExternal?e.path:eD({tab:e}),onClick:e.isExternal?void 0:e=>e.preventDefault(),children:e.label})},e.id))})]})]}),"about"===eN.id&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(eo,{orgType:u,company:v,insuranceTypes:eA,loadingInsuranceTypes:!eA&&eS}),eW,(0,f.jsx)("div",{className:iB().mobileBanner,children:(0,f.jsx)(x.W2,{children:(0,f.jsx)(P.X,{organizationType:u,bannerUrl:ed?L.Te[v.url]:void 0,compact:ev})})}),!!(null==eI?void 0:null===(i=eI.selectedFk)||void 0===i?void 0:i.length)&&(0,f.jsx)(B.Z,{...eI,region:H,town:V,needsGeoLocationSync:(null==H?void 0:H.url)!==(null===(n=_.region)||void 0===n?void 0:n.url)||(null==V?void 0:V.url)!==(null===(a=_.town)||void 0===a?void 0:a.url)}),eS&&!(null==eI?void 0:null===(l=eI.selectedFk)||void 0===l?void 0:l.length)&&(0,f.jsx)(x.W2,{children:(0,f.jsx)(x.Od,{className:iB().adresaSkeleton})})]}),"reviews"===eN.id&&(0,f.jsx)(eE,{company:v,orgType:u,companyReviews:eL||[],maxPage:eP,serviceTypes:eO,initialPage:e.initialPage}),"ratings"===eN.id&&(0,f.jsxs)(x.W2,{className:iB().ratingsContainer,children:[(0,f.jsx)(ex,{company:v,companyPeopleRatings:eB,orgType:u,serviceTypes:eO,loading:!eB&&eS}),eW]}),"uslugi"===eN.id&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(tS,{organizationType:u,servicesBlocks:ew,servicesLoading:eh,bankServices:eg,company:v,pageTitle:eU,description:p||"",activeService:ep,handleServiceChange:e=>{if(!e)return;let{search:t,hash:i}=window.location,n=eD({tab:eN,service:e}),a="".concat(n).concat(t).concat(i);window.history.replaceState(null,"",a),e_(e)},region:H,town:V,mfoOffers:ef,generalRating:m,quote:G,reviews:eV}),G&&!V&&!H&&(0,f.jsx)(j.c,{className:iB().quote,quote:G})]}),(0,f.jsx)("div",{className:(0,R.Z)({[iB().hiddenSection]:!(ec||"news"===eN.id)}),children:g&&(0,f.jsx)(C.MJ,{tabs:g,baseUrl:o.NEXT_PUBLIC_BASE_URL,s3Assets:"".concat(o.NEXT_PUBLIC_S3_ASSETS,"/mp-assets"),dataLayerPush:iP.l})}),"uslugi"===eN.id&&(0,f.jsx)(iO.X,{...eH,showAllStars:!0,variant:ec?"secondary":"primary",loading:!eL&&eS}),!ed&&"uslugi"===eN.id&&!!e$.length&&(0,f.jsx)(N.C,{questions:e$,dataLayerPush:iP.l,eventCategory:M.qL,tagTitle:"h3"}),z&&(0,f.jsx)(k.B,{...z,s3Assets:o.NEXT_PUBLIC_S3_ASSETS})]})}},87334:function(e,t,i){"use strict";i.d(t,{BinomParamsProvider:function(){return r},u:function(){return s}});var n=i(57437),a=i(2265),l=i(99376);let o=(0,a.createContext)(void 0);function r(e){var t,i,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===(i=m.get("utm_campaign"))||void 0===i?void 0:i.toString(),g=null===(r=m.get("utm_content"))||void 0===r?void 0:r.toString(),f=null===(s=m.get("utm_medium"))||void 0===s?void 0:s.toString(),h=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(),w=(0,a.useMemo)(()=>({pathname:v,utmSource:p,utmMedium:f,utmCampaign:_,utmTerm:h,utmContent:g,clickId:y}),[v,p,f,_,h,g,y]);return(0,n.jsx)(o.Provider,{value:w,children:u})}function s(){let e=(0,a.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,i){"use strict";i.d(t,{UserParamsProvider:function(){return d},z:function(){return u}});var n=i(57437),a=i(2265),l=i(38856);function o(e){var t;return null!==(t=sessionStorage.getItem(e))&&void 0!==t?t:void 0}let r=(0,a.createContext)(void 0),s="browserId",c="browserSessionId";function d(e){let{children:t}=e,[i,d]=(0,a.useState)({});return(0,a.useEffect)(()=>{var e,t;let{[s]:i,[c]:n,"auth.gtm_customer_id":a,_ym_uid:r}=Object.fromEntries(document.cookie.split("; ").map(e=>e.split("=")));d({browserId:null!=i?i:null!==(t=l.A.getItem(s))&&void 0!==t?t:void 0,sessionId:null!==(e=null!=n?n:o(c))&&void 0!==e?e:o(s),customerId:a,yandexId:r})},[]),(0,n.jsx)(r.Provider,{value:i,children:t})}function u(){let e=(0,a.useContext)(r);if(void 0===e)throw Error("The context of the user params is used outside of the provider");return e}},19621:function(e,t,i){"use strict";i.d(t,{N3:function(){return c},RV:function(){return m},_V:function(){return s},hu:function(){return h},i7:function(){return f},jl:function(){return x},lX:function(){return p},pj:function(){return w},qL:function(){return y},qw:function(){return _},xB:function(){return g},yi:function(){return u},ys:function(){return v},z9:function(){return d}});var n=i(57437),a=i(80684),l=i(94825),o=i(98362),r=i(62536);let s=["kompanija","strahovanie_otzyvy"],c=["mfo","polzovatelskij_rejting_mfo"],d=["banki","polzovatelskij_rejting_bankov",...s,...c],u={[l.yz.bank]:{name_p:"банке",name_r:"банка",name_rs:"банков",name_rs_full:"банков",url:"banki",catalogUrl:"banki",amount:"190",schemaType:"BankOrCreditUnion"},[l.yz.mfo]:{name_p:"МФО",name_r:"МФО",name_rs:"МФО",name_rs_full:"МФО",url:"mfo",catalogUrl:"mfo",amount:"130",schemaType:"BankOrCreditUnion"},[l.yz.insurance]:{name_p:"страховой",name_r:"страховой",name_rs:"страховых",name_rs_full:"страховых компаний",url:"kompanija",catalogUrl:"strahovanie_kompanija",amount:"110",schemaType:"InsuranceAgency"}},m={about:"",reviews:"/otzyvy",ratings:"/rejtingi",uslugi:"/uslugi"},v={credits:"potrebitelskie_kredity",cards:"kreditnye_karty",deposits:"vklady",mortgages:"ipoteka",autoCredits:"avtokredity",debitCards:"debetovye_karty",osago:"osago",kasko:"kasko",mortgage:"mortgage",property:"property",microCredits:"mikrozajmy",travel_insurance:"insurance/vzr",dms:"insurance/dms",tick_insurance:"insurance/mite",sport_insurance:"insurance/sport"},p=[{key:"CREDIT",serviceTagName:"credit",title:"Кредиты",title_r:"Кредитов",title_plural:"Кредиты",link:v.credits,image:"credits.png",icon:(0,n.jsx)(a.IconFdsBanknotePrintO,{})},{key:"CREDIT_CARD",serviceTagName:"card",title:"Кредитные карты",title_r:"Кредитных карт",title_plural:"Кредитные карты",link:v.cards,image:"cards.png",icon:(0,n.jsx)(a.IconFdsCardO,{})},{key:"DEPOSIT",serviceTagName:"deposit",title:"Вклады",title_r:"Вкладов",title_plural:"Вклады",link:v.deposits,image:"deposits.png",icon:(0,n.jsx)(a.IconFdsSafeO,{})},{key:"MORTGAGE",serviceTagName:"mortgage",title:"Ипотека",title_r:"Ипотек",title_plural:"Ипотеки",link:v.mortgages,image:"ipoteka.png",icon:(0,n.jsx)(a.IconFdsHomeO,{})},{key:"AUTO_CREDIT",serviceTagName:"autoCredit",title:"Автокредиты",title_r:"Автокредитов",title_plural:"Автокредиты",link:v.autoCredits,image:"autoCredits.png",icon:(0,n.jsx)(a.IconFdsCarFrontO,{})},{key:"DEBIT_CARD",serviceTagName:"debitCard",title:"Дебетовые карты",title_r:"Дебетовых карт",title_plural:"Дебетовые карты",link:v.debitCards,image:"debitCards.png",icon:(0,n.jsx)(a.IconFdsWalletO,{})},{key:"MICRO_CREDIT",serviceTagName:"microCredit",title:"Микрозаймы",title_r:"Микрозаймов",title_plural:"Микрозаймы",link:v.microCredits,image:null,icon:null},{key:"KASKO",serviceTagName:"",title:"Каско",title_r:"Каско",title_plural:"Каско",link:v.kasko,image:"kasko.png",icon:(0,n.jsx)(a.IconFdsCarFrontShieldO,{})},{key:"OSAGO",serviceTagName:"",title:"ОСАГО",title_r:"ОСАГО",title_plural:"ОСАГО",link:v.osago,image:"osago.png",icon:(0,n.jsx)(a.IconFdsCarFrontO,{})},{key:"mortgage",serviceTagName:"",title:"Ипотека",title_r:"Ипотек",title_plural:"Ипотеки",link:v.mortgage,image:"mortgages.png",icon:(0,n.jsx)(a.IconFdsHomeO,{})},{key:"PROPERTY",serviceTagName:"",title:"Недвижимость",title_r:"Недвижимости",title_plural:"Недвижимости",link:v.property,image:"property.png",icon:(0,n.jsx)(a.IconFdsHomeO,{})},{key:"TRAVEL_INSURANCE",serviceTagName:"",title:"Путешествия",title_r:"Путешествий",title_plural:"Путешествия",link:v.travel_insurance,image:null,icon:(0,n.jsx)(a.IconFdsCompassO,{})},{key:"DMS",serviceTagName:"",title:"ДМС",title_r:"ДМС",title_plural:"ДМС",link:v.dms,image:null,icon:(0,n.jsx)(a.IconFdsCertificateO,{})},{key:"TICK_INSURANCE",serviceTagName:"",title:"От укуса клеща",title_r:"От укуса клеща",title_plural:"От укуса клеща",link:v.tick_insurance,image:null,icon:(0,n.jsx)(a.IconFdsBugTickO,{})},{key:"SPORT_INSURANCE",serviceTagName:"",title:"Спортивная",title_r:"Спортивной",title_plural:"Спортивные",link:v.sport_insurance,image:null,icon:(0,n.jsx)(a.IconFdsCupO,{})}],_=e=>e?(0,r.e)(e).flatMap(e=>{let t=p.find(t=>t.link===e);return t?[{key:t.key,doc_count:1,top_offers:{hits:[]}}]:[]}):[],g=e=>p.map(t=>{var i,n,a;let l=null==e?void 0:e.find(e=>e.key===t.key);return{title:t.title,title_r:t.title_r,title_plural:t.title_plural,link:t.link,image:"",icon:t.icon,serviceName:t.key,serviceTagName:t.serviceTagName,offers:(null==l?void 0:null===(i=l.top_offers)||void 0===i?void 0:i.hits)||[],totalOffersCount:null!==(n=null==l?void 0:l.doc_count)&&void 0!==n?n:0,count:null!==(a=null==l?void 0:l.doc_count)&&void 0!==a?a:0}}).filter(e=>e.totalOffersCount>0),f=(e,t,i,n,a)=>{let l=[{id:"about",label:i?"О ".concat(t.name_p):"Досье",path:m.about,title:"Информация о ".concat(e.info.naming.nameP||e.name),metaTitle:"".concat(e.name," — Финуслуги"),isExternal:!1},{id:"reviews",label:"Отзывы",path:m.reviews,title:"Отзывы о ".concat(e.info.naming.nameP||e.name),metaTitle:"Отзывы о ".concat(e.info.naming.nameP||e.name," и его продуктах"),isExternal:!1},{id:"ratings",label:"Рейтинг",path:m.ratings,title:"Рейтинги ".concat(e.info.naming.nameR||e.name),metaTitle:"Рейтинги ".concat(e.info.naming.nameR||e.name," — Финуслуги"),isExternal:!1}];if(n&&a&&l.push({id:"uslugi",label:"Услуги",path:"/".concat(a),title:"Услуги ".concat(e.info.naming.nameR||e.name),metaTitle:"Услуги ".concat(e.info.naming.nameR||e.name," — Финуслуги"),isExternal:!1}),i){let t=(0,o.s)(e.url);t&&l.push({id:"calculator",label:"Калькулятор",path:t,title:"",metaTitle:"",isExternal:!0})}return l},h={osago:{title:"ОСАГО",url:"/osago",image:"/mp-assets/widgets/header/images/osago.png",image2:"/mp-assets/widgets/header/images2/osago.png"},kasko:{title:"КАСКО",url:"/kasko",image:"/mp-assets/widgets/header/images/kasko.png",image2:"/mp-assets/widgets/header/images2/kasko.png"},mortgage:{title:"Страхование ипотеки",url:"/mortgage",image:"/mp-assets/widgets/header/images/shield.png",image2:"/mp-assets/widgets/header/images2/shield.png"},property:{title:"Страхование недвижимости",url:"/property",image:"/mp-assets/widgets/header/images/property.png",image2:"/mp-assets/widgets/header/images2/property.png"}},y="companyDetail",w=["/uslugi","/kreditnye_karty","/potrebitelskie_kredity","/ipoteka","/avtokredity","/vklady","/debetovye_karty","/osago","/kasko","/property","/mortgage","/mikrozajmy"],x=Object.values(m).concat(w)},62536:function(e,t,i){"use strict";i.d(t,{e:function(){return o},f:function(){return s}});var n=i(94825),a=i(8285),l=i(2550);let o=e=>["kasko","osago","mortgage","property"].filter(t=>e[t]),r=(e,t,i)=>t===n.yz.insurance?i[0]?"/".concat(i[0]):"":e.detailedInfoServicesUrl?"/".concat(e.detailedInfoServicesUrl):"",s=(e,t,i)=>e.map(e=>{var s,c,d,u,m;let v=e.insuranceFilters?o(e.insuranceFilters):[];return{id:e.id,name:e.name,archive:!1,url:e.url,bic:null===(c=e.info)||void 0===c?void 0:null===(s=c.requisites)||void 0===s?void 0:s.bic,logo:null,reviews_rating:0,reviews_num:(null===(d=e.reviewsInfo)||void 0===d?void 0:d.totalCount)||0,description:"",reviews_rating_new:0,detailPageUrl:(0,l.t$)("".concat(t,"/").concat(a.O0[i.toLowerCase()].url,"/").concat(e.url)),phone:void 0,site:void 0,regions:[],productsNum:e.insuranceFilters?v.length:e.serviceCount||0,uslugiUrl:r(e,i,v),legal_address:void 0,registration_number:i===n.yz.mfo?null===(m=e.info)||void 0===m?void 0:null===(u=m.requisites)||void 0===u?void 0:u.regNumber:void 0}})},45418:function(e,t,i){"use strict";i.d(t,{j:function(){return U}});var n=i(57437),a=i(2265),l=i(33145),o=i(35563),r=i(75461),s=i(61994),c=i(60816),d=i(66617),u=i(80684),m=i(37790),v=i.n(m);let p=()=>(0,n.jsxs)("div",{className:v().wrapper,children:[(0,n.jsxs)("div",{className:v().title,children:["Как мы работаем",(0,n.jsx)("br",{}),"с отзывами"]}),(0,n.jsxs)("div",{className:v().content,children:[(0,n.jsxs)("div",{className:v().item,children:[(0,n.jsx)(u.IconFdsOctostarCheckO,{size:24}),(0,n.jsx)("div",{className:v().text,children:"Отзывы проходят модерацию"})]}),(0,n.jsxs)("div",{className:v().item,children:[(0,n.jsx)(u.IconFdsThumbDownO,{size:24}),(0,n.jsx)("div",{className:v().text,children:"Подозрительные — не публикуются и не влияют на рейтинг"})]}),(0,n.jsxs)("div",{className:v().item,children:[(0,n.jsx)(u.IconFdsClockO,{size:24}),(0,n.jsxs)("div",{className:v().text,children:["Чем старше отзыв, тем меньше",(0,n.jsx)("br",{}),"он влияет на рейтинг"]})]})]})]});var _=i(46295),g=i(51479),f=i(54550),h=i(28574),y=i.n(h);let w=e=>{let{company:t,orgType:i,eventCategory:a}=e,l=(0,_.S)(),o="".concat(l.NEXT_PUBLIC_BASE_URL,"/vyrazit_mnenie").concat(t&&i?"?".concat(i,"=").concat(t):"");return(0,n.jsxs)("a",{className:y().wrapper,href:o,onClick:()=>{(0,g.D)({eventCategory:a||"",eventActionType:g.i.banner,eventActionText:(0,f.b)("Оставить отзыв"),eventLabel:(0,f.b)(t||"")})},children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:y().head,children:[(0,n.jsx)("div",{className:y().icon,children:(0,n.jsx)(u.IconFdsChatDotsSquareO,{size:24})}),"Оставьте отзыв"]}),(0,n.jsx)("p",{className:y().subtitle,children:"Расскажите о своём опыте использования банковских услуг"})]}),(0,n.jsx)(r.zx,{label:"Написать",size:"s"})]})};var x=i(85811),b=i(29862),C=i(73315),j=i.n(C);let N=e=>{let t=(0,r.aF)("m"),i=e.forceMobile||t,a="ReviewDetail"===e.type,l=a?i?18:21:i?16:21;return(0,n.jsx)(o.Od,{className:(0,s.Z)(j().avatar,{[j().desktop]:!i,[j().reviewDetail]:a}),children:(0,n.jsx)("div",{className:j().companyLogoWrapper,children:(0,n.jsx)(b.G,{width:l,height:l})})})};var T=i(95177),k=i.n(T);let R=()=>(0,n.jsx)(n.Fragment,{children:[1,2,3,4].map(e=>(0,n.jsxs)("a",{className:(0,s.Z)(k().review),children:[(0,n.jsxs)("div",{className:k().reviewHeader,children:[(0,n.jsxs)("div",{className:k().reviewHeaderTop,children:[(0,n.jsxs)("div",{className:k().reviewAuthor,children:[(0,n.jsx)(N,{}),(0,n.jsxs)("div",{className:k().authorInfo,children:[(0,n.jsx)(o.Od,{className:k().authorName,width:80,height:24}),(0,n.jsx)(o.Od,{className:k().rating,width:125,height:24})]})]}),(0,n.jsx)(o.Od,{className:k().date,width:70,height:24})]}),(0,n.jsxs)("div",{className:k().badges,children:[(0,n.jsx)(o.Od,{className:k().badge,width:70,height:28}),(0,n.jsx)(o.Od,{className:k().badge,width:70,height:28})]}),(0,n.jsx)(o.Od,{className:k().date,width:70,height:20})]}),(0,n.jsxs)("div",{className:(0,s.Z)(k().reviewContent),children:[(0,n.jsx)(o.Od,{className:k().reviewTitle,height:24}),(0,n.jsx)(o.Od,{className:(0,s.Z)(k().reviewText,{[k().overlay]:!0}),height:120}),(0,n.jsx)("div",{className:k().reviewContentBottom,children:(0,n.jsx)(o.Od,{className:k().readAllButton,width:123,height:24})})]})]},e))});var S=i(94073),A=i(24269),I=i(71938),L=i(75599),P=i(36773);let O=e=>{let{review:t}=e,[i,l]=(0,a.useState)(!1),o=(0,a.useRef)(null),r=(0,x.d)(o);return(0,n.jsxs)("div",{className:(0,s.Z)(k().reviewContent,{[k().expanded]:i}),children:[(0,n.jsx)("div",{className:k().reviewTitle,children:t.title}),(0,n.jsx)("div",{ref:o,className:(0,s.Z)(k().reviewText,{[k().overlay]:r}),children:t.review}),(0,n.jsxs)("div",{className:k().reviewContentBottom,children:[r?(0,n.jsx)("button",{className:k().readAllButton,onClick:()=>l(!0),children:"Читать полностью"}):(0,n.jsx)("div",{}),t.answers_count>0&&(0,n.jsxs)("button",{className:k().commentsIcon,children:[(0,n.jsx)(u.IconFdsChatDotsCircleO,{size:20}),(0,n.jsx)("p",{className:k().commentsLabel,children:t.answers_count})]})]})]})},E=e=>{let t=e.fkType===A.$.insurance?"/otzyv":e.fkType===A.$.mfo?"/mfo":"/banki",i=e.fkType===A.$.insurance?"":"/otzyvy";return"".concat(t,"/").concat(e.fkUrl).concat(i,"/").concat(e.url)},B=e=>{let{reviews:t,loading:i,onClick:a,eventCategory:l}=e,o=e=>{let t=E(e);(0,g.D)({eventCategory:l||"",eventActionType:g.i.offer,eventActionText:(0,f.b)(e.title||""),eventLabel:(0,f.b)(t||"")}),a({...e,text:e.review,orgType:e.fkType,product_type:[e.fkName||"",e.serviceName||""],publ_date:(0,I.p6)(e.date||"").toString(),bank_logo:e.fkLogo||void 0,bank_url:(0,P.A)(e)||e.fkUrl,url:t})},c=e=>t=>{t.preventDefault(),o(e)};return i?(0,n.jsx)(R,{}):(0,n.jsx)(n.Fragment,{children:t.map((e,t)=>(0,n.jsxs)("a",{className:(0,s.Z)(k().review,k().clickable),href:E(e),onClick:c(e),children:[(0,n.jsxs)("div",{className:k().reviewHeader,children:[(0,n.jsxs)("div",{className:k().reviewHeaderTop,children:[(0,n.jsxs)("div",{className:k().reviewAuthor,children:[(0,n.jsx)(S.y,{user:e.name,...e}),(0,n.jsxs)("div",{className:k().authorInfo,children:[(0,n.jsx)("div",{className:k().authorName,children:e.name}),(0,n.jsxs)("div",{className:k().rating,children:[(0,n.jsx)("div",{className:k().ratingValue,children:(0,L.Z)(e.rating)}),(0,n.jsx)("div",{className:k().ratingStars,children:[1,2,3,4,5].map(t=>(0,n.jsx)(u.IconFdsStarF,{className:(0,s.Z)(k().star,t>e.rating&&k().gray)},t))})]})]})]}),(0,n.jsx)("div",{className:k().date,children:(0,I.p6)(e.date||"").toString()})]}),(0,n.jsxs)("div",{className:k().tags,children:[!!e.fkName&&(0,n.jsx)(r.Vp,{label:e.fkName,variant:"secondary"}),!!e.serviceName&&(0,n.jsx)(r.Vp,{label:e.serviceName,variant:"secondary"}),!!e.answers_count&&(0,n.jsx)(r.Vp,{label:"Есть ответ банка",variant:"purple"})]}),(0,n.jsx)("div",{className:k().date,children:(0,I.p6)(e.date||"").toString()})]}),(0,n.jsx)(O,{review:e})]},t))})},M=(e,t)=>{let i;if(t){let{legal_entities:e}=t;if(Array.isArray(e)&&e.length>0){let t=e[0];"legal_address"in t&&t.legal_address?i=t.legal_address:"address"in t&&(i=t.address)}}return{"@context":"https://schema.org","@type":"ItemList",name:"Отзывы о финансовых организациях",description:"Собираем мнения клиентов о банках и финансовых организациях представленных на Финуслугах",itemListElement:e.map((e,t)=>({"@type":"ListItem",position:t+1,item:{"@type":"Review",itemReviewed:{"@type":e.fkType===A.$.insurance?"InsuranceAgency":"BankOrCreditUnion",name:e.fkName,...i&&{address:{"@type":"PostalAddress",addressLocality:i}}},reviewRating:{"@type":"Rating",ratingValue:e.rating},author:{"@type":"Person",name:e.name||"Аноним"},datePublished:e.date,reviewBody:e.review}}))}};var D=i(76175),F=i(29681);let U=e=>{let{reviews:t,onShowMore:i,loading:u,loadingMore:m,eventCategory:v,initialMaxPage:_,initialPage:g,company:f}=e,[h,y]=(0,a.useState)(!1),[x,b]=(0,a.useState)(null);return(0,n.jsxs)(o.W2,{children:[(0,n.jsxs)("div",{className:k().wrapper,children:[(0,n.jsxs)("div",{className:k().container,children:[(0,n.jsxs)("div",{className:(0,s.Z)(k().list,{[k().loading]:u,[k().empty]:!t.length&&!u}),children:[(0,n.jsx)(B,{reviews:t,loading:u,eventCategory:v,onClick:e=>{b(e),y(!0)}}),(0,n.jsx)(d.H,{page:g,totalPage:_,url:"/otzyvy"})]}),i&&(0,n.jsx)("div",{className:k().buttonWrapper,children:(0,n.jsx)(r.zx,{variant:"secondary",size:"s",onClick:i,pending:u||m,children:"Показать еще"})}),(0,n.jsx)(c.d,{data:M(t,f)}),!t.length&&(0,n.jsxs)("div",{className:k().notFound,children:[(0,n.jsx)(l.default,{className:k().image,width:300,height:200,loading:"lazy",src:F.Z,alt:"Изображение - К сожалению, мы ничего не нашли"}),(0,n.jsx)("div",{className:k().notFoundTitle,children:"К сожалению, мы ничего не нашли"})]})]}),(0,n.jsxs)("div",{className:k().bannerWrapper,children:[(0,n.jsx)(w,{eventCategory:v||""}),(0,n.jsx)(p,{})]})]}),(0,n.jsx)(D.Y,{data:x,buttonData:{link:"",text:""},showAllStars:!0,isOpen:h,onClose:()=>y(!1)})]})}},66285:function(e,t,i){"use strict";i.d(t,{G:function(){return a}});var n=i(24269);let a=e=>{let{type:t,com:i,service:a}=e,l=t===n.$.insurance?"sk":t===n.$.mfo?"mfo":"",o="",r="";o=window.location.search,r=window.location.hash;let s=new URLSearchParams(o);l?s.set("type",l):s.delete("type"),(null==i?void 0:i.length)?s.set("com",i.join("~")):s.delete("com"),a?s.set("service",a):s.delete("service");let c=s.toString();return"/otzyvy".concat(c?"?".concat(c):"").concat(r)}},46001:function(e,t,i){"use strict";i.d(t,{default:function(){return Z}});var n=i(57437),a=i(35563),l=i(75461),o=i(20777),r=i(46295),s=i(17730),c=i(49180),d=i(60816),u=i(70754),m=i(24269);let v=(e,t)=>{if(!e)return 0;if("number"==typeof e.people_rating)return e.people_rating;let i=0,n=0,a=[];return t===m.$.insurance?a=[{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?a=[{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?a=[{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?a=[{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?a=[{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?a=[{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?a=[{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?a=[{r:e.rating.informing,f:.2},{r:e.rating.service,f:.8}]:8===e.filter_id?a=[{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?a=[{r:e.rating.informing,f:.2},{r:e.rating.service,f:.8}]:10===e.filter_id&&(a=[{r:e.rating.informing,f:.8},{r:e.rating.receipt,f:.5},{r:e.rating.payments,f:1},{r:e.rating.service,f:.7}]),a.forEach(function(e){e.r&&(i+=e.r*e.f,n+=e.f)}),i=n?i/n:0},p=e=>{let t,{item:i,baseUrl:n,orgType:a,org:l}=e,o="".concat(n,"/banki/").concat(null==l?void 0:l.url,"/otzyvy/").concat(i.url),r=v(i,a);if(l){let{legal_entities:e}=l;if(Array.isArray(e)&&e.length>0){let i=e[0];"legal_address"in i&&i.legal_address?t=i.legal_address:"address"in i&&(t=i.address)}}return{"@context":"https://schema.org","@type":"Review","@id":"".concat(o,"#review"),mainEntityOfPage:{"@type":"WebPage","@id":o},inLanguage:"ru-RU",itemReviewed:{"@type":a===m.$.insurance?"InsuranceAgency":"BankOrCreditUnion",...l&&{name:l.name},brand:{"@type":"Organization",...l&&{name:l.name}},...t&&{address:{"@type":"PostalAddress",addressLocality:t}}},name:i.title,reviewBody:i.review,datePublished:i.published,reviewRating:{"@type":"Rating",ratingValue:Math.round(r),bestRating:5,worstRating:1},author:{"@type":"Person",name:i.first_name},publisher:{"@type":"Organization",name:"Финуслуги",url:n}}};var _=i(80684),g=i(61994),f=i(44197),h=i(91672),y=i(58514),w=i(75599),x=i(68671),b=i.n(x);let C=e=>{let t=(0,r.S)();if(!e.org)return null;let{name_p:i,url:a}=y.yi[e.orgType];return(0,n.jsx)("div",{className:(0,g.Z)(b().wrapper,e.className),children:(0,n.jsxs)("div",{className:b().card,children:[(0,n.jsxs)("div",{className:b().logo,children:[(0,n.jsx)(h.D,{bic:e.org.bic||e.org.url||"",url:e.org.url,type:e.orgType,width:42,height:42,companyName:e.org.name}),(0,n.jsxs)("div",{className:b().ratingBadge,children:[(0,n.jsx)(_.IconFdsStarF,{className:b().star}),(0,w.Z)(e.generalRating||0)]})]}),(0,n.jsx)("div",{className:b().title,children:e.org.name}),(0,n.jsx)("ul",{className:b().list,children:!!e.org.reviews_num&&(0,n.jsxs)("li",{children:[e.org.reviews_num," отзывов"]})}),(0,n.jsx)(f.j,{className:b().fullInfoLink,mainPageUrl:t.NEXT_PUBLIC_BASE_URL,href:"/".concat(a,"/").concat(e.org.url),target:"_self",text:"Подробнее о ".concat(i)})]})})};var j=i(19621),N=i(71938),T=i(16205),k=i.n(T);let R=e=>{let{data:t,organization:i,organizationType:a}=e;if(t.length)return(0,n.jsxs)("div",{className:k().answers,children:[(0,n.jsx)("p",{className:k().title,children:"Ответ организации"}),(0,n.jsx)("div",{className:k().list,children:t.map(e=>{let{id:t,answer:l,published:o,user:r}=e;return(0,n.jsxs)("div",{className:k().answer,children:[(0,n.jsx)("div",{className:k().logo,children:(0,n.jsx)(h.D,{bic:(null==i?void 0:i.bic)||(null==i?void 0:i.url)||"",type:a,url:null==i?void 0:i.url,width:48,height:48,companyName:null==i?void 0:i.name})}),(0,n.jsxs)("div",{className:k().content,children:[(0,n.jsxs)("div",{className:k().info,children:[(0,n.jsx)("p",{className:k().name,children:(null==r?void 0:r.company_name)||(null==i?void 0:i.name)}),(0,n.jsx)("p",{className:k().date,children:(0,N.p6)(o,{format:"dd.MM.yyyy HH:mm"}).toString()})]}),(0,n.jsx)("div",{className:k().text,dangerouslySetInnerHTML:{__html:l}})]})]},t)})})]})};var S=i(94073),A=i(68583),I=i.n(A);let L=e=>{var t,i,a,o,r,s,c;let d=v(e.review,e.orgType);return(0,n.jsxs)("div",{className:I().wrapper,children:[(0,n.jsxs)("div",{className:I().header,children:[(0,n.jsxs)("div",{className:I().user,children:[(0,n.jsx)(S.y,{user:e.review.first_name,bic:null===(t=e.org)||void 0===t?void 0:t.bic,fkUrl:null===(i=e.org)||void 0===i?void 0:i.url,fkLogo:null===(a=e.org)||void 0===a?void 0:a.logo_mob,fkType:e.orgType,type:"ReviewDetail",fkName:null===(o=e.org)||void 0===o?void 0:o.name}),(0,n.jsxs)("div",{className:I().info,children:[(0,n.jsx)("div",{className:I().name,children:e.review.first_name}),(0,n.jsxs)("div",{className:I().rating,children:[(0,w.Z)(d),(0,n.jsx)("div",{className:I().ratingStars,children:[1,2,3,4,5].map(e=>(0,n.jsx)(_.IconFdsStarF,{size:18,className:(0,g.Z)(I().star,{[I().gray]:e>Number(d)})},e))})]})]})]}),(0,n.jsx)("div",{className:I().date,children:(0,N.p6)(e.review.published).toString()})]}),(0,n.jsxs)("div",{className:I().tags,children:[!!(null===(r=e.org)||void 0===r?void 0:r.name)&&(0,n.jsx)(l.Vp,{label:null===(s=e.org)||void 0===s?void 0:s.name,variant:"secondary"}),!!e.review.serviceName&&(0,n.jsx)(l.Vp,{label:(null===(c=j.lX.find(t=>t.key===e.review.serviceName))||void 0===c?void 0:c.title)||"",variant:"secondary"}),e.review.answers.length>0&&(0,n.jsx)(l.Vp,{label:"Есть ответ банка",variant:"purple"})]}),(0,n.jsxs)("div",{className:I().text,children:[(0,n.jsx)("div",{className:I().title,children:e.review.title}),(0,n.jsx)("div",{className:I().review,children:e.review.review})]}),(0,n.jsx)(R,{data:e.review.answers,organization:e.org,organizationType:e.orgType})]})},P=(e,t,i)=>{switch(t){case m.$.insurance:return"/otzyv/".concat((null==i?void 0:i.url)||"","/").concat(e.url);case m.$.mfo:return"/mfo/".concat((null==i?void 0:i.url)||"","/otzyvy/").concat(e.url);default:return"/banki/".concat((null==i?void 0:i.url)||"","/otzyvy/").concat(e.url)}};var O=i(51479),E=i(54550),B=i(83756),M=i.n(B);let D=e=>{var t,i,a,o,r,s;let c=P(e.review,e.orgType,e.org);return(0,n.jsxs)("a",{className:M().wrapper,href:c,target:"_self",onClick:()=>{(0,O.D)({eventCategory:u.lD,eventActionType:O.i.offer,eventActionText:(0,E.b)(e.review.title||""),eventLabel:(0,E.b)(c||"")})},children:[(0,n.jsxs)("div",{className:M().header,children:[(0,n.jsxs)("div",{className:M().user,children:[(0,n.jsx)(S.y,{user:e.review.first_name,bic:null===(t=e.org)||void 0===t?void 0:t.bic,fkUrl:null===(i=e.org)||void 0===i?void 0:i.url,fkLogo:null===(a=e.org)||void 0===a?void 0:a.logo_mob,fkType:e.orgType,forceMobile:!0,fkName:null===(o=e.org)||void 0===o?void 0:o.name}),(0,n.jsxs)("div",{children:[(0,n.jsx)("div",{className:M().name,children:e.review.first_name}),(0,n.jsxs)("div",{className:M().rating,children:[(0,w.Z)(v(e.review,e.orgType)),(0,n.jsx)(_.IconFdsStarF,{size:16,className:M().ratingIcon})]})]})]}),(0,n.jsx)("div",{className:M().date,children:(0,N.p6)(e.review.published).toString()})]}),(0,n.jsxs)("div",{className:M().tags,children:[!!(null===(r=e.org)||void 0===r?void 0:r.name)&&(0,n.jsx)(l.Vp,{size:"s",label:null===(s=e.org)||void 0===s?void 0:s.name,variant:"secondary"}),!!e.review.serviceName&&(0,n.jsx)(l.Vp,{size:"s",label:e.review.serviceName,variant:"secondary"}),e.review.answers.length>0&&(0,n.jsx)(l.Vp,{size:"s",label:"Есть ответ банка",variant:"purple"})]}),(0,n.jsxs)("div",{className:M().text,children:[(0,n.jsx)("div",{className:M().title,children:e.review.title}),(0,n.jsx)("div",{className:M().review,children:e.review.review}),(0,n.jsxs)("div",{className:M().footer,children:[(0,n.jsx)("button",{className:M().readMore,children:"Читать полностью"}),e.review.answers.length>0&&(0,n.jsxs)("button",{className:M().commentsIcon,children:[(0,n.jsx)(_.IconFdsChatDotsCircleO,{size:20}),(0,n.jsx)("p",{className:M().commentsLabel,children:e.review.answers.length})]})]})]})]})};var F=i(90852),U=i(1413),z=i.n(U);let W=e=>{var t,i,a,l,o;let s=(0,r.S)().NEXT_PUBLIC_BASE_URL,c=(0,F.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===(i=e.org)||void 0===i?void 0:i.url):"/".concat(u,"/").concat(null===(a=e.org)||void 0===a?void 0:a.url,"/otzyvy");return(0,n.jsxs)("div",{className:(0,g.Z)(z().wrapper,e.className),children:[(0,n.jsx)("h2",{className:z().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,n.jsx)("div",{className:z().list,children:e.companyReviews.map(t=>(0,n.jsx)(D,{review:t,...e},t.id))}),!!e.org&&(0,n.jsx)(f.j,{className:z().fullInfoLink,iconColor:"white",mainPageUrl:s,href:v,target:"_self",text:"Смотреть все отзывы о ".concat(d)})]})};var H=i(29587),V=i(89487),q=i(77919),$=i.n(q),Z=e=>{let{orgType:t,review:i,companyReviews:v,org:_,generalRating:g,orgPlace:f,mostPopularServiceName:h,bestOffersData:y,supportBlockData:w}=e,x=(0,r.S)(),b=H.H[t],j=(0,F.r)((null==_?void 0:_.name)||"")?"об":"о",N=(null==_?void 0:_.name_p)?" ".concat(j," ").concat(null==_?void 0:_.name_p):"",T=i.first_name_r?" от ".concat(i.first_name_r):"",k={[m.$.mfo]:"mfo",[m.$.insurance]:"sk"}[t]||null;return(0,n.jsxs)("div",{className:$().page,children:[(0,n.jsxs)(a.W2,{children:[(0,n.jsx)(l.Oo,{style:{padding:"16px 0"},items:[{href:"/",label:"Главная"},{label:"Отзывы о ".concat(b.name_p),href:"/otzyvy".concat(k?"?type=".concat(k):"")},{label:"Отзыв".concat(N).concat(T)}]}),(0,n.jsx)("h1",{className:"collapsed",children:i.title}),(0,n.jsxs)("div",{className:$().wrapper,children:[(0,n.jsxs)("div",{className:$().main,children:[(0,n.jsx)(L,{review:i,org:_,orgType:t}),(0,n.jsx)(W,{org:_,companyReviews:v,orgType:t,className:"desktopOnly"})]}),(0,n.jsxs)("div",{className:$().sidebar,children:[(0,n.jsx)(c.v,{eventCategory:u.lD}),(0,n.jsx)(C,{org:_,orgType:t,generalRating:g,orgPlace:f,mostPopularServiceName:h})]})]}),(0,n.jsx)(W,{org:_,companyReviews:v,orgType:t,className:"mobileOnly"}),(0,n.jsx)(d.d,{data:p({item:i,baseUrl:x.NEXT_PUBLIC_BASE_URL,orgType:t,org:_})}),(0,n.jsx)("div",{style:{height:"32px"}})]}),y&&(0,n.jsx)(o.MJ,{tabs:y,baseUrl:x.NEXT_PUBLIC_BASE_URL,s3Assets:"".concat(x.NEXT_PUBLIC_S3_ASSETS,"/mp-assets"),dataLayerPush:V.l}),w&&(0,n.jsx)(s.B,{...w,s3Assets:x.NEXT_PUBLIC_S3_ASSETS})]})}},29248:function(e,t,i){"use strict";var n,a,l,o,r,s,c,d,u,m;i.d(t,{BH:function(){return o},ib:function(){return s},vA:function(){return r}}),(c=n||(n={})).HTML="html",c.Header="header",(a||(a={})).Negative="NEGATIVE",(d=l||(l={})).Minus="MINUS",d.Plus="PLUS",(o||(o={})).people="PEOPLE",(u=r||(r={})).pureAssets="pureAssets",u.pureProfit="pureProfit",u.deposits="deposits",u.credits="credits",u.debts="debts",u.totalPortfolio="totalPortfolio",u.untilPayday="untilPayday",u.consumerLoans="consumerLoans",u.businessLoans="businessLoans",u.payoutLevel="payoutLevel",u.capital="capital",u.netProfit="netProfit",u.bonusesPool="bonusesPool",u.paymentVoulume="paymentVoulume",u.disputesRate="disputesRate",u.claimsCount="claimsCount",u.lawsuitsCount="lawsuitsCount",u.ratings="reviews_rating_new",u.reviewsNum="reviews_num",(m=s||(s={})).Desc="desc",m.Asc="asc"},8285:function(e,t,i){"use strict";i.d(t,{Fo:function(){return c},O0:function(){return m},RU:function(){return u},Rd:function(){return p},_k:function(){return v},kX:function(){return r},pA:function(){return d},pm:function(){return s},un:function(){return l}});var n=i(24269),a=i(29248);let l=[{label:"Банки",value:n.$.bank},{label:"МФО",value:n.$.mfo},{label:"Страховые компании",value:n.$.insurance}],o=[{label:"Пользовательский рейтинг",id:a.BH.people}],r={[n.$.bank]:o,[n.$.mfo]:o,[n.$.insurance]:o},s=[{label:"С высокой оценкой",id:a.ib.Desc},{label:"С низкой оценкой",id:a.ib.Asc}],c=[{label:"Много отзывов",id:a.ib.Desc},{label:"Мало отзывов",id:a.ib.Asc}],d={[n.$.bank]:[{label:"Чистым активам",id:a.vA.pureAssets},{label:"Чистой прибыли",id:a.vA.pureProfit},{label:"Вкладам",id:a.vA.deposits},{label:"Кредитам",id:a.vA.credits},{label:"Задолженности",id:a.vA.debts}],[n.$.mfo]:[{label:"Общий размер портфеля",id:a.vA.totalPortfolio},{label:"Объем микрозаймов ФЛ \xabдо зарплаты\xbb",id:a.vA.untilPayday},{label:"Объем потребит. микрозаймов ФЛ",id:a.vA.consumerLoans},{label:"Объем микрозаймов ЮЛ и ИП",id:a.vA.businessLoans}],[n.$.insurance]:[{label:"Уровню выплат",id:a.vA.payoutLevel},{label:"Объему премий",id:a.vA.bonusesPool},{label:"Объему выплат",id:a.vA.paymentVoulume},{label:"Уставному капиталу",id:a.vA.capital},{label:"Чистой прибыли",id:a.vA.netProfit}]},u=[{label:"Рейтингу",id:a.vA.ratings},{label:"Кол-ву отзывов",id:a.vA.reviewsNum}],m={bank:{name_r:"банка",url:"banki",r_url:"polzovatelskij_rejting_bankov",name_p:"банков"},mfo:{name_r:"мфо",url:"mfo",r_url:"polzovatelskij_rejting_mfo",name_p:"мфо"},insurance:{name_r:"компании",url:"kompanija",r_url:"strahovanie_otzyvy",name_p:"страховых компаний"},sk:{name_r:"компании",url:"kompanija",r_url:"strahovanie_otzyvy",name_p:"страховых компаний"}},v={polzovatelskij_rejting_bankov:{orgType:l[0],ratingType:a.BH.people,sortBy:a.ib.Desc,filterBy:a.vA.ratings},polzovatelskij_rejting_mfo:{orgType:l[1],ratingType:a.BH.people,sortBy:a.ib.Desc,filterBy:a.vA.ratings},strahovanie_otzyvy:{orgType:l[2],ratingType:a.BH.people,sortBy:a.ib.Desc,filterBy:a.vA.ratings}},p="rating"},40224:function(e,t,i){"use strict";i.d(t,{Q:function(){return c},d:function(){return s}});var n=i(58514),a=i(19621),l=i(39635);let o=n.yi,r=a.yi,s=(e,t)=>({"@context":"https://schema.org","@type":"ItemList",name:"Рейтинг ".concat(o[t].name_rs_full),description:"Собрали актуальную информацию, чтобы вы знали кому доверить финансы",itemListElement:e.map((e,i)=>({"@type":"ListItem",position:i+1,item:{"@type":o[t].schemaType,name:e.name,description:e.description,url:e.detailPageUrl,...e.logo&&{image:e.logo},...e.phone&&{telephone:e.phone},...e.site&&{sameAs:[e.site]},...e.reviews_rating_new&&{aggregateRating:{"@type":"AggregateRating",ratingValue:(0,l.A)(e.reviews_rating_new),reviewCount:e.reviews_num,ratingCount:e.reviews_num,bestRating:5,worstRating:0}},...e.legal_address&&{address:{"@type":"PostalAddress",addressLocality:e.legal_address}}}}))}),c=(e,t)=>({"@context":"https://schema.org","@type":"ItemList",name:"Рейтинг ".concat(r[t].name_rs_full),description:"Собрали актуальную информацию, чтобы вы знали кому доверить финансы",itemListElement:e.map((e,i)=>({"@type":"ListItem",position:i+1,item:{"@type":r[t].schemaType,name:e.name,description:e.description,url:e.detailPageUrl,...e.logo&&{image:e.logo},...e.phone&&{telephone:e.phone},...e.site&&{sameAs:[e.site]},...e.reviews_rating_new&&{aggregateRating:{"@type":"AggregateRating",ratingValue:(0,l.A)(e.reviews_rating_new),reviewCount:e.reviews_num,ratingCount:e.reviews_num,bestRating:5,worstRating:0}},...e.legal_address&&{address:{"@type":"PostalAddress",addressLocality:e.legal_address}}}}))})},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"}},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"}},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",lowReviewsRatingInfo:"CompanyDetailPeopleRatingTab_lowReviewsRatingInfo__WgoLN",lowReviewsRatingTop:"CompanyDetailPeopleRatingTab_lowReviewsRatingTop__Bzxmd",lowReviewsRatingTitle:"CompanyDetailPeopleRatingTab_lowReviewsRatingTitle__2ENeI",lowReviewsRatingIcon:"CompanyDetailPeopleRatingTab_lowReviewsRatingIcon__L6n7u",lowReviewsRatingLink:"CompanyDetailPeopleRatingTab_lowReviewsRatingLink__C4dBd",lowReviewsRatingDescription:"CompanyDetailPeopleRatingTab_lowReviewsRatingDescription__IrhaM",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"}},4806:function(e){e.exports={wrapper:"ServiceBlocks_wrapper__E_msK",tiles:"ServiceBlocks_tiles__4O3RS",skeleton:"ServiceBlocks_skeleton__R6K1A"}},3994:function(e){e.exports={tile:"ServiceTile_tile__izJFK",active:"ServiceTile_active__ZO6mD",tileContent:"ServiceTile_tileContent__9g3ol",tileTitle:"ServiceTile_tileTitle__gXtWd",count:"ServiceTile_count__mY1ca"}},37790:function(e){e.exports={wrapper:"HowReviewsWork_wrapper__AJmDQ",title:"HowReviewsWork_title__nBoYs",content:"HowReviewsWork_content__TaKqY",item:"HowReviewsWork_item__DRYw8",text:"HowReviewsWork_text__RtTgv"}},28574:function(e){e.exports={wrapper:"ReviewsFeedbackBanner_wrapper__uQVwr",head:"ReviewsFeedbackBanner_head__wWwT9",icon:"ReviewsFeedbackBanner_icon__qj5Hh",subtitle:"ReviewsFeedbackBanner_subtitle__OL2mw"}},95177:function(e){e.exports={notFoundTitle:"ReviewsList_notFoundTitle__ZwE8k",wrapper:"ReviewsList_wrapper__eglLM",container:"ReviewsList_container__y07Zm",bannerWrapper:"ReviewsList_bannerWrapper__4F5x5",image:"ReviewsList_image__vJoxg",list:"ReviewsList_list__DQcXz",loading:"ReviewsList_loading__6BBCK",empty:"ReviewsList_empty___X2_1",review:"ReviewsList_review__Frsno",clickable:"ReviewsList_clickable__2wjHs",readAllButton:"ReviewsList_readAllButton__3bsFa",reviewHeader:"ReviewsList_reviewHeader__LmvBa",reviewHeaderTop:"ReviewsList_reviewHeaderTop__Me4tN",reviewAuthor:"ReviewsList_reviewAuthor__DGYjN",authorInfo:"ReviewsList_authorInfo__UcdKQ",authorName:"ReviewsList_authorName__b51rG",rating:"ReviewsList_rating__V2SE5",ratingValue:"ReviewsList_ratingValue__PnGkC",ratingStars:"ReviewsList_ratingStars__djAOf",star:"ReviewsList_star__4KGCw",gray:"ReviewsList_gray__MFFCJ",date:"ReviewsList_date__KnQZ0",tags:"ReviewsList_tags__1lUrq",reviewContent:"ReviewsList_reviewContent__aeD8R",expanded:"ReviewsList_expanded__ggeZS",reviewText:"ReviewsList_reviewText__KvjVO",reviewTitle:"ReviewsList_reviewTitle__xQciF",overlay:"ReviewsList_overlay__clEa0",reviewContentBottom:"ReviewsList_reviewContentBottom__M_WWR",commentsIcon:"ReviewsList_commentsIcon__5fjpS",commentsLabel:"ReviewsList_commentsLabel___YZMT",buttonWrapper:"ReviewsList_buttonWrapper__UGFWS",paginationNext:"ReviewsList_paginationNext__Cf_IU",notFound:"ReviewsList_notFound__qMp9S"}},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,[7859,4426,5605,6985,4168,4054,4731,6954,6649,7437,3544,5501,207,9684,2285,7082,449,3389,4691,9622,498,8946,7271,1858,7392,4527,2784,2971,2117,1744],function(){return e(e.s=27126)}),_N_E=e.O()}]);