@belonguniverseai/react-sdk 0.6.2 → 0.6.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.
Files changed (81) hide show
  1. package/dist/api/agent-grants.d.ts +23 -8
  2. package/dist/api/client.d.ts +53 -4
  3. package/dist/api/queries.d.ts +2 -0
  4. package/dist/app/call-summary.d.ts +30 -0
  5. package/dist/component/abnfDiagram-N423BO3Z-DR3fMT7g.js +90 -0
  6. package/dist/component/arc-DJkYOSuJ.js +86 -0
  7. package/dist/component/{architectureDiagram-3BPJPVTR-DYcaPx2M.js → architectureDiagram-T3A2C74G-BIp4IBPk.js} +1872 -1785
  8. package/dist/component/{blockDiagram-GPEHLZMM-BdjruLO5.js → blockDiagram-VBNYF7ZC-BqryGqC6.js} +895 -894
  9. package/dist/component/{c4Diagram-AAUBKEIU-Bd2ebSgB.js → c4Diagram-5PPSVZJV-GktlF-Di.js} +3 -3
  10. package/dist/component/{channel-CYFijF_t.js → channel-3CusDaXb.js} +2 -2
  11. package/dist/component/{chunk-ND2GUHAM-OX1-DIU1.js → chunk-2GRJ4B5K-DMTs6j_c.js} +5 -5
  12. package/dist/component/{chunk-QZHKN3VN-DLQ8oUCc.js → chunk-2Q5K7J3B-CIU34hPH.js} +2 -2
  13. package/dist/component/{chunk-AQP2D5EJ-D4G4syYu.js → chunk-5RXB4S5H-Ds3vF1Mv.js} +399 -378
  14. package/dist/component/{chunk-FMBD7UC4-CbRxWx_A.js → chunk-5VM5RSS4-DGxDkIm6.js} +2 -2
  15. package/dist/component/chunk-6Q2QTUOP-BI8oZt98.js +673 -0
  16. package/dist/component/{chunk-727SXJPM-A5r5oL1_.js → chunk-GF5L2VYU-D-36xUd5.js} +244 -239
  17. package/dist/component/{chunk-4BX2VUAB-DVpS0I_p.js → chunk-JWPE2WC7-8N_wQ762.js} +2 -2
  18. package/dist/component/{chunk-2J33WTMH-B06Y_xVy.js → chunk-KBJHAD2P-ChxxpkWc.js} +2 -2
  19. package/dist/component/chunk-RYQCIY6F-CSY-95OP.js +316 -0
  20. package/dist/component/{chunk-55IACEB6-DmZctFkK.js → chunk-XXDRQBXY-BQd9yyE1.js} +2 -2
  21. package/dist/component/{classDiagram-4FO5ZUOK-4S9mdFC1.js → classDiagram-JCYQIIEL-BOq63iUL.js} +3 -3
  22. package/dist/component/{classDiagram-v2-Q7XG4LA2-4S9mdFC1.js → classDiagram-v2-OCEON4UE-BOq63iUL.js} +3 -3
  23. package/dist/component/{cose-bilkent-S5V4N54A-BIrVaakt.js → cose-bilkent-JH36ORCC-B9x8cp5w.js} +2 -2
  24. package/dist/component/{wardley-L42UT6IY-HA1eSIS_.js → cynefin-VYW2F7L2-DAyxamLw.js} +9199 -7918
  25. package/dist/component/cynefinDiagram-MW4NZA55-OF6l99SS.js +302 -0
  26. package/dist/component/dagre-VZM6K2ZE-CELO1hFb.js +343 -0
  27. package/dist/component/diagram-7IWD3JNH-COzvm6E2.js +353 -0
  28. package/dist/component/{diagram-KO2AKTUF-Da1E68Eo.js → diagram-B4RE2ZJO-DR9KMRGw.js} +24 -24
  29. package/dist/component/{diagram-LMA3HP47-dRbk5sBa.js → diagram-LBJQPF4R-D47Zqm-k.js} +23 -23
  30. package/dist/component/{diagram-OG6HWLK6-CcKT8mhn.js → diagram-Q27KOJAE-Key1bw_Y.js} +197 -197
  31. package/dist/component/diagram-UB23O5K3-Cxf-sZnK.js +222 -0
  32. package/dist/component/ebnfDiagram-BXEA7PRR-C8uURt_x.js +112 -0
  33. package/dist/component/{erDiagram-TEJ5UH35-3ATYT9J-.js → erDiagram-JOGREHBK-CpCxe8Ib.js} +142 -131
  34. package/dist/component/{flowDiagram-I6XJVG4X-D9PLm9Od.js → flowDiagram-UKHOOZJN-urFG2I71.js} +268 -258
  35. package/dist/component/ganttDiagram-PKOTCBZU-8nA9faYf.js +2714 -0
  36. package/dist/component/{gitGraphDiagram-PVQCEYII-13gVhAGc.js → gitGraphDiagram-DS77QQ5N-u4cbNW8o.js} +33 -33
  37. package/dist/component/{graph-BZLHvygk.js → graph-CWpEkm4G.js} +35 -35
  38. package/dist/component/{highlighted-body-OFNGDK62-DCxRI4UV.js → highlighted-body-OFNGDK62-Bo-15uvJ.js} +2 -2
  39. package/dist/component/index.js +2 -2
  40. package/dist/component/{infoDiagram-5YYISTIA-DymxA7AN.js → infoDiagram-6WML65LV-ZAv4gZpA.js} +4 -4
  41. package/dist/component/{ishikawaDiagram-YF4QCWOH-C3sTn76C.js → ishikawaDiagram-WSZJBQD7-CvB6evSz.js} +27 -27
  42. package/dist/component/{journeyDiagram-JHISSGLW-Cq0hOAfJ.js → journeyDiagram-NVQOT4AX-M5BRYuPr.js} +5 -5
  43. package/dist/component/{kanban-definition-UN3LZRKU-5tBWjkp7.js → kanban-definition-27J2QSJJ-LL6GkmVe.js} +35 -35
  44. package/dist/component/layout-Br2UjHRU.js +1522 -0
  45. package/dist/component/{linear-BT4blD8s.js → linear-DVg61V66.js} +13 -13
  46. package/dist/component/map-CdwokNh2.js +227 -0
  47. package/dist/component/{mermaid-GHXKKRXX-DXPXjnb7.js → mermaid-GHXKKRXX-C2L7fCIM.js} +29577 -29128
  48. package/dist/component/{mindmap-definition-RKZ34NQL-DO-OuAQQ.js → mindmap-definition-FAOFIHXS-BBZzsLh7.js} +26 -26
  49. package/dist/component/pegDiagram-VL7TDLO6-BEG86cY8.js +98 -0
  50. package/dist/component/pieDiagram-7S7Q4E2Y-BTkrNjAi.js +210 -0
  51. package/dist/component/{quadrantDiagram-W4KKPZXB-CaJWg9ep.js → quadrantDiagram-CIZ2JOQS-BsjBAd4w.js} +14 -15
  52. package/dist/component/railroadDiagram-AXF67PYL-DuE0ZFxj.js +80 -0
  53. package/dist/component/{requirementDiagram-4Y6WPE33-CmZrtZqe.js → requirementDiagram-LRYGKXZP-CcshEEMy.js} +15 -15
  54. package/dist/component/{sankeyDiagram-5OEKKPKP-Cp95M1aj.js → sankeyDiagram-W5VNT64P-CFn011ig.js} +2 -2
  55. package/dist/component/{sequenceDiagram-3UESZ5HK-C0x0WvhR.js → sequenceDiagram-SI44F4Z6-DmMZNJDw.js} +960 -963
  56. package/dist/component/sizeCapture-X5ZJPWSS-Ce4PhIAO.js +49 -0
  57. package/dist/component/{stateDiagram-AJRCARHV-H10vaGL3.js → stateDiagram-OKZ733FA-DDVzQKaO.js} +5 -5
  58. package/dist/component/{stateDiagram-v2-BHNVJYJU-rj7ljkc-.js → stateDiagram-v2-UEYNNEHI-DeeW8PDA.js} +3 -3
  59. package/dist/component/swimlanes-SLNWSIFB-CZh2_vzg.js +5335 -0
  60. package/dist/component/swimlanesDiagram-ULZ7WXOC-Wb0Ri7qR.js +16 -0
  61. package/dist/component/{timeline-definition-PNZ67QCA-Cil1QaqZ.js → timeline-definition-Z64GVDOM-rfiLwdTR.js} +15 -15
  62. package/dist/component/vennDiagram-T6HMQDX7-D8l7hqNb.js +1581 -0
  63. package/dist/component/{wardleyDiagram-YWT4CUSO-Xq5Hnmio.js → wardleyDiagram-T6FBY63Y-7YqmpmtC.js} +15 -15
  64. package/dist/component/{xychartDiagram-2RQKCTM6-dinwR4Zm.js → xychartDiagram-ELKLHX3M-Dx2ECqt8.js} +464 -418
  65. package/dist/embed/voice/line-slots.d.ts +37 -2
  66. package/dist/embed/voice-call.d.ts +12 -0
  67. package/dist/i18n/messages/en.d.ts +1 -2
  68. package/dist/lib/web-storage.d.ts +8 -0
  69. package/dist/stream/belong-chat-transport.d.ts +1 -0
  70. package/dist/stream/belong-data-parts.d.ts +2 -0
  71. package/dist/stream/stream-state-store.d.ts +13 -0
  72. package/dist/types/public.d.ts +3 -0
  73. package/package.json +1 -1
  74. package/dist/component/arc-TLcl3N8_.js +0 -86
  75. package/dist/component/dagre-BM42HDAG-BoPUzTvD.js +0 -448
  76. package/dist/component/diagram-2AECGRRQ-PIXCGxIt.js +0 -220
  77. package/dist/component/diagram-5GNKFQAL-CbJxbGBh.js +0 -126
  78. package/dist/component/ganttDiagram-6RSMTGT7-F_XUzD1p.js +0 -2709
  79. package/dist/component/layout-Bu6nRdWm.js +0 -1731
  80. package/dist/component/pieDiagram-4H26LBE5-BkEktPwZ.js +0 -166
  81. package/dist/component/vennDiagram-CIIHVFJN-Dk8PKmfb.js +0 -1560
@@ -1,21 +1,21 @@
1
- import { g as Mt } from "./chunk-55IACEB6-DmZctFkK.js";
2
- import { s as Bt } from "./chunk-2J33WTMH-B06Y_xVy.js";
3
- import { _ as l, b as Ft, a as Yt, s as Pt, g as zt, q as Gt, t as Kt, c as it, l as V, B as Ut, y as Zt, D as jt, F as Wt, p as Qt, r as Xt, d as Ht, u as qt } from "./mermaid-GHXKKRXX-DXPXjnb7.js";
4
- import { c as Jt } from "./channel-CYFijF_t.js";
1
+ import { g as Mt } from "./chunk-XXDRQBXY-BQd9yyE1.js";
2
+ import { s as Bt } from "./chunk-KBJHAD2P-ChxxpkWc.js";
3
+ import { _ as l, b as Ft, a as Yt, s as Pt, g as zt, o as Gt, p as Kt, c as it, l as V, q as Ut, r as Zt, t as jt, u as Wt, v as qt, x as Qt, d as Xt, y as Ht } from "./mermaid-GHXKKRXX-C2L7fCIM.js";
4
+ import { c as Jt } from "./channel-3CusDaXb.js";
5
5
  globalThis.process = globalThis.process || { env: {} };
6
6
  globalThis.global = globalThis.global || globalThis;
7
7
  var gt = (function() {
8
- var e = /* @__PURE__ */ l(function(I, n, o, c) {
9
- for (o = o || {}, c = I.length; c--; o[I[c]] = n) ;
10
- return o;
11
- }, "o"), i = [6, 8, 10, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 43, 44, 48, 50, 51, 52], h = [1, 10], a = [1, 11], u = [1, 12], d = [1, 13], y = [1, 23], f = [1, 24], m = [1, 25], j = [1, 26], W = [1, 27], T = [1, 19], Q = [1, 28], M = [1, 29], D = [1, 20], R = [1, 18], S = [1, 21], C = [1, 22], nt = [1, 36], at = [1, 37], ot = [1, 38], ct = [1, 39], lt = [1, 40], B = [6, 8, 10, 13, 15, 17, 20, 21, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 43, 44, 48, 50, 51, 52, 65, 66, 67, 68, 69], O = [1, 45], N = [1, 46], F = [1, 55], Y = [40, 48, 50, 51, 52, 70, 71], P = [1, 66], z = [1, 64], A = [1, 61], G = [1, 65], K = [1, 67], X = [6, 8, 10, 13, 17, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 41, 42, 43, 44, 48, 49, 50, 51, 52, 65, 66, 67, 68, 69], _t = [65, 66, 67, 68, 69], bt = [1, 84], kt = [1, 83], mt = [1, 81], Et = [1, 82], Tt = [6, 10, 42, 47], L = [6, 10, 13, 41, 42, 47, 48, 49], H = [1, 92], q = [1, 91], J = [1, 90], U = [19, 58], St = [1, 101], Ot = [1, 100], ht = [19, 58, 60, 62], ut = {
8
+ var e = /* @__PURE__ */ l(function(I, n, c, o) {
9
+ for (c = c || {}, o = I.length; o--; c[I[o]] = n) ;
10
+ return c;
11
+ }, "o"), i = [6, 8, 10, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 43, 44, 48, 50, 51, 52], h = [1, 10], a = [1, 11], u = [1, 12], d = [1, 13], y = [1, 23], f = [1, 24], m = [1, 25], j = [1, 26], W = [1, 27], T = [1, 19], q = [1, 28], M = [1, 29], D = [1, 20], R = [1, 18], S = [1, 21], C = [1, 22], nt = [1, 36], at = [1, 37], ct = [1, 38], ot = [1, 39], lt = [1, 40], B = [6, 8, 10, 13, 15, 17, 20, 21, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 43, 44, 48, 50, 51, 52, 66, 67, 68, 69, 70], O = [1, 45], N = [1, 46], F = [1, 55], Y = [40, 48, 50, 51, 52, 71, 72], P = [1, 66], z = [1, 64], A = [1, 61], G = [1, 65], K = [1, 67], Q = [6, 8, 10, 13, 17, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 41, 42, 43, 44, 48, 49, 50, 51, 52, 66, 67, 68, 69, 70], _t = [66, 67, 68, 69, 70], bt = [1, 85], kt = [1, 84], mt = [1, 82], Et = [1, 83], Tt = [6, 10, 42, 47], L = [6, 10, 13, 41, 42, 47, 48, 49], X = [1, 93], H = [1, 92], J = [1, 91], U = [19, 58], St = [1, 102], Ot = [1, 101], ht = [19, 58, 61, 63], ut = {
12
12
  trace: /* @__PURE__ */ l(function() {
13
13
  }, "trace"),
14
14
  yy: {},
15
- symbols_: { error: 2, start: 3, ER_DIAGRAM: 4, document: 5, EOF: 6, line: 7, SPACE: 8, statement: 9, NEWLINE: 10, entityName: 11, relSpec: 12, COLON: 13, role: 14, STYLE_SEPARATOR: 15, idList: 16, BLOCK_START: 17, attributes: 18, BLOCK_STOP: 19, SQS: 20, SQE: 21, title: 22, title_value: 23, acc_title: 24, acc_title_value: 25, acc_descr: 26, acc_descr_value: 27, acc_descr_multiline_value: 28, direction: 29, classDefStatement: 30, classStatement: 31, styleStatement: 32, direction_tb: 33, direction_bt: 34, direction_rl: 35, direction_lr: 36, CLASSDEF: 37, stylesOpt: 38, separator: 39, UNICODE_TEXT: 40, STYLE_TEXT: 41, COMMA: 42, CLASS: 43, STYLE: 44, style: 45, styleComponent: 46, SEMI: 47, NUM: 48, BRKT: 49, ENTITY_NAME: 50, DECIMAL_NUM: 51, ENTITY_ONE: 52, attribute: 53, attributeType: 54, attributeName: 55, attributeKeyTypeList: 56, attributeComment: 57, ATTRIBUTE_WORD: 58, attributeKeyType: 59, ",": 60, ATTRIBUTE_KEY: 61, COMMENT: 62, cardinality: 63, relType: 64, ZERO_OR_ONE: 65, ZERO_OR_MORE: 66, ONE_OR_MORE: 67, ONLY_ONE: 68, MD_PARENT: 69, NON_IDENTIFYING: 70, IDENTIFYING: 71, WORD: 72, $accept: 0, $end: 1 },
16
- terminals_: { 2: "error", 4: "ER_DIAGRAM", 6: "EOF", 8: "SPACE", 10: "NEWLINE", 13: "COLON", 15: "STYLE_SEPARATOR", 17: "BLOCK_START", 19: "BLOCK_STOP", 20: "SQS", 21: "SQE", 22: "title", 23: "title_value", 24: "acc_title", 25: "acc_title_value", 26: "acc_descr", 27: "acc_descr_value", 28: "acc_descr_multiline_value", 33: "direction_tb", 34: "direction_bt", 35: "direction_rl", 36: "direction_lr", 37: "CLASSDEF", 40: "UNICODE_TEXT", 41: "STYLE_TEXT", 42: "COMMA", 43: "CLASS", 44: "STYLE", 47: "SEMI", 48: "NUM", 49: "BRKT", 50: "ENTITY_NAME", 51: "DECIMAL_NUM", 52: "ENTITY_ONE", 58: "ATTRIBUTE_WORD", 60: ",", 61: "ATTRIBUTE_KEY", 62: "COMMENT", 65: "ZERO_OR_ONE", 66: "ZERO_OR_MORE", 67: "ONE_OR_MORE", 68: "ONLY_ONE", 69: "MD_PARENT", 70: "NON_IDENTIFYING", 71: "IDENTIFYING", 72: "WORD" },
17
- productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [9, 5], [9, 9], [9, 7], [9, 7], [9, 4], [9, 6], [9, 3], [9, 5], [9, 1], [9, 3], [9, 7], [9, 9], [9, 6], [9, 8], [9, 4], [9, 6], [9, 2], [9, 2], [9, 2], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [29, 1], [29, 1], [29, 1], [29, 1], [30, 4], [16, 1], [16, 1], [16, 3], [16, 3], [31, 3], [32, 4], [38, 1], [38, 3], [45, 1], [45, 2], [39, 1], [39, 1], [39, 1], [46, 1], [46, 1], [46, 1], [46, 1], [11, 1], [11, 1], [11, 1], [11, 1], [11, 1], [18, 1], [18, 2], [53, 2], [53, 3], [53, 3], [53, 4], [54, 1], [55, 1], [56, 1], [56, 3], [59, 1], [57, 1], [12, 3], [63, 1], [63, 1], [63, 1], [63, 1], [63, 1], [64, 1], [64, 1], [14, 1], [14, 1], [14, 1]],
18
- performAction: /* @__PURE__ */ l(function(n, o, c, r, p, t, Z) {
15
+ symbols_: { error: 2, start: 3, ER_DIAGRAM: 4, document: 5, EOF: 6, line: 7, SPACE: 8, statement: 9, NEWLINE: 10, entityName: 11, relSpec: 12, COLON: 13, role: 14, STYLE_SEPARATOR: 15, idList: 16, BLOCK_START: 17, attributes: 18, BLOCK_STOP: 19, SQS: 20, SQE: 21, title: 22, title_value: 23, acc_title: 24, acc_title_value: 25, acc_descr: 26, acc_descr_value: 27, acc_descr_multiline_value: 28, direction: 29, classDefStatement: 30, classStatement: 31, styleStatement: 32, direction_tb: 33, direction_bt: 34, direction_rl: 35, direction_lr: 36, CLASSDEF: 37, stylesOpt: 38, separator: 39, UNICODE_TEXT: 40, STYLE_TEXT: 41, COMMA: 42, CLASS: 43, STYLE: 44, style: 45, styleComponent: 46, SEMI: 47, NUM: 48, BRKT: 49, ENTITY_NAME: 50, DECIMAL_NUM: 51, ENTITY_ONE: 52, attribute: 53, attributeType: 54, attributeName: 55, attributeKeyTypeList: 56, attributeComment: 57, ATTRIBUTE_WORD: 58, "?": 59, attributeKeyType: 60, ",": 61, ATTRIBUTE_KEY: 62, COMMENT: 63, cardinality: 64, relType: 65, ZERO_OR_ONE: 66, ZERO_OR_MORE: 67, ONE_OR_MORE: 68, ONLY_ONE: 69, MD_PARENT: 70, NON_IDENTIFYING: 71, IDENTIFYING: 72, WORD: 73, $accept: 0, $end: 1 },
16
+ terminals_: { 2: "error", 4: "ER_DIAGRAM", 6: "EOF", 8: "SPACE", 10: "NEWLINE", 13: "COLON", 15: "STYLE_SEPARATOR", 17: "BLOCK_START", 19: "BLOCK_STOP", 20: "SQS", 21: "SQE", 22: "title", 23: "title_value", 24: "acc_title", 25: "acc_title_value", 26: "acc_descr", 27: "acc_descr_value", 28: "acc_descr_multiline_value", 33: "direction_tb", 34: "direction_bt", 35: "direction_rl", 36: "direction_lr", 37: "CLASSDEF", 40: "UNICODE_TEXT", 41: "STYLE_TEXT", 42: "COMMA", 43: "CLASS", 44: "STYLE", 47: "SEMI", 48: "NUM", 49: "BRKT", 50: "ENTITY_NAME", 51: "DECIMAL_NUM", 52: "ENTITY_ONE", 58: "ATTRIBUTE_WORD", 59: "?", 61: ",", 62: "ATTRIBUTE_KEY", 63: "COMMENT", 66: "ZERO_OR_ONE", 67: "ZERO_OR_MORE", 68: "ONE_OR_MORE", 69: "ONLY_ONE", 70: "MD_PARENT", 71: "NON_IDENTIFYING", 72: "IDENTIFYING", 73: "WORD" },
17
+ productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [9, 5], [9, 9], [9, 7], [9, 7], [9, 4], [9, 6], [9, 3], [9, 5], [9, 1], [9, 3], [9, 7], [9, 9], [9, 6], [9, 8], [9, 4], [9, 6], [9, 2], [9, 2], [9, 2], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [29, 1], [29, 1], [29, 1], [29, 1], [30, 4], [16, 1], [16, 1], [16, 3], [16, 3], [31, 3], [32, 4], [38, 1], [38, 3], [45, 1], [45, 2], [39, 1], [39, 1], [39, 1], [46, 1], [46, 1], [46, 1], [46, 1], [11, 1], [11, 1], [11, 1], [11, 1], [11, 1], [18, 1], [18, 2], [53, 2], [53, 3], [53, 3], [53, 4], [54, 1], [54, 2], [55, 1], [56, 1], [56, 3], [60, 1], [57, 1], [12, 3], [64, 1], [64, 1], [64, 1], [64, 1], [64, 1], [65, 1], [65, 1], [14, 1], [14, 1], [14, 1]],
18
+ performAction: /* @__PURE__ */ l(function(n, c, o, r, p, t, Z) {
19
19
  var s = t.length - 1;
20
20
  switch (p) {
21
21
  case 1:
@@ -108,7 +108,7 @@ var gt = (function() {
108
108
  case 37:
109
109
  case 38:
110
110
  case 59:
111
- case 67:
111
+ case 68:
112
112
  this.$ = [t[s]];
113
113
  break;
114
114
  case 39:
@@ -131,15 +131,15 @@ var gt = (function() {
131
131
  this.$ = t[s - 1] + t[s];
132
132
  break;
133
133
  case 54:
134
- case 79:
135
134
  case 80:
135
+ case 81:
136
136
  this.$ = t[s].replace(/"/g, "");
137
137
  break;
138
138
  case 55:
139
139
  case 56:
140
140
  case 57:
141
141
  case 58:
142
- case 81:
142
+ case 82:
143
143
  this.$ = t[s];
144
144
  break;
145
145
  case 60:
@@ -158,54 +158,57 @@ var gt = (function() {
158
158
  this.$ = { type: t[s - 3], name: t[s - 2], keys: t[s - 1], comment: t[s] };
159
159
  break;
160
160
  case 65:
161
- case 66:
162
- case 69:
161
+ case 67:
162
+ case 70:
163
163
  this.$ = t[s];
164
164
  break;
165
- case 68:
165
+ case 66:
166
+ this.$ = t[s - 1] + t[s];
167
+ break;
168
+ case 69:
166
169
  t[s - 2].push(t[s]), this.$ = t[s - 2];
167
170
  break;
168
- case 70:
171
+ case 71:
169
172
  this.$ = t[s].replace(/"/g, "");
170
173
  break;
171
- case 71:
174
+ case 72:
172
175
  this.$ = { cardA: t[s], relType: t[s - 1], cardB: t[s - 2] };
173
176
  break;
174
- case 72:
177
+ case 73:
175
178
  this.$ = r.Cardinality.ZERO_OR_ONE;
176
179
  break;
177
- case 73:
180
+ case 74:
178
181
  this.$ = r.Cardinality.ZERO_OR_MORE;
179
182
  break;
180
- case 74:
183
+ case 75:
181
184
  this.$ = r.Cardinality.ONE_OR_MORE;
182
185
  break;
183
- case 75:
186
+ case 76:
184
187
  this.$ = r.Cardinality.ONLY_ONE;
185
188
  break;
186
- case 76:
189
+ case 77:
187
190
  this.$ = r.Cardinality.MD_PARENT;
188
191
  break;
189
- case 77:
192
+ case 78:
190
193
  this.$ = r.Identification.NON_IDENTIFYING;
191
194
  break;
192
- case 78:
195
+ case 79:
193
196
  this.$ = r.Identification.IDENTIFYING;
194
197
  break;
195
198
  }
196
199
  }, "anonymous"),
197
- table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, e(i, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 9, 22: h, 24: a, 26: u, 28: d, 29: 14, 30: 15, 31: 16, 32: 17, 33: y, 34: f, 35: m, 36: j, 37: W, 40: T, 43: Q, 44: M, 48: D, 50: R, 51: S, 52: C }, e(i, [2, 7], { 1: [2, 1] }), e(i, [2, 3]), { 9: 30, 11: 9, 22: h, 24: a, 26: u, 28: d, 29: 14, 30: 15, 31: 16, 32: 17, 33: y, 34: f, 35: m, 36: j, 37: W, 40: T, 43: Q, 44: M, 48: D, 50: R, 51: S, 52: C }, e(i, [2, 5]), e(i, [2, 6]), e(i, [2, 16], { 12: 31, 63: 35, 15: [1, 32], 17: [1, 33], 20: [1, 34], 65: nt, 66: at, 67: ot, 68: ct, 69: lt }), { 23: [1, 41] }, { 25: [1, 42] }, { 27: [1, 43] }, e(i, [2, 27]), e(i, [2, 28]), e(i, [2, 29]), e(i, [2, 30]), e(i, [2, 31]), e(B, [2, 54]), e(B, [2, 55]), e(B, [2, 56]), e(B, [2, 57]), e(B, [2, 58]), e(i, [2, 32]), e(i, [2, 33]), e(i, [2, 34]), e(i, [2, 35]), { 16: 44, 40: O, 41: N }, { 16: 47, 40: O, 41: N }, { 16: 48, 40: O, 41: N }, e(i, [2, 4]), { 11: 49, 40: T, 48: D, 50: R, 51: S, 52: C }, { 16: 50, 40: O, 41: N }, { 18: 51, 19: [1, 52], 53: 53, 54: 54, 58: F }, { 11: 56, 40: T, 48: D, 50: R, 51: S, 52: C }, { 64: 57, 70: [1, 58], 71: [1, 59] }, e(Y, [2, 72]), e(Y, [2, 73]), e(Y, [2, 74]), e(Y, [2, 75]), e(Y, [2, 76]), e(i, [2, 24]), e(i, [2, 25]), e(i, [2, 26]), { 13: P, 38: 60, 41: z, 42: A, 45: 62, 46: 63, 48: G, 49: K }, e(X, [2, 37]), e(X, [2, 38]), { 16: 68, 40: O, 41: N, 42: A }, { 13: P, 38: 69, 41: z, 42: A, 45: 62, 46: 63, 48: G, 49: K }, { 13: [1, 70], 15: [1, 71] }, e(i, [2, 17], { 63: 35, 12: 72, 17: [1, 73], 42: A, 65: nt, 66: at, 67: ot, 68: ct, 69: lt }), { 19: [1, 74] }, e(i, [2, 14]), { 18: 75, 19: [2, 59], 53: 53, 54: 54, 58: F }, { 55: 76, 58: [1, 77] }, { 58: [2, 65] }, { 21: [1, 78] }, { 63: 79, 65: nt, 66: at, 67: ot, 68: ct, 69: lt }, e(_t, [2, 77]), e(_t, [2, 78]), { 6: bt, 10: kt, 39: 80, 42: mt, 47: Et }, { 40: [1, 85], 41: [1, 86] }, e(Tt, [2, 43], { 46: 87, 13: P, 41: z, 48: G, 49: K }), e(L, [2, 45]), e(L, [2, 50]), e(L, [2, 51]), e(L, [2, 52]), e(L, [2, 53]), e(i, [2, 41], { 42: A }), { 6: bt, 10: kt, 39: 88, 42: mt, 47: Et }, { 14: 89, 40: H, 50: q, 72: J }, { 16: 93, 40: O, 41: N }, { 11: 94, 40: T, 48: D, 50: R, 51: S, 52: C }, { 18: 95, 19: [1, 96], 53: 53, 54: 54, 58: F }, e(i, [2, 12]), { 19: [2, 60] }, e(U, [2, 61], { 56: 97, 57: 98, 59: 99, 61: St, 62: Ot }), e([19, 58, 61, 62], [2, 66]), e(i, [2, 22], { 15: [1, 103], 17: [1, 102] }), e([40, 48, 50, 51, 52], [2, 71]), e(i, [2, 36]), { 13: P, 41: z, 45: 104, 46: 63, 48: G, 49: K }, e(i, [2, 47]), e(i, [2, 48]), e(i, [2, 49]), e(X, [2, 39]), e(X, [2, 40]), e(L, [2, 46]), e(i, [2, 42]), e(i, [2, 8]), e(i, [2, 79]), e(i, [2, 80]), e(i, [2, 81]), { 13: [1, 105], 42: A }, { 13: [1, 107], 15: [1, 106] }, { 19: [1, 108] }, e(i, [2, 15]), e(U, [2, 62], { 57: 109, 60: [1, 110], 62: Ot }), e(U, [2, 63]), e(ht, [2, 67]), e(U, [2, 70]), e(ht, [2, 69]), { 18: 111, 19: [1, 112], 53: 53, 54: 54, 58: F }, { 16: 113, 40: O, 41: N }, e(Tt, [2, 44], { 46: 87, 13: P, 41: z, 48: G, 49: K }), { 14: 114, 40: H, 50: q, 72: J }, { 16: 115, 40: O, 41: N }, { 14: 116, 40: H, 50: q, 72: J }, e(i, [2, 13]), e(U, [2, 64]), { 59: 117, 61: St }, { 19: [1, 118] }, e(i, [2, 20]), e(i, [2, 23], { 17: [1, 119], 42: A }), e(i, [2, 11]), { 13: [1, 120], 42: A }, e(i, [2, 10]), e(ht, [2, 68]), e(i, [2, 18]), { 18: 121, 19: [1, 122], 53: 53, 54: 54, 58: F }, { 14: 123, 40: H, 50: q, 72: J }, { 19: [1, 124] }, e(i, [2, 21]), e(i, [2, 9]), e(i, [2, 19])],
198
- defaultActions: { 55: [2, 65], 75: [2, 60] },
199
- parseError: /* @__PURE__ */ l(function(n, o) {
200
- if (o.recoverable)
200
+ table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, e(i, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 9, 22: h, 24: a, 26: u, 28: d, 29: 14, 30: 15, 31: 16, 32: 17, 33: y, 34: f, 35: m, 36: j, 37: W, 40: T, 43: q, 44: M, 48: D, 50: R, 51: S, 52: C }, e(i, [2, 7], { 1: [2, 1] }), e(i, [2, 3]), { 9: 30, 11: 9, 22: h, 24: a, 26: u, 28: d, 29: 14, 30: 15, 31: 16, 32: 17, 33: y, 34: f, 35: m, 36: j, 37: W, 40: T, 43: q, 44: M, 48: D, 50: R, 51: S, 52: C }, e(i, [2, 5]), e(i, [2, 6]), e(i, [2, 16], { 12: 31, 64: 35, 15: [1, 32], 17: [1, 33], 20: [1, 34], 66: nt, 67: at, 68: ct, 69: ot, 70: lt }), { 23: [1, 41] }, { 25: [1, 42] }, { 27: [1, 43] }, e(i, [2, 27]), e(i, [2, 28]), e(i, [2, 29]), e(i, [2, 30]), e(i, [2, 31]), e(B, [2, 54]), e(B, [2, 55]), e(B, [2, 56]), e(B, [2, 57]), e(B, [2, 58]), e(i, [2, 32]), e(i, [2, 33]), e(i, [2, 34]), e(i, [2, 35]), { 16: 44, 40: O, 41: N }, { 16: 47, 40: O, 41: N }, { 16: 48, 40: O, 41: N }, e(i, [2, 4]), { 11: 49, 40: T, 48: D, 50: R, 51: S, 52: C }, { 16: 50, 40: O, 41: N }, { 18: 51, 19: [1, 52], 53: 53, 54: 54, 58: F }, { 11: 56, 40: T, 48: D, 50: R, 51: S, 52: C }, { 65: 57, 71: [1, 58], 72: [1, 59] }, e(Y, [2, 73]), e(Y, [2, 74]), e(Y, [2, 75]), e(Y, [2, 76]), e(Y, [2, 77]), e(i, [2, 24]), e(i, [2, 25]), e(i, [2, 26]), { 13: P, 38: 60, 41: z, 42: A, 45: 62, 46: 63, 48: G, 49: K }, e(Q, [2, 37]), e(Q, [2, 38]), { 16: 68, 40: O, 41: N, 42: A }, { 13: P, 38: 69, 41: z, 42: A, 45: 62, 46: 63, 48: G, 49: K }, { 13: [1, 70], 15: [1, 71] }, e(i, [2, 17], { 64: 35, 12: 72, 17: [1, 73], 42: A, 66: nt, 67: at, 68: ct, 69: ot, 70: lt }), { 19: [1, 74] }, e(i, [2, 14]), { 18: 75, 19: [2, 59], 53: 53, 54: 54, 58: F }, { 55: 76, 58: [1, 77] }, { 58: [2, 65], 59: [1, 78] }, { 21: [1, 79] }, { 64: 80, 66: nt, 67: at, 68: ct, 69: ot, 70: lt }, e(_t, [2, 78]), e(_t, [2, 79]), { 6: bt, 10: kt, 39: 81, 42: mt, 47: Et }, { 40: [1, 86], 41: [1, 87] }, e(Tt, [2, 43], { 46: 88, 13: P, 41: z, 48: G, 49: K }), e(L, [2, 45]), e(L, [2, 50]), e(L, [2, 51]), e(L, [2, 52]), e(L, [2, 53]), e(i, [2, 41], { 42: A }), { 6: bt, 10: kt, 39: 89, 42: mt, 47: Et }, { 14: 90, 40: X, 50: H, 73: J }, { 16: 94, 40: O, 41: N }, { 11: 95, 40: T, 48: D, 50: R, 51: S, 52: C }, { 18: 96, 19: [1, 97], 53: 53, 54: 54, 58: F }, e(i, [2, 12]), { 19: [2, 60] }, e(U, [2, 61], { 56: 98, 57: 99, 60: 100, 62: St, 63: Ot }), e([19, 58, 62, 63], [2, 67]), { 58: [2, 66] }, e(i, [2, 22], { 15: [1, 104], 17: [1, 103] }), e([40, 48, 50, 51, 52], [2, 72]), e(i, [2, 36]), { 13: P, 41: z, 45: 105, 46: 63, 48: G, 49: K }, e(i, [2, 47]), e(i, [2, 48]), e(i, [2, 49]), e(Q, [2, 39]), e(Q, [2, 40]), e(L, [2, 46]), e(i, [2, 42]), e(i, [2, 8]), e(i, [2, 80]), e(i, [2, 81]), e(i, [2, 82]), { 13: [1, 106], 42: A }, { 13: [1, 108], 15: [1, 107] }, { 19: [1, 109] }, e(i, [2, 15]), e(U, [2, 62], { 57: 110, 61: [1, 111], 63: Ot }), e(U, [2, 63]), e(ht, [2, 68]), e(U, [2, 71]), e(ht, [2, 70]), { 18: 112, 19: [1, 113], 53: 53, 54: 54, 58: F }, { 16: 114, 40: O, 41: N }, e(Tt, [2, 44], { 46: 88, 13: P, 41: z, 48: G, 49: K }), { 14: 115, 40: X, 50: H, 73: J }, { 16: 116, 40: O, 41: N }, { 14: 117, 40: X, 50: H, 73: J }, e(i, [2, 13]), e(U, [2, 64]), { 60: 118, 62: St }, { 19: [1, 119] }, e(i, [2, 20]), e(i, [2, 23], { 17: [1, 120], 42: A }), e(i, [2, 11]), { 13: [1, 121], 42: A }, e(i, [2, 10]), e(ht, [2, 69]), e(i, [2, 18]), { 18: 122, 19: [1, 123], 53: 53, 54: 54, 58: F }, { 14: 124, 40: X, 50: H, 73: J }, { 19: [1, 125] }, e(i, [2, 21]), e(i, [2, 9]), e(i, [2, 19])],
201
+ defaultActions: { 75: [2, 60], 78: [2, 66] },
202
+ parseError: /* @__PURE__ */ l(function(n, c) {
203
+ if (c.recoverable)
201
204
  this.trace(n);
202
205
  else {
203
- var c = new Error(n);
204
- throw c.hash = o, c;
206
+ var o = new Error(n);
207
+ throw o.hash = c, o;
205
208
  }
206
209
  }, "parseError"),
207
210
  parse: /* @__PURE__ */ l(function(n) {
208
- var o = this, c = [0], r = [], p = [null], t = [], Z = this.table, s = "", tt = 0, Nt = 0, Dt = 2, At = 1, Lt = t.slice.call(arguments, 1), g = Object.create(this.lexer), x = { yy: {} };
211
+ var c = this, o = [0], r = [], p = [null], t = [], Z = this.table, s = "", tt = 0, Nt = 0, Dt = 2, At = 1, Lt = t.slice.call(arguments, 1), g = Object.create(this.lexer), x = { yy: {} };
209
212
  for (var dt in this.yy)
210
213
  Object.prototype.hasOwnProperty.call(this.yy, dt) && (x.yy[dt] = this.yy[dt]);
211
214
  g.setInput(n, x.yy), x.yy.lexer = g, x.yy.parser = this, typeof g.yylloc > "u" && (g.yylloc = {});
@@ -214,16 +217,16 @@ var gt = (function() {
214
217
  var wt = g.options && g.options.ranges;
215
218
  typeof x.yy.parseError == "function" ? this.parseError = x.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
216
219
  function Vt(b) {
217
- c.length = c.length - 2 * b, p.length = p.length - b, t.length = t.length - b;
220
+ o.length = o.length - 2 * b, p.length = p.length - b, t.length = t.length - b;
218
221
  }
219
222
  l(Vt, "popStack");
220
223
  function It() {
221
224
  var b;
222
- return b = r.pop() || g.lex() || At, typeof b != "number" && (b instanceof Array && (r = b, b = r.pop()), b = o.symbols_[b] || b), b;
225
+ return b = r.pop() || g.lex() || At, typeof b != "number" && (b instanceof Array && (r = b, b = r.pop()), b = c.symbols_[b] || b), b;
223
226
  }
224
227
  l(It, "lex");
225
228
  for (var _, v, k, ft, w = {}, et, E, Rt, st; ; ) {
226
- if (v = c[c.length - 1], this.defaultActions[v] ? k = this.defaultActions[v] : ((_ === null || typeof _ > "u") && (_ = It()), k = Z[v] && Z[v][_]), typeof k > "u" || !k.length || !k[0]) {
229
+ if (v = o[o.length - 1], this.defaultActions[v] ? k = this.defaultActions[v] : ((_ === null || typeof _ > "u") && (_ = It()), k = Z[v] && Z[v][_]), typeof k > "u" || !k.length || !k[0]) {
227
230
  var yt = "";
228
231
  st = [];
229
232
  for (et in Z[v])
@@ -242,7 +245,7 @@ Expecting ` + st.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : yt =
242
245
  throw new Error("Parse Error: multiple actions possible at state: " + v + ", token: " + _);
243
246
  switch (k[0]) {
244
247
  case 1:
245
- c.push(_), p.push(g.yytext), t.push(g.yylloc), c.push(k[1]), _ = null, Nt = g.yyleng, s = g.yytext, tt = g.yylineno, pt = g.yylloc;
248
+ o.push(_), p.push(g.yytext), t.push(g.yylloc), o.push(k[1]), _ = null, Nt = g.yyleng, s = g.yytext, tt = g.yylineno, pt = g.yylloc;
246
249
  break;
247
250
  case 2:
248
251
  if (E = this.productions_[k[1]][1], w.$ = p[p.length - E], w._$ = {
@@ -263,7 +266,7 @@ Expecting ` + st.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : yt =
263
266
  t
264
267
  ].concat(Lt)), typeof ft < "u")
265
268
  return ft;
266
- E && (c = c.slice(0, -1 * E * 2), p = p.slice(0, -1 * E), t = t.slice(0, -1 * E)), c.push(this.productions_[k[1]][0]), p.push(w.$), t.push(w._$), Rt = Z[c[c.length - 2]][c[c.length - 1]], c.push(Rt);
269
+ E && (o = o.slice(0, -1 * E * 2), p = p.slice(0, -1 * E), t = t.slice(0, -1 * E)), o.push(this.productions_[k[1]][0]), p.push(w.$), t.push(w._$), Rt = Z[o[o.length - 2]][o[o.length - 1]], o.push(Rt);
267
270
  break;
268
271
  case 3:
269
272
  return !0;
@@ -274,15 +277,15 @@ Expecting ` + st.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : yt =
274
277
  }, vt = /* @__PURE__ */ (function() {
275
278
  var I = {
276
279
  EOF: 1,
277
- parseError: /* @__PURE__ */ l(function(o, c) {
280
+ parseError: /* @__PURE__ */ l(function(c, o) {
278
281
  if (this.yy.parser)
279
- this.yy.parser.parseError(o, c);
282
+ this.yy.parser.parseError(c, o);
280
283
  else
281
- throw new Error(o);
284
+ throw new Error(c);
282
285
  }, "parseError"),
283
286
  // resets the lexer, sets new input
284
- setInput: /* @__PURE__ */ l(function(n, o) {
285
- return this.yy = o || this.yy || {}, this._input = n, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
287
+ setInput: /* @__PURE__ */ l(function(n, c) {
288
+ return this.yy = c || this.yy || {}, this._input = n, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
286
289
  first_line: 1,
287
290
  first_column: 0,
288
291
  last_line: 1,
@@ -293,22 +296,22 @@ Expecting ` + st.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : yt =
293
296
  input: /* @__PURE__ */ l(function() {
294
297
  var n = this._input[0];
295
298
  this.yytext += n, this.yyleng++, this.offset++, this.match += n, this.matched += n;
296
- var o = n.match(/(?:\r\n?|\n).*/g);
297
- return o ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), n;
299
+ var c = n.match(/(?:\r\n?|\n).*/g);
300
+ return c ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), n;
298
301
  }, "input"),
299
302
  // unshifts one char (or a string) into the input
300
303
  unput: /* @__PURE__ */ l(function(n) {
301
- var o = n.length, c = n.split(/(?:\r\n?|\n)/g);
302
- this._input = n + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - o), this.offset -= o;
304
+ var c = n.length, o = n.split(/(?:\r\n?|\n)/g);
305
+ this._input = n + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - c), this.offset -= c;
303
306
  var r = this.match.split(/(?:\r\n?|\n)/g);
304
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), c.length - 1 && (this.yylineno -= c.length - 1);
307
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), o.length - 1 && (this.yylineno -= o.length - 1);
305
308
  var p = this.yylloc.range;
306
309
  return this.yylloc = {
307
310
  first_line: this.yylloc.first_line,
308
311
  last_line: this.yylineno + 1,
309
312
  first_column: this.yylloc.first_column,
310
- last_column: c ? (c.length === r.length ? this.yylloc.first_column : 0) + r[r.length - c.length].length - c[0].length : this.yylloc.first_column - o
311
- }, this.options.ranges && (this.yylloc.range = [p[0], p[0] + this.yyleng - o]), this.yyleng = this.yytext.length, this;
313
+ last_column: o ? (o.length === r.length ? this.yylloc.first_column : 0) + r[r.length - o.length].length - o[0].length : this.yylloc.first_column - c
314
+ }, this.options.ranges && (this.yylloc.range = [p[0], p[0] + this.yyleng - c]), this.yyleng = this.yytext.length, this;
312
315
  }, "unput"),
313
316
  // When called from action, caches matched text and appends it on next action
314
317
  more: /* @__PURE__ */ l(function() {
@@ -343,13 +346,13 @@ Expecting ` + st.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : yt =
343
346
  }, "upcomingInput"),
344
347
  // displays the character position where the lexing error occurred, i.e. for error messages
345
348
  showPosition: /* @__PURE__ */ l(function() {
346
- var n = this.pastInput(), o = new Array(n.length + 1).join("-");
349
+ var n = this.pastInput(), c = new Array(n.length + 1).join("-");
347
350
  return n + this.upcomingInput() + `
348
- ` + o + "^";
351
+ ` + c + "^";
349
352
  }, "showPosition"),
350
353
  // test the lexed token: return FALSE when not a match, otherwise return token
351
- test_match: /* @__PURE__ */ l(function(n, o) {
352
- var c, r, p;
354
+ test_match: /* @__PURE__ */ l(function(n, c) {
355
+ var o, r, p;
353
356
  if (this.options.backtrack_lexer && (p = {
354
357
  yylineno: this.yylineno,
355
358
  yylloc: {
@@ -374,8 +377,8 @@ Expecting ` + st.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : yt =
374
377
  last_line: this.yylineno + 1,
375
378
  first_column: this.yylloc.last_column,
376
379
  last_column: r ? r[r.length - 1].length - r[r.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + n[0].length
377
- }, this.yytext += n[0], this.match += n[0], this.matches = n, 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(n[0].length), this.matched += n[0], c = this.performAction.call(this, this.yy, this, o, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), c)
378
- return c;
380
+ }, this.yytext += n[0], this.match += n[0], this.matches = n, 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(n[0].length), this.matched += n[0], o = this.performAction.call(this, this.yy, this, c, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), o)
381
+ return o;
379
382
  if (this._backtrack) {
380
383
  for (var t in p)
381
384
  this[t] = p[t];
@@ -388,22 +391,22 @@ Expecting ` + st.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : yt =
388
391
  if (this.done)
389
392
  return this.EOF;
390
393
  this._input || (this.done = !0);
391
- var n, o, c, r;
394
+ var n, c, o, r;
392
395
  this._more || (this.yytext = "", this.match = "");
393
396
  for (var p = this._currentRules(), t = 0; t < p.length; t++)
394
- if (c = this._input.match(this.rules[p[t]]), c && (!o || c[0].length > o[0].length)) {
395
- if (o = c, r = t, this.options.backtrack_lexer) {
396
- if (n = this.test_match(c, p[t]), n !== !1)
397
+ if (o = this._input.match(this.rules[p[t]]), o && (!c || o[0].length > c[0].length)) {
398
+ if (c = o, r = t, this.options.backtrack_lexer) {
399
+ if (n = this.test_match(o, p[t]), n !== !1)
397
400
  return n;
398
401
  if (this._backtrack) {
399
- o = !1;
402
+ c = !1;
400
403
  continue;
401
404
  } else
402
405
  return !1;
403
406
  } else if (!this.options.flex)
404
407
  break;
405
408
  }
406
- return o ? (n = this.test_match(o, p[r]), n !== !1 ? n : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
409
+ return c ? (n = this.test_match(c, p[r]), n !== !1 ? n : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
407
410
  ` + this.showPosition(), {
408
411
  text: "",
409
412
  token: null,
@@ -412,36 +415,36 @@ Expecting ` + st.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : yt =
412
415
  }, "next"),
413
416
  // return next match that has a token
414
417
  lex: /* @__PURE__ */ l(function() {
415
- var o = this.next();
416
- return o || this.lex();
418
+ var c = this.next();
419
+ return c || this.lex();
417
420
  }, "lex"),
418
421
  // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
419
- begin: /* @__PURE__ */ l(function(o) {
420
- this.conditionStack.push(o);
422
+ begin: /* @__PURE__ */ l(function(c) {
423
+ this.conditionStack.push(c);
421
424
  }, "begin"),
422
425
  // pop the previously active lexer condition state off the condition stack
423
426
  popState: /* @__PURE__ */ l(function() {
424
- var o = this.conditionStack.length - 1;
425
- return o > 0 ? this.conditionStack.pop() : this.conditionStack[0];
427
+ var c = this.conditionStack.length - 1;
428
+ return c > 0 ? this.conditionStack.pop() : this.conditionStack[0];
426
429
  }, "popState"),
427
430
  // produce the lexer rule set which is active for the currently active lexer condition state
428
431
  _currentRules: /* @__PURE__ */ l(function() {
429
432
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
430
433
  }, "_currentRules"),
431
434
  // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
432
- topState: /* @__PURE__ */ l(function(o) {
433
- return o = this.conditionStack.length - 1 - Math.abs(o || 0), o >= 0 ? this.conditionStack[o] : "INITIAL";
435
+ topState: /* @__PURE__ */ l(function(c) {
436
+ return c = this.conditionStack.length - 1 - Math.abs(c || 0), c >= 0 ? this.conditionStack[c] : "INITIAL";
434
437
  }, "topState"),
435
438
  // alias for begin(condition)
436
- pushState: /* @__PURE__ */ l(function(o) {
437
- this.begin(o);
439
+ pushState: /* @__PURE__ */ l(function(c) {
440
+ this.begin(c);
438
441
  }, "pushState"),
439
442
  // return the number of states currently on the stack
440
443
  stateStackSize: /* @__PURE__ */ l(function() {
441
444
  return this.conditionStack.length;
442
445
  }, "stateStackSize"),
443
446
  options: { "case-insensitive": !0 },
444
- performAction: /* @__PURE__ */ l(function(o, c, r, p) {
447
+ performAction: /* @__PURE__ */ l(function(c, o, r, p) {
445
448
  switch (r) {
446
449
  case 0:
447
450
  return this.begin("acc_title"), 24;
@@ -476,7 +479,7 @@ Expecting ` + st.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : yt =
476
479
  case 14:
477
480
  return 50;
478
481
  case 15:
479
- return 72;
482
+ return 73;
480
483
  case 16:
481
484
  return 4;
482
485
  case 17:
@@ -494,119 +497,127 @@ Expecting ` + st.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : yt =
494
497
  case 23:
495
498
  break;
496
499
  case 24:
497
- return 61;
500
+ return 62;
498
501
  case 25:
499
502
  return 58;
500
503
  case 26:
501
504
  return 58;
502
505
  case 27:
503
- return 62;
504
- case 28:
506
+ this.begin("block_bq");
505
507
  break;
508
+ case 28:
509
+ return 58;
506
510
  case 29:
507
- return this.popState(), 19;
511
+ this.popState();
512
+ break;
508
513
  case 30:
509
- return c.yytext[0];
514
+ return 63;
510
515
  case 31:
511
- return 20;
516
+ break;
512
517
  case 32:
513
- return 21;
518
+ return this.popState(), 19;
514
519
  case 33:
515
- return this.begin("style"), 44;
520
+ return o.yytext[0];
516
521
  case 34:
517
- return this.popState(), 10;
522
+ return 20;
518
523
  case 35:
519
- break;
524
+ return 21;
520
525
  case 36:
521
- return 13;
526
+ return this.begin("style"), 44;
522
527
  case 37:
523
- return 42;
528
+ return this.popState(), 10;
524
529
  case 38:
525
- return 49;
530
+ break;
526
531
  case 39:
527
- return this.begin("style"), 37;
532
+ return 13;
528
533
  case 40:
529
- return 43;
534
+ return 42;
530
535
  case 41:
531
- return 65;
536
+ return 49;
532
537
  case 42:
533
- return 67;
538
+ return this.begin("style"), 37;
534
539
  case 43:
535
- return 67;
540
+ return 43;
536
541
  case 44:
537
- return 67;
542
+ return 66;
538
543
  case 45:
539
- return 65;
544
+ return 68;
540
545
  case 46:
541
- return 65;
546
+ return 68;
542
547
  case 47:
543
- return 66;
548
+ return 68;
544
549
  case 48:
545
550
  return 66;
546
551
  case 49:
547
552
  return 66;
548
553
  case 50:
549
- return 66;
554
+ return 67;
550
555
  case 51:
551
- return 66;
556
+ return 67;
552
557
  case 52:
553
558
  return 67;
554
559
  case 53:
555
- return 66;
560
+ return 67;
556
561
  case 54:
557
562
  return 67;
558
563
  case 55:
559
564
  return 68;
560
565
  case 56:
561
- return 68;
566
+ return 67;
562
567
  case 57:
563
- return 51;
564
- case 58:
565
568
  return 68;
569
+ case 58:
570
+ return 69;
566
571
  case 59:
567
- return 68;
572
+ return 69;
568
573
  case 60:
569
- return 68;
574
+ return 51;
570
575
  case 61:
571
- return 52;
576
+ return 69;
572
577
  case 62:
573
- return 48;
578
+ return 69;
574
579
  case 63:
575
- return 68;
580
+ return 69;
576
581
  case 64:
577
- return 65;
582
+ return 52;
578
583
  case 65:
579
- return 66;
584
+ return 48;
580
585
  case 66:
581
- return 67;
582
- case 67:
583
586
  return 69;
587
+ case 67:
588
+ return 66;
584
589
  case 68:
585
- return 70;
590
+ return 67;
586
591
  case 69:
587
- return 71;
592
+ return 68;
588
593
  case 70:
589
- return 71;
590
- case 71:
591
594
  return 70;
595
+ case 71:
596
+ return 71;
592
597
  case 72:
593
- return 70;
598
+ return 72;
594
599
  case 73:
595
- return 70;
600
+ return 72;
596
601
  case 74:
597
- return 41;
602
+ return 71;
598
603
  case 75:
599
- return 47;
604
+ return 71;
600
605
  case 76:
601
- return 40;
606
+ return 71;
602
607
  case 77:
603
- return c.yytext[0];
608
+ return 41;
604
609
  case 78:
610
+ return 47;
611
+ case 79:
612
+ return 40;
613
+ case 80:
614
+ return o.yytext[0];
615
+ case 81:
605
616
  return 6;
606
617
  }
607
618
  }, "anonymous"),
608
- rules: [/^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:.*direction\s+TB[^\n]*)/i, /^(?:.*direction\s+BT[^\n]*)/i, /^(?:.*direction\s+RL[^\n]*)/i, /^(?:.*direction\s+LR[^\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:[\s]+)/i, /^(?:"[^"%\r\n\v\b\\]+")/i, /^(?:"[^"]*")/i, /^(?:erDiagram\b)/i, /^(?:\{)/i, /^(?:#)/i, /^(?:#)/i, /^(?:,)/i, /^(?::::)/i, /^(?::)/i, /^(?:\s+)/i, /^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i, /^(?:([^\s]*)[~].*[~]([^\s]*))/i, /^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\u00C0-\uFFFF\*]*))/i, /^(?:"[^"]*")/i, /^(?:[\n]+)/i, /^(?:\})/i, /^(?:.)/i, /^(?:\[)/i, /^(?:\])/i, /^(?:style\b)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?::)/i, /^(?:,)/i, /^(?:#)/i, /^(?:classDef\b)/i, /^(?:class\b)/i, /^(?:one or zero\b)/i, /^(?:one or more\b)/i, /^(?:one or many\b)/i, /^(?:1\+)/i, /^(?:\|o\b)/i, /^(?:zero or one\b)/i, /^(?:zero or more\b)/i, /^(?:zero or many\b)/i, /^(?:0\+)/i, /^(?:\}o\b)/i, /^(?:many\(0\))/i, /^(?:many\(1\))/i, /^(?:many\b)/i, /^(?:\}\|)/i, /^(?:one\b)/i, /^(?:only one\b)/i, /^(?:[0-9]+\.[0-9]+)/i, /^(?:1(?=\s+[A-Za-z_"']))/i, /^(?:1(?=\s+[0-9]))/i, /^(?:1(?=(--|\.\.|\.-|-\.)))/i, /^(?:1\b)/i, /^(?:[0-9]+)/i, /^(?:\|\|)/i, /^(?:o\|)/i, /^(?:o\{)/i, /^(?:\|\{)/i, /^(?:u(?=[\.\-\|]))/i, /^(?:\.\.)/i, /^(?:--)/i, /^(?:to\b)/i, /^(?:optionally to\b)/i, /^(?:\.-)/i, /^(?:-\.)/i, /^(?:([^\x00-\x7F]|\w|-|\*)+)/i, /^(?:;)/i, /^(?:([^\x00-\x7F]|\w|-|\*|\.)+)/i, /^(?:.)/i, /^(?:$)/i],
609
- conditions: { style: { rules: [34, 35, 36, 37, 38, 74, 75], inclusive: !1 }, acc_descr_multiline: { rules: [5, 6], inclusive: !1 }, acc_descr: { rules: [3], inclusive: !1 }, acc_title: { rules: [1], inclusive: !1 }, block: { rules: [23, 24, 25, 26, 27, 28, 29, 30], inclusive: !1 }, INITIAL: { rules: [0, 2, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 31, 32, 33, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 76, 77, 78], inclusive: !0 } }
619
+ rules: [/^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:.*direction\s+TB[^\n]*)/i, /^(?:.*direction\s+BT[^\n]*)/i, /^(?:.*direction\s+RL[^\n]*)/i, /^(?:.*direction\s+LR[^\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:[\s]+)/i, /^(?:"[^"%\r\n\v\b\\]+")/i, /^(?:"[^"]*")/i, /^(?:erDiagram\b)/i, /^(?:\{)/i, /^(?:#)/i, /^(?:#)/i, /^(?:,)/i, /^(?::::)/i, /^(?::)/i, /^(?:\s+)/i, /^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i, /^(?:([^\s]*)[~].*[~]([^\s]*))/i, /^(?:([\*A-Za-z_\u00C0-\uFFFF][A-Za-z0-9\-\_\[\]\(\)\.,\u00C0-\uFFFF\*]*))/i, /^(?:[`])/i, /^(?:[^`]+)/i, /^(?:[`])/i, /^(?:"[^"]*")/i, /^(?:[\n]+)/i, /^(?:\})/i, /^(?:.)/i, /^(?:\[)/i, /^(?:\])/i, /^(?:style\b)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?::)/i, /^(?:,)/i, /^(?:#)/i, /^(?:classDef\b)/i, /^(?:class\b)/i, /^(?:one or zero\b)/i, /^(?:one or more\b)/i, /^(?:one or many\b)/i, /^(?:1\+)/i, /^(?:\|o\b)/i, /^(?:zero or one\b)/i, /^(?:zero or more\b)/i, /^(?:zero or many\b)/i, /^(?:0\+)/i, /^(?:\}o\b)/i, /^(?:many\(0\))/i, /^(?:many\(1\))/i, /^(?:many\b)/i, /^(?:\}\|)/i, /^(?:one\b)/i, /^(?:only one\b)/i, /^(?:[0-9]+\.[0-9]+)/i, /^(?:1(?=\s+[A-Za-z_"']))/i, /^(?:1(?=\s+[0-9]))/i, /^(?:1(?=(--|\.\.|\.-|-\.)))/i, /^(?:1\b)/i, /^(?:[0-9]+)/i, /^(?:\|\|)/i, /^(?:o\|)/i, /^(?:o\{)/i, /^(?:\|\{)/i, /^(?:u(?=[\.\-\|]))/i, /^(?:\.\.)/i, /^(?:--)/i, /^(?:to\b)/i, /^(?:optionally to\b)/i, /^(?:\.-)/i, /^(?:-\.)/i, /^(?:([^\x00-\x7F]|\w|-|\*)+)/i, /^(?:;)/i, /^(?:([^\x00-\x7F]|\w|-|\*|\.)+)/i, /^(?:.)/i, /^(?:$)/i],
620
+ conditions: { style: { rules: [37, 38, 39, 40, 41, 77, 78], inclusive: !1 }, acc_descr_multiline: { rules: [5, 6], inclusive: !1 }, acc_descr: { rules: [3], inclusive: !1 }, acc_title: { rules: [1], inclusive: !1 }, block_bq: { rules: [28, 29], inclusive: !1 }, block: { rules: [23, 24, 25, 26, 27, 30, 31, 32, 33], inclusive: !1 }, INITIAL: { rules: [0, 2, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 34, 35, 36, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 79, 80, 81], inclusive: !0 } }
610
621
  };
611
622
  return I;
612
623
  })();
@@ -774,29 +785,29 @@ Wt(xt, {
774
785
  var ee = /* @__PURE__ */ l(async function(e, i, h, a) {
775
786
  V.info("REF0:"), V.info("Drawing er diagram (unified)", i);
776
787
  const { securityLevel: u, er: d, layout: y } = it(), f = a.db.getData(), m = Mt(i, u);
777
- f.type = a.type, f.layoutAlgorithm = Qt(y), f.config.flowchart.nodeSpacing = d?.nodeSpacing || 140, f.config.flowchart.rankSpacing = d?.rankSpacing || 80, f.direction = a.db.getDirection();
788
+ f.type = a.type, f.layoutAlgorithm = qt(y), f.config.flowchart.nodeSpacing = d?.nodeSpacing || 140, f.config.flowchart.rankSpacing = d?.rankSpacing || 80, f.direction = a.db.getDirection();
778
789
  const { config: j } = f, { look: W } = j;
779
790
  W === "neo" ? f.markers = [
780
791
  "only_one_neo",
781
792
  "zero_or_one_neo",
782
793
  "one_or_more_neo",
783
794
  "zero_or_more_neo"
784
- ] : f.markers = ["only_one", "zero_or_one", "one_or_more", "zero_or_more"], f.diagramId = i, await Xt(f, m), f.layoutAlgorithm === "elk" && m.select(".edges").lower();
795
+ ] : f.markers = ["only_one", "zero_or_one", "one_or_more", "zero_or_more"], f.diagramId = i, await Qt(f, m), f.layoutAlgorithm === "elk" && m.select(".edges").lower();
785
796
  const T = m.selectAll('[id*="-background"]');
786
797
  Array.from(T).length > 0 && T.each(function() {
787
- const M = Ht(this), R = M.attr("id").replace("-background", ""), S = m.select(`#${CSS.escape(R)}`);
798
+ const M = Xt(this), R = M.attr("id").replace("-background", ""), S = m.select(`#${CSS.escape(R)}`);
788
799
  if (!S.empty()) {
789
800
  const C = S.attr("transform");
790
801
  M.attr("transform", C);
791
802
  }
792
803
  });
793
- const Q = 8;
794
- qt.insertTitle(
804
+ const q = 8;
805
+ Ht.insertTitle(
795
806
  m,
796
807
  "erDiagramTitleText",
797
808
  d?.titleTopMargin ?? 25,
798
809
  a.db.getDiagramTitle()
799
- ), Bt(m, Q, "erDiagram", d?.useMaxWidth ?? !0);
810
+ ), Bt(m, q, "erDiagram", d?.useMaxWidth ?? !0);
800
811
  }, "draw"), Ct = /* @__PURE__ */ l((e, i) => {
801
812
  const h = Jt, a = h(e, "r"), u = h(e, "g"), d = h(e, "b");
802
813
  return jt(a, u, d, i);
@@ -902,4 +913,4 @@ var ee = /* @__PURE__ */ l(async function(e, i, h, a) {
902
913
  export {
903
914
  le as diagram
904
915
  };
905
- //# sourceMappingURL=erDiagram-TEJ5UH35-3ATYT9J-.js.map
916
+ //# sourceMappingURL=erDiagram-JOGREHBK-CpCxe8Ib.js.map