Files
server-configs/siyuan/data/plugins/monaco-editor/chunks/slave-DS-hwtOC.js

3 lines
41 KiB
JavaScript
Raw Normal View History

2026-02-13 22:24:27 +08:00
var qe=Object.defineProperty;var Ve=(e,t,i)=>t in e?qe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var C=(e,t,i)=>(Ve(e,typeof t!="symbol"?t+"":t,i),i);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))l(c);new MutationObserver(c=>{for(const b of c)if(b.type==="childList")for(const y of b.addedNodes)y.tagName==="LINK"&&y.rel==="modulepreload"&&l(y)}).observe(document,{childList:!0,subtree:!0});function i(c){const b={};return c.integrity&&(b.integrity=c.integrity),c.referrerPolicy&&(b.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?b.credentials="include":c.crossOrigin==="anonymous"?b.credentials="omit":b.credentials="same-origin",b}function l(c){if(c.ep)return;c.ep=!0;const b=i(c);fetch(c.href,b)}})();const Ge="monaco-editor",Ye="Zuoqiu Yingyi",Xe="https://github.com/Zuoqiu-Yingyi/siyuan-plugin-monaco-editor",Ke="0.2.5",Ze="3.0.12",Je=["代码","代碼","程式碼","code","visual","studio","vscode","monaco","编辑器","編輯器","editor","vditor","文件","資料","file","文件夹","文件夾","資料夾","folder","管理","manage","资源管理器","資源管理器","explorer","markdown","所见即所得","所見即所得","wysiwyg","下载","下載","download","上传","上傳","upload"],Qe=["all"],et=["desktop","desktop-window","browser-desktop"],tt={default:"Integrated Edit Environment",zh_CN:"集成编辑环境",zh_CHT:"集成編輯環境"},it={default:"A file editing tool integrating <a href='https://microsoft.github.io/monaco-editor/'>Monaco Editor</a>.",zh_CN:"一个集成了 <a href='https://microsoft.github.io/monaco-editor/'>Monaco Editor</a> 的文件编辑工具。",zh_CHT:"一個集成了 <a href='https://microsoft.github.io/monaco-editor/'>Monaco Editor</a> 的文件編輯工具。"},ot={default:"README.md",zh_CN:"README_zh_CN.md",zh_CHT:"README_zh_CN.md"},rt={openCollective:"",patreon:"",github:"",custom:["https://afdian.net/a/zuoqiu","https://ko-fi.com/zuoqiu"]},ai={name:Ge,author:Ye,url:Xe,version:Ke,minAppVersion:Ze,keywords:Je,backends:Qe,frontends:et,displayName:tt,description:it,readme:ot,funding:rt},at={fullscreen:{ariaLabel:"Fullscreen"},realTime:{ariaLabel:"Save changes in real time"},workspace:{text:"Workspace"}},nt="Integrated Edit Environment",st={collapse:{ariaLabel:"Collapse All Folder"},inline:{ariaLabel:`markdown: Edit standard markdown
kramdown: Inline elements use <span> tags`},kramdown:{ariaLabel:"Edit with kramdown"},refresh:{ariaLabel:"Save changes in real time"},title:"Code Edit"},lt={action:{save:{label:"Save"},saveAs:{label:"Save As"},setModelLanguage:{label:"Set Editor Model Language"},toggleWordWrap:{label:"Toggle Word Wrap"}},tooltip:{siyuanBlockHyperlink:{label:"SiYuan block hyperlink"},siyuanBlockID:{label:"SiYuan block ID"},siyuanBlockReference:{label:"SiYuan block reference"}}},ct={count:{ariaLabel:"Number of Resources"},file:{ariaLabel:"File"},fold:{ariaLabel:"Collapse"},folder:{ariaLabel:"Folder"},lastUpdated:{text:"Last Updated"},menu:{ariaLabel:"Menu"},refresh:{ariaLabel:"Refresh Explorer"},symlink:{ariaLabel:"Symbolic Link"},title:"File Explorer",toggle:{ariaLabel:"Collapse/Expand"},tooltips:{paths:[["conf","Configuration directory"],["conf/appearance","Appearance directory"],["conf/appearance/boot","Boot window directory"],["conf/appearance/emojis","Emojis directory"],["conf/appearance/icons","Interface icons directory"],["conf/appearance/langs","Localization directory"],["conf/appearance/themes","Themes directory"],["conf/conf.json","Configuration file"],["conf/windowState.json","Window state file"],["data","Data directory"],["data/.siyuan","Metadata directory"],["data/.siyuan/filesys_status_check","File system status check temporary file directory"],["data/.siyuan/conf.json","Data directory state file"],["data/.siyuan/syncignore","Data snapshot ignore configuration file"],["data/assets","Resources file directory"],["data/assets/ocr-texts.json","Image OCR results"],["data/emojis","Custom emojis file directory"],["data/plugins","Plugins directory"],["data/public","Public file directory"],["data/snippets","Code snippets directory"],["data/snippets/conf.json","Code snippets list"],["data/storage","Data storage directory"],["data/storage/av","Attribute view directory"],["data/storage/petal","Plugin data directory"],["data/storage/petal/petals.json","Plugin status directory"],["data/storage/riff","Flashcard data directory"],["data/storage/criteria.json","Search configuration"],["data/storage/local.json","Local interface configuration"],["data/storage/recent-doc.json","Recently opened documents"],["data/templates","Template directory"],["data/widgets","Widgets directory"],["history","History data directory"],["repo","Data snapshot directory"],["temp","Temporary file directory"],["temp/blocktree","Content block structure index directory"],["temp/os","System information directory"],["temp/pandoc","Pandoc directory"],["temp/pandoc/bin","Pandoc executable file directory"],["temp/history.db","Historical document index database file"],["temp/history.db-shm","Historical document index database shared memory file"],["temp/history.db-wal","Historical document index database write-ahead log file"],["temp/siyuan.db","Content block index database file"],["temp/siyuan.db-shm","Content block index database shared memory file"],["temp/siyuan.db-wal","Content block index database write-ahead log file"],["temp/siyuan.log","Kernel log file"],[".lock","Workspace occupied flag"]],siyuanDoc:"Document file",siyuanDocCustomSort:"Document customized sort file",siyuanDocDir:"Document directory",siyuanNotebook:"Notebook directory",siyuanNotebookConfig:"Notebook configuration file",siyuanNotebookMetadataDir:"Notebook metadata directory"},unfold:{ariaLabel:"Expand"},workspace:{name:"Workspace"}},dt={charset:{label:"Character set",placeholder:"The name of the character set",text:"Open the file with encoding"},confirm:{placeholder:"The full path to the resource",text:"Warning: You are operating on a protected resource ${1} !<br/>Your subsequent activities may lead to data loss or damage!<br/><br/>If you want to continue the operation, please enter the complete path of the resource ${2} in the text box below",tips:{pleaseEnter:"Please enter the complete path of the resource",warn:"Are you sure you want to continue operating the resource ${1}?"},title:"⚠️ High-risk operation confirmation"},copy:{label:"Copy"},copyDownloadHyperlink:{label:"Copy Download Hyperlink"}