PageSourceSearch

https://cyanocommunity.ch/_nuxt/D-30A97i.js

js cyanocommunity.ch collected 2026-10-08 22:42:44 UTC 3,980 bytes, 5 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Buushivw.js","./BIeKuILb.js","./Dwvlh6SB.js","./entry.Bi2EEGAL.css","./C3uaqbz5.js"])))=>i.map(i=>d[i]);
2import{_ as S}from"./Dwvlh6SB.js";import{S as P}from"./BJ0Z2K1i.js";function M({langs:_=[],themes:C=[],bundledLangs:L={},bundledThemes:T={},getMdcConfigs:H,options:x,engine:E}={}){let g,u;async function b(){return g||(g=(async function(){const{createHighlighterCore:c,addClassToHast:r,isSpecialLang:s,isSpecialTheme:h}=await S(async()=>{const{createHighlighterCore:a,addClassToHast:i,isSpecialLang:m,isSpecialTheme:p}=await import("./Buushivw.js");return{createHighlighterCore:a,addClassToHast:i,isSpecialLang:m,isSpecialTheme:p}},__vite__mapDeps([0,1,2,3,4]),import.meta.url),{transformerNotationDiff:n,transformerNotationErrorLevel:y,transformerNotationFocus:v,transformerNotationHighlight:k}=await S(async()=>{const{transformerNotationDiff:a,transformerNotationErrorLevel:i,transformerNotationFocus:m,transformerNotationHighlight:p}=await import("./Biz3t2Bi.js");return{transformerNotationDiff:a,transformerNotationErrorLevel:i,transformerNotationFocus:m,transformerNotationHighlight:p}},[],import.meta.url),d=await c({langs:_,themes:C,engine:E||P()});for await(const a of await N())await a.shiki?.setup?.(d);return{shiki:d,addClassToHast:r,isSpecialLang:s,isSpecialTheme:h,transformers:[n(),y(),v(),k()]}})()),g}async function N(){return u||(u=Promise.resolve(H?.()||[])),u}return async(c,r,s,h={})=>{const{shiki:n,addClassToHast:y,isSpecialLang:v,isSpecialTheme:k,transformers:d}=await b(),a={defaultColor:!1,meta:{__raw:h.meta}};r==="ts-type"||r==="typescript-type"?(r="typescript",a.grammarContextCode="let a:"):r!=="vue-html"&&r!=="vue-template"||(r="vue",a.grammarContextCode="<template>");const i={...typeof s=="string"?{default:s}:s||{}},m=n.getLoadedThemes(),p=n.getLoadedLanguages();typeof r!="string"||p.includes(r)||v(r)||(L[r]?await n.loadLanguage(L[r]):r="text");for(const[e,t]of Object.entries(i))typeof t!="string"||m.includes(t)||k(t)||(T[t]?await n.loadTheme(T[t]):i[e]="none");const w=new Map;for(const e of d)w.set(e.name||`transformer:${Math.random()}-${e.constructor.name}`,e);for(const e of await N()){const t=typeof e.shiki?.transformers=="function"?await e.shiki?.transformers(c,r,s,h):e.shiki?.transformers||[];for(const l of t)w.set(l.name||`transformer:${Math.random()}-${l.constructor.name}`,l)}const o=n.codeToHast(c.trimEnd(),{lang:r,...a,themes:i,transformers:[...w.values(),{name:"mdc:highlight",line(e,t){h.highlights?.includes(t)&&y(e,"highlight"),e.properties.line=t}},{name:"mdc:newline",line(e){if(c?.includes(`
3`)){if(e.children.length===0||e.children.length===1&&e.children[0].type==="element"&&e.children[0].children.length===1&&e.children[0].children[0].type==="text"&&e.children[0].children[0].value==="")return void(e.children=[{type:"element",tagName:"span",properties:{emptyLinePlaceholder:!0},children:[{type:"text",value:`
4`}]}]);const t=e.children.at(-1);if(t?.type==="element"&&t.tagName==="span"){const l=t.children.at(-1);l?.type==="text"&&(l.value+=`
5`)}}}}]}).children[0],D=o.children[0],f=x?.wrapperStyle;o.properties.style=f?typeof f=="string"?f:o.properties.style:"";const $=[];
5return Object.keys(i).forEach(e=>{const t=e!=="default"?`.${e}`:"";$.push(f?`${t} .shiki,`:"",`html .${e} .shiki span {`,`color: var(--shiki-${e});`,`background: var(--shiki-${e}-bg);`,`font-style: var(--shiki-${e}-font-style);`,`font-weight: var(--shiki-${e}-font-weight);`,`text-decoration: var(--shiki-${e}-text-decoration);`,"}"),$.push(`html${t} .shiki span {`,`color: var(--shiki-${e});`,`background: var(--shiki-${e}-bg);`,`font-style: var(--shiki-${e}-font-style);`,`font-weight: var(--shiki-${e}-font-weight);`,`text-decoration: var(--shiki-${e}-text-decoration);`,"}")}),{tree:D.children,className:Array.isArray(o.properties.class)?o.properties.class.join(" "):o.properties.class,inlineStyle:o.properties.style,style:$.join("")}}}export{M as createShikiHighlighter};

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.