@dou-ui/editor 0.1.0-alpha.15 → 0.1.0-alpha.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/flow/board-block.js.map +1 -1
- package/dist/flow/board-block.vue_vue_type_script_setup_true_lang.js +169 -8
- package/dist/flow/board-block.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/flow/board.js.map +1 -1
- package/dist/flow/index.js +7 -3
- package/dist/flow/index.js.map +1 -1
- package/dist/locale.js +18 -3
- package/dist/locale.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/style.js +2 -1
- package/dist/types/editor.vue.d.ts +5 -0
- package/dist/types/flow/board.d.ts +2 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/locale.d.ts +7 -0
- package/package.json +7 -7
package/dist/locale.js
CHANGED
|
@@ -155,7 +155,12 @@ var zhCN = {
|
|
|
155
155
|
start: "开始绘制",
|
|
156
156
|
edit: "编辑",
|
|
157
157
|
view: "查看",
|
|
158
|
-
resize: "拖动以调整高度"
|
|
158
|
+
resize: "拖动以调整高度",
|
|
159
|
+
addNode: "添加节点",
|
|
160
|
+
searchNodes: "搜索节点",
|
|
161
|
+
noNodes: "没有匹配的节点",
|
|
162
|
+
node: "节点",
|
|
163
|
+
emptyFlow: "使用左上角的“添加节点”添加第一个节点,也可以按住按钮拖到画布上"
|
|
159
164
|
},
|
|
160
165
|
noResults: "没有匹配的块",
|
|
161
166
|
addBlock: "在下方添加块",
|
|
@@ -338,7 +343,12 @@ var zhTW = {
|
|
|
338
343
|
start: "開始繪製",
|
|
339
344
|
edit: "編輯",
|
|
340
345
|
view: "查看",
|
|
341
|
-
resize: "拖曳以調整高度"
|
|
346
|
+
resize: "拖曳以調整高度",
|
|
347
|
+
addNode: "新增節點",
|
|
348
|
+
searchNodes: "搜尋節點",
|
|
349
|
+
noNodes: "沒有符合的節點",
|
|
350
|
+
node: "節點",
|
|
351
|
+
emptyFlow: "使用左上角的「新增節點」新增第一個節點,也可以按住按鈕拖曳到畫布上"
|
|
342
352
|
},
|
|
343
353
|
noResults: "沒有符合的區塊",
|
|
344
354
|
addBlock: "在下方新增區塊",
|
|
@@ -521,7 +531,12 @@ var en = {
|
|
|
521
531
|
start: "Start drawing",
|
|
522
532
|
edit: "Edit",
|
|
523
533
|
view: "View",
|
|
524
|
-
resize: "Drag to change the height"
|
|
534
|
+
resize: "Drag to change the height",
|
|
535
|
+
addNode: "Add node",
|
|
536
|
+
searchNodes: "Search nodes",
|
|
537
|
+
noNodes: "No matching nodes",
|
|
538
|
+
node: "Node",
|
|
539
|
+
emptyFlow: "Use “Add node” at the top left to add the first node, or hold the button and drag it onto the canvas"
|
|
525
540
|
},
|
|
526
541
|
noResults: "No matching blocks",
|
|
527
542
|
addBlock: "Add a block below",
|
package/dist/locale.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale.js","names":[],"sources":["../src/locale.ts"],"sourcesContent":["import { useLocale } from 'dou-ui'\nimport { computed, toValue, type MaybeRefOrGetter } from 'vue'\n\nexport interface EditorMessages {\n placeholder: string\n emptyPlaceholder: string\n headingPlaceholder: string\n /** Names of the block types, also shown in menus. */\n types: {\n paragraph: string\n heading1: string\n heading2: string\n heading3: string\n bulletItem: string\n numberedItem: string\n checkItem: string\n quote: string\n codeBlock: string\n divider: string\n image: string\n toggle: string\n callout: string\n table: string\n columns: string\n attachment: string\n embed: string\n whiteboard: string\n }\n /** Short descriptions in the slash menu. */\n hints: {\n paragraph: string\n heading1: string\n heading2: string\n heading3: string\n bulletItem: string\n numberedItem: string\n checkItem: string\n quote: string\n codeBlock: string\n divider: string\n image: string\n toggle: string\n callout: string\n table: string\n columns: string\n attachment: string\n embed: string\n whiteboard: string\n }\n /** The image block. */\n image: {\n empty: string\n upload: string\n embed: string\n urlPlaceholder: string\n apply: string\n uploading: string\n failed: string\n caption: string\n resize: string\n }\n /** The code block. */\n codeBlock: {\n /** The language picker's name. */\n language: string\n plainText: string\n }\n toggle: { expand: string; collapse: string }\n callout: {\n /** Said after the tone on the icon button. */\n change: string\n tones: { info: string; tip: string; warning: string; danger: string }\n }\n mention: { label: string; searching: string; noResults: string }\n /** The table: its row and column menus. */\n table: {\n row: string\n column: string\n insertAbove: string\n insertBelow: string\n insertLeft: string\n insertRight: string\n moveUp: string\n moveDown: string\n moveLeft: string\n moveRight: string\n deleteRow: string\n deleteColumn: string\n merge: string\n split: string\n clear: string\n headerRow: string\n headerColumn: string\n alignLeft: string\n alignCenter: string\n alignRight: string\n addRow: string\n addColumn: string\n }\n /** Columns: the picker in the slash menu, the block menu entry, the resize bar. */\n columns: {\n /** The title of the picker for the number of columns. */\n pick: string\n /** A number of columns; `{count}` is replaced with it. */\n count: string\n /** Selects the whole set of columns a block is in. */\n select: string\n /** The bar between two columns. */\n resize: string\n /** Makes every column of the set as wide as the others. */\n even: string\n /** A column, for screen readers; `{index}` and `{count}` are replaced. */\n column: string\n }\n /** The color menu of the formatting toolbar. */\n colors: {\n label: string\n text: string\n background: string\n none: string\n names: {\n gray: string\n red: string\n orange: string\n yellow: string\n green: string\n blue: string\n purple: string\n pink: string\n }\n }\n /** Aligning paragraphs, headings and quotes. */\n align: { label: string; left: string; center: string; right: string }\n /** The attachment block. */\n attachment: {\n empty: string\n upload: string\n uploading: string\n failed: string\n retry: string\n download: string\n }\n /** The embed block. */\n embed: {\n empty: string\n urlPlaceholder: string\n apply: string\n invalid: string\n /** The link is not https. */\n insecure: string\n caption: string\n edit: string\n cancel: string\n }\n /** Blocks holding a whiteboard or a flow (`@dou-ui/editor/flow`). */\n board: {\n empty: string\n start: string\n edit: string\n view: string\n resize: string\n }\n noResults: string\n addBlock: string\n dragHandle: string\n turnInto: string\n duplicate: string\n delete: string\n moveUp: string\n moveDown: string\n bold: string\n italic: string\n underline: string\n strike: string\n code: string\n link: string\n linkPlaceholder: string\n applyLink: string\n removeLink: string\n /** Starts a comment thread on the selected text. */\n comment: string\n /** The name of the card that shows a thread. */\n commentThread: string\n /** Shown for a removed block that has no text, such as a divider, when comparing versions. */\n removedBlock: string\n /** Read out once a version is restored. */\n restored: string\n /** Read out, before the text, when going to a change while comparing. */\n changeAdded: string\n changeRemoved: string\n changeChanged: string\n formatting: string\n /** The name of the slash menu's list. */\n blockTypes: string\n}\n\nconst zhCN: EditorMessages = {\n placeholder: '输入 / 插入内容',\n emptyPlaceholder: '开始写点什么,或输入 / 插入内容',\n headingPlaceholder: '标题',\n types: {\n paragraph: '正文',\n heading1: '一级标题',\n heading2: '二级标题',\n heading3: '三级标题',\n bulletItem: '无序列表',\n numberedItem: '有序列表',\n checkItem: '待办事项',\n quote: '引用',\n codeBlock: '代码',\n divider: '分隔线',\n image: '图片',\n toggle: '折叠块',\n callout: '提示块',\n table: '表格',\n columns: '分栏',\n attachment: '附件',\n embed: '嵌入',\n whiteboard: '白板',\n },\n hints: {\n paragraph: '普通的文字',\n heading1: '最大的标题',\n heading2: '中等的标题',\n heading3: '较小的标题',\n bulletItem: '用圆点列出几项',\n numberedItem: '按顺序编号',\n checkItem: '可以勾选的事项',\n quote: '引用一段话',\n codeBlock: '等宽显示代码',\n divider: '分隔上下内容',\n image: '上传或嵌入一张图片',\n toggle: '可以展开和收起的内容',\n callout: '带图标的醒目说明',\n table: '插入一个表格',\n columns: '把内容并排分成几栏',\n attachment: '上传一个文件',\n embed: '视频、音频或网页',\n whiteboard: '图形、便签和连线',\n },\n image: {\n empty: '添加一张图片',\n upload: '上传',\n embed: '嵌入链接',\n urlPlaceholder: '粘贴图片链接',\n apply: '确定',\n uploading: '正在上传',\n failed: '上传失败,请重试',\n caption: '添加说明',\n resize: '拖动调整宽度',\n },\n codeBlock: { language: '语言', plainText: '纯文本' },\n toggle: { expand: '展开', collapse: '收起' },\n mention: { label: '提及', searching: '正在搜索', noResults: '没有找到' },\n table: {\n row: '选择这一行',\n column: '选择这一列',\n insertAbove: '在上方插入行',\n insertBelow: '在下方插入行',\n insertLeft: '在左侧插入列',\n insertRight: '在右侧插入列',\n moveUp: '上移',\n moveDown: '下移',\n moveLeft: '左移',\n moveRight: '右移',\n deleteRow: '删除行',\n deleteColumn: '删除列',\n merge: '合并单元格',\n split: '取消合并',\n clear: '清空内容',\n headerRow: '标题行',\n headerColumn: '标题列',\n alignLeft: '左对齐',\n alignCenter: '居中',\n alignRight: '右对齐',\n addRow: '添加一行',\n addColumn: '添加一列',\n },\n callout: {\n change: '点击更换',\n tones: { info: '说明', tip: '提示', warning: '注意', danger: '警告' },\n },\n columns: {\n pick: '选择栏数',\n count: '{count} 栏',\n select: '选中整个分栏',\n resize: '调整栏宽',\n even: '平分栏宽',\n column: '第 {index} 栏,共 {count} 栏',\n },\n colors: {\n label: '颜色',\n text: '文字颜色',\n background: '背景色',\n none: '默认',\n names: {\n gray: '灰色',\n red: '红色',\n orange: '橙色',\n yellow: '黄色',\n green: '绿色',\n blue: '蓝色',\n purple: '紫色',\n pink: '粉色',\n },\n },\n align: { label: '对齐', left: '左对齐', center: '居中', right: '右对齐' },\n attachment: {\n empty: '添加附件',\n upload: '选择文件',\n uploading: '正在上传…',\n failed: '上传失败',\n retry: '重试',\n download: '下载',\n },\n embed: {\n empty: '嵌入视频、音频或网页',\n urlPlaceholder: '粘贴链接',\n apply: '嵌入',\n invalid: '无法嵌入这个链接',\n insecure: '只能嵌入 https 开头的链接',\n edit: '修改链接',\n cancel: '取消',\n caption: '添加说明',\n },\n board: {\n empty: '还没有内容',\n start: '开始绘制',\n edit: '编辑',\n view: '查看',\n resize: '拖动以调整高度',\n },\n noResults: '没有匹配的块',\n addBlock: '在下方添加块',\n dragHandle: '拖动以移动,点击打开菜单',\n turnInto: '转换为',\n duplicate: '复制',\n delete: '删除',\n moveUp: '上移',\n moveDown: '下移',\n bold: '粗体',\n italic: '斜体',\n underline: '下划线',\n strike: '删除线',\n code: '行内代码',\n link: '链接',\n linkPlaceholder: '粘贴或输入链接',\n applyLink: '确定',\n removeLink: '移除链接',\n comment: '评论',\n commentThread: '评论',\n removedBlock: '已删除的内容',\n restored: '已恢复到这个版本',\n changeAdded: '新增',\n changeRemoved: '删除',\n changeChanged: '修改',\n formatting: '文字格式',\n blockTypes: '块类型',\n}\n\nconst zhTW: EditorMessages = {\n placeholder: '輸入 / 插入內容',\n emptyPlaceholder: '開始寫點什麼,或輸入 / 插入內容',\n headingPlaceholder: '標題',\n types: {\n paragraph: '內文',\n heading1: '一級標題',\n heading2: '二級標題',\n heading3: '三級標題',\n bulletItem: '項目清單',\n numberedItem: '編號清單',\n checkItem: '待辦事項',\n quote: '引用',\n codeBlock: '程式碼',\n divider: '分隔線',\n image: '圖片',\n toggle: '摺疊區塊',\n callout: '提示區塊',\n table: '表格',\n columns: '分欄',\n attachment: '附件',\n embed: '嵌入',\n whiteboard: '白板',\n },\n hints: {\n paragraph: '一般的文字',\n heading1: '最大的標題',\n heading2: '中等的標題',\n heading3: '較小的標題',\n bulletItem: '用圓點列出幾項',\n numberedItem: '依序編號',\n checkItem: '可以勾選的事項',\n quote: '引用一段話',\n codeBlock: '等寬顯示程式碼',\n divider: '分隔上下內容',\n image: '上傳或嵌入一張圖片',\n toggle: '可以展開和收合的內容',\n callout: '帶圖示的醒目說明',\n table: '插入一個表格',\n columns: '把內容並排分成幾欄',\n attachment: '上傳一個檔案',\n embed: '影片、音訊或網頁',\n whiteboard: '圖形、便籤和連線',\n },\n image: {\n empty: '新增一張圖片',\n upload: '上傳',\n embed: '嵌入連結',\n urlPlaceholder: '貼上圖片連結',\n apply: '確定',\n uploading: '正在上傳',\n failed: '上傳失敗,請重試',\n caption: '新增說明',\n resize: '拖曳調整寬度',\n },\n codeBlock: { language: '語言', plainText: '純文字' },\n toggle: { expand: '展開', collapse: '收合' },\n mention: { label: '提及', searching: '正在搜尋', noResults: '沒有找到' },\n table: {\n row: '選擇這一列',\n column: '選擇這一欄',\n insertAbove: '在上方插入列',\n insertBelow: '在下方插入列',\n insertLeft: '在左側插入欄',\n insertRight: '在右側插入欄',\n moveUp: '上移',\n moveDown: '下移',\n moveLeft: '左移',\n moveRight: '右移',\n deleteRow: '刪除列',\n deleteColumn: '刪除欄',\n merge: '合併儲存格',\n split: '取消合併',\n clear: '清除內容',\n headerRow: '標題列',\n headerColumn: '標題欄',\n alignLeft: '靠左對齊',\n alignCenter: '置中',\n alignRight: '靠右對齊',\n addRow: '新增一列',\n addColumn: '新增一欄',\n },\n callout: {\n change: '點擊更換',\n tones: { info: '說明', tip: '提示', warning: '注意', danger: '警告' },\n },\n columns: {\n pick: '選擇欄數',\n count: '{count} 欄',\n select: '選取整個分欄',\n resize: '調整欄寬',\n even: '平分欄寬',\n column: '第 {index} 欄,共 {count} 欄',\n },\n colors: {\n label: '顏色',\n text: '文字顏色',\n background: '背景色',\n none: '預設',\n names: {\n gray: '灰色',\n red: '紅色',\n orange: '橙色',\n yellow: '黃色',\n green: '綠色',\n blue: '藍色',\n purple: '紫色',\n pink: '粉紅色',\n },\n },\n align: { label: '對齊', left: '靠左對齊', center: '置中', right: '靠右對齊' },\n attachment: {\n empty: '新增附件',\n upload: '選擇檔案',\n uploading: '正在上傳…',\n failed: '上傳失敗',\n retry: '重試',\n download: '下載',\n },\n embed: {\n empty: '嵌入影片、音訊或網頁',\n urlPlaceholder: '貼上連結',\n apply: '嵌入',\n invalid: '無法嵌入這個連結',\n insecure: '只能嵌入 https 開頭的連結',\n edit: '修改連結',\n cancel: '取消',\n caption: '新增說明',\n },\n board: {\n empty: '還沒有內容',\n start: '開始繪製',\n edit: '編輯',\n view: '查看',\n resize: '拖曳以調整高度',\n },\n noResults: '沒有符合的區塊',\n addBlock: '在下方新增區塊',\n dragHandle: '拖曳以移動,點擊開啟選單',\n turnInto: '轉換為',\n duplicate: '複製',\n delete: '刪除',\n moveUp: '上移',\n moveDown: '下移',\n bold: '粗體',\n italic: '斜體',\n underline: '底線',\n strike: '刪除線',\n code: '行內程式碼',\n link: '連結',\n linkPlaceholder: '貼上或輸入連結',\n applyLink: '確定',\n removeLink: '移除連結',\n comment: '評論',\n commentThread: '評論',\n removedBlock: '已刪除的內容',\n restored: '已還原到這個版本',\n changeAdded: '新增',\n changeRemoved: '刪除',\n changeChanged: '修改',\n formatting: '文字格式',\n blockTypes: '區塊類型',\n}\n\nconst en: EditorMessages = {\n placeholder: 'Type / for blocks',\n emptyPlaceholder: 'Start writing, or type / for blocks',\n headingPlaceholder: 'Heading',\n types: {\n paragraph: 'Text',\n heading1: 'Heading 1',\n heading2: 'Heading 2',\n heading3: 'Heading 3',\n bulletItem: 'Bulleted list',\n numberedItem: 'Numbered list',\n checkItem: 'To-do',\n quote: 'Quote',\n codeBlock: 'Code',\n divider: 'Divider',\n image: 'Image',\n toggle: 'Toggle',\n callout: 'Callout',\n table: 'Table',\n columns: 'Columns',\n attachment: 'File',\n embed: 'Embed',\n whiteboard: 'Whiteboard',\n },\n hints: {\n paragraph: 'Plain text',\n heading1: 'Large section heading',\n heading2: 'Medium section heading',\n heading3: 'Small section heading',\n bulletItem: 'A simple list',\n numberedItem: 'A list with numbers',\n checkItem: 'Items to tick off',\n quote: 'Quote someone',\n codeBlock: 'Code in a monospace font',\n divider: 'Separate sections',\n image: 'Upload or embed an image',\n toggle: 'Content that can be shown or hidden',\n callout: 'A note that stands out, with an icon',\n table: 'A grid of rows and columns',\n columns: 'Put content side by side',\n attachment: 'Upload a file',\n embed: 'Video, audio or a web page',\n whiteboard: 'Shapes, sticky notes and connectors',\n },\n image: {\n empty: 'Add an image',\n upload: 'Upload',\n embed: 'Embed link',\n urlPlaceholder: 'Paste the image link',\n apply: 'Apply',\n uploading: 'Uploading',\n failed: 'Upload failed, try again',\n caption: 'Add a caption',\n resize: 'Drag to resize',\n },\n codeBlock: { language: 'Language', plainText: 'Plain text' },\n toggle: { expand: 'Expand', collapse: 'Collapse' },\n mention: { label: 'Mention', searching: 'Searching', noResults: 'No one found' },\n table: {\n row: 'Select row',\n column: 'Select column',\n insertAbove: 'Insert row above',\n insertBelow: 'Insert row below',\n insertLeft: 'Insert column left',\n insertRight: 'Insert column right',\n moveUp: 'Move up',\n moveDown: 'Move down',\n moveLeft: 'Move left',\n moveRight: 'Move right',\n deleteRow: 'Delete row',\n deleteColumn: 'Delete column',\n merge: 'Merge cells',\n split: 'Unmerge',\n clear: 'Clear contents',\n headerRow: 'Header row',\n headerColumn: 'Header column',\n alignLeft: 'Align left',\n alignCenter: 'Align center',\n alignRight: 'Align right',\n addRow: 'Add a row',\n addColumn: 'Add a column',\n },\n callout: {\n change: 'click to change',\n tones: { info: 'Info', tip: 'Tip', warning: 'Warning', danger: 'Danger' },\n },\n columns: {\n pick: 'Number of columns',\n count: '{count} columns',\n select: 'Select all columns',\n resize: 'Resize columns',\n even: 'Even out columns',\n column: 'Column {index} of {count}',\n },\n colors: {\n label: 'Color',\n text: 'Text color',\n background: 'Background',\n none: 'Default',\n names: {\n gray: 'Gray',\n red: 'Red',\n orange: 'Orange',\n yellow: 'Yellow',\n green: 'Green',\n blue: 'Blue',\n purple: 'Purple',\n pink: 'Pink',\n },\n },\n align: { label: 'Align', left: 'Align left', center: 'Center', right: 'Align right' },\n attachment: {\n empty: 'Add a file',\n upload: 'Choose a file',\n uploading: 'Uploading…',\n failed: 'Upload failed',\n retry: 'Retry',\n download: 'Download',\n },\n embed: {\n empty: 'Embed a video, audio or web page',\n urlPlaceholder: 'Paste a link',\n apply: 'Embed',\n invalid: \"This link can't be embedded\",\n insecure: 'Only https links can be embedded',\n edit: 'Change link',\n cancel: 'Cancel',\n caption: 'Add a caption',\n },\n board: {\n empty: 'Nothing drawn yet',\n start: 'Start drawing',\n edit: 'Edit',\n view: 'View',\n resize: 'Drag to change the height',\n },\n noResults: 'No matching blocks',\n addBlock: 'Add a block below',\n dragHandle: 'Drag to move, click for the menu',\n turnInto: 'Turn into',\n duplicate: 'Duplicate',\n delete: 'Delete',\n moveUp: 'Move up',\n moveDown: 'Move down',\n bold: 'Bold',\n italic: 'Italic',\n underline: 'Underline',\n strike: 'Strikethrough',\n code: 'Inline code',\n link: 'Link',\n linkPlaceholder: 'Paste or type a link',\n applyLink: 'Apply',\n removeLink: 'Remove link',\n comment: 'Comment',\n commentThread: 'Comments',\n removedBlock: 'Removed content',\n restored: 'Restored this version',\n changeAdded: 'Added',\n changeRemoved: 'Removed',\n changeChanged: 'Changed',\n formatting: 'Text formatting',\n blockTypes: 'Block types',\n}\n\nexport const editorLocales: Record<string, EditorMessages> = {\n 'zh-CN': zhCN,\n 'zh-TW': zhTW,\n en,\n}\n\n/**\n * The editor's texts, picked by the name of DouUI's current locale.\n * Pass `messages` to override any of them.\n */\ntype DeepPartial<T> = { [K in keyof T]?: T[K] extends object ? DeepPartial<T[K]> : T[K] }\n\n/** Any part of the messages: a nested group can be given in part too. */\nexport type EditorMessagesOverride = DeepPartial<EditorMessages>\n\nfunction merge<T>(base: T, extra: unknown): T {\n if (!extra || typeof extra !== 'object') return (extra ?? base) as T\n const result: Record<string, unknown> = { ...(base as Record<string, unknown>) }\n for (const [key, value] of Object.entries(extra)) {\n if (value === undefined) continue\n const current = result[key]\n result[key] =\n current && typeof current === 'object' && typeof value === 'object'\n ? merge(current, value)\n : value\n }\n return result as T\n}\n\nexport function useEditorMessages(override?: MaybeRefOrGetter<EditorMessagesOverride | undefined>) {\n const { locale } = useLocale()\n return computed<EditorMessages>(() => {\n const name = locale.value.name\n const base =\n editorLocales[name] ??\n editorLocales[name.split('-')[0]!] ??\n (name.startsWith('zh') ? zhCN : en)\n const extra = toValue(override)\n return extra ? merge(base, extra) : base\n })\n}\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"locale.js","names":[],"sources":["../src/locale.ts"],"sourcesContent":["import { useLocale } from 'dou-ui'\nimport { computed, toValue, type MaybeRefOrGetter } from 'vue'\n\nexport interface EditorMessages {\n placeholder: string\n emptyPlaceholder: string\n headingPlaceholder: string\n /** Names of the block types, also shown in menus. */\n types: {\n paragraph: string\n heading1: string\n heading2: string\n heading3: string\n bulletItem: string\n numberedItem: string\n checkItem: string\n quote: string\n codeBlock: string\n divider: string\n image: string\n toggle: string\n callout: string\n table: string\n columns: string\n attachment: string\n embed: string\n whiteboard: string\n }\n /** Short descriptions in the slash menu. */\n hints: {\n paragraph: string\n heading1: string\n heading2: string\n heading3: string\n bulletItem: string\n numberedItem: string\n checkItem: string\n quote: string\n codeBlock: string\n divider: string\n image: string\n toggle: string\n callout: string\n table: string\n columns: string\n attachment: string\n embed: string\n whiteboard: string\n }\n /** The image block. */\n image: {\n empty: string\n upload: string\n embed: string\n urlPlaceholder: string\n apply: string\n uploading: string\n failed: string\n caption: string\n resize: string\n }\n /** The code block. */\n codeBlock: {\n /** The language picker's name. */\n language: string\n plainText: string\n }\n toggle: { expand: string; collapse: string }\n callout: {\n /** Said after the tone on the icon button. */\n change: string\n tones: { info: string; tip: string; warning: string; danger: string }\n }\n mention: { label: string; searching: string; noResults: string }\n /** The table: its row and column menus. */\n table: {\n row: string\n column: string\n insertAbove: string\n insertBelow: string\n insertLeft: string\n insertRight: string\n moveUp: string\n moveDown: string\n moveLeft: string\n moveRight: string\n deleteRow: string\n deleteColumn: string\n merge: string\n split: string\n clear: string\n headerRow: string\n headerColumn: string\n alignLeft: string\n alignCenter: string\n alignRight: string\n addRow: string\n addColumn: string\n }\n /** Columns: the picker in the slash menu, the block menu entry, the resize bar. */\n columns: {\n /** The title of the picker for the number of columns. */\n pick: string\n /** A number of columns; `{count}` is replaced with it. */\n count: string\n /** Selects the whole set of columns a block is in. */\n select: string\n /** The bar between two columns. */\n resize: string\n /** Makes every column of the set as wide as the others. */\n even: string\n /** A column, for screen readers; `{index}` and `{count}` are replaced. */\n column: string\n }\n /** The color menu of the formatting toolbar. */\n colors: {\n label: string\n text: string\n background: string\n none: string\n names: {\n gray: string\n red: string\n orange: string\n yellow: string\n green: string\n blue: string\n purple: string\n pink: string\n }\n }\n /** Aligning paragraphs, headings and quotes. */\n align: { label: string; left: string; center: string; right: string }\n /** The attachment block. */\n attachment: {\n empty: string\n upload: string\n uploading: string\n failed: string\n retry: string\n download: string\n }\n /** The embed block. */\n embed: {\n empty: string\n urlPlaceholder: string\n apply: string\n invalid: string\n /** The link is not https. */\n insecure: string\n caption: string\n edit: string\n cancel: string\n }\n /** Blocks holding a whiteboard or a flow (`@dou-ui/editor/flow`). */\n board: {\n empty: string\n start: string\n edit: string\n view: string\n resize: string\n /** The button that adds a node to a flow, and the name of the node a flow block offers. */\n addNode: string\n searchNodes: string\n noNodes: string\n node: string\n /** On an empty flow in the fullscreen editor. */\n emptyFlow: string\n }\n noResults: string\n addBlock: string\n dragHandle: string\n turnInto: string\n duplicate: string\n delete: string\n moveUp: string\n moveDown: string\n bold: string\n italic: string\n underline: string\n strike: string\n code: string\n link: string\n linkPlaceholder: string\n applyLink: string\n removeLink: string\n /** Starts a comment thread on the selected text. */\n comment: string\n /** The name of the card that shows a thread. */\n commentThread: string\n /** Shown for a removed block that has no text, such as a divider, when comparing versions. */\n removedBlock: string\n /** Read out once a version is restored. */\n restored: string\n /** Read out, before the text, when going to a change while comparing. */\n changeAdded: string\n changeRemoved: string\n changeChanged: string\n formatting: string\n /** The name of the slash menu's list. */\n blockTypes: string\n}\n\nconst zhCN: EditorMessages = {\n placeholder: '输入 / 插入内容',\n emptyPlaceholder: '开始写点什么,或输入 / 插入内容',\n headingPlaceholder: '标题',\n types: {\n paragraph: '正文',\n heading1: '一级标题',\n heading2: '二级标题',\n heading3: '三级标题',\n bulletItem: '无序列表',\n numberedItem: '有序列表',\n checkItem: '待办事项',\n quote: '引用',\n codeBlock: '代码',\n divider: '分隔线',\n image: '图片',\n toggle: '折叠块',\n callout: '提示块',\n table: '表格',\n columns: '分栏',\n attachment: '附件',\n embed: '嵌入',\n whiteboard: '白板',\n },\n hints: {\n paragraph: '普通的文字',\n heading1: '最大的标题',\n heading2: '中等的标题',\n heading3: '较小的标题',\n bulletItem: '用圆点列出几项',\n numberedItem: '按顺序编号',\n checkItem: '可以勾选的事项',\n quote: '引用一段话',\n codeBlock: '等宽显示代码',\n divider: '分隔上下内容',\n image: '上传或嵌入一张图片',\n toggle: '可以展开和收起的内容',\n callout: '带图标的醒目说明',\n table: '插入一个表格',\n columns: '把内容并排分成几栏',\n attachment: '上传一个文件',\n embed: '视频、音频或网页',\n whiteboard: '图形、便签和连线',\n },\n image: {\n empty: '添加一张图片',\n upload: '上传',\n embed: '嵌入链接',\n urlPlaceholder: '粘贴图片链接',\n apply: '确定',\n uploading: '正在上传',\n failed: '上传失败,请重试',\n caption: '添加说明',\n resize: '拖动调整宽度',\n },\n codeBlock: { language: '语言', plainText: '纯文本' },\n toggle: { expand: '展开', collapse: '收起' },\n mention: { label: '提及', searching: '正在搜索', noResults: '没有找到' },\n table: {\n row: '选择这一行',\n column: '选择这一列',\n insertAbove: '在上方插入行',\n insertBelow: '在下方插入行',\n insertLeft: '在左侧插入列',\n insertRight: '在右侧插入列',\n moveUp: '上移',\n moveDown: '下移',\n moveLeft: '左移',\n moveRight: '右移',\n deleteRow: '删除行',\n deleteColumn: '删除列',\n merge: '合并单元格',\n split: '取消合并',\n clear: '清空内容',\n headerRow: '标题行',\n headerColumn: '标题列',\n alignLeft: '左对齐',\n alignCenter: '居中',\n alignRight: '右对齐',\n addRow: '添加一行',\n addColumn: '添加一列',\n },\n callout: {\n change: '点击更换',\n tones: { info: '说明', tip: '提示', warning: '注意', danger: '警告' },\n },\n columns: {\n pick: '选择栏数',\n count: '{count} 栏',\n select: '选中整个分栏',\n resize: '调整栏宽',\n even: '平分栏宽',\n column: '第 {index} 栏,共 {count} 栏',\n },\n colors: {\n label: '颜色',\n text: '文字颜色',\n background: '背景色',\n none: '默认',\n names: {\n gray: '灰色',\n red: '红色',\n orange: '橙色',\n yellow: '黄色',\n green: '绿色',\n blue: '蓝色',\n purple: '紫色',\n pink: '粉色',\n },\n },\n align: { label: '对齐', left: '左对齐', center: '居中', right: '右对齐' },\n attachment: {\n empty: '添加附件',\n upload: '选择文件',\n uploading: '正在上传…',\n failed: '上传失败',\n retry: '重试',\n download: '下载',\n },\n embed: {\n empty: '嵌入视频、音频或网页',\n urlPlaceholder: '粘贴链接',\n apply: '嵌入',\n invalid: '无法嵌入这个链接',\n insecure: '只能嵌入 https 开头的链接',\n edit: '修改链接',\n cancel: '取消',\n caption: '添加说明',\n },\n board: {\n empty: '还没有内容',\n start: '开始绘制',\n edit: '编辑',\n view: '查看',\n resize: '拖动以调整高度',\n addNode: '添加节点',\n searchNodes: '搜索节点',\n noNodes: '没有匹配的节点',\n node: '节点',\n emptyFlow: '使用左上角的“添加节点”添加第一个节点,也可以按住按钮拖到画布上',\n },\n noResults: '没有匹配的块',\n addBlock: '在下方添加块',\n dragHandle: '拖动以移动,点击打开菜单',\n turnInto: '转换为',\n duplicate: '复制',\n delete: '删除',\n moveUp: '上移',\n moveDown: '下移',\n bold: '粗体',\n italic: '斜体',\n underline: '下划线',\n strike: '删除线',\n code: '行内代码',\n link: '链接',\n linkPlaceholder: '粘贴或输入链接',\n applyLink: '确定',\n removeLink: '移除链接',\n comment: '评论',\n commentThread: '评论',\n removedBlock: '已删除的内容',\n restored: '已恢复到这个版本',\n changeAdded: '新增',\n changeRemoved: '删除',\n changeChanged: '修改',\n formatting: '文字格式',\n blockTypes: '块类型',\n}\n\nconst zhTW: EditorMessages = {\n placeholder: '輸入 / 插入內容',\n emptyPlaceholder: '開始寫點什麼,或輸入 / 插入內容',\n headingPlaceholder: '標題',\n types: {\n paragraph: '內文',\n heading1: '一級標題',\n heading2: '二級標題',\n heading3: '三級標題',\n bulletItem: '項目清單',\n numberedItem: '編號清單',\n checkItem: '待辦事項',\n quote: '引用',\n codeBlock: '程式碼',\n divider: '分隔線',\n image: '圖片',\n toggle: '摺疊區塊',\n callout: '提示區塊',\n table: '表格',\n columns: '分欄',\n attachment: '附件',\n embed: '嵌入',\n whiteboard: '白板',\n },\n hints: {\n paragraph: '一般的文字',\n heading1: '最大的標題',\n heading2: '中等的標題',\n heading3: '較小的標題',\n bulletItem: '用圓點列出幾項',\n numberedItem: '依序編號',\n checkItem: '可以勾選的事項',\n quote: '引用一段話',\n codeBlock: '等寬顯示程式碼',\n divider: '分隔上下內容',\n image: '上傳或嵌入一張圖片',\n toggle: '可以展開和收合的內容',\n callout: '帶圖示的醒目說明',\n table: '插入一個表格',\n columns: '把內容並排分成幾欄',\n attachment: '上傳一個檔案',\n embed: '影片、音訊或網頁',\n whiteboard: '圖形、便籤和連線',\n },\n image: {\n empty: '新增一張圖片',\n upload: '上傳',\n embed: '嵌入連結',\n urlPlaceholder: '貼上圖片連結',\n apply: '確定',\n uploading: '正在上傳',\n failed: '上傳失敗,請重試',\n caption: '新增說明',\n resize: '拖曳調整寬度',\n },\n codeBlock: { language: '語言', plainText: '純文字' },\n toggle: { expand: '展開', collapse: '收合' },\n mention: { label: '提及', searching: '正在搜尋', noResults: '沒有找到' },\n table: {\n row: '選擇這一列',\n column: '選擇這一欄',\n insertAbove: '在上方插入列',\n insertBelow: '在下方插入列',\n insertLeft: '在左側插入欄',\n insertRight: '在右側插入欄',\n moveUp: '上移',\n moveDown: '下移',\n moveLeft: '左移',\n moveRight: '右移',\n deleteRow: '刪除列',\n deleteColumn: '刪除欄',\n merge: '合併儲存格',\n split: '取消合併',\n clear: '清除內容',\n headerRow: '標題列',\n headerColumn: '標題欄',\n alignLeft: '靠左對齊',\n alignCenter: '置中',\n alignRight: '靠右對齊',\n addRow: '新增一列',\n addColumn: '新增一欄',\n },\n callout: {\n change: '點擊更換',\n tones: { info: '說明', tip: '提示', warning: '注意', danger: '警告' },\n },\n columns: {\n pick: '選擇欄數',\n count: '{count} 欄',\n select: '選取整個分欄',\n resize: '調整欄寬',\n even: '平分欄寬',\n column: '第 {index} 欄,共 {count} 欄',\n },\n colors: {\n label: '顏色',\n text: '文字顏色',\n background: '背景色',\n none: '預設',\n names: {\n gray: '灰色',\n red: '紅色',\n orange: '橙色',\n yellow: '黃色',\n green: '綠色',\n blue: '藍色',\n purple: '紫色',\n pink: '粉紅色',\n },\n },\n align: { label: '對齊', left: '靠左對齊', center: '置中', right: '靠右對齊' },\n attachment: {\n empty: '新增附件',\n upload: '選擇檔案',\n uploading: '正在上傳…',\n failed: '上傳失敗',\n retry: '重試',\n download: '下載',\n },\n embed: {\n empty: '嵌入影片、音訊或網頁',\n urlPlaceholder: '貼上連結',\n apply: '嵌入',\n invalid: '無法嵌入這個連結',\n insecure: '只能嵌入 https 開頭的連結',\n edit: '修改連結',\n cancel: '取消',\n caption: '新增說明',\n },\n board: {\n empty: '還沒有內容',\n start: '開始繪製',\n edit: '編輯',\n view: '查看',\n resize: '拖曳以調整高度',\n addNode: '新增節點',\n searchNodes: '搜尋節點',\n noNodes: '沒有符合的節點',\n node: '節點',\n emptyFlow: '使用左上角的「新增節點」新增第一個節點,也可以按住按鈕拖曳到畫布上',\n },\n noResults: '沒有符合的區塊',\n addBlock: '在下方新增區塊',\n dragHandle: '拖曳以移動,點擊開啟選單',\n turnInto: '轉換為',\n duplicate: '複製',\n delete: '刪除',\n moveUp: '上移',\n moveDown: '下移',\n bold: '粗體',\n italic: '斜體',\n underline: '底線',\n strike: '刪除線',\n code: '行內程式碼',\n link: '連結',\n linkPlaceholder: '貼上或輸入連結',\n applyLink: '確定',\n removeLink: '移除連結',\n comment: '評論',\n commentThread: '評論',\n removedBlock: '已刪除的內容',\n restored: '已還原到這個版本',\n changeAdded: '新增',\n changeRemoved: '刪除',\n changeChanged: '修改',\n formatting: '文字格式',\n blockTypes: '區塊類型',\n}\n\nconst en: EditorMessages = {\n placeholder: 'Type / for blocks',\n emptyPlaceholder: 'Start writing, or type / for blocks',\n headingPlaceholder: 'Heading',\n types: {\n paragraph: 'Text',\n heading1: 'Heading 1',\n heading2: 'Heading 2',\n heading3: 'Heading 3',\n bulletItem: 'Bulleted list',\n numberedItem: 'Numbered list',\n checkItem: 'To-do',\n quote: 'Quote',\n codeBlock: 'Code',\n divider: 'Divider',\n image: 'Image',\n toggle: 'Toggle',\n callout: 'Callout',\n table: 'Table',\n columns: 'Columns',\n attachment: 'File',\n embed: 'Embed',\n whiteboard: 'Whiteboard',\n },\n hints: {\n paragraph: 'Plain text',\n heading1: 'Large section heading',\n heading2: 'Medium section heading',\n heading3: 'Small section heading',\n bulletItem: 'A simple list',\n numberedItem: 'A list with numbers',\n checkItem: 'Items to tick off',\n quote: 'Quote someone',\n codeBlock: 'Code in a monospace font',\n divider: 'Separate sections',\n image: 'Upload or embed an image',\n toggle: 'Content that can be shown or hidden',\n callout: 'A note that stands out, with an icon',\n table: 'A grid of rows and columns',\n columns: 'Put content side by side',\n attachment: 'Upload a file',\n embed: 'Video, audio or a web page',\n whiteboard: 'Shapes, sticky notes and connectors',\n },\n image: {\n empty: 'Add an image',\n upload: 'Upload',\n embed: 'Embed link',\n urlPlaceholder: 'Paste the image link',\n apply: 'Apply',\n uploading: 'Uploading',\n failed: 'Upload failed, try again',\n caption: 'Add a caption',\n resize: 'Drag to resize',\n },\n codeBlock: { language: 'Language', plainText: 'Plain text' },\n toggle: { expand: 'Expand', collapse: 'Collapse' },\n mention: { label: 'Mention', searching: 'Searching', noResults: 'No one found' },\n table: {\n row: 'Select row',\n column: 'Select column',\n insertAbove: 'Insert row above',\n insertBelow: 'Insert row below',\n insertLeft: 'Insert column left',\n insertRight: 'Insert column right',\n moveUp: 'Move up',\n moveDown: 'Move down',\n moveLeft: 'Move left',\n moveRight: 'Move right',\n deleteRow: 'Delete row',\n deleteColumn: 'Delete column',\n merge: 'Merge cells',\n split: 'Unmerge',\n clear: 'Clear contents',\n headerRow: 'Header row',\n headerColumn: 'Header column',\n alignLeft: 'Align left',\n alignCenter: 'Align center',\n alignRight: 'Align right',\n addRow: 'Add a row',\n addColumn: 'Add a column',\n },\n callout: {\n change: 'click to change',\n tones: { info: 'Info', tip: 'Tip', warning: 'Warning', danger: 'Danger' },\n },\n columns: {\n pick: 'Number of columns',\n count: '{count} columns',\n select: 'Select all columns',\n resize: 'Resize columns',\n even: 'Even out columns',\n column: 'Column {index} of {count}',\n },\n colors: {\n label: 'Color',\n text: 'Text color',\n background: 'Background',\n none: 'Default',\n names: {\n gray: 'Gray',\n red: 'Red',\n orange: 'Orange',\n yellow: 'Yellow',\n green: 'Green',\n blue: 'Blue',\n purple: 'Purple',\n pink: 'Pink',\n },\n },\n align: { label: 'Align', left: 'Align left', center: 'Center', right: 'Align right' },\n attachment: {\n empty: 'Add a file',\n upload: 'Choose a file',\n uploading: 'Uploading…',\n failed: 'Upload failed',\n retry: 'Retry',\n download: 'Download',\n },\n embed: {\n empty: 'Embed a video, audio or web page',\n urlPlaceholder: 'Paste a link',\n apply: 'Embed',\n invalid: \"This link can't be embedded\",\n insecure: 'Only https links can be embedded',\n edit: 'Change link',\n cancel: 'Cancel',\n caption: 'Add a caption',\n },\n board: {\n empty: 'Nothing drawn yet',\n start: 'Start drawing',\n edit: 'Edit',\n view: 'View',\n resize: 'Drag to change the height',\n addNode: 'Add node',\n searchNodes: 'Search nodes',\n noNodes: 'No matching nodes',\n node: 'Node',\n emptyFlow:\n 'Use “Add node” at the top left to add the first node, or hold the button and drag it onto the canvas',\n },\n noResults: 'No matching blocks',\n addBlock: 'Add a block below',\n dragHandle: 'Drag to move, click for the menu',\n turnInto: 'Turn into',\n duplicate: 'Duplicate',\n delete: 'Delete',\n moveUp: 'Move up',\n moveDown: 'Move down',\n bold: 'Bold',\n italic: 'Italic',\n underline: 'Underline',\n strike: 'Strikethrough',\n code: 'Inline code',\n link: 'Link',\n linkPlaceholder: 'Paste or type a link',\n applyLink: 'Apply',\n removeLink: 'Remove link',\n comment: 'Comment',\n commentThread: 'Comments',\n removedBlock: 'Removed content',\n restored: 'Restored this version',\n changeAdded: 'Added',\n changeRemoved: 'Removed',\n changeChanged: 'Changed',\n formatting: 'Text formatting',\n blockTypes: 'Block types',\n}\n\nexport const editorLocales: Record<string, EditorMessages> = {\n 'zh-CN': zhCN,\n 'zh-TW': zhTW,\n en,\n}\n\n/**\n * The editor's texts, picked by the name of DouUI's current locale.\n * Pass `messages` to override any of them.\n */\ntype DeepPartial<T> = { [K in keyof T]?: T[K] extends object ? DeepPartial<T[K]> : T[K] }\n\n/** Any part of the messages: a nested group can be given in part too. */\nexport type EditorMessagesOverride = DeepPartial<EditorMessages>\n\nfunction merge<T>(base: T, extra: unknown): T {\n if (!extra || typeof extra !== 'object') return (extra ?? base) as T\n const result: Record<string, unknown> = { ...(base as Record<string, unknown>) }\n for (const [key, value] of Object.entries(extra)) {\n if (value === undefined) continue\n const current = result[key]\n result[key] =\n current && typeof current === 'object' && typeof value === 'object'\n ? merge(current, value)\n : value\n }\n return result as T\n}\n\nexport function useEditorMessages(override?: MaybeRefOrGetter<EditorMessagesOverride | undefined>) {\n const { locale } = useLocale()\n return computed<EditorMessages>(() => {\n const name = locale.value.name\n const base =\n editorLocales[name] ??\n editorLocales[name.split('-')[0]!] ??\n (name.startsWith('zh') ? zhCN : en)\n const extra = toValue(override)\n return extra ? merge(base, extra) : base\n })\n}\n"],"mappings":";;;AA2MA,IAAM,OAAuB;CAC3B,aAAa;CACb,kBAAkB;CAClB,oBAAoB;CACpB,OAAO;EACL,WAAW;EACX,UAAU;EACV,UAAU;EACV,UAAU;EACV,YAAY;EACZ,cAAc;EACd,WAAW;EACX,OAAO;EACP,WAAW;EACX,SAAS;EACT,OAAO;EACP,QAAQ;EACR,SAAS;EACT,OAAO;EACP,SAAS;EACT,YAAY;EACZ,OAAO;EACP,YAAY;CACd;CACA,OAAO;EACL,WAAW;EACX,UAAU;EACV,UAAU;EACV,UAAU;EACV,YAAY;EACZ,cAAc;EACd,WAAW;EACX,OAAO;EACP,WAAW;EACX,SAAS;EACT,OAAO;EACP,QAAQ;EACR,SAAS;EACT,OAAO;EACP,SAAS;EACT,YAAY;EACZ,OAAO;EACP,YAAY;CACd;CACA,OAAO;EACL,OAAO;EACP,QAAQ;EACR,OAAO;EACP,gBAAgB;EAChB,OAAO;EACP,WAAW;EACX,QAAQ;EACR,SAAS;EACT,QAAQ;CACV;CACA,WAAW;EAAE,UAAU;EAAM,WAAW;CAAM;CAC9C,QAAQ;EAAE,QAAQ;EAAM,UAAU;CAAK;CACvC,SAAS;EAAE,OAAO;EAAM,WAAW;EAAQ,WAAW;CAAO;CAC7D,OAAO;EACL,KAAK;EACL,QAAQ;EACR,aAAa;EACb,aAAa;EACb,YAAY;EACZ,aAAa;EACb,QAAQ;EACR,UAAU;EACV,UAAU;EACV,WAAW;EACX,WAAW;EACX,cAAc;EACd,OAAO;EACP,OAAO;EACP,OAAO;EACP,WAAW;EACX,cAAc;EACd,WAAW;EACX,aAAa;EACb,YAAY;EACZ,QAAQ;EACR,WAAW;CACb;CACA,SAAS;EACP,QAAQ;EACR,OAAO;GAAE,MAAM;GAAM,KAAK;GAAM,SAAS;GAAM,QAAQ;EAAK;CAC9D;CACA,SAAS;EACP,MAAM;EACN,OAAO;EACP,QAAQ;EACR,QAAQ;EACR,MAAM;EACN,QAAQ;CACV;CACA,QAAQ;EACN,OAAO;EACP,MAAM;EACN,YAAY;EACZ,MAAM;EACN,OAAO;GACL,MAAM;GACN,KAAK;GACL,QAAQ;GACR,QAAQ;GACR,OAAO;GACP,MAAM;GACN,QAAQ;GACR,MAAM;EACR;CACF;CACA,OAAO;EAAE,OAAO;EAAM,MAAM;EAAO,QAAQ;EAAM,OAAO;CAAM;CAC9D,YAAY;EACV,OAAO;EACP,QAAQ;EACR,WAAW;EACX,QAAQ;EACR,OAAO;EACP,UAAU;CACZ;CACA,OAAO;EACL,OAAO;EACP,gBAAgB;EAChB,OAAO;EACP,SAAS;EACT,UAAU;EACV,MAAM;EACN,QAAQ;EACR,SAAS;CACX;CACA,OAAO;EACL,OAAO;EACP,OAAO;EACP,MAAM;EACN,MAAM;EACN,QAAQ;EACR,SAAS;EACT,aAAa;EACb,SAAS;EACT,MAAM;EACN,WAAW;CACb;CACA,WAAW;CACX,UAAU;CACV,YAAY;CACZ,UAAU;CACV,WAAW;CACX,QAAQ;CACR,QAAQ;CACR,UAAU;CACV,MAAM;CACN,QAAQ;CACR,WAAW;CACX,QAAQ;CACR,MAAM;CACN,MAAM;CACN,iBAAiB;CACjB,WAAW;CACX,YAAY;CACZ,SAAS;CACT,eAAe;CACf,cAAc;CACd,UAAU;CACV,aAAa;CACb,eAAe;CACf,eAAe;CACf,YAAY;CACZ,YAAY;AACd;AAEA,IAAM,OAAuB;CAC3B,aAAa;CACb,kBAAkB;CAClB,oBAAoB;CACpB,OAAO;EACL,WAAW;EACX,UAAU;EACV,UAAU;EACV,UAAU;EACV,YAAY;EACZ,cAAc;EACd,WAAW;EACX,OAAO;EACP,WAAW;EACX,SAAS;EACT,OAAO;EACP,QAAQ;EACR,SAAS;EACT,OAAO;EACP,SAAS;EACT,YAAY;EACZ,OAAO;EACP,YAAY;CACd;CACA,OAAO;EACL,WAAW;EACX,UAAU;EACV,UAAU;EACV,UAAU;EACV,YAAY;EACZ,cAAc;EACd,WAAW;EACX,OAAO;EACP,WAAW;EACX,SAAS;EACT,OAAO;EACP,QAAQ;EACR,SAAS;EACT,OAAO;EACP,SAAS;EACT,YAAY;EACZ,OAAO;EACP,YAAY;CACd;CACA,OAAO;EACL,OAAO;EACP,QAAQ;EACR,OAAO;EACP,gBAAgB;EAChB,OAAO;EACP,WAAW;EACX,QAAQ;EACR,SAAS;EACT,QAAQ;CACV;CACA,WAAW;EAAE,UAAU;EAAM,WAAW;CAAM;CAC9C,QAAQ;EAAE,QAAQ;EAAM,UAAU;CAAK;CACvC,SAAS;EAAE,OAAO;EAAM,WAAW;EAAQ,WAAW;CAAO;CAC7D,OAAO;EACL,KAAK;EACL,QAAQ;EACR,aAAa;EACb,aAAa;EACb,YAAY;EACZ,aAAa;EACb,QAAQ;EACR,UAAU;EACV,UAAU;EACV,WAAW;EACX,WAAW;EACX,cAAc;EACd,OAAO;EACP,OAAO;EACP,OAAO;EACP,WAAW;EACX,cAAc;EACd,WAAW;EACX,aAAa;EACb,YAAY;EACZ,QAAQ;EACR,WAAW;CACb;CACA,SAAS;EACP,QAAQ;EACR,OAAO;GAAE,MAAM;GAAM,KAAK;GAAM,SAAS;GAAM,QAAQ;EAAK;CAC9D;CACA,SAAS;EACP,MAAM;EACN,OAAO;EACP,QAAQ;EACR,QAAQ;EACR,MAAM;EACN,QAAQ;CACV;CACA,QAAQ;EACN,OAAO;EACP,MAAM;EACN,YAAY;EACZ,MAAM;EACN,OAAO;GACL,MAAM;GACN,KAAK;GACL,QAAQ;GACR,QAAQ;GACR,OAAO;GACP,MAAM;GACN,QAAQ;GACR,MAAM;EACR;CACF;CACA,OAAO;EAAE,OAAO;EAAM,MAAM;EAAQ,QAAQ;EAAM,OAAO;CAAO;CAChE,YAAY;EACV,OAAO;EACP,QAAQ;EACR,WAAW;EACX,QAAQ;EACR,OAAO;EACP,UAAU;CACZ;CACA,OAAO;EACL,OAAO;EACP,gBAAgB;EAChB,OAAO;EACP,SAAS;EACT,UAAU;EACV,MAAM;EACN,QAAQ;EACR,SAAS;CACX;CACA,OAAO;EACL,OAAO;EACP,OAAO;EACP,MAAM;EACN,MAAM;EACN,QAAQ;EACR,SAAS;EACT,aAAa;EACb,SAAS;EACT,MAAM;EACN,WAAW;CACb;CACA,WAAW;CACX,UAAU;CACV,YAAY;CACZ,UAAU;CACV,WAAW;CACX,QAAQ;CACR,QAAQ;CACR,UAAU;CACV,MAAM;CACN,QAAQ;CACR,WAAW;CACX,QAAQ;CACR,MAAM;CACN,MAAM;CACN,iBAAiB;CACjB,WAAW;CACX,YAAY;CACZ,SAAS;CACT,eAAe;CACf,cAAc;CACd,UAAU;CACV,aAAa;CACb,eAAe;CACf,eAAe;CACf,YAAY;CACZ,YAAY;AACd;AAEA,IAAM,KAAqB;CACzB,aAAa;CACb,kBAAkB;CAClB,oBAAoB;CACpB,OAAO;EACL,WAAW;EACX,UAAU;EACV,UAAU;EACV,UAAU;EACV,YAAY;EACZ,cAAc;EACd,WAAW;EACX,OAAO;EACP,WAAW;EACX,SAAS;EACT,OAAO;EACP,QAAQ;EACR,SAAS;EACT,OAAO;EACP,SAAS;EACT,YAAY;EACZ,OAAO;EACP,YAAY;CACd;CACA,OAAO;EACL,WAAW;EACX,UAAU;EACV,UAAU;EACV,UAAU;EACV,YAAY;EACZ,cAAc;EACd,WAAW;EACX,OAAO;EACP,WAAW;EACX,SAAS;EACT,OAAO;EACP,QAAQ;EACR,SAAS;EACT,OAAO;EACP,SAAS;EACT,YAAY;EACZ,OAAO;EACP,YAAY;CACd;CACA,OAAO;EACL,OAAO;EACP,QAAQ;EACR,OAAO;EACP,gBAAgB;EAChB,OAAO;EACP,WAAW;EACX,QAAQ;EACR,SAAS;EACT,QAAQ;CACV;CACA,WAAW;EAAE,UAAU;EAAY,WAAW;CAAa;CAC3D,QAAQ;EAAE,QAAQ;EAAU,UAAU;CAAW;CACjD,SAAS;EAAE,OAAO;EAAW,WAAW;EAAa,WAAW;CAAe;CAC/E,OAAO;EACL,KAAK;EACL,QAAQ;EACR,aAAa;EACb,aAAa;EACb,YAAY;EACZ,aAAa;EACb,QAAQ;EACR,UAAU;EACV,UAAU;EACV,WAAW;EACX,WAAW;EACX,cAAc;EACd,OAAO;EACP,OAAO;EACP,OAAO;EACP,WAAW;EACX,cAAc;EACd,WAAW;EACX,aAAa;EACb,YAAY;EACZ,QAAQ;EACR,WAAW;CACb;CACA,SAAS;EACP,QAAQ;EACR,OAAO;GAAE,MAAM;GAAQ,KAAK;GAAO,SAAS;GAAW,QAAQ;EAAS;CAC1E;CACA,SAAS;EACP,MAAM;EACN,OAAO;EACP,QAAQ;EACR,QAAQ;EACR,MAAM;EACN,QAAQ;CACV;CACA,QAAQ;EACN,OAAO;EACP,MAAM;EACN,YAAY;EACZ,MAAM;EACN,OAAO;GACL,MAAM;GACN,KAAK;GACL,QAAQ;GACR,QAAQ;GACR,OAAO;GACP,MAAM;GACN,QAAQ;GACR,MAAM;EACR;CACF;CACA,OAAO;EAAE,OAAO;EAAS,MAAM;EAAc,QAAQ;EAAU,OAAO;CAAc;CACpF,YAAY;EACV,OAAO;EACP,QAAQ;EACR,WAAW;EACX,QAAQ;EACR,OAAO;EACP,UAAU;CACZ;CACA,OAAO;EACL,OAAO;EACP,gBAAgB;EAChB,OAAO;EACP,SAAS;EACT,UAAU;EACV,MAAM;EACN,QAAQ;EACR,SAAS;CACX;CACA,OAAO;EACL,OAAO;EACP,OAAO;EACP,MAAM;EACN,MAAM;EACN,QAAQ;EACR,SAAS;EACT,aAAa;EACb,SAAS;EACT,MAAM;EACN,WACE;CACJ;CACA,WAAW;CACX,UAAU;CACV,YAAY;CACZ,UAAU;CACV,WAAW;CACX,QAAQ;CACR,QAAQ;CACR,UAAU;CACV,MAAM;CACN,QAAQ;CACR,WAAW;CACX,QAAQ;CACR,MAAM;CACN,MAAM;CACN,iBAAiB;CACjB,WAAW;CACX,YAAY;CACZ,SAAS;CACT,eAAe;CACf,cAAc;CACd,UAAU;CACV,aAAa;CACb,eAAe;CACf,eAAe;CACf,YAAY;CACZ,YAAY;AACd;AAEA,IAAa,gBAAgD;CAC3D,SAAS;CACT,SAAS;CACT;AACF;AAWA,SAAS,MAAS,MAAS,OAAmB;CAC5C,IAAI,CAAC,SAAS,OAAO,UAAU,UAAU,OAAQ,SAAS;CAC1D,MAAM,SAAkC,EAAE,GAAI,KAAiC;CAC/E,KAAK,MAAM,CAAC,KAAK,UAAU,OAAO,QAAQ,KAAK,GAAG;EAChD,IAAI,UAAU,KAAA,GAAW;EACzB,MAAM,UAAU,OAAO;EACvB,OAAO,OACL,WAAW,OAAO,YAAY,YAAY,OAAO,UAAU,WACvD,MAAM,SAAS,KAAK,IACpB;CACR;CACA,OAAO;AACT;AAEA,SAAgB,kBAAkB,UAAiE;CACjG,MAAM,EAAE,WAAW,UAAU;CAC7B,OAAO,eAA+B;EACpC,MAAM,OAAO,OAAO,MAAM;EAC1B,MAAM,OACJ,cAAc,SACd,cAAc,KAAK,MAAM,GAAG,CAAC,CAAC,QAC7B,KAAK,WAAW,IAAI,IAAI,OAAO;EAClC,MAAM,QAAQ,QAAQ,QAAQ;EAC9B,OAAO,QAAQ,MAAM,MAAM,KAAK,IAAI;CACtC,CAAC;AACH"}
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer dou.components{.dou-editor{--dou-editor-font-size:var(--dou-font-size-lg);--dou-editor-line-height:1.7;--dou-editor-gutter:0px;--dou-editor-indent:24px;--dou-editor-column-gap:48px;--dou-editor-block-gap:4px;--dou-editor-list-gap:4px;--dou-editor-reading-width:none;--dou-editor-selected:color-mix(in oklab,var(--dou-color-focus)calc(12% + 10%*var(--dou-scheme-dark)),transparent);--dou-editor-scroll-shadow:color-mix(in oklab,var(--dou-color-text)14%,transparent);--dou-editor-control-hover:color-mix(in oklab,var(--dou-color-text)6%,transparent);--dou-editor-match:color-mix(in oklab,var(--dou-color-warning)22%,transparent);--dou-editor-match-current:color-mix(in oklab,var(--dou-color-warning-text)80%,transparent);--dou-editor-comment-bg:color-mix(in oklab,var(--dou-color-warning)18%,transparent);--dou-editor-comment-bg-active:color-mix(in oklab,var(--dou-color-warning)36%,transparent);--dou-editor-comment-line:color-mix(in oklab,var(--dou-color-warning)72%,transparent);position:relative;box-sizing:border-box;color:var(--dou-color-text);font-family:var(--dou-font-family);font-size:max(var(--dou-font-size-input-min,0px),var(--dou-editor-font-size));line-height:var(--dou-editor-line-height);overflow-wrap:break-word;width:100%;min-width:0;padding-inline-start:var(--dou-editor-gutter)}.dou-editor.is-comparing{--dou-editor-gutter:16px}@media (pointer:coarse){.dou-editor{--dou-editor-column-gap:32px}}.dou-editor.is-dragging{cursor:grabbing}.dou-editor.is-dragging *{cursor:grabbing}.dou-editor__live{position:absolute;overflow:hidden;clip-path:inset(50%);white-space:nowrap;width:1px;height:1px}.dou-editor__mount>.dou-editor__surface,.dou-editor__search{padding-inline-start:max(0px,(100% - var(--dou-editor-reading-width) - var(--dou-editor-gutter))/2);padding-inline-end:max(0px,min(100% - var(--dou-editor-reading-width),(100% - var(--dou-editor-reading-width) + var(--dou-editor-gutter))/2))}.dou-editor__surface{min-height:calc(var(--dou-editor-line-height)*1em);outline:none;white-space:pre-wrap;word-wrap:break-word;font-variant-ligatures:none}.dou-editor__block{position:relative;border-radius:4px}.dou-editor__group{padding-inline-start:var(--dou-editor-indent)}.dou-editor__content{position:relative;padding-block:calc(var(--dou-editor-block-gap)/2);font-size:1em;font-weight:inherit;line-height:var(--dou-editor-line-height);margin:0}.dou-editor__block>.dou-editor__content.is-list{--dou-editor-list-top:calc(var(--dou-editor-list-gap)/2);padding-block:var(--dou-editor-list-top)calc(var(--dou-editor-list-gap)/2)}.dou-editor__block>.dou-editor__content.is-list-start{--dou-editor-list-top:calc(max(var(--dou-editor-block-gap),var(--dou-editor-list-gap))/2);margin-top:min(0px,(var(--dou-editor-block-gap) - var(--dou-editor-list-gap))/2)}.dou-editor__block>.dou-editor__content.is-list-start.is-list-after{margin-top:min(0px,var(--dou-editor-block-gap) - var(--dou-editor-list-gap))}.dou-editor__block>.dou-editor__content.is-list-end{padding-bottom:calc(max(var(--dou-editor-block-gap),var(--dou-editor-list-gap))/2);margin-bottom:min(0px,(var(--dou-editor-block-gap) - var(--dou-editor-list-gap))/2)}.dou-editor__group.is-list-end{padding-bottom:max(0px,(var(--dou-editor-block-gap) - var(--dou-editor-list-gap))/2);margin-bottom:min(0px,(var(--dou-editor-block-gap) - var(--dou-editor-list-gap))/2)}.dou-editor__surface>.dou-editor__block:first-child>.dou-editor__content.is-list-start{margin-top:0}.dou-editor__surface>.dou-editor__block:last-child>.is-list-end{margin-bottom:0}.dou-editor__content--heading{--dou-editor-line-height:1.4;font-weight:var(--dou-font-weight-bold);letter-spacing:-.01em;margin-top:.6em}.dou-editor__content--heading:-webkit-any(h1){margin-top:.8em;font-size:1.75em}.dou-editor__content--heading:-moz-any(h1){margin-top:.8em;font-size:1.75em}.dou-editor__content--heading:is(h1){margin-top:.8em;font-size:1.75em}.dou-editor__content--heading:-webkit-any(h2){font-size:1.375em}.dou-editor__content--heading:-moz-any(h2){font-size:1.375em}.dou-editor__content--heading:is(h2){font-size:1.375em}.dou-editor__content--heading:-webkit-any(h3){font-size:1.125em}.dou-editor__content--heading:-moz-any(h3){font-size:1.125em}.dou-editor__content--heading:is(h3){font-size:1.125em}.dou-editor__surface>.dou-editor__block:first-child>.dou-editor__content--heading{margin-top:0}.dou-editor__content--bulletItem,.dou-editor__content--numberedItem{padding-inline-start:var(--dou-editor-indent)}:is(.dou-editor__content--bulletItem,.dou-editor__content--numberedItem):before{position:absolute;width:var(--dou-editor-indent)}:is(.dou-editor__content--bulletItem,.dou-editor__content--numberedItem):not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:0}:is(.dou-editor__content--bulletItem,.dou-editor__content--numberedItem):not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:0}:is(.dou-editor__content--bulletItem,.dou-editor__content--numberedItem):not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:0}:is(.dou-editor__content--bulletItem,.dou-editor__content--numberedItem):-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:0}:is(.dou-editor__content--bulletItem,.dou-editor__content--numberedItem):-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:0}:is(.dou-editor__content--bulletItem,.dou-editor__content--numberedItem):is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:0}.dou-editor__content--bulletItem:before{content:"";top:calc(var(--dou-editor-list-top) + var(--dou-editor-line-height)*.5em - 3px);box-sizing:border-box;color:var(--dou-color-text-secondary);background-color:currentColor;border-radius:50%;width:6px;height:6px}.dou-editor__content--bulletItem:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:7px}.dou-editor__content--bulletItem:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:7px}.dou-editor__content--bulletItem:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:7px}.dou-editor__content--bulletItem:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:7px}.dou-editor__content--bulletItem:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:7px}.dou-editor__content--bulletItem:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:7px}.dou-editor__group .dou-editor__content--bulletItem:before{background-color:#0000;border:1.5px solid}.dou-editor__content--numberedItem:before{content:attr(data-index)".";top:var(--dou-editor-list-top);box-sizing:border-box;color:var(--dou-color-text-secondary);font-variant-numeric:tabular-nums;text-align:end;padding-inline-end:6px}.dou-editor__content--checkItem{display:flex;gap:8px}.dou-editor__check{display:inline-flex;height:calc(var(--dou-editor-line-height)*1em);user-select:none;flex:none;align-items: center}.dou-editor__checkbox{display:inline-flex;box-sizing:border-box;border:1px solid var(--dou-color-border-strong);border-radius:calc(var(--dou-radius-control) - 2px);background-color:var(--dou-color-bg-surface);box-shadow:var(--dou-shadow-sm);color:var(--dou-color-neutral-on);cursor:pointer;transition-property:background-color,border-color,box-shadow;transition-duration:var(--dou-motion-duration-fast);transition-timing-function:var(--dou-motion-easing);justify-content:center;align-items: center;width:16px;height:16px;margin:0;padding:0}.dou-editor__checkbox>svg{opacity:0;transition-property:opacity,transform;transition-duration:var(--dou-motion-duration-fast);transition-timing-function:var(--dou-motion-easing);width:100%;height:100%;transform:scale(.6)}.dou-editor__checkbox:hover:not(:disabled){border-color:color-mix(in oklab,var(--dou-color-neutral)45%,var(--dou-color-border-strong))}.dou-editor__checkbox:focus-visible{outline:2px solid var(--dou-color-focus);outline-offset:2px}.dou-editor__checkbox:disabled{cursor:default}.dou-editor__content--checkItem[data-checked=true] .dou-editor__checkbox{border-color:color-mix(in oklab,var(--dou-color-neutral)90%,var(--dou-color-edge));background-color:var(--dou-color-neutral);box-shadow:var(--dou-shadow-highlight),0 1px 2px color-mix(in oklab,var(--dou-color-neutral)24%,transparent)}.dou-editor__content--checkItem[data-checked=true] .dou-editor__checkbox>svg{opacity:1;transform:none}.dou-editor__content--checkItem[data-checked=true] .dou-editor__text{color:var(--dou-color-text-tertiary);text-decoration:line-through;text-decoration-color:color-mix(in oklab,currentColor 60%,transparent)}.dou-editor__text{flex:auto;min-width:0}.dou-editor__content--quote{box-shadow:inset 2px 0 0 var(--dou-color-border-strong);color:var(--dou-color-text-secondary);padding-inline-start:14px}.dou-editor__content--codeBlock{--dou-editor-line-height:1.7;margin-block:calc(var(--dou-editor-block-gap)/2 + 2px);overflow-x:auto;border:1px solid var(--dou-color-border);border-radius:var(--dou-radius-container);background-color:var(--dou-color-bg-muted);font-family:var(--dou-font-family-mono);font-size:var(--dou-font-size-sm);tab-size:2;white-space:pre-wrap;padding:12px 16px}.dou-editor__content--codeBlock>code{font:inherit}.dou-editor-toggle{display:flex;gap:4px}.dou-editor-toggle__control{display:inline-flex;height:calc(var(--dou-editor-line-height)*1em);user-select:none;flex:none;align-items: center;margin-inline-start:-2px}.dou-editor-toggle__button{display:inline-flex;border-radius:var(--dou-radius-control);color:var(--dou-color-text-tertiary);cursor:pointer;background:0 0;border:none;justify-content:center;align-items: center;width:22px;height:22px;padding:0}.dou-editor-toggle__button>svg{transition:rotate var(--dou-motion-duration-fast)var(--dou-motion-easing);width:16px;height:16px}.dou-editor-toggle__button.is-open>svg{rotate:90deg}.dou-editor-toggle__button:hover{background-color:color-mix(in oklab,var(--dou-color-text)6%,transparent);color:var(--dou-color-text)}.dou-editor-toggle__button:focus-visible{outline:2px solid var(--dou-color-focus);outline-offset:-2px}.dou-editor__block.is-collapsed>.dou-editor__group{display:none}.dou-editor-callout{--dou-editor-callout-tone:var(--dou-color-text-secondary);display:flex;border:1px solid color-mix(in oklab,var(--dou-editor-callout-tone)22%,var(--dou-color-border));border-radius:var(--dou-radius-container);background-color:color-mix(in oklab,var(--dou-editor-callout-tone)6%,var(--dou-color-bg-surface));gap:8px;margin-block-start:2px;margin-block-end:2px;padding:8px 12px}.dou-editor-callout.is-tip{--dou-editor-callout-tone:var(--dou-color-success)}.dou-editor-callout.is-warning{--dou-editor-callout-tone:var(--dou-color-warning)}.dou-editor-callout.is-danger{--dou-editor-callout-tone:var(--dou-color-danger)}.dou-editor-callout__control{display:inline-flex;height:calc(var(--dou-editor-line-height)*1em);user-select:none;flex:none;align-items: center}.dou-editor-callout__icon{display:inline-flex;border-radius:var(--dou-radius-control);color:var(--dou-editor-callout-tone);background:0 0;border:none;justify-content:center;align-items: center;width:24px;height:24px;padding:0}.dou-editor-callout__icon>svg{width:16px;height:16px}button.dou-editor-callout__icon{cursor:pointer}button.dou-editor-callout__icon:hover{background-color:color-mix(in oklab,var(--dou-editor-callout-tone)12%,transparent)}button.dou-editor-callout__icon[aria-expanded=true]{background-color:color-mix(in oklab,var(--dou-editor-callout-tone)12%,transparent)}button.dou-editor-callout__icon:focus-visible{outline:2px solid var(--dou-color-focus);outline-offset:-2px}.dou-editor__content--codeBlock.dou-editor__content--custom{position:relative}.dou-editor-code__pre{font:inherit;white-space:inherit;margin:0}.dou-editor-code__pre>code{display:block;font:inherit}.dou-editor-code__bar{position:absolute;display:flex;border-radius:var(--dou-radius-control);background-color:var(--dou-color-bg-muted);font-family:var(--dou-font-family);opacity:0;transition:opacity var(--dou-motion-duration-fast)var(--dou-motion-easing);align-items: center;gap:2px;top:6px;right:6px}.dou-editor__content--codeBlock:hover>.dou-editor-code__bar,.dou-editor-code__bar:focus-within{opacity:1}.dou-editor-code__bar:has([aria-expanded=true]){opacity:1}.dou-editor-code__language{display:inline-flex;border-radius:var(--dou-radius-control);color:var(--dou-color-text-secondary);font:inherit;font-size:var(--dou-font-size-sm);cursor:pointer;background:0 0;border:none;align-items: center;gap:2px;height:24px;padding:0 4px 0 8px}.dou-editor-code__language>svg{width:14px;height:14px}.dou-editor-code__language:hover{background-color:color-mix(in oklab,var(--dou-color-text)6%,transparent);color:var(--dou-color-text)}.dou-editor-code__language[aria-expanded=true]{background-color:color-mix(in oklab,var(--dou-color-text)6%,transparent);color:var(--dou-color-text)}.dou-editor-code__language:focus-visible{outline:2px solid var(--dou-color-focus);outline-offset:-2px}.dou-editor-code__language.is-static{cursor:default;padding-inline-start:8px;padding-inline-end:8px}.dou-editor-code-editor.dou-editor__content--codeBlock{overflow:visible;white-space:normal;transition:border-color var(--dou-motion-duration-fast)var(--dou-motion-easing);padding:0}.dou-editor-code-editor.dou-editor__content--codeBlock:has(>.dou-code-editor.is-focused){border-color:color-mix(in oklab,var(--dou-color-focus)70%,var(--dou-color-text))}.dou-editor-code-editor.dou-editor__content--codeBlock>.dou-editor-code__bar{position:relative;z-index:3;opacity:1;background:0 0;justify-content:flex-end;padding:4px 6px 0 8px;top:auto;right:auto}.dou-editor-code-editor.dou-editor__content--codeBlock>.dou-editor-code__bar>:not(:last-child){margin-inline-end:auto}@media (pointer:coarse){.dou-editor-code__language:not(.is-static){position:relative}.dou-editor-code__language:not(.is-static):after{position:absolute;content:"";inset:min(0px,50% - 20px) 0}}.dou-editor-code__editor.dou-code-editor:not(.is-bordered){--dou-code-editor-bg:transparent;--dou-code-editor-gutter-bg:var(--dou-color-bg-muted);--dou-code-editor-padding-x:16px;--dou-code-editor-padding-y:8px;border-radius:inherit}.dou-editor__token{color:color-mix(in oklab,var(--shiki-dark,currentColor)calc(100%*var(--dou-scheme-dark)),var(--shiki-light,currentColor));font-style:var(--shiki-light-font-style,inherit);font-weight:var(--shiki-light-font-weight,inherit)}.dou-editor__content--divider{cursor:default;padding-block-start:12px;padding-block-end:12px}.dou-editor__content--divider>hr{background-color:var(--dou-color-border);border:none;height:1px;margin:0}.dou-editor__content--divider.ProseMirror-selectednode>hr{background-color:var(--dou-color-focus)}.dou-editor__surface strong{font-weight:var(--dou-font-weight-bold)}.dou-editor__surface u{text-underline-offset:.2em}.dou-editor__surface s u{text-decoration:underline line-through}.dou-editor__surface u s{text-decoration:underline line-through}.dou-editor__surface :not(pre)>code{background-color:var(--dou-color-bg-muted);box-shadow:inset 0 0 0 1px var(--dou-color-border-subtle);font-family:var(--dou-font-family-mono);border-radius:4px;padding:.1em .3em;font-size:.875em}.dou-editor__link{color:inherit;text-decoration:underline;text-decoration-color:var(--dou-color-border-strong);text-decoration-thickness:1px;text-underline-offset:.2em;transition:text-decoration-color var(--dou-motion-duration-fast)var(--dou-motion-easing)}.dou-editor__link:hover{text-decoration-color:currentColor}.dou-editor.is-readonly .dou-editor__link,.dou-editor.is-comparing .dou-editor__link{cursor:pointer}.dou-editor__comment{transition:background-color var(--dou-motion-duration-fast)var(--dou-motion-easing);border-bottom:2px solid #0000}.dou-editor__comment-pending{background-color:color-mix(in oklab,var(--dou-color-focus)16%,transparent)}.dou-editor-comment{box-sizing:border-box;max-height:min(var(--dou-floating-available,100vh),480px,calc(100vh - 32px));overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--dou-color-border);border-radius:var(--dou-radius-container);background-color:color-mix(in oklab,var(--dou-color-text)calc(4%*var(--dou-scheme-dark)),var(--dou-color-bg-surface));box-shadow:var(--dou-shadow-md);font-family:var(--dou-font-family);width:min(340px,100vw - 32px);padding:12px;line-height:normal}.dou-editor__content.is-empty:after{content:attr(data-placeholder);position:absolute;top:calc(var(--dou-editor-block-gap)/2);color:var(--dou-color-text-tertiary);pointer-events:none;user-select:none;white-space:nowrap}.dou-editor__content.is-empty:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:0}.dou-editor__content.is-empty:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:0}.dou-editor__content.is-empty:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:0}.dou-editor__content.is-empty:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:0}.dou-editor__content.is-empty:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:0}.dou-editor__content.is-empty:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:0}.dou-editor__content.is-list.is-empty:after{top:var(--dou-editor-list-top)}.dou-editor__content--bulletItem.is-empty:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:var(--dou-editor-indent)}.dou-editor__content--bulletItem.is-empty:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:var(--dou-editor-indent)}.dou-editor__content--bulletItem.is-empty:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:var(--dou-editor-indent)}.dou-editor__content--numberedItem.is-empty:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:var(--dou-editor-indent)}.dou-editor__content--numberedItem.is-empty:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:var(--dou-editor-indent)}.dou-editor__content--numberedItem.is-empty:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:var(--dou-editor-indent)}.dou-editor__content--bulletItem.is-empty:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:var(--dou-editor-indent)}.dou-editor__content--bulletItem.is-empty:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:var(--dou-editor-indent)}.dou-editor__content--bulletItem.is-empty:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:var(--dou-editor-indent)}.dou-editor__content--numberedItem.is-empty:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:var(--dou-editor-indent)}.dou-editor__content--numberedItem.is-empty:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:var(--dou-editor-indent)}.dou-editor__content--numberedItem.is-empty:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:var(--dou-editor-indent)}.dou-editor__content--checkItem.is-empty:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:24px}.dou-editor__content--checkItem.is-empty:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:24px}.dou-editor__content--checkItem.is-empty:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:24px}.dou-editor__content--checkItem.is-empty:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:24px}.dou-editor__content--checkItem.is-empty:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:24px}.dou-editor__content--checkItem.is-empty:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:24px}.dou-editor__content--quote.is-empty:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:14px}.dou-editor__content--quote.is-empty:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:14px}.dou-editor__content--quote.is-empty:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:14px}.dou-editor__content--quote.is-empty:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:14px}.dou-editor__content--quote.is-empty:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:14px}.dou-editor__content--quote.is-empty:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:14px}.dou-editor__diff-added:before,.dou-editor__diff-changed:before,.dou-editor__diff-removed-block:before{position:absolute;content:"";border-radius:2px;width:3px;top:2px;bottom:2px}.dou-editor__diff-added:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:-12px}.dou-editor__diff-added:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:-12px}.dou-editor__diff-added:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:-12px}.dou-editor__diff-changed:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:-12px}.dou-editor__diff-changed:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:-12px}.dou-editor__diff-changed:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:-12px}.dou-editor__diff-removed-block:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:-12px}.dou-editor__diff-removed-block:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:-12px}.dou-editor__diff-removed-block:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:-12px}.dou-editor__diff-added:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:-12px}.dou-editor__diff-added:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:-12px}.dou-editor__diff-added:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:-12px}.dou-editor__diff-changed:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:-12px}.dou-editor__diff-changed:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:-12px}.dou-editor__diff-changed:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:-12px}.dou-editor__diff-removed-block:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:-12px}.dou-editor__diff-removed-block:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:-12px}.dou-editor__diff-removed-block:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:-12px}.dou-editor__diff-added:before{background-color:var(--dou-color-success)}.dou-editor__diff-changed:before{background-color:var(--dou-color-warning)}.dou-editor__diff-added-text{background-color:color-mix(in oklab,var(--dou-color-success)14%,transparent);text-decoration:underline 1px var(--dou-color-success);text-underline-offset:3px}.dou-editor__diff-removed{background-color:color-mix(in oklab,var(--dou-color-danger)12%,transparent);color:var(--dou-color-danger-text);text-decoration:line-through 1px}.dou-editor__diff-removed-block{position:relative;color:var(--dou-color-danger-text);text-decoration:line-through 1px;white-space:pre-wrap;user-select:none;padding:3px 0}.dou-editor__diff-removed-block:before{background-color:var(--dou-color-danger)}.dou-editor__block.is-selected{background-color:var(--dou-editor-selected)}.dou-editor__block.is-selected+.dou-editor__block.is-selected:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-top-left-radius:0;border-top-right-radius:0}.dou-editor__block.is-selected+.dou-editor__block.is-selected:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-top-left-radius:0;border-top-right-radius:0}.dou-editor__block.is-selected+.dou-editor__block.is-selected:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-top-left-radius:0;border-top-right-radius:0}.dou-editor__block.is-selected+.dou-editor__block.is-selected:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-left-radius:0;border-top-right-radius:0}.dou-editor__block.is-selected+.dou-editor__block.is-selected:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-left-radius:0;border-top-right-radius:0}.dou-editor__block.is-selected+.dou-editor__block.is-selected:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-left-radius:0;border-top-right-radius:0}.dou-editor__block.is-selected:has(+.dou-editor__block.is-selected):not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-bottom-right-radius:0;border-bottom-left-radius:0}.dou-editor__block.is-selected:has(+.dou-editor__block.is-selected):not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-bottom-right-radius:0;border-bottom-left-radius:0}.dou-editor__block.is-selected:has(+.dou-editor__block.is-selected):not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-bottom-right-radius:0;border-bottom-left-radius:0}.dou-editor__block.is-selected:has(+.dou-editor__block.is-selected):-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-bottom-right-radius:0;border-bottom-left-radius:0}.dou-editor__block.is-selected:has(+.dou-editor__block.is-selected):-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-bottom-right-radius:0;border-bottom-left-radius:0}.dou-editor__block.is-selected:has(+.dou-editor__block.is-selected):is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-bottom-right-radius:0;border-bottom-left-radius:0}.dou-editor__block.is-selected .dou-editor__block.is-selected{background-color:#0000}.dou-editor__block.is-selected>.dou-editor__content--codeBlock{background-image:linear-gradient(var(--dou-editor-selected),var(--dou-editor-selected))}.dou-editor .is-block-selecting{caret-color:transparent}.dou-editor .is-block-selecting ::selection{background-color:#0000}.dou-editor.is-dragging .dou-editor__block.is-selected{opacity:.45}.dou-editor__handle{--dou-editor-handle-height:24px;--dou-editor-handle-offset:4px;position:absolute;z-index:1;box-sizing:border-box;display:flex;height:var(--dou-editor-handle-height);margin-top:calc((var(--dou-editor-line,24px) - var(--dou-editor-handle-height))/2);border:1px solid var(--dou-color-border);background-color:var(--dou-color-bg-surface);box-shadow:var(--dou-shadow-sm);transform:translateX(calc(-100% - var(--dou-editor-handle-offset) + var(--dou-editor-handle-shift,0px)));border-radius:6px;align-items: center;padding:1px}.dou-editor__handle.is-table{--dou-editor-handle-offset:10px}@media (hover:hover) and (pointer:fine){.dou-editor__handle:after{content:"";position:absolute;top:0;bottom:0;width:calc(var(--dou-editor-handle-offset) + 1px);left:100%}}.dou-editor__handle-button{display:inline-flex;color:var(--dou-color-text-tertiary);cursor:pointer;transition-property:background-color,color;transition-duration:var(--dou-motion-duration-fast);transition-timing-function:var(--dou-motion-easing);background:0 0;border:none;border-radius:4px;flex:none;justify-content:center;align-items: center;width:20px;height:100%;margin:0;padding:0}.dou-editor__handle-button>svg{width:14px;height:14px}.dou-editor__handle-button:hover{background-color:var(--dou-editor-control-hover);color:var(--dou-color-text-secondary)}.dou-editor__handle-button[aria-expanded=true]{background-color:var(--dou-editor-control-hover);color:var(--dou-color-text-secondary)}.dou-editor__add{display:none}@media (hover:hover) and (pointer:fine){.dou-editor__handle:not(.is-compact):hover .dou-editor__add{display:inline-flex}}.dou-editor__grip{position:relative;cursor:grab;touch-action:none;width:16px}@media (pointer:coarse){.dou-editor__handle{--dou-editor-handle-height:32px}.dou-editor__handle.is-table{--dou-editor-handle-offset:12px}.dou-editor__grip{-webkit-touch-callout:none;user-select:none;width:18px}.dou-editor__grip:before{content:"";position:absolute;inset:-8px -8px -8px -14px}}.dou-editor__ghost{position:fixed;z-index:2000;box-sizing:border-box;overflow:hidden;border:1px solid var(--dou-color-border);border-radius:var(--dou-radius-control);background-color:var(--dou-color-bg-surface);box-shadow:var(--dou-shadow-md);opacity:.88;pointer-events:none;max-height:160px;padding:6px 12px;top:0;left:0}.dou-editor__ghost>.dou-editor__block:first-child>.dou-editor__content{margin-top:0}.dou-editor__drop{position:absolute;background-color:var(--dou-color-focus);pointer-events:none;border-radius:1px;height:2px;margin-top:-1px}.dou-editor__drop.is-vertical{width:2px;height:auto;margin-top:0;margin-left:-1px}.dou-editor__mention{background-color:var(--dou-color-bg-muted);color:var(--dou-color-text);white-space:nowrap;border-radius:4px;padding:0 2px;font-weight:500}.dou-editor-mention{max-height:min(var(--dou-floating-available,100vh),288px);width:240px}.dou-editor-mention__item{gap:10px;height:auto;padding:6px 8px}.dou-editor-mention__item:focus{background-color:var(--dou-dropdown-item-active-bg)}.dou-editor-mention__item.is-active{background-color:var(--dou-dropdown-item-active-bg)}.dou-editor-mention__text{display:flex;flex-direction:column;flex:auto;gap:6px;min-width:0}.dou-editor-mention__label,.dou-editor-mention__description{overflow-x:clip;text-box:trim-both cap alphabetic;text-overflow:ellipsis;white-space:nowrap}.dou-editor-mention__description{color:var(--dou-color-text-tertiary);font-size:var(--dou-font-size-sm)}.dou-editor-slash{max-height:min(var(--dou-floating-available,100vh),336px);width:288px}.dou-editor-slash__item{gap:10px;height:auto;padding:6px 8px 6px 6px}.dou-editor-slash__item:focus{background-color:var(--dou-dropdown-item-active-bg)}.dou-editor-slash__item.is-active{background-color:var(--dou-dropdown-item-active-bg)}.dou-editor-slash__icon{display:inline-flex;box-sizing:border-box;border:1px solid var(--dou-color-border);border-radius:var(--dou-radius-control);background-color:var(--dou-color-bg-surface);color:var(--dou-color-text-secondary);flex:none;justify-content:center;align-items: center;width:32px;height:32px}.dou-editor-slash__icon>svg{width:18px;height:18px}.dou-editor-slash__text{display:flex;flex-direction:column;flex:auto;gap:6px;min-width:0}.dou-editor-slash__label,.dou-editor-slash__hint{overflow-x:clip;text-box:trim-both cap alphabetic;text-overflow:ellipsis}.dou-editor-slash__hint{color:var(--dou-color-text-tertiary);font-size:var(--dou-font-size-sm)}.dou-editor-slash__shortcut{color:var(--dou-color-text-tertiary);font-family:var(--dou-font-family-mono);font-size:var(--dou-font-size-sm);text-box:trim-both cap alphabetic;flex:none}.dou-editor-slash__empty{color:var(--dou-color-text-tertiary);font-size:var(--dou-font-size-sm);padding:8px}.dou-editor-slash__more{color:var(--dou-color-text-tertiary);flex:none;width:16px;height:16px}.dou-editor-slash__choices{max-height:none;padding:8px}.dou-editor-slash__choices-title{color:var(--dou-color-text-tertiary);font-size:var(--dou-font-size-sm);text-box:trim-both cap alphabetic;padding:4px 4px 10px}.dou-editor-slash__unfolded{padding:4px 8px 8px}.dou-editor-slash__unfolded .dou-editor-slash__choices-title{padding-inline-start:0;padding-inline-end:0}.dou-editor-slash__more{transition:rotate var(--dou-motion-duration-fast)var(--dou-motion-easing)}.dou-editor-slash__more.is-unfolded{rotate:90deg}.dou-editor-column-picker{display:flex;gap:6px;padding:2px 4px 4px}.dou-editor-column-picker__bar{background-color:var(--dou-color-bg-muted);cursor:pointer;transition:background-color var(--dou-motion-duration-fast)var(--dou-motion-easing);border-radius:4px;width:24px;height:72px}.dou-editor-column-picker__bar.is-lit{background-color:color-mix(in oklab,var(--dou-color-text)calc(22% + 8%*var(--dou-scheme-dark)),transparent)}@media (pointer:coarse){.dou-editor-column-picker__bar{width:32px}}.dou-editor__content--columns,.dou-editor__content--column{display:none}.dou-editor__content--columns+.dou-editor__group{container:dou-editor-columns/inline-size;display:flex;column-gap:var(--dou-editor-column-gap);flex-wrap:wrap;row-gap:12px;padding-inline-start:0}.dou-editor__content--columns+.dou-editor__group>.dou-editor__block{flex:var(--dou-editor-column-width,1)1 0;min-width:0}.dou-editor__content--column+.dou-editor__group{padding-inline-start:0}.dou-editor__content--column+.dou-editor__group .dou-editor__content--table{padding-inline-start:12px}@media (hover:hover){.dou-editor:not(.is-readonly) .dou-editor__content--columns+.dou-editor__group:hover>.dou-editor__block{outline:1px dashed var(--dou-color-border)}}@container dou-editor-columns (width<=480px){.dou-editor__content--columns+.dou-editor__group>.dou-editor__block{flex-basis:100%}}.dou-editor-columns__bar{position:absolute;z-index:2;outline:none;cursor:col-resize;touch-action:none;width:10px;margin-inline-start:-5px}@media (pointer:coarse){.dou-editor-columns__bar:before{content:"";position:absolute;top:0;bottom:0;left:-15px;right:-15px}}.dou-editor-columns__bar:after{content:"";position:absolute;background-color:var(--dou-color-focus);opacity:0;transition:opacity var(--dou-motion-duration-fast)var(--dou-motion-easing);border-radius:1px;width:2px;top:0;bottom:0}.dou-editor-columns__bar:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:4px}.dou-editor-columns__bar:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:4px}.dou-editor-columns__bar:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:4px}.dou-editor-columns__bar:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:4px}.dou-editor-columns__bar:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:4px}.dou-editor-columns__bar:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:4px}.dou-editor-columns__bar:hover:after{opacity:1}.dou-editor-columns__bar.is-shown:after{opacity:1}.dou-editor-columns__bar:focus-visible:after{opacity:1}.dou-editor-columns__bar.is-key:not(:-webkit-any(.is-shown,:focus)){pointer-events:none}.dou-editor-columns__bar.is-key:not(:-moz-any(.is-shown,:focus)){pointer-events:none}.dou-editor-columns__bar.is-key:not(:is(.is-shown,:focus)){pointer-events:none}.dou-editor:has(.dou-editor-columns__bar:-webkit-any(:hover,.is-shown)) .dou-editor__handle.is-compact{opacity:0;pointer-events:none}.dou-editor:has(.dou-editor-columns__bar:-moz-any(:hover,.is-shown)) .dou-editor__handle.is-compact{opacity:0;pointer-events:none}.dou-editor:has(.dou-editor-columns__bar:is(:hover,.is-shown)) .dou-editor__handle.is-compact{opacity:0;pointer-events:none}.dou-editor__content--table{display:flex;overflow-x:auto;overscroll-behavior-x:contain;margin-block-start:4px;margin-block-end:4px;padding-block-start:8px;padding-block-end:4px}.dou-editor__content--table>.dou-editor-table{flex:none}.dou-editor__content--table:before{content:"";position:sticky;z-index:1;opacity:0;pointer-events:none;transition:opacity var(--dou-motion-duration-fast)var(--dou-motion-easing);flex:none;width:8px}.dou-editor__content--table:after{content:"";position:sticky;z-index:1;opacity:0;pointer-events:none;transition:opacity var(--dou-motion-duration-fast)var(--dou-motion-easing);flex:none;width:8px}.dou-editor__content--table:before{background-image:linear-gradient(to right,var(--dou-editor-scroll-shadow),transparent);margin-inline-end:-8px}.dou-editor__content--table:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:calc(-1*var(--dou-editor-frame-start,0px))}.dou-editor__content--table:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:calc(-1*var(--dou-editor-frame-start,0px))}.dou-editor__content--table:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:calc(-1*var(--dou-editor-frame-start,0px))}.dou-editor__content--table:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:calc(-1*var(--dou-editor-frame-start,0px))}.dou-editor__content--table:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:calc(-1*var(--dou-editor-frame-start,0px))}.dou-editor__content--table:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:calc(-1*var(--dou-editor-frame-start,0px))}.dou-editor__content--table:after{background-image:linear-gradient(to left,var(--dou-editor-scroll-shadow),transparent);margin-inline-start:-8px}.dou-editor__content--table:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{right:calc(-1*var(--dou-editor-frame-end,0px))}.dou-editor__content--table:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{right:calc(-1*var(--dou-editor-frame-end,0px))}.dou-editor__content--table:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{right:calc(-1*var(--dou-editor-frame-end,0px))}.dou-editor__content--table:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{left:calc(-1*var(--dou-editor-frame-end,0px))}.dou-editor__content--table:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{left:calc(-1*var(--dou-editor-frame-end,0px))}.dou-editor__content--table:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{left:calc(-1*var(--dou-editor-frame-end,0px))}.dou-editor__content--table.is-cut-start:before{opacity:1}.dou-editor__content--table.is-cut-end:after{opacity:1}.dou-editor__mount>.dou-editor__surface>.dou-editor__block>.dou-editor__content--table{--dou-editor-bleed-start:max(0px,var(--dou-editor-margin-start,0px) - 10px);--dou-editor-bleed-end:var(--dou-editor-margin-end,0px);--dou-editor-frame-start:var(--dou-editor-bleed-start);--dou-editor-frame-end:min(var(--dou-editor-bleed-end),28px);margin-inline:calc(-1*var(--dou-editor-bleed-start))calc(-1*var(--dou-editor-bleed-end));padding-inline:var(--dou-editor-frame-start)var(--dou-editor-frame-end)}.dou-editor__mount>.dou-editor__surface>.dou-editor__block.is-selected.has-table{background-color:#0000}.dou-editor__mount>.dou-editor__surface>.dou-editor__block.is-selected.has-table:before{content:"";position:absolute;top:0;bottom:0;inset-inline:calc(-1*var(--dou-editor-margin-start,0px))calc(-1*var(--dou-editor-margin-end,0px));border-radius:inherit;background-color:var(--dou-editor-selected);pointer-events:none}.dou-editor__mount>.dou-editor__surface>.dou-editor__block.is-selected.has-table>.dou-editor__content--table{position:relative;z-index:0}.dou-editor-table{border-collapse:collapse;table-layout:fixed;font-size:inherit;line-height:inherit}.dou-editor-table td{position:relative;box-sizing:border-box;border:1px solid var(--dou-color-border);text-align:start;vertical-align:top;white-space:pre-wrap;min-width:48px;padding:6px 10px}.dou-editor-table th{position:relative;box-sizing:border-box;border:1px solid var(--dou-color-border);text-align:start;vertical-align:top;white-space:pre-wrap;min-width:48px;padding:6px 10px}.dou-editor-table th{background-color:var(--dou-color-bg-muted);font-weight:600}.ProseMirror-hideselection .dou-editor-table *::selection{background:0 0}.ProseMirror-hideselection .dou-editor-table{caret-color:transparent}.dou-editor-table .selectedCell:after{content:"";position:absolute;background-color:var(--dou-editor-selected);pointer-events:none;inset:0}.dou-editor-table .column-resize-handle{position:absolute;z-index:1;background-color:var(--dou-color-focus);pointer-events:none;width:3px;top:-1px;bottom:-1px}.dou-editor-table .column-resize-handle:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:-2px}.dou-editor-table .column-resize-handle:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:-2px}.dou-editor-table .column-resize-handle:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:-2px}.dou-editor-table .column-resize-handle:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:-2px}.dou-editor-table .column-resize-handle:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:-2px}.dou-editor-table .column-resize-handle:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:-2px}.dou-editor__surface.resize-cursor{cursor:col-resize}.dou-editor-table__handle{position:absolute;z-index:2;display:inline-flex;border:1px solid var(--dou-color-border);background-color:var(--dou-color-bg-surface);box-shadow:var(--dou-shadow-sm);color:var(--dou-color-text-tertiary);cursor:pointer;transition-property:background-color,color;transition-duration:var(--dou-motion-duration-fast);transition-timing-function:var(--dou-motion-easing);touch-action:none;border-radius:4px;justify-content:center;align-items: center;margin:0;padding:0;transform:translate(-50%,-50%)}.dou-editor-table__handle.is-column{width:24px;height:14px}.dou-editor-table__handle.is-row{width:14px;height:24px}.dou-editor-table__handle:before{content:"";position:absolute;inset:-4px}@media (pointer:coarse){.dou-editor-table__handle.is-column{width:32px;height:18px}.dou-editor-table__handle.is-row{width:18px;height:32px}.dou-editor-table__handle:before{inset:-10px}}.dou-editor-table__handle svg{width:14px;height:14px}.dou-editor-table__handle:hover{background-color:color-mix(in oklab,var(--dou-color-text)calc(6% + 6%*var(--dou-scheme-dark)),var(--dou-color-bg-surface));color:var(--dou-color-text)}.dou-editor-table__handle.is-active{background-color:color-mix(in oklab,var(--dou-color-text)calc(6% + 6%*var(--dou-scheme-dark)),var(--dou-color-bg-surface));color:var(--dou-color-text)}.dou-editor-table__add{position:absolute;z-index:1;display:inline-flex;box-sizing:border-box;color:var(--dou-color-text-tertiary);cursor:pointer;opacity:.6;transition-property:background-color,color,opacity;transition-duration:var(--dou-motion-duration-fast);transition-timing-function:var(--dou-motion-easing);background-color:#0000;border:none;border-radius:4px;justify-content:center;align-items: center;margin:0;padding:0}.dou-editor-table__add.is-column{width:16px;margin-inline-start:4px}.dou-editor-table__add.is-row{height:16px;margin-block-start:4px}.dou-editor-table__add svg{width:14px;height:14px}.dou-editor-table__add:hover{background-color:var(--dou-editor-control-hover);color:var(--dou-color-text);opacity:1}@media (pointer:coarse){.dou-editor-table__add{opacity:1}.dou-editor-table__add.is-column{width:24px}.dou-editor-table__add.is-row{height:24px}.dou-editor-table .column-resize-handle{display:none}}.dou-editor-table__ghost{overflow:hidden;padding:0}.dou-editor-table__ghost .dou-editor-table{width:auto;margin:0}.dou-editor-table__cells{position:absolute;z-index:3;display:flex;border:1px solid var(--dou-color-border);border-radius:calc(var(--dou-radius-control) + 2px);background-color:color-mix(in oklab,var(--dou-color-text)calc(4%*var(--dou-scheme-dark)),var(--dou-color-bg-surface));box-shadow:var(--dou-shadow-md);font-size:var(--dou-font-size-sm);white-space:nowrap;gap:2px;padding:3px;line-height:normal;transform:translate(-50%,calc(-100% - 6px))}.dou-editor-table__cells.is-below{transform:translate(-50%,6px)}.dou-editor-table__cells-button{display:inline-flex;border-radius:var(--dou-radius-control);color:var(--dou-color-text);font:inherit;cursor:pointer;background:0 0;border:none;align-items: center;gap:4px;height:26px;margin:0;padding-inline-start:8px;padding-inline-end:8px}.dou-editor-table__cells-button svg{color:var(--dou-color-text-secondary);width:14px;height:14px}.dou-editor-table__cells-button:hover:not(:disabled){background-color:var(--dou-editor-control-hover)}.dou-editor-table__cells-button:disabled{color:var(--dou-color-text-tertiary);cursor:default}.dou-editor-bubble{border:1px solid var(--dou-color-border);border-radius:calc(var(--dou-radius-control) + 4px);background-color:color-mix(in oklab,var(--dou-color-text)calc(4%*var(--dou-scheme-dark)),var(--dou-color-bg-surface));box-shadow:var(--dou-shadow-md);color:var(--dou-color-text);font-family:var(--dou-font-family);font-size:var(--dou-font-size-md);padding:4px;line-height:normal}.dou-editor-bubble__type{gap:4px}.dou-editor-bubble__type svg{color:var(--dou-color-text-tertiary)}.dou-editor-bubble__link{display:flex;align-items: center;gap:4px}.dou-editor-bubble__link>.dou-input{width:240px}.dou-editor__content--image{padding-block-start:6px;padding-block-end:6px}.dou-editor-image__figure{width:-moz-fit-content;width:fit-content;min-width:min(100%,240px);max-width:100%;margin:0 auto}.dou-editor-image__frame{position:relative;border-radius:var(--dou-radius-control);width:-moz-fit-content;width:fit-content;max-width:100%;margin:0 auto;line-height:0}.dou-editor-image__img{display:block;border-radius:inherit;outline:1px solid color-mix(in oklab,var(--dou-color-text)8%,transparent);outline-offset:-1px;max-width:100%;height:auto}.dou-editor-image__figure.is-sized .dou-editor-image__frame,.dou-editor-image__figure.is-sized .dou-editor-image__img{width:100%}.dou-editor-image.is-selected .dou-editor-image__img{outline:2px solid var(--dou-color-focus);outline-offset:2px}.dou-editor-image__status{position:absolute;display:flex;border-radius:inherit;background-color:color-mix(in oklab,var(--dou-color-bg-surface)72%,transparent);color:var(--dou-color-text-secondary);font-size:var(--dou-font-size-md);justify-content:center;align-items: center;gap:8px;line-height:normal;inset:0}.dou-editor-image__status.is-failed{color:var(--dou-color-danger-text)}.dou-editor-image__handle{position:absolute;border:1px solid color-mix(in oklab,var(--dou-color-bg-surface)70%,transparent);border-radius:var(--dou-radius-full);background-color:color-mix(in oklab,var(--dou-color-text)55%,transparent);cursor:ew-resize;opacity:0;transition:opacity var(--dou-motion-duration-fast)var(--dou-motion-easing);touch-action:none;width:6px;height:40px;max-height:50%;top:50%;transform:translateY(-50%)}.dou-editor-image__handle:before{position:absolute;content:"";inset:-4px -9px}.dou-editor-image__handle.is-left{left:8px}.dou-editor-image__handle.is-right{right:8px}.dou-editor-image__frame:hover .dou-editor-image__handle,.dou-editor-image.is-selected .dou-editor-image__handle{opacity:1}.dou-editor-image__caption{color:var(--dou-color-text-secondary);font-size:var(--dou-font-size-md);text-align:center;margin-top:6px;line-height:1.5}.dou-editor-image__caption-input{color:inherit;font:inherit;font-size:max(var(--dou-font-size-input-min,0px),1em);text-align:inherit;outline:none;background:0 0;border:none;width:100%;padding:0}.dou-editor-image__caption-input::placeholder{color:var(--dou-color-text-tertiary)}.dou-editor-image__caption-input:placeholder-shown:not(:focus){opacity:0}.dou-editor-image:hover .dou-editor-image__caption-input,.dou-editor-image.is-selected .dou-editor-image__caption-input,.dou-editor-embed:hover .dou-editor-image__caption-input,.dou-editor-embed.is-selected .dou-editor-image__caption-input{opacity:1}.dou-editor-image__empty{display:flex;border:1px solid var(--dou-color-border);border-radius:var(--dou-radius-control);background-color:color-mix(in oklab,var(--dou-color-text)3%,var(--dou-color-bg-surface));color:var(--dou-color-text-secondary);font-size:var(--dou-font-size-md);flex-wrap:wrap;align-items: center;gap:8px 12px;padding:12px 14px;line-height:normal}.dou-editor-image.is-selected .dou-editor-image__empty,.dou-editor-attachment.is-selected .dou-editor-image__empty,.dou-editor-embed.is-selected .dou-editor-image__empty{outline:2px solid var(--dou-color-focus);outline-offset:2px}.dou-editor-image__empty-icon{color:var(--dou-color-text-tertiary);flex:none;width:18px;height:18px}.dou-editor-image__empty-text{flex:auto}.dou-editor-image__actions,.dou-editor-image__embed{display:flex;gap:8px}.dou-editor-image__embed{flex:240px}.dou-editor-image__embed>.dou-input{flex:auto}.dou-editor__content--attachment,.dou-editor__content--embed{padding-block-start:4px;padding-block-end:4px}.dou-editor-attachment__card{display:flex;border:1px solid var(--dou-color-border);border-radius:var(--dou-radius-control);background-color:var(--dou-color-bg-surface);box-shadow:var(--dou-shadow-sm);align-items: center;gap:12px;padding:10px 10px 10px 14px;line-height:normal}.dou-editor-attachment.is-selected .dou-editor-attachment__card{outline:2px solid var(--dou-color-focus);outline-offset:2px}.dou-editor-attachment__icon{color:var(--dou-color-text-secondary);flex:none;width:20px;height:20px}.dou-editor-attachment__text{display:flex;flex-direction:column;flex:auto;gap:2px;min-width:0}.dou-editor-attachment__name{overflow-x:clip;color:var(--dou-color-text);font-size:var(--dou-font-size-md);text-overflow:ellipsis;white-space:nowrap;font-weight:500}.dou-editor-attachment__meta{display:flex;color:var(--dou-color-text-tertiary);font-size:var(--dou-font-size-sm);font-variant-numeric:tabular-nums;align-items: center;gap:6px}.dou-editor-attachment__download{display:inline-flex;border-radius:var(--dou-radius-control);color:var(--dou-color-text-secondary);transition:background-color var(--dou-motion-duration-fast)var(--dou-motion-easing);flex:none;justify-content:center;align-items: center;width:32px;height:32px}.dou-editor-attachment__download>svg{width:16px;height:16px}.dou-editor-attachment__download:hover{background-color:color-mix(in oklab,var(--dou-color-text)6%,transparent);color:var(--dou-color-text)}.dou-editor-attachment__download:focus-visible{outline:2px solid var(--dou-color-focus);outline-offset:1px}@media (pointer:coarse){.dou-editor-attachment__download{width:40px;height:40px}}.dou-editor-embed__figure{margin:0}.dou-editor-embed__frame{overflow:clip;border-radius:var(--dou-radius-control);background-color:color-mix(in oklab,var(--dou-color-text)4%,var(--dou-color-bg-surface));outline:1px solid color-mix(in oklab,var(--dou-color-text)8%,transparent);outline-offset:-1px;width:100%;line-height:0}.dou-editor-embed__frame>iframe{display:block;border:0;width:100%;height:100%}.dou-editor-embed__frame>video{display:block;border:0;width:100%;height:100%}.dou-editor-embed__frame.is-audio{overflow:visible;outline:none;background:0 0}.dou-editor-embed__frame.is-audio>audio{display:block;width:100%}.dou-editor-embed.is-selected .dou-editor-embed__frame{outline:2px solid var(--dou-color-focus);outline-offset:2px}.dou-editor.is-dragging .dou-editor-embed__frame{pointer-events:none}.dou-editor-embed__caption{display:grid;grid-template-columns:var(--dou-control-height-sm)1fr var(--dou-control-height-sm);align-items: center;gap:4px}.dou-editor-embed__caption>.dou-editor-image__caption-input{grid-column:2}.dou-editor-embed__edit{grid-column:3;opacity:0;transition:opacity var(--dou-motion-duration-fast)var(--dou-motion-easing)}.dou-editor-embed:hover .dou-editor-embed__edit,.dou-editor-embed.is-selected .dou-editor-embed__edit{opacity:1}.dou-editor-embed__edit:focus-visible{opacity:1}@media (pointer:coarse){.dou-editor-embed__edit{opacity:1}}.dou-editor-board{position:relative;overflow:hidden;border:1px solid var(--dou-color-border);border-radius:var(--dou-radius-control);background-color:var(--dou-color-bg-surface);touch-action:pan-y}.dou-editor-board.is-selected{outline:2px solid var(--dou-color-focus);outline-offset:2px}.dou-editor__block.is-selected>.dou-editor__content>.dou-editor-board:after{position:absolute;background-color:var(--dou-editor-selected);content:"";pointer-events:none;inset:0}.dou-editor-board__preview{position:absolute;pointer-events:none;inset:0}.dou-editor-board__preview .dou-flow-editor{background:0 0;width:100%;height:100%}.dou-editor-board__empty{display:flex;background-color:color-mix(in oklab,var(--dou-color-text)3%,var(--dou-color-bg-surface));color:var(--dou-color-text-secondary);font-size:var(--dou-font-size-md);flex-direction:column;justify-content:center;align-items: center;gap:12px;height:100%}.dou-editor-board__actions{position:absolute;display:flex;opacity:0;transition:opacity var(--dou-motion-duration-fast)var(--dou-motion-easing);gap:4px;top:8px;right:8px}.dou-editor-board:hover .dou-editor-board__actions,.dou-editor-board.is-selected .dou-editor-board__actions,.dou-editor-board__actions:focus-within{opacity:1}@media (pointer:coarse){.dou-editor-board__actions{opacity:1}}.dou-editor-board__resize{position:absolute;cursor:ns-resize;touch-action:none;height:10px;bottom:0;left:0;right:0}.dou-editor-board__resize:after{position:absolute;background-color:var(--dou-color-border-strong);content:"";opacity:0;transition:opacity var(--dou-motion-duration-fast)var(--dou-motion-easing);border-radius:2px;width:40px;height:4px;bottom:3px;left:50%;transform:translate(-50%)}.dou-editor-board__resize:focus-visible{outline:none}.dou-editor-board__resize:focus-visible:after{background-color:var(--dou-color-focus)}.dou-editor-board:hover .dou-editor-board__resize:after,.dou-editor-board.is-selected .dou-editor-board__resize:after{opacity:1}.dou-editor-board__resize:focus-visible:after{opacity:1}@media (pointer:coarse){.dou-editor-board__resize{width:80px;height:40px;left:50%;right:auto;transform:translate(-50%)}.dou-editor-board:not(.is-selected) .dou-editor-board__resize{pointer-events:none}.dou-editor-board.is-selected .dou-editor-board__resize:after{opacity:1}}.dou-editor-board__editor{height:100%}.dou-editor-board__editor>.dou-flow-editor{width:100%;height:100%}.dou-editor-embed__link{overflow-x:clip;color:var(--dou-color-text-tertiary);font-size:var(--dou-font-size-sm);text-overflow:ellipsis;white-space:nowrap;max-width:100%}.dou-editor-embed__error{color:var(--dou-color-danger-text);font-size:var(--dou-font-size-sm);flex-basis:100%}.dou-editor__cursor{position:relative;border-inline-start:2px solid var(--dou-editor-cursor-color);pointer-events:none;word-break:normal;margin-inline-start:-1px;margin-inline-end:-1px}.dou-editor__cursor-label{position:absolute;background-color:var(--dou-editor-cursor-color);color:oklch(from var(--dou-editor-cursor-color)clamp(.2,(.66 - l)*100,.99)0 0);font-family:var(--dou-font-family);font-size:var(--dou-font-size-sm);white-space:nowrap;user-select:none;border-radius:4px 4px 4px 0;padding:0 6px;font-style:normal;font-weight:400;line-height:18px;bottom:100%;left:-2px}.dou-editor__remote-selection{background-color:color-mix(in oklab,var(--dou-editor-cursor-color)20%,transparent)}.dou-editor,.dou-editor-menu,.dou-editor-palette{--dou-editor-color-gray:color-mix(in srgb,#a3a7ad calc(100%*var(--dou-scheme-dark)),#6b6f76);--dou-editor-highlight-gray:color-mix(in srgb,#3a3b3d calc(100%*var(--dou-scheme-dark)),#ececeb);--dou-editor-color-red:color-mix(in srgb,#e58a84 calc(100%*var(--dou-scheme-dark)),#b4453f);--dou-editor-highlight-red:color-mix(in srgb,#4a2826 calc(100%*var(--dou-scheme-dark)),#f8e3e1);--dou-editor-color-orange:color-mix(in srgb,#e0975f calc(100%*var(--dou-scheme-dark)),#b0622a);--dou-editor-highlight-orange:color-mix(in srgb,#4a3222 calc(100%*var(--dou-scheme-dark)),#f9e7d8);--dou-editor-color-yellow:color-mix(in srgb,#d4b44f calc(100%*var(--dou-scheme-dark)),#94761b);--dou-editor-highlight-yellow:color-mix(in srgb,#4a4020 calc(100%*var(--dou-scheme-dark)),#f8efc8);--dou-editor-color-green:color-mix(in srgb,#7fbf8c calc(100%*var(--dou-scheme-dark)),#3f7f4f);--dou-editor-highlight-green:color-mix(in srgb,#253d2b calc(100%*var(--dou-scheme-dark)),#e1f0e2);--dou-editor-color-blue:color-mix(in srgb,#7fa7d9 calc(100%*var(--dou-scheme-dark)),#3b6ea8);--dou-editor-highlight-blue:color-mix(in srgb,#23334a calc(100%*var(--dou-scheme-dark)),#e1ebf7);--dou-editor-color-purple:color-mix(in srgb,#b69ad6 calc(100%*var(--dou-scheme-dark)),#7a52a3);--dou-editor-highlight-purple:color-mix(in srgb,#352a47 calc(100%*var(--dou-scheme-dark)),#ece4f5);--dou-editor-color-pink:color-mix(in srgb,#dd8ab4 calc(100%*var(--dou-scheme-dark)),#a8467a);--dou-editor-highlight-pink:color-mix(in srgb,#46283a calc(100%*var(--dou-scheme-dark)),#f6e2ec)}.dou-editor__color,.dou-editor-palette span[data-color]{color:var(--dou-editor-text-color,inherit)}.dou-editor__highlight,.dou-editor-palette mark[data-color]{background-color:var(--dou-editor-mark-color,var(--dou-editor-highlight-yellow));color:inherit;box-decoration-break:clone;border-radius:2px}.dou-editor__color[data-color=gray],.dou-editor-palette span[data-color=gray],.dou-editor-colors__swatch[data-color=gray]{--dou-editor-text-color:var(--dou-editor-color-gray)}.dou-editor__highlight[data-color=gray],.dou-editor-palette mark[data-color=gray],.dou-editor-colors__swatch[data-highlight=gray]{--dou-editor-mark-color:var(--dou-editor-highlight-gray)}.dou-editor__color[data-color=red],.dou-editor-palette span[data-color=red],.dou-editor-colors__swatch[data-color=red]{--dou-editor-text-color:var(--dou-editor-color-red)}.dou-editor__highlight[data-color=red],.dou-editor-palette mark[data-color=red],.dou-editor-colors__swatch[data-highlight=red]{--dou-editor-mark-color:var(--dou-editor-highlight-red)}.dou-editor__color[data-color=orange],.dou-editor-palette span[data-color=orange],.dou-editor-colors__swatch[data-color=orange]{--dou-editor-text-color:var(--dou-editor-color-orange)}.dou-editor__highlight[data-color=orange],.dou-editor-palette mark[data-color=orange],.dou-editor-colors__swatch[data-highlight=orange]{--dou-editor-mark-color:var(--dou-editor-highlight-orange)}.dou-editor__color[data-color=yellow],.dou-editor-palette span[data-color=yellow],.dou-editor-colors__swatch[data-color=yellow]{--dou-editor-text-color:var(--dou-editor-color-yellow)}.dou-editor__highlight[data-color=yellow],.dou-editor-palette mark[data-color=yellow],.dou-editor-colors__swatch[data-highlight=yellow]{--dou-editor-mark-color:var(--dou-editor-highlight-yellow)}.dou-editor__color[data-color=green],.dou-editor-palette span[data-color=green],.dou-editor-colors__swatch[data-color=green]{--dou-editor-text-color:var(--dou-editor-color-green)}.dou-editor__highlight[data-color=green],.dou-editor-palette mark[data-color=green],.dou-editor-colors__swatch[data-highlight=green]{--dou-editor-mark-color:var(--dou-editor-highlight-green)}.dou-editor__color[data-color=blue],.dou-editor-palette span[data-color=blue],.dou-editor-colors__swatch[data-color=blue]{--dou-editor-text-color:var(--dou-editor-color-blue)}.dou-editor__highlight[data-color=blue],.dou-editor-palette mark[data-color=blue],.dou-editor-colors__swatch[data-highlight=blue]{--dou-editor-mark-color:var(--dou-editor-highlight-blue)}.dou-editor__color[data-color=purple],.dou-editor-palette span[data-color=purple],.dou-editor-colors__swatch[data-color=purple]{--dou-editor-text-color:var(--dou-editor-color-purple)}.dou-editor__highlight[data-color=purple],.dou-editor-palette mark[data-color=purple],.dou-editor-colors__swatch[data-highlight=purple]{--dou-editor-mark-color:var(--dou-editor-highlight-purple)}.dou-editor__color[data-color=pink],.dou-editor-palette span[data-color=pink],.dou-editor-colors__swatch[data-color=pink]{--dou-editor-text-color:var(--dou-editor-color-pink)}.dou-editor__highlight[data-color=pink],.dou-editor-palette mark[data-color=pink],.dou-editor-colors__swatch[data-highlight=pink]{--dou-editor-mark-color:var(--dou-editor-highlight-pink)}.dou-editor-colors__swatch{display:inline-flex;box-sizing:border-box;border:1px solid var(--dou-color-border);border-radius:calc(var(--dou-radius-control) - 2px);background-color:var(--dou-editor-mark-color,transparent);color:var(--dou-editor-text-color,var(--dou-color-text));font-size:var(--dou-font-size-sm);font-weight:var(--dou-font-weight-bold);justify-content:center;align-items: center;width:20px;height:20px;line-height:1}.dou-dropdown__item:focus .dou-editor-colors__swatch{border-color:var(--dou-color-border-strong)}.dou-editor-colors__button:-webkit-any(:hover,[aria-expanded=true]) .dou-editor-colors__swatch{border-color:var(--dou-color-border-strong)}.dou-editor-colors__button:-moz-any(:hover,[aria-expanded=true]) .dou-editor-colors__swatch{border-color:var(--dou-color-border-strong)}.dou-editor-colors__button:is(:hover,[aria-expanded=true]) .dou-editor-colors__swatch{border-color:var(--dou-color-border-strong)}.dou-editor-colors__letter{display:block;text-box:trim-both cap alphabetic}.dou-editor__search{position:sticky;z-index:5;display:flex;container-type:inline-size;pointer-events:none;justify-content:flex-end;align-items: flex-start;height:0;top:8px}.dou-editor__search>*{pointer-events:auto}.dou-editor__match{background-color:var(--dou-editor-match);border-radius:2px}.dou-editor__match.is-current{box-shadow:0 0 0 1px var(--dou-editor-match-current)}}
|
|
1
|
+
@layer dou.components{.dou-editor{--dou-editor-font-size:var(--dou-font-size-lg);--dou-editor-line-height:1.7;--dou-editor-gutter:0px;--dou-editor-indent:24px;--dou-editor-column-gap:48px;--dou-editor-block-gap:4px;--dou-editor-list-gap:4px;--dou-editor-reading-width:none;--dou-editor-selected:color-mix(in oklab,var(--dou-color-focus)calc(12% + 10%*var(--dou-scheme-dark)),transparent);--dou-editor-scroll-shadow:color-mix(in oklab,var(--dou-color-text)14%,transparent);--dou-editor-control-hover:color-mix(in oklab,var(--dou-color-text)6%,transparent);--dou-editor-match:color-mix(in oklab,var(--dou-color-warning)22%,transparent);--dou-editor-match-current:color-mix(in oklab,var(--dou-color-warning-text)80%,transparent);--dou-editor-comment-bg:color-mix(in oklab,var(--dou-color-warning)18%,transparent);--dou-editor-comment-bg-active:color-mix(in oklab,var(--dou-color-warning)36%,transparent);--dou-editor-comment-line:color-mix(in oklab,var(--dou-color-warning)72%,transparent);position:relative;box-sizing:border-box;color:var(--dou-color-text);font-family:var(--dou-font-family);font-size:max(var(--dou-font-size-input-min,0px),var(--dou-editor-font-size));line-height:var(--dou-editor-line-height);overflow-wrap:break-word;width:100%;min-width:0;padding-inline-start:var(--dou-editor-gutter)}.dou-editor.is-comparing{--dou-editor-gutter:16px}@media (pointer:coarse){.dou-editor{--dou-editor-column-gap:32px}}.dou-editor.is-dragging{cursor:grabbing}.dou-editor.is-dragging *{cursor:grabbing}.dou-editor__live{position:absolute;overflow:hidden;clip-path:inset(50%);white-space:nowrap;width:1px;height:1px}.dou-editor__mount>.dou-editor__surface,.dou-editor__search{padding-inline-start:max(0px,(100% - var(--dou-editor-reading-width) - var(--dou-editor-gutter))/2);padding-inline-end:max(0px,min(100% - var(--dou-editor-reading-width),(100% - var(--dou-editor-reading-width) + var(--dou-editor-gutter))/2))}.dou-editor__surface{min-height:calc(var(--dou-editor-line-height)*1em);outline:none;white-space:pre-wrap;word-wrap:break-word;font-variant-ligatures:none}.dou-editor__block{position:relative;border-radius:4px}.dou-editor__group{padding-inline-start:var(--dou-editor-indent)}.dou-editor__content{position:relative;padding-block:calc(var(--dou-editor-block-gap)/2);font-size:1em;font-weight:inherit;line-height:var(--dou-editor-line-height);margin:0}.dou-editor__block>.dou-editor__content.is-list{--dou-editor-list-top:calc(var(--dou-editor-list-gap)/2);padding-block:var(--dou-editor-list-top)calc(var(--dou-editor-list-gap)/2)}.dou-editor__block>.dou-editor__content.is-list-start{--dou-editor-list-top:calc(max(var(--dou-editor-block-gap),var(--dou-editor-list-gap))/2);margin-top:min(0px,(var(--dou-editor-block-gap) - var(--dou-editor-list-gap))/2)}.dou-editor__block>.dou-editor__content.is-list-start.is-list-after{margin-top:min(0px,var(--dou-editor-block-gap) - var(--dou-editor-list-gap))}.dou-editor__block>.dou-editor__content.is-list-end{padding-bottom:calc(max(var(--dou-editor-block-gap),var(--dou-editor-list-gap))/2);margin-bottom:min(0px,(var(--dou-editor-block-gap) - var(--dou-editor-list-gap))/2)}.dou-editor__group.is-list-end{padding-bottom:max(0px,(var(--dou-editor-block-gap) - var(--dou-editor-list-gap))/2);margin-bottom:min(0px,(var(--dou-editor-block-gap) - var(--dou-editor-list-gap))/2)}.dou-editor__surface>.dou-editor__block:first-child>.dou-editor__content.is-list-start{margin-top:0}.dou-editor__surface>.dou-editor__block:last-child>.is-list-end{margin-bottom:0}.dou-editor__content--heading{--dou-editor-line-height:1.4;font-weight:var(--dou-font-weight-bold);letter-spacing:-.01em;margin-top:.6em}.dou-editor__content--heading:-webkit-any(h1){margin-top:.8em;font-size:1.75em}.dou-editor__content--heading:-moz-any(h1){margin-top:.8em;font-size:1.75em}.dou-editor__content--heading:is(h1){margin-top:.8em;font-size:1.75em}.dou-editor__content--heading:-webkit-any(h2){font-size:1.375em}.dou-editor__content--heading:-moz-any(h2){font-size:1.375em}.dou-editor__content--heading:is(h2){font-size:1.375em}.dou-editor__content--heading:-webkit-any(h3){font-size:1.125em}.dou-editor__content--heading:-moz-any(h3){font-size:1.125em}.dou-editor__content--heading:is(h3){font-size:1.125em}.dou-editor__surface>.dou-editor__block:first-child>.dou-editor__content--heading{margin-top:0}.dou-editor__content--bulletItem,.dou-editor__content--numberedItem{padding-inline-start:var(--dou-editor-indent)}:is(.dou-editor__content--bulletItem,.dou-editor__content--numberedItem):before{position:absolute;width:var(--dou-editor-indent)}:is(.dou-editor__content--bulletItem,.dou-editor__content--numberedItem):not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:0}:is(.dou-editor__content--bulletItem,.dou-editor__content--numberedItem):not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:0}:is(.dou-editor__content--bulletItem,.dou-editor__content--numberedItem):not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:0}:is(.dou-editor__content--bulletItem,.dou-editor__content--numberedItem):-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:0}:is(.dou-editor__content--bulletItem,.dou-editor__content--numberedItem):-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:0}:is(.dou-editor__content--bulletItem,.dou-editor__content--numberedItem):is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:0}.dou-editor__content--bulletItem:before{content:"";top:calc(var(--dou-editor-list-top) + var(--dou-editor-line-height)*.5em - 3px);box-sizing:border-box;color:var(--dou-color-text-secondary);background-color:currentColor;border-radius:50%;width:6px;height:6px}.dou-editor__content--bulletItem:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:7px}.dou-editor__content--bulletItem:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:7px}.dou-editor__content--bulletItem:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:7px}.dou-editor__content--bulletItem:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:7px}.dou-editor__content--bulletItem:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:7px}.dou-editor__content--bulletItem:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:7px}.dou-editor__group .dou-editor__content--bulletItem:before{background-color:#0000;border:1.5px solid}.dou-editor__content--numberedItem:before{content:attr(data-index)".";top:var(--dou-editor-list-top);box-sizing:border-box;color:var(--dou-color-text-secondary);font-variant-numeric:tabular-nums;text-align:end;padding-inline-end:6px}.dou-editor__content--checkItem{display:flex;gap:8px}.dou-editor__check{display:inline-flex;height:calc(var(--dou-editor-line-height)*1em);user-select:none;flex:none;align-items: center}.dou-editor__checkbox{display:inline-flex;box-sizing:border-box;border:1px solid var(--dou-color-border-strong);border-radius:calc(var(--dou-radius-control) - 2px);background-color:var(--dou-color-bg-surface);box-shadow:var(--dou-shadow-sm);color:var(--dou-color-neutral-on);cursor:pointer;transition-property:background-color,border-color,box-shadow;transition-duration:var(--dou-motion-duration-fast);transition-timing-function:var(--dou-motion-easing);justify-content:center;align-items: center;width:16px;height:16px;margin:0;padding:0}.dou-editor__checkbox>svg{opacity:0;transition-property:opacity,transform;transition-duration:var(--dou-motion-duration-fast);transition-timing-function:var(--dou-motion-easing);width:100%;height:100%;transform:scale(.6)}.dou-editor__checkbox:hover:not(:disabled){border-color:color-mix(in oklab,var(--dou-color-neutral)45%,var(--dou-color-border-strong))}.dou-editor__checkbox:focus-visible{outline:2px solid var(--dou-color-focus);outline-offset:2px}.dou-editor__checkbox:disabled{cursor:default}.dou-editor__content--checkItem[data-checked=true] .dou-editor__checkbox{border-color:color-mix(in oklab,var(--dou-color-neutral)90%,var(--dou-color-edge));background-color:var(--dou-color-neutral);box-shadow:var(--dou-shadow-highlight),0 1px 2px color-mix(in oklab,var(--dou-color-neutral)24%,transparent)}.dou-editor__content--checkItem[data-checked=true] .dou-editor__checkbox>svg{opacity:1;transform:none}.dou-editor__content--checkItem[data-checked=true] .dou-editor__text{color:var(--dou-color-text-tertiary);text-decoration:line-through;text-decoration-color:color-mix(in oklab,currentColor 60%,transparent)}.dou-editor__text{flex:auto;min-width:0}.dou-editor__content--quote{box-shadow:inset 2px 0 0 var(--dou-color-border-strong);color:var(--dou-color-text-secondary);padding-inline-start:14px}.dou-editor__content--codeBlock{--dou-editor-line-height:1.7;margin-block:calc(var(--dou-editor-block-gap)/2 + 2px);overflow-x:auto;border:1px solid var(--dou-color-border);border-radius:var(--dou-radius-container);background-color:var(--dou-color-bg-muted);font-family:var(--dou-font-family-mono);font-size:var(--dou-font-size-sm);tab-size:2;white-space:pre-wrap;padding:12px 16px}.dou-editor__content--codeBlock>code{font:inherit}.dou-editor-toggle{display:flex;gap:4px}.dou-editor-toggle__control{display:inline-flex;height:calc(var(--dou-editor-line-height)*1em);user-select:none;flex:none;align-items: center;margin-inline-start:-2px}.dou-editor-toggle__button{display:inline-flex;border-radius:var(--dou-radius-control);color:var(--dou-color-text-tertiary);cursor:pointer;background:0 0;border:none;justify-content:center;align-items: center;width:22px;height:22px;padding:0}.dou-editor-toggle__button>svg{transition:rotate var(--dou-motion-duration-fast)var(--dou-motion-easing);width:16px;height:16px}.dou-editor-toggle__button.is-open>svg{rotate:90deg}.dou-editor-toggle__button:hover{background-color:color-mix(in oklab,var(--dou-color-text)6%,transparent);color:var(--dou-color-text)}.dou-editor-toggle__button:focus-visible{outline:2px solid var(--dou-color-focus);outline-offset:-2px}.dou-editor__block.is-collapsed>.dou-editor__group{display:none}.dou-editor-callout{--dou-editor-callout-tone:var(--dou-color-text-secondary);display:flex;border:1px solid color-mix(in oklab,var(--dou-editor-callout-tone)22%,var(--dou-color-border));border-radius:var(--dou-radius-container);background-color:color-mix(in oklab,var(--dou-editor-callout-tone)6%,var(--dou-color-bg-surface));gap:8px;margin-block-start:2px;margin-block-end:2px;padding:8px 12px}.dou-editor-callout.is-tip{--dou-editor-callout-tone:var(--dou-color-success)}.dou-editor-callout.is-warning{--dou-editor-callout-tone:var(--dou-color-warning)}.dou-editor-callout.is-danger{--dou-editor-callout-tone:var(--dou-color-danger)}.dou-editor-callout__control{display:inline-flex;height:calc(var(--dou-editor-line-height)*1em);user-select:none;flex:none;align-items: center}.dou-editor-callout__icon{display:inline-flex;border-radius:var(--dou-radius-control);color:var(--dou-editor-callout-tone);background:0 0;border:none;justify-content:center;align-items: center;width:24px;height:24px;padding:0}.dou-editor-callout__icon>svg{width:16px;height:16px}button.dou-editor-callout__icon{cursor:pointer}button.dou-editor-callout__icon:hover{background-color:color-mix(in oklab,var(--dou-editor-callout-tone)12%,transparent)}button.dou-editor-callout__icon[aria-expanded=true]{background-color:color-mix(in oklab,var(--dou-editor-callout-tone)12%,transparent)}button.dou-editor-callout__icon:focus-visible{outline:2px solid var(--dou-color-focus);outline-offset:-2px}.dou-editor__content--codeBlock.dou-editor__content--custom{position:relative}.dou-editor-code__pre{font:inherit;white-space:inherit;margin:0}.dou-editor-code__pre>code{display:block;font:inherit}.dou-editor-code__bar{position:absolute;display:flex;border-radius:var(--dou-radius-control);background-color:var(--dou-color-bg-muted);font-family:var(--dou-font-family);opacity:0;transition:opacity var(--dou-motion-duration-fast)var(--dou-motion-easing);align-items: center;gap:2px;top:6px;right:6px}.dou-editor__content--codeBlock:hover>.dou-editor-code__bar,.dou-editor-code__bar:focus-within{opacity:1}.dou-editor-code__bar:has([aria-expanded=true]){opacity:1}.dou-editor-code__language{display:inline-flex;border-radius:var(--dou-radius-control);color:var(--dou-color-text-secondary);font:inherit;font-size:var(--dou-font-size-sm);cursor:pointer;background:0 0;border:none;align-items: center;gap:2px;height:24px;padding:0 4px 0 8px}.dou-editor-code__language>svg{width:14px;height:14px}.dou-editor-code__language:hover{background-color:color-mix(in oklab,var(--dou-color-text)6%,transparent);color:var(--dou-color-text)}.dou-editor-code__language[aria-expanded=true]{background-color:color-mix(in oklab,var(--dou-color-text)6%,transparent);color:var(--dou-color-text)}.dou-editor-code__language:focus-visible{outline:2px solid var(--dou-color-focus);outline-offset:-2px}.dou-editor-code__language.is-static{cursor:default;padding-inline-start:8px;padding-inline-end:8px}.dou-editor-code-editor.dou-editor__content--codeBlock{overflow:visible;white-space:normal;transition:border-color var(--dou-motion-duration-fast)var(--dou-motion-easing);padding:0}.dou-editor-code-editor.dou-editor__content--codeBlock:has(>.dou-code-editor.is-focused){border-color:color-mix(in oklab,var(--dou-color-focus)70%,var(--dou-color-text))}.dou-editor-code-editor.dou-editor__content--codeBlock>.dou-editor-code__bar{position:relative;z-index:3;opacity:1;background:0 0;justify-content:flex-end;padding:4px 6px 0 8px;top:auto;right:auto}.dou-editor-code-editor.dou-editor__content--codeBlock>.dou-editor-code__bar>:not(:last-child){margin-inline-end:auto}@media (pointer:coarse){.dou-editor-code__language:not(.is-static){position:relative}.dou-editor-code__language:not(.is-static):after{position:absolute;content:"";inset:min(0px,50% - 20px) 0}}.dou-editor-code__editor.dou-code-editor:not(.is-bordered){--dou-code-editor-bg:transparent;--dou-code-editor-gutter-bg:var(--dou-color-bg-muted);--dou-code-editor-padding-x:16px;--dou-code-editor-padding-y:8px;border-radius:inherit}.dou-editor__token{color:color-mix(in oklab,var(--shiki-dark,currentColor)calc(100%*var(--dou-scheme-dark)),var(--shiki-light,currentColor));font-style:var(--shiki-light-font-style,inherit);font-weight:var(--shiki-light-font-weight,inherit)}.dou-editor__content--divider{cursor:default;padding-block-start:12px;padding-block-end:12px}.dou-editor__content--divider>hr{background-color:var(--dou-color-border);border:none;height:1px;margin:0}.dou-editor__content--divider.ProseMirror-selectednode>hr{background-color:var(--dou-color-focus)}.dou-editor__surface strong{font-weight:var(--dou-font-weight-bold)}.dou-editor__surface u{text-underline-offset:.2em}.dou-editor__surface s u{text-decoration:underline line-through}.dou-editor__surface u s{text-decoration:underline line-through}.dou-editor__surface :not(pre)>code{background-color:var(--dou-color-bg-muted);box-shadow:inset 0 0 0 1px var(--dou-color-border-subtle);font-family:var(--dou-font-family-mono);border-radius:4px;padding:.1em .3em;font-size:.875em}.dou-editor__link{color:inherit;text-decoration:underline;text-decoration-color:var(--dou-color-border-strong);text-decoration-thickness:1px;text-underline-offset:.2em;transition:text-decoration-color var(--dou-motion-duration-fast)var(--dou-motion-easing)}.dou-editor__link:hover{text-decoration-color:currentColor}.dou-editor.is-readonly .dou-editor__link,.dou-editor.is-comparing .dou-editor__link{cursor:pointer}.dou-editor__comment{transition:background-color var(--dou-motion-duration-fast)var(--dou-motion-easing);border-bottom:2px solid #0000}.dou-editor__comment-pending{background-color:color-mix(in oklab,var(--dou-color-focus)16%,transparent)}.dou-editor-comment{box-sizing:border-box;max-height:min(var(--dou-floating-available,100vh),480px,calc(100vh - 32px));overflow-y:auto;overscroll-behavior:contain;border:1px solid var(--dou-color-border);border-radius:var(--dou-radius-container);background-color:color-mix(in oklab,var(--dou-color-text)calc(4%*var(--dou-scheme-dark)),var(--dou-color-bg-surface));box-shadow:var(--dou-shadow-md);font-family:var(--dou-font-family);width:min(340px,100vw - 32px);padding:12px;line-height:normal}.dou-editor__content.is-empty:after{content:attr(data-placeholder);position:absolute;top:calc(var(--dou-editor-block-gap)/2);color:var(--dou-color-text-tertiary);pointer-events:none;user-select:none;white-space:nowrap}.dou-editor__content.is-empty:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:0}.dou-editor__content.is-empty:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:0}.dou-editor__content.is-empty:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:0}.dou-editor__content.is-empty:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:0}.dou-editor__content.is-empty:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:0}.dou-editor__content.is-empty:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:0}.dou-editor__content.is-list.is-empty:after{top:var(--dou-editor-list-top)}.dou-editor__content--bulletItem.is-empty:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:var(--dou-editor-indent)}.dou-editor__content--bulletItem.is-empty:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:var(--dou-editor-indent)}.dou-editor__content--bulletItem.is-empty:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:var(--dou-editor-indent)}.dou-editor__content--numberedItem.is-empty:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:var(--dou-editor-indent)}.dou-editor__content--numberedItem.is-empty:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:var(--dou-editor-indent)}.dou-editor__content--numberedItem.is-empty:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:var(--dou-editor-indent)}.dou-editor__content--bulletItem.is-empty:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:var(--dou-editor-indent)}.dou-editor__content--bulletItem.is-empty:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:var(--dou-editor-indent)}.dou-editor__content--bulletItem.is-empty:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:var(--dou-editor-indent)}.dou-editor__content--numberedItem.is-empty:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:var(--dou-editor-indent)}.dou-editor__content--numberedItem.is-empty:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:var(--dou-editor-indent)}.dou-editor__content--numberedItem.is-empty:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:var(--dou-editor-indent)}.dou-editor__content--checkItem.is-empty:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:24px}.dou-editor__content--checkItem.is-empty:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:24px}.dou-editor__content--checkItem.is-empty:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:24px}.dou-editor__content--checkItem.is-empty:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:24px}.dou-editor__content--checkItem.is-empty:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:24px}.dou-editor__content--checkItem.is-empty:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:24px}.dou-editor__content--quote.is-empty:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:14px}.dou-editor__content--quote.is-empty:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:14px}.dou-editor__content--quote.is-empty:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:14px}.dou-editor__content--quote.is-empty:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:14px}.dou-editor__content--quote.is-empty:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:14px}.dou-editor__content--quote.is-empty:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:14px}.dou-editor__diff-added:before,.dou-editor__diff-changed:before,.dou-editor__diff-removed-block:before{position:absolute;content:"";border-radius:2px;width:3px;top:2px;bottom:2px}.dou-editor__diff-added:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:-12px}.dou-editor__diff-added:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:-12px}.dou-editor__diff-added:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:-12px}.dou-editor__diff-changed:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:-12px}.dou-editor__diff-changed:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:-12px}.dou-editor__diff-changed:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:-12px}.dou-editor__diff-removed-block:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:-12px}.dou-editor__diff-removed-block:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:-12px}.dou-editor__diff-removed-block:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:-12px}.dou-editor__diff-added:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:-12px}.dou-editor__diff-added:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:-12px}.dou-editor__diff-added:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:-12px}.dou-editor__diff-changed:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:-12px}.dou-editor__diff-changed:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:-12px}.dou-editor__diff-changed:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:-12px}.dou-editor__diff-removed-block:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:-12px}.dou-editor__diff-removed-block:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:-12px}.dou-editor__diff-removed-block:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:-12px}.dou-editor__diff-added:before{background-color:var(--dou-color-success)}.dou-editor__diff-changed:before{background-color:var(--dou-color-warning)}.dou-editor__diff-added-text{background-color:color-mix(in oklab,var(--dou-color-success)14%,transparent);text-decoration:underline 1px var(--dou-color-success);text-underline-offset:3px}.dou-editor__diff-removed{background-color:color-mix(in oklab,var(--dou-color-danger)12%,transparent);color:var(--dou-color-danger-text);text-decoration:line-through 1px}.dou-editor__diff-removed-block{position:relative;color:var(--dou-color-danger-text);text-decoration:line-through 1px;white-space:pre-wrap;user-select:none;padding:3px 0}.dou-editor__diff-removed-block:before{background-color:var(--dou-color-danger)}.dou-editor__block.is-selected{background-color:var(--dou-editor-selected)}.dou-editor__block.is-selected+.dou-editor__block.is-selected:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-top-left-radius:0;border-top-right-radius:0}.dou-editor__block.is-selected+.dou-editor__block.is-selected:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-top-left-radius:0;border-top-right-radius:0}.dou-editor__block.is-selected+.dou-editor__block.is-selected:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-top-left-radius:0;border-top-right-radius:0}.dou-editor__block.is-selected+.dou-editor__block.is-selected:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-left-radius:0;border-top-right-radius:0}.dou-editor__block.is-selected+.dou-editor__block.is-selected:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-left-radius:0;border-top-right-radius:0}.dou-editor__block.is-selected+.dou-editor__block.is-selected:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-top-left-radius:0;border-top-right-radius:0}.dou-editor__block.is-selected:has(+.dou-editor__block.is-selected):not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-bottom-right-radius:0;border-bottom-left-radius:0}.dou-editor__block.is-selected:has(+.dou-editor__block.is-selected):not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-bottom-right-radius:0;border-bottom-left-radius:0}.dou-editor__block.is-selected:has(+.dou-editor__block.is-selected):not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){border-bottom-right-radius:0;border-bottom-left-radius:0}.dou-editor__block.is-selected:has(+.dou-editor__block.is-selected):-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-bottom-right-radius:0;border-bottom-left-radius:0}.dou-editor__block.is-selected:has(+.dou-editor__block.is-selected):-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-bottom-right-radius:0;border-bottom-left-radius:0}.dou-editor__block.is-selected:has(+.dou-editor__block.is-selected):is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){border-bottom-right-radius:0;border-bottom-left-radius:0}.dou-editor__block.is-selected .dou-editor__block.is-selected{background-color:#0000}.dou-editor__block.is-selected>.dou-editor__content--codeBlock{background-image:linear-gradient(var(--dou-editor-selected),var(--dou-editor-selected))}.dou-editor .is-block-selecting{caret-color:transparent}.dou-editor .is-block-selecting ::selection{background-color:#0000}.dou-editor.is-dragging .dou-editor__block.is-selected{opacity:.45}.dou-editor__handle{--dou-editor-handle-height:24px;--dou-editor-handle-offset:4px;position:absolute;z-index:1;box-sizing:border-box;display:flex;height:var(--dou-editor-handle-height);margin-top:calc((var(--dou-editor-line,24px) - var(--dou-editor-handle-height))/2);border:1px solid var(--dou-color-border);background-color:var(--dou-color-bg-surface);box-shadow:var(--dou-shadow-sm);transform:translateX(calc(-100% - var(--dou-editor-handle-offset) + var(--dou-editor-handle-shift,0px)));border-radius:6px;align-items: center;padding:1px}.dou-editor__handle.is-table{--dou-editor-handle-offset:10px}@media (hover:hover) and (pointer:fine){.dou-editor__handle:after{content:"";position:absolute;top:0;bottom:0;width:calc(var(--dou-editor-handle-offset) + 1px);left:100%}}.dou-editor__handle-button{display:inline-flex;color:var(--dou-color-text-tertiary);cursor:pointer;transition-property:background-color,color;transition-duration:var(--dou-motion-duration-fast);transition-timing-function:var(--dou-motion-easing);background:0 0;border:none;border-radius:4px;flex:none;justify-content:center;align-items: center;width:20px;height:100%;margin:0;padding:0}.dou-editor__handle-button>svg{width:14px;height:14px}.dou-editor__handle-button:hover{background-color:var(--dou-editor-control-hover);color:var(--dou-color-text-secondary)}.dou-editor__handle-button[aria-expanded=true]{background-color:var(--dou-editor-control-hover);color:var(--dou-color-text-secondary)}.dou-editor__add{display:none}@media (hover:hover) and (pointer:fine){.dou-editor__handle:not(.is-compact):hover .dou-editor__add{display:inline-flex}}.dou-editor__grip{position:relative;cursor:grab;touch-action:none;width:16px}@media (pointer:coarse){.dou-editor__handle{--dou-editor-handle-height:32px}.dou-editor__handle.is-table{--dou-editor-handle-offset:12px}.dou-editor__grip{-webkit-touch-callout:none;user-select:none;width:18px}.dou-editor__grip:before{content:"";position:absolute;inset:-8px -8px -8px -14px}}.dou-editor__ghost{position:fixed;z-index:2000;box-sizing:border-box;overflow:hidden;border:1px solid var(--dou-color-border);border-radius:var(--dou-radius-control);background-color:var(--dou-color-bg-surface);box-shadow:var(--dou-shadow-md);opacity:.88;pointer-events:none;max-height:160px;padding:6px 12px;top:0;left:0}.dou-editor__ghost>.dou-editor__block:first-child>.dou-editor__content{margin-top:0}.dou-editor__drop{position:absolute;background-color:var(--dou-color-focus);pointer-events:none;border-radius:1px;height:2px;margin-top:-1px}.dou-editor__drop.is-vertical{width:2px;height:auto;margin-top:0;margin-left:-1px}.dou-editor__mention{background-color:var(--dou-color-bg-muted);color:var(--dou-color-text);white-space:nowrap;border-radius:4px;padding:0 2px;font-weight:500}.dou-editor-mention{max-height:min(var(--dou-floating-available,100vh),288px);width:240px}.dou-editor-mention__item{gap:10px;height:auto;padding:6px 8px}.dou-editor-mention__item:focus{background-color:var(--dou-dropdown-item-active-bg)}.dou-editor-mention__item.is-active{background-color:var(--dou-dropdown-item-active-bg)}.dou-editor-mention__text{display:flex;flex-direction:column;flex:auto;gap:6px;min-width:0}.dou-editor-mention__label,.dou-editor-mention__description{overflow-x:clip;text-box:trim-both cap alphabetic;text-overflow:ellipsis;white-space:nowrap}.dou-editor-mention__description{color:var(--dou-color-text-tertiary);font-size:var(--dou-font-size-sm)}.dou-editor-slash{max-height:min(var(--dou-floating-available,100vh),336px);width:288px}.dou-editor-slash__item{gap:10px;height:auto;padding:6px 8px 6px 6px}.dou-editor-slash__item:focus{background-color:var(--dou-dropdown-item-active-bg)}.dou-editor-slash__item.is-active{background-color:var(--dou-dropdown-item-active-bg)}.dou-editor-slash__icon{display:inline-flex;box-sizing:border-box;border:1px solid var(--dou-color-border);border-radius:var(--dou-radius-control);background-color:var(--dou-color-bg-surface);color:var(--dou-color-text-secondary);flex:none;justify-content:center;align-items: center;width:32px;height:32px}.dou-editor-slash__icon>svg{width:18px;height:18px}.dou-editor-slash__text{display:flex;flex-direction:column;flex:auto;gap:6px;min-width:0}.dou-editor-slash__label,.dou-editor-slash__hint{overflow-x:clip;text-box:trim-both cap alphabetic;text-overflow:ellipsis}.dou-editor-slash__hint{color:var(--dou-color-text-tertiary);font-size:var(--dou-font-size-sm)}.dou-editor-slash__shortcut{color:var(--dou-color-text-tertiary);font-family:var(--dou-font-family-mono);font-size:var(--dou-font-size-sm);text-box:trim-both cap alphabetic;flex:none}.dou-editor-slash__empty{color:var(--dou-color-text-tertiary);font-size:var(--dou-font-size-sm);padding:8px}.dou-editor-slash__more{color:var(--dou-color-text-tertiary);flex:none;width:16px;height:16px}.dou-editor-slash__choices{max-height:none;padding:8px}.dou-editor-slash__choices-title{color:var(--dou-color-text-tertiary);font-size:var(--dou-font-size-sm);text-box:trim-both cap alphabetic;padding:4px 4px 10px}.dou-editor-slash__unfolded{padding:4px 8px 8px}.dou-editor-slash__unfolded .dou-editor-slash__choices-title{padding-inline-start:0;padding-inline-end:0}.dou-editor-slash__more{transition:rotate var(--dou-motion-duration-fast)var(--dou-motion-easing)}.dou-editor-slash__more.is-unfolded{rotate:90deg}.dou-editor-column-picker{display:flex;gap:6px;padding:2px 4px 4px}.dou-editor-column-picker__bar{background-color:var(--dou-color-bg-muted);cursor:pointer;transition:background-color var(--dou-motion-duration-fast)var(--dou-motion-easing);border-radius:4px;width:24px;height:72px}.dou-editor-column-picker__bar.is-lit{background-color:color-mix(in oklab,var(--dou-color-text)calc(22% + 8%*var(--dou-scheme-dark)),transparent)}@media (pointer:coarse){.dou-editor-column-picker__bar{width:32px}}.dou-editor__content--columns,.dou-editor__content--column{display:none}.dou-editor__content--columns+.dou-editor__group{container:dou-editor-columns/inline-size;display:flex;column-gap:var(--dou-editor-column-gap);flex-wrap:wrap;row-gap:12px;padding-inline-start:0}.dou-editor__content--columns+.dou-editor__group>.dou-editor__block{flex:var(--dou-editor-column-width,1)1 0;min-width:0}.dou-editor__content--column+.dou-editor__group{padding-inline-start:0}.dou-editor__content--column+.dou-editor__group .dou-editor__content--table{padding-inline-start:12px}@media (hover:hover){.dou-editor:not(.is-readonly) .dou-editor__content--columns+.dou-editor__group:hover>.dou-editor__block{outline:1px dashed var(--dou-color-border)}}@container dou-editor-columns (width<=480px){.dou-editor__content--columns+.dou-editor__group>.dou-editor__block{flex-basis:100%}}.dou-editor-columns__bar{position:absolute;z-index:2;outline:none;cursor:col-resize;touch-action:none;width:10px;margin-inline-start:-5px}@media (pointer:coarse){.dou-editor-columns__bar:before{content:"";position:absolute;top:0;bottom:0;left:-15px;right:-15px}}.dou-editor-columns__bar:after{content:"";position:absolute;background-color:var(--dou-color-focus);opacity:0;transition:opacity var(--dou-motion-duration-fast)var(--dou-motion-easing);border-radius:1px;width:2px;top:0;bottom:0}.dou-editor-columns__bar:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:4px}.dou-editor-columns__bar:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:4px}.dou-editor-columns__bar:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{left:4px}.dou-editor-columns__bar:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:4px}.dou-editor-columns__bar:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:4px}.dou-editor-columns__bar:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{right:4px}.dou-editor-columns__bar:hover:after{opacity:1}.dou-editor-columns__bar.is-shown:after{opacity:1}.dou-editor-columns__bar:focus-visible:after{opacity:1}.dou-editor-columns__bar.is-key:not(:-webkit-any(.is-shown,:focus)){pointer-events:none}.dou-editor-columns__bar.is-key:not(:-moz-any(.is-shown,:focus)){pointer-events:none}.dou-editor-columns__bar.is-key:not(:is(.is-shown,:focus)){pointer-events:none}.dou-editor:has(.dou-editor-columns__bar:-webkit-any(:hover,.is-shown)) .dou-editor__handle.is-compact{opacity:0;pointer-events:none}.dou-editor:has(.dou-editor-columns__bar:-moz-any(:hover,.is-shown)) .dou-editor__handle.is-compact{opacity:0;pointer-events:none}.dou-editor:has(.dou-editor-columns__bar:is(:hover,.is-shown)) .dou-editor__handle.is-compact{opacity:0;pointer-events:none}.dou-editor__content--table{display:flex;overflow-x:auto;overscroll-behavior-x:contain;margin-block-start:4px;margin-block-end:4px;padding-block-start:8px;padding-block-end:4px}.dou-editor__content--table>.dou-editor-table{flex:none}.dou-editor__content--table:before{content:"";position:sticky;z-index:1;opacity:0;pointer-events:none;transition:opacity var(--dou-motion-duration-fast)var(--dou-motion-easing);flex:none;width:8px}.dou-editor__content--table:after{content:"";position:sticky;z-index:1;opacity:0;pointer-events:none;transition:opacity var(--dou-motion-duration-fast)var(--dou-motion-easing);flex:none;width:8px}.dou-editor__content--table:before{background-image:linear-gradient(to right,var(--dou-editor-scroll-shadow),transparent);margin-inline-end:-8px}.dou-editor__content--table:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:calc(-1*var(--dou-editor-frame-start,0px))}.dou-editor__content--table:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:calc(-1*var(--dou-editor-frame-start,0px))}.dou-editor__content--table:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):before{left:calc(-1*var(--dou-editor-frame-start,0px))}.dou-editor__content--table:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:calc(-1*var(--dou-editor-frame-start,0px))}.dou-editor__content--table:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:calc(-1*var(--dou-editor-frame-start,0px))}.dou-editor__content--table:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):before{right:calc(-1*var(--dou-editor-frame-start,0px))}.dou-editor__content--table:after{background-image:linear-gradient(to left,var(--dou-editor-scroll-shadow),transparent);margin-inline-start:-8px}.dou-editor__content--table:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{right:calc(-1*var(--dou-editor-frame-end,0px))}.dou-editor__content--table:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{right:calc(-1*var(--dou-editor-frame-end,0px))}.dou-editor__content--table:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))):after{right:calc(-1*var(--dou-editor-frame-end,0px))}.dou-editor__content--table:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{left:calc(-1*var(--dou-editor-frame-end,0px))}.dou-editor__content--table:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{left:calc(-1*var(--dou-editor-frame-end,0px))}.dou-editor__content--table:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)):after{left:calc(-1*var(--dou-editor-frame-end,0px))}.dou-editor__content--table.is-cut-start:before{opacity:1}.dou-editor__content--table.is-cut-end:after{opacity:1}.dou-editor__mount>.dou-editor__surface>.dou-editor__block>.dou-editor__content--table{--dou-editor-bleed-start:max(0px,var(--dou-editor-margin-start,0px) - 10px);--dou-editor-bleed-end:var(--dou-editor-margin-end,0px);--dou-editor-frame-start:var(--dou-editor-bleed-start);--dou-editor-frame-end:min(var(--dou-editor-bleed-end),28px);margin-inline:calc(-1*var(--dou-editor-bleed-start))calc(-1*var(--dou-editor-bleed-end));padding-inline:var(--dou-editor-frame-start)var(--dou-editor-frame-end)}.dou-editor__mount>.dou-editor__surface>.dou-editor__block.is-selected.has-table{background-color:#0000}.dou-editor__mount>.dou-editor__surface>.dou-editor__block.is-selected.has-table:before{content:"";position:absolute;top:0;bottom:0;inset-inline:calc(-1*var(--dou-editor-margin-start,0px))calc(-1*var(--dou-editor-margin-end,0px));border-radius:inherit;background-color:var(--dou-editor-selected);pointer-events:none}.dou-editor__mount>.dou-editor__surface>.dou-editor__block.is-selected.has-table>.dou-editor__content--table{position:relative;z-index:0}.dou-editor-table{border-collapse:collapse;table-layout:fixed;font-size:inherit;line-height:inherit}.dou-editor-table td{position:relative;box-sizing:border-box;border:1px solid var(--dou-color-border);text-align:start;vertical-align:top;white-space:pre-wrap;min-width:48px;padding:6px 10px}.dou-editor-table th{position:relative;box-sizing:border-box;border:1px solid var(--dou-color-border);text-align:start;vertical-align:top;white-space:pre-wrap;min-width:48px;padding:6px 10px}.dou-editor-table th{background-color:var(--dou-color-bg-muted);font-weight:600}.ProseMirror-hideselection .dou-editor-table *::selection{background:0 0}.ProseMirror-hideselection .dou-editor-table{caret-color:transparent}.dou-editor-table .selectedCell:after{content:"";position:absolute;background-color:var(--dou-editor-selected);pointer-events:none;inset:0}.dou-editor-table .column-resize-handle{position:absolute;z-index:1;background-color:var(--dou-color-focus);pointer-events:none;width:3px;top:-1px;bottom:-1px}.dou-editor-table .column-resize-handle:not(:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:-2px}.dou-editor-table .column-resize-handle:not(:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:-2px}.dou-editor-table .column-resize-handle:not(:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi))){right:-2px}.dou-editor-table .column-resize-handle:-webkit-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:-2px}.dou-editor-table .column-resize-handle:-moz-any(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:-2px}.dou-editor-table .column-resize-handle:is(:lang(ae),:lang(ar),:lang(arc),:lang(bcc),:lang(bqi),:lang(ckb),:lang(dv),:lang(fa),:lang(glk),:lang(he),:lang(ku),:lang(mzn),:lang(nqo),:lang(pnb),:lang(ps),:lang(sd),:lang(ug),:lang(ur),:lang(yi)){left:-2px}.dou-editor__surface.resize-cursor{cursor:col-resize}.dou-editor-table__handle{position:absolute;z-index:2;display:inline-flex;border:1px solid var(--dou-color-border);background-color:var(--dou-color-bg-surface);box-shadow:var(--dou-shadow-sm);color:var(--dou-color-text-tertiary);cursor:pointer;transition-property:background-color,color;transition-duration:var(--dou-motion-duration-fast);transition-timing-function:var(--dou-motion-easing);touch-action:none;border-radius:4px;justify-content:center;align-items: center;margin:0;padding:0;transform:translate(-50%,-50%)}.dou-editor-table__handle.is-column{width:24px;height:14px}.dou-editor-table__handle.is-row{width:14px;height:24px}.dou-editor-table__handle:before{content:"";position:absolute;inset:-4px}@media (pointer:coarse){.dou-editor-table__handle.is-column{width:32px;height:18px}.dou-editor-table__handle.is-row{width:18px;height:32px}.dou-editor-table__handle:before{inset:-10px}}.dou-editor-table__handle svg{width:14px;height:14px}.dou-editor-table__handle:hover{background-color:color-mix(in oklab,var(--dou-color-text)calc(6% + 6%*var(--dou-scheme-dark)),var(--dou-color-bg-surface));color:var(--dou-color-text)}.dou-editor-table__handle.is-active{background-color:color-mix(in oklab,var(--dou-color-text)calc(6% + 6%*var(--dou-scheme-dark)),var(--dou-color-bg-surface));color:var(--dou-color-text)}.dou-editor-table__add{position:absolute;z-index:1;display:inline-flex;box-sizing:border-box;color:var(--dou-color-text-tertiary);cursor:pointer;opacity:.6;transition-property:background-color,color,opacity;transition-duration:var(--dou-motion-duration-fast);transition-timing-function:var(--dou-motion-easing);background-color:#0000;border:none;border-radius:4px;justify-content:center;align-items: center;margin:0;padding:0}.dou-editor-table__add.is-column{width:16px;margin-inline-start:4px}.dou-editor-table__add.is-row{height:16px;margin-block-start:4px}.dou-editor-table__add svg{width:14px;height:14px}.dou-editor-table__add:hover{background-color:var(--dou-editor-control-hover);color:var(--dou-color-text);opacity:1}@media (pointer:coarse){.dou-editor-table__add{opacity:1}.dou-editor-table__add.is-column{width:24px}.dou-editor-table__add.is-row{height:24px}.dou-editor-table .column-resize-handle{display:none}}.dou-editor-table__ghost{overflow:hidden;padding:0}.dou-editor-table__ghost .dou-editor-table{width:auto;margin:0}.dou-editor-table__cells{position:absolute;z-index:3;display:flex;border:1px solid var(--dou-color-border);border-radius:calc(var(--dou-radius-control) + 2px);background-color:color-mix(in oklab,var(--dou-color-text)calc(4%*var(--dou-scheme-dark)),var(--dou-color-bg-surface));box-shadow:var(--dou-shadow-md);font-size:var(--dou-font-size-sm);white-space:nowrap;gap:2px;padding:3px;line-height:normal;transform:translate(-50%,calc(-100% - 6px))}.dou-editor-table__cells.is-below{transform:translate(-50%,6px)}.dou-editor-table__cells-button{display:inline-flex;border-radius:var(--dou-radius-control);color:var(--dou-color-text);font:inherit;cursor:pointer;background:0 0;border:none;align-items: center;gap:4px;height:26px;margin:0;padding-inline-start:8px;padding-inline-end:8px}.dou-editor-table__cells-button svg{color:var(--dou-color-text-secondary);width:14px;height:14px}.dou-editor-table__cells-button:hover:not(:disabled){background-color:var(--dou-editor-control-hover)}.dou-editor-table__cells-button:disabled{color:var(--dou-color-text-tertiary);cursor:default}.dou-editor-bubble{border:1px solid var(--dou-color-border);border-radius:calc(var(--dou-radius-control) + 4px);background-color:color-mix(in oklab,var(--dou-color-text)calc(4%*var(--dou-scheme-dark)),var(--dou-color-bg-surface));box-shadow:var(--dou-shadow-md);color:var(--dou-color-text);font-family:var(--dou-font-family);font-size:var(--dou-font-size-md);padding:4px;line-height:normal}.dou-editor-bubble__type{gap:4px}.dou-editor-bubble__type svg{color:var(--dou-color-text-tertiary)}.dou-editor-bubble__link{display:flex;align-items: center;gap:4px}.dou-editor-bubble__link>.dou-input{width:240px}.dou-editor__content--image{padding-block-start:6px;padding-block-end:6px}.dou-editor-image__figure{width:-moz-fit-content;width:fit-content;min-width:min(100%,240px);max-width:100%;margin:0 auto}.dou-editor-image__frame{position:relative;border-radius:var(--dou-radius-control);width:-moz-fit-content;width:fit-content;max-width:100%;margin:0 auto;line-height:0}.dou-editor-image__img{display:block;border-radius:inherit;outline:1px solid color-mix(in oklab,var(--dou-color-text)8%,transparent);outline-offset:-1px;max-width:100%;height:auto}.dou-editor-image__figure.is-sized .dou-editor-image__frame,.dou-editor-image__figure.is-sized .dou-editor-image__img{width:100%}.dou-editor-image.is-selected .dou-editor-image__img{outline:2px solid var(--dou-color-focus);outline-offset:2px}.dou-editor-image__status{position:absolute;display:flex;border-radius:inherit;background-color:color-mix(in oklab,var(--dou-color-bg-surface)72%,transparent);color:var(--dou-color-text-secondary);font-size:var(--dou-font-size-md);justify-content:center;align-items: center;gap:8px;line-height:normal;inset:0}.dou-editor-image__status.is-failed{color:var(--dou-color-danger-text)}.dou-editor-image__handle{position:absolute;border:1px solid color-mix(in oklab,var(--dou-color-bg-surface)70%,transparent);border-radius:var(--dou-radius-full);background-color:color-mix(in oklab,var(--dou-color-text)55%,transparent);cursor:ew-resize;opacity:0;transition:opacity var(--dou-motion-duration-fast)var(--dou-motion-easing);touch-action:none;width:6px;height:40px;max-height:50%;top:50%;transform:translateY(-50%)}.dou-editor-image__handle:before{position:absolute;content:"";inset:-4px -9px}.dou-editor-image__handle.is-left{left:8px}.dou-editor-image__handle.is-right{right:8px}.dou-editor-image__frame:hover .dou-editor-image__handle,.dou-editor-image.is-selected .dou-editor-image__handle{opacity:1}.dou-editor-image__caption{color:var(--dou-color-text-secondary);font-size:var(--dou-font-size-md);text-align:center;margin-top:6px;line-height:1.5}.dou-editor-image__caption-input{color:inherit;font:inherit;font-size:max(var(--dou-font-size-input-min,0px),1em);text-align:inherit;outline:none;background:0 0;border:none;width:100%;padding:0}.dou-editor-image__caption-input::placeholder{color:var(--dou-color-text-tertiary)}.dou-editor-image__caption-input:placeholder-shown:not(:focus){opacity:0}.dou-editor-image:hover .dou-editor-image__caption-input,.dou-editor-image.is-selected .dou-editor-image__caption-input,.dou-editor-embed:hover .dou-editor-image__caption-input,.dou-editor-embed.is-selected .dou-editor-image__caption-input{opacity:1}.dou-editor-image__empty{display:flex;border:1px solid var(--dou-color-border);border-radius:var(--dou-radius-control);background-color:color-mix(in oklab,var(--dou-color-text)3%,var(--dou-color-bg-surface));color:var(--dou-color-text-secondary);font-size:var(--dou-font-size-md);flex-wrap:wrap;align-items: center;gap:8px 12px;padding:12px 14px;line-height:normal}.dou-editor-image.is-selected .dou-editor-image__empty,.dou-editor-attachment.is-selected .dou-editor-image__empty,.dou-editor-embed.is-selected .dou-editor-image__empty{outline:2px solid var(--dou-color-focus);outline-offset:2px}.dou-editor-image__empty-icon{color:var(--dou-color-text-tertiary);flex:none;width:18px;height:18px}.dou-editor-image__empty-text{flex:auto}.dou-editor-image__actions,.dou-editor-image__embed{display:flex;gap:8px}.dou-editor-image__embed{flex:240px}.dou-editor-image__embed>.dou-input{flex:auto}.dou-editor__content--attachment,.dou-editor__content--embed{padding-block-start:4px;padding-block-end:4px}.dou-editor-attachment__card{display:flex;border:1px solid var(--dou-color-border);border-radius:var(--dou-radius-control);background-color:var(--dou-color-bg-surface);box-shadow:var(--dou-shadow-sm);align-items: center;gap:12px;padding:10px 10px 10px 14px;line-height:normal}.dou-editor-attachment.is-selected .dou-editor-attachment__card{outline:2px solid var(--dou-color-focus);outline-offset:2px}.dou-editor-attachment__icon{color:var(--dou-color-text-secondary);flex:none;width:20px;height:20px}.dou-editor-attachment__text{display:flex;flex-direction:column;flex:auto;gap:2px;min-width:0}.dou-editor-attachment__name{overflow-x:clip;color:var(--dou-color-text);font-size:var(--dou-font-size-md);text-overflow:ellipsis;white-space:nowrap;font-weight:500}.dou-editor-attachment__meta{display:flex;color:var(--dou-color-text-tertiary);font-size:var(--dou-font-size-sm);font-variant-numeric:tabular-nums;align-items: center;gap:6px}.dou-editor-attachment__download{display:inline-flex;border-radius:var(--dou-radius-control);color:var(--dou-color-text-secondary);transition:background-color var(--dou-motion-duration-fast)var(--dou-motion-easing);flex:none;justify-content:center;align-items: center;width:32px;height:32px}.dou-editor-attachment__download>svg{width:16px;height:16px}.dou-editor-attachment__download:hover{background-color:color-mix(in oklab,var(--dou-color-text)6%,transparent);color:var(--dou-color-text)}.dou-editor-attachment__download:focus-visible{outline:2px solid var(--dou-color-focus);outline-offset:1px}@media (pointer:coarse){.dou-editor-attachment__download{width:40px;height:40px}}.dou-editor-embed__figure{margin:0}.dou-editor-embed__frame{overflow:clip;border-radius:var(--dou-radius-control);background-color:color-mix(in oklab,var(--dou-color-text)4%,var(--dou-color-bg-surface));outline:1px solid color-mix(in oklab,var(--dou-color-text)8%,transparent);outline-offset:-1px;width:100%;line-height:0}.dou-editor-embed__frame>iframe{display:block;border:0;width:100%;height:100%}.dou-editor-embed__frame>video{display:block;border:0;width:100%;height:100%}.dou-editor-embed__frame.is-audio{overflow:visible;outline:none;background:0 0}.dou-editor-embed__frame.is-audio>audio{display:block;width:100%}.dou-editor-embed.is-selected .dou-editor-embed__frame{outline:2px solid var(--dou-color-focus);outline-offset:2px}.dou-editor.is-dragging .dou-editor-embed__frame{pointer-events:none}.dou-editor-embed__caption{display:grid;grid-template-columns:var(--dou-control-height-sm)1fr var(--dou-control-height-sm);align-items: center;gap:4px}.dou-editor-embed__caption>.dou-editor-image__caption-input{grid-column:2}.dou-editor-embed__edit{grid-column:3;opacity:0;transition:opacity var(--dou-motion-duration-fast)var(--dou-motion-easing)}.dou-editor-embed:hover .dou-editor-embed__edit,.dou-editor-embed.is-selected .dou-editor-embed__edit{opacity:1}.dou-editor-embed__edit:focus-visible{opacity:1}@media (pointer:coarse){.dou-editor-embed__edit{opacity:1}}.dou-editor-board{position:relative;overflow:hidden;border:1px solid var(--dou-color-border);border-radius:var(--dou-radius-control);background-color:var(--dou-color-bg-surface);touch-action:pan-y}.dou-editor-board.is-selected{outline:2px solid var(--dou-color-focus);outline-offset:2px}.dou-editor__block.is-selected>.dou-editor__content>.dou-editor-board:after{position:absolute;background-color:var(--dou-editor-selected);content:"";pointer-events:none;inset:0}.dou-editor-board__preview{position:absolute;pointer-events:none;inset:0}.dou-editor-board__preview .dou-flow-editor{background:0 0;width:100%;height:100%}.dou-editor-board__empty{display:flex;background-color:color-mix(in oklab,var(--dou-color-text)3%,var(--dou-color-bg-surface));color:var(--dou-color-text-secondary);font-size:var(--dou-font-size-md);flex-direction:column;justify-content:center;align-items: center;gap:12px;height:100%}.dou-editor-board__actions{position:absolute;display:flex;opacity:0;transition:opacity var(--dou-motion-duration-fast)var(--dou-motion-easing);gap:4px;top:8px;right:8px}.dou-editor-board:hover .dou-editor-board__actions,.dou-editor-board.is-selected .dou-editor-board__actions,.dou-editor-board__actions:focus-within{opacity:1}@media (pointer:coarse){.dou-editor-board__actions{opacity:1}}.dou-editor-board__resize{position:absolute;cursor:ns-resize;touch-action:none;height:10px;bottom:0;left:0;right:0}.dou-editor-board__resize:after{position:absolute;background-color:var(--dou-color-border-strong);content:"";opacity:0;transition:opacity var(--dou-motion-duration-fast)var(--dou-motion-easing);border-radius:2px;width:40px;height:4px;bottom:3px;left:50%;transform:translate(-50%)}.dou-editor-board__resize:focus-visible{outline:none}.dou-editor-board__resize:focus-visible:after{background-color:var(--dou-color-focus)}.dou-editor-board:hover .dou-editor-board__resize:after,.dou-editor-board.is-selected .dou-editor-board__resize:after{opacity:1}.dou-editor-board__resize:focus-visible:after{opacity:1}@media (pointer:coarse){.dou-editor-board__resize{width:80px;height:40px;left:50%;right:auto;transform:translate(-50%)}.dou-editor-board:not(.is-selected) .dou-editor-board__resize{pointer-events:none}.dou-editor-board.is-selected .dou-editor-board__resize:after{opacity:1}}.dou-editor-board__editor{height:100%}.dou-editor-board__editor>.dou-flow-editor{width:100%;height:100%}.dou-editor-board__add{position:absolute;border-radius:var(--dou-radius-control);box-shadow:var(--dou-shadow-sm);top:12px;left:12px}@media (pointer:coarse){.dou-editor-board__add .dou-button:after{position:absolute;content:"";inset:min(0px,50% - 20px) 0}}.dou-popover:has(>.dou-popover__content>.dou-editor-board__types){--dou-popover-padding:0}.dou-editor-board__types{width:260px;max-width:100%}.dou-editor-board__types .dou-command__search{height:40px;padding:0 12px}.dou-editor-board__type-icon{display:inline-flex;border-radius:var(--dou-radius-control);background-color:var(--dou-color-bg-muted);color:var(--dou-color-text-secondary);flex:none;justify-content:center;align-items: center;width:20px;height:20px}.dou-editor-board__type-icon svg{width:14px;height:14px}.dou-editor-board__type{display:flex;flex:1;align-self:stretch;align-items: center;gap:8px;min-width:0;margin:-6px -10px;padding:6px 10px}.dou-flow-editor__panels>.dou-editor-board__hint{position:absolute;color:var(--dou-color-text-tertiary);font-size:var(--dou-font-size-sm);text-align:center;pointer-events:none;width:max-content;max-width:calc(100% - 48px);margin:0;top:50%;left:50%;transform:translate(-50%,-50%)}.dou-editor-embed__link{overflow-x:clip;color:var(--dou-color-text-tertiary);font-size:var(--dou-font-size-sm);text-overflow:ellipsis;white-space:nowrap;max-width:100%}.dou-editor-embed__error{color:var(--dou-color-danger-text);font-size:var(--dou-font-size-sm);flex-basis:100%}.dou-editor__cursor{position:relative;border-inline-start:2px solid var(--dou-editor-cursor-color);pointer-events:none;word-break:normal;margin-inline-start:-1px;margin-inline-end:-1px}.dou-editor__cursor-label{position:absolute;background-color:var(--dou-editor-cursor-color);color:oklch(from var(--dou-editor-cursor-color)clamp(.2,(.66 - l)*100,.99)0 0);font-family:var(--dou-font-family);font-size:var(--dou-font-size-sm);white-space:nowrap;user-select:none;border-radius:4px 4px 4px 0;padding:0 6px;font-style:normal;font-weight:400;line-height:18px;bottom:100%;left:-2px}.dou-editor__remote-selection{background-color:color-mix(in oklab,var(--dou-editor-cursor-color)20%,transparent)}.dou-editor,.dou-editor-menu,.dou-editor-palette{--dou-editor-color-gray:color-mix(in srgb,#a3a7ad calc(100%*var(--dou-scheme-dark)),#6b6f76);--dou-editor-highlight-gray:color-mix(in srgb,#3a3b3d calc(100%*var(--dou-scheme-dark)),#ececeb);--dou-editor-color-red:color-mix(in srgb,#e58a84 calc(100%*var(--dou-scheme-dark)),#b4453f);--dou-editor-highlight-red:color-mix(in srgb,#4a2826 calc(100%*var(--dou-scheme-dark)),#f8e3e1);--dou-editor-color-orange:color-mix(in srgb,#e0975f calc(100%*var(--dou-scheme-dark)),#b0622a);--dou-editor-highlight-orange:color-mix(in srgb,#4a3222 calc(100%*var(--dou-scheme-dark)),#f9e7d8);--dou-editor-color-yellow:color-mix(in srgb,#d4b44f calc(100%*var(--dou-scheme-dark)),#94761b);--dou-editor-highlight-yellow:color-mix(in srgb,#4a4020 calc(100%*var(--dou-scheme-dark)),#f8efc8);--dou-editor-color-green:color-mix(in srgb,#7fbf8c calc(100%*var(--dou-scheme-dark)),#3f7f4f);--dou-editor-highlight-green:color-mix(in srgb,#253d2b calc(100%*var(--dou-scheme-dark)),#e1f0e2);--dou-editor-color-blue:color-mix(in srgb,#7fa7d9 calc(100%*var(--dou-scheme-dark)),#3b6ea8);--dou-editor-highlight-blue:color-mix(in srgb,#23334a calc(100%*var(--dou-scheme-dark)),#e1ebf7);--dou-editor-color-purple:color-mix(in srgb,#b69ad6 calc(100%*var(--dou-scheme-dark)),#7a52a3);--dou-editor-highlight-purple:color-mix(in srgb,#352a47 calc(100%*var(--dou-scheme-dark)),#ece4f5);--dou-editor-color-pink:color-mix(in srgb,#dd8ab4 calc(100%*var(--dou-scheme-dark)),#a8467a);--dou-editor-highlight-pink:color-mix(in srgb,#46283a calc(100%*var(--dou-scheme-dark)),#f6e2ec)}.dou-editor__color,.dou-editor-palette span[data-color]{color:var(--dou-editor-text-color,inherit)}.dou-editor__highlight,.dou-editor-palette mark[data-color]{background-color:var(--dou-editor-mark-color,var(--dou-editor-highlight-yellow));color:inherit;box-decoration-break:clone;border-radius:2px}.dou-editor__color[data-color=gray],.dou-editor-palette span[data-color=gray],.dou-editor-colors__swatch[data-color=gray]{--dou-editor-text-color:var(--dou-editor-color-gray)}.dou-editor__highlight[data-color=gray],.dou-editor-palette mark[data-color=gray],.dou-editor-colors__swatch[data-highlight=gray]{--dou-editor-mark-color:var(--dou-editor-highlight-gray)}.dou-editor__color[data-color=red],.dou-editor-palette span[data-color=red],.dou-editor-colors__swatch[data-color=red]{--dou-editor-text-color:var(--dou-editor-color-red)}.dou-editor__highlight[data-color=red],.dou-editor-palette mark[data-color=red],.dou-editor-colors__swatch[data-highlight=red]{--dou-editor-mark-color:var(--dou-editor-highlight-red)}.dou-editor__color[data-color=orange],.dou-editor-palette span[data-color=orange],.dou-editor-colors__swatch[data-color=orange]{--dou-editor-text-color:var(--dou-editor-color-orange)}.dou-editor__highlight[data-color=orange],.dou-editor-palette mark[data-color=orange],.dou-editor-colors__swatch[data-highlight=orange]{--dou-editor-mark-color:var(--dou-editor-highlight-orange)}.dou-editor__color[data-color=yellow],.dou-editor-palette span[data-color=yellow],.dou-editor-colors__swatch[data-color=yellow]{--dou-editor-text-color:var(--dou-editor-color-yellow)}.dou-editor__highlight[data-color=yellow],.dou-editor-palette mark[data-color=yellow],.dou-editor-colors__swatch[data-highlight=yellow]{--dou-editor-mark-color:var(--dou-editor-highlight-yellow)}.dou-editor__color[data-color=green],.dou-editor-palette span[data-color=green],.dou-editor-colors__swatch[data-color=green]{--dou-editor-text-color:var(--dou-editor-color-green)}.dou-editor__highlight[data-color=green],.dou-editor-palette mark[data-color=green],.dou-editor-colors__swatch[data-highlight=green]{--dou-editor-mark-color:var(--dou-editor-highlight-green)}.dou-editor__color[data-color=blue],.dou-editor-palette span[data-color=blue],.dou-editor-colors__swatch[data-color=blue]{--dou-editor-text-color:var(--dou-editor-color-blue)}.dou-editor__highlight[data-color=blue],.dou-editor-palette mark[data-color=blue],.dou-editor-colors__swatch[data-highlight=blue]{--dou-editor-mark-color:var(--dou-editor-highlight-blue)}.dou-editor__color[data-color=purple],.dou-editor-palette span[data-color=purple],.dou-editor-colors__swatch[data-color=purple]{--dou-editor-text-color:var(--dou-editor-color-purple)}.dou-editor__highlight[data-color=purple],.dou-editor-palette mark[data-color=purple],.dou-editor-colors__swatch[data-highlight=purple]{--dou-editor-mark-color:var(--dou-editor-highlight-purple)}.dou-editor__color[data-color=pink],.dou-editor-palette span[data-color=pink],.dou-editor-colors__swatch[data-color=pink]{--dou-editor-text-color:var(--dou-editor-color-pink)}.dou-editor__highlight[data-color=pink],.dou-editor-palette mark[data-color=pink],.dou-editor-colors__swatch[data-highlight=pink]{--dou-editor-mark-color:var(--dou-editor-highlight-pink)}.dou-editor-colors__swatch{display:inline-flex;box-sizing:border-box;border:1px solid var(--dou-color-border);border-radius:calc(var(--dou-radius-control) - 2px);background-color:var(--dou-editor-mark-color,transparent);color:var(--dou-editor-text-color,var(--dou-color-text));font-size:var(--dou-font-size-sm);font-weight:var(--dou-font-weight-bold);justify-content:center;align-items: center;width:20px;height:20px;line-height:1}.dou-dropdown__item:focus .dou-editor-colors__swatch{border-color:var(--dou-color-border-strong)}.dou-editor-colors__button:-webkit-any(:hover,[aria-expanded=true]) .dou-editor-colors__swatch{border-color:var(--dou-color-border-strong)}.dou-editor-colors__button:-moz-any(:hover,[aria-expanded=true]) .dou-editor-colors__swatch{border-color:var(--dou-color-border-strong)}.dou-editor-colors__button:is(:hover,[aria-expanded=true]) .dou-editor-colors__swatch{border-color:var(--dou-color-border-strong)}.dou-editor-colors__letter{display:block;text-box:trim-both cap alphabetic}.dou-editor__search{position:sticky;z-index:5;display:flex;container-type:inline-size;pointer-events:none;justify-content:flex-end;align-items: flex-start;height:0;top:8px}.dou-editor__search>*{pointer-events:auto}.dou-editor__match{background-color:var(--dou-editor-match);border-radius:2px}.dou-editor__match.is-current{box-shadow:0 0 0 1px var(--dou-editor-match-current)}}
|
package/dist/style.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import 'dou-ui/components/autocomplete/style'
|
|
2
|
+
import 'dou-ui/components/command/style'
|
|
2
3
|
import 'dou-ui/components/comment-thread/style'
|
|
3
4
|
import 'dou-ui/components/copy-button/style'
|
|
4
|
-
import 'dou-ui/components/
|
|
5
|
+
import 'dou-ui/components/popover/style'
|
|
5
6
|
import 'dou-ui/components/toggle/style'
|
|
6
7
|
import 'dou-ui/components/toolbar/style'
|
|
7
8
|
import 'dou-ui/components/find-replace/style'
|
|
@@ -186,6 +186,11 @@ declare const __VLS_export: import("vue").DefineComponent<EditorProps, EditorExp
|
|
|
186
186
|
edit?: string | undefined;
|
|
187
187
|
view?: string | undefined;
|
|
188
188
|
resize?: string | undefined;
|
|
189
|
+
addNode?: string | undefined;
|
|
190
|
+
searchNodes?: string | undefined;
|
|
191
|
+
noNodes?: string | undefined;
|
|
192
|
+
node?: string | undefined;
|
|
193
|
+
emptyFlow?: string | undefined;
|
|
189
194
|
} | undefined;
|
|
190
195
|
noResults?: string | undefined;
|
|
191
196
|
addBlock?: string | undefined;
|
|
@@ -15,6 +15,8 @@ export interface BoardBlockSettings {
|
|
|
15
15
|
extensions: (FlowExtension | FlowExtension[])[];
|
|
16
16
|
editorProps: FlowBlockEditorProps;
|
|
17
17
|
height: number;
|
|
18
|
+
/** When the extensions offer no node to add, offer one with ports (not on a whiteboard, which has its tools). */
|
|
19
|
+
fallbackNode: boolean;
|
|
18
20
|
}
|
|
19
21
|
/**
|
|
20
22
|
* A block's `board` prop as a flow document; one that is missing or not
|
package/dist/types/index.d.ts
CHANGED
|
@@ -184,6 +184,11 @@ export declare const DouEditor: import("dou-ui").WithInstall<import("vue").Defin
|
|
|
184
184
|
edit?: string | undefined;
|
|
185
185
|
view?: string | undefined;
|
|
186
186
|
resize?: string | undefined;
|
|
187
|
+
addNode?: string | undefined;
|
|
188
|
+
searchNodes?: string | undefined;
|
|
189
|
+
noNodes?: string | undefined;
|
|
190
|
+
node?: string | undefined;
|
|
191
|
+
emptyFlow?: string | undefined;
|
|
187
192
|
} | undefined;
|
|
188
193
|
noResults?: string | undefined;
|
|
189
194
|
addBlock?: string | undefined;
|
package/dist/types/locale.d.ts
CHANGED
|
@@ -174,6 +174,13 @@ export interface EditorMessages {
|
|
|
174
174
|
edit: string;
|
|
175
175
|
view: string;
|
|
176
176
|
resize: string;
|
|
177
|
+
/** The button that adds a node to a flow, and the name of the node a flow block offers. */
|
|
178
|
+
addNode: string;
|
|
179
|
+
searchNodes: string;
|
|
180
|
+
noNodes: string;
|
|
181
|
+
node: string;
|
|
182
|
+
/** On an empty flow in the fullscreen editor. */
|
|
183
|
+
emptyFlow: string;
|
|
177
184
|
};
|
|
178
185
|
noResults: string;
|
|
179
186
|
addBlock: string;
|