PageSourceSearch

https://rvigroup.ru/_next/static/chunks/pages/project/[slug]-80e2c0bf03e6ad13.js

js rvigroup.ru collected 2026-10-05 03:58:56 UTC 12,209 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[901],{1832:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/project/[slug]",function(){return n(7870)}])},7870:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>q,default:()=>z});var s=n(3499),r=n(4353),l=n(6185),a=n(8725);let i={structureKey:()=>["project","structure"],structureFn:()=>(0,l.j)({queryKey:i.structureKey(),queryFn:a.p}),elementKey:e=>["project","element",e],elementFn:e=>(0,l.j)({queryKey:i.elementKey(e),queryFn:()=>(0,a.C)(e)})};var o=n(7235),c=n(4950),d=n(9834),m=n(6036),u=n(7162),x=n(169),b=n(5235),p=n(6118);function f(e){let t,n=(0,r.c)(11),{data:l,isError:a,isFetching:i,onRetry:o}=e,c=void 0!==i&&i;if(!l){let e,t,r,l,i;if(!(void 0!==a&&a)){let e;return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,s.jsx)("div",{className:"bg-base-white rounded-[8px] p-4 md:p-6 lg:p-8 min-h-[400px]"}),n[0]=e):e=n[0],e}return n[1]===Symbol.for("react.memo_cache_sentinel")?(e=(0,d.cn)("bg-base-white rounded-[8px] p-4 md:p-6 lg:p-8 min-h-[400px]","flex flex-col items-center justify-center text-center gap-4"),t=(0,s.jsx)("p",{className:"type-h3 text-gray-dark max-w-[720px]",children:"Не удалось загрузить раздел"}),r=(0,s.jsx)("p",{className:"type-text-m text-gray-dark max-w-[540px]",children:"Попробуйте обновить страницу или вернуться позже"}),n[1]=e,n[2]=t,n[3]=r):(e=n[1],t=n[2],r=n[3]),n[4]!==c||n[5]!==o?(l=o&&(0,s.jsx)("button",{type:"button",onClick:o,disabled:c,className:"type-btn text-base-black underline disabled:opacity-50",children:"Повторить"}),n[4]=c,n[5]=o,n[6]=l):l=n[6],n[7]!==l?(i=(0,s.jsxs)("div",{className:e,children:[t,r,l]}),n[7]=l,n[8]=i):i=n[8],i}return n[9]!==l?(t=(0,s.jsx)(p.cm,{data:l,className:"pt-0 pb-0 md:pb-0 lg:pb-0",wide:!0}),n[9]=l,n[10]=t):t=n[10],t}function h(e){let t,n,l=(0,r.c)(5),{visible:a,className:i}=e,o=a?"translate-y-0 opacity-100":"pointer-events-none translate-y-2 opacity-0";return l[0]!==i||l[1]!==o?(t=(0,d.cn)("flex items-center rounded-[8px] bg-gray-middle px-4 py-3.5","type-text-s text-base-black","transition-all duration-300",o,i),l[0]=i,l[1]=o,l[2]=t):t=l[2],l[3]!==t?(n=(0,s.jsx)("div",{role:"status","aria-live":"polite",className:t,children:"Что-то пошло не так. Повторите попытку позже"}),l[3]=t,l[4]=n):n=l[4],n}var g=n(6313),y=n(7659);function v(e){var t;let n,l,a,i,o,c,m,u,x,p,f,h,v,_,E,S,C=(0,r.c)(43),{structure:F,activeCode:L,onSelect:R}=e,[q,z]=(0,b.useState)(!1),I=(0,b.useRef)(null);if(C[0]!==L||C[1]!==F){let e;C[3]!==L?(e=e=>e.elements.length>1&&e.elements.some(e=>e.code===L),C[3]=L,C[4]=e):e=C[4],n=F.filter(e).map(k),C[0]=L,C[1]=F,C[2]=n}else n=C[2];let K=n,[T,H]=(0,b.useState)(K),[P,D]=(0,b.useState)(0);C[5]===Symbol.for("react.memo_cache_sentinel")?(l=e=>H(t=>t.includes(e)?[]:[e]),C[5]=l):l=C[5];let O=l,X=(0,b.useRef)(null);C[6]!==K?(a=()=>{H(K),z(N)},C[6]=K,C[7]=a):a=C[7];let B=a;if(C[8]!==L||C[9]!==F){let e;C[11]!==L?(e=e=>e.code===L,C[11]=L,C[12]=e):e=C[12],i=F.flatMap(w).find(e),C[8]=L,C[9]=F,C[10]=i}else i=C[10];let G=i,M=null!=(t=null==G?void 0:G.name)?t:"—";C[13]!==q?(o=()=>(document.body.style.overflow=q?"hidden":"",j),c=[q],C[13]=q,C[14]=o,C[15]=c):(o=C[14],c=C[15]),(0,b.useEffect)(o,c),C[16]!==q?(m=()=>{if(!q)return;let e=e=>{I.current&&!I.current.contains(e.target)&&z(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},u=[q],C[16]=q,C[17]=m,C[18]=u):(m=C[17],u=C[18]),(0,b.useEffect)(m,u),C[19]!==q?(p=()=>{if(!q)return;let e=()=>{if(!X.current)return;let e=X.current.getBoundingClientRect();D(window.innerHeight-e.bottom)};return e(),window.addEventListener("resize",e),window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",e)}},x=[q],C[19]=q,C[20]=x,C[21]=p):(x=C[20],p=C[21]),(0,b.useEffect)(p,x);let U=q&&"rotate-180";C[22]!==U?(f=(0,d.cn)(U),C[22]=U,C[23]=f):f=C[23],C[24]!==f?(h=(0,s.jsx)(y.ZL,{className:f}),C[24]=f,C[25]=h):h=C[25];let V=q&&"bg-base-black text-base-white border-0";return C[26]!==V?(v=(0,d.cn)("w-full border border-base-black",V),C[26]=V,C[27]=v):v=C[27],C[28]!==M||C[29]!==h||C[30]!==v||C[31]!==B?(_=(0,s.jsx)(g.$n,{ref:X,variant:"secondary",mode:"white",onClick:B,rightIcon:h,className:v,children:M}),C[28]=M,C[29]=h,C[30]=v,C[31]=B,C[32]=_):_=C[32],C[33]!==L||C[34]!==P||C[35]!==T||C[36]!==q||C[37]!==R||C[38]!==F?(E=q&&(0,s.jsx)("div",{className:"absolute py-2 mt-2 sm:mt-4 left-0 right-0 z-50 bg-base-white rounded-[8px] border border-base-black shadow-md overflow-y-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",style:{maxHeight:P},children:F.map(e=>{let t=T.includes(e.id);return(0,s.jsx)("div",{className:"flex flex-col",children:e.elements.length>1?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("button",{type:"button",onClick:()=>O(e.id),className:"flex items-center justify-between px-4 py-2 type-text-s text-base-black hover:bg-gray-light transition-colors",children:[e.name,(0,s.jsx)(y.D3,{className:(0,d.cn)("size-4 shrink-0 transition-transform duration-200",t&&"rotate-180")}
1)]}),(0,s.jsx)("div",{className:(0,d.cn)("grid transition-[grid-template-rows] duration-200 ease-out",t?"grid-rows-[1fr]":"grid-rows-[0fr]"),children:(0,s.jsx)("div",{className:"overflow-hidden flex flex-col",children:e.elements.map(e=>(0,s.jsx)("button",{type:"button",onClick:()=>{R(e.code),z(!1)},className:(0,d.cn)("flex items-center type-text-s transition-colors","hover:bg-gray-light","px-6 py-2 type-text-xs",e.code===L?"bg-gray-light text-base-black mx-2 px-4 rounded-[6px]":"text-base-black hover:bg-gray-light"),children:e.name},e.id))})})]}):e.elements.map(e=>(0,s.jsx)("button",{type:"button",onClick:()=>{R(e.code),z(!1)},className:(0,d.cn)("flex items-center type-text-s transition-colors","hover:bg-gray-light","mx-2 px-2 py-1 rounded-[6px]",e.code===L?"bg-gray-light text-base-black":"text-base-black hover:bg-gray-light"),children:e.name},e.id))},e.id)})}),C[33]=L,C[34]=P,C[35]=T,C[36]=q,C[37]=R,C[38]=F,C[39]=E):E=C[39],C[40]!==_||C[41]!==E?(S=(0,s.jsxs)("div",{ref:I,className:"relative",children:[_,E]}),C[40]=_,C[41]=E,C[42]=S):S=C[42],S}function j(){document.body.style.overflow=""}function w(e){return e.elements}function N(e){return!e}function k(e){return e.id}function _(e){let t,n,l,a,i,o,c=(0,r.c)(20),{structure:m,activeCode:u,onSelect:x}=e;if(c[0]!==u||c[1]!==m){let e;c[3]!==u?(e=e=>e.elements.some(e=>e.code===u),c[3]=u,c[4]=e):e=c[4],t=m.filter(e).map(E),c[0]=u,c[1]=m,c[2]=t}else t=c[2];let p=t,[f,h]=(0,b.useState)(p);c[5]!==p?(n=()=>{h(p)},l=[p],c[5]=p,c[6]=n,c[7]=l):(n=c[6],l=c[7]),(0,b.useEffect)(n,l),c[8]===Symbol.for("react.memo_cache_sentinel")?(a=e=>h(t=>t.includes(e)?[]:[e]),c[8]=a):a=c[8];let g=a;if(c[9]!==u||c[10]!==f||c[11]!==x||c[12]!==m){let e;c[14]!==u||c[15]!==f||c[16]!==x?(e=e=>{if(1===e.elements.length){let t=e.elements[0],n=t.code===u;return(0,s.jsx)("button",{type:"button",onClick:()=>x(t.code),className:(0,d.cn)("flex items-center justify-between w-full","px-4 h-14","rounded-[8px] bg-base-white","font-dewi text-base font-semibold text-left transition-colors","border",n?"border-base-black":"border-transparent hover:border-base-black"),children:e.name},e.id)}let t=f.includes(e.id),n=e.elements.some(e=>e.code===u);return(0,s.jsxs)("div",{className:(0,d.cn)("rounded-[8px] bg-base-white transition-colors","border py-[7px]",t||n?"border-base-black":"border-transparent hover:border-base-black"),children:[(0,s.jsxs)("button",{type:"button",onClick:()=>g(e.id),className:(0,d.cn)("flex items-center justify-between w-full","px-4 h-10","font-dewi text-base font-semibold text-left"),children:[e.name,(0,s.jsx)(y.D3,{className:(0,d.cn)("size-6 shrink-0 transition-transform duration-200",t&&"rotate-180")})]}),(0,s.jsx)("div",{className:(0,d.cn)("grid transition-[grid-template-rows] duration-200 ease-out",t?"grid-rows-[1fr]":"grid-rows-[0fr]"),children:(0,s.jsx)("div",{className:"overflow-hidden",children:(0,s.jsx)("div",{className:"px-4 pt-4 pb-2",children:e.elements.map(e=>(0,s.jsx)("button",{type:"button",onClick:()=>x(e.code),className:(0,d.cn)("flex items-center w-full","px-3 h-7 rounded-[6px]","text-left type-text-s transition-colors",e.code===u?"bg-gray-light text-base-black":"text-base-black hover:bg-gray-light"),children:e.name},e.id))})})})]},e.id)},c[14]=u,c[15]=f,c[16]=x,c[17]=e):e=c[17],i=m.map(e),c[9]=u,c[10]=f,c[11]=x,c[12]=m,c[13]=i}else i=c[13];return c[18]!==i?(o=(0,s.jsx)("nav",{className:"flex flex-col gap-2",children:i}),c[18]=i,c[19]=o):o=c[19],o}function E(e){return e.id}let S="Проектирование",C=[{name:"Главная",url:"/"},{name:S}],F=[];function L(e){let t,n,l,a,p,g,y,j,w,N,k,E,L,R,q,z,I,K,T,H,P,D=(0,r.c)(50),{slug:O}=e,X=(0,x.useRouter)(),{isVisible:B}=(0,c.YU)();D[0]===Symbol.for("react.memo_cache_sentinel")?(t=i.structureFn(),D[0]=t):t=D[0];let{data:G,isError:M}=(0,u.I)(t);D[1]!==O?(n=i.elementFn(O),D[1]=O,D[2]=n):n=D[2];let U=!!O;D[3]!==n||D[4]!==U?(l={...n,enabled:U},D[3]=n,D[4]=U,D[5]=l):l=D[5];let{data:V,isError:Y,isFetching:Z,refetch:$}=(0,u.I)(l),A=M||Y;D[6]!==X||D[7]!==O?(a=e=>{e!==O&&X.push("".concat(o.G.project).concat(e,"/"),void 0,{shallow:!0})},D[6]=X,D[7]=O,D[8]=a):a=D[8];let J=a,[Q,W]=(0,b.useState)(!1);D[9]!==A?(p=()=>{A&&W(!0)},g=[A],D[9]=A,D[10]=p,D[11]=g):(p=D[10],g=D[11]),(0,b.useEffect)(p,g),D[12]!==Q?(y=()=>
1{if(!Q)return;let e=setTimeout(()=>W(!1),5e3);return()=>clearTimeout(e)},j=[Q],D[12]=Q,D[13]=y,D[14]=j):(y=D[13],j=D[14]),(0,b.useEffect)(y,j);let ee=null!=G?G:F;D[15]===Symbol.for("react.memo_cache_sentinel")?(w=(0,d.cn)("flex flex-col gap-4 mx-auto","md:gap-2","pt-4 pb-16","sm:pt-8 sm:pb-20","lg:pt-12 lg:pb-24"),D[15]=w):w=D[15],D[16]!==J||D[17]!==ee||D[18]!==O?(N=(0,s.jsx)("div",{className:"lg:hidden rounded-[8px]",children:(0,s.jsx)(v,{structure:ee,activeCode:O,onSelect:J})}),D[16]=J,D[17]=ee,D[18]=O,D[19]=N):N=D[19],D[20]===Symbol.for("react.memo_cache_sentinel")?(k=(0,s.jsx)("h1",{className:"type-h1",children:S}),D[20]=k):k=D[20],D[21]!==N?(E=(0,s.jsx)(m.y,{items:C,className:"min-h-41.5 sm:min-h-54 lg:min-h-48",overflow:"visible",bottomChildren:N,children:k}),D[21]=N,D[22]=E):E=D[22];let et=B?72:8;return D[23]!==et?(L={top:et},D[23]=et,D[24]=L):L=D[24],D[25]!==J||D[26]!==ee||D[27]!==O?(R=(0,s.jsx)(_,{structure:ee,activeCode:O,onSelect:J}),D[25]=J,D[26]=ee,D[27]=O,D[28]=R):R=D[28],D[29]!==L||D[30]!==R?(q=(0,s.jsx)("aside",{className:"col-span-4 md:col-span-3 lg:col-span-3 max-lg:hidden",children:(0,s.jsx)("div",{className:"sticky transition-[top] duration-300",style:L,children:R})}),D[29]=L,D[30]=R,D[31]=q):q=D[31],D[32]!==$?(z=()=>$(),D[32]=$,D[33]=z):z=D[33],D[34]!==V||D[35]!==A||D[36]!==Z||D[37]!==z?(I=(0,s.jsx)("section",{className:"col-span-4 sm:col-span-6 md:col-span-9 lg:col-span-9",children:(0,s.jsx)(f,{data:V,isError:A,isFetching:Z,onRetry:z})}),D[34]=V,D[35]=A,D[36]=Z,D[37]=z,D[38]=I):I=D[38],D[39]!==q||D[40]!==I?(K=(0,s.jsxs)("div",{className:"grid-system",children:[q,I]}),D[39]=q,D[40]=I,D[41]=K):K=D[41],D[42]!==E||D[43]!==K?(T=(0,s.jsxs)("div",{className:"container flex flex-col gap-2",children:[E,K]}),D[42]=E,D[43]=K,D[44]=T):T=D[44],D[45]!==Q?(H=(0,s.jsx)(h,{visible:Q,className:"fixed bottom-8 left-4 lg:left-8 z-[70]"}),D[45]=Q,D[46]=H):H=D[46],D[47]!==T||D[48]!==H?(P=(0,s.jsxs)("div",{className:w,children:[T,H]}),D[47]=T,D[48]=H,D[49]=P):P=D[49],P}var R=n(2144),q=!0;function z(e){var t,n;let l,a,o,c,d=(0,r.c)(11),{slug:m,seoTitle:b,seoDescription:p}=e,f=(0,x.useRouter)(),h="string"==typeof f.query.slug?f.query.slug:m;d[0]!==h?(l=i.elementFn(h),d[0]=h,d[1]=l):l=d[1];let{data:g}=(0,u.I)(l),y=(null==g||null==(t=g.seo)?void 0:t.title)||(null==g?void 0:g.name)||b,v=(null==g||null==(n=g.seo)?void 0:n.description)||p,j="".concat(y," | RVI"),w="project/".concat(h);return d[2]!==v||d[3]!==j||d[4]!==w?(a=(0,s.jsx)(R.I,{title:j,description:v,canonicalHref:w,type:"website"}),d[2]=v,d[3]=j,d[4]=w,d[5]=a):a=d[5],d[6]!==h?(o=(0,s.jsx)(L,{slug:h}),d[6]=h,d[7]=o):o=d[7],d[8]!==a||d[9]!==o?(c=(0,s.jsxs)(s.Fragment,{children:[a,o]}),d[8]=a,d[9]=o,d[10]=c):c=d[10],c}}},e=>{e.O(0,[845,323,593,636,792],()=>e(e.s=1832)),_N_E=e.O()}]);

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.