@doenet/doenetml 0.7.23-dev.455 → 0.7.23-dev.456

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 (102) hide show
  1. package/{AnswerResponseButton-BwJAmUC9.js → AnswerResponseButton-B7kX6vvu.js} +2 -2
  2. package/{Description-CcpumkyC.js → Description-Le-M5FF8.js} +1 -1
  3. package/{GraphFrame-BFes_3fi.js → GraphFrame-DVc0cuWg.js} +2 -2
  4. package/{JSXGraphRenderer-Dfx0KeBS.js → JSXGraphRenderer-Fmpfrdw2.js} +1 -1
  5. package/{NonInlineMediaWrapper-DREDn1zR.js → NonInlineMediaWrapper-Biva-2YJ.js} +1 -1
  6. package/{_error-CJuDrOK0.js → _error-XeHDjbD3.js} +2 -2
  7. package/{alert-D2p9YZXO.js → alert-CeqmKquh.js} +3 -3
  8. package/{angle-Czi0UtUv.js → angle-Duhf81Xe.js} +6 -6
  9. package/{answer-Dl6erpxu.js → answer-CpLSw89P.js} +5 -5
  10. package/{asList-BmJpHcp8.js → asList-DcNLwNJH.js} +2 -2
  11. package/{blockQuote-BPYbEkwX.js → blockQuote-DElP2YdP.js} +3 -3
  12. package/{boolean-B10Ht1YC.js → boolean-TWvnva6t.js} +2 -2
  13. package/{booleanInput-B32JwM1q.js → booleanInput-DthE37WD.js} +6 -6
  14. package/{br-BzodfYYp.js → br-DszriPkM.js} +2 -2
  15. package/{button-CYkVu6zC.js → button-BngLL3q0.js} +4 -4
  16. package/{c-DNpc53Ey.js → c-DBPT7VDw.js} +3 -3
  17. package/{cell-DuHHO47E.js → cell-BysHMiQl.js} +3 -3
  18. package/{choiceInput-XIizsFRo.js → choiceInput-CKhozc1J.js} +4 -4
  19. package/{circle-DX0ZW5eV.js → circle-DYMphiDe.js} +6 -6
  20. package/{cobwebPolyline-C_XD1UcN.js → cobwebPolyline-CF5KgXwp.js} +4 -4
  21. package/{codeEditor-Bh8w049b.js → codeEditor-CpB_7YS8.js} +2 -2
  22. package/{composites-BCQbe1XR.js → composites-CzwtwrcN.js} +1 -1
  23. package/{containerBlock-CnGcU_0S.js → containerBlock-BqFPlrpN.js} +4 -4
  24. package/{containerInline-DjLjJ9N_.js → containerInline-v5r8RrTz.js} +4 -4
  25. package/{curve-B-Kwhu1l.js → curve-lIH3uOFl.js} +4 -4
  26. package/doenetml-external-worker.js +2 -2
  27. package/doenetml-inline-worker.js +2 -2
  28. package/{doenetml-DixRfoFb.js → doenetml-qto-JFRt.js} +157 -33
  29. package/{ellipsis-C7l2eqTc.js → ellipsis-CwupouUH.js} +2 -2
  30. package/{em-CuhAuzVn.js → em-ejoKvAlP.js} +3 -3
  31. package/{embed-BxgPakgw.js → embed-C9YCG6Ko.js} +2 -2
  32. package/{feedback-DyeItSuA.js → feedback-CyDTRDbu.js} +4 -4
  33. package/{figure-DpaeeQKH.js → figure-TrfGe4LX.js} +3 -3
  34. package/{fillPatterns-CFUIn519.js → fillPatterns-DXYlkREi.js} +1 -1
  35. package/{footnote-KF-t5gMF.js → footnote-CnrhYyng.js} +3 -3
  36. package/{fractionInput-Cj5eqt03.js → fractionInput-9u3iWguA.js} +4 -4
  37. package/{graph-quA_4ohG.js → graph-CRAYqgKU.js} +6 -6
  38. package/{hint-M610eqhc.js → hint-Cvb-6WxR.js} +4 -4
  39. package/{hr-CheRQGHH.js → hr-BvZNKhYB.js} +2 -2
  40. package/{image-CdeLWKHy.js → image-zIOE-eTP.js} +7 -7
  41. package/{index-DpNxzm6P.js → index-Zfri_c3J.js} +1 -1
  42. package/{index.es-GxUbhBmx.js → index.es-C9WGLUrY.js} +1 -1
  43. package/index.js +1 -1
  44. package/{label-CEki-rUY.js → label-BBgH2ey3.js} +6 -6
  45. package/{labelWithLatex-D2KsEVCb.js → labelWithLatex-3TtfGGlB.js} +1 -1
  46. package/{legend-CQ_pJuGm.js → legend-DHGnNstT.js} +4 -4
  47. package/{line-CUxWuhrj.js → line-BBJdmg0N.js} +6 -6
  48. package/{lineFamilyDragHandlers-NrMEC-Ix.js → lineFamilyDragHandlers-BlMlxpCC.js} +1 -1
  49. package/{lineSegment-B7ve2va0.js → lineSegment-CdrhwrV7.js} +5 -5
  50. package/{list-CevPG_y3.js → list-BlFeBO0G.js} +4 -4
  51. package/{lq-DnCbmhjh.js → lq-DPZOu0MI.js} +2 -2
  52. package/{lsq-DBe60cmH.js → lsq-BciMm87M.js} +2 -2
  53. package/{markupRenderer-DXrKT7Tr.js → markupRenderer-UqBWJnl5.js} +1 -1
  54. package/{math-B02v3lBD.js → math-ex6aS_PP.js} +6 -6
  55. package/{mathInput-DY_bVyxo.js → mathInput-B0Dy5kQz.js} +7 -7
  56. package/{matrixInput-BU8_-idX.js → matrixInput-Cvf-cgHE.js} +4 -4
  57. package/{mdash-DUtJWDpF.js → mdash-BgW_jq_0.js} +2 -2
  58. package/{nbsp-B-63KoVK.js → nbsp-B1cFNV5a.js} +2 -2
  59. package/{ndash-xlJ90YNY.js → ndash-Dm9pvInA.js} +2 -2
  60. package/{number-Dfknbpb-.js → number-CsSGtksJ.js} +6 -6
  61. package/{orbitalDiagram-CdTO5NUL.js → orbitalDiagram-CoqAvxuM.js} +2 -2
  62. package/{orbitalDiagramInput-DJ4lN7xz.js → orbitalDiagramInput-DLINOt1p.js} +2 -2
  63. package/{p-Dh11v7lS.js → p-Dnn-WNpy.js} +4 -4
  64. package/package.json +1 -1
  65. package/{paginatorControls-C2lLiOcT.js → paginatorControls-BjUwPWvC.js} +2 -2
  66. package/{pegboard-D60SSCQz.js → pegboard-DknBCGVO.js} +4 -4
  67. package/{point-Dpaq8r3s.js → point-IgiimduH.js} +6 -6
  68. package/{polygon-C77INfzg.js → polygon-hjQshfSw.js} +6 -6
  69. package/{polyline-CvgMZWoB.js → polyline-CrGh-e_J.js} +5 -5
  70. package/{pre-bYCDKPW_.js → pre-V471GpZX.js} +3 -3
  71. package/{prefigure-C43TwKJW.js → prefigure-EpTIpzsf.js} +1 -1
  72. package/{pretzel-nejG_12I.js → pretzel-B6rHDgZu.js} +4 -4
  73. package/{q-B4EGkSip.js → q-Bc6oqsHF.js} +3 -3
  74. package/{ray-Bxni-HF3.js → ray-DfxJv8NU.js} +5 -5
  75. package/{ref-DyLTKdNe.js → ref-DquqVS2P.js} +2 -2
  76. package/{regionBetweenCurveXAxis-BcFP6Px_.js → regionBetweenCurveXAxis-CbZsgelm.js} +5 -5
  77. package/{regionBetweenCurves-Bszyst9V.js → regionBetweenCurves-Cl7AXIn-.js} +5 -5
  78. package/{row-BYlcctw1.js → row-BnylYkDb.js} +2 -2
  79. package/{rq-BkqeJTpY.js → rq-m3bWfi7z.js} +2 -2
  80. package/{rsq-D8IUzTxB.js → rsq-BTInXEWS.js} +2 -2
  81. package/{section-Bt_5qccm.js → section-BRkVawno.js} +5 -5
  82. package/{sha256-BqwaiouD-Bk6n7gwU.js → sha256-BqwaiouD-CdQjHxTh.js} +1 -1
  83. package/{sideBySide-1JTIOGlw.js → sideBySide-C8aTvIRn.js} +2 -2
  84. package/{slider-C5HXZlQa.js → slider-Ch8z4XvW.js} +3 -3
  85. package/{solution-D41ikwym.js → solution-VhbIaEbn.js} +4 -4
  86. package/{spreadsheet-fQCzTrEb.js → spreadsheet-dUoRP3R6.js} +2 -2
  87. package/{sq-D0ZSJrvr.js → sq-XDQdo8yB.js} +3 -3
  88. package/style.css +6 -8
  89. package/{subsetOfRealsInput-Dl1vzViH.js → subsetOfRealsInput-BAysONjK.js} +2 -2
  90. package/{summaryStatistics-D5tr6OpV.js → summaryStatistics-B8DGDFvM.js} +2 -2
  91. package/{table-VqEtR31S.js → table-IG5cprHj.js} +2 -2
  92. package/{tabular-CAmF9gM8.js → tabular-Dcx8iKIk.js} +2 -2
  93. package/{tag-CEJjbfUe.js → tag-wH5k8eoS.js} +2 -2
  94. package/{text-Bgy3zM3F.js → text-tTd_5CF9.js} +6 -6
  95. package/{textInput-CzESp3Ai.js → textInput-DCGhAhEx.js} +6 -6
  96. package/{tooltip-provider-CpdAmej2.js → tooltip-provider-wDbjmmS0.js} +1 -1
  97. package/{useAnchoredGraphDragHandler-DUZ1K-aw.js → useAnchoredGraphDragHandler-BxQ2mGkW.js} +1 -1
  98. package/useDoenetRenderer-CoeZAuyP.js +114 -0
  99. package/{useSubmitActionWithDelay-yMTNEQ6C.js → useSubmitActionWithDelay-CHdOjhry.js} +2 -2
  100. package/{vector-cqJrnT5u.js → vector-BKr6Xexq.js} +6 -6
  101. package/{video-Eo3F0ldk.js → video-CdsHKZ7c.js} +4 -4
  102. package/useDoenetRenderer--I4QKeZ_.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-DixRfoFb.js";
1
+ import { u as useT, F as useContentT, t as useChromeLangDir, G as useRecordVisibilityChanges, z as DocContext, p as jsxRuntimeExports } from "./doenetml-qto-JFRt.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-BwJAmUC9.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-yMTNEQ6C.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.js";
4
+ import { A as AnswerResponseButton } from "./AnswerResponseButton-B7kX6vvu.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CHdOjhry.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-DixRfoFb.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-qto-JFRt.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-DXrKT7Tr.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-UqBWJnl5.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-DixRfoFb.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-qto-JFRt.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-Dfx0KeBS.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-quA_4ohG.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-NrMEC-Ix.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-Fmpfrdw2.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CRAYqgKU.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BlMlxpCC.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-DixRfoFb.js";
1
+ import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-qto-JFRt.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.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-DixRfoFb.js";
1
+ import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-qto-JFRt.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-Dfx0KeBS.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-quA_4ohG.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-CFUIn519.js";
3
+ import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-Fmpfrdw2.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.js";
5
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CRAYqgKU.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-DXYlkREi.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-DixRfoFb.js";
1
+ import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-qto-JFRt.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
4
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-quA_4ohG.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.js";
4
+ import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CRAYqgKU.js";
5
5
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
6
- import { g as getPatternFillAttributes } from "./fillPatterns-CFUIn519.js";
6
+ import { g as getPatternFillAttributes } from "./fillPatterns-DXYlkREi.js";
7
7
  import { b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
8
- import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-Dfx0KeBS.js";
8
+ import { b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-Fmpfrdw2.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-DixRfoFb.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-qto-JFRt.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.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-DixRfoFb.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-qto-JFRt.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.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-DixRfoFb.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-qto-JFRt.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.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-DixRfoFb.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-qto-JFRt.js";
2
2
  import React__default, { useContext, useRef, useEffect } from "react";
3
- import { F as FontAwesomeIcon } from "./index.es-GxUbhBmx.js";
3
+ import { F as FontAwesomeIcon } from "./index.es-C9WGLUrY.js";
4
4
  import { f as faCaretDown, a as faCaretRight } from "./index-BDlitCgu.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-BCQbe1XR.js";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-yMTNEQ6C.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-CzwtwrcN.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CHdOjhry.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-DixRfoFb.js";
1
+ import { o as getDefaultExportFromCjs } from "./doenetml-qto-JFRt.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-DixRfoFb.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-qto-JFRt.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.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-DixRfoFb.js";
1
+ import { u as useT, p as jsxRuntimeExports, R as ActionButtonGroup, S as ActionButton, H as Context } from "./doenetml-qto-JFRt.js";
2
2
  import React__default, { useState, useRef, useEffect } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { r as renderLabelWithLatex } from "./labelWithLatex-D2KsEVCb.js";
5
+ import { r as renderLabelWithLatex } from "./labelWithLatex-3TtfGGlB.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-DixRfoFb.js";
1
+ import { u as useT, G as useRecordVisibilityChanges, t as useChromeLangDir, p as jsxRuntimeExports } from "./doenetml-qto-JFRt.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
4
- import { F as FontAwesomeIcon } from "./index.es-GxUbhBmx.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.js";
4
+ import { F as FontAwesomeIcon } from "./index.es-C9WGLUrY.js";
5
5
  import { c as faPuzzlePiece } from "./index-BDlitCgu.js";
6
- import { a as addCommasForCompositeRanges } from "./composites-BCQbe1XR.js";
6
+ import { a as addCommasForCompositeRanges } from "./composites-CzwtwrcN.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-DixRfoFb.js";
1
+ import { z as DocContext, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-qto-JFRt.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--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.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-DixRfoFb.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-qto-JFRt.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-DXrKT7Tr.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-UqBWJnl5.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
@@ -2549,14 +2549,12 @@ Tailwind base is purposely not included because we want all styles to be prefixe
2549
2549
  }
2550
2550
 
2551
2551
  /*
2552
- * CodeMirror editor area. `@uiw/react-codemirror` injects
2553
- * `backgroundColor: '#fff'` via its default light theme extension. Our
2554
- * `colorTheme()` factory already sets `backgroundColor: "var(--canvas)"` on
2555
- * the same `&` selector, and because our extensions are appended after the
2556
- * @uiw defaults in the CodeMirror state they should win. The CSS rule below
2557
- * acts as a belt-and-suspenders override with higher specificity
2558
- * (attribute(0,1,0) + class(0,0,1) = 0,1,1 beats the generated single-class
2559
- * theme rules at 0,0,1) so the editor background is guaranteed dark.
2552
+ * CodeMirror editor area. `CodeMirror.tsx` turns off `@uiw/react-codemirror`'s
2553
+ * own theme (whose only rule painted the editor white) and its `colorTheme()`
2554
+ * factory paints the canvas itself. The rule below is belt and suspenders: its
2555
+ * three compound parts (0,3,0) outrank the `.<generated-theme-class>` a
2556
+ * CodeMirror theme emits for an `&` rule (0,1,0), so the editor background is
2557
+ * guaranteed dark whatever else ends up in the extension set.
2560
2558
  */
2561
2559
  [data-theme="dark"] .editor-panel .cm-editor {
2562
2560
  background-color: var(--canvas);
@@ -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-DixRfoFb.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-qto-JFRt.js";
2
2
  import React__default, { useState, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.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-DixRfoFb.js";
1
+ import { u as useT, t as useChromeLangDir, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-qto-JFRt.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.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-DixRfoFb.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-qto-JFRt.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.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-DixRfoFb.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-qto-JFRt.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.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-DixRfoFb.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-qto-JFRt.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.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-DixRfoFb.js";
1
+ import { z as DocContext, H as Context, p as jsxRuntimeExports, A as textRendererStyle } from "./doenetml-qto-JFRt.js";
2
2
  import React__default, { useRef, useContext } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-Dfx0KeBS.js";
4
- import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-quA_4ohG.js";
5
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-Fmpfrdw2.js";
4
+ import { BoardContext, TEXT_LAYER_OFFSET } from "./graph-CRAYqgKU.js";
5
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.js";
6
6
  import { g as getPositionFromAnchorByCoordinate } from "./graph-W6vrFcBu.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-XIizsFRo.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-CKhozc1J.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-DUZ1K-aw.js";
10
+ import { d as detachAnchoredGraphElement, a as attachAnchoredGraphDragHandlers } from "./useAnchoredGraphDragHandler-BxQ2mGkW.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-DixRfoFb.js";
1
+ import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax } from "./doenetml-qto-JFRt.js";
2
2
  import { useState, useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-Dfx0KeBS.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-Fmpfrdw2.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.js";
5
5
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
6
- import { BoardContext } from "./graph-quA_4ohG.js";
6
+ import { BoardContext } from "./graph-CRAYqgKU.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-yMTNEQ6C.js";
9
- import { D as DescriptionPopover } from "./Description-CcpumkyC.js";
8
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-CHdOjhry.js";
9
+ import { D as DescriptionPopover } from "./Description-Le-M5FF8.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-DixRfoFb.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-qto-JFRt.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-Dfx0KeBS.js";
1
+ import { r as removeJXGEventHandlers, L as LINE_FAMILY_EVENTS, j as jxg } from "./JSXGraphRenderer-Fmpfrdw2.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-qto-JFRt.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-DVc0cuWg.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-Fmpfrdw2.js").then((n) => n.m), "./renderers/_error.tsx": () => import("./_error-XeHDjbD3.js"), "./renderers/alert.tsx": () => import("./alert-CeqmKquh.js"), "./renderers/angle.tsx": () => import("./angle-Duhf81Xe.js"), "./renderers/answer.tsx": () => import("./answer-CpLSw89P.js"), "./renderers/asList.tsx": () => import("./asList-DcNLwNJH.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-DElP2YdP.js"), "./renderers/boolean.tsx": () => import("./boolean-TWvnva6t.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-DthE37WD.js"), "./renderers/br.tsx": () => import("./br-DszriPkM.js"), "./renderers/button.tsx": () => import("./button-BngLL3q0.js"), "./renderers/c.tsx": () => import("./c-DBPT7VDw.js"), "./renderers/cell.tsx": () => import("./cell-BysHMiQl.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-CKhozc1J.js"), "./renderers/circle.tsx": () => import("./circle-DYMphiDe.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-CF5KgXwp.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-CpB_7YS8.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-BqFPlrpN.js"), "./renderers/containerInline.tsx": () => import("./containerInline-v5r8RrTz.js"), "./renderers/curve.tsx": () => import("./curve-lIH3uOFl.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-CwupouUH.js"), "./renderers/em.tsx": () => import("./em-ejoKvAlP.js"), "./renderers/embed.tsx": () => import("./embed-C9YCG6Ko.js"), "./renderers/feedback.tsx": () => import("./feedback-CyDTRDbu.js"), "./renderers/figure.tsx": () => import("./figure-TrfGe4LX.js"), "./renderers/footnote.tsx": () => import("./footnote-CnrhYyng.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-9u3iWguA.js"), "./renderers/graph.tsx": () => import("./graph-CRAYqgKU.js"), "./renderers/hint.tsx": () => import("./hint-Cvb-6WxR.js"), "./renderers/hr.tsx": () => import("./hr-BvZNKhYB.js"), "./renderers/image.tsx": () => import("./image-zIOE-eTP.js"), "./renderers/label.tsx": () => import("./label-BBgH2ey3.js"), "./renderers/legend.tsx": () => import("./legend-DHGnNstT.js"), "./renderers/line.tsx": () => import("./line-BBJdmg0N.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-CdrhwrV7.js"), "./renderers/list.tsx": () => import("./list-BlFeBO0G.js"), "./renderers/lq.tsx": () => import("./lq-DPZOu0MI.js"), "./renderers/lsq.tsx": () => import("./lsq-BciMm87M.js"), "./renderers/math.tsx": () => import("./math-ex6aS_PP.js"), "./renderers/mathInput.tsx": () => import("./mathInput-B0Dy5kQz.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-Cvf-cgHE.js"), "./renderers/mdash.tsx": () => import("./mdash-BgW_jq_0.js"), "./renderers/nbsp.tsx": () => import("./nbsp-B1cFNV5a.js"), "./renderers/ndash.tsx": () => import("./ndash-Dm9pvInA.js"), "./renderers/number.tsx": () => import("./number-CsSGtksJ.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-CoqAvxuM.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-DLINOt1p.js"), "./renderers/p.tsx": () => import("./p-Dnn-WNpy.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-BjUwPWvC.js"), "./renderers/pegboard.tsx": () => import("./pegboard-DknBCGVO.js"), "./renderers/point.tsx": () => import("./point-IgiimduH.js"), "./renderers/polygon.tsx": () => import("./polygon-hjQshfSw.js"), "./renderers/polyline.tsx": () => import("./polyline-CrGh-e_J.js"), "./renderers/pre.tsx": () => import("./pre-V471GpZX.js"), "./renderers/prefigure.tsx": () => import("./prefigure-EpTIpzsf.js"), "./renderers/pretzel.tsx": () => import("./pretzel-B6rHDgZu.js"), "./renderers/q.tsx": () => import("./q-Bc6oqsHF.js"), "./renderers/ray.tsx": () => import("./ray-DfxJv8NU.js"), "./renderers/ref.tsx": () => import("./ref-DquqVS2P.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-CbZsgelm.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-Cl7AXIn-.js"), "./renderers/row.tsx": () => import("./row-BnylYkDb.js"), "./renderers/rq.tsx": () => import("./rq-m3bWfi7z.js"), "./renderers/rsq.tsx": () => import("./rsq-BTInXEWS.js"), "./renderers/section.tsx": () => import("./section-BRkVawno.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-C8aTvIRn.js"), "./renderers/slider.tsx": () => import("./slider-Ch8z4XvW.js"), "./renderers/solution.tsx": () => import("./solution-VhbIaEbn.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-dUoRP3R6.js"), "./renderers/sq.tsx": () => import("./sq-XDQdo8yB.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-BAysONjK.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-B8DGDFvM.js"), "./renderers/table.tsx": () => import("./table-IG5cprHj.js"), "./renderers/tabular.tsx": () => import("./tabular-Dcx8iKIk.js"), "./renderers/tag.tsx": () => import("./tag-wH5k8eoS.js"), "./renderers/text.tsx": () => import("./text-tTd_5CF9.js"), "./renderers/textInput.tsx": () => import("./textInput-DCGhAhEx.js"), "./renderers/vector.tsx": () => import("./vector-BKr6Xexq.js"), "./renderers/video.tsx": () => import("./video-CdsHKZ7c.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-DixRfoFb.js";
2
- import { F as FontAwesomeIcon } from "./index.es-GxUbhBmx.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-qto-JFRt.js";
2
+ import { F as FontAwesomeIcon } from "./index.es-C9WGLUrY.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-DixRfoFb.js";
1
+ import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-qto-JFRt.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-Dfx0KeBS.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-quA_4ohG.js";
6
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-NrMEC-Ix.js";
7
- import { ChoiceInputInlineContext } from "./choiceInput-XIizsFRo.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-Fmpfrdw2.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CRAYqgKU.js";
6
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BlMlxpCC.js";
7
+ import { ChoiceInputInlineContext } from "./choiceInput-CKhozc1J.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-DixRfoFb.js";
1
+ import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-qto-JFRt.js";
2
2
  import React__default, { useState, useEffect, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer--I4QKeZ_.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-CoeZAuyP.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
- import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-CcpumkyC.js";
5
+ import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-Le-M5FF8.js";
6
6
  import { g as getNonInlineMediaLayoutStyles } from "./nonInlineMediaLayout-CkXHaqzo.js";
7
- import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-DREDn1zR.js";
7
+ import { N as NonInlineMediaWrapper } from "./NonInlineMediaWrapper-Biva-2YJ.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;