(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"warnOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},18967,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={DecodeError:function(){return v},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return b},NormalizeError:function(){return _},PageNotFoundError:function(){return y},SP:function(){return m},ST:function(){return g},WEB_VITALS:function(){return a},execOnce:function(){return l},getDisplayName:function(){return d},getLocationOrigin:function(){return c},getURL:function(){return u},isAbsoluteUrl:function(){return s},isResSent:function(){return f},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return p},stringifyError:function(){return $}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function l(e){let t,n=!1;return(...r)=>(n||(n=!0,t=e(...r)),t)}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,s=e=>o.test(e);function c(){let{protocol:e,hostname:t,port:n}=window.location;return`${e}//${t}${n?":"+n:""}`}function u(){let{href:e}=window.location,t=c();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function f(e){return e.finished||e.headersSent}function p(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function h(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let r=await e.getInitialProps(t);if(n&&f(n))return r;if(!r)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${r}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return r}let m="u">typeof performance,g=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class v extends Error{}class _ extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class b extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function $(e){return JSON.stringify({message:e.message,stack:e.stack})}},98183,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={assign:function(){return s},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return o}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});function a(e){let t={};for(let[n,r]of e.entries()){let e=t[n];void 0===e?t[n]=r:Array.isArray(e)?e.push(r):t[n]=[e,r]}return t}function l(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))if(Array.isArray(r))for(let e of r)t.append(n,l(e));else t.set(n,l(r));return t}function s(e,...t){for(let n of t){for(let t of n.keys())e.delete(t);for(let[t,r]of n.entries())e.append(t,r)}return e}},52543,e=>{"use strict";var t=e.i(83849);e.s(["Card",()=>t.h])},85900,e=>{"use strict";let t=/#/g,n=/&/g,r=/\//g,i=/=/g,a=/\+/g,l=/%5e/gi,o=/%60/gi,s=/%7c/gi,c=/%20/gi;function u(e){return encodeURI(""+("string"==typeof e?e:JSON.stringify(e))).replace(s,"|").replace(a,"%2B").replace(c,"+").replace(t,"%23").replace(n,"%26").replace(o,"`").replace(l,"^").replace(r,"%2F")}function d(e){return u(e).replace(i,"%3D")}function f(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}let p=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,h=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,m=/^([/\\]\s*){2,}[^/\\]/,g=/\/$|\/\?|\/#/,v=/^\.?\//;function _(e,t={}){return("boolean"==typeof t&&(t={acceptRelative:t}),t.strict)?p.test(e):h.test(e)||!!t.acceptRelative&&m.test(e)}function y(e,...t){let n=e||"";for(let e of t.filter(e=>e&&"/"!==e))if(n){let t=e.replace(v,"");n=function(e=""){return e.endsWith("/")?e:e+"/"}(n)+t}else n=e;return n}let b=Symbol.for("ufo:protocolRelative");function w(e=""){let[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}e.s(["joinURL",0,y,"withBase",0,function(e,t){var n;if(!(n=t)||"/"===n||_(e))return e;let r=function(e=""){return(!function(e=""){return e.endsWith("/")}(e)?e:e.slice(0,-1))||"/"}(t);if(e.startsWith(r)){let t=e[r.length];if(!t||"/"===t||"?"===t)return e}return y(r,e)},"withQuery",0,function(e,t){var n;let r,i,l,o,s,c=function e(t="",n){let r=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(r){let[,e,t=""]=r;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:"",host:"",search:"",hash:""}}if(!_(t,{acceptRelative:!0}))return n?e(n+t):w(t);let[,i="",a,l=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,o="",s=""]=l.match(/([^#/?]*)(.*)?/)||[];"file:"===i&&(s=s.replace(/\/(?=[A-Za-z]:)/,""));let{pathname:c,search:u,hash:d}=w(s);return{protocol:i.toLowerCase(),auth:a?a.slice(0,Math.max(0,a.length-1)):"",host:o,pathname:c,search:u,hash:d,[b]:!i}}(e),p={...function(e=""){let t=Object.create(null);for(let n of("?"===e[0]&&(e=e.slice(1)),e.split("&"))){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let r=f(e[1].replace(a," "));if("__proto__"===r||"constructor"===r)continue;let i=f((e[2]||"").replace(a," "));void 0===t[r]?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}return t}(c.search),...t};return c.search=Object.keys(p).filter(e=>void 0!==p[e]).map(e=>{var t;return(("number"==typeof(t=p[e])||"boolean"==typeof t)&&(t=String(t)),t)?Array.isArray(t)?t.map(t=>`${d(e)}=${u(t)}`).join("&"):`${d(e)}=${u(t)}`:d(e)}).filter(Boolean).join("&"),r=(n=c).pathname||"",i=n.search?(n.search.startsWith("?")?"":"?")+n.search:"",l=n.hash||"",o=n.auth?n.auth+"@":"",s=n.host||"",(n.protocol||n[b]?(n.protocol||"")+"//":"")+o+s+r+i+l}])},2305,e=>{"use strict";function t(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r);else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}(e))&&(r&&(r+=" "),r+=t);return r}e.s(["clsx",0,t,"default",0,t])},51966,83849,19390,e=>{"use strict";var t=e.i(43476),n=e.i(2305),r=e.i(71645);let i=Object.freeze({xs:Object.freeze({maxWidth:599}),s:Object.freeze({minWidth:600,maxWidth:767}),m:Object.freeze({minWidth:768,maxWidth:1023}),l:Object.freeze({minWidth:1024,maxWidth:1279}),xl:Object.freeze({minWidth:1280,maxWidth:1439}),"2xl":Object.freeze({minWidth:1440,maxWidth:1919}),"3xl":Object.freeze({minWidth:1920})}),a=Object.freeze(Object.keys(i)),l=Object.freeze(a.filter(e=>"xs"!==e)),o=Object.freeze(a.filter(e=>"3xl"!==e));function s(e){return`finkit-${e}`}function c(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("defs",null,r.createElement("clipPath",{id:"a"},r.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),r.createElement("g",{clipPath:"url(#a)"},r.createElement("path",{d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm1.5 0a8.5 8.5 0 1 1 17 0 8.5 8.5 0 0 1-17 0Zm12.28-1.72-4.25 4.25a.722.722 0 0 1-.53.22.722.722 0 0 1-.53-.22l-2.25-2.25a.743.743 0 0 1 0-1.06.743.743 0 0 1 1.06 0L11 12.94l3.72-3.72a.743.743 0 0 1 1.06 0 .743.743 0 0 1 0 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})))}function u(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M12.617 2.035a4.736 4.736 0 0 0-1.232 0c-1.28.167-2.263 1.01-3.216 2.25-.944 1.231-1.97 3.005-3.284 5.28l-.06.105c-1.316 2.277-2.342 4.053-2.937 5.487-.6 1.447-.838 2.72-.344 3.912.159.382.366.74.617 1.069.785 1.024 2.007 1.454 3.56 1.659 1.539.202 3.59.202 6.22.202h.12c2.63 0 4.681 0 6.22-.202 1.553-.204 2.775-.635 3.56-1.66a4.75 4.75 0 0 0 .617-1.068c.494-1.192.256-2.465-.344-3.912-.595-1.434-1.621-3.21-2.937-5.487l-.06-.105c-1.315-2.275-2.34-4.049-3.285-5.28-.952-1.24-1.935-2.083-3.215-2.25ZM11.58 3.522a3.23 3.23 0 0 1 .844 0c.678.089 1.343.535 2.22 1.677.877 1.143 1.854 2.83 3.205 5.169 1.352 2.34 2.328 4.031 2.88 5.364.552 1.331.606 2.13.344 2.762-.108.261-.25.507-.422.731-.415.543-1.135.897-2.564 1.085-1.43.188-3.382.189-6.085.189s-4.655-.001-6.085-.19c-1.43-.187-2.149-.54-2.564-1.084a3.249 3.249 0 0 1-.422-.73c-.262-.632-.208-1.432.344-2.763.552-1.333 1.528-3.023 2.88-5.364 1.351-2.338 2.328-4.026 3.205-5.17.877-1.141 1.543-1.587 2.22-1.676Zm1.173 5.227a.75.75 0 0 0-1.5 0v5.5a.75.75 0 1 0 1.5 0v-5.5Zm-1.75 8.253a1 1 0 1 1 2-.005 1 1 0 0 1-2 .005Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}let d=({children:e,className:r,style:i,...a})=>(0,t.jsx)("span",{className:(0,n.default)(r,"private-icon"),style:i,...a,children:e});d.displayName="PrivateIcon";let f={display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden"},p=s("caption"),h=Object.freeze({caption:p,captionWithIcon:`${p}--with-icon`,content:`${p}__content`,icon:`${p}__icon`,text:`${p}__text`,size:{s:`${p}--s`,m:`${p}--m`},states:{success:`${p}--success`,error:`${p}--error`,warning:`${p}--warning`}});function m({as:e,children:r,state:i="default",size:a="m",text:l,withoutIcon:o=!1,lineClamp:s,role:p,dataQa:g,dataId:v,className:_,style:y,...b}){let w=l||r,$=!o&&["success","error","warning"].includes(i),x="success"===i?c:u,j=(0,n.default)(_,h.caption,h.size[a],{[h.captionWithIcon]:$,[h.states.success]:"success"===i,[h.states.error]:"error"===i,[h.states.warning]:"warning"===i});return(0,t.jsx)(e||"div",{className:j,style:y,role:p,...b,"data-id":v,"data-qa":g,children:(0,t.jsxs)("div",{className:h.content,children:[$&&w&&(0,t.jsx)(d,{className:h.icon,children:(0,t.jsx)(x,{})}),(0,t.jsx)("span",{className:(0,n.default)(h.text),style:{...s?{WebkitLineClamp:s,lineClamp:s,...f}:void 0},children:w})]})})}m.displayName="Caption";let g=s("card"),v={card:g,variants:{primary:`${g}--primary`,secondary:`${g}--secondary`}},_=({as:e,className:r,style:i,children:a,variant:l="primary",dataQa:o,dataId:s,...c})=>(0,t.jsx)(e||"div",{className:(0,n.default)(r,v.card,v.variants[l]),style:i,...c,"data-id":s,"data-qa":o,children:a});_.displayName="Card";let y=s("col"),b=Object.freeze({col:y,state:{size:(e,t)=>!0===t?`${y}--${e}`:`${y}--${e}-${t}`,offsetLeft:(e,t)=>`${y}--${e}-offset-left-${t}`,offsetRight:(e,t)=>`${y}--${e}-offset-right-${t}`}}),w=({as:e,className:r="",size:i={},offsetLeft:a={},offsetRight:l={},children:o,...s})=>{let c=Object.entries(i).reduce((e,[t,n])=>[...e,b.state.size(t,n)],[]).join(" "),u=Object.entries(a).reduce((e,[t,n])=>[...e,b.state.offsetLeft(t,n)],[]).join(" "),d=Object.entries(l).reduce((e,[t,n])=>[...e,b.state.offsetRight(t,n)],[]).join(" ");return(0,t.jsx)(e||"div",{className:(0,n.default)(b.col,r,c,u,d),...s,children:o})};w.displayName="Col";let $=s("container"),x=Object.freeze({container:$,states:{narrow:`${$}--narrow`}}),j=({children:e,as:r,fluid:i=!1,className:a="",...l})=>(0,t.jsx)(r||"div",{className:(0,n.default)(x.container,a,{[x.states.narrow]:!i}),...l,children:e});j.displayName="Container";let k=s("divider"),N=Object.freeze({divider:k,content:`${k}__content`}),O=({content:e,className:r,style:i,dataQa:a,dataId:l,...o})=>(0,t.jsx)("div",{className:(0,n.default)(N.divider,r),style:i,...o,"data-id":l,"data-qa":a,children:e&&(0,t.jsx)("div",{className:N.content,children:e})});O.displayName="Divider";let C=s("form-field"),E=Object.freeze({formField:C,labelWrapper:`${C}__label-wrapper`,label:`${C}__label`,description:`${C}__description`}),z=({label:e,description:r,caption:i,captionState:a,children:l,hasCaption:o,className:s,style:c,dataQa:u,dataId:d,...f})=>(0,t.jsxs)("div",{className:(0,n.default)(E.formField,s),style:c,...f,"data-id":d,"data-qa":u,children:[(e||r)&&(0,t.jsxs)("div",{className:E.labelWrapper,children:[(0,t.jsx)("span",{className:E.label,children:e}),(0,t.jsx)("span",{className:E.description,children:r})]}),l,(o||i)&&(0,t.jsx)(m,{text:i,state:a})]});z.displayName="FormField";let P={display:"h1",hero:"h1",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6"},A=s("heading"),I=Object.freeze({heading:A,states:Object.freeze({display:`${A}--display`,hero:`${A}--hero`,h1:`${A}--h1`,h2:`${A}--h2`,h3:`${A}--h3`,h4:`${A}--h4`,h5:`${A}--h5`,h6:`${A}--h6`})}),L=({as:e,children:r,weight:i,type:a,lineClamp:l,className:o,style:s,dataQa:c,dataId:u,...d})=>{var p;let h=e||P[a]||"div",m=/^h[1-6]$/.test(h),g=(null==(p=a.match(/\d+/))?void 0:p[0])||1;return(0,t.jsx)(h,{className:(0,n.default)(I.heading,I.states[a],o),style:{...i?{fontWeight:`var(--font-weight-${i})`}:void 0,...l?{WebkitLineClamp:l,lineClamp:l,...f}:void 0,...s},role:m?null:"heading","aria-level":m?null:g,...d,"data-id":u,"data-qa":c,children:r})};L.displayName="Heading";let S=s("loader"),R=Object.freeze({loader:S,variant:{primary:`${S}--primary`,purple:`${S}--purple`,accent:`${S}--accent`,white:`${S}--white`},size:{s:`${S}--s`,m:`${S}--m`,l:`${S}--l`}}),T=({variant:e="primary",size:r="m",style:i,className:a,role:l="status",dataQa:o,dataId:s,...c})=>(0,t.jsx)("div",{className:(0,n.default)(R.loader,R.size[r],R.variant[e],a),style:i,role:l,"aria-label":"Загрузка",...c,"data-id":s,"data-qa":o});T.displayName="Loader";let W=s("progress-bar"),B=Object.freeze({progressBar:W,rounded:`${W}-rounded`,indicator:`${W}__indicator`,text:`${W}__text`,animationCircle:`${W}__animation-circle`}),M={default:"var(--color-black-500)",error:"var(--color-red-500)",warning:"var(--color-orange-500)",success:"var(--color-green-600)",purple:"var(--color-purple-600)",blue:"var(--color-blue-500)",pink:"var(--color-pink-400)"};function F(e){return Math.max(Math.min(e,100),0)}let U=({value:e=0,variant:n="default",noBackground:r=!1})=>{let i;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("svg",{width:"60",height:"60",viewBox:"0 0 60 60",version:"1.1",xmlns:"http://www.w3.org/2000/svg",style:{transform:"rotate(-85deg)"},children:[!r&&(0,t.jsx)("circle",{r:"27.5",cx:"30",cy:"30",fill:"transparent",stroke:"var(--color-gray-400)",strokeWidth:"5"}),(0,t.jsx)("circle",{r:"27.5",cx:"30",cy:"30",stroke:M[n],strokeWidth:"5",strokeLinecap:"round",strokeDashoffset:(i=F(e))<=3?"173.9999px":100===i?"0px":i>=97?"8.22px":`${177-1.74*i}px`,fill:"transparent",strokeDasharray:"174px",className:B.animationCircle})]}),(0,t.jsxs)("span",{className:B.text,children:[F(e),"%"]})]})};U.displayName="ProgressBarCircle";let D=({value:e=0,variant:r="default",rounded:i=!1,noBackground:a=!1,className:l,style:o,dataQa:s,dataId:c,...u})=>(0,t.jsx)("div",{className:(0,n.default)({[B.progressBar]:!i,[B.rounded]:i},l),role:"progressbar","aria-valuemin":0,"aria-valuenow":e,"aria-valuemax":100,style:o,...u,"data-id":c,"data-qa":s,children:i?(0,t.jsx)(U,{noBackground:a,value:e,variant:r}):(0,t.jsx)("div",{className:(0,n.default)(B.indicator),style:{width:`${F(e)}%`,backgroundColor:M[r],boxSizing:"content-box"}})});D.displayName="ProgressBar";let q=s("row"),Q=(e,t,n)=>`${q}--gutter-${e}-${t}-${n}`,Z=Object.freeze({row:q,state:{reverse:`${q}--reverse`,gutter:(e,t="xs")=>Array.isArray(e)?[Q(t,e[0],"h"),Q(t,e[1],"v")].join(" "):Q(t,e,"h")}});function G({as:e,className:r="",reverse:i=!1,gutters:a={},children:l,...o}){let s=Object.entries(a).map(([e,t])=>Z.state.gutter(t,e)).join(" ");return(0,t.jsx)(e||"div",{...o,className:(0,n.default)(Z.row,r,s,{[Z.state.reverse]:i}),children:l})}G.displayName="Row";let H=s("skeleton"),V=Object.freeze({skeleton:H,states:{inline:`${H}--inline`,rounded:`${H}--rounded`,inverted:`${H}--inverted`,suspend:`${H}--suspend`}});function J({as:e,className:r="",width:i,height:a,inline:l=!1,rounded:o=!1,inverted:s=!1,suspend:c=!1,children:u,style:d,...f}){let p={...i&&{width:`${i}px`},...a&&{height:`${a}px`},...d};return(0,t.jsx)(e||"div",{className:(0,n.default)(V.skeleton,r,{[V.states.inline]:l,[V.states.rounded]:o,[V.states.inverted]:s,[V.states.suspend]:c}),style:p,"aria-hidden":"true",...f,children:u})}J.displayName="Skeleton";let K=Object.freeze({text:s("text")});function X({as:e,className:r,style:i,children:a,size:l,weight:o,fontFamily:s,lineClamp:c,dataQa:u,dataId:d,...p}){return(0,t.jsx)(e||"span",{className:(0,n.default)(K.text,r),style:{...l&&{fontSize:`var(--font-size-${l})`,lineHeight:`var(--font-line-height-${l})`},...o&&{fontWeight:`var(--font-weight-${o})`},...c&&{WebkitLineClamp:c,lineClamp:c,...f},...s&&{fontFamily:`var(--font-family-${s})`},...i},...p,"data-id":d,"data-qa":u,children:a})}X.displayName="Text",e.s(["B",0,i,"C",0,m,"D",0,O,"F",0,z,"H",0,L,"L",0,T,"P",0,d,"R",0,G,"S",0,u,"T",0,X,"a",0,a,"b",0,(e,t=!0)=>t?e:void 0,"c",0,c,"d",0,e=>null==e,"e",0,l,"f",0,o,"g",0,s,"h",0,_,"i",0,function(e){return"u">typeof e},"j",0,w,"k",0,j,"l",0,D,"m",0,J,"p",0,(e,t,n,r)=>{let i=[t,n,r];return i[e%100>4&&e%100<20?2:[2,0,1,1,1,2][e%10<5?e%10:5]]||i[0]}],83849),e.s([],51966),e.s(["Container",0,j],19390)},58282,e=>{"use strict";function t(){return typeof window>"u"}e.s(["initTagManager",0,function(){t()?console.warn("Cant initialize tag manager on server side"):("function"!=typeof window._init_gtm?console.warn("Cant init GTM, please check if GTM script exists"):window._init_gtm(),"function"!=typeof window._init_mtm?console.warn("Cant init MTM, please check if MTM script exists"):window._init_mtm())},"pushEvent",0,function(e){t()||(Array.isArray(window.dataLayer)?window.dataLayer.push(e):console.log("window.dataLayer does not exist"),Array.isArray(window._mtm)?window._mtm.push(e):console.log("window._mtm does not exist"))}])},8438,e=>{"use strict";var t=e.i(71645),n=e.i(58282);let r=null;e.s(["L",0,({env:e})=>{let i=(0,t.useRef)(!1);return i.current||(r=e,i.current=!0),(0,t.useEffect)(()=>{"production"===e.NODE_ENV&&(0,n.initTagManager)()},[e.NODE_ENV]),null},"g",0,()=>r])},22468,e=>{"use strict";e.s(["g",0,function(e,t){return`finkit-widgets-${t}-${e}`}])},56239,e=>{"use strict";let t={а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"y",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"h",ц:"c",ч:"ch",ш:"sh",щ:"sch",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya"};e.s(["t",0,e=>e.replace(/[а-яё]/gi,e=>{let n=e.toLowerCase();return n in t?t[n]:e}).replaceAll(/[ \u00A0]/g,"_")])},28133,93247,e=>{"use strict";let t;var n=e.i(56239),r=e.i(58282);let i=(e,t)=>{if(typeof window>"u")return;let n=sessionStorage.getItem("pushedEvents"),i=n?JSON.parse(n):[];e.event||(e.event="data-event"),"string"==typeof e.eventAction&&(e.eventAction=e.eventAction.toLowerCase().replaceAll(" ","_")),"string"==typeof e.eventLabel&&(e.eventLabel=e.eventLabel.toLowerCase().replaceAll(" ","_")),e.eventLabel||(e.eventLabel="undefined");let a=i.find(n=>n.eventCategory===e.eventCategory&&n.eventAction===e.eventAction&&n.eventLabel===e.eventLabel&&("all"===t||"url"===t&&window.location.pathname===n.url));if(!t||!a){if(t){let t={...e};t.url=window.location.pathname,i.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(i))}(0,r.pushEvent)(e)}};e.s(["d",0,i],93247);var a=((t=a||{}).icon="icon",t.chip="chip",t.accordion="accordion",t.button="button",t.checkbox="checkbox",t.radio="radio",t.select="select",t.toggle="toggle",t.tooltip="tooltip",t.link="link",t.banner="banner",t.tag="tag",t.date="date",t.field="field",t.offer="offer",t.tab="tab",t.submitButton="submitButton",t.popup="popup",t.block="block",t);let l={icon:"click_icon_",chip:"click_chip_",accordion:"show_acc_",button:"click_button_",checkbox:"click_check_",radio:"click_radio_",select:"click_sel_",toggle:"click_togg_",tooltip:"click_tip_",link:"click_link_",banner:"click_bnr_",tag:"click_tag_",date:"input_date_",field:"input_field_",offer:"click_offer_",tab:"click_tab_",submitButton:"form_button_",popup:"show_pop_up_",block:"click_block_"};e.s(["D",0,a,"h",0,({eventCategory:e,eventActionType:t,eventActionText:r="",eventLabel:a})=>{let o={event:"data-event",eventCategory:e,eventAction:l[t]+(0,n.t)(r)};void 0!==a&&(o.eventLabel=(0,n.t)("string"==typeof a?a:a.toString())),i(o)}],28133)},61193,e=>{"use strict";var t=e.i(83849);e.s(["Text",()=>t.T])},1e4,22926,e=>{"use strict";var t=e.i(43476),n=e.i(71645),r=e.i(62965),i=e.i(2305),a=e.i(28133),l=e.i(22468);let o=(0,l.g)("header","sc"),s=Object.freeze({header:`${o}`,fixed:`${o}__fixed`,hidden:`${o}__fixed--hidden`,transparent:`${o}--transparent`,navigationOpen:`${o}__navigation-open`,container:`${o}__container`,leftRow:`${o}__left-row`,logo:`${o}__logo`,menuItems:`${o}__menu-items`,menuItemActive:`${o}__menu-item-active`,tabletMenuButton:`${o}__tablet-menu-button`,buttonGroup:`${o}__button-group`,chips:`${o}__chips`,menuButton:`${o}__menu-button`,moreButtons:`${o}__more-buttons`,auth:`${o}__auth`,whiteIcons:`${o}__white-icons`,close:`${o}__close`,removed:`${o}__removed`,overlay:`${o}__overlay`,overlayOpening:`${o}__overlay--opening`,overlayClosing:`${o}__overlay--closing`}),c="cb-header",u=[{id:"FINPRODUCTS",label:"Финпродукты"},{id:"NAVIGATOR",label:"Журнал"},{id:"ABOUT",label:"О маркетплейсе"}],d=u.reduce((e,t)=>(e[t.id]=t.label,e),{}),f=Object.freeze({mobile:56,desktop:80});e.s(["F",0,f,"H",0,c,"U",0,"user_region","a",0,"user_town","b",0,d,"c",0,u,"s",0,s],22926);let p=(e,t,n)=>{let r=new Date;r.setTime(r.getTime()+864e5*n);let i=encodeURIComponent(JSON.stringify(t)),a=`;domain=.${window.location.hostname}`;document.cookie=`${e}=${i};expires=${r.toUTCString()};path=/;SameSite=Lax${a}`},h=(e,t,n)=>(0,a.h)({eventCategory:c,eventActionType:e,eventActionText:t,eventLabel:n}),m=(0,l.g)("navigation-chips","sc"),g=Object.freeze({wrapper:`${m}__wrapper`,gray:`${m}__variantGray`,white:`${m}__variantWhite`,container:`${m}__container`,chip:`${m}__chip`,more:`${m}__chip--more`,active:`${m}__chip--active`,label:`${m}__label`,hidden:`${m}__hidden`}),v=(0,l.g)("navigation-content","sc"),_=Object.freeze({contentWrapper:`${v}__content-wrapper`,content:`${v}__content`,contentOpen:`${v}__content--open`,contentHeader:`${v}__content-header`,contentTitle:`${v}__content-title`,contentTitleUrl:`${v}__content-title--url`,contentTitleLink:`${v}__content-title--link`,contentTitleNew:`${v}__content-title--new`,new:`${v}__new`,vip:`${v}__vip`,arrowIcon:`${v}__arrow-icon`,links:`${v}__links`,linksColumns:`${v}__links--columns`,linksTitleless:`${v}__links--titleless`,removed:`${v}__removed`,hidden:`${v}__content--hidden`}),y=({chip:e,hidden:n,onClick:l,refCallback:o,activeChipId:s})=>{let c=!!l,u=()=>{if(c)return null==l?void 0:l(e.url);h(a.D.chip,e.title,`${e.title}_${e.url}`)},d=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:g.label,children:e.title}),e.arrow&&(0,t.jsx)(r.IconFdsArrowUpRightSmallO,{size:24})]}),f=(0,i.default)(g.chip,{[g.hidden]:n,[_.new]:!!e.new,[_.vip]:!!e.vip,[g.active]:e.url===s});return c?(0,t.jsx)("button",{type:"button",className:f,onClick:u,ref:o,children:d}):(0,t.jsx)("a",{href:e.url,className:f,onClick:u,ref:o,children:d})};e.s(["N",0,({items:e=[],maxNumberOfLines:l,variant:o,className:s,activeChipId:c,onClick:u})=>{let d=(0,n.useRef)(null),f=(0,n.useRef)(null),p=(0,n.useRef)({}),[m,v]=(0,n.useState)(!1),[_,b]=(0,n.useState)(e.length),[w,$]=(0,n.useState)(!1);(0,n.useMemo)(()=>{let t=p.current;e.forEach(e=>{e.url in t||(t[e.url]=null)}),Object.keys(t).forEach(n=>{e.find(e=>String(e.url)===String(n))||delete t[n]})},[e]);let x=(0,n.useCallback)(()=>{let t=d.current;if(!t)return;let n=e=>e?e.getBoundingClientRect().width:0,r=n(t),i=Math.max(Number(l)||0,0),a=()=>{b(e.length),$(!1)};if(m||0===i||r<=0)return void a();let o=(()=>{try{let e=getComputedStyle(t),n=parseFloat(e.columnGap||e.gap||"12");return Number.isNaN(n)?12:n}catch{return 12}})(),s=n(f.current),c=e.map(e=>n(p.current[e.url]));if(c.some(e=>0===e))return void a();let u=1,h=0,g=0;for(let e of c){let t=u===i?s+o:0,n=0===h?e:h+o+e;if(n+t<=r-.5)h=n,g++;else{if(++u>i)break;h=e,g++}}$(g<e.length),b(g)},[m,e,l]);(0,n.useLayoutEffect)(()=>{let e=d.current;if(!e)return;let t=new ResizeObserver(()=>{requestAnimationFrame(x)});return t.observe(e),requestAnimationFrame(x),()=>{t.disconnect()}},[x]),(0,n.useEffect)(()=>{requestAnimationFrame(x)},[x]);let j=m||(l??0)<=0||!w;return(0,t.jsx)("div",{className:(0,i.default)(s,g.wrapper,{[g.gray]:"gray"===o,[g.white]:"white"===o}),children:(0,t.jsxs)("div",{ref:d,className:g.container,children:[e.map((e,n)=>(0,t.jsx)(y,{chip:e,hidden:!j&&n>=_,activeChipId:c,onClick:u,refCallback:t=>{p.current[e.url]=t}},e.url)),!j&&w&&(0,t.jsxs)("button",{type:"button",ref:f,className:(0,i.default)(g.chip,g.more),onClick:()=>{h(a.D.chip,"Еще"),v(!0)},children:[(0,t.jsx)(r.IconFdsDotsVerticalO,{size:20}),(0,t.jsx)("span",{className:g.label,children:"Еще"})]}),(j||!w)&&(0,t.jsxs)("button",{type:"button",ref:f,className:(0,i.default)(g.chip,g.more,g.hidden),tabIndex:-1,"aria-hidden":"true",children:[(0,t.jsx)(r.IconFdsDotsVerticalO,{size:20}),(0,t.jsx)("span",{className:g.label,children:"Еще"})]})]})})},"a",0,_,"h",0,h,"i",0,()=>{setTimeout(()=>{if(!(typeof document>"u"||"string"!=typeof document.cookie))try{let e;(e=(()=>{let e=new URLSearchParams(window.location.search),t={};for(let[n,r]of Array.from(e.entries()))n.startsWith("utm_")&&(t[n]=r);return Object.keys(t).length>0?t:null})())&&!document.cookie.split(";").some(e=>e.trim().startsWith("utm_params="))&&p("utm_params",e,90),e&&p("utm_last",e,90)}catch(e){console.error("UTM tracking error:",e)}},0)},"s",0,(e,t,n)=>{if(typeof window>"u"||typeof document>"u")return;let r=document.getElementById("mainHomeBanner"),i=!1,a=0,l=0,o=window.innerWidth<768,s=()=>window.scrollY||document.documentElement.scrollTop,c=()=>{let e=window.innerWidth<768;e!==o&&(o=e,l=0)},u=function(){let o,c=s(),u=document.getElementById("headerNotice"),d=null==u?void 0:u.getAttribute("data-opening");if("true"===d)return;l||(o=document.querySelector(":root"))&&(l=parseFloat(window.getComputedStyle(o).getPropertyValue("--fixed-header-height")),a=s());let f=c<l,p=c<((null==r?void 0:r.clientHeight)||0);if(n&&p||f){i=!1,e(!1),t(!0);return}e(i=c>a),i&&setTimeout(()=>t(!1),50);let h=i?"0px":"false"===d?`${l}px`:"";document.documentElement.style.setProperty("--new-header-height-desktop",h),document.documentElement.style.setProperty("--new-header-height-mobile",h),a=c<=0?0:c};return window.addEventListener("scroll",u),window.addEventListener("resize",c),()=>{window.removeEventListener("scroll",u),window.removeEventListener("resize",c)}}],1e4)},67585,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"BailoutToCSR",{enumerable:!0,get:function(){return i}});let r=e.r(32061);function i({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new r.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},9885,(e,t,n)=>{"use strict";function r(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"encodeURIPath",{enumerable:!0,get:function(){return r}})},52157,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"PreloadChunks",{enumerable:!0,get:function(){return s}});let r=e.r(43476),i=e.r(74080),a=e.r(63599),l=e.r(9885),o=e.r(43369);function s({moduleIds:e}){if("u">typeof window)return null;let t=a.workAsyncStorage.getStore();if(void 0===t)return null;let n=[];if(t.reactLoadableManifest&&e){let r=t.reactLoadableManifest;for(let t of e){if(!r[t])continue;let e=r[t].files;n.push(...e)}}if(0===n.length)return null;let c=(0,o.getAssetTokenQuery)();return(0,r.jsx)(r.Fragment,{children:n.map(e=>{let n=`${t.assetPrefix}/_next/${(0,l.encodeURIPath)(e)}${c}`;return e.endsWith(".css")?(0,r.jsx)("link",{precedence:"dynamic",href:n,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,i.preload)(n,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},69093,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return c}});let r=e.r(43476),i=e.r(71645),a=e.r(67585),l=e.r(52157);function o(e){return{default:e&&"default"in e?e.default:e}}let s={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},c=function(e){let t={...s,...e},n=(0,i.lazy)(()=>t.loader().then(o)),c=t.loading;function u(e){let o=c?(0,r.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,s=!t.ssr||!!t.loading,u=s?i.Suspense:i.Fragment,d=t.ssr?(0,r.jsxs)(r.Fragment,{children:["u"<typeof window?(0,r.jsx)(l.PreloadChunks,{moduleIds:t.modules}):null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(a.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(u,{...s?{fallback:o}:{},children:d})}return u.displayName="LoadableComponent",u}},70703,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"default",{enumerable:!0,get:function(){return i}});let r=e.r(55682)._(e.r(69093));function i(e,t){let n={};"function"==typeof e&&(n.loader=e);let i={...n,...t};return(0,r.default)({...i,modules:i.loadableGenerated?.modules})}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},24359,e=>{"use strict";let t={getItem:e=>{if(typeof document>"u")return null;let t=document.cookie.split(";").find(t=>t.split("=")[0].trim()===e);return t?t.split("=")[1]??null:null},setItem:(e,t,n={})=>{if(typeof document>"u")return;(n={path:"/",...n}).expires instanceof Date&&(n.expires=n.expires.toUTCString());let r=`${encodeURIComponent(e)}=${encodeURIComponent(t)}`;for(let e in n){if(!n.hasOwnProperty(e))continue;r+=`; ${e}`;let t=n[e];!0!==t&&(r+=`=${t}`)}document.cookie=r},removeItem:e=>{t.setItem(e,"",{"max-age":-1})}};e.s(["a",0,t])},56322,e=>{e.v(t=>Promise.all(["static/chunks/0jhdbl7de.y5i.js"].map(t=>e.l(t))).then(()=>t(32200)))}]);

//# sourceMappingURL=12jse521yo-s~.js.map