(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[570],{8102:function(t,e,n){"use strict";n.d(e,{Z:function(){return k}});var r=n(2228),a=n(2322),o=n(1361),i=n(2784),s=n(2277);var c=(0,s.zo)("span",{dflex:"center",position:"relative",zIndex:"$1",boxSizing:"border-box",overflow:"hidden",verticalAlign:"top",cursor:"auto",transition:"$default","&:first-child":{margin:0},"&:hover .nextui-avatar-bg":{boxShadow:" inset 0 0 40px 0 rgb(0 0 0 / 14%)"},".nextui-avatar-img":{opacity:0,zIndex:"$3",display:"flex",bg:"$background",transition:"transform 250ms ease 0ms, opacity 200ms ease-in 0ms",width:"100%",height:"100%",objectFit:"cover"},'&[data-state="ready"] .nextui-avatar-img':{opacity:1},".nextui-avatar-bg":{position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:"$2",transition:"$default",size:"100%"},".nextui-avatar-icon":{display:"flex",position:"absolute",left:"50%",top:"50%",ta:"center",zIndex:"$2",transform:"translate(-50%, -50%)",whiteSpace:"nowrap",us:"none"},".nextui-avatar-text":{position:"absolute",zIndex:"$2",left:"50%",top:"50%",ta:"center",transform:"translate(-50%, -50%) scale(0.65)",whiteSpace:"nowrap",us:"none"},"@motion":{transition:"none",".nextui-avatar-bg, .nextui-avatar-img":{transition:"none"}},variants:{color:{default:{".nextui-avatar-bg":{bg:"$accents2"}},primary:{".nextui-avatar-bg":{bg:"$primary"},".nextui-avatar-text":{color:"$background"}},secondary:{".nextui-avatar-bg":{bg:"$secondary"},".nextui-avatar-text":{color:"$background"}},success:{".nextui-avatar-bg":{bg:"$success"},".nextui-avatar-text":{color:"$background"}},warning:{".nextui-avatar-bg":{bg:"$warning"},".nextui-avatar-text":{color:"$background"}},error:{".nextui-avatar-bg":{bg:"$error"},".nextui-avatar-text":{color:"$background"}},gradient:{".nextui-avatar-bg":{bg:"$gradient"},".nextui-avatar-text":{color:"$background"}}},textColor:{default:{".nextui-avatar-text":{color:"$text"}},primary:{".nextui-avatar-text":{color:"$primary"}},secondary:{".nextui-avatar-text":{color:"$secondary"}},success:{".nextui-avatar-text":{color:"$success"}},warning:{".nextui-avatar-text":{color:"$warning"}},error:{".nextui-avatar-text":{color:"$error"}}},size:{xs:{$$avatarXs:"$space$9",sizeMin:"$$avatarXs",".nextui-avatar-text":{fontSize:"$xs"}},sm:{$$avatarSm:"$space$11",sizeMin:"$$avatarSm",".nextui-avatar-text":{fontSize:"$base"}},md:{$$avatarMd:"$space$14",sizeMin:"$$avatarMd",".nextui-avatar-text":{fontSize:"$sm"}},lg:{$$avatarLg:"$space$16",sizeMin:"$$avatarLg",".nextui-avatar-text":{fontSize:"$sm"}},xl:{$$avatarXl:"$space$18",sizeMin:"$$avatarXl",".nextui-avatar-text":{fontSize:"$md"}}},borderWeight:{light:{".nextui-avatar-img":{borderWidth:"$light"}},normal:{".nextui-avatar-img":{borderWidth:"$normal"}},bold:{".nextui-avatar-img":{borderWidth:"$normal"}},extrabold:{".nextui-avatar-img":{borderWidth:"$normal"}},black:{".nextui-avatar-img":{borderWidth:"$normal"}}},bordered:{true:{"&:hover:not(.only-text-avatar) .nextui-avatar-bg":{opacity:"0.6"},".nextui-avatar-img":{borderStyle:"solid",borderColor:"$background"}}},stacked:{true:{ml:"-$5"}},pointer:{true:{cursor:"pointer"}},rounded:{true:{borderRadius:"$rounded",".nextui-avatar-img":{borderRadius:"$rounded"}}},squared:{true:{borderRadius:"$squared",".nextui-avatar-img":{borderRadius:"$squared"}}},zoomed:{true:{"&:hover .nextui-avatar-img":{transform:"scale(1.125)"}}}},compoundVariants:[{bordered:!0,borderWeight:"light",css:{padding:"calc($1/2)"}},{bordered:!0,borderWeight:"normal",css:{padding:"$1"}},{bordered:!0,borderWeight:"bold",css:{padding:"calc($2/1.5)"}},{bordered:!0,borderWeight:"extrabold",css:{padding:"$2"}},{bordered:!0,borderWeight:"black",css:{padding:"calc($3/1.5)"}},{rounded:!0,squared:!0,css:{borderRadius:"$squared",".nextui-avatar-img":{borderRadius:"$squared"}}}],defaultVariants:{size:"md",rounded:!0,color:"default",textColor:"default",borderWeight:"normal"}}),u=n(9202);const l=t=>(null==t?void 0:t.length)<=4?t:null==t?void 0:t.slice(0,3),d=({src:t,text:e,icon:n,alt:r,className:o,...s})=>{const d=!t,[f,x]=(0,i.useState)(!1),m=(0,i.useRef)(null);(0,i.useEffect)((()=>{var t;(null==m||null==(t=m.current)?void 0:t.complete)&&x(!0)}),[]);const h=(0,i.useMemo)((()=>!f&&t?"loading":"ready"),[t,f]);return(0,a.jsxs)(c,{className:(0,u.Z)({"only-text-avatar":d},o),"data-state":h,...s,children:[(0,a.jsx)("span",{className:"nextui-avatar-bg"}),!d&&(0,a.jsx)("img",{ref:m,className:(0,u.Z)("nextui-avatar-img",`nextui-avatar--${h}`,{"nextui-avatar-ready":f}),src:t,alt:r,"data-state":h,onLoad:()=>x(!0)}),d&&!n&&e&&(0,a.jsx)("span",{className:"nextui-avatar-text",children:l(e)}),n&&(0,a.jsx)("span",{className:"nextui-avatar-icon",children:n})]})};d.toString=()=>".nextui-avatar";var f=d;const x=(0,s.zo)("span",{fontSize:"$xs",display:"inline-flex",alignItems:"center",marginLeft:"$3",color:"$text"});var m=(0,s.zo)("div",{dflex:"center",height:"auto",width:"max-content","@motion":{transition:"none"},[`& ${c}`]:{marginLeft:"-$space$5",transition:"$default",".only-text-avatar":{boxShadow:"$xs"}},".only-text-avatar":{boxShadow:"$xs"},variants:{animated:{true:{[`& ${c}:hover`]:{transform:"translate(-$space$5)"}}}},defaultVariants:{animated:!0}});const h=({count:t,children:e,...n})=>(0,a.jsxs)(m,{...n,children:[e,t&&(0,a.jsxs)(x,{className:"nextui-avatar-group-count",children:["+",t]})]});h.toString=()=>".nextui-avatar-group";var g=h;f.Group=g;var v=f,b=n(2991),$=n(2890),p=n(3215),y=n(9172);function j(){var t=(0,r.Z)(["\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n"]);return j=function(){return t},t}function w(){var t=(0,r.Z)(["\n display: flex;\n align-items: center;\n"]);return w=function(){return t},t}function Z(){var t=(0,r.Z)(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n margin-left: 0.875rem;\n\n & > * {\n margin: 0;\n font-size: 1rem;\n line-height: 1.5rem;\n }\n"]);return Z=function(){return t},t}function S(){var t=(0,r.Z)(["\n font-weight: normal;\n"]);return S=function(){return t},t}function z(){var t=(0,r.Z)(["\n width: 32px;\n flex-shrink: 0;\n"]);return z=function(){return t},t}var k=function(t){var e=t.marginBottom,n=void 0===e?"3.5rem":e,r=t.hasKbarButton,o=void 0!==r&&r;return(0,a.jsxs)(I,{style:{marginBottom:n},children:[(0,a.jsxs)(W,{children:[(0,a.jsx)(v,{src:p.CC.Z.src,alt:p.C$,text:p.C$,size:"xl"}),(0,a.jsxs)(C,{children:[(0,a.jsxs)(M,{children:["\u041f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0431\u043b\u043e\u0433"," ",(0,a.jsx)(b.ZP,{href:p.bB,target:"_blank",rel:"noreferrer",color:"primary",children:p.C$}),"."]}),(0,a.jsx)("p",{children:y.tJ})]})]}),o&&(0,a.jsx)(R,{children:(0,a.jsx)($.DS,{})})]})},I=o.Z.section(j()),W=o.Z.div(w()),C=o.Z.div(Z()),M=o.Z.h2(S()),R=o.Z.div(z())},5550:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var r=n(2322),a=n(9097),o=n.n(a),i=n(2991);var s=function(t){var e=t.date,n=t.category;return(0,r.jsxs)(r.Fragment,{children:[e,n&&(0,r.jsxs)(r.Fragment,{children:[" ","\u0432 \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438"," ",(0,r.jsx)(o(),{href:"/category/".concat(n),passHref:!0,children:(0,r.jsx)(i.ZP,{color:"primary",children:n})})," "]})]})}},3213:function(t,e,n){"use strict";n.d(e,{c:function(){return z},m:function(){return E}});var r=n(2228),a=n(2322),o=n(9097),i=n.n(o),s=n(1361),c=n(3538),u=n(2784),l=n(6986),d=n(579),f=n(2277);const x=(0,f.zo)("p",{variants:{weight:{hairline:{fontWeight:"$hairline"},thin:{fontWeight:"$thin"},light:{fontWeight:"$light"},normal:{fontWeight:"$normal"},medium:{fontWeight:"$medium"},semibold:{fontWeight:"$semibold"},bold:{fontWeight:"$bold"},extrabold:{fontWeight:"$extrabold"},black:{fontWeight:"$black"}}}}),m=({children:t,tag:e,color:n,transform:r,margin:o,size:i,css:s,...c})=>{const l=(0,u.useMemo)((()=>(0,d.h1)(n)?"default"===n?"$text":`$${n}`:n),[n]),f=(0,u.useMemo)((()=>i?"number"==typeof i?`${i}px`:i:"inherit"),[i]),m=(0,u.useMemo)((()=>o?"number"==typeof o?`${i}px`:o:"inherit"),[o]);return(0,a.jsx)(x,{as:e,css:{color:l,fontSize:i?f:"",margin:m,tt:r,...s},...c,children:t})};m.toString=()=>".nextui-text-child";const h=u.memo(m);var g=(0,l.Z)(h,{color:"default"});const v=(t,e,n,r)=>{if(!t.length)return e;const o=t.slice(1,t.length);return(0,a.jsx)(g,{tag:t[0],size:n,transform:r,children:v(o,e,n)})},b=({h1:t,h2:e,h3:n,h4:r,h5:o,h6:i,b:s,small:c,i:l,span:d,del:f,em:x,blockquote:m,transform:h,size:b,margin:$,children:p,...y})=>{const j={h1:t,h2:e,h3:n,h4:r,h5:o,h6:i,blockquote:m},w={span:d,small:c,b:s,em:x,i:l,del:f},Z=Object.keys(j).filter((t=>j[t])),S=Object.keys(w).filter((t=>w[t])),z=(0,u.useMemo)((()=>Z[0]?Z[0]:S[0]?S[0]:"p"),[Z,S]),k=S.filter((t=>t!==z)),I=(0,u.useMemo)((()=>k.length?v(k,p,b,h):p),[k,p,b,h]);return(0,a.jsx)(g,{transform:h,tag:z,margin:$,size:b,...y,children:I})};b.toString=()=>".nextui-text";const $=u.memo(b);var p=(0,l.Z)($,{h1:!1,h2:!1,h3:!1,h4:!1,h5:!1,h6:!1,b:!1,small:!1,transform:"none",i:!1,span:!1,del:!1,em:!1,blockquote:!1,color:"default"}),y=n(2890),j=n(9172);function w(){var t=(0,r.Z)(["\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: flex-end;\n margin-bottom: 0.875rem;\n word-break: break-word;\n"]);return w=function(){return t},t}function Z(){var t=(0,r.Z)(["\n margin: 0;\n font-size: 6rem;\n line-height: 7rem;\n\n @media "," {\n font-size: 5.5rem;\n line-height: 6.5rem;\n }\n\n @media (max-width: 480px) {\n font-size: 4rem;\n line-height: 5rem;\n }\n"]);return Z=function(){return t},t}function S(){var t=(0,r.Z)(["\n height: 100%;\n gap: 0.5rem;\n display: flex;\n"]);return S=function(){return t},t}function z(){var t=(0,c.Z)().theme;return(0,a.jsxs)(k,{children:[(0,a.jsx)(I,{h1:!0,css:{textGradient:"45deg, ".concat(t.colors.text.value," -20%, ").concat(t.colors.primary.value," 70%")},children:(0,a.jsx)(i(),{href:"/",children:(0,a.jsx)("a",{dangerouslySetInnerHTML:{__html:j.It}})})}),(0,a.jsxs)(W,{children:[(0,a.jsx)(y.R5,{}),(0,a.jsx)(y.DS,{})]})]})}var k=s.Z.header(w()),I=(0,s.Z)(p)(Z(),f.vc.media.xsMax),W=s.Z.div(S());function C(){var t=(0,r.Z)(["\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin-bottom: 2.25rem;\n word-break: break-word;\n"]);return C=function(){return t},t}function M(){var t=(0,r.Z)(["\n margin: 0;\n\n font-size: 2rem;\n font-weight: bold;\n"]);return M=function(){return t},t}function R(){var t=(0,r.Z)(["\n height: 100%;\n gap: 0.5rem;\n display: flex;\n"]);return R=function(){return t},t}function E(){var t=(0,c.Z)().theme;return(0,a.jsxs)(N,{children:[(0,a.jsx)(P,{h3:!0,css:{textGradient:"45deg, ".concat(t.colors.text.value," -20%, ").concat(t.colors.primary.value," 70%")},children:(0,a.jsx)(i(),{href:"/",children:(0,a.jsx)("a",{dangerouslySetInnerHTML:{__html:j.It}})})}),(0,a.jsxs)(q,{children:[(0,a.jsx)(y.R5,{}),(0,a.jsx)(y.DS,{})]})]})}var N=s.Z.header(C()),P=(0,s.Z)(p)(M()),q=s.Z.div(R())},6790:function(t,e,n){"use strict";n.d(e,{Z:function(){return x}});var r=n(2228),a=n(2322),o=n(9097),i=n.n(o),s=n(1361),c=n(2991),u=n(5550);function l(){var t=(0,r.Z)(["\n width: 100%;\n margin-bottom: 2.5rem;\n"]);return l=function(){return t},t}function d(){var t=(0,r.Z)(["\n color: ",";\n"]);return d=function(){return t},t}function f(){var t=(0,r.Z)(["\n width: 100%;\n margin: 0;\n"]);return f=function(){return t},t}var x=function(t){var e=t.slug,n=t.title,r=t.subtitle,o=t.date,s=t.category,l=t.theme;return(0,a.jsxs)(m,{children:[(0,a.jsx)("h3",{children:(0,a.jsx)(i(),{href:"/".concat(e),passHref:!0,children:(0,a.jsx)(c.ZP,{underline:!0,css:{color:l.colors.text.value},children:n})})}),(0,a.jsx)(h,{theme:l,children:(0,a.jsx)(u.Z,{date:o,category:s})}),r&&(0,a.jsx)(g,{children:r})]})},m=s.Z.article(l()),h=s.Z.small(d(),(function(t){return t.theme.colors.accents6.value})),g=s.Z.p(f())},993:function(t,e,n){"use strict";n.d(e,{Z:function(){return u}});var r=n(2322),a=n(7729),o=n.n(a),i=n(5632),s=n(3215),c=n(9172);var u=function(t){var e=t.title,n=t.description,a=t.ogImage,u=(0,i.useRouter)(),l=e?"".concat(e," - ").concat(s.C$):"".concat(c.It," - ").concat(s.C$),d=n||c.tJ,f=c.OV+u.asPath,x=a||s.ac.Z.src;return(0,r.jsxs)(o(),{children:[(0,r.jsx)("title",{children:l}),(0,r.jsx)("link",{rel:"canonical",href:f}),(0,r.jsx)("meta",{name:"description",content:d}),(0,r.jsx)("meta",{property:"og:title",content:l}),(0,r.jsx)("meta",{property:"og:description",content:d}),(0,r.jsx)("meta",{property:"og:image",content:x}),(0,r.jsx)("meta",{property:"og:url",content:f}),(0,r.jsx)("meta",{name:"twitter:title",content:l}),(0,r.jsx)("meta",{name:"twitter:description",content:d}),(0,r.jsx)("meta",{name:"twitter:image",content:x})]})}},2987:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var r=n(3579);var a=n(5459);function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||(0,r.Z)(t,e)||(0,a.Z)(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var i=n(2784),s=n(5632),c=function(t){var e=t.root,n=t.rootMargin,r=void 0===n?"0px":n,a=t.threshold,o=void 0===a?0:a,s=t.onIntersect,c=(0,i.useState)(null),u=c[0],l=c[1];return(0,i.useEffect)((function(){if(u){var t=new IntersectionObserver(s,{root:e,rootMargin:r,threshold:o});return t.observe(u),function(){return t.unobserve(u)}}}),[s,e,r,u,o]),{setTarget:l}};function u(t,e){sessionStorage.setItem(t,JSON.stringify(e))}var l=function(t){var e=t.fullElements,n=t.offset,r=(0,s.useRouter)(),a=(0,i.useMemo)((function(){return"isv-".concat(r.asPath)}),[r]),l=(0,i.useState)(e.slice(0,n)),d=l[0],f=l[1],x=(0,i.useState)(function(t){if("undefined"===typeof sessionStorage)return 1;var e=sessionStorage.getItem(t);return e?parseInt(e):(u(t,1),1)}(a)),m=x[0],h=x[1],g=(0,i.useState)(e.lengthe.length)}),[e,m,n]),(0,i.useEffect)((function(){var t=function(){u(a,m)};return r.events.on("routeChangeStart",t),function(){return r.events.off("routeChangeStart",t)}}),[m,r,a]),{elements:d,setTarget:$,isEnded:v}}},3754:function(t,e,n){"use strict";var r=n(2784),a=n(5632);function o(t){var e={x:window.scrollX,y:window.scrollY};sessionStorage.setItem(t,JSON.stringify(e))}function i(t){var e=JSON.parse(sessionStorage.getItem(t));e&&setTimeout((function(){return window.scrollTo(e.x,e.y)}),0)}e.Z=function(){var t=(0,a.useRouter)();(0,r.useEffect)((function(){if("scrollRestoration"in window.history){var e=!1;window.history.scrollRestoration="manual",i(t.asPath);var n=function(e){o(t.asPath),delete e.returnValue},r=function(){o(t.asPath)},a=function(t){e&&(e=!1,i(t))};return window.addEventListener("beforeunload",n),t.events.on("routeChangeStart",r),t.events.on("routeChangeComplete",a),t.beforePopState((function(){return e=!0,!0})),function(){window.removeEventListener("beforeunload",n),t.events.off("routeChangeStart",r),t.events.off("routeChangeComplete",a),t.beforePopState((function(){return!0}))}}}),[t])}},7729:function(t,e,n){t.exports=n(5913)}}]);