PageSourceSearch

https://keptune.ai/_nuxt/sL1pAeJV.js

js keptune.ai collected 2026-10-05 12:08:36 UTC 2,031 bytes, 1 lines download raw bytes

1import{_ as c}from"./P7wDAsOE.js";import{z as u,c as p,r as f,o as g,D as h,e as n,f as o,u as y,k as _,az as w,K as k}from"#entry";import{_ as v}from"./DlAUqK2U.js";import"./tsR5eHP1.js";import"./BRRNgXHV.js";import"./B5vyEyxV.js";import"./B-C6MlJ9.js";import"./LpUq3nP7.js";import"./CMx8J2jg.js";import"./DiV6OptP.js";import"./Evk4x1Mm.js";import"./D7OKTFXs.js";import"./CBjeeKkd.js";import"./pEGng5oJ.js";import"./Bs3aHpeJ.js";import"./IvVM9ylP.js";import"./CARaW8Oz.js";import"./wjQ8Y1ba.js";import"./CJ5NhiWv.js";import"./DaWZu8wl.js";import"./MYmXSHvp.js";import"./BRQ_ufZH.js";import"./iUk0Akge.js";import"./DwesEXa7.js";const M={key:1},S={key:2},x={__name:"ProseCode",props:{code:{type:String,default:null},language:{type:String,default:"python"},filename:{type:String,default:"main.py"},highlights:{type:Array,default:()=>[]}},setup(t){const e=t,d=u(),s=p(()=>(e.language==="python"||e.language==="pyodide")&&e.filename!=="main.nopy"),r=f(null);g(()=>{e.language==="mermaid"&&typeof window<"u"&&window.mermaid&&m()}),h(()=>e.code,()=>{e.language==="mermaid"&&k(()=>m())});function m(){if(!r.value||!window.mermaid)return;const a=`mermaid-${Date.now()}-${Math.random().toString(36).substr(2,9)}`;window.mermaid.initialize({startOnLoad:!1,theme:d.effectiveTheme==="dark"?"dark":"default",flowchart:{curve:"basis"},themeVariables:{fontSize:"16px"}}),window.mermaid.render(a,e.code).then(({svg:i})=>{r.value&&(r.value.innerHTML=i)}).catch(i=>{console.error("Mermaid rendering error:",i),r.value&&(r.value.innerHTML=`<pre class="text-red-500">Error rendering Mermaid diagram: ${i.message}</pre>`)})}return(a,i)=>{const l=c;return t.language==="mermaid"?(n(),o("div",{key:0,class:"mermaid-container my-4",ref_key:"mermaidContainer",ref:r},null,512)):y(s)?(n(),o("div",M,[_(l,{code:t.code,kernelId:t.language,filename:t.filename,highlights:t.highlights},null,8,["code","kernelId","filename","highlights"])])):(n(),o("div",S,[w(a.$slots,"default",{},void 0,!0)]))}}},U=v(x,[["__scopeId","data-v-5ed7d4ab"]]);export{U 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.