@milkdown/crepe 7.3.3 → 7.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/feature/block-edit/handle/index.d.ts.map +1 -1
- package/lib/feature/toolbar/index.d.ts.map +1 -1
- package/lib/{index-N9GtIS4X.js → index-0c09be_R.js} +4 -4
- package/lib/{index-0RbcZMbq.js → index-2Cm9HHYj.js} +1 -1
- package/lib/{index-Pwn25-kf.js → index-3qfZtuPz.js} +1 -1
- package/lib/{index-oTRzPo3B.js → index-5QLddZAp.js} +4 -4
- package/lib/{index-bkuIUPFS.js → index-7mRbGzci.js} +5 -5
- package/lib/{index-rrf6_6DC.js → index-8NLp8LdC.js} +1 -1
- package/lib/{index-yt2EpMtv.js → index-Gg_apETx.js} +5 -5
- package/lib/{index-vJbZIHYF.js → index-Gz6CQY-t.js} +4 -4
- package/lib/{use-css-light-dom-EKWZDmbJ.js → index-H0TD0r41.js} +24 -23
- package/lib/{index-7QgQq3x3.js → index-Ic30Lzgg.js} +4 -4
- package/lib/{index-7MeyepDG.js → index-JGveSciI.js} +7 -7
- package/lib/{index-lsG76a9s.js → index-KpfNv3rh.js} +4 -4
- package/lib/{index-FIk_7oPb.js → index-TRbxSkC1.js} +4 -4
- package/lib/{index-SdFSDosa.js → index-TsIsEZU1.js} +1 -1
- package/lib/{index-wn1_LgCS.js → index-WAhmZOxr.js} +4 -4
- package/lib/{index-4afXjFMY.js → index-YMk3n5vO.js} +4 -4
- package/lib/{index-9A_GmGh4.js → index-Zxe2neJQ.js} +9 -9
- package/lib/{index-W5Th22-Z.js → index-b2y_N_O5.js} +7 -7
- package/lib/{index-Eg39w5kL.js → index-bnwzlBfQ.js} +6 -6
- package/lib/{index-vxy63hib.js → index-fJFWq6Y-.js} +7 -7
- package/lib/{index-MovKtgMG.js → index-ffdCLz6T.js} +2 -2
- package/lib/{index-EJJfYLzA.js → index-hNRb95TL.js} +4 -4
- package/lib/{index-8Gg-jEP4.js → index-h_6aZnx8.js} +4 -4
- package/lib/{index-jPA8J9Eo.js → index-j2S9Lybz.js} +1 -1
- package/lib/{index-8S8qcncB.js → index-kJIKUIIa.js} +3 -3
- package/lib/{index-7pgP6qYs.js → index-kwrazjQE.js} +7 -7
- package/lib/{index-vPRh55CO.js → index-oOHgRzEu.js} +3 -6
- package/lib/{index-8DvtgRVa.js → index-qQMehYhQ.js} +24 -24
- package/lib/{index-LlbrXb_n.js → index-wbiYuOxV.js} +56 -64
- package/lib/{index-bknOViGv.js → index-xkrG0YF8.js} +1 -1
- package/lib/{index-XiXSFLmI.js → index-yP4hAgM2.js} +11 -11
- package/lib/index.es.js +1 -1
- package/lib/{schema-tKk3m1fu.js → schema-t8-IDHY6.js} +1 -1
- package/lib/{tippy.esm-MZ2vxByW.js → tippy.esm-xX0Dh8mH.js} +1 -1
- package/lib/{tooltip-plugin-gcwyQdiT.js → tooltip-plugin-0UgO85XO.js} +25 -22
- package/package.json +14 -14
- package/src/feature/block-edit/handle/index.ts +0 -3
- package/src/feature/block-edit/menu/index.ts +0 -3
- package/src/feature/toolbar/index.ts +0 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/feature/block-edit/handle/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAGvD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAQtD,qBAAa,eAAgB,YAAW,UAAU;;gBAKpC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/feature/block-edit/handle/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAA;AAGvD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,eAAe,CAAA;AACxC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAQtD,qBAAa,eAAgB,YAAW,UAAU;;gBAKpC,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,UAAU;IAoBtC,MAAM,SAAU,UAAU,UAEzB;IAED,OAAO,aAGN;IAED,KAAK,aAsBJ;CACF;AAGD,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,GAAG,QAI5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/feature/toolbar/index.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/feature/toolbar/index.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAwE9C,eAAO,MAAM,aAAa,EAAE,aAS3B,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { L as o, b as r, h as O, f as t, j as n, s as a, a as s, t as e } from "./index-
|
|
2
|
-
import { L as i } from "./index-
|
|
1
|
+
import { L as o, b as r, h as O, f as t, j as n, s as a, a as s, t as e } from "./index-qQMehYhQ.js";
|
|
2
|
+
import { L as i } from "./index-TsIsEZU1.js";
|
|
3
3
|
import "./meta-tAGyVRPE.js";
|
|
4
4
|
import "./icons-HYkfuR-O.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-yP4hAgM2.js";
|
|
6
6
|
import "./hooks-82sqkbtE.js";
|
|
7
|
-
import "./
|
|
7
|
+
import "./index-H0TD0r41.js";
|
|
8
8
|
import "./clsx-7d8NmkQq.js";
|
|
9
9
|
const Q = { __proto__: null, anyref: 34, dataref: 34, eqref: 34, externref: 34, i31ref: 34, funcref: 34, i8: 34, i16: 34, i32: 34, i64: 34, f32: 34, f64: 34 }, $ = /* @__PURE__ */ i.deserialize({
|
|
10
10
|
version: 14,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as e } from "./prosemirror-noTDkx-k.js";
|
|
2
|
-
import { i as r } from "./index-
|
|
2
|
+
import { i as r } from "./index-yP4hAgM2.js";
|
|
3
3
|
const i = '.milkdown{--crepe-color-background: #FFFDFB;--crepe-color-on-background: #1F1B16;--crepe-color-surface: #FFF8F4;--crepe-color-surface-low: #FFF1E5;--crepe-color-on-surface: #201B13;--crepe-color-on-surface-variant: #4F4539;--crepe-color-outline: #817567;--crepe-color-primary: #805610;--crepe-color-secondary: #FBDEBC;--crepe-color-on-secondary: #271904;--crepe-color-inverse: #362F27;--crepe-color-on-inverse: #FCEFE2;--crepe-color-inline-code: #BA1A1A;--crepe-color-error: #BA1A1A;--crepe-color-hover: #F9ECDF;--crepe-color-selected: #EDE0D4;--crepe-color-inline-area: #E4D8CC;--crepe-font-title: Georgia, Cambria, "Times New Roman", Times, serif;--crepe-font-default: "Open Sans", Arial, Helvetica, sans-serif;--crepe-font-code: Fira Code, Menlo, Monaco, "Courier New", Courier, monospace;--crepe-shadow-1: 0px 1px 3px 1px rgba(0, 0, 0, .15), 0px 1px 2px 0px rgba(0, 0, 0, .3);--crepe-shadow-2: 0px 2px 6px 2px rgba(0, 0, 0, .15), 0px 1px 2px 0px rgba(0, 0, 0, .3);font-family:var(--crepe-font-default);color:var(--crepe-color-on-background);background:var(--crepe-color-background)}.milkdown *{margin:0;padding:0;box-sizing:border-box}.milkdown button,.milkdown input{border:none;background:none;box-shadow:none}.milkdown button:focus,.milkdown input:focus{outline:none}.milkdown :focus-visible{outline:none}.milkdown .ProseMirror-focused{outline:none}.milkdown .ProseMirror{padding:60px 120px}.milkdown .ProseMirror>*{margin:20px 0 40px}.milkdown .ProseMirror *::selection{background:var(--crepe-color-selected)}.milkdown .ProseMirror li.ProseMirror-selectednode{outline:10px solid var(--crepe-color-selected)}.milkdown .ProseMirror li.ProseMirror-selectednode:after{all:unset}.milkdown .ProseMirror .ProseMirror-selectednode{background:var(--crepe-color-selected);outline:10px solid var(--crepe-color-selected)}.milkdown .ProseMirror img{vertical-align:bottom;max-width:100%}.milkdown .ProseMirror img.ProseMirror-selectednode{background:none;outline:2px solid var(--crepe-color-primary)}.milkdown .ProseMirror h1,.milkdown .ProseMirror h2,.milkdown .ProseMirror h3,.milkdown .ProseMirror h4,.milkdown .ProseMirror h5,.milkdown .ProseMirror h6{font-family:var(--crepe-font-title);font-weight:400}.milkdown .ProseMirror h1{font-size:42px;line-height:50px}.milkdown .ProseMirror h2{font-size:36px;line-height:44px}.milkdown .ProseMirror h3{font-size:32px;line-height:40px}.milkdown .ProseMirror h4{font-size:28px;line-height:36px}.milkdown .ProseMirror h5{font-size:24px;line-height:32px}.milkdown .ProseMirror h6{font-size:18px;font-weight:700;line-height:28px}.milkdown .ProseMirror p{font-size:16px;line-height:24px}.milkdown .ProseMirror code{color:var(--crepe-color-inline-code);background:color-mix(in srgb,var(--crepe-color-inline-area),transparent 40%);padding:0 10px;border-radius:4px}.milkdown .ProseMirror a{color:var(--crepe-color-primary)}.milkdown .ProseMirror pre{background:color-mix(in srgb,var(--crepe-color-inline-area),transparent 40%);padding:10px;border-radius:4px}.milkdown .ProseMirror pre code{padding:0;background:transparent}.milkdown .ProseMirror blockquote{position:relative;padding-left:40px}.milkdown .ProseMirror blockquote:before{content:"";width:4px;height:100%;left:0;position:absolute;background:var(--crepe-color-selected);border-radius:100px}.milkdown .ProseMirror blockquote hr{margin-bottom:16px}.milkdown .ProseMirror hr{border:none;border-bottom:1px solid color-mix(in srgb,var(--crepe-color-outline),transparent 80%);height:16px;position:relative}.milkdown .ProseMirror hr.ProseMirror-selectednode{outline:none;background:none;border-bottom:1px solid var(--crepe-color-outline)}.milkdown .ProseMirror .ProseMirror-gapcursor:after{box-sizing:border-box;border-top:1px solid var(--crepe-color-on-background);top:-40px}', c = (o) => {
|
|
4
4
|
o.config(r(e)).config(r(i));
|
|
5
5
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { E as Y, L as S } from "./index-
|
|
2
|
-
import { s as l, t as Q, L as o, b as n, d as i, g as s, h as W, f as c, j as f, a as x } from "./index-
|
|
1
|
+
import { E as Y, L as S } from "./index-TsIsEZU1.js";
|
|
2
|
+
import { s as l, t as Q, L as o, b as n, d as i, g as s, h as W, f as c, j as f, a as x } from "./index-qQMehYhQ.js";
|
|
3
3
|
import "./meta-tAGyVRPE.js";
|
|
4
4
|
import "./icons-HYkfuR-O.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-yP4hAgM2.js";
|
|
6
6
|
import "./hooks-82sqkbtE.js";
|
|
7
|
-
import "./
|
|
7
|
+
import "./index-H0TD0r41.js";
|
|
8
8
|
import "./clsx-7d8NmkQq.js";
|
|
9
9
|
const r = 1, Z = 2, V = 3, u = 82, p = 76, w = 117, q = 85, T = 97, y = 122, z = 65, b = 90, j = 95, a = 48, P = 34, v = 40, U = 41, d = 32, t = 62, _ = new Y((O) => {
|
|
10
10
|
if (O.next == p || O.next == q ? O.advance() : O.next == w && (O.advance(), O.next == a + 8 && O.advance()), O.next != u || (O.advance(), O.next != P))
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { E as R, C as z, L as G } from "./index-
|
|
2
|
-
import { s as w, t as $, L as q, f as j, j as b, b as v, d as u, a as E } from "./index-
|
|
3
|
-
import { defineCSSCompletionSource as C } from "./index-
|
|
1
|
+
import { E as R, C as z, L as G } from "./index-TsIsEZU1.js";
|
|
2
|
+
import { s as w, t as $, L as q, f as j, j as b, b as v, d as u, a as E } from "./index-qQMehYhQ.js";
|
|
3
|
+
import { defineCSSCompletionSource as C } from "./index-hNRb95TL.js";
|
|
4
4
|
import "./meta-tAGyVRPE.js";
|
|
5
5
|
import "./icons-HYkfuR-O.js";
|
|
6
|
-
import "./index-
|
|
6
|
+
import "./index-yP4hAgM2.js";
|
|
7
7
|
import "./hooks-82sqkbtE.js";
|
|
8
|
-
import "./
|
|
8
|
+
import "./index-H0TD0r41.js";
|
|
9
9
|
import "./clsx-7d8NmkQq.js";
|
|
10
10
|
const Y = 148, X = 149, V = 150, N = 1, F = 2, T = 3, I = 151, D = 152, k = 4, L = 5, K = 153, Z = 154, _ = 155, P = 156, h = 6, U = 7, A = 8, B = 9, c = 0, o = [
|
|
11
11
|
9,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { P as b, j as T, o as p, p as V, T as v, q as x, F as w, t as k, D, w as M, $ as O, x as P, i as F, a as N, C as y } from "./index-
|
|
1
|
+
import { P as b, j as T, o as p, p as V, T as v, q as x, F as w, t as k, D, w as M, $ as O, x as P, i as F, a as N, C as y } from "./index-yP4hAgM2.js";
|
|
2
2
|
function R(i = {}) {
|
|
3
3
|
return new b({
|
|
4
4
|
view(e) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { L as t, b as i, d as n, f as $, j as y, a as m, s as P, t as O } from "./index-
|
|
2
|
-
import { defineCSSCompletionSource as X } from "./index-
|
|
3
|
-
import { L as c, E as S } from "./index-
|
|
1
|
+
import { L as t, b as i, d as n, f as $, j as y, a as m, s as P, t as O } from "./index-qQMehYhQ.js";
|
|
2
|
+
import { defineCSSCompletionSource as X } from "./index-hNRb95TL.js";
|
|
3
|
+
import { L as c, E as S } from "./index-TsIsEZU1.js";
|
|
4
4
|
import "./meta-tAGyVRPE.js";
|
|
5
5
|
import "./icons-HYkfuR-O.js";
|
|
6
|
-
import "./index-
|
|
6
|
+
import "./index-yP4hAgM2.js";
|
|
7
7
|
import "./hooks-82sqkbtE.js";
|
|
8
|
-
import "./
|
|
8
|
+
import "./index-H0TD0r41.js";
|
|
9
9
|
import "./clsx-7d8NmkQq.js";
|
|
10
10
|
const f = 110, l = 1, s = 2, r = [
|
|
11
11
|
9,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { L as o } from "./index-
|
|
2
|
-
import { s, t as r, L as n, b as P, d as a, f as i, j as Q, a as c } from "./index-
|
|
1
|
+
import { L as o } from "./index-TsIsEZU1.js";
|
|
2
|
+
import { s, t as r, L as n, b as P, d as a, f as i, j as Q, a as c } from "./index-qQMehYhQ.js";
|
|
3
3
|
import "./meta-tAGyVRPE.js";
|
|
4
4
|
import "./icons-HYkfuR-O.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-yP4hAgM2.js";
|
|
6
6
|
import "./hooks-82sqkbtE.js";
|
|
7
|
-
import "./
|
|
7
|
+
import "./index-H0TD0r41.js";
|
|
8
8
|
import "./clsx-7d8NmkQq.js";
|
|
9
9
|
const p = s({
|
|
10
10
|
String: r.string,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S
|
|
2
|
-
import { o as
|
|
3
|
-
function
|
|
1
|
+
import { S, N as u, n as l, m as f } from "./index-yP4hAgM2.js";
|
|
2
|
+
import { o as $, $ as C, e as R, b as g } from "./meta-tAGyVRPE.js";
|
|
3
|
+
function N(e, a) {
|
|
4
4
|
const s = (t) => async () => {
|
|
5
|
-
await t.wait(
|
|
5
|
+
await t.wait(S);
|
|
6
6
|
const o = a(t);
|
|
7
7
|
return e.type(t) instanceof u ? t.update(l, (n) => [...n, [e.id, o]]) : t.update(f, (n) => [...n, [e.id, o]]), s.view = o, s.type = e, () => {
|
|
8
8
|
e.type(t) instanceof u ? t.update(l, (n) => n.filter((i) => i[0] !== e.id)) : t.update(f, (n) => n.filter((i) => i[0] !== e.id));
|
|
@@ -11,42 +11,42 @@ function T(e, a) {
|
|
|
11
11
|
return s;
|
|
12
12
|
}
|
|
13
13
|
const d = {};
|
|
14
|
-
function
|
|
14
|
+
function v(e, ...a) {
|
|
15
15
|
const s = (e.raw || e).reduce(
|
|
16
16
|
(t, o, n) => t + o + (a[n] || ""),
|
|
17
17
|
""
|
|
18
18
|
);
|
|
19
|
-
return d[s] = d[s] ||
|
|
19
|
+
return d[s] = d[s] || w(s);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
22
|
-
if (
|
|
21
|
+
function w(e) {
|
|
22
|
+
if ($.sheet) {
|
|
23
23
|
const a = new CSSStyleSheet();
|
|
24
24
|
return a.replaceSync(e), a;
|
|
25
25
|
} else {
|
|
26
|
-
const a =
|
|
26
|
+
const a = C.createElement("style");
|
|
27
27
|
return a.textContent = e, a;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
-
const
|
|
31
|
-
function
|
|
30
|
+
const p = (e) => e.replace(/([^\w\_\-])/g, "\\$1"), E = ({ cssText: e, selectorText: a }, s) => `${a.split(/\s*,\s*/).map((t) => (t.startsWith(":") ? t : ":host " + t).replace(/(:host)\((.+)\)/, "$1$2").replace(/::slotted\((.+)\)/, ":host > $1").replace(/:host/g, s))}${e.replace(a, "").replace(/(animation(?:-name){0,1}\s*:\s*)([^;}]+)/g, "$1$2-" + p(s))}`;
|
|
31
|
+
function m(e, a) {
|
|
32
32
|
const { cssRules: s } = e;
|
|
33
33
|
let t = [];
|
|
34
34
|
for (let o = 0; o < s.length; o++) {
|
|
35
35
|
const n = s[o];
|
|
36
36
|
if (n instanceof CSSStyleRule)
|
|
37
|
-
t.push(
|
|
37
|
+
t.push(E(n, a));
|
|
38
38
|
else if (n instanceof CSSKeyframesRule) {
|
|
39
39
|
const { cssText: i } = n;
|
|
40
|
-
t.push(i.replace(/\s+([^\s{]+)/, " $1-" +
|
|
40
|
+
t.push(i.replace(/\s+([^\s{]+)/, " $1-" + p(a)));
|
|
41
41
|
} else if (n instanceof CSSMediaRule) {
|
|
42
42
|
const { conditionText: i } = n;
|
|
43
|
-
t.push(`@media ${i}{${
|
|
43
|
+
t.push(`@media ${i}{${m(n, a)}}`);
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
return t;
|
|
47
47
|
}
|
|
48
48
|
let r;
|
|
49
|
-
function
|
|
49
|
+
function y(e) {
|
|
50
50
|
if (e instanceof CSSStyleSheet)
|
|
51
51
|
return e;
|
|
52
52
|
if (e.sheet)
|
|
@@ -62,21 +62,22 @@ function E(e) {
|
|
|
62
62
|
return n;
|
|
63
63
|
}, s;
|
|
64
64
|
}
|
|
65
|
-
|
|
65
|
+
const h = "data-sheet";
|
|
66
|
+
let T = 0;
|
|
66
67
|
function D(e) {
|
|
67
|
-
const a =
|
|
68
|
-
|
|
68
|
+
const a = R();
|
|
69
|
+
g(() => {
|
|
69
70
|
const s = document.createElement("style"), { current: t } = a;
|
|
70
|
-
return t.
|
|
71
|
+
return t.hasAttribute(h) || t.setAttribute(h, `${T++}`), t.appendChild(s), s.sheet && (Array.isArray(e) ? e.flat(100) : [e]).forEach((o) => {
|
|
71
72
|
if (!o)
|
|
72
73
|
return;
|
|
73
|
-
const n =
|
|
74
|
-
|
|
74
|
+
const n = y(o);
|
|
75
|
+
m(n, t.localName + `[data-sheet="${t.dataset.sheet}"]`).forEach((i) => s.sheet.insertRule(i, s.sheet.cssRules.length));
|
|
75
76
|
}), () => s.remove();
|
|
76
77
|
}, [e]);
|
|
77
78
|
}
|
|
78
79
|
export {
|
|
79
|
-
|
|
80
|
-
|
|
80
|
+
N as $,
|
|
81
|
+
v as c,
|
|
81
82
|
D as u
|
|
82
83
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { E as P, C as G, L as g } from "./index-
|
|
2
|
-
import { s as _, t as Q, e as k, i as E, L as U, b as z, h as q, f as A, j as F, a as C, I, c as N, B as L, D as x } from "./index-
|
|
1
|
+
import { E as P, C as G, L as g } from "./index-TsIsEZU1.js";
|
|
2
|
+
import { s as _, t as Q, e as k, i as E, L as U, b as z, h as q, f as A, j as F, a as C, I, c as N, B as L, D as x } from "./index-qQMehYhQ.js";
|
|
3
3
|
import "./meta-tAGyVRPE.js";
|
|
4
4
|
import "./icons-HYkfuR-O.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-yP4hAgM2.js";
|
|
6
6
|
import "./hooks-82sqkbtE.js";
|
|
7
|
-
import "./
|
|
7
|
+
import "./index-H0TD0r41.js";
|
|
8
8
|
import "./clsx-7d8NmkQq.js";
|
|
9
9
|
const D = 1, Z = 201, u = 202, H = 203, m = 204, J = 205, B = 206, M = 207, K = 2, OO = 208, rO = 209, aO = 3, iO = 210, QO = 211, eO = 4, SO = 212, oO = 213, xO = 5, sO = 214, tO = 26, TO = 27, nO = 51, PO = 52, lO = 57, pO = 58, qO = 59, $O = 61, XO = 62, wO = 63, YO = 64, cO = 65, mO = 67, fO = 251, dO = 74, bO = 270, yO = 115, ZO = 133, uO = 154, WO = 155, VO = 158, t = 10, T = 13, Y = 32, l = 9, c = 35, RO = 40, vO = 46, f = 123, W = 39, V = 34, jO = 92, hO = /* @__PURE__ */ new Set([
|
|
10
10
|
TO,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { L as p, a as u, s as m, t as e, p as n } from "./index-
|
|
2
|
-
import { html as l } from "./index-
|
|
3
|
-
import { javascriptLanguage as b } from "./index-
|
|
4
|
-
import { L as S, a as r } from "./index-
|
|
1
|
+
import { L as p, a as u, s as m, t as e, p as n } from "./index-qQMehYhQ.js";
|
|
2
|
+
import { html as l } from "./index-bnwzlBfQ.js";
|
|
3
|
+
import { javascriptLanguage as b } from "./index-KpfNv3rh.js";
|
|
4
|
+
import { L as S, a as r } from "./index-TsIsEZU1.js";
|
|
5
5
|
import "./meta-tAGyVRPE.js";
|
|
6
6
|
import "./icons-HYkfuR-O.js";
|
|
7
|
-
import "./index-
|
|
7
|
+
import "./index-yP4hAgM2.js";
|
|
8
8
|
import "./hooks-82sqkbtE.js";
|
|
9
|
-
import "./
|
|
9
|
+
import "./index-H0TD0r41.js";
|
|
10
10
|
import "./clsx-7d8NmkQq.js";
|
|
11
|
-
import "./index-
|
|
11
|
+
import "./index-hNRb95TL.js";
|
|
12
12
|
const c = /* @__PURE__ */ S.deserialize({
|
|
13
13
|
version: 14,
|
|
14
14
|
states: "%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C, E as d, L as I, a as x } from "./index-
|
|
2
|
-
import { s as A, t as i, D as p, e as j, L as J, b as N, d as m, g as D, h as K, f as L, j as B, J as G, a as F, i as H, c as M, H as OO, E as aO, I as QO, w as iO, B as eO } from "./index-
|
|
1
|
+
import { C, E as d, L as I, a as x } from "./index-TsIsEZU1.js";
|
|
2
|
+
import { s as A, t as i, D as p, e as j, L as J, b as N, d as m, g as D, h as K, f as L, j as B, J as G, a as F, i as H, c as M, H as OO, E as aO, I as QO, w as iO, B as eO } from "./index-qQMehYhQ.js";
|
|
3
3
|
import "./meta-tAGyVRPE.js";
|
|
4
4
|
import "./icons-HYkfuR-O.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-yP4hAgM2.js";
|
|
6
6
|
import "./hooks-82sqkbtE.js";
|
|
7
|
-
import "./
|
|
7
|
+
import "./index-H0TD0r41.js";
|
|
8
8
|
import "./clsx-7d8NmkQq.js";
|
|
9
9
|
const ZO = 309, h = 1, $O = 2, rO = 3, tO = 310, oO = 312, pO = 313, nO = 4, PO = 5, cO = 0, g = [
|
|
10
10
|
9,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { E as a, L as o } from "./index-
|
|
2
|
-
import { s as Z, t as Q, L as _, b as q, d as r, f as l, j as w, a as V } from "./index-
|
|
1
|
+
import { E as a, L as o } from "./index-TsIsEZU1.js";
|
|
2
|
+
import { s as Z, t as Q, L as _, b as q, d as r, f as l, j as w, a as V } from "./index-qQMehYhQ.js";
|
|
3
3
|
import "./meta-tAGyVRPE.js";
|
|
4
4
|
import "./icons-HYkfuR-O.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-yP4hAgM2.js";
|
|
6
6
|
import "./hooks-82sqkbtE.js";
|
|
7
|
-
import "./
|
|
7
|
+
import "./index-H0TD0r41.js";
|
|
8
8
|
import "./clsx-7d8NmkQq.js";
|
|
9
9
|
const R = 1, g = 2, b = 3, y = 4, T = 5, s = 98, c = 101, p = 102, t = 114, v = 69, X = 48, W = 46, d = 43, f = 45, Y = 35, z = 34, x = 124, U = 60, h = 62;
|
|
10
10
|
function n(O) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { L as X } from "./index-
|
|
2
|
-
import { s as e, t as O, L as r, b as s, d as $, g as S, h as l, f as Z, j as Y, a as t } from "./index-
|
|
1
|
+
import { L as X } from "./index-TsIsEZU1.js";
|
|
2
|
+
import { s as e, t as O, L as r, b as s, d as $, g as S, h as l, f as Z, j as Y, a as t } from "./index-qQMehYhQ.js";
|
|
3
3
|
import "./meta-tAGyVRPE.js";
|
|
4
4
|
import "./icons-HYkfuR-O.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-yP4hAgM2.js";
|
|
6
6
|
import "./hooks-82sqkbtE.js";
|
|
7
|
-
import "./
|
|
7
|
+
import "./index-H0TD0r41.js";
|
|
8
8
|
import "./clsx-7d8NmkQq.js";
|
|
9
9
|
const n = e({
|
|
10
10
|
null: O.null,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { L as J, a as ee, i as te, c as ae, b as re, d as ne, f as ie, s as se, t as i, e as oe } from "./index-
|
|
2
|
-
import { E as le, L as ce } from "./index-
|
|
1
|
+
import { L as J, a as ee, i as te, c as ae, b as re, d as ne, f as ie, s as se, t as i, e as oe } from "./index-qQMehYhQ.js";
|
|
2
|
+
import { E as le, L as ce } from "./index-TsIsEZU1.js";
|
|
3
3
|
import "./meta-tAGyVRPE.js";
|
|
4
4
|
import "./icons-HYkfuR-O.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-yP4hAgM2.js";
|
|
6
6
|
import "./hooks-82sqkbtE.js";
|
|
7
|
-
import "./
|
|
7
|
+
import "./index-H0TD0r41.js";
|
|
8
8
|
import "./clsx-7d8NmkQq.js";
|
|
9
9
|
const de = 36, B = 1, me = 2, k = 3, C = 4, ue = 5, fe = 6, pe = 7, ge = 8, he = 9, _e = 10, be = 11, ve = 12, ye = 13, ke = 14, xe = 15, Oe = 16, we = 17, X = 18, Qe = 19, V = 20, $ = 21, R = 22, Se = 23, Ce = 24;
|
|
10
10
|
function P(t) {
|
|
@@ -8,12 +8,12 @@ var l = (i, t, o) => (wt(i, t, "read from private field"), o ? o.call(i) : t.get
|
|
|
8
8
|
t instanceof WeakSet ? t.add(i) : t.set(i, o);
|
|
9
9
|
}, c = (i, t, o, e) => (wt(i, t, "write to private field"), e ? e.call(i, o) : t.set(i, o), o);
|
|
10
10
|
var Ct = (i, t, o) => (wt(i, t, "access private method"), o);
|
|
11
|
-
import { d as It, t as Tt, p as ee } from "./tippy.esm-
|
|
12
|
-
import { j as ne, y as oe, q as St, f as y, $ as at, x as Rt, z as Dt, P as At, T as Ot, A as se, B as Nt, E as K, G as ie, H as le, I as re, J as ce, c as ae, K as de, i as he } from "./index-
|
|
11
|
+
import { d as It, t as Tt, p as ee } from "./tippy.esm-xX0Dh8mH.js";
|
|
12
|
+
import { j as ne, y as oe, q as St, f as y, $ as at, x as Rt, z as Dt, P as At, T as Ot, A as se, B as Nt, E as K, G as ie, H as le, I as re, J as ce, c as ae, K as de, i as he } from "./index-yP4hAgM2.js";
|
|
13
13
|
import { i as pe, a as ue } from "./index-xHADmDT3.js";
|
|
14
14
|
import { h as w, c as zt, e as me, u as Ft, a as yt } from "./meta-tAGyVRPE.js";
|
|
15
15
|
import { a as ge, u as fe, b as W } from "./hooks-82sqkbtE.js";
|
|
16
|
-
import { i as we } from "./schema-
|
|
16
|
+
import { i as we } from "./schema-t8-IDHY6.js";
|
|
17
17
|
const E = typeof navigator < "u" ? navigator : null, Bt = typeof document < "u" ? document : null, q = E && E.userAgent || "", bt = /Edge\/(\d+)/.exec(q), qt = /MSIE \d/.exec(q), Ht = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(q), mt = !!(qt || Ht || bt), Ce = qt ? document.documentMode : Ht ? +Ht[1] : bt ? +bt[1] : 0, ve = !mt && /gecko\/(\d+)/i.test(q);
|
|
18
18
|
ve && +(/Firefox\/(\d+)/.exec(q) || [0, 0])[1];
|
|
19
19
|
const Lt = !mt && /Chrome\/(\d+)/.exec(q);
|
|
@@ -342,6 +342,9 @@ _ = new WeakMap(), S = new WeakMap(), ot = new WeakMap(), X = new WeakMap(), N =
|
|
|
342
342
|
trigger: "manual",
|
|
343
343
|
placement: "left-start",
|
|
344
344
|
interactive: !0,
|
|
345
|
+
delay: 0,
|
|
346
|
+
arrow: !1,
|
|
347
|
+
duration: 0,
|
|
345
348
|
...l(this, ot),
|
|
346
349
|
content: l(this, S)
|
|
347
350
|
}));
|
|
@@ -387,6 +390,9 @@ class Ie {
|
|
|
387
390
|
trigger: "manual",
|
|
388
391
|
placement: "bottom-start",
|
|
389
392
|
interactive: !0,
|
|
393
|
+
delay: 0,
|
|
394
|
+
arrow: !1,
|
|
395
|
+
duration: 0,
|
|
390
396
|
...l(this, st),
|
|
391
397
|
content: this.element
|
|
392
398
|
})), !(s || g)) {
|
|
@@ -911,9 +917,6 @@ class tn {
|
|
|
911
917
|
content: l(this, M),
|
|
912
918
|
debounce: 20,
|
|
913
919
|
tippyOptions: {
|
|
914
|
-
arrow: !1,
|
|
915
|
-
delay: 0,
|
|
916
|
-
duration: 0,
|
|
917
920
|
onShow: () => {
|
|
918
921
|
l(this, M).show = !0;
|
|
919
922
|
},
|
|
@@ -1011,9 +1014,6 @@ class on {
|
|
|
1011
1014
|
ctx: t,
|
|
1012
1015
|
content: e,
|
|
1013
1016
|
tippyOptions: {
|
|
1014
|
-
arrow: !1,
|
|
1015
|
-
delay: 0,
|
|
1016
|
-
duration: 0,
|
|
1017
1017
|
onShow: () => {
|
|
1018
1018
|
l(this, $).show = !0;
|
|
1019
1019
|
},
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { N as $, k as M, s as xe, l as Ae, t as c, P as tt, T as rt, m as B, p as nt, e as j, E as I, n as R, a as ae, o as st, q as it, C as ot, r as at, u as lt, v as ht, w as ft, f as Ee, b as ut, x as dt, y as pt, z as le, A as ct } from "./index-
|
|
2
|
-
import { htmlCompletionSource as mt, html as gt } from "./index-
|
|
1
|
+
import { N as $, k as M, s as xe, l as Ae, t as c, P as tt, T as rt, m as B, p as nt, e as j, E as I, n as R, a as ae, o as st, q as it, C as ot, r as at, u as lt, v as ht, w as ft, f as Ee, b as ut, x as dt, y as pt, z as le, A as ct } from "./index-qQMehYhQ.js";
|
|
2
|
+
import { htmlCompletionSource as mt, html as gt } from "./index-bnwzlBfQ.js";
|
|
3
3
|
import "./meta-tAGyVRPE.js";
|
|
4
4
|
import "./icons-HYkfuR-O.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-yP4hAgM2.js";
|
|
6
6
|
import "./hooks-82sqkbtE.js";
|
|
7
|
-
import "./
|
|
7
|
+
import "./index-H0TD0r41.js";
|
|
8
8
|
import "./clsx-7d8NmkQq.js";
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./index-
|
|
9
|
+
import "./index-TsIsEZU1.js";
|
|
10
|
+
import "./index-hNRb95TL.js";
|
|
11
|
+
import "./index-KpfNv3rh.js";
|
|
12
12
|
class X {
|
|
13
13
|
static create(e, r, n, s, i) {
|
|
14
14
|
let o = s + (s << 8) + e + (r << 4) | 0;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { C as be, E as k, L as Pe } from "./index-
|
|
2
|
-
import { s as xe, t as h, p as Te, L as Ve, b as we, f as ye, F as ve, a as Xe, H as ke, e as K, E as $e } from "./index-
|
|
3
|
-
import { cssLanguage as J, css as _e } from "./index-
|
|
4
|
-
import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Ae, javascriptLanguage as M, javascript as Qe } from "./index-
|
|
1
|
+
import { C as be, E as k, L as Pe } from "./index-TsIsEZU1.js";
|
|
2
|
+
import { s as xe, t as h, p as Te, L as Ve, b as we, f as ye, F as ve, a as Xe, H as ke, e as K, E as $e } from "./index-qQMehYhQ.js";
|
|
3
|
+
import { cssLanguage as J, css as _e } from "./index-hNRb95TL.js";
|
|
4
|
+
import { typescriptLanguage as qe, jsxLanguage as Ce, tsxLanguage as Ae, javascriptLanguage as M, javascript as Qe } from "./index-KpfNv3rh.js";
|
|
5
5
|
import "./meta-tAGyVRPE.js";
|
|
6
6
|
import "./icons-HYkfuR-O.js";
|
|
7
|
-
import "./index-
|
|
7
|
+
import "./index-yP4hAgM2.js";
|
|
8
8
|
import "./hooks-82sqkbtE.js";
|
|
9
|
-
import "./
|
|
9
|
+
import "./index-H0TD0r41.js";
|
|
10
10
|
import "./clsx-7d8NmkQq.js";
|
|
11
11
|
const Ye = 54, Me = 1, Re = 55, Ee = 2, Ze = 56, Be = 3, W = 4, We = 5, v = 6, ee = 7, te = 8, ae = 9, le = 10, ze = 11, De = 12, Ne = 13, $ = 57, Ge = 14, z = 58, re = 20, je = 22, ne = 23, Ie = 24, Q = 26, se = 27, Ue = 28, Le = 31, Fe = 34, He = 36, Ke = 37, Je = 0, et = 1, tt = {
|
|
12
12
|
area: !0,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { E as S, L as o } from "./index-
|
|
2
|
-
import { s as t, t as $, L as l, b as x, d as W, h as R, f as V, j as r, a as U, p as v } from "./index-
|
|
3
|
-
import { html as u } from "./index-
|
|
1
|
+
import { E as S, L as o } from "./index-TsIsEZU1.js";
|
|
2
|
+
import { s as t, t as $, L as l, b as x, d as W, h as R, f as V, j as r, a as U, p as v } from "./index-qQMehYhQ.js";
|
|
3
|
+
import { html as u } from "./index-bnwzlBfQ.js";
|
|
4
4
|
import "./meta-tAGyVRPE.js";
|
|
5
5
|
import "./icons-HYkfuR-O.js";
|
|
6
|
-
import "./index-
|
|
6
|
+
import "./index-yP4hAgM2.js";
|
|
7
7
|
import "./hooks-82sqkbtE.js";
|
|
8
|
-
import "./
|
|
8
|
+
import "./index-H0TD0r41.js";
|
|
9
9
|
import "./clsx-7d8NmkQq.js";
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./index-
|
|
10
|
+
import "./index-hNRb95TL.js";
|
|
11
|
+
import "./index-KpfNv3rh.js";
|
|
12
12
|
const m = 1, b = 2, p = 263, k = 3, c = 264, s = 265, Y = 266, Z = 4, w = 5, _ = 6, h = 7, X = 8, j = 9, f = 10, G = 11, g = 12, E = 13, I = 14, N = 15, F = 16, C = 17, L = 18, A = 19, H = 20, K = 21, D = 22, B = 23, M = 24, J = 25, OO = 26, $O = 27, QO = 28, iO = 29, yO = 30, aO = 31, zO = 32, SO = 33, PO = 34, WO = 35, eO = 36, TO = 37, sO = 38, XO = 39, dO = 40, nO = 41, qO = 42, oO = 43, tO = 44, lO = 45, xO = 46, RO = 47, VO = 48, rO = 49, UO = 50, vO = 51, uO = 52, mO = 53, bO = 54, pO = 55, kO = 56, cO = 57, YO = 58, ZO = 59, wO = 60, _O = 61, e = 62, hO = 63, jO = 64, fO = 65, GO = {
|
|
13
13
|
abstract: Z,
|
|
14
14
|
and: w,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as y, e as w, u as x, b as $, h as r, w as f } from "./meta-tAGyVRPE.js";
|
|
2
|
-
import { c as I, u as L, $ as C } from "./
|
|
2
|
+
import { c as I, u as L, $ as C } from "./index-H0TD0r41.js";
|
|
3
3
|
import { c as B } from "./clsx-7d8NmkQq.js";
|
|
4
|
-
import { $ as v, l as S, T as E, i as T } from "./index-
|
|
4
|
+
import { $ as v, l as S, T as E, i as T } from "./index-yP4hAgM2.js";
|
|
5
5
|
const F = I`
|
|
6
6
|
:host > .list-item {
|
|
7
7
|
display: flex;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { E as m, L as k, a as v } from "./index-
|
|
2
|
-
import { s as R, t as o, e as z, L as W, b as X, d as x, f as T, j as U, a as _, I as Z, B as C } from "./index-
|
|
1
|
+
import { E as m, L as k, a as v } from "./index-TsIsEZU1.js";
|
|
2
|
+
import { s as R, t as o, e as z, L as W, b as X, d as x, f as T, j as U, a as _, I as Z, B as C } from "./index-qQMehYhQ.js";
|
|
3
3
|
import "./meta-tAGyVRPE.js";
|
|
4
4
|
import "./icons-HYkfuR-O.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-yP4hAgM2.js";
|
|
6
6
|
import "./hooks-82sqkbtE.js";
|
|
7
|
-
import "./
|
|
7
|
+
import "./index-H0TD0r41.js";
|
|
8
8
|
import "./clsx-7d8NmkQq.js";
|
|
9
9
|
const E = 96, S = 1, G = 97, V = 98, g = 2, $ = [
|
|
10
10
|
9,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as Z, E as k, L as N } from "./index-
|
|
2
|
-
import { s as Y, t as $, L as A, b as I, f as j, F as U, a as z, e as q } from "./index-
|
|
1
|
+
import { C as Z, E as k, L as N } from "./index-TsIsEZU1.js";
|
|
2
|
+
import { s as Y, t as $, L as A, b as I, f as j, F as U, a as z, e as q } from "./index-qQMehYhQ.js";
|
|
3
3
|
import "./meta-tAGyVRPE.js";
|
|
4
4
|
import "./icons-HYkfuR-O.js";
|
|
5
|
-
import "./index-
|
|
5
|
+
import "./index-yP4hAgM2.js";
|
|
6
6
|
import "./hooks-82sqkbtE.js";
|
|
7
|
-
import "./
|
|
7
|
+
import "./index-H0TD0r41.js";
|
|
8
8
|
import "./clsx-7d8NmkQq.js";
|
|
9
9
|
const v = 1, D = 2, F = 3, M = 4, B = 5, J = 35, L = 36, H = 37, K = 11, ee = 13;
|
|
10
10
|
function te(e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as e } from "./prosemirror-noTDkx-k.js";
|
|
2
|
-
import { i as r } from "./index-
|
|
2
|
+
import { i as r } from "./index-yP4hAgM2.js";
|
|
3
3
|
const i = '.milkdown{--crepe-color-background: #1F1B16;--crepe-color-on-background: #EAE1D9;--crepe-color-surface: #18120B;--crepe-color-surface-low: #201B13;--crepe-color-on-surface: #EDE0D4;--crepe-color-on-surface-variant: #D3C4B4;--crepe-color-outline: #9C8F80;--crepe-color-primary: #F4BD6F;--crepe-color-secondary: #56442A;--crepe-color-on-secondary: #FBDEBC;--crepe-color-inverse: #EDE0D4;--crepe-color-on-inverse: #362F27;--crepe-color-inline-code: #FFB4AB;--crepe-color-error: #FFB4AB;--crepe-color-hover: #251F17;--crepe-color-selected: #3B342B;--crepe-color-inline-area: #3F3830;--crepe-font-title: Georgia, Cambria, "Times New Roman", Times, serif;--crepe-font-default: "Open Sans", Arial, Helvetica, sans-serif;--crepe-font-code: Fira Code, Menlo, Monaco, "Courier New", Courier, monospace;--crepe-shadow-1: 0px 1px 2px 0px rgba(0, 0, 0, .3), 0px 1px 3px 1px rgba(0, 0, 0, .15);--crepe-shadow-2: 0px 1px 2px 0px rgba(0, 0, 0, .3), 0px 2px 6px 2px rgba(0, 0, 0, .15);font-family:var(--crepe-font-default);color:var(--crepe-color-on-background);background:var(--crepe-color-background)}.milkdown *{margin:0;padding:0;box-sizing:border-box}.milkdown button,.milkdown input{border:none;background:none;box-shadow:none}.milkdown button:focus,.milkdown input:focus{outline:none}.milkdown :focus-visible{outline:none}.milkdown input{font-family:var(--crepe-font-default);color:var(--crepe-color-on-background)}.milkdown .ProseMirror-focused{outline:none}.milkdown .ProseMirror{padding:60px 120px}.milkdown .ProseMirror>*{margin:20px 0 40px}.milkdown .ProseMirror *::selection{background:var(--crepe-color-selected)}.milkdown .ProseMirror li.ProseMirror-selectednode{outline:10px solid var(--crepe-color-selected)}.milkdown .ProseMirror li.ProseMirror-selectednode:after{all:unset}.milkdown .ProseMirror .ProseMirror-selectednode{background:var(--crepe-color-selected);outline:10px solid var(--crepe-color-selected)}.milkdown .ProseMirror img{vertical-align:bottom;max-width:100%}.milkdown .ProseMirror img.ProseMirror-selectednode{background:none;outline:2px solid var(--crepe-color-primary)}.milkdown .ProseMirror h1,.milkdown .ProseMirror h2,.milkdown .ProseMirror h3,.milkdown .ProseMirror h4,.milkdown .ProseMirror h5,.milkdown .ProseMirror h6{font-family:var(--crepe-font-title);font-weight:400}.milkdown .ProseMirror h1{font-size:42px;line-height:50px}.milkdown .ProseMirror h2{font-size:36px;line-height:44px}.milkdown .ProseMirror h3{font-size:32px;line-height:40px}.milkdown .ProseMirror h4{font-size:28px;line-height:36px}.milkdown .ProseMirror h5{font-size:24px;line-height:32px}.milkdown .ProseMirror h6{font-size:18px;font-weight:700;line-height:28px}.milkdown .ProseMirror p{font-size:16px;line-height:24px}.milkdown .ProseMirror code{color:var(--crepe-color-inline-code);background:color-mix(in srgb,var(--crepe-color-inline-area),transparent 40%);padding:0 10px;border-radius:4px}.milkdown .ProseMirror a{color:var(--crepe-color-primary)}.milkdown .ProseMirror pre{background:color-mix(in srgb,var(--crepe-color-inline-area),transparent 40%);padding:10px;border-radius:4px}.milkdown .ProseMirror pre code{padding:0;background:transparent}.milkdown .ProseMirror blockquote{position:relative;padding-left:40px}.milkdown .ProseMirror blockquote:before{content:"";width:4px;height:100%;left:0;position:absolute;background:var(--crepe-color-selected);border-radius:100px}.milkdown .ProseMirror blockquote hr{margin-bottom:16px}.milkdown .ProseMirror hr{border:none;border-bottom:1px solid color-mix(in srgb,var(--crepe-color-outline),transparent 80%);height:16px;position:relative}.milkdown .ProseMirror hr.ProseMirror-selectednode{outline:none;background:none;border-bottom:1px solid var(--crepe-color-outline)}.milkdown .ProseMirror .ProseMirror-gapcursor:after{box-sizing:border-box;border-top:1px solid var(--crepe-color-on-background);top:-40px}', c = (o) => {
|
|
4
4
|
o.config(r(e)).config(r(i));
|
|
5
5
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { I as X, i as M } from "./schema-
|
|
1
|
+
import { I as X, i as M } from "./schema-t8-IDHY6.js";
|
|
2
2
|
import { w as C, h, e as q, a as U, c as S, u as P } from "./meta-tAGyVRPE.js";
|
|
3
|
-
import { g as J, v as Q, $ as V, h as A, i as ee } from "./index-
|
|
3
|
+
import { g as J, v as Q, $ as V, h as A, i as ee } from "./index-yP4hAgM2.js";
|
|
4
4
|
import { i as _, a as ie } from "./icons-HYkfuR-O.js";
|
|
5
5
|
import { u as f } from "./hooks-82sqkbtE.js";
|
|
6
|
-
import { c as j, u as D, $ as O } from "./
|
|
6
|
+
import { c as j, u as D, $ as O } from "./index-H0TD0r41.js";
|
|
7
7
|
import { c as k } from "./clsx-7d8NmkQq.js";
|
|
8
8
|
function te(n) {
|
|
9
9
|
return Q(n, "paragraph", (a, l, d) => {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { L as P, a as q, s as g, t as r, p as l } from "./index-
|
|
2
|
-
import { html as c } from "./index-
|
|
3
|
-
import { javascriptLanguage as s } from "./index-
|
|
4
|
-
import { L as m, E as p } from "./index-
|
|
1
|
+
import { L as P, a as q, s as g, t as r, p as l } from "./index-qQMehYhQ.js";
|
|
2
|
+
import { html as c } from "./index-bnwzlBfQ.js";
|
|
3
|
+
import { javascriptLanguage as s } from "./index-KpfNv3rh.js";
|
|
4
|
+
import { L as m, E as p } from "./index-TsIsEZU1.js";
|
|
5
5
|
import "./meta-tAGyVRPE.js";
|
|
6
6
|
import "./icons-HYkfuR-O.js";
|
|
7
|
-
import "./index-
|
|
7
|
+
import "./index-yP4hAgM2.js";
|
|
8
8
|
import "./hooks-82sqkbtE.js";
|
|
9
|
-
import "./
|
|
9
|
+
import "./index-H0TD0r41.js";
|
|
10
10
|
import "./clsx-7d8NmkQq.js";
|
|
11
|
-
import "./index-
|
|
11
|
+
import "./index-hNRb95TL.js";
|
|
12
12
|
const R = 1, b = 33, $ = 34, v = 35, x = 36, W = /* @__PURE__ */ new p((O) => {
|
|
13
13
|
let t = O.pos;
|
|
14
14
|
for (; ; ) {
|
|
@@ -7,12 +7,12 @@ var a = (o, t, n) => (v(o, t, "read from private field"), n ? n.call(o) : t.get(
|
|
|
7
7
|
throw TypeError("Cannot add the same private member more than once");
|
|
8
8
|
t instanceof WeakSet ? t.add(o) : t.set(o, n);
|
|
9
9
|
}, g = (o, t, n, c) => (v(o, t, "write to private field"), c ? c.call(o, n) : t.set(o, n), n);
|
|
10
|
-
import { O as B, Q as S, R as E, d as b, f, U as u, V as I, W as F, X as O, i as P, T as k } from "./index-
|
|
10
|
+
import { O as B, Q as S, R as E, d as b, f, U as u, V as I, W as F, X as O, i as P, T as k } from "./index-yP4hAgM2.js";
|
|
11
11
|
import { h as m, c as R, f as A, a as j } from "./meta-tAGyVRPE.js";
|
|
12
12
|
import { c as p } from "./clsx-7d8NmkQq.js";
|
|
13
|
-
import { a as H, t as U, T as D } from "./tooltip-plugin-
|
|
13
|
+
import { a as H, t as U, T as D } from "./tooltip-plugin-0UgO85XO.js";
|
|
14
14
|
import "./icons-HYkfuR-O.js";
|
|
15
|
-
import "./tippy.esm-
|
|
15
|
+
import "./tippy.esm-xX0Dh8mH.js";
|
|
16
16
|
const N = m`
|
|
17
17
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
|
|
18
18
|
<path d="M8.85758 18.625C8.4358 18.625 8.07715 18.4772 7.78163 18.1817C7.48613 17.8862 7.33838 17.5275 7.33838 17.1058V6.8942C7.33838 6.47242 7.48613 6.11377 7.78163 5.81825C8.07715 5.52275 8.4358 5.375 8.85758 5.375H12.1999C13.2191 5.375 14.1406 5.69231 14.9643 6.32693C15.788 6.96154 16.1999 7.81603 16.1999 8.89038C16.1999 9.63779 16.0194 10.2471 15.6585 10.7183C15.2976 11.1894 14.9088 11.5314 14.4922 11.7442C15.005 11.9211 15.4947 12.2708 15.9614 12.7933C16.428 13.3157 16.6614 14.0192 16.6614 14.9038C16.6614 16.182 16.1902 17.1217 15.2479 17.723C14.3056 18.3243 13.3563 18.625 12.3999 18.625H8.85758ZM9.4883 16.6327H12.3191C13.1063 16.6327 13.6627 16.4141 13.9884 15.9769C14.314 15.5397 14.4768 15.1205 14.4768 14.7192C14.4768 14.3179 14.314 13.8987 13.9884 13.4615C13.6627 13.0243 13.0909 12.8057 12.273 12.8057H9.4883V16.6327ZM9.4883 10.875H12.0826C12.6903 10.875 13.172 10.7013 13.5278 10.3539C13.8836 10.0064 14.0615 9.59037 14.0615 9.10575C14.0615 8.59035 13.8733 8.16918 13.497 7.84225C13.1207 7.51533 12.6595 7.35188 12.1133 7.35188H9.4883V10.875Z" fill="#817567"/>
|
|
@@ -106,9 +106,6 @@ class q {
|
|
|
106
106
|
content: a(this, l),
|
|
107
107
|
debounce: 20,
|
|
108
108
|
tippyOptions: {
|
|
109
|
-
arrow: !1,
|
|
110
|
-
delay: 0,
|
|
111
|
-
duration: 0,
|
|
112
109
|
onShow: () => {
|
|
113
110
|
a(this, l).show = !0;
|
|
114
111
|
},
|