@doenet/doenetml 0.7.20-dev.337 → 0.7.20-dev.339
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.
- package/{AnswerResponseButton-CfhGqoqe.js → AnswerResponseButton-B2A6xrvc.js} +2 -2
- package/{Description-Dhmd3Xv4.js → Description-D50R1epC.js} +1 -1
- package/{GraphFrame-BXDscGAG.js → GraphFrame-DMOnIpGH.js} +2 -2
- package/{JSXGraphRenderer-C_QqESRP.js → JSXGraphRenderer-DZmNiC6f.js} +1 -1
- package/{NonInlineMediaWrapper-kYQ1I271.js → NonInlineMediaWrapper-BPZRdtaa.js} +1 -1
- package/{_error-DQPbGPO7.js → _error-CuXFxtJp.js} +2 -2
- package/{alert--Q_KlJ_y.js → alert--AJjdd4d.js} +3 -3
- package/{angle-BmeUHxR_.js → angle-BaVRXegG.js} +6 -6
- package/{answer-BlYRWZip.js → answer-cMmRirF-.js} +5 -5
- package/{asList-3fb-zFhz.js → asList-DLzaoy9z.js} +2 -2
- package/{blockQuote-C5_Trscu.js → blockQuote-CMQzG1oU.js} +3 -3
- package/{boolean-B2eQIhLj.js → boolean-EVqjp3Lo.js} +2 -2
- package/{booleanInput-BMSHSxIH.js → booleanInput-B5dKzhyN.js} +6 -6
- package/{br-C9VVYR1j.js → br-DiOIZun1.js} +2 -2
- package/{button-peTWKdiN.js → button-B2l1BoBZ.js} +4 -4
- package/{c-B8GvQQqM.js → c-6-CxjrR9.js} +3 -3
- package/{cell-DSdgKOvP.js → cell-HQFVGR7v.js} +3 -3
- package/{choiceInput-CBVvUoff.js → choiceInput-DV19pyLG.js} +4 -4
- package/{circle-BsNE1Vu0.js → circle-COgAmllg.js} +5 -5
- package/{cobwebPolyline-DWWhtZDv.js → cobwebPolyline-BXvU8kE7.js} +4 -4
- package/{codeEditor-CADbExVq.js → codeEditor-Bk1X2o2j.js} +2 -2
- package/{composites-D9x26-P1.js → composites-Cg13QDT9.js} +1 -1
- package/{containerBlock-DOhUJ41w.js → containerBlock-3e91lkWR.js} +4 -4
- package/{containerInline-D1nPGcZP.js → containerInline-BFPkugj9.js} +4 -4
- package/{curve-D89dlXmL.js → curve-BwTQSrrq.js} +4 -4
- package/{doenetml-D76DvwsR.js → doenetml-CvIfjqad.js} +46 -18
- package/doenetml-external-worker.js +2 -2
- package/doenetml-inline-worker.js +2 -2
- package/{ellipsis-B03_EwL7.js → ellipsis-B-SoCCrZ.js} +2 -2
- package/{em-uFY7u1TG.js → em-DYKNAjOn.js} +3 -3
- package/{embed-koHs1kdC.js → embed-B8RYb9l7.js} +2 -2
- package/{feedback-W7uEZMV7.js → feedback-CQN6Cg_q.js} +4 -4
- package/{figure-eGB_nF3z.js → figure-DRkqJ-8t.js} +3 -3
- package/{fillPatterns-CXIw7uvs.js → fillPatterns-C1PsMqdi.js} +1 -1
- package/{footnote-DwRnYLOl.js → footnote-Dedfu1xh.js} +3 -3
- package/{fractionInput-Dx3Ymh5o.js → fractionInput-XGTSkacb.js} +4 -4
- package/{graph-BgrVI5hg.js → graph-BYRZE2h3.js} +6 -6
- package/{hint-B-p2Y_m4.js → hint-3mbciCn9.js} +4 -4
- package/{hr-UNkrn4Oc.js → hr-CZxYJrEs.js} +2 -2
- package/{image-DtvX5Qh7.js → image-ujki1Qml.js} +7 -7
- package/{index-CHyTC137.js → index-CKmHdh7a.js} +1 -1
- package/{index.es-BF1uDKf2.js → index.es-CV_b3hzo.js} +1 -1
- package/index.js +1 -1
- package/{label-C-444CQv.js → label-1ncKpcM-.js} +6 -6
- package/{labelWithLatex-IQ6O3XH8.js → labelWithLatex-CADZhsPD.js} +1 -1
- package/{legend-CfKdnqD0.js → legend-NAZRCjkL.js} +4 -4
- package/{line-DLXZRI9G.js → line-CiTLCEOf.js} +5 -5
- package/{lineSegment-BZh_IiSM.js → lineSegment-BcIEzqSF.js} +4 -4
- package/{list-CirckepO.js → list-CDvJcpgn.js} +4 -4
- package/{lq-22lYtBhP.js → lq-BjukUQ7w.js} +2 -2
- package/{lsq-CtWVlsXO.js → lsq-hgAM0UYO.js} +2 -2
- package/{markupRenderer-CI-yuTSi.js → markupRenderer-u3KRv1hh.js} +1 -1
- package/{math-CxPrY91_.js → math-CdscuQGL.js} +6 -6
- package/{mathInput-BZChzhqk.js → mathInput-DsZSccpg.js} +7 -7
- package/{matrixInput-BX_NHGrw.js → matrixInput-CK3grFhb.js} +4 -4
- package/{mdash-DlxFDOEi.js → mdash-u5XK-OCg.js} +2 -2
- package/{nbsp-XycS6xu-.js → nbsp-B8GsCXtR.js} +2 -2
- package/{ndash-D1ZJ795_.js → ndash-BwRLLJmo.js} +2 -2
- package/{number-D65vFLFV.js → number-C9INB8L5.js} +6 -6
- package/{orbitalDiagram-CIH8gxgw.js → orbitalDiagram-CIMmz7f_.js} +2 -2
- package/{orbitalDiagramInput-CtyP8UMv.js → orbitalDiagramInput-C9fxyqzV.js} +2 -2
- package/{p-BLhCx22A.js → p-dXq71fa7.js} +4 -4
- package/package.json +1 -1
- package/{paginatorControls-DV_wrmmO.js → paginatorControls-B4Ecc_hW.js} +2 -2
- package/{pegboard-Dgv7DFex.js → pegboard-B8VQ02Wd.js} +4 -4
- package/{point-C_hh0Cdc.js → point-CyS1V-E2.js} +5 -5
- package/{polygon-sceJeIBT.js → polygon-CKM91fWZ.js} +5 -5
- package/{polyline-D1h-Ibkg.js → polyline-D3bozEfi.js} +4 -4
- package/{pre-C9bAG6Si.js → pre-DIs_iCz2.js} +3 -3
- package/{prefigure-BEJhat0A.js → prefigure-BL7rzMjv.js} +1 -1
- package/{pretzel-BaoQnI5L.js → pretzel-Cy7zr6cT.js} +4 -4
- package/{q-DnWBbGaI.js → q-B9rXsCVJ.js} +3 -3
- package/{ray-DLBCdwg-.js → ray-B1BrZeQI.js} +4 -4
- package/{ref-B9QIXBLx.js → ref-DPddFh9X.js} +2 -2
- package/{regionBetweenCurveXAxis-CvpHSuuk.js → regionBetweenCurveXAxis-BuFTJ-ef.js} +5 -5
- package/{regionBetweenCurves-BWWZkwWg.js → regionBetweenCurves-CvwmpDWJ.js} +5 -5
- package/{row-D04t2NfD.js → row-CPCPmfTA.js} +2 -2
- package/{rq-D1DW7Dw_.js → rq-CZEJuYLL.js} +2 -2
- package/{rsq-dKWJjr0O.js → rsq-Dz82ei3b.js} +2 -2
- package/{section-DpDteGmD.js → section-tY0jyNuo.js} +5 -5
- package/{sha256-C0vj3HDn-Bl3mz12N.js → sha256-C0vj3HDn-Dybb9BnV.js} +1 -1
- package/{sideBySide-PqfNoTe_.js → sideBySide-DZnHiiGm.js} +2 -2
- package/{slider-Czh7A4lu.js → slider-BX4S64-N.js} +3 -3
- package/{solution-qm_AIrWO.js → solution-BDYLvEIV.js} +4 -4
- package/{spreadsheet-y5tRLuk9.js → spreadsheet-09CagNGt.js} +2 -2
- package/{sq-3QoKABBk.js → sq-BIK-xTcK.js} +3 -3
- package/{subsetOfRealsInput-CMTZ5RPH.js → subsetOfRealsInput-YtomSH5P.js} +2 -2
- package/{summaryStatistics-DB_XEcFE.js → summaryStatistics-DXJbVGdR.js} +2 -2
- package/{table-B_hAVaMF.js → table-DP91V7DS.js} +2 -2
- package/{tabular-Dk0eWvsl.js → tabular-BFFI--Wq.js} +2 -2
- package/{tag-Btesgc_l.js → tag-FYSY1wvZ.js} +2 -2
- package/{text-Bddmm-cm.js → text-CQlpaA63.js} +6 -6
- package/{textInput-oLwvcBjD.js → textInput-C3Csxuct.js} +6 -6
- package/{tooltip-provider-Cii4fAVi.js → tooltip-provider-BgoPCVud.js} +1 -1
- package/{useAnchoredGraphDragHandler-CtSzNUhZ.js → useAnchoredGraphDragHandler-DdpQuFSS.js} +1 -1
- package/useDoenetRenderer-DUza_Qln.js +114 -0
- package/{useSubmitActionWithDelay-Cmlzsc5g.js → useSubmitActionWithDelay-jNnEbGno.js} +2 -2
- package/{vector-DsCeUBbx.js → vector-Bl4Ja1kq.js} +5 -5
- package/{video-DNy840T2.js → video-CeEyLnj-.js} +4 -4
- package/useDoenetRenderer-C9mMwabe.js +0 -114
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as jsxRuntimeExports, v as Button } from "./doenetml-
|
|
2
|
-
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-
|
|
1
|
+
import { k as jsxRuntimeExports, v as Button } from "./doenetml-CvIfjqad.js";
|
|
2
|
+
import { T as TooltipProvider, a as TooltipAnchor, b as Tooltip } from "./tooltip-provider-BgoPCVud.js";
|
|
3
3
|
function AnswerResponseButton({
|
|
4
4
|
answerId,
|
|
5
5
|
answerComponentIdx,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as memo, J as forwardRef, K as createElement, L as createHook, N as usePopoverContext, O as invariant, P as useStoreState, Q as getBasePlacement, R as useId, S as useMergeRefs, k as jsxRuntimeExports, U as removeUndefinedValues, V as useSafeLayoutEffect, W as getWindow, X as usePopoverStore, l as DocContext, Y as PopoverDisclosure, Z as MdInfoOutline, $ as Popover } from "./doenetml-
|
|
1
|
+
import { I as memo, J as forwardRef, K as createElement, L as createHook, N as usePopoverContext, O as invariant, P as useStoreState, Q as getBasePlacement, R as useId, S as useMergeRefs, k as jsxRuntimeExports, U as removeUndefinedValues, V as useSafeLayoutEffect, W as getWindow, X as usePopoverStore, l as DocContext, Y as PopoverDisclosure, Z as MdInfoOutline, $ as Popover } from "./doenetml-CvIfjqad.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 { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-CvIfjqad.js";
|
|
2
2
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
3
|
-
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-
|
|
3
|
+
import { D as DescriptionPopover, a as DescriptionAsDetails } from "./Description-D50R1epC.js";
|
|
4
4
|
function GraphFrame({
|
|
5
5
|
id,
|
|
6
6
|
SVs,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-CvIfjqad.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DUza_Qln.js";
|
|
4
4
|
const _error = React__default.memo(function Error(props) {
|
|
5
5
|
let { id, SVs, children } = useDoenetRenderer(props);
|
|
6
6
|
let displayedMessage = null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-CvIfjqad.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DUza_Qln.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-Cg13QDT9.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 { l as DocContext, k as jsxRuntimeExports, t as textRendererStyle, n as DynamicMath } from "./doenetml-
|
|
1
|
+
import { l as DocContext, k as jsxRuntimeExports, t as textRendererStyle, n as DynamicMath } from "./doenetml-CvIfjqad.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-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-
|
|
6
|
-
import { ChoiceInputInlineContext } from "./choiceInput-
|
|
7
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
3
|
+
import { j as jxg, s as syncLayer, a as syncWithLabelToggle, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DZmNiC6f.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DUza_Qln.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET } from "./graph-BYRZE2h3.js";
|
|
6
|
+
import { ChoiceInputInlineContext } from "./choiceInput-DV19pyLG.js";
|
|
7
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-C1PsMqdi.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 { l as DocContext, k as jsxRuntimeExports, n as DynamicMath } from "./doenetml-
|
|
1
|
+
import { l as DocContext, k as jsxRuntimeExports, n as DynamicMath } from "./doenetml-CvIfjqad.js";
|
|
2
2
|
import React__default, { useContext } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { A as AnswerResponseButton } from "./AnswerResponseButton-
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
6
|
-
import { D as DescriptionPopover } from "./Description-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DUza_Qln.js";
|
|
4
|
+
import { A as AnswerResponseButton } from "./AnswerResponseButton-B2A6xrvc.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-jNnEbGno.js";
|
|
6
|
+
import { D as DescriptionPopover } from "./Description-D50R1epC.js";
|
|
7
7
|
const answer = React__default.memo(function Answer(props) {
|
|
8
8
|
let {
|
|
9
9
|
componentIdx,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-CvIfjqad.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DUza_Qln.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 { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-CvIfjqad.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { r as renderMarkupBody } from "./markupRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DUza_Qln.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-u3KRv1hh.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 { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-CvIfjqad.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DUza_Qln.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 { o as Context, k as jsxRuntimeExports, M as MathJax, T as ToggleButton } from "./doenetml-
|
|
1
|
+
import { o as Context, k as jsxRuntimeExports, M as MathJax, T as ToggleButton } from "./doenetml-CvIfjqad.js";
|
|
2
2
|
import React__default, { useState, useRef, useContext, useEffect } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext } from "./graph-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-DZmNiC6f.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DUza_Qln.js";
|
|
5
|
+
import { BoardContext } from "./graph-BYRZE2h3.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-
|
|
8
|
-
import { D as DescriptionPopover } from "./Description-
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-jNnEbGno.js";
|
|
8
|
+
import { D as DescriptionPopover } from "./Description-D50R1epC.js";
|
|
9
9
|
const booleanInput = React__default.memo(function BooleanInput(props) {
|
|
10
10
|
let { id, SVs, children, actions, ignoreUpdate, callAction } = useDoenetRenderer(props);
|
|
11
11
|
BooleanInput.baseStateVariable = "value";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-CvIfjqad.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DUza_Qln.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 { o as Context, p as cesc, k as jsxRuntimeExports, B as Button2 } from "./doenetml-
|
|
1
|
+
import { o as Context, p as cesc, k as jsxRuntimeExports, B as Button2 } from "./doenetml-CvIfjqad.js";
|
|
2
2
|
import React__default, { useRef, useContext, useEffect } from "react";
|
|
3
|
-
import { j as jxg } from "./JSXGraphRenderer-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext } from "./graph-
|
|
3
|
+
import { j as jxg } from "./JSXGraphRenderer-DZmNiC6f.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DUza_Qln.js";
|
|
5
|
+
import { BoardContext } from "./graph-BYRZE2h3.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 { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-CvIfjqad.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { r as renderMarkupBody } from "./markupRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DUza_Qln.js";
|
|
4
|
+
import { r as renderMarkupBody } from "./markupRenderer-u3KRv1hh.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 { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-CvIfjqad.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DUza_Qln.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-Cg13QDT9.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 { ao as autoUpdate, l as DocContext, k as jsxRuntimeExports, ap as CANVAS_DARK_MODE_COLOR, M as MathJax } from "./doenetml-
|
|
1
|
+
import { ao as autoUpdate, l as DocContext, k as jsxRuntimeExports, ap as CANVAS_DARK_MODE_COLOR, M as MathJax } from "./doenetml-CvIfjqad.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-
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DUza_Qln.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-
|
|
8
|
-
import { D as DescriptionPopover } from "./Description-
|
|
7
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-jNnEbGno.js";
|
|
8
|
+
import { D as DescriptionPopover } from "./Description-D50R1epC.js";
|
|
9
9
|
import { a as addValidationStateToShortDescription } from "./validationState-CVwSJZpB.js";
|
|
10
10
|
import { a as getBlockMarginWithOptionalTopSuppression } from "./nonInlineMediaLayout-CkXHaqzo.js";
|
|
11
11
|
function _typeof(o) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as DocContext, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { l as DocContext, k as jsxRuntimeExports } from "./doenetml-CvIfjqad.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-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
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-DZmNiC6f.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DUza_Qln.js";
|
|
5
|
+
import { BoardContext, POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BYRZE2h3.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
8
|
import { u as usePointerDragState, a as useBoardPointerTracking } from "./useBoardPointerTracking-DV6a8Wvg.js";
|
|
@@ -11,7 +11,7 @@ import { a as attachLineFamilyDragHandlers } from "./lineFamilyDragHandlers-tcr7
|
|
|
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-C7PtyKL7.js";
|
|
14
|
-
import { g as getPatternFillAttributes } from "./fillPatterns-
|
|
14
|
+
import { g as getPatternFillAttributes } from "./fillPatterns-C1PsMqdi.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 { q as createFunctionFromDefinition, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { q as createFunctionFromDefinition, k as jsxRuntimeExports } from "./doenetml-CvIfjqad.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-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-
|
|
3
|
+
import { j as jxg, b as syncLabelMaskCssStyle, c as computeLabelMaskCssStyle, d as attachLabelHoverHighlight } from "./JSXGraphRenderer-DZmNiC6f.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DUza_Qln.js";
|
|
5
|
+
import { BoardContext, LINE_LAYER_OFFSET, VERTEX_LAYER_OFFSET } from "./graph-BYRZE2h3.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 { k as jsxRuntimeExports, H as EditorViewer } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports, H as EditorViewer } from "./doenetml-CvIfjqad.js";
|
|
2
2
|
import React__default, { useState, useEffect, useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DUza_Qln.js";
|
|
4
4
|
import { s as sizeToCSS } from "./css-BJLDLYRJ.js";
|
|
5
5
|
function resolveElements(elementOrSelector, scope, selectorCache) {
|
|
6
6
|
if (elementOrSelector == null) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { u as useRecordVisibilityChanges, k as jsxRuntimeExports } from "./doenetml-CvIfjqad.js";
|
|
2
2
|
import React__default, { useRef } from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DUza_Qln.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-Cg13QDT9.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-jNnEbGno.js";
|
|
6
6
|
const containerBlock = React__default.memo(function Container(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
const ref = useRef(null);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { k as jsxRuntimeExports } from "./doenetml-CvIfjqad.js";
|
|
2
2
|
import React__default from "react";
|
|
3
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
4
|
-
import { a as addCommasForCompositeRanges } from "./composites-
|
|
5
|
-
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-
|
|
3
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DUza_Qln.js";
|
|
4
|
+
import { a as addCommasForCompositeRanges } from "./composites-Cg13QDT9.js";
|
|
5
|
+
import { c as calculateValidationState, u as useSubmitActionWithDelay, a as createCheckWorkComponent } from "./useSubmitActionWithDelay-jNnEbGno.js";
|
|
6
6
|
const containerInline = React__default.memo(function ContainerInline(props) {
|
|
7
7
|
let { id, SVs, children, actions, callAction } = useDoenetRenderer(props);
|
|
8
8
|
if (SVs.hidden) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { l as DocContext, q as createFunctionFromDefinition, k as jsxRuntimeExports } from "./doenetml-
|
|
1
|
+
import { l as DocContext, q as createFunctionFromDefinition, k as jsxRuntimeExports } from "./doenetml-CvIfjqad.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-
|
|
4
|
-
import { u as useDoenetRenderer } from "./useDoenetRenderer-
|
|
5
|
-
import { BoardContext, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-
|
|
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-DZmNiC6f.js";
|
|
4
|
+
import { u as useDoenetRenderer } from "./useDoenetRenderer-DUza_Qln.js";
|
|
5
|
+
import { BoardContext, VERTEX_LAYER_OFFSET, CONTROL_POINT_LAYER_OFFSET, LINE_LAYER_OFFSET } from "./graph-BYRZE2h3.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";
|
|
@@ -25556,7 +25556,7 @@ function isMathJaxEngine$1(candidate) {
|
|
|
25556
25556
|
return false;
|
|
25557
25557
|
}
|
|
25558
25558
|
const startup = candidate.startup;
|
|
25559
|
-
return !!startup && typeof startup === "object" && typeof startup.promise?.then === "function";
|
|
25559
|
+
return !!startup && (typeof startup === "object" || typeof startup === "function") && typeof startup.promise?.then === "function";
|
|
25560
25560
|
}
|
|
25561
25561
|
function findMathJaxScript$1() {
|
|
25562
25562
|
const scripts = document.querySelectorAll("script[src]");
|
|
@@ -25580,9 +25580,11 @@ function waitForExistingMathJax$1(timeoutMs) {
|
|
|
25580
25580
|
return;
|
|
25581
25581
|
}
|
|
25582
25582
|
if (Date.now() > deadline) {
|
|
25583
|
-
|
|
25584
|
-
|
|
25585
|
-
|
|
25583
|
+
reject2(
|
|
25584
|
+
new Error(
|
|
25585
|
+
"DoenetViewer: timed out waiting for a host-provided MathJax"
|
|
25586
|
+
)
|
|
25587
|
+
);
|
|
25586
25588
|
return;
|
|
25587
25589
|
}
|
|
25588
25590
|
window.setTimeout(poll, 50);
|
|
@@ -25590,9 +25592,9 @@ function waitForExistingMathJax$1(timeoutMs) {
|
|
|
25590
25592
|
poll();
|
|
25591
25593
|
});
|
|
25592
25594
|
}
|
|
25593
|
-
function injectMathJax$1(src, config2) {
|
|
25595
|
+
function injectMathJax$1(src, config2, { force = false } = {}) {
|
|
25594
25596
|
return new Promise((resolve, reject2) => {
|
|
25595
|
-
if (config2 && window.MathJax == null) {
|
|
25597
|
+
if (config2 && (force || window.MathJax == null)) {
|
|
25596
25598
|
window.MathJax = config2;
|
|
25597
25599
|
}
|
|
25598
25600
|
const script = document.createElement("script");
|
|
@@ -25622,7 +25624,13 @@ function createMathJaxPromise$1(options2) {
|
|
|
25622
25624
|
return Promise.resolve(window.MathJax);
|
|
25623
25625
|
}
|
|
25624
25626
|
if (useExistingMathJax || findMathJaxScript$1()) {
|
|
25625
|
-
return waitForExistingMathJax$1(timeoutMs)
|
|
25627
|
+
return waitForExistingMathJax$1(timeoutMs).catch((reason) => {
|
|
25628
|
+
console.warn(
|
|
25629
|
+
"DoenetViewer: a host-provided MathJax did not become usable in time; falling back to loading Doenet's own copy.",
|
|
25630
|
+
reason
|
|
25631
|
+
);
|
|
25632
|
+
return injectMathJax$1(src, config2, { force: true });
|
|
25633
|
+
});
|
|
25626
25634
|
}
|
|
25627
25635
|
return injectMathJax$1(src, config2);
|
|
25628
25636
|
}
|
|
@@ -25638,6 +25646,12 @@ function loadMathJax$1(options2 = {}) {
|
|
|
25638
25646
|
}
|
|
25639
25647
|
const promise = createMathJaxPromise$1(options2);
|
|
25640
25648
|
window[GLOBAL_PROMISE_KEY$1] = promise;
|
|
25649
|
+
promise.catch(() => {
|
|
25650
|
+
const store2 = window;
|
|
25651
|
+
if (store2[GLOBAL_PROMISE_KEY$1] === promise) {
|
|
25652
|
+
delete store2[GLOBAL_PROMISE_KEY$1];
|
|
25653
|
+
}
|
|
25654
|
+
});
|
|
25641
25655
|
return promise;
|
|
25642
25656
|
}
|
|
25643
25657
|
function isErrorRecord(diagnostic2) {
|
|
@@ -26039,7 +26053,7 @@ async function cidFromArrayBuffer(data) {
|
|
|
26039
26053
|
await crypto.subtle.digest("SHA-256", new Uint8Array());
|
|
26040
26054
|
digest = (data2) => crypto.subtle.digest("SHA-256", data2);
|
|
26041
26055
|
} catch (e2) {
|
|
26042
|
-
const sha256 = (await import("./sha256-C0vj3HDn-
|
|
26056
|
+
const sha256 = (await import("./sha256-C0vj3HDn-Dybb9BnV.js").then((n2) => n2.s)).default;
|
|
26043
26057
|
digest = (data2) => sha256(data2, {
|
|
26044
26058
|
asBytes: true
|
|
26045
26059
|
});
|
|
@@ -41973,7 +41987,7 @@ function DocViewer({
|
|
|
41973
41987
|
for (const rendererClassName of coreInfo.current.rendererTypesInDocument) {
|
|
41974
41988
|
rendererClassNames.push(rendererClassName);
|
|
41975
41989
|
rendererLoaders.push(
|
|
41976
|
-
() => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/GraphFrame.tsx": () => import("./GraphFrame-
|
|
41990
|
+
() => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./renderers/GraphFrame.tsx": () => import("./GraphFrame-DMOnIpGH.js"), "./renderers/JSXGraphRenderer.tsx": () => import("./JSXGraphRenderer-DZmNiC6f.js").then((n2) => n2.m), "./renderers/_error.tsx": () => import("./_error-CuXFxtJp.js"), "./renderers/alert.tsx": () => import("./alert--AJjdd4d.js"), "./renderers/angle.tsx": () => import("./angle-BaVRXegG.js"), "./renderers/answer.tsx": () => import("./answer-cMmRirF-.js"), "./renderers/asList.tsx": () => import("./asList-DLzaoy9z.js"), "./renderers/blockQuote.tsx": () => import("./blockQuote-CMQzG1oU.js"), "./renderers/boolean.tsx": () => import("./boolean-EVqjp3Lo.js"), "./renderers/booleanInput.tsx": () => import("./booleanInput-B5dKzhyN.js"), "./renderers/br.tsx": () => import("./br-DiOIZun1.js"), "./renderers/button.tsx": () => import("./button-B2l1BoBZ.js"), "./renderers/c.tsx": () => import("./c-6-CxjrR9.js"), "./renderers/cell.tsx": () => import("./cell-HQFVGR7v.js"), "./renderers/choiceInput.tsx": () => import("./choiceInput-DV19pyLG.js"), "./renderers/circle.tsx": () => import("./circle-COgAmllg.js"), "./renderers/cobwebPolyline.tsx": () => import("./cobwebPolyline-BXvU8kE7.js"), "./renderers/codeEditor.tsx": () => import("./codeEditor-Bk1X2o2j.js"), "./renderers/containerBlock.tsx": () => import("./containerBlock-3e91lkWR.js"), "./renderers/containerInline.tsx": () => import("./containerInline-BFPkugj9.js"), "./renderers/curve.tsx": () => import("./curve-BwTQSrrq.js"), "./renderers/ellipsis.tsx": () => import("./ellipsis-B-SoCCrZ.js"), "./renderers/em.tsx": () => import("./em-DYKNAjOn.js"), "./renderers/embed.tsx": () => import("./embed-B8RYb9l7.js"), "./renderers/feedback.tsx": () => import("./feedback-CQN6Cg_q.js"), "./renderers/figure.tsx": () => import("./figure-DRkqJ-8t.js"), "./renderers/footnote.tsx": () => import("./footnote-Dedfu1xh.js"), "./renderers/fractionInput.tsx": () => import("./fractionInput-XGTSkacb.js"), "./renderers/graph.tsx": () => import("./graph-BYRZE2h3.js"), "./renderers/hint.tsx": () => import("./hint-3mbciCn9.js"), "./renderers/hr.tsx": () => import("./hr-CZxYJrEs.js"), "./renderers/image.tsx": () => import("./image-ujki1Qml.js"), "./renderers/label.tsx": () => import("./label-1ncKpcM-.js"), "./renderers/legend.tsx": () => import("./legend-NAZRCjkL.js"), "./renderers/line.tsx": () => import("./line-CiTLCEOf.js"), "./renderers/lineSegment.tsx": () => import("./lineSegment-BcIEzqSF.js"), "./renderers/list.tsx": () => import("./list-CDvJcpgn.js"), "./renderers/lq.tsx": () => import("./lq-BjukUQ7w.js"), "./renderers/lsq.tsx": () => import("./lsq-hgAM0UYO.js"), "./renderers/math.tsx": () => import("./math-CdscuQGL.js"), "./renderers/mathInput.tsx": () => import("./mathInput-DsZSccpg.js"), "./renderers/matrixInput.tsx": () => import("./matrixInput-CK3grFhb.js"), "./renderers/mdash.tsx": () => import("./mdash-u5XK-OCg.js"), "./renderers/nbsp.tsx": () => import("./nbsp-B8GsCXtR.js"), "./renderers/ndash.tsx": () => import("./ndash-BwRLLJmo.js"), "./renderers/number.tsx": () => import("./number-C9INB8L5.js"), "./renderers/orbitalDiagram.tsx": () => import("./orbitalDiagram-CIMmz7f_.js"), "./renderers/orbitalDiagramInput.tsx": () => import("./orbitalDiagramInput-C9fxyqzV.js"), "./renderers/p.tsx": () => import("./p-dXq71fa7.js"), "./renderers/paginatorControls.tsx": () => import("./paginatorControls-B4Ecc_hW.js"), "./renderers/pegboard.tsx": () => import("./pegboard-B8VQ02Wd.js"), "./renderers/point.tsx": () => import("./point-CyS1V-E2.js"), "./renderers/polygon.tsx": () => import("./polygon-CKM91fWZ.js"), "./renderers/polyline.tsx": () => import("./polyline-D3bozEfi.js"), "./renderers/pre.tsx": () => import("./pre-DIs_iCz2.js"), "./renderers/prefigure.tsx": () => import("./prefigure-BL7rzMjv.js"), "./renderers/pretzel.tsx": () => import("./pretzel-Cy7zr6cT.js"), "./renderers/q.tsx": () => import("./q-B9rXsCVJ.js"), "./renderers/ray.tsx": () => import("./ray-B1BrZeQI.js"), "./renderers/ref.tsx": () => import("./ref-DPddFh9X.js"), "./renderers/regionBetweenCurveXAxis.tsx": () => import("./regionBetweenCurveXAxis-BuFTJ-ef.js"), "./renderers/regionBetweenCurves.tsx": () => import("./regionBetweenCurves-CvwmpDWJ.js"), "./renderers/row.tsx": () => import("./row-CPCPmfTA.js"), "./renderers/rq.tsx": () => import("./rq-CZEJuYLL.js"), "./renderers/rsq.tsx": () => import("./rsq-Dz82ei3b.js"), "./renderers/section.tsx": () => import("./section-tY0jyNuo.js"), "./renderers/sideBySide.tsx": () => import("./sideBySide-DZnHiiGm.js"), "./renderers/slider.tsx": () => import("./slider-BX4S64-N.js"), "./renderers/solution.tsx": () => import("./solution-BDYLvEIV.js"), "./renderers/spreadsheet.tsx": () => import("./spreadsheet-09CagNGt.js"), "./renderers/sq.tsx": () => import("./sq-BIK-xTcK.js"), "./renderers/subsetOfRealsInput.tsx": () => import("./subsetOfRealsInput-YtomSH5P.js"), "./renderers/summaryStatistics.tsx": () => import("./summaryStatistics-DXJbVGdR.js"), "./renderers/table.tsx": () => import("./table-DP91V7DS.js"), "./renderers/tabular.tsx": () => import("./tabular-BFFI--Wq.js"), "./renderers/tag.tsx": () => import("./tag-FYSY1wvZ.js"), "./renderers/text.tsx": () => import("./text-CQlpaA63.js"), "./renderers/textInput.tsx": () => import("./textInput-C3Csxuct.js"), "./renderers/vector.tsx": () => import("./vector-Bl4Ja1kq.js"), "./renderers/video.tsx": () => import("./video-CeEyLnj-.js") }), `./renderers/${rendererClassName}.tsx`, 3)
|
|
41977
41991
|
);
|
|
41978
41992
|
}
|
|
41979
41993
|
const documentComponentInstructions = coreInfo.current.documentToRender;
|
|
@@ -78748,7 +78762,7 @@ function isMathJaxEngine(candidate) {
|
|
|
78748
78762
|
return false;
|
|
78749
78763
|
}
|
|
78750
78764
|
const startup = candidate.startup;
|
|
78751
|
-
return !!startup && typeof startup === "object" && typeof startup.promise?.then === "function";
|
|
78765
|
+
return !!startup && (typeof startup === "object" || typeof startup === "function") && typeof startup.promise?.then === "function";
|
|
78752
78766
|
}
|
|
78753
78767
|
function findMathJaxScript() {
|
|
78754
78768
|
const scripts = document.querySelectorAll("script[src]");
|
|
@@ -78772,9 +78786,11 @@ function waitForExistingMathJax(timeoutMs) {
|
|
|
78772
78786
|
return;
|
|
78773
78787
|
}
|
|
78774
78788
|
if (Date.now() > deadline) {
|
|
78775
|
-
|
|
78776
|
-
|
|
78777
|
-
|
|
78789
|
+
reject2(
|
|
78790
|
+
new Error(
|
|
78791
|
+
"DoenetViewer: timed out waiting for a host-provided MathJax"
|
|
78792
|
+
)
|
|
78793
|
+
);
|
|
78778
78794
|
return;
|
|
78779
78795
|
}
|
|
78780
78796
|
window.setTimeout(poll, 50);
|
|
@@ -78782,9 +78798,9 @@ function waitForExistingMathJax(timeoutMs) {
|
|
|
78782
78798
|
poll();
|
|
78783
78799
|
});
|
|
78784
78800
|
}
|
|
78785
|
-
function injectMathJax(src, config2) {
|
|
78801
|
+
function injectMathJax(src, config2, { force = false } = {}) {
|
|
78786
78802
|
return new Promise((resolve, reject2) => {
|
|
78787
|
-
if (config2 && window.MathJax == null) {
|
|
78803
|
+
if (config2 && (force || window.MathJax == null)) {
|
|
78788
78804
|
window.MathJax = config2;
|
|
78789
78805
|
}
|
|
78790
78806
|
const script = document.createElement("script");
|
|
@@ -78814,7 +78830,13 @@ function createMathJaxPromise(options2) {
|
|
|
78814
78830
|
return Promise.resolve(window.MathJax);
|
|
78815
78831
|
}
|
|
78816
78832
|
if (useExistingMathJax || findMathJaxScript()) {
|
|
78817
|
-
return waitForExistingMathJax(timeoutMs)
|
|
78833
|
+
return waitForExistingMathJax(timeoutMs).catch((reason) => {
|
|
78834
|
+
console.warn(
|
|
78835
|
+
"DoenetViewer: a host-provided MathJax did not become usable in time; falling back to loading Doenet's own copy.",
|
|
78836
|
+
reason
|
|
78837
|
+
);
|
|
78838
|
+
return injectMathJax(src, config2, { force: true });
|
|
78839
|
+
});
|
|
78818
78840
|
}
|
|
78819
78841
|
return injectMathJax(src, config2);
|
|
78820
78842
|
}
|
|
@@ -78830,6 +78852,12 @@ function loadMathJax(options2 = {}) {
|
|
|
78830
78852
|
}
|
|
78831
78853
|
const promise = createMathJaxPromise(options2);
|
|
78832
78854
|
window[GLOBAL_PROMISE_KEY] = promise;
|
|
78855
|
+
promise.catch(() => {
|
|
78856
|
+
const store2 = window;
|
|
78857
|
+
if (store2[GLOBAL_PROMISE_KEY] === promise) {
|
|
78858
|
+
delete store2[GLOBAL_PROMISE_KEY];
|
|
78859
|
+
}
|
|
78860
|
+
});
|
|
78833
78861
|
return promise;
|
|
78834
78862
|
}
|
|
78835
78863
|
function MathJaxContext({
|
|
@@ -203650,10 +203678,10 @@ function EditorFooter({
|
|
|
203650
203678
|
"div",
|
|
203651
203679
|
{
|
|
203652
203680
|
className: "doenetml-version",
|
|
203653
|
-
title: `DoenetML version ${"0.7.20-dev.
|
|
203681
|
+
title: `DoenetML version ${"0.7.20-dev.339"}`,
|
|
203654
203682
|
children: [
|
|
203655
203683
|
"v",
|
|
203656
|
-
"0.7.20-dev.
|
|
203684
|
+
"0.7.20-dev.339"
|
|
203657
203685
|
]
|
|
203658
203686
|
}
|
|
203659
203687
|
),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as doenetGlobalConfig } from "./doenetml-
|
|
2
|
-
import { C, D, a, c, b, d, g, e, m, f, r, s, h } from "./doenetml-
|
|
1
|
+
import { i as doenetGlobalConfig } from "./doenetml-CvIfjqad.js";
|
|
2
|
+
import { C, D, a, c, b, d, g, e, m, f, r, s, h } from "./doenetml-CvIfjqad.js";
|
|
3
3
|
const workerPath = "./doenetml-worker/index.js";
|
|
4
4
|
function resolveWorkerUrl() {
|
|
5
5
|
try {
|