import{ac as o,j as t,a7 as m,a8 as E}from"./main-ac2fa4b1.js";import{r as N}from"./chunk-react-162a731f.js";import{a as x,T as S}from"./chunk-index-b15ac92f.js";import{T as u}from"./chunk-index-280fea8d.js";import{B as h,a as A}from"./chunk-index-06e3c389.js";import{a as L}from"./chunk-index-89a69707.js";import{D as I}from"./chunk-index-dbde51c6.js";import{m as T,B as g,C as j,G as r,H as p}from"./chunk-material-ui-42c43899.js";const e="/about/",f=[{NAME:"Рћ нас",LINK:e,NESTED_LINKS:[]},{NAME:"Адреса магазинов",LINK:e+o.SHOPS,NESTED_LINKS:[]},{NAME:"Траектория РІ РЎРњР",LINK:e+o.MEDIA,NESTED_LINKS:[]},{NAME:"Контакты",LINK:e+o.CONTACTS,NESTED_LINKS:[]},{NAME:"Блог",LINK:e+o.BLOG,NESTED_LINKS:[]},{NAME:"Вакансии",LINK:e+o.VACANCY,NESTED_LINKS:[]},{NAME:"Акции",LINK:e+o.SHARES,NESTED_LINKS:[]},{NAME:"Реквизиты",LINK:e+o.REQUISITES,NESTED_LINKS:[]}],K=[{id:0,path:e,title:"Рћ нас",activeOnlyWhenExact:!0},{id:1,path:e+o.SHOPS,title:"Адреса магазинов"},{id:2,path:e+o.MEDIA,title:"Траектория РІ РЎРњР"},{id:3,path:e+o.CONTACTS,title:"Контакты"},{id:4,path:"/blog/",title:"Блог",component:s=>t.jsx("a",{href:"/blog/",title:"Блог",...s})},{id:5,path:e+o.VACANCY,title:"Вакансии"},{id:6,path:e+o.SHARES,title:"Акции"},{id:7,path:e+o.REQUISITES,title:"Реквизиты"}],b=T(s=>({HelpPageWrapper:{backgroundColor:"#fff",paddingTop:56,paddingBottom:40,borderTop:"1px solid #E0E3E6","@media (max-width: 1024px)":{paddingTop:24}},menuLink:{color:s.color.black100,backgroundColor:"unset",textAlign:"left",display:"block",paddingTop:"8px",paddingBottom:"8px",fontSize:"16px"},menuLinkActive:{color:s.color.blue,backgroundColor:"unset"},seoBlockStyle:{paddingBlockStart:56}}),{name:"HelpPage"}),R=({routes:s=[],children:d})=>{const n=b(),i=N.useContext(L),l=i==null?void 0:i.seoBlock;return t.jsx(g,{className:n.HelpPageWrapper,children:t.jsx(j,{fixed:!0,maxWidth:"lg",children:t.jsxs(r,{container:!0,justifyContent:"space-between",spacing:3,children:[t.jsx(h,{items:i==null?void 0:i.breadcrumb,children:t.jsx(A,{})}),t.jsx(p,{mdDown:!0,children:t.jsx(r,{item:!0,xl:3,lg:3,sm:12,md:12,xs:12,children:t.jsx(u,{PaperProps:{elevation:0},children:K.map(a=>t.jsx(x,{variant:"light",to:a.path,primary:a.title,component:a.component},a.id))})})}),t.jsx(p,{lgUp:!0,children:t.jsx(S,{menuLinks:f})}),t.jsxs(r,{item:!0,lg:9,xs:12,children:[t.jsx(m,{children:s.map((a,c)=>t.jsx(E,{index:a.index,path:a.path,element:t.jsx(a.component,{})},c))}),d]}),l&&t.jsx(r,{className:n.seoBlockStyle,children:t.jsx(I,{seoBlock:l})})]})})})};export{R as A};