(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,88673,e=>{"use strict";var s,a=e.i(94246),l=e.i(37819),t=((s={}).link="link",s.button="button",s.popup="popup",s.popdown="popdown",s.filterCatalog="filter_catalog",s.utm="utm",s.banner="banner",s.input_field="input_field",s.field="field",s);e.s(["DataLayerActionType",()=>t,"handelDataLayerPush",0,({eventCategory:e,eventAction:s,eventActionText:t="",eventLabel:r,eventValue:i,url:n})=>{let d=i;"boolean"==typeof i&&(d=i?"on":"off");let c=!0;"filter_catalog"!==s?c=/[а-я]/i.test(t.toLowerCase()):"string"==typeof r&&(c=/[а-я]/i.test(r.toLowerCase()));let o="filter_catalog"!==s?{event:"data-event",eventCategory:e,eventAction:({link:"click_link_",button:"click_button_",popup:"show_pop_up_",popdown:"close_pop_up_",utm:"save_utm",banner:"click_banner_",input_field:"input_field_",field:"click_field_"})[s]+(0,l.translit)(t),eventLabel:r,eventValue:d,url:n}:{event:"data-event",eventAction:e,eventCategory:s,eventLabel:"string"!=typeof r||c?r:(0,l.translit)(r),eventValue:d,url:n};(0,a.dataLayerPush)(o)}])},4767,e=>{e.q("/service-navigator/_next/static/media/arrow-link.1vnlz-_q_olsx.svg")},71666,71469,e=>{"use strict";var s=e.i(43476),a=e.i(7670),l=e.i(12569),t=e.i(54061);let r={display:"h1",hero:"h1",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6"},i=(0,t.g)("heading"),n=Object.freeze({heading:i,states:Object.freeze({display:`${i}--display`,hero:`${i}--hero`,h1:`${i}--h1`,h2:`${i}--h2`,h3:`${i}--h3`,h4:`${i}--h4`,h5:`${i}--h5`,h6:`${i}--h6`})}),d=({as:e,children:t,weight:i,type:d,lineClamp:c,className:o,style:u,dataQa:_,dataId:m,...p})=>{var h;let g=e||r[d]||"div",f=/^h[1-6]$/.test(g),j=(null==(h=d.match(/\d+/))?void 0:h[0])||1;return(0,s.jsx)(g,{className:(0,a.default)(n.heading,n.states[d],o),style:{...i?{fontWeight:`var(--font-weight-${i})`}:void 0,...c?{WebkitLineClamp:c,lineClamp:c,...l.l}:void 0,...u},role:f?null:"heading","aria-level":f?null:j,...p,"data-id":m,"data-qa":_,children:t})};d.displayName="Heading",e.s([],71666),e.s(["Heading",0,d],71469)},68651,e=>{e.v({arrowIcon:"ContactsLegal-module-scss-module__CG8uVa__arrowIcon",card:"ContactsLegal-module-scss-module__CG8uVa__card",legalBlock:"ContactsLegal-module-scss-module__CG8uVa__legalBlock",legalBlockDescription:"ContactsLegal-module-scss-module__CG8uVa__legalBlockDescription",legalBlockTitle:"ContactsLegal-module-scss-module__CG8uVa__legalBlockTitle",legalInfoDisclosureText:"ContactsLegal-module-scss-module__CG8uVa__legalInfoDisclosureText",link:"ContactsLegal-module-scss-module__CG8uVa__link",map:"ContactsLegal-module-scss-module__CG8uVa__map",section:"ContactsLegal-module-scss-module__CG8uVa__section",sectionHeader:"ContactsLegal-module-scss-module__CG8uVa__sectionHeader",shine:"ContactsLegal-module-scss-module__CG8uVa__shine"})},13089,e=>{e.v({shine:"PageTitle-module-scss-module__BzqAMq__shine",title:"PageTitle-module-scss-module__BzqAMq__title","title-l":"PageTitle-module-scss-module__BzqAMq__title-l","title-m":"PageTitle-module-scss-module__BzqAMq__title-m"})},35446,41800,30335,e=>{"use strict";var s=e.i(43476),a=e.i(57688),l=e.i(22016),t=e.i(7670),r=e.i(54061);let i=(0,r.g)("col"),n=Object.freeze({col:i,state:{size:(e,s)=>!0===s?`${i}--${e}`:`${i}--${e}-${s}`,offsetLeft:(e,s)=>`${i}--${e}-offset-left-${s}`,offsetRight:(e,s)=>`${i}--${e}-offset-right-${s}`}}),d=({as:e,className:a="",size:l={},offsetLeft:r={},offsetRight:i={},children:d,...c})=>{let o=Object.entries(l).reduce((e,[s,a])=>[...e,n.state.size(s,a)],[]).join(" "),u=Object.entries(r).reduce((e,[s,a])=>[...e,n.state.offsetLeft(s,a)],[]).join(" "),_=Object.entries(i).reduce((e,[s,a])=>[...e,n.state.offsetRight(s,a)],[]).join(" ");return(0,s.jsx)(e||"div",{className:(0,t.default)(n.col,a,o,u,_),...c,children:d})};d.displayName="Col";var c=e.i(60822);e.i(71666);var o=e.i(71469);let u=(0,r.g)("row"),_=(e,s,a)=>`${u}--gutter-${e}-${s}-${a}`,m=Object.freeze({row:u,state:{reverse:`${u}--reverse`,gutter:(e,s="xs")=>Array.isArray(e)?[_(s,e[0],"h"),_(s,e[1],"v")].join(" "):_(s,e,"h")}});function p({as:e,className:a="",reverse:l=!1,gutters:r={},children:i,...n}){let d=Object.entries(r).map(([e,s])=>m.state.gutter(s,e)).join(" ");return(0,s.jsx)(e||"div",{...n,className:(0,t.default)(m.row,a,d,{[m.state.reverse]:l}),children:i})}p.displayName="Row";let h={src:e.i(4767).default,width:17,height:17,blurWidth:0,blurHeight:0};var g=e.i(88673),f=e.i(68651);let j=({className:e,src:a})=>(0,s.jsx)("div",{className:e,style:{width:"100%",height:"100%",position:"relative",overflow:"hidden"},children:(0,s.jsx)("iframe",{src:a,width:"100%",height:"100%",style:{position:"relative"}})});e.s(["ContactsLegal",0,({data:e,headTitle:r})=>{if(!e||0===Object.keys(e).length)return null;let{title:i,KPP:n,legalAddress:u,legalInfoDisclosure:_,INN:m,OKPO:x,OGRN:v}=e;return(0,s.jsx)("section",{className:f.default.section,children:(0,s.jsxs)(c.Container,{children:[r&&(0,s.jsx)(o.Heading,{className:f.default.sectionHeader,type:"h2",children:r}),(0,s.jsxs)(p,{gutters:{xl:[8,8],xs:[6,6]},children:[(0,s.jsx)(d,{size:{xs:12,l:5},children:(0,s.jsxs)("div",{className:f.default.card,children:[(0,s.jsxs)("div",{className:f.default.legalBlock,children:[(0,s.jsx)(o.Heading,{className:f.default.legalBlockTitle,type:"h3",children:i.title}),(0,s.jsx)("p",{className:(0,t.default)("contacts-legal-text",f.default.legalBlockDescription),children:i.text})]}),(0,s.jsxs)("div",{className:f.default.legalBlock,children:[(0,s.jsx)(o.Heading,{className:f.default.legalBlockTitle,type:"h3",children:u.title}),(0,s.jsx)("p",{className:(0,t.default)("contacts-legal-text",f.default.legalBlockDescription),children:u.text})]}),(0,s.jsxs)(p,{gutters:{xs:[6,6]},className:"mb-3",children:[(0,s.jsx)(d,{size:{xs:6},children:(0,s.jsxs)("div",{children:[(0,s.jsx)(o.Heading,{className:f.default.legalBlockTitle,type:"h3",children:m.title}),(0,s.jsx)("p",{className:(0,t.default)("contacts-legal-text",f.default.legalBlockDescription),children:m.text})]})}),(0,s.jsx)(d,{size:{xs:6},children:(0,s.jsxs)("div",{children:[(0,s.jsx)(o.Heading,{className:f.default.legalBlockTitle,type:"h3",children:n.title}),(0,s.jsx)("p",{className:(0,t.default)("contacts-legal-text",f.default.legalBlockDescription),children:n.text})]})}),(0,s.jsx)(d,{size:{xs:6},children:(0,s.jsxs)("div",{children:[(0,s.jsx)(o.Heading,{className:f.default.legalBlockTitle,type:"h3",children:v.title}),(0,s.jsx)("p",{className:(0,t.default)("contacts-legal-text",f.default.legalBlockDescription),children:v.text})]})}),(0,s.jsx)(d,{size:{xs:6},children:(0,s.jsxs)("div",{children:[(0,s.jsx)(o.Heading,{className:f.default.legalBlockTitle,type:"h3",children:x.title}),(0,s.jsx)("p",{className:(0,t.default)("contacts-legal-text",f.default.legalBlockDescription),children:x.text})]})})]}),(0,s.jsxs)(l.default,{href:_.link,target:"_blank",className:f.default.link,onClick:()=>(0,g.handelDataLayerPush)({eventCategory:"cb-fab",eventAction:g.DataLayerActionType.link,eventActionText:_.text,eventLabel:"info_/disclosure"}),children:[(0,s.jsx)("span",{className:f.default.legalInfoDisclosureText,children:_.text}),(0,s.jsx)(a.default,{className:f.default.arrowIcon,src:h,alt:"icon-arrow"})]})]})}),(0,s.jsx)(d,{size:{xs:12,l:7},children:(0,s.jsx)(j,{className:f.default.map,src:"https://yandex.ru/map-widget/v1/org/moskovskaya_birzha/78830376374/?ll=37.606406%2C55.755312&z=17"})})]})]})})}],41800),e.s([],35446);var x=e.i(13089);e.s(["PageTitle",0,({className:e,children:a,variant:l="l",as:r="h1"})=>(0,s.jsx)(r,{className:(0,t.default)(x.default[`title-${l}`],x.default.title,e),children:a})],30335)},95109,e=>{"use strict";e.s(["paramsToString",0,e=>{if(!e)return"";let s=new URLSearchParams;Object.entries(e).filter(([e,s])=>null!=s).forEach(([e,a])=>{Array.isArray(a)?a.forEach(a=>s.append(e,String(a))):s.append(e,String(a))});let a=s.toString();return a?`?${a}`:""}])},47694,80844,e=>{"use strict";var s=e.i(43476),a=e.i(71645),l=e.i(7670);function t(e){return a.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M12.004 7.246A1.247 1.247 0 0 1 10.75 6c0-.69.558-1.253 1.25-1.253.69 0 1.25.56 1.25 1.25 0 .688-.559 1.248-1.246 1.25ZM10.75 12c0 .686.559 1.252 1.254 1.247a1.252 1.252 0 0 0 1.246-1.25c0-.69-.56-1.25-1.25-1.25-.692 0-1.25.564-1.25 1.253Zm0 6c0 .686.559 1.253 1.254 1.247a1.252 1.252 0 0 0 1.246-1.25c0-.69-.56-1.25-1.25-1.25-.692 0-1.25.564-1.25 1.253Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}e.s(["S",0,t],80844);var r=e.i(3315),i=e.i(33329),n=e.i(2404);let d=(0,e.i(54061).g)("radio"),c=Object.freeze({radio:d,input:`${d}__input`,marker:`${d}__marker`,wrapper:`${d}__wrapper`,label:`${d}__label`,caption:`${d}__caption`,icon:`${d}__icon`,iconButton:`${d}__icon-button`,states:{error:`${d}--error`,disabled:`${d}--disabled`,inverted:`${d}--inverted`},sizes:{xs:`${d}--xs`,s:`${d}--s`,m:`${d}--m`},variants:{primary:`${d}--primary`,secondary:`${d}--secondary`}}),o=(0,a.forwardRef)(({value:e,variant:d="primary",checked:o=!1,state:u="default",label:_,disabled:m=!1,caption:p,className:h,style:g,icon:f,withIcon:j=!1,size:x="m",inverted:v=!1,children:C,inputRef:N,onChange:b,onIconClick:k,dataQa:y,dataId:T,...L},$)=>{let W=(0,a.useId)(),P=C||_;return(0,s.jsxs)("label",{ref:$,htmlFor:W,"data-marker-label":"",className:(0,l.default)(h,c.radio,{[c.states.disabled]:m,[c.states.inverted]:v,[c.states.error]:"error"===u,[c.sizes[x]]:!0,[c.variants[d]]:!0}),style:g,"data-id":T,"data-qa":y,children:[(0,s.jsx)("input",{id:W,value:e,checked:o,className:c.input,type:"radio",disabled:m,onChange:e=>{null==b||b(e.target.value,e)},ref:N,...L}),(0,s.jsx)("span",{className:c.marker,children:(0,s.jsx)(i.C,{type:"radio",checked:o,inverted:v,state:u,disabled:m})}),P&&(0,s.jsxs)("span",{className:c.wrapper,children:[(0,s.jsx)("span",{className:c.label,children:P}),p&&(0,s.jsx)(r.C,{className:c.caption,withoutIcon:!0,children:p})]}),j&&(0,s.jsx)("button",{type:"button",className:(0,l.default)(c.iconButton),onClick:m?void 0:k,children:(0,s.jsx)(n.P,{className:(0,l.default)(c.icon),children:f?(0,s.jsx)(s.Fragment,{children:f}):(0,s.jsx)(t,{})})})]})});o.displayName="Radio",e.s(["Radio",0,o],47694)},98937,e=>{e.v({button:"TagsFilterPanel-module-scss-module__ZL8uQG__button",contentWrapper:"TagsFilterPanel-module-scss-module__ZL8uQG__contentWrapper",radioWrapper:"TagsFilterPanel-module-scss-module__ZL8uQG__radioWrapper",shine:"TagsFilterPanel-module-scss-module__ZL8uQG__shine",sortTitle:"TagsFilterPanel-module-scss-module__ZL8uQG__sortTitle",sortWrapper:"TagsFilterPanel-module-scss-module__ZL8uQG__sortWrapper",wrapper:"TagsFilterPanel-module-scss-module__ZL8uQG__wrapper"})},71373,17328,98193,e=>{"use strict";var s,a=e.i(43476),l=e.i(71645);e.i(34348);var t=e.i(47611),r=e.i(65019),i=e.i(47694),n=e.i(14087),d=((s={}).DESC="DESC",s.ASC="ASC",s);e.s(["SortVariants",()=>d],17328);var c=e.i(98937);e.s(["TagsFilterPanel",0,({isLoading:e,sortOrder:s,tagsOptions:o,onApplyFilter:u,onSetActiveTags:_,onSetSortOrder:m})=>{let[p,h]=(0,l.useState)([]);return(0,a.jsxs)(r.Card,{className:c.default.wrapper,children:[(0,a.jsxs)("div",{className:c.default.contentWrapper,children:[(0,a.jsx)(n.Select,{className:c.default.select,multiple:!0,value:p,onChange:e=>{h(Array.isArray(e)?e:[e])},disabled:!o?.length,optionLabel:"name",optionValue:"id",options:o||[],placeholder:"Категории"}),(0,a.jsxs)("div",{className:c.default.sortWrapper,children:[(0,a.jsx)("h4",{className:c.default.sortTitle,children:"Сортировать"}),(0,a.jsxs)("div",{className:c.default.radioWrapper,children:[(0,a.jsx)(i.Radio,{checked:s===d.DESC,onChange:m,value:d.DESC,name:"sortOrder",children:"От нового к старому"}),(0,a.jsx)(i.Radio,{checked:s===d.ASC,onChange:m,value:d.ASC,name:"sortOrder",children:"От старого к новому"})]})]})]}),(0,a.jsx)(t.Button,{onClick:()=>{_(p),u(p)},className:c.default.button,size:"m",pending:e,children:"Показать"})]})}],98193),e.s([],71373)},28890,e=>{e.v({cardWrapper:"PressReleaseCard-module-scss-module__o_jZLa__cardWrapper",contentWrapper:"PressReleaseCard-module-scss-module__o_jZLa__contentWrapper",description:"PressReleaseCard-module-scss-module__o_jZLa__description",gradient:"PressReleaseCard-module-scss-module__o_jZLa__gradient",headerWrapper:"PressReleaseCard-module-scss-module__o_jZLa__headerWrapper",readFull:"PressReleaseCard-module-scss-module__o_jZLa__readFull",shine:"PressReleaseCard-module-scss-module__o_jZLa__shine",time:"PressReleaseCard-module-scss-module__o_jZLa__time",title:"PressReleaseCard-module-scss-module__o_jZLa__title"})},88002,e=>{e.v({breadcrumbs:"PressRelease-module-scss-module__XkTajW__breadcrumbs",contactsWrapper:"PressRelease-module-scss-module__XkTajW__contactsWrapper",contentContainer:"PressRelease-module-scss-module__XkTajW__contentContainer",contentWrapper:"PressRelease-module-scss-module__XkTajW__contentWrapper",description:"PressRelease-module-scss-module__XkTajW__description",headerWrapper:"PressRelease-module-scss-module__XkTajW__headerWrapper",pagination:"PressRelease-module-scss-module__XkTajW__pagination",pressReleaseWrapper:"PressRelease-module-scss-module__XkTajW__pressReleaseWrapper",section:"PressRelease-module-scss-module__XkTajW__section",shine:"PressRelease-module-scss-module__XkTajW__shine"})},68291,e=>{"use strict";var s=e.i(43476),a=e.i(71645),l=e.i(27060);e.i(34348);var t=e.i(47611),r=e.i(65019),i=e.i(60822),n=e.i(82372),d=e.i(95109);let c=async e=>{let s=(0,d.paramsToString)(e);return(await (0,n.callApi)({url:`/api/v2/press-center${s}`,options:{isMpScApi:!0}})).data||null};e.i(35446);var o=e.i(41800),u=e.i(30335);e.i(71373);var _=e.i(98193),m=e.i(17328),p=e.i(46381),h=e.i(96934),g=e.i(28890);let f=({data:e})=>{let{tags:a,createdAt:l,plannedPublishAt:t}=e;return(0,s.jsxs)("div",{className:g.default.cardWrapper,children:[(0,s.jsxs)("div",{className:g.default.headerWrapper,children:[(0,s.jsx)("div",{className:g.default.time,children:(0,h.formatDateNew)(t||l)}),(0,s.jsx)("div",{className:g.default.chipsWrapper,children:!!a.length&&(0,s.jsx)(p.Chips,{size:"s",className:g.default.chips,variant:"primary",chips:[{id:a[0].id,label:a[0].name}]})})]}),(0,s.jsxs)("div",{className:g.default.contentWrapper,children:[(0,s.jsx)("div",{className:g.default.title,children:e.title}),e?.content&&(0,s.jsx)("div",{className:g.default.description,dangerouslySetInnerHTML:{__html:e.content||""}}),(0,s.jsx)("div",{className:g.default.gradient}),(0,s.jsx)("a",{className:g.default.readFull,href:`/presscenter/pressrelease/${e.url}`,children:"Читать полностью"})]})]})};var j=e.i(88002);let x=[{href:"/",label:"Главная"},{href:"/presscenter",label:"Пресс-центр Финуслуг"},{label:"Пресс-релизы"}];e.s(["PressRelease",0,({contacts:e,pressCenter:n,tags:d})=>{let[p,h]=(0,a.useState)(null),[g,v]=(0,a.useState)(n),[C,N]=(0,a.useState)(0),[b,k]=(0,a.useState)(!1),[y,T]=(0,a.useState)(m.SortVariants.DESC),L=(0,a.useCallback)(async(e,s,a)=>{let l={limit:4*(s+1),sortOrder:e,draft:!1};k(!0),a&&(l.tags=a.map(e=>e.id));let t=await c(l);return!!t&&(v(t),k(!1),!0)},[]),$=async()=>{await L(y,C+1,p)&&N(e=>e+1)},W=async e=>{await L(e,C,p)&&T(e)};return(0,s.jsxs)("section",{className:j.default.section,children:[(0,s.jsxs)(i.Container,{children:[(0,s.jsx)(l.Breadcrumbs,{className:j.default.breadcrumbs,items:x}),(0,s.jsxs)("div",{className:j.default.contentContainer,children:[(0,s.jsxs)("div",{className:j.default.headerWrapper,children:[(0,s.jsx)(u.PageTitle,{variant:"m",children:"Пресс-релизы Финуслуг"}),(0,s.jsx)("div",{className:j.default.description,children:"Собрали все новости о Финуслугах"})]}),(0,s.jsx)(_.TagsFilterPanel,{isLoading:b,tagsOptions:d,onSetActiveTags:e=>{e&&h(Array.isArray(e)?e:[e])},onApplyFilter:e=>{L(y,C,e)},sortOrder:y,onSetSortOrder:W}),(0,s.jsx)("div",{className:j.default.contentWrapper,children:(0,s.jsxs)(r.Card,{className:j.default.pressReleaseWrapper,children:[g?.pressCenter.map(e=>(0,s.jsx)(f,{data:e},e.id)),(0,s.jsx)("div",{className:j.default.pagination,children:g?.pagination.rowsNumber>4*(C+1)&&(0,s.jsx)(t.Button,{label:"Показать еще",variant:"secondary",onClick:$,pending:b})})]})})]})]}),e&&(0,s.jsxs)("div",{className:j.default.contactsWrapper,children:[(0,s.jsx)(u.PageTitle,{as:"h2",children:"Наши контакты"}),(0,s.jsx)(o.ContactsLegal,{data:e})]})]})}],68291)}]);