@doenet/doenetml 0.7.27-dev.619 → 0.7.27-dev.620

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 (111) hide show
  1. package/{AnswerResponseButton-B7tCX_DL.js → AnswerResponseButton-BnJdMPy1.js} +2 -2
  2. package/{Description-CQoSDGQ9.js → Description-C3YiVshe.js} +1 -1
  3. package/{EditorViewer-CEhMrXMb.js → EditorViewer-CzowLv9W.js} +5 -5
  4. package/{GraphFrame-BwZhK5IT.js → GraphFrame-kjpzlGAZ.js} +2 -2
  5. package/{JSXGraphRenderer-CLVxH5V1.js → JSXGraphRenderer-K8mXt3hf.js} +1 -1
  6. package/{NonInlineMediaWrapper-BevgJ9vi.js → NonInlineMediaWrapper-DZjKmo7x.js} +1 -1
  7. package/{_error-B5eqzdL2.js → _error-BUrShOhW.js} +2 -2
  8. package/{alert-DoQZoOBv.js → alert-DrSkp2Jc.js} +3 -3
  9. package/{angle-CPcKZdCy.js → angle-Cpf3Nxos.js} +6 -6
  10. package/{answer-Di1x-xcj.js → answer-CCplbrnp.js} +5 -5
  11. package/{asList-CyCu_ZkN.js → asList-BHvRPMiM.js} +2 -2
  12. package/{blockQuote-Cojv2en7.js → blockQuote-CxZ_Fh1d.js} +3 -3
  13. package/{boolean-DqHoHBxg.js → boolean-B-8ywG0O.js} +2 -2
  14. package/{booleanInput-DhGS9xjC.js → booleanInput-tIFL5KcM.js} +6 -6
  15. package/{br-C3x4Caye.js → br-C0hbZX2-.js} +2 -2
  16. package/{button-BLBAqhHU.js → button-BH0uvf-X.js} +4 -4
  17. package/{c-Bj8KNpLp.js → c-DG_3MCmn.js} +3 -3
  18. package/{cell-BOi8EwGE.js → cell-X80Atv7x.js} +3 -3
  19. package/{chart-BEsXZJCm.js → chart-Dz_bVlKV.js} +4 -4
  20. package/{choiceInput-BhJTiD12.js → choiceInput-DRQnjRqL.js} +5 -5
  21. package/{circle-CPmoeiRc.js → circle-CZ-yaFYD.js} +6 -6
  22. package/{cobwebPolyline-CqRgKoeW.js → cobwebPolyline-BT0eNkZ_.js} +4 -4
  23. package/{codeEditor-ByMz90Gp.js → codeEditor-zw-cr8j8.js} +2 -2
  24. package/{composites-DNr-7F9L.js → composites-BJE94DO2.js} +1 -1
  25. package/{containerBlock-DU56Ju00.js → containerBlock-C13575ZE.js} +4 -4
  26. package/{containerInline-C84CgllJ.js → containerInline-CjFVZgeu.js} +4 -4
  27. package/{curve-C00RIKPb.js → curve-Ci2S_RNK.js} +4 -4
  28. package/{doenetml-DEXzlF5h.js → doenetml-BaDcU5Tr.js} +3 -3
  29. package/doenetml-external-worker.js +2 -2
  30. package/doenetml-inline-worker.js +3 -3
  31. package/doenetml-worker/index.esm.js +1 -1
  32. package/doenetml-worker/index.js +1 -1
  33. package/{ellipsis-CrrhISOp.js → ellipsis-Cp2QWAl2.js} +2 -2
  34. package/{em-DkVq9aRp.js → em-DJbl8EXg.js} +3 -3
  35. package/{embed-dY0rY55s.js → embed-D7pM2Vp4.js} +2 -2
  36. package/{feedback-Cq8IqGlK.js → feedback-D56GHP30.js} +4 -4
  37. package/{figure-YxVlAIYH.js → figure-BXPg0nyZ.js} +3 -3
  38. package/{fillPatterns-CxvqmsWh.js → fillPatterns-ykxHZHDX.js} +1 -1
  39. package/{footnote-BUjPcN9j.js → footnote-C7JBtDcl.js} +3 -3
  40. package/{fractionInput-DznBKOrA.js → fractionInput-B4ISlcSC.js} +4 -4
  41. package/{graph-tY4Di5bb.js → graph-BMBULyGD.js} +6 -6
  42. package/{hint-B8FgenU-.js → hint-B8xPhenn.js} +4 -4
  43. package/{hovercard-store-DFFUgL-R.js → hovercard-store-DdHwxVPu.js} +1 -1
  44. package/{hr-1CFvid4t.js → hr-Bfia_DuV.js} +2 -2
  45. package/{image-WRloZ59p.js → image-Cr_wGTIM.js} +7 -7
  46. package/{index-DK8UN0Gp.js → index-Dq0s6P5J.js} +1 -1
  47. package/{index.es-Be4EwJMA.js → index.es-C8tvoWu4.js} +1 -1
  48. package/index.js +1 -1
  49. package/{label-D528i2fb.js → label-D2tO_klY.js} +6 -6
  50. package/{labelWithLatex-UMjlR3K7.js → labelWithLatex-CGi9qbRZ.js} +1 -1
  51. package/{legend-CBI_caUM.js → legend-CVeoVam3.js} +4 -4
  52. package/{line-CovdTCUk.js → line-o1j8wLgr.js} +6 -6
  53. package/{lineFamilyDragHandlers-B3QmZQJP.js → lineFamilyDragHandlers-CormR7Zw.js} +1 -1
  54. package/{lineSegment-DP5Ld9Yg.js → lineSegment-DzDsz_za.js} +5 -5
  55. package/{list-_uJ0k-aZ.js → list-DN6m05Mq.js} +4 -4
  56. package/{lq-D0lPHYoY.js → lq-DgvhObEJ.js} +2 -2
  57. package/{lsq-DNRV81Tc.js → lsq-CjR4zdnR.js} +2 -2
  58. package/{markupRenderer-D56Ig_iT.js → markupRenderer-qkyoEmdj.js} +1 -1
  59. package/{math-CdkitUAl.js → math-D4AG3_Mj.js} +7 -7
  60. package/{mathInput-BwbzUs6h.js → mathInput-D1ROX1M9.js} +8 -8
  61. package/{mathInputSlots-CDTQWlIU.js → mathInputSlots-DvuaTWzf.js} +1 -1
  62. package/{matrixInput-DSwBCdaG.js → matrixInput-BG33fliS.js} +4 -4
  63. package/{mdash-BV2ZlQNZ.js → mdash-Blrw2vAD.js} +2 -2
  64. package/{nbsp-D8f3pvdb.js → nbsp-C9BE-8IT.js} +2 -2
  65. package/{ndash-D0YyrMHZ.js → ndash-DVSFow-8.js} +2 -2
  66. package/{number-B3JWVKAi.js → number-0bXj8WiG.js} +6 -6
  67. package/{orbitalDiagram-DtRDoKh2.js → orbitalDiagram-DlATYIET.js} +2 -2
  68. package/{orbitalDiagramInput-CR69u9s5.js → orbitalDiagramInput-NJAuFU4k.js} +2 -2
  69. package/{p-D6BpkbkJ.js → p-CqnoYV5U.js} +4 -4
  70. package/package.json +1 -1
  71. package/{paginatorControls-BWtsCqOe.js → paginatorControls-DbQJaHwt.js} +2 -2
  72. package/{pegboard-BRLlbbdN.js → pegboard-CzrZg_xM.js} +3 -3
  73. package/{point-DSweoCnT.js → point-BD9mkNhc.js} +6 -6
  74. package/{polygon-CpLvry-1.js → polygon-BF-4evwg.js} +6 -6
  75. package/{polyline-C4lhpVTX.js → polyline-J0xgkjR_.js} +5 -5
  76. package/{pre-DgZgjvYr.js → pre-DDsakhdG.js} +3 -3
  77. package/{prefigure-Br2VPeEX.js → prefigure-BJUaO92h.js} +1 -1
  78. package/{pretzel-CFLFlBnN.js → pretzel-Ey-_Ebnf.js} +4 -4
  79. package/{q-BfgXQHUV.js → q-jauOjdrt.js} +3 -3
  80. package/{ray-DhJZRRLt.js → ray-xmgRq2o4.js} +5 -5
  81. package/{ref-P5Xvn9PI.js → ref-BIzLTlj4.js} +2 -2
  82. package/{regionBetweenCurveXAxis-BTz8mSjS.js → regionBetweenCurveXAxis-COwjbSIH.js} +5 -5
  83. package/{regionBetweenCurves-CFY8uEsa.js → regionBetweenCurves-By0HBHUR.js} +5 -5
  84. package/{row-DBSf3zEf.js → row-CEFVtpxU.js} +2 -2
  85. package/{rq-DLJbbYg3.js → rq-BHzWYYzC.js} +2 -2
  86. package/{rsq-UW0FIfUY.js → rsq-KmpsZndS.js} +2 -2
  87. package/{section-DOcIguvh.js → section-D7iP5HwO.js} +5 -5
  88. package/{sha256-8sXzDnE0-BCeIXFbE.js → sha256-8sXzDnE0-Cu0mhe_w.js} +1 -1
  89. package/{sideBySide-C709xkAJ.js → sideBySide-XvVGB0JP.js} +2 -2
  90. package/{slider-RWcALs9T.js → slider-DhOkPLVH.js} +3 -3
  91. package/{slopeField-DRTEmxCq.js → slopeField-QJ5x-1p5.js} +2 -2
  92. package/{solution-C9vvdkj7.js → solution-DGNM0_4q.js} +4 -4
  93. package/{spreadsheet-BgHjXCS2.js → spreadsheet-D7UtH0hF.js} +2 -2
  94. package/{sq-CEZZuqb8.js → sq-WSL08ds8.js} +3 -3
  95. package/style.css +40 -0
  96. package/{subsetOfRealsInput-DoLInvJp.js → subsetOfRealsInput-CaqGKpMe.js} +2 -2
  97. package/{summaryStatistics-DRQjdsda.js → summaryStatistics-Dm1Ssaia.js} +2 -2
  98. package/{table-CLSoiI2_.js → table-BVwMvAHc.js} +2 -2
  99. package/{tabular-y4dGKrNe.js → tabular-hWJZMMPZ.js} +2 -2
  100. package/{tag-Ba4QodgU.js → tag-eDlCFvX0.js} +2 -2
  101. package/{text-Cef-Yhpn.js → text-BEmrovaJ.js} +6 -6
  102. package/{textInput-Dp85yeBQ.js → textInput-CB8Wy1SH.js} +7 -7
  103. package/{tooltip-provider-6DZyX3L7.js → tooltip-provider-C1rorB63.js} +2 -2
  104. package/{useAnchoredGraphDragHandler-CJgINyu6.js → useAnchoredGraphDragHandler-BE4cy3ar.js} +1 -1
  105. package/useDoenetRenderer-v0KFT4_z.js +114 -0
  106. package/{useFieldCurve-BCDbwx4Y.js → useFieldCurve-B1ZzGLt8.js} +2 -2
  107. package/{useSubmitActionWithDelay-BT_oE1s8.js → useSubmitActionWithDelay-BaM_fKvE.js} +2 -2
  108. package/{vector-CRIQlrKu.js → vector-IsdjkxUw.js} +6 -6
  109. package/{vectorField-BmkmhYeq.js → vectorField-CNRw1We_.js} +2 -2
  110. package/{video-Jpk7f6lB.js → video-DyzTYYMg.js} +4 -4
  111. package/useDoenetRenderer-BShKX3Cf.js +0 -114
@@ -1,9 +1,9 @@
1
- import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { s as syncLayer, r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, e as syncLineStrokeStyle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CLVxH5V1.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-tY4Di5bb.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-B3QmZQJP.js";
3
+ import { s as syncLayer, r as removeJXGEventHandlers, j as jxg, g as syncVisPropValues, e as syncLineStrokeStyle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-K8mXt3hf.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BMBULyGD.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CormR7Zw.js";
7
7
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
8
8
  import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
9
9
  import { a as resolveLineColor, d as resolveHandleColor } from "./styleColors-BrCvjxze.js";
@@ -1,7 +1,7 @@
1
- import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-DNr-7F9L.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-BJE94DO2.js";
5
5
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
6
6
  const pre = React__default.memo(function Pre(props) {
7
7
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
@@ -1,4 +1,4 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default, { useState, useRef, useEffect } from "react";
3
3
  const __vite_import_meta_env__ = { "VITE_PREFIGURE_MODULE_URL": "https://cdn.jsdelivr.net/npm/@doenet/prefigure@latest/prefigure.js" };
4
4
  const DEFAULT_PREFIGURE_BUILD_ENDPOINT = "https://prefigure.doenet.org/build";
@@ -1,8 +1,8 @@
1
- import { u as useT, I as useContentT, v as useChromeLangDir, J as useRecordVisibilityChanges, E as DocContext, q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { u as useT, I as useContentT, v as useChromeLangDir, J as useRecordVisibilityChanges, E as DocContext, q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-B7tCX_DL.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BT_oE1s8.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
4
+ import { A as AnswerResponseButton } from "./AnswerResponseButton-BnJdMPy1.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BaM_fKvE.js";
6
6
  const pretzel = React__default.memo(function Pretzel(props) {
7
7
  let {
8
8
  componentIdx,
@@ -1,7 +1,7 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-D56Ig_iT.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-qkyoEmdj.js";
5
5
  const q = React__default.memo(function Q(props) {
6
6
  const { SVs, children } = useDoenetRenderer(props);
7
7
  const body = renderMarkupBody({ SVs, children });
@@ -1,9 +1,9 @@
1
- import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-CLVxH5V1.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-tY4Di5bb.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-B3QmZQJP.js";
3
+ import { j as jxg, h as syncLineFamilyVisibility, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-K8mXt3hf.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BMBULyGD.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CormR7Zw.js";
7
7
  import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-B_soifR-.js";
8
8
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
9
9
  import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
@@ -1,6 +1,6 @@
1
- import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
4
4
  const ref = React__default.memo(function Ref(props) {
5
5
  const { id, SVs, children, requestScrollTo } = useDoenetRenderer(props);
6
6
  const { doenetViewerUrl } = useContext(DocContext) || {};
@@ -1,9 +1,9 @@
1
- import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CLVxH5V1.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-tY4Di5bb.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-CxvqmsWh.js";
3
+ import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-K8mXt3hf.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BMBULyGD.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-ykxHZHDX.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-BrCvjxze.js";
8
8
  const regionBetweenCurveXAxis = React__default.memo(function RegionBetweenCurveXAxis(props) {
9
9
  let { id, SVs } = useDoenetRenderer(props);
@@ -1,11 +1,11 @@
1
- import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { E as DocContext, N as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
4
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-tY4Di5bb.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
4
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BMBULyGD.js";
5
5
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-CxvqmsWh.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-ykxHZHDX.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-BrCvjxze.js";
8
- import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CLVxH5V1.js";
8
+ import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-K8mXt3hf.js";
9
9
  const regionBetweenCurves = React__default.memo(function RegionBetweenCurves(props) {
10
10
  let { id, SVs } = useDoenetRenderer(props);
11
11
  RegionBetweenCurves.ignoreActionsWithoutCore = () => true;
@@ -1,6 +1,6 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
4
4
  const row = React__default.memo(function Row(props) {
5
5
  let { id, SVs, children } = useDoenetRenderer(props);
6
6
  if (SVs.hidden) {
@@ -1,6 +1,6 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
4
4
  const rq = React__default.memo(function Rq(props) {
5
5
  let { SVs } = useDoenetRenderer(props, false);
6
6
  if (SVs.hidden) {
@@ -1,6 +1,6 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
4
4
  const rsq = React__default.memo(function Rsq(props) {
5
5
  let { SVs } = useDoenetRenderer(props, false);
6
6
  if (SVs.hidden) {
@@ -1,10 +1,10 @@
1
- import { u as useT, I as useContentT, R as directionOf, S as useDocumentDirection, T as chromeLangDir, t as useUiLocale, E as DocContext, L as cesc, J as useRecordVisibilityChanges, q as jsxRuntimeExports, U as DocumentDirectionProvider } from "./doenetml-DEXzlF5h.js";
1
+ import { u as useT, I as useContentT, R as directionOf, S as useDocumentDirection, T as chromeLangDir, t as useUiLocale, E as DocContext, L as cesc, J as useRecordVisibilityChanges, q as jsxRuntimeExports, U as DocumentDirectionProvider } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { F as FontAwesomeIcon } from "./index.es-Be4EwJMA.js";
3
+ import { F as FontAwesomeIcon } from "./index.es-C8tvoWu4.js";
4
4
  import { f as faCaretDown, a as faCaretRight } from "./index-BDlitCgu.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-DNr-7F9L.js";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BT_oE1s8.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-BJE94DO2.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BaM_fKvE.js";
8
8
  import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
9
9
  const section = React__default.memo(function Section(props) {
10
10
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
@@ -1,4 +1,4 @@
1
- import { p as getDefaultExportFromCjs } from "./doenetml-DEXzlF5h.js";
1
+ import { p as getDefaultExportFromCjs } from "./doenetml-BaDcU5Tr.js";
2
2
  function _mergeNamespaces$1(n, m) {
3
3
  for (var i = 0; i < m.length; i++) {
4
4
  const e = m[i];
@@ -1,6 +1,6 @@
1
- import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
4
4
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
5
5
  function isWhitespaceTextChild(child) {
6
6
  return typeof child === "string" && child.trim() === "";
@@ -1,9 +1,9 @@
1
- import { u as useT, q as jsxRuntimeExports, V as ActionButtonGroup, W as ActionButton } from "./doenetml-DEXzlF5h.js";
1
+ import { u as useT, q as jsxRuntimeExports, V as ActionButtonGroup, W as ActionButton } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default, { useState, useRef, useEffect } from "react";
3
3
  import me from "math-expressions";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { r as renderLabelWithLatex } from "./labelWithLatex-UMjlR3K7.js";
6
+ import { r as renderLabelWithLatex } from "./labelWithLatex-CGi9qbRZ.js";
7
7
  import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
8
8
  let round_to_decimals = (x, n) => {
9
9
  try {
@@ -1,6 +1,6 @@
1
1
  import React__default from "react";
2
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
3
- import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-BCDbwx4Y.js";
2
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
3
+ import { u as useFieldFunction, a as useFieldCurve, b as buildSlopeFieldData } from "./useFieldCurve-B1ZzGLt8.js";
4
4
  const slopeField = React__default.memo(function SlopeField(props) {
5
5
  let { SVs } = useDoenetRenderer(props);
6
6
  SlopeField.ignoreActionsWithoutCore = () => true;
@@ -1,9 +1,9 @@
1
- import { u as useT, J as useRecordVisibilityChanges, v as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { u as useT, J as useRecordVisibilityChanges, v as useChromeLangDir, q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
4
- import { F as FontAwesomeIcon } from "./index.es-Be4EwJMA.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
4
+ import { F as FontAwesomeIcon } from "./index.es-C8tvoWu4.js";
5
5
  import { c as faPuzzlePiece } from "./index-BDlitCgu.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-DNr-7F9L.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-BJE94DO2.js";
7
7
  import { c as clickToToggleLabel } from "./disclosure-axyZa36E.js";
8
8
  const solution = React__default.memo(function Solution(props) {
9
9
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
@@ -1,6 +1,6 @@
1
- import { E as DocContext, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { E as DocContext, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default, { forwardRef, useId, useRef, useCallback, useMemo, useEffect, Children, useImperativeHandle, Fragment, createContext as createContext$1, useContext, useState } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
4
4
  import require$$2 from "react-dom";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
6
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
@@ -1,7 +1,7 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-D56Ig_iT.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-qkyoEmdj.js";
5
5
  const sq = React__default.memo(function Sq(props) {
6
6
  const { SVs, children } = useDoenetRenderer(props);
7
7
  const body = renderMarkupBody({ SVs, children });
package/style.css CHANGED
@@ -2666,6 +2666,46 @@ Tailwind base is purposely not included because we want all styles to be prefixe
2666
2666
  .doenet-viewer .doenet-math-slot-label {
2667
2667
  visibility: hidden;
2668
2668
  }
2669
+
2670
+ /*
2671
+ * A displayed equation of several rows (an `<md>`, `<mdn>`, or an `<me>` that
2672
+ * is nothing but an `array`, `aligned` or the like) is an inline table that
2673
+ * MathJax centers on the math axis, so its line's baseline falls in the middle
2674
+ * row. A list item's number sits on the first line's baseline — the `<li>`
2675
+ * marker, and a section number through its grid's `align-items: baseline` —
2676
+ * so it landed beside the middle row. Aligning the table on its own baseline,
2677
+ * which for a table is its first row's, puts the number beside the first row.
2678
+ *
2679
+ * `line-height: 0` keeps the container's strut from then pushing the table
2680
+ * down: with the baseline near the top of the table, a strut of normal line
2681
+ * height would reach above it and grow the line. The table is taller than any
2682
+ * strut, so the display's height and row positions do not change. A single-row
2683
+ * table is left alone: its baseline is already its row's, and there the strut
2684
+ * is what sets the display's height. A table nested in a row, such as a
2685
+ * `pmatrix` or `cases`, keeps MathJax's centering, which is what holds it
2686
+ * between its delimiters. So does a table with other math beside it, as in
2687
+ * `x = \begin{array}…`: its centering is what puts the `x =` beside its
2688
+ * middle row.
2689
+ */
2690
+ .doenet-viewer
2691
+ mjx-container[display="true"]:has(
2692
+ > mjx-math
2693
+ > mjx-mtable:only-child
2694
+ > mjx-table
2695
+ > mjx-itable
2696
+ > :nth-child(2)
2697
+ ) {
2698
+ line-height: 0;
2699
+ }
2700
+
2701
+ .doenet-viewer
2702
+ mjx-container[display="true"]
2703
+ > mjx-math
2704
+ > mjx-mtable:only-child:has(> mjx-table > mjx-itable > :nth-child(2))
2705
+ > mjx-table
2706
+ > mjx-itable {
2707
+ vertical-align: baseline;
2708
+ }
2669
2709
  /*
2670
2710
  * MathQuill v0.10.1, by Han, Jeanine, and Mary
2671
2711
  * http://mathquill.com | maintainers@mathquill.com
@@ -1,6 +1,6 @@
1
- import { u as useT, J as useRecordVisibilityChanges, q as jsxRuntimeExports, a0 as ToggleButtonGroup, Z as ToggleButton, V as ActionButtonGroup, W as ActionButton } from "./doenetml-DEXzlF5h.js";
1
+ import { u as useT, J as useRecordVisibilityChanges, q as jsxRuntimeExports, a0 as ToggleButtonGroup, Z as ToggleButton, V as ActionButtonGroup, W as ActionButton } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default, { useState, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
4
4
  import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
5
5
  const subsetOfRealsInput = React__default.memo(function subsetOfReals(props) {
6
6
  let { id, SVs, actions, callAction } = useDoenetRenderer(props, false);
@@ -1,6 +1,6 @@
1
- import { u as useT, v as useChromeLangDir, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { u as useT, v as useChromeLangDir, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
4
4
  const summaryStatistics = React__default.memo(function SummaryStatistics(props) {
5
5
  let { id, SVs, actions, callAction } = useDoenetRenderer(props);
6
6
  const t = useT();
@@ -1,6 +1,6 @@
1
- import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
4
4
  const table = React__default.memo(function Table(props) {
5
5
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
6
6
  const ref = useRef(null);
@@ -1,6 +1,6 @@
1
- import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
5
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
6
6
  function borderWeightToCSSWidth(weight) {
@@ -1,6 +1,6 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
4
4
  const tag = React__default.memo(function Tag(props) {
5
5
  let { id, SVs, children } = useDoenetRenderer(props);
6
6
  if (SVs.hidden) {
@@ -1,14 +1,14 @@
1
- import { E as DocContext, K as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-DEXzlF5h.js";
1
+ import { E as DocContext, K as toNumberOrNaN, q as jsxRuntimeExports, F as textRendererStyle } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-CLVxH5V1.js";
4
- import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-tY4Di5bb.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-K8mXt3hf.js";
4
+ import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-BMBULyGD.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
6
6
  import me from "math-expressions";
7
7
  import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
8
- import { ChoiceInputInlineContext } from "./choiceInput-BhJTiD12.js";
8
+ import { ChoiceInputInlineContext } from "./choiceInput-DRQnjRqL.js";
9
9
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
10
10
  import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
11
- import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-CJgINyu6.js";
11
+ import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-BE4cy3ar.js";
12
12
  import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
13
13
  import { e as resolveTextColor, f as resolveBackgroundColor } from "./styleColors-BrCvjxze.js";
14
14
  const text = React__default.memo(function Text(props) {
@@ -1,15 +1,15 @@
1
- import { I as useContentT, K as toNumberOrNaN, q as jsxRuntimeExports, Y as MathJax } from "./doenetml-DEXzlF5h.js";
1
+ import { I as useContentT, K as toNumberOrNaN, q as jsxRuntimeExports, Y as MathJax } from "./doenetml-BaDcU5Tr.js";
2
2
  import { useState, useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-CLVxH5V1.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-K8mXt3hf.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { BoardContext } from "./graph-tY4Di5bb.js";
6
+ import { BoardContext } from "./graph-BMBULyGD.js";
7
7
  import me from "math-expressions";
8
8
  import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
9
- import { c as calculateValidationState, u as useSubmitActionWithDelay, w as wantsFullCheckWorkButton, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BT_oE1s8.js";
10
- import { D as DescriptionPopover } from "./Description-CQoSDGQ9.js";
9
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, w as wantsFullCheckWorkButton, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BaM_fKvE.js";
10
+ import { D as DescriptionPopover } from "./Description-C3YiVshe.js";
11
11
  import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
12
- import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-CDTQWlIU.js";
12
+ import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-DvuaTWzf.js";
13
13
  import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
14
14
  const EXPANDED_INPUT_MARGIN_X = 4;
15
15
  const BOARD_INPUT_FALLBACK_WIDTH = "100px";
@@ -1,5 +1,5 @@
1
- import { aj as createStoreContext, ak as createDialogComponent, a2 as forwardRef, a3 as createElement, a4 as createHook, a6 as invariant, al as useWrapElement, q as jsxRuntimeExports, a7 as useStoreState, am as isFalsyBooleanCallback, an as contains, ao as sync, ap as chain, aq as useEvent, ar as createStore, as as defaultValue, at as useStore, au as useStoreProps } from "./doenetml-DEXzlF5h.js";
2
- import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-DFFUgL-R.js";
1
+ import { aj as createStoreContext, ak as createDialogComponent, a2 as forwardRef, a3 as createElement, a4 as createHook, a6 as invariant, al as useWrapElement, q as jsxRuntimeExports, a7 as useStoreState, am as isFalsyBooleanCallback, an as contains, ao as sync, ap as chain, aq as useEvent, ar as createStore, as as defaultValue, at as useStore, au as useStoreProps } from "./doenetml-BaDcU5Tr.js";
2
+ import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-DdHwxVPu.js";
3
3
  import { useRef, useEffect } from "react";
4
4
  const ctx = createStoreContext([HovercardContextProvider], [HovercardScopedContextProvider]);
5
5
  const useTooltipProviderContext = ctx.useProviderContext;
@@ -1,4 +1,4 @@
1
- import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-CLVxH5V1.js";
1
+ import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-K8mXt3hf.js";
2
2
  import { e as exceededDragThreshold, p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
3
3
  function attachAnchoredGraphDragHandlers(params) {
4
4
  const {
@@ -0,0 +1,114 @@
1
+ import { x as useAppSelector, y as mainSlice, z as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-BaDcU5Tr.js";
2
+ import React__default, { useState, useEffect } from "react";
3
+ function useDoenetRenderer(props, initializeChildrenOnConstruction = true) {
4
+ const actions = props.componentInstructions.actions;
5
+ const componentIdx = props.componentInstructions.componentIdx;
6
+ const effectiveIdx = props.componentInstructions.effectiveIdx;
7
+ const id = props.componentInstructions.id;
8
+ const rendererName = props.coreId + componentIdx;
9
+ const [renderersToLoad, setRenderersToLoad] = useState({});
10
+ const componentInfo = useAppSelector(
11
+ (state) => mainSlice.selectors.componentInfo(state)[rendererName]
12
+ );
13
+ const {
14
+ stateValues,
15
+ sourceOfUpdate = {},
16
+ ignoreUpdate,
17
+ childrenInstructions,
18
+ prefixForIds
19
+ } = componentInfo || {
20
+ stateValues: {},
21
+ sourceOfUpdate: {},
22
+ ignoreUpdate: false,
23
+ childrenInstructions: [],
24
+ prefixForIds: ""
25
+ };
26
+ let children = [];
27
+ const loadMoreRenderers = Object.keys(renderersToLoad).length === 0;
28
+ for (let childInstructions of childrenInstructions) {
29
+ let child = createChildFromInstructions(
30
+ childInstructions,
31
+ loadMoreRenderers
32
+ );
33
+ children.push(child);
34
+ }
35
+ useEffect(() => {
36
+ const entries = Object.entries(renderersToLoad);
37
+ if (entries.length > 0) {
38
+ const names = entries.map(([name]) => name);
39
+ const loaders = entries.map(([, loader]) => loader);
40
+ renderersLoadComponent(loaders, names).then(
41
+ ({ rendererClasses: newRendererClasses }) => {
42
+ Object.assign(props.rendererClasses, newRendererClasses);
43
+ setRenderersToLoad({});
44
+ }
45
+ );
46
+ }
47
+ }, [renderersToLoad, props.rendererClasses]);
48
+ function createChildFromInstructions(childInstructions, loadMoreRenderers2) {
49
+ if (typeof childInstructions === "string" || childInstructions === null) {
50
+ return childInstructions;
51
+ }
52
+ let propsForChild = {
53
+ key: props.coreId + childInstructions.componentIdx,
54
+ componentInstructions: childInstructions,
55
+ rendererClasses: props.rendererClasses,
56
+ coreId: props.coreId,
57
+ docId: props.docId,
58
+ activityId: props.activityId,
59
+ callAction: props.callAction,
60
+ fetchExternalDoenetML: props.fetchExternalDoenetML,
61
+ requestScrollTo: props.requestScrollTo,
62
+ flags: props.flags
63
+ };
64
+ let rendererClass = props.rendererClasses[childInstructions.rendererType];
65
+ if (!rendererClass) {
66
+ if (loadMoreRenderers2) {
67
+ setRenderersToLoad((old) => {
68
+ let rendererLoaders = { ...old };
69
+ if (!(childInstructions.rendererType in rendererLoaders)) {
70
+ rendererLoaders[childInstructions.rendererType] = () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/GraphFrame.tsx": () => import("./GraphFrame-kjpzlGAZ.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-K8mXt3hf.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-BUrShOhW.js"), "./renderers/alert.tsx": () => import("./alert-DrSkp2Jc.js"), "./renderers/angle.tsx": () => import("./angle-Cpf3Nxos.js"), "./renderers/answer.tsx": () => import("./answer-CCplbrnp.js"), "./renderers/asList.tsx": () => import("./asList-BHvRPMiM.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-CxZ_Fh1d.js"), "./renderers/boolean.tsx": () => import("./boolean-B-8ywG0O.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-tIFL5KcM.js"), "./renderers/br.tsx": () => import("./br-C0hbZX2-.js"), "./renderers/button.tsx": () => import("./button-BH0uvf-X.js"), "./renderers/c.tsx": () => import("./c-DG_3MCmn.js"), "./renderers/cell.tsx": () => import("./cell-X80Atv7x.js"), "./renderers/chart.tsx": () => import("./chart-Dz_bVlKV.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-DRQnjRqL.js"), "./renderers/circle.tsx": () => import("./circle-CZ-yaFYD.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-BT0eNkZ_.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-zw-cr8j8.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-C13575ZE.js"), "./renderers/containerInline.tsx": () => import("./containerInline-CjFVZgeu.js"), "./renderers/curve.tsx": () => import("./curve-Ci2S_RNK.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-Cp2QWAl2.js"), "./renderers/em.tsx": () => import("./em-DJbl8EXg.js"), "./renderers/embed.tsx": () => import("./embed-D7pM2Vp4.js"), "./renderers/feedback.tsx": () => import("./feedback-D56GHP30.js"), "./renderers/figure.tsx": () => import("./figure-BXPg0nyZ.js"), "./renderers/footnote.tsx": () => import("./footnote-C7JBtDcl.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-B4ISlcSC.js"), "./renderers/graph.tsx": () => import("./graph-BMBULyGD.js"), "./renderers/hint.tsx": () => import("./hint-B8xPhenn.js"), "./renderers/hr.tsx": () => import("./hr-Bfia_DuV.js"), "./renderers/image.tsx": () => import("./image-Cr_wGTIM.js"), "./renderers/label.tsx": () => import("./label-D2tO_klY.js"), "./renderers/legend.tsx": () => import("./legend-CVeoVam3.js"), "./renderers/line.tsx": () => import("./line-o1j8wLgr.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-DzDsz_za.js"), "./renderers/list.tsx": () => import("./list-DN6m05Mq.js"), "./renderers/lq.tsx": () => import("./lq-DgvhObEJ.js"), "./renderers/lsq.tsx": () => import("./lsq-CjR4zdnR.js"), "./renderers/math.tsx": () => import("./math-D4AG3_Mj.js"), "./renderers/mathInput.tsx": () => import("./mathInput-D1ROX1M9.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-BG33fliS.js"), "./renderers/mdash.tsx": () => import("./mdash-Blrw2vAD.js"), "./renderers/nbsp.tsx": () => import("./nbsp-C9BE-8IT.js"), "./renderers/ndash.tsx": () => import("./ndash-DVSFow-8.js"), "./renderers/number.tsx": () => import("./number-0bXj8WiG.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-DlATYIET.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-NJAuFU4k.js"), "./renderers/p.tsx": () => import("./p-CqnoYV5U.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-DbQJaHwt.js"), "./renderers/pegboard.tsx": () => import("./pegboard-CzrZg_xM.js"), "./renderers/point.tsx": () => import("./point-BD9mkNhc.js"), "./renderers/polygon.tsx": () => import("./polygon-BF-4evwg.js"), "./renderers/polyline.tsx": () => import("./polyline-J0xgkjR_.js"), "./renderers/pre.tsx": () => import("./pre-DDsakhdG.js"), "./renderers/prefigure.tsx": () => import("./prefigure-BJUaO92h.js"), "./renderers/pretzel.tsx": () => import("./pretzel-Ey-_Ebnf.js"), "./renderers/q.tsx": () => import("./q-jauOjdrt.js"), "./renderers/ray.tsx": () => import("./ray-xmgRq2o4.js"), "./renderers/ref.tsx": () => import("./ref-BIzLTlj4.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-COwjbSIH.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-By0HBHUR.js"), "./renderers/row.tsx": () => import("./row-CEFVtpxU.js"), "./renderers/rq.tsx": () => import("./rq-BHzWYYzC.js"), "./renderers/rsq.tsx": () => import("./rsq-KmpsZndS.js"), "./renderers/section.tsx": () => import("./section-D7iP5HwO.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-XvVGB0JP.js"), "./renderers/slider.tsx": () => import("./slider-DhOkPLVH.js"), "./renderers/slopeField.tsx": () => import("./slopeField-QJ5x-1p5.js"), "./renderers/solution.tsx": () => import("./solution-DGNM0_4q.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-D7UtH0hF.js"), "./renderers/sq.tsx": () => import("./sq-WSL08ds8.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-CaqGKpMe.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-Dm1Ssaia.js"), "./renderers/table.tsx": () => import("./table-BVwMvAHc.js"), "./renderers/tabular.tsx": () => import("./tabular-hWJZMMPZ.js"), "./renderers/tag.tsx": () => import("./tag-eDlCFvX0.js"), "./renderers/text.tsx": () => import("./text-BEmrovaJ.js"), "./renderers/textInput.tsx": () => import("./textInput-CB8Wy1SH.js"), "./renderers/vector.tsx": () => import("./vector-IsdjkxUw.js"), "./renderers/vectorField.tsx": () => import("./vectorField-CNRw1We_.js"), "./renderers/video.tsx": () => import("./video-DyzTYYMg.js") }), `./renderers/${childInstructions.rendererType}.tsx`, 3);
71
+ }
72
+ return rendererLoaders;
73
+ });
74
+ }
75
+ return null;
76
+ }
77
+ let child = React__default.createElement(rendererClass, propsForChild);
78
+ return child;
79
+ }
80
+ let rendererType = props.componentInstructions.rendererType;
81
+ const callAction = (argObj) => {
82
+ if (!argObj.componentIdx) {
83
+ argObj = { ...argObj };
84
+ argObj.componentIdx = componentIdx;
85
+ }
86
+ if (!argObj.rendererType) {
87
+ argObj = { ...argObj };
88
+ argObj.rendererType = rendererType;
89
+ }
90
+ return props.callAction(argObj);
91
+ };
92
+ return {
93
+ componentIdx: effectiveIdx,
94
+ id: prefixForIds + id,
95
+ SVs: stateValues,
96
+ docId: props.docId,
97
+ activityId: props.activityId,
98
+ actions,
99
+ children,
100
+ sourceOfUpdate,
101
+ ignoreUpdate,
102
+ rendererName,
103
+ initializeChildren: () => {
104
+ },
105
+ callAction,
106
+ doenetViewerUrl: props.doenetViewerUrl,
107
+ fetchExternalDoenetML: props.fetchExternalDoenetML,
108
+ requestScrollTo: props.requestScrollTo,
109
+ flags: props.flags
110
+ };
111
+ }
112
+ export {
113
+ useDoenetRenderer as u
114
+ };
@@ -1,6 +1,6 @@
1
1
  import { useMemo, useContext, useRef } from "react";
2
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-tY4Di5bb.js";
3
- import { N as createFunctionFromDefinition, E as DocContext } from "./doenetml-DEXzlF5h.js";
2
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BMBULyGD.js";
3
+ import { N as createFunctionFromDefinition, E as DocContext } from "./doenetml-BaDcU5Tr.js";
4
4
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
5
5
  import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
6
6
  function fieldFunctionFromDefinition(fDefinition) {
@@ -1,5 +1,5 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-DEXzlF5h.js";
2
- import { F as FontAwesomeIcon } from "./index.es-Be4EwJMA.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-BaDcU5Tr.js";
2
+ import { F as FontAwesomeIcon } from "./index.es-C8tvoWu4.js";
3
3
  import { d as faSpinner, e as faLevelDownAlt, g as faCheck, h as faTimes, i as faCloud } from "./index-BDlitCgu.js";
4
4
  import React__default, { useCallback } from "react";
5
5
  function checkWorkCredit(SVs) {
@@ -1,10 +1,10 @@
1
- import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle, G as DynamicMath } from "./doenetml-DEXzlF5h.js";
1
+ import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle, G as DynamicMath } from "./doenetml-BaDcU5Tr.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { j as jxg, s as syncLayer, g as syncVisPropValues, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-CLVxH5V1.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-tY4Di5bb.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-B3QmZQJP.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-BhJTiD12.js";
3
+ import { j as jxg, s as syncLayer, g as syncVisPropValues, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, i as applyLineFamilyLabelPlacement, k as buildLineFamilyLabelAttributes, d as attachLabelHoverHighlight, c as computeLabelMaskCssStyle, l as stabilizeInitialLineFamilyLabelPlacement, r as removeJXGEventHandlers } from "./JSXGraphRenderer-K8mXt3hf.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BMBULyGD.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CormR7Zw.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-DRQnjRqL.js";
8
8
  import { a as buildLineLikeAttributes, c as buildDragHandleAttributes } from "./buildGraphicalAttributes-B_soifR-.js";
9
9
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
10
10
  import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
@@ -1,6 +1,6 @@
1
1
  import React__default from "react";
2
- import { u as useDoenetRenderer } from "./useDoenetRenderer-BShKX3Cf.js";
3
- import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-BCDbwx4Y.js";
2
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-v0KFT4_z.js";
3
+ import { u as useFieldFunction, a as useFieldCurve, c as buildVectorFieldData } from "./useFieldCurve-B1ZzGLt8.js";
4
4
  const vectorField = React__default.memo(function VectorField(props) {
5
5
  let { SVs } = useDoenetRenderer(props);
6
6
  VectorField.ignoreActionsWithoutCore = () => true;