profectus-docs/assets/app.68642a14.js

2 lines
4.1 KiB
JavaScript
Raw Normal View History

import{_ as u,o as i,y as r,z as c,T as m,L as f,M as h,x as n,f as _,i as g,b as k,c as v,d as y,I as l,a1 as w,u as b,h as x,l as P,a2 as A,a3 as C,a4 as L,a5 as R,a6 as T,a7 as E,a8 as I,a9 as M,aa as S,ab as B,ac as D,ad as $,ae as O,af as V}from"./chunks/framework.0799945b.js";import{t as p}from"./chunks/theme.52324978.js";const j={},F=e=>(f("data-v-258d28f5"),e=e(),h(),e),z=F(()=>n("svg",{id:"eaRe02fYmMp1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 228 521","shape-rendering":"geometricPrecision","text-rendering":"geometricPrecision"},[n("g",{id:"P"},[n("path",{d:"m 101,512.877 c -17.547386,-5.3519 -50.794681,-10.26296 -80,0 10.737201,-217.43031 5.7244,-300.999 0,-464.9995 0,0 46.6144,-37.1164 80,-42.00002 33.386,-4.883633 86.025,10.45942 120,50.00002 5,30 -4.353,106.6565 -44,156.0005 -34.149,42.5 -130,38.48 -130,92.999 0,102 54,208 54,208 z",style:{display:"inline",fill:"none",stroke:"rgb(163, 190, 140)","stroke-width":"10","stroke-linecap":"round","stroke-miterlimit":"16"},id:"trunk",class:"svg-elem-1"}),n("path",{d:"M 221,55.8775 C 209.023,126.453 185.39,166.835 158.997,191.5 93.783098,252.444 11.718998,217.436 46.999998,304.877",style:{display:"inline",fill:"none",stroke:"rgb(163, 190, 140)","stroke-width":"5","stroke-linecap":"round","stroke-miterlimit":"16"},id:"vine2",class:"svg-elem-2"}),n("path",{d:"m 194.5,188 c -11.225,4.447 -19.066,5.134 -35.503,3.5",style:{display:"inline",fill:"none",stroke:"rgb(163, 190, 140)","stroke-width":"5","stroke-linecap":"round","stroke-miterlimit":"16"},id:"short_vine4",class:"svg-elem-3"}),n("path",{d:"M 73.499996,246.5 C 111.145,245.626 127.011,238.775 156.5,228",style:{display:"inline",fill:"none",stroke:"rgb(163, 190, 140)","stroke-width":"5","stroke-linecap":"round","stroke-miterlimit":"16"},id:"short_vine3",class:"svg-elem-4"}),n("path",{d:"M 221,55.8775 C 169.5,17.8262 86.0943,44.9468 47,107 c -4.743,7.528 -7.1041,15.373 -8.326,24 -3.5282,24.91 2.4426,56.34 -12.0011,105.5",style:{display:"inline",fill:"none",stroke:"rgb(163, 190, 140)","stroke-width":"5","stroke-linecap":"round","stroke-miterlimit":"16"},id:"vine1",class:"svg-elem-5"}),n("path",{d:"M 21,47.8775 38.674,131",style:{display:"inline",fill:"none",stroke:"rgb(163, 190, 140)","stroke-width":"5","stroke-linecap":"round","stroke-miterlimit":"16"},id:"short_vine2",class:"svg-elem-6"}),n("path",{d:"m 3,326.5 c 13.1783,22.208 16.4863,42.834 21.6997,81",style:{display:"inline",fill:"none",stroke:"rgb(163, 190, 140)","stroke-width":"5","stroke-linecap":"round","stroke-miterlimit":"16"},id:"short_vine1",class:"svg-elem-7"})])],-1));function N(e,t){return i(),r(m,{appear:""},{default:c(()=>[z]),_:1})}const G=u(j,[["render",N],["__scopeId","data-v-258d28f5"]]),H={key:1,style:{height:"30vmin",margin:"auto",display:"block"}},U={__name:"Layout",setup(e){const{Layout:t}=p,s=_(!1);return g(()=>s.value=!0),(a,W)=>(i(),r(k(t),null,{"home-hero-before":c(()=>[s.value?(i(),r(G,{key:0,style:{height:"30vmin",margin:"auto",display:"block","margin-top":"10px"}})):(i(),v("div",H))]),_:1}))}};const Y={...p,Layout:U};function d(e){if(e.extends){const t=d(e.extends);return{...t,...e,async enhanceApp(s){t.enhanceApp&&await t.enhanceApp(s),e.enhanceApp&&await e.enhanceApp(s)}}}return e}const o=d(Y),q=y({name:"VitePressApp",setup(){const{site:e}=b();return x(()=>{P(()=>{document.documentElement.lang=e.value.lang,document.documentElement.dir=e.value.dir})}),A(),C(),L(),o.setup&&o.setup(),()=>R(o.Layout)}});async function J(){const e=Q(),t=K();t.provide(T,e);const s=E(e.route);return t.provide(I,s),t.component("Content",M),t.component("ClientOnly",S),Object.defineProperties(t.config.globalProperties,{$frontmatter:{get(){return s.frontmatter.value}},$params:{get(){return s.page.value.params}}}),o.enhanceApp&&await o.enhanceApp({app:t,router:e,siteData:B}),{app:t,router:e,data:s}}function K(){return D(q)}function Q(){let e=l,t;return $(s=>{let a=O(s);return e&&(t=a),(e||t===a)&&(a=a.replace(/\.js$/,".lean.js")),l&&(e=!1),V(()=>import(a),[])},o.NotFound)}l&&J().then(({app:e,router:t,data:s})=>{