@diagrammo/dgmo 0.60.0 → 0.62.0

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 (213) hide show
  1. package/README.md +1 -1
  2. package/dist/advanced.d.ts +382 -396
  3. package/dist/advanced.js +217 -105
  4. package/dist/auto.js +142 -141
  5. package/dist/block.js +51 -106
  6. package/dist/{calculator-ORAKSL5D.js → calculator-M326KQFW.js} +3 -3
  7. package/dist/{chart-meta-C6UaqhTP.d.ts → chart-meta-D98NbYDp.d.ts} +9 -3
  8. package/dist/chart-meta.d.ts +2 -2
  9. package/dist/chart-meta.js +44 -46
  10. package/dist/{charts-d3-FSNSASP7.js → charts-d3-3WMDA5Z5.js} +6 -6
  11. package/dist/{chunk-ON4MEUC4.js → chunk-23RWHHI5.js} +11 -2
  12. package/dist/{chunk-SLGHGT76.js → chunk-2CMM36O7.js} +2 -2
  13. package/dist/{chunk-XVOGT46C.js → chunk-2PTK46E2.js} +2 -2
  14. package/dist/{chunk-DXSRQLD4.js → chunk-37EHGTQ2.js} +2205 -2019
  15. package/dist/{chunk-4IFPX4J6.js → chunk-3A2HZBFD.js} +2 -2
  16. package/dist/{chunk-OJD4FU6H.js → chunk-3A7KMF33.js} +2 -2
  17. package/dist/{chunk-DKCEG3N6.js → chunk-3HYRJAXO.js} +4 -4
  18. package/dist/{chunk-V5OBLPLA.js → chunk-3OLO2MZ6.js} +4 -4
  19. package/dist/{chunk-P3343TTF.js → chunk-3PVUGECM.js} +95 -117
  20. package/dist/{chunk-Y5KXCKI5.js → chunk-4BEAHH6G.js} +5 -5
  21. package/dist/{chunk-ZPUVAJTW.js → chunk-4C3BTTOL.js} +4 -4
  22. package/dist/{chunk-EKKS325Q.js → chunk-4GQ6I46C.js} +2 -2
  23. package/dist/{chunk-4B5YISOR.js → chunk-536EBUPG.js} +16 -1
  24. package/dist/{chunk-DKG2ADEN.js → chunk-63WPPHOM.js} +2 -2
  25. package/dist/{chunk-I53E3L5M.js → chunk-65QX6LYT.js} +3 -3
  26. package/dist/{chunk-243KZTTS.js → chunk-6BVIZW5N.js} +7 -7
  27. package/dist/{chunk-6RR4XUOB.js → chunk-7BJQUII6.js} +6 -6
  28. package/dist/{chunk-X5CJAFZF.js → chunk-7FTGNJQ2.js} +3 -3
  29. package/dist/{chunk-PTYUSRGT.js → chunk-7QCYHZVO.js} +5 -5
  30. package/dist/{chunk-ZU2EXJEL.js → chunk-A34FVVVI.js} +2 -2
  31. package/dist/{chunk-BGBGWFUI.js → chunk-A5FNLWKP.js} +3 -3
  32. package/dist/{chunk-BG23Y7JD.js → chunk-AFCVHK3G.js} +3 -3
  33. package/dist/{chunk-QMKFLQL4.js → chunk-AKD3YZ54.js} +3 -3
  34. package/dist/{chunk-BVPRRSMX.js → chunk-B25BEH3F.js} +3 -3
  35. package/dist/{chunk-GCZQAT4Z.js → chunk-CHOKOYSC.js} +3 -3
  36. package/dist/{chunk-2NSR6INI.js → chunk-CSUF6PNF.js} +3 -3
  37. package/dist/{chunk-ZTSBP3AH.js → chunk-CUYDE77F.js} +3 -3
  38. package/dist/{chunk-VHO3YBTB.js → chunk-CVVICCSB.js} +24 -2
  39. package/dist/{chunk-K5L3LXT3.js → chunk-DHIBVN2D.js} +104 -93
  40. package/dist/{chunk-ZBOSGLES.js → chunk-DJC5M7VC.js} +3 -3
  41. package/dist/{chunk-6XWZKCVS.js → chunk-DPFCFU2K.js} +3 -3
  42. package/dist/{chunk-CDIBHGPW.js → chunk-DY4VJYG7.js} +3 -3
  43. package/dist/{chunk-32G7X6BX.js → chunk-DZZWR6GT.js} +6 -6
  44. package/dist/{chunk-6YY56KU2.js → chunk-E2GEV3BI.js} +3 -3
  45. package/dist/{chunk-PSWWCLLI.js → chunk-EK4QX7NQ.js} +3 -3
  46. package/dist/{chunk-N4NFZIXE.js → chunk-FVYHDZ6Q.js} +2 -2
  47. package/dist/{chunk-DC3EBYIG.js → chunk-FXLGBUIQ.js} +5 -5
  48. package/dist/{chunk-VVCYOF3P.js → chunk-HBSKE3ML.js} +3 -3
  49. package/dist/{chunk-IO436ODZ.js → chunk-HJ6TMHQG.js} +4 -4
  50. package/dist/{chunk-6F74K4JL.js → chunk-I7IQ2NEJ.js} +3 -3
  51. package/dist/{chunk-VGFUVFJA.js → chunk-IL5UVUMK.js} +3 -3
  52. package/dist/{chunk-S5OQWV54.js → chunk-INLEOJIX.js} +2 -2
  53. package/dist/{chunk-35SOKGIP.js → chunk-JU2VMFYC.js} +2 -2
  54. package/dist/{chunk-DDQ47BMP.js → chunk-JWJBWNQL.js} +3 -3
  55. package/dist/{chunk-ZJR2YBVN.js → chunk-KOHIF4LD.js} +2 -2
  56. package/dist/{chunk-CWOKQSBQ.js → chunk-KRTO7NRK.js} +2 -2
  57. package/dist/{chunk-TL6WZWSZ.js → chunk-LALFMQ7Q.js} +2 -2
  58. package/dist/{chunk-MROSEZHE.js → chunk-LFAQ4BLZ.js} +3 -3
  59. package/dist/{chunk-EYP34TFP.js → chunk-LQR46XGR.js} +2 -2
  60. package/dist/{chunk-QABZKAKF.js → chunk-LRKGF7RN.js} +6 -6
  61. package/dist/{chunk-LLA5C2TM.js → chunk-MDI5FMWO.js} +2 -2
  62. package/dist/{chunk-GZAKQDX7.js → chunk-MRD4QWFK.js} +3 -3
  63. package/dist/{chunk-EZGWUS5G.js → chunk-NEV5IW33.js} +5 -5
  64. package/dist/{chunk-HQI7S72D.js → chunk-NKRVFQGO.js} +4 -4
  65. package/dist/{chunk-V5PHEH2M.js → chunk-NMIWEUIG.js} +2 -2
  66. package/dist/{chunk-OSXJY6SY.js → chunk-NSJK7F2V.js} +3 -3
  67. package/dist/{chunk-6KWE5553.js → chunk-O42EAZUV.js} +3 -3
  68. package/dist/{chunk-LXUBC5H4.js → chunk-OIK6Y2EJ.js} +5 -5
  69. package/dist/{chunk-EQGLGTU2.js → chunk-OLPWKS5L.js} +3 -3
  70. package/dist/{chunk-IXY2IPOW.js → chunk-P2PUWV3Y.js} +233 -58
  71. package/dist/{chunk-4VFQPEC6.js → chunk-PFGJ7SCM.js} +6 -6
  72. package/dist/{chunk-DNSEG6P2.js → chunk-PJDX4IKR.js} +2 -2
  73. package/dist/{chunk-JAHV7RFV.js → chunk-PTKCX5ZE.js} +4 -4
  74. package/dist/{chunk-U5UKFXHB.js → chunk-Q3XVMFVF.js} +2 -2
  75. package/dist/{chunk-SJT4W23S.js → chunk-QE4GTFZS.js} +2 -2
  76. package/dist/{chunk-TR7WNZFJ.js → chunk-QFNRHY62.js} +3 -3
  77. package/dist/{chunk-R53THUTP.js → chunk-QMYJO4EL.js} +4 -4
  78. package/dist/{chunk-IH3GHOHU.js → chunk-QQADQBKG.js} +4 -4
  79. package/dist/{chunk-TDZRLG7I.js → chunk-RF5YDIYT.js} +2 -2
  80. package/dist/{chunk-HFOSP6E2.js → chunk-RKTIIU7Z.js} +3 -3
  81. package/dist/{chunk-SEDLXFTX.js → chunk-SBOG6R6A.js} +4 -4
  82. package/dist/{chunk-T7FMXKIG.js → chunk-SF3JAWMY.js} +3 -3
  83. package/dist/{chunk-GSSCUREO.js → chunk-SMHTYVMK.js} +6 -6
  84. package/dist/{chunk-SQLVM3G7.js → chunk-SR7NGZNM.js} +4 -4
  85. package/dist/{chunk-VGCL263O.js → chunk-SSR6JAR3.js} +2 -2
  86. package/dist/{chunk-HPNOT5GQ.js → chunk-TJCHULP5.js} +2 -2
  87. package/dist/{chunk-PLDCXGLQ.js → chunk-TRP7PC5Z.js} +5 -5
  88. package/dist/{chunk-3O3W2JS2.js → chunk-U42ZEK7L.js} +2 -2
  89. package/dist/{chunk-UYY7MVJK.js → chunk-U7CXUGQS.js} +3 -3
  90. package/dist/{chunk-IOUUQLDE.js → chunk-UKZ7K5GS.js} +2 -2
  91. package/dist/{chunk-X5AIFXB7.js → chunk-USHDV2AF.js} +4 -4
  92. package/dist/{chunk-TJV3J74Y.js → chunk-UTOELEK2.js} +3 -3
  93. package/dist/{chunk-E5G55SYS.js → chunk-UZ3JPYD3.js} +3 -3
  94. package/dist/{chunk-ZP2FV4WO.js → chunk-VWCGN2ST.js} +3 -3
  95. package/dist/{chunk-W2Z4KS72.js → chunk-VXBEG3IB.js} +3 -3
  96. package/dist/{chunk-Z4RFILRE.js → chunk-W32HMBPW.js} +3 -3
  97. package/dist/{chunk-KZFAEMQQ.js → chunk-X2X7MTKH.js} +3 -3
  98. package/dist/{chunk-5USRKIR3.js → chunk-X4FCKGK2.js} +4 -4
  99. package/dist/{chunk-MM4Z32EH.js → chunk-XC7BUB3P.js} +2 -2
  100. package/dist/{chunk-XS7CL7NX.js → chunk-XHFXA6RP.js} +2 -2
  101. package/dist/{chunk-JQDZHYGU.js → chunk-XJZCXNWR.js} +3 -3
  102. package/dist/{chunk-XZXXSZ7E.js → chunk-YJCILMEA.js} +4 -4
  103. package/dist/{chunk-GSVHOF3J.js → chunk-YXI6Y7YY.js} +2 -2
  104. package/dist/cloud-reference.d.ts +24 -4
  105. package/dist/cloud-reference.js +5 -1
  106. package/dist/completion-registry.js +5 -7
  107. package/dist/{registry-C0HvobTb.d.ts → dgmo-router-Dd5PTjxl.d.ts} +271 -98
  108. package/dist/dgmo-router-Z5N6QLIC.js +89 -0
  109. package/dist/{dimensions-PC6WLKCC.js → dimensions-ES6O2T4H.js} +6 -6
  110. package/dist/editor.d.ts +9 -2
  111. package/dist/editor.js +229 -57
  112. package/dist/element.js +143 -142
  113. package/dist/{flowchart-parser-PZQY2UC4.js → flowchart-parser-T4XZRSA7.js} +4 -4
  114. package/dist/{flowchart-renderer-RS6IRRE7.js → flowchart-renderer-XFDCX7MZ.js} +5 -5
  115. package/dist/highlight.js +229 -57
  116. package/dist/index.d.ts +21 -10
  117. package/dist/index.js +55 -66
  118. package/dist/{layout-GKWT37FH.js → layout-H4H4OFE4.js} +3 -3
  119. package/dist/{layout-W423CCED.js → layout-OH4VQ3OI.js} +4 -4
  120. package/dist/{layout-LH6LNIUV.js → layout-QTZO6CW5.js} +3 -3
  121. package/dist/{layout-AUAW5U74.js → layout-SKQMIXTG.js} +4 -4
  122. package/dist/{layout-GU6POUGD.js → layout-UU4VJTOP.js} +4 -4
  123. package/dist/{layout-MNQZ3Q45.js → layout-WCOEZPOI.js} +4 -4
  124. package/dist/live-link-resolve.js +1 -1
  125. package/dist/{parser-NJGZF5MK.js → parser-2BGDJJ2L.js} +5 -5
  126. package/dist/{parser-3QHLZK6F.js → parser-2K4Z7RNT.js} +3 -3
  127. package/dist/{parser-6HT34DZ3.js → parser-3KFNCRLD.js} +4 -4
  128. package/dist/{parser-WXZU47Z4.js → parser-4CMMKTRS.js} +3 -3
  129. package/dist/{parser-BNGLB2VS.js → parser-56746U6W.js} +4 -4
  130. package/dist/{parser-56HMQG5C.js → parser-5JS6VM6L.js} +5 -5
  131. package/dist/{parser-2OJSWKXO.js → parser-5ZUEF4WE.js} +4 -4
  132. package/dist/{parser-7C5GZCAU.js → parser-63BQDUWB.js} +4 -4
  133. package/dist/{parser-TPCKCQ4Z.js → parser-6VNVZO5F.js} +4 -4
  134. package/dist/{parser-6S65S3DX.js → parser-AZZHRVJF.js} +4 -4
  135. package/dist/{parser-WI2B7IL3.js → parser-BGX5ODHF.js} +3 -3
  136. package/dist/{parser-TABGTEHH.js → parser-DLUOCPMD.js} +3 -3
  137. package/dist/{parser-CXLR6MAY.js → parser-DSNINT2K.js} +3 -3
  138. package/dist/{parser-RMUGOZO3.js → parser-FTC7FZ6Z.js} +4 -4
  139. package/dist/{parser-5I7W54EA.js → parser-GHLWPCIX.js} +4 -4
  140. package/dist/{parser-BVC642CN.js → parser-J75RSQFI.js} +4 -4
  141. package/dist/{parser-IWQQY5VU.js → parser-JZPSIWRC.js} +4 -4
  142. package/dist/{parser-QCSDU4FU.js → parser-KN7H2RQC.js} +3 -3
  143. package/dist/{parser-4QYDFXV2.js → parser-KRF4S5RW.js} +4 -4
  144. package/dist/{parser-4OU5P3BM.js → parser-KSIYWKYF.js} +4 -4
  145. package/dist/{parser-UB6XGLTC.js → parser-MCUKPCYE.js} +4 -4
  146. package/dist/{parser-G7KP6LZH.js → parser-MUYBWGUB.js} +3 -3
  147. package/dist/{parser-QCYEJOLZ.js → parser-NWERESX3.js} +4 -4
  148. package/dist/{parser-63LK7YBR.js → parser-OEBFJHT4.js} +5 -5
  149. package/dist/{parser-DROHJTBZ.js → parser-P7T2BGAI.js} +4 -4
  150. package/dist/{parser-7W7DPIGR.js → parser-RAKD267X.js} +4 -4
  151. package/dist/{parser-AD5OAVX6.js → parser-RBY2UFTE.js} +3 -3
  152. package/dist/{parser-5BHZMV3O.js → parser-SRUPRH77.js} +4 -4
  153. package/dist/{parser-QJ7XK7AB.js → parser-SSUMVOJA.js} +4 -4
  154. package/dist/{parser-BLCDJB7N.js → parser-UKQC7N6K.js} +4 -4
  155. package/dist/{parser-AWO3N6YH.js → parser-VMGTNHP2.js} +3 -3
  156. package/dist/{parser-55CSWK3N.js → parser-WHDC7OV2.js} +4 -4
  157. package/dist/{parser-453DEZ4P.js → parser-YO2JBE52.js} +4 -4
  158. package/dist/{renderer-G24W6J6H.js → renderer-2DKA5QXA.js} +4 -4
  159. package/dist/{renderer-66YB63F4.js → renderer-2PGIIOFN.js} +7 -7
  160. package/dist/{renderer-RH5OJ6Q6.js → renderer-35F3XMZH.js} +5 -5
  161. package/dist/{renderer-3Z5MSBWR.js → renderer-4RQ5PGHY.js} +6 -6
  162. package/dist/{renderer-LGSSP3JI.js → renderer-62FFDWMY.js} +6 -6
  163. package/dist/{renderer-SHMFNFE4.js → renderer-63MLWS6L.js} +7 -7
  164. package/dist/{renderer-GFZT6Q5F.js → renderer-6QW5OAJG.js} +5 -5
  165. package/dist/renderer-A5GFW2XH.js +76 -0
  166. package/dist/{renderer-H5C2JN62.js → renderer-AMCTCBV3.js} +5 -5
  167. package/dist/{renderer-PGMTAQIE.js → renderer-AS6LLDZM.js} +5 -5
  168. package/dist/{renderer-YYG4LYKS.js → renderer-AVR3LBTS.js} +6 -6
  169. package/dist/{renderer-LPQUBMXZ.js → renderer-BBBN7QNX.js} +4 -4
  170. package/dist/{renderer-DQLSUTSU.js → renderer-CHHYNEK7.js} +5 -5
  171. package/dist/{renderer-J76L474X.js → renderer-CU6BEHHV.js} +3 -3
  172. package/dist/{renderer-NE2GQBAU.js → renderer-CXRSD26Q.js} +7 -7
  173. package/dist/{renderer-JO27QMZB.js → renderer-DJ5DP3RH.js} +5 -5
  174. package/dist/{renderer-ZMAPGMF2.js → renderer-DRLZELXM.js} +5 -5
  175. package/dist/{renderer-BTFZWWIG.js → renderer-GESKWINV.js} +7 -7
  176. package/dist/{renderer-RB4FJJYN.js → renderer-IG5PQXEM.js} +7 -7
  177. package/dist/{renderer-PTLCAUC6.js → renderer-JBF2PAVP.js} +5 -5
  178. package/dist/{renderer-RRIXAQSF.js → renderer-JL7L5Y5M.js} +5 -5
  179. package/dist/{renderer-A3QD5R2C.js → renderer-JSFWNV37.js} +6 -6
  180. package/dist/{renderer-U55GLRDJ.js → renderer-M7YOXAGC.js} +3 -3
  181. package/dist/{renderer-5INUWSXC.js → renderer-Q2YHQQSN.js} +8 -8
  182. package/dist/{renderer-2HFRMVHO.js → renderer-RN5ZFIEK.js} +6 -6
  183. package/dist/{renderer-CQWF3JE3.js → renderer-TDFRMG3O.js} +3 -3
  184. package/dist/{renderer-MFD57VGM.js → renderer-UTXVIAS7.js} +5 -5
  185. package/dist/{renderer-S7ZTD4XM.js → renderer-VYMTBSF4.js} +7 -7
  186. package/dist/{renderer-NVT3RP5Q.js → renderer-XSHOMUJQ.js} +7 -7
  187. package/dist/{renderer-T4DY572A.js → renderer-ZHBFOSK5.js} +5 -5
  188. package/dist/{renderer-radial-2DDUIUWA.js → renderer-radial-4J2KO4GZ.js} +6 -6
  189. package/dist/{resolver-W3WKLWDP.js → resolver-ZLYSMILY.js} +3 -3
  190. package/dist/{state-parser-PNC2IHIA.js → state-parser-3U4232LJ.js} +5 -5
  191. package/dist/{state-renderer-QGPK55TI.js → state-renderer-GBHDOEXR.js} +7 -7
  192. package/dist/{themes-l406Vj2z.d.ts → themes-DiUAG4Bf.d.ts} +37 -2
  193. package/docs/ai-integration.md +5 -5
  194. package/docs/language-reference.md +1 -1
  195. package/package.json +2 -21
  196. package/.claude/commands/dgmo-codebase-report.md +0 -172
  197. package/.claude/commands/dgmo-diagram-this.md +0 -60
  198. package/.claude/commands/dgmo-document-project.md +0 -128
  199. package/.claude/commands/dgmo.md +0 -313
  200. package/.cursorrules +0 -587
  201. package/.github/copilot-instructions.md +0 -597
  202. package/.windsurfrules +0 -587
  203. package/SKILL.md +0 -573
  204. package/dist/auto.d.ts +0 -60
  205. package/dist/auto.mjs +0 -88591
  206. package/dist/chunk-6MTWIQVO.js +0 -121
  207. package/dist/chunk-ZEIYC7XO.js +0 -229
  208. package/dist/cli.cjs +0 -489
  209. package/dist/dgmo-router-JD7THHB7.js +0 -90
  210. package/dist/element.d.ts +0 -68
  211. package/dist/element.mjs +0 -88457
  212. package/dist/load-data-EHDDZ5ZS.js +0 -8
  213. package/dist/renderer-MDCH52MC.js +0 -77
package/dist/advanced.js CHANGED
@@ -1,16 +1,12 @@
1
- import {
2
- renderClock,
3
- renderClockForExport
4
- } from "./chunk-MD2KWAXJ.js";
5
1
  import {
6
2
  layoutBracket,
7
3
  renderBracket,
8
4
  renderBracketForExport
9
- } from "./chunk-Z4RFILRE.js";
5
+ } from "./chunk-W32HMBPW.js";
10
6
  import {
11
7
  renderRaci,
12
8
  renderRaciForExport
13
- } from "./chunk-GZAKQDX7.js";
9
+ } from "./chunk-MRD4QWFK.js";
14
10
  import {
15
11
  applyCollapseProjection,
16
12
  applyGroupOrdering,
@@ -20,43 +16,43 @@ import {
20
16
  computeActivations,
21
17
  groupMessagesBySection,
22
18
  renderSequenceDiagram
23
- } from "./chunk-LXUBC5H4.js";
24
- import {
25
- renderPyramid,
26
- renderPyramidForExport
27
- } from "./chunk-HPNOT5GQ.js";
19
+ } from "./chunk-OIK6Y2EJ.js";
28
20
  import {
29
21
  renderRing,
30
22
  renderRingForExport
31
- } from "./chunk-ZU2EXJEL.js";
23
+ } from "./chunk-A34FVVVI.js";
32
24
  import {
33
25
  layoutTreemapRadial,
34
26
  renderTreemapRadial,
35
27
  renderTreemapRadialForExport
36
- } from "./chunk-JAHV7RFV.js";
28
+ } from "./chunk-PTKCX5ZE.js";
37
29
  import {
38
30
  layoutTreemap,
39
31
  renderTreemap,
40
32
  renderTreemapForExport
41
- } from "./chunk-DKCEG3N6.js";
33
+ } from "./chunk-3HYRJAXO.js";
42
34
  import {
43
35
  renderLiveLinkCard
44
- } from "./chunk-N4NFZIXE.js";
36
+ } from "./chunk-FVYHDZ6Q.js";
45
37
  import {
46
38
  authoredCollapsedIds,
47
39
  layoutBlock,
48
40
  renderBlock,
49
41
  renderBlockForExport
50
- } from "./chunk-VVCYOF3P.js";
42
+ } from "./chunk-HBSKE3ML.js";
51
43
  import {
52
44
  renderGoal,
53
45
  renderGoalForExport
54
- } from "./chunk-XVOGT46C.js";
55
- import "./chunk-OJD4FU6H.js";
46
+ } from "./chunk-2PTK46E2.js";
47
+ import "./chunk-3A7KMF33.js";
56
48
  import {
57
49
  renderCountdown,
58
50
  renderCountdownForExport
59
51
  } from "./chunk-BIWMOFSE.js";
52
+ import {
53
+ renderClock,
54
+ renderClockForExport
55
+ } from "./chunk-MD2KWAXJ.js";
60
56
  import {
61
57
  computeRadarLayout,
62
58
  getRadarGeometry,
@@ -64,57 +60,58 @@ import {
64
60
  renderQuadrantFocusForExport,
65
61
  renderTechRadar,
66
62
  renderTechRadarForExport
67
- } from "./chunk-E5G55SYS.js";
63
+ } from "./chunk-UZ3JPYD3.js";
68
64
  import {
69
65
  renderJourneyMap,
70
66
  renderJourneyMapForExport
71
- } from "./chunk-4VFQPEC6.js";
67
+ } from "./chunk-PFGJ7SCM.js";
72
68
  import {
73
69
  layoutJourneyMap
74
- } from "./chunk-CWOKQSBQ.js";
70
+ } from "./chunk-KRTO7NRK.js";
75
71
  import {
76
72
  computeCycleLayout,
77
73
  renderCycle,
78
74
  renderCycleForExport
79
- } from "./chunk-CDIBHGPW.js";
75
+ } from "./chunk-DY4VJYG7.js";
80
76
  import {
81
77
  resolveMap
82
- } from "./chunk-DNSEG6P2.js";
78
+ } from "./chunk-PJDX4IKR.js";
83
79
  import {
84
80
  renderMap,
85
81
  renderMapForExport
86
- } from "./chunk-X5AIFXB7.js";
82
+ } from "./chunk-USHDV2AF.js";
87
83
  import "./chunk-FWVKPEG3.js";
88
84
  import {
89
85
  mapContentAspect,
90
86
  mapExportDimensions
91
- } from "./chunk-35SOKGIP.js";
87
+ } from "./chunk-JU2VMFYC.js";
92
88
  import {
93
89
  albersSkewFallback,
94
90
  layoutMap,
95
91
  mapBackgroundColor,
96
92
  mapNeutralLandColor
97
- } from "./chunk-DXSRQLD4.js";
93
+ } from "./chunk-37EHGTQ2.js";
98
94
  import {
99
95
  decodeFeatures,
100
96
  regionAt
101
97
  } from "./chunk-4QV26TEG.js";
102
98
  import {
103
- loadMapData
104
- } from "./chunk-6MTWIQVO.js";
99
+ renderPyramid,
100
+ renderPyramidForExport
101
+ } from "./chunk-TJCHULP5.js";
105
102
  import {
106
103
  collectDiagramRoles,
107
104
  computeInfraLegendGroups,
108
105
  inferRoles,
109
106
  parseAndLayoutInfra,
110
107
  renderInfra
111
- } from "./chunk-PLDCXGLQ.js";
108
+ } from "./chunk-TRP7PC5Z.js";
112
109
  import {
113
110
  measurePertAnalysisBlock,
114
111
  renderPert,
115
112
  renderPertAnalysisBlock,
116
113
  renderPertForExport
117
- } from "./chunk-IO436ODZ.js";
114
+ } from "./chunk-HJ6TMHQG.js";
118
115
  import {
119
116
  analyzePert,
120
117
  buildSimulationContext,
@@ -131,15 +128,15 @@ import {
131
128
  calculateSchedule,
132
129
  collectTasks,
133
130
  resolveTaskName
134
- } from "./chunk-DKG2ADEN.js";
131
+ } from "./chunk-63WPPHOM.js";
135
132
  import {
136
133
  buildTagLaneRowList,
137
134
  renderGantt
138
- } from "./chunk-ZP2FV4WO.js";
135
+ } from "./chunk-VWCGN2ST.js";
139
136
  import {
140
137
  renderState,
141
138
  renderStateForExport
142
- } from "./chunk-PTYUSRGT.js";
139
+ } from "./chunk-7QCYHZVO.js";
143
140
  import {
144
141
  collapseStateGroups
145
142
  } from "./chunk-SQ7IY53Q.js";
@@ -148,7 +145,7 @@ import {
148
145
  } from "./chunk-ODUT5WMC.js";
149
146
  import {
150
147
  renderWireframe
151
- } from "./chunk-VGCL263O.js";
148
+ } from "./chunk-SSR6JAR3.js";
152
149
  import {
153
150
  renderC4ComponentsForExport,
154
151
  renderC4Containers,
@@ -157,18 +154,18 @@ import {
157
154
  renderC4ContextForExport,
158
155
  renderC4Deployment,
159
156
  renderC4DeploymentForExport
160
- } from "./chunk-GSSCUREO.js";
157
+ } from "./chunk-SMHTYVMK.js";
161
158
  import {
162
159
  layoutC4Components,
163
160
  layoutC4Containers,
164
161
  layoutC4Context,
165
162
  layoutC4Deployment,
166
163
  rollUpContextRelationships
167
- } from "./chunk-T7FMXKIG.js";
164
+ } from "./chunk-SF3JAWMY.js";
168
165
  import {
169
166
  renderFlowchart,
170
167
  renderFlowchartForExport
171
- } from "./chunk-JQDZHYGU.js";
168
+ } from "./chunk-XJZCXNWR.js";
172
169
  import "./chunk-PDKUANDZ.js";
173
170
  import {
174
171
  layoutGraph
@@ -184,7 +181,7 @@ import {
184
181
  } from "./chunk-S6QDCFEU.js";
185
182
  import {
186
183
  renderSwimlaneForExport
187
- } from "./chunk-TR7WNZFJ.js";
184
+ } from "./chunk-QFNRHY62.js";
188
185
  import "./chunk-LP7EC4MI.js";
189
186
  import {
190
187
  layoutFamily
@@ -192,7 +189,7 @@ import {
192
189
  import {
193
190
  renderFamily,
194
191
  renderFamilyForExport
195
- } from "./chunk-SEDLXFTX.js";
192
+ } from "./chunk-SBOG6R6A.js";
196
193
  import "./chunk-IVKC4GID.js";
197
194
  import {
198
195
  collapseMindmapTree
@@ -200,21 +197,21 @@ import {
200
197
  import {
201
198
  renderMindmap,
202
199
  renderMindmapForExport
203
- } from "./chunk-32G7X6BX.js";
200
+ } from "./chunk-DZZWR6GT.js";
204
201
  import {
205
202
  layoutMindmap
206
- } from "./chunk-3O3W2JS2.js";
203
+ } from "./chunk-U42ZEK7L.js";
207
204
  import {
208
205
  renderClassDiagram,
209
206
  renderClassDiagramForExport
210
- } from "./chunk-XZXXSZ7E.js";
207
+ } from "./chunk-YJCILMEA.js";
211
208
  import {
212
209
  layoutClassDiagram
213
210
  } from "./chunk-PCWPYOT4.js";
214
211
  import {
215
212
  renderERDiagram,
216
213
  renderERDiagramForExport
217
- } from "./chunk-Y5KXCKI5.js";
214
+ } from "./chunk-4BEAHH6G.js";
218
215
  import {
219
216
  layoutERDiagram
220
217
  } from "./chunk-5H2LIQIH.js";
@@ -235,11 +232,11 @@ import {
235
232
  renderSketch,
236
233
  renderSketchForExport,
237
234
  sketchEdgeGeometry
238
- } from "./chunk-QMKFLQL4.js";
235
+ } from "./chunk-AKD3YZ54.js";
239
236
  import {
240
237
  renderBoxesAndLines,
241
238
  renderBoxesAndLinesForExport
242
- } from "./chunk-5USRKIR3.js";
239
+ } from "./chunk-X4FCKGK2.js";
243
240
  import "./chunk-H52HJ26L.js";
244
241
  import {
245
242
  layoutBoxesAndLines
@@ -261,14 +258,14 @@ import {
261
258
  import {
262
259
  renderOrg,
263
260
  renderOrgForExport
264
- } from "./chunk-6RR4XUOB.js";
261
+ } from "./chunk-7BJQUII6.js";
265
262
  import "./chunk-L43KTQTW.js";
266
263
  import {
267
264
  layoutOrg
268
- } from "./chunk-HFOSP6E2.js";
265
+ } from "./chunk-RKTIIU7Z.js";
269
266
  import {
270
267
  layoutSitemap
271
- } from "./chunk-ZJR2YBVN.js";
268
+ } from "./chunk-KOHIF4LD.js";
272
269
  import {
273
270
  collapseSitemapTree
274
271
  } from "./chunk-UNCCZ3NU.js";
@@ -276,20 +273,20 @@ import "./chunk-BS7SV7C3.js";
276
273
  import {
277
274
  renderSitemap,
278
275
  renderSitemapForExport
279
- } from "./chunk-QABZKAKF.js";
276
+ } from "./chunk-LRKGF7RN.js";
280
277
  import {
281
278
  computeCardArchive,
282
279
  computeCardMove,
283
280
  isArchiveColumn,
284
281
  renderKanban,
285
282
  renderKanbanForExport
286
- } from "./chunk-DC3EBYIG.js";
283
+ } from "./chunk-FXLGBUIQ.js";
287
284
  import {
288
285
  clearEventLineMuted,
289
286
  focusEventLine,
290
287
  renderEventLine,
291
288
  renderEventLineForExport
292
- } from "./chunk-EZGWUS5G.js";
289
+ } from "./chunk-NEV5IW33.js";
293
290
  import "./chunk-NCT22MOD.js";
294
291
  import "./chunk-H3HFC3SQ.js";
295
292
  import {
@@ -300,14 +297,13 @@ import "./chunk-3CIOJ5YJ.js";
300
297
  import {
301
298
  renderBody,
302
299
  renderBodyForExport
303
- } from "./chunk-X5CJAFZF.js";
300
+ } from "./chunk-7FTGNJQ2.js";
304
301
  import {
305
302
  completeMapPlaces,
306
303
  completeMapRegions,
307
304
  searchMapLocations,
308
305
  themes
309
306
  } from "./chunk-SQAG3UXH.js";
310
- import "./chunk-4B5YISOR.js";
311
307
  import {
312
308
  orderArcNodes,
313
309
  render,
@@ -317,17 +313,18 @@ import {
317
313
  renderSlopeChart,
318
314
  renderVenn,
319
315
  renderWordCloud
320
- } from "./chunk-K5L3LXT3.js";
321
- import "./chunk-MROSEZHE.js";
316
+ } from "./chunk-DHIBVN2D.js";
317
+ import "./chunk-LFAQ4BLZ.js";
318
+ import "./chunk-536EBUPG.js";
322
319
  import {
323
320
  renderLegendSvg,
324
321
  renderLegendSvgFromConfig
325
- } from "./chunk-ZPUVAJTW.js";
326
- import "./chunk-VHO3YBTB.js";
322
+ } from "./chunk-4C3BTTOL.js";
323
+ import "./chunk-CVVICCSB.js";
327
324
  import {
328
325
  formatDateLabel,
329
326
  renderTimeline
330
- } from "./chunk-V5OBLPLA.js";
327
+ } from "./chunk-3OLO2MZ6.js";
331
328
  import {
332
329
  computeTimeTicks
333
330
  } from "./chunk-YRYKTYMQ.js";
@@ -340,7 +337,7 @@ import "./chunk-NZ5QVASG.js";
340
337
  import "./chunk-A4GOY3PE.js";
341
338
  import {
342
339
  renderLegendD3
343
- } from "./chunk-IOUUQLDE.js";
340
+ } from "./chunk-UKZ7K5GS.js";
344
341
  import {
345
342
  computeLegendLayout,
346
343
  controlsGroupCapsuleWidth,
@@ -355,7 +352,7 @@ import "./chunk-4ASYQ347.js";
355
352
  import {
356
353
  normalizePertSourceForShare,
357
354
  resolveOrgImports
358
- } from "./chunk-U5UKFXHB.js";
355
+ } from "./chunk-Q3XVMFVF.js";
359
356
  import {
360
357
  decodeDiagramUrl,
361
358
  decodeViewState,
@@ -372,13 +369,13 @@ import {
372
369
  parseDgmo,
373
370
  parseDgmoChartType,
374
371
  parseVisualization
375
- } from "./chunk-P3343TTF.js";
372
+ } from "./chunk-3PVUGECM.js";
376
373
  import {
377
374
  normalizePlace,
378
375
  parseClock,
379
376
  resolvePlace,
380
377
  searchZones
381
- } from "./chunk-SLGHGT76.js";
378
+ } from "./chunk-2CMM36O7.js";
382
379
  import {
383
380
  fixedParts,
384
381
  fixedTimeCells,
@@ -393,49 +390,49 @@ import {
393
390
  } from "./chunk-A2RUBBVT.js";
394
391
  import {
395
392
  parseBracket
396
- } from "./chunk-DDQ47BMP.js";
393
+ } from "./chunk-JWJBWNQL.js";
397
394
  import {
398
395
  allTasks,
399
396
  parseRaci
400
- } from "./chunk-TDZRLG7I.js";
397
+ } from "./chunk-RF5YDIYT.js";
401
398
  import {
402
399
  parseBody
403
- } from "./chunk-UYY7MVJK.js";
400
+ } from "./chunk-U7CXUGQS.js";
404
401
  import {
405
402
  getExtendedChartLegendGroups,
406
403
  getSimpleChartLegendGroups,
407
404
  parseChart,
408
405
  parseDataRowValues,
409
406
  parseExtendedChart
410
- } from "./chunk-MM4Z32EH.js";
407
+ } from "./chunk-XC7BUB3P.js";
411
408
  import "./chunk-2CW5ZTNH.js";
412
409
  import "./chunk-BDXC7MDK.js";
413
410
  import {
414
411
  parseCycle
415
- } from "./chunk-EYP34TFP.js";
412
+ } from "./chunk-LQR46XGR.js";
416
413
  import {
417
414
  parseJourneyMap
418
- } from "./chunk-OSXJY6SY.js";
415
+ } from "./chunk-NSJK7F2V.js";
419
416
  import {
420
417
  parsePyramid
421
- } from "./chunk-GSVHOF3J.js";
418
+ } from "./chunk-YXI6Y7YY.js";
422
419
  import {
423
420
  parseRing
424
- } from "./chunk-TL6WZWSZ.js";
421
+ } from "./chunk-LALFMQ7Q.js";
425
422
  import {
426
423
  parseTreemap
427
- } from "./chunk-6XWZKCVS.js";
424
+ } from "./chunk-DPFCFU2K.js";
428
425
  import {
429
426
  parseBlock
430
- } from "./chunk-2NSR6INI.js";
427
+ } from "./chunk-CSUF6PNF.js";
431
428
  import "./chunk-XSVWUOUZ.js";
432
429
  import {
433
430
  parseGoal
434
- } from "./chunk-4IFPX4J6.js";
431
+ } from "./chunk-3A2HZBFD.js";
435
432
  import {
436
433
  parseCountdown,
437
434
  targetToMs as targetToMs2
438
- } from "./chunk-XS7CL7NX.js";
435
+ } from "./chunk-XHFXA6RP.js";
439
436
  import {
440
437
  applyOrdinalTemplate,
441
438
  dayDelta,
@@ -454,62 +451,62 @@ import {
454
451
  import {
455
452
  looksLikeMap,
456
453
  parseMap
457
- } from "./chunk-TJV3J74Y.js";
454
+ } from "./chunk-UTOELEK2.js";
458
455
  import {
459
456
  parseBoxesAndLines
460
- } from "./chunk-IH3GHOHU.js";
457
+ } from "./chunk-QQADQBKG.js";
461
458
  import {
462
459
  SKETCH_SHAPE_KINDS,
463
460
  isSketchShapeKind,
464
461
  parseSketch
465
- } from "./chunk-BG23Y7JD.js";
462
+ } from "./chunk-AFCVHK3G.js";
466
463
  import "./chunk-RT7ACF77.js";
467
464
  import {
468
465
  parseSwimlane
469
- } from "./chunk-KZFAEMQQ.js";
466
+ } from "./chunk-X2X7MTKH.js";
470
467
  import {
471
468
  parseFamily
472
- } from "./chunk-BGBGWFUI.js";
469
+ } from "./chunk-A5FNLWKP.js";
473
470
  import "./chunk-QQJUTGQH.js";
474
471
  import {
475
472
  parseMindmap
476
- } from "./chunk-EQGLGTU2.js";
473
+ } from "./chunk-OLPWKS5L.js";
477
474
  import {
478
475
  parseTechRadar
479
- } from "./chunk-V5PHEH2M.js";
476
+ } from "./chunk-NMIWEUIG.js";
480
477
  import {
481
478
  extractPertSymbols,
482
479
  looksLikePert,
483
480
  parsePert
484
- } from "./chunk-W2Z4KS72.js";
481
+ } from "./chunk-VXBEG3IB.js";
485
482
  import "./chunk-3TYUXC7D.js";
486
483
  import {
487
484
  parseLiveLink
488
- } from "./chunk-243KZTTS.js";
485
+ } from "./chunk-6BVIZW5N.js";
489
486
  import {
490
487
  parseEventLine
491
- } from "./chunk-R53THUTP.js";
488
+ } from "./chunk-QMYJO4EL.js";
492
489
  import {
493
490
  addDurationToDate,
494
491
  parseTimelineDate
495
- } from "./chunk-EKKS325Q.js";
492
+ } from "./chunk-4GQ6I46C.js";
496
493
  import {
497
494
  parseVersionControl
498
- } from "./chunk-S5OQWV54.js";
495
+ } from "./chunk-INLEOJIX.js";
499
496
  import {
500
497
  parseKanban
501
- } from "./chunk-6YY56KU2.js";
498
+ } from "./chunk-E2GEV3BI.js";
502
499
  import {
503
500
  parseC4
504
- } from "./chunk-VGFUVFJA.js";
501
+ } from "./chunk-IL5UVUMK.js";
505
502
  import {
506
503
  INFRA_BEHAVIOR_KEYS,
507
504
  extractSymbols as extractSymbols4,
508
505
  parseInfra
509
- } from "./chunk-6F74K4JL.js";
506
+ } from "./chunk-I7IQ2NEJ.js";
510
507
  import {
511
508
  parseGantt
512
- } from "./chunk-6KWE5553.js";
509
+ } from "./chunk-O42EAZUV.js";
513
510
  import "./chunk-EQW6HOP4.js";
514
511
  import "./chunk-DAOFNU6J.js";
515
512
  import {
@@ -517,7 +514,7 @@ import {
517
514
  isSequenceNote,
518
515
  looksLikeSequence,
519
516
  parseSequenceDgmo
520
- } from "./chunk-I53E3L5M.js";
517
+ } from "./chunk-65QX6LYT.js";
521
518
  import {
522
519
  RULE_COUNT,
523
520
  inferParticipantType
@@ -526,24 +523,24 @@ import {
526
523
  extractSymbols,
527
524
  looksLikeFlowchart,
528
525
  parseFlowchart
529
- } from "./chunk-GCZQAT4Z.js";
526
+ } from "./chunk-CHOKOYSC.js";
530
527
  import "./chunk-7TF3QOOD.js";
531
528
  import {
532
529
  looksLikeState,
533
530
  parseState
534
- } from "./chunk-SQLVM3G7.js";
531
+ } from "./chunk-SR7NGZNM.js";
535
532
  import "./chunk-NXMESY4J.js";
536
533
  import {
537
534
  extractSymbols as extractSymbols2,
538
535
  looksLikeClassDiagram,
539
536
  parseClassDiagram
540
- } from "./chunk-PSWWCLLI.js";
537
+ } from "./chunk-EK4QX7NQ.js";
541
538
  import {
542
539
  extractSymbols as extractSymbols3,
543
540
  looksLikeERDiagram,
544
541
  parseERDiagram
545
- } from "./chunk-HQI7S72D.js";
546
- import "./chunk-SJT4W23S.js";
542
+ } from "./chunk-NKRVFQGO.js";
543
+ import "./chunk-QE4GTFZS.js";
547
544
  import "./chunk-7NK42OIB.js";
548
545
  import {
549
546
  ARROW_DIAGNOSTIC_CODES,
@@ -552,20 +549,17 @@ import {
552
549
  } from "./chunk-RRX4Z4TH.js";
553
550
  import {
554
551
  parseOrg
555
- } from "./chunk-ZTSBP3AH.js";
552
+ } from "./chunk-CUYDE77F.js";
556
553
  import {
557
554
  looksLikeSitemap,
558
555
  parseSitemap
559
- } from "./chunk-ZBOSGLES.js";
556
+ } from "./chunk-DJC5M7VC.js";
560
557
  import "./chunk-IYULMRBE.js";
561
558
  import {
562
559
  displayName,
563
560
  getOrCreateName,
564
561
  normalizeName
565
562
  } from "./chunk-NOTA6TEI.js";
566
- import {
567
- chartTypes
568
- } from "./chunk-ZEIYC7XO.js";
569
563
  import {
570
564
  RACI_ERROR_CODES,
571
565
  RACI_WARNING_CODES,
@@ -573,17 +567,18 @@ import {
573
567
  } from "./chunk-I55PVEIX.js";
574
568
  import {
575
569
  parseWireframe
576
- } from "./chunk-BVPRRSMX.js";
570
+ } from "./chunk-B25BEH3F.js";
577
571
  import {
578
572
  autoTagColorCycle,
579
573
  tagAttrKey
580
- } from "./chunk-LLA5C2TM.js";
574
+ } from "./chunk-MDI5FMWO.js";
581
575
  import {
582
576
  ALL_CHART_TYPES,
577
+ chartTypes,
583
578
  measureIndent,
584
579
  parseFirstLine
585
- } from "./chunk-IXY2IPOW.js";
586
- import "./chunk-ON4MEUC4.js";
580
+ } from "./chunk-P2PUWV3Y.js";
581
+ import "./chunk-23RWHHI5.js";
587
582
  import {
588
583
  atlasPalette,
589
584
  blueprintPalette,
@@ -1311,6 +1306,123 @@ function startClocks(root = document) {
1311
1306
  window.setInterval(() => tickClocks(document), 1e3);
1312
1307
  }
1313
1308
 
1309
+ // src/map/load-data.ts
1310
+ async function loadNodeBuiltins() {
1311
+ const [{ readFile }, { fileURLToPath }, { dirname, resolve }] = await Promise.all([
1312
+ import("fs/promises"),
1313
+ import("url"),
1314
+ import("path")
1315
+ ]);
1316
+ return { readFile, fileURLToPath, dirname, resolve };
1317
+ }
1318
+ var FILES = {
1319
+ worldCoarse: "world-coarse.json",
1320
+ worldDetail: "world-detail.json",
1321
+ usStates: "us-states.json",
1322
+ lakes: "lakes.json",
1323
+ rivers: "rivers.json",
1324
+ mountainRanges: "mountain-ranges.json",
1325
+ naLand: "na-land.json",
1326
+ naLakes: "na-lakes.json",
1327
+ waterBodies: "water-bodies.json",
1328
+ airports: "airports.json",
1329
+ gazetteer: "gazetteer.json"
1330
+ };
1331
+ var CANDIDATE_DIRS = [
1332
+ "./data",
1333
+ "./map-data",
1334
+ "../map-data",
1335
+ "../src/map/data"
1336
+ ];
1337
+ var cache;
1338
+ async function readJson(nb, dir, name) {
1339
+ return JSON.parse(await nb.readFile(nb.resolve(dir, name), "utf8"));
1340
+ }
1341
+ async function firstExistingDir(nb, baseDir) {
1342
+ for (const rel of CANDIDATE_DIRS) {
1343
+ const dir = nb.resolve(baseDir, rel);
1344
+ try {
1345
+ await nb.readFile(nb.resolve(dir, FILES.gazetteer), "utf8");
1346
+ return dir;
1347
+ } catch {
1348
+ }
1349
+ }
1350
+ throw new Error(
1351
+ `map data assets not found near ${baseDir} (looked in ${CANDIDATE_DIRS.join(", ")}). Run \`pnpm build:map-data\` and \`pnpm build\`.`
1352
+ );
1353
+ }
1354
+ function validate(data) {
1355
+ const topoOk = (t) => !!t && t.type === "Topology" && !!t.objects;
1356
+ if (!topoOk(data.worldCoarse) || !topoOk(data.worldDetail) || !topoOk(data.usStates) || !data.gazetteer || !Array.isArray(data.gazetteer.cities) || !data.gazetteer.byName) {
1357
+ throw new Error("map data assets are malformed (failed shape validation)");
1358
+ }
1359
+ return data;
1360
+ }
1361
+ function moduleBaseDir(nb) {
1362
+ try {
1363
+ const url = import.meta.url;
1364
+ if (url) return nb.dirname(nb.fileURLToPath(url));
1365
+ } catch {
1366
+ }
1367
+ if (typeof __dirname !== "undefined") return __dirname;
1368
+ return process.cwd();
1369
+ }
1370
+ function loadMapData() {
1371
+ cache ??= (async () => {
1372
+ const nb = await loadNodeBuiltins();
1373
+ const dir = await firstExistingDir(nb, moduleBaseDir(nb));
1374
+ const [
1375
+ worldCoarse,
1376
+ worldDetail,
1377
+ usStates,
1378
+ lakes,
1379
+ rivers,
1380
+ mountainRanges,
1381
+ naLand,
1382
+ naLakes,
1383
+ waterBodies,
1384
+ airports,
1385
+ gazetteer
1386
+ ] = await Promise.all([
1387
+ // worldCoarse (110m) is LOAD-BEARING but NOT a render source: the world
1388
+ // basemap renders from worldDetail (50m) at all scales (resolver pins
1389
+ // basemaps.world = 'detail'). Coarse stays as the authoritative region
1390
+ // name index + dominant-landmass bbox source in resolver.ts. Do not drop it.
1391
+ readJson(nb, dir, FILES.worldCoarse),
1392
+ readJson(nb, dir, FILES.worldDetail),
1393
+ readJson(nb, dir, FILES.usStates),
1394
+ // Lakes/rivers/mountain/NA/water assets are optional — older bundles may predate them.
1395
+ readJson(nb, dir, FILES.lakes).catch(() => void 0),
1396
+ readJson(nb, dir, FILES.rivers).catch(() => void 0),
1397
+ readJson(nb, dir, FILES.mountainRanges).catch(
1398
+ () => void 0
1399
+ ),
1400
+ readJson(nb, dir, FILES.naLand).catch(() => void 0),
1401
+ readJson(nb, dir, FILES.naLakes).catch(() => void 0),
1402
+ readJson(nb, dir, FILES.waterBodies).catch(() => void 0),
1403
+ readJson(nb, dir, FILES.airports).catch(() => void 0),
1404
+ readJson(nb, dir, FILES.gazetteer)
1405
+ ]);
1406
+ return validate({
1407
+ worldCoarse,
1408
+ worldDetail,
1409
+ usStates,
1410
+ gazetteer,
1411
+ ...lakes && { lakes },
1412
+ ...rivers && { rivers },
1413
+ ...mountainRanges && { mountainRanges },
1414
+ ...naLand && { naLand },
1415
+ ...naLakes && { naLakes },
1416
+ ...waterBodies && { waterBodies },
1417
+ ...airports && { airports }
1418
+ });
1419
+ })().catch((e) => {
1420
+ cache = void 0;
1421
+ throw e;
1422
+ });
1423
+ return cache;
1424
+ }
1425
+
1314
1426
  // src/map/invert.ts
1315
1427
  function inInsetFrame(inset, px, py) {
1316
1428
  return px >= inset.x && px <= inset.x + inset.w && py >= inset.y && py <= inset.y + inset.h;