1
0
forked from bot/app
This commit is contained in:
2024-08-31 14:06:54 +00:00
parent 63f3895009
commit c525040e5a
121 changed files with 441 additions and 441 deletions

View File

@ -1 +1 @@
import{t as p}from"./chunks/theme.B7R8TMqw.js";import{U as o,a8 as u,a9 as l,aa as c,ab as f,ac as d,ad as m,ae as h,af as g,ag as A,ah as y,d as P,u as v,y as C,x as b,ai as w,aj as E,ak as R,al as S}from"./chunks/framework.BZiUP1E-.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(p),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=v();return C(()=>{b(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&w(),E(),R(),s.setup&&s.setup(),()=>S(s.Layout)}});async function j(){globalThis.__VITEPRESS__=!0;const e=D(),a=x();a.provide(l,e);const t=c(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:h}),{app:a,router:e,data:t}}function x(){return g(T)}function D(){let e=o,a;return A(t=>{let n=y(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&j().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{j as createApp};
import{t as p}from"./chunks/theme.BC1khwuo.js";import{U as o,a8 as u,a9 as l,aa as c,ab as f,ac as d,ad as m,ae as h,af as g,ag as A,ah as y,d as P,u as v,y as C,x as b,ai as w,aj as E,ak as R,al as S}from"./chunks/framework.BZiUP1E-.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(p),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=v();return C(()=>{b(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&w(),E(),R(),s.setup&&s.setup(),()=>S(s.Layout)}});async function j(){globalThis.__VITEPRESS__=!0;const e=D(),a=x();a.provide(l,e);const t=c(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:h}),{app:a,router:e,data:t}}function x(){return g(T)}function D(){let e=o,a;return A(t=>{let n=y(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&j().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{j as createApp};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
import{d as u,o as i,c as n,j as e,t as l,p as m,l as p,_ as v,h as f,s as _,a5 as w,a6 as g,k as h,a7 as x,F as b,E as C,b as I,I as S}from"./chunks/framework.BZiUP1E-.js";const $=t=>(m("data-v-bc8a9796"),t=t(),p(),t),k={class:"item-card"},L={class:"item-name"},j={class:"item-description"},B={class:"item-bar"},R=["href"],y=$(()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[e("path",{fill:"currentColor",d:"m7.775 3.275l1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0a.751.751 0 0 1 .018-1.042a.751.751 0 0 1 1.042-.018a1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018a.751.751 0 0 1-.018-1.042m-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018a.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0a.751.751 0 0 1-.018 1.042a.751.751 0 0 1-1.042.018a1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83"})],-1)),D=[y],N=["href"],O=["src"],V={class:"author-name"},z=u({__name:"ResItemCard",props:{item:Object},setup(t){const a=t;return(r,o)=>(i(),n("div",k,[e("div",L,l(a.item.name),1),e("div",j,l(a.item.description),1),e("div",B,[e("a",{href:a.item.link,class:""},D,8,R),e("div",null,[e("a",{class:"author-info",href:`https://github.com/${a.item.author}`},[e("img",{class:"icon avatar",src:`https://github.com/${a.item.author}.png?size=80`,alt:""},null,8,O),e("div",V,l(a.item.author),1)],8,N)])])]))}}),E=v(z,[["__scopeId","data-v-bc8a9796"]]),F=t=>(m("data-v-f069f440"),t=t(),p(),t),P={class:"market"},U=F(()=>e("h1",null,"主题/资源商店",-1)),J={class:"search-box-div"},M={class:"items"},T=u({__name:"ResStore",setup(t){let a=f(()=>o.value?r.value.filter(s=>s.name.toLowerCase().includes(o.value.toLowerCase())||s.description.toLowerCase().includes(o.value.toLowerCase())||s.author.toLowerCase().includes(o.value.toLowerCase())).reverse():r.value.reverse()),r=_([]),o=_("");return fetch("/resources.json").then(s=>s.json()).then(s=>{r.value=s}).catch(s=>console.error(s)),(s,d)=>(i(),n("div",P,[U,e("div",J,[w(e("input",{class:"item-search-box",type:"text",placeholder:"搜索资源","onUpdate:modelValue":d[0]||(d[0]=c=>x(o)?o.value=c:o=c)},null,512),[[g,h(o)]])]),e("div",M,[(i(!0),n(b,null,C(h(a),c=>(i(),I(E,{key:c.id,item:c},null,8,["item"]))),128))])]))}}),q=v(T,[["__scopeId","data-v-f069f440"]]),H=JSON.parse('{"title":"资源商店","description":"","frontmatter":{"title":"资源商店","order":1},"headers":[],"relativePath":"store/resource.md","filePath":"zh/store/resource.md","lastUpdated":1725112258000}'),A={name:"store/resource.md"},K=Object.assign(A,{setup(t){return(a,r)=>(i(),n("div",null,[S(q)]))}});export{H as __pageData,K as default};
import{d as u,o as i,c as n,j as e,t as l,p as m,l as p,_ as f,h as v,s as _,a5 as w,a6 as g,k as h,a7 as x,F as b,E as C,b as I,I as S}from"./chunks/framework.BZiUP1E-.js";const $=t=>(m("data-v-debfd7f7"),t=t(),p(),t),k={class:"item-card"},L={class:"item-name"},j={class:"item-description"},B={class:"item-bar"},R=["href"],y=$(()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[e("path",{fill:"currentColor",d:"m7.775 3.275l1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0a.751.751 0 0 1 .018-1.042a.751.751 0 0 1 1.042-.018a1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018a.751.751 0 0 1-.018-1.042m-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018a.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0a.751.751 0 0 1-.018 1.042a.751.751 0 0 1-1.042.018a1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83"})],-1)),D=[y],N=["href"],O=["src"],V={class:"author-name"},z=u({__name:"ResItemCard",props:{item:Object},setup(t){const a=t;return(r,o)=>(i(),n("div",k,[e("div",L,l(a.item.name),1),e("div",j,l(a.item.description),1),e("div",B,[e("a",{href:a.item.link,class:""},D,8,R),e("div",null,[e("a",{class:"author-info",href:`https://github.com/${a.item.author}`},[e("img",{class:"icon avatar",src:`https://github.com/${a.item.author}.png?size=80`,alt:""},null,8,O),e("div",V,l(a.item.author),1)],8,N)])])]))}}),E=f(z,[["__scopeId","data-v-debfd7f7"]]),F=t=>(m("data-v-f069f440"),t=t(),p(),t),P={class:"market"},U=F(()=>e("h1",null,"主题/资源商店",-1)),J={class:"search-box-div"},M={class:"items"},T=u({__name:"ResStore",setup(t){let a=v(()=>o.value?r.value.filter(s=>s.name.toLowerCase().includes(o.value.toLowerCase())||s.description.toLowerCase().includes(o.value.toLowerCase())||s.author.toLowerCase().includes(o.value.toLowerCase())).reverse():r.value.reverse()),r=_([]),o=_("");return fetch("/resources.json").then(s=>s.json()).then(s=>{r.value=s}).catch(s=>console.error(s)),(s,d)=>(i(),n("div",P,[U,e("div",J,[w(e("input",{class:"item-search-box",type:"text",placeholder:"搜索资源","onUpdate:modelValue":d[0]||(d[0]=c=>x(o)?o.value=c:o=c)},null,512),[[g,h(o)]])]),e("div",M,[(i(!0),n(b,null,C(h(a),c=>(i(),I(E,{key:c.id,item:c},null,8,["item"]))),128))])]))}}),q=f(T,[["__scopeId","data-v-f069f440"]]),H=JSON.parse('{"title":"资源商店","description":"","frontmatter":{"title":"资源商店","order":1},"headers":[],"relativePath":"store/resource.md","filePath":"zh/store/resource.md","lastUpdated":1725112258000}'),A={name:"store/resource.md"},K=Object.assign(A,{setup(t){return(a,r)=>(i(),n("div",null,[S(q)]))}});export{H as __pageData,K as default};

View File

@ -1 +1 @@
import{d as u,o as i,c as n,j as e,t as l,p as m,l as p,_ as v,h as f,s as _,a5 as w,a6 as g,k as h,a7 as x,F as b,E as C,b as I,I as S}from"./chunks/framework.BZiUP1E-.js";const $=t=>(m("data-v-bc8a9796"),t=t(),p(),t),k={class:"item-card"},L={class:"item-name"},j={class:"item-description"},B={class:"item-bar"},R=["href"],y=$(()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[e("path",{fill:"currentColor",d:"m7.775 3.275l1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0a.751.751 0 0 1 .018-1.042a.751.751 0 0 1 1.042-.018a1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018a.751.751 0 0 1-.018-1.042m-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018a.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0a.751.751 0 0 1-.018 1.042a.751.751 0 0 1-1.042.018a1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83"})],-1)),D=[y],N=["href"],O=["src"],V={class:"author-name"},z=u({__name:"ResItemCard",props:{item:Object},setup(t){const a=t;return(r,o)=>(i(),n("div",k,[e("div",L,l(a.item.name),1),e("div",j,l(a.item.description),1),e("div",B,[e("a",{href:a.item.link,class:""},D,8,R),e("div",null,[e("a",{class:"author-info",href:`https://github.com/${a.item.author}`},[e("img",{class:"icon avatar",src:`https://github.com/${a.item.author}.png?size=80`,alt:""},null,8,O),e("div",V,l(a.item.author),1)],8,N)])])]))}}),E=v(z,[["__scopeId","data-v-bc8a9796"]]),F=t=>(m("data-v-f069f440"),t=t(),p(),t),P={class:"market"},U=F(()=>e("h1",null,"主题/资源商店",-1)),J={class:"search-box-div"},M={class:"items"},T=u({__name:"ResStore",setup(t){let a=f(()=>o.value?r.value.filter(s=>s.name.toLowerCase().includes(o.value.toLowerCase())||s.description.toLowerCase().includes(o.value.toLowerCase())||s.author.toLowerCase().includes(o.value.toLowerCase())).reverse():r.value.reverse()),r=_([]),o=_("");return fetch("/resources.json").then(s=>s.json()).then(s=>{r.value=s}).catch(s=>console.error(s)),(s,d)=>(i(),n("div",P,[U,e("div",J,[w(e("input",{class:"item-search-box",type:"text",placeholder:"搜索资源","onUpdate:modelValue":d[0]||(d[0]=c=>x(o)?o.value=c:o=c)},null,512),[[g,h(o)]])]),e("div",M,[(i(!0),n(b,null,C(h(a),c=>(i(),I(E,{key:c.id,item:c},null,8,["item"]))),128))])]))}}),q=v(T,[["__scopeId","data-v-f069f440"]]),H=JSON.parse('{"title":"资源商店","description":"","frontmatter":{"title":"资源商店","order":1},"headers":[],"relativePath":"store/resource.md","filePath":"zh/store/resource.md","lastUpdated":1725112258000}'),A={name:"store/resource.md"},K=Object.assign(A,{setup(t){return(a,r)=>(i(),n("div",null,[S(q)]))}});export{H as __pageData,K as default};
import{d as u,o as i,c as n,j as e,t as l,p as m,l as p,_ as f,h as v,s as _,a5 as w,a6 as g,k as h,a7 as x,F as b,E as C,b as I,I as S}from"./chunks/framework.BZiUP1E-.js";const $=t=>(m("data-v-debfd7f7"),t=t(),p(),t),k={class:"item-card"},L={class:"item-name"},j={class:"item-description"},B={class:"item-bar"},R=["href"],y=$(()=>e("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 16 16"},[e("path",{fill:"currentColor",d:"m7.775 3.275l1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0a.751.751 0 0 1 .018-1.042a.751.751 0 0 1 1.042-.018a1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018a.751.751 0 0 1-.018-1.042m-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018a.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0a.751.751 0 0 1-.018 1.042a.751.751 0 0 1-1.042.018a1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83"})],-1)),D=[y],N=["href"],O=["src"],V={class:"author-name"},z=u({__name:"ResItemCard",props:{item:Object},setup(t){const a=t;return(r,o)=>(i(),n("div",k,[e("div",L,l(a.item.name),1),e("div",j,l(a.item.description),1),e("div",B,[e("a",{href:a.item.link,class:""},D,8,R),e("div",null,[e("a",{class:"author-info",href:`https://github.com/${a.item.author}`},[e("img",{class:"icon avatar",src:`https://github.com/${a.item.author}.png?size=80`,alt:""},null,8,O),e("div",V,l(a.item.author),1)],8,N)])])]))}}),E=f(z,[["__scopeId","data-v-debfd7f7"]]),F=t=>(m("data-v-f069f440"),t=t(),p(),t),P={class:"market"},U=F(()=>e("h1",null,"主题/资源商店",-1)),J={class:"search-box-div"},M={class:"items"},T=u({__name:"ResStore",setup(t){let a=v(()=>o.value?r.value.filter(s=>s.name.toLowerCase().includes(o.value.toLowerCase())||s.description.toLowerCase().includes(o.value.toLowerCase())||s.author.toLowerCase().includes(o.value.toLowerCase())).reverse():r.value.reverse()),r=_([]),o=_("");return fetch("/resources.json").then(s=>s.json()).then(s=>{r.value=s}).catch(s=>console.error(s)),(s,d)=>(i(),n("div",P,[U,e("div",J,[w(e("input",{class:"item-search-box",type:"text",placeholder:"搜索资源","onUpdate:modelValue":d[0]||(d[0]=c=>x(o)?o.value=c:o=c)},null,512),[[g,h(o)]])]),e("div",M,[(i(!0),n(b,null,C(h(a),c=>(i(),I(E,{key:c.id,item:c},null,8,["item"]))),128))])]))}}),q=f(T,[["__scopeId","data-v-f069f440"]]),H=JSON.parse('{"title":"资源商店","description":"","frontmatter":{"title":"资源商店","order":1},"headers":[],"relativePath":"store/resource.md","filePath":"zh/store/resource.md","lastUpdated":1725112258000}'),A={name:"store/resource.md"},K=Object.assign(A,{setup(t){return(a,r)=>(i(),n("div",null,[S(q)]))}});export{H as __pageData,K as default};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long