PageSourceSearch

https://npw.net/assets/app.CfN5q-je.js

js npw.net collected 2026-10-04 16:41:42 UTC 1,372 bytes, 1 lines download raw bytes

1import{Dt as e,L as t,W as n,_ as r,a as i,b as a,c as o,ct as s,i as c,l,lt as u,m as d,mt as f,o as p,q as m,r as h,s as g,t as _,v,y}from"./chunks/framework.GGfqtSwG.js";import{t as b}from"./chunks/theme.BeYV-I1Y.js";function x(e){if(e.extends){let t=x(e.extends);return{...t,...e,async enhanceApp(n){await t.enhanceApp?.(n),await e.enhanceApp?.(n)},setup(){t.setup?.(),e.setup?.()}}}return e}var S=x(b),C=s({name:`VitePressApp`,setup(){let{site:t,lang:n,dir:r}=a();return f(()=>{e(()=>{document.documentElement.lang=n.value,document.documentElement.dir=r.value})}),t.value.router.prefetchLinks&&h(),i(),p(),S.setup&&S.setup(),()=>u(S.Layout)}});async function w(){globalThis.__VITEPRESS__=!0;let e=E(),t=T();t.provide(o,e);let i=v(e.route);return t.provide(r,i),t.component(`Content`,g),t.component(`ClientOnly`,n),Object.defineProperties(t.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}}),S.enhanceApp&&await S.enhanceApp({app:t,router:e,siteData:y}),{app:t,router:e,data:i}}function T(){return m(C)}function E(){let e=t;return l(n=>{let r=d(n),i=null;return r&&(e&&(r=r.replace(/\.js$/,`.lean.js`)),i=_(()=>import(r),[])),t&&(e=!1),i},S.NotFound)}t&&w().then(({app:e,router:t,data:n})=>{t.go(location.href,{initialLoad:!0}).then(()=>{c(t.route,n.site),e.mount(`#app`)})});export{w as createApp};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.