@versini/sassysaint 8.107.4 → 8.108.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 (87) hide show
  1. package/dist/chunks/{AboutChangelog.DeRcKN5H.js → AboutChangelog.55tIwnGe.js} +2 -2
  2. package/dist/chunks/{AboutEntry.6mTHwkfb.js → AboutEntry.D1zAHjel.js} +7 -7
  3. package/dist/chunks/{App.DTjbiLAP.js → App.Br7HE-y0.js} +18 -18
  4. package/dist/chunks/{Bubble.ltolxxta.js → Bubble.Ic_8FEhH.js} +1 -1
  5. package/dist/chunks/{DeleteButtonIcon.P0LgJDjE.js → ButtonIconDelete.DRBd_G40.js} +3 -3
  6. package/dist/chunks/{Chart.BzOmOhOW.js → Chart.CwIVbBYb.js} +2 -2
  7. package/dist/chunks/{ChatBubbleAssistant.lGE_8ao1.js → ChatBubbleAssistant.DHlLzqdc.js} +4 -4
  8. package/dist/chunks/{ChatBubbleUser.DC661ePq.js → ChatBubbleUser.D7ksCr76.js} +3 -3
  9. package/dist/chunks/{ChatHistoryTable.BkRFWpsA.js → ChatHistoryTable.DhUDW7QO.js} +4 -4
  10. package/dist/chunks/{HistoryEntry.uUjsDuT0.js → HistoryEntry.BxnMfiXN.js} +6 -6
  11. package/dist/chunks/{LoginEntry.BGZdTDwf.js → LoginEntry.XF9rPWdB.js} +4 -4
  12. package/dist/chunks/{LogoEntry.Bpddd0yA.js → LogoEntry.CnTI8jpv.js} +1 -1
  13. package/dist/chunks/{MemoriesEntry.BYQm9cuU.js → MemoriesEntry.BjNXrPW2.js} +5 -5
  14. package/dist/chunks/{ProfileEntry.BqcZXSeT.js → ProfileEntry.S6XO2uMT.js} +4 -4
  15. package/dist/chunks/{SettingsEntry.BdC5Vyof.js → SettingsEntry.C5jHUJzu.js} +5 -5
  16. package/dist/chunks/{UsageEntry._O8Q6TwS.js → UsageEntry.CQTLPweE.js} +5 -5
  17. package/dist/chunks/_basePickBy.Dj6LWOd3.js +151 -0
  18. package/dist/chunks/_baseUniq.DfiF6jap.js +614 -0
  19. package/dist/chunks/arc.CLrqhM1J.js +83 -0
  20. package/dist/chunks/architecture-U656AL7Q.CuF-GD1P.js +36 -0
  21. package/dist/chunks/architectureDiagram-VXUJARFQ.BGPIWweD.js +4653 -0
  22. package/dist/chunks/blockDiagram-VD42YOAC.cLfUaXxm.js +2254 -0
  23. package/dist/chunks/browser.B8WuOmYx.js +260 -0
  24. package/dist/chunks/c4Diagram-YG6GDRKO.Cc4f8G62.js +1579 -0
  25. package/dist/chunks/channel.D7pUQPat.js +5 -0
  26. package/dist/chunks/chunk-4BX2VUAB.C5gP6CzO.js +8 -0
  27. package/dist/chunks/chunk-55IACEB6.CMTOMhuf.js +8 -0
  28. package/dist/chunks/chunk-B4BG7PRW.CQz5CpXp.js +1375 -0
  29. package/dist/chunks/chunk-DI55MBZ5.C4SOgQau.js +1370 -0
  30. package/dist/chunks/chunk-FMBD7UC4.5tYrPDWZ.js +19 -0
  31. package/dist/chunks/chunk-QN33PNHL.P3o9PZBW.js +19 -0
  32. package/dist/chunks/chunk-QZHKN3VN.COvsjomn.js +15 -0
  33. package/dist/chunks/chunk-TZMSLE5B.C5QPHQlj.js +64 -0
  34. package/dist/chunks/classDiagram-2ON5EDUG.DrIfmpHo.js +16 -0
  35. package/dist/chunks/classDiagram-v2-WZHVMYZB.DrIfmpHo.js +16 -0
  36. package/dist/chunks/clone.47X4nGV4.js +8 -0
  37. package/dist/chunks/cose-bilkent-S5V4N54A.B1umrZne.js +2600 -0
  38. package/dist/chunks/cytoscape.esm.DmRZGnqW.js +18700 -0
  39. package/dist/chunks/dagre-6UL2VRFP.Ce4VSTky.js +444 -0
  40. package/dist/chunks/defaultLocale.CPJLP5jg.js +171 -0
  41. package/dist/chunks/diagram-PSM6KHXK.B1yvSG9p.js +531 -0
  42. package/dist/chunks/diagram-QEK2KX5R.CYDnnLB3.js +217 -0
  43. package/dist/chunks/diagram-S2PKOQOG.BI6w7TZJ.js +142 -0
  44. package/dist/chunks/erDiagram-Q2GNP2WA.D7mTQJ6P.js +841 -0
  45. package/dist/chunks/flowDiagram-NV44I4VS.Col8_E_0.js +1620 -0
  46. package/dist/chunks/ganttDiagram-JELNMOA3.GAUSoSKL.js +2647 -0
  47. package/dist/chunks/gitGraph-F6HP7TQM.3I_jmRrt.js +27 -0
  48. package/dist/chunks/gitGraphDiagram-NY62KEGX.DZQ_LVDe.js +699 -0
  49. package/dist/chunks/graph.BmJVbvPo.js +247 -0
  50. package/dist/chunks/{index.CaofbEIP.js → index.C0El17wt.js} +2 -2
  51. package/dist/chunks/{index.D2nN0rC6.js → index.CUn5zNJg.js} +1 -1
  52. package/dist/chunks/{index.C70LcKzU.js → index.CbEVdl_N.js} +1 -1
  53. package/dist/chunks/{index.CYcieK1H.js → index.CoZgV6rn.js} +1 -1
  54. package/dist/chunks/{index.DuxTgnco.js → index.DCqTKdor.js} +1 -1
  55. package/dist/chunks/index.DctDXsYU.js +67 -0
  56. package/dist/chunks/{index.BxbWxVtd.js → index.Df-tNwfZ.js} +1 -1
  57. package/dist/chunks/{index.BlviGqw0.js → index.DxGkXGdu.js} +3 -3
  58. package/dist/chunks/{index.DG-VhqKw.js → index.z2e7pMwp.js} +1 -1
  59. package/dist/chunks/info-NVLQJR56.D9ao7_Su.js +27 -0
  60. package/dist/chunks/infoDiagram-WHAUD3N6.DmFB-CXk.js +24 -0
  61. package/dist/chunks/init.DAGnb5BH.js +16 -0
  62. package/dist/chunks/journeyDiagram-XKPGCS4Q.C9FISQxf.js +834 -0
  63. package/dist/chunks/kanban-definition-3W4ZIXB7.ChmJnTyd.js +719 -0
  64. package/dist/chunks/{index.s8Izh8-Q.js → katex.D0sQThIv.js} +1638 -1943
  65. package/dist/chunks/layout.DtZQLIyC.js +1332 -0
  66. package/dist/chunks/linear.CIDfImUo.js +625 -0
  67. package/dist/chunks/mermaid-parser.core.CO83pegl.js +12724 -0
  68. package/dist/chunks/mindmap-definition-VGOIOE7T.B3dfWebK.js +759 -0
  69. package/dist/chunks/ordinal.EWT-qnu7.js +61 -0
  70. package/dist/chunks/packet-BFZMPI3H.q9qJMgm9.js +27 -0
  71. package/dist/chunks/pie-7BOR55EZ.BTnKDmrp.js +32 -0
  72. package/dist/chunks/pieDiagram-ADFJNKIX.B23eDSnQ.js +161 -0
  73. package/dist/chunks/quadrantDiagram-AYHSOK5B.B3ZIlLhO.js +1022 -0
  74. package/dist/chunks/radar-NHE76QYJ.BeKykujs.js +27 -0
  75. package/dist/chunks/rehype-mermaid.DkS2NcIa.js +14283 -0
  76. package/dist/chunks/requirementDiagram-UZGBJVZJ.0vOl9IL2.js +850 -0
  77. package/dist/chunks/sankeyDiagram-TZEHDZUN.DxwTK65F.js +810 -0
  78. package/dist/chunks/sequenceDiagram-WL72ISMW.BmOg83Gx.js +2511 -0
  79. package/dist/chunks/stateDiagram-FKZM4ZOC.DBiU28Wu.js +263 -0
  80. package/dist/chunks/stateDiagram-v2-4FDKWEC3.B6t8_4cH.js +16 -0
  81. package/dist/chunks/timeline-definition-IT6M3QCI.DpWxwytE.js +795 -0
  82. package/dist/chunks/treemap-KMMF4GRG.KqgFrxbV.js +81 -0
  83. package/dist/chunks/{useMarkdown.DjEZz9lH.js → useMarkdown.CxuK_DLo.js} +1951 -1936
  84. package/dist/chunks/xychartDiagram-PRI3JC2R.CBaIBQ89.js +1340 -0
  85. package/dist/components/SassySaint/SassySaint.js +1 -1
  86. package/dist/index.js +3 -3
  87. package/package.json +3 -3
@@ -0,0 +1,260 @@
1
+ import { find as C, parse as d, parse$1 as p, normalize as u, html as M, svg as S } from "./useMarkdown.CxuK_DLo.js";
2
+ const y = /[#.]/g;
3
+ function L(e, t) {
4
+ const r = e || "", n = {};
5
+ let o = 0, s, f;
6
+ for (; o < r.length; ) {
7
+ y.lastIndex = o;
8
+ const c = y.exec(r), i = r.slice(o, c ? c.index : r.length);
9
+ i && (s ? s === "#" ? n.id = i : Array.isArray(n.className) ? n.className.push(i) : n.className = [i] : f = i, o += i.length), c && (s = c[0], o++);
10
+ }
11
+ return {
12
+ type: "element",
13
+ // @ts-expect-error: tag name is parsed.
14
+ tagName: f || t || "div",
15
+ properties: n,
16
+ children: []
17
+ };
18
+ }
19
+ function N(e, t, r) {
20
+ const n = r ? G(r) : void 0;
21
+ function o(s, f, ...c) {
22
+ let i;
23
+ if (s == null) {
24
+ i = { type: "root", children: [] };
25
+ const a = (
26
+ /** @type {Child} */
27
+ f
28
+ );
29
+ c.unshift(a);
30
+ } else {
31
+ i = L(s, t);
32
+ const a = i.tagName.toLowerCase(), A = n ? n.get(a) : void 0;
33
+ if (i.tagName = A || a, T(f))
34
+ c.unshift(f);
35
+ else
36
+ for (const [x, j] of Object.entries(f))
37
+ D(e, i.properties, x, j);
38
+ }
39
+ for (const a of c)
40
+ m(i.children, a);
41
+ return i.type === "element" && i.tagName === "template" && (i.content = { type: "root", children: i.children }, i.children = []), i;
42
+ }
43
+ return o;
44
+ }
45
+ function T(e) {
46
+ if (e === null || typeof e != "object" || Array.isArray(e))
47
+ return !0;
48
+ if (typeof e.type != "string") return !1;
49
+ const t = (
50
+ /** @type {Record<string, unknown>} */
51
+ e
52
+ ), r = Object.keys(e);
53
+ for (const n of r) {
54
+ const o = t[n];
55
+ if (o && typeof o == "object") {
56
+ if (!Array.isArray(o)) return !0;
57
+ const s = (
58
+ /** @type {ReadonlyArray<unknown>} */
59
+ o
60
+ );
61
+ for (const f of s)
62
+ if (typeof f != "number" && typeof f != "string")
63
+ return !0;
64
+ }
65
+ }
66
+ return !!("children" in e && Array.isArray(e.children));
67
+ }
68
+ function D(e, t, r, n) {
69
+ const o = C(e, r);
70
+ let s;
71
+ if (n != null) {
72
+ if (typeof n == "number") {
73
+ if (Number.isNaN(n)) return;
74
+ s = n;
75
+ } else typeof n == "boolean" ? s = n : typeof n == "string" ? o.spaceSeparated ? s = d(n) : o.commaSeparated ? s = p(n) : o.commaOrSpaceSeparated ? s = d(p(n).join(" ")) : s = h(o, o.property, n) : Array.isArray(n) ? s = [...n] : s = o.property === "style" ? F(n) : String(n);
76
+ if (Array.isArray(s)) {
77
+ const f = [];
78
+ for (const c of s)
79
+ f.push(
80
+ /** @type {number | string} */
81
+ h(o, o.property, c)
82
+ );
83
+ s = f;
84
+ }
85
+ o.property === "className" && Array.isArray(t.className) && (s = t.className.concat(
86
+ /** @type {Array<number | string> | number | string} */
87
+ s
88
+ )), t[o.property] = s;
89
+ }
90
+ }
91
+ function m(e, t) {
92
+ if (t != null) if (typeof t == "number" || typeof t == "string")
93
+ e.push({ type: "text", value: String(t) });
94
+ else if (Array.isArray(t))
95
+ for (const r of t)
96
+ m(e, r);
97
+ else if (typeof t == "object" && "type" in t)
98
+ t.type === "root" ? m(e, t.children) : e.push(t);
99
+ else
100
+ throw new Error("Expected node, nodes, or string, got `" + t + "`");
101
+ }
102
+ function h(e, t, r) {
103
+ if (typeof r == "string") {
104
+ if (e.number && r && !Number.isNaN(Number(r)))
105
+ return Number(r);
106
+ if ((e.boolean || e.overloadedBoolean) && (r === "" || u(r) === u(t)))
107
+ return !0;
108
+ }
109
+ return r;
110
+ }
111
+ function F(e) {
112
+ const t = [];
113
+ for (const [r, n] of Object.entries(e))
114
+ t.push([r, n].join(": "));
115
+ return t.join("; ");
116
+ }
117
+ function G(e) {
118
+ const t = /* @__PURE__ */ new Map();
119
+ for (const r of e)
120
+ t.set(r.toLowerCase(), r);
121
+ return t;
122
+ }
123
+ const O = [
124
+ "altGlyph",
125
+ "altGlyphDef",
126
+ "altGlyphItem",
127
+ "animateColor",
128
+ "animateMotion",
129
+ "animateTransform",
130
+ "clipPath",
131
+ "feBlend",
132
+ "feColorMatrix",
133
+ "feComponentTransfer",
134
+ "feComposite",
135
+ "feConvolveMatrix",
136
+ "feDiffuseLighting",
137
+ "feDisplacementMap",
138
+ "feDistantLight",
139
+ "feDropShadow",
140
+ "feFlood",
141
+ "feFuncA",
142
+ "feFuncB",
143
+ "feFuncG",
144
+ "feFuncR",
145
+ "feGaussianBlur",
146
+ "feImage",
147
+ "feMerge",
148
+ "feMergeNode",
149
+ "feMorphology",
150
+ "feOffset",
151
+ "fePointLight",
152
+ "feSpecularLighting",
153
+ "feSpotLight",
154
+ "feTile",
155
+ "feTurbulence",
156
+ "foreignObject",
157
+ "glyphRef",
158
+ "linearGradient",
159
+ "radialGradient",
160
+ "solidColor",
161
+ "textArea",
162
+ "textPath"
163
+ ], P = N(M, "div"), k = N(S, "g", O), l = {
164
+ html: "http://www.w3.org/1999/xhtml",
165
+ svg: "http://www.w3.org/2000/svg"
166
+ };
167
+ function I(e, t) {
168
+ return b(e, {}) || { type: "root", children: [] };
169
+ }
170
+ function b(e, t) {
171
+ const r = B(e, t);
172
+ return r && t.afterTransform && t.afterTransform(e, r), r;
173
+ }
174
+ function B(e, t) {
175
+ switch (e.nodeType) {
176
+ case 1:
177
+ return V(
178
+ /** @type {Element} */
179
+ e,
180
+ t
181
+ );
182
+ // Ignore: Attr (2).
183
+ case 3:
184
+ return E(
185
+ /** @type {Text} */
186
+ e
187
+ );
188
+ // Ignore: CDATA (4).
189
+ // Removed: Entity reference (5)
190
+ // Removed: Entity (6)
191
+ // Ignore: Processing instruction (7).
192
+ case 8:
193
+ return H(
194
+ /** @type {Comment} */
195
+ e
196
+ );
197
+ case 9:
198
+ return g(
199
+ /** @type {Document} */
200
+ e,
201
+ t
202
+ );
203
+ case 10:
204
+ return R();
205
+ case 11:
206
+ return g(
207
+ /** @type {DocumentFragment} */
208
+ e,
209
+ t
210
+ );
211
+ default:
212
+ return;
213
+ }
214
+ }
215
+ function g(e, t) {
216
+ return { type: "root", children: w(e, t) };
217
+ }
218
+ function R() {
219
+ return { type: "doctype" };
220
+ }
221
+ function E(e) {
222
+ return { type: "text", value: e.nodeValue || "" };
223
+ }
224
+ function H(e) {
225
+ return { type: "comment", value: e.nodeValue || "" };
226
+ }
227
+ function V(e, t) {
228
+ const r = e.namespaceURI, n = r === l.svg ? k : P, o = r === l.html ? e.tagName.toLowerCase() : e.tagName, s = (
229
+ // @ts-expect-error: DOM types are wrong, content can exist.
230
+ r === l.html && o === "template" ? e.content : e
231
+ ), f = e.getAttributeNames(), c = {};
232
+ let i = -1;
233
+ for (; ++i < f.length; )
234
+ c[f[i]] = e.getAttribute(f[i]) || "";
235
+ return n(o, c, w(s, t));
236
+ }
237
+ function w(e, t) {
238
+ const r = e.childNodes, n = [];
239
+ let o = -1;
240
+ for (; ++o < r.length; ) {
241
+ const s = b(r[o], t);
242
+ s !== void 0 && n.push(s);
243
+ }
244
+ return n;
245
+ }
246
+ const z = new DOMParser();
247
+ function q(e, t) {
248
+ const r = t?.fragment ? U(e) : z.parseFromString(e, "text/html");
249
+ return (
250
+ /** @type {Root} */
251
+ I(r)
252
+ );
253
+ }
254
+ function U(e) {
255
+ const t = document.createElement("template");
256
+ return t.innerHTML = e, t.content;
257
+ }
258
+ export {
259
+ q as fromHtmlIsomorphic
260
+ };