1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5994],{25013:function(e,n,t){t.d(n,{O:function(){return u}});var r=t(85893),a=t(91639),i=t(33838),l=t(11163),c=t(67294),o=t(26739);let u=(0,c.forwardRef)((e,n)=>{let{...t}=e,{isButtonStyle:u,variant:s,children:f,href:d="",asComponent:h,withCurrentPath:p,query:m,onClick:x,isExternal:g,replace:y,postfixHrefForAnalytics:v,idAnalytic:k,as:w,getActiveStyles:L,activeStyles:b,...j}=t,S=(0,l.useRouter)(),{asPath:H,query:N,replace:U,push:_}=S,O=p?H:d||"",E=(0,a.mq)("Button",{variant:s}),C=(0,c.useMemo)(()=>(0,o.Wi)({getActiveStyles:L,withCurrentPath:p,currentQuery:m,as:w,activeStyles:b,query:N,asPath:H,currentHref:O}),[t,m,N,H,O]),I=(0,c.useMemo)(()=>(0,o.wS)({href:d,withCurrentPath:p,currentQuery:m,asPath:H,query:N}),[d,p,m,H,N]),T=(0,c.useMemo)(()=>(0,o.Es)(I),[I]),q={onClick:e=>(0,o.lx)(e,{customHrefString:T,customHref:I,routerReplace:U,push:_,asPath:H,onClick:x,isExternal:g,replace:y,postfixHrefForAnalytics:v,idAnalytic:k}),href:T,as:h,ref:n,...j,...C};return u?(0,r.jsx)(i.r,{sx:{display:"inline-flex",alignItems:"center",...E,_hover:{...E._hover}},...q,children:f}):(0,r.jsx)(i.r,{variant:s,...q,children:f})});u.displayName="ActiveLink"},92742:function(e,n,t){t.d(n,{O:function(){return r.O},Z:function(){return r.O}});var r=t(25013)},26739:function(e,n,t){t.d(n,{Bm:function(){return isExternalLink},Es:function(){return hrefToString},K2:function(){return isValidURL},WD:function(){return addUtmToExterntalLink},Wi:function(){return getStyles},lx:function(){return customLinkOnClick},tY:function(){return delSlugFromQuery},wS:function(){return getHref}});var r=t(63282),a=t(78949),i=t(11340),l=t(15695),c=t(45077);let delSlugFromQuery=e=>{let{slug:n,...t}=e;return t},isExternalLink=e=>e.includes("http"),isValidURL=e=>{try{return new URL(e),!0}catch(e){return!1}},correctHref=e=>(0,c.H)(e.includes("http")||(null==e?void 0:e[0])==="/"||e.includes(":")||e.includes(".")?e:"/".concat(e)),queryToString=e=>{let n=Object.keys(e);return null==n?void 0:n.reduce((n,t,r)=>0===r?"".concat(t,"=").concat(e[t]):"".concat(n,"&").concat(t,"=").concat(e[t]),"")},hrefToString=e=>{if("string"==typeof e)return e;let n=Object.keys(null==e?void 0:e.query),t=n.length?"?"+queryToString(null==e?void 0:e.query):"",r=(null==e?void 0:e.hash)?"#"+e.hash:"";return"".concat(e.pathname).concat(t).concat(r)},addUtmToExterntalLink=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=(0,a.PB)(n),r=new URL(e),i=Object.fromEntries(new URLSearchParams(r.
1search));return{pathname:r.origin+r.pathname,query:{...i,...t},hash:r.hash.slice(1)}},getHref=e=>{let{href:n,withCurrentPath:t,currentQuery:r,asPath:a,query:l}=e;if("string"==typeof n){let e=(0,c.H)(n);if(isExternalLink(e)&&isValidURL(e))return addUtmToExterntalLink(e,l);if(e.split("#")[1]||e.includes("?"))return e;let o={...l},u=Object.keys(r||{}).reduce((e,n)=>(o.hasOwnProperty(n)&&delete o[n],void 0===r[n])?e:{[n]:r[n],...e},{});return{pathname:t?(0,i.u)(a):correctHref(e)||"",query:t?{...delSlugFromQuery(o),...u}:{}}}return n||""},analitics=(e,n)=>{let{customHref:t,customHrefString:a}=e,{postfixHrefForAnalytics:i,idAnalytic:c}=n;(0,l.B)({action:l.yk.CLICK,label:"string"!=typeof t?null==t?void 0:t.pathname:a,category:l.pN.LINK,urlPostfix:i}),c&&(0,r.ZP)("reachGoal",c)},normalizeHref=e=>{if(!e)return"";try{let n=window.location.origin,t=new URL(e,n);return"".concat(t.pathname).concat(t.search).concat(t.hash)}catch(n){return e}},customLinkOnClick=(e,n)=>{let{customHrefString:t,routerReplace:r,push:a,customHref:i,asPath:l,onClick:c,isExternal:o,replace:u,postfixHrefForAnalytics:s,idAnalytic:f}=n;if(analitics({customHref:i,customHrefString:t},{postfixHrefForAnalytics:s,idAnalytic:f}),e.preventDefault(),c&&c(e),o){window.open(t,"_blank");return}normalizeHref(t)!==normalizeHref(l)&&(u?r(i):a(i))},getStyles=e=>{let{getActiveStyles:n,withCurrentPath:t,currentQuery:r,as:a,activeStyles:i,query:l,asPath:c,currentHref:o}=e;if(n)return n();if(t){let e=Object.keys(r||{}).every(e=>l.hasOwnProperty(e)&&(l[e]||"")===(r[e]||""));return e?i:{}}return c===o||c===a?i:{}}},27197:function(e,n,t){t.d(n,{X:function(){return Heading}});var r=t(85893),a=t(23100);t(67294);var i=t(72151),l=t(27455);let Heading=e=>{let n,{variant:t,children:c,accent:o=!1,defaultSpace:u,...s}=e,f=(0,i.vZ)(l.default.text.accent);return!0===u||"lg"===u?n={base:"space.32",sm:"space.40"}:"sm"===u&&(n={base:"space.20",sm:"space.40"}),(0,r.jsx)(a.xu,{as:t,textStyle:t,color:o&&f,mb:n,...s,children:c})};n.Z=Heading},35393:function(e,n,t){t.d(n,{Z:function(){return r.X}});var r=t(27197)},85994:function(e,n,t){t.r(n),t.d(n,{default:function(){return NavigationChipsSection}});var r=t(85893),a=t(36979),i=t(88911),l=t(204),c=t(92742),o=t(35393);let NavigationChipsSection=e=>{let{links:n,title:t,subTitle:u,isFirstSection:s}=e;if(n.length)return(0,r.jsxs)(a.W,{variant:"p-outside-md",display:"flex",gap:{base:"space.32",sm:"space.40"},flexDir:"column",pt:s&&"0",children:[t&&(0,r.jsx)(o.Z,{variant:"h2",textAlign:{base:"left",sm:"center"},children:t}),u&&(0,r.jsx)(i.x,{textAlign:"center",children:u}),(0,r.jsx)(l.k,{justifyContent:{base:"start",sm:"center"},gap:{base:"space.12",sm:"space.16"},flexWrap:{base:"nowrap",sm:"wrap"},overflowX:"auto",whiteSpace:"nowrap",p:"3px",children:n.map(e=>(0,r.jsx)(c.Z,{href:e.href,isExternal:e.isNewTab,variant:"chip",children:e.label},e.href))})]})}},45077:function(e,n,t){t.d(n,{H:function(){return normalizeInternalUrl},X:function(){return normalizeInternalLinksInHtml}});let r=["www.bspb.ru","bspb.ru"],normalizeInternalUrl=e=>{if(!e||!/^https?:\/\//i.test(e))return e;try{let n=new URL(e);if(!r.includes(n.host))return e;return"".concat(n.pathname).concat(n.search).concat(n.hash)||"/"}catch(n){return e}},normalizeInternalLinksInHtml=e=>null==e?void 0:e.replace(/href="(https?:\/\/[^\"]+)"/gi,(e,n)=>'href="'.concat(normalizeInternalUrl(n),'"'))},204:function(e,n,t){t.d(n,{k:function(){return l}});var r=t(35059),a=t(66384),i=t(85893),l=(0,r.G)(function(e,n){let{direction:t,align:r,justify:l,wrap:c,basis:o,grow:u,shrink:s,...f}=e;return(0,i.jsx)(a.m.div,{ref:n,__css:{display:"flex",flexDirection:t,alignItems:r,justifyContent:l,flexWrap:c,flexBasis:o,flexGrow:u,flexShrink:s},...f})});l.displayName="Flex"},88911:function(e,n,t){t.d(n,{x:function(){return s}});var r=t(35059),a=t(91639),i=t(33179),l=t(66384),c=t(25432),o=t(20888),u=t(85893),s=(0,r.G)(function(e,n){let t=(0,a.mq)("Text",e),{className:r,align:s,decoration:f,casing:d,...h}=(0,i.Lr)(e),p=(0,o.oA)({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});
1return(0,u.jsx)(l.m.p,{ref:n,className:(0,c.cx)("chakra-text",e.className),...p,...h,__css:t})});s.displayName="Text"},33838:function(e,n,t){t.d(n,{r:function(){return u}});var r=t(35059),a=t(91639),i=t(33179),l=t(66384),c=t(25432),o=t(85893),u=(0,r.G)(function(e,n){let t=(0,a.mq)("Link",e),{className:r,isExternal:u,...s}=(0,i.Lr)(e);return(0,o.jsx)(l.m.a,{target:u?"_blank":void 0,rel:u?"noopener":void 0,ref:n,className:(0,c.cx)("chakra-link",r),...s,__css:t})});u.displayName="Link"}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.