@pretextbook/web-editor 0.5.2 → 0.5.3

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/dist/index.d.ts CHANGED
@@ -12,7 +12,7 @@ DocumentSection,
12
12
  /** @deprecated Chapters are now plain `Division` records with type `"chapter"`. */
13
13
  DocumentChapter, } from "./types/sections";
14
14
  export type { DivisionTreeNode } from "./sectionUtils";
15
- export { assembleProjectSource, parseDivisionRefs, insertDivisionRef, removeDivisionRef, moveDivisionRef, renameDivisionRef, findDivisionParent, reorderDivisionRefs, normalizeSelfClosingRefs, getOrphanedDivisions, getOrphanRoots, buildDivisionTree, wrapDivisionForPreview, updateDivisionTitle, createNewSection, createIntroduction, createConclusion, stripSectionWrapper, rewrapSection, ensureSectionWrapper, mergeTwoSections, getSectionAttributes, updateSectionMetadata, extractDivisionMetadata, stripLatexSectionWrapper, rewrapLatexSection, ensureLatexSectionWrapper, updateLatexSectionTitle, extractLatexDivisionTitle, createNewLatexSection, createLatexIntroduction, createLatexConclusion, } from "./sectionUtils";
15
+ export { assembleProjectSource, assembleFullProjectSource, parseDivisionRefs, insertDivisionRef, removeDivisionRef, moveDivisionRef, renameDivisionRef, findDivisionParent, reorderDivisionRefs, normalizeSelfClosingRefs, getOrphanedDivisions, getOrphanRoots, buildDivisionTree, wrapDivisionForPreview, updateDivisionTitle, createNewSection, createIntroduction, createConclusion, stripSectionWrapper, rewrapSection, ensureSectionWrapper, mergeTwoSections, getSectionAttributes, updateSectionMetadata, extractDivisionMetadata, stripLatexSectionWrapper, rewrapLatexSection, ensureLatexSectionWrapper, updateLatexSectionTitle, extractLatexDivisionTitle, createNewLatexSection, createLatexIntroduction, createLatexConclusion, } from "./sectionUtils";
16
16
  export { default as CodeEditor } from "./components/CodeEditor";
17
17
  export { VisualEditor } from "@pretextbook/visual-editor";
18
18
  export { default as FullPreview } from "./components/FullPreview";
package/dist/index.es.js CHANGED
@@ -93549,7 +93549,7 @@ var U3 = ({ open: r, onClose: i, onLoadAssets: a, onLoadLibraryAssets: o, onInse
93549
93549
  })]
93550
93550
  }),
93551
93551
  /* @__PURE__ */ t("div", {
93552
- className: "pretext-plus-editor__dialog-content pretext-plus-editor__dialog-content--single pretext-plus-editor__am-body",
93552
+ className: "pretext-plus-editor__dialog-content pretext-plus-editor__dialog-content--single",
93553
93553
  children: ee === "in-document" ? (() => {
93554
93554
  if (Oe.length === 0) return /* @__PURE__ */ n("div", {
93555
93555
  className: "pretext-plus-editor__am-placeholder",
@@ -95249,12 +95249,25 @@ var e8 = new Set([
95249
95249
  function t8(e) {
95250
95250
  try {
95251
95251
  let t = t6(e), n = t.children.find((e) => e.type === "element"), r = n?.name === "pretext" ? n.children.find((e) => e.type === "element") : n;
95252
- return r && !r.attributes.label && !r.attributes.xmlId ? (r.attributes.label = "preview", qY(t)) : e;
95252
+ if (!r) return e;
95253
+ if (!r.attributes.label) {
95254
+ let e = r8(t, "pretext-plus-preview");
95255
+ return r.attributes.label = e, console.log(`Added label="${e}" to root element ${r.name} for previewing.`), qY(t);
95256
+ }
95257
+ return e;
95253
95258
  } catch (t) {
95254
95259
  return console.error("Error ensuring label:", t), e;
95255
95260
  }
95256
95261
  }
95257
- function n8(e, t, n) {
95262
+ function n8(e, t) {
95263
+ return e.type === "element" && e.attributes?.label === t ? !0 : "children" in e && e.children ? e.children.some((e) => e.type === "element" ? n8(e, t) : !1) : !1;
95264
+ }
95265
+ function r8(e, t) {
95266
+ let n = t, r = 1;
95267
+ for (; n8(e, n);) n = `${t}-${r}`, r++;
95268
+ return n;
95269
+ }
95270
+ function i8(e, t, n) {
95258
95271
  let r = t.find((t) => t.xmlId === e);
95259
95272
  if (!r) return `<!-- missing division: ${e} -->`;
95260
95273
  if (n.has(e)) return `<!-- circular reference: ${e} -->`;
@@ -95266,19 +95279,24 @@ function n8(e, t, n) {
95266
95279
  }
95267
95280
  if (r.sourceFormat !== "pretext") return i;
95268
95281
  let a = new Set(n).add(e);
95269
- return i.replace(/<plus:[a-z-]+\s[^>]*ref="([^"]+)"[^>]*?(?:\/>|>\s*<\/plus:[a-z-]+>)/g, (e, n) => n8(n, t, a));
95282
+ return i.replace(/<plus:[a-z-]+\s[^>]*ref="([^"]+)"[^>]*?(?:\/>|>\s*<\/plus:[a-z-]+>)/g, (e, n) => i8(n, t, a));
95270
95283
  }
95271
- function r8(e, t) {
95272
- return t8(n8(t, e, /* @__PURE__ */ new Set()));
95284
+ function a8(e, t) {
95285
+ return t8(i8(t, e, /* @__PURE__ */ new Set()));
95286
+ }
95287
+ function o8(e, t) {
95288
+ return t8(`<pretext>\n${t.trim() ? `${t.trim()}\n` : ""}${e}\n</pretext>`);
95273
95289
  }
95274
- var i8 = new Set(["part", "chapter"]);
95275
- function a8(e, t, n, r) {
95276
- let i = e8.has(e) ? t : i8.has(e) ? `<book>\n<title>${r}</title>\n${t}\n</book>` : `<article>\n<title>${r}</title>\n${t}\n</article>`;
95277
- return t8(`<pretext>\n${n.trim() ? `${n.trim()}\n` : ""}${i}\n</pretext>`);
95290
+ function s8(e, t, n) {
95291
+ return o8(i8(t, e, /* @__PURE__ */ new Set()), n);
95292
+ }
95293
+ var c8 = new Set(["part", "chapter"]);
95294
+ function l8(e, t, n, r) {
95295
+ return o8(e8.has(e) ? t : c8.has(e) ? `<book>\n<title>${r}</title>\n${t}\n</book>` : `<article>\n<title>${r}</title>\n${t}\n</article>`, n);
95278
95296
  }
95279
95297
  //#endregion
95280
95298
  //#region src/components/toc/ArticleToc.tsx
95281
- var o8 = ({ onOpenAssetPicker: r }) => {
95299
+ var u8 = ({ onOpenAssetPicker: r }) => {
95282
95300
  let i = b3((e) => e.divisions), o = b3((e) => e.rootDivisionId), s = b3((e) => e.activeDivisionId), c = b3((e) => e.selectSection), l = b3((e) => e.removeSection), u = b3((e) => e.divisionContentChange), d = b3((e) => e.insertAtCursor), f = b3((e) => e.startSectionEdit), p = b3((e) => e.setEditDraft), h = b3((e) => e.commitSectionEdit), g = b3((e) => e.cancelSectionEdit), _ = b3((e) => e.editingId), v = b3((e) => e.editDraft), y = i ? i.find((e) => e.xmlId === o) ?? i.find((e) => e.type === "book" || e.type === "article" || e.type === "slideshow") ?? i[0] ?? null : null, x = y && i ? Q6(i, y.xmlId) : [], S = y && i ? $6(i, y.xmlId) : [], [C, w] = b(/* @__PURE__ */ new Set()), T = (e) => !C.has(e), E = (e) => {
95283
95301
  w((t) => {
95284
95302
  let n = new Set(t);
@@ -95463,7 +95481,7 @@ var o8 = ({ onOpenAssetPicker: r }) => {
95463
95481
  children: "Manage Assets"
95464
95482
  })
95465
95483
  ] });
95466
- }, s8 = ({ isCollapsed: e, onToggleCollapse: r, onOpenAssetPicker: i }) => e ? /* @__PURE__ */ t("div", {
95484
+ }, d8 = ({ isCollapsed: e, onToggleCollapse: r, onOpenAssetPicker: i }) => e ? /* @__PURE__ */ t("div", {
95467
95485
  className: "pretext-plus-editor__toc pretext-plus-editor__toc--collapsed",
95468
95486
  children: /* @__PURE__ */ t("button", {
95469
95487
  type: "button",
@@ -95491,8 +95509,8 @@ var o8 = ({ onOpenAssetPicker: r }) => {
95491
95509
  children: "✕"
95492
95510
  })
95493
95511
  })]
95494
- }), /* @__PURE__ */ t(o8, { onOpenAssetPicker: i })]
95495
- }), c8 = class extends i {
95512
+ }), /* @__PURE__ */ t(u8, { onOpenAssetPicker: i })]
95513
+ }), f8 = class extends i {
95496
95514
  state = { error: null };
95497
95515
  static getDerivedStateFromError(e) {
95498
95516
  return { error: e };
@@ -95531,7 +95549,7 @@ var o8 = ({ onOpenAssetPicker: r }) => {
95531
95549
  };
95532
95550
  //#endregion
95533
95551
  //#region src/store/editorStore.ts
95534
- function l8(e) {
95552
+ function p8(e) {
95535
95553
  let t = () => {}, n = { cbs: {
95536
95554
  selectDivision: t,
95537
95555
  addDivision: t,
@@ -95651,7 +95669,7 @@ function l8(e) {
95651
95669
  }
95652
95670
  //#endregion
95653
95671
  //#region src/store/EditorStoreProvider.tsx
95654
- function u8({ store: e, children: n }) {
95672
+ function m8({ store: e, children: n }) {
95655
95673
  return /* @__PURE__ */ t(y3.Provider, {
95656
95674
  value: e,
95657
95675
  children: n
@@ -95659,10 +95677,10 @@ function u8({ store: e, children: n }) {
95659
95677
  }
95660
95678
  //#endregion
95661
95679
  //#region src/components/Editors.tsx
95662
- var d8 = (e, t) => e.find((e) => t ? e.xmlId === t : e.type === "book" || e.type === "article" || e.type === "slideshow") ?? e[0] ?? null, f8 = (e) => {
95680
+ var h8 = (e, t) => e.find((e) => t ? e.xmlId === t : e.type === "book" || e.type === "article" || e.type === "slideshow") ?? e[0] ?? null, g8 = (e) => {
95663
95681
  let [n] = b(() => {
95664
- let t = d8(e.divisions, e.rootDivisionId), n = e.activeDivisionId ?? t?.xmlId ?? null, r = e.divisions.find((e) => e.xmlId === n) ?? t;
95665
- return l8({
95682
+ let t = h8(e.divisions, e.rootDivisionId), n = e.activeDivisionId ?? t?.xmlId ?? null, r = e.divisions.find((e) => e.xmlId === n) ?? t;
95683
+ return p8({
95666
95684
  source: r?.content ?? "",
95667
95685
  sourceFormat: r?.sourceFormat ?? "pretext",
95668
95686
  title: e.title ?? "Document Title",
@@ -95674,15 +95692,15 @@ var d8 = (e, t) => e.find((e) => t ? e.xmlId === t : e.type === "book" || e.type
95674
95692
  activeDivisionId: n
95675
95693
  });
95676
95694
  });
95677
- return /* @__PURE__ */ t(u8, {
95695
+ return /* @__PURE__ */ t(m8, {
95678
95696
  store: n.store,
95679
- children: /* @__PURE__ */ t(p8, {
95697
+ children: /* @__PURE__ */ t(_8, {
95680
95698
  ...e,
95681
95699
  bindCallbacks: n.bindCallbacks
95682
95700
  })
95683
95701
  });
95684
- }, p8 = (e) => {
95685
- let { bindCallbacks: r } = e, i = b3((e) => e.showFullPreview), a = b3((e) => e.isNarrowScreen), o = b3((e) => e.setIsNarrowScreen), s = b3((e) => e.activeTab), c = b3((e) => e.setActiveTab), l = b3((e) => e.isTocCollapsed), u = b3((e) => e.setIsTocCollapsed), d = b3((e) => e.isLatexDialogOpen), f = b3((e) => e.isConvertDialogOpen), p = b3((e) => e.isDocinfoEditorOpen), h = b3((e) => e.isAssetPickerOpen), g = b3((e) => e.openModal), b = b3((e) => e.closeModal), x = b3((e) => e.syncState), S = b3((e) => e.divisions) ?? [], C = b3((e) => e.activeDivisionId), w = b3((e) => e.title), T = b3((e) => e.docinfo), E = b3((e) => e.commonDocinfo), D = b3((e) => e.useCommonDocinfo), O = b3((e) => e.applyExternalUpdate), k = b3((e) => e.setDivisionContent), A = b3((e) => e.patchDivision), j = b3((e) => e.addDivisionToPool), ee = b3((e) => e.removeDivisionFromPool), te = b3((e) => e.setActiveDivisionId), ne = b3((e) => e.setTitle), M = b3((e) => e.setDocinfo), N = y(null), re = y(null), ie = d8(S, e.rootDivisionId), ae = S.find((e) => e.xmlId === C) ?? S[0] ?? null, P = ae?.sourceFormat ?? "pretext", oe = ae?.content ?? "", F = (t, n, r, i) => {
95702
+ }, _8 = (e) => {
95703
+ let { bindCallbacks: r } = e, i = b3((e) => e.showFullPreview), a = b3((e) => e.isNarrowScreen), o = b3((e) => e.setIsNarrowScreen), s = b3((e) => e.activeTab), c = b3((e) => e.setActiveTab), l = b3((e) => e.isTocCollapsed), u = b3((e) => e.setIsTocCollapsed), d = b3((e) => e.isLatexDialogOpen), f = b3((e) => e.isConvertDialogOpen), p = b3((e) => e.isDocinfoEditorOpen), h = b3((e) => e.isAssetPickerOpen), g = b3((e) => e.openModal), b = b3((e) => e.closeModal), x = b3((e) => e.syncState), S = b3((e) => e.divisions) ?? [], C = b3((e) => e.activeDivisionId), w = b3((e) => e.title), T = b3((e) => e.docinfo), E = b3((e) => e.commonDocinfo), D = b3((e) => e.useCommonDocinfo), O = b3((e) => e.applyExternalUpdate), k = b3((e) => e.setDivisionContent), A = b3((e) => e.patchDivision), j = b3((e) => e.addDivisionToPool), ee = b3((e) => e.removeDivisionFromPool), te = b3((e) => e.setActiveDivisionId), ne = b3((e) => e.setTitle), M = b3((e) => e.setDocinfo), N = y(null), re = y(null), ie = h8(S, e.rootDivisionId), ae = S.find((e) => e.xmlId === C) ?? S[0] ?? null, P = ae?.sourceFormat ?? "pretext", oe = ae?.content ?? "", F = (t, n, r, i) => {
95686
95704
  k(t, n), e.onContentChange({
95687
95705
  xmlId: t,
95688
95706
  sourceContent: n,
@@ -95792,7 +95810,7 @@ var d8 = (e, t) => e.find((e) => t ? e.xmlId === t : e.type === "book" || e.type
95792
95810
  let t = ge.current, n = {}, r = !1;
95793
95811
  if (e.divisions !== t.divisions) {
95794
95812
  n.divisions = e.divisions;
95795
- let t = d8(e.divisions, e.rootDivisionId);
95813
+ let t = h8(e.divisions, e.rootDivisionId);
95796
95814
  (C == null || !e.divisions.some((e) => e.xmlId === C)) && (n.activeDivisionId = t?.xmlId ?? null), r = !0;
95797
95815
  }
95798
95816
  e.title !== void 0 && e.title !== t.title && (n.title = e.title, r = !0), e.docinfo !== void 0 && e.docinfo !== t.docinfo && (n.docinfo = e.docinfo, r = !0), e.commonDocinfo !== void 0 && e.commonDocinfo !== t.commonDocinfo && (n.commonDocinfo = e.commonDocinfo, r = !0), e.useCommonDocinfo !== void 0 && e.useCommonDocinfo !== t.useCommonDocinfo && (n.useCommonDocinfo = e.useCommonDocinfo, r = !0), e.activeDivisionId !== void 0 && e.activeDivisionId !== t.activeDivisionId && (n.activeDivisionId = e.activeDivisionId, r = !0), r && O(n), ge.current = {
@@ -95804,7 +95822,7 @@ var d8 = (e, t) => e.find((e) => t ? e.xmlId === t : e.type === "book" || e.type
95804
95822
  activeDivisionId: e.activeDivisionId
95805
95823
  };
95806
95824
  });
95807
- let _e = D ? E : T, ve = ae ? P === "pretext" ? r8(S, ae.xmlId) : I === void 0 ? void 0 : `<${ae.type} xml:id="${ae.xmlId}">\n<title>${ae.title}</title>\n\n${I}\n</${ae.type}>` : void 0, ye = ae && ve !== void 0 ? a8(ae.type, ve, _e, ae.title) : void 0, be = () => N.current?.rebuild(), xe = () => {
95825
+ let _e = D ? E : T, ve = ae ? P === "pretext" ? a8(S, ae.xmlId) : I === void 0 ? void 0 : `<${ae.type} xml:id="${ae.xmlId}">\n<title>${ae.title}</title>\n\n${I}\n</${ae.type}>` : void 0, ye = ae && ve !== void 0 ? l8(ae.type, ve, _e, ae.title) : void 0, be = () => N.current?.rebuild(), xe = () => {
95808
95826
  e.onSave?.(), N.current?.rebuild();
95809
95827
  }, Se = (t) => {
95810
95828
  let n = t.ctrlKey || t.metaKey;
@@ -95844,27 +95862,16 @@ var d8 = (e, t) => e.find((e) => t ? e.xmlId === t : e.type === "book" || e.type
95844
95862
  editDisabledReason: P === "markdown" ? "Visual editing is not available for Markdown documents." : P === "latex" ? "Visual editing is not available for LaTeX documents." : "",
95845
95863
  onChange: (e) => de(e)
95846
95864
  });
95847
- let Te = /* @__PURE__ */ t(s8, {
95865
+ let Te = /* @__PURE__ */ t(d8, {
95848
95866
  isCollapsed: l,
95849
95867
  onToggleCollapse: () => u((e) => !e),
95850
95868
  onOpenAssetPicker: e.projectAssets === void 0 ? void 0 : () => g("isAssetPickerOpen")
95851
- }), z = "pretext-plus-tab-editor", Ee = "pretext-plus-tab-preview", De = "pretext-plus-tabpanel", Oe = a && Te ? /* @__PURE__ */ t("div", {
95852
- className: "pretext-plus-editor__toc-drawer",
95853
- children: l ? /* @__PURE__ */ t("button", {
95854
- type: "button",
95855
- className: "pretext-plus-editor__toc-drawer-toggle",
95856
- onClick: () => u(!1),
95857
- children: "☰ Contents"
95858
- }) : /* @__PURE__ */ t("div", {
95859
- className: "pretext-plus-editor__toc-drawer-open",
95860
- children: Te
95861
- })
95862
- }) : null, B;
95863
- return B = a ? /* @__PURE__ */ n("div", {
95869
+ }), z = "pretext-plus-tab-editor", Ee = "pretext-plus-tab-preview", De = "pretext-plus-tabpanel", Oe;
95870
+ return Oe = a ? /* @__PURE__ */ n("div", {
95864
95871
  className: "pretext-plus-editor__tabs",
95865
- children: [
95866
- Oe,
95867
- /* @__PURE__ */ n("div", {
95872
+ children: [Te, /* @__PURE__ */ n("div", {
95873
+ className: "pretext-plus-editor__tabs-main",
95874
+ children: [/* @__PURE__ */ n("div", {
95868
95875
  className: "pretext-plus-editor__tab-list",
95869
95876
  role: "tablist",
95870
95877
  children: [/* @__PURE__ */ t("button", {
@@ -95888,8 +95895,7 @@ var d8 = (e, t) => e.find((e) => t ? e.xmlId === t : e.type === "book" || e.type
95888
95895
  onClick: () => c("preview"),
95889
95896
  children: "Preview"
95890
95897
  })]
95891
- }),
95892
- /* @__PURE__ */ t("div", {
95898
+ }), /* @__PURE__ */ t("div", {
95893
95899
  id: De,
95894
95900
  className: "pretext-plus-editor__tab-panel",
95895
95901
  role: "tabpanel",
@@ -95898,8 +95904,8 @@ var d8 = (e, t) => e.find((e) => t ? e.xmlId === t : e.type === "book" || e.type
95898
95904
  style: { height: "100%" },
95899
95905
  children: s === "editor" ? Ce : we
95900
95906
  })
95901
- })
95902
- ]
95907
+ })]
95908
+ })]
95903
95909
  }) : /* @__PURE__ */ n("div", {
95904
95910
  className: "pretext-plus-editor__sectioned-layout",
95905
95911
  children: [Te, /* @__PURE__ */ n(Rt, {
@@ -95932,9 +95938,9 @@ var d8 = (e, t) => e.find((e) => t ? e.xmlId === t : e.type === "book" || e.type
95932
95938
  }), /* @__PURE__ */ n("div", {
95933
95939
  className: "pretext-plus-editor__editor-displays",
95934
95940
  children: [
95935
- /* @__PURE__ */ t(c8, {
95941
+ /* @__PURE__ */ t(f8, {
95936
95942
  resetKeys: [oe, C],
95937
- children: B
95943
+ children: Oe
95938
95944
  }),
95939
95945
  d ? /* @__PURE__ */ t(S3, { onClose: () => b("isLatexDialogOpen") }) : null,
95940
95946
  f && ae && I ? /* @__PURE__ */ t(E3, {
@@ -95982,6 +95988,6 @@ var d8 = (e, t) => e.find((e) => t ? e.xmlId === t : e.type === "book" || e.type
95982
95988
  });
95983
95989
  };
95984
95990
  //#endregion
95985
- export { nc as CodeEditor, R3 as DocinfoEditor, f8 as Editors, m3 as FeedbackLink, xR as FullPreview, vR as VisualEditor, r8 as assembleProjectSource, Q6 as buildDivisionTree, l3 as convertLatexToPretext, S6 as createConclusion, x6 as createIntroduction, N6 as createLatexConclusion, M6 as createLatexIntroduction, j6 as createNewLatexSection, b6 as createNewSection, f3 as derivePretextContent, c3 as detectSourceFormat, O6 as ensureLatexSectionWrapper, T6 as ensureSectionWrapper, I6 as extractDivisionMetadata, A6 as extractLatexDivisionTitle, q6 as findDivisionParent, $6 as getOrphanRoots, Z6 as getOrphanedDivisions, F6 as getSectionAttributes, U6 as insertDivisionRef, P6 as mergeTwoSections, G6 as moveDivisionRef, Y6 as normalizeSelfClosingRefs, B6 as parseDivisionRefs, bR as postToIframe, W6 as removeDivisionRef, K6 as renameDivisionRef, J6 as reorderDivisionRefs, D6 as rewrapLatexSection, w6 as rewrapSection, E6 as stripLatexSectionWrapper, C6 as stripSectionWrapper, y6 as updateDivisionTitle, k6 as updateLatexSectionTitle, L6 as updateSectionMetadata, a8 as wrapDivisionForPreview };
95991
+ export { nc as CodeEditor, R3 as DocinfoEditor, g8 as Editors, m3 as FeedbackLink, xR as FullPreview, vR as VisualEditor, s8 as assembleFullProjectSource, a8 as assembleProjectSource, Q6 as buildDivisionTree, l3 as convertLatexToPretext, S6 as createConclusion, x6 as createIntroduction, N6 as createLatexConclusion, M6 as createLatexIntroduction, j6 as createNewLatexSection, b6 as createNewSection, f3 as derivePretextContent, c3 as detectSourceFormat, O6 as ensureLatexSectionWrapper, T6 as ensureSectionWrapper, I6 as extractDivisionMetadata, A6 as extractLatexDivisionTitle, q6 as findDivisionParent, $6 as getOrphanRoots, Z6 as getOrphanedDivisions, F6 as getSectionAttributes, U6 as insertDivisionRef, P6 as mergeTwoSections, G6 as moveDivisionRef, Y6 as normalizeSelfClosingRefs, B6 as parseDivisionRefs, bR as postToIframe, W6 as removeDivisionRef, K6 as renameDivisionRef, J6 as reorderDivisionRefs, D6 as rewrapLatexSection, w6 as rewrapSection, E6 as stripLatexSectionWrapper, C6 as stripSectionWrapper, y6 as updateDivisionTitle, k6 as updateLatexSectionTitle, L6 as updateSectionMetadata, l8 as wrapDivisionForPreview };
95986
95992
 
95987
95993
  //# sourceMappingURL=index.es.js.map