"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[55],{4568:(e,t,a)=>{a.d(t,{A:()=>I});var s=a(7876),r=a(4232),l=a(7328),n=a.n(l),i=a(7239);let c=()=>(0,s.jsxs)(n(),{children:[(0,s.jsx)("title",{children:i.C.name}),(0,s.jsx)("meta",{content:i.C.name,property:"og:title"},"title"),(0,s.jsx)("meta",{content:i.C.description,property:"og:description"}),(0,s.jsx)("meta",{content:i.C.description,name:"description"}),(0,s.jsx)("meta",{content:"viewport-fit=cover, width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0",name:"viewport"},"viewport"),(0,s.jsx)("link",{href:"/favicon.ico",rel:"icon"})]});var o=a(1716),d=a(6313),h=a(6141),m=a(1399),x=a(7355),p=a(9333),f=a(1177),u=a(4777),b=a(3041),j=a(5089);let g=()=>(0,s.jsx)(x.h,{href:"/",children:(0,s.jsxs)("div",{className:"flex items-center justify-center md:justify-start mb-4",children:[(0,s.jsx)("img",{src:"/images/logo-w.png",alt:i.C.name,className:"h-12 w-auto"}),(0,s.jsx)("span",{className:"ml-2",children:(0,s.jsx)(j.A,{colors:["white","gray","white","gray","white"],animationSpeed:7,showBorder:!1,className:"text-xl font-bold",children:i.C.name})})]})}),v=e=>{let[t,a]=r.useState(!1);return(0,s.jsxs)(o.H,{...e,classNames:{base:(0,b.cn)("border-default-100",{"bg-default-200/50 dark:bg-default-100/50":t}),wrapper:"w-full justify-center",item:"hidden md:flex"},height:"60px",isMenuOpen:t,onMenuOpenChange:a,children:[(0,s.jsx)(d.$,{className:"mt-8",children:(0,s.jsx)(g,{})}),(0,s.jsx)(h.t,{justify:"center",children:i.C.navItems.map(e=>(0,s.jsx)(m.p,{children:(0,s.jsx)(x.h,{className:"text-default-500",href:e.href,size:"sm",children:e.label},e.href)},e.href))}),(0,s.jsx)(p.w,{className:"text-default-400 md:hidden"}),(0,s.jsx)(f.n,{className:"top-[calc(var(--navbar-height)_-_1px)] max-h-fit bg-default-200/50 pb-6 pt-6 shadow-medium backdrop-blur-md backdrop-saturate-150 dark:bg-default-100/50",children:i.C.navItems.map(e=>(0,s.jsx)(u.X,{children:(0,s.jsx)(x.h,{className:"mb-2 w-full text-white",href:e.href,size:"lg",children:e.label})},"".concat(e.label,"-").concat(e.href)))})]})};var w=a(8230),N=a.n(w);let y=()=>(0,s.jsx)("footer",{className:"text-white py-8",children:(0,s.jsxs)("div",{className:"container mx-auto px-4",children:[(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8",children:[(0,s.jsxs)("div",{className:"text-center md:text-left",children:[(0,s.jsx)(g,{}),(0,s.jsx)("p",{className:"text-sm",children:i.C.text})]}),(0,s.jsxs)("div",{className:"text-left px-30 sm:px-0",children:[(0,s.jsx)("h3",{className:"text-lg font-bold mb-4",children:"Ссылки"}),(0,s.jsx)("ul",{className:"text-sm",children:i.C.navItems.map(e=>(0,s.jsx)("li",{className:"mb-2",children:(0,s.jsx)(N(),{href:e.href,children:e.label})},e.href))})]}),(0,s.jsxs)("div",{className:"text-center md:text-right",children:[(0,s.jsx)("h3",{className:"text-lg font-bold mb-4",children:"Контакты"}),(0,s.jsxs)("p",{className:"text-sm",children:["email: ",i.C.email,(0,s.jsx)("br",{}),"Телефон: ",i.C.phone]}),(0,s.jsx)("br",{}),(0,s.jsx)("p",{className:"text-sm",children:i.C.address})]})]}),(0,s.jsx)("div",{className:"border-t border-gray-700 mt-8 pt-8 text-center",children:(0,s.jsxs)("p",{className:"text-sm",children:["\xa9 ",new Date().getFullYear()," ",i.C.name,". Все права защищены."]})})]})});var k=a(4589),C=a(5976),z=a(9099);let S=()=>"/"===(0,z.useRouter)().pathname?(0,s.jsx)("div",{className:"flex flex-col flex-wrap gap-4 py-8"}):(0,s.jsx)("div",{className:"flex flex-col flex-wrap gap-4 py-8",children:(0,s.jsxs)(k.L,{size:"lg",children:[(0,s.jsx)(C.e,{href:"/",children:(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"size-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})})}),(0,s.jsx)(C.e,{href:"/",children:"Производство"})]})});function I(e){let{children:t}=e;return(0,s.jsxs)("div",{className:"relative flex flex-col h-screen",children:[(0,s.jsx)(c,{}),(0,s.jsx)(v,{}),(0,s.jsxs)("main",{className:"container mx-auto max-w-7xl px-6 flex-grow pt-16",children:[(0,s.jsx)(S,{}),t]}),(0,s.jsx)(y,{})]})}},4850:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(7876),r=a(1755),l=a(4232);let n=e=>{let{text:t="",className:a="",delay:n=100,animationFrom:i={opacity:0,transform:"translate3d(0,40px,0)"},animationTo:c={opacity:1,transform:"translate3d(0,0,0)"},easing:o=e=>e,threshold:d=.1,rootMargin:h="-100px",textAlign:m="center",onLetterAnimationComplete:x}=e,p=t.split(" ").map(e=>e.split("")),f=p.flat(),[u,b]=(0,l.useState)(!1),j=(0,l.useRef)(null),g=(0,l.useRef)(0);(0,l.useEffect)(()=>{let e=new IntersectionObserver(t=>{let[a]=t;a.isIntersecting&&(b(!0),j.current&&e.unobserve(j.current))},{threshold:d,rootMargin:h});return j.current&&e.observe(j.current),()=>e.disconnect()},[d,h]);let v=(0,r.mX)(f.length,f.map((e,t)=>({from:i,to:u?async e=>{await e(c),g.current+=1,g.current===f.length&&x&&x()}:i,delay:t*n,config:{easing:o}})));return(0,s.jsx)("p",{ref:j,className:"split-parent overflow-hidden inline ".concat(a),style:{textAlign:m,whiteSpace:"normal",wordWrap:"break-word"},children:p.map((e,t)=>(0,s.jsxs)("span",{style:{display:"inline-block",whiteSpace:"nowrap"},children:[e.map((e,a)=>{let l=p.slice(0,t).reduce((e,t)=>e+t.length,0)+a;return(0,s.jsx)(r.CS.span,{style:v[l],className:"inline-block transform transition-opacity will-change-transform",children:e},l)}),(0,s.jsx)("span",{style:{display:"inline-block",width:"0.3em"},children:"\xa0"})]},t))})}},5089:(e,t,a)=>{a.d(t,{A:()=>r});var s=a(7876);function r(e){let{children:t,className:a="",colors:r=["#ffaa40","#9c40ff","#ffaa40"],animationSpeed:l=8,showBorder:n=!1}=e,i={backgroundImage:"linear-gradient(to right, ".concat(r.join(", "),")"),animationDuration:"".concat(l,"s")};return(0,s.jsxs)("div",{className:"relative mx-auto flex max-w-fit flex-row items-center justify-center font-medium backdrop-blur transition-shadow duration-500 overflow-hidden ".concat(a),children:[n&&(0,s.jsx)("div",{className:"absolute inset-0 z-0 pointer-events-none animate-gradient",style:{...i,backgroundSize:"300% 100%"},children:(0,s.jsx)("div",{className:"absolute inset-0 bg-black z-[-1]",style:{width:"calc(100% - 2px)",height:"calc(100% - 2px)",left:"50%",top:"50%",transform:"translate(-50%, -50%)"}})}),(0,s.jsx)("div",{className:"inline-block relative z-2 text-transparent animate-gradient",style:{...i,backgroundClip:"text",WebkitBackgroundClip:"text",backgroundSize:"300% 100%"},children:t})]})}a(4232)},6515:(e,t,a)=>{a.d(t,{A:()=>n});var s=a(7876),r=a(4232),l=a(1755);let n=e=>{let{children:t,distance:a=100,direction:n="vertical",reverse:i=!1,config:c={tension:50,friction:25},initialOpacity:o=0,animateOpacity:d=!0,scale:h=1,threshold:m=.1,delay:x=0}=e,[p,f]=(0,r.useState)(!1),u=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=u.current;if(!e)return;let t=new IntersectionObserver(a=>{let[s]=a;s.isIntersecting&&(t.unobserve(e),setTimeout(()=>{f(!0)},x))},{threshold:m});return t.observe(e),()=>t.disconnect()},[m,x]);let b={vertical:"Y",horizontal:"X"},j=(0,l.zh)({from:{transform:"translate".concat(b[n],"(").concat(i?"-".concat(a,"px"):"".concat(a,"px"),") scale(").concat(h,")"),opacity:d?o:1},to:p?{transform:"translate".concat(b[n],"(0px) scale(1)"),opacity:1}:void 0,config:c});return(0,s.jsx)(l.CS.div,{ref:u,style:j,children:t})}},7239:(e,t,a)=>{a.d(t,{C:()=>s});let s={name:"Никаэнергомаш",phone:"+7 (921) 555-55-00",address:"Ростовская область, г. Волгодонск, улица 7-я Заводская, 48",description:"Никаэнергомаш Волгодонск",text:"Надёжные решения для промышленности",email:"info@nicaenergomash.ru",yandexmap:{"api-key":"5d54d356-b23a-4c91-8286-980718d0e710",location:""},navItems:[{label:"Производство",href:"/production"},{label:"Проектный офис",href:"/project"},{label:"Продукция",href:"/services"},{label:"Новости",href:"/news"},{label:"О Компании",href:"/about"},{label:"Контакты",href:"/contacts"}],navMenuItems:[{label:"Profile",href:"/profile"},{label:"Dashboard",href:"/dashboard"},{label:"Projects",href:"/projects"},{label:"Team",href:"/team"},{label:"Calendar",href:"/calendar"},{label:"Settings",href:"/settings"},{label:"Help & Feedback",href:"/help-feedback"},{label:"Logout",href:"/logout"}],links:{github:"https://github.com/nextui-org/nextui",twitter:"https://twitter.com/getnextui",docs:"https://nextui.org",discord:"https://discord.gg/9b6yyZKmH4",sponsor:"https://patreon.com/jrgarciadev"}}}}]);