(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4633,7392],{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}},93400:function(e,t,i){"use strict";i.d(t,{MY:function(){return r},QC:function(){return o},Kb:function(){return s}});var n=i(27163),a=i(94825);let l={[a.yz.bank]:[{id:1,name:"Кредитные карты",url:"credit_cards"},{id:2,name:"Потребительские кредиты",url:"consumer_credits"},{id:3,name:"Ипотека",url:"mortgage"},{id:4,name:"Автокредиты",url:"car-credit"},{id:5,name:"Вклады",url:"deposit"},{id:6,name:"Дебетовые карты",url:"debit"},{id:7,name:"Услуги для бизнеса",url:"business_credits"},{id:8,name:"Лизинг",url:"leasing"},{id:9,name:"Прочие банковские услуги",url:"other_services"},{id:14,name:"Инвестиции",url:"investicii"},{id:15,name:"Обучение",url:"obychenie"},{id:34,name:"Фонды",url:"funds"}],[a.yz.mfo]:[{id:10,name:"Микрозаймы",url:"microcredits"}],[a.yz.insurance]:[{id:1,name:"КАСКО",url:"kasko"},{id:2,name:"ОСАГО",url:"osago"},{id:3,name:"Зеленая карта",url:"zelenaja_karta"},{id:4,name:"Страхование туристов",url:"strahovanie_turistov"},{id:5,name:"ДМС",url:"dms"},{id:6,name:"Страхование квартир и домов",url:"strahovanie_kvartir_i_domov"},{id:7,name:"Страхование жизни",url:"strahovanie_zhizni"},{id:8,name:"Ипотечное страхование",url:"ipotechnoe_strahovanie"},{id:9,name:"Другое",url:"drugoe"}]},o={[a.yz.bank]:l[a.yz.bank].map(e=>({label:e.name,value:e.id})),[a.yz.mfo]:l[a.yz.mfo].map(e=>({label:e.name,value:e.id})),[a.yz.insurance]:l[a.yz.insurance].map(e=>({label:e.name,value:e.id}))},r={total:0,page:0,size:0,content:[]},s=async function(){var e;let{url:t,excludeUrl:i,type:l="bank",serviceId:o,from:s=0,size:c=4,sort:d=a.Ys.dateDesc,signal:u}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},v=new URLSearchParams({type:l,from:String(s),size:String(c),sort:d});return t&&v.set("url",t),i&&v.set("excludeUrl",i),o&&v.set("serviceId",String(o)),null!==(e=(await (0,n.t)({url:"/reviews?".concat(v.toString()),options:{isOrganizationApi:!0},config:u?{signal:u}:void 0})).data)&&void 0!==e?e:r}},49180:function(e,t,i){"use strict";i.d(t,{v:function(){return u}});var n=i(57437),a=i(80684),l=i(75461),o=i(46295),r=i(51479),s=i(54550),c=i(12305),d=i.n(c);let u=e=>{let{company:t,orgType:i,eventCategory:c}=e,u=(0,o.S)(),v="".concat(u.NEXT_PUBLIC_BASE_URL,"/vyrazit_mnenie").concat(t&&i?"?".concat(i,"=").concat(t):"");return(0,n.jsxs)("a",{className:d().wrapper,href:v,onClick:()=>{(0,r.D)({eventCategory:c||"",eventActionType:r.i.banner,eventActionText:(0,s.b)("Оставить отзыв"),eventLabel:(0,s.b)(t||"")})},children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:d().head,children:[(0,n.jsx)("div",{className:d().icon,children:(0,n.jsx)(a.IconFdsChatDotsSquareO,{size:24})}),"Оставьте отзыв"]}),(0,n.jsx)("p",{className:d().subtitle,children:"Расскажите о своём опыте использования банковских услуг"})]}),(0,n.jsx)(l.zx,{label:"Написать",size:"s"})]})}},98607:function(e,t,i){"use strict";i.d(t,{u:function(){return r}});var n=i(57437),a=i(80684),l=i(11058),o=i.n(l);let r=()=>(0,n.jsxs)("div",{className:o().wrapper,children:[(0,n.jsxs)("div",{className:o().title,children:["Как мы работаем",(0,n.jsx)("br",{}),"с отзывами"]}),(0,n.jsxs)("div",{className:o().content,children:[(0,n.jsxs)("div",{className:o().item,children:[(0,n.jsx)(a.IconFdsOctostarCheckO,{size:24}),(0,n.jsx)("div",{className:o().text,children:"Отзывы проходят модерацию"})]}),(0,n.jsxs)("div",{className:o().item,children:[(0,n.jsx)(a.IconFdsThumbDownO,{size:24}),(0,n.jsx)("div",{className:o().text,children:"Подозрительные — не публикуются и не влияют на рейтинг"})]}),(0,n.jsxs)("div",{className:o().item,children:[(0,n.jsx)(a.IconFdsClockO,{size:24}),(0,n.jsxs)("div",{className:o().text,children:["Чем старше отзыв, тем меньше",(0,n.jsx)("br",{}),"он влияет на рейтинг"]})]})]})]})},85811:function(e,t,i){"use strict";i.d(t,{d:function(){return a}});var n=i(2265);let a=e=>{let[t,i]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let t=e.current;if(!t)return;let n=new ResizeObserver(()=>{i(t.scrollHeight>t.clientHeight)});return n.observe(t),()=>n.disconnect()},[]),t}},31893:function(e,t,i){"use strict";i.d(t,{S:function(){return o}});var n=i(2265),a=i(60449),l=i(38856);let o=e=>{let{initialRegion:t,initialTown:i}=e,o=(0,a.u)(),[{region:r,town:s},c]=(0,n.useState)({region:t,town:i});return(0,n.useEffect)(()=>{let e=l.A.getItem("user_region"),n=l.A.getItem("user_town"),a=t||e||null,r=i||n||null;c({region:a,town:r}),o.selectCity(a,r),document.addEventListener("onRegionChange",e=>{var t,i;c({region:null==e?void 0:null===(t=e.detail)||void 0===t?void 0:t.region,town:null==e?void 0:null===(i=e.detail)||void 0===i?void 0:i.town})})},[t,i]),{region:r,town:s,handleOpenCityModal:()=>{o.handleToggleModal(!0)}}}},18009:function(e,t,i){"use strict";i.d(t,{default:function(){return iM}});var n,a,l,o,r,s,c,d,u,v,m,_,p,g,h=i(57437),f=i(2265),y=i(99376),w=i(80684),x=i(35563),b=i(75461),j=i(20777),N=i(74157),C=i(73514),T=i(46295),R=i(17730),k=i(61994),S=i(44197),I=i(82300),A=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(49689),V=i(1649),q=i.n(V);let Z=e=>e.map(e=>"string"==typeof e?(0,h.jsx)("div",{dangerouslySetInnerHTML:{__html:e}},e):(0,h.jsxs)("div",{className:q().row,children:[(0,h.jsx)("p",{className:q().year,children:e.data.year}),(0,h.jsx)("div",{className:q().text,dangerouslySetInnerHTML:{__html:e.data.text}})]},e.data.year)),Y=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,h.jsxs)("div",{className:q().history,children:[!r&&(0,h.jsx)("h2",{className:q().historyTitle,children:t}),(0,h.jsx)("div",{className:(0,k.Z)(q().historyRows,{[q().historyModal]:r}),ref:n,children:"string"==typeof i?(0,h.jsx)("div",{dangerouslySetInnerHTML:{__html:i}}):Z(i.slice(0,s?a:i.length))}),"string"!=typeof i&&!r&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:q().gradient}),(0,h.jsx)(S.j,{text:"Показать все",mainPageUrl:M.qL,iconColor:"light",className:q().showAllButton,onClick:l,widthMaxContent:!0})]}),"string"!=typeof i&&i.length>a&&r&&(0,h.jsx)(S.j,{text:"Показать еще",mainPageUrl:M.qL,icon:w.IconFdsChevronDownSmallO,iconColor:"light",className:q().showMoreButton,onClick:o,widthMaxContent:!0})]}):null};var $=i(21241);let Q=e=>{let{items:t}=e,[i,n]=(0,f.useState)(!1),a=()=>n(e=>!e);return t.length?t.map(e=>(0,h.jsxs)("div",{className:q().requisit,children:[(0,h.jsx)("p",{className:q().infoItemTitle,children:e.title}),Array.isArray(e.value)?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:q().infoItemValue,children:e.value.slice(0,i?e.value.length:1).map(e=>(0,h.jsx)("div",{className:q().infoItemValueItem,children:e},e))}),(0,h.jsx)(S.j,{text:i?"Свернуть":"Все свидетельства",mainPageUrl:M.qL,icon:i?w.IconFdsChevronUpSmallO:w.IconFdsChevronDownSmallO,iconColor:"light",className:q().showMoreLicensesButton,onClick:a,widthMaxContent:!0})]}):(0,h.jsx)("div",{className:q().infoItemValue,dangerouslySetInnerHTML:{__html:(0,$.$)(e.value)}})]},e.title)):null},G=e=>{let{title:t,items:i}=e,[n,a]=(0,f.useState)(!1);return i.length&&i[0].length?(0,h.jsxs)("div",{children:[t&&(0,h.jsx)("h2",{className:q().title,children:t}),i.map((e,t)=>(0,h.jsx)("div",{className:(0,k.Z)(q().requisitesColumn,{collapsed:t>0&&!n}),children:(0,h.jsx)(Q,{items:e})},t)),i.length>1&&(0,h.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},X=e=>{let{insuranceTypes:t,loadingInsuranceTypes:i}=e,n=(0,b.aF)("m"),[a,l]=(0,f.useState)(!1),o=(0,f.useRef)(null),[r,s]=(0,f.useState)(!1);return((0,f.useEffect)(()=>{o.current&&s(o.current.scrollHeight>(n?164:76))},[t,n]),i)?(0,h.jsx)(x.Od,{className:q().insuranceTypes,width:468,height:152}):(0,h.jsxs)("div",{className:q().insuranceTypes,children:[(0,h.jsx)("p",{className:q().infoItemTitle,children:"Виды страхования"}),(0,h.jsx)("div",{ref:o,className:(0,k.Z)(q().typesList,{[q().expanded]:a}),children:null==t?void 0:t.map(e=>(0,h.jsx)(b.Vp,{label:e.name,variant:"secondary",className:(0,k.Z)(q().insuranceTypeTag,{[q().insuranceTypeTagFull]:a})},e.id))}),r&&(0,h.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,f.useRef)();(0,f.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,f.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,f.useRef)(null),[d,u]=(0,f.useState)(s),[v,m]=(0,f.useState)(!1),[_,p]=(0,f.useState)(!1),[g,y]=(0,f.useState)(3),[j,N]=(0,f.useState)(3);J(c,l?y:N),K(v);let C=t===D.$.insurance,{description:T}=i,R=ei(t,i),I=en(i),A=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];R.length>0&&O.push(ea),I.length>0&&O.push(el);let E=d===s,B=e=>{u(e),p(!0)},F=T&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(Y,{title:s,description:T,historyRowsRef:c,onShowAll:()=>m(!0),onShowMore:()=>{Array.isArray(T)&&y(T.length)},visibleItems:l?g:j,isPopup:l}),!l&&(0,h.jsx)(P.X,{organizationType:t,bannerUrl:o?L.Te[i.url]:void 0,compact:!0})]}),z=R.length>0&&(0,h.jsx)(G,{title:l?void 0:ea,items:R}),V=I.length>0&&(0,h.jsx)("div",{className:q().contacts,children:(0,h.jsx)(G,{title:l?void 0:el,items:[I]})}),$=(!!(null==A?void 0:A.length)||a)&&(0,h.jsx)(X,{insuranceTypes:A||[],loadingInsuranceTypes:a});return(0,h.jsx)(x.W2,{children:(0,h.jsx)("div",{className:q().wrapper,children:l?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:q().bankInfoTabs,children:O.map(e=>(0,h.jsx)(S.j,{text:e,mainPageUrl:M.qL,icon:w.IconFdsChevronRightO,iconColor:"white",className:q().bankInfoTabButton,onClick:()=>B(e),widthMaxContent:!0},e))}),(0,h.jsx)(H.j,{title:d,isOpen:_,onClose:()=>{p(!1),y(3)},full:E,className:q().historyPopup,children:E?F:d===ea?(0,h.jsxs)(h.Fragment,{children:[z,$]}):d===el?V:null})]}):(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("div",{className:q().topRow,children:[F,(0,h.jsx)(W.d,{className:q().drawer,contentClassName:q().container,isOpen:v,onClose:()=>m(!1),title:(0,h.jsx)("p",{className:q().historyTitle,children:s}),titleAlign:"left",width:"695px",rowTitle:!0,children:(0,h.jsx)("div",{className:(0,k.Z)(q().historyRows,q().historyModal),children:T&&Z(T)})})]}),(0,h.jsxs)("div",{className:(0,k.Z)(q().bottomRow,C&&q().withoutWrap),children:[z,V]}),o&&$]})})})};var er=i(49180),es=i(98607),ec=i(66285),ed=i(75599),eu=i(51479),ev=i(54550),em=i(82869),e_=i.n(em);let ep=e=>"".concat(e," ").concat((0,x._6)(e,"отзыв","отзыва","отзывов")," на Финуслугах"),eg=e=>"cmsId"in e,eh=e=>{if(eg(e)){var t;return String(null!==(t=e.cmsId)&&void 0!==t?t:e.id)}return String(e.id)},ef=e=>(0,h.jsxs)("div",{className:(0,k.Z)(e_().starWrapper,{[e_().mid]:e.mid,[e_().big]:e.big,[e_().partial]:!e.total}),children:[(0,h.jsx)(w.IconFdsStarF,{size:e.big?20:16,className:e_().starIcon}),(0,ed.Z)(e.ratingValue),e.total?"/".concat(e.total):"",e.text?"/":"",(0,h.jsx)("span",{className:e_().starText,children:e.text})]}),ey=e=>{let t=ep(e.reviewsCount);return(0,h.jsxs)("div",{className:e_().lowReviewsRatingInfo,children:[(0,h.jsxs)("div",{className:e_().lowReviewsRatingTop,children:[(0,h.jsxs)("div",{className:e_().lowReviewsRatingTitle,children:[(0,h.jsx)(w.IconFdsStarF,{size:24,className:e_().lowReviewsRatingIcon}),(0,h.jsx)("span",{children:"Рейтинг отсутствует"})]}),(0,h.jsx)(S.j,{className:e_().lowReviewsRatingLink,text:t,mainPageUrl:M.qL,href:e.reviewsHref,target:"_self",offPadding:!0})]}),(0,h.jsxs)("div",{className:e_().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=[eh(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,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)("p",{className:e_().description,children:["Составляется на основе отзывов клиентов ",a.name_rs]}),(0,h.jsxs)("div",{className:e_().peopleRatingWrapper,children:[!e.loading&&(0,h.jsx)("div",{className:e_().peopleRatingTopInfo,children:o<5?(0,h.jsx)(ey,{reviewsCount:o,reviewsHref:c}):(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(ef,{ratingValue:(null==l?void 0:l.total_rating_new)||0,text:"5",big:!0}),(0,h.jsx)(S.j,{className:e_().peopleRatingTopFullInfoLink,text:ep(o),mainPageUrl:M.qL,href:c,target:"_self"})]})}),e.loading&&(0,h.jsx)(x.Od,{className:e_().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,h.jsx)("a",{href:d,className:e_().rowItem,onClick:()=>{(0,eu.D)({eventCategory:M.qL,eventActionType:eu.i.block,eventActionText:(0,ev.b)(r),eventLabel:d})},children:(0,h.jsxs)("div",{className:e_().rowTitleWrapper,children:[!n&&(0,h.jsx)(ef,{ratingValue:o,total:5,mid:!0}),(0,h.jsx)("div",{className:e_().rowTitle,children:r}),(0,h.jsxs)("div",{className:e_().rowLink,children:[n&&(0,h.jsx)(ef,{ratingValue:o,mid:!0}),c&&(n?"/".concat(c):"(".concat(c,")"))]}),(0,h.jsx)(w.IconFdsArrowUpRightSmallO,{size:26,className:e_().rowItemIcon})]})},a)}),r&&e.loading&&[1,2,3,4,5].map(e=>(0,h.jsx)(x.Od,{className:e_().rowItem,height:n?92:64},e))]}),!n&&(0,h.jsxs)("p",{className:e_().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,h.jsx)("div",{className:e_().wrapper,children:(0,h.jsxs)("div",{className:e_().container,children:[(0,h.jsx)("div",{className:e_().body,children:(0,h.jsxs)("div",{className:e_().info,children:[(0,h.jsx)("h2",{className:e_().title,children:"Пользовательский рейтинг"}),(0,h.jsx)(ew,{company:t,companyPeopleRatings:i,orgType:n,serviceTypes:a,loading:l})]})}),(0,h.jsxs)("div",{className:e_().bannerWrapper,children:[(0,h.jsx)(er.v,{company:t.url,orgType:n,eventCategory:"companyDetail"}),(0,h.jsx)(es.u,{})]})]})})};var eb=i(91672),ej=i(96418),eN=i(68927),eC=i.n(eN);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,v=(0,b.aF)("xs"),m=o===D.$.bank,_=o===D.$.insurance,p=void 0!==d?d:l.reviews_num,g=p&&p>0?"".concat(p," ").concat((0,x._6)(p,"отзыв","отзыва","отзывов")):"";return(0,h.jsxs)("div",{className:eC().content,children:[(0,h.jsx)(P.X,{organizationType:o,bannerUrl:_?L.Te[l.url]:void 0}),(0,h.jsxs)("div",{className:eC().wrapper,children:[(0,h.jsx)("div",{className:eC().logo,children:(0,h.jsx)(eb.D,{bic:m&&l.bic||l.url||"",type:o,url:l.url,width:78,height:78,companyName:l.name})}),(0,h.jsxs)("div",{className:eC().info,children:[(0,h.jsxs)("div",{className:eC().company,children:[(0,h.jsx)("div",{className:eC().name,children:l.name}),!!i&&(0,h.jsxs)("div",{className:eC().rating,children:[(0,h.jsx)(w.IconFdsStarF,{size:v?20:24,className:eC().iconStar}),(0,ed.Z)(i)]})]}),(0,h.jsx)("p",{className:eC().description,children:l.short_description}),(0,h.jsx)(S.j,{className:eC().fullInfoLink,text:"Каталог всех ".concat(n),mainPageUrl:u,href:"".concat(u,"/").concat(a),target:"_self"})]}),(0,h.jsxs)("div",{className:eC().rightInfo,children:[r>0&&(0,h.jsx)(ej.E,{title:"Продукты",link:"".concat(r," ").concat((0,x._6)(r,"продукт","продукта","продуктов")," на сайте"),color:"#E7F9F6",icon:(0,h.jsx)(w.IconFdsOctostarCheckO,{size:24}),onClick:()=>s("uslugi"),href:c({tab:{id:"uslugi",path:"/".concat(t)}})}),(0,h.jsx)(ej.E,{title:"Пользовательский рейтинг",link:"Составляется на основе отзывов",color:"#FEF1FE",icon:(0,h.jsx)(w.IconFdsChartTrendSquareO,{size:24}),onClick:()=>s("ratings"),href:c({tab:{id:"ratings",path:"/rejtingi"}})}),(0,h.jsx)(ej.E,{title:p?"Клиенты рекомендуют":"Отзывов нет",link:g,color:"#FFF4E0",icon:(0,h.jsx)(w.IconFdsChatDotsSquareO,{size:24}),onClick:()=>s("reviews"),href:c({tab:{id:"reviews",path:"/otzyvy"}})}),(0,h.jsx)(S.j,{className:eC().fullInfoLink,text:"Каталог всех ".concat(n),mainPageUrl:M.qL,href:"".concat(u,"/").concat(a),target:"_self"})]})]})]})};var eR=i(41356);let ek=[{value:"newest",label:"Сначала новые"},{value:"oldest",label:"Сначала старые"},{value:"high-rating",label:"С высокой оценкой"},{value:"low-rating",label:"С низкой оценкой"}];var eS=i(45418),eI=i(36773);let eA=(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,eI.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,f.useState)(a),[d,u]=(0,f.useState)(o),[v,m]=(0,f.useState)("newest"),[_,p]=(0,f.useState)(!1),[g,y]=(0,f.useState)(l>1),j=(0,f.useRef)(r),[N,C]=(0,f.useState)(!a.length),[T,R]=(0,f.useState)(!1),k=(0,f.useRef)(!0),S=eA(s,d,null,i),I=(null===(t=ek.find(e=>e.value===v))||void 0===t?void 0:t.label)||ek[0].label,A="oldest"===v||"low-rating"===v,L=n===D.$.mfo&&i.cmsId?i.cmsId:null,P=(0,f.useMemo)(()=>(0,eR.K1)({type:n,companyIds:L?[L]:[i.id],sort:"high-rating"===v||"low-rating"===v?"rating":void 0,orderDesc:!A}),[n,i.id,L,v,A]),O=(0,f.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;j.current=e,1===e?C(!0):R(!0),(0,eR.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(()=>{C(!1),R(!1)})},[P.reviews,L]);(0,f.useEffect)(()=>{if(k.current&&a.length>0){k.current=!1;return}O()},[O]);let E=(0,f.useCallback)(e=>{(0,eu.D)({eventCategory:M.qL,eventActionType:eu.i.select,eventActionText:(0,ev.b)(e.label)}),m(e.value),p(!1)},[m,p]);return(0,h.jsxs)("section",{className:eO().section,children:[(0,h.jsx)(x.W2,{children:(0,h.jsx)("div",{className:eO().sortWrapper,children:(0,h.jsxs)(b.Lt,{opened:_,placement:"bottom-end",onToggle:p,children:[(0,h.jsxs)(b.WA,{onClick:()=>p(!0),className:eO().activeSortOption,children:[A?(0,h.jsx)(w.IconFdsSortAscendingO,{className:eO().sortIcon}):(0,h.jsx)(w.IconFdsSortDescendingO,{className:eO().sortIcon}),I]}),(0,h.jsx)(b.Nv,{children:ek.map(e=>(0,h.jsx)(b.Qr,{label:e.label,onClick:()=>E(e)},e.value))})]})})}),(0,h.jsx)(eS.j,{reviews:S,onShowMore:g?()=>{O((j.current||1)+1)}:void 0,loading:N,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,h.jsxs)("div",{className:(0,k.Z)(eF().group,a&&eF().titleGroup),children:[(0,h.jsx)("p",{className:eF().groupSub,title:a&&"string"==typeof t?t:"",children:t}),(0,h.jsxs)("p",{className:(0,k.Z)(eF().groupContent,i&&eF().nowrap),title:o,children:[i&&(0,h.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,eZ=e=>"debitCard_group_id"in e,eY=e=>"microCredit_group_id"in e||"mfo_name"in e||"mfo_url"in e;var e$=i(57431),eQ=i(90138),eG=i(23649);let eX={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,h.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:eX.FULL_PRICE,label:"Полная стоимость кредита",value:(0,eQ.m)("".concat(o,"-").concat(r,"%"))});let s=e.payment;s&&a.push({name:eX.MONTHLY_PAYMENT,label:"Ежемесячный платеж",preposition:"от",value:e1((0,e$.u)(s))});let c=null===(n=e.amount)||void 0===n?void 0:n.to;return c&&a.push({name:eX.AMOUNT,label:"Сумма",preposition:"до",value:e1((0,e$.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,e$.u)(+n.replace(/[^\d]/g,""));t.push({name:eX.YEAR_COST,label:"Обслуживание в год",value:e1(e)})}let a=e.credit_limit_to;a&&t.push({name:eX.LIMIT,label:"Кредитный лимит",preposition:"до",value:e1((0,e$.u)(Number(a)))});let l=e.grace_period;return l&&t.push({name:eX.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:eX.RATE,label:"Ставка",value:"".concat(u,"%")});let v=null===(a=e.interest_rate)||void 0===a?void 0:null===(n=a.rates[0])||void 0===n?void 0:n.term_from;if(v){let t=v<e.interest_rate.rates[0].term_to?"от":"",i="";i=v<30?"".concat(v," дн."):v>365?"".concat(Math.round(v/365)," ").concat((0,x._6)(Math.round(v/365),...t?["года","лет","лет"]:["год","года","лет"])):"".concat(Math.round(v/30)," мес."),c.push({name:eX.TERM,label:"Срок",preposition:t,value:i})}let m=null===(o=e.interest_rate)||void 0===o?void 0:null===(l=o.rates[0])||void 0===l?void 0:l.amount_from;if(m){let t=(0,eG.z)(e.currency_id).unit;c.push({name:eX.AMOUNT,label:"Сумма вклада",preposition:"от",value:e1("".concat((0,e$.u)(m,!0,t)))})}let _=!!e.type.saving_account||!!e.asSavingAccount;return d.push(_?{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"}),!_&&(null===(r=e.interest_capitalization)||void 0===r?void 0:r.has)&&d.push({text:"С капитализацией",color:"primary"}),!_&&(null===(s=e.refill)||void 0===s?void 0:s.has)&&d.push({text:"Пополнение",color:"primary"}),{fields:c,chips:d}},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:eX.FULL_PRICE,label:"Полная стоимость кредита",value:(0,eQ.m)("".concat(r,"-").concat(s,"%"))});let c=null===(n=e.amount)||void 0===n?void 0:n.to;c&&l.push({name:eX.AMOUNT,label:"Сумма кредита",preposition:"до",value:e1((0,e$.u)(Number(c)))});let d=null===(a=e.first_payment)||void 0===a?void 0:a.from;return d&&l.push({name:eX.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}},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:eX.FULL_PRICE,label:"Полная стоимость кредита",value:(0,eQ.m)("".concat(r,"-").concat(s,"%"))});let c=null===(n=e.amount)||void 0===n?void 0:n.from;c&&l.push({name:eX.AMOUNT,label:"Сумма",preposition:"от",value:e1((0,e$.u)(Number(c)))});let d=null===(a=e.first_payment)||void 0===a?void 0:a.from;return d&&l.push({name:eX.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,e$.u)(+s.replace(/[^\d]/g,""),!0,t);i&&o.push({name:eX.SERVICE_COST,label:"Обслуживание в год",value:e1(i)})}let c=e.balance_interest_number?"".concat(e.balance_interest_number,"%"):"Нет";o.push({name:eX.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:eX.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:eX.TERM_WITHOUT_PERCENTS,label:"Срок без %",value:"".concat(n," ").concat((0,x._6)(Number(n),"день","дня","дней"))}),e.amount.to&&i.push({name:eX.AMOUNT,label:"Сумма",value:e1((0,e$.u)(Number(e.amount.to),!0,!1)),preposition:"до"});let a=e.period.to;return a&&i.push({name:eX.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}=e9(e);t=n,i=a}if(eq(e)){let{fields:n,chips:a}=e7(e);t=n,i=a}if(eZ(e)){let{fields:n,chips:a}=e8(e);t=n,i=a}if(eY(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,f.useMemo)(()=>({offerId:String(t.id),order:a,category:"mfo"}),[t.id,a]),d=function(e,t){let[i,n]=(0,f.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,f.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:v,chips:m}=tt(t),_=(0,f.useMemo)(()=>1===t.online_application.commercial,[t.online_application]),p=(0,f.useMemo)(()=>{let e=window.location.pathname.split("/").filter(Boolean)[2];return"".concat(u,"/").concat(s?"mikrozajmy":e,"/").concat(t.url)},[u,r,s,t.url]),g=e=>()=>{(0,eu.D)({eventCategory:M.qL,eventActionType:eu.i.offer,eventActionText:(0,ev.b)(t.title),eventLabel:e})};return(0,h.jsxs)("div",{className:(0,k.Z)(ta().card,{[ta().paddingForButton]:n,[ta().whiteCard]:l}),children:[(0,h.jsx)("div",{className:ta().top,children:(0,h.jsxs)("div",{className:ta().topContent,children:[(0,h.jsxs)("div",{className:ta().bankInfo,children:[(0,h.jsx)("div",{className:ta().icon,children:(0,h.jsx)(eb.D,{bic:(0,eI.A)(i)||(null==i?void 0:i.url),type:(0,eI.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,h.jsx)(eU,{label:t.title,value:null==i?void 0:i.name,isTitle:!0})]}),(0,h.jsx)("div",{className:ta().groups,children:v.map(e=>e.value&&(0,h.jsx)(eU,{label:e.label,preposition:e.preposition,value:e.value},e.name))})]})}),(0,h.jsxs)("div",{className:ta().bottom,children:[m.length>0&&(0,h.jsx)("div",{className:ta().chips,children:m.map(e=>(0,h.jsx)("div",{className:ta().chipWrapper,children:(0,h.jsx)(b.Vp,{label:e.text,variant:e.color,className:ta().chip,style:e.style,rounded:!0})},e.text))}),(0,h.jsxs)("div",{className:ta().buttons,children:[(0,h.jsx)(b.zx,{className:ta().offerButton,variant:"secondary",size:"xs",label:"Подробнее",as:"a",target:"_blank",href:p,onClick:g(p)}),_&&(0,h.jsx)(b.zx,{rel:"nofollow",size:"xs",label:"Оформить",as:"a",target:"_blank",href:d,onClick:g(t.online_application.url)})]})]}),n&&(0,h.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,f.useState)(1),c=l?o:Math.min(o,6*r),d=o-c,u="Ещё ".concat(d," ").concat((0,x._6)(d,...ts));return(0,h.jsx)("div",{className:l?void 0:tr().wrapper,children:(0,h.jsxs)(x.W2,{className:(0,k.Z)(tr().productsListContainer,{[tr().containerTopPadding]:!l}),children:[!l&&!(a||!i)&&(0,h.jsx)("h2",{className:tr().title,children:"Найдено ".concat(o," ").concat((0,x._6)(null!=o?o:0,...ts))}),(0,h.jsx)("div",{id:"offers-list",className:(0,k.Z)(tr().offersList),children:null==i?void 0:i.slice(0,c).map((e,t)=>{let i=c===t+1&&d>0;return(0,h.jsx)(tl,{company:n,offer:e,order:t,isLastOfferOnPage:l?void 0:i,isWhiteCard:l},e.id)})}),!l&&d>0&&(0,h.jsx)("div",{className:tr().showMore,children:(0,h.jsx)(b.zx,{variant:"purple",appearance:"ghost",label:u,onClick:()=>s(e=>e+1),className:tr().showMoreButton,disabled:c>=o,iconRight:(0,h.jsx)(w.IconFdsChevronDownSmallO,{className:tr().showMoreIcon})})})]})})};var td=i(90498),tu=i.n(td);let tv=(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)}},tm=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)||""},t_=(e,t)=>{var i;return(null===(i=e.short_description)||void 0===i?void 0:i.trim())||"Открыть вклад ".concat(e.title," от ").concat(t," — актуальные процентные ставки по депозитам, условия и онлайн расчет дохода")},tp=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}})),th=e=>{var t,i;let{baseUrl:n,assetsUrl:a,items:l,h1:o,description:r,company:s,service:c,serviceLink:d,generalRating:u,quote:v,reviews:m}=e,_=l.filter(e=>0===e.archive).slice(0,10),p=String(s.bic).padStart(9,"0"),g="".concat(n,"/banki/").concat(s.url,"/").concat(d),h="".concat(a,"/mp-assets/images/bank/logo-brandmark-bank-").concat(p,".svg"),f={"@context":"https://schema.org","@type":"Product",name:o,description:r,url:g},{low:y,high:w}=tv(_,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}=tv(_,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:j,high:N}=tv(_,e=>e.credit_limit_from,e=>e.credit_limit_to),C={"@type":"BankOrCreditUnion",name:s.name,url:tm(s),image:h,...Array.isArray(s.legal_entities)&&(null===(t=s.legal_entities[0])||void 0===t?void 0:t.legal_address)&&{address:{"@type":"PostalAddress",addressLocality:s.legal_entities[0].legal_address}}},T={"@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:h},{"@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:_.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{...f,image:h,offers:{"@type":"AggregateOffer",priceCurrency:"RUB",lowPrice:j,highPrice:N,offerCount:l.length,url:g,offers:_.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:C}))},...u&&{aggregateRating:T}};if("credits"===c)return{...f,image:h,offers:{"@type":"AggregateOffer",priceCurrency:"RUB",lowPrice:y,highPrice:w,offerCount:l.length,url:g,offers:_.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:C,potentialAction:{"@type":"Action",name:"Подробнее",url:l}}})},...u&&{aggregateRating:T}};if("mortgages"===c)return{...f,image:h,offers:{"@type":"AggregateOffer",priceCurrency:"RUB",lowPrice:y,highPrice:w,offerCount:l.length,url:g,offers:_.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:C,potentialAction:{"@type":"Action",name:"Подробнее",url:l}}})},...u&&{aggregateRating:T}};let R=s.name_r||s.name,k=_.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:t_(e,R),annualPercentageRate:tp(e)})),S="deposits"===c?tg(m):[],I={...f,brand:{"@type":"Brand",name:s.name},...T&&{aggregateRating:T},...S.length&&{review:S},isRelatedTo:k};if("deposits"===c){let e={"@type":"AggregateOffer",lowPrice:y,highPrice:w,priceCurrency:"RUB",offerCount:l.length};I.offers=e,(null==v?void 0:v.published)&&k.push({"@type":"Quotation",text:(i=v.content,tu()(i,{allowedTags:[],allowedAttributes:{}})),author:{"@type":"Person",name:v.expert.name,jobTitle:v.expert.position,sameAs:"".concat(n,"/navigator/").concat(v.expert.url)}})}return I};var tf=i(3994),ty=i.n(tf);let tw=e=>{let{service:t,href:i,active:n,onClick:a,hideCount:l}=e;return(0,h.jsxs)("a",{href:i,className:(0,k.Z)(ty().tile,{[ty().active]:n}),onClick:a,children:[(0,h.jsxs)("span",{className:ty().tileContent,children:[t.icon,(0,h.jsx)("span",{className:ty().tileTitle,children:t.title})]}),!l&&(0,h.jsx)("span",{className:ty().count,children:t.count})]})};var tx=i(4806),tb=i.n(tx);let tj=e=>{let{data:t,loading:i,activeService:n,hideCount:a}=e;return(0,h.jsx)("div",{className:tb().wrapper,children:(0,h.jsxs)("div",{className:tb().tiles,children:[t.map(t=>(0,h.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,h.jsx)(x.Od,{className:tb().skeleton},e))]})})};var tN=i(42593),tC=i(65993),tT=i.n(tC);let tR=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:v,quote:m,reviews:_}=e,p=(0,T.S)(),g=(0,y.usePathname)(),w=(0,f.useRef)(null),b=l?null==n?void 0:null===(t=n[l.serviceName])||void 0===t?void 0:t.data:null,j=(0,f.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,f.useEffect)(()=>{!l&&(null==i?void 0:i[0])&&j(i[0],!0)},[g]),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)(x.W2,{className:tT().section,children:[(0,h.jsx)(tj,{data:i,getHref:e=>"/banki/".concat(a.url,"/").concat(e).concat((0,tN.a)(d,u)),onClick:e=>t=>{t.preventDefault(),(0,eu.D)({eventCategory:M.qL,eventActionType:eu.i.tab,eventActionText:(0,ev.b)(e.title)}),j(e)},loading:c,activeService:l}),(0,h.jsx)("div",{ref:w})]}),(0,h.jsx)(tc,{offers:b||null,tags:[],bank:a,loading:c},g),Array.isArray(b)&&(null==b?void 0:b.length)>0&&(0,h.jsx)(A.d,{data:th({baseUrl:p.NEXT_PUBLIC_BASE_URL,assetsUrl:p.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:v,quote:m,reviews:_})})]})},tk=e=>{let{services:t,loading:i}=e,n=(0,T.S)().NEXT_PUBLIC_BASE_URL;return(0,h.jsx)(x.W2,{className:tT().section,children:(0,h.jsx)(tj,{data:t||[],getHref:e=>"".concat(n,"/").concat(e),onClick:e=>()=>{(0,eu.D)({eventCategory:M.qL,eventActionType:eu.i.tab,eventActionText:(0,ev.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:v,mfoOffers:m,generalRating:_,quote:p,reviews:g}=e,f=t===D.$.bank,y=t===D.$.insurance,w=t===D.$.mfo;return f&&((null==i?void 0:i.length)>0||n)?(0,h.jsx)(tR,{servicesBlocks:i,offersBlocks:a,bank:l,h1:o,description:r||"",activeService:s,setActiveService:c,loading:n,region:d,town:u,generalRating:_,quote:p,reviews:g}):y?(0,h.jsx)(tk,{services:i,loading:v}):w?(0,h.jsx)(tc,{tags:[],offers:m||null,bank:l,loading:!m&&n}):null};var tI=i(54583),tA=i(27163);let tL=async()=>(await (0,tA.t)({url:"/money_data/BankTowns.json"})).data;var tP=i(25986),tO=i(10611);let tE=async(e,t)=>e&&t?(await (0,tA.t)({url:"/api/v1/stats/banks/".concat(e,"/tags?tagId=").concat(t),options:{isHeadlessCMS:!0}})).data:null,tB=()=>(0,tA.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,""),v=i&&Object.values(M.RV).some(e=>e==="/".concat(i)),m=s&&!u.some(e=>e.link===i),_=d&&!M.hu[i];if(i&&!i.includes("reg_")&&(m||c&&"mikrozajmy"!==i||_)&&!v)return(0,y.notFound)();let p=u.find(e=>n.includes(e.link)),g=(0,M.i7)(e,a,s,!1),h=g.find(e=>(0,tW.S)(e,n))||g[0],f=(null==e?void 0:e.name_r)||(null==e?void 0:e.name)||"",w=p?"".concat(p.title," ").concat(f," — Финуслуги"):h.metaTitle||h.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"===h.id?"Рейтинг страховой компании ".concat(e.name):(null==p?void 0:p.serviceName)==="deposits"?await tz({company:e,locationText:b,activeTag:r}):(null==p?void 0:p.serviceName)==="debitCards"?"".concat(r?r.name:"Дебетовые карты"," ").concat(f).concat(b," - оформить онлайн заявку на карту на Финуслугах"):(null==p?void 0:p.serviceName)==="kasko"?"".concat(p.title," в ").concat(f).concat(b,": выбрать страховку через Финуслуги"):(null==p?void 0:p.serviceName)==="osago"?"".concat(p.title," в ").concat(f).concat(b,": выбрать страховку на авто через Финуслуги"):c&&"mikrozajmy"===i&&r?"".concat(r.name," от ").concat(f).concat(b,": оформить микрозайм ").concat(b?"":"от ".concat(f)," на Финуслугах"):c&&"mikrozajmy"===i?"Услуги ".concat(f).concat(b,": посмотреть все предложения от МФО ").concat(e.name):c&&"rejtingi"===i?"Рейтинг МФО ".concat(f,": отзывы клиентов, адреса офисов и вся информация о МФО ").concat(f):c&&"otzyvy"===i?"Отзывы о МФО ".concat(e.name,": честные отзывы клиентов, рейтинги и вся информация о МФО ").concat(e.name):c?"Информация о ".concat(e.name_p,": финансовый рейтинг, отзывы клиентов, адреса офисов МФО ").concat(e.name):(null==p?void 0:p.serviceName)==="credits"?"".concat(r?"".concat(r.name," от"):"Кредиты"," ").concat(f).concat(b," — оформить ").concat(r?"":"кредит"," через Финуслуги"):(null==p?void 0:p.serviceName)==="cards"&&r?"".concat(r.name," ").concat(f).concat(b,": оформить кредитку через Финуслуги"):(null==p?void 0:p.serviceName)==="cards"?"Кредитные карты ".concat(f).concat(b,": оформить на официальном сайте Финуслуги"):(null==p?void 0:p.serviceName)==="mortgages"?"".concat(r?"".concat(r.name," от"):"Ипотека"," ").concat(f).concat(b,": подать заявку через Финуслуги"):(null==p?void 0:p.serviceName)==="autoCredits"&&r?"".concat(r.name," от ").concat(f).concat(b,": оформить на официальном сайте Финуслуги"):(null==p?void 0:p.serviceName)==="autoCredits"?"Автокредиты ".concat(f).concat(b,": выбрать и оформить через Финуслуги"):"".concat(w)};var tV=i(48156);async function tq(e){var t,i,n,a,l,o,r,s,c,d,u,v,m,_;let p=(0,T.S)().NEXT_PUBLIC_BASE_URL,[g,h,f]=e||[],w=(null==e?void 0:e.join("/"))||"",x=e.findIndex(e=>e.startsWith("reg_")),b=x>-1?e[x].replace("reg_",""):void 0,j=b?e[x+1]:void 0,N=(0,tW.I)(w),C=null==e?void 0:e.find(e=>e.startsWith("teg_")),R=M._V.includes(g)?D.$.insurance:M.N3.includes(g)?D.$.mfo:D.$.bank,k=R===D.$.bank,S=R===D.$.insurance,I=R===D.$.mfo?await (0,tP.fM)(h):await (0,tP.IZ)(h,R);if(!I||!k&&"uslugi"===f||f&&!M.pj.includes("/".concat(f))&&b||f&&!f.includes("reg_")&&!M.jl.includes("/".concat(f)))return(0,y.notFound)();let[A]=Object.entries(M.ys).find(e=>{let[t,i]=e;return i===f})||[],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===h}))||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==C?void 0:C.slice(4);k&&(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,Y]=await Promise.allSettled([(0,tD.s)({regions:!0}),(0,tM._)(w),(0,tP.pg)({type:R,company:I,regionUrl:b,townUrl:j,activeServiceName:A,tag:C}),tL(),k&&"uslugi"===N?(0,tO.q)(B):null,"uslugi"!==N||S?null:(0,tP.NK)(),k&&L&&U?tE(L,U):null]),$=null,Q=null;"fulfilled"===z.status&&z.value&&(Q=(null==($=z.value.regions.find(e=>{let{url:t}=e;return t===b})||null)?void 0:$.towns.find(e=>{let{url:t}=e;return t===j}))||null,$&&!Q&&(Q=$.towns.find(e=>{let{main:t}=e;return t})||null));let G=(0,tV._)(V,null),X=(0,tV._)(q,null);P=(0,tV._)(Y,null);let K=null;if("fulfilled"===H.status&&H.value&&(K=tU(H.value,Q,G,{platformProducts:null!==(u=null==P?void 0:P.platformProducts)&&void 0!==u?u:[],nonPlatformProducts:null!==(v=null==P?void 0:P.nonPlatformProducts)&&void 0!==v?v:[]}),(null==X?void 0:X.length)&&(null==K?void 0:K.deposits))){let e=(null==K?void 0:K.deposits.length)+(null==X?void 0:X.length);K.deposits.length=e}let J="",ee="fulfilled"===W.status?W.value:"",et=(0,tV._)(Z,null),ei=null!==(m=(0,M.xB)(K,"").find(e=>w.includes(e.link)))&&void 0!==m?m:null,en=(null==ei?void 0:ei.serviceTagName)&&null!==(_=null==et?void 0:null===(a=et.data)||void 0===a?void 0:a[null==ei?void 0:ei.serviceTagName])&&void 0!==_?_:[],ea=null==en?void 0:en.find(e=>"teg_".concat(e.url)===C);I&&(J=await tH(I,K,f,w,R,$,Q,ea));let el=e?"/".concat(w):"";return{title:J,description:ee,alternates:{canonical:"".concat(p).concat(el)}}}let tZ=()=>{let[e,t]=(0,f.useState)(null),i=(0,y.usePathname)();return(0,tI.j)(()=>{(async()=>{let e=i.split(/[?#]/)[0].split("/").filter(Boolean);t(await tq(e))})()},[i]),e},tY=async function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(await (0,tA.t)({url:"/api/v1/quotes?quoteUrl=".concat(e,"&published=").concat(t),options:{isHeadlessCMS:!0}})).data||null};var t$=i(65377);let tQ={getLayoutData:async e=>(await (0,tA.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,tA.t)({url:"/api/v1/data/page-data?".concat(i),options:{isHeadlessCMS:!0}})).data||null},getPage:async e=>(await (0,tA.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,tA.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,tA.t)({url:"/api/".concat(t,"/widgets/").concat(e),options:{isPageContent:!0}})).data}};var tX=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,v,m,_,p,g,h,f,w,x,b,j;let N,{slug:C,isSection:T,radioType:R,initialPage:k=1,fallbackToAnyNonEmptyRadio:S=!1,fallbackToAllAddresses:I=!1}=e,{regionUrl:A,townUrl:L,companyUrl:P,pointUrl:O}=(0,tJ.jO)(C||[]),E=(0,tJ.lw)(C);if(E&&!O)return(0,y.notFound)();let B=null,M="true"===T,F=R||tK.Q.Atm,U=null,z=null,[W,H,V,q,Z]=await Promise.allSettled([M||E?null:tG.getWidgetContent("bestOffers","v1"),M||E?null:tQ.getPageData("FAQ","adresa"),M||E?null:(0,eR.Jh)((0,eR.K1)({includeCompany:!0}).reviews,1,10),E?(0,t$.O9)(O||""):null,E?tQ.getPageData("SupportWidget","general"):null]);async function Y(e){let t=[tX.H9[e]],i=(0,t$.bv)({regionUrl:A,townUrl:L,orgUrl:P,marker:t}),n=await (0,t$.ZK)(i,k);return{dataUrl:i,addressesData:n}}let $=!1;E||(N=await Y(F));let Q=[tK.Q.Atm,tK.Q.branch,tK.Q.Legal].filter(e=>e!==F);if(S&&M){if(!(null==N?void 0:null===(c=N.addressesData)||void 0===c?void 0:null===(s=c.data)||void 0===s?void 0:s.totalItems)&&Q.length){let e=Q.shift();e&&(F=e,N=await Y(F))}if(!(null==N?void 0:null===(u=N.addressesData)||void 0===u?void 0:null===(d=u.data)||void 0===d?void 0:d.totalItems)&&Q.length){let e=Q.shift();e&&(F=e,N=await Y(F))}}if(I&&M&&!(null==N?void 0:null===(i=N.addressesData)||void 0===i?void 0:null===(t=i.data)||void 0===t?void 0:t.totalItems)){let e=(0,t$.bv)({regionUrl:A,townUrl:L,orgUrl:P}),t=await (0,t$.ZK)(e,k);N={dataUrl:e,addressesData:t},$=!!(null===(v=t.data)||void 0===v?void 0:v.totalItems)}let{dataUrl:G,addressesData:X}=N||{},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==X?void 0:X.data)&&(ee=(null===(m=X.data)||void 0===m?void 0:m.addresses)||[],et=(null===(_=X.data)||void 0===_?void 0:_.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===(p=ee[0])||void 0===p?void 0:p.mfo_id)&&(e="mfo"),(null===(g=ee[0])||void 0===g?void 0:g.sk_id)&&(e="sk"),ei={label:null===(f=ee[0])||void 0===f?void 0:null===(h=f.company)||void 0===h?void 0:h.name,value:"".concat(e,"_").concat(P)}}(A||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&&(A||L)){U={url:A},z={url:L||""};let e={url:L||"",region_url:A||"",name:"",name_p:""};B.town=e,B.distance_self=null===(j=B.distance_self)||void 0===j?void 0:j.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._)(Z,null))||void 0===r?void 0:r.value)||null,pageIsSection:M,isDetailPage:E,initRadioType:F,isAllAddressesMode:$,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:v,setQuote:m,pathname:_}=e,[p,g]=(0,f.useState)(!1),[h,y]=(0,f.useState)(t.insuranceTypes),[w,x]=(0,f.useState)(t.adresaProps),[b,j]=(0,f.useState)(t.reviews),[N,C]=(0,f.useState)(t.reviewsMaxPage),[T,R]=(0,f.useState)(t.serviceTypes),[k,S]=(0,f.useState)(t.companyPeopleRatings),[I,A]=(0,f.useState)(t.tags),L=i===D.$.mfo&&n.cmsId?n.cmsId:null,P=(0,eR.K1)({type:i,companyIds:L?[L]:[n.id],orderDesc:!0}),O=async()=>{var e,r,u,p,f,I,O,E,B,M,F,U,z,W,H,V,q,Z;g(!0);let Y=a&&"about"===o&&!h?(0,tP.me)():null,$=!w&&"about"===o,Q=i===D.$.bank?tK.Q.Atm:tK.Q.branch,G=$?t1(t2(n.url,l,Q)):null,X="ratings"===o&&!T||"uslugi"===o&&!b,K="ratings"===o&&!k,J=null,ee=null;if(X||K){let e=X?(0,eR.Jh)(P.reviews,1,4,void 0,null!=L?L:void 0):null,t=K?(0,eR.e9)(P.ratings):null;[J,ee]=await Promise.allSettled([e,t]);let i=(0,tV._)(J,null);b||j((null==i?void 0:i.result.reviews)||null),N||C((null==i?void 0:i.result.pages)||0),!T&&i&&R((0,eL.c)(i))}let et=l&&"uslugi"===o&&!c?tL():null,ei="uslugi"===o?tY(_):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([Y,G,et,ei,en,ea]);h||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)),!k&&ee&&S((0,tV._)(ee,null)),c||d((0,tV._)(er,null)),v||m((null===(p=(0,tV._)(es,null))||void 0===p?void 0:null===(u=p.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;A({data:{autoCredit:null!==(U=null==e?void 0:null===(f=e.data)||void 0===f?void 0:f.autoCredit)&&void 0!==U?U:[],card:null!==(z=null==e?void 0:null===(I=e.data)||void 0===I?void 0:I.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!==(Z=null==eu?void 0:null===(F=eu.tagList)||void 0===F?void 0:F.map(t6))&&void 0!==Z?Z:[]}})}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,eR.K1)({type:i,companyIds:L?[L]:[n.id],orderDesc:!0,serviceId:String(null==a?void 0:a.id)}),o=await (0,eR.Jh)(l.reviews,1,4);j((null==o?void 0:o.result.reviews)||null),o&&R(e=>null!=e?e:(0,eL.c)(o))};return(0,f.useEffect)(()=>{u("uslugi"===o),O()},[o]),(0,f.useEffect)(()=>{l&&"uslugi"===o&&E()},[r,o,l,T,i,n]),{loading:p,insuranceTypes:h,adresaProps:w,reviews:b,reviewsMaxPage:N,serviceTypes:T,companyPeopleRatings:k,tags:I}};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=v||(v={})).OnDemand="ON_DEMAND",l.PreferentialRateForWholeTerm="PREFERENTIAL_RATE_FOR_WHOLE_TERM",l.WithoutRecalculationOfInterest="WITHOUT_RECALCULATION_OF_INTEREST",(o=m||(m={})).Capitalisation="CAPITALISATION",o.ToCurrentBankCustomerAccount="TO_CURRENT_BANK_CUSTOMER_ACCOUNT",o.ToNominalAccount="TO_NOMINAL_ACCOUNT",(r=_||(_={})).Daily="DAILY",r.InTheEnd="IN_THE_END",r.Monthly="MONTHLY",r.NoRestrictions="NO_RESTRICTIONS",r.OnDemand="ON_DEMAND",(s=p||(p={})).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 t9={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},t7=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||t9,o=t.find(t=>Number((0,eI.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,v=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:t7(t.minimumPeriod),term_to:t7(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,t7(t.minimumPeriod)),v=Math.max(v,t7(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:v},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?t7(t.minimumPeriod):0),is=(e,t)=>Math.max(e,t.maximumPeriod?t7(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?t7(i.minimumPeriod):0,term_to:i.maximumPeriod?t7(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},iv=e=>iu(e)?"Да":"Нет",im=e=>(null==e?void 0:e.earlyTermination)===p.PreferentialRateForWholeTerm||(null==e?void 0:e.earlyTermination)===p.WithoutRecalculationOfInterest?1:0,i_=e=>im(e)?"Да":"Нет",ip=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=>ip(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,v,m,_,p,g,h,f,y,w,x,b,j,N,C;let T=null!=n?n:t9,R=null===(l=e.attributes)||void 0===l?void 0:null===(a=l.options)||void 0===a?void 0:a[0],k=io(t),{rates:S,amountFrom:I,amountTo:A,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!==(j=null==t?void 0:t.url)&&void 0!==j?j:"",logo:O,logo_mob:O,legal_name:k,currency_id:Number(null===(_=e.attributes.options)||void 0===_?void 0:null===(m=_[0])||void 0===m?void 0:null===(v=m.currencies)||void 0===v?void 0:null===(u=v[0])||void 0===u?void 0:u.currency),online_application:it(e),interest_rate:ii(T,S,e),amount:{...T.amount,from:I,to:A},term:{...T.term,from:L,to:P},partial_withdrawal:{...T.partial_withdrawal,has:ih(R),text:iy(R)},interest_payment:ia(T,R),refill:{comment:"",...T.refill,has:ip(R),text:ig(R)},interest_capitalization:{comment:"",...T.interest_capitalization,has:iu(R),text:iv(R)},preferential_termination:{...T.preferential_termination,has:im(R),text:i_(R)},type:il(e,R),prolongation:{text:(null==R?void 0:R.prolongations)?"Предусмотрена":"Не предусмотрена"},all_russia:(null===(p=e.contentAttributes)||void 0===p?void 0:p.availableAllRussia)?1:0,custom_regions:null!==(N=null===(g=e.attributes)||void 0===g?void 0:g.regions)&&void 0!==N?N:[],multicurrency:(null==R?void 0:R.currencies.length)>1?1:0,finuslugiBonusPromotion:{},fin_exclusive:e.attributes.exclusive?1:0,asSavingAccount:null!==(C=e.attributes.asSavingAccount)&&void 0!==C&&C,promo:!1,floatingRateInformations:e.floatingRateInformations,external:{integrationType:null===(f=e.contentAttributes)||void 0===f?void 0:null===(h=f.integration)||void 0===h?void 0:h.integrationType}}};var ix=i(1859);let ib=e=>{var t,i,n,a,l,o,r,s;let c=(0,T.S)(),[d,u]=(0,f.useState)(e.initialServices),[v,m]=(0,f.useState)(e.initialMfoOffers),[_,p]=(0,f.useState)(e.initialSeoTexts),[g,h]=(0,f.useState)(e.initialQuote&&e.activeService?{[null===(t=e.activeService)||void 0===t?void 0:t.serviceName]:e.initialQuote}:{}),[y,w]=(0,f.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,f.useRef)(x);(0,f.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[v,_]=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 p=(0,tV._)(v,null),g=(0,tV._)(_,null);m(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 h=null==p?void 0:p.microCredit;if(h&&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;h.serviceText=i||[]}u(p)};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,f.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,v,m,_,p,g,f;let y=null===(t=e.tag)||void 0===t?void 0:t.slice(4),w=null!==(f=null===(i=(await tB()).data)||void 0===i?void 0:i.content)&&void 0!==f?f:null,j=null==w?void 0:null===(a=w.find(e=>e.url===(null!=y?y:"all_offers")))||void 0===a?void 0:a.id,N=await (0,tP.ed)(s),C=null==N?void 0:null===(c=N.content)||void 0===c?void 0:null===(l=c[0])||void 0===l?void 0:l.bankId,[T,R,k]=await Promise.allSettled([(0,tP.pg)({type:e.orgType,company:e.company,regionUrl:null===(v=e.region)||void 0===v?void 0:v.url,townUrl:null===(m=e.town)||void 0===m?void 0:m.url,activeServiceName:n,currentBankServices:o?null:d,tag:e.tag}),C&&j?tE(C,j):null,tY(null===(_=e.pathname)||void 0===_?void 0:_.replace(/\/reg_.*$/,""))]);if(r)return;b.current=x,u((0,tV._)(T,null)),e.setDepositTagsBanksStatsData((0,tV._)(R,null));let S=(null===(g=(0,tV._)(k,null))||void 0===g?void 0:null===(p=g.content)||void 0===p?void 0:p[0])||null;n&&S&&h(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,f.useEffect)(()=>{e.isUslugiTab&&e.isSeoTextsEnabled&&(async()=>{let t=await (0,t3.s)(e.pathname);t&&Array.isArray(t)&&p((0,ix.Q)(t))})()},[e.isSeoTextsEnabled,e.pathname,e.isUslugiTab]);let j=(0,f.useMemo)(()=>d?tU(d,e.town,e.bankTowns):d,[d,e.town,e.bankTowns]);return{organizationServices:(0,f.useMemo)(()=>{var t,i,n,a,l,o;if(!(null==j?void 0:null===(t=j.deposits)||void 0===t?void 0:t.data))return j;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{...j,deposits:{data:r,tags:null==j?void 0:null===(a=j.deposits)||void 0===a?void 0:a.tags,length:r.length,serviceText:j.deposits.serviceText}}},[j,e.company,e.depositTagsBanksStatsData,c.NEXT_PUBLIC_S3_ASSETS]),mfoOffers:v,servicesLoading:y,seoTexts:_}},ij=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}}}},iN=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},iC=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 iR=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)},ik=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])?"в":"во"},iI=(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,"России")),ik(s=iR(s));let c=new Date().getFullYear(),d=i?i.name:t.name,u=i?i.name_r:t.name_r,v=i?i.name_p:t.name_p,m=i?i.name:t.name,_=i?i.name_r:t.name_r,p=i?i.name_p:t.name_p,g=t.name,h=t.name_r,f=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),j=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,v=j,m=x,_=b,p=j),/{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(v)," ").concat(v)],[/в {town}/gim,"".concat(iS(m)," ").concat(m)],[/в {town_r}/gim,"".concat(iS(_)," ").concat(_)],[/в {town_p}/gim,"".concat(iS(p)," ").concat(p)],[/в {region}/gim,"".concat(iS(g)," ").concat(g)],[/в {region_r}/gim,"".concat(iS(h)," ").concat(h)],[/в {region_p}/gim,"".concat(iS(f)," ").concat(f)],[/в {town_dub}/gim,"".concat(iS(x)," ").concat(x)],[/в {town_dub_r}/gim,"".concat(iS(b)," ").concat(b)],[/в {town_dub_p}/gim,"".concat(iS(j)," ").concat(j)],[/{place}/gim,d],[/{place_r}/gim,u],[/{place_p}/gim,v],[/{town}/gim,m],[/{town_r}/gim,_],[/{town_p}/gim,p],[/{region}/gim,g],[/{region_r}/gim,h],[/{region_p}/gim,f],[/{town_dub}/gim,x],[/{town_dub_r}/gim,b],[/{town_dub_p}/gim,j],[/{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=iR(s)},iA=(e,t,i,n,a)=>((null==e?void 0:e.title)&&(e.title=iI(e.title,t,i,n,a)),(null==e?void 0:e.content)&&e.content.forEach(e=>{e.data&&(e.data.html&&(e.data.html=iI(e.data.html,t,i,n,a)),e.data.text&&(e.data.text=iI(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=tZ();(0,O.j)(d);let{orgType:u,generalRating:v,company:m,description:_,ssr:p,bestOffersData:g,supportBlockData:z}=e,W=(0,y.usePathname)(),{region:H,town:V,handleOpenCityModal:q}=(0,E.S)({initialRegion:p.region,initialTown:p.town}),Z=W.split("/").find(e=>e.startsWith("teg_")),Y=M.yi[u],[$,Q]=(0,f.useState)(p.productsNum),[G,X]=(0,f.useState)(p.quote),[K,J]=(0,f.useState)(p.activeTag),ee=(0,f.useRef)(!0),et=(0,f.useRef)(null),[ei,en]=(0,f.useState)(p.depositTagsBanksStats),[ea,el]=(0,f.useState)(p.bankTowns),[er,es]=(0,f.useState)($>0&&"uslugi"===(0,tW.I)(W)),ec=F(u,m),ed=U(u,m),em=u===D.$.mfo,[e_,ep]=(0,f.useState)(p.activeService),{organizationServices:eg,mfoOffers:eh,servicesLoading:ef,seoTexts:ey}=ib({initialServices:p.organizationServices,initialMfoOffers:p.mfoOffers,initialSeoTexts:p.seoTexts,region:H,town:V,orgType:u,company:m,bankTowns:ea,isUslugiTab:er,activeService:e_,depositTagsBanksStatsData:ei,setDepositTagsBanksStatsData:en,initialQuote:p.quote,setQuote:X,pathname:W,tag:Z,isSeoTextsEnabled:c}),ew=(0,f.useMemo)(()=>(0,M.xB)(eg,s),[eg]),eb=em?"mikrozajmy":null===(t=ew[0])||void 0===t?void 0:t.link,ej=(0,M.i7)(m,u,ec,$>0,eb),eN=(0,f.useMemo)(()=>ej.find(e=>(0,tW.S)(e,W)),[W,m]),[eC,eR]=(0,f.useState)(eN||ej[0]),ek=(()=>{let e=[{href:"/",label:"Главная"},{label:ec?"Банки":"Каталог ".concat(Y.name_rs_full),href:"/".concat(Y.catalogUrl)},{label:m.name,href:ec?"/".concat(Y.catalogUrl,"/").concat(m.url):""}];if(!ec)return e[e.length-1].href=void 0,e;let t=(null==e_?void 0:e_.serviceName)==="deposits",i=(null==V?void 0:V.name_p)||(null==H?void 0:H.name_p);e_&&(!t||i||K&&t)&&e.push({label:e_.title,href:"/".concat(Y.catalogUrl,"/").concat(m.url,"/").concat(e_.link)}),K&&e_&&(!t||i)&&e.push({label:K.tag_name,href:"/".concat(Y.catalogUrl,"/").concat(m.url,"/").concat(e_.link,"/teg_").concat(K.url)});let n="kompanija"!==Y.url&&(e_||"uslugi"===eC.id);return i&&n&&!t&&e.push({label:"В ".concat(i)}),t||(e[e.length-1].href=void 0),e})(),{loading:eS,insuranceTypes:eI,adresaProps:eA,reviews:eL,reviewsMaxPage:eP,serviceTypes:eO,companyPeopleRatings:eB,tags:eM}=t5({ssr:p,orgType:u,company:m,isInsurance:ed,activeTabId:eC.id,activeServiceLink:null==e_?void 0:e_.link,isBank:ec,setDepositTagsBanksStatsData:en,bankTowns:ea,setBankTowns:el,setIsUslugiTab:es,quote:G,setQuote:X,pathname:W}),eD=e=>{let{tab:t,service:i}=e,n=(null==i?void 0:i.link)?"/".concat(i.link):t.path,a="kompanija"!==Y.url&&(i||"uslugi"===t.id)?(0,tN.a)(H,V):"";return"/".concat(Y.url,"/").concat(m.url).concat(n).concat(a)},eF=e=>{let t=ej.find(t=>t.id===e);if(!t)return;let i="uslugi"===t.id,n=i?e_:void 0;i&&em&&(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&&ep(null),eR(t)},{pageTitle:eU,location:ez}=(0,f.useMemo)(()=>{let e=(null==V?void 0:V.name_p)||(null==H?void 0:H.name_p);return{pageTitle:K&&((null==e_?void 0:e_.serviceName)==="cards"||(null==e_?void 0:e_.serviceName)==="debitCards")?"".concat(K.name," ").concat(m.name_r||m.name):K?"".concat(K.name," от ").concat(m.name_r||m.name):(null==e_?void 0:e_.serviceName)==="kasko"||(null==e_?void 0:e_.serviceName)==="osago"?"".concat(e_.title," в ").concat(m.name_r||m.name):(null==e_?void 0:e_.serviceName)==="microCredit"?"Предложения ".concat(m.name_r||m.name):e_?"".concat(e_.title," ").concat(m.name_r||m.name):eC.title,location:e}},[null==H?void 0:H.id,null==V?void 0:V.id,e_,m.name_r,m.name,eC.id,K]);(0,f.useEffect)(()=>{let e=iC(eg);Q(e),e||"uslugi"!==eC.id||eF(ej[0].id)},[eg]),(0,f.useEffect)(()=>{if(ee.current){ee.current=!1;return}if(ed||"uslugi"!==eC.id)return;let e="";"uslugi"===eC.id&&em?e="/mikrozajmy":(null==e_?void 0:e_.link)&&(e="/".concat(e_.link));let t=Z?"/".concat(Z):"",i="uslugi"===eC.id?"":eC.path,n=(0,tN.a)(H,V),a="/".concat(Y.url,"/").concat(m.url).concat(i).concat(e).concat(t).concat(n).concat(window.location.hash);window.history.replaceState(null,"",a)},[e_,null==H?void 0:H.id,null==V?void 0:V.id]),(0,f.useEffect)(()=>{var e,t;let i=null==e_?void 0:e_.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)===Z))},[e_,eM,Z]);let eW=(0,h.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(m.name_p||m.name),subTitle:"",value:{reviews:(0,t0.W)(eL,eO,u,m),registerButton:{text:"Показать все отзывы",link:"/".concat(Y.url,"/").concat(m.url,"/otzyvy"),customClass:iB().allReviewsButton,iconRight:(0,h.jsx)(w.IconFdsArrowRightO,{className:iB().allReviewsButtonIcon})}}},eV=(0,f.useMemo)(()=>{var e;if((null==e_?void 0:e_.serviceName)!=="deposits")return eL;if(null===(e=p.depositReviews)||void 0===e?void 0:e.length)return p.depositReviews;let t=iN(eO);return t?(eL||[]).filter(e=>e.service_id===t):[]},[null==e_?void 0:e_.serviceName,eO,eL,p.depositReviews]),eq=e=>{(0,eu.D)({eventCategory:M.qL,eventActionType:eu.i.tab,eventActionText:(0,ev.b)(e.label)}),eF(e.id)},eZ=(()=>{var e,t,i;let n=null==e_?void 0:e_.serviceName,a=null==e_?void 0:e_.serviceTagName;if(!n&&!em)return[];let l=em?"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,tN.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==e_?void 0:null===(t=e_.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(Y.url,"/").concat(m.url,"/").concat(null==e_?void 0:e_.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==e_?void 0:null===(i=e_.title_r)||void 0===i?void 0:i.toLowerCase()),v=(0,h.jsx)(I.t,{data:d});return[...c?null!=ey?ey:[]:[...o.map(e=>{let t=iA(e,H,V,[],m);return{question:t.title,answer:t.content.map(e=>e.data.html).join("")}})],...d.length>0?[{question:u,answer:v}]:[]]})();return(0,h.jsxs)("div",{className:iB().page,children:[(0,h.jsxs)(x.W2,{children:[(0,h.jsx)(b.Oo,{style:{padding:"16px 0"},items:ek,className:iB().breadcrumbs,isMobile:!1,isFullView:!0}),(0,h.jsx)(A.d,{data:(0,iL.M)(ek,o.NEXT_PUBLIC_BASE_URL,W,ec,(null==e_?void 0:e_.serviceName)==="deposits")}),(0,h.jsx)(A.d,{data:ij({baseUrl:r,company:m,orgType:u,generalRating:v})}),(0,h.jsx)(eT,{uslugiTabUrl:eb,generalRating:v,name_rs:Y.name_rs,catalogUrl:Y.catalogUrl,company:m,organizationType:u,productsNum:$,onBankFeatureClick:e=>{var t;null===(t=et.current)||void 0===t||t.scrollIntoView({behavior:"smooth",block:"center"}),eF(e)},getTabPath:eD,reviewsCount:em&&m.cmsId?p.reviewsCount||m.reviews_num:void 0}),(0,h.jsxs)("div",{ref:et,className:iB().infoBlock,children:[(0,h.jsxs)("h1",{className:iB().title,children:[eU,ez&&er&&(0,h.jsxs)(h.Fragment,{children:[" в ",(0,h.jsx)("span",{onClick:q,className:iB().location,children:ez})]})]}),(0,h.jsx)(b.iR,{className:iB().tabsWrapper,options:{spaceBetween:0,slidesPerView:"auto"},children:ej.map(e=>(0,h.jsx)(b.wI,{className:(0,k.Z)(iB().tab,{[iB().activeTab]:!e.isExternal&&eC.id===e.id}),onClick:e.isExternal?void 0:()=>eq(e),children:(0,h.jsx)("a",{href:e.isExternal?e.path:eD({tab:e}),onClick:e.isExternal?void 0:e=>e.preventDefault(),children:e.label})},e.id))})]})]}),"about"===eC.id&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(eo,{orgType:u,company:m,insuranceTypes:eI,loadingInsuranceTypes:!eI&&eS}),eW,(0,h.jsx)("div",{className:iB().mobileBanner,children:(0,h.jsx)(x.W2,{children:(0,h.jsx)(P.X,{organizationType:u,bannerUrl:ed?L.Te[m.url]:void 0,compact:em})})}),!!(null==eA?void 0:null===(i=eA.selectedFk)||void 0===i?void 0:i.length)&&(0,h.jsx)(B.Z,{...eA,region:H,town:V,needsGeoLocationSync:(null==H?void 0:H.url)!==(null===(n=p.region)||void 0===n?void 0:n.url)||(null==V?void 0:V.url)!==(null===(a=p.town)||void 0===a?void 0:a.url)}),eS&&!(null==eA?void 0:null===(l=eA.selectedFk)||void 0===l?void 0:l.length)&&(0,h.jsx)(x.W2,{children:(0,h.jsx)(x.Od,{className:iB().adresaSkeleton})})]}),"reviews"===eC.id&&(0,h.jsx)(eE,{company:m,orgType:u,companyReviews:eL||[],maxPage:eP,serviceTypes:eO,initialPage:e.initialPage}),"ratings"===eC.id&&(0,h.jsxs)(x.W2,{className:iB().ratingsContainer,children:[(0,h.jsx)(ex,{company:m,companyPeopleRatings:eB,orgType:u,serviceTypes:eO,loading:!eB&&eS}),eW]}),"uslugi"===eC.id&&(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(tS,{organizationType:u,servicesBlocks:ew,servicesLoading:ef,bankServices:eg,company:m,pageTitle:eU,description:_||"",activeService:e_,handleServiceChange:e=>{if(!e)return;let{search:t,hash:i}=window.location,n=eD({tab:eC,service:e}),a="".concat(n).concat(t).concat(i);window.history.replaceState(null,"",a),ep(e)},region:H,town:V,mfoOffers:eh,generalRating:v,quote:G,reviews:eV}),G&&!V&&!H&&(0,h.jsx)(N.c,{className:iB().quote,quote:G})]}),(0,h.jsx)("div",{className:(0,k.Z)({[iB().hiddenSection]:!(ec||"news"===eC.id)}),children:g&&(0,h.jsx)(j.MJ,{tabs:g,baseUrl:o.NEXT_PUBLIC_BASE_URL,s3Assets:"".concat(o.NEXT_PUBLIC_S3_ASSETS,"/mp-assets"),dataLayerPush:iP.l})}),"uslugi"===eC.id&&(0,h.jsx)(iO.X,{...eH,showAllStars:!0,variant:ec?"secondary":"primary",loading:!eL&&eS}),!ed&&"uslugi"===eC.id&&!!eZ.length&&(0,h.jsx)(C.C,{questions:eZ,dataLayerPush:iP.l,eventCategory:M.qL,tagTitle:"h3"}),z&&(0,h.jsx)(R.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,v=(0,l.useSearchParams)(),m=(0,l.usePathname)(),_=null===(t=v.get("utm_source"))||void 0===t?void 0:t.toString(),p=null===(i=v.get("utm_campaign"))||void 0===i?void 0:i.toString(),g=null===(r=v.get("utm_content"))||void 0===r?void 0:r.toString(),h=null===(s=v.get("utm_medium"))||void 0===s?void 0:s.toString(),f=null===(c=v.get("utm_term"))||void 0===c?void 0:c.toString(),y=null===(d=v.get("click_id"))||void 0===d?void 0:d.toString(),w=(0,a.useMemo)(()=>({pathname:m,utmSource:_,utmMedium:h,utmCampaign:p,utmTerm:f,utmContent:g,clickId:y}),[m,_,h,p,f,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}},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),v=i(37790),m=i.n(v);let _=()=>(0,n.jsxs)("div",{className:m().wrapper,children:[(0,n.jsxs)("div",{className:m().title,children:["Как мы работаем",(0,n.jsx)("br",{}),"с отзывами"]}),(0,n.jsxs)("div",{className:m().content,children:[(0,n.jsxs)("div",{className:m().item,children:[(0,n.jsx)(u.IconFdsOctostarCheckO,{size:24}),(0,n.jsx)("div",{className:m().text,children:"Отзывы проходят модерацию"})]}),(0,n.jsxs)("div",{className:m().item,children:[(0,n.jsx)(u.IconFdsThumbDownO,{size:24}),(0,n.jsx)("div",{className:m().text,children:"Подозрительные — не публикуются и не влияют на рейтинг"})]}),(0,n.jsxs)("div",{className:m().item,children:[(0,n.jsx)(u.IconFdsClockO,{size:24}),(0,n.jsxs)("div",{className:m().text,children:["Чем старше отзыв, тем меньше",(0,n.jsx)("br",{}),"он влияет на рейтинг"]})]})]})]});var p=i(46295),g=i(51479),h=i(54550),f=i(28574),y=i.n(f);let w=e=>{let{company:t,orgType:i,eventCategory:a}=e,l=(0,p.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,h.b)("Оставить отзыв"),eventLabel:(0,h.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),j=i(73315),N=i.n(j);let C=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)(N().avatar,{[N().desktop]:!i,[N().reviewDetail]:a}),children:(0,n.jsx)("div",{className:N().companyLogoWrapper,children:(0,n.jsx)(b.G,{width:l,height:l})})})};var T=i(95177),R=i.n(T);let k=()=>(0,n.jsx)(n.Fragment,{children:[1,2,3,4].map(e=>(0,n.jsxs)("a",{className:(0,s.Z)(R().review),children:[(0,n.jsxs)("div",{className:R().reviewHeader,children:[(0,n.jsxs)("div",{className:R().reviewHeaderTop,children:[(0,n.jsxs)("div",{className:R().reviewAuthor,children:[(0,n.jsx)(C,{}),(0,n.jsxs)("div",{className:R().authorInfo,children:[(0,n.jsx)(o.Od,{className:R().authorName,width:80,height:24}),(0,n.jsx)(o.Od,{className:R().rating,width:125,height:24})]})]}),(0,n.jsx)(o.Od,{className:R().date,width:70,height:24})]}),(0,n.jsxs)("div",{className:R().badges,children:[(0,n.jsx)(o.Od,{className:R().badge,width:70,height:28}),(0,n.jsx)(o.Od,{className:R().badge,width:70,height:28})]}),(0,n.jsx)(o.Od,{className:R().date,width:70,height:20})]}),(0,n.jsxs)("div",{className:(0,s.Z)(R().reviewContent),children:[(0,n.jsx)(o.Od,{className:R().reviewTitle,height:24}),(0,n.jsx)(o.Od,{className:(0,s.Z)(R().reviewText,{[R().overlay]:!0}),height:120}),(0,n.jsx)("div",{className:R().reviewContentBottom,children:(0,n.jsx)(o.Od,{className:R().readAllButton,width:123,height:24})})]})]},e))});var S=i(94073),I=i(24269),A=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)(R().reviewContent,{[R().expanded]:i}),children:[(0,n.jsx)("div",{className:R().reviewTitle,children:t.title}),(0,n.jsx)("div",{ref:o,className:(0,s.Z)(R().reviewText,{[R().overlay]:r}),children:t.review}),(0,n.jsxs)("div",{className:R().reviewContentBottom,children:[r?(0,n.jsx)("button",{className:R().readAllButton,onClick:()=>l(!0),children:"Читать полностью"}):(0,n.jsx)("div",{}),t.answers_count>0&&(0,n.jsxs)("button",{className:R().commentsIcon,children:[(0,n.jsx)(u.IconFdsChatDotsCircleO,{size:20}),(0,n.jsx)("p",{className:R().commentsLabel,children:t.answers_count})]})]})]})},E=e=>{let t=e.fkType===I.$.insurance?"/otzyv":e.fkType===I.$.mfo?"/mfo":"/banki",i=e.fkType===I.$.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,h.b)(e.title||""),eventLabel:(0,h.b)(t||"")}),a({...e,text:e.review,orgType:e.fkType,product_type:[e.fkName||"",e.serviceName||""],publ_date:(0,A.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)(k,{}):(0,n.jsx)(n.Fragment,{children:t.map((e,t)=>(0,n.jsxs)("a",{className:(0,s.Z)(R().review,R().clickable),href:E(e),onClick:c(e),children:[(0,n.jsxs)("div",{className:R().reviewHeader,children:[(0,n.jsxs)("div",{className:R().reviewHeaderTop,children:[(0,n.jsxs)("div",{className:R().reviewAuthor,children:[(0,n.jsx)(S.y,{user:e.name,...e}),(0,n.jsxs)("div",{className:R().authorInfo,children:[(0,n.jsx)("div",{className:R().authorName,children:e.name}),(0,n.jsxs)("div",{className:R().rating,children:[(0,n.jsx)("div",{className:R().ratingValue,children:(0,L.Z)(e.rating)}),(0,n.jsx)("div",{className:R().ratingStars,children:[1,2,3,4,5].map(t=>(0,n.jsx)(u.IconFdsStarF,{className:(0,s.Z)(R().star,t>e.rating&&R().gray)},t))})]})]})]}),(0,n.jsx)("div",{className:R().date,children:(0,A.p6)(e.date||"").toString()})]}),(0,n.jsxs)("div",{className:R().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:R().date,children:(0,A.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===I.$.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:v,eventCategory:m,initialMaxPage:p,initialPage:g,company:h}=e,[f,y]=(0,a.useState)(!1),[x,b]=(0,a.useState)(null);return(0,n.jsxs)(o.W2,{children:[(0,n.jsxs)("div",{className:R().wrapper,children:[(0,n.jsxs)("div",{className:R().container,children:[(0,n.jsxs)("div",{className:(0,s.Z)(R().list,{[R().loading]:u,[R().empty]:!t.length&&!u}),children:[(0,n.jsx)(B,{reviews:t,loading:u,eventCategory:m,onClick:e=>{b(e),y(!0)}}),(0,n.jsx)(d.H,{page:g,totalPage:p,url:"/otzyvy"})]}),i&&(0,n.jsx)("div",{className:R().buttonWrapper,children:(0,n.jsx)(r.zx,{variant:"secondary",size:"s",onClick:i,pending:u||v,children:"Показать еще"})}),(0,n.jsx)(c.d,{data:M(t,h)}),!t.length&&(0,n.jsxs)("div",{className:R().notFound,children:[(0,n.jsx)(l.default,{className:R().image,width:300,height:200,loading:"lazy",src:F.Z,alt:"Изображение - К сожалению, мы ничего не нашли"}),(0,n.jsx)("div",{className:R().notFoundTitle,children:"К сожалению, мы ничего не нашли"})]})]}),(0,n.jsxs)("div",{className:R().bannerWrapper,children:[(0,n.jsx)(w,{eventCategory:m||""}),(0,n.jsx)(_,{})]})]}),(0,n.jsx)(D.Y,{data:x,buttonData:{link:"",text:""},showAllStars:!0,isOpen:f,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 Y}});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),v=i(24269);let m=(e,t)=>{if(!e)return 0;if("number"==typeof e.people_rating)return e.people_rating;let i=0,n=0,a=[];return t===v.$.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},_=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=m(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===v.$.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 p=i(80684),g=i(61994),h=i(44197),f=i(91672),y=i(58514),w=i(75599),x=i(68671),b=i.n(x);let j=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)(f.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)(p.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)(h.j,{className:b().fullInfoLink,mainPageUrl:t.NEXT_PUBLIC_BASE_URL,href:"/".concat(a,"/").concat(e.org.url),target:"_self",text:"Подробнее о ".concat(i)})]})})};var N=i(19621),C=i(71938),T=i(16205),R=i.n(T);let k=e=>{let{data:t,organization:i,organizationType:a}=e;if(t.length)return(0,n.jsxs)("div",{className:R().answers,children:[(0,n.jsx)("p",{className:R().title,children:"Ответ организации"}),(0,n.jsx)("div",{className:R().list,children:t.map(e=>{let{id:t,answer:l,published:o,user:r}=e;return(0,n.jsxs)("div",{className:R().answer,children:[(0,n.jsx)("div",{className:R().logo,children:(0,n.jsx)(f.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:R().content,children:[(0,n.jsxs)("div",{className:R().info,children:[(0,n.jsx)("p",{className:R().name,children:(null==r?void 0:r.company_name)||(null==i?void 0:i.name)}),(0,n.jsx)("p",{className:R().date,children:(0,C.p6)(o,{format:"dd.MM.yyyy HH:mm"}).toString()})]}),(0,n.jsx)("div",{className:R().text,dangerouslySetInnerHTML:{__html:l}})]})]},t)})})]})};var S=i(94073),I=i(68583),A=i.n(I);let L=e=>{var t,i,a,o,r,s,c;let d=m(e.review,e.orgType);return(0,n.jsxs)("div",{className:A().wrapper,children:[(0,n.jsxs)("div",{className:A().header,children:[(0,n.jsxs)("div",{className:A().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:A().info,children:[(0,n.jsx)("div",{className:A().name,children:e.review.first_name}),(0,n.jsxs)("div",{className:A().rating,children:[(0,w.Z)(d),(0,n.jsx)("div",{className:A().ratingStars,children:[1,2,3,4,5].map(e=>(0,n.jsx)(p.IconFdsStarF,{size:18,className:(0,g.Z)(A().star,{[A().gray]:e>Number(d)})},e))})]})]})]}),(0,n.jsx)("div",{className:A().date,children:(0,C.p6)(e.review.published).toString()})]}),(0,n.jsxs)("div",{className:A().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=N.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:A().text,children:[(0,n.jsx)("div",{className:A().title,children:e.review.title}),(0,n.jsx)("div",{className:A().review,children:e.review.review})]}),(0,n.jsx)(k,{data:e.review.answers,organization:e.org,organizationType:e.orgType})]})},P=(e,t,i)=>{switch(t){case v.$.insurance:return"/otzyv/".concat((null==i?void 0:i.url)||"","/").concat(e.url);case v.$.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)(m(e.review,e.orgType)),(0,n.jsx)(p.IconFdsStarF,{size:16,className:M().ratingIcon})]})]})]}),(0,n.jsx)("div",{className:M().date,children:(0,C.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)(p.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],m=e.orgType===v.$.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)(h.j,{className:z().fullInfoLink,iconColor:"white",mainPageUrl:s,href:m,target:"_self",text:"Смотреть все отзывы о ".concat(d)})]})};var H=i(29587),V=i(89487),q=i(77919),Z=i.n(q),Y=e=>{let{orgType:t,review:i,companyReviews:m,org:p,generalRating:g,orgPlace:h,mostPopularServiceName:f,bestOffersData:y,supportBlockData:w}=e,x=(0,r.S)(),b=H.H[t],N=(0,F.r)((null==p?void 0:p.name)||"")?"об":"о",C=(null==p?void 0:p.name_p)?" ".concat(N," ").concat(null==p?void 0:p.name_p):"",T=i.first_name_r?" от ".concat(i.first_name_r):"",R={[v.$.mfo]:"mfo",[v.$.insurance]:"sk"}[t]||null;return(0,n.jsxs)("div",{className:Z().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(R?"?type=".concat(R):"")},{label:"Отзыв".concat(C).concat(T)}]}),(0,n.jsx)("h1",{className:"collapsed",children:i.title}),(0,n.jsxs)("div",{className:Z().wrapper,children:[(0,n.jsxs)("div",{className:Z().main,children:[(0,n.jsx)(L,{review:i,org:p,orgType:t}),(0,n.jsx)(W,{org:p,companyReviews:m,orgType:t,className:"desktopOnly"})]}),(0,n.jsxs)("div",{className:Z().sidebar,children:[(0,n.jsx)(c.v,{eventCategory:u.lD}),(0,n.jsx)(j,{org:p,orgType:t,generalRating:g,orgPlace:h,mostPopularServiceName:f})]})]}),(0,n.jsx)(W,{org:p,companyReviews:m,orgType:t,className:"mobileOnly"}),(0,n.jsx)(d.d,{data:_({item:i,baseUrl:x.NEXT_PUBLIC_BASE_URL,orgType:t,org:p})}),(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})]})}},94073:function(e,t,i){"use strict";i.d(t,{y:function(){return c}});var n=i(57437),a=i(75461),l=i(61994),o=i(91672),r=i(73315),s=i.n(r);let c=e=>{let t=(0,a.aF)("m"),i=e.forceMobile||t,r="ReviewDetail"===e.type,c=r?i?18:21:i?16:21;return(0,n.jsxs)("div",{className:(0,l.Z)(s().avatar,{[s().desktop]:!i,[s().reviewDetail]:r}),children:[e.user.slice(0,1),(0,n.jsx)("div",{className:s().companyLogoWrapper,children:(0,n.jsx)(o.D,{bic:e.bic||e.fkUrl||"",type:e.organizationType||e.fkType,url:e.fkUrl||e.organizationUrl,width:c,height:c,companyName:e.fkName})})]})}},999:function(e,t,i){"use strict";i.d(t,{j:function(){return z}});var n=i(57437),a=i(2265),l=i(33145),o=i(35563),r=i(75461),s=i(61994),c=i(49180),d=i(98607),u=i(60816),v=i(66617),m=i(13466),_=i(53120),p=i(49689),g=i(73564),h=i(94829),f=i(64242),y=i(50758),w=i(59129),x=i.n(w);let b=e=>({name:e.name,rating:e.rating,product_type:e.serviceType?[e.serviceType]:[],publ_date:e.dt,title:e.title,text:e.text,url:e.url}),j=e=>{let{data:t,variant:i}=e;return(0,n.jsx)("div",{className:x().modal_button_wrapper,onClick:()=>(0,h.GC)("modal",t.text,t.link,h.ii),children:(0,n.jsx)(r.zx,{as:"a",href:t.link,label:t.text,stretch:!0,className:x().modal_button,size:"s",variant:i})})},N=e=>{let{data:t,buttonData:i,isOpen:a,onClose:l,ratingCustomClass:o,showAllStars:s,cardVariant:c}=e,d=(0,r.aF)("m"),{mounted:u}=(0,g.b)({opened:a});if(!u)return null;let v=t?b(t):null,w=(null==t?void 0:t.url)?(0,n.jsx)(j,{data:{...i,link:t.url,text:"Подробнее"},variant:"secondary"}):(0,n.jsx)(j,{data:i});return(0,n.jsx)(m.h,{children:d?(0,n.jsx)(p.j,{className:x().mobile_popup,isOpen:a,onClose:l,footer:w,children:null!==v&&(0,n.jsx)(f.A,{post:v,ratingCustomClass:o,showAllStars:s,variant:c,isModal:!0,isPopup:!0})}):(0,n.jsx)(_.d,{contentClassName:x().container,isOpen:a,onClose:l,title:v?(0,n.jsx)(y.S,{...v,ratingClassName:o,isModal:!0,showAllStars:s,variant:c&&(0,h.VI)(c)}):"",titleAlign:"left",rowTitle:!0,footer:w,width:"600px",children:null!==v&&(0,n.jsx)(f.A,{post:v,variant:c,isModal:!0})})})};var C=i(94825);let T=(e,t)=>{var i,n;let a=null==t?void 0:null===(n=t.info)||void 0===n?void 0:null===(i=n.requisites)||void 0===i?void 0:i.legalAddress;return{"@context":"https://schema.org","@type":"ItemList",name:"Отзывы о финансовых организациях",description:"Собираем мнения клиентов о банках и финансовых организациях представленных на Финуслугах",itemListElement:e.map((e,i)=>({"@type":"ListItem",position:i+1,item:{"@type":"Review",itemReviewed:{"@type":e.fkType===C.yz.insurance?"InsuranceAgency":"BankOrCreditUnion",name:e.fkName||(null==t?void 0:t.name),...a&&{address:{"@type":"PostalAddress",addressLocality:a}}},reviewRating:{"@type":"Rating",ratingValue:e.rating},author:{"@type":"Person",name:e.name||"Аноним"},datePublished:e.dt,reviewBody:e.text}}))}};var R=i(80684),k=i(85811),S=i(94073),I=i(71938),A=i(75599),L=i(2550),P=i(99686),O=i.n(P);let E=e=>{let{review:t}=e,{title:i,text:l}=t,[o,r]=(0,a.useState)(!1),c=(0,a.useRef)(null),d=(0,k.d)(c);return(0,n.jsxs)("div",{className:(0,s.Z)(O().reviewContent,{[O().expanded]:o}),children:[(0,n.jsx)("div",{className:O().reviewTitle,children:i}),(0,n.jsx)("div",{ref:c,className:(0,s.Z)(O().reviewText,{[O().overlay]:d}),children:l}),(0,n.jsx)("div",{className:O().reviewContentBottom,children:d?(0,n.jsx)("button",{className:O().readAllButton,onClick:()=>r(!0),children:"Читать полностью"}):(0,n.jsx)("div",{})})]})},B=e=>{switch(e.organizationType){case C.yz.insurance:return(0,L.t$)("/otzyv/".concat(e.organizationUrl,"/").concat(e.url));case C.yz.mfo:return(0,L.t$)("/mfo/".concat(e.organizationUrl,"/otzyvy/").concat(e.url));default:return(0,L.t$)("/banki/".concat(e.organizationUrl,"/otzyvy/").concat(e.url))}},M=e=>{var t,i;let{organization:a,data:l,onClick:o}=e,{name:r,rating:c,dt:d}=l;return l?(0,n.jsxs)("a",{className:(0,s.Z)(O().review,O().clickable),href:B(l),onClick:o,children:[(0,n.jsxs)("div",{className:O().reviewHeader,children:[(0,n.jsxs)("div",{className:O().reviewHeaderTop,children:[(0,n.jsxs)("div",{className:O().reviewAuthor,children:[(0,n.jsx)(S.y,{user:r,...l,bic:null==a?void 0:null===(i=a.info)||void 0===i?void 0:null===(t=i.requisites)||void 0===t?void 0:t.bic}),(0,n.jsxs)("div",{className:O().authorInfo,children:[(0,n.jsx)("div",{className:O().authorName,children:r}),(0,n.jsxs)("div",{className:O().rating,children:[(0,n.jsx)("div",{className:O().ratingValue,children:(0,A.Z)(c)}),(0,n.jsx)("div",{className:O().ratingStars,children:[1,2,3,4,5].map(e=>(0,n.jsx)(R.IconFdsStarF,{className:(0,s.Z)(O().star,e>c&&O().gray)},e))})]})]})]}),(0,n.jsx)("div",{className:O().date,children:(0,I.p6)(d||"").toString()})]}),(0,n.jsx)("div",{className:O().tags}),(0,n.jsx)("div",{className:O().date,children:(0,I.p6)(d||"").toString()})]}),(0,n.jsx)(E,{review:l})]}):null};var D=i(72276),F=i.n(D),U=i(29681);let z=e=>{let{reviews:t,onShowMore:i,loadingMore:m,eventCategory:_,organization:p}=e,[g,h]=(0,a.useState)(!1),[f,y]=(0,a.useState)(t[0]),w=e=>t=>{t.preventDefault(),y(e),h(!0)};return(0,n.jsxs)(o.W2,{children:[(0,n.jsxs)("div",{className:F().wrapper,children:[(0,n.jsxs)("div",{className:F().container,children:[(0,n.jsxs)("div",{className:(0,s.Z)(F().list),children:[null==t?void 0:t.map((e,t)=>(0,n.jsx)(M,{data:e,organization:p,onClick:w(e)},t)),(0,n.jsx)(v.H,{url:"/otzyvy"})]}),i&&(0,n.jsx)("div",{className:F().buttonWrapper,children:(0,n.jsx)(r.zx,{variant:"secondary",size:"s",onClick:i,pending:m,children:"Показать еще"})}),(0,n.jsx)(u.d,{data:T(t,p)}),!t.length&&(0,n.jsxs)("div",{className:F().notFound,children:[(0,n.jsx)(l.default,{className:F().image,width:300,height:200,loading:"lazy",src:U.Z,alt:"Изображение - К сожалению, мы ничего не нашли"}),(0,n.jsx)("div",{className:F().notFoundTitle,children:"К сожалению, мы ничего не нашли"})]})]}),(0,n.jsxs)("div",{className:F().bannerWrapper,children:[(0,n.jsx)(c.v,{eventCategory:_||""}),(0,n.jsx)(d.u,{})]})]}),f&&(0,n.jsx)(N,{data:{...f,url:B(f)},buttonData:{link:"",text:""},showAllStars:!0,isOpen:g,onClose:()=>h(!1)})]})}},25745:function(e,t,i){"use strict";i.d(t,{G:function(){return l}});var n=i(94825),a=i(2550);let l=e=>{let{type:t,com:i,service:l}=e,o=t===n.yz.insurance?"sk":t===n.yz.mfo?"mfo":"",r="",s="";r=window.location.search,s=window.location.hash;let c=new URLSearchParams(r);o?c.set("type",o):c.delete("type"),(null==i?void 0:i.length)?c.set("com",i.join("~")):c.delete("com"),l?c.set("service",l):c.delete("service");let d=c.toString();return(0,a.t$)("/otzyvy".concat(d?"?".concat(d):"").concat(s))}},75599:function(e,t,i){"use strict";i.d(t,{Z:function(){return l}});var n=i(90138),a=i(39635);let l=e=>{let t=(0,a.A)(e);return t?Number.isInteger(t)?t.toString():(0,n.m)(t):"0"}},90138:function(e,t,i){"use strict";i.d(t,{m:function(){return n}});let n=e=>e.toString().replaceAll(".",",")},12305:function(e){e.exports={wrapper:"FeedbackBanner_wrapper__L_YNk",head:"FeedbackBanner_head__AqpNS",icon:"FeedbackBanner_icon__176ME",subtitle:"FeedbackBanner_subtitle__NdpBp"}},11058:function(e){e.exports={wrapper:"HowReviewsWork_wrapper__jbaX0",title:"HowReviewsWork_title__FvykZ",content:"HowReviewsWork_content__e5OW5",item:"HowReviewsWork_item__E0n2o",text:"HowReviewsWork_text__IdG70"}},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"}},73315:function(e){e.exports={avatar:"UserReviewAvatar_avatar__CrwKR",desktop:"UserReviewAvatar_desktop__wL71M",companyLogoWrapper:"UserReviewAvatar_companyLogoWrapper__QElOH",reviewDetail:"UserReviewAvatar_reviewDetail__NE8wd"}},72276:function(e){e.exports={notFoundTitle:"ReviewsList_notFoundTitle__p6kM4",wrapper:"ReviewsList_wrapper__GuGS_",container:"ReviewsList_container__iWHjm",bannerWrapper:"ReviewsList_bannerWrapper__5Dz5U",image:"ReviewsList_image__QrIpE",list:"ReviewsList_list__Rw537",buttonWrapper:"ReviewsList_buttonWrapper__FiMdO",paginationNext:"ReviewsList_paginationNext__gYEJe",notFound:"ReviewsList_notFound__8KGmV"}},99686:function(e){e.exports={review:"ReviewListCard_review__zOeDh",clickable:"ReviewListCard_clickable__CWOdH",readAllButton:"ReviewListCard_readAllButton__Beqgf",reviewHeader:"ReviewListCard_reviewHeader__K_OpH",reviewHeaderTop:"ReviewListCard_reviewHeaderTop__xZS_I",reviewAuthor:"ReviewListCard_reviewAuthor__LL6_T",authorInfo:"ReviewListCard_authorInfo__QnxaQ",authorName:"ReviewListCard_authorName__aM3vx",rating:"ReviewListCard_rating__ulebt",ratingValue:"ReviewListCard_ratingValue__JFQhp",ratingStars:"ReviewListCard_ratingStars__s2M26",star:"ReviewListCard_star__flEja",gray:"ReviewListCard_gray__hzS9m",date:"ReviewListCard_date__VKvSv",tags:"ReviewListCard_tags__AgrhS",reviewContent:"ReviewListCard_reviewContent__1VT8G",expanded:"ReviewListCard_expanded__K8rlk",reviewText:"ReviewListCard_reviewText__ibEdY",reviewTitle:"ReviewListCard_reviewTitle__Ps_Yq",overlay:"ReviewListCard_overlay__AsC9a",reviewContentBottom:"ReviewListCard_reviewContentBottom__yHvhE",commentsIcon:"ReviewListCard_commentsIcon__VRmPW",commentsLabel:"ReviewListCard_commentsLabel__try3D"}},59129:function(e){e.exports={container:"ReviewSliderModal_container__yja4_",mobile_popup:"ReviewSliderModal_mobile_popup__UXUiA",modal_button_wrapper:"ReviewSliderModal_modal_button_wrapper__M4LdH"}}},function(e){e.O(0,[2780,5295,9206,2982,4054,4731,6954,6649,3544,5501,207,6989,3317,7082,449,3389,4691,9622,498,8946,7271,1858,224,2760,4527,2784,2971,2117,1744],function(){return e(e.s=27126)}),_N_E=e.O()}]);