(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6228],{86270:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tos/[selectedTab]",function(){return t(2281)}])},2281:function(e,s,t){"use strict";t.r(s),t.d(s,{__N_SSG:function(){return u},default:function(){return p}});var n=t(85893),c=t(9008),i=t.n(c),l=t(88913),r=t.n(l),a=t(35980),o=t(5050),d=t(67294),m=t(41664),_=t.n(m),h=t(35300),j=t(55684);let x=e=>{let{value:s}=e,[t,...c]=s.rows,i=0===t.cells[0].length;return(0,n.jsxs)("table",{children:[(0,n.jsx)("thead",{children:(0,n.jsx)("tr",{children:t.cells.map(e=>(0,n.jsx)("th",{children:e},e))})}),(0,n.jsx)("tbody",{children:c.map((e,s)=>(0,n.jsx)("tr",{children:e.cells.map((e,s)=>{let t=i&&0===s?"th":"td";return(0,n.jsx)(t,{children:e})})},s))})]})};var u=!0;function p(e){let{selectedTab:s,selectedSection:t,tosData:c,footerData:l}=e,m=(0,j.Z)(e=>{let{setFooterData:s}=e;return s});return(0,d.useEffect)(()=>{m({data:l})},[l,m]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(i(),{children:[(0,n.jsx)("title",{children:t.metaTitle}),(0,n.jsx)("meta",{name:"title",content:t.metaTitle}),(0,n.jsx)("meta",{name:"description",content:t.metaDesc}),(0,n.jsx)("meta",{property:"og:title",content:t.ogTitle}),(0,n.jsx)("meta",{name:"og:description",content:t.ogDesc}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{property:"og:url",content:"https://myed.com/tos/".concat(s)}),(0,n.jsx)("meta",{property:"og:image",content:(0,a.w)(t.ogImage)})]}),(0,n.jsx)(o.Z,{children:(0,n.jsxs)("div",{className:r().container,children:[(0,n.jsxs)("div",{className:r().summary,children:[(0,n.jsx)(_(),{href:"/",className:r().link,children:"Home"}),(0,n.jsx)("p",{children:">"}),(0,n.jsx)(_(),{href:"/tos/Terms%20&%20Conditions",className:r().link,children:"Terms of service"}),(0,n.jsx)("p",{children:">"}),(0,n.jsx)(_(),{href:"/tos/".concat(s),className:r().selectedLink,children:s})]}),(0,n.jsxs)("div",{className:r().content,children:[(0,n.jsxs)("div",{className:r().sideNav,children:[(0,n.jsx)("p",{className:r().title,children:"TERMS OF SERVICE"}),(0,n.jsx)("div",{className:r().links,children:c.map((e,t)=>(0,n.jsx)(_(),{href:"/tos/".concat(e.title),className:e.title===s?r().active:"",children:e.title},t))})]}),(0,n.jsxs)("div",{className:r().infoContainer,children:[(0,n.jsx)("p",{className:r().title,children:"Terms & Conditions"}),(0,n.jsx)("div",{className:r().desc,children:(0,n.jsx)(h.YI,{components:{types:{table:x}},value:null==t?void 0:t.desc})})]})]})]})})]})}},88913:function(e){e.exports={container:"styles_container__ZsJ_I",summary:"styles_summary__54LSc",selectedLink:"styles_selectedLink__p8Ovr",content:"styles_content__qDhmO",sideNav:"styles_sideNav__tuwaS",title:"styles_title__yqNBR",links:"styles_links__m6j1O",active:"styles_active__uVv_f",infoContainer:"styles_infoContainer__7mpTq",desc:"styles_desc__eNzYb"}}},function(e){e.O(0,[5300,9774,2888,179],function(){return e(e.s=86270)}),_N_E=e.O()}]);