@omg-dev/app 0.5.0 → 0.6.1

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 (113) hide show
  1. package/dist-lib/{ChangelogPage-8lbvM9Pz.js → ChangelogPage-Cjj_DiYL.js} +57 -1
  2. package/dist-lib/{File-B-qYa2zY.js → File-DQRr5F_e.js} +1761 -1826
  3. package/dist-lib/FileEditor-BrI3dfcp.js +6895 -0
  4. package/dist-lib/FileTreePane-J8P-OiHb.js +8413 -0
  5. package/dist-lib/{FileViewer-Clmf04v1.js → FileViewer-DRrfus7c.js} +1 -1
  6. package/dist-lib/{SessionFilesPanel-BKcTU57t.js → SessionFilesPanel-DxVJ43fE.js} +69 -69
  7. package/dist-lib/{TermView-gazV6UMU.js → TermView-B4V-DyD-.js} +521 -530
  8. package/dist-lib/{abnfDiagram-VRR7QNED-Chn1Z_p9.js → abnfDiagram-VRR7QNED-CiXfOnAu.js} +4 -4
  9. package/dist-lib/{arc-B652oHQ-.js → arc-QOMNKQA5.js} +1 -1
  10. package/dist-lib/{architectureDiagram-ZJ3FMSHR-CMatArpz.js → architectureDiagram-ZJ3FMSHR-BcFBTmfD.js} +2059 -2064
  11. package/dist-lib/{blockDiagram-677ZJIJ3-CEOPfI9A.js → blockDiagram-677ZJIJ3-Qj8-RIV3.js} +920 -925
  12. package/dist-lib/{c4Diagram-LMCZKHZV-DcUHrESL.js → c4Diagram-LMCZKHZV-BpinEmj4.js} +598 -593
  13. package/dist-lib/{channel-B5lJFbed.js → channel-D6YHMmF7.js} +1 -1
  14. package/dist-lib/{chat-engine-83mwx0z2.js → chat-engine-CUiDTHFP.js} +1173 -1218
  15. package/dist-lib/chunk-2Q5K7J3B-CFSi414U.js +18 -0
  16. package/dist-lib/{chunk-32BRIVSS-IYmNSvH8.js → chunk-32BRIVSS-DvywQiCk.js} +1 -1
  17. package/dist-lib/{chunk-5VM5RSS4-DO2g-xIj.js → chunk-5VM5RSS4-xd6XuI9Q.js} +1 -1
  18. package/dist-lib/{chunk-BO2N2NFS-kYiI5SD9.js → chunk-BO2N2NFS-BbJdm-59.js} +4892 -4903
  19. package/dist-lib/{chunk-EX3LRPZG-N96wfks9.js → chunk-EX3LRPZG-BLDKx-Yg.js} +507 -514
  20. package/dist-lib/chunk-JWPE2WC7-DnwG7Xzp.js +8 -0
  21. package/dist-lib/chunk-MOJQB5TN-BrENeFT5.js +670 -0
  22. package/dist-lib/chunk-RYQCIY6F-I-J4fVFd.js +313 -0
  23. package/dist-lib/{chunk-V7JOEXUC-DQwf2vkP.js → chunk-V7JOEXUC-Bkakcs1-.js} +458 -453
  24. package/dist-lib/chunk-VR4S4FIN-BDq3jZ0m.js +19 -0
  25. package/dist-lib/{chunk-XXDRQBXY-Ccv4aRcn.js → chunk-XXDRQBXY-DRKeYnrF.js} +1 -1
  26. package/dist-lib/{classDiagram-v2-EOCWNBFH-DOn-rhuL.js → classDiagram-OUVF2IWQ-DISUfvR5.js} +2 -2
  27. package/dist-lib/{classDiagram-OUVF2IWQ-DOn-rhuL.js → classDiagram-v2-EOCWNBFH-DISUfvR5.js} +2 -2
  28. package/dist-lib/{coding-agents-page-8Nf-IuE2.js → coding-agents-page-DtxZ0nbQ.js} +152 -131
  29. package/dist-lib/computer-page-DIJeFOZz.js +8860 -0
  30. package/dist-lib/{cose-bilkent-JH36ORCC-C-tACTrT.js → cose-bilkent-JH36ORCC-DCfmoChv.js} +281 -281
  31. package/dist-lib/{create-BrnHvSDE.js → create-CBk9uwJH.js} +2 -2
  32. package/dist-lib/cynefin-VYW2F7L2-XAY3mHv8.js +24430 -0
  33. package/dist-lib/{cynefinDiagram-TSTJHNR4-Be7CamD2.js → cynefinDiagram-TSTJHNR4-CrgvPEr1.js} +3 -3
  34. package/dist-lib/{cytoscape.esm-B0ledd6M.js → cytoscape.esm-BB6Ga9He.js} +3 -3
  35. package/dist-lib/dagre-VKFMJZFB-CE5k06mJ.js +343 -0
  36. package/dist-lib/{diagram-FQU43EPY-Jg12ow4Z.js → diagram-FQU43EPY-gOcCiJEN.js} +136 -139
  37. package/dist-lib/diagram-G47NLZAW-BVJLfRsd.js +531 -0
  38. package/dist-lib/diagram-NH7WQ7WH-u6QnHasL.js +145 -0
  39. package/dist-lib/diagram-OA4YK3LP-D4Kcl3uM.js +350 -0
  40. package/dist-lib/{diagram-WEI45ONY-D1kKPOc_.js → diagram-WEI45ONY-6a__oIb0.js} +38 -42
  41. package/dist-lib/{ebnfDiagram-CCIWWBDH-BhQWrGMc.js → ebnfDiagram-CCIWWBDH-PXSrB6lG.js} +4 -4
  42. package/dist-lib/{embedded-BmrQsEvQ.js → embedded-PUsgcSTE.js} +13043 -13082
  43. package/dist-lib/{engine-compile-BeDRSL6Y.js → engine-compile-D_stzVMa.js} +2939 -2991
  44. package/dist-lib/{erDiagram-Q63AITRT-D2q6Nmwa.js → erDiagram-Q63AITRT-BbsttUCs.js} +286 -284
  45. package/dist-lib/flowDiagram-23GEKE2U-CX5x3zVA.js +1641 -0
  46. package/dist-lib/{ganttDiagram-NO4QXBWP-C_Lj-cJB.js → ganttDiagram-NO4QXBWP-Bq0aSPs8.js} +2 -2
  47. package/dist-lib/gitGraphDiagram-IHSO6WYX-BjAezjIv.js +815 -0
  48. package/dist-lib/{graph-B68L3K2T.js → graph-DAHC4kPm.js} +2 -2
  49. package/dist-lib/{highlighted-body-OFNGDK62-C2DGVKV8.js → highlighted-body-OFNGDK62-DWhG_ijx.js} +1 -1
  50. package/dist-lib/index-B0neMIbR.js +16520 -0
  51. package/dist-lib/index-BBC0E3Qg.js +4994 -0
  52. package/dist-lib/{index-Dtkd4mEk.js → index-CE7H8LiZ.js} +2 -2
  53. package/dist-lib/{index-DWkBvb-9.js → index-FgVvPpIY.js} +2 -2
  54. package/dist-lib/index.js +1 -1
  55. package/dist-lib/{infoDiagram-FWYZ7A6U-BbUkT0KS.js → infoDiagram-FWYZ7A6U-Bo_FNR91.js} +2 -2
  56. package/dist-lib/ishikawaDiagram-FXEZZL3T-C5bGD-Eb.js +624 -0
  57. package/dist-lib/{journeyDiagram-5HDEW3XC-CgykmVSC.js → journeyDiagram-5HDEW3XC-C8qM7SxF.js} +4 -4
  58. package/dist-lib/kanban-definition-HUTT4EX6-C-EK5Puz.js +724 -0
  59. package/dist-lib/{katex-jHfnQmlp.js → katex-DoRnZ_sp.js} +1 -1
  60. package/dist-lib/{layout-BGrtsiRL.js → layout-DBbo_M5I.js} +2 -2
  61. package/dist-lib/{linear-B5ZSwawJ.js → linear-zGzX0-I0.js} +1 -1
  62. package/dist-lib/{map-hbfFlSln.js → map-DRdzG8Ho.js} +1 -1
  63. package/dist-lib/mermaid-GHXKKRXX-hOE9C3qW.js +4 -0
  64. package/dist-lib/{mindmap-definition-LN4V7U3C-CfhfeEht.js → mindmap-definition-LN4V7U3C-DlVCRx6k.js} +310 -311
  65. package/dist-lib/{pegDiagram-2B236MQR-CYDAJHPF.js → pegDiagram-2B236MQR-DrKNikeG.js} +4 -4
  66. package/dist-lib/{pieDiagram-ENE6RG2P-udKxQm4p.js → pieDiagram-ENE6RG2P-Fm_jc0HL.js} +83 -84
  67. package/dist-lib/quadrantDiagram-ABIIQ3AL-zDRY0VtB.js +1029 -0
  68. package/dist-lib/{railroadDiagram-RFXS5EU6-q0Svkmuy.js → railroadDiagram-RFXS5EU6-BQuFX39y.js} +4 -4
  69. package/dist-lib/{requirementDiagram-TGXJPOKE-tNxRI1gc.js → requirementDiagram-TGXJPOKE-BWwBQZXn.js} +269 -268
  70. package/dist-lib/{resume-session-sheet-Dr_81Gfm.js → resume-session-sheet-DTe_2QtJ.js} +2 -3
  71. package/dist-lib/sankeyDiagram-HTMAVEWB-BjRyuB6L.js +859 -0
  72. package/dist-lib/{sequenceDiagram-DBY2YBRQ-Dvl2_CXL.js → sequenceDiagram-DBY2YBRQ-69pcw_2M.js} +892 -899
  73. package/dist-lib/{session-token-usage-CGhHZ3lT.js → session-token-usage-DY4vFlfs.js} +82 -83
  74. package/dist-lib/{shadow-text-size-CBCTdbYU.js → shadow-text-size-smWA4wIU.js} +1 -2
  75. package/dist-lib/{shipped-page-p3oulUiM.js → shipped-page-B-ruG8li.js} +233 -236
  76. package/dist-lib/sizeCapture-X5ZJPWSS-DqkV8s1N.js +46 -0
  77. package/dist-lib/{stateDiagram-2N3HPSRC-CnWB7HvU.js → stateDiagram-2N3HPSRC-0vE3REl_.js} +4 -4
  78. package/dist-lib/{stateDiagram-v2-6OUMAXLB-DnZ0UI2p.js → stateDiagram-v2-6OUMAXLB-u_56Obsh.js} +2 -2
  79. package/dist-lib/{streamdown-response-Dbn0PKUH.js → streamdown-response-BQy3geXs.js} +290 -297
  80. package/dist-lib/styles.css +1 -1
  81. package/dist-lib/swimlanes-5IMT3BWC-H0raIBd1.js +5332 -0
  82. package/dist-lib/{swimlanesDiagram-G3AALYLV-CKyOeqF_.js → swimlanesDiagram-G3AALYLV-By52HaDu.js} +2 -2
  83. package/dist-lib/timeline-definition-FHXFAJF6-h1LLYUQk.js +1055 -0
  84. package/dist-lib/vennDiagram-L72KCM5P-B4wDw_Kh.js +1578 -0
  85. package/dist-lib/wardleyDiagram-EHGQE667-DLMBGiwD.js +678 -0
  86. package/dist-lib/{xychartDiagram-FW5EYKEG-m3s7caPv.js → xychartDiagram-FW5EYKEG-BHvf5Noj.js} +526 -496
  87. package/package.json +4 -3
  88. package/dist-lib/FileEditor-BIz0qCyW.js +0 -6892
  89. package/dist-lib/FileTreePane-BG2k7gTc.js +0 -8422
  90. package/dist-lib/chunk-2Q5K7J3B-Ex8Ly28R.js +0 -15
  91. package/dist-lib/chunk-JWPE2WC7-DFPBClX_.js +0 -9
  92. package/dist-lib/chunk-MOJQB5TN-dusfI9ob.js +0 -664
  93. package/dist-lib/chunk-RYQCIY6F-fkeERzIG.js +0 -315
  94. package/dist-lib/chunk-VR4S4FIN-hOZG7eF3.js +0 -20
  95. package/dist-lib/cynefin-VYW2F7L2-DQXPWaog.js +0 -23853
  96. package/dist-lib/dagre-VKFMJZFB-BhCjK7XQ.js +0 -346
  97. package/dist-lib/diagram-G47NLZAW-C3_z2t6T.js +0 -530
  98. package/dist-lib/diagram-NH7WQ7WH-DUdK08IT.js +0 -143
  99. package/dist-lib/diagram-OA4YK3LP-TUUyRYY3.js +0 -353
  100. package/dist-lib/flowDiagram-23GEKE2U-DU3S3biU.js +0 -1645
  101. package/dist-lib/gitGraphDiagram-IHSO6WYX-CvGu0XAR.js +0 -828
  102. package/dist-lib/index-DcwavxA1.js +0 -5062
  103. package/dist-lib/index-JkCQXUYs.js +0 -16566
  104. package/dist-lib/ishikawaDiagram-FXEZZL3T-D_Y6Tuyb.js +0 -622
  105. package/dist-lib/kanban-definition-HUTT4EX6-CPFLTskY.js +0 -726
  106. package/dist-lib/mermaid-GHXKKRXX-Ox_2d3uB.js +0 -4
  107. package/dist-lib/quadrantDiagram-ABIIQ3AL-BmDmLczk.js +0 -1025
  108. package/dist-lib/sankeyDiagram-HTMAVEWB-B9Bl7f2P.js +0 -847
  109. package/dist-lib/sizeCapture-X5ZJPWSS-B1EeO3N9.js +0 -47
  110. package/dist-lib/swimlanes-5IMT3BWC-CvqDJcS9.js +0 -5353
  111. package/dist-lib/timeline-definition-FHXFAJF6-b15X0Oru.js +0 -1066
  112. package/dist-lib/vennDiagram-L72KCM5P-C4lh5m77.js +0 -1585
  113. package/dist-lib/wardleyDiagram-EHGQE667-Cev6fT_D.js +0 -684
@@ -1,5 +1,5 @@
1
- import { k as e } from "./chunk-BO2N2NFS-kYiI5SD9.js";
2
- import { T as s, s as l, o as n, A as r, i as d, r as c, O as k, Q as m, R as C, a as i, P as T, b as p, x as u, K as B, D, c as w, $ as b, j as f, u as x, J as S, n as I, d as P, e as g, t as y } from "./chunk-BO2N2NFS-kYiI5SD9.js";
1
+ import { k as e } from "./chunk-BO2N2NFS-BbJdm-59.js";
2
+ import { T as s, s as l, o as n, A as r, i as d, r as c, O as k, Q as m, R as C, a as i, P as T, b as p, x as u, K as B, D, c as w, $ as b, j as f, u as x, J as S, n as I, d as P, e as g, t as y } from "./chunk-BO2N2NFS-BbJdm-59.js";
3
3
  export {
4
4
  s as Block,
5
5
  l as CodeBlock,
@@ -1,5 +1,5 @@
1
- import { w as T, g as U, h as X, l as Y, v as G, S as J, m as k, q as Q, y as M, z as y } from "./chunk-BO2N2NFS-kYiI5SD9.js";
2
- import z from "./katex-jHfnQmlp.js";
1
+ import { w as T, g as U, h as X, l as Y, v as G, S as J, m as k, q as Q, y as M, z as y } from "./chunk-BO2N2NFS-BbJdm-59.js";
2
+ import z from "./katex-DoRnZ_sp.js";
3
3
  function Z(t, e) {
4
4
  return B(t, {}) || { type: "root", children: [] };
5
5
  }
package/dist-lib/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "@tanstack/react-router";
4
- import { ad as m, ae as o, af as s } from "./embedded-BmrQsEvQ.js";
4
+ import { af as m, ag as o, ah as s } from "./embedded-PUsgcSTE.js";
5
5
  export {
6
6
  m as OmgAppSurface,
7
7
  o as OmgSettingsSurface,
@@ -1,5 +1,5 @@
1
- import { _ as a, l as s, F as o, e as i } from "./index-JkCQXUYs.js";
2
- import { p as g } from "./cynefin-VYW2F7L2-DQXPWaog.js";
1
+ import { _ as a, l as s, F as o, e as i } from "./index-B0neMIbR.js";
2
+ import { p as g } from "./cynefin-VYW2F7L2-XAY3mHv8.js";
3
3
  var p = {
4
4
  parse: /* @__PURE__ */ a(async (r) => {
5
5
  const e = await g("info", r);
@@ -0,0 +1,624 @@
1
+ import { _ as l, c as lt, a1 as ct, F as ut, al as dt, q as yt, k as ft, o as et, a as pt, b as gt, g as kt, s as mt, p as wt, e as _t } from "./index-B0neMIbR.js";
2
+ var Q = (function() {
3
+ var t = /* @__PURE__ */ l(function(T, e, s, i) {
4
+ for (s = s || {}, i = T.length; i--; s[T[i]] = e) ;
5
+ return s;
6
+ }, "o"), d = [1, 4], n = [1, 14], a = [1, 12], o = [1, 13], y = [6, 7, 8], p = [1, 20], u = [1, 18], m = [1, 19], c = [6, 7, 11], k = [1, 6, 13, 14], g = [1, 23], _ = [1, 24], x = [1, 6, 7, 11, 13, 14], D = {
7
+ trace: /* @__PURE__ */ l(function() {
8
+ }, "trace"),
9
+ yy: {},
10
+ symbols_: { error: 2, start: 3, ishikawa: 4, spaceLines: 5, SPACELINE: 6, NL: 7, ISHIKAWA: 8, document: 9, stop: 10, EOF: 11, statement: 12, SPACELIST: 13, TEXT: 14, $accept: 0, $end: 1 },
11
+ terminals_: { 2: "error", 6: "SPACELINE", 7: "NL", 8: "ISHIKAWA", 11: "EOF", 13: "SPACELIST", 14: "TEXT" },
12
+ productions_: [0, [3, 1], [3, 2], [5, 1], [5, 2], [5, 2], [4, 2], [4, 3], [10, 1], [10, 1], [10, 1], [10, 2], [10, 2], [9, 3], [9, 2], [12, 2], [12, 1], [12, 1], [12, 1]],
13
+ performAction: /* @__PURE__ */ l(function(e, s, i, h, f, r, v) {
14
+ var w = r.length - 1;
15
+ switch (f) {
16
+ case 6:
17
+ case 7:
18
+ return h;
19
+ case 15:
20
+ h.addNode(r[w - 1].length, r[w].trim());
21
+ break;
22
+ case 16:
23
+ h.addNode(0, r[w].trim());
24
+ break;
25
+ }
26
+ }, "anonymous"),
27
+ table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: d }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: d }, { 6: n, 7: [1, 10], 9: 9, 12: 11, 13: a, 14: o }, t(y, [2, 3]), { 1: [2, 2] }, t(y, [2, 4]), t(y, [2, 5]), { 1: [2, 6], 6: n, 12: 15, 13: a, 14: o }, { 6: n, 9: 16, 12: 11, 13: a, 14: o }, { 6: p, 7: u, 10: 17, 11: m }, t(c, [2, 18], { 14: [1, 21] }), t(c, [2, 16]), t(c, [2, 17]), { 6: p, 7: u, 10: 22, 11: m }, { 1: [2, 7], 6: n, 12: 15, 13: a, 14: o }, t(k, [2, 14], { 7: g, 11: _ }), t(x, [2, 8]), t(x, [2, 9]), t(x, [2, 10]), t(c, [2, 15]), t(k, [2, 13], { 7: g, 11: _ }), t(x, [2, 11]), t(x, [2, 12])],
28
+ defaultActions: { 2: [2, 1], 6: [2, 2] },
29
+ parseError: /* @__PURE__ */ l(function(e, s) {
30
+ if (s.recoverable)
31
+ this.trace(e);
32
+ else {
33
+ var i = new Error(e);
34
+ throw i.hash = s, i;
35
+ }
36
+ }, "parseError"),
37
+ parse: /* @__PURE__ */ l(function(e) {
38
+ var s = this, i = [0], h = [], f = [null], r = [], v = this.table, w = "", I = 0, $ = 0, L = 2, A = 1, C = r.slice.call(arguments, 1), b = Object.create(this.lexer), S = { yy: {} };
39
+ for (var P in this.yy)
40
+ Object.prototype.hasOwnProperty.call(this.yy, P) && (S.yy[P] = this.yy[P]);
41
+ b.setInput(e, S.yy), S.yy.lexer = b, S.yy.parser = this, typeof b.yylloc > "u" && (b.yylloc = {});
42
+ var R = b.yylloc;
43
+ r.push(R);
44
+ var H = b.options && b.options.ranges;
45
+ typeof S.yy.parseError == "function" ? this.parseError = S.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
46
+ function X(B) {
47
+ i.length = i.length - 2 * B, f.length = f.length - B, r.length = r.length - B;
48
+ }
49
+ l(X, "popStack");
50
+ function J() {
51
+ var B;
52
+ return B = h.pop() || b.lex() || A, typeof B != "number" && (B instanceof Array && (h = B, B = h.pop()), B = s.symbols_[B] || B), B;
53
+ }
54
+ l(J, "lex");
55
+ for (var M, F, N, Y, W = {}, G, V, tt, U; ; ) {
56
+ if (F = i[i.length - 1], this.defaultActions[F] ? N = this.defaultActions[F] : ((M === null || typeof M > "u") && (M = J()), N = v[F] && v[F][M]), typeof N > "u" || !N.length || !N[0]) {
57
+ var q = "";
58
+ U = [];
59
+ for (G in v[F])
60
+ this.terminals_[G] && G > L && U.push("'" + this.terminals_[G] + "'");
61
+ b.showPosition ? q = "Parse error on line " + (I + 1) + `:
62
+ ` + b.showPosition() + `
63
+ Expecting ` + U.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : q = "Parse error on line " + (I + 1) + ": Unexpected " + (M == A ? "end of input" : "'" + (this.terminals_[M] || M) + "'"), this.parseError(q, {
64
+ text: b.match,
65
+ token: this.terminals_[M] || M,
66
+ line: b.yylineno,
67
+ loc: R,
68
+ expected: U
69
+ });
70
+ }
71
+ if (N[0] instanceof Array && N.length > 1)
72
+ throw new Error("Parse Error: multiple actions possible at state: " + F + ", token: " + M);
73
+ switch (N[0]) {
74
+ case 1:
75
+ i.push(M), f.push(b.yytext), r.push(b.yylloc), i.push(N[1]), M = null, $ = b.yyleng, w = b.yytext, I = b.yylineno, R = b.yylloc;
76
+ break;
77
+ case 2:
78
+ if (V = this.productions_[N[1]][1], W.$ = f[f.length - V], W._$ = {
79
+ first_line: r[r.length - (V || 1)].first_line,
80
+ last_line: r[r.length - 1].last_line,
81
+ first_column: r[r.length - (V || 1)].first_column,
82
+ last_column: r[r.length - 1].last_column
83
+ }, H && (W._$.range = [
84
+ r[r.length - (V || 1)].range[0],
85
+ r[r.length - 1].range[1]
86
+ ]), Y = this.performAction.apply(W, [
87
+ w,
88
+ $,
89
+ I,
90
+ S.yy,
91
+ N[1],
92
+ f,
93
+ r
94
+ ].concat(C)), typeof Y < "u")
95
+ return Y;
96
+ V && (i = i.slice(0, -1 * V * 2), f = f.slice(0, -1 * V), r = r.slice(0, -1 * V)), i.push(this.productions_[N[1]][0]), f.push(W.$), r.push(W._$), tt = v[i[i.length - 2]][i[i.length - 1]], i.push(tt);
97
+ break;
98
+ case 3:
99
+ return !0;
100
+ }
101
+ }
102
+ return !0;
103
+ }, "parse")
104
+ }, O = /* @__PURE__ */ (function() {
105
+ var T = {
106
+ EOF: 1,
107
+ parseError: /* @__PURE__ */ l(function(s, i) {
108
+ if (this.yy.parser)
109
+ this.yy.parser.parseError(s, i);
110
+ else
111
+ throw new Error(s);
112
+ }, "parseError"),
113
+ // resets the lexer, sets new input
114
+ setInput: /* @__PURE__ */ l(function(e, s) {
115
+ return this.yy = s || this.yy || {}, this._input = e, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
116
+ first_line: 1,
117
+ first_column: 0,
118
+ last_line: 1,
119
+ last_column: 0
120
+ }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
121
+ }, "setInput"),
122
+ // consumes and returns one char from the input
123
+ input: /* @__PURE__ */ l(function() {
124
+ var e = this._input[0];
125
+ this.yytext += e, this.yyleng++, this.offset++, this.match += e, this.matched += e;
126
+ var s = e.match(/(?:\r\n?|\n).*/g);
127
+ return s ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), e;
128
+ }, "input"),
129
+ // unshifts one char (or a string) into the input
130
+ unput: /* @__PURE__ */ l(function(e) {
131
+ var s = e.length, i = e.split(/(?:\r\n?|\n)/g);
132
+ this._input = e + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - s), this.offset -= s;
133
+ var h = this.match.split(/(?:\r\n?|\n)/g);
134
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), i.length - 1 && (this.yylineno -= i.length - 1);
135
+ var f = this.yylloc.range;
136
+ return this.yylloc = {
137
+ first_line: this.yylloc.first_line,
138
+ last_line: this.yylineno + 1,
139
+ first_column: this.yylloc.first_column,
140
+ last_column: i ? (i.length === h.length ? this.yylloc.first_column : 0) + h[h.length - i.length].length - i[0].length : this.yylloc.first_column - s
141
+ }, this.options.ranges && (this.yylloc.range = [f[0], f[0] + this.yyleng - s]), this.yyleng = this.yytext.length, this;
142
+ }, "unput"),
143
+ // When called from action, caches matched text and appends it on next action
144
+ more: /* @__PURE__ */ l(function() {
145
+ return this._more = !0, this;
146
+ }, "more"),
147
+ // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
148
+ reject: /* @__PURE__ */ l(function() {
149
+ if (this.options.backtrack_lexer)
150
+ this._backtrack = !0;
151
+ else
152
+ return this.parseError("Lexical error on line " + (this.yylineno + 1) + `. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
153
+ ` + this.showPosition(), {
154
+ text: "",
155
+ token: null,
156
+ line: this.yylineno
157
+ });
158
+ return this;
159
+ }, "reject"),
160
+ // retain first n characters of the match
161
+ less: /* @__PURE__ */ l(function(e) {
162
+ this.unput(this.match.slice(e));
163
+ }, "less"),
164
+ // displays already matched input, i.e. for error messages
165
+ pastInput: /* @__PURE__ */ l(function() {
166
+ var e = this.matched.substr(0, this.matched.length - this.match.length);
167
+ return (e.length > 20 ? "..." : "") + e.substr(-20).replace(/\n/g, "");
168
+ }, "pastInput"),
169
+ // displays upcoming input, i.e. for error messages
170
+ upcomingInput: /* @__PURE__ */ l(function() {
171
+ var e = this.match;
172
+ return e.length < 20 && (e += this._input.substr(0, 20 - e.length)), (e.substr(0, 20) + (e.length > 20 ? "..." : "")).replace(/\n/g, "");
173
+ }, "upcomingInput"),
174
+ // displays the character position where the lexing error occurred, i.e. for error messages
175
+ showPosition: /* @__PURE__ */ l(function() {
176
+ var e = this.pastInput(), s = new Array(e.length + 1).join("-");
177
+ return e + this.upcomingInput() + `
178
+ ` + s + "^";
179
+ }, "showPosition"),
180
+ // test the lexed token: return FALSE when not a match, otherwise return token
181
+ test_match: /* @__PURE__ */ l(function(e, s) {
182
+ var i, h, f;
183
+ if (this.options.backtrack_lexer && (f = {
184
+ yylineno: this.yylineno,
185
+ yylloc: {
186
+ first_line: this.yylloc.first_line,
187
+ last_line: this.last_line,
188
+ first_column: this.yylloc.first_column,
189
+ last_column: this.yylloc.last_column
190
+ },
191
+ yytext: this.yytext,
192
+ match: this.match,
193
+ matches: this.matches,
194
+ matched: this.matched,
195
+ yyleng: this.yyleng,
196
+ offset: this.offset,
197
+ _more: this._more,
198
+ _input: this._input,
199
+ yy: this.yy,
200
+ conditionStack: this.conditionStack.slice(0),
201
+ done: this.done
202
+ }, this.options.ranges && (f.yylloc.range = this.yylloc.range.slice(0))), h = e[0].match(/(?:\r\n?|\n).*/g), h && (this.yylineno += h.length), this.yylloc = {
203
+ first_line: this.yylloc.last_line,
204
+ last_line: this.yylineno + 1,
205
+ first_column: this.yylloc.last_column,
206
+ last_column: h ? h[h.length - 1].length - h[h.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + e[0].length
207
+ }, this.yytext += e[0], this.match += e[0], this.matches = e, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(e[0].length), this.matched += e[0], i = this.performAction.call(this, this.yy, this, s, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), i)
208
+ return i;
209
+ if (this._backtrack) {
210
+ for (var r in f)
211
+ this[r] = f[r];
212
+ return !1;
213
+ }
214
+ return !1;
215
+ }, "test_match"),
216
+ // return next match in input
217
+ next: /* @__PURE__ */ l(function() {
218
+ if (this.done)
219
+ return this.EOF;
220
+ this._input || (this.done = !0);
221
+ var e, s, i, h;
222
+ this._more || (this.yytext = "", this.match = "");
223
+ for (var f = this._currentRules(), r = 0; r < f.length; r++)
224
+ if (i = this._input.match(this.rules[f[r]]), i && (!s || i[0].length > s[0].length)) {
225
+ if (s = i, h = r, this.options.backtrack_lexer) {
226
+ if (e = this.test_match(i, f[r]), e !== !1)
227
+ return e;
228
+ if (this._backtrack) {
229
+ s = !1;
230
+ continue;
231
+ } else
232
+ return !1;
233
+ } else if (!this.options.flex)
234
+ break;
235
+ }
236
+ return s ? (e = this.test_match(s, f[h]), e !== !1 ? e : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
237
+ ` + this.showPosition(), {
238
+ text: "",
239
+ token: null,
240
+ line: this.yylineno
241
+ });
242
+ }, "next"),
243
+ // return next match that has a token
244
+ lex: /* @__PURE__ */ l(function() {
245
+ var s = this.next();
246
+ return s || this.lex();
247
+ }, "lex"),
248
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
249
+ begin: /* @__PURE__ */ l(function(s) {
250
+ this.conditionStack.push(s);
251
+ }, "begin"),
252
+ // pop the previously active lexer condition state off the condition stack
253
+ popState: /* @__PURE__ */ l(function() {
254
+ var s = this.conditionStack.length - 1;
255
+ return s > 0 ? this.conditionStack.pop() : this.conditionStack[0];
256
+ }, "popState"),
257
+ // produce the lexer rule set which is active for the currently active lexer condition state
258
+ _currentRules: /* @__PURE__ */ l(function() {
259
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
260
+ }, "_currentRules"),
261
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
262
+ topState: /* @__PURE__ */ l(function(s) {
263
+ return s = this.conditionStack.length - 1 - Math.abs(s || 0), s >= 0 ? this.conditionStack[s] : "INITIAL";
264
+ }, "topState"),
265
+ // alias for begin(condition)
266
+ pushState: /* @__PURE__ */ l(function(s) {
267
+ this.begin(s);
268
+ }, "pushState"),
269
+ // return the number of states currently on the stack
270
+ stateStackSize: /* @__PURE__ */ l(function() {
271
+ return this.conditionStack.length;
272
+ }, "stateStackSize"),
273
+ options: { "case-insensitive": !0 },
274
+ performAction: /* @__PURE__ */ l(function(s, i, h, f) {
275
+ switch (h) {
276
+ case 0:
277
+ return 6;
278
+ case 1:
279
+ return 8;
280
+ case 2:
281
+ return 8;
282
+ case 3:
283
+ return 6;
284
+ case 4:
285
+ return 7;
286
+ case 5:
287
+ return 13;
288
+ case 6:
289
+ return 14;
290
+ case 7:
291
+ return 11;
292
+ }
293
+ }, "anonymous"),
294
+ rules: [/^(?:\s*%%.*)/i, /^(?:ishikawa-beta\b)/i, /^(?:ishikawa\b)/i, /^(?:[\s]+[\n])/i, /^(?:[\n]+)/i, /^(?:[\s]+)/i, /^(?:[^\n]+)/i, /^(?:$)/i],
295
+ conditions: { INITIAL: { rules: [0, 1, 2, 3, 4, 5, 6, 7], inclusive: !0 } }
296
+ };
297
+ return T;
298
+ })();
299
+ D.lexer = O;
300
+ function E() {
301
+ this.yy = {};
302
+ }
303
+ return l(E, "Parser"), E.prototype = D, D.Parser = E, new E();
304
+ })();
305
+ Q.parser = Q;
306
+ var bt = Q, xt = class {
307
+ constructor() {
308
+ this.stack = [], this.clear = this.clear.bind(this), this.addNode = this.addNode.bind(this), this.getRoot = this.getRoot.bind(this);
309
+ }
310
+ static {
311
+ l(this, "IshikawaDB");
312
+ }
313
+ clear() {
314
+ this.root = void 0, this.stack = [], this.baseLevel = void 0, yt();
315
+ }
316
+ getRoot() {
317
+ return this.root;
318
+ }
319
+ addNode(t, d) {
320
+ const n = ft.sanitizeText(d, lt());
321
+ if (!this.root) {
322
+ this.root = { text: n, children: [] }, this.stack = [{ level: 0, node: this.root }], et(n);
323
+ return;
324
+ }
325
+ this.baseLevel ??= t;
326
+ let a = t - this.baseLevel + 1;
327
+ for (a <= 0 && (a = 1); this.stack.length > 1 && this.stack[this.stack.length - 1].level >= a; )
328
+ this.stack.pop();
329
+ const o = this.stack[this.stack.length - 1].node, y = { text: n, children: [] };
330
+ o.children.push(y), this.stack.push({ level: a, node: y });
331
+ }
332
+ getAccTitle() {
333
+ return pt();
334
+ }
335
+ setAccTitle(t) {
336
+ gt(t);
337
+ }
338
+ getAccDescription() {
339
+ return kt();
340
+ }
341
+ setAccDescription(t) {
342
+ mt(t);
343
+ }
344
+ getDiagramTitle() {
345
+ return wt();
346
+ }
347
+ setDiagramTitle(t) {
348
+ et(t);
349
+ }
350
+ }, vt = 14, j = 250, St = 30, $t = 60, Et = 5, ot = 82 * Math.PI / 180, it = Math.cos(ot), st = Math.sin(ot), nt = /* @__PURE__ */ l((t, d, n) => {
351
+ const a = t.node().getBBox(), o = a.width + d * 2, y = a.height + d * 2;
352
+ _t(t, y, o, n), t.attr("viewBox", `${a.x - d} ${a.y - d} ${o} ${y}`);
353
+ }, "applyPaddedViewBox"), At = /* @__PURE__ */ l((t, d, n, a) => {
354
+ const y = a.db.getRoot();
355
+ if (!y)
356
+ return;
357
+ const p = lt(), { look: u, handDrawnSeed: m, themeVariables: c } = p, k = ct(p.fontSize)[0] ?? vt, g = u === "handDrawn", _ = y.children ?? [], x = p.ishikawa?.diagramPadding ?? 20, D = p.ishikawa?.useMaxWidth ?? !1, O = ut(d), E = O.append("g").attr("class", "ishikawa"), T = g ? dt.svg(O.node()) : void 0, e = T ? {
358
+ roughSvg: T,
359
+ seed: m ?? 0,
360
+ lineColor: c?.lineColor ?? "#333",
361
+ fillColor: c?.mainBkg ?? "#fff"
362
+ } : void 0, s = `ishikawa-arrow-${d}`;
363
+ g || E.append("defs").append("marker").attr("id", s).attr("viewBox", "0 0 10 10").attr("refX", 0).attr("refY", 5).attr("markerWidth", 6).attr("markerHeight", 6).attr("orient", "auto").append("path").attr("d", "M 10 0 L 0 5 L 10 10 Z").attr("class", "ishikawa-arrow");
364
+ let i = 0, h = j;
365
+ const f = g ? void 0 : z(E, i, h, i, h, "ishikawa-spine");
366
+ if (It(E, i, h, y.text, k, e), !_.length) {
367
+ g && z(E, i, h, i, h, "ishikawa-spine", e), nt(O, x, D);
368
+ return;
369
+ }
370
+ i -= 20;
371
+ const r = _.filter((S, P) => P % 2 === 0), v = _.filter((S, P) => P % 2 === 1), w = at(r), I = at(v), $ = w.total + I.total;
372
+ let L = j, A = j;
373
+ if ($ > 0) {
374
+ const S = j * 2, P = j * 0.3;
375
+ L = Math.max(P, S * (w.total / $)), A = Math.max(P, S * (I.total / $));
376
+ }
377
+ const C = k * 2;
378
+ L = Math.max(L, w.max * C), A = Math.max(A, I.max * C), h = Math.max(L, j), f && f.attr("y1", h).attr("y2", h), E.select(".ishikawa-head-group").attr("transform", `translate(0,${h})`);
379
+ const b = Math.ceil(_.length / 2);
380
+ for (let S = 0; S < b; S++) {
381
+ const P = E.append("g").attr("class", "ishikawa-pair");
382
+ for (const [R, H, X] of [
383
+ [_[S * 2], -1, L],
384
+ [_[S * 2 + 1], 1, A]
385
+ ])
386
+ R && Mt(P, R, i, h, H, X, k, e);
387
+ i = P.selectAll("text").nodes().reduce((R, H) => Math.min(R, H.getBBox().x), 1 / 0);
388
+ }
389
+ if (g)
390
+ z(E, i, h, 0, h, "ishikawa-spine", e);
391
+ else {
392
+ f.attr("x1", i);
393
+ const S = `url(#${s})`;
394
+ E.selectAll("line.ishikawa-branch, line.ishikawa-sub-branch").attr("marker-start", S);
395
+ }
396
+ nt(O, x, D);
397
+ }, "draw"), at = /* @__PURE__ */ l((t) => {
398
+ const d = /* @__PURE__ */ l((n) => n.children.reduce((a, o) => a + 1 + d(o), 0), "countDescendants");
399
+ return t.reduce(
400
+ (n, a) => {
401
+ const o = d(a);
402
+ return n.total += o, n.max = Math.max(n.max, o), n;
403
+ },
404
+ { total: 0, max: 0 }
405
+ );
406
+ }, "sideStats"), It = /* @__PURE__ */ l((t, d, n, a, o, y) => {
407
+ const p = Math.max(6, Math.floor(110 / (o * 0.6))), u = t.append("g").attr("class", "ishikawa-head-group").attr("transform", `translate(${d},${n})`), m = Z(
408
+ u,
409
+ ht(a, p),
410
+ 0,
411
+ 0,
412
+ "ishikawa-head-label",
413
+ "start",
414
+ o
415
+ ), c = m.node().getBBox(), k = Math.max(60, c.width + 6), g = Math.max(40, c.height * 2 + 40), _ = `M 0 ${-g / 2} L 0 ${g / 2} Q ${k * 2.4} 0 0 ${-g / 2} Z`;
416
+ if (y) {
417
+ const x = y.roughSvg.path(_, {
418
+ roughness: 1.5,
419
+ seed: y.seed,
420
+ fill: y.fillColor,
421
+ fillStyle: "hachure",
422
+ fillWeight: 2.5,
423
+ hachureGap: 5,
424
+ stroke: y.lineColor,
425
+ strokeWidth: 2
426
+ });
427
+ u.insert(() => x, ":first-child").attr("class", "ishikawa-head");
428
+ } else
429
+ u.insert("path", ":first-child").attr("class", "ishikawa-head").attr("d", _);
430
+ m.attr("transform", `translate(${(k - c.width) / 2 - c.x + 3},${-c.y - c.height / 2})`);
431
+ }, "drawHead"), Lt = /* @__PURE__ */ l((t, d) => {
432
+ const n = [], a = [], o = /* @__PURE__ */ l((y, p, u) => {
433
+ const m = d === -1 ? [...y].reverse() : y;
434
+ for (const c of m) {
435
+ const k = n.length, g = c.children ?? [];
436
+ n.push({
437
+ depth: u,
438
+ text: ht(c.text, 15),
439
+ parentIndex: p,
440
+ childCount: g.length
441
+ }), u % 2 === 0 ? (a.push(k), g.length && o(g, k, u + 1)) : (g.length && o(g, k, u + 1), a.push(k));
442
+ }
443
+ }, "walk");
444
+ return o(t, -1, 2), { entries: n, yOrder: a };
445
+ }, "flattenTree"), Tt = /* @__PURE__ */ l((t, d, n, a, o, y, p) => {
446
+ const u = t.append("g").attr("class", "ishikawa-label-group"), c = Z(
447
+ u,
448
+ d,
449
+ n,
450
+ a + 11 * o,
451
+ "ishikawa-label cause",
452
+ "middle",
453
+ y
454
+ ).node().getBBox();
455
+ if (p) {
456
+ const k = p.roughSvg.rectangle(
457
+ c.x - 20,
458
+ c.y - 2,
459
+ c.width + 40,
460
+ c.height + 4,
461
+ {
462
+ roughness: 1.5,
463
+ seed: p.seed,
464
+ fill: p.fillColor,
465
+ fillStyle: "hachure",
466
+ fillWeight: 2.5,
467
+ hachureGap: 5,
468
+ stroke: p.lineColor,
469
+ strokeWidth: 2
470
+ }
471
+ );
472
+ u.insert(() => k, ":first-child").attr("class", "ishikawa-label-box");
473
+ } else
474
+ u.insert("rect", ":first-child").attr("class", "ishikawa-label-box").attr("x", c.x - 20).attr("y", c.y - 2).attr("width", c.width + 40).attr("height", c.height + 4);
475
+ }, "drawCauseLabel"), K = /* @__PURE__ */ l((t, d, n, a, o, y) => {
476
+ const p = Math.sqrt(a * a + o * o);
477
+ if (p === 0)
478
+ return;
479
+ const u = a / p, m = o / p, c = 6, k = -m * c, g = u * c, _ = d, x = n, D = `M ${_} ${x} L ${_ - u * c * 2 + k} ${x - m * c * 2 + g} L ${_ - u * c * 2 - k} ${x - m * c * 2 - g} Z`, O = y.roughSvg.path(D, {
480
+ roughness: 1,
481
+ seed: y.seed,
482
+ fill: y.lineColor,
483
+ fillStyle: "solid",
484
+ stroke: y.lineColor,
485
+ strokeWidth: 1
486
+ });
487
+ t.append(() => O);
488
+ }, "drawArrowMarker"), Mt = /* @__PURE__ */ l((t, d, n, a, o, y, p, u) => {
489
+ const m = d.children ?? [], c = y * (m.length ? 1 : 0.2), k = -it * c, g = st * c * o, _ = n + k, x = a + g;
490
+ if (z(t, n, a, _, x, "ishikawa-branch", u), u && K(t, n, a, n - _, a - x, u), Tt(t, d.text, _, x, o, p, u), !m.length)
491
+ return;
492
+ const { entries: D, yOrder: O } = Lt(m, o), E = D.length, T = new Array(E);
493
+ for (const [f, r] of O.entries())
494
+ T[r] = a + g * ((f + 1) / (E + 1));
495
+ const e = /* @__PURE__ */ new Map();
496
+ e.set(-1, {
497
+ x0: n,
498
+ y0: a,
499
+ x1: _,
500
+ y1: x,
501
+ childCount: m.length,
502
+ childrenDrawn: 0
503
+ });
504
+ const s = -it, i = st * o, h = o < 0 ? "ishikawa-label up" : "ishikawa-label down";
505
+ for (const [f, r] of D.entries()) {
506
+ const v = T[f], w = e.get(r.parentIndex), I = t.append("g").attr("class", "ishikawa-sub-group");
507
+ let $ = 0, L = 0, A = 0;
508
+ if (r.depth % 2 === 0) {
509
+ const C = w.y1 - w.y0;
510
+ $ = rt(w.x0, w.x1, C ? (v - w.y0) / C : 0.5), L = v, A = $ - (r.childCount > 0 ? $t + r.childCount * Et : St), z(I, $, v, A, v, "ishikawa-sub-branch", u), u && K(I, $, v, 1, 0, u), Z(I, r.text, A, v, "ishikawa-label align", "end", p);
511
+ } else {
512
+ const C = w.childrenDrawn++;
513
+ $ = rt(w.x0, w.x1, (w.childCount - C) / (w.childCount + 1)), L = w.y0, A = $ + s * ((v - L) / i), z(I, $, L, A, v, "ishikawa-sub-branch", u), u && K(I, $, L, $ - A, L - v, u), Z(I, r.text, A, v, h, "end", p);
514
+ }
515
+ r.childCount > 0 && e.set(f, {
516
+ x0: $,
517
+ y0: L,
518
+ x1: A,
519
+ y1: v,
520
+ childCount: r.childCount,
521
+ childrenDrawn: 0
522
+ });
523
+ }
524
+ }, "drawBranch"), Pt = /* @__PURE__ */ l((t) => t.split(/<br\s*\/?>|\n/), "splitLines"), ht = /* @__PURE__ */ l((t, d) => {
525
+ if (t.length <= d)
526
+ return t;
527
+ const n = [];
528
+ for (const a of t.split(/\s+/)) {
529
+ const o = n.length - 1;
530
+ o >= 0 && n[o].length + 1 + a.length <= d ? n[o] += " " + a : n.push(a);
531
+ }
532
+ return n.join(`
533
+ `);
534
+ }, "wrapText"), Z = /* @__PURE__ */ l((t, d, n, a, o, y, p) => {
535
+ const u = Pt(d), m = p * 1.05, c = t.append("text").attr("class", o).attr("text-anchor", y).attr("x", n).attr("y", a - (u.length - 1) * m / 2);
536
+ for (const [k, g] of u.entries())
537
+ c.append("tspan").attr("x", n).attr("dy", k === 0 ? 0 : m).text(g);
538
+ return c;
539
+ }, "drawMultilineText"), rt = /* @__PURE__ */ l((t, d, n) => t + (d - t) * n, "lerp"), z = /* @__PURE__ */ l((t, d, n, a, o, y, p) => {
540
+ if (p) {
541
+ const u = p.roughSvg.line(d, n, a, o, {
542
+ roughness: 1.5,
543
+ seed: p.seed,
544
+ stroke: p.lineColor,
545
+ strokeWidth: 2
546
+ });
547
+ t.append(() => u).attr("class", y);
548
+ return;
549
+ }
550
+ return t.append("line").attr("class", y).attr("x1", d).attr("y1", n).attr("x2", a).attr("y2", o);
551
+ }, "drawLine"), Bt = { draw: At }, Nt = /* @__PURE__ */ l((t) => `
552
+ .ishikawa .ishikawa-spine,
553
+ .ishikawa .ishikawa-branch,
554
+ .ishikawa .ishikawa-sub-branch {
555
+ stroke: ${t.lineColor};
556
+ stroke-width: 2;
557
+ fill: none;
558
+ }
559
+
560
+ .ishikawa .ishikawa-sub-branch {
561
+ stroke-width: 1;
562
+ }
563
+
564
+ .ishikawa .ishikawa-arrow {
565
+ fill: ${t.lineColor};
566
+ }
567
+
568
+ .ishikawa .ishikawa-head {
569
+ fill: ${t.mainBkg};
570
+ stroke: ${t.lineColor};
571
+ stroke-width: 2;
572
+ }
573
+
574
+ .ishikawa .ishikawa-label-box {
575
+ fill: ${t.mainBkg};
576
+ stroke: ${t.lineColor};
577
+ stroke-width: 2;
578
+ }
579
+
580
+ .ishikawa text {
581
+ font-family: ${t.fontFamily};
582
+ font-size: ${t.fontSize};
583
+ fill: ${t.textColor};
584
+ }
585
+
586
+ .ishikawa .ishikawa-head-label {
587
+ font-weight: 600;
588
+ text-anchor: middle;
589
+ dominant-baseline: middle;
590
+ font-size: 14px;
591
+ }
592
+
593
+ .ishikawa .ishikawa-label {
594
+ text-anchor: end;
595
+ }
596
+
597
+ .ishikawa .ishikawa-label.cause {
598
+ text-anchor: middle;
599
+ dominant-baseline: middle;
600
+ }
601
+
602
+ .ishikawa .ishikawa-label.align {
603
+ text-anchor: end;
604
+ dominant-baseline: middle;
605
+ }
606
+
607
+ .ishikawa .ishikawa-label.up {
608
+ dominant-baseline: baseline;
609
+ }
610
+
611
+ .ishikawa .ishikawa-label.down {
612
+ dominant-baseline: hanging;
613
+ }
614
+ `, "getStyles"), Dt = Nt, Ct = {
615
+ parser: bt,
616
+ get db() {
617
+ return new xt();
618
+ },
619
+ renderer: Bt,
620
+ styles: Dt
621
+ };
622
+ export {
623
+ Ct as diagram
624
+ };
@@ -1,7 +1,7 @@
1
- import { g as gt } from "./chunk-5VM5RSS4-DO2g-xIj.js";
2
- import { a as mt, g as lt, h as xt, d as kt } from "./chunk-32BRIVSS-IYmNSvH8.js";
3
- import { g as _t, s as vt, a as bt, b as wt, p as Tt, o as St, _ as s, c as R, d as X, e as $t, q as Mt } from "./index-JkCQXUYs.js";
4
- import { d as it } from "./arc-B652oHQ-.js";
1
+ import { g as gt } from "./chunk-5VM5RSS4-xd6XuI9Q.js";
2
+ import { a as mt, g as lt, h as xt, d as kt } from "./chunk-32BRIVSS-DvywQiCk.js";
3
+ import { g as _t, s as vt, a as bt, b as wt, p as Tt, o as St, _ as s, c as R, d as X, e as $t, q as Mt } from "./index-B0neMIbR.js";
4
+ import { d as it } from "./arc-QOMNKQA5.js";
5
5
  var U = (function() {
6
6
  var t = /* @__PURE__ */ s(function(h, r, n, l) {
7
7
  for (n = n || {}, l = h.length; l--; n[h[l]] = r) ;