@doenet/doenetml 0.7.27-dev.720 → 0.7.27-dev.722

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 (115) hide show
  1. package/{AnswerResponseButton-nf0xqOjL.js → AnswerResponseButton-Bod3ceCt.js} +2 -2
  2. package/{ClickTarget-BTsJtnye.js → ClickTarget-vvCrTXcX.js} +1 -1
  3. package/{Description-Bo32vL7s.js → Description-DLObq3bT.js} +1 -1
  4. package/{EditorViewer-D-D8jrKU.js → EditorViewer-CcflAMZR.js} +5 -5
  5. package/{GraphFrame-CSCaXm1V.js → GraphFrame-BZC_g30g.js} +2 -2
  6. package/{JSXGraphRenderer-Cx2QmpI8.js → JSXGraphRenderer-BE3bSw4H.js} +1 -1
  7. package/{NonInlineMediaWrapper-DFG6r5nA.js → NonInlineMediaWrapper-LSNjLjKF.js} +1 -1
  8. package/Viewer/renderers/choiceInput.d.ts.map +1 -1
  9. package/Viewer/renderers/slider.d.ts.map +1 -1
  10. package/{_error-1khwgmHe.js → _error-DeO4SnNB.js} +2 -2
  11. package/{alert-BUi1NxCM.js → alert-gijULeG8.js} +3 -3
  12. package/{angle-5DDDp4mt.js → angle-BtbmakG7.js} +6 -6
  13. package/{answer-DBZg8iqM.js → answer-ggR9tYaJ.js} +6 -6
  14. package/{asList-Bjx-ZsfK.js → asList-BHzPGacl.js} +2 -2
  15. package/{blockQuote-C5qB8Zcm.js → blockQuote-e5mHURKi.js} +3 -3
  16. package/{boolean-DTeaADUW.js → boolean-DQtxy-ly.js} +2 -2
  17. package/{booleanInput-D0sScAKh.js → booleanInput-vV9jt02-.js} +7 -7
  18. package/{br-DD8_aHRQ.js → br-CAHyglQd.js} +2 -2
  19. package/{button-Cn644e2d.js → button-0pmxUmkh.js} +5 -5
  20. package/{c-CzfosjFu.js → c-4sNZy_aI.js} +3 -3
  21. package/{cell-CdTqaQPw.js → cell-BCFIn152.js} +3 -3
  22. package/{chart-Dyd4thOB.js → chart-D8Kvduvq.js} +4 -4
  23. package/{choiceInput-3nqmVFNa.js → choiceInput-CtWRN_pP.js} +83 -28
  24. package/{circle-CpqYjuC6.js → circle-DXj4GXmn.js} +6 -6
  25. package/{cobwebPolyline-CcP_3EeN.js → cobwebPolyline-CrNpZ5nX.js} +4 -4
  26. package/{codeEditor-B-yhU39n.js → codeEditor-CGhQV4Rv.js} +2 -2
  27. package/{composites-Cf_tFu_x.js → composites-xwasy1NL.js} +1 -1
  28. package/{containerBlock-CGRLrK1i.js → containerBlock-oac5S56C.js} +4 -4
  29. package/{containerInline-BGpv7kcw.js → containerInline-jhTrkhCK.js} +4 -4
  30. package/{curve-Bh8tpihy.js → curve-DSq92BzX.js} +4 -4
  31. package/{delete-C3dgQTxq.js → delete-DaSfMCHw.js} +3 -3
  32. package/{doenetml-n_WCGBIt.js → doenetml-ClwXiJO3.js} +3 -3
  33. package/doenetml-external-worker.js +2 -2
  34. package/doenetml-inline-worker.js +3 -3
  35. package/doenetml-worker/index.esm.js +1 -1
  36. package/doenetml-worker/index.js +1 -1
  37. package/{ellipsis-BGkNIzCI.js → ellipsis-C9JFYm9i.js} +2 -2
  38. package/{em-6SOA0kHe.js → em-C6boKOOT.js} +3 -3
  39. package/{embed-7ntyDCZ4.js → embed-DvrmzAm5.js} +2 -2
  40. package/{feedback-B-6onxQL.js → feedback-Tx-4G83v.js} +4 -4
  41. package/{figure-BsIi9EVC.js → figure-DtT6Bkl4.js} +3 -3
  42. package/{fillPatterns-CRh6qTM5.js → fillPatterns-B5I5AKPl.js} +1 -1
  43. package/{footnote-CTysBLaN.js → footnote-DrPbf0zq.js} +3 -3
  44. package/{fractionInput-CqBQF3HF.js → fractionInput-Cm4lF95d.js} +5 -5
  45. package/{graph-DQYVyEVp.js → graph-BQK8i7d3.js} +5 -5
  46. package/{hint-CDVo87Sm.js → hint-BMXfpGMl.js} +5 -5
  47. package/{hovercard-store-2cY8z7VL.js → hovercard-store-Cjww_WHq.js} +1 -1
  48. package/{hr-CmiuCIzw.js → hr-Cuh2LIln.js} +2 -2
  49. package/{image-CQ20BUS5.js → image-DbzMtY0A.js} +8 -8
  50. package/{index-B1giQIjP.js → index-DA3O2ID3.js} +1 -1
  51. package/{index.es-Dn0ml6H8.js → index.es-C27pwVDJ.js} +1 -1
  52. package/index.js +1 -1
  53. package/{inputLabel-F76EInxD.js → inputLabel-CVZxmyOZ.js} +3 -3
  54. package/{insert-CdDMsZgZ.js → insert-w_xdww3c.js} +3 -3
  55. package/{label-U7Fb3oYl.js → label-BojouvY4.js} +9 -9
  56. package/{legend-Cepg8AqG.js → legend-GF-p_DSI.js} +4 -4
  57. package/{line-BwciGUkB.js → line-DdaecR60.js} +6 -6
  58. package/{lineFamilyDragHandlers-CtW7Syvu.js → lineFamilyDragHandlers-BBdndXCt.js} +1 -1
  59. package/{lineSegment-6siomKl7.js → lineSegment-BB3HAgsm.js} +5 -5
  60. package/{list-xeouRBzT.js → list-Bk2hQ9-6.js} +4 -4
  61. package/{lq-djKYml_6.js → lq-89nzURE6.js} +2 -2
  62. package/{lsq-DWF80Vbe.js → lsq-BWlGjme9.js} +2 -2
  63. package/{markupRenderer-k9bMZa7X.js → markupRenderer-C9tjwgIO.js} +1 -1
  64. package/{math-CS8_JWEM.js → math-Df-t0JTM.js} +8 -8
  65. package/{mathInput-ClVx5K_k.js → mathInput-CZ7U59sg.js} +9 -9
  66. package/{mathInputSlots-BmMaA2J4.js → mathInputSlots-slK7qkPq.js} +1 -1
  67. package/{matrixInput-PNJW_J7u.js → matrixInput-B0gzG5EH.js} +5 -5
  68. package/{mdash-J8cOc1fE.js → mdash-BQ_dg7TS.js} +2 -2
  69. package/{nbsp-CYr2aHjw.js → nbsp-Bkp7bx93.js} +2 -2
  70. package/{ndash-3wUJBcHp.js → ndash-ihSwJeyP.js} +2 -2
  71. package/{number-jdEKHd7o.js → number-CkJBcUzx.js} +8 -8
  72. package/{orbitalDiagram-CWF-rSDJ.js → orbitalDiagram-D5bcasa_.js} +2 -2
  73. package/{orbitalDiagramInput-Cpl1YUiA.js → orbitalDiagramInput-CxxHR53H.js} +2 -2
  74. package/{p-Dg-qhq99.js → p-BuVblnlK.js} +4 -4
  75. package/package.json +1 -1
  76. package/{paginatorControls-BkIHmOPf.js → paginatorControls-BFpPqxCm.js} +2 -2
  77. package/{pegboard-BaJHIB5S.js → pegboard-BzcBBX1v.js} +3 -3
  78. package/{point-8UXrnsDx.js → point-3kd126As.js} +6 -6
  79. package/{polygon-CoCJ-30b.js → polygon-C1vHL1tL.js} +6 -6
  80. package/{polyline-Bv__2F7u.js → polyline-BZ5tbr26.js} +5 -5
  81. package/{pre-Dep5P3Sq.js → pre-CTx3vJdL.js} +3 -3
  82. package/{prefigure-Bt36Hv_o.js → prefigure-CpUTHyWB.js} +1 -1
  83. package/{pretzel-D4GkfaQ7.js → pretzel-Dd_THE9a.js} +4 -4
  84. package/{q-f9QXSUop.js → q-CjbnHfez.js} +3 -3
  85. package/{ray-gWPORysS.js → ray-C8iLLfwp.js} +5 -5
  86. package/{ref-CYufDxp6.js → ref-D_rLUUu1.js} +3 -3
  87. package/{regionBetweenCurveXAxis-UtFZ8ixz.js → regionBetweenCurveXAxis-DaM0oiTa.js} +5 -5
  88. package/{regionBetweenCurves-DnntBkur.js → regionBetweenCurves-DosygKzW.js} +5 -5
  89. package/{row-CZI0ys0r.js → row-CfTQLP_J.js} +2 -2
  90. package/{rq-DkLAuWeh.js → rq-C7uWHWir.js} +2 -2
  91. package/{rsq-DGeiUKAj.js → rsq-BMZd-nug.js} +2 -2
  92. package/{section-B4zlq-fI.js → section-BIefvNxm.js} +6 -6
  93. package/{sha256-8sXzDnE0-DIwcyKfo.js → sha256-8sXzDnE0-CDx48_Bq.js} +1 -1
  94. package/{sideBySide-DV6O9kLh.js → sideBySide-CHpC8ARR.js} +2 -2
  95. package/{slider-BU3nF2S5.js → slider-aneeZXte.js} +13 -11
  96. package/{slopeField-CregrYIO.js → slopeField-CCO2Izch.js} +2 -2
  97. package/{solution-pxlEZSK2.js → solution-D_UWNM_j.js} +4 -4
  98. package/{spreadsheet-B5zvG-c0.js → spreadsheet-61-PbW9a.js} +2 -2
  99. package/{sq-CjZ1IjtL.js → sq-BXFZPb45.js} +3 -3
  100. package/{subsetOfRealsInput-DzvBJHWO.js → subsetOfRealsInput-DVT8PHIK.js} +2 -2
  101. package/{summaryStatistics-IOCopGKe.js → summaryStatistics-DZdHRQeS.js} +2 -2
  102. package/{table-D26GSnYo.js → table-B7mZ_auR.js} +2 -2
  103. package/{tabular-BYX8jIRM.js → tabular-Clmq_4Hd.js} +2 -2
  104. package/{tag-BBgZkMED.js → tag-D9xHhESL.js} +2 -2
  105. package/{text-B_f_W-04.js → text-DdphJnSc.js} +8 -8
  106. package/{textInput-De38mpgb.js → textInput-CT8y5U5b.js} +8 -8
  107. package/{tooltip-provider-DD9l-OKG.js → tooltip-provider-BME-Kb4-.js} +2 -2
  108. package/{useAnchoredGraphDragHandler-CshiOO2w.js → useAnchoredGraphDragHandler-B-0OeylA.js} +1 -1
  109. package/useDoenetRenderer-D_ZOsiYo.js +114 -0
  110. package/{useFieldCurve-Cyn19_rE.js → useFieldCurve-IE5ynYvL.js} +2 -2
  111. package/{useSubmitActionWithDelay-BBq7HH-X.js → useSubmitActionWithDelay-sZW78Xjk.js} +2 -2
  112. package/{vector-C-q2fLLa.js → vector-CI5clpda.js} +6 -6
  113. package/{vectorField-C6CimLJm.js → vectorField-B6mkdae9.js} +2 -2
  114. package/{video-CZeQ4dvM.js → video-uy9puQHf.js} +4 -4
  115. package/useDoenetRenderer-CptFn1Wf.js +0 -114
@@ -1,5 +1,5 @@
1
- import { u as useT, q as jsxRuntimeExports, L as Button } from "./doenetml-n_WCGBIt.js";
2
- import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-DD9l-OKG.js";
1
+ import { u as useT, q as jsxRuntimeExports, L as Button } from "./doenetml-ClwXiJO3.js";
2
+ import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-BME-Kb4-.js";
3
3
  function AnswerResponseButton({
4
4
  answerId,
5
5
  answerComponentIdx,
@@ -1,4 +1,4 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-n_WCGBIt.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.js";
2
2
  import { useContext, useRef, useState, useLayoutEffect, createContext } from "react";
3
3
  import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
4
4
  const NoClickTargetContext = createContext(false);
@@ -1,4 +1,4 @@
1
- import { a1 as memo, a2 as forwardRef, a3 as createElement, a4 as createHook, a5 as usePopoverContext, a6 as invariant, a7 as useStoreState, a8 as getBasePlacement, a9 as useId, aa as useMergeRefs, q as jsxRuntimeExports, ab as removeUndefinedValues, ac as useSafeLayoutEffect, ad as getWindow, ae as usePopoverStore, E as DocContext, u as useT, af as PopoverDisclosure, ag as MdInfoOutline, ah as Popover } from "./doenetml-n_WCGBIt.js";
1
+ import { a1 as memo, a2 as forwardRef, a3 as createElement, a4 as createHook, a5 as usePopoverContext, a6 as invariant, a7 as useStoreState, a8 as getBasePlacement, a9 as useId, aa as useMergeRefs, q as jsxRuntimeExports, ab as removeUndefinedValues, ac as useSafeLayoutEffect, ad as getWindow, ae as usePopoverStore, E as DocContext, u as useT, af as PopoverDisclosure, ag as MdInfoOutline, ah as Popover } from "./doenetml-ClwXiJO3.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,9 +1,9 @@
1
- import { aj as createStoreContext, aV as CompositeScopedContextProvider, aW as CompositeContextProvider, a1 as memo, a2 as forwardRef, a3 as createElement, a4 as createHook, a6 as invariant, a9 as useId, aE as disabledFromProps, aq as useEvent, a7 as useStoreState, q as jsxRuntimeExports, aX as CompositeItem, aY as useCompositeItem, al as useWrapElement, aZ as useComposite, a_ as useDisclosureStore, ac as useSafeLayoutEffect, a$ as getFirstTabbableIn, aa as useMergeRefs, aF as useFocusable, b0 as useDisclosureContent, b1 as useCollectionItem, b2 as mergeStore, b3 as omit, b4 as createCompositeStore, as as defaultValue, ar as createStore, b5 as setup, ao as sync, b6 as batch, ap as chain, b7 as createCollectionStore, b8 as useComboboxContext, b9 as useSelectContext, at as useStore, ba as useUpdateEffect, bb as useCompositeStoreProps, au as useStoreProps, a8 as getBasePlacement, bc as isHidden, bd as useCompositeTypeahead, ak as createDialogComponent, be as fireEvent, aD as hasFocusWithin, am as isFalsyBooleanCallback, bf as Role, bg as getPopupRole, bh as getPopupItemRole, bi as usePopoverDisclosure, bj as disabledFromElement, az as useBooleanEvent, bk as isDownloading, bl as isOpeningInNewTab, bm as useCompositeHover, bn as getDocument, bo as pick, bp as throwOnConflictingProps, bq as applyState, br as useComboboxProviderContext, bs as GenIcon, u as useT, Y as MathJax, bt as isMacPlatform, bu as BsXOctagonFill, bv as BsExclamationTriangleFill, bw as BsInfoCircleFill, bx as classNames, by as toXml, bz as referenceWouldAbsorb, bA as nodesToXml, bB as escape, bC as name, bD as quote, bE as lezerToDast, bF as unified, bG as replaceNode, bH as visit, bI as SKIP, G as DynamicMath, bJ as BsCodeSlash, bK as BsXOctagon, bL as BsExclamationTriangle, bM as BsInfoCircle, bN as BsChatSquareTextFill, bO as BsChatSquareText, bP as BsThreeDotsVertical, bQ as UiButton, bR as VariantSelect, bS as setVariantIndex, bT as getAugmentedNamespace, bU as isAccessibilityRecord, bV as nanoid, t as useUiLocale, bW as useLocaleCatalogs, bX as useChromeTranslator, w as useDiagnosticFormatter, o as doenetGlobalConfig, bY as DocViewer, bZ as setVariantsFromCallback, b_ as I18nProvider, b$ as ResizablePanelPair, c0 as nanInfinityReviver, c1 as isSaveShortcutKeydown, $ as hasNavigationModifier, c2 as ResizableCollapsiblePanelPair } from "./doenetml-n_WCGBIt.js";
1
+ import { aj as createStoreContext, aV as CompositeScopedContextProvider, aW as CompositeContextProvider, a1 as memo, a2 as forwardRef, a3 as createElement, a4 as createHook, a6 as invariant, a9 as useId, aE as disabledFromProps, aq as useEvent, a7 as useStoreState, q as jsxRuntimeExports, aX as CompositeItem, aY as useCompositeItem, al as useWrapElement, aZ as useComposite, a_ as useDisclosureStore, ac as useSafeLayoutEffect, a$ as getFirstTabbableIn, aa as useMergeRefs, aF as useFocusable, b0 as useDisclosureContent, b1 as useCollectionItem, b2 as mergeStore, b3 as omit, b4 as createCompositeStore, as as defaultValue, ar as createStore, b5 as setup, ao as sync, b6 as batch, ap as chain, b7 as createCollectionStore, b8 as useComboboxContext, b9 as useSelectContext, at as useStore, ba as useUpdateEffect, bb as useCompositeStoreProps, au as useStoreProps, a8 as getBasePlacement, bc as isHidden, bd as useCompositeTypeahead, ak as createDialogComponent, be as fireEvent, aD as hasFocusWithin, am as isFalsyBooleanCallback, bf as Role, bg as getPopupRole, bh as getPopupItemRole, bi as usePopoverDisclosure, bj as disabledFromElement, az as useBooleanEvent, bk as isDownloading, bl as isOpeningInNewTab, bm as useCompositeHover, bn as getDocument, bo as pick, bp as throwOnConflictingProps, bq as applyState, br as useComboboxProviderContext, bs as GenIcon, u as useT, Y as MathJax, bt as isMacPlatform, bu as BsXOctagonFill, bv as BsExclamationTriangleFill, bw as BsInfoCircleFill, bx as classNames, by as toXml, bz as referenceWouldAbsorb, bA as nodesToXml, bB as escape, bC as name, bD as quote, bE as lezerToDast, bF as unified, bG as replaceNode, bH as visit, bI as SKIP, G as DynamicMath, bJ as BsCodeSlash, bK as BsXOctagon, bL as BsExclamationTriangle, bM as BsInfoCircle, bN as BsChatSquareTextFill, bO as BsChatSquareText, bP as BsThreeDotsVertical, bQ as UiButton, bR as VariantSelect, bS as setVariantIndex, bT as getAugmentedNamespace, bU as isAccessibilityRecord, bV as nanoid, t as useUiLocale, bW as useLocaleCatalogs, bX as useChromeTranslator, w as useDiagnosticFormatter, o as doenetGlobalConfig, bY as DocViewer, bZ as setVariantsFromCallback, b_ as I18nProvider, b$ as ResizablePanelPair, c0 as nanInfinityReviver, c1 as isSaveShortcutKeydown, $ as hasNavigationModifier, c2 as ResizableCollapsiblePanelPair } from "./doenetml-ClwXiJO3.js";
2
2
  import React__default, { useCallback, useRef, useEffect, useState, useMemo, createContext, createRef, useContext, useImperativeHandle } from "react";
3
3
  import { flushSync } from "react-dom";
4
4
  import { i as isMathDefaultValue, a as isComponentSizeValue, f as formatComponentSize, d as doenetSchema, k as keymap, C as CodeMirror, E as EditorView } from "./index-DqAxh5HC.js";
5
5
  import me$1 from "math-expressions";
6
- import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-2cY8z7VL.js";
6
+ import { H as HovercardScopedContextProvider, a as HovercardContextProvider, u as useHovercard, b as useHovercardAnchor, c as createHovercardStore, d as useHovercardStoreProps } from "./hovercard-store-Cjww_WHq.js";
7
7
  const ctx = createStoreContext([CompositeContextProvider], [CompositeScopedContextProvider]);
8
8
  const useTabScopedContext = ctx.useScopedContext;
9
9
  const useTabProviderContext = ctx.useProviderContext;
@@ -11018,12 +11018,12 @@ function EditorFooter({
11018
11018
  className: "doenetml-version",
11019
11019
  title: t(
11020
11020
  "editor-version-title",
11021
- { version: "0.7.27-dev.720" },
11022
- `DoenetML version ${"0.7.27-dev.720"}`
11021
+ { version: "0.7.27-dev.722" },
11022
+ `DoenetML version ${"0.7.27-dev.722"}`
11023
11023
  ),
11024
11024
  children: [
11025
11025
  "v",
11026
- "0.7.27-dev.720"
11026
+ "0.7.27-dev.722"
11027
11027
  ]
11028
11028
  }
11029
11029
  ),
@@ -1,6 +1,6 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-n_WCGBIt.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.js";
2
2
  import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
3
- import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-Bo32vL7s.js";
3
+ import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-DLObq3bT.js";
4
4
  function GraphFrame({
5
5
  id,
6
6
  SVs,
@@ -1,4 +1,4 @@
1
- import { T as cesc, q as jsxRuntimeExports } from "./doenetml-n_WCGBIt.js";
1
+ import { T as cesc, q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.js";
2
2
  import { useRef, useEffect, useState } from "react";
3
3
  import me from "math-expressions";
4
4
  import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
@@ -1,4 +1,4 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-n_WCGBIt.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.js";
2
2
  function NonInlineMediaWrapper({
3
3
  id,
4
4
  displayMode,
@@ -1 +1 @@
1
- {"version":3,"file":"choiceInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/choiceInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;AAK9B,OAAO,mBAAmB,CAAC;AA2C3B;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,wBAAwB;cACvB,OAAO;cACP,OAAO;EACmB,CAAC;;AA2BzC,wBAsyBG"}
1
+ {"version":3,"file":"choiceInput.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/choiceInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KASN,MAAM,OAAO,CAAC;AACf,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;AAU9B,OAAO,mBAAmB,CAAC;AA2C3B;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,wBAAwB;cACvB,OAAO;cACP,OAAO;EACmB,CAAC;;AAuGzC,wBAk0BG"}
@@ -1 +1 @@
1
- {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AAiM9B,wBA0PG"}
1
+ {"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../src/Viewer/renderers/slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAE3D,OAA0B,EACtB,sBAAsB,EACzB,MAAM,sBAAsB,CAAC;;AAiM9B,wBAuQG"}
@@ -1,6 +1,6 @@
1
- import { u as useT, t as useUiLocale, v as useChromeLangDir, w as useDiagnosticFormatter, q as jsxRuntimeExports } from "./doenetml-n_WCGBIt.js";
1
+ import { u as useT, t as useUiLocale, v as useChromeLangDir, w as useDiagnosticFormatter, q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.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 { q as jsxRuntimeExports } from "./doenetml-n_WCGBIt.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-Cf_tFu_x.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-xwasy1NL.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 { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle, G as DynamicMath } from "./doenetml-n_WCGBIt.js";
1
+ import { E as DocContext, q as jsxRuntimeExports, F as textRendererStyle, G as DynamicMath } from "./doenetml-ClwXiJO3.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-Cx2QmpI8.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
5
- import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-DQYVyEVp.js";
6
- import { ChoiceInputInlineContext } from "./choiceInput-3nqmVFNa.js";
7
- import { g as getPatternFillAttributes } from "./fillPatterns-CRh6qTM5.js";
3
+ import { j as jxg, s as syncLayer, a as syncWithLabelToggle, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-BE3bSw4H.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
5
+ import { B as BoardContext, L as LINE_LAYER_OFFSET } from "./graph-BQK8i7d3.js";
6
+ import { ChoiceInputInlineContext } from "./choiceInput-CtWRN_pP.js";
7
+ import { g as getPatternFillAttributes } from "./fillPatterns-B5I5AKPl.js";
8
8
  import { r as resolveFillColor, a as resolveLineColor, b as resolveCanvasColor } from "./styleColors-BrCvjxze.js";
9
9
  const angle = React__default.memo(function Angle(props) {
10
10
  let { id, SVs } = useDoenetRenderer(props);
@@ -1,10 +1,10 @@
1
- import { I as useContentT, E as DocContext, q as jsxRuntimeExports, G as DynamicMath } from "./doenetml-n_WCGBIt.js";
1
+ import { I as useContentT, E as DocContext, q as jsxRuntimeExports, G as DynamicMath } from "./doenetml-ClwXiJO3.js";
2
2
  import React__default, { useContext } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
4
- import { A as AnswerResponseButton } from "./AnswerResponseButton-nf0xqOjL.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent, w as wantsFullCheckWorkButton } from "./useSubmitActionWithDelay-BBq7HH-X.js";
6
- import { D as DescriptionPopover } from "./Description-Bo32vL7s.js";
7
- import { u as useRenderedLabel, A as AnswerLabelContext } from "./inputLabel-F76EInxD.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
4
+ import { A as AnswerResponseButton } from "./AnswerResponseButton-Bod3ceCt.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent, w as wantsFullCheckWorkButton } from "./useSubmitActionWithDelay-sZW78Xjk.js";
6
+ import { D as DescriptionPopover } from "./Description-DLObq3bT.js";
7
+ import { u as useRenderedLabel, A as AnswerLabelContext } from "./inputLabel-CVZxmyOZ.js";
8
8
  const answer = React__default.memo(function Answer(props) {
9
9
  let {
10
10
  componentIdx,
@@ -1,6 +1,6 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-n_WCGBIt.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.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 { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-n_WCGBIt.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-k9bMZa7X.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-C9tjwgIO.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 { q as jsxRuntimeExports } from "./doenetml-n_WCGBIt.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.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,13 +1,13 @@
1
- import { I as useContentT, M as toNumberOrNaN, q as jsxRuntimeExports, Y as MathJax, Z as ToggleButton } from "./doenetml-n_WCGBIt.js";
1
+ import { I as useContentT, M as toNumberOrNaN, q as jsxRuntimeExports, Y as MathJax, Z as ToggleButton } from "./doenetml-ClwXiJO3.js";
2
2
  import React__default, { useState, useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-Cx2QmpI8.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
5
- import { B as BoardContext } from "./graph-DQYVyEVp.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-BE3bSw4H.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
5
+ import { B as BoardContext } from "./graph-BQK8i7d3.js";
6
6
  import me from "math-expressions";
7
7
  import { e as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-N7QcDlVU.js";
8
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BBq7HH-X.js";
9
- import { D as DescriptionPopover } from "./Description-Bo32vL7s.js";
10
- import { u as useRenderedLabel } from "./inputLabel-F76EInxD.js";
8
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-sZW78Xjk.js";
9
+ import { D as DescriptionPopover } from "./Description-DLObq3bT.js";
10
+ import { u as useRenderedLabel } from "./inputLabel-CVZxmyOZ.js";
11
11
  const booleanInput = React__default.memo(function BooleanInput(props) {
12
12
  let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
13
13
  const renderedLabel = useRenderedLabel({
@@ -1,6 +1,6 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-n_WCGBIt.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
4
4
  const br = React__default.memo(function Br(props) {
5
5
  let { id, SVs } = useDoenetRenderer(props);
6
6
  if (SVs.hidden) {
@@ -1,9 +1,9 @@
1
- import { M as toNumberOrNaN, T as cesc, q as jsxRuntimeExports, P as Button2 } from "./doenetml-n_WCGBIt.js";
1
+ import { M as toNumberOrNaN, T as cesc, q as jsxRuntimeExports, P as Button2 } from "./doenetml-ClwXiJO3.js";
2
2
  import React__default, { useRef, useContext, useEffect } from "react";
3
- import { j as jxg } from "./JSXGraphRenderer-Cx2QmpI8.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
5
- import { B as BoardContext } from "./graph-DQYVyEVp.js";
6
- import { u as useRenderedLabel } from "./inputLabel-F76EInxD.js";
3
+ import { j as jxg } from "./JSXGraphRenderer-BE3bSw4H.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
5
+ import { B as BoardContext } from "./graph-BQK8i7d3.js";
6
+ import { u as useRenderedLabel } from "./inputLabel-CVZxmyOZ.js";
7
7
  import me from "math-expressions";
8
8
  import { e as getPositionFromAnchorByCoordinate, P as POINTER_DRAG_THRESHOLD } from "./graph-N7QcDlVU.js";
9
9
  const button = React__default.memo(function ButtonComponent(props) {
@@ -1,7 +1,7 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-n_WCGBIt.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-k9bMZa7X.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-C9tjwgIO.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 { q as jsxRuntimeExports } from "./doenetml-n_WCGBIt.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-Cf_tFu_x.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-xwasy1NL.js";
5
5
  import { c as cellInlinePadding } from "./tabularCellPadding-BFCU20f_.js";
6
6
  const cell = React__default.memo(function Cell(props) {
7
7
  let { id, SVs, children } = useDoenetRenderer(props);
@@ -1,8 +1,8 @@
1
- import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-n_WCGBIt.js";
1
+ import { J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
4
- import GraphFrame from "./GraphFrame-CSCaXm1V.js";
5
- import Prefigure from "./prefigure-Bt36Hv_o.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
4
+ import GraphFrame from "./GraphFrame-BZC_g30g.js";
5
+ import Prefigure from "./prefigure-CpUTHyWB.js";
6
6
  const chart = React__default.memo(function Chart(props) {
7
7
  const { id, SVs, actions, callAction } = useDoenetRenderer(props);
8
8
  const containerRef = useRef(null);
@@ -1,17 +1,17 @@
1
- import { aT as autoUpdate, u as useT, I as useContentT, E as DocContext, q as jsxRuntimeExports, aU as CANVAS_DARK_MODE_COLOR, Y as MathJax } from "./doenetml-n_WCGBIt.js";
1
+ import { aT as autoUpdate, u as useT, I as useContentT, E as DocContext, q as jsxRuntimeExports, aU as CANVAS_DARK_MODE_COLOR, Y as MathJax } from "./doenetml-ClwXiJO3.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-CptFn1Wf.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.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, w as wantsFullCheckWorkButton, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BBq7HH-X.js";
8
- import { D as DescriptionPopover } from "./Description-Bo32vL7s.js";
9
- import { u as useRenderedLabel } from "./inputLabel-F76EInxD.js";
7
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, w as wantsFullCheckWorkButton, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-sZW78Xjk.js";
8
+ import { D as DescriptionPopover } from "./Description-DLObq3bT.js";
9
+ import { u as useRenderedLabel } from "./inputLabel-CVZxmyOZ.js";
10
10
  import { a as addValidationStateToShortDescription } from "./validationState-DI_lxk1a.js";
11
11
  import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
12
- import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-BmMaA2J4.js";
12
+ import { b as useInMathSlot, c as useMathSlotEditing } from "./mathInputSlots-slK7qkPq.js";
13
13
  import { u as useMathJaxOutOfTabOrder } from "./useMathJaxOutOfTabOrder-C0wsYqBF.js";
14
- import { N as NoClickTargetContext } from "./ClickTarget-BTsJtnye.js";
14
+ import { N as NoClickTargetContext } from "./ClickTarget-vvCrTXcX.js";
15
15
  function _typeof(o) {
16
16
  "@babel/helpers - typeof";
17
17
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o2) {
@@ -5146,10 +5146,57 @@ const isMultiValue = (val) => {
5146
5146
  return Array.isArray(val);
5147
5147
  };
5148
5148
  const ChoiceInputInlineContext = createContext({ isHidden: false, inOption: false });
5149
+ const MIN_MENU_HEIGHT = 140;
5150
+ const MIN_MENU_HEIGHT_ALT = 139.9;
5151
+ const RecheckMenuPlacementContext = createContext(() => {
5152
+ });
5153
+ function MenuThatRechecksPlacement(props) {
5154
+ const recheckPlacement = useContext(RecheckMenuPlacementContext);
5155
+ const { innerRef, placement } = props;
5156
+ const [menuElement, setMenuElement] = useState(null);
5157
+ const setMenuRef = useCallback(
5158
+ (element) => {
5159
+ setMenuElement(element);
5160
+ if (typeof innerRef === "function") {
5161
+ innerRef(element);
5162
+ } else if (innerRef) {
5163
+ innerRef.current = element;
5164
+ }
5165
+ },
5166
+ [innerRef]
5167
+ );
5168
+ useEffect(() => {
5169
+ if (!menuElement || placement !== "bottom" || typeof ResizeObserver === "undefined") {
5170
+ return;
5171
+ }
5172
+ let lastHeight = menuElement.getBoundingClientRect().height;
5173
+ const observer = new ResizeObserver(() => {
5174
+ const height = menuElement.getBoundingClientRect().height;
5175
+ if (height > lastHeight) {
5176
+ recheckPlacement();
5177
+ }
5178
+ lastHeight = height;
5179
+ });
5180
+ observer.observe(menuElement);
5181
+ return () => observer.disconnect();
5182
+ }, [menuElement, placement, recheckPlacement]);
5183
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(components.Menu, { ...props, innerRef: setMenuRef });
5184
+ }
5149
5185
  const choiceInput = React__default.memo(function ChoiceInput(props) {
5150
5186
  let { id, SVs, actions, children, ignoreUpdate, callAction } = useDoenetRenderer(props);
5151
5187
  const renderedLabel = useRenderedLabel({ SVs, children });
5152
5188
  const t = useT();
5189
+ const [altMinMenuHeight, setAltMinMenuHeight] = useState(false);
5190
+ const menuRecheckPending = useRef(false);
5191
+ const recheckMenuPlacement = useCallback(() => {
5192
+ if (!menuRecheckPending.current) {
5193
+ menuRecheckPending.current = true;
5194
+ setAltMinMenuHeight((alt) => !alt);
5195
+ }
5196
+ }, []);
5197
+ useLayoutEffect(() => {
5198
+ menuRecheckPending.current = false;
5199
+ }, [altMinMenuHeight]);
5153
5200
  const tContent = useContentT();
5154
5201
  const { darkMode } = useContext(DocContext) || {};
5155
5202
  const inMathSlot = useInMathSlot();
@@ -5275,7 +5322,8 @@ const choiceInput = React__default.memo(function ChoiceInput(props) {
5275
5322
  }
5276
5323
  ),
5277
5324
  // Add aria-details to the internal input used by react-select.
5278
- Input: (props2) => /* @__PURE__ */ jsxRuntimeExports.jsx(components.Input, { ...props2, "aria-details": descriptionId })
5325
+ Input: (props2) => /* @__PURE__ */ jsxRuntimeExports.jsx(components.Input, { ...props2, "aria-details": descriptionId }),
5326
+ Menu: MenuThatRechecksPlacement
5279
5327
  }),
5280
5328
  [descriptionId, t]
5281
5329
  );
@@ -5473,27 +5521,34 @@ const choiceInput = React__default.memo(function ChoiceInput(props) {
5473
5521
  {
5474
5522
  value: { isHidden: false, inOption: false },
5475
5523
  children: /* @__PURE__ */ jsxRuntimeExports.jsx(
5476
- StateManagedSelect$1,
5524
+ RecheckMenuPlacementContext.Provider,
5477
5525
  {
5478
- id,
5479
- inputId: inlineInputId,
5480
- isMulti: SVs.selectMultiple,
5481
- styles: customStyles,
5482
- options: choiceOptions,
5483
- components: inlineSelectComponents,
5484
- getOptionLabel: (opt) => opt.label,
5485
- formatOptionLabel: (opt) => opt.content,
5486
- menuPortalTarget,
5487
- menuPlacement: "auto",
5488
- className: inputClasses,
5489
- onChange: onChangeHandlerInline,
5490
- value: rendererSelectedIndices.map((ind) => getOptionFromIndex(ind)).filter((opt) => opt !== void 0),
5491
- placeholder: SVs.placeHolder,
5492
- isDisabled: disabled,
5493
- isOptionDisabled: (opt) => !!opt.isDisabled,
5494
- "aria-labelledby": inlineLabelledByIds || void 0,
5495
- "aria-label": !inlineLabelledByIds ? shortDescription : void 0,
5496
- "aria-description": inlineLabelledByIds ? shortDescription : void 0
5526
+ value: recheckMenuPlacement,
5527
+ children: /* @__PURE__ */ jsxRuntimeExports.jsx(
5528
+ StateManagedSelect$1,
5529
+ {
5530
+ id,
5531
+ inputId: inlineInputId,
5532
+ isMulti: SVs.selectMultiple,
5533
+ styles: customStyles,
5534
+ options: choiceOptions,
5535
+ components: inlineSelectComponents,
5536
+ getOptionLabel: (opt) => opt.label,
5537
+ formatOptionLabel: (opt) => opt.content,
5538
+ menuPortalTarget,
5539
+ menuPlacement: "auto",
5540
+ minMenuHeight: altMinMenuHeight ? MIN_MENU_HEIGHT_ALT : MIN_MENU_HEIGHT,
5541
+ className: inputClasses,
5542
+ onChange: onChangeHandlerInline,
5543
+ value: rendererSelectedIndices.map((ind) => getOptionFromIndex(ind)).filter((opt) => opt !== void 0),
5544
+ placeholder: SVs.placeHolder,
5545
+ isDisabled: disabled,
5546
+ isOptionDisabled: (opt) => !!opt.isDisabled,
5547
+ "aria-labelledby": inlineLabelledByIds || void 0,
5548
+ "aria-label": !inlineLabelledByIds ? shortDescription : void 0,
5549
+ "aria-description": inlineLabelledByIds ? shortDescription : void 0
5550
+ }
5551
+ )
5497
5552
  }
5498
5553
  )
5499
5554
  }
@@ -1,17 +1,17 @@
1
- import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-n_WCGBIt.js";
1
+ import { E as DocContext, q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.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-Cx2QmpI8.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
5
- import { B as BoardContext, P as POINT_LAYER_OFFSET, L as LINE_LAYER_OFFSET } from "./graph-DQYVyEVp.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-BE3bSw4H.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
5
+ import { B as BoardContext, P as POINT_LAYER_OFFSET, L as LINE_LAYER_OFFSET } from "./graph-BQK8i7d3.js";
6
6
  import { c as characterizeOffGraphPoint, a as characterizeOffGraphCircleArc } from "./offGraphIndicators-BfjnfwAp.js";
7
7
  import { n as normalizePointStyle, a as normalizePointSize, b as adjustPointLabelPosition, g as getEffectiveBoundingBox, c as getGraphCornerWithBuffer, d as calculatePointLabelAnchor } from "./graph-N7QcDlVU.js";
8
- import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-CtW7Syvu.js";
8
+ import { u as useSourceNavigation, a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-BBdndXCt.js";
9
9
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-BZQatkpv.js";
10
10
  import { p as pointerEventToUserCoords } from "./dragThreshold-DkT37QqI.js";
11
11
  import { a as resolveLineColor, r as resolveFillColor, c as resolveMarkerColor, b as resolveCanvasColor } from "./styleColors-BrCvjxze.js";
12
12
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
13
13
  import { b as buildFilledShapeAttributes } from "./buildGraphicalAttributes-B_soifR-.js";
14
- import { g as getPatternFillAttributes } from "./fillPatterns-CRh6qTM5.js";
14
+ import { g as getPatternFillAttributes } from "./fillPatterns-B5I5AKPl.js";
15
15
  import { u as useDraggableRefs } from "./useDraggableRefs-QaTfkVuD.js";
16
16
  import { u as useJSXGraphCleanup } from "./useJSXGraphCleanup-BNk4sn6x.js";
17
17
  const circle = React__default.memo(function Circle(props) {
@@ -1,8 +1,8 @@
1
- import { K as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-n_WCGBIt.js";
1
+ import { K as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.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-Cx2QmpI8.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
5
- import { B as BoardContext, L as LINE_LAYER_OFFSET, V as VERTEX_LAYER_OFFSET } from "./graph-DQYVyEVp.js";
3
+ import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-BE3bSw4H.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
5
+ import { B as BoardContext, L as LINE_LAYER_OFFSET, V as VERTEX_LAYER_OFFSET } from "./graph-BQK8i7d3.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 { E as DocContext, q as jsxRuntimeExports, ai as EditorViewerLazy } from "./doenetml-n_WCGBIt.js";
1
+ import { E as DocContext, q as jsxRuntimeExports, ai as EditorViewerLazy } from "./doenetml-ClwXiJO3.js";
2
2
  import React__default, { useState, useEffect, useContext, useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.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 { A as groupCompositeRanges, q as jsxRuntimeExports, B as listCommaPositions, C as isBlankGroup } from "./doenetml-n_WCGBIt.js";
1
+ import { A as groupCompositeRanges, q as jsxRuntimeExports, B as listCommaPositions, C as isBlankGroup } from "./doenetml-ClwXiJO3.js";
2
2
  function addCommasForCompositeRanges({
3
3
  compositeReplacementActiveRange,
4
4
  children,
@@ -1,8 +1,8 @@
1
- import { I as useContentT, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-n_WCGBIt.js";
1
+ import { I as useContentT, J as useRecordVisibilityChanges, q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.js";
2
2
  import React__default, { useRef } from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-Cf_tFu_x.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BBq7HH-X.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-xwasy1NL.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-sZW78Xjk.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 { I as useContentT, q as jsxRuntimeExports } from "./doenetml-n_WCGBIt.js";
1
+ import { I as useContentT, q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
4
- import { a as addCommasForCompositeRanges } from "./composites-Cf_tFu_x.js";
5
- import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-BBq7HH-X.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
4
+ import { a as addCommasForCompositeRanges } from "./composites-xwasy1NL.js";
5
+ import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-sZW78Xjk.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 { E as DocContext, K as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-n_WCGBIt.js";
1
+ import { E as DocContext, K as createFunctionFromDefinition, q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.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-Cx2QmpI8.js";
4
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
5
- import { B as BoardContext, V as VERTEX_LAYER_OFFSET, C as CONTROL_POINT_LAYER_OFFSET, L as LINE_LAYER_OFFSET } from "./graph-DQYVyEVp.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-BE3bSw4H.js";
4
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
5
+ import { B as BoardContext, V as VERTEX_LAYER_OFFSET, C as CONTROL_POINT_LAYER_OFFSET, L as LINE_LAYER_OFFSET } from "./graph-BQK8i7d3.js";
6
6
  import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-BZQatkpv.js";
7
7
  import { a as resolveLineColor, d as resolveHandleColor } from "./styleColors-BrCvjxze.js";
8
8
  import { s as styleToDash } from "./styleToDash-DWb71gbd.js";
@@ -1,7 +1,7 @@
1
- import { q as jsxRuntimeExports } from "./doenetml-n_WCGBIt.js";
1
+ import { q as jsxRuntimeExports } from "./doenetml-ClwXiJO3.js";
2
2
  import React__default from "react";
3
- import { u as useDoenetRenderer } from "./useDoenetRenderer-CptFn1Wf.js";
4
- import { r as renderMarkupBody } from "./markupRenderer-k9bMZa7X.js";
3
+ import { u as useDoenetRenderer } from "./useDoenetRenderer-D_ZOsiYo.js";
4
+ import { r as renderMarkupBody } from "./markupRenderer-C9tjwgIO.js";
5
5
  /* empty css */
6
6
  const _delete = React__default.memo(function Delete(props) {
7
7
  const { id, SVs, children } = useDoenetRenderer(props);