-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 14b9331
Showing
57 changed files
with
134,161 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="en-US" dir="ltr"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1"> | ||
<title>404 | wuxianx-charts</title> | ||
<meta name="description" content="Not Found"> | ||
<meta name="generator" content="VitePress v1.3.1"> | ||
<link rel="preload stylesheet" href="/assets/style.1KkRp2Pg.css" as="style"> | ||
|
||
<script type="module" src="/assets/app.BTmHjiiR.js"></script> | ||
<link rel="preload" href="/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin=""> | ||
<script src="/charts-meta.js"></script> | ||
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script>window.__VP_HASH_MAP__=JSON.parse("{\"charts_bar-horizontal.md\":\"DCXGkc5H\",\"charts_bar-simple.md\":\"BYAz-Vlz\",\"charts_line-simple.md\":\"KVMiOiZ5\",\"charts_pie-gap-doughnut.md\":\"CtA4w1CQ\",\"charts_pie-simple.md\":\"DlPhEKj5\",\"charts_radar-rainbow.md\":\"POAFIZV7\",\"charts_radar-simple.md\":\"IvOsymcd\",\"charts_ring-three-quarter-comment.md\":\"B_NQtFaI\",\"guide_index.md\":\"DDX8mUSo\",\"guide_overview.md\":\"DZ0l3APd\",\"index.md\":\"C141k-4y\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"wuxianx-charts\",\"description\":\"A wuxianx-charts website.\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":false,\"themeConfig\":{\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"Charts\",\"activeMatch\":\"(guide|charts)\",\"link\":\"/guide/overview\"}],\"sidebar\":[{\"text\":\"Guide\",\"base\":\"/guide/\",\"items\":[{\"text\":\"Getting Started\",\"link\":\"index.md\"},{\"text\":\"Overview\",\"link\":\"overview.md\"}]},{\"text\":\"Bar\",\"base\":\"/charts/\",\"items\":[{\"text\":\"BarSimple\",\"link\":\"bar-simple.md\"},{\"text\":\"BarHorizontal\",\"link\":\"bar-horizontal.md\"}]},{\"text\":\"Line\",\"base\":\"/charts/\",\"items\":[{\"text\":\"LineSimple\",\"link\":\"line-simple.md\"}]},{\"text\":\"Pie\",\"base\":\"/charts/\",\"items\":[{\"text\":\"PieSimple\",\"link\":\"pie-simple.md\"},{\"text\":\"RingThreeQuarterComment\",\"link\":\"ring-three-quarter-comment.md\"},{\"text\":\"PieGapDoughnut\",\"link\":\"pie-gap-doughnut.md\"}]},{\"text\":\"Radar\",\"base\":\"/charts/\",\"items\":[{\"text\":\"RadarSimple\",\"link\":\"radar-simple.md\"},{\"text\":\"RadarRainbow\",\"link\":\"radar-rainbow.md\"}]}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/wuxian-space/wuxianx-charts\"}],\"search\":{\"provider\":\"local\"}},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
charts.wuxian.space |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
import { U as inBrowser, af as useUpdateHead, ag as RouterSymbol, ah as initData, ai as dataSymbol, aj as Content, ak as ClientOnly, al as siteDataRef, am as createSSRApp, an as createRouter, ao as pathToFile, d as defineComponent, u as useData, y as onMounted, x as watchEffect, ap as usePrefetch, aq as useCopyCode, ar as useCodeGroups, a5 as h, X as __vitePreload } from "./chunks/framework.D6I6yU7G.js"; | ||
import { R as RawTheme } from "./chunks/theme.D4yBlaEG.js"; | ||
function resolveThemeExtends(theme) { | ||
if (theme.extends) { | ||
const base = resolveThemeExtends(theme.extends); | ||
return { | ||
...base, | ||
...theme, | ||
async enhanceApp(ctx) { | ||
if (base.enhanceApp) | ||
await base.enhanceApp(ctx); | ||
if (theme.enhanceApp) | ||
await theme.enhanceApp(ctx); | ||
} | ||
}; | ||
} | ||
return theme; | ||
} | ||
const Theme = resolveThemeExtends(RawTheme); | ||
const VitePressApp = defineComponent({ | ||
name: "VitePressApp", | ||
setup() { | ||
const { site, lang, dir } = useData(); | ||
onMounted(() => { | ||
watchEffect(() => { | ||
document.documentElement.lang = lang.value; | ||
document.documentElement.dir = dir.value; | ||
}); | ||
}); | ||
if (site.value.router.prefetchLinks) { | ||
usePrefetch(); | ||
} | ||
useCopyCode(); | ||
useCodeGroups(); | ||
if (Theme.setup) | ||
Theme.setup(); | ||
return () => h(Theme.Layout); | ||
} | ||
}); | ||
async function createApp() { | ||
globalThis.__VITEPRESS__ = true; | ||
const router = newRouter(); | ||
const app = newApp(); | ||
app.provide(RouterSymbol, router); | ||
const data = initData(router.route); | ||
app.provide(dataSymbol, data); | ||
app.component("Content", Content); | ||
app.component("ClientOnly", ClientOnly); | ||
Object.defineProperties(app.config.globalProperties, { | ||
$frontmatter: { | ||
get() { | ||
return data.frontmatter.value; | ||
} | ||
}, | ||
$params: { | ||
get() { | ||
return data.page.value.params; | ||
} | ||
} | ||
}); | ||
if (Theme.enhanceApp) { | ||
await Theme.enhanceApp({ | ||
app, | ||
router, | ||
siteData: siteDataRef | ||
}); | ||
} | ||
return { app, router, data }; | ||
} | ||
function newApp() { | ||
return createSSRApp(VitePressApp); | ||
} | ||
function newRouter() { | ||
let isInitialPageLoad = inBrowser; | ||
let initialPath; | ||
return createRouter((path) => { | ||
let pageFilePath = pathToFile(path); | ||
let pageModule = null; | ||
if (pageFilePath) { | ||
if (isInitialPageLoad) { | ||
initialPath = pageFilePath; | ||
} | ||
if (isInitialPageLoad || initialPath === pageFilePath) { | ||
pageFilePath = pageFilePath.replace(/\.js$/, ".lean.js"); | ||
} | ||
if (false) ; | ||
else if (false) ; | ||
else { | ||
pageModule = import( | ||
/*@vite-ignore*/ | ||
pageFilePath | ||
); | ||
} | ||
} | ||
if (inBrowser) { | ||
isInitialPageLoad = false; | ||
} | ||
return pageModule; | ||
}, Theme.NotFound); | ||
} | ||
if (inBrowser) { | ||
createApp().then(({ app, router, data }) => { | ||
router.go().then(() => { | ||
useUpdateHead(router.route, data.site); | ||
app.mount("#app"); | ||
}); | ||
}); | ||
} | ||
export { | ||
createApp | ||
}; |
Oops, something went wrong.