"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[35246],{35246:(e,l,n)=>{n.r(l),n.d(l,{shikiPlugin:()=>o});var t=n(20391),a=n(97784),i=n(26885),r=n(49819);let s=e=>{if(4===e.length){let l=e[1],n=e[2],t=e[3];return e[0]+l+l+n+n+t+t}return 9===e.length?e.slice(0,7):e},o=({theme:e})=>{let l,n=new Set,o=new Set;return async({root:c})=>{let u=[];return(0,i.YR)(c,"code",({lang:e})=>{e&&!n.has(e)&&(n.add(e),u.push(e))}),l||(l=await (0,a.O_)({themes:[e],langs:[]})),await Promise.all(u.map(async e=>{try{await l.loadLanguage(e)}catch(l){o.add(e),(0,r.w)(String(l))}})),{code:({value:n,lang:a})=>{if(!a||o.has(a))return null;let i=l.codeToTokens(n,{lang:a,theme:e}),{bg:r,fg:c}=i;return c&&(c=s(c)),r&&(r=s(r)),i.tokens.map(e=>new t.fzL({shading:{type:"clear",color:"auto",fill:r},children:e.map(({content:e,bgColor:l,color:n,fontStyle:a})=>(n&&(n=s(n)),l&&(l=s(l)),new t.NTc({text:e,color:null!=n?n:c,shading:l?{type:"clear",color:"auto",fill:l}:void 0,bold:2===a,italics:1===a,underline:4===a?{type:"single",color:c}:void 0,strike:8===a})))}))}}}}},49819:(e,l,n)=>{n.d(l,{i:()=>r,w:()=>a});let t={};function a(e,l=!1){l||t[e]||(t[e]=!0,console.warn(e))}let i=["png","jpg","gif","bmp","svg"],r=e=>!!e&&!!i.includes(e)}}]);