@doenet/doenetml 0.7.23-dev.445 → 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 (104) hide show
  1. package/{AnswerResponseButton-Sa5y_G1z.js → AnswerResponseButton-BnyushMf.js} +2 -2
  2. package/{Description-CSS5gsfo.js → Description-BHX0hDi7.js} +1 -1
  3. package/{GraphFrame-sj_nZNfI.js → GraphFrame-Be2S86p5.js} +2 -2
  4. package/{JSXGraphRenderer-Dnc5iDPV.js → JSXGraphRenderer-CfML1Caq.js} +1 -1
  5. package/{NonInlineMediaWrapper-BKw5sWSr.js → NonInlineMediaWrapper-Bi6yrrb9.js} +1 -1
  6. package/{_error-xD-Sg0LN.js → _error-BvnJu25Y.js} +2 -2
  7. package/{alert-DAXadVXB.js → alert-BqXZF8VD.js} +3 -3
  8. package/{angle-D0mApKJi.js → angle-C1tHpiwW.js} +6 -6
  9. package/{answer-lm7qsqVK.js → answer-IB4Rz26v.js} +5 -5
  10. package/{asList-aUHRQ-J2.js → asList-Dos4GJ-x.js} +2 -2
  11. package/{blockQuote-Dl_yWuPq.js → blockQuote-CHUd4Qcy.js} +3 -3
  12. package/{boolean-CfacyHq_.js → boolean-BSZg9n0k.js} +2 -2
  13. package/{booleanInput-BZViGjPp.js → booleanInput-BDxn-2f2.js} +6 -6
  14. package/{br-CjdIAekX.js → br-NQ820K9v.js} +2 -2
  15. package/{button-BqZi6gpi.js → button-DIkTPWB8.js} +4 -4
  16. package/{c-Do6N2kRV.js → c-C7oTafeh.js} +3 -3
  17. package/{cell-COP25aiA.js → cell-CZ9YxOoT.js} +3 -3
  18. package/{choiceInput-yV5cFT_y.js → choiceInput-C2OCYTFb.js} +4 -4
  19. package/{circle-Dlk53UHF.js → circle-lHVf-Rnj.js} +6 -6
  20. package/{cobwebPolyline-D0aX9jbZ.js → cobwebPolyline-BHRXeCQK.js} +4 -4
  21. package/{codeEditor-rWfQJxN1.js → codeEditor-D9514mjE.js} +2 -2
  22. package/{composites-OSI5h2pg.js → composites-CkJBGhYQ.js} +1 -1
  23. package/{containerBlock-BJI1rtVu.js → containerBlock-tSdyTT-w.js} +4 -4
  24. package/{containerInline-Ci-1qfC3.js → containerInline-BJyYO7iT.js} +4 -4
  25. package/{curve-Dqzjs1rB.js → curve-DVYbwAwj.js} +4 -4
  26. package/{doenetml-DG6ritlq.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-fPCHcWEF.js → ellipsis-D-irnNHU.js} +2 -2
  32. package/{em--94e1kc8.js → em-Bw9IG3qb.js} +3 -3
  33. package/{embed-Mks0hikC.js → embed-ySzwkGz8.js} +2 -2
  34. package/{feedback-BXMuDUb_.js → feedback-CoD3yjRP.js} +4 -4
  35. package/{figure-CzJEIcbF.js → figure-Cyotiyyn.js} +3 -3
  36. package/{fillPatterns-BwWhz4ON.js → fillPatterns-fEJQ_kwx.js} +1 -1
  37. package/{footnote-C5Vomg6s.js → footnote-DVK13b4D.js} +3 -3
  38. package/{fractionInput-CzOtnpcS.js → fractionInput-dl7UZUSM.js} +4 -4
  39. package/{graph-CcJSrGrZ.js → graph-BfKVz-Kv.js} +6 -6
  40. package/{hint-DDWi0Op0.js → hint-Cei5qC42.js} +4 -4
  41. package/{hr-D8EWYtKb.js → hr-CUHGQ_Be.js} +2 -2
  42. package/{image-BlU75GvM.js → image-CD-D_kAW.js} +7 -7
  43. package/{index-AbZAWCBI.js → index-bTQFB_cq.js} +1 -1
  44. package/{index.es-BCI7SGcV.js → index.es-BX48x60Y.js} +1 -1
  45. package/index.js +1 -1
  46. package/{label-QQCwMCBj.js → label-BJGSkKnV.js} +6 -6
  47. package/{labelWithLatex-CAigBAL8.js → labelWithLatex-Dd7dwoNh.js} +1 -1
  48. package/{legend-Dc3X02WL.js → legend-BJv57uMk.js} +4 -4
  49. package/{line-DaccB4Qv.js → line-B7P9Ganl.js} +6 -6
  50. package/{lineFamilyDragHandlers-BgH-_1ox.js → lineFamilyDragHandlers-DLuemdFl.js} +1 -1
  51. package/{lineSegment-Dg-Aeh-B.js → lineSegment-DTw_x5H9.js} +5 -5
  52. package/{list-BKbVIcjL.js → list-D9FSChcK.js} +4 -4
  53. package/{lq-S05DHD3q.js → lq-DuoHc0MU.js} +2 -2
  54. package/{lsq-CVqVyTEJ.js → lsq-B7Mmh07r.js} +2 -2
  55. package/{markupRenderer--dxcdorP.js → markupRenderer-DJM0buzW.js} +1 -1
  56. package/{math-BfbAyB3x.js → math-C4BhqPcT.js} +6 -6
  57. package/{mathInput-DKaO1sxA.js → mathInput-BV8hw5GI.js} +7 -7
  58. package/{matrixInput-DfVbyiX5.js → matrixInput-BFTfrKzf.js} +4 -4
  59. package/{mdash-BB4iDnGa.js → mdash-4IBt_kF2.js} +2 -2
  60. package/{nbsp-DtFaH4wt.js → nbsp-CUd0IXJc.js} +2 -2
  61. package/{ndash-PbT0whCc.js → ndash-6DN51M90.js} +2 -2
  62. package/{number-WkIN5YxP.js → number-CIuRBvhG.js} +6 -6
  63. package/{orbitalDiagram-Dxp7-e0F.js → orbitalDiagram-DuVvhurQ.js} +2 -2
  64. package/{orbitalDiagramInput-BbH6T9Mn.js → orbitalDiagramInput-C9foaDXH.js} +2 -2
  65. package/{p-rtrgBCFF.js → p-CfZmbInH.js} +4 -4
  66. package/package.json +1 -1
  67. package/{paginatorControls-C2fKxlsq.js → paginatorControls-DG2OYXYe.js} +2 -2
  68. package/{pegboard-Dz-sRyjx.js → pegboard-DFbZmvAo.js} +4 -4
  69. package/{point-CMoAcwE5.js → point-D81EFDo_.js} +6 -6
  70. package/{polygon-CG5SBHDs.js → polygon-Bl3hf2mb.js} +6 -6
  71. package/{polyline-ButEStBz.js → polyline-NZ9fpD9F.js} +5 -5
  72. package/{pre-B6YD3p62.js → pre-4Tt7zrK4.js} +3 -3
  73. package/{prefigure-AcutCm54.js → prefigure-ChUWo_4X.js} +1 -1
  74. package/{pretzel-BaGJbkRb.js → pretzel-B3sXb45R.js} +4 -4
  75. package/{q-DAxQD3R9.js → q-HCsGnSIH.js} +3 -3
  76. package/{ray-hEV4tSOq.js → ray-BUQJnyuA.js} +5 -5
  77. package/{ref-DN-7cyqI.js → ref-BBGzuJYH.js} +2 -2
  78. package/{regionBetweenCurveXAxis-NNQCG4M5.js → regionBetweenCurveXAxis-B3xgD3lv.js} +5 -5
  79. package/{regionBetweenCurves-mGUMDojJ.js → regionBetweenCurves-C356BuQg.js} +5 -5
  80. package/{row-BUKnzR1q.js → row-Dh0Hl7yp.js} +2 -2
  81. package/{rq-C-z7yKCS.js → rq-BLZqMXUV.js} +2 -2
  82. package/{rsq-GiB5Ksln.js → rsq-D1_dDM5K.js} +2 -2
  83. package/{section-THXxSIXj.js → section-Dgz5ex1-.js} +5 -5
  84. package/{sha256-Bzrm4-tO-CHktaBh6.js → sha256-Bzrm4-tO-DBGBRntE.js} +1 -1
  85. package/{sideBySide-DNhnkP28.js → sideBySide-0Cw0viXe.js} +2 -2
  86. package/{slider-VmKSRov-.js → slider-CLhZx0KJ.js} +3 -3
  87. package/{solution--sxVtEFn.js → solution-6X5RRJuq.js} +4 -4
  88. package/{spreadsheet-Dr0ymyBh.js → spreadsheet-Dp3tMmkQ.js} +2 -2
  89. package/{sq-AcTs3gR0.js → sq-D7BAf7W-.js} +3 -3
  90. package/style.css +7 -2
  91. package/{subsetOfRealsInput-tCdAHqhW.js → subsetOfRealsInput-BvBK_Jd5.js} +2 -2
  92. package/{summaryStatistics-D1cD7f_V.js → summaryStatistics-BJUnMS8R.js} +2 -2
  93. package/{table-JdmaKACu.js → table-9CsK8tcI.js} +2 -2
  94. package/{tabular-9lfzVRNH.js → tabular-BODNZXF0.js} +2 -2
  95. package/{tag-CKUTRPQr.js → tag-C4r4-oVg.js} +2 -2
  96. package/{text-Ba1OFqyV.js → text-bshUf4sW.js} +6 -6
  97. package/{textInput-crredFnq.js → textInput-C7dkbxaa.js} +6 -6
  98. package/{tooltip-provider-wQWrbmca.js → tooltip-provider-p1KTK1vP.js} +1 -1
  99. package/{useAnchoredGraphDragHandler-C9ibMjoG.js → useAnchoredGraphDragHandler-C0OMh5dz.js} +1 -1
  100. package/useDoenetRenderer-B5uCh7Ag.js +114 -0
  101. package/{useSubmitActionWithDelay-i3pdoqV8.js → useSubmitActionWithDelay-v7uRJBRr.js} +2 -2
  102. package/{vector-DjPOfXhf.js → vector-DxwNO6XW.js} +6 -6
  103. package/{video-CdYmVd8t.js → video-C6_6fvZH.js} +4 -4
  104. package/useDoenetRenderer-rtZcMjTC.js +0 -114
@@ -1,5 +1,5 @@
1
- import { u as useT, p as jsxRuntimeExports, L as Button } from "./doenetml-DG6ritlq.js";
2
- import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-wQWrbmca.js";
1
+ import { u as useT, p as jsxRuntimeExports, L as Button } from "./doenetml-Cl4m-iIr.js";
2
+ import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-p1KTK1vP.js";
3
3
  function AnswerResponseButton({
4
4
  answerId,
5
5
  answerComponentIdx,
@@ -1,4 +1,4 @@
1
- import { X as memo, Y as forwardRef, Z as createElement, $ as createHook, a0 as usePopoverContext, a1 as invariant, a2 as useStoreState, a3 as getBasePlacement, a4 as useId, a5 as useMergeRefs, p as jsxRuntimeExports, a6 as removeUndefinedValues, a7 as useSafeLayoutEffect, a8 as getWindow, a9 as usePopoverStore, z as DocContext, u as useT, aa as PopoverDisclosure, ab as MdInfoOutline, ac as Popover } from "./doenetml-DG6ritlq.js";
1
+ import { X as memo, Y as forwardRef, Z as createElement, $ as createHook, a0 as usePopoverContext, a1 as invariant, a2 as useStoreState, a3 as getBasePlacement, a4 as useId, a5 as useMergeRefs, p as jsxRuntimeExports, a6 as removeUndefinedValues, a7 as useSafeLayoutEffect, a8 as getWindow, a9 as usePopoverStore, z as DocContext, u as useT, aa as PopoverDisclosure, ab as MdInfoOutline, ac as Popover } from "./doenetml-Cl4m-iIr.js";
2
2
  import { useMemo, useState, useRef, useContext } from "react";
3
3
  const POPOVER_ARROW_PATH = "M23 27.8C24.1 29 26.4 30 28 30H30H0H2C3.7 30 5.9 29 7 27.8L14 20.6C14.7 19.8 15.3 19.8 16 20.6L23 27.8Z";
4
4
  const TagName = "div";
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
3
- import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-CSS5gsfo.js";
3
+ import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-BHX0hDi7.js";
4
4
  function GraphFrame({
5
5
  id,
6
6
  SVs,
@@ -1,4 +1,4 @@
1
- import { H as Context, I as cesc, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
1
+ import { H as Context, I as cesc, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import { useEffect, useState, useRef } from "react";
3
3
  var jxg = {};
4
4
  try {
@@ -1,4 +1,4 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  function NonInlineMediaWrapper({
3
3
  id,
4
4
  displayMode,
@@ -1,6 +1,6 @@
1
- import { u as useT, q as useUiLocale, t as useChromeLangDir, v as useDiagnosticFormatter, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
1
+ import { u as useT, q as useUiLocale, t as useChromeLangDir, v as useDiagnosticFormatter, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
4
  const _error = React__default.memo(function Error(props) {
5
5
  let { id, SVs, children } = useDoenetRenderer(props);
6
6
  const t = useT();
@@ -1,7 +1,7 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-DG6ritlq.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-rtZcMjTC.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-OSI5h2pg.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-CkJBGhYQ.js";
5
5
  const alert = React__default.memo(function Alert(props) {
6
6
  let { id, SVs, children } = useDoenetRenderer(props);
7
7
  if (SVs.hidden) {
@@ -1,10 +1,10 @@
1
- import { z as DocContext, p as jsxRuntimeExports, A as textRendererStyle, B as DynamicMath } from "./doenetml-DG6ritlq.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, useEffect } from "react";
3
- import { j as jxg, s as syncLayer, a as syncWithLabelToggle, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-Dnc5iDPV.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
5
- import { BoardContext, LINE_LAYER_OFFSET } from "./graph-CcJSrGrZ.js";
6
- import { ChoiceInputInlineContext } from "./choiceInput-yV5cFT_y.js";
7
- import { g as getPatternFillAttributes } from "./fillPatterns-BwWhz4ON.js";
3
+ import { j as jxg, s as syncLayer, a as syncWithLabelToggle, 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 { ChoiceInputInlineContext } from "./choiceInput-C2OCYTFb.js";
7
+ import { g as getPatternFillAttributes } from "./fillPatterns-fEJQ_kwx.js";
8
8
  import { r as resolveFillColor, a as resolveLineColor, b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
9
9
  const angle = React__default.memo(function Angle(props) {
10
10
  let { id, SVs } = useDoenetRenderer(props);
@@ -1,9 +1,9 @@
1
- import { F as useContentT, z as DocContext, p as jsxRuntimeExports, B as DynamicMath } from "./doenetml-DG6ritlq.js";
1
+ import { F as useContentT, z as DocContext, p as jsxRuntimeExports, B as DynamicMath } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useContext } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-Sa5y_G1z.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-i3pdoqV8.js";
6
- import { D as DescriptionPopover } from "./Description-CSS5gsfo.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
+ import { D as DescriptionPopover } from "./Description-BHX0hDi7.js";
7
7
  const answer = React__default.memo(function Answer(props) {
8
8
  let {
9
9
  componentIdx,
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-DG6ritlq.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-rtZcMjTC.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
4
  const asList = React__default.memo(function AsList(props) {
5
5
  let { id, SVs, children } = useDoenetRenderer(props);
6
6
  if (SVs.hidden) {
@@ -1,7 +1,7 @@
1
- import { G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.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-rtZcMjTC.js";
4
- import { r as renderMarkupBody } from "./markupRenderer--dxcdorP.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-DJM0buzW.js";
5
5
  const blockQuote = React__default.memo(function Container(props) {
6
6
  const { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
7
7
  const ref = useRef(null);
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-DG6ritlq.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-rtZcMjTC.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
4
  const boolean = React__default.memo(function Boolean(props) {
5
5
  let { id, SVs } = useDoenetRenderer(props, false);
6
6
  if (SVs.hidden) {
@@ -1,11 +1,11 @@
1
- import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax, U as ToggleButton } from "./doenetml-DG6ritlq.js";
1
+ import { F as useContentT, H as Context, p as jsxRuntimeExports, T as MathJax, U as ToggleButton } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useState, useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-Dnc5iDPV.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
5
- import { BoardContext } from "./graph-CcJSrGrZ.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-CfML1Caq.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
5
+ import { BoardContext } from "./graph-BfKVz-Kv.js";
6
6
  import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-i3pdoqV8.js";
8
- import { D as DescriptionPopover } from "./Description-CSS5gsfo.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-v7uRJBRr.js";
8
+ import { D as DescriptionPopover } from "./Description-BHX0hDi7.js";
9
9
  const booleanInput = React__default.memo(function BooleanInput(props) {
10
10
  let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
11
11
  const tContent = useContentT();
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-DG6ritlq.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-rtZcMjTC.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
4
  const br = React__default.memo(function Br(props) {
5
5
  let { id, SVs } = useDoenetRenderer(props);
6
6
  if (SVs.hidden) {
@@ -1,8 +1,8 @@
1
- import { H as Context, I as cesc, p as jsxRuntimeExports, J as Button2 } from "./doenetml-DG6ritlq.js";
1
+ import { H as Context, I as cesc, p as jsxRuntimeExports, J as Button2 } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-Dnc5iDPV.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
5
- import { BoardContext } from "./graph-CcJSrGrZ.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-CfML1Caq.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
5
+ import { BoardContext } from "./graph-BfKVz-Kv.js";
6
6
  import { g as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-W6vrFcBu.js";
7
7
  const button = React__default.memo(function ButtonComponent(props) {
8
8
  let { id, SVs, actions, callAction } = useDoenetRenderer(
@@ -1,7 +1,7 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-DG6ritlq.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-rtZcMjTC.js";
4
- import { r as renderMarkupBody } from "./markupRenderer--dxcdorP.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-DJM0buzW.js";
5
5
  const c = React__default.memo(function C(props) {
6
6
  const { id, SVs, children } = useDoenetRenderer(props);
7
7
  const body = renderMarkupBody({ SVs, children });
@@ -1,7 +1,7 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-DG6ritlq.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-rtZcMjTC.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-OSI5h2pg.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-CkJBGhYQ.js";
5
5
  const cell = React__default.memo(function Cell(props) {
6
6
  let { id, SVs, children } = useDoenetRenderer(props);
7
7
  if (SVs.hidden) {
@@ -1,11 +1,11 @@
1
- import { aB as autoUpdate, u as useT, F as useContentT, z as DocContext, p as jsxRuntimeExports, aC as CANVAS_DARK_MODE_COLOR, T as MathJax } from "./doenetml-DG6ritlq.js";
1
+ import { aB as autoUpdate, u as useT, F as useContentT, z as DocContext, p as jsxRuntimeExports, aC as CANVAS_DARK_MODE_COLOR, T as MathJax } from "./doenetml-Cl4m-iIr.js";
2
2
  import * as React from "react";
3
3
  import React__default, { useState, useCallback, forwardRef, useContext, useLayoutEffect, useRef, useMemo, createContext, Component, Fragment, useEffect } from "react";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
5
5
  import { a as _objectWithoutPropertiesLoose, _ as _setPrototypeOf, b as _extends } from "./setPrototypeOf-C-47lAIH.js";
6
6
  import { createPortal } from "react-dom";
7
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-i3pdoqV8.js";
8
- import { D as DescriptionPopover } from "./Description-CSS5gsfo.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-v7uRJBRr.js";
8
+ import { D as DescriptionPopover } from "./Description-BHX0hDi7.js";
9
9
  import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
10
10
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
11
11
  function _typeof(o) {
@@ -1,17 +1,17 @@
1
- import { z as DocContext, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.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, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight, r as removeJXGEventHandlers } from "./JSXGraphRenderer-Dnc5iDPV.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
5
- import { BoardContext, POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CcJSrGrZ.js";
3
+ import { j as jxg, s as syncLayer, e as syncLineStrokeStyle, a as syncWithLabelToggle, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight, r as removeJXGEventHandlers } from "./JSXGraphRenderer-CfML1Caq.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
5
+ import { BoardContext, POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BfKVz-Kv.js";
6
6
  import { c as characterizeOffGraphPoint, a as characterizeOffGraphCircleArc } from "./offGraphIndicators-CYoqQHuD.js";
7
7
  import { n as normalizePointStyle, a as normalizePointSize, b as adjustPointLabelPosition, c as getEffectiveBoundingBox, d as getGraphCornerWithBuffer, e as calculatePointLabelAnchor } from "./graph-W6vrFcBu.js";
8
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BgH-_1ox.js";
8
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-DLuemdFl.js";
9
9
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
10
10
  import { p as pointerEventToUserCoords } from "./dragThreshold-DuSSFrIU.js";
11
11
  import { a as resolveLineColor, r as resolveFillColor, c as resolveMarkerColor, b as resolveCanvasColor } from "./styleColors-Cknqcr0q.js";
12
12
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
13
13
  import { b as buildFilledShapeAttributes } from "./buildGraphicalAttributes-0RNcbd2S.js";
14
- import { g as getPatternFillAttributes } from "./fillPatterns-BwWhz4ON.js";
14
+ import { g as getPatternFillAttributes } from "./fillPatterns-fEJQ_kwx.js";
15
15
  import { u as useDraggableRefs, a as useJSXGraphCleanup } from "./useJSXGraphCleanup-CX91oVW8.js";
16
16
  const circle = React__default.memo(function Circle(props) {
17
17
  let { componentIdx, id, SVs, actions, callAction } = useDoenetRenderer(props);
@@ -1,8 +1,8 @@
1
- import { K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
1
+ import { K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-Dnc5iDPV.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
5
- import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-CcJSrGrZ.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, VERTEX_LAYER_OFFSET } from "./graph-BfKVz-Kv.js";
6
6
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
7
7
  const cobwebPolyline = React__default.memo(function CobwebPolyline(props) {
8
8
  let { componentIdx, id, SVs, actions, sourceOfUpdate, callAction } = useDoenetRenderer(props);
@@ -1,6 +1,6 @@
1
- import { p as jsxRuntimeExports, ad as EditorViewer } from "./doenetml-DG6ritlq.js";
1
+ import { p as jsxRuntimeExports, ad as EditorViewer } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useState, useEffect, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
4
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
5
5
  function resolveElements(elementOrSelector, scope, selectorCache) {
6
6
  if (elementOrSelector == null) {
@@ -1,4 +1,4 @@
1
- import { p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
1
+ import { p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default from "react";
3
3
  function addCommasForCompositeRanges({
4
4
  compositeReplacementActiveRange,
@@ -1,8 +1,8 @@
1
- import { F as useContentT, G as useRecordVisibilityChanges, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
1
+ import { F as useContentT, 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-rtZcMjTC.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-OSI5h2pg.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-i3pdoqV8.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-CkJBGhYQ.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-v7uRJBRr.js";
6
6
  const containerBlock = React__default.memo(function Container(props) {
7
7
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
8
8
  const tContent = useContentT();
@@ -1,8 +1,8 @@
1
- import { F as useContentT, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
1
+ import { F as useContentT, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-OSI5h2pg.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-i3pdoqV8.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-CkJBGhYQ.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-v7uRJBRr.js";
6
6
  const containerInline = React__default.memo(function ContainerInline(props) {
7
7
  let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
8
8
  const tContent = useContentT();
@@ -1,8 +1,8 @@
1
- import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-DG6ritlq.js";
1
+ import { z as DocContext, K as createFunctionFromDefinition, p as jsxRuntimeExports } from "./doenetml-Cl4m-iIr.js";
2
2
  import React__default, { useContext, useRef } from "react";
3
- import { s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, g as syncVisPropValues, j as jxg, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-Dnc5iDPV.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-rtZcMjTC.js";
5
- import { BoardContext, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-CcJSrGrZ.js";
3
+ import { s as syncLayer, f as syncLabelStrokeColor, b as syncLabelMaskCssStyle, g as syncVisPropValues, j as jxg, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-CfML1Caq.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-B5uCh7Ag.js";
5
+ import { BoardContext, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BfKVz-Kv.js";
6
6
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
7
7
  import { a as resolveLineColor, d as resolveHandleColor } from "./styleColors-Cknqcr0q.js";
8
8
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
@@ -30992,7 +30992,7 @@ async function cidFromArrayBuffer(data) {
30992
30992
  await crypto.subtle.digest("SHA-256", new Uint8Array());
30993
30993
  digest = (data2) => crypto.subtle.digest("SHA-256", data2);
30994
30994
  } catch (e2) {
30995
- const sha256 = (await import("./sha256-Bzrm4-tO-CHktaBh6.js").then((n2) => n2.s)).default;
30995
+ const sha256 = (await import("./sha256-Bzrm4-tO-DBGBRntE.js").then((n2) => n2.s)).default;
30996
30996
  digest = (data2) => sha256(data2, {
30997
30997
  asBytes: true
30998
30998
  });
@@ -47462,7 +47462,7 @@ function DocViewer({
47462
47462
  for (const rendererClassName of coreInfo.current.rendererTypesInDocument) {
47463
47463
  rendererClassNames.push(rendererClassName);
47464
47464
  rendererLoaders.push(
47465
- () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/GraphFrame.tsx": () => import("./GraphFrame-sj_nZNfI.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-Dnc5iDPV.js").then((n2) => n2.m), "./renderers/_error.tsx": () => import("./_error-xD-Sg0LN.js"), "./renderers/alert.tsx": () => import("./alert-DAXadVXB.js"), "./renderers/angle.tsx": () => import("./angle-D0mApKJi.js"), "./renderers/answer.tsx": () => import("./answer-lm7qsqVK.js"), "./renderers/asList.tsx": () => import("./asList-aUHRQ-J2.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-Dl_yWuPq.js"), "./renderers/boolean.tsx": () => import("./boolean-CfacyHq_.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-BZViGjPp.js"), "./renderers/br.tsx": () => import("./br-CjdIAekX.js"), "./renderers/button.tsx": () => import("./button-BqZi6gpi.js"), "./renderers/c.tsx": () => import("./c-Do6N2kRV.js"), "./renderers/cell.tsx": () => import("./cell-COP25aiA.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-yV5cFT_y.js"), "./renderers/circle.tsx": () => import("./circle-Dlk53UHF.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-D0aX9jbZ.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-rWfQJxN1.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-BJI1rtVu.js"), "./renderers/containerInline.tsx": () => import("./containerInline-Ci-1qfC3.js"), "./renderers/curve.tsx": () => import("./curve-Dqzjs1rB.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-fPCHcWEF.js"), "./renderers/em.tsx": () => import("./em--94e1kc8.js"), "./renderers/embed.tsx": () => import("./embed-Mks0hikC.js"), "./renderers/feedback.tsx": () => import("./feedback-BXMuDUb_.js"), "./renderers/figure.tsx": () => import("./figure-CzJEIcbF.js"), "./renderers/footnote.tsx": () => import("./footnote-C5Vomg6s.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-CzOtnpcS.js"), "./renderers/graph.tsx": () => import("./graph-CcJSrGrZ.js"), "./renderers/hint.tsx": () => import("./hint-DDWi0Op0.js"), "./renderers/hr.tsx": () => import("./hr-D8EWYtKb.js"), "./renderers/image.tsx": () => import("./image-BlU75GvM.js"), "./renderers/label.tsx": () => import("./label-QQCwMCBj.js"), "./renderers/legend.tsx": () => import("./legend-Dc3X02WL.js"), "./renderers/line.tsx": () => import("./line-DaccB4Qv.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-Dg-Aeh-B.js"), "./renderers/list.tsx": () => import("./list-BKbVIcjL.js"), "./renderers/lq.tsx": () => import("./lq-S05DHD3q.js"), "./renderers/lsq.tsx": () => import("./lsq-CVqVyTEJ.js"), "./renderers/math.tsx": () => import("./math-BfbAyB3x.js"), "./renderers/mathInput.tsx": () => import("./mathInput-DKaO1sxA.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-DfVbyiX5.js"), "./renderers/mdash.tsx": () => import("./mdash-BB4iDnGa.js"), "./renderers/nbsp.tsx": () => import("./nbsp-DtFaH4wt.js"), "./renderers/ndash.tsx": () => import("./ndash-PbT0whCc.js"), "./renderers/number.tsx": () => import("./number-WkIN5YxP.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-Dxp7-e0F.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-BbH6T9Mn.js"), "./renderers/p.tsx": () => import("./p-rtrgBCFF.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-C2fKxlsq.js"), "./renderers/pegboard.tsx": () => import("./pegboard-Dz-sRyjx.js"), "./renderers/point.tsx": () => import("./point-CMoAcwE5.js"), "./renderers/polygon.tsx": () => import("./polygon-CG5SBHDs.js"), "./renderers/polyline.tsx": () => import("./polyline-ButEStBz.js"), "./renderers/pre.tsx": () => import("./pre-B6YD3p62.js"), "./renderers/prefigure.tsx": () => import("./prefigure-AcutCm54.js"), "./renderers/pretzel.tsx": () => import("./pretzel-BaGJbkRb.js"), "./renderers/q.tsx": () => import("./q-DAxQD3R9.js"), "./renderers/ray.tsx": () => import("./ray-hEV4tSOq.js"), "./renderers/ref.tsx": () => import("./ref-DN-7cyqI.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-NNQCG4M5.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-mGUMDojJ.js"), "./renderers/row.tsx": () => import("./row-BUKnzR1q.js"), "./renderers/rq.tsx": () => import("./rq-C-z7yKCS.js"), "./renderers/rsq.tsx": () => import("./rsq-GiB5Ksln.js"), "./renderers/section.tsx": () => import("./section-THXxSIXj.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-DNhnkP28.js"), "./renderers/slider.tsx": () => import("./slider-VmKSRov-.js"), "./renderers/solution.tsx": () => import("./solution--sxVtEFn.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-Dr0ymyBh.js"), "./renderers/sq.tsx": () => import("./sq-AcTs3gR0.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-tCdAHqhW.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-D1cD7f_V.js"), "./renderers/table.tsx": () => import("./table-JdmaKACu.js"), "./renderers/tabular.tsx": () => import("./tabular-9lfzVRNH.js"), "./renderers/tag.tsx": () => import("./tag-CKUTRPQr.js"), "./renderers/text.tsx": () => import("./text-Ba1OFqyV.js"), "./renderers/textInput.tsx": () => import("./textInput-crredFnq.js"), "./renderers/vector.tsx": () => import("./vector-DjPOfXhf.js"), "./renderers/video.tsx": () => import("./video-CdYmVd8t.js") }), `./renderers/${rendererClassName}.tsx`, 3)
47465
+ () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/GraphFrame.tsx": () => import("./GraphFrame-Be2S86p5.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-CfML1Caq.js").then((n2) => n2.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/${rendererClassName}.tsx`, 3)
47466
47466
  );
47467
47467
  }
47468
47468
  const documentComponentInstructions = coreInfo.current.documentToRender;
@@ -187677,12 +187677,12 @@ function EditorFooter({
187677
187677
  className: "doenetml-version",
187678
187678
  title: t4(
187679
187679
  "editor-version-title",
187680
- { version: "0.7.23-dev.445" },
187681
- `DoenetML version ${"0.7.23-dev.445"}`
187680
+ { version: "0.7.23-dev.447" },
187681
+ `DoenetML version ${"0.7.23-dev.447"}`
187682
187682
  ),
187683
187683
  children: [
187684
187684
  "v",
187685
- "0.7.23-dev.445"
187685
+ "0.7.23-dev.447"
187686
187686
  ]
187687
187687
  }
187688
187688
  ),
@@ -1,2 +1,17 @@
1
1
  export * from './index';
2
+ /**
3
+ * Point the viewer's core worker at `workerUrl`, wrapping it for cross-origin
4
+ * loading where that is needed.
5
+ *
6
+ * Exported so `@doenet/standalone` can redirect the worker to a version-pinned
7
+ * copy of itself — see `pinPackageVersion` there, which explains why the URL
8
+ * this module resolves is not always the one to use. It has to be a call an
9
+ * importer makes afterwards rather than something configured ahead of time: the
10
+ * resolution below runs in this module's body, before any importer's. Both
11
+ * calls land at module evaluation, and must: a second call revokes the Blob URL
12
+ * the first wrapped the worker in, and past the first viewer mount that URL can
13
+ * already be held elsewhere — a mounted editor hands `doenetWorkerUrl` to the
14
+ * LSP, which spawns its own core from it later.
15
+ */
16
+ export declare function setExternalCoreWorkerUrl(workerUrl: string): void;
2
17
  //# sourceMappingURL=doenetml-external-worker.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"doenetml-external-worker.d.ts","sourceRoot":"","sources":["../src/doenetml-external-worker.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"doenetml-external-worker.d.ts","sourceRoot":"","sources":["../src/doenetml-external-worker.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AAiDxB;;;;;;;;;;;;;GAaG;AACH,wBAAgB,wBAAwB,CAAC,SAAS,EAAE,MAAM,QAsBzD"}
@@ -1,5 +1,5 @@
1
- import { n as doenetGlobalConfig } from "./doenetml-DG6ritlq.js";
2
- import { C, D, a, c, b, d, f, g, e, h, i, m, j, r, s, k, l } from "./doenetml-DG6ritlq.js";
1
+ import { n as doenetGlobalConfig } from "./doenetml-Cl4m-iIr.js";
2
+ import { C, D, a, c, b, d, f, g, e, h, i, m, j, r, s, k, l } from "./doenetml-Cl4m-iIr.js";
3
3
  const workerPath = "./doenetml-worker/index.js";
4
4
  function resolveWorkerUrl() {
5
5
  try {
@@ -12,6 +12,19 @@ function resolveWorkerUrl() {
12
12
  return null;
13
13
  }
14
14
  }
15
+ let ownedBootstrapUrl = null;
16
+ function setExternalCoreWorkerUrl(workerUrl) {
17
+ const bootstrapUrl = isSameOrigin(workerUrl) ? null : URL.createObjectURL(
18
+ new Blob([`importScripts(${JSON.stringify(workerUrl)});`], {
19
+ type: "text/javascript"
20
+ })
21
+ );
22
+ if (ownedBootstrapUrl !== null) {
23
+ URL.revokeObjectURL(ownedBootstrapUrl);
24
+ }
25
+ ownedBootstrapUrl = bootstrapUrl;
26
+ doenetGlobalConfig.doenetWorkerUrl = bootstrapUrl ?? workerUrl;
27
+ }
15
28
  function isSameOrigin(url) {
16
29
  try {
17
30
  const u = new URL(url, self.location.href);
@@ -26,14 +39,7 @@ function isSameOrigin(url) {
26
39
  try {
27
40
  const workerUrl = resolveWorkerUrl();
28
41
  if (workerUrl !== null) {
29
- if (isSameOrigin(workerUrl)) {
30
- doenetGlobalConfig.doenetWorkerUrl = workerUrl;
31
- } else {
32
- const bootstrap = `importScripts(${JSON.stringify(workerUrl)});`;
33
- doenetGlobalConfig.doenetWorkerUrl = URL.createObjectURL(
34
- new Blob([bootstrap], { type: "text/javascript" })
35
- );
36
- }
42
+ setExternalCoreWorkerUrl(workerUrl);
37
43
  }
38
44
  } catch (e2) {
39
45
  console.warn("Unable to resolve external DoenetML worker URL:", e2);
@@ -55,5 +61,6 @@ export {
55
61
  r as retrieveTextFileForCid,
56
62
  s as serializedComponentsReplacer,
57
63
  k as serializedComponentsReviver,
64
+ setExternalCoreWorkerUrl,
58
65
  l as setLocaleLoaders
59
66
  };