[{"data":1,"prerenderedAt":1626},["ShallowReactive",2],{"quirekit-doc:\u002Fbuild\u002Fproduct-plugin":3,"quirekit-source:product\u002Fplugin\u002Fnotebook.ts":221,"mdc--4wxwvu-key":222},{"id":4,"title":5,"body":6,"description":209,"extension":210,"keywords":211,"locale":212,"meta":213,"navigation":214,"order":215,"path":216,"section":217,"seo":218,"stem":219,"__hash__":220},"docs\u002Fbuild\u002Fproduct-plugin.zh-CN.md","给 Classic 增加产品功能",{"type":7,"value":8,"toc":200},"minimark",[9,13,21,25,28,32,36,50,68,71,75,96,99,103,114,117,120,177,181],[10,11,12],"p",{},"前一章的提示组改变“正文里有什么”。如果你想增加工具栏按钮、侧栏或文件菜单，就需要产品层的插件。本章复用 Classic 的界面，加入“我的产品”分组和“产品检查器”面板。",[10,14,15,16,20],{},"如果完全自己实现工作区，可以直接组合自己的组件；Classic 插件声明需要由 Classic 产品实例消费，不能放进 Core 的 ",[17,18,19],"code",{},"extensions"," 后期待出现工具栏。",[22,23,24],"h2",{"id":24},"先试一下要做的功能",[10,26,27],{},"在开始功能区找到“我的产品”，点击“插入说明”，观察正文变化。再打开“产品检查器”，查看当前产品状态；关闭面板不会修改正文。",[29,30],"docs-demo",{"name":31},"product\u002Fplugin\u002Feditor",[22,33,35],{"id":34},"_1-在插件中声明动作","1. 在插件中声明动作",[10,37,38,41,42,45,46,49],{},[17,39,40],{},"plugin\u002Fnotebook.ts"," 是插件入口。它定义分组和动作，并把它们放到功能区。分组的 ",[17,43,44],{},"tabId"," 指定已有页签，动作的 ",[17,47,48],{},"groupId"," 指定放在哪个分组。",[10,51,52,53,56,57,60,61,64,65,67],{},"动作运行时能取得当前 ",[17,54,55],{},"editor","、产品 ",[17,58,59],{},"instance"," 和 ",[17,62,63],{},"ui","。修改文字时调用 Core 命令；打开面板时使用 ",[17,66,63],{},"。这样同一个动作可以复用到其他工具栏位置，不需要再维护一套文字命令。",[10,69,70],{},"动作还可以分别提供“是否安装了这项能力”“当前能否执行”“是否已选中”和“禁用原因”。只读或选区变化后，Classic 使用这些查询更新界面。",[22,72,74],{"id":73},"_2-创建并更新侧栏","2. 创建并更新侧栏",[10,76,77,80,81,84,85,88,89,88,92,95],{},[17,78,79],{},"plugin\u002Fpanel.ts"," 连接 Classic 与 Vue，",[17,82,83],{},"plugin\u002Fpanel.vue"," 显示面板内容。挂载结果包含 ",[17,86,87],{},"element","、",[17,90,91],{},"update",[17,93,94],{},"destroy","：分别提供页面元素、刷新上下文、清理组件。",[10,97,98],{},"面板打开时创建自己的 Vue 根；语言和选区改变时更新现有界面；关闭时释放它。不要在插件的每次更新中重复创建订阅。",[22,100,102],{"id":101},"_3-注册文件服务","3. 注册文件服务",[10,104,105,106,109,110,113],{},"示例还注册了 ",[17,107,108],{},"notebook-backup"," 服务。点击“下载产品备份”时，应用调用 ",[17,111,112],{},"instance.exportDocument('notebook-backup')","，取得生成的数据、文件名和 MIME，再交给浏览器下载。",[10,115,116],{},"服务负责格式读写；文件菜单中的位置需要另行声明。因此可以复用同一转换服务，而不强制使用同一种菜单布局。",[22,118,119],{"id":119},"文件分工",[121,122,123,136],"table",{},[124,125,126],"thead",{},[127,128,129,133],"tr",{},[130,131,132],"th",{},"文件",[130,134,135],{},"用途",[137,138,139,149,158,167],"tbody",{},[127,140,141,146],{},[142,143,144],"td",{},[17,145,40],{},[142,147,148],{},"插件、分组、动作和文件服务声明",[127,150,151,155],{},[142,152,153],{},[17,154,79],{},[142,156,157],{},"将侧栏挂载生命周期连接到 Vue",[127,159,160,164],{},[142,161,162],{},[17,163,83],{},[142,165,166],{},"产品检查器的界面",[127,168,169,174],{},[142,170,171],{},[17,172,173],{},"plugin\u002Feditor.vue",[142,175,176],{},"创建 Classic 并安装该插件",[178,179],"docs-recipe",{"name":180},"product\u002Fplugin\u002Fnotebook",[10,182,183,184,189,190,194,195,199],{},"接入入口和类型见 ",[185,186,188],"a",{"href":187},"\u002Fclassic\u002Fplugins","Classic 插件文档","与 ",[185,191,193],{"href":192},"\u002Fclassic\u002Fapi","Classic API","。文件失败和异步加载的处理继续见",[185,196,198],{"href":197},"\u002Fbuild\u002Ffiles","保存与打开","。",{"title":201,"searchDepth":202,"depth":202,"links":203},"",2,[204,205,206,207,208],{"id":24,"depth":202,"text":24},{"id":34,"depth":202,"text":35},{"id":73,"depth":202,"text":74},{"id":101,"depth":202,"text":102},{"id":119,"depth":202,"text":119},"区分正文扩展和界面插件，添加动作、侧栏与文件服务。","md",null,"zh-CN",{},true,6,"\u002Fbuild\u002Fproduct-plugin","构建产品",{"title":5,"description":209},"build\u002Fproduct-plugin.zh-CN","hBU9KlUWjFCxVPUcgk2WbcpkCSNzdyRZ2sNiIApAdwQ","import { defineClassicEditorPlugin, createClassicEditorRibbonAction, type ClassicEditorActionDefinition } from \"@quirekit\u002Fclassic-editor\u002Fvue\";\nimport { readBackup, createBackup } from \"..\u002Ffiles\u002Fbackup\";\nimport { renderNotebookPanel } from \".\u002Fpanel\";\n\n\u002F**\n * Builds a fresh product plugin with a ribbon group, typed action, panel and backup service.\n * @returns Declarations consumed by Classic's registry; they do not replace Core mutation semantics.\n *\u002F\nexport function createNotebookPlugin() {\n  const open: ClassicEditorActionDefinition = {\n    id: \"notebook.inspect\", label: { \"zh-CN\": \"产品检查器\", en: \"Product inspector\" }, order: 10,\n    run(context) { context.ui.openSidebarPanel(\"right\", \"notebook.panel\"); return true; },\n    isActive(context) { return context.ui.state.rightSidebar.visible && context.ui.state.rightSidebar.activePanelId === \"notebook.panel\"; },\n  };\n  const insert: ClassicEditorActionDefinition = {\n    id: \"notebook.insert\", label: { \"zh-CN\": \"插入说明\", en: \"Insert note text\" }, order: 20,\n    canExecute(context) { return context.editor.isEditable && context.editor.can().insertContent({ type: \"paragraph\" }); },\n    run(context) { return context.editor.chain().focus().insertContent({ type: \"paragraph\", content: [{ type: \"text\",\n      text: context.locale === \"en\" ? \"Inserted by a product plugin.\" : \"由产品插件插入的说明。\" }] }).run(); },\n  };\n  return defineClassicEditorPlugin({ id: \"notebook\",\n    contributions: [\n      { kind: \"ribbon-group\", id: \"notebook.group\", tabId: \"home\", label: { \"zh-CN\": \"我的产品\", en: \"My product\" }, order: 1 },\n      createClassicEditorRibbonAction(\"notebook.inspect.control\", \"notebook.group\", open),\n      createClassicEditorRibbonAction(\"notebook.insert.control\", \"notebook.group\", insert),\n    ],\n    sidebarPanels: [{ kind: \"sidebar-panel\", id: \"notebook.panel\", side: \"right\", label: { \"zh-CN\": \"产品检查器\", en: \"Product inspector\" }, order: 10, render: renderNotebookPanel }],\n    services: [{ id: \"notebook-backup\", label: { \"zh-CN\": \"产品备份\", en: \"Product backup\" },\n      format: { id: \"notebook-json\", extensions: [\".json\"], mimeTypes: [\"application\u002Fjson\"] },\n      export(context) { return { data: JSON.stringify(createBackup(context.editor, \"word-v1\")), fileName: \"notebook.json\", mimeType: \"application\u002Fjson\" }; },\n      import(context, input) {\n        if (!context.editor.isEditable) throw new Error(\"The product is read only\");\n        const source = typeof input.data === \"string\" ? input.data : new TextDecoder().decode(input.data);\n        const document = readBackup(source, \"word-v1\", context.editor.schema);\n        context.commit(() => context.editor.commands.replaceDocument(document, { errorOnInvalidContent: true }));\n      },\n    }],\n  });\n}\n",{"data":223,"body":224},{},{"type":225,"children":226},"root",[227,1620],{"type":87,"tag":228,"props":229,"children":233},"pre",{"className":230,"code":231,"language":232,"meta":201,"style":201},"language-ts shiki shiki-themes github-light github-light github-dark","import { defineClassicEditorPlugin, createClassicEditorRibbonAction, type ClassicEditorActionDefinition } from \"@quirekit\u002Fclassic-editor\u002Fvue\";\nimport { readBackup, createBackup } from \"..\u002Ffiles\u002Fbackup\";\nimport { renderNotebookPanel } from \".\u002Fpanel\";\n\n\u002F**\n * Builds a fresh product plugin with a ribbon group, typed action, panel and backup service.\n * @returns Declarations consumed by Classic's registry; they do not replace Core mutation semantics.\n *\u002F\nexport function createNotebookPlugin() {\n  const open: ClassicEditorActionDefinition = {\n    id: \"notebook.inspect\", label: { \"zh-CN\": \"产品检查器\", en: \"Product inspector\" }, order: 10,\n    run(context) { context.ui.openSidebarPanel(\"right\", \"notebook.panel\"); return true; },\n    isActive(context) { return context.ui.state.rightSidebar.visible && context.ui.state.rightSidebar.activePanelId === \"notebook.panel\"; },\n  };\n  const insert: ClassicEditorActionDefinition = {\n    id: \"notebook.insert\", label: { \"zh-CN\": \"插入说明\", en: \"Insert note text\" }, order: 20,\n    canExecute(context) { return context.editor.isEditable && context.editor.can().insertContent({ type: \"paragraph\" }); },\n    run(context) { return context.editor.chain().focus().insertContent({ type: \"paragraph\", content: [{ type: \"text\",\n      text: context.locale === \"en\" ? \"Inserted by a product plugin.\" : \"由产品插件插入的说明。\" }] }).run(); },\n  };\n  return defineClassicEditorPlugin({ id: \"notebook\",\n    contributions: [\n      { kind: \"ribbon-group\", id: \"notebook.group\", tabId: \"home\", label: { \"zh-CN\": \"我的产品\", en: \"My product\" }, order: 1 },\n      createClassicEditorRibbonAction(\"notebook.inspect.control\", \"notebook.group\", open),\n      createClassicEditorRibbonAction(\"notebook.insert.control\", \"notebook.group\", insert),\n    ],\n    sidebarPanels: [{ kind: \"sidebar-panel\", id: \"notebook.panel\", side: \"right\", label: { \"zh-CN\": \"产品检查器\", en: \"Product inspector\" }, order: 10, render: renderNotebookPanel }],\n    services: [{ id: \"notebook-backup\", label: { \"zh-CN\": \"产品备份\", en: \"Product backup\" },\n      format: { id: \"notebook-json\", extensions: [\".json\"], mimeTypes: [\"application\u002Fjson\"] },\n      export(context) { return { data: JSON.stringify(createBackup(context.editor, \"word-v1\")), fileName: \"notebook.json\", mimeType: \"application\u002Fjson\" }; },\n      import(context, input) {\n        if (!context.editor.isEditable) throw new Error(\"The product is read only\");\n        const source = typeof input.data === \"string\" ? input.data : new TextDecoder().decode(input.data);\n        const document = readBackup(source, \"word-v1\", context.editor.schema);\n        context.commit(() => context.editor.commands.replaceDocument(document, { errorOnInvalidContent: true }));\n      },\n    }],\n  });\n}\n\n","ts",[234],{"type":87,"tag":17,"props":235,"children":236},{"__ignoreMap":201},[237,282,307,333,342,352,360,379,388,413,448,507,576,631,640,669,721,790,862,915,923,951,960,1034,1065,1095,1104,1172,1216,1255,1343,1374,1427,1499,1535,1584,1593,1602,1611],{"type":87,"tag":238,"props":239,"children":242},"span",{"class":240,"line":241},"line",1,[243,250,256,261,266,271,277],{"type":87,"tag":238,"props":244,"children":246},{"style":245},"--shiki-default:#D73A49;--shiki-light:#D73A49;--shiki-dark:#F97583",[247],{"type":248,"value":249},"text","import",{"type":87,"tag":238,"props":251,"children":253},{"style":252},"--shiki-default:#24292E;--shiki-light:#24292E;--shiki-dark:#E1E4E8",[254],{"type":248,"value":255}," { defineClassicEditorPlugin, createClassicEditorRibbonAction, ",{"type":87,"tag":238,"props":257,"children":258},{"style":245},[259],{"type":248,"value":260},"type",{"type":87,"tag":238,"props":262,"children":263},{"style":252},[264],{"type":248,"value":265}," ClassicEditorActionDefinition } ",{"type":87,"tag":238,"props":267,"children":268},{"style":245},[269],{"type":248,"value":270},"from",{"type":87,"tag":238,"props":272,"children":274},{"style":273},"--shiki-default:#032F62;--shiki-light:#032F62;--shiki-dark:#9ECBFF",[275],{"type":248,"value":276}," \"@quirekit\u002Fclassic-editor\u002Fvue\"",{"type":87,"tag":238,"props":278,"children":279},{"style":252},[280],{"type":248,"value":281},";\n",{"type":87,"tag":238,"props":283,"children":284},{"class":240,"line":202},[285,289,294,298,303],{"type":87,"tag":238,"props":286,"children":287},{"style":245},[288],{"type":248,"value":249},{"type":87,"tag":238,"props":290,"children":291},{"style":252},[292],{"type":248,"value":293}," { readBackup, createBackup } ",{"type":87,"tag":238,"props":295,"children":296},{"style":245},[297],{"type":248,"value":270},{"type":87,"tag":238,"props":299,"children":300},{"style":273},[301],{"type":248,"value":302}," \"..\u002Ffiles\u002Fbackup\"",{"type":87,"tag":238,"props":304,"children":305},{"style":252},[306],{"type":248,"value":281},{"type":87,"tag":238,"props":308,"children":310},{"class":240,"line":309},3,[311,315,320,324,329],{"type":87,"tag":238,"props":312,"children":313},{"style":245},[314],{"type":248,"value":249},{"type":87,"tag":238,"props":316,"children":317},{"style":252},[318],{"type":248,"value":319}," { renderNotebookPanel } ",{"type":87,"tag":238,"props":321,"children":322},{"style":245},[323],{"type":248,"value":270},{"type":87,"tag":238,"props":325,"children":326},{"style":273},[327],{"type":248,"value":328}," \".\u002Fpanel\"",{"type":87,"tag":238,"props":330,"children":331},{"style":252},[332],{"type":248,"value":281},{"type":87,"tag":238,"props":334,"children":336},{"class":240,"line":335},4,[337],{"type":87,"tag":238,"props":338,"children":339},{"emptyLinePlaceholder":214},[340],{"type":248,"value":341},"\n",{"type":87,"tag":238,"props":343,"children":345},{"class":240,"line":344},5,[346],{"type":87,"tag":238,"props":347,"children":349},{"style":348},"--shiki-default:#6A737D;--shiki-light:#6A737D;--shiki-dark:#6A737D",[350],{"type":248,"value":351},"\u002F**\n",{"type":87,"tag":238,"props":353,"children":354},{"class":240,"line":215},[355],{"type":87,"tag":238,"props":356,"children":357},{"style":348},[358],{"type":248,"value":359}," * Builds a fresh product plugin with a ribbon group, typed action, panel and backup service.\n",{"type":87,"tag":238,"props":361,"children":363},{"class":240,"line":362},7,[364,369,374],{"type":87,"tag":238,"props":365,"children":366},{"style":348},[367],{"type":248,"value":368}," * ",{"type":87,"tag":238,"props":370,"children":371},{"style":245},[372],{"type":248,"value":373},"@returns",{"type":87,"tag":238,"props":375,"children":376},{"style":348},[377],{"type":248,"value":378}," Declarations consumed by Classic's registry; they do not replace Core mutation semantics.\n",{"type":87,"tag":238,"props":380,"children":382},{"class":240,"line":381},8,[383],{"type":87,"tag":238,"props":384,"children":385},{"style":348},[386],{"type":248,"value":387}," *\u002F\n",{"type":87,"tag":238,"props":389,"children":391},{"class":240,"line":390},9,[392,397,402,408],{"type":87,"tag":238,"props":393,"children":394},{"style":245},[395],{"type":248,"value":396},"export",{"type":87,"tag":238,"props":398,"children":399},{"style":245},[400],{"type":248,"value":401}," function",{"type":87,"tag":238,"props":403,"children":405},{"style":404},"--shiki-default:#6F42C1;--shiki-light:#6F42C1;--shiki-dark:#B392F0",[406],{"type":248,"value":407}," createNotebookPlugin",{"type":87,"tag":238,"props":409,"children":410},{"style":252},[411],{"type":248,"value":412},"() {\n",{"type":87,"tag":238,"props":414,"children":416},{"class":240,"line":415},10,[417,422,428,433,438,443],{"type":87,"tag":238,"props":418,"children":419},{"style":245},[420],{"type":248,"value":421},"  const",{"type":87,"tag":238,"props":423,"children":425},{"style":424},"--shiki-default:#005CC5;--shiki-light:#005CC5;--shiki-dark:#79B8FF",[426],{"type":248,"value":427}," open",{"type":87,"tag":238,"props":429,"children":430},{"style":245},[431],{"type":248,"value":432},":",{"type":87,"tag":238,"props":434,"children":435},{"style":404},[436],{"type":248,"value":437}," ClassicEditorActionDefinition",{"type":87,"tag":238,"props":439,"children":440},{"style":245},[441],{"type":248,"value":442}," =",{"type":87,"tag":238,"props":444,"children":445},{"style":252},[446],{"type":248,"value":447}," {\n",{"type":87,"tag":238,"props":449,"children":451},{"class":240,"line":450},11,[452,457,462,467,472,477,482,487,492,497,502],{"type":87,"tag":238,"props":453,"children":454},{"style":252},[455],{"type":248,"value":456},"    id: ",{"type":87,"tag":238,"props":458,"children":459},{"style":273},[460],{"type":248,"value":461},"\"notebook.inspect\"",{"type":87,"tag":238,"props":463,"children":464},{"style":252},[465],{"type":248,"value":466},", label: { ",{"type":87,"tag":238,"props":468,"children":469},{"style":273},[470],{"type":248,"value":471},"\"zh-CN\"",{"type":87,"tag":238,"props":473,"children":474},{"style":252},[475],{"type":248,"value":476},": ",{"type":87,"tag":238,"props":478,"children":479},{"style":273},[480],{"type":248,"value":481},"\"产品检查器\"",{"type":87,"tag":238,"props":483,"children":484},{"style":252},[485],{"type":248,"value":486},", en: ",{"type":87,"tag":238,"props":488,"children":489},{"style":273},[490],{"type":248,"value":491},"\"Product inspector\"",{"type":87,"tag":238,"props":493,"children":494},{"style":252},[495],{"type":248,"value":496}," }, order: ",{"type":87,"tag":238,"props":498,"children":499},{"style":424},[500],{"type":248,"value":501},"10",{"type":87,"tag":238,"props":503,"children":504},{"style":252},[505],{"type":248,"value":506},",\n",{"type":87,"tag":238,"props":508,"children":510},{"class":240,"line":509},12,[511,516,521,527,532,537,541,546,551,556,561,566,571],{"type":87,"tag":238,"props":512,"children":513},{"style":404},[514],{"type":248,"value":515},"    run",{"type":87,"tag":238,"props":517,"children":518},{"style":252},[519],{"type":248,"value":520},"(",{"type":87,"tag":238,"props":522,"children":524},{"style":523},"--shiki-default:#E36209;--shiki-light:#E36209;--shiki-dark:#FFAB70",[525],{"type":248,"value":526},"context",{"type":87,"tag":238,"props":528,"children":529},{"style":252},[530],{"type":248,"value":531},") { context.ui.",{"type":87,"tag":238,"props":533,"children":534},{"style":404},[535],{"type":248,"value":536},"openSidebarPanel",{"type":87,"tag":238,"props":538,"children":539},{"style":252},[540],{"type":248,"value":520},{"type":87,"tag":238,"props":542,"children":543},{"style":273},[544],{"type":248,"value":545},"\"right\"",{"type":87,"tag":238,"props":547,"children":548},{"style":252},[549],{"type":248,"value":550},", ",{"type":87,"tag":238,"props":552,"children":553},{"style":273},[554],{"type":248,"value":555},"\"notebook.panel\"",{"type":87,"tag":238,"props":557,"children":558},{"style":252},[559],{"type":248,"value":560},"); ",{"type":87,"tag":238,"props":562,"children":563},{"style":245},[564],{"type":248,"value":565},"return",{"type":87,"tag":238,"props":567,"children":568},{"style":424},[569],{"type":248,"value":570}," true",{"type":87,"tag":238,"props":572,"children":573},{"style":252},[574],{"type":248,"value":575},"; },\n",{"type":87,"tag":238,"props":577,"children":579},{"class":240,"line":578},13,[580,585,589,593,598,602,607,612,617,622,627],{"type":87,"tag":238,"props":581,"children":582},{"style":404},[583],{"type":248,"value":584},"    isActive",{"type":87,"tag":238,"props":586,"children":587},{"style":252},[588],{"type":248,"value":520},{"type":87,"tag":238,"props":590,"children":591},{"style":523},[592],{"type":248,"value":526},{"type":87,"tag":238,"props":594,"children":595},{"style":252},[596],{"type":248,"value":597},") { ",{"type":87,"tag":238,"props":599,"children":600},{"style":245},[601],{"type":248,"value":565},{"type":87,"tag":238,"props":603,"children":604},{"style":252},[605],{"type":248,"value":606}," context.ui.state.rightSidebar.visible ",{"type":87,"tag":238,"props":608,"children":609},{"style":245},[610],{"type":248,"value":611},"&&",{"type":87,"tag":238,"props":613,"children":614},{"style":252},[615],{"type":248,"value":616}," context.ui.state.rightSidebar.activePanelId ",{"type":87,"tag":238,"props":618,"children":619},{"style":245},[620],{"type":248,"value":621},"===",{"type":87,"tag":238,"props":623,"children":624},{"style":273},[625],{"type":248,"value":626}," \"notebook.panel\"",{"type":87,"tag":238,"props":628,"children":629},{"style":252},[630],{"type":248,"value":575},{"type":87,"tag":238,"props":632,"children":634},{"class":240,"line":633},14,[635],{"type":87,"tag":238,"props":636,"children":637},{"style":252},[638],{"type":248,"value":639},"  };\n",{"type":87,"tag":238,"props":641,"children":643},{"class":240,"line":642},15,[644,648,653,657,661,665],{"type":87,"tag":238,"props":645,"children":646},{"style":245},[647],{"type":248,"value":421},{"type":87,"tag":238,"props":649,"children":650},{"style":424},[651],{"type":248,"value":652}," insert",{"type":87,"tag":238,"props":654,"children":655},{"style":245},[656],{"type":248,"value":432},{"type":87,"tag":238,"props":658,"children":659},{"style":404},[660],{"type":248,"value":437},{"type":87,"tag":238,"props":662,"children":663},{"style":245},[664],{"type":248,"value":442},{"type":87,"tag":238,"props":666,"children":667},{"style":252},[668],{"type":248,"value":447},{"type":87,"tag":238,"props":670,"children":672},{"class":240,"line":671},16,[673,677,682,686,690,694,699,703,708,712,717],{"type":87,"tag":238,"props":674,"children":675},{"style":252},[676],{"type":248,"value":456},{"type":87,"tag":238,"props":678,"children":679},{"style":273},[680],{"type":248,"value":681},"\"notebook.insert\"",{"type":87,"tag":238,"props":683,"children":684},{"style":252},[685],{"type":248,"value":466},{"type":87,"tag":238,"props":687,"children":688},{"style":273},[689],{"type":248,"value":471},{"type":87,"tag":238,"props":691,"children":692},{"style":252},[693],{"type":248,"value":476},{"type":87,"tag":238,"props":695,"children":696},{"style":273},[697],{"type":248,"value":698},"\"插入说明\"",{"type":87,"tag":238,"props":700,"children":701},{"style":252},[702],{"type":248,"value":486},{"type":87,"tag":238,"props":704,"children":705},{"style":273},[706],{"type":248,"value":707},"\"Insert note text\"",{"type":87,"tag":238,"props":709,"children":710},{"style":252},[711],{"type":248,"value":496},{"type":87,"tag":238,"props":713,"children":714},{"style":424},[715],{"type":248,"value":716},"20",{"type":87,"tag":238,"props":718,"children":719},{"style":252},[720],{"type":248,"value":506},{"type":87,"tag":238,"props":722,"children":724},{"class":240,"line":723},17,[725,730,734,738,742,746,751,755,760,765,770,775,780,785],{"type":87,"tag":238,"props":726,"children":727},{"style":404},[728],{"type":248,"value":729},"    canExecute",{"type":87,"tag":238,"props":731,"children":732},{"style":252},[733],{"type":248,"value":520},{"type":87,"tag":238,"props":735,"children":736},{"style":523},[737],{"type":248,"value":526},{"type":87,"tag":238,"props":739,"children":740},{"style":252},[741],{"type":248,"value":597},{"type":87,"tag":238,"props":743,"children":744},{"style":245},[745],{"type":248,"value":565},{"type":87,"tag":238,"props":747,"children":748},{"style":252},[749],{"type":248,"value":750}," context.editor.isEditable ",{"type":87,"tag":238,"props":752,"children":753},{"style":245},[754],{"type":248,"value":611},{"type":87,"tag":238,"props":756,"children":757},{"style":252},[758],{"type":248,"value":759}," context.editor.",{"type":87,"tag":238,"props":761,"children":762},{"style":404},[763],{"type":248,"value":764},"can",{"type":87,"tag":238,"props":766,"children":767},{"style":252},[768],{"type":248,"value":769},"().",{"type":87,"tag":238,"props":771,"children":772},{"style":404},[773],{"type":248,"value":774},"insertContent",{"type":87,"tag":238,"props":776,"children":777},{"style":252},[778],{"type":248,"value":779},"({ type: ",{"type":87,"tag":238,"props":781,"children":782},{"style":273},[783],{"type":248,"value":784},"\"paragraph\"",{"type":87,"tag":238,"props":786,"children":787},{"style":252},[788],{"type":248,"value":789}," }); },\n",{"type":87,"tag":238,"props":791,"children":793},{"class":240,"line":792},18,[794,798,802,806,810,814,818,823,827,832,836,840,844,848,853,858],{"type":87,"tag":238,"props":795,"children":796},{"style":404},[797],{"type":248,"value":515},{"type":87,"tag":238,"props":799,"children":800},{"style":252},[801],{"type":248,"value":520},{"type":87,"tag":238,"props":803,"children":804},{"style":523},[805],{"type":248,"value":526},{"type":87,"tag":238,"props":807,"children":808},{"style":252},[809],{"type":248,"value":597},{"type":87,"tag":238,"props":811,"children":812},{"style":245},[813],{"type":248,"value":565},{"type":87,"tag":238,"props":815,"children":816},{"style":252},[817],{"type":248,"value":759},{"type":87,"tag":238,"props":819,"children":820},{"style":404},[821],{"type":248,"value":822},"chain",{"type":87,"tag":238,"props":824,"children":825},{"style":252},[826],{"type":248,"value":769},{"type":87,"tag":238,"props":828,"children":829},{"style":404},[830],{"type":248,"value":831},"focus",{"type":87,"tag":238,"props":833,"children":834},{"style":252},[835],{"type":248,"value":769},{"type":87,"tag":238,"props":837,"children":838},{"style":404},[839],{"type":248,"value":774},{"type":87,"tag":238,"props":841,"children":842},{"style":252},[843],{"type":248,"value":779},{"type":87,"tag":238,"props":845,"children":846},{"style":273},[847],{"type":248,"value":784},{"type":87,"tag":238,"props":849,"children":850},{"style":252},[851],{"type":248,"value":852},", content: [{ type: ",{"type":87,"tag":238,"props":854,"children":855},{"style":273},[856],{"type":248,"value":857},"\"text\"",{"type":87,"tag":238,"props":859,"children":860},{"style":252},[861],{"type":248,"value":506},{"type":87,"tag":238,"props":863,"children":865},{"class":240,"line":864},19,[866,871,875,880,885,890,895,900,905,910],{"type":87,"tag":238,"props":867,"children":868},{"style":252},[869],{"type":248,"value":870},"      text: context.locale ",{"type":87,"tag":238,"props":872,"children":873},{"style":245},[874],{"type":248,"value":621},{"type":87,"tag":238,"props":876,"children":877},{"style":273},[878],{"type":248,"value":879}," \"en\"",{"type":87,"tag":238,"props":881,"children":882},{"style":245},[883],{"type":248,"value":884}," ?",{"type":87,"tag":238,"props":886,"children":887},{"style":273},[888],{"type":248,"value":889}," \"Inserted by a product plugin.\"",{"type":87,"tag":238,"props":891,"children":892},{"style":245},[893],{"type":248,"value":894}," :",{"type":87,"tag":238,"props":896,"children":897},{"style":273},[898],{"type":248,"value":899}," \"由产品插件插入的说明。\"",{"type":87,"tag":238,"props":901,"children":902},{"style":252},[903],{"type":248,"value":904}," }] }).",{"type":87,"tag":238,"props":906,"children":907},{"style":404},[908],{"type":248,"value":909},"run",{"type":87,"tag":238,"props":911,"children":912},{"style":252},[913],{"type":248,"value":914},"(); },\n",{"type":87,"tag":238,"props":916,"children":918},{"class":240,"line":917},20,[919],{"type":87,"tag":238,"props":920,"children":921},{"style":252},[922],{"type":248,"value":639},{"type":87,"tag":238,"props":924,"children":926},{"class":240,"line":925},21,[927,932,937,942,947],{"type":87,"tag":238,"props":928,"children":929},{"style":245},[930],{"type":248,"value":931},"  return",{"type":87,"tag":238,"props":933,"children":934},{"style":404},[935],{"type":248,"value":936}," defineClassicEditorPlugin",{"type":87,"tag":238,"props":938,"children":939},{"style":252},[940],{"type":248,"value":941},"({ id: ",{"type":87,"tag":238,"props":943,"children":944},{"style":273},[945],{"type":248,"value":946},"\"notebook\"",{"type":87,"tag":238,"props":948,"children":949},{"style":252},[950],{"type":248,"value":506},{"type":87,"tag":238,"props":952,"children":954},{"class":240,"line":953},22,[955],{"type":87,"tag":238,"props":956,"children":957},{"style":252},[958],{"type":248,"value":959},"    contributions: [\n",{"type":87,"tag":238,"props":961,"children":963},{"class":240,"line":962},23,[964,969,974,979,984,989,994,998,1002,1006,1011,1015,1020,1024,1029],{"type":87,"tag":238,"props":965,"children":966},{"style":252},[967],{"type":248,"value":968},"      { kind: ",{"type":87,"tag":238,"props":970,"children":971},{"style":273},[972],{"type":248,"value":973},"\"ribbon-group\"",{"type":87,"tag":238,"props":975,"children":976},{"style":252},[977],{"type":248,"value":978},", id: ",{"type":87,"tag":238,"props":980,"children":981},{"style":273},[982],{"type":248,"value":983},"\"notebook.group\"",{"type":87,"tag":238,"props":985,"children":986},{"style":252},[987],{"type":248,"value":988},", tabId: ",{"type":87,"tag":238,"props":990,"children":991},{"style":273},[992],{"type":248,"value":993},"\"home\"",{"type":87,"tag":238,"props":995,"children":996},{"style":252},[997],{"type":248,"value":466},{"type":87,"tag":238,"props":999,"children":1000},{"style":273},[1001],{"type":248,"value":471},{"type":87,"tag":238,"props":1003,"children":1004},{"style":252},[1005],{"type":248,"value":476},{"type":87,"tag":238,"props":1007,"children":1008},{"style":273},[1009],{"type":248,"value":1010},"\"我的产品\"",{"type":87,"tag":238,"props":1012,"children":1013},{"style":252},[1014],{"type":248,"value":486},{"type":87,"tag":238,"props":1016,"children":1017},{"style":273},[1018],{"type":248,"value":1019},"\"My product\"",{"type":87,"tag":238,"props":1021,"children":1022},{"style":252},[1023],{"type":248,"value":496},{"type":87,"tag":238,"props":1025,"children":1026},{"style":424},[1027],{"type":248,"value":1028},"1",{"type":87,"tag":238,"props":1030,"children":1031},{"style":252},[1032],{"type":248,"value":1033}," },\n",{"type":87,"tag":238,"props":1035,"children":1037},{"class":240,"line":1036},24,[1038,1043,1047,1052,1056,1060],{"type":87,"tag":238,"props":1039,"children":1040},{"style":404},[1041],{"type":248,"value":1042},"      createClassicEditorRibbonAction",{"type":87,"tag":238,"props":1044,"children":1045},{"style":252},[1046],{"type":248,"value":520},{"type":87,"tag":238,"props":1048,"children":1049},{"style":273},[1050],{"type":248,"value":1051},"\"notebook.inspect.control\"",{"type":87,"tag":238,"props":1053,"children":1054},{"style":252},[1055],{"type":248,"value":550},{"type":87,"tag":238,"props":1057,"children":1058},{"style":273},[1059],{"type":248,"value":983},{"type":87,"tag":238,"props":1061,"children":1062},{"style":252},[1063],{"type":248,"value":1064},", open),\n",{"type":87,"tag":238,"props":1066,"children":1068},{"class":240,"line":1067},25,[1069,1073,1077,1082,1086,1090],{"type":87,"tag":238,"props":1070,"children":1071},{"style":404},[1072],{"type":248,"value":1042},{"type":87,"tag":238,"props":1074,"children":1075},{"style":252},[1076],{"type":248,"value":520},{"type":87,"tag":238,"props":1078,"children":1079},{"style":273},[1080],{"type":248,"value":1081},"\"notebook.insert.control\"",{"type":87,"tag":238,"props":1083,"children":1084},{"style":252},[1085],{"type":248,"value":550},{"type":87,"tag":238,"props":1087,"children":1088},{"style":273},[1089],{"type":248,"value":983},{"type":87,"tag":238,"props":1091,"children":1092},{"style":252},[1093],{"type":248,"value":1094},", insert),\n",{"type":87,"tag":238,"props":1096,"children":1098},{"class":240,"line":1097},26,[1099],{"type":87,"tag":238,"props":1100,"children":1101},{"style":252},[1102],{"type":248,"value":1103},"    ],\n",{"type":87,"tag":238,"props":1105,"children":1107},{"class":240,"line":1106},27,[1108,1113,1118,1122,1126,1131,1135,1139,1143,1147,1151,1155,1159,1163,1167],{"type":87,"tag":238,"props":1109,"children":1110},{"style":252},[1111],{"type":248,"value":1112},"    sidebarPanels: [{ kind: ",{"type":87,"tag":238,"props":1114,"children":1115},{"style":273},[1116],{"type":248,"value":1117},"\"sidebar-panel\"",{"type":87,"tag":238,"props":1119,"children":1120},{"style":252},[1121],{"type":248,"value":978},{"type":87,"tag":238,"props":1123,"children":1124},{"style":273},[1125],{"type":248,"value":555},{"type":87,"tag":238,"props":1127,"children":1128},{"style":252},[1129],{"type":248,"value":1130},", side: ",{"type":87,"tag":238,"props":1132,"children":1133},{"style":273},[1134],{"type":248,"value":545},{"type":87,"tag":238,"props":1136,"children":1137},{"style":252},[1138],{"type":248,"value":466},{"type":87,"tag":238,"props":1140,"children":1141},{"style":273},[1142],{"type":248,"value":471},{"type":87,"tag":238,"props":1144,"children":1145},{"style":252},[1146],{"type":248,"value":476},{"type":87,"tag":238,"props":1148,"children":1149},{"style":273},[1150],{"type":248,"value":481},{"type":87,"tag":238,"props":1152,"children":1153},{"style":252},[1154],{"type":248,"value":486},{"type":87,"tag":238,"props":1156,"children":1157},{"style":273},[1158],{"type":248,"value":491},{"type":87,"tag":238,"props":1160,"children":1161},{"style":252},[1162],{"type":248,"value":496},{"type":87,"tag":238,"props":1164,"children":1165},{"style":424},[1166],{"type":248,"value":501},{"type":87,"tag":238,"props":1168,"children":1169},{"style":252},[1170],{"type":248,"value":1171},", render: renderNotebookPanel }],\n",{"type":87,"tag":238,"props":1173,"children":1175},{"class":240,"line":1174},28,[1176,1181,1186,1190,1194,1198,1203,1207,1212],{"type":87,"tag":238,"props":1177,"children":1178},{"style":252},[1179],{"type":248,"value":1180},"    services: [{ id: ",{"type":87,"tag":238,"props":1182,"children":1183},{"style":273},[1184],{"type":248,"value":1185},"\"notebook-backup\"",{"type":87,"tag":238,"props":1187,"children":1188},{"style":252},[1189],{"type":248,"value":466},{"type":87,"tag":238,"props":1191,"children":1192},{"style":273},[1193],{"type":248,"value":471},{"type":87,"tag":238,"props":1195,"children":1196},{"style":252},[1197],{"type":248,"value":476},{"type":87,"tag":238,"props":1199,"children":1200},{"style":273},[1201],{"type":248,"value":1202},"\"产品备份\"",{"type":87,"tag":238,"props":1204,"children":1205},{"style":252},[1206],{"type":248,"value":486},{"type":87,"tag":238,"props":1208,"children":1209},{"style":273},[1210],{"type":248,"value":1211},"\"Product backup\"",{"type":87,"tag":238,"props":1213,"children":1214},{"style":252},[1215],{"type":248,"value":1033},{"type":87,"tag":238,"props":1217,"children":1219},{"class":240,"line":1218},29,[1220,1225,1230,1235,1240,1245,1250],{"type":87,"tag":238,"props":1221,"children":1222},{"style":252},[1223],{"type":248,"value":1224},"      format: { id: ",{"type":87,"tag":238,"props":1226,"children":1227},{"style":273},[1228],{"type":248,"value":1229},"\"notebook-json\"",{"type":87,"tag":238,"props":1231,"children":1232},{"style":252},[1233],{"type":248,"value":1234},", extensions: [",{"type":87,"tag":238,"props":1236,"children":1237},{"style":273},[1238],{"type":248,"value":1239},"\".json\"",{"type":87,"tag":238,"props":1241,"children":1242},{"style":252},[1243],{"type":248,"value":1244},"], mimeTypes: [",{"type":87,"tag":238,"props":1246,"children":1247},{"style":273},[1248],{"type":248,"value":1249},"\"application\u002Fjson\"",{"type":87,"tag":238,"props":1251,"children":1252},{"style":252},[1253],{"type":248,"value":1254},"] },\n",{"type":87,"tag":238,"props":1256,"children":1258},{"class":240,"line":1257},30,[1259,1264,1268,1272,1276,1280,1285,1290,1295,1300,1304,1309,1314,1319,1324,1329,1334,1338],{"type":87,"tag":238,"props":1260,"children":1261},{"style":404},[1262],{"type":248,"value":1263},"      export",{"type":87,"tag":238,"props":1265,"children":1266},{"style":252},[1267],{"type":248,"value":520},{"type":87,"tag":238,"props":1269,"children":1270},{"style":523},[1271],{"type":248,"value":526},{"type":87,"tag":238,"props":1273,"children":1274},{"style":252},[1275],{"type":248,"value":597},{"type":87,"tag":238,"props":1277,"children":1278},{"style":245},[1279],{"type":248,"value":565},{"type":87,"tag":238,"props":1281,"children":1282},{"style":252},[1283],{"type":248,"value":1284}," { data: ",{"type":87,"tag":238,"props":1286,"children":1287},{"style":424},[1288],{"type":248,"value":1289},"JSON",{"type":87,"tag":238,"props":1291,"children":1292},{"style":252},[1293],{"type":248,"value":1294},".",{"type":87,"tag":238,"props":1296,"children":1297},{"style":404},[1298],{"type":248,"value":1299},"stringify",{"type":87,"tag":238,"props":1301,"children":1302},{"style":252},[1303],{"type":248,"value":520},{"type":87,"tag":238,"props":1305,"children":1306},{"style":404},[1307],{"type":248,"value":1308},"createBackup",{"type":87,"tag":238,"props":1310,"children":1311},{"style":252},[1312],{"type":248,"value":1313},"(context.editor, ",{"type":87,"tag":238,"props":1315,"children":1316},{"style":273},[1317],{"type":248,"value":1318},"\"word-v1\"",{"type":87,"tag":238,"props":1320,"children":1321},{"style":252},[1322],{"type":248,"value":1323},")), fileName: ",{"type":87,"tag":238,"props":1325,"children":1326},{"style":273},[1327],{"type":248,"value":1328},"\"notebook.json\"",{"type":87,"tag":238,"props":1330,"children":1331},{"style":252},[1332],{"type":248,"value":1333},", mimeType: ",{"type":87,"tag":238,"props":1335,"children":1336},{"style":273},[1337],{"type":248,"value":1249},{"type":87,"tag":238,"props":1339,"children":1340},{"style":252},[1341],{"type":248,"value":1342}," }; },\n",{"type":87,"tag":238,"props":1344,"children":1346},{"class":240,"line":1345},31,[1347,1352,1356,1360,1364,1369],{"type":87,"tag":238,"props":1348,"children":1349},{"style":404},[1350],{"type":248,"value":1351},"      import",{"type":87,"tag":238,"props":1353,"children":1354},{"style":252},[1355],{"type":248,"value":520},{"type":87,"tag":238,"props":1357,"children":1358},{"style":523},[1359],{"type":248,"value":526},{"type":87,"tag":238,"props":1361,"children":1362},{"style":252},[1363],{"type":248,"value":550},{"type":87,"tag":238,"props":1365,"children":1366},{"style":523},[1367],{"type":248,"value":1368},"input",{"type":87,"tag":238,"props":1370,"children":1371},{"style":252},[1372],{"type":248,"value":1373},") {\n",{"type":87,"tag":238,"props":1375,"children":1377},{"class":240,"line":1376},32,[1378,1383,1388,1393,1398,1403,1408,1413,1417,1422],{"type":87,"tag":238,"props":1379,"children":1380},{"style":245},[1381],{"type":248,"value":1382},"        if",{"type":87,"tag":238,"props":1384,"children":1385},{"style":252},[1386],{"type":248,"value":1387}," (",{"type":87,"tag":238,"props":1389,"children":1390},{"style":245},[1391],{"type":248,"value":1392},"!",{"type":87,"tag":238,"props":1394,"children":1395},{"style":252},[1396],{"type":248,"value":1397},"context.editor.isEditable) ",{"type":87,"tag":238,"props":1399,"children":1400},{"style":245},[1401],{"type":248,"value":1402},"throw",{"type":87,"tag":238,"props":1404,"children":1405},{"style":245},[1406],{"type":248,"value":1407}," new",{"type":87,"tag":238,"props":1409,"children":1410},{"style":404},[1411],{"type":248,"value":1412}," Error",{"type":87,"tag":238,"props":1414,"children":1415},{"style":252},[1416],{"type":248,"value":520},{"type":87,"tag":238,"props":1418,"children":1419},{"style":273},[1420],{"type":248,"value":1421},"\"The product is read only\"",{"type":87,"tag":238,"props":1423,"children":1424},{"style":252},[1425],{"type":248,"value":1426},");\n",{"type":87,"tag":238,"props":1428,"children":1430},{"class":240,"line":1429},33,[1431,1436,1441,1445,1450,1455,1459,1464,1468,1472,1476,1480,1485,1489,1494],{"type":87,"tag":238,"props":1432,"children":1433},{"style":245},[1434],{"type":248,"value":1435},"        const",{"type":87,"tag":238,"props":1437,"children":1438},{"style":424},[1439],{"type":248,"value":1440}," source",{"type":87,"tag":238,"props":1442,"children":1443},{"style":245},[1444],{"type":248,"value":442},{"type":87,"tag":238,"props":1446,"children":1447},{"style":245},[1448],{"type":248,"value":1449}," typeof",{"type":87,"tag":238,"props":1451,"children":1452},{"style":252},[1453],{"type":248,"value":1454}," input.data ",{"type":87,"tag":238,"props":1456,"children":1457},{"style":245},[1458],{"type":248,"value":621},{"type":87,"tag":238,"props":1460,"children":1461},{"style":273},[1462],{"type":248,"value":1463}," \"string\"",{"type":87,"tag":238,"props":1465,"children":1466},{"style":245},[1467],{"type":248,"value":884},{"type":87,"tag":238,"props":1469,"children":1470},{"style":252},[1471],{"type":248,"value":1454},{"type":87,"tag":238,"props":1473,"children":1474},{"style":245},[1475],{"type":248,"value":432},{"type":87,"tag":238,"props":1477,"children":1478},{"style":245},[1479],{"type":248,"value":1407},{"type":87,"tag":238,"props":1481,"children":1482},{"style":404},[1483],{"type":248,"value":1484}," TextDecoder",{"type":87,"tag":238,"props":1486,"children":1487},{"style":252},[1488],{"type":248,"value":769},{"type":87,"tag":238,"props":1490,"children":1491},{"style":404},[1492],{"type":248,"value":1493},"decode",{"type":87,"tag":238,"props":1495,"children":1496},{"style":252},[1497],{"type":248,"value":1498},"(input.data);\n",{"type":87,"tag":238,"props":1500,"children":1502},{"class":240,"line":1501},34,[1503,1507,1512,1516,1521,1526,1530],{"type":87,"tag":238,"props":1504,"children":1505},{"style":245},[1506],{"type":248,"value":1435},{"type":87,"tag":238,"props":1508,"children":1509},{"style":424},[1510],{"type":248,"value":1511}," document",{"type":87,"tag":238,"props":1513,"children":1514},{"style":245},[1515],{"type":248,"value":442},{"type":87,"tag":238,"props":1517,"children":1518},{"style":404},[1519],{"type":248,"value":1520}," readBackup",{"type":87,"tag":238,"props":1522,"children":1523},{"style":252},[1524],{"type":248,"value":1525},"(source, ",{"type":87,"tag":238,"props":1527,"children":1528},{"style":273},[1529],{"type":248,"value":1318},{"type":87,"tag":238,"props":1531,"children":1532},{"style":252},[1533],{"type":248,"value":1534},", context.editor.schema);\n",{"type":87,"tag":238,"props":1536,"children":1538},{"class":240,"line":1537},35,[1539,1544,1549,1554,1559,1564,1569,1574,1579],{"type":87,"tag":238,"props":1540,"children":1541},{"style":252},[1542],{"type":248,"value":1543},"        context.",{"type":87,"tag":238,"props":1545,"children":1546},{"style":404},[1547],{"type":248,"value":1548},"commit",{"type":87,"tag":238,"props":1550,"children":1551},{"style":252},[1552],{"type":248,"value":1553},"(() ",{"type":87,"tag":238,"props":1555,"children":1556},{"style":245},[1557],{"type":248,"value":1558},"=>",{"type":87,"tag":238,"props":1560,"children":1561},{"style":252},[1562],{"type":248,"value":1563}," context.editor.commands.",{"type":87,"tag":238,"props":1565,"children":1566},{"style":404},[1567],{"type":248,"value":1568},"replaceDocument",{"type":87,"tag":238,"props":1570,"children":1571},{"style":252},[1572],{"type":248,"value":1573},"(document, { errorOnInvalidContent: ",{"type":87,"tag":238,"props":1575,"children":1576},{"style":424},[1577],{"type":248,"value":1578},"true",{"type":87,"tag":238,"props":1580,"children":1581},{"style":252},[1582],{"type":248,"value":1583}," }));\n",{"type":87,"tag":238,"props":1585,"children":1587},{"class":240,"line":1586},36,[1588],{"type":87,"tag":238,"props":1589,"children":1590},{"style":252},[1591],{"type":248,"value":1592},"      },\n",{"type":87,"tag":238,"props":1594,"children":1596},{"class":240,"line":1595},37,[1597],{"type":87,"tag":238,"props":1598,"children":1599},{"style":252},[1600],{"type":248,"value":1601},"    }],\n",{"type":87,"tag":238,"props":1603,"children":1605},{"class":240,"line":1604},38,[1606],{"type":87,"tag":238,"props":1607,"children":1608},{"style":252},[1609],{"type":248,"value":1610},"  });\n",{"type":87,"tag":238,"props":1612,"children":1614},{"class":240,"line":1613},39,[1615],{"type":87,"tag":238,"props":1616,"children":1617},{"style":252},[1618],{"type":248,"value":1619},"}\n",{"type":87,"tag":1621,"props":1622,"children":1623},"style",{},[1624],{"type":248,"value":1625},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",1793045209085]