1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{12700:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return de},default:function(){return he},queryVariables:function(){return fe}});var o=n(50029),i=n(90116),r=n(59499),s=n(87794),a=n.n(s),c=n(67294),l=n(46829),u=n(11163),d=n(87379),f=n(27361),h=n.n(f),p=n(30770),m=n(40927),y=n(79497),g=n(43149),x=n(10485),v=n(92916),b=n(82851),w=n(78014),j=n(85893),Z=function(e){var t=e.onClickHandle,n=(0,w.gt)().getTranslate;return(0,j.jsx)(P,{onClick:t,size:"middle",children:n("controls.load_more")})},P=(0,d.ZP)(b.Z).attrs({type:"button"}).withConfig({componentId:"sc-1mtsp6d-0"})(["padding:10px 0;"]),C=n(94850),k=n(9145),L=n(84969),I=n(54965),z=n(17596),O=n(82221),E=n(61526),S=n(74123),R=n(64347),_=function(e){var t=e.onEnter,n=e.onLeave,o=(0,w.gt)().getTranslate,i=(0,c.useRef)(null),r=(0,c.useRef)(null),s=(0,c.useRef)(null),a=(0,c.useRef)(null),l=o("about"),u=o("projects"),d=o("publishing");return l&&u&&d?(0,j.jsx)(j.Fragment,{children:(0,j.jsx)(I.Z,{options:{threshold:0},refTargets:[i],onEnter:t,onLeave:n,children:(0,j.jsxs)(M,{ref:i,children:[(0,j.jsx)(B,{draw:function(e){var t=document.querySelector(".".concat(O.vL)),n=r.current,o=s.current,i=a.current;if(!t||!n||!o||!i)return;var c=(0,R.Z)(t),l=(0,R.Z)(n),u=(0,R.Z)(o),d=(0,R.Z)(i),f=(0,S.Z)(t),h=E.Z.pointProcessor(e),p=!(0,z.Ac)();E.Z.drawLine(e,h([c.horizontalCenter,c.bottomByPage*(p?1.015:1)]),h([c.horizontalCenter,l.topByPage/1.015]),f,{arrows:"none",stroke:"dashed"}),E.Z.drawLine(e,h([c.horizontalCenter,1.01*l.bottomByPage]),h([c.horizontalCenter,u.topByPage/1.02]),f,{arrows:"none",stroke:"dashed",offset:{from:2}}),E.Z.drawLine(e,h([c.horizontalCenter,1.01*u.bottomByPage]),h([c.horizontalCenter,d.topByPage/1.01]),f,{arrows:"none",stroke:"dashed",offset:{from:2}})}}),(0,j.jsxs)(H,{children:[(0,j.jsx)(N,{ref:r,children:(0,j.jsx)(T,{href:"/about",size:"middle",children:(0,j.jsx)(L.Z,{html:o("about")})})}),(0,j.jsx)(N,{ref:s,children:(0,j.jsx)(T,{href:"/projects",size:"middle",children:(0,j.jsx)(L.Z,{html:o("projects")})})}),(0,j.jsx)(N,{ref:a,children:(0,j.jsx)(T,{href:"/publishing",size:"middle",children:(0,j.jsx)(L.Z,{html:o("publishing")})})})]})]})})}):null},B=(0,d.ZP)(k.Z).withConfig({componentId:"sc-1xlhh34-0"})(["top:-2px;"]),M=d.ZP.div.withConfig({componentId:"sc-1xlhh34-1"})(["position:relative;width:100%;",";",";"],(function(e){return e.theme.response("margin-top",-15,-35,"mobileLarge")}),(function(e){return e.theme.response("padding-top",15,35,"mobileLarge")})),H=d.ZP.div.withConfig({componentId:"sc-1xlhh34-2"})(["position:relative;",";"],(function(e){return e.theme.response("right",-3,-5,"mobileLarge")})),N=d.ZP.div.withConfig({componentId:"sc-1xlhh34-3"})(["display:flex;align-items:flex-end;width:100%;writing-mode:vertical-lr;&:first-of-type{",";}&:not(:last-of-type){",";}"],(function(e){return e.theme.response("margin-top",15,35,"mobileLarge")}),(function(e){return e.theme.response("margin-bottom",40,40,"mobileLarge")})),T=(0,d.ZP)(b.Z).withConfig({componentId:"sc-1xlhh34-4"})(["display:inline-block;"]),D=n(79819),V=n(25889),F=n(47041),q=n(27484),A=n.n(q),W=n(71160),Q=n(97301),X=n(53374),Y=840,G=1/3,J="isPreloaderPlayed",K=function(e){var t=e.onStop,n=(0,c.useState)(""),i=n[0],r=n[1],s=(0,c.useState)(!0),l=s[0],d=s[1],f=(0,c.useContext)(X.y).isDevelopmentMode,h=(0,u.useRouter)().locale,p=(0,c.useRef)(null),m=(0,c.useRef)(null),y=(0,c.useRef)(null),g=(0,V.useRive)({src:"https://cdn.v-a-c.org/v-a-c-static/frontend/animation/vac-logo-".concat("en"===h?"en":"ru",".riv"),autoplay:!0,onStop:function(){return w.apply(this,arguments)}}),x=g.RiveComponent,v=function(){var e=A()().startOf("day").add(1,"day").add(3,"hour").toDate();(0,F.setCookie)(J,"true",{expires:e})},b=(0,c.useCallback)((function(){return(0,z.Ac)()&&!(0,F.hasCookie)(J)&&!f}),[f]);return(0,c.useEffect)((function(){var e=function(e){l&&e.reason.message.includes("WebAssembly")&&(e.preventDefault(),v(),d(!1))};return window.addEventListener("unhandledrejection",e),function(){window.removeEventListener("unhandledrejection",e)}}),[l]),(0,c.useEffect)((function(){d(b()),r(document.body.style.minHeight),document.body.style.minHeight="101vh"}),[b]),(0,c.useEffect)((function(){!l&&t&&t()}
1),[l,t]),l?(0,j.jsxs)(U,{ref:y,children:[(0,j.jsx)($,{ref:p,children:(0,j.jsx)(x,{})}),(0,j.jsx)(ee,{ref:m,children:"\ue013"})]}):null;function w(){return(w=(0,o.Z)(a().mark((function e(){var n,o,r,s,c,l,u,d;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=p.current,o=m.current,r=y.current,n&&o&&y){e.next=5;break}return e.abrupt("return");case 5:return n.classList.add("hidden"),o.classList.add("visible"),s=o.getBoundingClientRect(),c={x:s.left,y:s.top,scale:G,opacity:1},l=function(e){var t=s.left-c.x*e,n=s.top-c.y*e,i=1-(1-c.scale)*e,r=e<.8?1:1-c.opacity*(e-.8)/.2,a={x:s.width*(1-i)*1.5,y:s.height*(1-i)*1.5};o.style.left=t+"px",o.style.top=n+"px",o.style.transform="scale(".concat(i,") translate(-").concat(a.x,"px, -").concat(a.y,"px)"),o.style.opacity="".concat(r)},u=function(e){r&&(r.style.opacity="".concat(1-e))},d=function(){r&&(r.style.display="none"),document.body.style.minHeight=i,t&&t()},e.next=14,(0,W.T0)(500,l,(0,W.mZ)()).then((function(){return(0,W.jt)(200,u)})).then(d).then(v);case 14:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},U=d.ZP.div.withConfig({componentId:"sc-1z7eu8-0"})(["position:fixed;z-index:9999;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;background-color:",";body."," &{display:none;}"],(function(e){return e.theme.colors.white}),O.mW),$=d.ZP.div.withConfig({componentId:"sc-1z7eu8-1"})([""," "," max-width:","px;max-height:100vh;cursor:default;&.hidden{display:none;}"],(function(e){return e.theme.response("width",Q.MB.mobileLarge,Y)}),(function(e){return e.theme.response("height",Q.MB.mobileLarge,Y)}),Y),ee=d.ZP.span.withConfig({componentId:"sc-1z7eu8-2"})(["position:absolute;display:none;transform:translateY(4%);font-size:calc(100vw / "," * 36);","{font-size:calc( min( 100vw / ",",100vh / ",",","px / "," ) * 80 );}&.visible{display:initial;}"],Q.MB.mobileLarge,(function(e){return e.theme.media.desktop}),Q.MB.desktopHuge,Y,Q.MB.desktopHuge,Q.MB.desktopHuge),te=n(67464),ne=n(56771),oe=n(26773),ie=n(60521),re=n(69103),se=n(93115),ae=n(83173),ce=n(46485);function le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?le(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var de=!0,fe={skip:0,first:24},he=function(e){var t,n=e.tickerProps,r=e.pinnedMaterials,s=e.excludeMaterialsIds,d=e.metaProps,f=e.notFound,m=e.availableTranslations,b=(0,c.useRef)(null),w=(0,c.useRef)(null),P=(0,c.useRef)(null),k=(0,c.useRef)(null),L=(0,u.useRouter)().query,I=(0,c.useState)(!0),z=I[0],O=I[1],E=(0,c.useContext)(ne.c),S=E.showSearch,B=E.setShowSearch,M=(0,c.useContext)(ae.y).fromLocale,H=(0,c.useState)(!1),N=H[0],T=H[1],V=function(e){return function(){return T(e)}};(0,c.useEffect)((function(){return document.body.classList.add("main-page"),J(!0),B("search"in L),window.addEventListener("scroll",G),function(){window.removeEventListener("scroll",G)}}),[]);var F=(0,l.useQuery)(se.mN,{variables:ue(ue({},fe),{},{excludeIds:s}),notifyOnNetworkStatusChange:!0}),q=F.data,A=F.fetchMore,W=F.loading,Q=(0,c.useMemo)((function(){return[].concat((0,i.Z)((null===r||void 0===r?void 0:r.materials)||[]),(0,i.Z)((null===q||void 0===q?void 0:q.materials)||[]))}),[r,q]),X=h()(null===q||void 0===q?void 0:q._materialsMeta,"count",0)>((null===q||void 0===q||null===(t=q.materials)||void 0===t?void 0:t.length)||0);if(f)return(0,j.jsx)(re.default,{});var Y=function(){var e=(0,o.Z)(a().mark((function e(){var t;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(X){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,A({variables:ue(ue({},fe),{},{skip:(null===q||void 0===q||null===(t=q.materials)||void 0===t?void 0:t.length)||0,excludeIds:s}),updateQuery:function(e,t){var n=t.fetchMoreResult;return n?ue(ue({},e),{},{materials:[].concat((0,i.Z)(e.materials),(0,i.Z)(n.materials))}):e}});case 4:J();case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(ce.ZP,ue(ue({},d),{},{singleTemplate:!0,doNotIndex:!1})),(0,j.jsx)(K,{onStop:function(){return O(!1)}}),(0,j.jsxs)(me,{isVisible:!z,children:[(0,j.jsx)(ie.Z,ue({},n)),(0,j.jsx)(ve,{children:(0,j.jsx)(x.Z,{isStickyPanelShown:N})}),(0,j.jsx)(be,{ref:b,children:(0,j.jsx)(p.Z,{children:(0,j.jsxs)(ye,{children:[(0,j.jsxs)(ge,{children:[!!Q&&(0,j.jsx)(C.ZP,{data:Q,canDrawLines:!z}),X&&(0,j.jsx)(Ze,{children:W?(0,j.jsx)(oe.Z,{}):(0,j.jsx)(Z,{onClickHandle:Y})})]}),(0,j.jsx)(xe,{children:(0,j.jsx)(_,{onEnter:V(!1),onLeave:V(!0)})})]})})}),(0,j.jsxs)(we,{ref:w,children:[(0,j.jsx)(g.Z,{ref:P}),(0,j.jsx)(je,{ref:k})]}),(0,j.jsx)(v.Z,{availableTranslations:m}),(0,j.jsx)(y.Z,{}),S&&(0,j.jsx)(Pe,{isVisible:S,children:(0,j.jsx)(te.Z,{})}),M&&(0,j.jsx)(D.Z,{fromLocale:M})]})]});function G(){J()}function J(e){var t,n=w.current,o=P.current,i=k.current;if(n&&o&&i){var r=(0,R.Z)(o),s=(0,R.Z)(i),a=(null===(t=window.visualVie
1wport)||void 0===t?void 0:t.height)||window.innerHeight,c=r.height;if(c>a)return o.style.position="",o.style.opacity="",void(n.style.height="");n.style.height="".concat(c,"px"),o.style.position="fixed",o.style.opacity="0",s.top>a||(s.bottom>a&&(o.style.bottom="-".concat(s.bottom-a,"px"),o.style.opacity="0"),s.bottom+10<a&&!e&&(o.style.opacity="1"),s.bottom<=a&&(o.style.bottom="0"))}}},pe=(0,d.F4)(["from{opacity:0;}to{opacity:1;}"]),me=d.ZP.div.withConfig({componentId:"sc-7eyyih-0"})(["opacity:",";body."," &{animation:"," 0.5s;opacity:1;}"],(function(e){return e.isVisible?1:0}),O.mW,pe),ye=(0,d.ZP)(m.Z).withConfig({componentId:"sc-7eyyih-1"})(["",""],(function(e){return e.theme.grid.container({})})),ge=d.ZP.div.withConfig({componentId:"sc-7eyyih-2"})(["grid-column:1 / 13;padding-top:10px;"]),xe=d.ZP.div.withConfig({componentId:"sc-7eyyih-3"})(["position:relative;grid-column:13 / -1;"]),ve=d.ZP.div.withConfig({componentId:"sc-7eyyih-4"})(["position:relative;z-index:3;"]),be=d.ZP.div.withConfig({componentId:"sc-7eyyih-5"})(["position:relative;z-index:2;"]),we=d.ZP.div.withConfig({componentId:"sc-7eyyih-6"})(["position:relative;z-index:1;"]),je=d.ZP.div.withConfig({componentId:"sc-7eyyih-7"})(["position:absolute;top:-110%;right:0;left:0;height:110%;background:",";"],(function(e){return e.theme.colors.white})),Ze=d.ZP.div.withConfig({componentId:"sc-7eyyih-8"})(["margin-top:-20px;margin-bottom:70px;text-align:center;","{margin-top:-40px;margin-bottom:120px;}"],(function(e){return e.theme.media.desktop})),Pe=d.ZP.div.withConfig({componentId:"sc-7eyyih-9"})(["position:absolute;z-index:",";",""],(function(e){return e.theme.zIndex.modal}),(function(e){return!e.isVisible&&"display: none;"}))},48312:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(12700)}])}},function(e){e.O(0,[1664,3621,2329,4620,4370,5889,8554,3832,7145,2996,8642,792,9774,2888,179],(function(){return t=48312,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.