muerwre.github.io/nuxt/ProseCode.da94bcce.js
muerwre db5486d5a1 commit 2265edf83a
Author: Fedor Katurov <gotham48@gmail.com>
Date:   Thu Nov 10 14:25:54 2022 +0600

    fixed images on landings
2022-11-10 08:27:45 +00:00

1 line
793 B
JavaScript

import i from"./UiIconCopy.b61d88ed.js";import{a as u,o as t,e as a,f as n,h as s,i as d,t as p,j as m,r as f,k as g}from"./entry.15ae7dfb.js";import{s as _}from"./ProseCode.vue_used_vue_type_style_index_1_lang.module.230a312a.js";const h={key:0},y=u({__name:"ProseCode",props:{code:null,language:{default:null},filename:{default:null},highlights:{default:()=>[]}},setup(o){const l=o,r=()=>{navigator.clipboard.writeText(l.code)};return(e,k)=>{const c=i;return t(),a("div",{class:s(e.$style.wrapper)},[n("button",{class:s(e.$style.language),onClick:r},[n("span",{class:s(e.$style.icon)},[d(c,{width:"12",height:"12",fill:"currentColor"})],2),o.language?(t(),a("span",h,p(o.language),1)):m("",!0)],2),f(e.$slots,"default")],2)}}}),C={$style:_},N=g(y,[["__cssModules",C]]);export{N as default};