import{casu}from"./highlight.js.31cd7941.js";import{dasc,rasd,wass,bast,hasg}from"./@vue.340249d8.js";vari=c({props:{code:{type:String,required:!0},language:{type:String,default:""},autodetect:{type:Boolean,default:!0},ignoreIllegals:{type:Boolean,default:!0}},setup:function(e){vara=d(e.language);s(function(){returne.language},function(n){a.value=n});varr=t(function(){returne.autodetect||!a.value}),o=t(function(){return!r.value&&!u.getLanguage(a.value)});return{className:t(function(){returno.value?"":"hljs "+a.value}),highlightedCode:t(function(){varn;if(o.value)returnconsole.warn('The language "'+a.value+'" you specified could not be found.'),e.code.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'");if(r.value){varl=u.highlightAuto(e.code);returna.value=(n=l.language)!==null&&n!==void0?n:"",l.value}return(l=u.highlight(e.code,{language:a.value,ignoreIllegals:e.ignoreIllegals})).value})}},render:function(){returng("pre",{},[g("code",{class:this.className,innerHTML:this.highlightedCode})])}}),f={install:function(e){e.component("highlightjs",i)},component:i};export{faso};