@sme.up/ketchup2 2.0.0-SNAPSHOT-20260112154545 → 2.0.0-SNAPSHOT-20260112170733

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 (122) hide show
  1. package/dist/{_baseIsEqual-BIcGwKpR.js → _baseIsEqual-BE6mM4kQ.js} +1 -1
  2. package/dist/{_baseIsEqual-BxaI0H6z.cjs → _baseIsEqual-CZCEzkIu.cjs} +1 -1
  3. package/dist/{_basePickBy-EXtVuz5S.js → _basePickBy-BxINiyQS.js} +3 -3
  4. package/dist/{_basePickBy-CRi5OpTu.cjs → _basePickBy-CJlklXSz.cjs} +1 -1
  5. package/dist/{_baseUniq-CPgf5hTO.cjs → _baseUniq-BoWGZ8zz.cjs} +1 -1
  6. package/dist/{_baseUniq-BhIyT629.js → _baseUniq-DefjmQUR.js} +2 -2
  7. package/dist/{arc-DqXjSns0.js → arc-DGGHGmq9.js} +1 -1
  8. package/dist/{arc-CrLOhkGK.cjs → arc-n6tYLoj7.cjs} +1 -1
  9. package/dist/{architecture-U656AL7Q-CcSjc5Ju.cjs → architecture-U656AL7Q-BCXHE9Yp.cjs} +1 -1
  10. package/dist/{architecture-U656AL7Q-lJfz-n7V.js → architecture-U656AL7Q-DjxS7_G4.js} +1 -1
  11. package/dist/{architectureDiagram-VXUJARFQ-BD7o197m.cjs → architectureDiagram-VXUJARFQ-CSUhr2MX.cjs} +1 -1
  12. package/dist/{architectureDiagram-VXUJARFQ-C6rBi8R_.js → architectureDiagram-VXUJARFQ-M_BHZhsv.js} +3 -3
  13. package/dist/basic-components/date-picker/date-picker.d.ts.map +1 -1
  14. package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
  15. package/dist/basic-components/text-editor/text-editor.d.ts.map +1 -1
  16. package/dist/{blockDiagram-VD42YOAC-DqJ1Ct6J.js → blockDiagram-VD42YOAC-BQ9bZGIn.js} +5 -5
  17. package/dist/{blockDiagram-VD42YOAC-IApu2g1r.cjs → blockDiagram-VD42YOAC-CiFy6JVO.cjs} +1 -1
  18. package/dist/{c4Diagram-YG6GDRKO-BL2z8jks.js → c4Diagram-YG6GDRKO-DwKnfpPX.js} +2 -2
  19. package/dist/{c4Diagram-YG6GDRKO-CQt7YaCu.cjs → c4Diagram-YG6GDRKO-V8j5YQYB.cjs} +1 -1
  20. package/dist/channel-Bfbj4o-k.cjs +1 -0
  21. package/dist/{channel-BNrDDSvg.js → channel-CdQpHxR-.js} +1 -1
  22. package/dist/{chunk-4BX2VUAB-CrvsusZh.js → chunk-4BX2VUAB-DPyJ2AQU.js} +1 -1
  23. package/dist/{chunk-4BX2VUAB-BFj-c-sA.cjs → chunk-4BX2VUAB-U83txK85.cjs} +1 -1
  24. package/dist/{chunk-55IACEB6-CnF_WGWs.js → chunk-55IACEB6-BnG6T0_T.js} +1 -1
  25. package/dist/{chunk-55IACEB6-5xHLM59a.cjs → chunk-55IACEB6-BxUumiTj.cjs} +1 -1
  26. package/dist/{chunk-B4BG7PRW-M74rIs67.js → chunk-B4BG7PRW-Bw_o8nkB.js} +4 -4
  27. package/dist/{chunk-B4BG7PRW-_jT_03KZ.cjs → chunk-B4BG7PRW-ZKLsDwDA.cjs} +1 -1
  28. package/dist/{chunk-DI55MBZ5-DSsXoufe.cjs → chunk-DI55MBZ5-D8Mq-pv7.cjs} +1 -1
  29. package/dist/{chunk-DI55MBZ5-_ft9Z-PL.js → chunk-DI55MBZ5-D9iurJs4.js} +3 -3
  30. package/dist/{chunk-FMBD7UC4-DuLhYTky.js → chunk-FMBD7UC4-Cfxc8zET.js} +1 -1
  31. package/dist/{chunk-FMBD7UC4-nU4vrLUY.cjs → chunk-FMBD7UC4-fmI5mpTA.cjs} +1 -1
  32. package/dist/{chunk-QN33PNHL-CN1XDROC.js → chunk-QN33PNHL-B_VF9m6y.js} +1 -1
  33. package/dist/{chunk-QN33PNHL-Bs9yUWvQ.cjs → chunk-QN33PNHL-ClejxE3r.cjs} +1 -1
  34. package/dist/{chunk-QZHKN3VN-DnyznhdZ.cjs → chunk-QZHKN3VN-BQw2RrEK.cjs} +1 -1
  35. package/dist/{chunk-QZHKN3VN-IdJVz5Q1.js → chunk-QZHKN3VN-DvuiC4Ex.js} +1 -1
  36. package/dist/{chunk-TZMSLE5B-DxWS5BC6.cjs → chunk-TZMSLE5B-BOWgrS8t.cjs} +1 -1
  37. package/dist/{chunk-TZMSLE5B-C4PdvcSy.js → chunk-TZMSLE5B-DiFhAR7k.js} +1 -1
  38. package/dist/{classDiagram-v2-WZHVMYZB-D_eU_a8Q.js → classDiagram-2ON5EDUG-B0aIBEeJ.js} +2 -2
  39. package/dist/{classDiagram-2ON5EDUG-DXVZKzUI.cjs → classDiagram-2ON5EDUG-B7VQE1wT.cjs} +1 -1
  40. package/dist/{classDiagram-2ON5EDUG-D_eU_a8Q.js → classDiagram-v2-WZHVMYZB-B0aIBEeJ.js} +2 -2
  41. package/dist/{classDiagram-v2-WZHVMYZB-DXVZKzUI.cjs → classDiagram-v2-WZHVMYZB-B7VQE1wT.cjs} +1 -1
  42. package/dist/{clone-CMaZ6RlJ.js → clone-D_y1pLUj.js} +1 -1
  43. package/dist/clone-V_EK_Mf2.cjs +1 -0
  44. package/dist/{cloneDeep-Cio7ZRaa.cjs → cloneDeep-CPcvB5ef.cjs} +1 -1
  45. package/dist/{cloneDeep-BjOT7zlW.js → cloneDeep-CTDArYCv.js} +1 -1
  46. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
  47. package/dist/{cose-bilkent-S5V4N54A-qw-0cK3T.cjs → cose-bilkent-S5V4N54A--4lYSKSM.cjs} +1 -1
  48. package/dist/{cose-bilkent-S5V4N54A-BCr4lvQw.js → cose-bilkent-S5V4N54A-DXskg2h5.js} +1 -1
  49. package/dist/{dagre-6UL2VRFP-DgEItWyU.cjs → dagre-6UL2VRFP-D18u0KhD.cjs} +1 -1
  50. package/dist/{dagre-6UL2VRFP-DiGuen8o.js → dagre-6UL2VRFP-D9qA8W_M.js} +6 -6
  51. package/dist/{diagram-PSM6KHXK-CT4EY0bg.cjs → diagram-PSM6KHXK-9I1FA1pi.cjs} +1 -1
  52. package/dist/{diagram-PSM6KHXK-CHtBlsRG.js → diagram-PSM6KHXK-DkPAKJhs.js} +4 -4
  53. package/dist/{diagram-QEK2KX5R-S87V4q55.cjs → diagram-QEK2KX5R-A_VDQmy4.cjs} +1 -1
  54. package/dist/{diagram-QEK2KX5R-BO1T-mcu.js → diagram-QEK2KX5R-DeN9qknU.js} +3 -3
  55. package/dist/{diagram-S2PKOQOG-CdUYNFRu.cjs → diagram-S2PKOQOG-DSLpoV6p.cjs} +1 -1
  56. package/dist/{diagram-S2PKOQOG-Bn7lX8oM.js → diagram-S2PKOQOG-r10JYxLE.js} +3 -3
  57. package/dist/{erDiagram-Q2GNP2WA-DKQN--pO.js → erDiagram-Q2GNP2WA-Bgoq_bqv.js} +4 -4
  58. package/dist/{erDiagram-Q2GNP2WA-C98I-BWe.cjs → erDiagram-Q2GNP2WA-ZEOO2l0A.cjs} +1 -1
  59. package/dist/{flowDiagram-NV44I4VS-Dz-KSznr.js → flowDiagram-NV44I4VS-CkVtlpb1.js} +5 -5
  60. package/dist/{flowDiagram-NV44I4VS-BaCBU03y.cjs → flowDiagram-NV44I4VS-DeKRWDa-.cjs} +1 -1
  61. package/dist/{ganttDiagram-JELNMOA3-DOw7ozZS.cjs → ganttDiagram-JELNMOA3-BDfn7Ekk.cjs} +1 -1
  62. package/dist/{ganttDiagram-JELNMOA3-vpXPEubp.js → ganttDiagram-JELNMOA3-CuLaYQf0.js} +2 -2
  63. package/dist/{gitGraph-F6HP7TQM-CYT2uFMi.cjs → gitGraph-F6HP7TQM-BaC_9-RA.cjs} +1 -1
  64. package/dist/{gitGraph-F6HP7TQM-BFJ6hzSp.js → gitGraph-F6HP7TQM-DUIIjbB7.js} +1 -1
  65. package/dist/{gitGraphDiagram-NY62KEGX-D8mRH2tR.cjs → gitGraphDiagram-NY62KEGX-DTNawkC7.cjs} +1 -1
  66. package/dist/{gitGraphDiagram-NY62KEGX-Bi_Asw0E.js → gitGraphDiagram-NY62KEGX-xEO48iSt.js} +4 -4
  67. package/dist/{graph-fYfZEym-.cjs → graph-C3iwuJl7.cjs} +1 -1
  68. package/dist/{graph-FSYeekOR.js → graph-_43DeFpl.js} +3 -3
  69. package/dist/{index-B7dMJkBu.cjs → index-CyWavdCd.cjs} +7 -7
  70. package/dist/{index-D4D8HMOg.js → index-LV_pFN3j.js} +195 -177
  71. package/dist/info-NVLQJR56-BJtJcemh.js +5 -0
  72. package/dist/{info-NVLQJR56-DClEJ2-q.cjs → info-NVLQJR56-Ccm-sAZ3.cjs} +1 -1
  73. package/dist/{infoDiagram-WHAUD3N6-CSCBN5tX.js → infoDiagram-WHAUD3N6-C90scuwy.js} +2 -2
  74. package/dist/{infoDiagram-WHAUD3N6-BAqJv7Lt.cjs → infoDiagram-WHAUD3N6-D3J16Mcg.cjs} +1 -1
  75. package/dist/{journeyDiagram-XKPGCS4Q-BUYDmvNH.cjs → journeyDiagram-XKPGCS4Q-BTsuvCla.cjs} +1 -1
  76. package/dist/{journeyDiagram-XKPGCS4Q-DHifSiB3.js → journeyDiagram-XKPGCS4Q-DtTjRLGF.js} +4 -4
  77. package/dist/{kanban-definition-3W4ZIXB7-B8sq5ht7.cjs → kanban-definition-3W4ZIXB7-BcTJxo5d.cjs} +1 -1
  78. package/dist/{kanban-definition-3W4ZIXB7-DTyVvgoI.js → kanban-definition-3W4ZIXB7-CB1DAiMa.js} +2 -2
  79. package/dist/ketchup2.cjs.js +1 -1
  80. package/dist/ketchup2.es.js +1 -1
  81. package/dist/{layout-CoEag0PT.js → layout-BP7d3ycx.js} +5 -5
  82. package/dist/{layout-BFQXyRJL.cjs → layout-Clz8Nt5n.cjs} +1 -1
  83. package/dist/{linear-hK2aPHME.cjs → linear-CmMlt-u-.cjs} +1 -1
  84. package/dist/{linear-Chlnnb3m.js → linear-DRttL2Vo.js} +1 -1
  85. package/dist/{mermaid-parser.core-BABvBQt9.cjs → mermaid-parser.core-7hstTNJB.cjs} +2 -2
  86. package/dist/{mermaid-parser.core-fVsIypWF.js → mermaid-parser.core-DJYHHYaB.js} +12 -12
  87. package/dist/{mindmap-definition-VGOIOE7T-DF0ri-Fg.js → mindmap-definition-VGOIOE7T-CPcOt-b_.js} +3 -3
  88. package/dist/{mindmap-definition-VGOIOE7T-Dm-XqHqU.cjs → mindmap-definition-VGOIOE7T-DAo_oZTd.cjs} +1 -1
  89. package/dist/{packet-BFZMPI3H-D3uF04QF.cjs → packet-BFZMPI3H-Caaxzz-c.cjs} +1 -1
  90. package/dist/{packet-BFZMPI3H-BHlkeUvx.js → packet-BFZMPI3H-hK0JquqM.js} +1 -1
  91. package/dist/pie-7BOR55EZ-B-l63y-E.js +5 -0
  92. package/dist/{pie-7BOR55EZ-DUxpnDaU.cjs → pie-7BOR55EZ-CIZ0yWNS.cjs} +1 -1
  93. package/dist/{pieDiagram-ADFJNKIX-D9KBPtFd.js → pieDiagram-ADFJNKIX-BxUbC9l8.js} +4 -4
  94. package/dist/{pieDiagram-ADFJNKIX-Dhusf_Pe.cjs → pieDiagram-ADFJNKIX-VSbODbVk.cjs} +1 -1
  95. package/dist/{quadrantDiagram-AYHSOK5B-DUT2Rl8x.js → quadrantDiagram-AYHSOK5B-CSMj8GIM.js} +2 -2
  96. package/dist/{quadrantDiagram-AYHSOK5B-BYYXm47i.cjs → quadrantDiagram-AYHSOK5B-DfKcXbcR.cjs} +1 -1
  97. package/dist/{quill-BWsIkOdw.cjs → quill-BS69BhMA.cjs} +1 -1
  98. package/dist/{quill-CkEvi1md.js → quill-BYe-jqJR.js} +3 -3
  99. package/dist/radar-NHE76QYJ-0_5FDNNw.js +5 -0
  100. package/dist/{radar-NHE76QYJ-CJCuLQRt.cjs → radar-NHE76QYJ-BBwuOvAO.cjs} +1 -1
  101. package/dist/{requirementDiagram-UZGBJVZJ-DXSbD_Ta.js → requirementDiagram-UZGBJVZJ-DG24BLJ0.js} +3 -3
  102. package/dist/{requirementDiagram-UZGBJVZJ-BxczdB2o.cjs → requirementDiagram-UZGBJVZJ-RzA0Jn1o.cjs} +1 -1
  103. package/dist/{sankeyDiagram-TZEHDZUN-CjfrGIm7.cjs → sankeyDiagram-TZEHDZUN-BISYsOQW.cjs} +1 -1
  104. package/dist/{sankeyDiagram-TZEHDZUN-K8NL1p-T.js → sankeyDiagram-TZEHDZUN-DG-reF4M.js} +1 -1
  105. package/dist/{sequenceDiagram-WL72ISMW-CXFLE60h.cjs → sequenceDiagram-WL72ISMW-DxZjCVMw.cjs} +1 -1
  106. package/dist/{sequenceDiagram-WL72ISMW-UyYyA-mB.js → sequenceDiagram-WL72ISMW-Dxk_KPJp.js} +3 -3
  107. package/dist/{stateDiagram-FKZM4ZOC-D3maNIuM.js → stateDiagram-FKZM4ZOC-C0gbJg3B.js} +4 -4
  108. package/dist/{stateDiagram-FKZM4ZOC-DtBRq_sO.cjs → stateDiagram-FKZM4ZOC-z8eDfx-e.cjs} +1 -1
  109. package/dist/{stateDiagram-v2-4FDKWEC3-ClR-aGLH.cjs → stateDiagram-v2-4FDKWEC3-DNyMH6to.cjs} +1 -1
  110. package/dist/{stateDiagram-v2-4FDKWEC3-DJngcsqk.js → stateDiagram-v2-4FDKWEC3-go31O8FD.js} +2 -2
  111. package/dist/{timeline-definition-IT6M3QCI-CqwKEJ8F.js → timeline-definition-IT6M3QCI-B9uKNHBu.js} +2 -2
  112. package/dist/{timeline-definition-IT6M3QCI-BCGk8NqM.cjs → timeline-definition-IT6M3QCI-D_7qkRuY.cjs} +1 -1
  113. package/dist/{treemap-KMMF4GRG-ZfQrGgzD.cjs → treemap-KMMF4GRG-BM23eASS.cjs} +1 -1
  114. package/dist/{treemap-KMMF4GRG-CKbhfrHd.js → treemap-KMMF4GRG-DhSR2Y9P.js} +1 -1
  115. package/dist/{xychartDiagram-PRI3JC2R-DB9ciy0L.js → xychartDiagram-PRI3JC2R-DE3JLfFh.js} +2 -2
  116. package/dist/{xychartDiagram-PRI3JC2R-Cn-RwCU_.cjs → xychartDiagram-PRI3JC2R-ZOS9Cx_U.cjs} +1 -1
  117. package/package.json +1 -1
  118. package/dist/channel-D1yg8dOE.cjs +0 -1
  119. package/dist/clone-Djxc-7qY.cjs +0 -1
  120. package/dist/info-NVLQJR56-CsdN3RP5.js +0 -5
  121. package/dist/pie-7BOR55EZ-BH9A0OYq.js +0 -5
  122. package/dist/radar-NHE76QYJ-BQftDVVL.js +0 -5
@@ -12,7 +12,7 @@ var VP = (t, e, r, n) => ({
12
12
  }
13
13
  });
14
14
  import * as Zb from "react";
15
- import Dg, { useState as Be, useSyncExternalStore as sce, useRef as Nt, useCallback as Qt, useLayoutEffect as P7, useEffect as At, useContext as bW, useId as No, useMemo as Xs, createElement as wW, useImperativeHandle as _W, createContext as oce, forwardRef as lce } from "react";
15
+ import Dg, { useState as Be, useSyncExternalStore as sce, useRef as Pt, useCallback as Qt, useLayoutEffect as P7, useEffect as At, useContext as bW, useId as No, useMemo as Xs, createElement as wW, useImperativeHandle as _W, createContext as oce, forwardRef as lce } from "react";
16
16
  import { createPortal as cce } from "react-dom";
17
17
  var Dtt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
18
18
  function hce(t) {
@@ -1437,7 +1437,7 @@ function ml({
1437
1437
  position: t = "bottom",
1438
1438
  open: e = !1
1439
1439
  }) {
1440
- const r = Nt(null), n = Nt(null), i = Nt(null), [a, s] = Be(0), o = Qt(() => {
1440
+ const r = Pt(null), n = Pt(null), i = Pt(null), [a, s] = Be(0), o = Qt(() => {
1441
1441
  const l = r.current, c = n.current;
1442
1442
  if (!l || !c) return;
1443
1443
  const { top: h, left: u, width: f, height: d } = l.getBoundingClientRect();
@@ -1934,7 +1934,7 @@ function Jce(t, e, r) {
1934
1934
  } };
1935
1935
  }
1936
1936
  const IW = (t) => {
1937
- const e = Nt(null);
1937
+ const e = Pt(null);
1938
1938
  return At(() => () => {
1939
1939
  e.current && clearTimeout(e.current);
1940
1940
  }, []), (n) => {
@@ -2162,7 +2162,7 @@ function DW({
2162
2162
  containerHeight: r,
2163
2163
  overscan: n = 5
2164
2164
  }) {
2165
- const [i, a] = Be(0), s = Nt(null), o = t.length * e, l = Math.max(0, Math.floor(i / e) - n), c = Math.min(
2165
+ const [i, a] = Be(0), s = Pt(null), o = t.length * e, l = Math.max(0, Math.floor(i / e) - n), c = Math.min(
2166
2166
  t.length - 1,
2167
2167
  Math.floor((i + r) / e) + n
2168
2168
  ), h = [];
@@ -2250,7 +2250,7 @@ const cp = {
2250
2250
  }) => {
2251
2251
  const [p, g] = Be(""), m = 40, [v, y] = Be(
2252
2252
  a !== null ? a : -1
2253
- ), [x, b] = Be(o || 200), w = Nt(null), _ = Nt(null), S = i !== void 0 ? i : e.length > the, C = Xs(() => {
2253
+ ), [x, b] = Be(o || 200), w = Pt(null), _ = Pt(null), S = i !== void 0 ? i : e.length > the, C = Xs(() => {
2254
2254
  if (!p) return e;
2255
2255
  const O = ($) => typeof $ == "string" && $.toLowerCase().includes(p.toLowerCase());
2256
2256
  return e.filter(($) => r === "CodeOnly" ? O($.obj?.k) : r === "DescOnly" ? O($.decode) : !!(O($.obj?.k) || O($.decode)));
@@ -2522,7 +2522,7 @@ const cp = {
2522
2522
  onToolbarLoadInitialData: a,
2523
2523
  onToolbarClickOutside: s
2524
2524
  }) => {
2525
- const o = Nt(/* @__PURE__ */ new Map()), [l, c] = Be([]), [h, u] = Be(t), f = Qt((b) => {
2525
+ const o = Pt(/* @__PURE__ */ new Map()), [l, c] = Be([]), [h, u] = Be(t), f = Qt((b) => {
2526
2526
  b?.current && c((w) => w.some((_) => _.current === b.current) ? w : [...w, b]);
2527
2527
  }, []);
2528
2528
  $0(l, !0, () => {
@@ -2899,7 +2899,7 @@ const ai = ({
2899
2899
  A && (m(A.scrollLeft > 0), y(
2900
2900
  A.scrollLeft + A.clientWidth < A.scrollWidth - b
2901
2901
  ));
2902
- }, _ = Nt(null);
2902
+ }, _ = Pt(null);
2903
2903
  if (At(() => {
2904
2904
  const A = _.current;
2905
2905
  if (!A) return;
@@ -2952,7 +2952,6 @@ const ai = ({
2952
2952
  className: `${k === u ? S.active : ""} ${S.tab} `,
2953
2953
  role: "tab",
2954
2954
  "aria-selected": k === u,
2955
- tabIndex: k === u ? 0 : -1,
2956
2955
  onClick: () => {
2957
2956
  a?.(k, A), f(k);
2958
2957
  },
@@ -3052,7 +3051,7 @@ const x1 = {
3052
3051
  At(() => {
3053
3052
  g(d);
3054
3053
  }, [d]);
3055
- const m = Nt(null), [v, y] = Be(!1), [x, b] = Be(0);
3054
+ const m = Pt(null), [v, y] = Be(!1), [x, b] = Be(0);
3056
3055
  At(() => {
3057
3056
  !p && s && e && s(e, void 0).then(
3058
3057
  (O) => g(yc(O) || [])
@@ -5074,7 +5073,7 @@ const ud = (t, e) => ({
5074
5073
  autoSelectOptionIndex: v,
5075
5074
  ...y
5076
5075
  }) => {
5077
- const x = Nt(null), [b, w] = Be(t), [_, S] = Be(e), { translate: C } = Ia(), [T, A] = Be(!1), [k, I] = Be(r), [E, M] = Be(0), [R, D] = Be([t]), [L, P] = Be(), { anchorRef: O, targetRef: $, anchorWidth: N } = ml({
5076
+ const x = Pt(null), [b, w] = Be(t), [_, S] = Be(e), { translate: C } = Ia(), [T, A] = Be(!1), [k, I] = Be(r), [E, M] = Be(0), [R, D] = Be([t]), [L, P] = Be(), { anchorRef: O, targetRef: $, anchorWidth: N } = ml({
5078
5077
  position: "bottom",
5079
5078
  open: T
5080
5079
  }), U = Qt(() => {
@@ -5388,7 +5387,7 @@ const ud = (t, e) => ({
5388
5387
  ] });
5389
5388
  };
5390
5389
  function lI(t, e) {
5391
- const r = Nt(null);
5390
+ const r = Pt(null);
5392
5391
  At(() => {
5393
5392
  if (!t) return;
5394
5393
  const n = typeof e == "object" && e !== null && "current" in e ? e.current : null;
@@ -5455,7 +5454,7 @@ function Sue({
5455
5454
  l ? l.getFullYear() : (/* @__PURE__ */ new Date()).getFullYear()
5456
5455
  ), [p, g] = Be(
5457
5456
  l ? l.getDate() : null
5458
- ), m = Nt(null), v = Nt([]), y = [
5457
+ ), m = Pt(null), v = Pt([]), y = [
5459
5458
  a(Ns.JANUARY),
5460
5459
  a(Ns.FEBRUARY),
5461
5460
  a(Ns.MARCH),
@@ -5832,7 +5831,7 @@ const Cue = {
5832
5831
  const { format: c, getCurrentLanguage: h } = Ia(), u = h(), f = Qt(
5833
5832
  (L) => {
5834
5833
  const P = L && L.length > 5 && yhe(L, u) || L;
5835
- if (typeof P == "string")
5834
+ if (typeof P == "string" || !(P instanceof Date) || isNaN(P.getTime()))
5836
5835
  return {
5837
5836
  isValid: !1,
5838
5837
  formattedDate: L,
@@ -5865,7 +5864,7 @@ const Cue = {
5865
5864
  const { anchorRef: S, targetRef: C } = ml({
5866
5865
  position: "bottom",
5867
5866
  open: d
5868
- }), T = S, A = Qt(() => {
5867
+ }), T = Pt(null), A = Qt(() => {
5869
5868
  p(!1), T?.current?.focus();
5870
5869
  }, [T]);
5871
5870
  $0([C, S], d, () => {
@@ -5934,7 +5933,7 @@ const Cue = {
5934
5933
  "smp-file-upload-dropzone-big": "_smp-file-upload-dropzone-big_1na7j_120",
5935
5934
  "smp-file-upload-dropzone-small": "_smp-file-upload-dropzone-small_1na7j_124"
5936
5935
  }, GW = () => Math.random().toString(36).slice(2, 9), Aue = (t, e) => {
5937
- const [r, n] = Be([]), i = Nt(!1), a = Nt(t);
5936
+ const [r, n] = Be([]), i = Pt(!1), a = Pt(t);
5938
5937
  At(() => {
5939
5938
  if (i.current) {
5940
5939
  i.current = !1;
@@ -6001,7 +6000,7 @@ const Cue = {
6001
6000
  }) => {
6002
6001
  const { translate: g } = Ia(), m = typeof i == "string" ? parseInt(i, 10) || void 0 : i, v = r === "1" || r === "true" || r === "True" || r === !0, y = c === "1" || c === "true" || c === "True" || c === !0, { validationError: x, setValidationError: b } = Tue(h), { files: w, setFiles: _ } = Aue(t, () => {
6003
6002
  b(void 0);
6004
- }), S = Nt(null), [C, T] = Be(!1), [A, k] = Be(!1), [I, E] = Be(!1), M = (...G) => G.filter(Boolean).join(" "), R = Qt(
6003
+ }), S = Pt(null), [C, T] = Be(!1), [A, k] = Be(!1), [I, E] = Be(!1), M = (...G) => G.filter(Boolean).join(" "), R = Qt(
6005
6004
  (G) => m && G.size > m ? `${g(Xo.FILE_TOO_LARGE)} (${(G.size / 1024).toFixed(0)} KB)` : e && !(() => {
6006
6005
  if (e.includes("|") && !e.includes("/")) {
6007
6006
  const Y = e.split("|").map((ne) => ne.trim().toLowerCase()).filter(Boolean).map((ne) => ne.startsWith(".") ? ne : `.${ne}`), J = G.name.toLowerCase();
@@ -6354,7 +6353,7 @@ const Cue = {
6354
6353
  // default number of decimals
6355
6354
  ...u
6356
6355
  }) => {
6357
- const { getCurrentLanguage: f } = Ia(), d = Nt(null), p = f(), { groupingChar: g, decimalChar: m } = Xs(
6356
+ const { getCurrentLanguage: f } = Ia(), d = Pt(null), p = f(), { groupingChar: g, decimalChar: m } = Xs(
6358
6357
  () => pue(p, i),
6359
6358
  [p, i]
6360
6359
  ), v = Qt(
@@ -6815,7 +6814,7 @@ const up = {
6815
6814
  targetRef: r,
6816
6815
  isOpen: n
6817
6816
  }) => {
6818
- const i = Nt(null);
6817
+ const i = Pt(null);
6819
6818
  At(() => {
6820
6819
  n && i?.current && i.current.focus();
6821
6820
  }, [n, i]);
@@ -6880,7 +6879,7 @@ const up = {
6880
6879
  isEditable: s = !0,
6881
6880
  ...o
6882
6881
  }) => {
6883
- const l = Nt(null), [c, h] = Be(!1), [u, f] = Be(t), [d, p] = Be(t || ""), [g, m] = Be(() => {
6882
+ const l = Pt(null), [c, h] = Be(!1), [u, f] = Be(t), [d, p] = Be(t || ""), [g, m] = Be(() => {
6884
6883
  const A = t || "";
6885
6884
  return HC(A), A;
6886
6885
  });
@@ -7213,7 +7212,7 @@ const Rl = {
7213
7212
  DescrMode: u,
7214
7213
  ...f
7215
7214
  }) => {
7216
- const d = Nt(null), [p, g] = Be(!1), [m, v] = Be(r), [y, x] = Be(-1), [b, w] = Be([t]), _ = No(), { anchorRef: S, targetRef: C, anchorWidth: T } = ml({
7215
+ const d = Pt(null), [p, g] = Be(!1), [m, v] = Be(r), [y, x] = Be(-1), [b, w] = Be([t]), _ = No(), { anchorRef: S, targetRef: C, anchorWidth: T } = ml({
7217
7216
  position: "bottom",
7218
7217
  open: p
7219
7218
  }), A = Qt(() => {
@@ -7463,7 +7462,7 @@ const Gue = "_slideOut_fvbaj_1", dp = {
7463
7462
  className: h,
7464
7463
  ref: u
7465
7464
  }) => {
7466
- const f = Nt(null), d = u ?? f, p = Nt(null), { shouldRender: g, isExiting: m, isVisible: v } = Wue(t, {
7465
+ const f = Pt(null), d = u ?? f, p = Pt(null), { shouldRender: g, isExiting: m, isVisible: v } = Wue(t, {
7467
7466
  exitDuration: 300
7468
7467
  // Match CSS transition duration
7469
7468
  });
@@ -7519,7 +7518,7 @@ const Gue = "_slideOut_fvbaj_1", dp = {
7519
7518
  p: e[1] || "",
7520
7519
  k: e[2] || ""
7521
7520
  };
7522
- }, Xue = (t) => t.match(/^(?:<(\w+)(?:\s[^>]*)?>\s*(?:<br\s*\/?>)?\s*<\/\1>\s*)+$/g) ? "" : t, Yue = (t) => {
7521
+ }, Xue = (t) => t.match(/^(?:<(\w+)(?:\s[^>]*)?>\s*(?:<br\s*\/?>)?\s*<\/\1>\s*)+$/g) ? "" : t.replaceAll("&nbsp;", " "), Yue = (t) => {
7523
7522
  const e = t.import("blots/inline");
7524
7523
  class r extends e {
7525
7524
  static blotName = "smeupLink";
@@ -7546,7 +7545,7 @@ const Gue = "_slideOut_fvbaj_1", dp = {
7546
7545
  onBlur: l,
7547
7546
  onObjectProtocol: c
7548
7547
  }) => {
7549
- const h = Nt(null), u = Nt(null), f = Nt(null), d = Nt(t), p = Nt(s), g = Nt(l), m = No(), { translate: v } = Ia();
7548
+ const h = Pt(null), u = Pt(null), f = Pt(null), d = Pt(t), p = Pt(s), g = Pt(l), m = No(), { translate: v } = Ia();
7550
7549
  KW(h, (G, H) => {
7551
7550
  c?.(G, H);
7552
7551
  });
@@ -7623,7 +7622,10 @@ const Gue = "_slideOut_fvbaj_1", dp = {
7623
7622
  let J = H.index, ne = H.index + H.length;
7624
7623
  for (; J > 0 && G.getFormat({ index: J - 1, length: 1 })[Y]; )
7625
7624
  J--;
7626
- const ge = G.getText({ index: 0, length: Number.MAX_SAFE_INTEGER }).length;
7625
+ const ge = G.getText({
7626
+ index: 0,
7627
+ length: Number.MAX_SAFE_INTEGER
7628
+ }).length;
7627
7629
  for (; ne < ge && G.getFormat({ index: ne, length: 1 })[Y]; )
7628
7630
  ne++;
7629
7631
  return { index: J, length: ne - J };
@@ -7770,7 +7772,7 @@ const Gue = "_slideOut_fvbaj_1", dp = {
7770
7772
  let H;
7771
7773
  return (async () => {
7772
7774
  try {
7773
- const ne = (await import("./quill-CkEvi1md.js")).default, ge = Yue(ne);
7775
+ const ne = (await import("./quill-BYe-jqJR.js")).default, ge = Yue(ne);
7774
7776
  ne.register(ge, !0);
7775
7777
  const se = G.appendChild(
7776
7778
  document.createElement("div")
@@ -7778,8 +7780,18 @@ const Gue = "_slideOut_fvbaj_1", dp = {
7778
7780
  theme: "snow",
7779
7781
  enable: i,
7780
7782
  modules: {
7781
- toolbar: !1
7783
+ toolbar: !1,
7782
7784
  // Disable Quill's default toolbar since we're using custom buttons
7785
+ keyboard: {
7786
+ bindings: {
7787
+ tab: {
7788
+ key: 9,
7789
+ handler: function() {
7790
+ return !0;
7791
+ }
7792
+ }
7793
+ }
7794
+ }
7783
7795
  },
7784
7796
  formats: [
7785
7797
  "bold",
@@ -7813,7 +7825,11 @@ const Gue = "_slideOut_fvbaj_1", dp = {
7813
7825
  me.preventDefault();
7814
7826
  const Re = re.getSelection(), Ee = re.getFormat(Re);
7815
7827
  if (Ee.smeupLink) {
7816
- const Me = D(re, Re, "smeupLink");
7828
+ const Me = D(
7829
+ re,
7830
+ Re,
7831
+ "smeupLink"
7832
+ );
7817
7833
  re.setSelection(Me);
7818
7834
  const $e = Ee.smeupLink;
7819
7835
  if ($e.dataType === "fun")
@@ -7827,7 +7843,9 @@ const Gue = "_slideOut_fvbaj_1", dp = {
7827
7843
  k: ""
7828
7844
  }));
7829
7845
  else {
7830
- const Te = PR($e.dataArgs);
7846
+ const Te = PR(
7847
+ $e.dataArgs
7848
+ );
7831
7849
  k((ue) => ({
7832
7850
  ...ue,
7833
7851
  open: !0,
@@ -9798,7 +9816,7 @@ const Mfe = (t, e) => {
9798
9816
  return e(t);
9799
9817
  };
9800
9818
  function Pfe(t, e) {
9801
- const r = Nt(null), n = Qt((s) => {
9819
+ const r = Pt(null), n = Qt((s) => {
9802
9820
  r.current = s;
9803
9821
  }, []), i = Qt((s) => {
9804
9822
  s.preventDefault(), s.dataTransfer.dropEffect = "move";
@@ -10409,7 +10427,7 @@ const pg = {
10409
10427
  onDragOver: C,
10410
10428
  onDrop: T
10411
10429
  }) => {
10412
- const A = Nt({}), { anchorRef: k, targetRef: I } = ml({
10430
+ const A = Pt({}), { anchorRef: k, targetRef: I } = ml({
10413
10431
  position: "bottom",
10414
10432
  open: i
10415
10433
  }), { anchorRef: E, targetRef: M } = ml({
@@ -10633,7 +10651,7 @@ const pg = {
10633
10651
  w(ue.groups), S(ue.expandedGroups);
10634
10652
  }
10635
10653
  }), []);
10636
- const L = Nt(null), [P, O] = dfe({
10654
+ const L = Pt(null), [P, O] = dfe({
10637
10655
  columns: y?.columns ?? [],
10638
10656
  rows: y?.rows ?? [],
10639
10657
  containerRef: L,
@@ -10978,7 +10996,7 @@ const pg = {
10978
10996
  onAdvanceResearchLoadInitialData: m,
10979
10997
  onAdvanceResearchLeafNodeClick: v
10980
10998
  }) => {
10981
- const [y, x] = Be(), b = Nt(void 0);
10999
+ const [y, x] = Be(), b = Pt(void 0);
10982
11000
  At(() => {
10983
11001
  x(() => {
10984
11002
  if (!t)
@@ -11163,7 +11181,7 @@ const pg = {
11163
11181
  onMountComponent: w,
11164
11182
  onObjectProtocol: _
11165
11183
  }, S) => {
11166
- const C = Nt(!1), T = Nt([]), { state: A, commandState: k } = zR(t, s, r), [I, E] = Be(A), [M, R] = Be(k), { translate: D } = Ia(), L = No(), P = Nt(null), O = Nt(A), $ = Nt(!1), N = Nt(!1);
11184
+ const C = Pt(!1), T = Pt([]), { state: A, commandState: k } = zR(t, s, r), [I, E] = Be(A), [M, R] = Be(k), { translate: D } = Ia(), L = No(), P = Pt(null), O = Pt(A), $ = Pt(!1), N = Pt(!1);
11167
11185
  _W(
11168
11186
  S,
11169
11187
  () => ({
@@ -11173,7 +11191,7 @@ const pg = {
11173
11191
  }),
11174
11192
  []
11175
11193
  );
11176
- const U = Nt(!1);
11194
+ const U = Pt(!1);
11177
11195
  At(() => {
11178
11196
  if (!U.current && w) {
11179
11197
  U.current = !0;
@@ -11181,7 +11199,7 @@ const pg = {
11181
11199
  se && E(JSON.parse(se));
11182
11200
  }
11183
11201
  }, []);
11184
- const j = Nt(
11202
+ const j = Pt(
11185
11203
  b
11186
11204
  );
11187
11205
  At(() => {
@@ -12217,7 +12235,7 @@ function hq(t, e) {
12217
12235
  function bS(t, e) {
12218
12236
  return t.num === e.num && t.gen === e.gen;
12219
12237
  }
12220
- class Rt {
12238
+ class Nt {
12221
12239
  get length() {
12222
12240
  ir("Abstract getter `length` accessed");
12223
12241
  }
@@ -12455,7 +12473,7 @@ function wS(t, e, r, n) {
12455
12473
  if (Sr(t.get("S"), "JavaScript")) {
12456
12474
  const a = t.get("JS");
12457
12475
  let s;
12458
- a instanceof Rt ? s = a.getString() : typeof a == "string" && (s = a), s &&= Yt(s, !0).replaceAll("\0", ""), s && r.push(s.trim());
12476
+ a instanceof Nt ? s = a.getString() : typeof a == "string" && (s = a), s &&= Yt(s, !0).replaceAll("\0", ""), s && r.push(s.trim());
12459
12477
  }
12460
12478
  wS(t.getRaw("Next"), e, r, n);
12461
12479
  }
@@ -12904,7 +12922,7 @@ class Bde extends Fi {
12904
12922
  constructor(e, r, n) {
12905
12923
  super("Indexed", 1), this.base = e, this.highVal = r;
12906
12924
  const i = e.numComps * (r + 1);
12907
- if (this.lookup = new Uint8Array(i), n instanceof Rt) {
12925
+ if (this.lookup = new Uint8Array(i), n instanceof Nt) {
12908
12926
  const a = n.getBytes(i);
12909
12927
  this.lookup.set(a);
12910
12928
  } else if (typeof n == "string")
@@ -13256,7 +13274,7 @@ class Zy extends Ah {
13256
13274
  return Ah.isUsable && (this.#e ? e = !0 : Q("No CMYK ICC profile support due to missing `iccUrl` API option")), Ae(this, "isUsable", e);
13257
13275
  }
13258
13276
  }
13259
- class un extends Rt {
13277
+ class un extends Nt {
13260
13278
  constructor(e, r, n, i) {
13261
13279
  super(), this.bytes = e instanceof Uint8Array ? e : new Uint8Array(e), this.start = r || 0, this.pos = this.start, this.end = r + n || this.bytes.length, this.dict = i;
13262
13280
  }
@@ -13858,7 +13876,7 @@ class bs {
13858
13876
  }
13859
13877
  }
13860
13878
  const Xde = new Uint8Array(0);
13861
- class rs extends Rt {
13879
+ class rs extends Nt {
13862
13880
  constructor(e) {
13863
13881
  if (super(), this._rawMinBufferLength = e || 0, this.pos = 0, this.bufferLength = 0, this.eof = !1, this.buffer = Xde, this.minBufferLength = 512, e)
13864
13882
  for (; this.minBufferLength < e; )
@@ -13934,7 +13952,7 @@ class rs extends Rt {
13934
13952
  }
13935
13953
  class Yde extends rs {
13936
13954
  constructor(e, r = null) {
13937
- e = e.filter((i) => i instanceof Rt);
13955
+ e = e.filter((i) => i instanceof Nt);
13938
13956
  let n = 0;
13939
13957
  for (const i of e)
13940
13958
  n += i instanceof rs ? i._rawMinBufferLength : i.length;
@@ -17668,7 +17686,7 @@ class N0e extends rs {
17668
17686
  const r = new R0e(), n = [];
17669
17687
  if (this.params instanceof te) {
17670
17688
  const s = this.params.get("JBIG2Globals");
17671
- if (s instanceof Rt) {
17689
+ if (s instanceof Nt) {
17672
17690
  const o = s.getBytes();
17673
17691
  n.push({
17674
17692
  data: o,
@@ -18923,7 +18941,7 @@ class S1 {
18923
18941
  }) {
18924
18942
  if (e instanceof ye)
18925
18943
  return oT(e.name, r);
18926
- if (e instanceof Rt) {
18944
+ if (e instanceof Nt) {
18927
18945
  const i = await Lq(new vI(), new nl(e), r, n);
18928
18946
  return i.isIdentityCMap ? oT(i.name, r) : i;
18929
18947
  }
@@ -23607,7 +23625,7 @@ class oge {
23607
23625
  ir("Cannot initialize Pattern.");
23608
23626
  }
23609
23627
  static parseShading(e, r, n, i, a, s) {
23610
- const o = e instanceof Rt ? e.dict : e, l = o.get("ShadingType");
23628
+ const o = e instanceof Nt ? e.dict : e, l = o.get("ShadingType");
23611
23629
  try {
23612
23630
  switch (l) {
23613
23631
  case ja.AXIAL:
@@ -23782,7 +23800,7 @@ class bu extends my {
23782
23800
  static MAX_SPLIT_PATCH_CHUNKS_AMOUNT = 20;
23783
23801
  static TRIANGLE_DENSITY = 20;
23784
23802
  constructor(e, r, n, i, a, s) {
23785
- if (super(), !(e instanceof Rt))
23803
+ if (super(), !(e instanceof Nt))
23786
23804
  throw new fe("Mesh data is not a stream");
23787
23805
  const o = e.dict;
23788
23806
  this.shadingType = o.get("ShadingType"), this.bbox = Bh(o.getArray("BBox"), null);
@@ -24533,7 +24551,7 @@ class qq {
24533
24551
  }
24534
24552
  create(e, r = !1) {
24535
24553
  let n, i;
24536
- if (e instanceof Ce ? n = e : e instanceof te ? n = e.objId : e instanceof Rt && (n = e.dict?.objId), n) {
24554
+ if (e instanceof Ce ? n = e : e instanceof te ? n = e.objId : e instanceof Nt && (n = e.dict?.objId), n) {
24537
24555
  const s = this._localFunctionCache.getByRef(n);
24538
24556
  if (s)
24539
24557
  return s;
@@ -24724,7 +24742,7 @@ function c8(t) {
24724
24742
  let e;
24725
24743
  if (t instanceof te)
24726
24744
  e = t;
24727
- else if (t instanceof Rt)
24745
+ else if (t instanceof Nt)
24728
24746
  e = t.dict;
24729
24747
  else
24730
24748
  return !1;
@@ -25630,7 +25648,7 @@ class Nu {
25630
25648
  pdfFunctionFactory: l,
25631
25649
  globalColorSpaceCache: c,
25632
25650
  localColorSpaceCache: h
25633
- })) : s && (s instanceof Rt ? s.dict.get("IM", "ImageMask") ? (s.fallbackDims ??= {
25651
+ })) : s && (s instanceof Nt ? s.dict.get("IM", "ImageMask") ? (s.fallbackDims ??= {
25634
25652
  width: p,
25635
25653
  height: g
25636
25654
  }, this.mask = new Nu({
@@ -25656,7 +25674,7 @@ class Nu {
25656
25674
  const l = n;
25657
25675
  let c = null, h = null;
25658
25676
  const u = n.dict.get("SMask"), f = n.dict.get("Mask");
25659
- return u ? u instanceof Rt ? c = u : Q("Unsupported /SMask format.") : f && (f instanceof Rt || Array.isArray(f) ? h = f : Q("Unsupported /Mask format.")), new Nu({
25677
+ return u ? u instanceof Nt ? c = u : Q("Unsupported /SMask format.") : f && (f instanceof Nt || Array.isArray(f) ? h = f : Q("Unsupported /Mask format.")), new Nu({
25660
25678
  xref: e,
25661
25679
  res: r,
25662
25680
  image: l,
@@ -26150,7 +26168,7 @@ class lm {
26150
26168
  continue;
26151
26169
  }
26152
26170
  }
26153
- if (!(c instanceof Rt))
26171
+ if (!(c instanceof Nt))
26154
26172
  continue;
26155
26173
  c.dict.objId && n.put(c.dict.objId);
26156
26174
  const h = c.dict.get("Resources");
@@ -26706,7 +26724,7 @@ class lm {
26706
26724
  }
26707
26725
  const p = this.xref.fetchIfRef(f);
26708
26726
  if (p) {
26709
- const g = p instanceof Rt ? p.dict : p, m = g.get("PatternType");
26727
+ const g = p instanceof Nt ? p.dict : p, m = g.get("PatternType");
26710
26728
  if (m === ZN.TILING) {
26711
26729
  const v = i.base ? i.base.getRgbHex(n, 0) : null;
26712
26730
  return this.handleTilingType(r, v, s, p, g, e, o, c);
@@ -26860,7 +26878,7 @@ class lm {
26860
26878
  }
26861
26879
  K = u.fetch(K);
26862
26880
  }
26863
- if (!(K instanceof Rt))
26881
+ if (!(K instanceof Nt))
26864
26882
  throw new fe("XObject should be a stream");
26865
26883
  const G = K.dict.get("Subtype");
26866
26884
  if (!(G instanceof ye))
@@ -27585,7 +27603,7 @@ class lm {
27585
27603
  }
27586
27604
  pn = R.fetch(pn);
27587
27605
  }
27588
- if (!(pn instanceof Rt))
27606
+ if (!(pn instanceof Nt))
27589
27607
  throw new fe("XObject should be a stream");
27590
27608
  const {
27591
27609
  dict: Ai
@@ -27730,7 +27748,7 @@ class lm {
27730
27748
  });
27731
27749
  try {
27732
27750
  const d = e.get("CIDToGIDMap");
27733
- d instanceof Rt && (i = d.getBytes());
27751
+ d instanceof Nt && (i = d.getBytes());
27734
27752
  } catch (d) {
27735
27753
  if (!this.options.ignoreErrors)
27736
27754
  throw d;
@@ -27894,7 +27912,7 @@ class lm {
27894
27912
  });
27895
27913
  return r instanceof gy ? new Co(0, 65535) : new Fv(r.getMap());
27896
27914
  }
27897
- if (e instanceof Rt)
27915
+ if (e instanceof Nt)
27898
27916
  try {
27899
27917
  const r = await S1.create({
27900
27918
  encoding: e,
@@ -28099,7 +28117,7 @@ class lm {
28099
28117
  a.update(p.join());
28100
28118
  }
28101
28119
  }
28102
- if (a.update(`${s}-${o}`), c instanceof Rt) {
28120
+ if (a.update(`${s}-${o}`), c instanceof Nt) {
28103
28121
  const f = c.stream || c, d = f.buffer ? new Uint8Array(f.buffer.buffer, 0, f.bufferLength) : new Uint8Array(f.bytes.buffer, f.start, f.end - f.start);
28104
28122
  a.update(d);
28105
28123
  } else c instanceof ye && a.update(c.name);
@@ -28127,7 +28145,7 @@ class lm {
28127
28145
  a.update(p.join());
28128
28146
  }
28129
28147
  const d = e.getRaw("CIDToGIDMap") || r.getRaw("CIDToGIDMap");
28130
- d instanceof ye ? a.update(d.name) : d instanceof Ce ? a.update(d.toString()) : d instanceof Rt && a.update(d.peekBytes());
28148
+ d instanceof ye ? a.update(d.name) : d instanceof Ce ? a.update(d.toString()) : d instanceof Nt && a.update(d.peekBytes());
28131
28149
  }
28132
28150
  }
28133
28151
  return {
@@ -28202,7 +28220,7 @@ class lm {
28202
28220
  let g, m, v, y, x;
28203
28221
  try {
28204
28222
  if (g = e.get("FontFile", "FontFile2", "FontFile3"), g)
28205
- if (g instanceof Rt) {
28223
+ if (g instanceof Nt) {
28206
28224
  if (g.isEmpty)
28207
28225
  throw new fe("FontFile is empty");
28208
28226
  } else throw new fe("FontFile should be a stream");
@@ -29317,7 +29335,7 @@ class pT {
29317
29335
  let e = null;
29318
29336
  if (this._contentRef) {
29319
29337
  const r = this.xref.fetchIfRef(this._contentRef);
29320
- r instanceof Rt ? e = r.getBytes() : Q("Embedded file specification points to non-existing/invalid content");
29338
+ r instanceof Nt ? e = r.getBytes() : Q("Embedded file specification points to non-existing/invalid content");
29321
29339
  } else
29322
29340
  Q("Embedded file specification does not have any content");
29323
29341
  return e;
@@ -30105,7 +30123,7 @@ class Tme {
30105
30123
  if (!(i instanceof te))
30106
30124
  continue;
30107
30125
  const a = i.get("UF") || i.get("F");
30108
- if (a instanceof Rt && Sr(a.dict.get("Type"), "EmbeddedFile") && Sr(a.dict.get("Subtype"), "application/mathml+xml"))
30126
+ if (a instanceof Nt && Sr(a.dict.get("Type"), "EmbeddedFile") && Sr(a.dict.get("Subtype"), "application/mathml+xml"))
30109
30127
  return am(a.getString());
30110
30128
  }
30111
30129
  const r = this.dict.get("A");
@@ -30403,7 +30421,7 @@ class cm {
30403
30421
  let r = null;
30404
30422
  try {
30405
30423
  const n = this.xref.fetch(e, !this.xref.encrypt?.encryptMetadata);
30406
- if (n instanceof Rt && n.dict instanceof te) {
30424
+ if (n instanceof Nt && n.dict instanceof te) {
30407
30425
  const i = n.dict.get("Type"), a = n.dict.get("Subtype");
30408
30426
  if (Sr(i, "Metadata") && Sr(a, "XML")) {
30409
30427
  const s = am(n.getString());
@@ -30983,7 +31001,7 @@ class cm {
30983
31001
  if (e instanceof te && e.has("XFAImages")) {
30984
31002
  const n = new pd(e.getRaw("XFAImages"), this.xref);
30985
31003
  for (const [i, a] of n.getAll())
30986
- a instanceof Rt && (r ??= /* @__PURE__ */ new Map(), r.set(Yt(i, !0), a.getBytes()));
31004
+ a instanceof Nt && (r ??= /* @__PURE__ */ new Map(), r.set(Yt(i, !0), a.getBytes()));
30987
31005
  }
30988
31006
  return Ae(this, "xfaImages", r);
30989
31007
  }
@@ -30994,7 +31012,7 @@ class cm {
30994
31012
  if (!(s instanceof te) || !Sr(s.get("S"), "JavaScript"))
30995
31013
  return;
30996
31014
  let o = s.get("JS");
30997
- if (o instanceof Rt)
31015
+ if (o instanceof Nt)
30998
31016
  o = o.getString();
30999
31017
  else if (typeof o != "string")
31000
31018
  return;
@@ -31316,7 +31334,7 @@ class cm {
31316
31334
  case "JavaScript":
31317
31335
  const S = a.get("JS");
31318
31336
  let C;
31319
- S instanceof Rt ? C = S.getString() : typeof S == "string" && (C = S);
31337
+ S instanceof Nt ? C = S.getString() : typeof S == "string" && (C = S);
31320
31338
  const T = C && pq(Yt(C, !0));
31321
31339
  if (T) {
31322
31340
  s = T.url, r.newWindow = T.newWindow;
@@ -31340,12 +31358,12 @@ class cm {
31340
31358
  }
31341
31359
  }
31342
31360
  function Eme(t) {
31343
- return t instanceof Ce || t instanceof te || t instanceof Rt || Array.isArray(t);
31361
+ return t instanceof Ce || t instanceof te || t instanceof Nt || Array.isArray(t);
31344
31362
  }
31345
31363
  function Ime(t, e) {
31346
31364
  if (t instanceof te)
31347
31365
  t = t.getRawValues();
31348
- else if (t instanceof Rt)
31366
+ else if (t instanceof Nt)
31349
31367
  t = t.dict.getRawValues();
31350
31368
  else if (!Array.isArray(t))
31351
31369
  return;
@@ -31388,7 +31406,7 @@ class hm {
31388
31406
  });
31389
31407
  }
31390
31408
  }
31391
- if (i instanceof Rt) {
31409
+ if (i instanceof Nt) {
31392
31410
  const a = i.getBaseStreams();
31393
31411
  if (a) {
31394
31412
  let s = !1;
@@ -38708,7 +38726,7 @@ class mb {
38708
38726
  if (!(r instanceof te))
38709
38727
  return;
38710
38728
  const n = r.get("N");
38711
- if (n instanceof Rt) {
38729
+ if (n instanceof Nt) {
38712
38730
  this.appearance = n;
38713
38731
  return;
38714
38732
  }
@@ -38718,7 +38736,7 @@ class mb {
38718
38736
  if (!(i instanceof ye) || !n.has(i.name))
38719
38737
  return;
38720
38738
  const a = n.get(i.name);
38721
- a instanceof Rt && (this.appearance = a);
38739
+ a instanceof Nt && (this.appearance = a);
38722
38740
  }
38723
38741
  setOptionalContent(e) {
38724
38742
  this.oc = null;
@@ -39612,9 +39630,9 @@ class S2e extends vl {
39612
39630
  }
39613
39631
  s.includes(this.data.fieldValue) || (this.data.fieldValue = "Off"), this.data.exportValue = s[1];
39614
39632
  const o = n.get(this.data.exportValue);
39615
- this.checkedAppearance = o instanceof Rt ? o : null;
39633
+ this.checkedAppearance = o instanceof Nt ? o : null;
39616
39634
  const l = n.get("Off");
39617
- this.uncheckedAppearance = l instanceof Rt ? l : null, this.checkedAppearance ? this._streams.push(this.checkedAppearance) : this._getDefaultCheckedAppearance(e, "check"), this.uncheckedAppearance && this._streams.push(this.uncheckedAppearance), this._fallbackFontDict = this.fallbackFontDict, this.data.defaultFieldValue === null && (this.data.defaultFieldValue = "Off");
39635
+ this.uncheckedAppearance = l instanceof Nt ? l : null, this.checkedAppearance ? this._streams.push(this.checkedAppearance) : this._getDefaultCheckedAppearance(e, "check"), this.uncheckedAppearance && this._streams.push(this.uncheckedAppearance), this._fallbackFontDict = this.fallbackFontDict, this.data.defaultFieldValue === null && (this.data.defaultFieldValue = "Off");
39618
39636
  }
39619
39637
  _processRadioButton(e) {
39620
39638
  this.data.buttonValue = null;
@@ -39636,9 +39654,9 @@ class S2e extends vl {
39636
39654
  break;
39637
39655
  }
39638
39656
  const a = i.get(this.data.buttonValue);
39639
- this.checkedAppearance = a instanceof Rt ? a : null;
39657
+ this.checkedAppearance = a instanceof Nt ? a : null;
39640
39658
  const s = i.get("Off");
39641
- this.uncheckedAppearance = s instanceof Rt ? s : null, this.checkedAppearance ? this._streams.push(this.checkedAppearance) : this._getDefaultCheckedAppearance(e, "disc"), this.uncheckedAppearance && this._streams.push(this.uncheckedAppearance), this._fallbackFontDict = this.fallbackFontDict, this.data.defaultFieldValue === null && (this.data.defaultFieldValue = "Off");
39659
+ this.uncheckedAppearance = s instanceof Nt ? s : null, this.checkedAppearance ? this._streams.push(this.checkedAppearance) : this._getDefaultCheckedAppearance(e, "disc"), this.uncheckedAppearance && this._streams.push(this.uncheckedAppearance), this._fallbackFontDict = this.fallbackFontDict, this.data.defaultFieldValue === null && (this.data.defaultFieldValue = "Off");
39642
39660
  }
39643
39661
  _processPushButton(e) {
39644
39662
  const {
@@ -41656,7 +41674,7 @@ class awe {
41656
41674
  } catch {
41657
41675
  continue;
41658
41676
  }
41659
- if (E instanceof Rt && (E = E.dict), E instanceof te && E.has("Root"))
41677
+ if (E instanceof Nt && (E = E.dict), E instanceof te && E.has("Root"))
41660
41678
  return E;
41661
41679
  }
41662
41680
  throw new Yy("Invalid PDF structure.");
@@ -41680,7 +41698,7 @@ class awe {
41680
41698
  if (mi(s, "xref"))
41681
41699
  o = this.processXRefTable(a), this.topDict || (this.topDict = o), s = o.get("XRefStm"), Number.isInteger(s) && !this._xrefStms.has(s) && (this._xrefStms.add(s), this.startXRefQueue.push(s));
41682
41700
  else if (Number.isInteger(s)) {
41683
- if (!Number.isInteger(a.getObj()) || !mi(a.getObj(), "obj") || !((s = a.getObj()) instanceof Rt))
41701
+ if (!Number.isInteger(a.getObj()) || !mi(a.getObj(), "obj") || !((s = a.getObj()) instanceof Nt))
41684
41702
  throw new fe("Invalid XRef stream");
41685
41703
  if (o = this.processXRefStream(s), this.topDict || (this.topDict = o), !o)
41686
41704
  throw new fe("Failed to read XRef stream");
@@ -41723,7 +41741,7 @@ class awe {
41723
41741
  } catch (s) {
41724
41742
  throw this._pendingRefs.remove(e), s;
41725
41743
  }
41726
- return a instanceof te ? a.objId = e.toString() : a instanceof Rt && (a.dict.objId = e.toString()), a;
41744
+ return a instanceof te ? a.objId = e.toString() : a instanceof Nt && (a.dict.objId = e.toString()), a;
41727
41745
  }
41728
41746
  fetchUncompressed(e, r, n = !1) {
41729
41747
  const i = e.gen;
@@ -41746,11 +41764,11 @@ class awe {
41746
41764
  return a;
41747
41765
  throw new Du(`Bad (uncompressed) XRef entry: ${e}`);
41748
41766
  }
41749
- return r = this.encrypt && !n ? o.getObj(this.encrypt.createCipherTransform(a, i)) : o.getObj(), r instanceof Rt || this._cacheMap.set(a, r), r;
41767
+ return r = this.encrypt && !n ? o.getObj(this.encrypt.createCipherTransform(a, i)) : o.getObj(), r instanceof Nt || this._cacheMap.set(a, r), r;
41750
41768
  }
41751
41769
  fetchCompressed(e, r, n = !1) {
41752
41770
  const i = r.offset, a = this.fetch(Ce.get(i, 0));
41753
- if (!(a instanceof Rt))
41771
+ if (!(a instanceof Nt))
41754
41772
  throw new fe("bad ObjStm stream");
41755
41773
  const s = a.dict.get("First"), o = a.dict.get("N");
41756
41774
  if (!Number.isInteger(s) || !Number.isInteger(o))
@@ -41783,7 +41801,7 @@ class awe {
41783
41801
  allowStreams: !0
41784
41802
  });
41785
41803
  const g = l.getObj();
41786
- if (f[d] = g, g instanceof Rt)
41804
+ if (f[d] = g, g instanceof Nt)
41787
41805
  continue;
41788
41806
  const m = c[d], v = this.entries[m];
41789
41807
  v && v.offset === i && v.gen === d && this._cacheMap.set(m, g);
@@ -41922,7 +41940,7 @@ class xO {
41922
41940
  }
41923
41941
  async getContentStream() {
41924
41942
  const e = await this.pdfManager.ensure(this, "content");
41925
- return e instanceof Rt ? e : Array.isArray(e) ? new Yde(e, this.#i.bind(this)) : new eT();
41943
+ return e instanceof Nt ? e : Array.isArray(e) ? new Yde(e, this.#i.bind(this)) : new eT();
41926
41944
  }
41927
41945
  get xfaData() {
41928
41946
  return Ae(this, "xfaData", this.xfaFactory ? {
@@ -42344,7 +42362,7 @@ class VX {
42344
42362
  if (!e)
42345
42363
  return null;
42346
42364
  const r = e.get("XFA"), n = new Map(["xdp:xdp", "template", "datasets", "config", "connectionSet", "localeSet", "stylesheet", "/xdp:xdp"].map((i) => [i, null]));
42347
- if (r instanceof Rt && !r.isEmpty)
42365
+ if (r instanceof Nt && !r.isEmpty)
42348
42366
  return n.set("xdp:xdp", r), n;
42349
42367
  if (!Array.isArray(r) || r.length === 0)
42350
42368
  return null;
@@ -42353,7 +42371,7 @@ class VX {
42353
42371
  if (i === 0 ? s = "xdp:xdp" : i === a - 2 ? s = "/xdp:xdp" : s = r[i], !n.has(s))
42354
42372
  continue;
42355
42373
  const o = this.xref.fetchIfRef(r[i + 1]);
42356
- !(o instanceof Rt) || o.isEmpty || n.set(s, o);
42374
+ !(o instanceof Nt) || o.isEmpty || n.set(s, o);
42357
42375
  }
42358
42376
  return n;
42359
42377
  }
@@ -42516,7 +42534,7 @@ class VX {
42516
42534
  const n = r.get("Fields"), i = Array.isArray(n) && n.length > 0;
42517
42535
  e.hasFields = i;
42518
42536
  const a = r.get("XFA");
42519
- e.hasXfa = Array.isArray(a) && a.length > 0 || a instanceof Rt && !a.isEmpty;
42537
+ e.hasXfa = Array.isArray(a) && a.length > 0 || a instanceof Nt && !a.isEmpty;
42520
42538
  const o = !!(r.get("SigFlags") & 1), l = o && this.#n(n);
42521
42539
  e.hasAcroForm = i && !l, e.hasSignatures = o;
42522
42540
  } catch (n) {
@@ -43290,7 +43308,7 @@ async function uwe(t, e, r) {
43290
43308
  e.push("]");
43291
43309
  }
43292
43310
  async function r5(t, e, r) {
43293
- t instanceof ye ? e.push(`/${pI(t.name)}`) : t instanceof Ce ? e.push(`${t.num} ${t.gen} R`) : Array.isArray(t) || ArrayBuffer.isView(t) ? await uwe(t, e, r) : typeof t == "string" ? (r && (t = r.encryptString(t)), e.push(`(${sm(t)})`)) : typeof t == "number" || typeof t == "boolean" ? e.push(t.toString()) : t instanceof te ? await XI(t, e, r) : t instanceof Rt ? await hwe(t, e, r) : t === null ? e.push("null") : Q(`Unhandled value in writer: ${typeof t}, please file a bug.`);
43311
+ t instanceof ye ? e.push(`/${pI(t.name)}`) : t instanceof Ce ? e.push(`${t.num} ${t.gen} R`) : Array.isArray(t) || ArrayBuffer.isView(t) ? await uwe(t, e, r) : typeof t == "string" ? (r && (t = r.encryptString(t)), e.push(`(${sm(t)})`)) : typeof t == "number" || typeof t == "boolean" ? e.push(t.toString()) : t instanceof te ? await XI(t, e, r) : t instanceof Nt ? await hwe(t, e, r) : t === null ? e.push("null") : Q(`Unhandled value in writer: ${typeof t}, please file a bug.`);
43294
43312
  }
43295
43313
  function S8(t, e, r, n) {
43296
43314
  for (let i = e + r - 1; i > r - 1; i--)
@@ -43584,7 +43602,7 @@ class Awe {
43584
43602
  return await Promise.all(i), e;
43585
43603
  }
43586
43604
  let s;
43587
- if (e instanceof Rt ? ({
43605
+ if (e instanceof Nt ? ({
43588
43606
  dict: s
43589
43607
  } = e = e.getOriginalStream().clone(), s.xref = this.xrefWrapper) : e instanceof te && (r && (e = e.clone(), e.xref = this.xrefWrapper), s = e), s) {
43590
43608
  for (const [o, l] of s.getRawEntries()) {
@@ -43865,7 +43883,7 @@ class Awe {
43865
43883
  return;
43866
43884
  }
43867
43885
  let i;
43868
- if (e instanceof Rt ? {
43886
+ if (e instanceof Nt ? {
43869
43887
  dict: i
43870
43888
  } = e : e instanceof te && (i = e), i) {
43871
43889
  r(i);
@@ -44177,7 +44195,7 @@ class Awe {
44177
44195
  if (this.useObjectStreams) {
44178
44196
  const v = this.newRefCount, y = [];
44179
44197
  for (let x = g; x < v; x++)
44180
- this.xref[x] instanceof Rt || y.push(Ce.get(x, 0));
44198
+ this.xref[x] instanceof Nt || y.push(Ce.get(x, 0));
44181
44199
  for (let x = 0; x < y.length; x += 65535) {
44182
44200
  const b = this.newRef;
44183
44201
  this.objStreamRefs.add(b.num), this.xref[b.num] = y.slice(x, x + 65535);
@@ -62512,7 +62530,7 @@ const hrt = ({
62512
62530
  HideToolbar: n,
62513
62531
  onError: i
62514
62532
  }) => {
62515
- const a = Nt(null), [s, o] = Be(null), { translate: l } = Ia(), c = {
62533
+ const a = Pt(null), [s, o] = Be(null), { translate: l } = Ia(), c = {
62516
62534
  mainComponent: C8["smp-pdf"],
62517
62535
  toolbar: C8["smp-pdf-toolbar"],
62518
62536
  errorContainer: C8["smp-pdf-error"]
@@ -73086,7 +73104,7 @@ var dt = { canvas: (t, e) => new s4e(t, e), svg: (t, e) => new o4e(t, e), genera
73086
73104
  }, "insertLabel"), vt = /* @__PURE__ */ F((t, e) => {
73087
73105
  const r = e.node().getBBox();
73088
73106
  t.width = r.width, t.height = r.height;
73089
- }, "updateNodeBounds"), Pt = /* @__PURE__ */ F((t, e) => (t.look === "handDrawn" ? "rough-node" : "node") + " " + t.cssClasses + " " + (e || ""), "getNodeClasses");
73107
+ }, "updateNodeBounds"), Rt = /* @__PURE__ */ F((t, e) => (t.look === "handDrawn" ? "rough-node" : "node") + " " + t.cssClasses + " " + (e || ""), "getNodeClasses");
73090
73108
  function wr(t) {
73091
73109
  const e = t.map((r, n) => `${n === 0 ? "M" : "L"}${r.x},${r.y}`);
73092
73110
  return e.push("Z"), e.join(" ");
@@ -73448,7 +73466,7 @@ var b4e = OQ, st = {
73448
73466
  function BQ(t, e) {
73449
73467
  const { labelStyles: r } = gt(e);
73450
73468
  e.labelStyle = r;
73451
- const n = Pt(e);
73469
+ const n = Rt(e);
73452
73470
  let i = n;
73453
73471
  n || (i = "anchor");
73454
73472
  const a = t.insert("g").attr("class", i).attr("id", e.domId || e.id), s = 1, { cssStyles: o } = e, l = dt.svg(a), c = pt(e, { fill: "black", stroke: "none", fillStyle: "solid" });
@@ -73477,7 +73495,7 @@ F(Mk, "generateArcPoints");
73477
73495
  async function FQ(t, e) {
73478
73496
  const { labelStyles: r, nodeStyles: n } = gt(e);
73479
73497
  e.labelStyle = r;
73480
- const { shapeSvg: i, bbox: a } = await Bt(t, e, Pt(e)), s = a.width + e.padding + 20, o = a.height + e.padding, l = o / 2, c = l / (2.5 + o / 50), { cssStyles: h } = e, u = [
73498
+ const { shapeSvg: i, bbox: a } = await Bt(t, e, Rt(e)), s = a.width + e.padding + 20, o = a.height + e.padding, l = o / 2, c = l / (2.5 + o / 50), { cssStyles: h } = e, u = [
73481
73499
  { x: s / 2, y: -o / 2 },
73482
73500
  { x: -s / 2, y: -o / 2 },
73483
73501
  ...Mk(-s / 2, -o / 2, -s / 2, o / 2, c, l, !1),
@@ -73503,7 +73521,7 @@ F(Cf, "insertPolygonShape");
73503
73521
  async function $Q(t, e) {
73504
73522
  const { labelStyles: r, nodeStyles: n } = gt(e);
73505
73523
  e.labelStyle = r;
73506
- const { shapeSvg: i, bbox: a } = await Bt(t, e, Pt(e)), s = a.height + e.padding, o = 12, l = a.width + e.padding + o, c = 0, h = l, u = -s, f = 0, d = [
73524
+ const { shapeSvg: i, bbox: a } = await Bt(t, e, Rt(e)), s = a.height + e.padding, o = 12, l = a.width + e.padding + o, c = 0, h = l, u = -s, f = 0, d = [
73507
73525
  { x: c + o, y: u },
73508
73526
  { x: h, y: u },
73509
73527
  { x: h, y: f },
@@ -73526,7 +73544,7 @@ F($Q, "card");
73526
73544
  function zQ(t, e) {
73527
73545
  const { nodeStyles: r } = gt(e);
73528
73546
  e.label = "";
73529
- const n = t.insert("g").attr("class", Pt(e)).attr("id", e.domId ?? e.id), { cssStyles: i } = e, a = Math.max(28, e.width ?? 0), s = [
73547
+ const n = t.insert("g").attr("class", Rt(e)).attr("id", e.domId ?? e.id), { cssStyles: i } = e, a = Math.max(28, e.width ?? 0), s = [
73530
73548
  { x: 0, y: a / 2 },
73531
73549
  { x: a / 2, y: 0 },
73532
73550
  { x: 0, y: -a / 2 },
@@ -73542,7 +73560,7 @@ F(zQ, "choice");
73542
73560
  async function sM(t, e, r) {
73543
73561
  const { labelStyles: n, nodeStyles: i } = gt(e);
73544
73562
  e.labelStyle = n;
73545
- const { shapeSvg: a, bbox: s, halfPadding: o } = await Bt(t, e, Pt(e)), l = r?.padding ?? o, c = s.width / 2 + l;
73563
+ const { shapeSvg: a, bbox: s, halfPadding: o } = await Bt(t, e, Rt(e)), l = r?.padding ?? o, c = s.width / 2 + l;
73546
73564
  let h;
73547
73565
  const { cssStyles: u } = e;
73548
73566
  if (e.look === "handDrawn") {
@@ -73567,7 +73585,7 @@ F(VQ, "createLine");
73567
73585
  function UQ(t, e) {
73568
73586
  const { labelStyles: r, nodeStyles: n } = gt(e);
73569
73587
  e.labelStyle = r, e.label = "";
73570
- const i = t.insert("g").attr("class", Pt(e)).attr("id", e.domId ?? e.id), a = Math.max(30, e?.width ?? 0), { cssStyles: s } = e, o = dt.svg(i), l = pt(e, {});
73588
+ const i = t.insert("g").attr("class", Rt(e)).attr("id", e.domId ?? e.id), a = Math.max(30, e?.width ?? 0), { cssStyles: s } = e, o = dt.svg(i), l = pt(e, {});
73571
73589
  e.look !== "handDrawn" && (l.roughness = 0, l.fillStyle = "solid");
73572
73590
  const c = o.circle(0, 0, a * 2, l), h = VQ(a), u = o.path(h, l), f = i.insert(() => c, ":first-child");
73573
73591
  return f.insert(() => u), s && e.look !== "handDrawn" && f.selectAll("path").attr("style", s), n && e.look !== "handDrawn" && f.selectAll("path").attr("style", n), vt(e, f), e.intersect = function(d) {
@@ -73587,7 +73605,7 @@ F(oh, "generateCirclePoints");
73587
73605
  async function jQ(t, e) {
73588
73606
  const { labelStyles: r, nodeStyles: n } = gt(e);
73589
73607
  e.labelStyle = r;
73590
- const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Pt(e)), o = a.width + (e.padding ?? 0), l = a.height + (e.padding ?? 0), c = Math.max(5, l * 0.1), { cssStyles: h } = e, u = [
73608
+ const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Rt(e)), o = a.width + (e.padding ?? 0), l = a.height + (e.padding ?? 0), c = Math.max(5, l * 0.1), { cssStyles: h } = e, u = [
73591
73609
  ...oh(o / 2, -l / 2, c, 30, -90, 0),
73592
73610
  { x: -o / 2 - c, y: c },
73593
73611
  ...oh(o / 2 + c * 2, -c, c, 20, -180, -270),
@@ -73628,7 +73646,7 @@ F(lh, "generateCirclePoints");
73628
73646
  async function HQ(t, e) {
73629
73647
  const { labelStyles: r, nodeStyles: n } = gt(e);
73630
73648
  e.labelStyle = r;
73631
- const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Pt(e)), o = a.width + (e.padding ?? 0), l = a.height + (e.padding ?? 0), c = Math.max(5, l * 0.1), { cssStyles: h } = e, u = [
73649
+ const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Rt(e)), o = a.width + (e.padding ?? 0), l = a.height + (e.padding ?? 0), c = Math.max(5, l * 0.1), { cssStyles: h } = e, u = [
73632
73650
  ...lh(o / 2, -l / 2, c, 20, -90, 0),
73633
73651
  { x: o / 2 + c, y: -c },
73634
73652
  ...lh(o / 2 + c * 2, -c, c, 20, -180, -270),
@@ -73669,7 +73687,7 @@ F(Zi, "generateCirclePoints");
73669
73687
  async function GQ(t, e) {
73670
73688
  const { labelStyles: r, nodeStyles: n } = gt(e);
73671
73689
  e.labelStyle = r;
73672
- const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Pt(e)), o = a.width + (e.padding ?? 0), l = a.height + (e.padding ?? 0), c = Math.max(5, l * 0.1), { cssStyles: h } = e, u = [
73690
+ const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Rt(e)), o = a.width + (e.padding ?? 0), l = a.height + (e.padding ?? 0), c = Math.max(5, l * 0.1), { cssStyles: h } = e, u = [
73673
73691
  ...Zi(o / 2, -l / 2, c, 30, -90, 0),
73674
73692
  { x: -o / 2 - c, y: c },
73675
73693
  ...Zi(o / 2 + c * 2, -c, c, 20, -180, -270),
@@ -73714,7 +73732,7 @@ F(GQ, "curlyBraces");
73714
73732
  async function WQ(t, e) {
73715
73733
  const { labelStyles: r, nodeStyles: n } = gt(e);
73716
73734
  e.labelStyle = r;
73717
- const { shapeSvg: i, bbox: a } = await Bt(t, e, Pt(e)), s = 80, o = 20, l = Math.max(s, (a.width + (e.padding ?? 0) * 2) * 1.25, e?.width ?? 0), c = Math.max(o, a.height + (e.padding ?? 0) * 2, e?.height ?? 0), h = c / 2, { cssStyles: u } = e, f = dt.svg(i), d = pt(e, {});
73735
+ const { shapeSvg: i, bbox: a } = await Bt(t, e, Rt(e)), s = 80, o = 20, l = Math.max(s, (a.width + (e.padding ?? 0) * 2) * 1.25, e?.width ?? 0), c = Math.max(o, a.height + (e.padding ?? 0) * 2, e?.height ?? 0), h = c / 2, { cssStyles: u } = e, f = dt.svg(i), d = pt(e, {});
73718
73736
  e.look !== "handDrawn" && (d.roughness = 0, d.fillStyle = "solid");
73719
73737
  const p = l, g = c, m = p - h, v = g / 4, y = [
73720
73738
  { x: m, y: 0 },
@@ -73747,7 +73765,7 @@ var w4e = /* @__PURE__ */ F((t, e, r, n, i, a) => [
73747
73765
  async function qQ(t, e) {
73748
73766
  const { labelStyles: r, nodeStyles: n } = gt(e);
73749
73767
  e.labelStyle = r;
73750
- const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Pt(e)), o = Math.max(a.width + e.padding, e.width ?? 0), l = o / 2, c = l / (2.5 + o / 50), h = Math.max(a.height + c + e.padding, e.height ?? 0);
73768
+ const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Rt(e)), o = Math.max(a.width + e.padding, e.width ?? 0), l = o / 2, c = l / (2.5 + o / 50), h = Math.max(a.height + c + e.padding, e.height ?? 0);
73751
73769
  let u;
73752
73770
  const { cssStyles: f } = e;
73753
73771
  if (e.look === "handDrawn") {
@@ -73773,7 +73791,7 @@ F(qQ, "cylinder");
73773
73791
  async function XQ(t, e) {
73774
73792
  const { labelStyles: r, nodeStyles: n } = gt(e);
73775
73793
  e.labelStyle = r;
73776
- const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Pt(e)), o = a.width + e.padding, l = a.height + e.padding, c = l * 0.2, h = -o / 2, u = -l / 2 - c / 2, { cssStyles: f } = e, d = dt.svg(i), p = pt(e, {});
73794
+ const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Rt(e)), o = a.width + e.padding, l = a.height + e.padding, c = l * 0.2, h = -o / 2, u = -l / 2 - c / 2, { cssStyles: f } = e, d = dt.svg(i), p = pt(e, {});
73777
73795
  e.look !== "handDrawn" && (p.roughness = 0, p.fillStyle = "solid");
73778
73796
  const g = [
73779
73797
  { x: h, y: u + c },
@@ -73798,7 +73816,7 @@ F(XQ, "dividedRectangle");
73798
73816
  async function YQ(t, e) {
73799
73817
  const { labelStyles: r, nodeStyles: n } = gt(e);
73800
73818
  e.labelStyle = r;
73801
- const { shapeSvg: i, bbox: a, halfPadding: s } = await Bt(t, e, Pt(e)), l = a.width / 2 + s + 5, c = a.width / 2 + s;
73819
+ const { shapeSvg: i, bbox: a, halfPadding: s } = await Bt(t, e, Rt(e)), l = a.width / 2 + s + 5, c = a.width / 2 + s;
73802
73820
  let h;
73803
73821
  const { cssStyles: u } = e;
73804
73822
  if (e.look === "handDrawn") {
@@ -73817,7 +73835,7 @@ F(YQ, "doublecircle");
73817
73835
  function KQ(t, e, { config: { themeVariables: r } }) {
73818
73836
  const { labelStyles: n, nodeStyles: i } = gt(e);
73819
73837
  e.label = "", e.labelStyle = n;
73820
- const a = t.insert("g").attr("class", Pt(e)).attr("id", e.domId ?? e.id), s = 7, { cssStyles: o } = e, l = dt.svg(a), { nodeBorder: c } = r, h = pt(e, { fillStyle: "solid" });
73838
+ const a = t.insert("g").attr("class", Rt(e)).attr("id", e.domId ?? e.id), s = 7, { cssStyles: o } = e, l = dt.svg(a), { nodeBorder: c } = r, h = pt(e, { fillStyle: "solid" });
73821
73839
  e.look !== "handDrawn" && (h.roughness = 0);
73822
73840
  const u = l.circle(0, 0, s * 2, h), f = a.insert(() => u, ":first-child");
73823
73841
  return f.selectAll("path").attr("style", `fill: ${c} !important;`), o && o.length > 0 && e.look !== "handDrawn" && f.selectAll("path").attr("style", o), i && e.look !== "handDrawn" && f.selectAll("path").attr("style", i), vt(e, f), e.intersect = function(d) {
@@ -73828,7 +73846,7 @@ F(KQ, "filledCircle");
73828
73846
  async function ZQ(t, e) {
73829
73847
  const { labelStyles: r, nodeStyles: n } = gt(e);
73830
73848
  e.labelStyle = r;
73831
- const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Pt(e)), o = a.width + (e.padding ?? 0), l = o + a.height, c = o + a.height, h = [
73849
+ const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Rt(e)), o = a.width + (e.padding ?? 0), l = o + a.height, c = o + a.height, h = [
73832
73850
  { x: 0, y: -l },
73833
73851
  { x: c, y: -l },
73834
73852
  { x: c / 2, y: 0 }
@@ -73846,7 +73864,7 @@ F(ZQ, "flippedTriangle");
73846
73864
  function JQ(t, e, { dir: r, config: { state: n, themeVariables: i } }) {
73847
73865
  const { nodeStyles: a } = gt(e);
73848
73866
  e.label = "";
73849
- const s = t.insert("g").attr("class", Pt(e)).attr("id", e.domId ?? e.id), { cssStyles: o } = e;
73867
+ const s = t.insert("g").attr("class", Rt(e)).attr("id", e.domId ?? e.id), { cssStyles: o } = e;
73850
73868
  let l = Math.max(70, e?.width ?? 0), c = Math.max(10, e?.height ?? 0);
73851
73869
  r === "LR" && (l = Math.max(10, e?.width ?? 0), c = Math.max(70, e?.height ?? 0));
73852
73870
  const h = -1 * l / 2, u = -1 * c / 2, f = dt.svg(s), d = pt(e, {
@@ -73865,7 +73883,7 @@ F(JQ, "forkJoin");
73865
73883
  async function QQ(t, e) {
73866
73884
  const { labelStyles: r, nodeStyles: n } = gt(e);
73867
73885
  e.labelStyle = r;
73868
- const i = 80, a = 50, { shapeSvg: s, bbox: o } = await Bt(t, e, Pt(e)), l = Math.max(i, o.width + (e.padding ?? 0) * 2, e?.width ?? 0), c = Math.max(a, o.height + (e.padding ?? 0) * 2, e?.height ?? 0), h = c / 2, { cssStyles: u } = e, f = dt.svg(s), d = pt(e, {});
73886
+ const i = 80, a = 50, { shapeSvg: s, bbox: o } = await Bt(t, e, Rt(e)), l = Math.max(i, o.width + (e.padding ?? 0) * 2, e?.width ?? 0), c = Math.max(a, o.height + (e.padding ?? 0) * 2, e?.height ?? 0), h = c / 2, { cssStyles: u } = e, f = dt.svg(s), d = pt(e, {});
73869
73887
  e.look !== "handDrawn" && (d.roughness = 0, d.fillStyle = "solid");
73870
73888
  const p = [
73871
73889
  { x: -l / 2, y: -c / 2 },
@@ -73882,7 +73900,7 @@ F(QQ, "halfRoundedRectangle");
73882
73900
  async function eee(t, e) {
73883
73901
  const { labelStyles: r, nodeStyles: n } = gt(e);
73884
73902
  e.labelStyle = r;
73885
- const { shapeSvg: i, bbox: a } = await Bt(t, e, Pt(e)), s = a.height + (e.padding ?? 0), o = a.width + (e.padding ?? 0) * 2.5, { cssStyles: l } = e, c = dt.svg(i), h = pt(e, {});
73903
+ const { shapeSvg: i, bbox: a } = await Bt(t, e, Rt(e)), s = a.height + (e.padding ?? 0), o = a.width + (e.padding ?? 0) * 2.5, { cssStyles: l } = e, c = dt.svg(i), h = pt(e, {});
73886
73904
  e.look !== "handDrawn" && (h.roughness = 0, h.fillStyle = "solid");
73887
73905
  let u = o / 2;
73888
73906
  const f = u / 6;
@@ -73905,7 +73923,7 @@ F(eee, "hexagon");
73905
73923
  async function tee(t, e) {
73906
73924
  const { labelStyles: r, nodeStyles: n } = gt(e);
73907
73925
  e.label = "", e.labelStyle = r;
73908
- const { shapeSvg: i } = await Bt(t, e, Pt(e)), a = Math.max(30, e?.width ?? 0), s = Math.max(30, e?.height ?? 0), { cssStyles: o } = e, l = dt.svg(i), c = pt(e, {});
73926
+ const { shapeSvg: i } = await Bt(t, e, Rt(e)), a = Math.max(30, e?.width ?? 0), s = Math.max(30, e?.height ?? 0), { cssStyles: o } = e, l = dt.svg(i), c = pt(e, {});
73909
73927
  e.look !== "handDrawn" && (c.roughness = 0, c.fillStyle = "solid");
73910
73928
  const h = [
73911
73929
  { x: 0, y: 0 },
@@ -74210,7 +74228,7 @@ F(see, "imageSquare");
74210
74228
  async function oee(t, e) {
74211
74229
  const { labelStyles: r, nodeStyles: n } = gt(e);
74212
74230
  e.labelStyle = r;
74213
- const { shapeSvg: i, bbox: a } = await Bt(t, e, Pt(e)), s = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), o = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), l = [
74231
+ const { shapeSvg: i, bbox: a } = await Bt(t, e, Rt(e)), s = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), o = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), l = [
74214
74232
  { x: 0, y: 0 },
74215
74233
  { x: s, y: 0 },
74216
74234
  { x: s + 3 * o / 6, y: -o },
@@ -74231,7 +74249,7 @@ F(oee, "inv_trapezoid");
74231
74249
  async function L5(t, e, r) {
74232
74250
  const { labelStyles: n, nodeStyles: i } = gt(e);
74233
74251
  e.labelStyle = n;
74234
- const { shapeSvg: a, bbox: s } = await Bt(t, e, Pt(e)), o = Math.max(s.width + r.labelPaddingX * 2, e?.width || 0), l = Math.max(s.height + r.labelPaddingY * 2, e?.height || 0), c = -o / 2, h = -l / 2;
74252
+ const { shapeSvg: a, bbox: s } = await Bt(t, e, Rt(e)), o = Math.max(s.width + r.labelPaddingX * 2, e?.width || 0), l = Math.max(s.height + r.labelPaddingY * 2, e?.height || 0), c = -o / 2, h = -l / 2;
74235
74253
  let u, { rx: f, ry: d } = e;
74236
74254
  const { cssStyles: p } = e;
74237
74255
  if (r?.rx && r.ry && (f = r.rx, d = r.ry), e.look === "handDrawn") {
@@ -74259,7 +74277,7 @@ F(lee, "labelRect");
74259
74277
  async function cee(t, e) {
74260
74278
  const { labelStyles: r, nodeStyles: n } = gt(e);
74261
74279
  e.labelStyle = r;
74262
- const { shapeSvg: i, bbox: a } = await Bt(t, e, Pt(e)), s = Math.max(a.width + (e.padding ?? 0), e?.width ?? 0), o = Math.max(a.height + (e.padding ?? 0), e?.height ?? 0), l = [
74280
+ const { shapeSvg: i, bbox: a } = await Bt(t, e, Rt(e)), s = Math.max(a.width + (e.padding ?? 0), e?.width ?? 0), o = Math.max(a.height + (e.padding ?? 0), e?.height ?? 0), l = [
74263
74281
  { x: 0, y: 0 },
74264
74282
  { x: s + 3 * o / 6, y: 0 },
74265
74283
  { x: s, y: -o },
@@ -74280,7 +74298,7 @@ F(cee, "lean_left");
74280
74298
  async function hee(t, e) {
74281
74299
  const { labelStyles: r, nodeStyles: n } = gt(e);
74282
74300
  e.labelStyle = r;
74283
- const { shapeSvg: i, bbox: a } = await Bt(t, e, Pt(e)), s = Math.max(a.width + (e.padding ?? 0), e?.width ?? 0), o = Math.max(a.height + (e.padding ?? 0), e?.height ?? 0), l = [
74301
+ const { shapeSvg: i, bbox: a } = await Bt(t, e, Rt(e)), s = Math.max(a.width + (e.padding ?? 0), e?.width ?? 0), o = Math.max(a.height + (e.padding ?? 0), e?.height ?? 0), l = [
74284
74302
  { x: -3 * o / 6, y: 0 },
74285
74303
  { x: s, y: 0 },
74286
74304
  { x: s + 3 * o / 6, y: -o },
@@ -74301,7 +74319,7 @@ F(hee, "lean_right");
74301
74319
  function uee(t, e) {
74302
74320
  const { labelStyles: r, nodeStyles: n } = gt(e);
74303
74321
  e.label = "", e.labelStyle = r;
74304
- const i = t.insert("g").attr("class", Pt(e)).attr("id", e.domId ?? e.id), { cssStyles: a } = e, s = Math.max(35, e?.width ?? 0), o = Math.max(35, e?.height ?? 0), l = 7, c = [
74322
+ const i = t.insert("g").attr("class", Rt(e)).attr("id", e.domId ?? e.id), { cssStyles: a } = e, s = Math.max(35, e?.width ?? 0), o = Math.max(35, e?.height ?? 0), l = 7, c = [
74305
74323
  { x: s, y: 0 },
74306
74324
  { x: 0, y: o + l / 2 },
74307
74325
  { x: s - 2 * l, y: o + l / 2 },
@@ -74338,7 +74356,7 @@ var C4e = /* @__PURE__ */ F((t, e, r, n, i, a, s) => [
74338
74356
  async function fee(t, e) {
74339
74357
  const { labelStyles: r, nodeStyles: n } = gt(e);
74340
74358
  e.labelStyle = r;
74341
- const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Pt(e)), o = Math.max(a.width + (e.padding ?? 0), e.width ?? 0), l = o / 2, c = l / (2.5 + o / 50), h = Math.max(a.height + c + (e.padding ?? 0), e.height ?? 0), u = h * 0.1;
74359
+ const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Rt(e)), o = Math.max(a.width + (e.padding ?? 0), e.width ?? 0), l = o / 2, c = l / (2.5 + o / 50), h = Math.max(a.height + c + (e.padding ?? 0), e.height ?? 0), u = h * 0.1;
74342
74360
  let f;
74343
74361
  const { cssStyles: d } = e;
74344
74362
  if (e.look === "handDrawn") {
@@ -74364,7 +74382,7 @@ F(fee, "linedCylinder");
74364
74382
  async function dee(t, e) {
74365
74383
  const { labelStyles: r, nodeStyles: n } = gt(e);
74366
74384
  e.labelStyle = r;
74367
- const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Pt(e)), o = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), l = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), c = l / 4, h = l + c, { cssStyles: u } = e, f = dt.svg(i), d = pt(e, {});
74385
+ const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Rt(e)), o = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), l = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), c = l / 4, h = l + c, { cssStyles: u } = e, f = dt.svg(i), d = pt(e, {});
74368
74386
  e.look !== "handDrawn" && (d.roughness = 0, d.fillStyle = "solid");
74369
74387
  const p = [
74370
74388
  { x: -o / 2 - o / 2 * 0.1, y: -h / 2 },
@@ -74397,7 +74415,7 @@ F(dee, "linedWaveEdgedRect");
74397
74415
  async function pee(t, e) {
74398
74416
  const { labelStyles: r, nodeStyles: n } = gt(e);
74399
74417
  e.labelStyle = r;
74400
- const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Pt(e)), o = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), l = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), c = 5, h = -o / 2, u = -l / 2, { cssStyles: f } = e, d = dt.svg(i), p = pt(e, {}), g = [
74418
+ const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Rt(e)), o = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), l = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), c = 5, h = -o / 2, u = -l / 2, { cssStyles: f } = e, d = dt.svg(i), p = pt(e, {}), g = [
74401
74419
  { x: h - c, y: u + c },
74402
74420
  { x: h - c, y: u + l + c },
74403
74421
  { x: h + o - c, y: u + l + c },
@@ -74431,7 +74449,7 @@ F(pee, "multiRect");
74431
74449
  async function gee(t, e) {
74432
74450
  const { labelStyles: r, nodeStyles: n } = gt(e);
74433
74451
  e.labelStyle = r;
74434
- const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Pt(e)), o = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), l = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), c = l / 4, h = l + c, u = -o / 2, f = -h / 2, d = 5, { cssStyles: p } = e, g = uf(
74452
+ const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Rt(e)), o = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), l = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), c = l / 4, h = l + c, u = -o / 2, f = -h / 2, d = 5, { cssStyles: p } = e, g = uf(
74435
74453
  u - d,
74436
74454
  f + h + d,
74437
74455
  u + o - d,
@@ -74472,7 +74490,7 @@ F(gee, "multiWaveEdgedRectangle");
74472
74490
  async function mee(t, e, { config: { themeVariables: r } }) {
74473
74491
  const { labelStyles: n, nodeStyles: i } = gt(e);
74474
74492
  e.labelStyle = n, e.useHtmlLabels || _a().flowchart?.htmlLabels !== !1 || (e.centerLabel = !0);
74475
- const { shapeSvg: s, bbox: o, label: l } = await Bt(t, e, Pt(e)), c = Math.max(o.width + (e.padding ?? 0) * 2, e?.width ?? 0), h = Math.max(o.height + (e.padding ?? 0) * 2, e?.height ?? 0), u = -c / 2, f = -h / 2, { cssStyles: d } = e, p = dt.svg(s), g = pt(e, {
74493
+ const { shapeSvg: s, bbox: o, label: l } = await Bt(t, e, Rt(e)), c = Math.max(o.width + (e.padding ?? 0) * 2, e?.width ?? 0), h = Math.max(o.height + (e.padding ?? 0) * 2, e?.height ?? 0), u = -c / 2, f = -h / 2, { cssStyles: d } = e, p = dt.svg(s), g = pt(e, {
74476
74494
  fill: r.noteBkgColor,
74477
74495
  stroke: r.noteBorderColor
74478
74496
  });
@@ -74496,7 +74514,7 @@ var k4e = /* @__PURE__ */ F((t, e, r) => [
74496
74514
  async function vee(t, e) {
74497
74515
  const { labelStyles: r, nodeStyles: n } = gt(e);
74498
74516
  e.labelStyle = r;
74499
- const { shapeSvg: i, bbox: a } = await Bt(t, e, Pt(e)), s = a.width + e.padding, o = a.height + e.padding, l = s + o, c = 0.5, h = [
74517
+ const { shapeSvg: i, bbox: a } = await Bt(t, e, Rt(e)), s = a.width + e.padding, o = a.height + e.padding, l = s + o, c = 0.5, h = [
74500
74518
  { x: l / 2, y: 0 },
74501
74519
  { x: l, y: -l / 2 },
74502
74520
  { x: l / 2, y: -l },
@@ -74525,7 +74543,7 @@ F(vee, "question");
74525
74543
  async function yee(t, e) {
74526
74544
  const { labelStyles: r, nodeStyles: n } = gt(e);
74527
74545
  e.labelStyle = r;
74528
- const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Pt(e)), o = Math.max(a.width + (e.padding ?? 0), e?.width ?? 0), l = Math.max(a.height + (e.padding ?? 0), e?.height ?? 0), c = -o / 2, h = -l / 2, u = h / 2, f = [
74546
+ const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Rt(e)), o = Math.max(a.width + (e.padding ?? 0), e?.width ?? 0), l = Math.max(a.height + (e.padding ?? 0), e?.height ?? 0), c = -o / 2, h = -l / 2, u = h / 2, f = [
74529
74547
  { x: c + u, y: h },
74530
74548
  { x: c, y: 0 },
74531
74549
  { x: c + u, y: -h },
@@ -74613,7 +74631,7 @@ F(Kv, "generateArcPoints");
74613
74631
  async function bee(t, e) {
74614
74632
  const { labelStyles: r, nodeStyles: n } = gt(e);
74615
74633
  e.labelStyle = r;
74616
- const { shapeSvg: i, bbox: a } = await Bt(t, e, Pt(e)), s = e?.padding ?? 0, o = e?.padding ?? 0, l = (e?.width ? e?.width : a.width) + s * 2, c = (e?.height ? e?.height : a.height) + o * 2, h = e.radius || 5, u = e.taper || 5, { cssStyles: f } = e, d = dt.svg(i), p = pt(e, {});
74634
+ const { shapeSvg: i, bbox: a } = await Bt(t, e, Rt(e)), s = e?.padding ?? 0, o = e?.padding ?? 0, l = (e?.width ? e?.width : a.width) + s * 2, c = (e?.height ? e?.height : a.height) + o * 2, h = e.radius || 5, u = e.taper || 5, { cssStyles: f } = e, d = dt.svg(i), p = pt(e, {});
74617
74635
  e.stroke && (p.stroke = e.stroke), e.look !== "handDrawn" && (p.roughness = 0, p.fillStyle = "solid");
74618
74636
  const g = [
74619
74637
  // Top edge (left to right)
@@ -74653,7 +74671,7 @@ F(bee, "roundedRect");
74653
74671
  async function wee(t, e) {
74654
74672
  const { labelStyles: r, nodeStyles: n } = gt(e);
74655
74673
  e.labelStyle = r;
74656
- const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Pt(e)), o = e?.padding ?? 0, l = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), c = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), h = -a.width / 2 - o, u = -a.height / 2 - o, { cssStyles: f } = e, d = dt.svg(i), p = pt(e, {});
74674
+ const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Rt(e)), o = e?.padding ?? 0, l = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), c = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), h = -a.width / 2 - o, u = -a.height / 2 - o, { cssStyles: f } = e, d = dt.svg(i), p = pt(e, {});
74657
74675
  e.look !== "handDrawn" && (p.roughness = 0, p.fillStyle = "solid");
74658
74676
  const g = [
74659
74677
  { x: h, y: u },
@@ -74678,7 +74696,7 @@ F(wee, "shadedProcess");
74678
74696
  async function _ee(t, e) {
74679
74697
  const { labelStyles: r, nodeStyles: n } = gt(e);
74680
74698
  e.labelStyle = r;
74681
- const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Pt(e)), o = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), l = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), c = -o / 2, h = -l / 2, { cssStyles: u } = e, f = dt.svg(i), d = pt(e, {});
74699
+ const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Rt(e)), o = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), l = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), c = -o / 2, h = -l / 2, { cssStyles: u } = e, f = dt.svg(i), d = pt(e, {});
74682
74700
  e.look !== "handDrawn" && (d.roughness = 0, d.fillStyle = "solid");
74683
74701
  const p = [
74684
74702
  { x: c, y: h },
@@ -74707,7 +74725,7 @@ F(See, "squareRect");
74707
74725
  async function Cee(t, e) {
74708
74726
  const { labelStyles: r, nodeStyles: n } = gt(e);
74709
74727
  e.labelStyle = r;
74710
- const { shapeSvg: i, bbox: a } = await Bt(t, e, Pt(e)), s = a.height + e.padding, o = a.width + s / 4 + e.padding, l = s / 2, { cssStyles: c } = e, h = dt.svg(i), u = pt(e, {});
74728
+ const { shapeSvg: i, bbox: a } = await Bt(t, e, Rt(e)), s = a.height + e.padding, o = a.width + s / 4 + e.padding, l = s / 2, { cssStyles: c } = e, h = dt.svg(i), u = pt(e, {});
74711
74729
  e.look !== "handDrawn" && (u.roughness = 0, u.fillStyle = "solid");
74712
74730
  const f = [
74713
74731
  { x: -o / 2 + l, y: -s / 2 },
@@ -74765,7 +74783,7 @@ F(kee, "stateStart");
74765
74783
  async function Eee(t, e) {
74766
74784
  const { labelStyles: r, nodeStyles: n } = gt(e);
74767
74785
  e.labelStyle = r;
74768
- const { shapeSvg: i, bbox: a } = await Bt(t, e, Pt(e)), s = (e?.padding || 0) / 2, o = a.width + e.padding, l = a.height + e.padding, c = -a.width / 2 - s, h = -a.height / 2 - s, u = [
74786
+ const { shapeSvg: i, bbox: a } = await Bt(t, e, Rt(e)), s = (e?.padding || 0) / 2, o = a.width + e.padding, l = a.height + e.padding, c = -a.width / 2 - s, h = -a.height / 2 - s, u = [
74769
74787
  { x: 0, y: 0 },
74770
74788
  { x: o, y: 0 },
74771
74789
  { x: o, y: -l },
@@ -74794,7 +74812,7 @@ F(Eee, "subroutine");
74794
74812
  async function Iee(t, e) {
74795
74813
  const { labelStyles: r, nodeStyles: n } = gt(e);
74796
74814
  e.labelStyle = r;
74797
- const { shapeSvg: i, bbox: a } = await Bt(t, e, Pt(e)), s = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), o = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), l = -s / 2, c = -o / 2, h = 0.2 * o, u = 0.2 * o, { cssStyles: f } = e, d = dt.svg(i), p = pt(e, {}), g = [
74815
+ const { shapeSvg: i, bbox: a } = await Bt(t, e, Rt(e)), s = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), o = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), l = -s / 2, c = -o / 2, h = 0.2 * o, u = 0.2 * o, { cssStyles: f } = e, d = dt.svg(i), p = pt(e, {}), g = [
74798
74816
  { x: l - h / 2, y: c },
74799
74817
  { x: l + s + h / 2, y: c },
74800
74818
  { x: l + s + h / 2, y: c + o },
@@ -74814,7 +74832,7 @@ F(Iee, "taggedRect");
74814
74832
  async function Dee(t, e) {
74815
74833
  const { labelStyles: r, nodeStyles: n } = gt(e);
74816
74834
  e.labelStyle = r;
74817
- const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Pt(e)), o = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), l = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), c = l / 4, h = 0.2 * o, u = 0.2 * l, f = l + c, { cssStyles: d } = e, p = dt.svg(i), g = pt(e, {});
74835
+ const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Rt(e)), o = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), l = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), c = l / 4, h = 0.2 * o, u = 0.2 * l, f = l + c, { cssStyles: d } = e, p = dt.svg(i), g = pt(e, {});
74818
74836
  e.look !== "handDrawn" && (g.roughness = 0, g.fillStyle = "solid");
74819
74837
  const m = [
74820
74838
  { x: -o / 2 - o / 2 * 0.1, y: f / 2 },
@@ -74855,7 +74873,7 @@ F(Dee, "taggedWaveEdgedRectangle");
74855
74873
  async function Mee(t, e) {
74856
74874
  const { labelStyles: r, nodeStyles: n } = gt(e);
74857
74875
  e.labelStyle = r;
74858
- const { shapeSvg: i, bbox: a } = await Bt(t, e, Pt(e)), s = Math.max(a.width + e.padding, e?.width || 0), o = Math.max(a.height + e.padding, e?.height || 0), l = -s / 2, c = -o / 2, h = i.insert("rect", ":first-child");
74876
+ const { shapeSvg: i, bbox: a } = await Bt(t, e, Rt(e)), s = Math.max(a.width + e.padding, e?.width || 0), o = Math.max(a.height + e.padding, e?.height || 0), l = -s / 2, c = -o / 2, h = i.insert("rect", ":first-child");
74859
74877
  return h.attr("class", "text").attr("style", n).attr("rx", 0).attr("ry", 0).attr("x", l).attr("y", c).attr("width", s).attr("height", o), vt(e, h), e.intersect = function(u) {
74860
74878
  return st.rect(e, u);
74861
74879
  }, i;
@@ -74881,7 +74899,7 @@ async function Lee(t, e) {
74881
74899
  const { shapeSvg: i, bbox: a, label: s, halfPadding: o } = await Bt(
74882
74900
  t,
74883
74901
  e,
74884
- Pt(e)
74902
+ Rt(e)
74885
74903
  ), l = e.look === "neo" ? o * 2 : o, c = a.height + l, h = c / 2, u = h / (2.5 + c / 50), f = a.width + u + l, { cssStyles: d } = e;
74886
74904
  let p;
74887
74905
  if (e.look === "handDrawn") {
@@ -74907,7 +74925,7 @@ F(Lee, "tiltedCylinder");
74907
74925
  async function Pee(t, e) {
74908
74926
  const { labelStyles: r, nodeStyles: n } = gt(e);
74909
74927
  e.labelStyle = r;
74910
- const { shapeSvg: i, bbox: a } = await Bt(t, e, Pt(e)), s = a.width + e.padding, o = a.height + e.padding, l = [
74928
+ const { shapeSvg: i, bbox: a } = await Bt(t, e, Rt(e)), s = a.width + e.padding, o = a.height + e.padding, l = [
74911
74929
  { x: -3 * o / 6, y: 0 },
74912
74930
  { x: s + 3 * o / 6, y: 0 },
74913
74931
  { x: s, y: -o },
@@ -74928,7 +74946,7 @@ F(Pee, "trapezoid");
74928
74946
  async function Ree(t, e) {
74929
74947
  const { labelStyles: r, nodeStyles: n } = gt(e);
74930
74948
  e.labelStyle = r;
74931
- const { shapeSvg: i, bbox: a } = await Bt(t, e, Pt(e)), s = 60, o = 20, l = Math.max(s, a.width + (e.padding ?? 0) * 2, e?.width ?? 0), c = Math.max(o, a.height + (e.padding ?? 0) * 2, e?.height ?? 0), { cssStyles: h } = e, u = dt.svg(i), f = pt(e, {});
74949
+ const { shapeSvg: i, bbox: a } = await Bt(t, e, Rt(e)), s = 60, o = 20, l = Math.max(s, a.width + (e.padding ?? 0) * 2, e?.width ?? 0), c = Math.max(o, a.height + (e.padding ?? 0) * 2, e?.height ?? 0), { cssStyles: h } = e, u = dt.svg(i), f = pt(e, {});
74932
74950
  e.look !== "handDrawn" && (f.roughness = 0, f.fillStyle = "solid");
74933
74951
  const d = [
74934
74952
  { x: -l / 2 * 0.8, y: -c / 2 },
@@ -74946,7 +74964,7 @@ F(Ree, "trapezoidalPentagon");
74946
74964
  async function Nee(t, e) {
74947
74965
  const { labelStyles: r, nodeStyles: n } = gt(e);
74948
74966
  e.labelStyle = r;
74949
- const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Pt(e)), o = _i(Hr().flowchart?.htmlLabels), l = a.width + (e.padding ?? 0), c = l + a.height, h = l + a.height, u = [
74967
+ const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Rt(e)), o = _i(Hr().flowchart?.htmlLabels), l = a.width + (e.padding ?? 0), c = l + a.height, h = l + a.height, u = [
74950
74968
  { x: 0, y: 0 },
74951
74969
  { x: h, y: 0 },
74952
74970
  { x: h / 2, y: -c }
@@ -74964,7 +74982,7 @@ F(Nee, "triangle");
74964
74982
  async function Oee(t, e) {
74965
74983
  const { labelStyles: r, nodeStyles: n } = gt(e);
74966
74984
  e.labelStyle = r;
74967
- const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Pt(e)), o = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), l = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), c = l / 8, h = l + c, { cssStyles: u } = e, d = 70 - o, p = d > 0 ? d / 2 : 0, g = dt.svg(i), m = pt(e, {});
74985
+ const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Rt(e)), o = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), l = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), c = l / 8, h = l + c, { cssStyles: u } = e, d = 70 - o, p = d > 0 ? d / 2 : 0, g = dt.svg(i), m = pt(e, {});
74968
74986
  e.look !== "handDrawn" && (m.roughness = 0, m.fillStyle = "solid");
74969
74987
  const v = [
74970
74988
  { x: -o / 2 - p, y: h / 2 },
@@ -74990,7 +75008,7 @@ F(Oee, "waveEdgedRectangle");
74990
75008
  async function Bee(t, e) {
74991
75009
  const { labelStyles: r, nodeStyles: n } = gt(e);
74992
75010
  e.labelStyle = r;
74993
- const { shapeSvg: i, bbox: a } = await Bt(t, e, Pt(e)), s = 100, o = 50, l = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), c = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), h = l / c;
75011
+ const { shapeSvg: i, bbox: a } = await Bt(t, e, Rt(e)), s = 100, o = 50, l = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), c = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), h = l / c;
74994
75012
  let u = l, f = c;
74995
75013
  u > f * h ? f = u / h : u = f * h, u = Math.max(u, s), f = Math.max(f, o);
74996
75014
  const d = Math.min(f * 0.2, f / 4), p = f + d * 2, { cssStyles: g } = e, m = dt.svg(i), v = pt(e, {});
@@ -75009,7 +75027,7 @@ F(Bee, "waveRectangle");
75009
75027
  async function Fee(t, e) {
75010
75028
  const { labelStyles: r, nodeStyles: n } = gt(e);
75011
75029
  e.labelStyle = r;
75012
- const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Pt(e)), o = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), l = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), c = 5, h = -o / 2, u = -l / 2, { cssStyles: f } = e, d = dt.svg(i), p = pt(e, {}), g = [
75030
+ const { shapeSvg: i, bbox: a, label: s } = await Bt(t, e, Rt(e)), o = Math.max(a.width + (e.padding ?? 0) * 2, e?.width ?? 0), l = Math.max(a.height + (e.padding ?? 0) * 2, e?.height ?? 0), c = 5, h = -o / 2, u = -l / 2, { cssStyles: f } = e, d = dt.svg(i), p = pt(e, {}), g = [
75013
75031
  { x: h - c, y: u - c },
75014
75032
  { x: h - c, y: u + l },
75015
75033
  { x: h + o, y: u + l },
@@ -75058,7 +75076,7 @@ async function oM(t, e) {
75058
75076
  return j;
75059
75077
  }
75060
75078
  n.htmlLabels || (i *= 1.25, a *= 1.25);
75061
- let c = Pt(e);
75079
+ let c = Rt(e);
75062
75080
  c || (c = "node default");
75063
75081
  const h = t.insert("g").attr("class", c).attr("id", e.domId || e.id), u = await og(h, e.label ?? "", n, 0, 0, ["name"], o);
75064
75082
  u.height += a;
@@ -75205,7 +75223,7 @@ async function og(t, e, r, n = 0, i = 0, a = [], s = "") {
75205
75223
  }
75206
75224
  F(og, "addText");
75207
75225
  async function $ee(t, e, r, n, i = r.class.padding ?? 12) {
75208
- const a = n ? 0 : 3, s = t.insert("g").attr("class", Pt(e)).attr("id", e.domId || e.id);
75226
+ const a = n ? 0 : 3, s = t.insert("g").attr("class", Rt(e)).attr("id", e.domId || e.id);
75209
75227
  let o = null, l = null, c = null, h = null, u = 0, f = 0, d = 0;
75210
75228
  if (o = s.insert("g").attr("class", "annotation-group text"), e.annotations.length > 0) {
75211
75229
  const y = e.annotations[0];
@@ -75365,7 +75383,7 @@ F(zee, "classBox");
75365
75383
  async function Vee(t, e) {
75366
75384
  const { labelStyles: r, nodeStyles: n } = gt(e);
75367
75385
  e.labelStyle = r;
75368
- const i = e, a = e, s = 20, o = 20, l = "verifyMethod" in e, c = Pt(e), h = t.insert("g").attr("class", c).attr("id", e.domId ?? e.id);
75386
+ const i = e, a = e, s = 20, o = 20, l = "verifyMethod" in e, c = Rt(e), h = t.insert("g").attr("class", c).attr("id", e.domId ?? e.id);
75369
75387
  let u;
75370
75388
  l ? u = await Kl(
75371
75389
  h,
@@ -75501,7 +75519,7 @@ async function Uee(t, e, { config: r }) {
75501
75519
  shapeSvg: o,
75502
75520
  bbox: l,
75503
75521
  label: c
75504
- } = await Bt(t, e, Pt(e)), h = e.padding || 10;
75522
+ } = await Bt(t, e, Rt(e)), h = e.padding || 10;
75505
75523
  let u = "", f;
75506
75524
  "ticket" in e && e.ticket && r?.kanban?.ticketBaseUrl && (u = r?.kanban?.ticketBaseUrl.replace("#TICKET#", e.ticket), f = o.insert("svg:a", ":first-child").attr("class", "kanban-ticket-link").attr("xlink:href", u).attr("target", "_blank"));
75507
75525
  const d = {
@@ -75563,7 +75581,7 @@ async function jee(t, e) {
75563
75581
  const { shapeSvg: i, bbox: a, halfPadding: s, label: o } = await Bt(
75564
75582
  t,
75565
75583
  e,
75566
- Pt(e)
75584
+ Rt(e)
75567
75585
  ), l = a.width + 10 * s, c = a.height + 8 * s, h = 0.15 * l, { cssStyles: u } = e, f = a.width + 20, d = a.height + 20, p = Math.max(l, f), g = Math.max(c, d);
75568
75586
  o.attr("transform", `translate(${-a.width / 2}, ${-a.height / 2})`);
75569
75587
  let m;
@@ -75604,7 +75622,7 @@ async function Hee(t, e) {
75604
75622
  const { shapeSvg: i, bbox: a, halfPadding: s, label: o } = await Bt(
75605
75623
  t,
75606
75624
  e,
75607
- Pt(e)
75625
+ Rt(e)
75608
75626
  ), l = a.width + 2 * s, c = a.height + 2 * s, h = 0.15 * l, u = 0.25 * l, f = 0.35 * l, d = 0.2 * l, { cssStyles: p } = e;
75609
75627
  let g;
75610
75628
  const m = `M0 0
@@ -75640,7 +75658,7 @@ async function Gee(t, e) {
75640
75658
  const { shapeSvg: i, bbox: a, halfPadding: s, label: o } = await Bt(
75641
75659
  t,
75642
75660
  e,
75643
- Pt(e)
75661
+ Rt(e)
75644
75662
  ), l = a.width + 8 * s, c = a.height + 2 * s, h = 5, u = `
75645
75663
  M${-l / 2} ${c / 2 - h}
75646
75664
  v${-c + 2 * h}
@@ -76633,11 +76651,11 @@ var H4e = /* @__PURE__ */ F((t, e, r, n) => {
76633
76651
  Jee([
76634
76652
  {
76635
76653
  name: "dagre",
76636
- loader: /* @__PURE__ */ F(async () => await import("./dagre-6UL2VRFP-DiGuen8o.js"), "loader")
76654
+ loader: /* @__PURE__ */ F(async () => await import("./dagre-6UL2VRFP-D9qA8W_M.js"), "loader")
76637
76655
  },
76638
76656
  {
76639
76657
  name: "cose-bilkent",
76640
- loader: /* @__PURE__ */ F(async () => await import("./cose-bilkent-S5V4N54A-BCr4lvQw.js"), "loader")
76658
+ loader: /* @__PURE__ */ F(async () => await import("./cose-bilkent-S5V4N54A-DXskg2h5.js"), "loader")
76641
76659
  }
76642
76660
  ]);
76643
76661
  }, "registerDefaultLayoutLoaders");
@@ -76984,119 +77002,119 @@ function TF(t) {
76984
77002
  return !0;
76985
77003
  }
76986
77004
  var ate = "c4", VEe = /* @__PURE__ */ F((t) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t), "detector"), UEe = /* @__PURE__ */ F(async () => {
76987
- const { diagram: t } = await import("./c4Diagram-YG6GDRKO-BL2z8jks.js");
77005
+ const { diagram: t } = await import("./c4Diagram-YG6GDRKO-DwKnfpPX.js");
76988
77006
  return { id: ate, diagram: t };
76989
77007
  }, "loader"), jEe = {
76990
77008
  id: ate,
76991
77009
  detector: VEe,
76992
77010
  loader: UEe
76993
77011
  }, HEe = jEe, ste = "flowchart", GEe = /* @__PURE__ */ F((t, e) => e?.flowchart?.defaultRenderer === "dagre-wrapper" || e?.flowchart?.defaultRenderer === "elk" ? !1 : /^\s*graph/.test(t), "detector"), WEe = /* @__PURE__ */ F(async () => {
76994
- const { diagram: t } = await import("./flowDiagram-NV44I4VS-Dz-KSznr.js");
77012
+ const { diagram: t } = await import("./flowDiagram-NV44I4VS-CkVtlpb1.js");
76995
77013
  return { id: ste, diagram: t };
76996
77014
  }, "loader"), qEe = {
76997
77015
  id: ste,
76998
77016
  detector: GEe,
76999
77017
  loader: WEe
77000
77018
  }, XEe = qEe, ote = "flowchart-v2", YEe = /* @__PURE__ */ F((t, e) => e?.flowchart?.defaultRenderer === "dagre-d3" ? !1 : (e?.flowchart?.defaultRenderer === "elk" && (e.layout = "elk"), /^\s*graph/.test(t) && e?.flowchart?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(t)), "detector"), KEe = /* @__PURE__ */ F(async () => {
77001
- const { diagram: t } = await import("./flowDiagram-NV44I4VS-Dz-KSznr.js");
77019
+ const { diagram: t } = await import("./flowDiagram-NV44I4VS-CkVtlpb1.js");
77002
77020
  return { id: ote, diagram: t };
77003
77021
  }, "loader"), ZEe = {
77004
77022
  id: ote,
77005
77023
  detector: YEe,
77006
77024
  loader: KEe
77007
77025
  }, JEe = ZEe, lte = "er", QEe = /* @__PURE__ */ F((t) => /^\s*erDiagram/.test(t), "detector"), eIe = /* @__PURE__ */ F(async () => {
77008
- const { diagram: t } = await import("./erDiagram-Q2GNP2WA-DKQN--pO.js");
77026
+ const { diagram: t } = await import("./erDiagram-Q2GNP2WA-Bgoq_bqv.js");
77009
77027
  return { id: lte, diagram: t };
77010
77028
  }, "loader"), tIe = {
77011
77029
  id: lte,
77012
77030
  detector: QEe,
77013
77031
  loader: eIe
77014
77032
  }, rIe = tIe, cte = "gitGraph", nIe = /* @__PURE__ */ F((t) => /^\s*gitGraph/.test(t), "detector"), iIe = /* @__PURE__ */ F(async () => {
77015
- const { diagram: t } = await import("./gitGraphDiagram-NY62KEGX-Bi_Asw0E.js");
77033
+ const { diagram: t } = await import("./gitGraphDiagram-NY62KEGX-xEO48iSt.js");
77016
77034
  return { id: cte, diagram: t };
77017
77035
  }, "loader"), aIe = {
77018
77036
  id: cte,
77019
77037
  detector: nIe,
77020
77038
  loader: iIe
77021
77039
  }, sIe = aIe, hte = "gantt", oIe = /* @__PURE__ */ F((t) => /^\s*gantt/.test(t), "detector"), lIe = /* @__PURE__ */ F(async () => {
77022
- const { diagram: t } = await import("./ganttDiagram-JELNMOA3-vpXPEubp.js");
77040
+ const { diagram: t } = await import("./ganttDiagram-JELNMOA3-CuLaYQf0.js");
77023
77041
  return { id: hte, diagram: t };
77024
77042
  }, "loader"), cIe = {
77025
77043
  id: hte,
77026
77044
  detector: oIe,
77027
77045
  loader: lIe
77028
77046
  }, hIe = cIe, ute = "info", uIe = /* @__PURE__ */ F((t) => /^\s*info/.test(t), "detector"), fIe = /* @__PURE__ */ F(async () => {
77029
- const { diagram: t } = await import("./infoDiagram-WHAUD3N6-CSCBN5tX.js");
77047
+ const { diagram: t } = await import("./infoDiagram-WHAUD3N6-C90scuwy.js");
77030
77048
  return { id: ute, diagram: t };
77031
77049
  }, "loader"), dIe = {
77032
77050
  id: ute,
77033
77051
  detector: uIe,
77034
77052
  loader: fIe
77035
77053
  }, fte = "pie", pIe = /* @__PURE__ */ F((t) => /^\s*pie/.test(t), "detector"), gIe = /* @__PURE__ */ F(async () => {
77036
- const { diagram: t } = await import("./pieDiagram-ADFJNKIX-D9KBPtFd.js");
77054
+ const { diagram: t } = await import("./pieDiagram-ADFJNKIX-BxUbC9l8.js");
77037
77055
  return { id: fte, diagram: t };
77038
77056
  }, "loader"), mIe = {
77039
77057
  id: fte,
77040
77058
  detector: pIe,
77041
77059
  loader: gIe
77042
77060
  }, dte = "quadrantChart", vIe = /* @__PURE__ */ F((t) => /^\s*quadrantChart/.test(t), "detector"), yIe = /* @__PURE__ */ F(async () => {
77043
- const { diagram: t } = await import("./quadrantDiagram-AYHSOK5B-DUT2Rl8x.js");
77061
+ const { diagram: t } = await import("./quadrantDiagram-AYHSOK5B-CSMj8GIM.js");
77044
77062
  return { id: dte, diagram: t };
77045
77063
  }, "loader"), xIe = {
77046
77064
  id: dte,
77047
77065
  detector: vIe,
77048
77066
  loader: yIe
77049
77067
  }, bIe = xIe, pte = "xychart", wIe = /* @__PURE__ */ F((t) => /^\s*xychart(-beta)?/.test(t), "detector"), _Ie = /* @__PURE__ */ F(async () => {
77050
- const { diagram: t } = await import("./xychartDiagram-PRI3JC2R-DB9ciy0L.js");
77068
+ const { diagram: t } = await import("./xychartDiagram-PRI3JC2R-DE3JLfFh.js");
77051
77069
  return { id: pte, diagram: t };
77052
77070
  }, "loader"), SIe = {
77053
77071
  id: pte,
77054
77072
  detector: wIe,
77055
77073
  loader: _Ie
77056
77074
  }, CIe = SIe, gte = "requirement", AIe = /* @__PURE__ */ F((t) => /^\s*requirement(Diagram)?/.test(t), "detector"), TIe = /* @__PURE__ */ F(async () => {
77057
- const { diagram: t } = await import("./requirementDiagram-UZGBJVZJ-DXSbD_Ta.js");
77075
+ const { diagram: t } = await import("./requirementDiagram-UZGBJVZJ-DG24BLJ0.js");
77058
77076
  return { id: gte, diagram: t };
77059
77077
  }, "loader"), kIe = {
77060
77078
  id: gte,
77061
77079
  detector: AIe,
77062
77080
  loader: TIe
77063
77081
  }, EIe = kIe, mte = "sequence", IIe = /* @__PURE__ */ F((t) => /^\s*sequenceDiagram/.test(t), "detector"), DIe = /* @__PURE__ */ F(async () => {
77064
- const { diagram: t } = await import("./sequenceDiagram-WL72ISMW-UyYyA-mB.js");
77082
+ const { diagram: t } = await import("./sequenceDiagram-WL72ISMW-Dxk_KPJp.js");
77065
77083
  return { id: mte, diagram: t };
77066
77084
  }, "loader"), MIe = {
77067
77085
  id: mte,
77068
77086
  detector: IIe,
77069
77087
  loader: DIe
77070
77088
  }, LIe = MIe, vte = "class", PIe = /* @__PURE__ */ F((t, e) => e?.class?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(t), "detector"), RIe = /* @__PURE__ */ F(async () => {
77071
- const { diagram: t } = await import("./classDiagram-2ON5EDUG-D_eU_a8Q.js");
77089
+ const { diagram: t } = await import("./classDiagram-2ON5EDUG-B0aIBEeJ.js");
77072
77090
  return { id: vte, diagram: t };
77073
77091
  }, "loader"), NIe = {
77074
77092
  id: vte,
77075
77093
  detector: PIe,
77076
77094
  loader: RIe
77077
77095
  }, OIe = NIe, yte = "classDiagram", BIe = /* @__PURE__ */ F((t, e) => /^\s*classDiagram/.test(t) && e?.class?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(t), "detector"), FIe = /* @__PURE__ */ F(async () => {
77078
- const { diagram: t } = await import("./classDiagram-v2-WZHVMYZB-D_eU_a8Q.js");
77096
+ const { diagram: t } = await import("./classDiagram-v2-WZHVMYZB-B0aIBEeJ.js");
77079
77097
  return { id: yte, diagram: t };
77080
77098
  }, "loader"), $Ie = {
77081
77099
  id: yte,
77082
77100
  detector: BIe,
77083
77101
  loader: FIe
77084
77102
  }, zIe = $Ie, xte = "state", VIe = /* @__PURE__ */ F((t, e) => e?.state?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(t), "detector"), UIe = /* @__PURE__ */ F(async () => {
77085
- const { diagram: t } = await import("./stateDiagram-FKZM4ZOC-D3maNIuM.js");
77103
+ const { diagram: t } = await import("./stateDiagram-FKZM4ZOC-C0gbJg3B.js");
77086
77104
  return { id: xte, diagram: t };
77087
77105
  }, "loader"), jIe = {
77088
77106
  id: xte,
77089
77107
  detector: VIe,
77090
77108
  loader: UIe
77091
77109
  }, HIe = jIe, bte = "stateDiagram", GIe = /* @__PURE__ */ F((t, e) => !!(/^\s*stateDiagram-v2/.test(t) || /^\s*stateDiagram/.test(t) && e?.state?.defaultRenderer === "dagre-wrapper"), "detector"), WIe = /* @__PURE__ */ F(async () => {
77092
- const { diagram: t } = await import("./stateDiagram-v2-4FDKWEC3-DJngcsqk.js");
77110
+ const { diagram: t } = await import("./stateDiagram-v2-4FDKWEC3-go31O8FD.js");
77093
77111
  return { id: bte, diagram: t };
77094
77112
  }, "loader"), qIe = {
77095
77113
  id: bte,
77096
77114
  detector: GIe,
77097
77115
  loader: WIe
77098
77116
  }, XIe = qIe, wte = "journey", YIe = /* @__PURE__ */ F((t) => /^\s*journey/.test(t), "detector"), KIe = /* @__PURE__ */ F(async () => {
77099
- const { diagram: t } = await import("./journeyDiagram-XKPGCS4Q-DHifSiB3.js");
77117
+ const { diagram: t } = await import("./journeyDiagram-XKPGCS4Q-DtTjRLGF.js");
77100
77118
  return { id: wte, diagram: t };
77101
77119
  }, "loader"), ZIe = {
77102
77120
  id: wte,
@@ -77137,70 +77155,70 @@ var ate = "c4", VEe = /* @__PURE__ */ F((t) => /^\s*C4Context|C4Container|C4Comp
77137
77155
  /^\s*flowchart-elk/.test(t) || // If a flowchart/graph diagram has their default renderer set to elk
77138
77156
  /^\s*(flowchart|graph)/.test(t) && e?.flowchart?.defaultRenderer === "elk" ? (e.layout = "elk", !0) : !1
77139
77157
  ), "detector"), iDe = /* @__PURE__ */ F(async () => {
77140
- const { diagram: t } = await import("./flowDiagram-NV44I4VS-Dz-KSznr.js");
77158
+ const { diagram: t } = await import("./flowDiagram-NV44I4VS-CkVtlpb1.js");
77141
77159
  return { id: Ste, diagram: t };
77142
77160
  }, "loader"), aDe = {
77143
77161
  id: Ste,
77144
77162
  detector: nDe,
77145
77163
  loader: iDe
77146
77164
  }, sDe = aDe, Cte = "timeline", oDe = /* @__PURE__ */ F((t) => /^\s*timeline/.test(t), "detector"), lDe = /* @__PURE__ */ F(async () => {
77147
- const { diagram: t } = await import("./timeline-definition-IT6M3QCI-CqwKEJ8F.js");
77165
+ const { diagram: t } = await import("./timeline-definition-IT6M3QCI-B9uKNHBu.js");
77148
77166
  return { id: Cte, diagram: t };
77149
77167
  }, "loader"), cDe = {
77150
77168
  id: Cte,
77151
77169
  detector: oDe,
77152
77170
  loader: lDe
77153
77171
  }, hDe = cDe, Ate = "mindmap", uDe = /* @__PURE__ */ F((t) => /^\s*mindmap/.test(t), "detector"), fDe = /* @__PURE__ */ F(async () => {
77154
- const { diagram: t } = await import("./mindmap-definition-VGOIOE7T-DF0ri-Fg.js");
77172
+ const { diagram: t } = await import("./mindmap-definition-VGOIOE7T-CPcOt-b_.js");
77155
77173
  return { id: Ate, diagram: t };
77156
77174
  }, "loader"), dDe = {
77157
77175
  id: Ate,
77158
77176
  detector: uDe,
77159
77177
  loader: fDe
77160
77178
  }, pDe = dDe, Tte = "kanban", gDe = /* @__PURE__ */ F((t) => /^\s*kanban/.test(t), "detector"), mDe = /* @__PURE__ */ F(async () => {
77161
- const { diagram: t } = await import("./kanban-definition-3W4ZIXB7-DTyVvgoI.js");
77179
+ const { diagram: t } = await import("./kanban-definition-3W4ZIXB7-CB1DAiMa.js");
77162
77180
  return { id: Tte, diagram: t };
77163
77181
  }, "loader"), vDe = {
77164
77182
  id: Tte,
77165
77183
  detector: gDe,
77166
77184
  loader: mDe
77167
77185
  }, yDe = vDe, kte = "sankey", xDe = /* @__PURE__ */ F((t) => /^\s*sankey(-beta)?/.test(t), "detector"), bDe = /* @__PURE__ */ F(async () => {
77168
- const { diagram: t } = await import("./sankeyDiagram-TZEHDZUN-K8NL1p-T.js");
77186
+ const { diagram: t } = await import("./sankeyDiagram-TZEHDZUN-DG-reF4M.js");
77169
77187
  return { id: kte, diagram: t };
77170
77188
  }, "loader"), wDe = {
77171
77189
  id: kte,
77172
77190
  detector: xDe,
77173
77191
  loader: bDe
77174
77192
  }, _De = wDe, Ete = "packet", SDe = /* @__PURE__ */ F((t) => /^\s*packet(-beta)?/.test(t), "detector"), CDe = /* @__PURE__ */ F(async () => {
77175
- const { diagram: t } = await import("./diagram-S2PKOQOG-Bn7lX8oM.js");
77193
+ const { diagram: t } = await import("./diagram-S2PKOQOG-r10JYxLE.js");
77176
77194
  return { id: Ete, diagram: t };
77177
77195
  }, "loader"), ADe = {
77178
77196
  id: Ete,
77179
77197
  detector: SDe,
77180
77198
  loader: CDe
77181
77199
  }, Ite = "radar", TDe = /* @__PURE__ */ F((t) => /^\s*radar-beta/.test(t), "detector"), kDe = /* @__PURE__ */ F(async () => {
77182
- const { diagram: t } = await import("./diagram-QEK2KX5R-BO1T-mcu.js");
77200
+ const { diagram: t } = await import("./diagram-QEK2KX5R-DeN9qknU.js");
77183
77201
  return { id: Ite, diagram: t };
77184
77202
  }, "loader"), EDe = {
77185
77203
  id: Ite,
77186
77204
  detector: TDe,
77187
77205
  loader: kDe
77188
77206
  }, Dte = "block", IDe = /* @__PURE__ */ F((t) => /^\s*block(-beta)?/.test(t), "detector"), DDe = /* @__PURE__ */ F(async () => {
77189
- const { diagram: t } = await import("./blockDiagram-VD42YOAC-DqJ1Ct6J.js");
77207
+ const { diagram: t } = await import("./blockDiagram-VD42YOAC-BQ9bZGIn.js");
77190
77208
  return { id: Dte, diagram: t };
77191
77209
  }, "loader"), MDe = {
77192
77210
  id: Dte,
77193
77211
  detector: IDe,
77194
77212
  loader: DDe
77195
77213
  }, LDe = MDe, Mte = "architecture", PDe = /* @__PURE__ */ F((t) => /^\s*architecture/.test(t), "detector"), RDe = /* @__PURE__ */ F(async () => {
77196
- const { diagram: t } = await import("./architectureDiagram-VXUJARFQ-C6rBi8R_.js");
77214
+ const { diagram: t } = await import("./architectureDiagram-VXUJARFQ-M_BHZhsv.js");
77197
77215
  return { id: Mte, diagram: t };
77198
77216
  }, "loader"), NDe = {
77199
77217
  id: Mte,
77200
77218
  detector: PDe,
77201
77219
  loader: RDe
77202
77220
  }, ODe = NDe, Lte = "treemap", BDe = /* @__PURE__ */ F((t) => /^\s*treemap/.test(t), "detector"), FDe = /* @__PURE__ */ F(async () => {
77203
- const { diagram: t } = await import("./diagram-PSM6KHXK-CHtBlsRG.js");
77221
+ const { diagram: t } = await import("./diagram-PSM6KHXK-DkPAKJhs.js");
77204
77222
  return { id: Lte, diagram: t };
77205
77223
  }, "loader"), $De = {
77206
77224
  id: Lte,
@@ -77704,7 +77722,7 @@ const Xte = (t) => {
77704
77722
  }
77705
77723
  return null;
77706
77724
  }, Vrt = ({ data: t }) => {
77707
- const [e, r] = Be(""), n = Nt(`mermaid-chart-${qte()}`);
77725
+ const [e, r] = Be(""), n = Pt(`mermaid-chart-${qte()}`);
77708
77726
  At(() => {
77709
77727
  (async () => {
77710
77728
  const s = t.children?.map(Xte).find((o) => o) ?? null;
@@ -125358,7 +125376,7 @@ Lt(ftt);
125358
125376
  Lt(dtt);
125359
125377
  Lt(JUe);
125360
125378
  const jrt = ({ data: t }) => {
125361
- const e = Nt(null), r = Nt(null), n = Nt(`echarts-${qte()}`), i = Qt(
125379
+ const e = Pt(null), r = Pt(null), n = Pt(`echarts-${qte()}`), i = Qt(
125362
125380
  (a) => {
125363
125381
  if (a?.obj?.k)
125364
125382
  try {
@@ -125683,7 +125701,7 @@ const wtt = (t) => t ? ytt[t] : "status", f_ = {
125683
125701
  ] });
125684
125702
  };
125685
125703
  function Ctt(t = {}) {
125686
- const { onStart: e, onEnd: r, onError: n, onResult: i, lang: a } = t, s = Nt(null), [o, l] = Be(!1), [c, h] = Be(""), u = Qt(() => {
125704
+ const { onStart: e, onEnd: r, onError: n, onResult: i, lang: a } = t, s = Pt(null), [o, l] = Be(!1), [c, h] = Be(""), u = Qt(() => {
125687
125705
  if (typeof window > "u") return;
125688
125706
  const m = window;
125689
125707
  return m.SpeechRecognition || m.webkitSpeechRecognition;
@@ -125903,11 +125921,11 @@ const Ttt = (t) => {
125903
125921
  typingDots: Wi["smp-chat-typingDots"],
125904
125922
  typingSpinner: Wi["smp-chat-typingSpinner"],
125905
125923
  wrapper: `${Wi["smp-chat-wrapper"]} ${Wi["smp-chat-wrapper-" + a]}`
125906
- }, [b, w] = Be([]), [_, S] = Be(""), [C, T] = Be(!1), A = Nt(null), k = Nt(b);
125924
+ }, [b, w] = Be([]), [_, S] = Be(""), [C, T] = Be(!1), A = Pt(null), k = Pt(b);
125907
125925
  KW(A, ($, N) => {
125908
125926
  d?.($, N);
125909
125927
  });
125910
- const I = Nt(!1), E = Nt(f);
125928
+ const I = Pt(!1), E = Pt(f);
125911
125929
  At(() => {
125912
125930
  E.current = f;
125913
125931
  }, [f]), At(() => {
@@ -125927,7 +125945,7 @@ const Ttt = (t) => {
125927
125945
  }
125928
125946
  }
125929
125947
  }, []);
125930
- const M = Nt(u);
125948
+ const M = Pt(u);
125931
125949
  At(() => {
125932
125950
  M.current = u;
125933
125951
  }, [u]), At(() => () => {