import{ThemeDataContext as n}from"@redocly/theme";import*as a from"react";import{RouterProvider as d,createMemoryRouter as m}from"react-router-dom";import i from"@redocly/theme/core/templates/Markdown";import{PageDataContext as s}from"./providers/page-data/PageDataContext";const r={Template:({pageProps:e,children:t})=>a.createElement(i,{pageProps:{...e,metadata:{...e.metadata,markdoc:{tagList:[]}}}},t),templateId:"markdown",props:{seo:{title:"Test"},ast:{$$mdtype:"Tag",name:"div",children:[{$$mdtype:"Tag",name:"Heading",attributes:{id:"github-flavored-markdown",level:1},children:["GitHub-flavored markdown"]},{$$mdtype:"Tag",name:"p",attributes:{},children:["These exercises assume you have",{$$mdtype:"Tag",name:"a",attributes:{href:"https://docs.redoc.ly/"},children:["basic markdown knowledge"]},"."]},{$$mdtype:"Tag",name:"Heading",attributes:{id:"create-a-new-plain-markdown-page",level:2},children:["Create a new plain markdown page"]}]},lastModified:new Date("2022-01-01").toISOString()},slug:"",userData:{isAuthenticated:!1,name:"test name",picture:""},sidebar:null,sharedData:{},sharedDataIds:{}},l={},g=({children:e,customPageData:t})=>{const o=m([{path:"/",element:e}]);return a.createElement(n.Provider,{value:l},a.createElement(s.Provider,{value:{...r,...t,props:{...r.props,...t?.props}}},a.createElement(d,{router:o})))};export{g as TestProvider};
