@haklex/rich-ext-nested-doc 0.1.0 → 0.2.0

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.
@@ -1 +1,2 @@
1
- :root{--rc-text: #000;--rc-text-secondary: #262626;--rc-text-tertiary: #737373;--rc-text-quaternary: #a3a3a3;--rc-bg: #ffffff;--rc-bg-secondary: #fafafa;--rc-bg-tertiary: #f5f5f5;--rc-fill: #e8e8e8;--rc-fill-secondary: #eeeeee;--rc-fill-tertiary: #f5f5f5;--rc-fill-quaternary: #fafafa;--rc-border: #f5f5f5;--rc-accent: #2563eb;--rc-accent-light: #2563eb20;--rc-link: #2563eb;--rc-code-text: #404040;--rc-code-bg: #f5f5f5;--rc-hr-border: #e5e5e5;--rc-quote-border: #2563eb;--rc-quote-bg: #f5f5f5;--rc-alert-info: #006bb7;--rc-alert-warning: #cc5500;--rc-alert-tip: #11cc00;--rc-alert-caution: #cc0011;--rc-alert-important: #5500cc;--rc-max-width: 700px;--rc-shadow-top-bar: 0 8px 30px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .06);--rc-shadow-modal: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);--rc-shadow-menu: 0 1px 4px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.08);--rc-space-xs: 4px;--rc-space-sm: 8px;--rc-space-md: 16px;--rc-space-lg: 24px;--rc-space-xl: 32px;--rc-font-family-sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-font-family-serif: "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-font-family-kai: "楷体", KaiTi, STKaiti, "Kaiti SC", "LXGW WenKai", "霞鹜文楷", "Noto Serif CJK SC", serif;--rc-font-mono: "SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;--rc-font-size-2xs: .625em;--rc-font-size-xs: .75em;--rc-font-size-sm: .8125em;--rc-font-size-md: .875em;--rc-font-size-lg: 1.25em;--rc-font-size-base: 16px;--rc-font-size-small: 14px;--rc-line-height: 1.7;--rc-line-height-tight: 1.4;--rc-font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-radius-sm: 4px;--rc-radius-md: 8px;--rc-radius-lg: 12px}:root.dark{--rc-text: #fafafa;--rc-text-secondary: #a3a3a3;--rc-text-tertiary: #737373;--rc-text-quaternary: #525252;--rc-bg: #0a0a0a;--rc-bg-secondary: #171717;--rc-bg-tertiary: #262626;--rc-fill: #2a2a2a;--rc-fill-secondary: #222222;--rc-fill-tertiary: #1a1a1a;--rc-fill-quaternary: #141414;--rc-border: #262626;--rc-accent: #60a5fa;--rc-accent-light: #60a5fa20;--rc-link: #60a5fa;--rc-code-text: #d4d4d4;--rc-code-bg: #262626;--rc-hr-border: #262626;--rc-quote-border: #60a5fa;--rc-quote-bg: #262626;--rc-alert-info: #7db9e5;--rc-alert-warning: #da864a;--rc-alert-tip: #54da48;--rc-alert-caution: #e16973;--rc-alert-important: #9966e0;--rc-max-width: 700px;--rc-shadow-top-bar: 0 8px 30px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .3);--rc-shadow-modal: 0 10px 15px -3px rgba(0,0,0,.4), 0 4px 6px -4px rgba(0,0,0,.35);--rc-shadow-menu: 0 1px 4px rgba(0,0,0,.25), 0 4px 16px rgba(0,0,0,.4);--rc-space-xs: 4px;--rc-space-sm: 8px;--rc-space-md: 16px;--rc-space-lg: 24px;--rc-space-xl: 32px;--rc-font-family-sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-font-family-serif: "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-font-family-kai: "楷体", KaiTi, STKaiti, "Kaiti SC", "LXGW WenKai", "霞鹜文楷", "Noto Serif CJK SC", serif;--rc-font-mono: "SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;--rc-font-size-2xs: .625em;--rc-font-size-xs: .75em;--rc-font-size-sm: .8125em;--rc-font-size-md: .875em;--rc-font-size-lg: 1.25em;--rc-font-size-base: 16px;--rc-font-size-small: 14px;--rc-line-height: 1.7;--rc-line-height-tight: 1.4;--rc-font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-radius-sm: 4px;--rc-radius-md: 8px;--rc-radius-lg: 12px}[data-theme=dark]{--rc-text: #fafafa;--rc-text-secondary: #a3a3a3;--rc-text-tertiary: #737373;--rc-text-quaternary: #525252;--rc-bg: #0a0a0a;--rc-bg-secondary: #171717;--rc-bg-tertiary: #262626;--rc-fill: #2a2a2a;--rc-fill-secondary: #222222;--rc-fill-tertiary: #1a1a1a;--rc-fill-quaternary: #141414;--rc-border: #262626;--rc-accent: #60a5fa;--rc-accent-light: #60a5fa20;--rc-link: #60a5fa;--rc-code-text: #d4d4d4;--rc-code-bg: #262626;--rc-hr-border: #262626;--rc-quote-border: #60a5fa;--rc-quote-bg: #262626;--rc-alert-info: #7db9e5;--rc-alert-warning: #da864a;--rc-alert-tip: #54da48;--rc-alert-caution: #e16973;--rc-alert-important: #9966e0;--rc-max-width: 700px;--rc-shadow-top-bar: 0 8px 30px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .3);--rc-shadow-modal: 0 10px 15px -3px rgba(0,0,0,.4), 0 4px 6px -4px rgba(0,0,0,.35);--rc-shadow-menu: 0 1px 4px rgba(0,0,0,.25), 0 4px 16px rgba(0,0,0,.4);--rc-space-xs: 4px;--rc-space-sm: 8px;--rc-space-md: 16px;--rc-space-lg: 24px;--rc-space-xl: 32px;--rc-font-family-sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-font-family-serif: "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-font-family-kai: "楷体", KaiTi, STKaiti, "Kaiti SC", "LXGW WenKai", "霞鹜文楷", "Noto Serif CJK SC", serif;--rc-font-mono: "SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;--rc-font-size-2xs: .625em;--rc-font-size-xs: .75em;--rc-font-size-sm: .8125em;--rc-font-size-md: .875em;--rc-font-size-lg: 1.25em;--rc-font-size-base: 16px;--rc-font-size-small: 14px;--rc-line-height: 1.7;--rc-line-height-tight: 1.4;--rc-font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-radius-sm: 4px;--rc-radius-md: 8px;--rc-radius-lg: 12px}._1kl9cd60{--rc-text: #000;--rc-text-secondary: #262626;--rc-text-tertiary: #737373;--rc-text-quaternary: #a3a3a3;--rc-bg: #ffffff;--rc-bg-secondary: #fafafa;--rc-bg-tertiary: #f5f5f5;--rc-fill: #e8e8e8;--rc-fill-secondary: #eeeeee;--rc-fill-tertiary: #f5f5f5;--rc-fill-quaternary: #fafafa;--rc-border: #f5f5f5;--rc-accent: #2563eb;--rc-accent-light: #2563eb20;--rc-link: #2563eb;--rc-code-text: #404040;--rc-code-bg: #f5f5f5;--rc-hr-border: #e5e5e5;--rc-quote-border: #2563eb;--rc-quote-bg: #f5f5f5;--rc-alert-info: #006bb7;--rc-alert-warning: #cc5500;--rc-alert-tip: #11cc00;--rc-alert-caution: #cc0011;--rc-alert-important: #5500cc;--rc-max-width: 700px;--rc-shadow-top-bar: 0 8px 30px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .06);--rc-shadow-modal: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);--rc-shadow-menu: 0 1px 4px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.08);--rc-space-xs: 4px;--rc-space-sm: 8px;--rc-space-md: 16px;--rc-space-lg: 24px;--rc-space-xl: 32px;--rc-font-family-sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-font-family-serif: "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-font-family-kai: "楷体", KaiTi, STKaiti, "Kaiti SC", "LXGW WenKai", "霞鹜文楷", "Noto Serif CJK SC", serif;--rc-font-mono: "SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;--rc-font-size-2xs: .625em;--rc-font-size-xs: .75em;--rc-font-size-sm: .8125em;--rc-font-size-md: .875em;--rc-font-size-lg: 1.25em;--rc-font-size-base: 16px;--rc-font-size-small: 14px;--rc-line-height: 1.7;--rc-line-height-tight: 1.4;--rc-font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-radius-sm: 4px;--rc-radius-md: 8px;--rc-radius-lg: 12px}._1kl9cd61{--rc-text: #000;--rc-text-secondary: #262626;--rc-text-tertiary: #737373;--rc-text-quaternary: #a3a3a3;--rc-bg: #ffffff;--rc-bg-secondary: #fafafa;--rc-bg-tertiary: #f5f5f5;--rc-fill: #e8e8e8;--rc-fill-secondary: #eeeeee;--rc-fill-tertiary: #f5f5f5;--rc-fill-quaternary: #fafafa;--rc-border: #f5f5f5;--rc-accent: #2563eb;--rc-accent-light: #2563eb20;--rc-link: #2563eb;--rc-code-text: #404040;--rc-code-bg: #f5f5f5;--rc-hr-border: #e5e5e5;--rc-quote-border: #2563eb;--rc-quote-bg: #f5f5f5;--rc-alert-info: #006bb7;--rc-alert-warning: #cc5500;--rc-alert-tip: #11cc00;--rc-alert-caution: #cc0011;--rc-alert-important: #5500cc;--rc-max-width: 700px;--rc-shadow-top-bar: 0 8px 30px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .06);--rc-shadow-modal: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);--rc-shadow-menu: 0 1px 4px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.08);--rc-space-xs: 4px;--rc-space-sm: 8px;--rc-space-md: 16px;--rc-space-lg: 24px;--rc-space-xl: 32px;--rc-font-family-sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-font-family-serif: "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-font-family-kai: "楷体", KaiTi, STKaiti, "Kaiti SC", "LXGW WenKai", "霞鹜文楷", "Noto Serif CJK SC", serif;--rc-font-mono: "SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;--rc-font-size-2xs: .625em;--rc-font-size-xs: .75em;--rc-font-size-sm: .8125em;--rc-font-size-md: .875em;--rc-font-size-lg: 1.25em;--rc-font-size-base: 16px;--rc-font-size-small: 14px;--rc-line-height: 1.8;--rc-line-height-tight: 1.4;--rc-font-family: "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-radius-sm: 4px;--rc-radius-md: 8px;--rc-radius-lg: 12px}._1kl9cd62{--rc-text: #000;--rc-text-secondary: #262626;--rc-text-tertiary: #737373;--rc-text-quaternary: #a3a3a3;--rc-bg: #ffffff;--rc-bg-secondary: #fafafa;--rc-bg-tertiary: #f5f5f5;--rc-fill: #e8e8e8;--rc-fill-secondary: #eeeeee;--rc-fill-tertiary: #f5f5f5;--rc-fill-quaternary: #fafafa;--rc-border: #f5f5f5;--rc-accent: #2563eb;--rc-accent-light: #2563eb20;--rc-link: #2563eb;--rc-code-text: #404040;--rc-code-bg: #f5f5f5;--rc-hr-border: #e5e5e5;--rc-quote-border: #a3a3a3;--rc-quote-bg: #fafafa;--rc-alert-info: #006bb7;--rc-alert-warning: #cc5500;--rc-alert-tip: #11cc00;--rc-alert-caution: #cc0011;--rc-alert-important: #5500cc;--rc-max-width: none;--rc-shadow-top-bar: 0 8px 30px rgba(0, 0, 0, .12), 0 2px 8px rgba(0, 0, 0, .06);--rc-shadow-modal: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);--rc-shadow-menu: 0 1px 4px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.08);--rc-space-xs: 2px;--rc-space-sm: 4px;--rc-space-md: 10px;--rc-space-lg: 16px;--rc-space-xl: 20px;--rc-font-family-sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-font-family-serif: "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-font-family-kai: "楷体", KaiTi, STKaiti, "Kaiti SC", "LXGW WenKai", "霞鹜文楷", "Noto Serif CJK SC", serif;--rc-font-mono: "SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;--rc-font-size-2xs: .625em;--rc-font-size-xs: .75em;--rc-font-size-sm: .8125em;--rc-font-size-md: .875em;--rc-font-size-lg: 1.25em;--rc-font-size-base: 14px;--rc-font-size-small: 12px;--rc-line-height: 1.5;--rc-line-height-tight: 1.3;--rc-font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-radius-sm: 3px;--rc-radius-md: 6px;--rc-radius-lg: 12px}.dark ._1kl9cd60,[data-theme=dark] ._1kl9cd60,.dark._1kl9cd60,[data-theme=dark]._1kl9cd60,.dark ._1kl9cd61,[data-theme=dark] ._1kl9cd61,.dark._1kl9cd61,[data-theme=dark]._1kl9cd61,.dark ._1kl9cd62,[data-theme=dark] ._1kl9cd62,.dark._1kl9cd62,[data-theme=dark]._1kl9cd62{--rc-text: #fafafa;--rc-text-secondary: #a3a3a3;--rc-text-tertiary: #737373;--rc-text-quaternary: #525252;--rc-bg: #0a0a0a;--rc-bg-secondary: #171717;--rc-bg-tertiary: #262626;--rc-fill: #2a2a2a;--rc-fill-secondary: #222222;--rc-fill-tertiary: #1a1a1a;--rc-fill-quaternary: #141414;--rc-border: #262626;--rc-accent: #60a5fa;--rc-accent-light: #60a5fa20;--rc-link: #60a5fa;--rc-code-text: #d4d4d4;--rc-code-bg: #262626;--rc-hr-border: #262626;--rc-quote-border: #60a5fa;--rc-quote-bg: #262626;--rc-alert-info: #7db9e5;--rc-alert-warning: #da864a;--rc-alert-tip: #54da48;--rc-alert-caution: #e16973;--rc-alert-important: #9966e0;--rc-shadow-top-bar: 0 8px 30px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .3);--rc-shadow-modal: 0 10px 15px -3px rgba(0,0,0,.4), 0 4px 6px -4px rgba(0,0,0,.35);--rc-shadow-menu: 0 1px 4px rgba(0,0,0,.25), 0 4px 16px rgba(0,0,0,.4)}@keyframes ds1tv40{to{--rc-hl-highlighted: 1}}@keyframes ds1tv41{0%{background-color:#ef44443d}to{background-color:transparent}}.ds1tv42{font-family:var(--rc-font-family);font-size:var(--rc-font-size-base);line-height:var(--rc-line-height);color:var(--rc-text);word-wrap:break-word;overflow-wrap:break-word}.ds1tv43{margin:0 0 1em;line-height:var(--rc-line-height)}.ds1tv44{font-weight:700}.ds1tv45{font-style:italic}.ds1tv46{text-decoration:underline}.ds1tv47{text-decoration:line-through;opacity:.65}.ds1tv48{vertical-align:super;font-size:.8em}.ds1tv49{vertical-align:sub;font-size:.8em}.ds1tv4a{font-family:var(--rc-font-mono);font-size:.9em;background-color:var(--rc-code-bg);color:inherit;padding:2px 6px;border-radius:var(--rc-radius-sm);border:1px solid var(--rc-border)}[contenteditable=true] .ds1tv4a{padding-right:0}.ds1tv4b{--rc-hl-lightness: .3;--rc-hl-highlighted: 1;--rc-hl-color: oklch(from var(--rc-accent) l c h / var(--rc-hl-lightness));background:linear-gradient(120deg,var(--rc-hl-color, lightblue) 50%,transparent 50%) 110% 0 / 200% 100% no-repeat;background-position:calc((1 - var(--rc-hl-highlighted)) * 110%) 0;color:var(--rc-text);transition:background-position 1s}[contenteditable=true] .ds1tv4b{--rc-hl-highlighted: 1;animation:none}[data-theme=dark] .ds1tv4b{--rc-hl-lightness: .35}.ds1tv4c{position:absolute;left:-1.25rem;top:0;bottom:0;display:flex;align-items:center;text-decoration:none;color:var(--rc-text-secondary);opacity:0;transition:opacity .15s ease;font-size:.8rem}.ds1tv4d{position:relative;font-size:2em;font-weight:700;line-height:var(--rc-line-height-tight);margin-top:1.5em;margin-bottom:.5em}[contenteditable=true] .ds1tv4d:before{content:"H1";position:absolute;left:-1.5rem;bottom:.5rem;display:flex;font-size:.5rem;font-weight:600;color:var(--rc-text-secondary);opacity:.6;pointer-events:none;font-family:var(--rc-font-mono)}.ds1tv4e{position:relative;font-size:1.5em;font-weight:700;line-height:var(--rc-line-height-tight);margin-top:1.4em;margin-bottom:.45em}[contenteditable=true] .ds1tv4e:before{content:"H2";position:absolute;left:-1.5rem;bottom:.5rem;display:flex;font-size:.5rem;font-weight:600;color:var(--rc-text-secondary);opacity:.6;pointer-events:none;font-family:var(--rc-font-mono)}.ds1tv4f{position:relative;font-size:1.25em;font-weight:600;line-height:var(--rc-line-height-tight);margin-top:1.3em;margin-bottom:.4em}[contenteditable=true] .ds1tv4f:before{content:"H3";position:absolute;left:-1.5rem;bottom:.5rem;display:flex;font-size:.5rem;font-weight:600;color:var(--rc-text-secondary);opacity:.6;pointer-events:none;font-family:var(--rc-font-mono)}.ds1tv4g{position:relative;font-size:1.125em;font-weight:600;line-height:var(--rc-line-height-tight);margin-top:1.2em;margin-bottom:.35em}[contenteditable=true] .ds1tv4g:before{content:"H4";position:absolute;left:-1.5rem;bottom:.5rem;display:flex;font-size:.5rem;font-weight:600;color:var(--rc-text-secondary);opacity:.6;pointer-events:none;font-family:var(--rc-font-mono)}.ds1tv4h{position:relative;font-size:1em;font-weight:600;line-height:var(--rc-line-height-tight);margin-top:1.1em;margin-bottom:.3em}[contenteditable=true] .ds1tv4h:before{content:"H5";position:absolute;left:-1.5rem;bottom:.5rem;display:flex;font-size:.5rem;font-weight:600;color:var(--rc-text-secondary);opacity:.6;pointer-events:none;font-family:var(--rc-font-mono)}.ds1tv4i{position:relative;font-size:.875em;font-weight:600;line-height:var(--rc-line-height-tight);margin-top:1em;margin-bottom:.25em;color:var(--rc-text)}[contenteditable=true] .ds1tv4i:before{content:"H6";position:absolute;left:-1.5rem;bottom:.5rem;display:flex;font-size:.5rem;font-weight:600;color:var(--rc-text-secondary);opacity:.6;pointer-events:none;font-family:var(--rc-font-mono)}.ds1tv4j{color:var(--rc-link);text-decoration:none;transition:color .2s ease}.ds1tv4j:hover{text-decoration:underline}.ds1tv4j[data-favicon=loaded]:before{content:"";display:inline-block;width:1em;height:1em;margin-right:.2em;vertical-align:-.125em;background-image:var(--rc-link-favicon);background-size:contain;background-repeat:no-repeat;background-position:center;border-radius:2px}.ds1tv4k{display:inline-flex;align-items:center;margin-right:.15em;vertical-align:-.125em}.ds1tv4l{list-style-type:decimal;padding-left:var(--rc-space-lg);margin-bottom:1em}.ds1tv4m{list-style-type:disc;padding-left:var(--rc-space-lg);margin-bottom:1em}.ds1tv4n{margin-bottom:.25em}.ds1tv4o{list-style-type:none}.ds1tv4p{list-style-type:none;padding-left:0}.ds1tv4q{--rc-cb-size: 1.125rem;position:relative;padding-left:2em;list-style-type:none;outline:none;transition:color .25s ease}.ds1tv4q:before{content:"";position:absolute;left:0;top:calc((1lh - var(--rc-cb-size)) / 2);width:var(--rc-cb-size);height:var(--rc-cb-size);border:1.5px solid var(--rc-text-quaternary);border-radius:var(--rc-radius-sm);box-sizing:border-box;cursor:pointer;background-color:transparent;transition:background-color .25s cubic-bezier(.4,0,.2,1),border-color .25s cubic-bezier(.4,0,.2,1),transform .15s ease}.ds1tv4q:after{content:"";position:absolute;left:calc(var(--rc-cb-size) * .32);top:calc((1lh - var(--rc-cb-size)) / 2 + var(--rc-cb-size) * .14);width:calc(var(--rc-cb-size) * .28);height:calc(var(--rc-cb-size) * .55);border-right:2px solid var(--rc-accent);border-bottom:2px solid var(--rc-accent);box-sizing:border-box;display:block;pointer-events:none;transform:rotate(45deg) scale(0);transform-origin:center;opacity:0;transition:transform .3s cubic-bezier(.34,1.56,.64,1) .1s,opacity .15s ease}[contenteditable=true] .ds1tv4q:active:before{transform:scale(.94)}[contenteditable=true] .ds1tv4q:hover:before{border-color:var(--rc-text-tertiary)}.ds1tv4r{--rc-cb-size: 1.125rem;position:relative;padding-left:2em;list-style-type:none;outline:none;transition:color .25s ease;color:var(--rc-text-secondary)}.ds1tv4r:before{content:"";position:absolute;left:0;top:calc((1lh - var(--rc-cb-size)) / 2);width:var(--rc-cb-size);height:var(--rc-cb-size);border:1.5px solid var(--rc-text-quaternary);border-radius:var(--rc-radius-sm);box-sizing:border-box;cursor:pointer;background-color:var(--rc-accent-light);transition:background-color .25s cubic-bezier(.4,0,.2,1),border-color .25s cubic-bezier(.4,0,.2,1),transform .15s ease;border-color:var(--rc-accent)}.ds1tv4r:after{content:"";position:absolute;left:calc(var(--rc-cb-size) * .32);top:calc((1lh - var(--rc-cb-size)) / 2 + var(--rc-cb-size) * .14);width:calc(var(--rc-cb-size) * .28);height:calc(var(--rc-cb-size) * .55);border-right:2px solid var(--rc-accent);border-bottom:2px solid var(--rc-accent);box-sizing:border-box;display:block;pointer-events:none;transform:rotate(45deg) scale(1);transform-origin:center;opacity:1;transition:transform .3s cubic-bezier(.34,1.56,.64,1) .1s,opacity .15s ease}[contenteditable=true] .ds1tv4r:active:before{transform:scale(.94)}[contenteditable=true] .ds1tv4r:hover:before{background-color:color-mix(in oklab,var(--rc-accent) 12%,transparent)}.ds1tv4s{position:relative;background-color:var(--rc-quote-bg);margin:var(--rc-space-md) 0;padding:var(--rc-space-sm) var(--rc-space-md);padding-left:calc(var(--rc-space-md) + 4px);font-style:normal;color:var(--rc-text-secondary);border-radius:0 var(--rc-radius-sm) var(--rc-radius-sm) 0}.ds1tv4s:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:var(--rc-radius-sm);background-color:var(--rc-quote-border)}.ds1tv4t{border:none;border-top:1px solid var(--rc-hr-border);margin:var(--rc-space-lg) auto;width:60px}.ds1tv4u{overflow-x:auto}.ds1tv4v{border:none;border-bottom:1px solid var(--rc-border);border-right:1px solid var(--rc-border);padding:1.25em var(--rc-space-lg);text-align:left;vertical-align:middle;line-height:1.5}.ds1tv4v:last-child{border-right:none}.ds1tv4w{border:none;border-bottom:1px solid var(--rc-border);border-right:1px solid var(--rc-border);padding:var(--rc-space-md) var(--rc-space-lg);text-align:left;font-weight:600;font-size:.75em;text-transform:uppercase;letter-spacing:.05em;color:var(--rc-text-secondary);background-color:var(--rc-bg-secondary);vertical-align:middle;line-height:1.5;position:sticky;top:0;z-index:1}.ds1tv4w:last-child{border-right:none}.ds1tv4x{width:100%;border-collapse:separate;border-spacing:0;margin:var(--rc-space-lg) 0;font-size:var(--rc-font-size-small);border:1px solid var(--rc-border);border-radius:var(--rc-radius-md);overflow:hidden}.ds1tv4y{background-color:var(--rc-text);color:transparent;border-radius:var(--rc-radius-sm);padding-inline:4px;cursor:pointer;transition:background-color .3s ease,color .3s ease;user-select:none}[contenteditable=true] .ds1tv4y{background-color:color-mix(in srgb,var(--rc-text) 30%,transparent);color:inherit;user-select:auto;cursor:text}.ds1tv4y:hover{background-color:transparent;color:inherit;user-select:auto}.rich-content .ds1tv4y{background-color:var(--rc-text-tertiary);color:transparent}.rich-content .ds1tv4y:not(:hover):not(.rich-spoiler-revealed) *{color:transparent!important}.rich-content .ds1tv4y:hover,.ds1tv4z{background-color:transparent;color:inherit;user-select:auto}.ds1tv410{display:inline-block;border-radius:999px;padding-inline:.75em;font-size:var(--rc-font-size-small);line-height:1.6;vertical-align:baseline}.ds1tv411{display:inline-block;font-family:var(--rc-font-mono);font-size:var(--rc-font-size-small);color:var(--rc-text-secondary);background-color:var(--rc-code-bg);border:1px dashed var(--rc-border);border-radius:var(--rc-radius-sm);padding:2px 6px;white-space:break-spaces}.ds1tv411:before{content:"<!--";opacity:.7}.ds1tv411:after{content:"-->";opacity:.7}.ds1tv412{ruby-position:over;ruby-align:center}[contenteditable=true] .ds1tv412[data-ruby]{position:relative;display:inline-block;padding-top:.72em;line-height:1.2}[contenteditable=true] .ds1tv412[data-ruby]:before{content:attr(data-ruby);position:absolute;left:0;right:0;top:0;transform:translateY(-.68em);font-size:.58em;line-height:1;text-align:center;color:var(--rc-text-secondary);pointer-events:none;white-space:nowrap}.ds1tv413{font-size:.58em;line-height:1;color:var(--rc-text-secondary);user-select:none}.ds1tv414{vertical-align:super;font-size:.8em}.ds1tv415{display:inline-flex;align-items:center;justify-content:center;min-width:1.5em;text-decoration:none;color:var(--rc-accent);background-color:var(--rc-accent-light);border-radius:999px;padding:0 .35em;line-height:1.45;font-weight:600;font-size:.82em;transition:filter .15s ease}.ds1tv415:hover{filter:brightness(.96)}.ds1tv416{animation:ds1tv41 1.2s ease-out}.ds1tv417{position:relative;display:inline}.ds1tv418{margin-top:var(--rc-space-lg)}.ds1tv419{border:none;border-top:1px solid var(--rc-border);margin:var(--rc-space-lg) 0 var(--rc-space-md)}.ds1tv41a{list-style-type:decimal;padding-left:var(--rc-space-lg);font-size:var(--rc-font-size-small);color:var(--rc-text-secondary);line-height:1.6}.ds1tv41b{margin-bottom:var(--rc-space-sm);padding-left:var(--rc-space-xs)}.ds1tv41c{display:inline-flex;align-items:center;margin-left:var(--rc-space-xs);color:var(--rc-accent);text-decoration:none;font-size:.85em;transition:opacity .15s ease;font-family:var(--rc-font-mono)}.ds1tv41c:hover{opacity:.7}.ds1tv41d{display:flex;align-items:center;gap:var(--rc-space-sm);list-style-type:none}.ds1tv41e{flex-shrink:0;color:var(--rc-text-secondary);font-size:var(--rc-font-size-small);font-weight:600;min-width:1.5em}.ds1tv41f{flex:1;border:1px solid var(--rc-border);border-radius:var(--rc-radius-sm);padding:var(--rc-space-xs) var(--rc-space-sm);font-size:var(--rc-font-size-small);color:var(--rc-text);background-color:transparent;outline:none;transition:border-color .15s ease}.ds1tv41f:focus{border-color:var(--rc-accent)}.ds1tv41g{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:none;background:none;color:var(--rc-text-secondary);cursor:pointer;border-radius:var(--rc-radius-sm);font-size:14px;transition:color .15s ease,background-color .15s ease}.ds1tv41g:hover{color:#ef4444;background-color:#ef44441a}.ds1tv41h{position:absolute;display:flex;align-items:center;justify-content:center;width:20px;height:20px;cursor:grab;border-radius:var(--rc-radius-sm);color:var(--rc-text-secondary);opacity:.4;transition:opacity .15s ease,background-color .15s ease;z-index:10}.ds1tv41h:hover{opacity:1;background-color:var(--rc-fill-secondary)}.ds1tv41h:active{cursor:grabbing}.ds1tv41i{position:absolute;height:2px;background-color:var(--rc-accent);border-radius:1px;pointer-events:none;z-index:10}.ds1tv41j{margin:2em 0;padding:0 1em;background-color:transparent;border:none;border-radius:0}.ds1tv42 mark{background:transparent}.ds1tv42 img{max-width:100%;height:auto;border-radius:var(--rc-radius-md)}.ds1tv42>*:first-child,.ds1tv42 .rich-editor__content>*:first-child{margin-top:0}.ds1tv42>*:last-child,.ds1tv42 .rich-editor__content>*:last-child{margin-bottom:0}.ds1tv4c svg{flex-shrink:0}.ds1tv4d:hover .ds1tv4c{opacity:.5}.ds1tv4d:hover .ds1tv4c:hover{opacity:1}.ds1tv4e:hover .ds1tv4c{opacity:.5}.ds1tv4e:hover .ds1tv4c:hover{opacity:1}.ds1tv4f:hover .ds1tv4c{opacity:.5}.ds1tv4f:hover .ds1tv4c:hover{opacity:1}.ds1tv4g:hover .ds1tv4c{opacity:.5}.ds1tv4g:hover .ds1tv4c:hover{opacity:1}.ds1tv4h:hover .ds1tv4c{opacity:.5}.ds1tv4h:hover .ds1tv4c:hover{opacity:1}.ds1tv4i:hover .ds1tv4c{opacity:.5}.ds1tv4i:hover .ds1tv4c:hover{opacity:1}.ds1tv4k img{width:1em;height:1em;border-radius:2px;object-fit:contain}.ds1tv4k svg{width:.9em;height:.9em}.ds1tv4o .ds1tv4l{list-style-type:lower-alpha}.ds1tv4o .ds1tv4m{list-style-type:circle}.ds1tv4r>*,.ds1tv4q>*{background-image:linear-gradient(var(--rc-text-secondary),var(--rc-text-secondary));background-size:0% 1.5px;background-position:left center;background-repeat:no-repeat;transition:background-size .35s cubic-bezier(.4,0,.2,1) .15s,opacity .15s ease}.ds1tv4r>*{background-size:100% 1.5px;opacity:.5}.ds1tv4s>.ds1tv43:first-child{margin-top:0}.ds1tv4s>.ds1tv43:last-child{margin-bottom:0}.ds1tv4x tbody tr:last-child .ds1tv4v{border-bottom:none}.ds1tv4v .ds1tv43{margin:0;padding:0;line-height:inherit}.ds1tv4v>:first-child{margin-top:0}.ds1tv4v>:last-child{margin-bottom:0}.ds1tv4w .ds1tv43{margin:0;padding:0;line-height:inherit}.ds1tv4w>:first-child{margin-top:0}.ds1tv4w>:last-child{margin-bottom:0}@supports (animation-timeline: view()){.ds1tv4b{--rc-hl-highlighted: 0;animation:ds1tv40 steps(1) both;animation-timeline:view();animation-range:entry 100% cover 10%}}._135nao50{margin:var(--rc-space-md) 0;border:none;background-color:transparent;interpolate-size:allow-keywords}._135nao51{display:flex;align-items:flex-start;gap:var(--rc-space-sm);cursor:pointer;user-select:none;padding:var(--rc-space-xs) 0;color:var(--rc-text);font-weight:500;font-size:1em;line-height:var(--rc-line-height);list-style:none;outline:none;border-radius:var(--rc-radius-sm);transition:opacity .2s ease,color .2s ease,box-shadow .2s ease}._135nao51:hover{opacity:.82}._135nao51:focus-visible{box-shadow:0 0 0 2px var(--rc-accent-light)}._135nao51::-webkit-details-marker{display:none}._135nao51::marker{content:"";display:none}._135nao52{flex:1;min-width:0}._135nao53{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;position:relative;top:.25rem;flex-shrink:0;color:var(--rc-text-tertiary);transform-origin:center;transition:transform .35s cubic-bezier(.4,0,.2,1),color .2s ease}._135nao54{margin-top:var(--rc-space-xs);padding:var(--rc-space-sm) var(--rc-space-xl);color:var(--rc-text-secondary);background-color:color-mix(in srgb,var(--rc-accent) 6%,var(--rc-bg-secondary));border-radius:var(--rc-radius-md)}._135nao51:hover ._135nao53{color:var(--rc-text-secondary)}._135nao50[open] ._135nao53{color:var(--rc-accent);transform:rotate(90deg)}._135nao50::details-content{display:block;height:0;overflow:hidden;opacity:0;content-visibility:hidden;transition:height .4s cubic-bezier(.4,0,.2,1),opacity .4s cubic-bezier(.4,0,.2,1),content-visibility .4s cubic-bezier(.4,0,.2,1) allow-discrete}._135nao50[open]::details-content{height:auto;opacity:1;content-visibility:visible}._135nao54>.ds1tv43:first-child{margin-top:0}._135nao54>.ds1tv43:last-child{margin-bottom:0}._1pke0ca0{max-width:var(--rc-max-width);font-size:var(--rc-font-size-base);line-height:1.75;color:var(--rc-text)}._1pke0ca0 .ds1tv43{margin-top:1.5em;margin-bottom:1.5em}._1pke0ca0 .ds1tv4d{color:var(--rc-text);font-weight:800;font-size:3em;margin-top:0;margin-bottom:.8333333333333334em;line-height:1}._1pke0ca0 .ds1tv4e{color:var(--rc-text);font-weight:700;font-size:1.875em;margin-top:1.8666666666666667em;margin-bottom:1.0666666666666667em;line-height:1.3333333}._1pke0ca0 .ds1tv4f{color:var(--rc-text);font-weight:600;font-size:1.5em;margin-top:1.6666666666666667em;margin-bottom:.6666666666666666em;line-height:1.5}._1pke0ca0 .ds1tv4g{color:var(--rc-text);font-weight:600;margin-top:2em;margin-bottom:.5em;line-height:1.5625}._1pke0ca0 .ds1tv4e+*,._1pke0ca0 .ds1tv4f+*,._1pke0ca0 .ds1tv4g+*{margin-top:0}._1pke0ca0 .ds1tv4s{font-weight:500;font-style:italic;color:var(--rc-text);margin-top:2.5em;margin-bottom:2.5em;padding-left:calc(1.5em + 4px);background-color:transparent;border-radius:0;quotes:"“""”""‘""’"}._1pke0ca0 .ds1tv4s .ds1tv43:first-of-type:before{content:open-quote}._1pke0ca0 .ds1tv4s .ds1tv43:last-of-type:after{content:close-quote}._1pke0ca0 .ds1tv4s .ds1tv43:first-child{margin-top:0}._1pke0ca0 .ds1tv4s .ds1tv43:last-child{margin-bottom:0}._1pke0ca0 .ds1tv4a{color:inherit;font-weight:600;font-size:.875em;background-color:var(--rc-code-bg);padding:.2em .4em;border-radius:var(--rc-radius-sm);font-family:var(--rc-font-mono)}._1pke0ca0 .ds1tv4a:before,._1pke0ca0 .ds1tv4a:after{content:"`";color:var(--rc-text-secondary);opacity:.5}._1pke0ca0 [contenteditable=true] .ds1tv4a:before,._1pke0ca0 [contenteditable=true] .ds1tv4a:after{content:""}._1pke0ca0 .rich-code-block{color:var(--rc-text);background-color:var(--rc-code-bg);border-radius:.375rem;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.75}._1pke0ca0 .rich-code-block pre{padding:1em 1.5em;margin:0}._1pke0ca0 .ds1tv4m,._1pke0ca0 .ds1tv4l{margin-top:1.5em;margin-bottom:1.5em;padding-left:1.75em}._1pke0ca0 .ds1tv4n{margin-top:.75em;margin-bottom:.75em}._1pke0ca0 .ds1tv4n:not(.ds1tv4r):not(.ds1tv4q){padding-left:.5em}._1pke0ca0 .ds1tv4n .ds1tv43{margin-top:1em;margin-bottom:1em}._1pke0ca0 .ds1tv4n>.ds1tv43:first-child{margin-top:1.5em}._1pke0ca0 .ds1tv4n>.ds1tv43:last-child{margin-bottom:1.5em}._1pke0ca0 .ds1tv4m .ds1tv4m,._1pke0ca0 .ds1tv4m .ds1tv4l,._1pke0ca0 .ds1tv4l .ds1tv4m,._1pke0ca0 .ds1tv4l .ds1tv4l{margin-top:1em;margin-bottom:1em}._1pke0ca0 .ds1tv4x{margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.5}._1pke0ca0 .ds1tv4x .ds1tv43{margin:0;padding:0;line-height:inherit}._1pke0ca0 .rich-image{margin-top:2em;margin-bottom:2em}._1pke0ca0 .rich-image>*{margin-top:0;margin-bottom:0}._1pke0ca0 .rich-image figcaption{color:var(--rc-text-secondary);font-size:.875em;line-height:1.5;margin-top:1em}._1pke0ca0 .ds1tv4t{border-color:var(--rc-hr-border);border-top-width:1px;width:60px;margin:3.5em auto}._1pke0ca0 .ds1tv4t+*{margin-top:0}._1pke0ca0 .ds1tv4j{font-weight:500;text-decoration:underline}._1pke0ca0 .rich-banner,._1pke0ca0 .rich-code-snippet,._1pke0ca0 ._135nao50{margin:2em 0}._1pke0ca0>*:first-child{margin-top:0}._1pke0ca0>*:last-child{margin-bottom:0}.p5thnj0{display:inline;padding:0 2px;vertical-align:middle}.p5thnj1{display:block;text-align:center;padding:var(--rc-space-md) 0;overflow-x:auto;margin:var(--rc-space-md) 0}.p5thnj2{font-family:var(--rc-font-mono);font-size:.9em;color:var(--rc-code-text);background-color:var(--rc-code-bg);padding:2px 6px;border-radius:var(--rc-radius-sm)}._1iyoz3l0{font-size:var(--rc-font-size-base);line-height:var(--rc-line-height)}._1iyoz3l0 .ds1tv43{margin-bottom:.6em}._1iyoz3l0 .ds1tv4d{font-size:1.35em;font-weight:700;margin-top:.8em;margin-bottom:.3em}._1iyoz3l0 .ds1tv4e{font-size:1.2em;font-weight:700;margin-top:.7em;margin-bottom:.25em}._1iyoz3l0 .ds1tv4f{font-size:1.1em;font-weight:600;margin-top:.6em;margin-bottom:.2em}._1iyoz3l0 .ds1tv4g{font-size:1em;font-weight:600;margin-top:.5em;margin-bottom:.15em}._1iyoz3l0 .ds1tv4h{font-size:.9em;font-weight:600;margin-top:.45em;margin-bottom:.1em}._1iyoz3l0 .ds1tv4i{font-size:.85em;font-weight:600;margin-top:.4em;margin-bottom:.1em}._1iyoz3l0 .ds1tv4s{padding:var(--rc-space-sm) var(--rc-space-md);padding-left:calc(var(--rc-space-md) + 3px);margin:var(--rc-space-sm) 0;font-size:.95em}._1iyoz3l0 .ds1tv4s:before{width:3px}._1iyoz3l0 .ds1tv4l,._1iyoz3l0 .ds1tv4m{margin-bottom:.6em;padding-left:var(--rc-space-md)}._1iyoz3l0 .ds1tv4n{margin-bottom:.1em}._1iyoz3l0 .rich-code-block{margin:var(--rc-space-sm) 0;border-radius:var(--rc-radius-sm);font-size:var(--rc-font-size-small)}._1iyoz3l0 .rich-code-block pre{padding:var(--rc-space-sm)}._1iyoz3l0 .line:before{display:none!important}._1iyoz3l0 .ds1tv4x{margin:var(--rc-space-sm) 0;font-size:var(--rc-font-size-small)}._1iyoz3l0 .ds1tv4v,._1iyoz3l0 .ds1tv4w{padding:var(--rc-space-xs) var(--rc-space-sm)}._1iyoz3l0 .rich-image{margin:var(--rc-space-sm) 0}._1iyoz3l0 .rich-image figcaption{font-size:var(--rc-font-size-small)}._1iyoz3l0 .ds1tv4t{border:none;border-top:1px solid var(--rc-hr-border);margin:var(--rc-space-lg) auto;width:60px}._1iyoz3l0 .ds1tv41j{padding:var(--rc-space-sm) var(--rc-space-md);padding-left:var(--rc-space-lg);margin:var(--rc-space-sm) 0}._1iyoz3l0 .p5thnj1{padding:var(--rc-space-sm) 0;margin:var(--rc-space-sm) 0}.g7jfj60{max-width:var(--rc-max-width);font-size:var(--rc-font-size-base);line-height:1.8;color:var(--rc-text)}.g7jfj60 .rich-editor__content>.ds1tv43,.g7jfj60.rich-content:not([data-rich-nested=true])>.ds1tv43{margin-top:1.25em;margin-bottom:1.25em;line-height:1.8}.g7jfj60.rich-content:not([data-rich-nested=true])>.ds1tv43:not(:first-of-type){text-indent:2em}.g7jfj60 .rich-editor__content>.ds1tv43:first-of-type,.g7jfj60.rich-content:not([data-rich-nested=true])>.ds1tv43:first-of-type{margin-top:0}.g7jfj60 .rich-editor__content>.ds1tv43:not(:first-of-type)>[data-lexical-text]:first-child{margin-inline-start:2em}.g7jfj60.rich-content:not([data-rich-nested=true])>.ds1tv43:first-of-type:first-letter{float:left;font-size:2.4em;margin-right:.2em;line-height:1}.g7jfj60 .rich-editor__content>.ds1tv43:first-of-type:first-letter{font-size:1.5em;font-weight:700;color:var(--rc-accent)}.g7jfj60 .rich-editor__content>.ds1tv43:last-child,.g7jfj60.rich-content:not([data-rich-nested=true])>.ds1tv43:last-child{margin-bottom:0}.g7jfj60 .ds1tv44{font-family:var(--rc-font-family);font-weight:600;color:var(--rc-text)}.g7jfj60 .ds1tv4d{font-size:2.25em;font-weight:800;line-height:1.1111111;margin-top:0;margin-bottom:.8888889em;letter-spacing:-.025em;color:var(--rc-text)}.g7jfj60 .ds1tv4e{font-size:1.5em;font-weight:700;line-height:1.3333333;margin-top:2em;margin-bottom:1em;letter-spacing:-.025em;color:var(--rc-text)}.g7jfj60 .ds1tv4e+*{margin-top:0}.g7jfj60 .ds1tv4f{font-size:1.25em;font-weight:600;line-height:1.6;margin-top:1.6em;margin-bottom:.6em;letter-spacing:-.025em;color:var(--rc-text)}.g7jfj60 .ds1tv4f+*{margin-top:0}.g7jfj60 .ds1tv4g{font-size:1.125em;font-weight:600;line-height:1.5;margin-top:1.5em;margin-bottom:.5em;color:var(--rc-text)}.g7jfj60 .ds1tv4g+*{margin-top:0}.g7jfj60 .ds1tv4h{font-size:1em;font-weight:600;line-height:1.5;margin-top:1.5em;margin-bottom:.5em;color:var(--rc-text)}.g7jfj60 .ds1tv4h+*{margin-top:0}.g7jfj60 .ds1tv4i{font-size:.875em;font-weight:600;line-height:1.5;margin-top:1.5em;margin-bottom:.5em;color:var(--rc-text);text-transform:uppercase}.g7jfj60 .ds1tv4i+*{margin-top:0}.g7jfj60 .ds1tv4s{font-family:var(--rc-font-family-kai);font-style:normal;line-height:1.75;color:color-mix(in srgb,var(--rc-accent) 60%,var(--rc-text));background-color:color-mix(in srgb,var(--rc-accent) 12%,var(--rc-bg));margin:1.6em 0;padding:1.2em 1.5em;border-radius:2px;box-shadow:2px 3px 8px #00000014,0 1px 2px #0000000a;transform:rotate(-.6deg);text-indent:0}.g7jfj60 .ds1tv4s:before{content:"";position:absolute;top:-7px;left:50%;transform:translate(-50%) rotate(1.2deg);width:56px;height:16px;background:repeating-linear-gradient(105deg,transparent,transparent 2px,rgba(255,255,255,.08) 2px,rgba(255,255,255,.08) 4px),color-mix(in srgb,var(--rc-accent) 20%,rgba(0,0,0,.06));box-shadow:0 1px 2px #0000000f;border-radius:1px;bottom:auto;opacity:.85}.g7jfj60 .ds1tv4s .ds1tv43:first-child:first-letter{float:none;font-size:inherit;margin-right:0}.g7jfj60 .ds1tv4j{font-weight:500;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;transition:color .15s ease}.g7jfj60 .ds1tv4j:hover{text-decoration-thickness:2px}.g7jfj60 .ds1tv4a{font-size:.875em;font-family:var(--rc-font-mono);font-weight:500;padding:.2em .4em;border-radius:var(--rc-radius-sm);background-color:var(--rc-code-bg)}.g7jfj60 .ds1tv4l,.g7jfj60 .ds1tv4m{margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.g7jfj60 .ds1tv4n{margin-top:.5em;margin-bottom:.5em}.g7jfj60 .ds1tv4n:not(.ds1tv4r):not(.ds1tv4q){padding-left:.375em}.g7jfj60 .ds1tv4n::marker{color:var(--rc-text-secondary)}.g7jfj60 .rich-code-block{font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:var(--rc-radius-md);overflow-x:auto}.g7jfj60 .rich-code-block pre{padding:.8571429em 1.1428571em;margin:0}.g7jfj60 .ds1tv4x{margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.g7jfj60 .ds1tv4x .ds1tv43{margin:0;padding:0;line-height:inherit}.g7jfj60 .ds1tv4x .ds1tv43:first-child:first-letter{float:none;font-size:inherit;margin-right:0}.g7jfj60 .rich-image{margin-top:2em;margin-bottom:2em}.g7jfj60 .rich-image img{border-radius:var(--rc-radius-md)}.g7jfj60 .rich-image figcaption{font-size:.875em;line-height:1.4285714;margin-top:.8571429em;color:var(--rc-text-secondary);text-align:center}.g7jfj60 .ds1tv4t{border:none;border-top:1px solid var(--rc-hr-border);opacity:.2;margin-top:.5rem;margin-bottom:.5rem;width:60px;margin-left:auto;margin-right:auto}.g7jfj60 .p5thnj1{margin-top:1.6em;margin-bottom:1.6em;overflow-x:auto;padding:1em 0}.g7jfj60 .ds1tv4y{border-radius:var(--rc-radius-sm);padding-inline:.25em}.g7jfj60>*:first-child{margin-top:0}.g7jfj60>*:last-child{margin-bottom:0}.kif1zy0{position:relative;margin:var(--rc-space-md) 0}.kif1zy1{position:absolute;top:-36px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:2px;padding:4px 6px;border-radius:var(--rc-radius-md);pointer-events:none;background:var(--rc-bg);border:1px solid var(--rc-border);box-shadow:var(--rc-shadow-top-bar);z-index:10;user-select:none;white-space:nowrap;opacity:0;transition:opacity .15s ease}.kif1zy2{display:flex;align-items:center;justify-content:center;width:24px;height:24px;color:var(--rc-text-secondary);flex-shrink:0}.kif1zy3{display:flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;border-radius:var(--rc-radius-sm);border:none;background:transparent;cursor:pointer;font-size:12px;font-weight:500;color:var(--rc-text-secondary);line-height:1;transition:color .15s ease,background-color .15s ease}.kif1zy3:hover{background-color:var(--rc-fill-secondary);color:var(--rc-text)}.kif1zy4{background:var(--rc-fill);font-weight:600;color:var(--rc-text)}.kif1zy5{width:1px;height:16px;background:var(--rc-border);margin:0 2px;flex-shrink:0}.kif1zy6{display:flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;border-radius:var(--rc-radius-sm);border:none;background:transparent;cursor:pointer;color:var(--rc-text-secondary);transition:color .15s ease,background-color .15s ease}.kif1zy6:hover{background-color:var(--rc-fill-secondary);color:var(--rc-text)}.kif1zy7{display:grid;gap:var(--rc-space-md)}.kif1zy8{min-width:0}.kif1zy9{outline:none}.kif1zy0:hover .kif1zy1,.kif1zy0:focus-within .kif1zy1{opacity:1;pointer-events:auto}._1an6v8d0{position:relative;display:block;cursor:pointer;margin:var(--rc-space-md) 0;border-radius:var(--rc-radius-md);border:1px solid var(--rc-border);overflow:clip}._1an6v8d1{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#00000059;color:#fff;opacity:0;pointer-events:none;transition:opacity .2s,background .2s}._1an6v8d0:hover ._1an6v8d1{opacity:1;background:#00000080}._1an6v8d2{padding-block:var(--rc-space-md);padding-inline:var(--rc-space-xl);max-height:300px;overflow:clip}._1an6v8d3._1an6v8d3{padding:0;gap:0;width:900px;max-width:90vw;max-height:min(900px,calc(100vh - 1rem));overflow:hidden}._1an6v8d4{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:min(800px,calc(100vh - 1rem));background:var(--rc-bg)}._1an6v8d5{display:flex;align-items:center;justify-content:space-between;padding:0 .5rem 0 1rem;height:48px;border-bottom:1px solid var(--rc-border);flex-shrink:0}._1an6v8d6{display:flex;align-items:center;gap:.5rem}._1an6v8d7{display:flex;align-items:center;gap:.5rem;margin:0;font-size:var(--rc-font-size-md);font-weight:500;color:var(--rc-text)}._1an6v8d8{display:flex;align-items:center;gap:4px}._1an6v8d9{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:.25rem;border:none;background:none;cursor:pointer;color:var(--rc-text-secondary);transition:color .15s}._1an6v8d9:hover{color:var(--rc-text)}._1an6v8da{padding:0 .75rem .5rem;border-bottom:1px solid var(--rc-border);background:var(--rc-bg)}._1an6v8db{margin:0;max-width:none;border-radius:0;position:sticky;top:0}._1an6v8db{border:none;box-shadow:none;background-color:transparent;backdrop-filter:none}._1an6v8db>div{padding-inline:0}._1an6v8dc{min-height:0;overflow:hidden;background:linear-gradient(180deg,color-mix(in srgb,var(--rc-text) 2%,transparent),transparent)}._1an6v8dc .rich-editor{display:flex;flex-direction:column;height:100%}._1an6v8dc .rich-editor__content-wrapper{max-width:75ch;overflow-y:auto}._1an6v8dc .rich-editor__content{padding-left:1.5rem;padding-right:1.5rem}._1an6v8dc .rich-editor__placeholder{left:1.5rem}._1an6v8dc .ds1tv42>*:first-child{border-top:none;border-left:none;border-right:none;box-shadow:none;border-radius:0;margin:0;max-width:none;backdrop-filter:none;background-color:transparent}._1an6v8dd{height:100%;overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable both-edges}._1an6v8de{display:flex;min-height:100%;background:var(--rc-bg);overflow:hidden}._1an6v8df{flex:1;min-height:460px;padding:1.25rem 1.5rem 1.75rem;outline:none;overflow:visible}._1an6v8dg{display:flex;align-items:center;justify-content:flex-end;padding:.5rem .75rem;border-top:1px solid var(--rc-border)}._1an6v8dh{position:relative;display:block;cursor:pointer;margin:var(--rc-space-md) 0;border-radius:var(--rc-radius-md);border:1px solid var(--rc-border);overflow:clip}._1an6v8di{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#00000040;color:#fff;opacity:0;pointer-events:none;transition:opacity .2s;z-index:1}._1an6v8dh:hover ._1an6v8di{opacity:1}._1an6v8dj{position:absolute;bottom:0;left:0;right:0;height:4rem;background:linear-gradient(to bottom,transparent,var(--rc-bg));pointer-events:none}._1an6v8dk._1an6v8dk{display:flex;flex-direction:column;width:700px;max-width:90vw;height:min(800px,calc(100vh - 2rem));max-height:min(800px,calc(100vh - 2rem));overflow:hidden}._1an6v8dl{flex:1;min-height:0;padding:0 1.5rem 1.5rem;overflow-y:auto;overflow-x:hidden}._1an6v8dm{pointer-events:none}._1an6v8dn{margin:0;color:var(--rc-text-secondary);font-size:var(--rc-font-size-md);opacity:.72}._1an6v8df .rich-paragraph:first-child,._1an6v8dm .rich-paragraph:first-child{margin-top:0}._1an6v8dm .rich-paragraph:last-child{margin-bottom:0}
1
+ :root{--rc-text:#000;--rc-text-secondary:#262626;--rc-text-tertiary:#737373;--rc-text-quaternary:#a3a3a3;--rc-bg:#fff;--rc-bg-secondary:#fafafa;--rc-bg-tertiary:#f5f5f5;--rc-fill:#e8e8e8;--rc-fill-secondary:#eee;--rc-fill-tertiary:#f5f5f5;--rc-fill-quaternary:#fafafa;--rc-border:#f5f5f5;--rc-accent:#2563eb;--rc-accent-light:#2563eb20;--rc-link:#2563eb;--rc-code-text:#404040;--rc-code-bg:#f5f5f5;--rc-hr-border:#e5e5e5;--rc-quote-border:#2563eb;--rc-quote-bg:#f5f5f5;--rc-alert-info:#006bb7;--rc-alert-warning:#c50;--rc-alert-tip:#1c0;--rc-alert-caution:#c01;--rc-alert-important:#50c;--rc-max-width:700px;--rc-shadow-top-bar:0 8px 30px #0000001f, 0 2px 8px #0000000f;--rc-shadow-modal:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--rc-shadow-menu:0 1px 4px #0000000a, 0 4px 16px #00000014;--rc-space-xs:4px;--rc-space-sm:8px;--rc-space-md:16px;--rc-space-lg:24px;--rc-space-xl:32px;--rc-font-family-sans:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-font-family-serif:"Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-font-family-kai:"楷体", KaiTi, STKaiti, "Kaiti SC", "LXGW WenKai", "霞鹜文楷", "Noto Serif CJK SC", serif;--rc-font-mono:"SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;--rc-font-size-2xs:.625em;--rc-font-size-xs:.75em;--rc-font-size-sm:.8125em;--rc-font-size-md:.875em;--rc-font-size-lg:1.25em;--rc-font-size-base:16px;--rc-font-size-small:14px;--rc-line-height:1.7;--rc-line-height-tight:1.4;--rc-font-family:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-radius-sm:4px;--rc-radius-md:8px;--rc-radius-lg:12px}:root.dark,[data-theme=dark]{--rc-text:#fafafa;--rc-text-secondary:#a3a3a3;--rc-text-tertiary:#737373;--rc-text-quaternary:#525252;--rc-bg:#0a0a0a;--rc-bg-secondary:#171717;--rc-bg-tertiary:#262626;--rc-fill:#2a2a2a;--rc-fill-secondary:#222;--rc-fill-tertiary:#1a1a1a;--rc-fill-quaternary:#141414;--rc-border:#262626;--rc-accent:#60a5fa;--rc-accent-light:#60a5fa20;--rc-link:#60a5fa;--rc-code-text:#d4d4d4;--rc-code-bg:#262626;--rc-hr-border:#262626;--rc-quote-border:#60a5fa;--rc-quote-bg:#262626;--rc-alert-info:#7db9e5;--rc-alert-warning:#da864a;--rc-alert-tip:#54da48;--rc-alert-caution:#e16973;--rc-alert-important:#9966e0;--rc-max-width:700px;--rc-shadow-top-bar:0 8px 30px #00000073, 0 2px 8px #0000004d;--rc-shadow-modal:0 10px 15px -3px #0006, 0 4px 6px -4px #00000059;--rc-shadow-menu:0 1px 4px #00000040, 0 4px 16px #0006;--rc-space-xs:4px;--rc-space-sm:8px;--rc-space-md:16px;--rc-space-lg:24px;--rc-space-xl:32px;--rc-font-family-sans:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-font-family-serif:"Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-font-family-kai:"楷体", KaiTi, STKaiti, "Kaiti SC", "LXGW WenKai", "霞鹜文楷", "Noto Serif CJK SC", serif;--rc-font-mono:"SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;--rc-font-size-2xs:.625em;--rc-font-size-xs:.75em;--rc-font-size-sm:.8125em;--rc-font-size-md:.875em;--rc-font-size-lg:1.25em;--rc-font-size-base:16px;--rc-font-size-small:14px;--rc-line-height:1.7;--rc-line-height-tight:1.4;--rc-font-family:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-radius-sm:4px;--rc-radius-md:8px;--rc-radius-lg:12px}._1kl9cd60{--rc-text:#000;--rc-text-secondary:#262626;--rc-text-tertiary:#737373;--rc-text-quaternary:#a3a3a3;--rc-bg:#fff;--rc-bg-secondary:#fafafa;--rc-bg-tertiary:#f5f5f5;--rc-fill:#e8e8e8;--rc-fill-secondary:#eee;--rc-fill-tertiary:#f5f5f5;--rc-fill-quaternary:#fafafa;--rc-border:#f5f5f5;--rc-accent:#2563eb;--rc-accent-light:#2563eb20;--rc-link:#2563eb;--rc-code-text:#404040;--rc-code-bg:#f5f5f5;--rc-hr-border:#e5e5e5;--rc-quote-border:#2563eb;--rc-quote-bg:#f5f5f5;--rc-alert-info:#006bb7;--rc-alert-warning:#c50;--rc-alert-tip:#1c0;--rc-alert-caution:#c01;--rc-alert-important:#50c;--rc-max-width:700px;--rc-shadow-top-bar:0 8px 30px #0000001f, 0 2px 8px #0000000f;--rc-shadow-modal:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--rc-shadow-menu:0 1px 4px #0000000a, 0 4px 16px #00000014;--rc-space-xs:4px;--rc-space-sm:8px;--rc-space-md:16px;--rc-space-lg:24px;--rc-space-xl:32px;--rc-font-family-sans:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-font-family-serif:"Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-font-family-kai:"楷体", KaiTi, STKaiti, "Kaiti SC", "LXGW WenKai", "霞鹜文楷", "Noto Serif CJK SC", serif;--rc-font-mono:"SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;--rc-font-size-2xs:.625em;--rc-font-size-xs:.75em;--rc-font-size-sm:.8125em;--rc-font-size-md:.875em;--rc-font-size-lg:1.25em;--rc-font-size-base:16px;--rc-font-size-small:14px;--rc-line-height:1.7;--rc-line-height-tight:1.4;--rc-font-family:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-radius-sm:4px;--rc-radius-md:8px;--rc-radius-lg:12px}._1kl9cd61{--rc-text:#000;--rc-text-secondary:#262626;--rc-text-tertiary:#737373;--rc-text-quaternary:#a3a3a3;--rc-bg:#fff;--rc-bg-secondary:#fafafa;--rc-bg-tertiary:#f5f5f5;--rc-fill:#e8e8e8;--rc-fill-secondary:#eee;--rc-fill-tertiary:#f5f5f5;--rc-fill-quaternary:#fafafa;--rc-border:#f5f5f5;--rc-accent:#2563eb;--rc-accent-light:#2563eb20;--rc-link:#2563eb;--rc-code-text:#404040;--rc-code-bg:#f5f5f5;--rc-hr-border:#e5e5e5;--rc-quote-border:#2563eb;--rc-quote-bg:#f5f5f5;--rc-alert-info:#006bb7;--rc-alert-warning:#c50;--rc-alert-tip:#1c0;--rc-alert-caution:#c01;--rc-alert-important:#50c;--rc-max-width:700px;--rc-shadow-top-bar:0 8px 30px #0000001f, 0 2px 8px #0000000f;--rc-shadow-modal:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--rc-shadow-menu:0 1px 4px #0000000a, 0 4px 16px #00000014;--rc-space-xs:4px;--rc-space-sm:8px;--rc-space-md:16px;--rc-space-lg:24px;--rc-space-xl:32px;--rc-font-family-sans:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-font-family-serif:"Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-font-family-kai:"楷体", KaiTi, STKaiti, "Kaiti SC", "LXGW WenKai", "霞鹜文楷", "Noto Serif CJK SC", serif;--rc-font-mono:"SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;--rc-font-size-2xs:.625em;--rc-font-size-xs:.75em;--rc-font-size-sm:.8125em;--rc-font-size-md:.875em;--rc-font-size-lg:1.25em;--rc-font-size-base:16px;--rc-font-size-small:14px;--rc-line-height:1.8;--rc-line-height-tight:1.4;--rc-font-family:"Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-radius-sm:4px;--rc-radius-md:8px;--rc-radius-lg:12px}._1kl9cd62{--rc-text:#000;--rc-text-secondary:#262626;--rc-text-tertiary:#737373;--rc-text-quaternary:#a3a3a3;--rc-bg:#fff;--rc-bg-secondary:#fafafa;--rc-bg-tertiary:#f5f5f5;--rc-fill:#e8e8e8;--rc-fill-secondary:#eee;--rc-fill-tertiary:#f5f5f5;--rc-fill-quaternary:#fafafa;--rc-border:#f5f5f5;--rc-accent:#2563eb;--rc-accent-light:#2563eb20;--rc-link:#2563eb;--rc-code-text:#404040;--rc-code-bg:#f5f5f5;--rc-hr-border:#e5e5e5;--rc-quote-border:#a3a3a3;--rc-quote-bg:#fafafa;--rc-alert-info:#006bb7;--rc-alert-warning:#c50;--rc-alert-tip:#1c0;--rc-alert-caution:#c01;--rc-alert-important:#50c;--rc-max-width:none;--rc-shadow-top-bar:0 8px 30px #0000001f, 0 2px 8px #0000000f;--rc-shadow-modal:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--rc-shadow-menu:0 1px 4px #0000000a, 0 4px 16px #00000014;--rc-space-xs:2px;--rc-space-sm:4px;--rc-space-md:10px;--rc-space-lg:16px;--rc-space-xl:20px;--rc-font-family-sans:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-font-family-serif:"Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif", "source-han-serif-sc", "Songti SC", STSong, "华文宋体", serif;--rc-font-family-kai:"楷体", KaiTi, STKaiti, "Kaiti SC", "LXGW WenKai", "霞鹜文楷", "Noto Serif CJK SC", serif;--rc-font-mono:"SF Mono", SFMono-Regular, ui-monospace, "DejaVu Sans Mono", Menlo, Consolas, monospace;--rc-font-size-2xs:.625em;--rc-font-size-xs:.75em;--rc-font-size-sm:.8125em;--rc-font-size-md:.875em;--rc-font-size-lg:1.25em;--rc-font-size-base:14px;--rc-font-size-small:12px;--rc-line-height:1.5;--rc-line-height-tight:1.3;--rc-font-family:"PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, "noto sans sc", "hiragino sans gb", -apple-system, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Not Color Emoji;--rc-radius-sm:3px;--rc-radius-md:6px;--rc-radius-lg:12px}.dark ._1kl9cd60,[data-theme=dark] ._1kl9cd60,.dark._1kl9cd60,[data-theme=dark]._1kl9cd60,.dark ._1kl9cd61,[data-theme=dark] ._1kl9cd61,.dark._1kl9cd61,[data-theme=dark]._1kl9cd61,.dark ._1kl9cd62,[data-theme=dark] ._1kl9cd62,.dark._1kl9cd62,[data-theme=dark]._1kl9cd62{--rc-text:#fafafa;--rc-text-secondary:#a3a3a3;--rc-text-tertiary:#737373;--rc-text-quaternary:#525252;--rc-bg:#0a0a0a;--rc-bg-secondary:#171717;--rc-bg-tertiary:#262626;--rc-fill:#2a2a2a;--rc-fill-secondary:#222;--rc-fill-tertiary:#1a1a1a;--rc-fill-quaternary:#141414;--rc-border:#262626;--rc-accent:#60a5fa;--rc-accent-light:#60a5fa20;--rc-link:#60a5fa;--rc-code-text:#d4d4d4;--rc-code-bg:#262626;--rc-hr-border:#262626;--rc-quote-border:#60a5fa;--rc-quote-bg:#262626;--rc-alert-info:#7db9e5;--rc-alert-warning:#da864a;--rc-alert-tip:#54da48;--rc-alert-caution:#e16973;--rc-alert-important:#9966e0;--rc-shadow-top-bar:0 8px 30px #00000073, 0 2px 8px #0000004d;--rc-shadow-modal:0 10px 15px -3px #0006, 0 4px 6px -4px #00000059;--rc-shadow-menu:0 1px 4px #00000040, 0 4px 16px #0006}@keyframes ds1tv40{to{--rc-hl-highlighted:1}}@keyframes ds1tv41{0%{background-color:#ef44443d}to{background-color:#0000}}.ds1tv42{font-family:var(--rc-font-family);font-size:var(--rc-font-size-base);line-height:var(--rc-line-height);color:var(--rc-text);word-wrap:break-word;overflow-wrap:break-word}.ds1tv43{line-height:var(--rc-line-height);margin:0 0 1em}.ds1tv44{font-weight:700}.ds1tv45{font-style:italic}.ds1tv46{text-decoration:underline}.ds1tv47{opacity:.65;text-decoration:line-through}.ds1tv48{vertical-align:super;font-size:.8em}.ds1tv49{vertical-align:sub;font-size:.8em}.ds1tv4a{font-family:var(--rc-font-mono);background-color:var(--rc-code-bg);color:inherit;border-radius:var(--rc-radius-sm);border:1px solid var(--rc-border);padding:2px 6px;font-size:.9em}[contenteditable=true] .ds1tv4a{padding-right:0}.ds1tv4b{--rc-hl-lightness:.3;--rc-hl-highlighted:1;--rc-hl-color:oklch(from var(--rc-accent) l c h / var(--rc-hl-lightness));background:linear-gradient(120deg, var(--rc-hl-color,lightblue) 50%, transparent 50%) 110% 0 / 200% 100% no-repeat;background-position:calc((1 - var(--rc-hl-highlighted)) * 110%) 0;color:var(--rc-text);transition:background-position 1s}[contenteditable=true] .ds1tv4b{--rc-hl-highlighted:1;animation:none}[data-theme=dark] .ds1tv4b{--rc-hl-lightness:.35}.ds1tv4c{color:var(--rc-text-secondary);opacity:0;align-items:center;font-size:.8rem;text-decoration:none;transition:opacity .15s;display:flex;position:absolute;top:0;bottom:0;left:-1.25rem}.ds1tv4d{font-size:2em;font-weight:700;line-height:var(--rc-line-height-tight);margin-top:1.5em;margin-bottom:.5em;position:relative}[contenteditable=true] .ds1tv4d:before{content:"H1";color:var(--rc-text-secondary);opacity:.6;pointer-events:none;font-size:.5rem;font-weight:600;font-family:var(--rc-font-mono);display:flex;position:absolute;bottom:.5rem;left:-1.5rem}.ds1tv4e{font-size:1.5em;font-weight:700;line-height:var(--rc-line-height-tight);margin-top:1.4em;margin-bottom:.45em;position:relative}[contenteditable=true] .ds1tv4e:before{content:"H2";color:var(--rc-text-secondary);opacity:.6;pointer-events:none;font-size:.5rem;font-weight:600;font-family:var(--rc-font-mono);display:flex;position:absolute;bottom:.5rem;left:-1.5rem}.ds1tv4f{font-size:1.25em;font-weight:600;line-height:var(--rc-line-height-tight);margin-top:1.3em;margin-bottom:.4em;position:relative}[contenteditable=true] .ds1tv4f:before{content:"H3";color:var(--rc-text-secondary);opacity:.6;pointer-events:none;font-size:.5rem;font-weight:600;font-family:var(--rc-font-mono);display:flex;position:absolute;bottom:.5rem;left:-1.5rem}.ds1tv4g{font-size:1.125em;font-weight:600;line-height:var(--rc-line-height-tight);margin-top:1.2em;margin-bottom:.35em;position:relative}[contenteditable=true] .ds1tv4g:before{content:"H4";color:var(--rc-text-secondary);opacity:.6;pointer-events:none;font-size:.5rem;font-weight:600;font-family:var(--rc-font-mono);display:flex;position:absolute;bottom:.5rem;left:-1.5rem}.ds1tv4h{font-size:1em;font-weight:600;line-height:var(--rc-line-height-tight);margin-top:1.1em;margin-bottom:.3em;position:relative}[contenteditable=true] .ds1tv4h:before{content:"H5";color:var(--rc-text-secondary);opacity:.6;pointer-events:none;font-size:.5rem;font-weight:600;font-family:var(--rc-font-mono);display:flex;position:absolute;bottom:.5rem;left:-1.5rem}.ds1tv4i{font-size:.875em;font-weight:600;line-height:var(--rc-line-height-tight);color:var(--rc-text);margin-top:1em;margin-bottom:.25em;position:relative}[contenteditable=true] .ds1tv4i:before{content:"H6";color:var(--rc-text-secondary);opacity:.6;pointer-events:none;font-size:.5rem;font-weight:600;font-family:var(--rc-font-mono);display:flex;position:absolute;bottom:.5rem;left:-1.5rem}.ds1tv4j{color:var(--rc-link);text-decoration:none;transition:color .2s}.ds1tv4j:hover{text-decoration:underline}.ds1tv4j[data-favicon=loaded]:before{content:"";vertical-align:-.125em;background-image:var(--rc-link-favicon);background-position:50%;background-repeat:no-repeat;background-size:contain;border-radius:2px;width:1em;height:1em;margin-right:.2em;display:inline-block}.ds1tv4k{vertical-align:-.125em;align-items:center;margin-right:.15em;display:inline-flex}.ds1tv4l{padding-left:var(--rc-space-lg);margin-bottom:1em;list-style-type:decimal}.ds1tv4m{padding-left:var(--rc-space-lg);margin-bottom:1em;list-style-type:disc}.ds1tv4n{margin-bottom:.25em}.ds1tv4o{list-style-type:none}.ds1tv4p{padding-left:0;list-style-type:none}.ds1tv4q{--rc-cb-size:1.125rem;outline:none;padding-left:2em;list-style-type:none;transition:color .25s;position:relative}.ds1tv4q:before{content:"";left:0;top:calc((1lh - var(--rc-cb-size)) / 2);width:var(--rc-cb-size);height:var(--rc-cb-size);border:1.5px solid var(--rc-text-quaternary);border-radius:var(--rc-radius-sm);box-sizing:border-box;cursor:pointer;background-color:#0000;transition:background-color .25s cubic-bezier(.4,0,.2,1),border-color .25s cubic-bezier(.4,0,.2,1),transform .15s;position:absolute}.ds1tv4q:after{content:"";left:calc(var(--rc-cb-size) * .32);top:calc((1lh - var(--rc-cb-size)) / 2 + var(--rc-cb-size) * .14);width:calc(var(--rc-cb-size) * .28);height:calc(var(--rc-cb-size) * .55);border-right:2px solid var(--rc-accent);border-bottom:2px solid var(--rc-accent);box-sizing:border-box;pointer-events:none;transform-origin:50%;opacity:0;transition:transform .3s cubic-bezier(.34,1.56,.64,1) .1s,opacity .15s;display:block;position:absolute;transform:rotate(45deg)scale(0)}[contenteditable=true] .ds1tv4q:active:before{transform:scale(.94)}[contenteditable=true] .ds1tv4q:hover:before{border-color:var(--rc-text-tertiary)}.ds1tv4r{--rc-cb-size:1.125rem;color:var(--rc-text-secondary);outline:none;padding-left:2em;list-style-type:none;transition:color .25s;position:relative}.ds1tv4r:before{content:"";left:0;top:calc((1lh - var(--rc-cb-size)) / 2);width:var(--rc-cb-size);height:var(--rc-cb-size);border:1.5px solid var(--rc-text-quaternary);border-radius:var(--rc-radius-sm);box-sizing:border-box;cursor:pointer;background-color:var(--rc-accent-light);border-color:var(--rc-accent);transition:background-color .25s cubic-bezier(.4,0,.2,1),border-color .25s cubic-bezier(.4,0,.2,1),transform .15s;position:absolute}.ds1tv4r:after{content:"";left:calc(var(--rc-cb-size) * .32);top:calc((1lh - var(--rc-cb-size)) / 2 + var(--rc-cb-size) * .14);width:calc(var(--rc-cb-size) * .28);height:calc(var(--rc-cb-size) * .55);border-right:2px solid var(--rc-accent);border-bottom:2px solid var(--rc-accent);box-sizing:border-box;pointer-events:none;transform-origin:50%;opacity:1;transition:transform .3s cubic-bezier(.34,1.56,.64,1) .1s,opacity .15s;display:block;position:absolute;transform:rotate(45deg)scale(1)}[contenteditable=true] .ds1tv4r:active:before{transform:scale(.94)}[contenteditable=true] .ds1tv4r:hover:before{background-color:color-mix(in oklab, var(--rc-accent) 12%, transparent)}.ds1tv4s{background-color:var(--rc-quote-bg);margin:var(--rc-space-md) 0;padding:var(--rc-space-sm) var(--rc-space-md);padding-left:calc(var(--rc-space-md) + 4px);color:var(--rc-text-secondary);border-radius:0 var(--rc-radius-sm) var(--rc-radius-sm) 0;font-style:normal;position:relative}.ds1tv4s:before{content:"";border-radius:var(--rc-radius-sm);background-color:var(--rc-quote-border);width:4px;position:absolute;top:0;bottom:0;left:0}.ds1tv4t{border:none;border-top:1px solid var(--rc-hr-border);margin:var(--rc-space-lg) auto;width:60px}.ds1tv4u{overflow-x:auto}.ds1tv4v{border:none;border-bottom:1px solid var(--rc-border);border-right:1px solid var(--rc-border);padding:1.25em var(--rc-space-lg);text-align:left;vertical-align:middle;line-height:1.5}.ds1tv4v:last-child{border-right:none}.ds1tv4w{border:none;border-bottom:1px solid var(--rc-border);border-right:1px solid var(--rc-border);padding:var(--rc-space-md) var(--rc-space-lg);text-align:left;text-transform:uppercase;letter-spacing:.05em;color:var(--rc-text-secondary);background-color:var(--rc-bg-secondary);vertical-align:middle;z-index:1;font-size:.75em;font-weight:600;line-height:1.5;position:sticky;top:0}.ds1tv4w:last-child{border-right:none}.ds1tv4x{border-collapse:separate;border-spacing:0;width:100%;margin:var(--rc-space-lg) 0;font-size:var(--rc-font-size-small);border:1px solid var(--rc-border);border-radius:var(--rc-radius-md);overflow:hidden}.ds1tv4y{background-color:var(--rc-text);color:#0000;border-radius:var(--rc-radius-sm);cursor:pointer;-webkit-user-select:none;user-select:none;padding-inline-start:4px;padding-inline-end:4px;transition:background-color .3s,color .3s}[contenteditable=true] .ds1tv4y{background-color:color-mix(in srgb, var(--rc-text) 30%, transparent);color:inherit;-webkit-user-select:auto;user-select:auto;cursor:text}.ds1tv4y:hover{color:inherit;-webkit-user-select:auto;user-select:auto;background-color:#0000}.rich-content .ds1tv4y{background-color:var(--rc-text-tertiary);color:#0000}.rich-content .ds1tv4y:not(:hover):not(.rich-spoiler-revealed) *{color:#0000!important}.rich-content .ds1tv4y:hover,.ds1tv4z{color:inherit;-webkit-user-select:auto;user-select:auto;background-color:#0000}.ds1tv410{font-size:var(--rc-font-size-small);vertical-align:baseline;border-radius:999px;padding-inline-start:.75em;padding-inline-end:.75em;line-height:1.6;display:inline-block}.ds1tv411{font-family:var(--rc-font-mono);font-size:var(--rc-font-size-small);color:var(--rc-text-secondary);background-color:var(--rc-code-bg);border:1px dashed var(--rc-border);border-radius:var(--rc-radius-sm);white-space:break-spaces;padding:2px 6px;display:inline-block}.ds1tv411:before{content:"<!--";opacity:.7}.ds1tv411:after{content:"-->";opacity:.7}.ds1tv412{ruby-position:over;ruby-align:center}[contenteditable=true] .ds1tv412[data-ruby]{padding-top:.72em;line-height:1.2;display:inline-block;position:relative}[contenteditable=true] .ds1tv412[data-ruby]:before{content:attr(data-ruby);text-align:center;color:var(--rc-text-secondary);pointer-events:none;white-space:nowrap;font-size:.58em;line-height:1;position:absolute;top:0;left:0;right:0;transform:translateY(-.68em)}.ds1tv413{color:var(--rc-text-secondary);-webkit-user-select:none;user-select:none;font-size:.58em;line-height:1}.ds1tv414{vertical-align:super;font-size:.8em}.ds1tv415{min-width:1.5em;color:var(--rc-accent);background-color:var(--rc-accent-light);border-radius:999px;justify-content:center;align-items:center;padding:0 .35em;font-size:.82em;font-weight:600;line-height:1.45;text-decoration:none;transition:filter .15s;display:inline-flex}.ds1tv415:hover{filter:brightness(.96)}.ds1tv416{animation:1.2s ease-out ds1tv41}.ds1tv417{display:inline;position:relative}.ds1tv418{margin-top:var(--rc-space-lg)}.ds1tv419{border:none;border-top:1px solid var(--rc-border);margin:var(--rc-space-lg) 0 var(--rc-space-md)}.ds1tv41a{padding-left:var(--rc-space-lg);font-size:var(--rc-font-size-small);color:var(--rc-text-secondary);line-height:1.6;list-style-type:decimal}.ds1tv41b{margin-bottom:var(--rc-space-sm);padding-left:var(--rc-space-xs)}.ds1tv41c{margin-left:var(--rc-space-xs);color:var(--rc-accent);font-size:.85em;font-family:var(--rc-font-mono);align-items:center;text-decoration:none;transition:opacity .15s;display:inline-flex}.ds1tv41c:hover{opacity:.7}.ds1tv41d{align-items:center;gap:var(--rc-space-sm);list-style-type:none;display:flex}.ds1tv41e{color:var(--rc-text-secondary);font-size:var(--rc-font-size-small);flex-shrink:0;min-width:1.5em;font-weight:600}.ds1tv41f{border:1px solid var(--rc-border);border-radius:var(--rc-radius-sm);padding:var(--rc-space-xs) var(--rc-space-sm);font-size:var(--rc-font-size-small);color:var(--rc-text);background-color:#0000;outline:none;flex:1;transition:border-color .15s}.ds1tv41f:focus{border-color:var(--rc-accent)}.ds1tv41g{width:20px;height:20px;color:var(--rc-text-secondary);cursor:pointer;border-radius:var(--rc-radius-sm);background:0 0;border:none;flex-shrink:0;justify-content:center;align-items:center;font-size:14px;transition:color .15s,background-color .15s;display:inline-flex}.ds1tv41g:hover{color:#ef4444;background-color:#ef44441a}.ds1tv41h{cursor:grab;border-radius:var(--rc-radius-sm);width:20px;height:20px;color:var(--rc-text-secondary);opacity:.4;z-index:10;justify-content:center;align-items:center;transition:opacity .15s,background-color .15s;display:flex;position:absolute}.ds1tv41h:hover{opacity:1;background-color:var(--rc-fill-secondary)}.ds1tv41h:active{cursor:grabbing}.ds1tv41i{background-color:var(--rc-accent);pointer-events:none;z-index:10;border-radius:1px;height:2px;position:absolute}.ds1tv41j{background-color:#0000;border:none;border-radius:0;margin:2em 0;padding:0 1em}.ds1tv42 mark{background:0 0}.ds1tv42 img{border-radius:var(--rc-radius-md);max-width:100%;height:auto}.ds1tv42>:first-child,.ds1tv42 .rich-editor__content>:first-child{margin-top:0}.ds1tv42>:last-child,.ds1tv42 .rich-editor__content>:last-child{margin-bottom:0}.ds1tv4c svg{flex-shrink:0}.ds1tv4d:hover .ds1tv4c{opacity:.5}.ds1tv4d:hover .ds1tv4c:hover{opacity:1}.ds1tv4e:hover .ds1tv4c{opacity:.5}.ds1tv4e:hover .ds1tv4c:hover{opacity:1}.ds1tv4f:hover .ds1tv4c{opacity:.5}.ds1tv4f:hover .ds1tv4c:hover{opacity:1}.ds1tv4g:hover .ds1tv4c{opacity:.5}.ds1tv4g:hover .ds1tv4c:hover{opacity:1}.ds1tv4h:hover .ds1tv4c{opacity:.5}.ds1tv4h:hover .ds1tv4c:hover{opacity:1}.ds1tv4i:hover .ds1tv4c{opacity:.5}.ds1tv4i:hover .ds1tv4c:hover{opacity:1}.ds1tv4k img{object-fit:contain;border-radius:2px;width:1em;height:1em}.ds1tv4k svg{width:.9em;height:.9em}.ds1tv4o .ds1tv4l{list-style-type:lower-alpha}.ds1tv4o .ds1tv4m{list-style-type:circle}.ds1tv4r>*,.ds1tv4q>*{background-image:linear-gradient(var(--rc-text-secondary), var(--rc-text-secondary));background-position:0;background-repeat:no-repeat;background-size:0% 1.5px;transition:background-size .35s cubic-bezier(.4,0,.2,1) .15s,opacity .15s}.ds1tv4r>*{opacity:.5;background-size:100% 1.5px}.ds1tv4s>.ds1tv43:first-child{margin-top:0}.ds1tv4s>.ds1tv43:last-child{margin-bottom:0}.ds1tv4x tbody tr:last-child .ds1tv4v{border-bottom:none}.ds1tv4v .ds1tv43{line-height:inherit;margin:0;padding:0}.ds1tv4v>:first-child{margin-top:0}.ds1tv4v>:last-child{margin-bottom:0}.ds1tv4w .ds1tv43{line-height:inherit;margin:0;padding:0}.ds1tv4w>:first-child{margin-top:0}.ds1tv4w>:last-child{margin-bottom:0}@supports (animation-timeline:view()){.ds1tv4b{--rc-hl-highlighted:0;animation:step-end both ds1tv40;animation-timeline:view();animation-range:entry 100% cover 10%}}._135nao50{margin:var(--rc-space-md) 0;interpolate-size:allow-keywords;background-color:#0000;border:none}._135nao51{align-items:flex-start;gap:var(--rc-space-sm);cursor:pointer;-webkit-user-select:none;user-select:none;padding:var(--rc-space-xs) 0;color:var(--rc-text);font-size:1em;font-weight:500;line-height:var(--rc-line-height);border-radius:var(--rc-radius-sm);outline:none;list-style:none;transition:opacity .2s,color .2s,box-shadow .2s;display:flex}._135nao51:hover{opacity:.82}._135nao51:focus-visible{box-shadow:0 0 0 2px var(--rc-accent-light)}._135nao51::-webkit-details-marker{display:none}._135nao51::marker{content:"";display:none}._135nao52{flex:1;min-width:0}._135nao53{width:1.25rem;height:1.25rem;color:var(--rc-text-tertiary);transform-origin:50%;flex-shrink:0;justify-content:center;align-items:center;transition:transform .35s cubic-bezier(.4,0,.2,1),color .2s;display:inline-flex;position:relative;top:.25rem}._135nao54{margin-top:var(--rc-space-xs);padding:var(--rc-space-sm) var(--rc-space-xl);color:var(--rc-text-secondary);background-color:color-mix(in srgb, var(--rc-accent) 6%, var(--rc-bg-secondary));border-radius:var(--rc-radius-md)}._135nao51:hover ._135nao53{color:var(--rc-text-secondary)}._135nao50[open] ._135nao53{color:var(--rc-accent);transform:rotate(90deg)}._135nao50::details-content{opacity:0;content-visibility:hidden;height:0;transition:height .4s cubic-bezier(.4, 0, .2, 1), opacity .4s cubic-bezier(.4, 0, .2, 1), content-visibility .4s cubic-bezier(.4, 0, .2, 1) allow-discrete;display:block;overflow:hidden}._135nao50[open]::details-content{opacity:1;content-visibility:visible;height:auto}._135nao54>.ds1tv43:first-child{margin-top:0}._135nao54>.ds1tv43:last-child{margin-bottom:0}._1pke0ca0{max-width:var(--rc-max-width);font-size:var(--rc-font-size-base);color:var(--rc-text);line-height:1.75}._1pke0ca0 .ds1tv43{margin-top:1.5em;margin-bottom:1.5em}._1pke0ca0 .ds1tv4d{color:var(--rc-text);margin-top:0;margin-bottom:.833333em;font-size:3em;font-weight:800;line-height:1}._1pke0ca0 .ds1tv4e{color:var(--rc-text);margin-top:1.86667em;margin-bottom:1.06667em;font-size:1.875em;font-weight:700;line-height:1.33333}._1pke0ca0 .ds1tv4f{color:var(--rc-text);margin-top:1.66667em;margin-bottom:.666667em;font-size:1.5em;font-weight:600;line-height:1.5}._1pke0ca0 .ds1tv4g{color:var(--rc-text);margin-top:2em;margin-bottom:.5em;font-weight:600;line-height:1.5625}._1pke0ca0 .ds1tv4e+*,._1pke0ca0 .ds1tv4f+*,._1pke0ca0 .ds1tv4g+*{margin-top:0}._1pke0ca0 .ds1tv4s{color:var(--rc-text);quotes:"“""”""‘""’";background-color:#0000;border-radius:0;margin-top:2.5em;margin-bottom:2.5em;padding-left:calc(1.5em + 4px);font-style:italic;font-weight:500}._1pke0ca0 .ds1tv4s .ds1tv43:first-of-type:before{content:open-quote}._1pke0ca0 .ds1tv4s .ds1tv43:last-of-type:after{content:close-quote}._1pke0ca0 .ds1tv4s .ds1tv43:first-child{margin-top:0}._1pke0ca0 .ds1tv4s .ds1tv43:last-child{margin-bottom:0}._1pke0ca0 .ds1tv4a{color:inherit;background-color:var(--rc-code-bg);border-radius:var(--rc-radius-sm);font-size:.875em;font-weight:600;font-family:var(--rc-font-mono);padding:.2em .4em}._1pke0ca0 .ds1tv4a:before,._1pke0ca0 .ds1tv4a:after{content:"`";color:var(--rc-text-secondary);opacity:.5}._1pke0ca0 [contenteditable=true] .ds1tv4a:before,._1pke0ca0 [contenteditable=true] .ds1tv4a:after{content:""}._1pke0ca0 .rich-code-block{color:var(--rc-text);background-color:var(--rc-code-bg);border-radius:.375rem;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.75}._1pke0ca0 .rich-code-block pre{margin:0;padding:1em 1.5em}._1pke0ca0 .ds1tv4m,._1pke0ca0 .ds1tv4l{margin-top:1.5em;margin-bottom:1.5em;padding-left:1.75em}._1pke0ca0 .ds1tv4n{margin-top:.75em;margin-bottom:.75em}._1pke0ca0 .ds1tv4n:not(.ds1tv4r):not(.ds1tv4q){padding-left:.5em}._1pke0ca0 .ds1tv4n .ds1tv43{margin-top:1em;margin-bottom:1em}._1pke0ca0 .ds1tv4n>.ds1tv43:first-child{margin-top:1.5em}._1pke0ca0 .ds1tv4n>.ds1tv43:last-child{margin-bottom:1.5em}._1pke0ca0 .ds1tv4m .ds1tv4m,._1pke0ca0 .ds1tv4m .ds1tv4l,._1pke0ca0 .ds1tv4l .ds1tv4m,._1pke0ca0 .ds1tv4l .ds1tv4l{margin-top:1em;margin-bottom:1em}._1pke0ca0 .ds1tv4x{margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.5}._1pke0ca0 .ds1tv4x .ds1tv43{line-height:inherit;margin:0;padding:0}._1pke0ca0 .rich-image{margin-top:2em;margin-bottom:2em}._1pke0ca0 .rich-image>*{margin-top:0;margin-bottom:0}._1pke0ca0 .rich-image figcaption{color:var(--rc-text-secondary);margin-top:1em;font-size:.875em;line-height:1.5}._1pke0ca0 .ds1tv4t{border-color:var(--rc-hr-border);border-top-width:1px;width:60px;margin:3.5em auto}._1pke0ca0 .ds1tv4t+*{margin-top:0}._1pke0ca0 .ds1tv4j{font-weight:500;text-decoration:underline}._1pke0ca0 .rich-banner,._1pke0ca0 .rich-code-snippet,._1pke0ca0 ._135nao50{margin:2em 0}._1pke0ca0>:first-child{margin-top:0}._1pke0ca0>:last-child{margin-bottom:0}.p5thnj0{vertical-align:middle;padding:0 2px;display:inline}.p5thnj1{text-align:center;padding:var(--rc-space-md) 0;margin:var(--rc-space-md) 0;display:block;overflow-x:auto}.p5thnj2{font-family:var(--rc-font-mono);color:var(--rc-code-text);background-color:var(--rc-code-bg);border-radius:var(--rc-radius-sm);padding:2px 6px;font-size:.9em}._1iyoz3l0{font-size:var(--rc-font-size-base);line-height:var(--rc-line-height)}._1iyoz3l0 .ds1tv43{margin-bottom:.6em}._1iyoz3l0 .ds1tv4d{margin-top:.8em;margin-bottom:.3em;font-size:1.35em;font-weight:700}._1iyoz3l0 .ds1tv4e{margin-top:.7em;margin-bottom:.25em;font-size:1.2em;font-weight:700}._1iyoz3l0 .ds1tv4f{margin-top:.6em;margin-bottom:.2em;font-size:1.1em;font-weight:600}._1iyoz3l0 .ds1tv4g{margin-top:.5em;margin-bottom:.15em;font-size:1em;font-weight:600}._1iyoz3l0 .ds1tv4h{margin-top:.45em;margin-bottom:.1em;font-size:.9em;font-weight:600}._1iyoz3l0 .ds1tv4i{margin-top:.4em;margin-bottom:.1em;font-size:.85em;font-weight:600}._1iyoz3l0 .ds1tv4s{padding:var(--rc-space-sm) var(--rc-space-md);padding-left:calc(var(--rc-space-md) + 3px);margin:var(--rc-space-sm) 0;font-size:.95em}._1iyoz3l0 .ds1tv4s:before{width:3px}._1iyoz3l0 .ds1tv4l,._1iyoz3l0 .ds1tv4m{padding-left:var(--rc-space-md);margin-bottom:.6em}._1iyoz3l0 .ds1tv4n{margin-bottom:.1em}._1iyoz3l0 .rich-code-block{margin:var(--rc-space-sm) 0;border-radius:var(--rc-radius-sm);font-size:var(--rc-font-size-small)}._1iyoz3l0 .rich-code-block pre{padding:var(--rc-space-sm)}._1iyoz3l0 .line:before{display:none!important}._1iyoz3l0 .ds1tv4x{margin:var(--rc-space-sm) 0;font-size:var(--rc-font-size-small)}._1iyoz3l0 .ds1tv4v,._1iyoz3l0 .ds1tv4w{padding:var(--rc-space-xs) var(--rc-space-sm)}._1iyoz3l0 .rich-image{margin:var(--rc-space-sm) 0}._1iyoz3l0 .rich-image figcaption{font-size:var(--rc-font-size-small)}._1iyoz3l0 .ds1tv4t{border:none;border-top:1px solid var(--rc-hr-border);margin:var(--rc-space-lg) auto;width:60px}._1iyoz3l0 .ds1tv41j{padding:var(--rc-space-sm) var(--rc-space-md);padding-left:var(--rc-space-lg);margin:var(--rc-space-sm) 0}._1iyoz3l0 .p5thnj1{padding:var(--rc-space-sm) 0;margin:var(--rc-space-sm) 0}.g7jfj60{max-width:var(--rc-max-width);font-size:var(--rc-font-size-base);color:var(--rc-text);line-height:1.8}.g7jfj60 .rich-editor__content>.ds1tv43,.g7jfj60.rich-content:not([data-rich-nested=true])>.ds1tv43{margin-top:1.25em;margin-bottom:1.25em;line-height:1.8}.g7jfj60.rich-content:not([data-rich-nested=true])>.ds1tv43:not(:first-of-type){text-indent:2em}.g7jfj60 .rich-editor__content>.ds1tv43:first-of-type,.g7jfj60.rich-content:not([data-rich-nested=true])>.ds1tv43:first-of-type{margin-top:0}.g7jfj60 .rich-editor__content>.ds1tv43:not(:first-of-type)>[data-lexical-text]:first-child{margin-inline-start:2em}.g7jfj60.rich-content:not([data-rich-nested=true])>.ds1tv43:first-of-type:first-letter{float:left;margin-right:.2em;font-size:2.4em;line-height:1}.g7jfj60 .rich-editor__content>.ds1tv43:first-of-type:first-letter{color:var(--rc-accent);font-size:1.5em;font-weight:700}.g7jfj60 .rich-editor__content>.ds1tv43:last-child,.g7jfj60.rich-content:not([data-rich-nested=true])>.ds1tv43:last-child{margin-bottom:0}.g7jfj60 .ds1tv44{font-family:var(--rc-font-family);color:var(--rc-text);font-weight:600}.g7jfj60 .ds1tv4d{letter-spacing:-.025em;color:var(--rc-text);margin-top:0;margin-bottom:.888889em;font-size:2.25em;font-weight:800;line-height:1.11111}.g7jfj60 .ds1tv4e{letter-spacing:-.025em;color:var(--rc-text);margin-top:2em;margin-bottom:1em;font-size:1.5em;font-weight:700;line-height:1.33333}.g7jfj60 .ds1tv4e+*{margin-top:0}.g7jfj60 .ds1tv4f{letter-spacing:-.025em;color:var(--rc-text);margin-top:1.6em;margin-bottom:.6em;font-size:1.25em;font-weight:600;line-height:1.6}.g7jfj60 .ds1tv4f+*{margin-top:0}.g7jfj60 .ds1tv4g{color:var(--rc-text);margin-top:1.5em;margin-bottom:.5em;font-size:1.125em;font-weight:600;line-height:1.5}.g7jfj60 .ds1tv4g+*{margin-top:0}.g7jfj60 .ds1tv4h{color:var(--rc-text);margin-top:1.5em;margin-bottom:.5em;font-size:1em;font-weight:600;line-height:1.5}.g7jfj60 .ds1tv4h+*{margin-top:0}.g7jfj60 .ds1tv4i{color:var(--rc-text);text-transform:uppercase;margin-top:1.5em;margin-bottom:.5em;font-size:.875em;font-weight:600;line-height:1.5}.g7jfj60 .ds1tv4i+*{margin-top:0}.g7jfj60 .ds1tv4s{font-family:var(--rc-font-family-kai);color:color-mix(in srgb, var(--rc-accent) 60%, var(--rc-text));background-color:color-mix(in srgb, var(--rc-accent) 12%, var(--rc-bg));text-indent:0;border-radius:2px;margin:1.6em 0;padding:1.2em 1.5em;font-style:normal;line-height:1.75;transform:rotate(-.6deg);box-shadow:2px 3px 8px #00000014,0 1px 2px #0000000a}.g7jfj60 .ds1tv4s:before{content:"";background:repeating-linear-gradient(105deg, transparent, transparent 2px, #ffffff14 2px, #ffffff14 4px), color-mix(in srgb, var(--rc-accent) 20%, #0000000f);opacity:.85;border-radius:1px;width:56px;height:16px;position:absolute;top:-7px;bottom:auto;left:50%;transform:translate(-50%)rotate(1.2deg);box-shadow:0 1px 2px #0000000f}.g7jfj60 .ds1tv4s .ds1tv43:first-child:first-letter{float:none;font-size:inherit;margin-right:0}.g7jfj60 .ds1tv4j{text-underline-offset:2px;font-weight:500;text-decoration:underline;text-decoration-thickness:1px;transition:color .15s}.g7jfj60 .ds1tv4j:hover{text-decoration-thickness:2px}.g7jfj60 .ds1tv4a{font-size:.875em;font-family:var(--rc-font-mono);border-radius:var(--rc-radius-sm);background-color:var(--rc-code-bg);padding:.2em .4em;font-weight:500}.g7jfj60 .ds1tv4l,.g7jfj60 .ds1tv4m{margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.g7jfj60 .ds1tv4n{margin-top:.5em;margin-bottom:.5em}.g7jfj60 .ds1tv4n:not(.ds1tv4r):not(.ds1tv4q){padding-left:.375em}.g7jfj60 .ds1tv4n::marker{color:var(--rc-text-secondary)}.g7jfj60 .rich-code-block{border-radius:var(--rc-radius-md);margin-top:1.71429em;margin-bottom:1.71429em;font-size:.875em;line-height:1.71429;overflow-x:auto}.g7jfj60 .rich-code-block pre{margin:0;padding:.857143em 1.14286em}.g7jfj60 .ds1tv4x{margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.71429}.g7jfj60 .ds1tv4x .ds1tv43{line-height:inherit;margin:0;padding:0}.g7jfj60 .ds1tv4x .ds1tv43:first-child:first-letter{float:none;font-size:inherit;margin-right:0}.g7jfj60 .rich-image{margin-top:2em;margin-bottom:2em}.g7jfj60 .rich-image img{border-radius:var(--rc-radius-md)}.g7jfj60 .rich-image figcaption{color:var(--rc-text-secondary);text-align:center;margin-top:.857143em;font-size:.875em;line-height:1.42857}.g7jfj60 .ds1tv4t{border:none;border-top:1px solid var(--rc-hr-border);opacity:.2;width:60px;margin:.5rem auto}.g7jfj60 .p5thnj1{margin-top:1.6em;margin-bottom:1.6em;padding:1em 0;overflow-x:auto}.g7jfj60 .ds1tv4y{border-radius:var(--rc-radius-sm);padding-inline-start:.25em;padding-inline-end:.25em}.g7jfj60>:first-child{margin-top:0}.g7jfj60>:last-child{margin-bottom:0}.kif1zy0{margin:var(--rc-space-md) 0;position:relative}.kif1zy1{border-radius:var(--rc-radius-md);pointer-events:none;background:var(--rc-bg);border:1px solid var(--rc-border);box-shadow:var(--rc-shadow-top-bar);z-index:10;-webkit-user-select:none;user-select:none;white-space:nowrap;opacity:0;align-items:center;gap:2px;padding:4px 6px;transition:opacity .15s;display:flex;position:absolute;top:-36px;left:50%;transform:translate(-50%)}.kif1zy2{width:24px;height:24px;color:var(--rc-text-secondary);flex-shrink:0;justify-content:center;align-items:center;display:flex}.kif1zy3{border-radius:var(--rc-radius-sm);cursor:pointer;min-width:24px;height:24px;color:var(--rc-text-secondary);background:0 0;border:none;justify-content:center;align-items:center;padding:0 6px;font-size:12px;font-weight:500;line-height:1;transition:color .15s,background-color .15s;display:flex}.kif1zy3:hover{background-color:var(--rc-fill-secondary);color:var(--rc-text)}.kif1zy4{background:var(--rc-fill);color:var(--rc-text);font-weight:600}.kif1zy5{background:var(--rc-border);flex-shrink:0;width:1px;height:16px;margin:0 2px}.kif1zy6{border-radius:var(--rc-radius-sm);cursor:pointer;min-width:24px;height:24px;color:var(--rc-text-secondary);background:0 0;border:none;justify-content:center;align-items:center;padding:0 6px;transition:color .15s,background-color .15s;display:flex}.kif1zy6:hover{background-color:var(--rc-fill-secondary);color:var(--rc-text)}.kif1zy7{gap:var(--rc-space-md);display:grid}.kif1zy8{min-width:0}.kif1zy9{outline:none}.kif1zy0:hover .kif1zy1,.kif1zy0:focus-within .kif1zy1{opacity:1;pointer-events:auto}._1an6v8d0{cursor:pointer;margin:var(--rc-space-md) 0;border-radius:var(--rc-radius-md);border:1px solid var(--rc-border);display:block;position:relative;overflow:clip}._1an6v8d1{color:#fff;opacity:0;pointer-events:none;background:#00000059;justify-content:center;align-items:center;transition:opacity .2s,background .2s;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}._1an6v8d0:hover ._1an6v8d1{opacity:1;background:#00000080}._1an6v8d2{padding-block:var(--rc-space-md);padding-inline:var(--rc-space-xl);max-height:300px;overflow:clip}._1an6v8d3._1an6v8d3{gap:0;width:900px;max-width:90vw;max-height:min(900px,100vh - 1rem);padding:0;overflow:hidden}._1an6v8d4{background:var(--rc-bg);grid-template-rows:auto minmax(0,1fr) auto;height:min(800px,100vh - 1rem);display:grid}._1an6v8d5{border-bottom:1px solid var(--rc-border);flex-shrink:0;justify-content:space-between;align-items:center;height:48px;padding:0 .5rem 0 1rem;display:flex}._1an6v8d6{align-items:center;gap:.5rem;display:flex}._1an6v8d7{font-size:var(--rc-font-size-md);color:var(--rc-text);align-items:center;gap:.5rem;margin:0;font-weight:500;display:flex}._1an6v8d8{align-items:center;gap:4px;display:flex}._1an6v8d9{cursor:pointer;width:28px;height:28px;color:var(--rc-text-secondary);background:0 0;border:none;border-radius:.25rem;justify-content:center;align-items:center;transition:color .15s;display:inline-flex}._1an6v8d9:hover{color:var(--rc-text)}._1an6v8da{border-bottom:1px solid var(--rc-border);background:var(--rc-bg);padding:0 .75rem .5rem}._1an6v8db{max-width:none;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background-color:#0000;border:none;border-radius:0;margin:0;position:sticky;top:0}._1an6v8db>div{padding-inline-start:0;padding-inline-end:0}._1an6v8dc{background:linear-gradient(180deg, color-mix(in srgb, var(--rc-text) 2%, transparent), transparent);min-height:0;overflow:hidden}._1an6v8dc .rich-editor{flex-direction:column;height:100%;display:flex}._1an6v8dc .rich-editor__content-wrapper{max-width:75ch;overflow-y:auto}._1an6v8dc .rich-editor__content{padding-left:1.5rem;padding-right:1.5rem}._1an6v8dc .rich-editor__placeholder{left:1.5rem}._1an6v8dc .ds1tv42>:first-child{box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background-color:#0000;border-top:none;border-left:none;border-right:none;border-radius:0;max-width:none;margin:0}._1an6v8dd{scrollbar-gutter:stable both-edges;height:100%;overflow:hidden auto}._1an6v8de{background:var(--rc-bg);min-height:100%;display:flex;overflow:hidden}._1an6v8df{outline:none;flex:1;min-height:460px;padding:1.25rem 1.5rem 1.75rem;overflow:visible}._1an6v8dg{border-top:1px solid var(--rc-border);justify-content:flex-end;align-items:center;padding:.5rem .75rem;display:flex}._1an6v8dh{cursor:pointer;margin:var(--rc-space-md) 0;border-radius:var(--rc-radius-md);border:1px solid var(--rc-border);display:block;position:relative;overflow:clip}._1an6v8di{color:#fff;opacity:0;pointer-events:none;z-index:1;background:#00000040;justify-content:center;align-items:center;transition:opacity .2s;display:flex;position:absolute;top:0;bottom:0;left:0;right:0}._1an6v8dh:hover ._1an6v8di{opacity:1}._1an6v8dj{background:linear-gradient(to bottom, transparent, var(--rc-bg));pointer-events:none;height:4rem;position:absolute;bottom:0;left:0;right:0}._1an6v8dk._1an6v8dk{flex-direction:column;width:700px;max-width:90vw;height:min(800px,100vh - 2rem);max-height:min(800px,100vh - 2rem);display:flex;overflow:hidden}._1an6v8dl{flex:1;min-height:0;padding:0 1.5rem 1.5rem;overflow:hidden auto}._1an6v8dm{pointer-events:none}._1an6v8dn{color:var(--rc-text-secondary);font-size:var(--rc-font-size-md);opacity:.72;margin:0}._1an6v8df .rich-paragraph:first-child,._1an6v8dm .rich-paragraph:first-child{margin-top:0}._1an6v8dm .rich-paragraph:last-child{margin-bottom:0}
2
+ /*$vite$:1*/
package/dist/static.mjs CHANGED
@@ -1,12 +1,5 @@
1
- import { n as NestedDocNode } from "./transformer-CeHuyTaK.js";
2
- import { o, $, q, N, s } from "./transformer-CeHuyTaK.js";
3
- const nestedDocNodes = [NestedDocNode];
4
- export {
5
- o as $createNestedDocNode,
6
- $ as $isNestedDocNode,
7
- q as NESTED_DOC_BLOCK_TRANSFORMER,
8
- NestedDocNode,
9
- N as NestedDocRenderer,
10
- s as NestedDocStaticDecorator,
11
- nestedDocNodes
12
- };
1
+ import { i as NestedDocNode, l as NestedDocRenderer, n as $createNestedDocNode, o as NestedDocStaticDecorator, r as $isNestedDocNode, t as NESTED_DOC_BLOCK_TRANSFORMER } from "./transformer-DtRgDFYm.js";
2
+ //#region src/static.ts
3
+ var nestedDocNodes = [NestedDocNode];
4
+ //#endregion
5
+ export { $createNestedDocNode, $isNestedDocNode, NESTED_DOC_BLOCK_TRANSFORMER, NestedDocNode, NestedDocRenderer, NestedDocStaticDecorator, nestedDocNodes };
@@ -0,0 +1,277 @@
1
+ import { DecoratorNode } from "lexical";
2
+ import { Maximize2 } from "lucide-react";
3
+ import { createElement, useCallback, useMemo } from "react";
4
+ import { usePortalTheme } from "@haklex/rich-style-token";
5
+ import { ColorSchemeProvider, NestedContentRendererProvider, extractTextContent, useColorScheme, useOptionalNestedContentRenderer, usePresentDialog, useRendererConfig, useVariant } from "@haklex/rich-editor/static";
6
+ import { RichRenderer } from "@haklex/rich-static-renderer";
7
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
+ import { extractTextContent as extractTextContent$1 } from "@haklex/rich-editor/commands";
9
+ //#region src/styles.css.ts
10
+ var editOverlayRoot = "_1an6v8d0";
11
+ var editOverlay = "_1an6v8d1";
12
+ var rendererContent = "_1an6v8d2";
13
+ var dialogPopup = "_1an6v8d3";
14
+ var dialogShell = "_1an6v8d4";
15
+ var dialogHeader = "_1an6v8d5";
16
+ var dialogHeaderLeft = "_1an6v8d6";
17
+ var dialogTitle = "_1an6v8d7";
18
+ var dialogHeaderRight = "_1an6v8d8";
19
+ var dialogHeaderCloseBtn = "_1an6v8d9";
20
+ var editorArea = "_1an6v8dc";
21
+ var dialogFooter = "_1an6v8dg";
22
+ var staticOverlayRoot = "_1an6v8dh";
23
+ var staticOverlay = "_1an6v8di";
24
+ var staticDialogPopup = "_1an6v8dk";
25
+ var staticDialogBody = "_1an6v8dl";
26
+ var previewSurface = "_1an6v8dm";
27
+ var previewEmpty = "_1an6v8dn";
28
+ //#endregion
29
+ //#region src/NestedDocRenderer.tsx
30
+ function NestedDocRenderer({ value, variant = "comment" }) {
31
+ const renderNestedContent = useOptionalNestedContentRenderer();
32
+ const theme = useColorScheme();
33
+ const rendererConfig = useRendererConfig();
34
+ if (renderNestedContent) return /* @__PURE__ */ jsx(Fragment, { children: renderNestedContent(value, variant) });
35
+ return /* @__PURE__ */ jsx(RichRenderer, {
36
+ rendererConfig,
37
+ theme,
38
+ value,
39
+ variant
40
+ });
41
+ }
42
+ //#endregion
43
+ //#region src/utils.ts
44
+ function truncateEditorState(state, maxNodes) {
45
+ const root = state.root;
46
+ if (!root?.children || root.children.length <= maxNodes) return state;
47
+ return {
48
+ ...state,
49
+ root: {
50
+ ...root,
51
+ children: root.children.slice(0, maxNodes)
52
+ }
53
+ };
54
+ }
55
+ function hasRenderableEditorState(state) {
56
+ const children = state.root?.children ?? [];
57
+ if (children.length === 0) return false;
58
+ if (children.length > 1) return true;
59
+ const first = children[0];
60
+ if (!first) return false;
61
+ if (first.type !== "paragraph") return true;
62
+ return first.children?.some((child) => {
63
+ if (child.type !== "text") return true;
64
+ return Boolean(child.text?.trim());
65
+ }) ?? false;
66
+ }
67
+ //#endregion
68
+ //#region src/NestedDocStaticDecorator.tsx
69
+ var PREVIEW_NODE_LIMIT = 6;
70
+ function NestedDocStaticDecorator({ contentState }) {
71
+ const colorScheme = useColorScheme();
72
+ const { className: portalClassName } = usePortalTheme();
73
+ const presentDialogFromCtx = usePresentDialog();
74
+ const renderNestedContent = useOptionalNestedContentRenderer();
75
+ const children = contentState.root?.children ?? [];
76
+ const needsTruncation = children.length > PREVIEW_NODE_LIMIT;
77
+ const previewState = useMemo(() => truncateEditorState(contentState, PREVIEW_NODE_LIMIT), [contentState]);
78
+ const hasPreview = hasRenderableEditorState(contentState);
79
+ const title = useMemo(() => {
80
+ const firstChild = children[0];
81
+ if (!firstChild) return "";
82
+ const walk = (node) => {
83
+ if (node.text) return node.text;
84
+ if (node.children) return node.children.map(walk).join("");
85
+ return "";
86
+ };
87
+ return walk(firstChild).slice(0, 80);
88
+ }, [children]);
89
+ const contextVariant = useVariant();
90
+ const handleOpen = useCallback(async () => {
91
+ (presentDialogFromCtx ?? (await import("@haklex/rich-editor-ui")).presentDialog)({
92
+ title: title || void 0,
93
+ content: () => /* @__PURE__ */ jsx(ColorSchemeProvider, {
94
+ colorScheme,
95
+ children: /* @__PURE__ */ jsx(NestedContentRendererProvider, {
96
+ value: renderNestedContent,
97
+ children: /* @__PURE__ */ jsx("div", {
98
+ className: staticDialogBody,
99
+ children: /* @__PURE__ */ jsx(NestedDocRenderer, {
100
+ value: contentState,
101
+ variant: contextVariant
102
+ })
103
+ })
104
+ })
105
+ }),
106
+ className: staticDialogPopup,
107
+ portalClassName,
108
+ theme: colorScheme,
109
+ showCloseButton: true,
110
+ clickOutsideToDismiss: true,
111
+ sheet: "auto"
112
+ });
113
+ }, [
114
+ colorScheme,
115
+ contentState,
116
+ portalClassName,
117
+ presentDialogFromCtx,
118
+ renderNestedContent,
119
+ title,
120
+ contextVariant
121
+ ]);
122
+ if (!hasPreview) return null;
123
+ return /* @__PURE__ */ jsxs("div", {
124
+ className: staticOverlayRoot,
125
+ role: "button",
126
+ tabIndex: 0,
127
+ onClick: handleOpen,
128
+ onKeyDown: (e) => {
129
+ if (e.key === "Enter" || e.key === " ") {
130
+ e.preventDefault();
131
+ handleOpen();
132
+ }
133
+ },
134
+ children: [
135
+ /* @__PURE__ */ jsx("div", {
136
+ className: `${rendererContent} rich-nested-doc-content`,
137
+ children: /* @__PURE__ */ jsx("div", {
138
+ className: previewSurface,
139
+ children: /* @__PURE__ */ jsx(NestedDocRenderer, { value: previewState })
140
+ })
141
+ }),
142
+ needsTruncation && /* @__PURE__ */ jsx("div", {
143
+ "aria-hidden": true,
144
+ className: "_1an6v8dj"
145
+ }),
146
+ /* @__PURE__ */ jsx("div", {
147
+ "aria-hidden": true,
148
+ className: staticOverlay,
149
+ children: /* @__PURE__ */ jsx(Maximize2, { size: 24 })
150
+ })
151
+ ]
152
+ });
153
+ }
154
+ //#endregion
155
+ //#region \0@oxc-project+runtime@0.127.0/helpers/typeof.js
156
+ function _typeof(o) {
157
+ "@babel/helpers - typeof";
158
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
159
+ return typeof o;
160
+ } : function(o) {
161
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
162
+ }, _typeof(o);
163
+ }
164
+ //#endregion
165
+ //#region \0@oxc-project+runtime@0.127.0/helpers/toPrimitive.js
166
+ function toPrimitive(t, r) {
167
+ if ("object" != _typeof(t) || !t) return t;
168
+ var e = t[Symbol.toPrimitive];
169
+ if (void 0 !== e) {
170
+ var i = e.call(t, r || "default");
171
+ if ("object" != _typeof(i)) return i;
172
+ throw new TypeError("@@toPrimitive must return a primitive value.");
173
+ }
174
+ return ("string" === r ? String : Number)(t);
175
+ }
176
+ //#endregion
177
+ //#region \0@oxc-project+runtime@0.127.0/helpers/toPropertyKey.js
178
+ function toPropertyKey(t) {
179
+ var i = toPrimitive(t, "string");
180
+ return "symbol" == _typeof(i) ? i : i + "";
181
+ }
182
+ //#endregion
183
+ //#region \0@oxc-project+runtime@0.127.0/helpers/defineProperty.js
184
+ function _defineProperty(e, r, t) {
185
+ return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
186
+ value: t,
187
+ enumerable: !0,
188
+ configurable: !0,
189
+ writable: !0
190
+ }) : e[r] = t, e;
191
+ }
192
+ //#endregion
193
+ //#region src/NestedDocNode.ts
194
+ var NestedDocNode = class NestedDocNode extends DecoratorNode {
195
+ static getType() {
196
+ return "nested-doc";
197
+ }
198
+ static clone(node) {
199
+ return new NestedDocNode(node.__contentState, node.__key);
200
+ }
201
+ constructor(contentState, key) {
202
+ super(key);
203
+ _defineProperty(this, "__contentState", void 0);
204
+ this.__contentState = contentState || { root: {
205
+ children: [{
206
+ type: "paragraph",
207
+ children: [],
208
+ direction: null,
209
+ format: "",
210
+ indent: 0,
211
+ textFormat: 0,
212
+ textStyle: "",
213
+ version: 1
214
+ }],
215
+ direction: null,
216
+ format: "",
217
+ indent: 0,
218
+ type: "root",
219
+ version: 1
220
+ } };
221
+ }
222
+ createDOM(_config) {
223
+ const div = document.createElement("div");
224
+ div.className = "rich-nested-doc";
225
+ return div;
226
+ }
227
+ updateDOM() {
228
+ return false;
229
+ }
230
+ isInline() {
231
+ return false;
232
+ }
233
+ getContentState() {
234
+ return this.getLatest().__contentState;
235
+ }
236
+ setContentState(state) {
237
+ const writable = this.getWritable();
238
+ writable.__contentState = state;
239
+ }
240
+ getTextContent() {
241
+ return extractTextContent(this.__contentState);
242
+ }
243
+ static importJSON(serializedNode) {
244
+ return new NestedDocNode(serializedNode.content);
245
+ }
246
+ exportJSON() {
247
+ return {
248
+ ...super.exportJSON(),
249
+ type: "nested-doc",
250
+ content: this.__contentState,
251
+ version: 1
252
+ };
253
+ }
254
+ decorate(_editor, _config) {
255
+ return createElement(NestedDocStaticDecorator, { contentState: this.__contentState });
256
+ }
257
+ };
258
+ function $createNestedDocNode(contentState) {
259
+ return new NestedDocNode(contentState);
260
+ }
261
+ function $isNestedDocNode(node) {
262
+ return node instanceof NestedDocNode;
263
+ }
264
+ //#endregion
265
+ //#region src/transformer.ts
266
+ var NESTED_DOC_BLOCK_TRANSFORMER = {
267
+ dependencies: [],
268
+ export: (node) => {
269
+ if (!$isNestedDocNode(node)) return null;
270
+ return `<nested-doc>\n${extractTextContent$1(node.getContentState())}\n</nested-doc>`;
271
+ },
272
+ regExp: /a^/,
273
+ replace: () => {},
274
+ type: "element"
275
+ };
276
+ //#endregion
277
+ export { rendererContent as C, previewSurface as S, dialogTitle as _, _defineProperty as a, editorArea as b, truncateEditorState as c, dialogHeader as d, dialogHeaderCloseBtn as f, dialogShell as g, dialogPopup as h, NestedDocNode as i, NestedDocRenderer as l, dialogHeaderRight as m, $createNestedDocNode as n, NestedDocStaticDecorator as o, dialogHeaderLeft as p, $isNestedDocNode as r, hasRenderableEditorState as s, NESTED_DOC_BLOCK_TRANSFORMER as t, dialogFooter as u, editOverlay as v, previewEmpty as x, editOverlayRoot as y };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haklex/rich-ext-nested-doc",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Nested document extension for haklex rich editor",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,30 +25,30 @@
25
25
  "dist"
26
26
  ],
27
27
  "dependencies": {
28
- "@haklex/rich-editor": "0.1.0",
29
- "@haklex/rich-editor-ui": "0.1.0",
30
- "@haklex/rich-static-renderer": "0.1.0",
31
- "@haklex/rich-style-token": "0.1.0"
28
+ "@haklex/rich-editor": "0.2.0",
29
+ "@haklex/rich-editor-ui": "0.2.0",
30
+ "@haklex/rich-static-renderer": "0.2.0",
31
+ "@haklex/rich-style-token": "0.2.0"
32
32
  },
33
33
  "devDependencies": {
34
- "@lexical/markdown": "^0.43.0",
35
- "@lexical/react": "^0.43.0",
34
+ "@lexical/markdown": "^0.44.0",
35
+ "@lexical/react": "^0.44.0",
36
36
  "@types/react": "^19.2.14",
37
37
  "@types/react-dom": "^19.2.3",
38
- "@vanilla-extract/css": "^1.18.0",
39
- "@vanilla-extract/vite-plugin": "^5.1.4",
40
- "lexical": "^0.43.0",
41
- "lucide-react": "^1.0.0",
42
- "react": "19.2.4",
43
- "react-dom": "19.2.4",
38
+ "@vanilla-extract/css": "^1.20.1",
39
+ "@vanilla-extract/vite-plugin": "^5.2.2",
40
+ "lexical": "^0.44.0",
41
+ "lucide-react": "^1.12.0",
42
+ "react": "19.2.5",
43
+ "react-dom": "19.2.5",
44
44
  "typescript": "^5.9.3",
45
- "vite": "^7.3.1",
45
+ "vite": "^8.0.10",
46
46
  "vite-plugin-dts": "^4.5.4"
47
47
  },
48
48
  "peerDependencies": {
49
- "@lexical/markdown": "^0.43.0",
50
- "@lexical/react": "^0.43.0",
51
- "lexical": "^0.43.0",
49
+ "@lexical/markdown": "^0.44.0",
50
+ "@lexical/react": "^0.44.0",
51
+ "lexical": "^0.44.0",
52
52
  "lucide-react": "^1.0.0",
53
53
  "react": ">=19",
54
54
  "react-dom": ">=19"