(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{1070:function(e,t,s){Promise.resolve().then(s.bind(s,2193)),Promise.resolve().then(s.bind(s,4435)),Promise.resolve().then(s.bind(s,102)),Promise.resolve().then(s.bind(s,5758)),Promise.resolve().then(s.bind(s,1454)),Promise.resolve().then(s.bind(s,1514)),Promise.resolve().then(s.bind(s,5409)),Promise.resolve().then(s.bind(s,5715)),Promise.resolve().then(s.bind(s,6076)),Promise.resolve().then(s.bind(s,1633)),Promise.resolve().then(s.bind(s,6297)),Promise.resolve().then(s.bind(s,3172)),Promise.resolve().then(s.bind(s,571)),Promise.resolve().then(s.bind(s,282))},2193:function(e,t,s){"use strict";s.d(t,{default:function(){return n}});var a=s(7437),r=s(2265),l=s(8586);function n(){let{t:e}=(0,l.Z)(),[t,s]=(0,r.useState)(!1),n=t?e.about.paragraphs:e.about.paragraphs.slice(0,2);return(0,a.jsx)("section",{id:"about",className:"relative px-6 md:px-16 py-20 md:py-28 bg-elevated border-t border-subtle",children:(0,a.jsxs)("div",{className:"max-w-4xl mx-auto",children:[(0,a.jsx)("span",{className:"text-brand-400 text-sm font-semibold tracking-wide",children:e.about.eyebrow}),(0,a.jsx)("h2",{className:"text-2xl md:text-4xl font-extrabold brand-gradient-text mt-3 mb-8",children:e.about.legalName}),(0,a.jsx)("div",{className:"flex flex-col gap-5",children:n.map((e,t)=>(0,a.jsx)("p",{className:"text-secondary leading-8 text-base md:text-lg text-justify",children:e},t))}),(0,a.jsxs)("button",{onClick:()=>s(e=>!e),className:"mt-6 inline-flex items-center gap-2 text-brand-400 hover:text-brand-300 text-sm font-semibold transition-colors",children:[t?e.about.less:e.about.more,(0,a.jsx)("span",{className:"transition-transform ".concat(t?"rotate-180":""),children:"˅"})]})]})})}},4435:function(e,t,s){"use strict";s.d(t,{default:function(){return f}});var a=s(7437),r=s(8569),l=s(8427),n=s(2575),i=s(9108),c=s(3336),d=s(9707),o=s(1444),x=s(4249),m=s(8586),h=s(8472),u=s(357);let b=h.Z.create({baseURL:u.env.NEXT_PUBLIC_API_BASE_URL||"https://api.example.com",timeout:15e3,headers:{"Content-Type":"application/json"}});function p(e,t){return e.toLocaleString("fa"===t?"fa-IR":"en-US")}function f(){let e=(0,o.I0)(),t=(0,o.v9)(x.Vc),s=(0,o.v9)(x.D1),h=(0,o.v9)(x.ej),{t:u,locale:b,dir:f}=(0,m.Z)(),g="fa"===b?" ریال":" Rials",j=async()=>{r.ZP.info(u.cart.checkoutToast)};return(0,a.jsx)(l.Z,{title:u.cart.title,placement:"rtl"===f?"right":"left",onClose:()=>e((0,x.dL)()),open:t,width:400,children:0===s.length?(0,a.jsx)(n.Z,{description:(0,a.jsx)("span",{className:"text-secondary",children:u.cart.empty}),className:"mt-16"}):(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[s.map(t=>(0,a.jsxs)("div",{className:"flex items-center gap-3 bg-surface border border-subtle rounded-xl p-3",children:[(0,a.jsx)("img",{src:t.image,alt:t.name,className:"w-14 h-20 object-contain shrink-0"}),(0,a.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,a.jsx)("p",{className:"text-sm font-semibold text-primary truncate",children:t.name}),(0,a.jsxs)("p",{className:"text-xs text-brand-400 mt-1",children:[p(t.priceNumeric,b),g]}),(0,a.jsxs)("div",{className:"flex items-center gap-2 mt-2",children:[(0,a.jsx)(i.Z,{size:"small",min:1,value:t.qty,onChange:s=>{s>t.qty?e((0,x.Fp)(t.id)):se((0,x.h2)(t.id))})]})]})]},t.id)),(0,a.jsxs)("div",{className:"border-t border-subtle pt-4 mt-2",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between text-sm text-secondary mb-4",children:[(0,a.jsx)("span",{children:u.cart.total}),(0,a.jsxs)("span",{className:"text-lg font-bold text-primary",children:[p(h,b),g]})]}),(0,a.jsx)(c.ZP,{type:"primary",block:!0,size:"large",onClick:j,children:u.cart.checkout})]})]})})}b.interceptors.request.use(e=>{let t=window.localStorage.getItem("rm-auth-token");return t&&(e.headers.Authorization="Bearer ".concat(t)),e},e=>Promise.reject(e)),b.interceptors.response.use(e=>e,e=>(e.response?e.response.status:e.request,Promise.reject(e)))},102:function(e,t,s){"use strict";s.d(t,{default:function(){return x}});var a=s(7437),r=s(8569),l=s(3336),n=s(6115),i=s(1444),c=s(4249),d=s(8586);function o(e,t){return e.toLocaleString("fa"===t?"fa-IR":"en-US")}function x(){let{t:e,locale:t}=(0,d.Z)(),s=(0,i.I0)(),x="fa"===t?" ریال":" Rials",m=a=>{s((0,c.Xq)({id:"catalog-".concat(a.id),name:a.name,priceNumeric:a.priceNumeric,priceLabel:"".concat(o(a.priceNumeric,t)).concat(x),image:a.image})),r.ZP.success(e.catalog.addToast(a.name))};return(0,a.jsx)("section",{id:"catalog",className:"relative px-6 md:px-16 py-20 md:py-28 bg-page border-t border-subtle",children:(0,a.jsxs)("div",{className:"max-w-6xl mx-auto",children:[(0,a.jsxs)("div",{className:"text-center mb-4",children:[(0,a.jsx)("span",{className:"text-brand-400 text-sm font-semibold tracking-wide",children:e.catalog.eyebrow}),(0,a.jsx)("h2",{className:"text-2xl md:text-4xl font-extrabold brand-gradient-text mt-3",children:e.catalog.title})]}),(0,a.jsx)("p",{className:"text-secondary text-sm md:text-base text-center max-w-2xl mx-auto mb-12",children:e.catalog.subtitle}),(0,a.jsx)("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-5",children:e.catalog.items.map(s=>(0,a.jsxs)("div",{className:"bg-surface border border-subtle rounded-2xl p-5 flex flex-col hover:border-brand-500/60 transition-colors",children:[(0,a.jsxs)("div",{className:"flex items-center gap-4 mb-4",children:[(0,a.jsx)("img",{src:s.image,alt:s.name,className:"w-16 h-16 object-contain shrink-0"}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("span",{className:"text-[11px] text-brand-400 font-semibold",children:s.category}),(0,a.jsx)("h3",{className:"text-primary font-bold text-sm leading-6",children:s.name})]})]}),(0,a.jsxs)("div",{className:"mt-auto flex items-end justify-between gap-2",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("p",{className:"text-xs text-secondary line-through opacity-70",children:[o(s.originalPriceNumeric,t),x]}),(0,a.jsxs)("p",{className:"text-base font-bold text-primary",children:[o(s.priceNumeric,t),x]})]}),(0,a.jsx)(l.ZP,{type:"primary",size:"middle",icon:(0,a.jsx)(n.Z,{}),onClick:()=>m(s),children:e.catalog.addToOrder})]})]},s.id))})]})})}},5758:function(e,t,s){"use strict";s.d(t,{default:function(){return h}});var a=s(7437),r=s(2265),l=s(4182),n=s(9812),i=s(5289),c=s(3336),d=s(8560),o=s(6622),x=s(5710),m=s(8586);function h(){let{t:e,dir:t}=(0,m.Z)(),[s,h]=(0,r.useState)(!1),[u,b]=(0,r.useState)(""),[p,f]=(0,r.useState)([]),g=(0,r.useRef)(null);(0,r.useEffect)(()=>{f([{from:"bot",text:e.chat.initialBotMessage}])},[e.chat.initialBotMessage]),(0,r.useEffect)(()=>{var e;null===(e=g.current)||void 0===e||e.scrollTo({top:g.current.scrollHeight,behavior:"smooth"})},[p,s]);let j=()=>{let t=u.trim();t&&(f(e=>[...e,{from:"user",text:t}]),b(""),setTimeout(()=>{f(t=>[...t,{from:"bot",text:e.chat.fallbackReply}])},600))};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.Z,{title:e.chat.fabLabel,placement:"left",children:(0,a.jsx)("button",{onClick:()=>h(!0),"aria-label":e.chat.fabLabel,className:"fixed bottom-6 z-40 w-14 h-14 rounded-full bg-brand hover:bg-brand-400 text-ink-950 shadow-brandGlow flex items-center justify-center text-2xl transition-transform hover:scale-105",style:"rtl"===t?{left:"1.5rem"}:{right:"1.5rem"},children:(0,a.jsx)(d.Z,{})})}),(0,a.jsxs)(n.Z,{open:s,onCancel:()=>h(!1),footer:null,closeIcon:(0,a.jsx)(o.Z,{}),title:e.chat.title,centered:!0,children:[(0,a.jsx)("div",{ref:g,className:"flex flex-col gap-3 h-80 overflow-y-auto py-2 px-1",children:p.map((e,t)=>(0,a.jsx)("div",{className:"chat-bubble ".concat("user"===e.from?"self-end bg-brand text-ink-950":"self-start bg-surface-strong text-primary"),children:e.text},t))}),(0,a.jsxs)("div",{className:"flex items-center gap-2 mt-3 border-t border-subtle pt-3",children:[(0,a.jsx)(i.default,{size:"large",value:u,onChange:e=>b(e.target.value),onPressEnter:j,placeholder:e.chat.placeholder}),(0,a.jsx)(c.ZP,{type:"primary",size:"large",icon:(0,a.jsx)(x.Z,{}),onClick:j,children:e.chat.send})]})]})]})}},1454:function(e,t,s){"use strict";s.d(t,{default:function(){return o}});var a=s(7437),r=s(3938),l=s(9634),n=s(6773),i=s(3632),c=s(8586);let d={safety:r.Z,consulting:l.Z,installment:n.Z,packaging:i.Z};function o(){let{t:e}=(0,c.Z)();return(0,a.jsx)("section",{className:"relative px-6 md:px-16 py-16 md:py-20 bg-surface border-t border-subtle",children:(0,a.jsx)("div",{className:"max-w-6xl mx-auto grid sm:grid-cols-2 lg:grid-cols-4 gap-5",children:e.features.map(e=>{let t=d[e.icon];return(0,a.jsxs)("div",{className:"group bg-surface border border-subtle rounded-2xl p-6 text-center hover:border-brand-500/60 hover:bg-surface-strong transition-colors",children:[(0,a.jsx)("div",{className:"mx-auto mb-4 w-14 h-14 rounded-xl bg-brand/15 border border-subtle flex items-center justify-center text-brand-400 text-2xl group-hover:bg-brand/25 transition-colors",children:t&&(0,a.jsx)(t,{})}),(0,a.jsx)("h3",{className:"text-primary font-bold text-base mb-2",children:e.title}),(0,a.jsx)("p",{className:"text-secondary text-sm leading-6",children:e.description})]},e.id)})})})}},1514:function(e,t,s){"use strict";s.d(t,{default:function(){return i}});var a=s(7437),r=s(7435),l=s(3248),n=s(8586);function i(){let{t:e}=(0,n.Z)(),t=e.contactInfo;return(0,a.jsxs)("footer",{id:"contact",className:"relative border-t border-subtle bg-elevated",children:[(0,a.jsxs)("div",{className:"max-w-6xl mx-auto px-6 md:px-16 py-14 grid md:grid-cols-3 gap-10 text-center md:text-start",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-primary font-bold text-lg mb-3",children:e.footer.aboutLabel}),(0,a.jsx)("p",{className:"text-secondary text-sm leading-7",children:e.footer.aboutText}),(0,a.jsx)("div",{className:"flex flex-col gap-2 mt-4",children:t.socialLinks.map(e=>(0,a.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"text-brand-400 hover:text-brand-300 text-sm transition-colors",children:e.label},e.id))})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-primary font-bold text-lg mb-3",children:e.footer.quickLinks}),(0,a.jsxs)("ul",{className:"flex flex-col gap-2 text-sm text-secondary",children:[(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:"#hero",className:"hover:text-brand-400",children:e.nav.home})}),(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:"#showcase",className:"hover:text-brand-400",children:e.nav.showcase})}),(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:"#about",className:"hover:text-brand-400",children:e.nav.about})}),(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:"#catalog",className:"hover:text-brand-400",children:e.nav.catalog})}),(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:"#locations",className:"hover:text-brand-400",children:e.nav.locations})}),(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:"#video",className:"hover:text-brand-400",children:e.nav.video})}),(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:"#map",className:"hover:text-brand-400",children:e.nav.map})}),(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:"#support",className:"hover:text-brand-400",children:e.nav.support})})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-primary font-bold text-lg mb-3",children:e.footer.contactTitle}),(0,a.jsxs)("div",{className:"flex flex-col gap-4 text-sm text-secondary",children:[(0,a.jsxs)("a",{href:"tel:".concat(t.orderPhoneHref),className:"flex items-center justify-center md:justify-start gap-2 hover:text-brand-400 transition-colors",dir:"ltr",children:[(0,a.jsx)(r.Z,{}),(0,a.jsx)("span",{children:t.orderPhone})]}),(0,a.jsxs)("div",{className:"flex items-start justify-center md:justify-start gap-2",children:[(0,a.jsx)(l.Z,{className:"mt-0.5 shrink-0"}),(0,a.jsxs)("div",{className:"text-start",children:[(0,a.jsx)("p",{className:"text-primary-90 font-semibold mb-1",children:e.footer.salesLabel}),(0,a.jsx)("p",{className:"leading-7",children:t.salesOfficeAddress})]})]}),(0,a.jsxs)("div",{className:"flex items-start justify-center md:justify-start gap-2",children:[(0,a.jsx)(l.Z,{className:"mt-0.5 shrink-0"}),(0,a.jsxs)("div",{className:"text-start",children:[(0,a.jsx)("p",{className:"text-primary-90 font-semibold mb-1",children:e.footer.factoryLabel}),(0,a.jsx)("p",{className:"leading-7",children:t.factoryAddress})]})]})]})]})]}),(0,a.jsxs)("div",{className:"border-t border-subtle py-5 text-center text-xs text-secondary",children:["\xa9 ",new Date().getFullYear()," ",e.footer.aboutLabel,". ",e.footer.rights]})]})}},5409:function(e,t,s){"use strict";s.d(t,{default:function(){return N}});var a=s(7437),r=s(2265),l=s(6648),n=s(3336),i=s(6001),c=s(5630),d=s(5131),o=s(6622),x=s(8169),m=s(1444),h=s(4249),u=s(8586),b=s(4182),p=s(1795),f=s(2393),g=s(6997);function j(){let{theme:e,toggleTheme:t}=(0,g.F)();return(0,a.jsx)(b.Z,{title:"dark"===e?"Light mode":"Dark mode",children:(0,a.jsx)(n.ZP,{shape:"circle",size:"large",onClick:t,"aria-label":"toggle theme",icon:"dark"===e?(0,a.jsx)(p.Z,{}):(0,a.jsx)(f.Z,{})})})}function v(){let{locale:e,toggleLocale:t}=(0,u.Z)();return(0,a.jsx)(b.Z,{title:"fa"===e?"Switch to English":"تغییر به فارسی",children:(0,a.jsx)(n.ZP,{shape:"circle",size:"large",onClick:t,"aria-label":"toggle language",children:"fa"===e?"EN":"فا"})})}function N(){let e=(0,m.I0)(),t=(0,m.v9)(h.z4),{t:s}=(0,u.Z)(),[b,p]=(0,r.useState)(!1),[f,g]=(0,r.useState)(!1),N=[{href:"#hero",label:s.nav.home},{href:"#showcase",label:s.nav.showcase},{href:"#about",label:s.nav.about},{href:"#catalog",label:s.nav.catalog},{href:"#locations",label:s.nav.locations},{href:"#video",label:s.nav.video},{href:"#map",label:s.nav.map},{href:"#support",label:s.nav.support}];return(0,r.useEffect)(()=>{let e=()=>p(window.scrollY>24);return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,a.jsxs)("header",{className:"fixed top-0 inset-x-0 z-50 transition-all duration-300 ".concat(b?"bg-page-85 backdrop-blur-md shadow-[0_1px_0_0_rgba(0,166,147,0.25)]":"bg-transparent"),children:[(0,a.jsxs)("div",{className:"mx-auto max-w-7xl px-5 md:px-8 h-20 flex items-center justify-between gap-4",children:[(0,a.jsx)("a",{href:"#hero",className:"flex items-center gap-2 shrink-0",children:(0,a.jsx)(l.default,{src:"/images/logo.png",alt:"روبات مارکت",width:150,height:42,priority:!0})}),(0,a.jsx)("nav",{className:"hidden xl:flex items-center gap-5 2xl:gap-7",children:N.map(e=>(0,a.jsx)("a",{href:e.href,className:"text-sm text-secondary hover:text-brand-300 transition-colors whitespace-nowrap",children:e.label},e.href))}),(0,a.jsxs)("div",{className:"flex items-center gap-2 md:gap-3",children:[(0,a.jsxs)("div",{className:"hidden md:flex items-center gap-2",children:[(0,a.jsx)(v,{}),(0,a.jsx)(j,{})]}),(0,a.jsx)(n.ZP,{className:"hidden sm:inline-flex",icon:(0,a.jsx)(c.Z,{}),href:"https://panel.my-rm.com",target:"_blank",rel:"noopener noreferrer",children:s.nav.login}),(0,a.jsx)(i.Z,{count:t,size:"small",offset:[-2,2],children:(0,a.jsx)(n.ZP,{shape:"circle",size:"large",icon:(0,a.jsx)(d.Z,{}),onClick:()=>e((0,h.FJ)()),"aria-label":"cart"})}),(0,a.jsx)("button",{className:"xl:hidden text-brand-400 text-2xl",onClick:()=>g(e=>!e),"aria-label":"menu",children:f?(0,a.jsx)(o.Z,{}):(0,a.jsx)(x.Z,{})})]})]}),f&&(0,a.jsxs)("nav",{className:"xl:hidden bg-elevated-95 backdrop-blur-md border-t border-subtle px-5 py-4 flex flex-col gap-4 max-h-[calc(100vh-5rem)] overflow-y-auto",children:[N.map(e=>(0,a.jsx)("a",{href:e.href,onClick:()=>g(!1),className:"text-secondary text-base",children:e.label},e.href)),(0,a.jsxs)("div",{className:"flex items-center gap-3 pt-2 border-t border-subtle",children:[(0,a.jsx)(v,{}),(0,a.jsx)(j,{}),(0,a.jsx)(n.ZP,{icon:(0,a.jsx)(c.Z,{}),className:"flex-1",children:s.nav.login})]})]})]})}},5715:function(e,t,s){"use strict";s.d(t,{default:function(){return c}});var a=s(7437),r=s(2265),l=s(5858),n=s(8001),i=s(8586);function c(){let{t:e,dir:t}=(0,i.Z)(),s=e.hero.slides,[c,d]=(0,r.useState)(0),o=(0,r.useRef)(null),x=(0,r.useCallback)(()=>{d(e=>(e+1)%s.length)},[s.length]),m=(0,r.useCallback)(()=>{d(e=>(e-1+s.length)%s.length)},[s.length]),h=(0,r.useCallback)(()=>{o.current&&clearInterval(o.current),o.current=setInterval(x,5e3)},[x]);(0,r.useEffect)(()=>(h(),()=>{o.current&&clearInterval(o.current)}),[h]);let u=e=>{"next"===e?x():m(),h()},b=s[c];return(0,a.jsxs)("section",{id:"hero",className:"relative h-screen w-full overflow-hidden bg-page",children:[(0,a.jsx)("div",{className:"absolute inset-y-0 w-1/3 hidden md:block",style:{background:"linear-gradient(135deg, #00a693 0%, #017065 60%, #0b3d38 100%)",clipPath:"rtl"===t?"polygon(30% 0, 100% 0, 100% 100%, 0% 100%)":"polygon(0 0, 70% 0, 100% 100%, 0% 100%)"}}),(0,a.jsx)("div",{className:"absolute inset-0",children:s.map((e,t)=>(0,a.jsx)("div",{className:"absolute inset-0 flex items-center justify-center transition-opacity duration-1000 ease-in-out",style:{opacity:t===c?1:0,pointerEvents:t===c?"auto":"none"},"aria-hidden":t!==c,children:(0,a.jsx)("img",{src:e.image,alt:e.titleLines.join(" "),className:"h-[55%] md:h-[70%] w-auto object-contain drop-shadow-2xl"})},e.id))}),(0,a.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(180deg, rgba(4,18,15,0.05) 0%, rgba(4,18,15,0.15) 60%, rgba(4,18,15,0.35) 100%)"}}),(0,a.jsx)("div",{className:"relative z-10 h-full flex flex-col justify-end md:justify-end px-6 md:px-16 pb-28 md:pb-72",children:(0,a.jsxs)("div",{className:"max-w-2xl",children:[(0,a.jsx)("span",{className:"text-brand-400 font-semibold tracking-widest text-sm uppercase",children:b.kicker}),(0,a.jsx)("h1",{className:"mt-3 text-3xl sm:text-4xl md:text-6xl font-extrabold leading-tight text-white drop-shadow-[0_4px_12px_rgba(0,0,0,0.9)]",children:b.titleLines.map((e,t)=>(0,a.jsx)("span",{className:"block",children:e},t))}),(0,a.jsx)("p",{className:"mt-5 text-white/90 text-base md:text-lg max-w-xl drop-shadow-lg",children:b.sub}),(0,a.jsx)("a",{href:"#showcase",className:"mt-8 inline-flex items-center gap-2 bg-brand hover:bg-brand-400 text-ink-950 font-bold px-8 py-3.5 rounded-full transition-colors shadow-brandGlow",children:e.hero.cta})]})}),(0,a.jsx)("button",{onClick:()=>u("prev"),"aria-label":"previous slide",className:"hidden sm:flex absolute top-1/2 -translate-y-1/2 start-4 z-20 w-11 h-11 rounded-full bg-page-70 border border-subtle items-center justify-center text-primary hover:bg-brand hover:text-ink-950 transition-colors",children:(0,a.jsx)(l.Z,{})}),(0,a.jsx)("button",{onClick:()=>u("next"),"aria-label":"next slide",className:"hidden sm:flex absolute top-1/2 -translate-y-1/2 end-4 z-20 w-11 h-11 rounded-full bg-page-70 border border-subtle items-center justify-center text-primary hover:bg-brand hover:text-ink-950 transition-colors",children:(0,a.jsx)(n.Z,{})}),(0,a.jsx)("div",{className:"absolute bottom-8 inset-x-0 z-20 flex justify-center gap-2",children:s.map((e,t)=>(0,a.jsx)("button",{onClick:()=>{d(t),h()},"aria-label":"slide ".concat(t+1),className:"h-2 rounded-full transition-all ".concat(t===c?"w-8 bg-brand":"w-2 bg-brand/30 hover:bg-brand/60")},e.id))})]})}},6076:function(e,t,s){"use strict";s.d(t,{default:function(){return n}});var a=s(7437),r=s(8586),l=s(7210);function n(){let{t:e}=(0,r.Z)();return(0,a.jsx)("section",{id:"video",className:"relative px-6 md:px-16 py-20 md:py-28 bg-elevated border-t border-subtle",children:(0,a.jsxs)("div",{className:"max-w-5xl mx-auto text-center",children:[(0,a.jsx)("span",{className:"text-brand-400 text-sm font-semibold tracking-wide",children:e.introVideo.eyebrow}),(0,a.jsx)("h2",{className:"text-2xl md:text-4xl font-extrabold brand-gradient-text mt-3 mb-3",children:e.introVideo.title}),(0,a.jsx)("p",{className:"text-secondary text-sm md:text-base mb-10",children:e.introVideo.subtitle}),(0,a.jsx)("div",{className:"rounded-2xl overflow-hidden border border-subtle shadow-brandGlow",children:(0,a.jsxs)("video",{controls:!0,poster:l.xB,className:"w-full aspect-video bg-black",children:[(0,a.jsx)("source",{src:l.ut,type:"video/mp4"}),e.introVideo.videoNotSupported]})})]})})}},1633:function(e,t,s){"use strict";s.d(t,{default:function(){return m}});var a=s(7437),r=s(1725),l=s(2577),n=s(5695),i=s(5373),c=s(4433),d=s(1560),o=s(8586);let x={hotel:r.Z,school:l.Z,pharmacy:n.Z,hospital:i.Z,night:c.Z,specialty:d.Z};function m(){let{t:e}=(0,o.Z)();return(0,a.jsx)("section",{id:"locations",className:"relative px-6 md:px-16 py-20 md:py-28 bg-surface border-t border-subtle",children:(0,a.jsxs)("div",{className:"max-w-6xl mx-auto",children:[(0,a.jsx)("div",{className:"text-center mb-12",children:(0,a.jsx)("h2",{className:"text-2xl md:text-4xl font-extrabold brand-gradient-text",children:e.locations.title})}),(0,a.jsx)("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-5",children:e.locations.items.map(e=>{let t=x[e.icon];return(0,a.jsxs)("div",{className:"bg-page-60 border border-subtle rounded-2xl p-6 hover:border-brand-500/60 transition-colors",children:[(0,a.jsx)("div",{className:"w-12 h-12 rounded-xl bg-brand/15 border border-subtle flex items-center justify-center text-brand-400 text-xl mb-4",children:t&&(0,a.jsx)(t,{})}),(0,a.jsx)("h3",{className:"text-primary font-bold text-base mb-2",children:e.title}),(0,a.jsx)("p",{className:"text-secondary text-sm leading-7",children:e.description})]},e.id)})})]})})}},6297:function(e,t,s){"use strict";s.d(t,{default:function(){return x}});var a=s(7437),r=s(2265),l=s(3248),n=s(8586),i=s(6997),c=s(7210);s(6648);let d=s(357).env.NEXT_PUBLIC_NESHAN_API_KEY||"";function o(e){let{coords:t,mapStyle:s,alt:i}=e,[c,o]=(0,r.useState)(!1),{t:x}=(0,n.Z)();return!d||c?(0,a.jsxs)("div",{className:"w-full h-full min-h-[280px] flex flex-col items-center justify-center gap-3 bg-surface text-secondary text-sm text-center p-6",children:[(0,a.jsx)(l.Z,{className:"text-3xl text-brand-400"}),(0,a.jsx)("p",{children:x.map.configNotice})]}):(0,a.jsx)("img",{src:function(e,t){let{lat:s,lng:a}=e,r=new URLSearchParams({key:d,type:t,center:"".concat(s,",").concat(a),zoom:"15",size:"600x400",marker:"".concat(s,",").concat(a)});return"https://api.neshan.org/v5/static?".concat(r.toString())}(t,s),alt:i,onError:()=>o(!0),className:"w-full h-full object-cover"})}function x(){let{t:e}=(0,n.Z)(),{theme:t}=(0,i.F)(),s=[{key:"factory",label:e.map.factoryLabel,coords:c.$S.factory,address:e.contactInfo.factoryAddress},{key:"sales",label:e.map.salesLabel,coords:c.$S.salesOffice,address:e.contactInfo.salesOfficeAddress}];return(0,a.jsx)("section",{id:"map",className:"relative px-6 md:px-16 py-20 md:py-28 bg-page border-t border-subtle",children:(0,a.jsxs)("div",{className:"max-w-6xl mx-auto",children:[(0,a.jsxs)("div",{className:"text-center mb-12",children:[(0,a.jsx)("span",{className:"text-brand-400 text-sm font-semibold tracking-wide",children:e.map.eyebrow}),(0,a.jsx)("h2",{className:"text-2xl md:text-4xl font-extrabold brand-gradient-text mt-3",children:e.map.title})]}),(0,a.jsxs)("div",{className:"grid lg:grid-cols-[1.3fr,1fr] gap-6",children:[(0,a.jsx)("div",{className:"rounded-2xl overflow-hidden border border-subtle h-[360px] lg:h-auto min-h-[360px]",children:(0,a.jsx)(o,{coords:s[0].coords,mapStyle:"dark"===t?"standard-night":"standard-day",alt:s[0].label})}),(0,a.jsx)("div",{className:"flex flex-col gap-4",children:s.map(t=>(0,a.jsx)("div",{className:"bg-surface border border-subtle rounded-2xl p-5",children:(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("div",{className:"w-10 h-10 shrink-0 rounded-lg bg-brand/15 border border-subtle flex items-center justify-center text-brand-400",children:(0,a.jsx)(l.Z,{})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-primary font-bold text-sm mb-1",children:t.label}),(0,a.jsx)("p",{className:"text-secondary text-sm leading-7 mb-2",children:t.address}),(0,a.jsxs)("a",{href:function(e){let{lat:t,lng:s}=e;return"https://neshan.org/maps/@".concat(t,",").concat(s,",15z")}(t.coords),target:"_blank",rel:"noopener noreferrer",className:"text-brand-400 hover:text-brand-300 text-xs font-semibold transition-colors",children:[e.map.openInMaps," ↗"]})]})]})},t.key))})]})]})})}},3172:function(e,t,s){"use strict";s.d(t,{default:function(){return v}});var a=s(7437),r=s(2265),l=s(9582),n=s(1204),i=s(8569),c=s(9812),d=s(3336),o=s(5131),x=s(1444),m=s(3098),h=s(4249),u=s(8586);function b(e){let{items:t}=e,s=(0,r.useRef)(null);return(0,r.useEffect)(()=>{var e;let t=null===(e=s.current)||void 0===e?void 0:e.querySelectorAll("[data-float-item]");if(!t)return;let a=Array.from(t).map((e,t)=>{let s=4+6*Math.random();return l.p8.to(e,{y:"+=".concat(14+14*Math.random()),rotate:t%2==0?s:-s,duration:3.5+2.5*Math.random(),ease:"sine.inOut",yoyo:!0,repeat:-1,delay:1.5*Math.random()})});return()=>a.forEach(e=>e.kill())},[t]),(0,a.jsx)("div",{ref:s,className:"absolute inset-0 pointer-events-none hidden md:block",children:t.map(e=>(0,a.jsx)("img",{"data-float-item":!0,src:e.image,alt:"","aria-hidden":"true",className:"absolute drop-shadow-[0_8px_20px_rgba(0,0,0,0.35)]",style:{top:e.top,left:e.left,width:e.size,height:"auto"}},e.id))})}var p=s(7210);function f(e){let{machine:t,onQuickView:s}=e,l=(0,x.I0)(),{t:n,dir:c}=(0,u.Z)(),f=(0,r.useRef)(null),g=(0,r.useRef)(null),j=(0,r.useRef)(null);return(0,a.jsx)("div",{className:"horizontal-panel flex items-center justify-center px-6 md:px-16",dir:c,children:(0,a.jsxs)("div",{className:"relative z-10 max-w-6xl w-full grid md:grid-cols-2 gap-0 md:gap-10 items-center",children:[(0,a.jsxs)("div",{ref:f,onMouseMove:e=>{let t=f.current;if(!t)return;let s=t.getBoundingClientRect(),a=e.clientX-s.left,r=e.clientY-s.top;g.current&&(g.current.style.transform="translate(".concat(a,"px, ").concat(r,"px) translate(-50%, -50%)")),j.current&&(j.current.style.clipPath="circle(95px at ".concat(a,"px ").concat(r,"px)"))},onMouseLeave:()=>{j.current&&(j.current.style.clipPath="circle(0px at 50% 50%)")},className:"spotlight-stage relative h-48 md:h-[500px] flex items-center justify-center",children:[(0,a.jsx)(b,{items:p.y}),(0,a.jsx)("img",{src:t.image,alt:t.name,className:"base-layer z-10"}),(0,a.jsx)("img",{ref:j,src:t.imageAlt,alt:"".concat(t.name," - ").concat(n.machineActions.altVariant),className:"reveal-layer z-20"}),(0,a.jsx)("div",{ref:g,className:"spotlight-lens"}),(0,a.jsx)("span",{className:"absolute hidden md:block top-3 z-30 text-[11px] px-3 py-1 rounded-full bg-brand/15 border border-subtle text-brand-400 start-3",children:n.machineActions.hoverHint})]}),(0,a.jsxs)("div",{className:"flex flex-col justify-center items-center gap-5 ",children:[(0,a.jsx)("span",{className:"text-brand-400 text-sm font-semibold tracking-wide",children:t.shortLabel}),(0,a.jsx)("h3",{className:"text-2xl md:text-4xl font-extrabold text-primary",children:t.name}),(0,a.jsxs)("div",{className:"grid grid-cols-[auto,1fr] gap-4 items-start bg-surface border border-subtle rounded-2xl p-4",children:[(0,a.jsx)("img",{src:t.gif,alt:n.machineActions.gifAlt(t.name),className:"w-28 h-14 md:w-32 md:h-24 object-cover rounded-lg border border-subtle"}),(0,a.jsx)("p",{className:"text-sm md:text-base text-secondary md:leading-7",children:t.description})]}),(0,a.jsx)("ul",{className:"flex flex-wrap gap-2",children:t.highlights.map(e=>(0,a.jsx)("li",{className:"text-xs md:text-sm text-brand-400 bg-brand/10 border border-subtle rounded-full px-3 py-1",children:e},e))}),(0,a.jsx)("p",{className:"text-xl md:text-2xl font-bold text-primary mt-2",children:t.priceLabel}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2 mt-2 ",children:[(0,a.jsx)(d.ZP,{type:"primary",size:"large",icon:(0,a.jsx)(o.Z,{}),onClick:()=>{l((0,h.Xq)({id:t.id,name:t.name,priceNumeric:t.priceNumeric,priceLabel:t.priceLabel,image:t.image})),i.ZP.success(n.cart.addToast(t.name))},children:n.machineActions.addToCart}),(0,a.jsx)(d.ZP,{size:"large",icon:(0,a.jsx)(m.Z,{}),onClick:()=>null==s?void 0:s(t),children:n.machineActions.quickView})]})]})]})})}function g(){let e=(0,r.useRef)(null),t=(0,r.useRef)(null),s=(0,r.useRef)(null),n=(0,x.I0)(),{t:m}=(0,u.Z)(),[b,g]=(0,r.useState)(null),[j,v]=(0,r.useState)(!0);return(0,r.useEffect)(()=>{let a=l.p8.context(()=>{let a=t.current,r=e.current;if(!a||!r)return;let n=()=>Math.max(a.scrollWidth-window.innerWidth,0),i=null,c=0,d=e=>{c=e,null===i&&(i=window.requestAnimationFrame(()=>{let e=s.current;e&&Number.isFinite(e.duration)&&e.duration>0&&(e.currentTime=c*e.duration),i=null}))},o=l.p8.to(a,{x:()=>-n(),ease:"none",scrollTrigger:{trigger:r,start:"top top",end:()=>"+=".concat(n()),scrub:1,pin:!0,invalidateOnRefresh:!0,onUpdate:e=>d(e.progress)}});return()=>{var e;null!==i&&window.cancelAnimationFrame(i),null===(e=o.scrollTrigger)||void 0===e||e.kill(),o.kill()}},e);return()=>a.revert()},[]),(0,a.jsxs)("section",{id:"showcase",ref:e,className:"relative w-full overflow-hidden",children:[(0,a.jsxs)("div",{className:"absolute inset-0 z-0",children:[j&&(0,a.jsx)("video",{ref:s,src:p.Ne,muted:!0,playsInline:!0,preload:"auto",className:"w-full h-full object-cover opacity-60",onError:()=>v(!1)}),(0,a.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(180deg, rgba(4,18,15,0.55) 0%, rgba(7,30,25,0.3) 50%, rgba(4,18,15,0.6) 100%)"}})]}),(0,a.jsx)("div",{ref:t,className:"horizontal-track relative z-10",dir:"ltr",children:m.machines.map(e=>(0,a.jsx)(f,{machine:e,onQuickView:g},e.id))}),(0,a.jsx)(c.Z,{open:!!b,onCancel:()=>g(null),footer:null,centered:!0,title:null==b?void 0:b.name,children:b&&(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("img",{src:b.image,alt:b.name,className:"w-full h-64 object-contain"}),(0,a.jsx)("p",{className:"text-secondary leading-7",children:b.description}),(0,a.jsx)("p",{className:"text-xl font-bold text-primary",children:b.priceLabel}),(0,a.jsx)(d.ZP,{type:"primary",size:"large",icon:(0,a.jsx)(o.Z,{}),onClick:()=>{b&&(n((0,h.Xq)({id:b.id,name:b.name,priceNumeric:b.priceNumeric,priceLabel:b.priceLabel,image:b.image})),i.ZP.success(m.cart.addToast(b.name)),g(null))},children:m.machineActions.addToCart})]})})]})}function j(){let e=(0,x.I0)(),{t,dir:s}=(0,u.Z)(),[l,n]=(0,r.useState)(null),m=s=>{e((0,h.Xq)({id:s.id,name:s.name,priceNumeric:s.priceNumeric,priceLabel:s.priceLabel,image:s.image})),i.ZP.success(t.cart.addToast(s.name))};return(0,a.jsxs)("section",{id:"showcase",className:"relative w-full py-8 px-4",dir:s,children:[(0,a.jsx)("div",{className:"flex flex-col gap-4",children:t.machines.map(e=>(0,a.jsxs)("div",{className:"flex gap-4 items-center bg-surface border border-subtle rounded-2xl p-4",children:[(0,a.jsx)("img",{src:e.image,alt:e.name,className:"w-24 h-24 object-contain shrink-0",onClick:()=>n(e)}),(0,a.jsxs)("div",{className:"flex flex-col gap-1.5 min-w-0 flex-1",children:[(0,a.jsx)("span",{className:"text-brand-400 text-xs font-semibold tracking-wide",children:e.shortLabel}),(0,a.jsx)("h3",{className:"text-lg font-bold text-primary truncate",children:e.name}),(0,a.jsx)("p",{className:"text-sm text-secondary line-clamp-2",children:e.description}),(0,a.jsx)("p",{className:"text-base font-bold text-primary mt-1",children:e.priceLabel}),(0,a.jsx)("div",{className:"flex justify-start items-center mt-3",children:(0,a.jsx)(d.ZP,{type:"primary",size:"middle",icon:(0,a.jsx)(o.Z,{}),onClick:()=>m(e),children:t.machineActions.addToCart})})]})]},e.id))}),(0,a.jsx)(c.Z,{open:!!l,onCancel:()=>n(null),footer:null,centered:!0,title:null==l?void 0:l.name,children:l&&(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("img",{src:l.image,alt:l.name,className:"w-full h-64 object-contain"}),(0,a.jsx)("p",{className:"text-secondary leading-7",children:l.description}),(0,a.jsx)("p",{className:"text-xl font-bold text-primary",children:l.priceLabel}),(0,a.jsx)(d.ZP,{type:"primary",size:"large",icon:(0,a.jsx)(o.Z,{}),onClick:()=>{l&&(m(l),n(null))},children:t.machineActions.addToCart})]})})]})}function v(){let[e,t]=(0,r.useState)(null);return((0,r.useEffect)(()=>{let e=window.matchMedia("(max-width: ".concat(767,"px)")),s=e=>t(e.matches);return t(e.matches),e.addEventListener("change",s),()=>e.removeEventListener("change",s)},[]),null===e)?null:e?(0,a.jsx)(j,{}):(0,a.jsx)(g,{})}l.p8.registerPlugin(n.i)},571:function(e,t,s){"use strict";s.d(t,{default:function(){return x}});var a=s(7437),r=s(5289),l=s(6714),n=s(8569),i=s(5343),c=s(3336),d=s(8586);let{TextArea:o}=r.default;function x(){let{t:e,locale:t}=(0,d.Z)(),[s]=l.Z.useForm(),x=async t=>{console.log("Ticket submitted (placeholder):",t),n.ZP.success(e.ticket.successMsg),s.resetFields()};return(0,a.jsx)("section",{id:"support",className:"relative px-6 md:px-16 py-20 md:py-28 bg-surface border-t border-subtle",children:(0,a.jsxs)("div",{className:"max-w-2xl mx-auto",children:[(0,a.jsxs)("div",{className:"text-center mb-10",children:[(0,a.jsx)("span",{className:"text-brand-400 text-sm font-semibold tracking-wide",children:e.ticket.eyebrow}),(0,a.jsx)("h2",{className:"text-2xl md:text-4xl font-extrabold brand-gradient-text mt-3 mb-3",children:e.ticket.title}),(0,a.jsx)("p",{className:"text-secondary text-sm md:text-base",children:e.ticket.subtitle})]}),(0,a.jsxs)(l.Z,{form:s,layout:"vertical",onFinish:x,requiredMark:!1,initialValues:{priority:"medium"},children:[(0,a.jsxs)("div",{className:"grid md:grid-cols-2 gap-x-4",children:[(0,a.jsx)(l.Z.Item,{label:(0,a.jsx)("span",{className:"text-secondary",children:e.ticket.name}),name:"name",rules:[{required:!0,message:e.ticket.requiredMsg}],children:(0,a.jsx)(r.default,{size:"large",placeholder:e.ticket.namePlaceholder})}),(0,a.jsx)(l.Z.Item,{label:(0,a.jsx)("span",{className:"text-secondary",children:e.ticket.phone}),name:"phone",rules:[{required:!0,message:e.ticket.requiredMsg},{pattern:/^[0-9+\s-]{7,15}$/,message:e.ticket.invalidPhone}],children:(0,a.jsx)(r.default,{size:"large",placeholder:e.ticket.phonePlaceholder,dir:"ltr"})})]}),(0,a.jsxs)("div",{className:"grid md:grid-cols-2 gap-x-4",children:[(0,a.jsx)(l.Z.Item,{label:(0,a.jsx)("span",{className:"text-secondary",children:e.ticket.email}),name:"email",rules:[{type:"email",message:e.ticket.invalidEmail}],children:(0,a.jsx)(r.default,{size:"large",placeholder:e.ticket.emailPlaceholder,dir:"ltr"})}),(0,a.jsx)(l.Z.Item,{label:(0,a.jsx)("span",{className:"text-secondary",children:e.ticket.priority}),name:"priority",children:(0,a.jsx)(i.Z,{size:"large",options:e.ticket.priorities.map(e=>({value:e.value,label:e.label}))})})]}),(0,a.jsx)(l.Z.Item,{label:(0,a.jsx)("span",{className:"text-secondary",children:e.ticket.subject}),name:"subject",rules:[{required:!0,message:e.ticket.requiredMsg}],children:(0,a.jsx)(r.default,{size:"large",placeholder:e.ticket.subjectPlaceholder})}),(0,a.jsx)(l.Z.Item,{label:(0,a.jsx)("span",{className:"text-secondary",children:e.ticket.message}),name:"message",rules:[{required:!0,message:e.ticket.requiredMsg}],children:(0,a.jsx)(o,{rows:5,placeholder:e.ticket.messagePlaceholder})}),(0,a.jsx)(l.Z.Item,{className:"mb-0",children:(0,a.jsx)(c.ZP,{type:"primary",size:"large",htmlType:"submit",block:!0,children:e.ticket.submit})})]})]})})}},282:function(e,t,s){"use strict";s.d(t,{default:function(){return l}});var a=s(7437),r=s(8586);function l(){let{t:e}=(0,r.Z)(),t=e.trustedBy.clients,s=[...t,...t];return(0,a.jsxs)("section",{className:"relative px-6 md:px-16 py-16 md:py-20 bg-page border-t border-subtle overflow-hidden",children:[(0,a.jsx)("div",{className:"max-w-6xl mx-auto",children:(0,a.jsxs)("div",{className:"text-center mb-10",children:[(0,a.jsx)("span",{className:"text-brand-400 text-sm font-semibold tracking-wide",children:e.trustedBy.eyebrow}),(0,a.jsx)("h2",{className:"text-xl md:text-2xl font-extrabold text-primary mt-2",children:e.trustedBy.title})]})}),(0,a.jsx)("div",{className:"relative",style:{maskImage:"linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%)",WebkitMaskImage:"linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%)"},children:(0,a.jsx)("div",{className:"flex w-max animate-marquee gap-10",dir:"ltr",children:s.map((e,s)=>(0,a.jsx)("div",{className:"w-40 md:w-48 shrink-0 flex items-center justify-center bg-surface border border-subtle rounded-xl p-4 opacity-80 hover:opacity-100 transition-opacity",children:(0,a.jsx)("img",{src:"/images/clients/client-".concat(s%t.length+1,".svg"),alt:e.name,className:"w-full h-auto"})},"".concat(e.id,"-").concat(s)))})})]})}}},function(e){e.O(0,[922,898,111,626,971,23,744],function(){return e(e.s=1070)}),_N_E=e.O()}]);