@doenet/doenetml 0.7.23-dev.446 → 0.7.23-dev.447

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 (103) hide show
  1. package/{AnswerResponseButton-DyWXKo6v.js → AnswerResponseButton-BnyushMf.js} +2 -2
  2. package/{Description-D8eSeiSN.js → Description-BHX0hDi7.js} +1 -1
  3. package/{GraphFrame-BLQMoTz7.js → GraphFrame-Be2S86p5.js} +2 -2
  4. package/{JSXGraphRenderer-DsED_IYR.js → JSXGraphRenderer-CfML1Caq.js} +1 -1
  5. package/{NonInlineMediaWrapper-BIZiYEyJ.js → NonInlineMediaWrapper-Bi6yrrb9.js} +1 -1
  6. package/{_error-BR4OLjxm.js → _error-BvnJu25Y.js} +2 -2
  7. package/{alert-yVdGlXkn.js → alert-BqXZF8VD.js} +3 -3
  8. package/{angle-BHMjBiYL.js → angle-C1tHpiwW.js} +6 -6
  9. package/{answer-B3MlhyK1.js → answer-IB4Rz26v.js} +5 -5
  10. package/{asList-C-QGYFna.js → asList-Dos4GJ-x.js} +2 -2
  11. package/{blockQuote-BUijb7-U.js → blockQuote-CHUd4Qcy.js} +3 -3
  12. package/{boolean-Bb0VIVoS.js → boolean-BSZg9n0k.js} +2 -2
  13. package/{booleanInput-hVFN83aA.js → booleanInput-BDxn-2f2.js} +6 -6
  14. package/{br-DwmabJPD.js → br-NQ820K9v.js} +2 -2
  15. package/{button-DTnZStCy.js → button-DIkTPWB8.js} +4 -4
  16. package/{c-Dnlt6r-1.js → c-C7oTafeh.js} +3 -3
  17. package/{cell-CdGTtaUp.js → cell-CZ9YxOoT.js} +3 -3
  18. package/{choiceInput-C_4uPa4T.js → choiceInput-C2OCYTFb.js} +4 -4
  19. package/{circle-D4puQp-K.js → circle-lHVf-Rnj.js} +6 -6
  20. package/{cobwebPolyline-pzpR8b86.js → cobwebPolyline-BHRXeCQK.js} +4 -4
  21. package/{codeEditor-Bku7Ylau.js → codeEditor-D9514mjE.js} +2 -2
  22. package/{composites-BqzFUk_h.js → composites-CkJBGhYQ.js} +1 -1
  23. package/{containerBlock-CiAsFmTu.js → containerBlock-tSdyTT-w.js} +4 -4
  24. package/{containerInline-BduAdm_w.js → containerInline-BJyYO7iT.js} +4 -4
  25. package/{curve-D9Bz5bzE.js → curve-DVYbwAwj.js} +4 -4
  26. package/{doenetml-KneMbdUl.js → doenetml-Cl4m-iIr.js} +5 -5
  27. package/doenetml-external-worker.d.ts +15 -0
  28. package/doenetml-external-worker.d.ts.map +1 -1
  29. package/doenetml-external-worker.js +17 -10
  30. package/doenetml-inline-worker.js +2 -2
  31. package/{ellipsis-CySN_qv6.js → ellipsis-D-irnNHU.js} +2 -2
  32. package/{em-DAUgIg6f.js → em-Bw9IG3qb.js} +3 -3
  33. package/{embed-l4BxxdBO.js → embed-ySzwkGz8.js} +2 -2
  34. package/{feedback-BTZMQoBJ.js → feedback-CoD3yjRP.js} +4 -4
  35. package/{figure-QbUCbI8x.js → figure-Cyotiyyn.js} +3 -3
  36. package/{fillPatterns-O5qMvUVb.js → fillPatterns-fEJQ_kwx.js} +1 -1
  37. package/{footnote-dMsVu_z4.js → footnote-DVK13b4D.js} +3 -3
  38. package/{fractionInput-D7Eq6FLE.js → fractionInput-dl7UZUSM.js} +4 -4
  39. package/{graph-mqujNItp.js → graph-BfKVz-Kv.js} +6 -6
  40. package/{hint-CrOY6rw7.js → hint-Cei5qC42.js} +4 -4
  41. package/{hr-CC-1JDh8.js → hr-CUHGQ_Be.js} +2 -2
  42. package/{image-DxD-Pqmd.js → image-CD-D_kAW.js} +7 -7
  43. package/{index-D3aI7lEB.js → index-bTQFB_cq.js} +1 -1
  44. package/{index.es-B8h2rGUR.js → index.es-BX48x60Y.js} +1 -1
  45. package/index.js +1 -1
  46. package/{label-BUJ6Rpgu.js → label-BJGSkKnV.js} +6 -6
  47. package/{labelWithLatex-DuSUomAn.js → labelWithLatex-Dd7dwoNh.js} +1 -1
  48. package/{legend-BO--dbsh.js → legend-BJv57uMk.js} +4 -4
  49. package/{line-Dwhehwjd.js → line-B7P9Ganl.js} +6 -6
  50. package/{lineFamilyDragHandlers-C0KNuiat.js → lineFamilyDragHandlers-DLuemdFl.js} +1 -1
  51. package/{lineSegment-BUwlyA8O.js → lineSegment-DTw_x5H9.js} +5 -5
  52. package/{list-BewyxFt1.js → list-D9FSChcK.js} +4 -4
  53. package/{lq-CPygjQ0I.js → lq-DuoHc0MU.js} +2 -2
  54. package/{lsq-Dq2OdgJ3.js → lsq-B7Mmh07r.js} +2 -2
  55. package/{markupRenderer-B28xMxjd.js → markupRenderer-DJM0buzW.js} +1 -1
  56. package/{math-DIkg5kdb.js → math-C4BhqPcT.js} +6 -6
  57. package/{mathInput-CuSgICqM.js → mathInput-BV8hw5GI.js} +7 -7
  58. package/{matrixInput-BjEzCkej.js → matrixInput-BFTfrKzf.js} +4 -4
  59. package/{mdash-Dd0dC9ZN.js → mdash-4IBt_kF2.js} +2 -2
  60. package/{nbsp-BDj188gH.js → nbsp-CUd0IXJc.js} +2 -2
  61. package/{ndash-D82WGMk5.js → ndash-6DN51M90.js} +2 -2
  62. package/{number-CsmZNCaA.js → number-CIuRBvhG.js} +6 -6
  63. package/{orbitalDiagram-CmYJeGHp.js → orbitalDiagram-DuVvhurQ.js} +2 -2
  64. package/{orbitalDiagramInput-6edLs5Cb.js → orbitalDiagramInput-C9foaDXH.js} +2 -2
  65. package/{p-leQyCCs0.js → p-CfZmbInH.js} +4 -4
  66. package/package.json +1 -1
  67. package/{paginatorControls-DjBJjyTq.js → paginatorControls-DG2OYXYe.js} +2 -2
  68. package/{pegboard-CmvMLZQE.js → pegboard-DFbZmvAo.js} +4 -4
  69. package/{point-DlaA8ggd.js → point-D81EFDo_.js} +6 -6
  70. package/{polygon-I15KTIEp.js → polygon-Bl3hf2mb.js} +6 -6
  71. package/{polyline-CemVFqvk.js → polyline-NZ9fpD9F.js} +5 -5
  72. package/{pre-CW_2k1QS.js → pre-4Tt7zrK4.js} +3 -3
  73. package/{prefigure-DvcLIrYI.js → prefigure-ChUWo_4X.js} +1 -1
  74. package/{pretzel-Bd6DgnWW.js → pretzel-B3sXb45R.js} +4 -4
  75. package/{q-B216JPnK.js → q-HCsGnSIH.js} +3 -3
  76. package/{ray-DUKyOz39.js → ray-BUQJnyuA.js} +5 -5
  77. package/{ref-BaSdfHFR.js → ref-BBGzuJYH.js} +2 -2
  78. package/{regionBetweenCurveXAxis-C_VBs5PN.js → regionBetweenCurveXAxis-B3xgD3lv.js} +5 -5
  79. package/{regionBetweenCurves-Bj8QeXXP.js → regionBetweenCurves-C356BuQg.js} +5 -5
  80. package/{row-DLpefFHp.js → row-Dh0Hl7yp.js} +2 -2
  81. package/{rq-DlDsQlOl.js → rq-BLZqMXUV.js} +2 -2
  82. package/{rsq-Bmp9ngqj.js → rsq-D1_dDM5K.js} +2 -2
  83. package/{section-5MLd0hE8.js → section-Dgz5ex1-.js} +5 -5
  84. package/{sha256-Bzrm4-tO-D4VOq96C.js → sha256-Bzrm4-tO-DBGBRntE.js} +1 -1
  85. package/{sideBySide-DK__lF5P.js → sideBySide-0Cw0viXe.js} +2 -2
  86. package/{slider-Dw69lcuv.js → slider-CLhZx0KJ.js} +3 -3
  87. package/{solution-L0c-SKhS.js → solution-6X5RRJuq.js} +4 -4
  88. package/{spreadsheet-4LrZjKvD.js → spreadsheet-Dp3tMmkQ.js} +2 -2
  89. package/{sq-ClwtbJl2.js → sq-D7BAf7W-.js} +3 -3
  90. package/{subsetOfRealsInput--odUYpOc.js → subsetOfRealsInput-BvBK_Jd5.js} +2 -2
  91. package/{summaryStatistics-B_C7MwLj.js → summaryStatistics-BJUnMS8R.js} +2 -2
  92. package/{table-DGt4W_HM.js → table-9CsK8tcI.js} +2 -2
  93. package/{tabular-CNiL6xjX.js → tabular-BODNZXF0.js} +2 -2
  94. package/{tag-Ch4GTmdQ.js → tag-C4r4-oVg.js} +2 -2
  95. package/{text-CYTqx_LY.js → text-bshUf4sW.js} +6 -6
  96. package/{textInput-yfy-FD9B.js → textInput-C7dkbxaa.js} +6 -6
  97. package/{tooltip-provider-DsW_MxoB.js → tooltip-provider-p1KTK1vP.js} +1 -1
  98. package/{useAnchoredGraphDragHandler-CGKjsqrU.js → useAnchoredGraphDragHandler-C0OMh5dz.js} +1 -1
  99. package/useDoenetRenderer-B5uCh7Ag.js +114 -0
  100. package/{useSubmitActionWithDelay-AdyQf3WY.js → useSubmitActionWithDelay-v7uRJBRr.js} +2 -2
  101. package/{vector-DFzBM71C.js → vector-DxwNO6XW.js} +6 -6
  102. package/{video-CAIKbj6G.js → video-C6_6fvZH.js} +4 -4
  103. package/useDoenetRenderer-NkmIqE-s.js +0 -114
@@ -1,8 +1,8 @@
1
- import { u as useT, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { u as useT, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-DyWXKo6v.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-AdyQf3WY.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
+ import { A as AnswerResponseButton } from "./AnswerResponseButton-BnyushMf.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-v7uRJBRr.js";
6
6
  const pretzel = React__default.memo(function Pretzel(props) {
7
7
  let {
8
8
  componentIdx,
@@ -1,7 +1,7 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-B28xMxjd.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-DJM0buzW.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 { z as DocContext, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.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-DsED_IYR.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-mqujNItp.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C0KNuiat.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-CfML1Caq.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BfKVz-Kv.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DLuemdFl.js";
7
7
  import { a as buildLineLikeAttributes } from "./buildGraphicalAttributes-0RNcbd2S.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 { z as DocContext, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.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 { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.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-DsED_IYR.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-mqujNItp.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-O5qMvUVb.js";
3
+ import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CfML1Caq.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BfKVz-Kv.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-fEJQ_kwx.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
8
8
  const regionBetweenCurveXAxis = React__default.memo(function RegionBetweenCurveXAxis(props) {
9
9
  let { id, SVs } = useDoenetRenderer(props);
@@ -1,11 +1,11 @@
1
- import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
4
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-mqujNItp.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BfKVz-Kv.js";
5
5
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-O5qMvUVb.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-fEJQ_kwx.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
8
- import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DsED_IYR.js";
8
+ import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CfML1Caq.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 { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.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 { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.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 { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.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, F as useContentT, N as directionOf, O as useDocumentDirection, P as chromeLangDir, q as useUiLocale, z as DocContext, I as cesc, G as useRecordVisibilityChanges, p as jsxRuntimeExports, Q as DocumentDirectionProvider } from "./doenetml-KneMbdUl.js";
1
+ import { u as useT, F as useContentT, N as directionOf, O as useDocumentDirection, P as chromeLangDir, q as useUiLocale, z as DocContext, I as cesc, G as useRecordVisibilityChanges, p as jsxRuntimeExports, Q as DocumentDirectionProvider } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { F as FontAwesomeIcon } from "./index.es-B8h2rGUR.js";
3
+ import { F as FontAwesomeIcon } from "./index.es-BX48x60Y.js";
4
4
  import { f as faCaretDown, a as faCaretRight } from "./index-BDlitCgu.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-BqzFUk_h.js";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-AdyQf3WY.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-CkJBGhYQ.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-v7uRJBRr.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 { o as getDefaultExportFromCjs } from "./doenetml-KneMbdUl.js";
1
+ import { o as getDefaultExportFromCjs } from "./doenetml-Cl4m-iIr.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 { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.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,8 +1,8 @@
1
- import { u as useT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, H as Context } from "./doenetml-KneMbdUl.js";
1
+ import { u as useT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, H as Context } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useState, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { r as renderLabelWithLatex } from "./labelWithLatex-DuSUomAn.js";
5
+ import { r as renderLabelWithLatex } from "./labelWithLatex-Dd7dwoNh.js";
6
6
  import { l as ltrIslandProps } from "./direction-BwrU7jHk.js";
7
7
  let round_to_decimals = (x, n) => {
8
8
  try {
@@ -1,9 +1,9 @@
1
- import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
4
- import { F as FontAwesomeIcon } from "./index.es-B8h2rGUR.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
+ import { F as FontAwesomeIcon } from "./index.es-BX48x60Y.js";
5
5
  import { c as faPuzzlePiece } from "./index-BDlitCgu.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-BqzFUk_h.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-CkJBGhYQ.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 { z as DocContext, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { z as DocContext, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.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-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.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 { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-B28xMxjd.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-DJM0buzW.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 });
@@ -1,6 +1,6 @@
1
- import { u as useT, G as useRecordVisibilityChanges, p as jsxRuntimeExports, W as ToggleButtonGroup, U as ToggleButton, R as ActionButtonGroup, S as ActionButton } from "./doenetml-KneMbdUl.js";
1
+ import { u as useT, G as useRecordVisibilityChanges, p as jsxRuntimeExports, W as ToggleButtonGroup, U as ToggleButton, R as ActionButtonGroup, S as ActionButton } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useState, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.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, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { u as useT, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
5
  const summaryStatistics = React__default.memo(function SummaryStatistics(props) {
6
6
  let { id, SVs, actions, callAction } = useDoenetRenderer(props);
@@ -1,6 +1,6 @@
1
- import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.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 { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
5
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
6
6
  const tabular = React__default.memo(function Tabular(props) {
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.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,13 +1,13 @@
1
- import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle } from "./doenetml-KneMbdUl.js";
1
+ import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-DsED_IYR.js";
4
- import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-mqujNItp.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-CfML1Caq.js";
4
+ import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-BfKVz-Kv.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
6
6
  import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-C_4uPa4T.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-C2OCYTFb.js";
8
8
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
9
9
  import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
10
- import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-CGKjsqrU.js";
10
+ import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-C0OMh5dz.js";
11
11
  const text = React__default.memo(function Text(props) {
12
12
  let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
13
13
  Text.ignoreActionsWithoutCore = () => true;
@@ -1,12 +1,12 @@
1
- import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-KneMbdUl.js";
1
+ import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-Cl4m-iIr.js";
2
2
  import { useState, useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-DsED_IYR.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-CfML1Caq.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { BoardContext } from "./graph-mqujNItp.js";
6
+ import { BoardContext } from "./graph-BfKVz-Kv.js";
7
7
  import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
8
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-AdyQf3WY.js";
9
- import { D as DescriptionPopover } from "./Description-D8eSeiSN.js";
8
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-v7uRJBRr.js";
9
+ import { D as DescriptionPopover } from "./Description-BHX0hDi7.js";
10
10
  import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
11
11
  function TextInput(props) {
12
12
  let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
@@ -1,4 +1,4 @@
1
- import { ae as createStoreContext, af as HovercardScopedContextProvider, ag as HovercardContextProvider, ah as createDialogComponent, Y as forwardRef, Z as createElement, $ as createHook, a1 as invariant, ai as useWrapElement, p as jsxRuntimeExports, a2 as useStoreState, aj as useHovercard, ak as isFalsyBooleanCallback, al as contains, am as sync, an as chain, ao as useEvent, ap as useHovercardAnchor, aq as createStore, ar as createHovercardStore, as as defaultValue, at as useStore, au as useStoreProps, av as useHovercardStoreProps } from "./doenetml-KneMbdUl.js";
1
+ import { ae as createStoreContext, af as HovercardScopedContextProvider, ag as HovercardContextProvider, ah as createDialogComponent, Y as forwardRef, Z as createElement, $ as createHook, a1 as invariant, ai as useWrapElement, p as jsxRuntimeExports, a2 as useStoreState, aj as useHovercard, ak as isFalsyBooleanCallback, al as contains, am as sync, an as chain, ao as useEvent, ap as useHovercardAnchor, aq as createStore, ar as createHovercardStore, as as defaultValue, at as useStore, au as useStoreProps, av as useHovercardStoreProps } from "./doenetml-Cl4m-iIr.js";
2
2
  import { useRef, useEffect } from "react";
3
3
  const ctx = createStoreContext([HovercardContextProvider], [HovercardScopedContextProvider]);
4
4
  const useTooltipProviderContext = ctx.useProviderContext;
@@ -1,4 +1,4 @@
1
- import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-DsED_IYR.js";
1
+ import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-CfML1Caq.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 { w as useAppSelector, x as mainSlice, y as renderersLoadComponent, _ as __variableDynamicImportRuntimeHelper } from "./doenetml-Cl4m-iIr.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-Be2S86p5.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-CfML1Caq.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-BvnJu25Y.js"), "./renderers/alert.tsx": () => import("./alert-BqXZF8VD.js"), "./renderers/angle.tsx": () => import("./angle-C1tHpiwW.js"), "./renderers/answer.tsx": () => import("./answer-IB4Rz26v.js"), "./renderers/asList.tsx": () => import("./asList-Dos4GJ-x.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-CHUd4Qcy.js"), "./renderers/boolean.tsx": () => import("./boolean-BSZg9n0k.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-BDxn-2f2.js"), "./renderers/br.tsx": () => import("./br-NQ820K9v.js"), "./renderers/button.tsx": () => import("./button-DIkTPWB8.js"), "./renderers/c.tsx": () => import("./c-C7oTafeh.js"), "./renderers/cell.tsx": () => import("./cell-CZ9YxOoT.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-C2OCYTFb.js"), "./renderers/circle.tsx": () => import("./circle-lHVf-Rnj.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-BHRXeCQK.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-D9514mjE.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-tSdyTT-w.js"), "./renderers/containerInline.tsx": () => import("./containerInline-BJyYO7iT.js"), "./renderers/curve.tsx": () => import("./curve-DVYbwAwj.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-D-irnNHU.js"), "./renderers/em.tsx": () => import("./em-Bw9IG3qb.js"), "./renderers/embed.tsx": () => import("./embed-ySzwkGz8.js"), "./renderers/feedback.tsx": () => import("./feedback-CoD3yjRP.js"), "./renderers/figure.tsx": () => import("./figure-Cyotiyyn.js"), "./renderers/footnote.tsx": () => import("./footnote-DVK13b4D.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-dl7UZUSM.js"), "./renderers/graph.tsx": () => import("./graph-BfKVz-Kv.js"), "./renderers/hint.tsx": () => import("./hint-Cei5qC42.js"), "./renderers/hr.tsx": () => import("./hr-CUHGQ_Be.js"), "./renderers/image.tsx": () => import("./image-CD-D_kAW.js"), "./renderers/label.tsx": () => import("./label-BJGSkKnV.js"), "./renderers/legend.tsx": () => import("./legend-BJv57uMk.js"), "./renderers/line.tsx": () => import("./line-B7P9Ganl.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-DTw_x5H9.js"), "./renderers/list.tsx": () => import("./list-D9FSChcK.js"), "./renderers/lq.tsx": () => import("./lq-DuoHc0MU.js"), "./renderers/lsq.tsx": () => import("./lsq-B7Mmh07r.js"), "./renderers/math.tsx": () => import("./math-C4BhqPcT.js"), "./renderers/mathInput.tsx": () => import("./mathInput-BV8hw5GI.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-BFTfrKzf.js"), "./renderers/mdash.tsx": () => import("./mdash-4IBt_kF2.js"), "./renderers/nbsp.tsx": () => import("./nbsp-CUd0IXJc.js"), "./renderers/ndash.tsx": () => import("./ndash-6DN51M90.js"), "./renderers/number.tsx": () => import("./number-CIuRBvhG.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-DuVvhurQ.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-C9foaDXH.js"), "./renderers/p.tsx": () => import("./p-CfZmbInH.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-DG2OYXYe.js"), "./renderers/pegboard.tsx": () => import("./pegboard-DFbZmvAo.js"), "./renderers/point.tsx": () => import("./point-D81EFDo_.js"), "./renderers/polygon.tsx": () => import("./polygon-Bl3hf2mb.js"), "./renderers/polyline.tsx": () => import("./polyline-NZ9fpD9F.js"), "./renderers/pre.tsx": () => import("./pre-4Tt7zrK4.js"), "./renderers/prefigure.tsx": () => import("./prefigure-ChUWo_4X.js"), "./renderers/pretzel.tsx": () => import("./pretzel-B3sXb45R.js"), "./renderers/q.tsx": () => import("./q-HCsGnSIH.js"), "./renderers/ray.tsx": () => import("./ray-BUQJnyuA.js"), "./renderers/ref.tsx": () => import("./ref-BBGzuJYH.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-B3xgD3lv.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-C356BuQg.js"), "./renderers/row.tsx": () => import("./row-Dh0Hl7yp.js"), "./renderers/rq.tsx": () => import("./rq-BLZqMXUV.js"), "./renderers/rsq.tsx": () => import("./rsq-D1_dDM5K.js"), "./renderers/section.tsx": () => import("./section-Dgz5ex1-.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-0Cw0viXe.js"), "./renderers/slider.tsx": () => import("./slider-CLhZx0KJ.js"), "./renderers/solution.tsx": () => import("./solution-6X5RRJuq.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-Dp3tMmkQ.js"), "./renderers/sq.tsx": () => import("./sq-D7BAf7W-.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-BvBK_Jd5.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-BJUnMS8R.js"), "./renderers/table.tsx": () => import("./table-9CsK8tcI.js"), "./renderers/tabular.tsx": () => import("./tabular-BODNZXF0.js"), "./renderers/tag.tsx": () => import("./tag-C4r4-oVg.js"), "./renderers/text.tsx": () => import("./text-bshUf4sW.js"), "./renderers/textInput.tsx": () => import("./textInput-C7dkbxaa.js"), "./renderers/vector.tsx": () => import("./vector-DxwNO6XW.js"), "./renderers/video.tsx": () => import("./video-C6_6fvZH.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,5 +1,5 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
2
- import { F as FontAwesomeIcon } from "./index.es-B8h2rGUR.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
+ import { F as FontAwesomeIcon } from "./index.es-BX48x60Y.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 calculateValidationState(SVs) {
@@ -1,10 +1,10 @@
1
- import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-KneMbdUl.js";
1
+ import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-Cl4m-iIr.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-DsED_IYR.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-mqujNItp.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-C0KNuiat.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-C_4uPa4T.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-CfML1Caq.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BfKVz-Kv.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DLuemdFl.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-C2OCYTFb.js";
8
8
  import { a as buildLineLikeAttributes, c as buildDragHandleAttributes } from "./buildGraphicalAttributes-0RNcbd2S.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,10 +1,10 @@
1
- import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-KneMbdUl.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useState, useEffect, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-NkmIqE-s.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-D8eSeiSN.js";
5
+ import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-BHX0hDi7.js";
6
6
  import { g as getNonInlineMediaLayoutStyles } from "./nonInlineMediaLayout-CkXHaqzo.js";
7
- import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-BIZiYEyJ.js";
7
+ import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-Bi6yrrb9.js";
8
8
  const YT_API_SRC = "https://www.youtube.com/iframe_api";
9
9
  const listeners = /* @__PURE__ */ new Set();
10
10
  let installed = false;