@doenet/doenetml 0.6.0-alpha3 → 0.6.0-alpha5

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 (119) hide show
  1. package/dist/{ActionButtonGroup-f9a56616.js → ActionButtonGroup-cce60f98.js} +15 -16
  2. package/dist/{ToggleButton-8da16cc2.js → ToggleButton-67a72bb5.js} +7 -8
  3. package/dist/alert-33a70a3d.js +12 -0
  4. package/dist/{angle-40d0f6e5.js → angle-27255fe0.js} +4 -7
  5. package/dist/{answer-5f1c4979.js → answer-2afd88fa.js} +22 -24
  6. package/dist/{asList-c80d2031.js → asList-b1a434a8.js} +5 -7
  7. package/dist/blockQuote-8da178e1.js +22 -0
  8. package/dist/boolean-b742fe48.js +12 -0
  9. package/dist/{booleanInput-45df7ed1.js → booleanInput-9a61bf21.js} +13 -15
  10. package/dist/booleanInput.css +1 -0
  11. package/dist/{button-9c4d0fd2.js → button-0f49bac0.js} +15 -18
  12. package/dist/c-f11cfb55.js +12 -0
  13. package/dist/callAction-45217748.js +12 -0
  14. package/dist/{cell-fcd153d3.js → cell-0e133fa0.js} +5 -7
  15. package/dist/{chart-3891d729.js → chart-3fb05dec.js} +15 -17
  16. package/dist/{choiceInput-8b419109.js → choiceInput-06f9fe0d.js} +42 -43
  17. package/dist/choiceInput.css +1 -0
  18. package/dist/{circle-4ade8a0f.js → circle-58b448e4.js} +4 -7
  19. package/dist/{cobwebPolyline-18a1467d.js → cobwebPolyline-97c318ac.js} +4 -7
  20. package/dist/{codeEditor-af9a5cf1.js → codeEditor-a6457ef2.js} +19 -21
  21. package/dist/{codeViewer-df817eee.js → codeViewer-861c4813.js} +7 -9
  22. package/dist/containerBlock-c729c3c7.js +22 -0
  23. package/dist/containerInline-5f5c3422.js +12 -0
  24. package/dist/{contentBrowser-470db41c.js → contentBrowser-df4ee62e.js} +14 -16
  25. package/dist/{contentPicker-ecce4a79.js → contentPicker-d3e4b364.js} +9 -11
  26. package/dist/{curve-a6592419.js → curve-17572fc3.js} +4 -7
  27. package/dist/doenetml.js +15 -18
  28. package/dist/ellipsis-28863ba2.js +12 -0
  29. package/dist/em-65a27a36.js +12 -0
  30. package/dist/{embed-9bc2c461.js → embed-b47e5ea5.js} +9 -11
  31. package/dist/{feedback-a590c58f.js → feedback-3bbde9f2.js} +16 -18
  32. package/dist/{figure-a5ce1591.js → figure-7d10aba0.js} +3 -5
  33. package/dist/{footnote-5396cb55.js → footnote-c70ce2c5.js} +7 -9
  34. package/dist/{graph-102e9613.js → graph-d69449f2.js} +1 -3
  35. package/dist/{hint-5886a633.js → hint-c8e96cfa.js} +19 -21
  36. package/dist/{image-8e043789.js → image-19660806.js} +4 -6
  37. package/dist/{index-d3e0f79a.js → index-7481592c.js} +1 -1
  38. package/dist/{index-85d4fdb6.js → index-7912373f.js} +89797 -88659
  39. package/dist/{index-7998d090.js → index-9317ebc1.js} +1 -1
  40. package/dist/index.css +1 -0
  41. package/dist/{label-cdd6d4a5.js → label-b9c6a62a.js} +19 -22
  42. package/dist/{legend-52744e3c.js → legend-1fd4a6df.js} +8 -11
  43. package/dist/{line-c3fbafa6.js → line-d9273eb3.js} +17 -20
  44. package/dist/{lineSegment-ef21d787.js → lineSegment-d8c96e17.js} +4 -7
  45. package/dist/{list-4aecfe4d.js → list-f0b49f78.js} +11 -13
  46. package/dist/{lq-3b39cf5b.js → lq-90e8a033.js} +1 -3
  47. package/dist/lsq-8cac08e0.js +9 -0
  48. package/dist/{math-4beb47d1.js → math-8f654445.js} +4 -7
  49. package/dist/{mathInput-a8cc60be.js → mathInput-dbd1ba40.js} +6 -9
  50. package/dist/mathInput.css +1 -0
  51. package/dist/{mathInputog-1303492b.js → mathInputog-6d84c7f3.js} +2 -3
  52. package/dist/{mathList-dcb3e340.js → mathList-b458bb31.js} +9 -11
  53. package/dist/{matrixInput-f4bdc517.js → matrixInput-f651b375.js} +6 -9
  54. package/dist/mdash-6806bcce.js +9 -0
  55. package/dist/nbsp-fcc79f6e.js +9 -0
  56. package/dist/ndash-c720354c.js +9 -0
  57. package/dist/{number-6f1f3643.js → number-79d34feb.js} +4 -7
  58. package/dist/{numberList-a696789a.js → numberList-d50ce33a.js} +6 -8
  59. package/dist/{orbitalDiagram-b00c95a2.js → orbitalDiagram-4b563b6b.js} +32 -34
  60. package/dist/{orbitalDiagramInput-59420ea8.js → orbitalDiagramInput-76732581.js} +11 -13
  61. package/dist/p-5232cada.js +22 -0
  62. package/dist/{paginatorControls-f758f5a8.js → paginatorControls-b70730d0.js} +4 -6
  63. package/dist/{pegboard-9795cd51.js → pegboard-79f9c901.js} +14 -17
  64. package/dist/{point-545ffb65.js → point-d3f0e709.js} +4 -7
  65. package/dist/{polygon-fc4843a1.js → polygon-451f6aab.js} +4 -7
  66. package/dist/{polyline-7551a56f.js → polyline-b8610944.js} +4 -7
  67. package/dist/pre-f5c6b49a.js +22 -0
  68. package/dist/q-ea153de6.js +14 -0
  69. package/dist/{ray-782ed614.js → ray-8ebc8e35.js} +19 -22
  70. package/dist/{ref-08765c0f.js → ref-3f4e54aa.js} +18 -20
  71. package/dist/{regionBetweenCurveXAxis-fb8a3c9c.js → regionBetweenCurveXAxis-fa31ef83.js} +9 -12
  72. package/dist/{renderDoenetML-3a37978d.js → renderDoenetML-5fbe5a5f.js} +4 -6
  73. package/dist/{row-6e13f678.js → row-3a111c29.js} +5 -7
  74. package/dist/{rq-e36238a4.js → rq-be748d03.js} +3 -5
  75. package/dist/rsq-2ec34103.js +9 -0
  76. package/dist/{section-4746da87.js → section-5a53d600.js} +32 -34
  77. package/dist/{sideBySide-247e2dc5.js → sideBySide-8b21239b.js} +7 -9
  78. package/dist/{slider-e55a8838.js → slider-bc9bd636.js} +36 -38
  79. package/dist/{solution-ed56d868.js → solution-61675899.js} +26 -28
  80. package/dist/{spreadsheet-5cf21f01.js → spreadsheet-8f61699e.js} +10214 -10214
  81. package/dist/spreadsheet.css +41 -0
  82. package/dist/sq-08ee83a3.js +14 -0
  83. package/dist/{subsetOfRealsInput-e55e5c2b.js → subsetOfRealsInput-a151c105.js} +46 -48
  84. package/dist/{summaryStatistics-42f1a384.js → summaryStatistics-dc26ed99.js} +6 -8
  85. package/dist/{table-d99a11f9.js → table-48b11b9c.js} +9 -11
  86. package/dist/{tabular-398150dd.js → tabular-f3c4f0f4.js} +7 -9
  87. package/dist/tag-7ef067e8.js +17 -0
  88. package/dist/{text-00615612.js → text-bc66e68e.js} +50 -53
  89. package/dist/{textInput-26b3e2e2.js → textInput-cb97b103.js} +28 -30
  90. package/dist/textList-4fa2b394.js +20 -0
  91. package/dist/{triggerSet-d62aa283.js → triggerSet-47fe087c.js} +7 -9
  92. package/dist/updateValue-2620a937.js +20 -0
  93. package/dist/{vector-9d0a33ff.js → vector-1aaf00e9.js} +4 -7
  94. package/dist/{video-e7fd83ab.js → video-7b44cfcf.js} +14 -16
  95. package/package.json +6 -9
  96. package/dist/alert-e14bfd03.js +0 -14
  97. package/dist/blockQuote-71c980cc.js +0 -24
  98. package/dist/boolean-5855f758.js +0 -14
  99. package/dist/c-18bd5f9e.js +0 -14
  100. package/dist/callAction-13bd9520.js +0 -14
  101. package/dist/containerBlock-4624186b.js +0 -24
  102. package/dist/containerInline-44e4a079.js +0 -14
  103. package/dist/doenetml.umd.cjs +0 -20897
  104. package/dist/ellipsis-b157c3ba.js +0 -14
  105. package/dist/em-f951d01a.js +0 -14
  106. package/dist/lsq-5ad1e572.js +0 -11
  107. package/dist/mathInput-4ed993c7.js +0 -1
  108. package/dist/mdash-e8d37006.js +0 -11
  109. package/dist/nbsp-0a9573c6.js +0 -11
  110. package/dist/ndash-cb0f855e.js +0 -11
  111. package/dist/p-bbad4c3a.js +0 -24
  112. package/dist/pre-976f6d04.js +0 -24
  113. package/dist/q-138ac8a8.js +0 -16
  114. package/dist/rsq-5d347142.js +0 -11
  115. package/dist/sq-9b3da9df.js +0 -16
  116. package/dist/style.css +0 -41
  117. package/dist/tag-499e57c1.js +0 -19
  118. package/dist/textList-34576ab3.js +0 -22
  119. package/dist/updateValue-59710b32.js +0 -22
@@ -1,4 +1,4 @@
1
- import { y as commonjsGlobal, p as browser$1, z as getDefaultExportFromCjs } from "./index-85d4fdb6.js";
1
+ import { z as commonjsGlobal, p as browser$1, A as getDefaultExportFromCjs } from "./index-7912373f.js";
2
2
  import React__default from "react";
3
3
  var reactMathquill$1 = { exports: {} }, reactMathquill_min = { exports: {} };
4
4
  /*! For license information please see react-mathquill.min.js.LICENSE.txt */
package/dist/index.css ADDED
@@ -0,0 +1 @@
1
+ @font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(../fonts/files/open-sans-v18-latin-regular.woff2) format("woff2"),url(../fonts/files/open-sans-v18-latin-regular.woff) format("woff")}@font-face{font-family:Open Sans;font-style:italic;font-weight:400;src:url(../fonts/files/open-sans-v18-latin-italic.woff2) format("woff2"),url(../fonts/files/open-sans-v18-latin-italic.woff) format("woff")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url(../fonts/files/open-sans-v18-latin-700.woff2) format("woff2"),url(../fonts/files/open-sans-v18-latin-700.woff) format("woff")}@font-face{font-family:Open Sans;font-style:normal;font-weight:300;src:url(../fonts/files/open-sans-v18-latin-light.woff2) format("woff2"),url(../fonts/files/open-sans-v18-latin-light.woff) format("woff")}@font-face{font-family:Open Sans;font-style:italic;font-weight:300;src:url(../fonts/files/open-sans-v18-latin-light-italic.woff2) format("woff2"),url(../fonts/files/open-sans-v18-latin-light-italic.woff) format("woff")}@font-face{font-family:Open Sans;font-style:italic;font-weight:700;src:url(../fonts/files/open-sans-v18-latin-700italic.woff2) format("woff2"),url(../fonts/files/open-sans-v18-latin-700italic.woff) format("woff")}html{font-family:Open Sans!important;--menuWidth: 220px;--mainBlue: #1a5a99;--lightBlue: hsl(209, 54%, 82%);--solidLightBlue: #8fb8de;--mainGray: #e3e3e3;--donutBody: #eea177;--donutTopping: #6d4445;--mainBorder: 2px solid black;--mainBorderRadius: 5px;--mainRed: #c1292e;--lightRed: hsl(0, 54%, 82%);--mainGreen: #459152;--canvas: white;--canvastext: black;--lightGreen: #a6f19f;--lightYellow: #f5ed85;--whiteBlankLink: #6d4445;--mainYellow: #94610a;--mainPurple: #4a03d9}[data-theme=dark]{font-family:Open Sans!important;--menuWidth: 220px;--mainBlue: #1a5a99;--lightBlue: hsl(209, 54%, 82%);--solidLightBlue: #1a5a99;--mainGray: #a9a9a9;--donutBody: #eea177;--donutTopping: #6d4445;--mainBorder: 2px solid white;--mainBorderRadius: 5px;--mainRed: #c1292e;--lightRed: hsl(0, 54%, 82%);--mainGreen: #459152;--canvas: #121212;--canvastext: white;--lightGreen: #a6f19f;--lightYellow: #f5ed85;--whiteBlankLink: #a9abe5;--mainYellow: #efab34;--mainPurple: #4a03d9}.doenet-viewer{font-family:Open Sans!important;color:var(--canvastext)}.doenet-viewer h1{font-size:2em;font-weight:700}.doenet-viewer h2{font-size:1.5em;font-weight:700;margin-block-start:.83em;margin-block-end:.83em}.doenet-viewer h3{font-size:1.17em;font-weight:700;margin-block-start:1em;margin-block-end:1em}.doenet-viewer h4{font-weight:700;margin-block-start:1.33em;margin-block-end:1.33em}.doenet-viewer h5{font-size:.83em;font-weight:700;margin-block-start:1.67em;margin-block-end:1.67em}.doenet-viewer p{margin-block-start:1em;margin-block-end:1em}.doenet-viewer input{box-sizing:content-box;padding:2px 1px}div.jxgbox input{border-width:2px}div.jxgbox button{margin:0;border-radius:var(--mainBorderRadius);border-width:2px;border-color:var(--mainBlue);border-style:solid;padding:1px 6px;background-color:var(--mainBlue);color:#fff}div.jxgbox button:hover{background-color:var(--lightBlue);color:#000;border-color:var(--lightBlue)}div.jxgbox input[type=checkbox]{margin:3px 3px 3px 4px;height:18px;width:18px}.jxgbox{position:relative;overflow:hidden;background-color:#fff;border-style:solid;border-width:1px;border-color:#356aa0;border-radius:10px;margin:0;-webkit-border-radius:10px;-ms-touch-action:none}.jxgbox svg text{cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.JXGtext{font-family:Courier,monospace;background-color:transparent;padding:0;margin:0}.JXGinfobox{border-style:none;border-width:0;border-color:#000}.jxgbox :focus{outline-width:.5px;outline-style:dotted}.JXG_navigation{position:absolute;right:5px;bottom:5px;z-index:100;background-color:transparent;padding:2px;font-size:14px;cursor:pointer}.JXG_navigation_button{color:#666}.JXG_navigation_button:hover{border-radius:2px;background:rgba(184,184,184,.5)}.JXG_navigation_button svg{top:.2em;position:relative;padding:0}.JXG_wrap_private:-moz-full-screen{background-color:#ccc;padding:0;width:100%;height:100%}.JXG_wrap_private:-webkit-full-screen{background-color:#ccc;padding:0;width:100%;height:100%}.JXG_wrap_private:fullscreen{background-color:#ccc;padding:0;width:100%;height:100%}.JXG_wrap_private:-ms-fullscreen{background-color:#ccc;padding:0;width:100%;height:100%}
@@ -1,15 +1,12 @@
1
- import { u as le, d as ce, e as ie, C as H, g as I, j as F, t as ae, M as se } from "./index-85d4fdb6.js";
1
+ import { u as le, d as ce, e as ie, C as H, g as I, j as F, t as ae, M as se } from "./index-7912373f.js";
2
2
  import ue, { useRef as l, useContext as de, useEffect as W } from "react";
3
- import { BoardContext as fe, TEXT_LAYER_OFFSET as q } from "./graph-102e9613.js";
4
- import "react-dom";
5
- import "styled-components";
6
- import "./css-ab4d83ca.js";
7
- const ve = ue.memo(function K(Q) {
3
+ import { BoardContext as fe, TEXT_LAYER_OFFSET as q } from "./graph-d69449f2.js";
4
+ const ye = ue.memo(function K(Q) {
8
5
  let { name: S, id: D, SVs: r, children: he, actions: u, callAction: d } = le(Q);
9
6
  K.ignoreActionsWithoutCore = () => !0;
10
7
  let e = l(null), _ = l(null), A = l(null);
11
8
  const t = de(fe);
12
- let g = l(null), P = l(null), L = l(!1), X = l(!1), s = l(!1), f = l(null), h = l(null), B = l(null), j = l(null), b = l(!1), v = l(!1);
9
+ let y = l(null), P = l(null), L = l(!1), X = l(!1), s = l(!1), f = l(null), h = l(null), B = l(null), j = l(null), b = l(!1), v = l(!1);
13
10
  b.current = r.fixed, v.current = !r.draggable || r.fixLocation || r.fixed;
14
11
  const C = ce(ie);
15
12
  W(() => () => {
@@ -18,14 +15,14 @@ const ve = ue.memo(function K(Q) {
18
15
  t && t.on("move", N);
19
16
  }, [t]);
20
17
  function Z() {
21
- let i = C === "dark" ? r.selectedStyle.textColorDarkMode : r.selectedStyle.textColor, a = C === "dark" ? r.selectedStyle.backgroundColorDarkMode : r.selectedStyle.backgroundColor, y = "";
22
- a && (y += `background-color: ${a}`);
18
+ let i = C === "dark" ? r.selectedStyle.textColorDarkMode : r.selectedStyle.textColor, a = C === "dark" ? r.selectedStyle.backgroundColorDarkMode : r.selectedStyle.backgroundColor, m = "";
19
+ a && (m += `background-color: ${a}`);
23
20
  let p = {
24
21
  visible: !r.hidden,
25
22
  fixed: b.current,
26
23
  layer: 10 * r.layer + q,
27
- cssStyle: y,
28
- highlightCssStyle: y,
24
+ cssStyle: m,
25
+ highlightCssStyle: m,
29
26
  strokeColor: i,
30
27
  strokeOpacity: 1,
31
28
  highlightStrokeColor: i,
@@ -35,11 +32,11 @@ const ve = ue.memo(function K(Q) {
35
32
  parse: !1
36
33
  }, c;
37
34
  try {
38
- let n = H.fromAst(r.anchor), m = [
35
+ let n = H.fromAst(r.anchor), g = [
39
36
  n.get_component(0).evaluate_to_constant(),
40
37
  n.get_component(1).evaluate_to_constant()
41
38
  ];
42
- Number.isFinite(m[0]) || (m[0] = 0, p.visible = !1), Number.isFinite(m[1]) || (m[1] = 0, p.visible = !1), c = t.create("point", m, {
39
+ Number.isFinite(g[0]) || (g[0] = 0, p.visible = !1), Number.isFinite(g[1]) || (g[1] = 0, p.visible = !1), c = t.create("point", g, {
43
40
  visible: !1
44
41
  });
45
42
  } catch {
@@ -56,7 +53,7 @@ const ve = ue.memo(function K(Q) {
56
53
  p
57
54
  );
58
55
  o.isDraggable = !v.current, o.on("down", function(n) {
59
- g.current = [n.x, n.y], P.current = [...c.coords.scrCoords], s.current = !1, L.current = !0, X.current = !1, b.current || d({
56
+ y.current = [n.x, n.y], P.current = [...c.coords.scrCoords], s.current = !1, L.current = !0, X.current = !1, b.current || d({
60
57
  action: u.labelFocused,
61
58
  args: { name: S }
62
59
  // send name so get original name if adapted
@@ -88,16 +85,16 @@ const ve = ue.memo(function K(Q) {
88
85
  }
89
86
  }), s.current = !1);
90
87
  }), o.on("drag", function(n) {
91
- let m = n.type === "pointermove";
92
- (!m || Math.abs(n.x - g.current[0]) > 0.1 || Math.abs(n.y - g.current[1]) > 0.1) && (s.current = !0);
88
+ let g = n.type === "pointermove";
89
+ (!g || Math.abs(n.x - y.current[0]) > 0.1 || Math.abs(n.y - y.current[1]) > 0.1) && (s.current = !0);
93
90
  let [O, w, E, G] = t.getBoundingBox(), U = o.size[0] / t.unitX, Y = o.size[1] / t.unitY, z = A.current[0], V = A.current[1], M = 0;
94
91
  z === "middle" ? M = -U / 2 : z === "right" && (M = -U);
95
92
  let R = 0;
96
93
  V === "middle" ? R = -Y / 2 : V === "top" && (R = -Y);
97
94
  let re = O + 0.04 * (E - O) - M - U, te = E - 0.04 * (E - O) - M, ne = G + 0.04 * (w - G) - R - Y, oe = w - 0.04 * (w - G) - R;
98
- if (m) {
95
+ if (g) {
99
96
  var $ = t.origin.scrCoords;
100
- f.current = (P.current[1] + n.x - g.current[0] - $[1]) / t.unitX, h.current = ($[2] - (P.current[2] + n.y - g.current[1])) / t.unitY;
97
+ f.current = (P.current[1] + n.x - y.current[0] - $[1]) / t.unitX, h.current = ($[2] - (P.current[2] + n.y - y.current[1])) / t.unitY;
101
98
  } else
102
99
  f.current = c.X() + o.relativeCoords.usrCoords[1], h.current = c.Y() + o.relativeCoords.usrCoords[2];
103
100
  f.current = Math.min(
@@ -135,7 +132,7 @@ const ve = ue.memo(function K(Q) {
135
132
  }, 1e3);
136
133
  }
137
134
  function N(i) {
138
- L.current && (Math.abs(i.x - g.current[0]) > 0.1 || Math.abs(i.y - g.current[1]) > 0.1) && (X.current = !0);
135
+ L.current && (Math.abs(i.x - y.current[0]) > 0.1 || Math.abs(i.y - y.current[1]) > 0.1) && (X.current = !0);
139
136
  }
140
137
  function ee() {
141
138
  e.current.off("drag"), e.current.off("down"), e.current.off("hit"), e.current.off("up"), e.current.off("keyfocusout"), e.current.off("keydown"), t.removeObject(e.current), e.current = null;
@@ -167,8 +164,8 @@ const ve = ue.memo(function K(Q) {
167
164
  e.current.visProp.visible = a, e.current.visPropCalc.visible = a, o && e.current.setAttribute({ visible: a });
168
165
  } else
169
166
  e.current.visProp.visible = !1, e.current.visPropCalc.visible = !1;
170
- let y = 10 * r.layer + q;
171
- e.current.visProp.layer !== y && e.current.setAttribute({ layer: y });
167
+ let m = 10 * r.layer + q;
168
+ e.current.visProp.layer !== m && e.current.setAttribute({ layer: m });
172
169
  let c = C === "dark" ? r.selectedStyle.textColorDarkMode : r.selectedStyle.textColor, k = C === "dark" ? r.selectedStyle.backgroundColorDarkMode : r.selectedStyle.backgroundColor, x = "";
173
170
  if (k ? x += `background-color: ${k}` : x += "background-color: transparent", e.current.visProp.strokecolor !== c && (e.current.visProp.strokecolor = c, e.current.visProp.highlightstrokecolor = c), e.current.visProp.cssstyle !== x && (e.current.visProp.cssstyle = x, e.current.visProp.highlightcssstyle = x), e.current.visProp.highlight = !v.current, e.current.visProp.fixed = b.current, e.current.isDraggable = !v.current, e.current.needsUpdate = !0, r.positionFromAnchor !== j.current) {
174
171
  let { anchorx: o, anchory: n } = I(
@@ -192,5 +189,5 @@ const ve = ue.memo(function K(Q) {
192
189
  ] });
193
190
  });
194
191
  export {
195
- ve as default
192
+ ye as default
196
193
  };
@@ -1,10 +1,7 @@
1
- import { u as L, q as J, j as m } from "./index-85d4fdb6.js";
1
+ import { u as L, q as J, j as g } from "./index-7912373f.js";
2
2
  import Y, { useContext as j, useRef as S, useEffect as G } from "react";
3
- import { BoardContext as w } from "./graph-102e9613.js";
4
- import "react-dom";
5
- import "styled-components";
6
- import "./css-ab4d83ca.js";
7
- const H = Y.memo(function(k) {
3
+ import { BoardContext as w } from "./graph-d69449f2.js";
4
+ const N = Y.memo(function(k) {
8
5
  let { name: W, id: _, SVs: n } = L(k);
9
6
  const a = j(w);
10
7
  let c = S([]), d = S([]), E = S(null), b = S(null), U = S(null);
@@ -12,7 +9,7 @@ const H = Y.memo(function(k) {
12
9
  v();
13
10
  }, []);
14
11
  function B() {
15
- let { xmin: f, xmax: g, ymin: x, ymax: y } = n.graphLimits, o = (y - x) * 0.06, i = (g - f) * 0.05, C = (g - f) * 0.02, t = f + (g - f) * 0.05, O;
12
+ let { xmin: f, xmax: m, ymin: x, ymax: y } = n.graphLimits, o = (y - x) * 0.06, i = (m - f) * 0.05, C = (m - f) * 0.02, t = f + (m - f) * 0.05, O;
16
13
  n.position.slice(0, 5) === "upper" ? O = x + (y - x) * 0.95 : O = x + (y - x) * 0.05 + o * n.legendElements.length;
17
14
  let R = n.position.slice(n.position.length - 5, n.position.length) === "right";
18
15
  c.current = [], d.current = [];
@@ -33,7 +30,7 @@ const H = Y.memo(function(k) {
33
30
  }
34
31
  u /= a.unitX, R && (t = Math.max(
35
32
  t,
36
- g - i - 3 * C - u
33
+ m - i - 3 * C - u
37
34
  ));
38
35
  for (let [s, e] of n.legendElements.entries()) {
39
36
  let r = O - s * o;
@@ -109,7 +106,7 @@ const H = Y.memo(function(k) {
109
106
  u = Math.max(u, s.rendNode.offsetWidth);
110
107
  u /= a.unitX, t = Math.max(
111
108
  t,
112
- g - i - 3 * C - u
109
+ m - i - 3 * C - u
113
110
  );
114
111
  for (let [s, e] of c.current.entries()) {
115
112
  let r = O - s * o;
@@ -158,7 +155,7 @@ const H = Y.memo(function(k) {
158
155
  a.removeObject(f);
159
156
  c.current = [], d.current = [];
160
157
  }
161
- return a ? ((!J(E.current, n.legendElements) || !J(U.current, n.graphLimits) || b.current !== n.position) && (c.current.length > 0 && v(), B()), E.current = [...n.legendElements], U.current = Object.assign({}, n.graphLimits), b.current = n.position, /* @__PURE__ */ m.jsx(m.Fragment, { children: /* @__PURE__ */ m.jsx("a", { name: _ }) })) : n.hidden ? null : /* @__PURE__ */ m.jsx(m.Fragment, { children: /* @__PURE__ */ m.jsx("a", { name: _ }) });
158
+ return a ? ((!J(E.current, n.legendElements) || !J(U.current, n.graphLimits) || b.current !== n.position) && (c.current.length > 0 && v(), B()), E.current = [...n.legendElements], U.current = Object.assign({}, n.graphLimits), b.current = n.position, /* @__PURE__ */ g.jsx(g.Fragment, { children: /* @__PURE__ */ g.jsx("a", { name: _ }) })) : n.hidden ? null : /* @__PURE__ */ g.jsx(g.Fragment, { children: /* @__PURE__ */ g.jsx("a", { name: _ }) });
162
159
  });
163
160
  function X(h) {
164
161
  return h === "dashed" ? 2 : h === "solid" ? 0 : h === "dotted" ? 1 : 0;
@@ -167,5 +164,5 @@ function M(h) {
167
164
  return h === "triangle" ? "triangleup" : h;
168
165
  }
169
166
  export {
170
- H as default
167
+ N as default
171
168
  };
@@ -1,15 +1,12 @@
1
- import { u as N, d as I, e as V, j as g, t as q, M as z } from "./index-85d4fdb6.js";
1
+ import { u as N, d as I, e as V, j as g, t as q, M as z } from "./index-7912373f.js";
2
2
  import K, { useContext as Q, useRef as l, useEffect as A } from "react";
3
- import { BoardContext as Z, LINE_LAYER_OFFSET as E } from "./graph-102e9613.js";
4
- import "react-dom";
5
- import "styled-components";
6
- import "./css-ab4d83ca.js";
7
- const oe = K.memo(function m(S) {
3
+ import { BoardContext as Z, LINE_LAYER_OFFSET as E } from "./graph-d69449f2.js";
4
+ const re = K.memo(function m(S) {
8
5
  var J;
9
6
  let { name: v, id: L, SVs: e, actions: s, callAction: c } = N(S);
10
7
  m.ignoreActionsWithoutCore = () => !0;
11
8
  const a = Q(Z);
12
- let t = l({}), y = l(null), k = l(null), w = l(!1), O = l(!1), h = l(!1), R = l(null), _ = l(null), u = l(null), D = l(null), P = l(!1), x = l(!1), F = l(!1);
9
+ let t = l({}), y = l(null), k = l(null), w = l(!1), O = l(!1), p = l(!1), R = l(null), _ = l(null), u = l(null), D = l(null), P = l(!1), x = l(!1), F = l(!1);
13
10
  D.current = e.numericalPoints, P.current = e.fixed, x.current = !e.draggable || e.fixLocation || e.fixed, F.current = e.switchable && !e.fixed;
14
11
  const M = I(V);
15
12
  A(() => () => {
@@ -55,10 +52,10 @@ const oe = K.memo(function m(S) {
55
52
  let X = [[...e.numericalPoints[0]], [...e.numericalPoints[1]]], i = a.create("line", X, f);
56
53
  i.isDraggable = !x.current, i.on("drag", function(r) {
57
54
  let n = r.type === "pointermove";
58
- if ((!n || Math.abs(r.x - y.current[0]) > 0.1 || Math.abs(r.y - y.current[1]) > 0.1) && (h.current = !0), u.current = [], n) {
55
+ if ((!n || Math.abs(r.x - y.current[0]) > 0.1 || Math.abs(r.y - y.current[1]) > 0.1) && (p.current = !0), u.current = [], n) {
59
56
  var o = a.origin.scrCoords;
60
- for (let p = 0; p < 2; p++) {
61
- let T = (k.current[p][1] + r.x - y.current[0] - o[1]) / a.unitX, H = (o[2] - (k.current[p][2] + r.y - y.current[1])) / a.unitY;
57
+ for (let h = 0; h < 2; h++) {
58
+ let T = (k.current[h][1] + r.x - y.current[0] - o[1]) / a.unitX, H = (o[2] - (k.current[h][2] + r.y - y.current[1])) / a.unitY;
62
59
  u.current.push([T, H]);
63
60
  }
64
61
  } else
@@ -85,7 +82,7 @@ const oe = K.memo(function m(S) {
85
82
  D.current[1]
86
83
  );
87
84
  }), i.on("up", function(r) {
88
- h.current ? c({
85
+ p.current ? c({
89
86
  action: s.moveLine,
90
87
  args: {
91
88
  point1coords: u.current[0],
@@ -103,15 +100,15 @@ const oe = K.memo(function m(S) {
103
100
  // send name so get original name if adapted
104
101
  })), w.current = !1;
105
102
  }), i.on("keyfocusout", function(r) {
106
- h.current && (c({
103
+ p.current && (c({
107
104
  action: s.moveLine,
108
105
  args: {
109
106
  point1coords: u.current[0],
110
107
  point2coords: u.current[1]
111
108
  }
112
- }), h.current = !1);
109
+ }), p.current = !1);
113
110
  }), i.on("down", function(r) {
114
- h.current = !1, y.current = [r.x, r.y], k.current = [
111
+ p.current = !1, y.current = [r.x, r.y], k.current = [
115
112
  [...i.point1.coords.scrCoords],
116
113
  [...i.point2.coords.scrCoords]
117
114
  ], w.current = !0, O.current = !1, P.current || c({
@@ -120,7 +117,7 @@ const oe = K.memo(function m(S) {
120
117
  // send name so get original name if adapted
121
118
  });
122
119
  }), i.on("hit", function(r) {
123
- h.current = !1, k.current = [
120
+ p.current = !1, k.current = [
124
121
  [...i.point1.coords.scrCoords],
125
122
  [...i.point2.coords.scrCoords]
126
123
  ], c({
@@ -129,13 +126,13 @@ const oe = K.memo(function m(S) {
129
126
  // send name so get original name if adapted
130
127
  });
131
128
  }), i.on("keydown", function(r) {
132
- r.key === "Enter" && (h.current && (c({
129
+ r.key === "Enter" && (p.current && (c({
133
130
  action: s.moveLine,
134
131
  args: {
135
132
  point1coords: u.current[0],
136
133
  point2coords: u.current[1]
137
134
  }
138
- }), h.current = !1), F.current ? (c({
135
+ }), p.current = !1), F.current ? (c({
139
136
  action: s.switchLine
140
137
  }), c({
141
138
  action: s.lineClicked,
@@ -186,8 +183,8 @@ const oe = K.memo(function m(S) {
186
183
  let r = e.labelForGraph !== "";
187
184
  if (r != R.current && (t.current.setAttribute({ withlabel: r }), R.current = r), t.current.needsUpdate = !0, t.current.update(), t.current.hasLabel)
188
185
  if (t.current.label.needsUpdate = !0, e.applyStyleToLabel ? t.current.label.visProp.strokecolor = i : t.current.label.visProp.strokecolor = "var(--canvastext)", e.labelPosition !== _.current) {
189
- let n, o, p;
190
- e.labelPosition === "upperright" ? (p = [5, 5], n = "left", o = "bottom") : e.labelPosition === "upperleft" ? (p = [-5, 5], n = "right", o = "bottom") : e.labelPosition === "lowerright" ? (p = [5, -5], n = "left", o = "top") : (p = [-5, -5], n = "right", o = "top"), t.current.label.visProp.anchorx = n, t.current.label.visProp.anchory = o, t.current.label.visProp.offset = p, _.current = e.labelPosition, t.current.label.fullUpdate();
186
+ let n, o, h;
187
+ e.labelPosition === "upperright" ? (h = [5, 5], n = "left", o = "bottom") : e.labelPosition === "upperleft" ? (h = [-5, 5], n = "right", o = "bottom") : e.labelPosition === "lowerright" ? (h = [5, -5], n = "left", o = "top") : (h = [-5, -5], n = "right", o = "top"), t.current.label.visProp.anchorx = n, t.current.label.visProp.anchory = o, t.current.label.visProp.offset = h, _.current = e.labelPosition, t.current.label.fullUpdate();
191
188
  } else
192
189
  t.current.label.update();
193
190
  a.updateRenderer();
@@ -206,5 +203,5 @@ function W(m, S) {
206
203
  return m === "dashed" || S ? 2 : m === "solid" ? 0 : m === "dotted" ? 1 : 0;
207
204
  }
208
205
  export {
209
- oe as default
206
+ re as default
210
207
  };
@@ -1,10 +1,7 @@
1
- import { u as N, d as q, e as z, j as L } from "./index-85d4fdb6.js";
1
+ import { u as N, d as q, e as z, j as L } from "./index-7912373f.js";
2
2
  import K, { useContext as Q, useRef as p, useEffect as W } from "react";
3
- import { BoardContext as Z, LINE_LAYER_OFFSET as B, VERTEX_LAYER_OFFSET as I } from "./graph-102e9613.js";
4
- import "react-dom";
5
- import "styled-components";
6
- import "./css-ab4d83ca.js";
7
- const ie = K.memo(function w(V) {
3
+ import { BoardContext as Z, LINE_LAYER_OFFSET as B, VERTEX_LAYER_OFFSET as I } from "./graph-d69449f2.js";
4
+ const te = K.memo(function w(V) {
8
5
  let { name: h, id: M, SVs: r, actions: i, sourceOfUpdate: R, callAction: l } = N(V);
9
6
  w.ignoreActionsWithoutCore = () => !0;
10
7
  const c = Q(Z);
@@ -328,5 +325,5 @@ function T(w) {
328
325
  return w === "solid" ? 0 : w === "dashed" ? 2 : w === "dotted" ? 1 : 0;
329
326
  }
330
327
  export {
331
- ie as default
328
+ te as default
332
329
  };
@@ -1,16 +1,14 @@
1
- import { u as c, j as r, V as a } from "./index-85d4fdb6.js";
2
- import p, { useEffect as f } from "react";
3
- import "react-dom";
4
- import "styled-components";
5
- const V = p.memo(function(d) {
6
- let { name: y, id: l, SVs: i, children: s, actions: m, callAction: o } = c(d), t = (e) => {
7
- o({
1
+ import { u as c, j as r, V as a } from "./index-7912373f.js";
2
+ import f, { useEffect as h } from "react";
3
+ const j = f.memo(function(d) {
4
+ let { name: y, id: l, SVs: i, children: s, actions: m, callAction: u } = c(d), t = (e) => {
5
+ u({
8
6
  action: m.recordVisibilityChange,
9
7
  args: { isVisible: e }
10
8
  });
11
9
  };
12
- if (f(() => () => {
13
- o({
10
+ if (h(() => () => {
11
+ u({
14
12
  action: m.recordVisibilityChange,
15
13
  args: { isVisible: !1 }
16
14
  });
@@ -37,12 +35,12 @@ const V = p.memo(function(d) {
37
35
  ] }) }) });
38
36
  } else {
39
37
  let e;
40
- return i.marker && (e = i.marker.toLowerCase(), u.includes(e) || (e = null)), e || (e = n.unnumbered[(i.level - 1) % n.unnumbered.length]), /* @__PURE__ */ r.jsx(a, { partialVisibility: !0, onChange: t, children: /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsxs("ul", { id: l, style: { listStyleType: e }, children: [
38
+ return i.marker && (e = i.marker.toLowerCase(), o.includes(e) || (e = null)), e || (e = n.unnumbered[(i.level - 1) % n.unnumbered.length]), /* @__PURE__ */ r.jsx(a, { partialVisibility: !0, onChange: t, children: /* @__PURE__ */ r.jsx(r.Fragment, { children: /* @__PURE__ */ r.jsxs("ul", { id: l, style: { listStyleType: e }, children: [
41
39
  /* @__PURE__ */ r.jsx("a", { name: l }),
42
40
  s
43
41
  ] }) }) });
44
42
  }
45
- }), u = ["disc", "circle", "square"], n = {
43
+ }), o = ["disc", "circle", "square"], n = {
46
44
  numbered: [
47
45
  "decimal",
48
46
  "lower-alpha",
@@ -50,8 +48,8 @@ const V = p.memo(function(d) {
50
48
  "upper-alpha",
51
49
  "upper-roman"
52
50
  ],
53
- unnumbered: u
51
+ unnumbered: o
54
52
  };
55
53
  export {
56
- V as default
54
+ j as default
57
55
  };
@@ -1,7 +1,5 @@
1
- import { u as n, j as e } from "./index-85d4fdb6.js";
1
+ import { u as n, j as e } from "./index-7912373f.js";
2
2
  import o from "react";
3
- import "react-dom";
4
- import "styled-components";
5
3
  const l = o.memo(function(t) {
6
4
  let { SVs: r } = n(t, !1);
7
5
  return r.hidden ? null : /* @__PURE__ */ e.jsx(e.Fragment, { children: "“" });
@@ -0,0 +1,9 @@
1
+ import { u as n, j as e } from "./index-7912373f.js";
2
+ import s from "react";
3
+ const l = s.memo(function(t) {
4
+ let { SVs: r } = n(t, !1);
5
+ return r.hidden ? null : /* @__PURE__ */ e.jsx(e.Fragment, { children: "‘" });
6
+ });
7
+ export {
8
+ l as default
9
+ };
@@ -1,10 +1,7 @@
1
- import { u as de, d as fe, e as he, C as Z, g as ee, j as l, k as ge, t as me, M as W } from "./index-85d4fdb6.js";
1
+ import { u as de, d as fe, e as he, C as Z, g as ee, j as l, k as ge, t as me, M as W } from "./index-7912373f.js";
2
2
  import pe, { useRef as s, useContext as xe, useEffect as re } from "react";
3
- import { BoardContext as ye, TEXT_LAYER_OFFSET as te } from "./graph-102e9613.js";
4
- import "react-dom";
5
- import "styled-components";
6
- import "./css-ab4d83ca.js";
7
- const Ae = pe.memo(function ne(oe) {
3
+ import { BoardContext as ye, TEXT_LAYER_OFFSET as te } from "./graph-d69449f2.js";
4
+ const ke = pe.memo(function ne(oe) {
8
5
  let { name: F, id: b, SVs: e, actions: m, sourceOfUpdate: Ce, callAction: p } = de(oe);
9
6
  ne.ignoreActionsWithoutCore = () => !0;
10
7
  let r = s(null), R = s(null), X = s(null);
@@ -215,5 +212,5 @@ const Ae = pe.memo(function ne(oe) {
215
212
  ] });
216
213
  });
217
214
  export {
218
- Ae as default
215
+ ke as default
219
216
  };
@@ -1,11 +1,8 @@
1
- import { u as $, R as w, r as q, s as z, v as H, d as E, w as J, x as X, j as a, F as g, f as Q, a as Y, b as Z, c as ee, M as te } from "./index-85d4fdb6.js";
2
- import ae, { useState as A, useRef as b } from "react";
3
- import re from "styled-components";
4
- import { r as W } from "./index-7998d090.js";
5
- import "./mathInput-4ed993c7.js";
6
- import "react-dom";
7
- W.addStyles();
8
- const x = re.button`
1
+ import { u as $, R as w, r as q, v as z, w as H, d as E, x as J, y as X, j as a, F as g, f as Q, a as Y, b as Z, c as ee, s as te, M as ae } from "./index-7912373f.js";
2
+ import re, { useState as A, useRef as b } from "react";
3
+ import { r as W } from "./index-9317ebc1.js";
4
+ /* empty css */W.addStyles();
5
+ const x = te.button`
9
6
  position: relative;
10
7
  width: 24px;
11
8
  height: 24px;
@@ -163,7 +160,7 @@ function ne(P) {
163
160
  ] }));
164
161
  }
165
162
  let C = e.label;
166
- return e.labelHasLatex && (C = /* @__PURE__ */ a.jsx(te, { hideUntilTypeset: "first", inline: !0, dynamic: !0, children: C })), /* @__PURE__ */ a.jsxs(ae.Fragment, { children: [
163
+ return e.labelHasLatex && (C = /* @__PURE__ */ a.jsx(ae, { hideUntilTypeset: "first", inline: !0, dynamic: !0, children: C })), /* @__PURE__ */ a.jsxs(re.Fragment, { children: [
167
164
  /* @__PURE__ */ a.jsx("a", { name: i }),
168
165
  /* @__PURE__ */ a.jsxs("span", { id: i, children: [
169
166
  /* @__PURE__ */ a.jsxs("label", { style: { display: "inline-flex", maxWidth: "100%" }, children: [
@@ -0,0 +1 @@
1
+ .mathInputWrapper{cursor:pointer;margin:0 4px 4px;display:inline}td.matrixCell div.mathInputWrapper{margin:1px}
@@ -1,11 +1,10 @@
1
1
  var p = Object.defineProperty;
2
2
  var m = (n, e, t) => e in n ? p(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
3
3
  var d = (n, e, t) => (m(n, typeof e != "symbol" ? e + "" : e, t), t);
4
- import { A as x, D as f, C as v, j as a, F as h, f as S, a as V, b as D, c as g } from "./index-85d4fdb6.js";
4
+ import { D as x, E as f, C as v, j as a, F as h, f as S, a as V, b as D, c as g } from "./index-7912373f.js";
5
5
  import y from "react";
6
6
  import l from "react-dom";
7
- import "styled-components";
8
- import { m as u } from "./index-7998d090.js";
7
+ import { m as u } from "./index-9317ebc1.js";
9
8
  u.addStyles();
10
9
  let b = u.EditableMathField;
11
10
  class F {
@@ -1,24 +1,22 @@
1
- import { u as d, j as e, M as h } from "./index-85d4fdb6.js";
1
+ import { u as d, j as e, M as h } from "./index-7912373f.js";
2
2
  import r from "react";
3
- import "react-dom";
4
- import "styled-components";
5
- const p = r.memo(function(s) {
6
- let { name: x, id: t, SVs: i, children: n } = d(s);
7
- if (i.hidden)
3
+ const j = r.memo(function(a) {
4
+ let { name: x, id: t, SVs: s, children: n } = d(a);
5
+ if (s.hidden)
8
6
  return null;
9
- if (n.length === 0 && i.latex)
7
+ if (n.length === 0 && s.latex)
10
8
  return /* @__PURE__ */ e.jsxs(r.Fragment, { children: [
11
9
  /* @__PURE__ */ e.jsx("a", { name: t }),
12
- /* @__PURE__ */ e.jsx("span", { id: t, children: /* @__PURE__ */ e.jsx(h, { hideUntilTypeset: "first", inline: !0, dynamic: !0, children: "\\(" + i.latex + "\\)" }) })
10
+ /* @__PURE__ */ e.jsx("span", { id: t, children: /* @__PURE__ */ e.jsx(h, { hideUntilTypeset: "first", inline: !0, dynamic: !0, children: "\\(" + s.latex + "\\)" }) })
13
11
  ] }, t);
14
12
  if (n.length === 0)
15
13
  return /* @__PURE__ */ e.jsx(r.Fragment, {}, t);
16
- let a = n.slice(1).reduce((l, m) => [...l, ", ", m], [n[0]]);
14
+ let i = n.slice(1).reduce((l, m) => [...l, ", ", m], [n[0]]);
17
15
  return /* @__PURE__ */ e.jsxs(r.Fragment, { children: [
18
16
  /* @__PURE__ */ e.jsx("a", { name: t }),
19
- /* @__PURE__ */ e.jsx("span", { id: t, children: a })
17
+ /* @__PURE__ */ e.jsx("span", { id: t, children: i })
20
18
  ] }, t);
21
19
  });
22
20
  export {
23
- p as default
21
+ j as default
24
22
  };
@@ -1,10 +1,7 @@
1
- import { u as k, j as e, F as m, f as A, a as R, b as _, c as B, E as p } from "./index-85d4fdb6.js";
1
+ import { u as k, j as e, F as m, f as A, a as R, b as _, c as B, G as p, s as j } from "./index-7912373f.js";
2
2
  import b, { useRef as I } from "react";
3
- import { A as C } from "./ActionButtonGroup-f9a56616.js";
4
- import j from "styled-components";
5
- import "./mathInput-4ed993c7.js";
6
- import "react-dom";
7
- const S = j.div`
3
+ import { A as C } from "./ActionButtonGroup-cce60f98.js";
4
+ /* empty css */const S = j.div`
8
5
  position: relative;
9
6
  margin: 6px;
10
7
  display: inline-block;
@@ -53,8 +50,8 @@ const S = j.div`
53
50
  background-color: var(--lightBlue);
54
51
  color: black;
55
52
  }
56
- `, M = b.memo(function(y) {
57
- let { name: E, id: n, SVs: t, actions: s, children: w, callAction: a } = k(y), l = I(null);
53
+ `, P = b.memo(function(y) {
54
+ let { name: V, id: n, SVs: t, actions: s, children: w, callAction: a } = k(y), l = I(null);
58
55
  function v() {
59
56
  l.current = "unvalidated", (t.valueHasBeenValidated || t.numAttemptsLeft < 1) && (t.creditAchieved === 1 ? l.current = "correct" : t.creditAchieved === 0 ? l.current = "incorrect" : l.current = "partialcorrect");
60
57
  }
@@ -204,5 +201,5 @@ const S = j.div`
204
201
  ] });
205
202
  });
206
203
  export {
207
- M as default
204
+ P as default
208
205
  };
@@ -0,0 +1,9 @@
1
+ import { u as n, j as e } from "./index-7912373f.js";
2
+ import s from "react";
3
+ const u = s.memo(function(t) {
4
+ let { SVs: r } = n(t, !1);
5
+ return r.hidden ? null : /* @__PURE__ */ e.jsx(e.Fragment, { children: "—" });
6
+ });
7
+ export {
8
+ u as default
9
+ };
@@ -0,0 +1,9 @@
1
+ import { u as n, j as e } from "./index-7912373f.js";
2
+ import s from "react";
3
+ const m = s.memo(function(t) {
4
+ let { SVs: r } = n(t, !1);
5
+ return r.hidden ? null : /* @__PURE__ */ e.jsx(e.Fragment, { children: " " });
6
+ });
7
+ export {
8
+ m as default
9
+ };
@@ -0,0 +1,9 @@
1
+ import { u as n, j as e } from "./index-7912373f.js";
2
+ import s from "react";
3
+ const d = s.memo(function(t) {
4
+ let { SVs: r } = n(t);
5
+ return r.hidden ? null : /* @__PURE__ */ e.jsx(e.Fragment, { children: "–" });
6
+ });
7
+ export {
8
+ d as default
9
+ };
@@ -1,10 +1,7 @@
1
- import { u as ce, d as ie, e as le, C as $, g as H, j as b, t as ue, M as se } from "./index-85d4fdb6.js";
1
+ import { u as ce, d as ie, e as le, C as $, g as H, j as b, t as ue, M as se } from "./index-7912373f.js";
2
2
  import ae, { useRef as c, useContext as de, useEffect as I } from "react";
3
- import { BoardContext as fe, TEXT_LAYER_OFFSET as W } from "./graph-102e9613.js";
4
- import "react-dom";
5
- import "styled-components";
6
- import "./css-ab4d83ca.js";
7
- const ve = ae.memo(function q(K) {
3
+ import { BoardContext as fe, TEXT_LAYER_OFFSET as W } from "./graph-d69449f2.js";
4
+ const ge = ae.memo(function q(K) {
8
5
  let { name: _, id: R, SVs: r, actions: a, sourceOfUpdate: he, callAction: d } = ce(K);
9
6
  q.ignoreActionsWithoutCore = () => !0;
10
7
  let e = c(null), A = c(null), P = c(null);
@@ -189,5 +186,5 @@ const ve = ae.memo(function q(K) {
189
186
  ] });
190
187
  });
191
188
  export {
192
- ve as default
189
+ ge as default
193
190
  };
@@ -1,9 +1,7 @@
1
- import { u as o, j as t } from "./index-85d4fdb6.js";
1
+ import { u, j as t } from "./index-7912373f.js";
2
2
  import r from "react";
3
- import "react-dom";
4
- import "styled-components";
5
- const f = r.memo(function(i) {
6
- let { name: d, id: e, SVs: s, children: n } = o(i);
3
+ const h = r.memo(function(a) {
4
+ let { name: x, id: e, SVs: s, children: n } = u(a);
7
5
  if (s.hidden)
8
6
  return null;
9
7
  if (n.length === 0 && s.text)
@@ -13,12 +11,12 @@ const f = r.memo(function(i) {
13
11
  ] }, e);
14
12
  if (n.length === 0)
15
13
  return /* @__PURE__ */ t.jsx(r.Fragment, {}, e);
16
- let a = n.slice(1).reduce((m, l) => [...m, ", ", l], [n[0]]);
14
+ let i = n.slice(1).reduce((m, l) => [...m, ", ", l], [n[0]]);
17
15
  return /* @__PURE__ */ t.jsxs(r.Fragment, { children: [
18
16
  /* @__PURE__ */ t.jsx("a", { name: e }),
19
- /* @__PURE__ */ t.jsx("span", { id: e, children: a })
17
+ /* @__PURE__ */ t.jsx("span", { id: e, children: i })
20
18
  ] }, e);
21
19
  });
22
20
  export {
23
- f as default
21
+ h as default
24
22
  };