1import{_ as T}from"./DIXT6SHz.js";import{_ as B}from"./B3eMXLJD.js";import{_ as H}from"./D_ADia-q.js";import{t as q}from"./9xxmGm47.js";import{u as W,w as x,a as D,b as F,c as g,d as e,e as _,f as I,F as M,r as R,h as d,g as E,o as c,l as N,s as S,v as V,k as $}from"./BfbDXQLl.js";import{u as f}from"./bNVUWfQj.js";import"./BJ2ClxiI.js";import"./BibvQjda.js";const C={class:"container mx-auto max-w-xs sm:max-w-lg md:max-w-2xl"},P={class:"container mx-auto pt-2 max-w-xs sm:max-w-lg md:max-w-2xl"},A=["innerHTML"],j={class:"container mx-auto max-w-xs sm:max-w-lg md:max-w-2xl mb-2"},O={class:"flex flex-wrap"},se={__name:"[slug]",async setup(Y){let t,s;const m=W(),i=E(),a=d(),p=d([]),k="/krypto-lexikon/"+m.params.slug+"/",w=d([{title:"Home",link:"/"},{title:"Lexikon",link:"/krypto-lexikon/"}]),{data:v,pending:z,error:G}=([t,s]=x(()=>f(i.public.wordpressUrl,{method:"get",query:{query:` 2 query { 3 wikis(first:100) { 4 nodes { 5 id 6 title 7 uri 8 featuredImage { 9 node { 10 id 11 sourceUrl 12 } 13 } 14 } 15 } 16 } 17 `},transform(l){return l.data.wikis.nodes}},"$UEfmLe2eLO")),t=await t,s(),t);p.value=[...v.value].sort(()=>Math.random()-.5).slice(0,20);const{data:o,pending:J,refresh:K,error:Q}=([t,s]=x(()=>f(i.public.wordpressUrl,{method:"get",query:{query:` 18 query Wiki($uri: String!) { 19 nodeByUri(uri: $uri) { 20 ... on Wiki { 21 id 22 title 23 date 24 modified 25 content 26 featuredImage { 27 node { 28 id 29 sourceUrl 30 } 31 } 32 wikiField { 33 seoTitle 34 seoDescription 35 } 36 author { 37 node { 38 name 39 slug 40 } 41 } 42 } 43 } 44 } 45 `,variables:{uri:k}},transform(l){return l.data.nodeByUri}},"$VUmS8mc1iB")),t=await t,s(),t);a.value=o.value;const b=o.value.content,y=q(b),n=o.value.wikiField;return D({title:()=>a.value.title+" | Wiki",description:()=>n.seoDescription||o.value.excerpt,ogUrl:()=>i.public.baseURL+m.path,ogTitle:()=>n.seoTitle?n.seoTitle+" | Wiki":a.value.title+" | Wiki",ogDescription:()=>n.seoDescription||o.value.excerpt,ogImage:()=>o.value.featuredImage?o.value.featuredImage.node.sourceUrl:i.public.baseURL+"/img/pages/krypto-lexikon.jpg",ogType:()=>"article",articleModifiedTime:()=>a.value.modified||a.value.date}),F({link:[{rel:"canonical",href:i.public.baseURL+m.path}]}),(l,r)=>{const h=T,U=B,L=H;return c(),g("div",null,[r[1]||(r[1]=e("input",{type:"hidden",name:"form-name",value:"lexikon"},null,-1)),e("section",null,[_(h,{title:a.value.title},null,8,["title"])]),e("section",C,[_(U,{data:w.value},null,8,["data"])]),e("section",P,[e("article",null,[e("div",{id:"nuxt-content",class:"prose",innerHTML:I(y)},null,8,A)])]),r[2]||(r[2]=e("div",{class:"container mx-auto max-w-sm sm:max-w-lg md:max-w-2xl py-4 px-2"},[e("div",{class:"w-full border-t border-gray-300"})],-1)),e("section",j,[r[0]||(r[0]=e("h3",{class:"pb-6 text-lg font-bold"},"Weitere Begriffe erklärt",-1)),e("div",O,[(c(!0),g(M,null,R(p.value,u=>(c(),N(L,{key:u.title,to:u.uri,class:"m-1 font-mediumbold bg-gray-100 rounded-xl p-2 hover:bg-gray-200 transition duration-300",title:u.title},{default:S(()=>[V($(u.title),1)]),_:2},1032,["to","title"]))),128))])])])}}};export{se as default};
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.