2 lines
92 KiB
JavaScript
2 lines
92 KiB
JavaScript
|
import{at as e,g as t,au as n,r as l,a8 as i,o as r,av as s,aw as a,i as o,c,ax as u,v as d,ay as p,az as h,aA as m,d as g,e as f,y as v,w as k,j as b,a3 as x,T as y,q as w,R as S,aB as C,O as $,aC as T,t as E,aD as _,aE as I,A as L,aa as z,Q as A,ak as D,aF as R,aG as j,z as O}from"./vendor.08310185.js";import{C as P}from"./index.4ac3587a.js";const F=(e,t)=>"#".repeat(t=t>6?6:t)+" "+e+"\n",M=()=>"--- \n",H=e=>"```json \n"+e+" \n```\n",U=(e,t)=>{let n="|"+e.join("|")+"|\n",l="";e.forEach((e=>l=l.concat("|--"))),l+="| \n";let i="";return t.forEach((e=>{i=i.concat("|"+e.join("|")+"|\n")})),n+l+i};var B=Object.defineProperty,q=Object.defineProperties,K=Object.getOwnPropertyDescriptors,N=Object.getOwnPropertySymbols,V=Object.prototype.hasOwnProperty,Z=Object.prototype.propertyIsEnumerable,J=(e,t,n)=>t in e?B(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,G=(e,t)=>{for(var n in t||(t={}))V.call(t,n)&&J(e,n,t[n]);if(N)for(var n of N(t))Z.call(t,n)&&J(e,n,t[n]);return e},Q=(e,t)=>q(e,K(t));const W="https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/atom-one-dark.css",X="https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/github.css",Y="https://cdn.jsdelivr.net/npm/highlight.js@11.2.0/styles/github-dark.css",ee="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.2.0/build/highlight.min.js",te="https://cdn.jsdelivr.net/npm/prettier@2.4.0/standalone.js",ne="https://cdn.jsdelivr.net/npm/prettier@2.4.0/parser-markdown.js",le="https://cdn.jsdelivr.net/npm/cropperjs@1.5.12/dist/cropper.min.css",ie="https://cdn.jsdelivr.net/npm/cropperjs@1.5.12/dist/cropper.min.js",re=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","htmlPreview","catalog","github"],se={"zh-CN":{toolbarTips:{bold:"加粗",underline:"下划线",italic:"斜体",strikeThrough:"删除线",title:"标题",sub:"下标",sup:"上标",quote:"引用",unorderedList:"无序列表",orderedList:"有序列表",codeRow:"行内代码",code:"块级代码",link:"链接",image:"图片",table:"表格",mermaid:"mermaid图",katex:"公式",revoke:"后退",next:"前进",save:"保存",prettier:"美化",pageFullscreen:"浏览器全屏",fullscreen:"屏幕全屏",preview:"预览",htmlPreview:"html代码预览",catalog:"目录",github:"源码地址"},titleItem:{h1:"一级标题",h2:"二级标题",h3:"三级标题",h4:"四级标题",h5:"五级标题",h6:"六级标题"},imgTitleItem:{link:"添加链接",upload:"上传图片",clip2upload:"裁剪上传"},linkModalTips:{title:"添加",descLable:"链接描述:",descLablePlaceHolder:"请输入描述...",urlLable:"链接地址:",UrlLablePlaceHolder:"请输入链接...",buttonOK:"确定"},clipModalTips:{title:"裁剪图片上传",buttonUpload:"上传"},copyCode:{text:"复制代码",tips:"已复制!"},mermaid:{flow:"流程图",sequence:"时序图",gantt:"甘特图",class:"类图",state:"状态图",pie:"饼图",relationship:"关系图",journey:"旅程图"},katex:{inline:"行内公式",block:"块级公式"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Img Link",upload:"Upload Img",clip2upload:"Clip Upload"},linkModalTips:{title:"Add ",descLable:"Desc:",descLablePlaceHolder:"Enter a description...",urlLable:"Link:",UrlLablePlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Cro
|