markdown-flow-ui 0.3.0-dev.1 → 0.3.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.
Files changed (43) hide show
  1. package/README.md +2 -2
  2. package/dist/_virtual/index.es10.js +2 -2
  3. package/dist/_virtual/index.es3.js +4 -5
  4. package/dist/_virtual/index.es3.js.map +1 -1
  5. package/dist/_virtual/index.es4.js +5 -4
  6. package/dist/_virtual/index.es4.js.map +1 -1
  7. package/dist/_virtual/index.es6.js +3 -5
  8. package/dist/_virtual/index.es6.js.map +1 -1
  9. package/dist/_virtual/index.es7.js +5 -3
  10. package/dist/_virtual/index.es7.js.map +1 -1
  11. package/dist/_virtual/index.es9.js +2 -2
  12. package/dist/_virtual/index10.cjs +1 -1
  13. package/dist/_virtual/index3.cjs +1 -1
  14. package/dist/_virtual/index4.cjs +1 -1
  15. package/dist/_virtual/index6.cjs +1 -1
  16. package/dist/_virtual/index7.cjs +1 -1
  17. package/dist/_virtual/index9.cjs +1 -1
  18. package/dist/node_modules/classnames/index.cjs +1 -1
  19. package/dist/node_modules/classnames/index.es.js +1 -1
  20. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.cjs +1 -1
  21. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.es.js +1 -1
  22. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-AAMF2YG6.cjs +1 -1
  23. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-AAMF2YG6.es.js +1 -1
  24. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OMD6QJNC.cjs +1 -1
  25. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OMD6QJNC.es.js +1 -1
  26. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-U37J5Y7L.cjs +1 -1
  27. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-U37J5Y7L.es.js +1 -1
  28. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-WV7ZQ7D5.cjs +1 -1
  29. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-WV7ZQ7D5.es.js +1 -1
  30. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-4MX5Z3NR.cjs +1 -1
  31. package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-4MX5Z3NR.es.js +1 -1
  32. package/dist/node_modules/remark-flow/dist/interaction-plugin-core.cjs +1 -1
  33. package/dist/node_modules/remark-flow/dist/interaction-plugin-core.es.js +1 -1
  34. package/dist/node_modules/remark-flow/dist/interaction-syntax.cjs +1 -1
  35. package/dist/node_modules/remark-flow/dist/interaction-syntax.cjs.map +1 -1
  36. package/dist/node_modules/remark-flow/dist/interaction-syntax.es.js +125 -124
  37. package/dist/node_modules/remark-flow/dist/interaction-syntax.es.js.map +1 -1
  38. package/dist/node_modules/style-to-object/cjs/index.cjs +1 -1
  39. package/dist/node_modules/style-to-object/cjs/index.cjs.map +1 -1
  40. package/dist/node_modules/style-to-object/cjs/index.es.js +1 -1
  41. package/dist/node_modules/unified/lib/index.cjs +1 -1
  42. package/dist/node_modules/unified/lib/index.es.js +1 -1
  43. package/package.json +2 -2
@@ -1,14 +1,14 @@
1
- import { __exports as Nn } from "../../../_virtual/interaction-syntax.es.js";
1
+ import { __exports as bn } from "../../../_virtual/interaction-syntax.es.js";
2
2
  import { __require as Ft } from "./variable-name.es.js";
3
3
  var tt;
4
4
  function Ut() {
5
- return tt ? Nn : (tt = 1, (function(A) {
5
+ return tt ? bn : (tt = 1, (function(A) {
6
6
  Object.defineProperty(A, "__esModule", { value: !0 }), A.TOKENIZED_TREE = A.OPAQUE_PARAGRAPH = A.VARIABLE_NODE = A.INTERACTION_NODE = void 0, A.interactionSyntax = Mn, A.interactionFromMarkdown = Hn, A.registerInteractionSyntax = Ot;
7
- const bn = Ft();
7
+ const Nn = Ft();
8
8
  A.INTERACTION_NODE = "flowInteraction", A.VARIABLE_NODE = "flowVariableMarker", A.OPAQUE_PARAGRAPH = "flowOpaqueParagraph";
9
9
  const Y = "flowOpaqueHeading";
10
10
  A.TOKENIZED_TREE = "flowInteractionTokenized";
11
- const Ln = 63, U = 91, W = 93, rt = 40, sn = 60, vn = 92, B = 96, on = 35, M = 36, et = 33, it = 32, ut = 6, H = 123, j = 125, yn = /* @__PURE__ */ new Set([124, 47, 46, 93]), J = "flowInteraction", Q = "flowVariableMarker", L = "flowInteractionMarker", S = "flowInteractionData", q = "lineEnding", at = 65533, lt = -3, fn = -2, cn = -1, pn = /* @__PURE__ */ new WeakMap(), zn = /* @__PURE__ */ new WeakMap(), $ = [], st = new Uint32Array();
11
+ const vn = 63, U = 91, W = 93, rt = 40, sn = 60, Ln = 92, B = 96, on = 35, M = 36, et = 33, it = 32, ut = 6, H = 123, j = 125, yn = /* @__PURE__ */ new Set([124, 47, 46, 93]), J = "flowInteraction", Q = "flowVariableMarker", v = "flowInteractionMarker", x = "flowInteractionData", q = "lineEnding", at = 65533, lt = -3, fn = -2, cn = -1, pn = /* @__PURE__ */ new WeakMap(), zn = /* @__PURE__ */ new WeakMap(), $ = [], st = new Uint32Array();
12
12
  function hn(t, r) {
13
13
  let i = zn.get(t);
14
14
  i === void 0 && (i = $[$.length - 1] ?? st, zn.set(t, i));
@@ -59,40 +59,40 @@ function Ut() {
59
59
  const a = () => Dn(this, t.exit(J));
60
60
  return l;
61
61
  function l(e) {
62
- return t.enter(J), t.enter(L), t.consume(e), u;
62
+ return t.enter(J), t.enter(v), t.consume(e), u;
63
63
  }
64
64
  function u(e) {
65
- return e !== U ? i(e) : (t.consume(e), t.exit(L), f);
65
+ return e !== U ? i(e) : (t.consume(e), t.exit(v), f);
66
66
  }
67
67
  function f(e) {
68
- return e === null ? i(e) : e === W ? P(e) : T(e) ? k(e) : (t.enter(S), N(e));
68
+ return e === null ? i(e) : e === W ? P(e) : T(e) ? k(e) : (t.enter(x), b(e));
69
69
  }
70
70
  function O(e) {
71
- return e !== H ? N(e) : (t.consume(e), R);
71
+ return e !== H ? b(e) : (t.consume(e), _);
72
72
  }
73
- function R(e) {
74
- return e === null ? (t.exit(S), a(), r(e)) : T(e) ? (t.exit(S), v(e)) : (t.consume(e), e === j ? s : R);
73
+ function _(e) {
74
+ return e === null ? (t.exit(x), a(), r(e)) : T(e) ? (t.exit(x), L(e)) : (t.consume(e), e === j ? s : _);
75
75
  }
76
76
  function s(e) {
77
- return e !== j ? R(e) : (t.consume(e), N);
77
+ return e !== j ? _(e) : (t.consume(e), b);
78
78
  }
79
- function v(e) {
79
+ function L(e) {
80
80
  return t.enter(q), t.consume(e), t.exit(q), d;
81
81
  }
82
82
  function d(e) {
83
- return e === null ? (a(), r(e)) : T(e) ? v(e) : (t.enter(S), R(e));
83
+ return e === null ? (a(), r(e)) : T(e) ? L(e) : (t.enter(x), _(e));
84
84
  }
85
85
  function k(e) {
86
86
  return t.enter(q), t.consume(e), t.exit(q), f;
87
87
  }
88
- function N(e) {
89
- return e === null ? i(e) : e === W ? (t.exit(S), P(e)) : T(e) ? (t.exit(S), k(e)) : (t.consume(e), e === H ? O : e === vn ? nn : N);
88
+ function b(e) {
89
+ return e === null ? i(e) : e === W ? (t.exit(x), P(e)) : T(e) ? (t.exit(x), k(e)) : (t.consume(e), e === H ? O : e === Ln ? nn : b);
90
90
  }
91
91
  function nn(e) {
92
- return e !== null && yn.has(e) ? (t.consume(e), N) : N(e);
92
+ return e !== null && yn.has(e) ? (t.consume(e), b) : b(e);
93
93
  }
94
94
  function P(e) {
95
- return t.enter(L), t.consume(e), t.exit(L), F;
95
+ return t.enter(v), t.consume(e), t.exit(v), F;
96
96
  }
97
97
  function F(e) {
98
98
  return e === rt ? i(e) : (a(), r(e));
@@ -108,20 +108,20 @@ function Ut() {
108
108
  return s !== H ? i(s) : (t.consume(s), f);
109
109
  }
110
110
  function f(s) {
111
- return s === null ? (a(), r(s)) : T(s) ? (t.enter(q), t.consume(s), t.exit(q), f) : (t.enter(S), O(s));
111
+ return s === null ? (a(), r(s)) : T(s) ? (t.enter(q), t.consume(s), t.exit(q), f) : (t.enter(x), O(s));
112
112
  }
113
113
  function O(s) {
114
- return s === null || T(s) ? (t.exit(S), f(s)) : (t.consume(s), s === j ? R : O);
114
+ return s === null || T(s) ? (t.exit(x), f(s)) : (t.consume(s), s === j ? _ : O);
115
115
  }
116
- function R(s) {
117
- return s !== j ? O(s) : (t.consume(s), t.exit(S), a(), r);
116
+ function _(s) {
117
+ return s !== j ? O(s) : (t.consume(s), t.exit(x), a(), r);
118
118
  }
119
119
  }
120
120
  function ht(t, r, i) {
121
121
  const a = mn(this, t, r, i, !1), l = this.parser.constructs.contentInitial?.[U]?.find((u) => u.name === "definition");
122
122
  return !l || this.interrupt ? a : (u) => u === U ? t.check({
123
123
  partial: !0,
124
- tokenize(f, O, R) {
124
+ tokenize(f, O, _) {
125
125
  const s = Object.create(this, {
126
126
  parser: {
127
127
  value: Object.create(this.parser, {
@@ -129,7 +129,7 @@ function Ut() {
129
129
  })
130
130
  }
131
131
  });
132
- return l.tokenize.call(s, f, O, R);
132
+ return l.tokenize.call(s, f, O, _);
133
133
  }
134
134
  }, i, a)(u) : a(u);
135
135
  }
@@ -137,7 +137,7 @@ function Ut() {
137
137
  return mn(this, t, r, i, !0);
138
138
  }
139
139
  function mn(t, r, i, a, l, u = !1) {
140
- let f = !1, O = !1, R = !1, s = !1, v = !1, d = 0, k = 0, N = 0, nn = 0, P = !1, F = 0, e = 0, En = !1, G = null, gn = null;
140
+ let f = !1, O = !1, _ = !1, s = !1, L = !1, d = 0, k = 0, b = 0, nn = 0, P = !1, F = 0, e = 0, En = !1, G = null, gn = null;
141
141
  const On = [], tn = /* @__PURE__ */ new Set(), rn = /* @__PURE__ */ new Set();
142
142
  let X, Gn;
143
143
  const kn = l ? Y : "content", An = t.parser.constructs.text[sn]?.find((n) => n.name === "htmlText"), Tn = t.parser.constructs.text[sn]?.find((n) => n.name === "autolink"), In = t.parser.constructs.text[M]?.find((n) => n.name === "mathText"), wn = t.parser.constructs.text[W]?.find((n) => n.name === "labelEnd");
@@ -149,179 +149,180 @@ function Ut() {
149
149
  n,
150
150
  p.map((o) => ({ ...o, partial: !0 }))
151
151
  ]));
152
- return xt;
153
- function xt(n) {
154
- return t.interrupt ? a(n) : (u || (t.currentConstruct = Un), Gn = r.enter(kn), l ? (r.enter(L), Wn(n)) : (r.enter("paragraph"), Zn(n)));
152
+ return St;
153
+ function St(n) {
154
+ return t.interrupt ? a(n) : (u || (t.currentConstruct = Un), Gn = r.enter(kn), l ? (r.enter(v), Wn(n)) : (r.enter("paragraph"), Zn(n)));
155
155
  }
156
156
  function Wn(n) {
157
157
  return n === on ? ++d > ut ? a(n) : (r.consume(n), Wn) : n !== null && !T(n) && !K(n) ? a(n) : (Gn.flowHeadingDepth = d, Qn(n));
158
158
  }
159
159
  function Qn(n) {
160
- return K(n) ? (r.consume(n), Qn) : (r.exit(L), Zn(n));
160
+ return K(n) ? (r.consume(n), Qn) : (r.exit(v), Zn(n));
161
161
  }
162
162
  function Zn(n) {
163
163
  return n === null || T(n) ? a(n) : (X = r.enter("chunkText", { contentType: "text" }), y(n));
164
164
  }
165
165
  function y(n) {
166
166
  if (n === null || T(n))
167
- return u ? !f || n === null ? a(n) : (r.exit("chunkText"), Sn(), i(n)) : f && n !== null ? (R = !0, O = !1, r.consume(n), r.exit("chunkText"), Yn) : n !== null && !l ? r.check(Vn, Mt, dn)(n) : dn(n);
167
+ return u ? !f || n === null ? a(n) : (r.exit("chunkText"), xn(), i(n)) : f && n !== null ? (_ = !0, O = !1, r.consume(n), r.exit("chunkText"), Yn) : n !== null && !l ? r.check(Vn, Mt, dn)(n) : dn(n);
168
168
  if (!f) {
169
169
  if (!s && n === B)
170
- return hn(t.parser, t.now().offset) ? (gn = n, xn(n)) : (k = 0, N = 0, nn = t.now().offset, P = !1, r.check({ partial: !0, tokenize: St }, b, yt)(n));
170
+ return hn(t.parser, t.now().offset) ? (gn = n, Sn(n)) : (k = 0, b = 0, nn = t.now().offset, P = !1, r.check({ partial: !0, tokenize: xt }, N, yt)(n));
171
171
  if (!s && n === sn && (Tn || An))
172
- return k = 0, r.check({ partial: !0, tokenize: Ct }, b, Nt)(n);
172
+ return k = 0, r.check({ partial: !0, tokenize: Ct }, N, bt)(n);
173
173
  if (!s && n === M && In)
174
- return hn(t.parser, t.now().offset) ? (gn = n, xn(n)) : (k = 0, F = 0, e = t.now().offset, En = !1, r.check({ partial: !0, tokenize: bt }, b, zt)(n));
174
+ return hn(t.parser, t.now().offset) ? (gn = n, Sn(n)) : (k = 0, F = 0, e = t.now().offset, En = !1, r.check({ partial: !0, tokenize: Nt }, N, zt)(n));
175
175
  if (n === W && On.length && wn && (D = On.pop(), D && tn.delete(D), !D?.inactive))
176
- return k = 0, r.check({ partial: !0, tokenize: Lt }, Pt, Rn)(n);
176
+ return k = 0, r.check({ partial: !0, tokenize: vt }, Pt, _n)(n);
177
177
  if (l && K(n))
178
- return k = 0, r.check({ partial: !0, tokenize: Dt }, Bt, b)(n);
179
- if (n === vn)
180
- return r.consume(n), O = !1, v = !1, Rt;
178
+ return k = 0, r.check({ partial: !0, tokenize: Dt }, Bt, N)(n);
179
+ if (n === Ln)
180
+ return r.consume(n), O = !1, L = !1, _t;
181
181
  }
182
- return Rn(n);
182
+ return _n(n);
183
183
  }
184
- function xn(n) {
185
- return n !== gn ? y(n) : (r.consume(n), G = n, O = !1, v = !1, xn);
184
+ function Sn(n) {
185
+ return n !== gn ? y(n) : (r.consume(n), G = n, O = !1, L = !1, Sn);
186
186
  }
187
- function Rn(n) {
187
+ function _n(n) {
188
188
  const p = G;
189
189
  if (r.consume(n), G = n, !f && n === U) {
190
- const g = {
190
+ const E = {
191
191
  type: p === et ? "labelImage" : "labelLink",
192
192
  end: t.now()
193
193
  };
194
- On.push(g), g.type === "labelLink" && tn.add(g);
194
+ On.push(E), E.type === "labelLink" && tn.add(E);
195
195
  }
196
196
  const o = f;
197
- return f ? O && n === j ? (f = !1, O = !1) : O = n === j : O && n === H ? (f = !0, O = !1) : O = n === H, !u && o !== f && (t.currentConstruct = f ? It : Un), f || (v && n === U && (s = !0), n === W && (s = !1), v = n === Ln), y;
197
+ return f ? O && n === j ? (f = !1, O = !1) : O = n === j : O && n === H ? (f = !0, O = !1) : O = n === H, !u && o !== f && (t.currentConstruct = f ? It : Un), f || (L && n === U && (s = !0), n === W && (s = !1), L = n === vn), y;
198
198
  }
199
- function Rt(n) {
199
+ function _t(n) {
200
200
  return s && (n === null || !yn.has(n)) || n === null || T(n) ? y(n) : (r.consume(n), G = null, y);
201
201
  }
202
- function St(n, p, o) {
203
- let g = 0, m = 0;
204
- return _;
205
- function E(c) {
202
+ function xt(n, p, o) {
203
+ let E = 0, h = 0;
204
+ return R;
205
+ function g(c) {
206
206
  n.consume(c), k++;
207
207
  }
208
- function _(c) {
209
- return c === B ? (g++, N++, E(c), _) : C(c);
208
+ function R(c) {
209
+ return c === B ? (E++, b++, g(c), R) : C(c);
210
210
  }
211
211
  function C(c) {
212
- return c === null ? o(c) : T(c) ? u || l ? (P = l, o(c)) : n.check(Vn, h, _n)(c) : c === B ? (m = 0, an(c)) : (E(c), C);
212
+ return c === null ? o(c) : T(c) ? u || l ? (P = l, o(c)) : n.check(Vn, m, Rn)(c) : c === B ? (h = 0, an(c)) : (g(c), C);
213
213
  }
214
- function h(c) {
215
- return E(c), C;
214
+ function m(c) {
215
+ return g(c), C;
216
216
  }
217
- function _n(c) {
217
+ function Rn(c) {
218
218
  return n.check({ partial: !0, tokenize: Cn }, un, o)(c);
219
219
  }
220
220
  function un(c) {
221
221
  return P = !0, o(c);
222
222
  }
223
223
  function Cn(c, ln, w) {
224
- let x = "";
224
+ let S = "";
225
225
  return z;
226
226
  function z(I) {
227
227
  return c.consume(I), V;
228
228
  }
229
229
  function V(I) {
230
- return I === null || T(I) ? (0, bn.isInlineCodeBoundaryLine)(x) ? ln(I) : w(I) : (x += I === fn ? " " : I === cn ? " " : String.fromCodePoint(I), c.consume(I), V);
230
+ return I === null || T(I) ? (0, Nn.isInlineCodeBoundaryLine)(S) ? ln(I) : w(I) : (S += I === fn ? " " : I === cn ? " " : String.fromCodePoint(I), c.consume(I), V);
231
231
  }
232
232
  }
233
233
  function an(c) {
234
- return c === B ? (m++, E(c), an) : m === g ? p(c) : C(c);
234
+ return c === B ? (h++, g(c), an) : h === E ? p(c) : C(c);
235
235
  }
236
236
  }
237
- function _t(n, p, o) {
237
+ function Rt(n, p, o) {
238
238
  return An ? en.call(this, An, "htmlText", n, p, o) : o;
239
239
  }
240
240
  function Ct(n, p, o) {
241
241
  return Tn ? en.call(this, Tn, "autolink", n, p, o) : o;
242
242
  }
243
- function Nt(n) {
244
- return k = 0, r.check({ partial: !0, tokenize: _t }, b, Rn)(n);
243
+ function bt(n) {
244
+ return k = 0, r.check({ partial: !0, tokenize: Rt }, N, _n)(n);
245
245
  }
246
- function bt(n, p, o) {
246
+ function Nt(n, p, o) {
247
247
  if (!In)
248
248
  return o;
249
- let g = !0, m = 0;
250
- const E = Object.create(this, { previous: { value: null } });
251
- return en.call(E, In, "mathText", {
249
+ let E = !0, h = 0;
250
+ const g = Object.create(this, { previous: { value: null } });
251
+ return en.call(g, In, "mathText", {
252
252
  ...n,
253
- consume(_) {
254
- g && _ === M ? F++ : g = !1, m = _ === M ? m + 1 : 0, n.consume(_);
253
+ consume(R) {
254
+ E && R === M ? F++ : E = !1, h = R === M ? h + 1 : 0, n.consume(R);
255
255
  }
256
- }, p, o, () => m === F, () => {
256
+ }, p, o, () => h === F, () => {
257
257
  En = !0;
258
258
  });
259
259
  }
260
- function Lt(n, p, o) {
260
+ function vt(n, p, o) {
261
261
  if (!wn || !D)
262
262
  return o;
263
- const g = Object.create(this, {
264
- events: { value: [["enter", D]] }
263
+ const E = { ...D }, h = Object.create(this, {
264
+ events: { value: [["enter", E]] },
265
+ _labelStarts: { value: [E] }
265
266
  });
266
- return en.call(g, wn, "resource", n, p, o);
267
+ return en.call(h, wn, "resource", n, p, o);
267
268
  }
268
- function en(n, p, o, g, m, E = () => !1, _ = () => {
269
+ function en(n, p, o, E, h, g = () => !1, R = () => {
269
270
  }) {
270
- let C = !1, h = !1;
271
- const _n = n.tokenize.call(this, un(o), Cn, an);
272
- return c(_n);
271
+ let C = !1, m = !1;
272
+ const Rn = n.tokenize.call(this, un(o), Cn, an);
273
+ return c(Rn);
273
274
  function un(w) {
274
275
  return {
275
276
  ...w,
276
- consume(x) {
277
- k++, w.consume(x);
277
+ consume(S) {
278
+ k++, w.consume(S);
278
279
  },
279
- exit(x) {
280
- const z = w.exit(x);
281
- return x === p && (C = !0), z;
280
+ exit(S) {
281
+ const z = w.exit(S);
282
+ return S === p && (C = !0), z;
282
283
  },
283
- attempt(x, z, V) {
284
+ attempt(S, z, V) {
284
285
  return w.attempt({
285
- ...x,
286
+ ...S,
286
287
  tokenize(I, qt, Kt) {
287
- return x.tokenize.call(this, un(I), qt, Kt);
288
+ return S.tokenize.call(this, un(I), qt, Kt);
288
289
  }
289
290
  }, z, V);
290
291
  }
291
292
  };
292
293
  }
293
294
  function Cn(w) {
294
- return h = !0, C ? g(w) : m(w);
295
+ return m = !0, C ? E(w) : h(w);
295
296
  }
296
297
  function an(w) {
297
- return h = !0, m(w);
298
+ return m = !0, h(w);
298
299
  }
299
300
  function c(w) {
300
- return (x) => {
301
- if (!C && T(x) && !E())
302
- return u || l ? ln(x) : o.check(At, z, ln)(x);
303
- return z(x);
301
+ return (S) => {
302
+ if (!C && T(S) && !g())
303
+ return u || l ? ln(S) : o.check(At, z, ln)(S);
304
+ return z(S);
304
305
  function z(V) {
305
306
  const I = w(V);
306
- return I && !h ? c(I) : I;
307
+ return I && !m ? c(I) : I;
307
308
  }
308
309
  };
309
310
  }
310
311
  function ln(w) {
311
- return _(), m(w);
312
+ return R(), h(w);
312
313
  }
313
314
  }
314
- function b(n) {
315
- return k ? (r.consume(n), G = n, k--, O = !1, v = !1, T(n) ? (r.exit("chunkText"), vt) : b) : y(n);
315
+ function N(n) {
316
+ return k ? (r.consume(n), G = n, k--, O = !1, L = !1, T(n) ? (r.exit("chunkText"), Lt) : N) : y(n);
316
317
  }
317
- function vt(n) {
318
- return Jn(), b(n);
318
+ function Lt(n) {
319
+ return Jn(), N(n);
319
320
  }
320
321
  function yt(n) {
321
- return !u && P && rn.add(nn), k = N, b(n);
322
+ return !u && P && rn.add(nn), k = b, N(n);
322
323
  }
323
324
  function zt(n) {
324
- return !u && En && rn.add(e), k = F, b(n);
325
+ return !u && En && rn.add(e), k = F, N(n);
325
326
  }
326
327
  function Pt(n) {
327
328
  if (D?.type === "labelLink") {
@@ -329,32 +330,32 @@ function Ut() {
329
330
  p.inactive = !0;
330
331
  tn.clear();
331
332
  }
332
- return s = !1, b(n);
333
+ return s = !1, N(n);
333
334
  }
334
335
  function Dt(n, p, o) {
335
- let g = !1;
336
- return E;
337
- function m(h) {
338
- n.consume(h), k++;
336
+ let E = !1;
337
+ return g;
338
+ function h(m) {
339
+ n.consume(m), k++;
339
340
  }
340
- function E(h) {
341
- return K(h) ? (m(h), E) : _(h);
341
+ function g(m) {
342
+ return K(m) ? (h(m), g) : R(m);
342
343
  }
343
- function _(h) {
344
- return h === on ? (g = !0, m(h), _) : g ? C(h) : o(h);
344
+ function R(m) {
345
+ return m === on ? (E = !0, h(m), R) : E ? C(m) : o(m);
345
346
  }
346
- function C(h) {
347
- return K(h) ? (m(h), C) : h === null || T(h) ? p(h) : o(h);
347
+ function C(m) {
348
+ return K(m) ? (h(m), C) : m === null || T(m) ? p(m) : o(m);
348
349
  }
349
350
  }
350
351
  function Bt(n) {
351
- return R ? (r.exit("chunkText"), r.enter(L), Xn(n)) : a(n);
352
+ return _ ? (r.exit("chunkText"), r.enter(v), Xn(n)) : a(n);
352
353
  }
353
354
  function Xn(n) {
354
- return k ? (r.consume(n), k--, Xn) : (r.exit(L), $n(), r.exit(kn), i(n));
355
+ return k ? (r.consume(n), k--, Xn) : (r.exit(v), $n(), r.exit(kn), i(n));
355
356
  }
356
357
  function Yn(n) {
357
- return n === null ? (Sn(), i(n)) : (Jn(), y(n));
358
+ return n === null ? (xn(), i(n)) : (Jn(), y(n));
358
359
  }
359
360
  function Jn() {
360
361
  X.next = r.enter("chunkText", {
@@ -362,7 +363,7 @@ function Ut() {
362
363
  previous: X
363
364
  }), X = X.next;
364
365
  }
365
- function Sn() {
366
+ function xn() {
366
367
  $n(), l || r.exit("paragraph"), r.exit(kn);
367
368
  }
368
369
  function $n() {
@@ -374,24 +375,24 @@ function Ut() {
374
375
  n.add(p);
375
376
  }
376
377
  function dn(n) {
377
- return R ? (r.exit("chunkText"), Sn(), i(n)) : a(n);
378
+ return _ ? (r.exit("chunkText"), xn(), i(n)) : a(n);
378
379
  }
379
380
  function Mt(n) {
380
381
  return r.consume(n), G = null, r.exit("chunkText"), Yn;
381
382
  }
382
383
  function nt(n, p, o) {
383
- return g;
384
- function g(E) {
385
- return n.consume(E), m;
384
+ return E;
385
+ function E(g) {
386
+ return n.consume(g), h;
386
387
  }
387
- function m(E) {
388
- return K(E) ? (n.consume(E), m) : E === null || T(E) ? o(E) : n.check(Tt, p, n.interrupt(wt, o, p))(E);
388
+ function h(g) {
389
+ return K(g) ? (n.consume(g), h) : g === null || T(g) ? o(g) : n.check(Tt, p, n.interrupt(wt, o, p))(g);
389
390
  }
390
391
  }
391
392
  function Ht(n, p, o) {
392
- return (m) => (n.enter(S), nt(n, g(p), g(o))(m));
393
- function g(m) {
394
- return (E) => (n.exit(S), m(E));
393
+ return (h) => (n.enter(x), nt(n, E(p), E(o))(h));
394
+ function E(h) {
395
+ return (g) => (n.exit(x), h(g));
395
396
  }
396
397
  }
397
398
  function jt(n, p, o) {
@@ -424,7 +425,7 @@ function Ut() {
424
425
  previous: ft,
425
426
  tokenize: Pn
426
427
  },
427
- [Ln]: {
428
+ [vn]: {
428
429
  name: "flowInteraction",
429
430
  tokenize: ct
430
431
  },
@@ -475,7 +476,7 @@ function Ut() {
475
476
  let i = qn.get(r);
476
477
  return i || (i = function(a, l) {
477
478
  const u = a.startsWith("\uFEFF") ? a.slice(1) : a;
478
- $.push((0, bn.findRejectedDocumentInlineOpenings)(u));
479
+ $.push((0, Nn.findRejectedDocumentInlineOpenings)(u));
479
480
  try {
480
481
  return r.call(this, a, l);
481
482
  } finally {
@@ -526,7 +527,7 @@ function Ut() {
526
527
  i("micromarkExtensions", Z), i("fromMarkdownExtensions", kt);
527
528
  }
528
529
  const Z = Mn(), kt = Hn();
529
- })(Nn), Nn);
530
+ })(bn), bn);
530
531
  }
531
532
  export {
532
533
  Ut as __require