@sjcrh/proteinpaint-client 2.190.2 → 2.191.2

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 (932) hide show
  1. package/dist/2dmaf-V4WJ2LEK.js +1373 -0
  2. package/dist/AIProjectAdmin-JMN5O6YU.js +829 -0
  3. package/dist/AppHeader-Y4SEKCEF.js +835 -0
  4. package/dist/BoxPlot-ZXQZGCR3.js +1211 -0
  5. package/dist/BoxPlot-ZXQZGCR3.js.map +7 -0
  6. package/dist/CorrelationVolcano-R5IWD6WA.js +619 -0
  7. package/dist/DE-ZV6O7B6Y.js +95 -0
  8. package/dist/DEinput-FTOALZKN.js +301 -0
  9. package/dist/DifferentialAnalysis-NLCA766A.js +245 -0
  10. package/dist/Disco-Y5Z4A7GN.js +3237 -0
  11. package/dist/Disco.UI-GSWZYIUT.js +245 -0
  12. package/dist/DmrPlot-FEFUCIGT.js +642 -0
  13. package/dist/DziViewer-6737GC22.js +16332 -0
  14. package/dist/GB-AOXF2JJB.js +1130 -0
  15. package/dist/GeneExpInput-CXYRKQU7.js +366 -0
  16. package/dist/HicApp-GLNNZ4H5.js +2250 -0
  17. package/dist/NumBinaryEditor-6ZAL6CCP.js +271 -0
  18. package/dist/NumBinaryEditor-6ZAL6CCP.js.map +7 -0
  19. package/dist/NumBinaryEditor.unit.spec-3VTJLILH.js +286 -0
  20. package/dist/NumContEditor-3LOAR676.js +109 -0
  21. package/dist/NumContEditor-3LOAR676.js.map +7 -0
  22. package/dist/NumContEditor.unit.spec-WIMYCOVO.js +169 -0
  23. package/dist/NumCustomBinEditor-XIOAYWOD.js +38 -0
  24. package/dist/NumCustomBinEditor.unit.spec-N5OV6MKR.js +284 -0
  25. package/dist/NumDiscreteEditor-AT6FKYGI.js +179 -0
  26. package/dist/NumDiscreteEditor.unit.spec-BDR5GZ46.js +202 -0
  27. package/dist/NumRegularBinEditor-Z4NBS4VZ.js +38 -0
  28. package/dist/NumRegularBinEditor.unit.spec-BRWYNQ55.js +227 -0
  29. package/dist/NumSplineEditor-B45BAWQ2.js +198 -0
  30. package/dist/NumSplineEditor-B45BAWQ2.js.map +7 -0
  31. package/dist/NumSplineEditor.unit.spec-5RDBCZ4N.js +199 -0
  32. package/dist/NumericDensity-L7HIVV7D.js +38 -0
  33. package/dist/NumericDensity.unit.spec-PL3XDJCV.js +221 -0
  34. package/dist/NumericHandler-KJYZOCCG.js +39 -0
  35. package/dist/NumericHandler.unit.spec-VC7NPLJW.js +219 -0
  36. package/dist/ProteomeInput-A3GRPIAH.js +396 -0
  37. package/dist/RunChart2-MSNU3ZNT.js +758 -0
  38. package/dist/SC-FNKG2FK5.js +936 -0
  39. package/dist/Volcano-IRJMPHXJ.js +1379 -0
  40. package/dist/WSIViewer-KITT7I67.js +48475 -0
  41. package/dist/WsiSamplesPlot-G3YZ6SIE.js +165 -0
  42. package/dist/adSandbox-GIQTJ4VA.js +38 -0
  43. package/dist/app-MGNEMS2K.js +49 -0
  44. package/dist/app-UQTHPQFD.js +37 -0
  45. package/dist/app.js +17 -17
  46. package/dist/bam-5PROQBRT.js +860 -0
  47. package/dist/barchart-BQYJ73Z4.js +47 -0
  48. package/dist/barchart.data-VFULOIHY.js +22 -0
  49. package/dist/barchart.events-W2CIDD4B.js +47 -0
  50. package/dist/barchart.integration.spec-JF2IHFQE.js +1980 -0
  51. package/dist/barchart.integration.spec-JF2IHFQE.js.map +7 -0
  52. package/dist/barchart2-V6W4UAFH.js +311 -0
  53. package/dist/block-5V2FCT7Q.js +6202 -0
  54. package/dist/block.init-43IUNDNB.js +38 -0
  55. package/dist/block.mds.expressionrank-LI6MZPBE.js +359 -0
  56. package/dist/block.mds.geneboxplot-673AIJMJ.js +828 -0
  57. package/dist/block.mds.junction-UWNVNV3X.js +1545 -0
  58. package/dist/block.mds.svcnv-Z5VFCUUE.js +6801 -0
  59. package/dist/block.svg-MGK4GWLL.js +164 -0
  60. package/dist/block.tk.aicheck-OFNDGG7Q.js +283 -0
  61. package/dist/block.tk.ase-IDZQY7MW.js +365 -0
  62. package/dist/block.tk.bam-K7A2Q5NI.js +1906 -0
  63. package/dist/block.tk.bedgraphdot-PPTKCCPK.js +384 -0
  64. package/dist/block.tk.bigwig.ui-PI6EAU43.js +212 -0
  65. package/dist/block.tk.hicstraw-EZ2GS2K4.js +823 -0
  66. package/dist/block.tk.junction-4WSLQGSQ.js +2364 -0
  67. package/dist/block.tk.junction.textmatrixui-7EJUSVMB.js +199 -0
  68. package/dist/block.tk.ld-KLVO7M37.js +99 -0
  69. package/dist/block.tk.menu-KZSL7BAR.js +1029 -0
  70. package/dist/block.tk.pgv-NYWGB4VH.js +944 -0
  71. package/dist/brainImaging-MTIIMJHW.js +423 -0
  72. package/dist/chunk-2NQLAH3L.js +443 -0
  73. package/dist/chunk-2Q6PBSPS.js +1943 -0
  74. package/dist/chunk-2TCCXOAV.js +1170 -0
  75. package/dist/chunk-2TCCXOAV.js.map +7 -0
  76. package/dist/chunk-3D5GZIGG.js +1210 -0
  77. package/dist/chunk-3TPAIXNL.js +263 -0
  78. package/dist/chunk-42EBECOD.js +95 -0
  79. package/dist/chunk-4B42QV34.js +2786 -0
  80. package/dist/chunk-4FKWINMK.js +184 -0
  81. package/dist/chunk-4FKWINMK.js.map +7 -0
  82. package/dist/chunk-4KY4XKJV.js +143 -0
  83. package/dist/chunk-52RORO74.js +158 -0
  84. package/dist/chunk-52RORO74.js.map +7 -0
  85. package/dist/chunk-5SXCIKYV.js +100 -0
  86. package/dist/chunk-647P2I4Q.js +482 -0
  87. package/dist/chunk-67HSIHPP.js +2327 -0
  88. package/dist/chunk-6GZJCSA6.js +1102 -0
  89. package/dist/chunk-6VKTEMFV.js +1815 -0
  90. package/dist/chunk-6VKTEMFV.js.map +7 -0
  91. package/dist/chunk-7JEKUSEL.js +102 -0
  92. package/dist/chunk-BMO6KSVC.js +477 -0
  93. package/dist/chunk-CKA52OEA.js +399 -0
  94. package/dist/chunk-CKA52OEA.js.map +7 -0
  95. package/dist/chunk-CKDC326M.js +50 -0
  96. package/dist/chunk-CRUBP5PT.js +446 -0
  97. package/dist/chunk-CW2Q5EA7.js +283 -0
  98. package/dist/chunk-CYHUNQMS.js +6364 -0
  99. package/dist/chunk-DC4KD6FJ.js +458 -0
  100. package/dist/chunk-DC4KD6FJ.js.map +7 -0
  101. package/dist/chunk-DHPLHIVP.js +498 -0
  102. package/dist/chunk-DJQTUDJM.js +414 -0
  103. package/dist/chunk-DJQTUDJM.js.map +7 -0
  104. package/dist/chunk-DWCVGCBX.js +381 -0
  105. package/dist/chunk-EIBNV236.js +339 -0
  106. package/dist/chunk-EZ3WMXYT.js +217 -0
  107. package/dist/chunk-F5QIZOPL.js +736 -0
  108. package/dist/chunk-F6N6JBZR.js +37 -0
  109. package/dist/chunk-FXMHSVBS.js +54 -0
  110. package/dist/chunk-FZ63VOSX.js +226 -0
  111. package/dist/chunk-GMT2GNQY.js +1332 -0
  112. package/dist/chunk-IIT367QZ.js +473 -0
  113. package/dist/chunk-IL5QT2FI.js +293 -0
  114. package/dist/chunk-J6GLTYGJ.js +2681 -0
  115. package/dist/chunk-JEZIKGZI.js +386 -0
  116. package/dist/chunk-JJOLDYSQ.js +824 -0
  117. package/dist/chunk-KSCJWPTJ.js +34 -0
  118. package/dist/chunk-L4TUTGTA.js +20787 -0
  119. package/dist/chunk-L4TUTGTA.js.map +7 -0
  120. package/dist/chunk-LT5XPBIX.js +272 -0
  121. package/dist/chunk-M3J4MINX.js +783 -0
  122. package/dist/chunk-M3J4MINX.js.map +7 -0
  123. package/dist/chunk-MEGBYD4U.js +182 -0
  124. package/dist/chunk-MEY5OBDJ.js +170 -0
  125. package/dist/chunk-MYWV64P5.js +1275 -0
  126. package/dist/chunk-MYWV64P5.js.map +7 -0
  127. package/dist/chunk-NKTBR5SK.js +613 -0
  128. package/dist/chunk-NKTBR5SK.js.map +7 -0
  129. package/dist/chunk-NVX26LFC.js +148 -0
  130. package/dist/chunk-O7NFSCEW.js +291 -0
  131. package/dist/chunk-P4QGOUDH.js +368 -0
  132. package/dist/chunk-PGBKZ76Y.js +129 -0
  133. package/dist/chunk-PQNVPSQR.js +205 -0
  134. package/dist/chunk-PQZ3A27I.js +54 -0
  135. package/dist/chunk-QNMB7LYW.js +5010 -0
  136. package/dist/chunk-RZGEKL77.js +117 -0
  137. package/dist/chunk-RZY34QRF.js +158 -0
  138. package/dist/chunk-S4JLRRKK.js +287 -0
  139. package/dist/chunk-S4JLRRKK.js.map +7 -0
  140. package/dist/chunk-SDACELDR.js +14 -0
  141. package/dist/chunk-SQWEREGE.js +222 -0
  142. package/dist/chunk-SQWEREGE.js.map +7 -0
  143. package/dist/chunk-TVADJLMF.js +317 -0
  144. package/dist/chunk-TVADJLMF.js.map +7 -0
  145. package/dist/chunk-UCLROZRF.js +142 -0
  146. package/dist/chunk-VIHUKORE.js +216 -0
  147. package/dist/chunk-VIHUKORE.js.map +7 -0
  148. package/dist/chunk-VMLSRKIB.js +276 -0
  149. package/dist/chunk-VXKO2ONI.js +534 -0
  150. package/dist/chunk-WET4LPLO.js +117 -0
  151. package/dist/chunk-WMELUFVS.js +254 -0
  152. package/dist/chunk-WS3NUPNV.js +119 -0
  153. package/dist/chunk-X5X5T3AJ.js +230 -0
  154. package/dist/chunk-X5X5T3AJ.js.map +7 -0
  155. package/dist/chunk-X63AAJGT.js +514 -0
  156. package/dist/chunk-XRAFQKOF.js +4274 -0
  157. package/dist/chunk-XRAFQKOF.js.map +7 -0
  158. package/dist/chunk-XVZ5UJWU.js +815 -0
  159. package/dist/chunk-YNBT4N6T.js +2824 -0
  160. package/dist/chunk-YVCTEEVQ.js +55 -0
  161. package/dist/chunk-YWZCJMHS.js +203 -0
  162. package/dist/chunk-Z3SC67OA.js +102 -0
  163. package/dist/chunk-ZK226W6V.js +194 -0
  164. package/dist/chunk-ZLREFIZB.js +302 -0
  165. package/dist/chunk-ZX2ISBEF.js +95 -0
  166. package/dist/condition-P2XD32QM.js +332 -0
  167. package/dist/controls-FZUTJPKV.js +41 -0
  168. package/dist/controls.btns-AP67YWKW.js +9 -0
  169. package/dist/controls.config-TEFY3NTE.js +39 -0
  170. package/dist/correlation-HS2WJFXN.js +99 -0
  171. package/dist/correlation-HS2WJFXN.js.map +7 -0
  172. package/dist/cuminc-42GBJHD3.js +1149 -0
  173. package/dist/cuminc.integration.spec-BAY4JHVL.js +678 -0
  174. package/dist/customdata.inputui-IPM5K56K.js +289 -0
  175. package/dist/dataDownload-D7VCYBDT.js +330 -0
  176. package/dist/dataDownload.integration.spec-SEBY2BIX.js +193 -0
  177. package/dist/databrowser.ui-5OC5MPZB.js +433 -0
  178. package/dist/dictionary-VVRWVLJX.js +111 -0
  179. package/dist/dnaMethylation-72IS3FRI.js +38 -0
  180. package/dist/dnaMethylation.integration.spec-U2LLSDGE.js +203 -0
  181. package/dist/dofetch-5ZRAQH5F.js +51 -0
  182. package/dist/e2pca-AR6EKEJA.js +350 -0
  183. package/dist/ep-JS5UUJQX.js +1256 -0
  184. package/dist/expclust.gdc.spec-73MGQ7RN.js +307 -0
  185. package/dist/facet-AR3QKHCY.js +521 -0
  186. package/dist/forms2-UXEI7MUP.js +534 -0
  187. package/dist/gb-RHDVYU2V.js +88 -0
  188. package/dist/geneExpClustering-L6KLCMPH.js +249 -0
  189. package/dist/geneExpression-GYT2XRE6.js +313 -0
  190. package/dist/geneExpression-SKIU3NEP.js +38 -0
  191. package/dist/geneExpression.unit.spec-CWR6KDVK.js +102 -0
  192. package/dist/geneORA-C3TALK5P.js +278 -0
  193. package/dist/geneRanking-LLYLDPLV.js +551 -0
  194. package/dist/geneVariant-PUSKBHPY.js +39 -0
  195. package/dist/geneVariant-YFMU6PHM.js +41 -0
  196. package/dist/geneVariant.integration.spec-EJ5V46OQ.js +198 -0
  197. package/dist/genefusion.ui-XUHSKQKW.js +309 -0
  198. package/dist/geneset-DEL5LXFZ.js +208 -0
  199. package/dist/genomeBrowser.spec-W5TVHOUJ.js +281 -0
  200. package/dist/grin2-FXAEGECD.js +1560 -0
  201. package/dist/grin2-U2FKULLC.js +821 -0
  202. package/dist/grin2-U2FKULLC.js.map +7 -0
  203. package/dist/gsea-CNL6SHH5.js +47 -0
  204. package/dist/hierCluster-7V65PMIW.js +59 -0
  205. package/dist/hierCluster-C44GHM4B.js +63 -0
  206. package/dist/hierCluster.config-RU5JDPWM.js +40 -0
  207. package/dist/hierCluster.integration.spec-6YH5KE4H.js +395 -0
  208. package/dist/hierCluster.interactivity-PK2L7BSW.js +54 -0
  209. package/dist/hierCluster.renderers-G3274UYA.js +21 -0
  210. package/dist/imagePlot-5SEDMPBP.js +163 -0
  211. package/dist/importPlot-M3MKWRON.js +8 -0
  212. package/dist/isoformExpression-PPMISWKT.js +40 -0
  213. package/dist/isoformExpression.unit.spec-ENHCCQRZ.js +208 -0
  214. package/dist/launch.adhoc-XAG6H42J.js +42 -0
  215. package/dist/leftlabel.sample-BSPCI6GR.js +260 -0
  216. package/dist/lollipop-IZJ7E3YO.js +171 -0
  217. package/dist/maf-54XWBQ73.js +452 -0
  218. package/dist/maftimeline-3AJKAFS6.js +593 -0
  219. package/dist/matrix-AJPMHUXG.js +63 -0
  220. package/dist/matrix-ZMXNOESU.js +58 -0
  221. package/dist/matrix.cells-E3LEVA7U.js +28 -0
  222. package/dist/matrix.config-4WLSFMTY.js +41 -0
  223. package/dist/matrix.data-WMOTOB6C.js +25 -0
  224. package/dist/matrix.dom-F7AN3QGE.js +11 -0
  225. package/dist/matrix.groups-BGMZZ6CM.js +27 -0
  226. package/dist/matrix.integration.spec-ENRPVB7R.js +3072 -0
  227. package/dist/matrix.interactivity-IMWERCZF.js +42 -0
  228. package/dist/matrix.layout-5DDZWLNX.js +44 -0
  229. package/dist/matrix.legend-RJAFOZHQ.js +22 -0
  230. package/dist/matrix.renderers-VFQZG5JP.js +38 -0
  231. package/dist/matrix.serieses-GJWHSBG4.js +21 -0
  232. package/dist/matrix.sort-KIJENIT2.js +27 -0
  233. package/dist/matrix.sort.unit.spec-ZA5DRNL6.js +472 -0
  234. package/dist/matrix.sorterUi-3KEDVLGW.js +18 -0
  235. package/dist/matrix.sorterUi.unit.spec-7TPOJ46U.js +342 -0
  236. package/dist/mavb-73BXZ7MO.js +732 -0
  237. package/dist/mds.fimo-L7VVAOXQ.js +518 -0
  238. package/dist/mds.samplescatterplot-6P75XEWB.js +1550 -0
  239. package/dist/mds.survivalplot-GCVE7XGO.js +483 -0
  240. package/dist/numericDictTermCluster-OMXIURRD.js +72 -0
  241. package/dist/oncomatrix-BFWV2IC4.js +295 -0
  242. package/dist/oncomatrix.spec-J6IAY3O6.js +448 -0
  243. package/dist/plot.2dvaf-ESJAB2F3.js +377 -0
  244. package/dist/plot.app-T7CQMBRV.js +41 -0
  245. package/dist/plot.barplot-HAWPMPPU.js +102 -0
  246. package/dist/plot.boxplot-4QUORFXY.js +152 -0
  247. package/dist/plot.brainImaging-HG6I3GJW.js +51 -0
  248. package/dist/plot.disco-LPH7F6YW.js +102 -0
  249. package/dist/plot.dzi-DYAY4D4E.js +33 -0
  250. package/dist/plot.ssgq-CF5VIGYJ.js +139 -0
  251. package/dist/plot.vaf2cov-7HZCKNK6.js +259 -0
  252. package/dist/plot.wsi-MU6AXOWO.js +36 -0
  253. package/dist/polar2-G636L5TB.js +226 -0
  254. package/dist/polar2-G636L5TB.js.map +7 -0
  255. package/dist/profileForms-TIT4JUEJ.js +441 -0
  256. package/dist/profilePlot-QFGRAZQA.js +54 -0
  257. package/dist/proteinView-RZ56F45C.js +1320 -0
  258. package/dist/proteinView-RZ56F45C.js.map +7 -0
  259. package/dist/qualitative-YWP4YUPF.js +43 -0
  260. package/dist/radar2-TKSHL54E.js +321 -0
  261. package/dist/radarFacility2-FHRFLBLF.js +329 -0
  262. package/dist/regression-5XG5LXP7.js +56 -0
  263. package/dist/regression.inputs-QHXK7ZYY.js +48 -0
  264. package/dist/regression.inputs.term-YYO3CR2D.js +48 -0
  265. package/dist/regression.inputs.values.table-3I2FCON2.js +45 -0
  266. package/dist/regression.integration.spec-QVDGCKVT.js +784 -0
  267. package/dist/regression.results-B7LVT2WG.js +40 -0
  268. package/dist/regression.spec-ISYKKQOM.js +708 -0
  269. package/dist/report-TF6Z3Y44.js +222 -0
  270. package/dist/sampleScatter.spec-2VW55XIZ.js +202 -0
  271. package/dist/sampleView-DNNJRAMU.js +48 -0
  272. package/dist/samplelst-726II3LN.js +111 -0
  273. package/dist/samplematrix-TBPW4URH.js +2198 -0
  274. package/dist/sc-GBYH3W4S.js +86 -0
  275. package/dist/scatter-ATUM7AEW.js +849 -0
  276. package/dist/scatter-ATUM7AEW.js.map +7 -0
  277. package/dist/scatter.integration.spec-PDM454O3.js +1197 -0
  278. package/dist/scatter.integration.spec-PDM454O3.js.map +7 -0
  279. package/dist/selectGenomeWithTklst-RCAYDV6D.js +134 -0
  280. package/dist/singleCellCellType-IQYCKUT6.js +38 -0
  281. package/dist/singleCellCellType.unit.spec-ZEWA2IFI.js +160 -0
  282. package/dist/singleCellGeneExpression-STLTBXJQ.js +38 -0
  283. package/dist/singleCellGeneExpression.unit.spec-W6FPS5ZU.js +153 -0
  284. package/dist/singleCellPlot-7XH7NIL4.js +54 -0
  285. package/dist/singlecell-IDZB2MXW.js +86 -0
  286. package/dist/singlecell-JCXR7X5U.js +1572 -0
  287. package/dist/snp-QOKI26PO.js +38 -0
  288. package/dist/snp.unit.spec-DTPZAALW.js +176 -0
  289. package/dist/snplocus-BKUJYANW.js +208 -0
  290. package/dist/spliceevent.a53ss.diagram-4O54ORKZ.js +151 -0
  291. package/dist/spliceevent.exonskip.diagram-KOIOS6IV.js +277 -0
  292. package/dist/spliceevent.noeventdiagram-YGUGQMVE.js +460 -0
  293. package/dist/ssGSEA-UZMBIHVD.js +38 -0
  294. package/dist/ssGSEA.unit.spec-4YO4E3T7.js +88 -0
  295. package/dist/stattable-MDABSW3F.js +90 -0
  296. package/dist/summarizeCnvGeneexp-HV3DHIW4.js +163 -0
  297. package/dist/summarizeGeneexpSurvival-VGPRWYQ5.js +108 -0
  298. package/dist/summarizeMutationCnv-N3JEB4DJ.js +164 -0
  299. package/dist/summarizeMutationDiagnosis-6U4DBLG5.js +40 -0
  300. package/dist/summarizeMutationSurvival-S7NLAVEI.js +99 -0
  301. package/dist/summary-NPR56I4S.js +49 -0
  302. package/dist/summary.integration.spec-HWNJWLKT.js +414 -0
  303. package/dist/summaryInput-DO73NGDQ.js +235 -0
  304. package/dist/sunburst-MMXSGJSL.js +284 -0
  305. package/dist/survival-7AIKFGV5.js +58 -0
  306. package/dist/survival-UK332X6L.js +46 -0
  307. package/dist/survival.integration.spec-YMTEKEGB.js +821 -0
  308. package/dist/svgraph-MLLAYO4A.js +1387 -0
  309. package/dist/svmr-PYW4PLT3.js +3842 -0
  310. package/dist/table-Y3ED2444.js +200 -0
  311. package/dist/termCollection-3XVL75II.js +38 -0
  312. package/dist/termCollection-VAB53YGO.js +179 -0
  313. package/dist/termCollection.unit.spec-DYPWNVEZ.js +208 -0
  314. package/dist/termInfo-6MJDJSDW.js +9 -0
  315. package/dist/tk-GUGJYKJ2.js +46 -0
  316. package/dist/tp.ui-WGETBYJQ.js +1459 -0
  317. package/dist/tvs.dt-JWF4I3KY.js +39 -0
  318. package/dist/tvs.dtcnv.categorical-72Y5QMPL.js +40 -0
  319. package/dist/tvs.dtcnv.continuous-73LHWTU5.js +72 -0
  320. package/dist/tvs.dtfusion-LP6HUMZU.js +40 -0
  321. package/dist/tvs.dtsnvindel-23N2CFZJ.js +40 -0
  322. package/dist/tvs.dtsv-DILQVKYM.js +40 -0
  323. package/dist/tvs.samplelst-GV4VSCRF.js +104 -0
  324. package/dist/tvs.termCollection-KBDNXK7X.js +159 -0
  325. package/dist/violin-TYUP7FB5.js +46 -0
  326. package/dist/violin.integration.spec-ULRFK2A6.js +1425 -0
  327. package/dist/violin.interactivity-2QZVQWQJ.js +38 -0
  328. package/dist/violin.renderer-HCDSN62Z.js +40 -0
  329. package/dist/vocabulary-I4CMPN2Z.js +41 -0
  330. package/package.json +3 -3
  331. package/dist/2dmaf-ZCIOFNSJ.js +0 -1373
  332. package/dist/AIProjectAdmin-Z7EA2Y74.js +0 -829
  333. package/dist/AppHeader-4AZ76NN3.js +0 -835
  334. package/dist/BoxPlot-BFVBNQNR.js +0 -1217
  335. package/dist/BoxPlot-BFVBNQNR.js.map +0 -7
  336. package/dist/CorrelationVolcano-L5VSJWJF.js +0 -619
  337. package/dist/DE-7TPZWAKI.js +0 -95
  338. package/dist/DEinput-WQJEXWGY.js +0 -301
  339. package/dist/DifferentialAnalysis-FPG7RDNN.js +0 -245
  340. package/dist/Disco-WP2BBL5V.js +0 -3237
  341. package/dist/Disco.UI-ZYSUA57E.js +0 -245
  342. package/dist/DmrPlot-V3E7JMPN.js +0 -642
  343. package/dist/DziViewer-ZHAPJ457.js +0 -16332
  344. package/dist/GB-BKLVGYWP.js +0 -1130
  345. package/dist/GeneExpInput-7V72SRDT.js +0 -366
  346. package/dist/HicApp-IT5YNABL.js +0 -2250
  347. package/dist/NumBinaryEditor-7E37MVQO.js +0 -270
  348. package/dist/NumBinaryEditor-7E37MVQO.js.map +0 -7
  349. package/dist/NumBinaryEditor.unit.spec-C3WVAXMY.js +0 -286
  350. package/dist/NumContEditor-FEVZJUB4.js +0 -107
  351. package/dist/NumContEditor-FEVZJUB4.js.map +0 -7
  352. package/dist/NumContEditor.unit.spec-4IGP657P.js +0 -169
  353. package/dist/NumCustomBinEditor-QC4D63Y5.js +0 -38
  354. package/dist/NumCustomBinEditor.unit.spec-USLECMWI.js +0 -284
  355. package/dist/NumDiscreteEditor-PRAI76XQ.js +0 -179
  356. package/dist/NumDiscreteEditor.unit.spec-IWL3OCTC.js +0 -202
  357. package/dist/NumRegularBinEditor-ESL2HAD7.js +0 -38
  358. package/dist/NumRegularBinEditor.unit.spec-7LLZAW4Z.js +0 -227
  359. package/dist/NumSplineEditor-JZOROO36.js +0 -197
  360. package/dist/NumSplineEditor-JZOROO36.js.map +0 -7
  361. package/dist/NumSplineEditor.unit.spec-3SHSXTC7.js +0 -199
  362. package/dist/NumericDensity-SGYRBDCQ.js +0 -38
  363. package/dist/NumericDensity.unit.spec-Y6JMH6IR.js +0 -221
  364. package/dist/NumericHandler-YG7AMINA.js +0 -39
  365. package/dist/NumericHandler.unit.spec-CABSMERN.js +0 -219
  366. package/dist/ProteomeInput-2WPCK72Z.js +0 -396
  367. package/dist/RunChart2-PJWMDWJR.js +0 -758
  368. package/dist/SC-WVVUFPNU.js +0 -936
  369. package/dist/Volcano-7JI4LUSF.js +0 -1379
  370. package/dist/WSIViewer-GDSOEEA6.js +0 -48475
  371. package/dist/WsiSamplesPlot-Z5C3NPF7.js +0 -165
  372. package/dist/adSandbox-KQKENDNQ.js +0 -38
  373. package/dist/alphaGenome-PN2SEPCK.js +0 -175
  374. package/dist/alphaGenome-PN2SEPCK.js.map +0 -7
  375. package/dist/app-4OEY56FN.js +0 -49
  376. package/dist/app-TGMYXJ4E.js +0 -37
  377. package/dist/bam-3IMX42G5.js +0 -860
  378. package/dist/barchart-44HOJWVS.js +0 -47
  379. package/dist/barchart.data-CHNR4XL2.js +0 -22
  380. package/dist/barchart.events-XW5OZ5MR.js +0 -47
  381. package/dist/barchart.integration.spec-M5PACARH.js +0 -1923
  382. package/dist/barchart.integration.spec-M5PACARH.js.map +0 -7
  383. package/dist/barchart2-4NU7NWJZ.js +0 -311
  384. package/dist/block-OYSZ2JXC.js +0 -6202
  385. package/dist/block.init-WSIQLW7A.js +0 -38
  386. package/dist/block.mds.expressionrank-2KWOWDW4.js +0 -359
  387. package/dist/block.mds.geneboxplot-6ZAD6A5K.js +0 -828
  388. package/dist/block.mds.junction-VQDLHFNG.js +0 -1545
  389. package/dist/block.mds.svcnv-7OIRG7DQ.js +0 -6801
  390. package/dist/block.svg-HXAIFHXM.js +0 -164
  391. package/dist/block.tk.aicheck-GTGHCUEN.js +0 -283
  392. package/dist/block.tk.ase-TAEE2ZHN.js +0 -365
  393. package/dist/block.tk.bam-6A26AZ7S.js +0 -1906
  394. package/dist/block.tk.bedgraphdot-6MYIVRBC.js +0 -384
  395. package/dist/block.tk.bigwig.ui-GJ7JXRH3.js +0 -212
  396. package/dist/block.tk.hicstraw-3TCDZ2GM.js +0 -823
  397. package/dist/block.tk.junction-WDBIP7DK.js +0 -2364
  398. package/dist/block.tk.junction.textmatrixui-QOV3U7AN.js +0 -199
  399. package/dist/block.tk.ld-GCPH66C3.js +0 -99
  400. package/dist/block.tk.menu-YDAIYUGC.js +0 -1029
  401. package/dist/block.tk.pgv-RWOZAUGA.js +0 -944
  402. package/dist/brainImaging-ZAFU6U2Y.js +0 -423
  403. package/dist/chunk-34SAHEQU.js +0 -291
  404. package/dist/chunk-3I7TUGLD.js +0 -226
  405. package/dist/chunk-3JL2HBGE.js +0 -2824
  406. package/dist/chunk-3L32ZXRS.js +0 -117
  407. package/dist/chunk-5GMXV4VC.js +0 -5010
  408. package/dist/chunk-5ITQVR2P.js +0 -102
  409. package/dist/chunk-5TKVUSMQ.js +0 -217
  410. package/dist/chunk-5V43Y2RC.js +0 -774
  411. package/dist/chunk-5V43Y2RC.js.map +0 -7
  412. package/dist/chunk-5X6J6UAT.js +0 -473
  413. package/dist/chunk-5YF3LGLX.js +0 -2327
  414. package/dist/chunk-76PGYH5J.js +0 -203
  415. package/dist/chunk-7JXLWRVZ.js +0 -2681
  416. package/dist/chunk-7YWFO7CJ.js +0 -6364
  417. package/dist/chunk-B3M3AZPL.js +0 -215
  418. package/dist/chunk-B3M3AZPL.js.map +0 -7
  419. package/dist/chunk-B4VRYXOQ.js +0 -288
  420. package/dist/chunk-B4VRYXOQ.js.map +0 -7
  421. package/dist/chunk-BLKF2SE6.js +0 -37
  422. package/dist/chunk-CA2AOIHR.js +0 -142
  423. package/dist/chunk-DBFPAZG3.js +0 -1943
  424. package/dist/chunk-DCJUDSRM.js +0 -446
  425. package/dist/chunk-DNM2DKYE.js +0 -1332
  426. package/dist/chunk-DVH6K2NP.js +0 -14
  427. package/dist/chunk-DYVY7D67.js +0 -263
  428. package/dist/chunk-E4IHE23N.js +0 -398
  429. package/dist/chunk-E4IHE23N.js.map +0 -7
  430. package/dist/chunk-G6WVVRDA.js +0 -339
  431. package/dist/chunk-GERVYIL4.js +0 -1210
  432. package/dist/chunk-GKBMGKYN.js +0 -117
  433. package/dist/chunk-GRNZWYOJ.js +0 -815
  434. package/dist/chunk-GS7SQKJT.js +0 -102
  435. package/dist/chunk-H5NNQO2V.js +0 -55
  436. package/dist/chunk-HONXMORI.js +0 -368
  437. package/dist/chunk-HURY7IJE.js +0 -4272
  438. package/dist/chunk-HURY7IJE.js.map +0 -7
  439. package/dist/chunk-HWVEN2MK.js +0 -498
  440. package/dist/chunk-I2RRWDYV.js +0 -514
  441. package/dist/chunk-IFA3COXY.js +0 -185
  442. package/dist/chunk-IFA3COXY.js.map +0 -7
  443. package/dist/chunk-IOQV2VX3.js +0 -2786
  444. package/dist/chunk-IWMWT7O7.js +0 -276
  445. package/dist/chunk-JSEMZPAO.js +0 -34
  446. package/dist/chunk-K7UIR22L.js +0 -229
  447. package/dist/chunk-K7UIR22L.js.map +0 -7
  448. package/dist/chunk-L75HW457.js +0 -824
  449. package/dist/chunk-LO6OYUDE.js +0 -158
  450. package/dist/chunk-LO6OYUDE.js.map +0 -7
  451. package/dist/chunk-LRZ463XM.js +0 -612
  452. package/dist/chunk-LRZ463XM.js.map +0 -7
  453. package/dist/chunk-MQQRTH4U.js +0 -302
  454. package/dist/chunk-NPEQHLVG.js +0 -158
  455. package/dist/chunk-NPTHYZY4.js +0 -205
  456. package/dist/chunk-NZDQV7ZO.js +0 -50
  457. package/dist/chunk-O7Z7SQCS.js +0 -534
  458. package/dist/chunk-OSWTQVAX.js +0 -477
  459. package/dist/chunk-OY4NTIUQ.js +0 -1272
  460. package/dist/chunk-OY4NTIUQ.js.map +0 -7
  461. package/dist/chunk-PKDJVK2F.js +0 -381
  462. package/dist/chunk-PSQETQZZ.js +0 -182
  463. package/dist/chunk-QWOZ2QDM.js +0 -386
  464. package/dist/chunk-QZVCFDJ7.js +0 -736
  465. package/dist/chunk-R4BCNWKE.js +0 -54
  466. package/dist/chunk-RRWP2LM4.js +0 -143
  467. package/dist/chunk-S6H6OUOA.js +0 -283
  468. package/dist/chunk-S6OIEQXG.js +0 -443
  469. package/dist/chunk-SDMZUHN7.js +0 -482
  470. package/dist/chunk-SKZ37PND.js +0 -129
  471. package/dist/chunk-STQU7XZV.js +0 -1814
  472. package/dist/chunk-STQU7XZV.js.map +0 -7
  473. package/dist/chunk-SY63VCQB.js +0 -95
  474. package/dist/chunk-TEQ2PC7Z.js +0 -100
  475. package/dist/chunk-TRY57CMI.js +0 -148
  476. package/dist/chunk-TXJTOTIQ.js +0 -1102
  477. package/dist/chunk-UK3PTE3P.js +0 -20752
  478. package/dist/chunk-UK3PTE3P.js.map +0 -7
  479. package/dist/chunk-UT2PKKQ4.js +0 -254
  480. package/dist/chunk-VDPQ2ZV2.js +0 -95
  481. package/dist/chunk-VJH3NP42.js +0 -54
  482. package/dist/chunk-W3LVNVG3.js +0 -272
  483. package/dist/chunk-WC62ZAWT.js +0 -293
  484. package/dist/chunk-WKMZ4ZQ3.js +0 -407
  485. package/dist/chunk-WKMZ4ZQ3.js.map +0 -7
  486. package/dist/chunk-X27TRPIZ.js +0 -119
  487. package/dist/chunk-XIIAQQ4T.js +0 -1179
  488. package/dist/chunk-XIIAQQ4T.js.map +0 -7
  489. package/dist/chunk-XOCO3LVN.js +0 -317
  490. package/dist/chunk-XOCO3LVN.js.map +0 -7
  491. package/dist/chunk-XUFWJJM5.js +0 -454
  492. package/dist/chunk-XUFWJJM5.js.map +0 -7
  493. package/dist/chunk-Y2Z4XDHA.js +0 -170
  494. package/dist/chunk-YFKJ2TMX.js +0 -194
  495. package/dist/chunk-YPVFTNLG.js +0 -228
  496. package/dist/chunk-YPVFTNLG.js.map +0 -7
  497. package/dist/condition-XKEW2LCM.js +0 -332
  498. package/dist/controls-4RFWTHFH.js +0 -41
  499. package/dist/controls.btns-3QQ5FOKQ.js +0 -9
  500. package/dist/controls.config-VHH2IGCI.js +0 -39
  501. package/dist/correlation-HGAMIIPH.js +0 -99
  502. package/dist/correlation-HGAMIIPH.js.map +0 -7
  503. package/dist/cuminc-EHW6IH6V.js +0 -1149
  504. package/dist/cuminc.integration.spec-B3EOIE4K.js +0 -678
  505. package/dist/customdata.inputui-IPJHL7BX.js +0 -289
  506. package/dist/dataDownload-GYFEC6XG.js +0 -330
  507. package/dist/dataDownload.integration.spec-V7WQ6AMV.js +0 -193
  508. package/dist/databrowser.ui-TFAJVFFF.js +0 -433
  509. package/dist/dictionary-2ZSMOJCN.js +0 -111
  510. package/dist/dnaMethylation-RHNO5DAC.js +0 -38
  511. package/dist/dnaMethylation.integration.spec-ET7OLMNC.js +0 -203
  512. package/dist/dofetch-UGCQ3OVW.js +0 -51
  513. package/dist/e2pca-SLRCDKF5.js +0 -350
  514. package/dist/ep-FOFTKVBH.js +0 -1256
  515. package/dist/expclust.gdc.spec-FNOOSLCC.js +0 -307
  516. package/dist/facet-UO5A7AGS.js +0 -521
  517. package/dist/forms2-SFV4HHBA.js +0 -534
  518. package/dist/gb-3KR6MAGB.js +0 -88
  519. package/dist/geneExpClustering-BCDXKSNU.js +0 -249
  520. package/dist/geneExpression-5UPKETEZ.js +0 -313
  521. package/dist/geneExpression-CXQ5HFEP.js +0 -38
  522. package/dist/geneExpression.unit.spec-7FVVD4UF.js +0 -102
  523. package/dist/geneORA-UC45CL2U.js +0 -278
  524. package/dist/geneRanking-OOQWVUIG.js +0 -551
  525. package/dist/geneVariant-BQFB7LKZ.js +0 -39
  526. package/dist/geneVariant-BYN7EWTT.js +0 -41
  527. package/dist/geneVariant.integration.spec-OESHXKBV.js +0 -198
  528. package/dist/genefusion.ui-TOSPIGTE.js +0 -309
  529. package/dist/geneset-57DECCND.js +0 -208
  530. package/dist/genomeBrowser.spec-CQP5JG35.js +0 -281
  531. package/dist/grin2-3RDGRV4Z.js +0 -846
  532. package/dist/grin2-3RDGRV4Z.js.map +0 -7
  533. package/dist/grin2-G4MBI5UC.js +0 -1560
  534. package/dist/gsea-VYAXSBM4.js +0 -47
  535. package/dist/hierCluster-4QKMY7GP.js +0 -59
  536. package/dist/hierCluster-GFPFVB3Q.js +0 -63
  537. package/dist/hierCluster.config-3A24DEKA.js +0 -40
  538. package/dist/hierCluster.integration.spec-6NTJYVN4.js +0 -395
  539. package/dist/hierCluster.interactivity-B2T6WS5R.js +0 -54
  540. package/dist/hierCluster.renderers-R3RLK6BI.js +0 -21
  541. package/dist/imagePlot-YZBZRENG.js +0 -163
  542. package/dist/importPlot-LIXKD3WJ.js +0 -8
  543. package/dist/isoformExpression-ZZ5DL6AE.js +0 -40
  544. package/dist/isoformExpression.unit.spec-IH4247TT.js +0 -208
  545. package/dist/launch.adhoc-3YWVAF7R.js +0 -42
  546. package/dist/leftlabel.sample-XFM45ZKO.js +0 -260
  547. package/dist/lollipop-7K5R5KHB.js +0 -171
  548. package/dist/maf-SQVJHNUY.js +0 -452
  549. package/dist/maftimeline-RCPASNN2.js +0 -593
  550. package/dist/matrix-KHTDB56P.js +0 -63
  551. package/dist/matrix-YTHWIMBP.js +0 -58
  552. package/dist/matrix.cells-KNDVYI2S.js +0 -28
  553. package/dist/matrix.config-6BHBCTXE.js +0 -41
  554. package/dist/matrix.data-VWJQ7N4L.js +0 -25
  555. package/dist/matrix.dom-2SU4EYLI.js +0 -11
  556. package/dist/matrix.groups-5AUHEO52.js +0 -27
  557. package/dist/matrix.integration.spec-Q2BXNCUO.js +0 -3072
  558. package/dist/matrix.interactivity-FEEWY34M.js +0 -42
  559. package/dist/matrix.layout-FWWM6QQO.js +0 -44
  560. package/dist/matrix.legend-QT3PMREX.js +0 -22
  561. package/dist/matrix.renderers-M6MJO5IU.js +0 -38
  562. package/dist/matrix.serieses-NTKMKT22.js +0 -21
  563. package/dist/matrix.sort-TTHPJ4XC.js +0 -27
  564. package/dist/matrix.sort.unit.spec-XZI2KPNC.js +0 -472
  565. package/dist/matrix.sorterUi-FFLYKBGC.js +0 -18
  566. package/dist/matrix.sorterUi.unit.spec-6FVHTGSN.js +0 -342
  567. package/dist/mavb-FZDN27QY.js +0 -732
  568. package/dist/mds.fimo-SSFKQ3BH.js +0 -518
  569. package/dist/mds.samplescatterplot-BMTTX3TB.js +0 -1550
  570. package/dist/mds.survivalplot-PL75RDYI.js +0 -483
  571. package/dist/numericDictTermCluster-NJUXCQYH.js +0 -72
  572. package/dist/oncomatrix-BZDCCEWH.js +0 -295
  573. package/dist/oncomatrix.spec-5A4A4JLV.js +0 -448
  574. package/dist/plot.2dvaf-AC7LW56S.js +0 -377
  575. package/dist/plot.app-DOOWDQ3U.js +0 -41
  576. package/dist/plot.barplot-RNJWREG5.js +0 -102
  577. package/dist/plot.boxplot-CRAEUBQF.js +0 -152
  578. package/dist/plot.brainImaging-ZESEULN6.js +0 -51
  579. package/dist/plot.disco-B4KBP6RK.js +0 -102
  580. package/dist/plot.dzi-2UMRV6IF.js +0 -33
  581. package/dist/plot.ssgq-FVZ27Z2K.js +0 -139
  582. package/dist/plot.vaf2cov-3OXCIEAX.js +0 -259
  583. package/dist/plot.wsi-UKTLZSYW.js +0 -36
  584. package/dist/polar2-D6T34ONJ.js +0 -226
  585. package/dist/polar2-D6T34ONJ.js.map +0 -7
  586. package/dist/profileForms-SBNPRIFT.js +0 -441
  587. package/dist/profilePlot-PPI4IDP4.js +0 -54
  588. package/dist/proteinView-URQEZSH5.js +0 -1320
  589. package/dist/proteinView-URQEZSH5.js.map +0 -7
  590. package/dist/qualitative-4O6KAGEA.js +0 -43
  591. package/dist/radar2-ICKCJY4T.js +0 -321
  592. package/dist/radarFacility2-HEBBSM3T.js +0 -329
  593. package/dist/regression-YFQJE2EP.js +0 -56
  594. package/dist/regression.inputs-A2JVBVZ7.js +0 -48
  595. package/dist/regression.inputs.term-CTVNS5MO.js +0 -48
  596. package/dist/regression.inputs.values.table-X7SI6EDO.js +0 -45
  597. package/dist/regression.integration.spec-NRDEVBWS.js +0 -784
  598. package/dist/regression.results-XVB6CIGW.js +0 -40
  599. package/dist/regression.spec-TNB5HBY5.js +0 -708
  600. package/dist/report-5VDIBC2W.js +0 -222
  601. package/dist/sampleScatter.spec-XDW7SCYA.js +0 -202
  602. package/dist/sampleView-FLUSGZCM.js +0 -48
  603. package/dist/samplelst-4WPG5UBN.js +0 -111
  604. package/dist/samplematrix-YJGMSXUJ.js +0 -2198
  605. package/dist/sc-DHU5KSEJ.js +0 -86
  606. package/dist/scatter-UZMWX3DU.js +0 -854
  607. package/dist/scatter-UZMWX3DU.js.map +0 -7
  608. package/dist/scatter.integration.spec-YX5OC3L2.js +0 -1196
  609. package/dist/scatter.integration.spec-YX5OC3L2.js.map +0 -7
  610. package/dist/selectGenomeWithTklst-BVBMVRMQ.js +0 -134
  611. package/dist/singleCellCellType-DADK5UKZ.js +0 -38
  612. package/dist/singleCellCellType.unit.spec-X25RMBJ3.js +0 -160
  613. package/dist/singleCellGeneExpression-3UEZWI4E.js +0 -38
  614. package/dist/singleCellGeneExpression.unit.spec-5GU3JWE6.js +0 -153
  615. package/dist/singleCellPlot-TFRZG73T.js +0 -54
  616. package/dist/singlecell-HQH6EWJO.js +0 -1572
  617. package/dist/singlecell-KR6JYFAY.js +0 -86
  618. package/dist/snp-ACIZ7D5X.js +0 -38
  619. package/dist/snp.unit.spec-653HGJBM.js +0 -176
  620. package/dist/snplocus-AH6KJCVN.js +0 -208
  621. package/dist/spliceevent.a53ss.diagram-MKJLJDOG.js +0 -151
  622. package/dist/spliceevent.exonskip.diagram-PSEVCDH4.js +0 -277
  623. package/dist/spliceevent.noeventdiagram-T2LHGFN7.js +0 -460
  624. package/dist/ssGSEA-QFMYBITZ.js +0 -38
  625. package/dist/ssGSEA.unit.spec-SQW7KFWE.js +0 -88
  626. package/dist/stattable-QDIUQCMG.js +0 -90
  627. package/dist/summarizeCnvGeneexp-EVRTBY3L.js +0 -163
  628. package/dist/summarizeGeneexpSurvival-O3MGRS6K.js +0 -108
  629. package/dist/summarizeMutationCnv-RZ2DZ2XO.js +0 -164
  630. package/dist/summarizeMutationDiagnosis-V2DISQTC.js +0 -40
  631. package/dist/summarizeMutationSurvival-FTTWJBUG.js +0 -99
  632. package/dist/summary-QKBTZINC.js +0 -49
  633. package/dist/summary.integration.spec-54HA7BC2.js +0 -414
  634. package/dist/summaryInput-4RLZT6RW.js +0 -235
  635. package/dist/sunburst-SMKD45XD.js +0 -284
  636. package/dist/survival-BAW5ME6J.js +0 -46
  637. package/dist/survival-YQNA3WP7.js +0 -58
  638. package/dist/survival.integration.spec-2AHXNMH2.js +0 -821
  639. package/dist/svgraph-5Z7VAIVR.js +0 -1387
  640. package/dist/svmr-PHD76RV4.js +0 -3842
  641. package/dist/table-GMRAOIWZ.js +0 -200
  642. package/dist/termCollection-MEBY34TJ.js +0 -179
  643. package/dist/termCollection-QLKTRXUR.js +0 -38
  644. package/dist/termCollection.unit.spec-6B53SW2Q.js +0 -208
  645. package/dist/termInfo-2Z4V2QLE.js +0 -9
  646. package/dist/tk-X46SEOL7.js +0 -46
  647. package/dist/tp.ui-XV7CL7CA.js +0 -1459
  648. package/dist/tvs.dt-U6SIZTXW.js +0 -39
  649. package/dist/tvs.dtcnv.categorical-6YGEKMHW.js +0 -40
  650. package/dist/tvs.dtcnv.continuous-CQFEENBO.js +0 -72
  651. package/dist/tvs.dtfusion-NOBT2JPI.js +0 -40
  652. package/dist/tvs.dtsnvindel-6GTCSVAV.js +0 -40
  653. package/dist/tvs.dtsv-PMI4YVI5.js +0 -40
  654. package/dist/tvs.samplelst-HVNYKHXG.js +0 -104
  655. package/dist/tvs.termCollection-EWGTT75Z.js +0 -159
  656. package/dist/violin-MKWRB25Z.js +0 -46
  657. package/dist/violin.integration.spec-CNWJ43SD.js +0 -1425
  658. package/dist/violin.interactivity-UXOMTGSD.js +0 -38
  659. package/dist/violin.renderer-67Q6YGYQ.js +0 -40
  660. package/dist/vocabulary-AKXE7SNU.js +0 -41
  661. /package/dist/{2dmaf-ZCIOFNSJ.js.map → 2dmaf-V4WJ2LEK.js.map} +0 -0
  662. /package/dist/{AIProjectAdmin-Z7EA2Y74.js.map → AIProjectAdmin-JMN5O6YU.js.map} +0 -0
  663. /package/dist/{AppHeader-4AZ76NN3.js.map → AppHeader-Y4SEKCEF.js.map} +0 -0
  664. /package/dist/{CorrelationVolcano-L5VSJWJF.js.map → CorrelationVolcano-R5IWD6WA.js.map} +0 -0
  665. /package/dist/{DE-7TPZWAKI.js.map → DE-ZV6O7B6Y.js.map} +0 -0
  666. /package/dist/{DEinput-WQJEXWGY.js.map → DEinput-FTOALZKN.js.map} +0 -0
  667. /package/dist/{DifferentialAnalysis-FPG7RDNN.js.map → DifferentialAnalysis-NLCA766A.js.map} +0 -0
  668. /package/dist/{Disco-WP2BBL5V.js.map → Disco-Y5Z4A7GN.js.map} +0 -0
  669. /package/dist/{Disco.UI-ZYSUA57E.js.map → Disco.UI-GSWZYIUT.js.map} +0 -0
  670. /package/dist/{DmrPlot-V3E7JMPN.js.map → DmrPlot-FEFUCIGT.js.map} +0 -0
  671. /package/dist/{DziViewer-ZHAPJ457.js.map → DziViewer-6737GC22.js.map} +0 -0
  672. /package/dist/{GB-BKLVGYWP.js.map → GB-AOXF2JJB.js.map} +0 -0
  673. /package/dist/{GeneExpInput-7V72SRDT.js.map → GeneExpInput-CXYRKQU7.js.map} +0 -0
  674. /package/dist/{HicApp-IT5YNABL.js.map → HicApp-GLNNZ4H5.js.map} +0 -0
  675. /package/dist/{NumBinaryEditor.unit.spec-C3WVAXMY.js.map → NumBinaryEditor.unit.spec-3VTJLILH.js.map} +0 -0
  676. /package/dist/{NumContEditor.unit.spec-4IGP657P.js.map → NumContEditor.unit.spec-WIMYCOVO.js.map} +0 -0
  677. /package/dist/{NumCustomBinEditor-QC4D63Y5.js.map → NumCustomBinEditor-XIOAYWOD.js.map} +0 -0
  678. /package/dist/{NumCustomBinEditor.unit.spec-USLECMWI.js.map → NumCustomBinEditor.unit.spec-N5OV6MKR.js.map} +0 -0
  679. /package/dist/{NumDiscreteEditor-PRAI76XQ.js.map → NumDiscreteEditor-AT6FKYGI.js.map} +0 -0
  680. /package/dist/{NumDiscreteEditor.unit.spec-IWL3OCTC.js.map → NumDiscreteEditor.unit.spec-BDR5GZ46.js.map} +0 -0
  681. /package/dist/{NumRegularBinEditor-ESL2HAD7.js.map → NumRegularBinEditor-Z4NBS4VZ.js.map} +0 -0
  682. /package/dist/{NumRegularBinEditor.unit.spec-7LLZAW4Z.js.map → NumRegularBinEditor.unit.spec-BRWYNQ55.js.map} +0 -0
  683. /package/dist/{NumSplineEditor.unit.spec-3SHSXTC7.js.map → NumSplineEditor.unit.spec-5RDBCZ4N.js.map} +0 -0
  684. /package/dist/{NumericDensity-SGYRBDCQ.js.map → NumericDensity-L7HIVV7D.js.map} +0 -0
  685. /package/dist/{NumericDensity.unit.spec-Y6JMH6IR.js.map → NumericDensity.unit.spec-PL3XDJCV.js.map} +0 -0
  686. /package/dist/{NumericHandler-YG7AMINA.js.map → NumericHandler-KJYZOCCG.js.map} +0 -0
  687. /package/dist/{NumericHandler.unit.spec-CABSMERN.js.map → NumericHandler.unit.spec-VC7NPLJW.js.map} +0 -0
  688. /package/dist/{ProteomeInput-2WPCK72Z.js.map → ProteomeInput-A3GRPIAH.js.map} +0 -0
  689. /package/dist/{RunChart2-PJWMDWJR.js.map → RunChart2-MSNU3ZNT.js.map} +0 -0
  690. /package/dist/{SC-WVVUFPNU.js.map → SC-FNKG2FK5.js.map} +0 -0
  691. /package/dist/{Volcano-7JI4LUSF.js.map → Volcano-IRJMPHXJ.js.map} +0 -0
  692. /package/dist/{WSIViewer-GDSOEEA6.js.map → WSIViewer-KITT7I67.js.map} +0 -0
  693. /package/dist/{WsiSamplesPlot-Z5C3NPF7.js.map → WsiSamplesPlot-G3YZ6SIE.js.map} +0 -0
  694. /package/dist/{adSandbox-KQKENDNQ.js.map → adSandbox-GIQTJ4VA.js.map} +0 -0
  695. /package/dist/{app-4OEY56FN.js.map → app-MGNEMS2K.js.map} +0 -0
  696. /package/dist/{app-TGMYXJ4E.js.map → app-UQTHPQFD.js.map} +0 -0
  697. /package/dist/{bam-3IMX42G5.js.map → bam-5PROQBRT.js.map} +0 -0
  698. /package/dist/{barchart-44HOJWVS.js.map → barchart-BQYJ73Z4.js.map} +0 -0
  699. /package/dist/{barchart.data-CHNR4XL2.js.map → barchart.data-VFULOIHY.js.map} +0 -0
  700. /package/dist/{barchart.events-XW5OZ5MR.js.map → barchart.events-W2CIDD4B.js.map} +0 -0
  701. /package/dist/{barchart2-4NU7NWJZ.js.map → barchart2-V6W4UAFH.js.map} +0 -0
  702. /package/dist/{block-OYSZ2JXC.js.map → block-5V2FCT7Q.js.map} +0 -0
  703. /package/dist/{block.init-WSIQLW7A.js.map → block.init-43IUNDNB.js.map} +0 -0
  704. /package/dist/{block.mds.expressionrank-2KWOWDW4.js.map → block.mds.expressionrank-LI6MZPBE.js.map} +0 -0
  705. /package/dist/{block.mds.geneboxplot-6ZAD6A5K.js.map → block.mds.geneboxplot-673AIJMJ.js.map} +0 -0
  706. /package/dist/{block.mds.junction-VQDLHFNG.js.map → block.mds.junction-UWNVNV3X.js.map} +0 -0
  707. /package/dist/{block.mds.svcnv-7OIRG7DQ.js.map → block.mds.svcnv-Z5VFCUUE.js.map} +0 -0
  708. /package/dist/{block.svg-HXAIFHXM.js.map → block.svg-MGK4GWLL.js.map} +0 -0
  709. /package/dist/{block.tk.aicheck-GTGHCUEN.js.map → block.tk.aicheck-OFNDGG7Q.js.map} +0 -0
  710. /package/dist/{block.tk.ase-TAEE2ZHN.js.map → block.tk.ase-IDZQY7MW.js.map} +0 -0
  711. /package/dist/{block.tk.bam-6A26AZ7S.js.map → block.tk.bam-K7A2Q5NI.js.map} +0 -0
  712. /package/dist/{block.tk.bedgraphdot-6MYIVRBC.js.map → block.tk.bedgraphdot-PPTKCCPK.js.map} +0 -0
  713. /package/dist/{block.tk.bigwig.ui-GJ7JXRH3.js.map → block.tk.bigwig.ui-PI6EAU43.js.map} +0 -0
  714. /package/dist/{block.tk.hicstraw-3TCDZ2GM.js.map → block.tk.hicstraw-EZ2GS2K4.js.map} +0 -0
  715. /package/dist/{block.tk.junction-WDBIP7DK.js.map → block.tk.junction-4WSLQGSQ.js.map} +0 -0
  716. /package/dist/{block.tk.junction.textmatrixui-QOV3U7AN.js.map → block.tk.junction.textmatrixui-7EJUSVMB.js.map} +0 -0
  717. /package/dist/{block.tk.ld-GCPH66C3.js.map → block.tk.ld-KLVO7M37.js.map} +0 -0
  718. /package/dist/{block.tk.menu-YDAIYUGC.js.map → block.tk.menu-KZSL7BAR.js.map} +0 -0
  719. /package/dist/{block.tk.pgv-RWOZAUGA.js.map → block.tk.pgv-NYWGB4VH.js.map} +0 -0
  720. /package/dist/{brainImaging-ZAFU6U2Y.js.map → brainImaging-MTIIMJHW.js.map} +0 -0
  721. /package/dist/{chunk-S6OIEQXG.js.map → chunk-2NQLAH3L.js.map} +0 -0
  722. /package/dist/{chunk-DBFPAZG3.js.map → chunk-2Q6PBSPS.js.map} +0 -0
  723. /package/dist/{chunk-GERVYIL4.js.map → chunk-3D5GZIGG.js.map} +0 -0
  724. /package/dist/{chunk-DYVY7D67.js.map → chunk-3TPAIXNL.js.map} +0 -0
  725. /package/dist/{chunk-SY63VCQB.js.map → chunk-42EBECOD.js.map} +0 -0
  726. /package/dist/{chunk-IOQV2VX3.js.map → chunk-4B42QV34.js.map} +0 -0
  727. /package/dist/{chunk-RRWP2LM4.js.map → chunk-4KY4XKJV.js.map} +0 -0
  728. /package/dist/{chunk-TEQ2PC7Z.js.map → chunk-5SXCIKYV.js.map} +0 -0
  729. /package/dist/{chunk-SDMZUHN7.js.map → chunk-647P2I4Q.js.map} +0 -0
  730. /package/dist/{chunk-5YF3LGLX.js.map → chunk-67HSIHPP.js.map} +0 -0
  731. /package/dist/{chunk-TXJTOTIQ.js.map → chunk-6GZJCSA6.js.map} +0 -0
  732. /package/dist/{chunk-GS7SQKJT.js.map → chunk-7JEKUSEL.js.map} +0 -0
  733. /package/dist/{chunk-OSWTQVAX.js.map → chunk-BMO6KSVC.js.map} +0 -0
  734. /package/dist/{chunk-NZDQV7ZO.js.map → chunk-CKDC326M.js.map} +0 -0
  735. /package/dist/{chunk-DCJUDSRM.js.map → chunk-CRUBP5PT.js.map} +0 -0
  736. /package/dist/{chunk-S6H6OUOA.js.map → chunk-CW2Q5EA7.js.map} +0 -0
  737. /package/dist/{chunk-7YWFO7CJ.js.map → chunk-CYHUNQMS.js.map} +0 -0
  738. /package/dist/{chunk-HWVEN2MK.js.map → chunk-DHPLHIVP.js.map} +0 -0
  739. /package/dist/{chunk-PKDJVK2F.js.map → chunk-DWCVGCBX.js.map} +0 -0
  740. /package/dist/{chunk-G6WVVRDA.js.map → chunk-EIBNV236.js.map} +0 -0
  741. /package/dist/{chunk-5TKVUSMQ.js.map → chunk-EZ3WMXYT.js.map} +0 -0
  742. /package/dist/{chunk-QZVCFDJ7.js.map → chunk-F5QIZOPL.js.map} +0 -0
  743. /package/dist/{chunk-BLKF2SE6.js.map → chunk-F6N6JBZR.js.map} +0 -0
  744. /package/dist/{chunk-VJH3NP42.js.map → chunk-FXMHSVBS.js.map} +0 -0
  745. /package/dist/{chunk-3I7TUGLD.js.map → chunk-FZ63VOSX.js.map} +0 -0
  746. /package/dist/{chunk-DNM2DKYE.js.map → chunk-GMT2GNQY.js.map} +0 -0
  747. /package/dist/{chunk-5X6J6UAT.js.map → chunk-IIT367QZ.js.map} +0 -0
  748. /package/dist/{chunk-WC62ZAWT.js.map → chunk-IL5QT2FI.js.map} +0 -0
  749. /package/dist/{chunk-7JXLWRVZ.js.map → chunk-J6GLTYGJ.js.map} +0 -0
  750. /package/dist/{chunk-QWOZ2QDM.js.map → chunk-JEZIKGZI.js.map} +0 -0
  751. /package/dist/{chunk-L75HW457.js.map → chunk-JJOLDYSQ.js.map} +0 -0
  752. /package/dist/{chunk-JSEMZPAO.js.map → chunk-KSCJWPTJ.js.map} +0 -0
  753. /package/dist/{chunk-W3LVNVG3.js.map → chunk-LT5XPBIX.js.map} +0 -0
  754. /package/dist/{chunk-PSQETQZZ.js.map → chunk-MEGBYD4U.js.map} +0 -0
  755. /package/dist/{chunk-Y2Z4XDHA.js.map → chunk-MEY5OBDJ.js.map} +0 -0
  756. /package/dist/{chunk-TRY57CMI.js.map → chunk-NVX26LFC.js.map} +0 -0
  757. /package/dist/{chunk-34SAHEQU.js.map → chunk-O7NFSCEW.js.map} +0 -0
  758. /package/dist/{chunk-HONXMORI.js.map → chunk-P4QGOUDH.js.map} +0 -0
  759. /package/dist/{chunk-SKZ37PND.js.map → chunk-PGBKZ76Y.js.map} +0 -0
  760. /package/dist/{chunk-NPTHYZY4.js.map → chunk-PQNVPSQR.js.map} +0 -0
  761. /package/dist/{chunk-R4BCNWKE.js.map → chunk-PQZ3A27I.js.map} +0 -0
  762. /package/dist/{chunk-5GMXV4VC.js.map → chunk-QNMB7LYW.js.map} +0 -0
  763. /package/dist/{chunk-3L32ZXRS.js.map → chunk-RZGEKL77.js.map} +0 -0
  764. /package/dist/{chunk-NPEQHLVG.js.map → chunk-RZY34QRF.js.map} +0 -0
  765. /package/dist/{chunk-DVH6K2NP.js.map → chunk-SDACELDR.js.map} +0 -0
  766. /package/dist/{chunk-CA2AOIHR.js.map → chunk-UCLROZRF.js.map} +0 -0
  767. /package/dist/{chunk-IWMWT7O7.js.map → chunk-VMLSRKIB.js.map} +0 -0
  768. /package/dist/{chunk-O7Z7SQCS.js.map → chunk-VXKO2ONI.js.map} +0 -0
  769. /package/dist/{chunk-GKBMGKYN.js.map → chunk-WET4LPLO.js.map} +0 -0
  770. /package/dist/{chunk-UT2PKKQ4.js.map → chunk-WMELUFVS.js.map} +0 -0
  771. /package/dist/{chunk-X27TRPIZ.js.map → chunk-WS3NUPNV.js.map} +0 -0
  772. /package/dist/{chunk-I2RRWDYV.js.map → chunk-X63AAJGT.js.map} +0 -0
  773. /package/dist/{chunk-GRNZWYOJ.js.map → chunk-XVZ5UJWU.js.map} +0 -0
  774. /package/dist/{chunk-3JL2HBGE.js.map → chunk-YNBT4N6T.js.map} +0 -0
  775. /package/dist/{chunk-H5NNQO2V.js.map → chunk-YVCTEEVQ.js.map} +0 -0
  776. /package/dist/{chunk-76PGYH5J.js.map → chunk-YWZCJMHS.js.map} +0 -0
  777. /package/dist/{chunk-5ITQVR2P.js.map → chunk-Z3SC67OA.js.map} +0 -0
  778. /package/dist/{chunk-YFKJ2TMX.js.map → chunk-ZK226W6V.js.map} +0 -0
  779. /package/dist/{chunk-MQQRTH4U.js.map → chunk-ZLREFIZB.js.map} +0 -0
  780. /package/dist/{chunk-VDPQ2ZV2.js.map → chunk-ZX2ISBEF.js.map} +0 -0
  781. /package/dist/{condition-XKEW2LCM.js.map → condition-P2XD32QM.js.map} +0 -0
  782. /package/dist/{controls-4RFWTHFH.js.map → controls-FZUTJPKV.js.map} +0 -0
  783. /package/dist/{controls.btns-3QQ5FOKQ.js.map → controls.btns-AP67YWKW.js.map} +0 -0
  784. /package/dist/{controls.config-VHH2IGCI.js.map → controls.config-TEFY3NTE.js.map} +0 -0
  785. /package/dist/{cuminc-EHW6IH6V.js.map → cuminc-42GBJHD3.js.map} +0 -0
  786. /package/dist/{cuminc.integration.spec-B3EOIE4K.js.map → cuminc.integration.spec-BAY4JHVL.js.map} +0 -0
  787. /package/dist/{customdata.inputui-IPJHL7BX.js.map → customdata.inputui-IPM5K56K.js.map} +0 -0
  788. /package/dist/{dataDownload-GYFEC6XG.js.map → dataDownload-D7VCYBDT.js.map} +0 -0
  789. /package/dist/{dataDownload.integration.spec-V7WQ6AMV.js.map → dataDownload.integration.spec-SEBY2BIX.js.map} +0 -0
  790. /package/dist/{databrowser.ui-TFAJVFFF.js.map → databrowser.ui-5OC5MPZB.js.map} +0 -0
  791. /package/dist/{dictionary-2ZSMOJCN.js.map → dictionary-VVRWVLJX.js.map} +0 -0
  792. /package/dist/{dnaMethylation-RHNO5DAC.js.map → dnaMethylation-72IS3FRI.js.map} +0 -0
  793. /package/dist/{dnaMethylation.integration.spec-ET7OLMNC.js.map → dnaMethylation.integration.spec-U2LLSDGE.js.map} +0 -0
  794. /package/dist/{dofetch-UGCQ3OVW.js.map → dofetch-5ZRAQH5F.js.map} +0 -0
  795. /package/dist/{e2pca-SLRCDKF5.js.map → e2pca-AR6EKEJA.js.map} +0 -0
  796. /package/dist/{ep-FOFTKVBH.js.map → ep-JS5UUJQX.js.map} +0 -0
  797. /package/dist/{expclust.gdc.spec-FNOOSLCC.js.map → expclust.gdc.spec-73MGQ7RN.js.map} +0 -0
  798. /package/dist/{facet-UO5A7AGS.js.map → facet-AR3QKHCY.js.map} +0 -0
  799. /package/dist/{forms2-SFV4HHBA.js.map → forms2-UXEI7MUP.js.map} +0 -0
  800. /package/dist/{gb-3KR6MAGB.js.map → gb-RHDVYU2V.js.map} +0 -0
  801. /package/dist/{geneExpClustering-BCDXKSNU.js.map → geneExpClustering-L6KLCMPH.js.map} +0 -0
  802. /package/dist/{geneExpression-5UPKETEZ.js.map → geneExpression-GYT2XRE6.js.map} +0 -0
  803. /package/dist/{geneExpression-CXQ5HFEP.js.map → geneExpression-SKIU3NEP.js.map} +0 -0
  804. /package/dist/{geneExpression.unit.spec-7FVVD4UF.js.map → geneExpression.unit.spec-CWR6KDVK.js.map} +0 -0
  805. /package/dist/{geneORA-UC45CL2U.js.map → geneORA-C3TALK5P.js.map} +0 -0
  806. /package/dist/{geneRanking-OOQWVUIG.js.map → geneRanking-LLYLDPLV.js.map} +0 -0
  807. /package/dist/{geneVariant-BQFB7LKZ.js.map → geneVariant-PUSKBHPY.js.map} +0 -0
  808. /package/dist/{geneVariant-BYN7EWTT.js.map → geneVariant-YFMU6PHM.js.map} +0 -0
  809. /package/dist/{geneVariant.integration.spec-OESHXKBV.js.map → geneVariant.integration.spec-EJ5V46OQ.js.map} +0 -0
  810. /package/dist/{genefusion.ui-TOSPIGTE.js.map → genefusion.ui-XUHSKQKW.js.map} +0 -0
  811. /package/dist/{geneset-57DECCND.js.map → geneset-DEL5LXFZ.js.map} +0 -0
  812. /package/dist/{genomeBrowser.spec-CQP5JG35.js.map → genomeBrowser.spec-W5TVHOUJ.js.map} +0 -0
  813. /package/dist/{grin2-G4MBI5UC.js.map → grin2-FXAEGECD.js.map} +0 -0
  814. /package/dist/{gsea-VYAXSBM4.js.map → gsea-CNL6SHH5.js.map} +0 -0
  815. /package/dist/{hierCluster-4QKMY7GP.js.map → hierCluster-7V65PMIW.js.map} +0 -0
  816. /package/dist/{hierCluster-GFPFVB3Q.js.map → hierCluster-C44GHM4B.js.map} +0 -0
  817. /package/dist/{hierCluster.config-3A24DEKA.js.map → hierCluster.config-RU5JDPWM.js.map} +0 -0
  818. /package/dist/{hierCluster.integration.spec-6NTJYVN4.js.map → hierCluster.integration.spec-6YH5KE4H.js.map} +0 -0
  819. /package/dist/{hierCluster.interactivity-B2T6WS5R.js.map → hierCluster.interactivity-PK2L7BSW.js.map} +0 -0
  820. /package/dist/{hierCluster.renderers-R3RLK6BI.js.map → hierCluster.renderers-G3274UYA.js.map} +0 -0
  821. /package/dist/{imagePlot-YZBZRENG.js.map → imagePlot-5SEDMPBP.js.map} +0 -0
  822. /package/dist/{importPlot-LIXKD3WJ.js.map → importPlot-M3MKWRON.js.map} +0 -0
  823. /package/dist/{isoformExpression-ZZ5DL6AE.js.map → isoformExpression-PPMISWKT.js.map} +0 -0
  824. /package/dist/{isoformExpression.unit.spec-IH4247TT.js.map → isoformExpression.unit.spec-ENHCCQRZ.js.map} +0 -0
  825. /package/dist/{launch.adhoc-3YWVAF7R.js.map → launch.adhoc-XAG6H42J.js.map} +0 -0
  826. /package/dist/{leftlabel.sample-XFM45ZKO.js.map → leftlabel.sample-BSPCI6GR.js.map} +0 -0
  827. /package/dist/{lollipop-7K5R5KHB.js.map → lollipop-IZJ7E3YO.js.map} +0 -0
  828. /package/dist/{maf-SQVJHNUY.js.map → maf-54XWBQ73.js.map} +0 -0
  829. /package/dist/{maftimeline-RCPASNN2.js.map → maftimeline-3AJKAFS6.js.map} +0 -0
  830. /package/dist/{matrix-KHTDB56P.js.map → matrix-AJPMHUXG.js.map} +0 -0
  831. /package/dist/{matrix-YTHWIMBP.js.map → matrix-ZMXNOESU.js.map} +0 -0
  832. /package/dist/{matrix.cells-KNDVYI2S.js.map → matrix.cells-E3LEVA7U.js.map} +0 -0
  833. /package/dist/{matrix.config-6BHBCTXE.js.map → matrix.config-4WLSFMTY.js.map} +0 -0
  834. /package/dist/{matrix.data-VWJQ7N4L.js.map → matrix.data-WMOTOB6C.js.map} +0 -0
  835. /package/dist/{matrix.dom-2SU4EYLI.js.map → matrix.dom-F7AN3QGE.js.map} +0 -0
  836. /package/dist/{matrix.groups-5AUHEO52.js.map → matrix.groups-BGMZZ6CM.js.map} +0 -0
  837. /package/dist/{matrix.integration.spec-Q2BXNCUO.js.map → matrix.integration.spec-ENRPVB7R.js.map} +0 -0
  838. /package/dist/{matrix.interactivity-FEEWY34M.js.map → matrix.interactivity-IMWERCZF.js.map} +0 -0
  839. /package/dist/{matrix.layout-FWWM6QQO.js.map → matrix.layout-5DDZWLNX.js.map} +0 -0
  840. /package/dist/{matrix.legend-QT3PMREX.js.map → matrix.legend-RJAFOZHQ.js.map} +0 -0
  841. /package/dist/{matrix.renderers-M6MJO5IU.js.map → matrix.renderers-VFQZG5JP.js.map} +0 -0
  842. /package/dist/{matrix.serieses-NTKMKT22.js.map → matrix.serieses-GJWHSBG4.js.map} +0 -0
  843. /package/dist/{matrix.sort-TTHPJ4XC.js.map → matrix.sort-KIJENIT2.js.map} +0 -0
  844. /package/dist/{matrix.sort.unit.spec-XZI2KPNC.js.map → matrix.sort.unit.spec-ZA5DRNL6.js.map} +0 -0
  845. /package/dist/{matrix.sorterUi-FFLYKBGC.js.map → matrix.sorterUi-3KEDVLGW.js.map} +0 -0
  846. /package/dist/{matrix.sorterUi.unit.spec-6FVHTGSN.js.map → matrix.sorterUi.unit.spec-7TPOJ46U.js.map} +0 -0
  847. /package/dist/{mavb-FZDN27QY.js.map → mavb-73BXZ7MO.js.map} +0 -0
  848. /package/dist/{mds.fimo-SSFKQ3BH.js.map → mds.fimo-L7VVAOXQ.js.map} +0 -0
  849. /package/dist/{mds.samplescatterplot-BMTTX3TB.js.map → mds.samplescatterplot-6P75XEWB.js.map} +0 -0
  850. /package/dist/{mds.survivalplot-PL75RDYI.js.map → mds.survivalplot-GCVE7XGO.js.map} +0 -0
  851. /package/dist/{numericDictTermCluster-NJUXCQYH.js.map → numericDictTermCluster-OMXIURRD.js.map} +0 -0
  852. /package/dist/{oncomatrix-BZDCCEWH.js.map → oncomatrix-BFWV2IC4.js.map} +0 -0
  853. /package/dist/{oncomatrix.spec-5A4A4JLV.js.map → oncomatrix.spec-J6IAY3O6.js.map} +0 -0
  854. /package/dist/{plot.2dvaf-AC7LW56S.js.map → plot.2dvaf-ESJAB2F3.js.map} +0 -0
  855. /package/dist/{plot.app-DOOWDQ3U.js.map → plot.app-T7CQMBRV.js.map} +0 -0
  856. /package/dist/{plot.barplot-RNJWREG5.js.map → plot.barplot-HAWPMPPU.js.map} +0 -0
  857. /package/dist/{plot.boxplot-CRAEUBQF.js.map → plot.boxplot-4QUORFXY.js.map} +0 -0
  858. /package/dist/{plot.brainImaging-ZESEULN6.js.map → plot.brainImaging-HG6I3GJW.js.map} +0 -0
  859. /package/dist/{plot.disco-B4KBP6RK.js.map → plot.disco-LPH7F6YW.js.map} +0 -0
  860. /package/dist/{plot.dzi-2UMRV6IF.js.map → plot.dzi-DYAY4D4E.js.map} +0 -0
  861. /package/dist/{plot.ssgq-FVZ27Z2K.js.map → plot.ssgq-CF5VIGYJ.js.map} +0 -0
  862. /package/dist/{plot.vaf2cov-3OXCIEAX.js.map → plot.vaf2cov-7HZCKNK6.js.map} +0 -0
  863. /package/dist/{plot.wsi-UKTLZSYW.js.map → plot.wsi-MU6AXOWO.js.map} +0 -0
  864. /package/dist/{profileForms-SBNPRIFT.js.map → profileForms-TIT4JUEJ.js.map} +0 -0
  865. /package/dist/{profilePlot-PPI4IDP4.js.map → profilePlot-QFGRAZQA.js.map} +0 -0
  866. /package/dist/{qualitative-4O6KAGEA.js.map → qualitative-YWP4YUPF.js.map} +0 -0
  867. /package/dist/{radar2-ICKCJY4T.js.map → radar2-TKSHL54E.js.map} +0 -0
  868. /package/dist/{radarFacility2-HEBBSM3T.js.map → radarFacility2-FHRFLBLF.js.map} +0 -0
  869. /package/dist/{regression-YFQJE2EP.js.map → regression-5XG5LXP7.js.map} +0 -0
  870. /package/dist/{regression.inputs-A2JVBVZ7.js.map → regression.inputs-QHXK7ZYY.js.map} +0 -0
  871. /package/dist/{regression.inputs.term-CTVNS5MO.js.map → regression.inputs.term-YYO3CR2D.js.map} +0 -0
  872. /package/dist/{regression.inputs.values.table-X7SI6EDO.js.map → regression.inputs.values.table-3I2FCON2.js.map} +0 -0
  873. /package/dist/{regression.integration.spec-NRDEVBWS.js.map → regression.integration.spec-QVDGCKVT.js.map} +0 -0
  874. /package/dist/{regression.results-XVB6CIGW.js.map → regression.results-B7LVT2WG.js.map} +0 -0
  875. /package/dist/{regression.spec-TNB5HBY5.js.map → regression.spec-ISYKKQOM.js.map} +0 -0
  876. /package/dist/{report-5VDIBC2W.js.map → report-TF6Z3Y44.js.map} +0 -0
  877. /package/dist/{sampleScatter.spec-XDW7SCYA.js.map → sampleScatter.spec-2VW55XIZ.js.map} +0 -0
  878. /package/dist/{sampleView-FLUSGZCM.js.map → sampleView-DNNJRAMU.js.map} +0 -0
  879. /package/dist/{samplelst-4WPG5UBN.js.map → samplelst-726II3LN.js.map} +0 -0
  880. /package/dist/{samplematrix-YJGMSXUJ.js.map → samplematrix-TBPW4URH.js.map} +0 -0
  881. /package/dist/{sc-DHU5KSEJ.js.map → sc-GBYH3W4S.js.map} +0 -0
  882. /package/dist/{selectGenomeWithTklst-BVBMVRMQ.js.map → selectGenomeWithTklst-RCAYDV6D.js.map} +0 -0
  883. /package/dist/{singleCellCellType-DADK5UKZ.js.map → singleCellCellType-IQYCKUT6.js.map} +0 -0
  884. /package/dist/{singleCellCellType.unit.spec-X25RMBJ3.js.map → singleCellCellType.unit.spec-ZEWA2IFI.js.map} +0 -0
  885. /package/dist/{singleCellGeneExpression-3UEZWI4E.js.map → singleCellGeneExpression-STLTBXJQ.js.map} +0 -0
  886. /package/dist/{singleCellGeneExpression.unit.spec-5GU3JWE6.js.map → singleCellGeneExpression.unit.spec-W6FPS5ZU.js.map} +0 -0
  887. /package/dist/{singleCellPlot-TFRZG73T.js.map → singleCellPlot-7XH7NIL4.js.map} +0 -0
  888. /package/dist/{singlecell-KR6JYFAY.js.map → singlecell-IDZB2MXW.js.map} +0 -0
  889. /package/dist/{singlecell-HQH6EWJO.js.map → singlecell-JCXR7X5U.js.map} +0 -0
  890. /package/dist/{snp-ACIZ7D5X.js.map → snp-QOKI26PO.js.map} +0 -0
  891. /package/dist/{snp.unit.spec-653HGJBM.js.map → snp.unit.spec-DTPZAALW.js.map} +0 -0
  892. /package/dist/{snplocus-AH6KJCVN.js.map → snplocus-BKUJYANW.js.map} +0 -0
  893. /package/dist/{spliceevent.a53ss.diagram-MKJLJDOG.js.map → spliceevent.a53ss.diagram-4O54ORKZ.js.map} +0 -0
  894. /package/dist/{spliceevent.exonskip.diagram-PSEVCDH4.js.map → spliceevent.exonskip.diagram-KOIOS6IV.js.map} +0 -0
  895. /package/dist/{spliceevent.noeventdiagram-T2LHGFN7.js.map → spliceevent.noeventdiagram-YGUGQMVE.js.map} +0 -0
  896. /package/dist/{ssGSEA-QFMYBITZ.js.map → ssGSEA-UZMBIHVD.js.map} +0 -0
  897. /package/dist/{ssGSEA.unit.spec-SQW7KFWE.js.map → ssGSEA.unit.spec-4YO4E3T7.js.map} +0 -0
  898. /package/dist/{stattable-QDIUQCMG.js.map → stattable-MDABSW3F.js.map} +0 -0
  899. /package/dist/{summarizeCnvGeneexp-EVRTBY3L.js.map → summarizeCnvGeneexp-HV3DHIW4.js.map} +0 -0
  900. /package/dist/{summarizeGeneexpSurvival-O3MGRS6K.js.map → summarizeGeneexpSurvival-VGPRWYQ5.js.map} +0 -0
  901. /package/dist/{summarizeMutationCnv-RZ2DZ2XO.js.map → summarizeMutationCnv-N3JEB4DJ.js.map} +0 -0
  902. /package/dist/{summarizeMutationDiagnosis-V2DISQTC.js.map → summarizeMutationDiagnosis-6U4DBLG5.js.map} +0 -0
  903. /package/dist/{summarizeMutationSurvival-FTTWJBUG.js.map → summarizeMutationSurvival-S7NLAVEI.js.map} +0 -0
  904. /package/dist/{summary-QKBTZINC.js.map → summary-NPR56I4S.js.map} +0 -0
  905. /package/dist/{summary.integration.spec-54HA7BC2.js.map → summary.integration.spec-HWNJWLKT.js.map} +0 -0
  906. /package/dist/{summaryInput-4RLZT6RW.js.map → summaryInput-DO73NGDQ.js.map} +0 -0
  907. /package/dist/{sunburst-SMKD45XD.js.map → sunburst-MMXSGJSL.js.map} +0 -0
  908. /package/dist/{survival-YQNA3WP7.js.map → survival-7AIKFGV5.js.map} +0 -0
  909. /package/dist/{survival-BAW5ME6J.js.map → survival-UK332X6L.js.map} +0 -0
  910. /package/dist/{survival.integration.spec-2AHXNMH2.js.map → survival.integration.spec-YMTEKEGB.js.map} +0 -0
  911. /package/dist/{svgraph-5Z7VAIVR.js.map → svgraph-MLLAYO4A.js.map} +0 -0
  912. /package/dist/{svmr-PHD76RV4.js.map → svmr-PYW4PLT3.js.map} +0 -0
  913. /package/dist/{table-GMRAOIWZ.js.map → table-Y3ED2444.js.map} +0 -0
  914. /package/dist/{termCollection-QLKTRXUR.js.map → termCollection-3XVL75II.js.map} +0 -0
  915. /package/dist/{termCollection-MEBY34TJ.js.map → termCollection-VAB53YGO.js.map} +0 -0
  916. /package/dist/{termCollection.unit.spec-6B53SW2Q.js.map → termCollection.unit.spec-DYPWNVEZ.js.map} +0 -0
  917. /package/dist/{termInfo-2Z4V2QLE.js.map → termInfo-6MJDJSDW.js.map} +0 -0
  918. /package/dist/{tk-X46SEOL7.js.map → tk-GUGJYKJ2.js.map} +0 -0
  919. /package/dist/{tp.ui-XV7CL7CA.js.map → tp.ui-WGETBYJQ.js.map} +0 -0
  920. /package/dist/{tvs.dt-U6SIZTXW.js.map → tvs.dt-JWF4I3KY.js.map} +0 -0
  921. /package/dist/{tvs.dtcnv.categorical-6YGEKMHW.js.map → tvs.dtcnv.categorical-72Y5QMPL.js.map} +0 -0
  922. /package/dist/{tvs.dtcnv.continuous-CQFEENBO.js.map → tvs.dtcnv.continuous-73LHWTU5.js.map} +0 -0
  923. /package/dist/{tvs.dtfusion-NOBT2JPI.js.map → tvs.dtfusion-LP6HUMZU.js.map} +0 -0
  924. /package/dist/{tvs.dtsnvindel-6GTCSVAV.js.map → tvs.dtsnvindel-23N2CFZJ.js.map} +0 -0
  925. /package/dist/{tvs.dtsv-PMI4YVI5.js.map → tvs.dtsv-DILQVKYM.js.map} +0 -0
  926. /package/dist/{tvs.samplelst-HVNYKHXG.js.map → tvs.samplelst-GV4VSCRF.js.map} +0 -0
  927. /package/dist/{tvs.termCollection-EWGTT75Z.js.map → tvs.termCollection-KBDNXK7X.js.map} +0 -0
  928. /package/dist/{violin-MKWRB25Z.js.map → violin-TYUP7FB5.js.map} +0 -0
  929. /package/dist/{violin.integration.spec-CNWJ43SD.js.map → violin.integration.spec-ULRFK2A6.js.map} +0 -0
  930. /package/dist/{violin.interactivity-UXOMTGSD.js.map → violin.interactivity-2QZVQWQJ.js.map} +0 -0
  931. /package/dist/{violin.renderer-67Q6YGYQ.js.map → violin.renderer-HCDSN62Z.js.map} +0 -0
  932. /package/dist/{vocabulary-AKXE7SNU.js.map → vocabulary-I4CMPN2Z.js.map} +0 -0
@@ -0,0 +1,2786 @@
1
+ import {
2
+ addGeneSearchbox,
3
+ appear2 as appear,
4
+ newSandboxDiv,
5
+ sayerror,
6
+ tab_wait
7
+ } from "./chunk-L4TUTGTA.js";
8
+ import {
9
+ Menu
10
+ } from "./chunk-HYOEWQ5P.js";
11
+ import {
12
+ Tabs
13
+ } from "./chunk-HBW42TDT.js";
14
+ import {
15
+ dofetch,
16
+ dofetch3
17
+ } from "./chunk-6VKTEMFV.js";
18
+ import {
19
+ select_default
20
+ } from "./chunk-I6Y4O3RR.js";
21
+ import {
22
+ __commonJS,
23
+ __toESM
24
+ } from "./chunk-HFNDKYVF.js";
25
+
26
+ // ../node_modules/highlight.js/lib/core.js
27
+ var require_core = __commonJS({
28
+ "../node_modules/highlight.js/lib/core.js"(exports, module) {
29
+ var deepFreezeEs6 = { exports: {} };
30
+ function deepFreeze(obj) {
31
+ if (obj instanceof Map) {
32
+ obj.clear = obj.delete = obj.set = function() {
33
+ throw new Error("map is read-only");
34
+ };
35
+ } else if (obj instanceof Set) {
36
+ obj.add = obj.clear = obj.delete = function() {
37
+ throw new Error("set is read-only");
38
+ };
39
+ }
40
+ Object.freeze(obj);
41
+ Object.getOwnPropertyNames(obj).forEach(function(name) {
42
+ var prop = obj[name];
43
+ if (typeof prop == "object" && !Object.isFrozen(prop)) {
44
+ deepFreeze(prop);
45
+ }
46
+ });
47
+ return obj;
48
+ }
49
+ deepFreezeEs6.exports = deepFreeze;
50
+ deepFreezeEs6.exports.default = deepFreeze;
51
+ var deepFreeze$1 = deepFreezeEs6.exports;
52
+ var Response = class {
53
+ /**
54
+ * @param {CompiledMode} mode
55
+ */
56
+ constructor(mode) {
57
+ if (mode.data === void 0) mode.data = {};
58
+ this.data = mode.data;
59
+ this.isMatchIgnored = false;
60
+ }
61
+ ignoreMatch() {
62
+ this.isMatchIgnored = true;
63
+ }
64
+ };
65
+ function escapeHTML(value) {
66
+ return value.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;");
67
+ }
68
+ function inherit$1(original, ...objects) {
69
+ const result = /* @__PURE__ */ Object.create(null);
70
+ for (const key in original) {
71
+ result[key] = original[key];
72
+ }
73
+ objects.forEach(function(obj) {
74
+ for (const key in obj) {
75
+ result[key] = obj[key];
76
+ }
77
+ });
78
+ return (
79
+ /** @type {T} */
80
+ result
81
+ );
82
+ }
83
+ var SPAN_CLOSE = "</span>";
84
+ var emitsWrappingTags = (node) => {
85
+ return !!node.kind;
86
+ };
87
+ var expandScopeName = (name, { prefix }) => {
88
+ if (name.includes(".")) {
89
+ const pieces = name.split(".");
90
+ return [
91
+ `${prefix}${pieces.shift()}`,
92
+ ...pieces.map((x, i) => `${x}${"_".repeat(i + 1)}`)
93
+ ].join(" ");
94
+ }
95
+ return `${prefix}${name}`;
96
+ };
97
+ var HTMLRenderer = class {
98
+ /**
99
+ * Creates a new HTMLRenderer
100
+ *
101
+ * @param {Tree} parseTree - the parse tree (must support `walk` API)
102
+ * @param {{classPrefix: string}} options
103
+ */
104
+ constructor(parseTree, options) {
105
+ this.buffer = "";
106
+ this.classPrefix = options.classPrefix;
107
+ parseTree.walk(this);
108
+ }
109
+ /**
110
+ * Adds texts to the output stream
111
+ *
112
+ * @param {string} text */
113
+ addText(text) {
114
+ this.buffer += escapeHTML(text);
115
+ }
116
+ /**
117
+ * Adds a node open to the output stream (if needed)
118
+ *
119
+ * @param {Node} node */
120
+ openNode(node) {
121
+ if (!emitsWrappingTags(node)) return;
122
+ let scope = node.kind;
123
+ if (node.sublanguage) {
124
+ scope = `language-${scope}`;
125
+ } else {
126
+ scope = expandScopeName(scope, { prefix: this.classPrefix });
127
+ }
128
+ this.span(scope);
129
+ }
130
+ /**
131
+ * Adds a node close to the output stream (if needed)
132
+ *
133
+ * @param {Node} node */
134
+ closeNode(node) {
135
+ if (!emitsWrappingTags(node)) return;
136
+ this.buffer += SPAN_CLOSE;
137
+ }
138
+ /**
139
+ * returns the accumulated buffer
140
+ */
141
+ value() {
142
+ return this.buffer;
143
+ }
144
+ // helpers
145
+ /**
146
+ * Builds a span element
147
+ *
148
+ * @param {string} className */
149
+ span(className) {
150
+ this.buffer += `<span class="${className}">`;
151
+ }
152
+ };
153
+ var TokenTree = class _TokenTree {
154
+ constructor() {
155
+ this.rootNode = { children: [] };
156
+ this.stack = [this.rootNode];
157
+ }
158
+ get top() {
159
+ return this.stack[this.stack.length - 1];
160
+ }
161
+ get root() {
162
+ return this.rootNode;
163
+ }
164
+ /** @param {Node} node */
165
+ add(node) {
166
+ this.top.children.push(node);
167
+ }
168
+ /** @param {string} kind */
169
+ openNode(kind) {
170
+ const node = { kind, children: [] };
171
+ this.add(node);
172
+ this.stack.push(node);
173
+ }
174
+ closeNode() {
175
+ if (this.stack.length > 1) {
176
+ return this.stack.pop();
177
+ }
178
+ return void 0;
179
+ }
180
+ closeAllNodes() {
181
+ while (this.closeNode()) ;
182
+ }
183
+ toJSON() {
184
+ return JSON.stringify(this.rootNode, null, 4);
185
+ }
186
+ /**
187
+ * @typedef { import("./html_renderer").Renderer } Renderer
188
+ * @param {Renderer} builder
189
+ */
190
+ walk(builder) {
191
+ return this.constructor._walk(builder, this.rootNode);
192
+ }
193
+ /**
194
+ * @param {Renderer} builder
195
+ * @param {Node} node
196
+ */
197
+ static _walk(builder, node) {
198
+ if (typeof node === "string") {
199
+ builder.addText(node);
200
+ } else if (node.children) {
201
+ builder.openNode(node);
202
+ node.children.forEach((child) => this._walk(builder, child));
203
+ builder.closeNode(node);
204
+ }
205
+ return builder;
206
+ }
207
+ /**
208
+ * @param {Node} node
209
+ */
210
+ static _collapse(node) {
211
+ if (typeof node === "string") return;
212
+ if (!node.children) return;
213
+ if (node.children.every((el) => typeof el === "string")) {
214
+ node.children = [node.children.join("")];
215
+ } else {
216
+ node.children.forEach((child) => {
217
+ _TokenTree._collapse(child);
218
+ });
219
+ }
220
+ }
221
+ };
222
+ var TokenTreeEmitter = class extends TokenTree {
223
+ /**
224
+ * @param {*} options
225
+ */
226
+ constructor(options) {
227
+ super();
228
+ this.options = options;
229
+ }
230
+ /**
231
+ * @param {string} text
232
+ * @param {string} kind
233
+ */
234
+ addKeyword(text, kind) {
235
+ if (text === "") {
236
+ return;
237
+ }
238
+ this.openNode(kind);
239
+ this.addText(text);
240
+ this.closeNode();
241
+ }
242
+ /**
243
+ * @param {string} text
244
+ */
245
+ addText(text) {
246
+ if (text === "") {
247
+ return;
248
+ }
249
+ this.add(text);
250
+ }
251
+ /**
252
+ * @param {Emitter & {root: DataNode}} emitter
253
+ * @param {string} name
254
+ */
255
+ addSublanguage(emitter, name) {
256
+ const node = emitter.root;
257
+ node.kind = name;
258
+ node.sublanguage = true;
259
+ this.add(node);
260
+ }
261
+ toHTML() {
262
+ const renderer = new HTMLRenderer(this, this.options);
263
+ return renderer.value();
264
+ }
265
+ finalize() {
266
+ return true;
267
+ }
268
+ };
269
+ function source2(re) {
270
+ if (!re) return null;
271
+ if (typeof re === "string") return re;
272
+ return re.source;
273
+ }
274
+ function lookahead2(re) {
275
+ return concat2("(?=", re, ")");
276
+ }
277
+ function concat2(...args) {
278
+ const joined = args.map((x) => source2(x)).join("");
279
+ return joined;
280
+ }
281
+ function stripOptionsFromArgs(args) {
282
+ const opts = args[args.length - 1];
283
+ if (typeof opts === "object" && opts.constructor === Object) {
284
+ args.splice(args.length - 1, 1);
285
+ return opts;
286
+ } else {
287
+ return {};
288
+ }
289
+ }
290
+ function either(...args) {
291
+ const opts = stripOptionsFromArgs(args);
292
+ const joined = "(" + (opts.capture ? "" : "?:") + args.map((x) => source2(x)).join("|") + ")";
293
+ return joined;
294
+ }
295
+ function countMatchGroups(re) {
296
+ return new RegExp(re.toString() + "|").exec("").length - 1;
297
+ }
298
+ function startsWith(re, lexeme) {
299
+ const match = re && re.exec(lexeme);
300
+ return match && match.index === 0;
301
+ }
302
+ var BACKREF_RE = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
303
+ function _rewriteBackreferences(regexps, { joinWith }) {
304
+ let numCaptures = 0;
305
+ return regexps.map((regex) => {
306
+ numCaptures += 1;
307
+ const offset = numCaptures;
308
+ let re = source2(regex);
309
+ let out = "";
310
+ while (re.length > 0) {
311
+ const match = BACKREF_RE.exec(re);
312
+ if (!match) {
313
+ out += re;
314
+ break;
315
+ }
316
+ out += re.substring(0, match.index);
317
+ re = re.substring(match.index + match[0].length);
318
+ if (match[0][0] === "\\" && match[1]) {
319
+ out += "\\" + String(Number(match[1]) + offset);
320
+ } else {
321
+ out += match[0];
322
+ if (match[0] === "(") {
323
+ numCaptures++;
324
+ }
325
+ }
326
+ }
327
+ return out;
328
+ }).map((re) => `(${re})`).join(joinWith);
329
+ }
330
+ var MATCH_NOTHING_RE = /\b\B/;
331
+ var IDENT_RE2 = "[a-zA-Z]\\w*";
332
+ var UNDERSCORE_IDENT_RE = "[a-zA-Z_]\\w*";
333
+ var NUMBER_RE = "\\b\\d+(\\.\\d+)?";
334
+ var C_NUMBER_RE = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)";
335
+ var BINARY_NUMBER_RE = "\\b(0b[01]+)";
336
+ var RE_STARTERS_RE = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";
337
+ var SHEBANG = (opts = {}) => {
338
+ const beginShebang = /^#![ ]*\//;
339
+ if (opts.binary) {
340
+ opts.begin = concat2(
341
+ beginShebang,
342
+ /.*\b/,
343
+ opts.binary,
344
+ /\b.*/
345
+ );
346
+ }
347
+ return inherit$1({
348
+ scope: "meta",
349
+ begin: beginShebang,
350
+ end: /$/,
351
+ relevance: 0,
352
+ /** @type {ModeCallback} */
353
+ "on:begin": (m, resp) => {
354
+ if (m.index !== 0) resp.ignoreMatch();
355
+ }
356
+ }, opts);
357
+ };
358
+ var BACKSLASH_ESCAPE = {
359
+ begin: "\\\\[\\s\\S]",
360
+ relevance: 0
361
+ };
362
+ var APOS_STRING_MODE = {
363
+ scope: "string",
364
+ begin: "'",
365
+ end: "'",
366
+ illegal: "\\n",
367
+ contains: [BACKSLASH_ESCAPE]
368
+ };
369
+ var QUOTE_STRING_MODE = {
370
+ scope: "string",
371
+ begin: '"',
372
+ end: '"',
373
+ illegal: "\\n",
374
+ contains: [BACKSLASH_ESCAPE]
375
+ };
376
+ var PHRASAL_WORDS_MODE = {
377
+ begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
378
+ };
379
+ var COMMENT = function(begin, end, modeOptions = {}) {
380
+ const mode = inherit$1(
381
+ {
382
+ scope: "comment",
383
+ begin,
384
+ end,
385
+ contains: []
386
+ },
387
+ modeOptions
388
+ );
389
+ mode.contains.push({
390
+ scope: "doctag",
391
+ // hack to avoid the space from being included. the space is necessary to
392
+ // match here to prevent the plain text rule below from gobbling up doctags
393
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
394
+ end: /(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,
395
+ excludeBegin: true,
396
+ relevance: 0
397
+ });
398
+ const ENGLISH_WORD = either(
399
+ // list of common 1 and 2 letter words in English
400
+ "I",
401
+ "a",
402
+ "is",
403
+ "so",
404
+ "us",
405
+ "to",
406
+ "at",
407
+ "if",
408
+ "in",
409
+ "it",
410
+ "on",
411
+ // note: this is not an exhaustive list of contractions, just popular ones
412
+ /[A-Za-z]+['](d|ve|re|ll|t|s|n)/,
413
+ // contractions - can't we'd they're let's, etc
414
+ /[A-Za-z]+[-][a-z]+/,
415
+ // `no-way`, etc.
416
+ /[A-Za-z][a-z]{2,}/
417
+ // allow capitalized words at beginning of sentences
418
+ );
419
+ mode.contains.push(
420
+ {
421
+ // TODO: how to include ", (, ) without breaking grammars that use these for
422
+ // comment delimiters?
423
+ // begin: /[ ]+([()"]?([A-Za-z'-]{3,}|is|a|I|so|us|[tT][oO]|at|if|in|it|on)[.]?[()":]?([.][ ]|[ ]|\))){3}/
424
+ // ---
425
+ // this tries to find sequences of 3 english words in a row (without any
426
+ // "programming" type syntax) this gives us a strong signal that we've
427
+ // TRULY found a comment - vs perhaps scanning with the wrong language.
428
+ // It's possible to find something that LOOKS like the start of the
429
+ // comment - but then if there is no readable text - good chance it is a
430
+ // false match and not a comment.
431
+ //
432
+ // for a visual example please see:
433
+ // https://github.com/highlightjs/highlight.js/issues/2827
434
+ begin: concat2(
435
+ /[ ]+/,
436
+ // necessary to prevent us gobbling up doctags like /* @author Bob Mcgill */
437
+ "(",
438
+ ENGLISH_WORD,
439
+ /[.]?[:]?([.][ ]|[ ])/,
440
+ "){3}"
441
+ )
442
+ // look for 3 words in a row
443
+ }
444
+ );
445
+ return mode;
446
+ };
447
+ var C_LINE_COMMENT_MODE = COMMENT("//", "$");
448
+ var C_BLOCK_COMMENT_MODE = COMMENT("/\\*", "\\*/");
449
+ var HASH_COMMENT_MODE = COMMENT("#", "$");
450
+ var NUMBER_MODE = {
451
+ scope: "number",
452
+ begin: NUMBER_RE,
453
+ relevance: 0
454
+ };
455
+ var C_NUMBER_MODE = {
456
+ scope: "number",
457
+ begin: C_NUMBER_RE,
458
+ relevance: 0
459
+ };
460
+ var BINARY_NUMBER_MODE = {
461
+ scope: "number",
462
+ begin: BINARY_NUMBER_RE,
463
+ relevance: 0
464
+ };
465
+ var REGEXP_MODE = {
466
+ // this outer rule makes sure we actually have a WHOLE regex and not simply
467
+ // an expression such as:
468
+ //
469
+ // 3 / something
470
+ //
471
+ // (which will then blow up when regex's `illegal` sees the newline)
472
+ begin: /(?=\/[^/\n]*\/)/,
473
+ contains: [{
474
+ scope: "regexp",
475
+ begin: /\//,
476
+ end: /\/[gimuy]*/,
477
+ illegal: /\n/,
478
+ contains: [
479
+ BACKSLASH_ESCAPE,
480
+ {
481
+ begin: /\[/,
482
+ end: /\]/,
483
+ relevance: 0,
484
+ contains: [BACKSLASH_ESCAPE]
485
+ }
486
+ ]
487
+ }]
488
+ };
489
+ var TITLE_MODE = {
490
+ scope: "title",
491
+ begin: IDENT_RE2,
492
+ relevance: 0
493
+ };
494
+ var UNDERSCORE_TITLE_MODE = {
495
+ scope: "title",
496
+ begin: UNDERSCORE_IDENT_RE,
497
+ relevance: 0
498
+ };
499
+ var METHOD_GUARD = {
500
+ // excludes method names from keyword processing
501
+ begin: "\\.\\s*" + UNDERSCORE_IDENT_RE,
502
+ relevance: 0
503
+ };
504
+ var END_SAME_AS_BEGIN = function(mode) {
505
+ return Object.assign(
506
+ mode,
507
+ {
508
+ /** @type {ModeCallback} */
509
+ "on:begin": (m, resp) => {
510
+ resp.data._beginMatch = m[1];
511
+ },
512
+ /** @type {ModeCallback} */
513
+ "on:end": (m, resp) => {
514
+ if (resp.data._beginMatch !== m[1]) resp.ignoreMatch();
515
+ }
516
+ }
517
+ );
518
+ };
519
+ var MODES = /* @__PURE__ */ Object.freeze({
520
+ __proto__: null,
521
+ MATCH_NOTHING_RE,
522
+ IDENT_RE: IDENT_RE2,
523
+ UNDERSCORE_IDENT_RE,
524
+ NUMBER_RE,
525
+ C_NUMBER_RE,
526
+ BINARY_NUMBER_RE,
527
+ RE_STARTERS_RE,
528
+ SHEBANG,
529
+ BACKSLASH_ESCAPE,
530
+ APOS_STRING_MODE,
531
+ QUOTE_STRING_MODE,
532
+ PHRASAL_WORDS_MODE,
533
+ COMMENT,
534
+ C_LINE_COMMENT_MODE,
535
+ C_BLOCK_COMMENT_MODE,
536
+ HASH_COMMENT_MODE,
537
+ NUMBER_MODE,
538
+ C_NUMBER_MODE,
539
+ BINARY_NUMBER_MODE,
540
+ REGEXP_MODE,
541
+ TITLE_MODE,
542
+ UNDERSCORE_TITLE_MODE,
543
+ METHOD_GUARD,
544
+ END_SAME_AS_BEGIN
545
+ });
546
+ function skipIfHasPrecedingDot(match, response) {
547
+ const before = match.input[match.index - 1];
548
+ if (before === ".") {
549
+ response.ignoreMatch();
550
+ }
551
+ }
552
+ function scopeClassName(mode, _parent) {
553
+ if (mode.className !== void 0) {
554
+ mode.scope = mode.className;
555
+ delete mode.className;
556
+ }
557
+ }
558
+ function beginKeywords(mode, parent) {
559
+ if (!parent) return;
560
+ if (!mode.beginKeywords) return;
561
+ mode.begin = "\\b(" + mode.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)";
562
+ mode.__beforeBegin = skipIfHasPrecedingDot;
563
+ mode.keywords = mode.keywords || mode.beginKeywords;
564
+ delete mode.beginKeywords;
565
+ if (mode.relevance === void 0) mode.relevance = 0;
566
+ }
567
+ function compileIllegal(mode, _parent) {
568
+ if (!Array.isArray(mode.illegal)) return;
569
+ mode.illegal = either(...mode.illegal);
570
+ }
571
+ function compileMatch(mode, _parent) {
572
+ if (!mode.match) return;
573
+ if (mode.begin || mode.end) throw new Error("begin & end are not supported with match");
574
+ mode.begin = mode.match;
575
+ delete mode.match;
576
+ }
577
+ function compileRelevance(mode, _parent) {
578
+ if (mode.relevance === void 0) mode.relevance = 1;
579
+ }
580
+ var beforeMatchExt = (mode, parent) => {
581
+ if (!mode.beforeMatch) return;
582
+ if (mode.starts) throw new Error("beforeMatch cannot be used with starts");
583
+ const originalMode = Object.assign({}, mode);
584
+ Object.keys(mode).forEach((key) => {
585
+ delete mode[key];
586
+ });
587
+ mode.keywords = originalMode.keywords;
588
+ mode.begin = concat2(originalMode.beforeMatch, lookahead2(originalMode.begin));
589
+ mode.starts = {
590
+ relevance: 0,
591
+ contains: [
592
+ Object.assign(originalMode, { endsParent: true })
593
+ ]
594
+ };
595
+ mode.relevance = 0;
596
+ delete originalMode.beforeMatch;
597
+ };
598
+ var COMMON_KEYWORDS = [
599
+ "of",
600
+ "and",
601
+ "for",
602
+ "in",
603
+ "not",
604
+ "or",
605
+ "if",
606
+ "then",
607
+ "parent",
608
+ // common variable name
609
+ "list",
610
+ // common variable name
611
+ "value"
612
+ // common variable name
613
+ ];
614
+ var DEFAULT_KEYWORD_SCOPE = "keyword";
615
+ function compileKeywords(rawKeywords, caseInsensitive, scopeName = DEFAULT_KEYWORD_SCOPE) {
616
+ const compiledKeywords = /* @__PURE__ */ Object.create(null);
617
+ if (typeof rawKeywords === "string") {
618
+ compileList(scopeName, rawKeywords.split(" "));
619
+ } else if (Array.isArray(rawKeywords)) {
620
+ compileList(scopeName, rawKeywords);
621
+ } else {
622
+ Object.keys(rawKeywords).forEach(function(scopeName2) {
623
+ Object.assign(
624
+ compiledKeywords,
625
+ compileKeywords(rawKeywords[scopeName2], caseInsensitive, scopeName2)
626
+ );
627
+ });
628
+ }
629
+ return compiledKeywords;
630
+ function compileList(scopeName2, keywordList) {
631
+ if (caseInsensitive) {
632
+ keywordList = keywordList.map((x) => x.toLowerCase());
633
+ }
634
+ keywordList.forEach(function(keyword) {
635
+ const pair = keyword.split("|");
636
+ compiledKeywords[pair[0]] = [scopeName2, scoreForKeyword(pair[0], pair[1])];
637
+ });
638
+ }
639
+ }
640
+ function scoreForKeyword(keyword, providedScore) {
641
+ if (providedScore) {
642
+ return Number(providedScore);
643
+ }
644
+ return commonKeyword(keyword) ? 0 : 1;
645
+ }
646
+ function commonKeyword(keyword) {
647
+ return COMMON_KEYWORDS.includes(keyword.toLowerCase());
648
+ }
649
+ var seenDeprecations = {};
650
+ var error = (message) => {
651
+ console.error(message);
652
+ };
653
+ var warn = (message, ...args) => {
654
+ console.log(`WARN: ${message}`, ...args);
655
+ };
656
+ var deprecated = (version2, message) => {
657
+ if (seenDeprecations[`${version2}/${message}`]) return;
658
+ console.log(`Deprecated as of ${version2}. ${message}`);
659
+ seenDeprecations[`${version2}/${message}`] = true;
660
+ };
661
+ var MultiClassError = new Error();
662
+ function remapScopeNames(mode, regexes, { key }) {
663
+ let offset = 0;
664
+ const scopeNames = mode[key];
665
+ const emit = {};
666
+ const positions = {};
667
+ for (let i = 1; i <= regexes.length; i++) {
668
+ positions[i + offset] = scopeNames[i];
669
+ emit[i + offset] = true;
670
+ offset += countMatchGroups(regexes[i - 1]);
671
+ }
672
+ mode[key] = positions;
673
+ mode[key]._emit = emit;
674
+ mode[key]._multi = true;
675
+ }
676
+ function beginMultiClass(mode) {
677
+ if (!Array.isArray(mode.begin)) return;
678
+ if (mode.skip || mode.excludeBegin || mode.returnBegin) {
679
+ error("skip, excludeBegin, returnBegin not compatible with beginScope: {}");
680
+ throw MultiClassError;
681
+ }
682
+ if (typeof mode.beginScope !== "object" || mode.beginScope === null) {
683
+ error("beginScope must be object");
684
+ throw MultiClassError;
685
+ }
686
+ remapScopeNames(mode, mode.begin, { key: "beginScope" });
687
+ mode.begin = _rewriteBackreferences(mode.begin, { joinWith: "" });
688
+ }
689
+ function endMultiClass(mode) {
690
+ if (!Array.isArray(mode.end)) return;
691
+ if (mode.skip || mode.excludeEnd || mode.returnEnd) {
692
+ error("skip, excludeEnd, returnEnd not compatible with endScope: {}");
693
+ throw MultiClassError;
694
+ }
695
+ if (typeof mode.endScope !== "object" || mode.endScope === null) {
696
+ error("endScope must be object");
697
+ throw MultiClassError;
698
+ }
699
+ remapScopeNames(mode, mode.end, { key: "endScope" });
700
+ mode.end = _rewriteBackreferences(mode.end, { joinWith: "" });
701
+ }
702
+ function scopeSugar(mode) {
703
+ if (mode.scope && typeof mode.scope === "object" && mode.scope !== null) {
704
+ mode.beginScope = mode.scope;
705
+ delete mode.scope;
706
+ }
707
+ }
708
+ function MultiClass(mode) {
709
+ scopeSugar(mode);
710
+ if (typeof mode.beginScope === "string") {
711
+ mode.beginScope = { _wrap: mode.beginScope };
712
+ }
713
+ if (typeof mode.endScope === "string") {
714
+ mode.endScope = { _wrap: mode.endScope };
715
+ }
716
+ beginMultiClass(mode);
717
+ endMultiClass(mode);
718
+ }
719
+ function compileLanguage(language) {
720
+ function langRe(value, global) {
721
+ return new RegExp(
722
+ source2(value),
723
+ "m" + (language.case_insensitive ? "i" : "") + (global ? "g" : "")
724
+ );
725
+ }
726
+ class MultiRegex {
727
+ constructor() {
728
+ this.matchIndexes = {};
729
+ this.regexes = [];
730
+ this.matchAt = 1;
731
+ this.position = 0;
732
+ }
733
+ // @ts-ignore
734
+ addRule(re, opts) {
735
+ opts.position = this.position++;
736
+ this.matchIndexes[this.matchAt] = opts;
737
+ this.regexes.push([opts, re]);
738
+ this.matchAt += countMatchGroups(re) + 1;
739
+ }
740
+ compile() {
741
+ if (this.regexes.length === 0) {
742
+ this.exec = () => null;
743
+ }
744
+ const terminators = this.regexes.map((el) => el[1]);
745
+ this.matcherRe = langRe(_rewriteBackreferences(terminators, { joinWith: "|" }), true);
746
+ this.lastIndex = 0;
747
+ }
748
+ /** @param {string} s */
749
+ exec(s) {
750
+ this.matcherRe.lastIndex = this.lastIndex;
751
+ const match = this.matcherRe.exec(s);
752
+ if (!match) {
753
+ return null;
754
+ }
755
+ const i = match.findIndex((el, i2) => i2 > 0 && el !== void 0);
756
+ const matchData = this.matchIndexes[i];
757
+ match.splice(0, i);
758
+ return Object.assign(match, matchData);
759
+ }
760
+ }
761
+ class ResumableMultiRegex {
762
+ constructor() {
763
+ this.rules = [];
764
+ this.multiRegexes = [];
765
+ this.count = 0;
766
+ this.lastIndex = 0;
767
+ this.regexIndex = 0;
768
+ }
769
+ // @ts-ignore
770
+ getMatcher(index) {
771
+ if (this.multiRegexes[index]) return this.multiRegexes[index];
772
+ const matcher = new MultiRegex();
773
+ this.rules.slice(index).forEach(([re, opts]) => matcher.addRule(re, opts));
774
+ matcher.compile();
775
+ this.multiRegexes[index] = matcher;
776
+ return matcher;
777
+ }
778
+ resumingScanAtSamePosition() {
779
+ return this.regexIndex !== 0;
780
+ }
781
+ considerAll() {
782
+ this.regexIndex = 0;
783
+ }
784
+ // @ts-ignore
785
+ addRule(re, opts) {
786
+ this.rules.push([re, opts]);
787
+ if (opts.type === "begin") this.count++;
788
+ }
789
+ /** @param {string} s */
790
+ exec(s) {
791
+ const m = this.getMatcher(this.regexIndex);
792
+ m.lastIndex = this.lastIndex;
793
+ let result = m.exec(s);
794
+ if (this.resumingScanAtSamePosition()) {
795
+ if (result && result.index === this.lastIndex) ;
796
+ else {
797
+ const m2 = this.getMatcher(0);
798
+ m2.lastIndex = this.lastIndex + 1;
799
+ result = m2.exec(s);
800
+ }
801
+ }
802
+ if (result) {
803
+ this.regexIndex += result.position + 1;
804
+ if (this.regexIndex === this.count) {
805
+ this.considerAll();
806
+ }
807
+ }
808
+ return result;
809
+ }
810
+ }
811
+ function buildModeRegex(mode) {
812
+ const mm = new ResumableMultiRegex();
813
+ mode.contains.forEach((term) => mm.addRule(term.begin, { rule: term, type: "begin" }));
814
+ if (mode.terminatorEnd) {
815
+ mm.addRule(mode.terminatorEnd, { type: "end" });
816
+ }
817
+ if (mode.illegal) {
818
+ mm.addRule(mode.illegal, { type: "illegal" });
819
+ }
820
+ return mm;
821
+ }
822
+ function compileMode(mode, parent) {
823
+ const cmode = (
824
+ /** @type CompiledMode */
825
+ mode
826
+ );
827
+ if (mode.isCompiled) return cmode;
828
+ [
829
+ scopeClassName,
830
+ // do this early so compiler extensions generally don't have to worry about
831
+ // the distinction between match/begin
832
+ compileMatch,
833
+ MultiClass,
834
+ beforeMatchExt
835
+ ].forEach((ext) => ext(mode, parent));
836
+ language.compilerExtensions.forEach((ext) => ext(mode, parent));
837
+ mode.__beforeBegin = null;
838
+ [
839
+ beginKeywords,
840
+ // do this later so compiler extensions that come earlier have access to the
841
+ // raw array if they wanted to perhaps manipulate it, etc.
842
+ compileIllegal,
843
+ // default to 1 relevance if not specified
844
+ compileRelevance
845
+ ].forEach((ext) => ext(mode, parent));
846
+ mode.isCompiled = true;
847
+ let keywordPattern = null;
848
+ if (typeof mode.keywords === "object" && mode.keywords.$pattern) {
849
+ mode.keywords = Object.assign({}, mode.keywords);
850
+ keywordPattern = mode.keywords.$pattern;
851
+ delete mode.keywords.$pattern;
852
+ }
853
+ keywordPattern = keywordPattern || /\w+/;
854
+ if (mode.keywords) {
855
+ mode.keywords = compileKeywords(mode.keywords, language.case_insensitive);
856
+ }
857
+ cmode.keywordPatternRe = langRe(keywordPattern, true);
858
+ if (parent) {
859
+ if (!mode.begin) mode.begin = /\B|\b/;
860
+ cmode.beginRe = langRe(mode.begin);
861
+ if (!mode.end && !mode.endsWithParent) mode.end = /\B|\b/;
862
+ if (mode.end) cmode.endRe = langRe(mode.end);
863
+ cmode.terminatorEnd = source2(mode.end) || "";
864
+ if (mode.endsWithParent && parent.terminatorEnd) {
865
+ cmode.terminatorEnd += (mode.end ? "|" : "") + parent.terminatorEnd;
866
+ }
867
+ }
868
+ if (mode.illegal) cmode.illegalRe = langRe(
869
+ /** @type {RegExp | string} */
870
+ mode.illegal
871
+ );
872
+ if (!mode.contains) mode.contains = [];
873
+ mode.contains = [].concat(...mode.contains.map(function(c) {
874
+ return expandOrCloneMode(c === "self" ? mode : c);
875
+ }));
876
+ mode.contains.forEach(function(c) {
877
+ compileMode(
878
+ /** @type Mode */
879
+ c,
880
+ cmode
881
+ );
882
+ });
883
+ if (mode.starts) {
884
+ compileMode(mode.starts, parent);
885
+ }
886
+ cmode.matcher = buildModeRegex(cmode);
887
+ return cmode;
888
+ }
889
+ if (!language.compilerExtensions) language.compilerExtensions = [];
890
+ if (language.contains && language.contains.includes("self")) {
891
+ throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");
892
+ }
893
+ language.classNameAliases = inherit$1(language.classNameAliases || {});
894
+ return compileMode(
895
+ /** @type Mode */
896
+ language
897
+ );
898
+ }
899
+ function dependencyOnParent(mode) {
900
+ if (!mode) return false;
901
+ return mode.endsWithParent || dependencyOnParent(mode.starts);
902
+ }
903
+ function expandOrCloneMode(mode) {
904
+ if (mode.variants && !mode.cachedVariants) {
905
+ mode.cachedVariants = mode.variants.map(function(variant) {
906
+ return inherit$1(mode, { variants: null }, variant);
907
+ });
908
+ }
909
+ if (mode.cachedVariants) {
910
+ return mode.cachedVariants;
911
+ }
912
+ if (dependencyOnParent(mode)) {
913
+ return inherit$1(mode, { starts: mode.starts ? inherit$1(mode.starts) : null });
914
+ }
915
+ if (Object.isFrozen(mode)) {
916
+ return inherit$1(mode);
917
+ }
918
+ return mode;
919
+ }
920
+ var version = "11.2.0";
921
+ var escape = escapeHTML;
922
+ var inherit = inherit$1;
923
+ var NO_MATCH = Symbol("nomatch");
924
+ var MAX_KEYWORD_HITS = 7;
925
+ var HLJS = function(hljs2) {
926
+ const languages = /* @__PURE__ */ Object.create(null);
927
+ const aliases = /* @__PURE__ */ Object.create(null);
928
+ const plugins = [];
929
+ let SAFE_MODE = true;
930
+ const LANGUAGE_NOT_FOUND = "Could not find the language '{}', did you forget to load/include a language module?";
931
+ const PLAINTEXT_LANGUAGE = { disableAutodetect: true, name: "Plain text", contains: [] };
932
+ let options = {
933
+ ignoreUnescapedHTML: false,
934
+ noHighlightRe: /^(no-?highlight)$/i,
935
+ languageDetectRe: /\blang(?:uage)?-([\w-]+)\b/i,
936
+ classPrefix: "hljs-",
937
+ cssSelector: "pre code",
938
+ languages: null,
939
+ // beta configuration options, subject to change, welcome to discuss
940
+ // https://github.com/highlightjs/highlight.js/issues/1086
941
+ __emitter: TokenTreeEmitter
942
+ };
943
+ function shouldNotHighlight(languageName) {
944
+ return options.noHighlightRe.test(languageName);
945
+ }
946
+ function blockLanguage(block) {
947
+ let classes = block.className + " ";
948
+ classes += block.parentNode ? block.parentNode.className : "";
949
+ const match = options.languageDetectRe.exec(classes);
950
+ if (match) {
951
+ const language = getLanguage(match[1]);
952
+ if (!language) {
953
+ warn(LANGUAGE_NOT_FOUND.replace("{}", match[1]));
954
+ warn("Falling back to no-highlight mode for this block.", block);
955
+ }
956
+ return language ? match[1] : "no-highlight";
957
+ }
958
+ return classes.split(/\s+/).find((_class) => shouldNotHighlight(_class) || getLanguage(_class));
959
+ }
960
+ function highlight2(codeOrLanguageName, optionsOrCode, ignoreIllegals) {
961
+ let code = "";
962
+ let languageName = "";
963
+ if (typeof optionsOrCode === "object") {
964
+ code = codeOrLanguageName;
965
+ ignoreIllegals = optionsOrCode.ignoreIllegals;
966
+ languageName = optionsOrCode.language;
967
+ } else {
968
+ deprecated("10.7.0", "highlight(lang, code, ...args) has been deprecated.");
969
+ deprecated("10.7.0", "Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277");
970
+ languageName = codeOrLanguageName;
971
+ code = optionsOrCode;
972
+ }
973
+ if (ignoreIllegals === void 0) {
974
+ ignoreIllegals = true;
975
+ }
976
+ const context = {
977
+ code,
978
+ language: languageName
979
+ };
980
+ fire("before:highlight", context);
981
+ const result = context.result ? context.result : _highlight(context.language, context.code, ignoreIllegals);
982
+ result.code = context.code;
983
+ fire("after:highlight", result);
984
+ return result;
985
+ }
986
+ function _highlight(languageName, codeToHighlight, ignoreIllegals, continuation) {
987
+ const keywordHits = /* @__PURE__ */ Object.create(null);
988
+ function keywordData(mode, matchText) {
989
+ return mode.keywords[matchText];
990
+ }
991
+ function processKeywords() {
992
+ if (!top.keywords) {
993
+ emitter.addText(modeBuffer);
994
+ return;
995
+ }
996
+ let lastIndex = 0;
997
+ top.keywordPatternRe.lastIndex = 0;
998
+ let match = top.keywordPatternRe.exec(modeBuffer);
999
+ let buf = "";
1000
+ while (match) {
1001
+ buf += modeBuffer.substring(lastIndex, match.index);
1002
+ const word = language.case_insensitive ? match[0].toLowerCase() : match[0];
1003
+ const data = keywordData(top, word);
1004
+ if (data) {
1005
+ const [kind, keywordRelevance] = data;
1006
+ emitter.addText(buf);
1007
+ buf = "";
1008
+ keywordHits[word] = (keywordHits[word] || 0) + 1;
1009
+ if (keywordHits[word] <= MAX_KEYWORD_HITS) relevance += keywordRelevance;
1010
+ if (kind.startsWith("_")) {
1011
+ buf += match[0];
1012
+ } else {
1013
+ const cssClass = language.classNameAliases[kind] || kind;
1014
+ emitter.addKeyword(match[0], cssClass);
1015
+ }
1016
+ } else {
1017
+ buf += match[0];
1018
+ }
1019
+ lastIndex = top.keywordPatternRe.lastIndex;
1020
+ match = top.keywordPatternRe.exec(modeBuffer);
1021
+ }
1022
+ buf += modeBuffer.substr(lastIndex);
1023
+ emitter.addText(buf);
1024
+ }
1025
+ function processSubLanguage() {
1026
+ if (modeBuffer === "") return;
1027
+ let result2 = null;
1028
+ if (typeof top.subLanguage === "string") {
1029
+ if (!languages[top.subLanguage]) {
1030
+ emitter.addText(modeBuffer);
1031
+ return;
1032
+ }
1033
+ result2 = _highlight(top.subLanguage, modeBuffer, true, continuations[top.subLanguage]);
1034
+ continuations[top.subLanguage] = /** @type {CompiledMode} */
1035
+ result2._top;
1036
+ } else {
1037
+ result2 = highlightAuto(modeBuffer, top.subLanguage.length ? top.subLanguage : null);
1038
+ }
1039
+ if (top.relevance > 0) {
1040
+ relevance += result2.relevance;
1041
+ }
1042
+ emitter.addSublanguage(result2._emitter, result2.language);
1043
+ }
1044
+ function processBuffer() {
1045
+ if (top.subLanguage != null) {
1046
+ processSubLanguage();
1047
+ } else {
1048
+ processKeywords();
1049
+ }
1050
+ modeBuffer = "";
1051
+ }
1052
+ function emitMultiClass(scope, match) {
1053
+ let i = 1;
1054
+ while (match[i] !== void 0) {
1055
+ if (!scope._emit[i]) {
1056
+ i++;
1057
+ continue;
1058
+ }
1059
+ const klass = language.classNameAliases[scope[i]] || scope[i];
1060
+ const text = match[i];
1061
+ if (klass) {
1062
+ emitter.addKeyword(text, klass);
1063
+ } else {
1064
+ modeBuffer = text;
1065
+ processKeywords();
1066
+ modeBuffer = "";
1067
+ }
1068
+ i++;
1069
+ }
1070
+ }
1071
+ function startNewMode(mode, match) {
1072
+ if (mode.scope && typeof mode.scope === "string") {
1073
+ emitter.openNode(language.classNameAliases[mode.scope] || mode.scope);
1074
+ }
1075
+ if (mode.beginScope) {
1076
+ if (mode.beginScope._wrap) {
1077
+ emitter.addKeyword(modeBuffer, language.classNameAliases[mode.beginScope._wrap] || mode.beginScope._wrap);
1078
+ modeBuffer = "";
1079
+ } else if (mode.beginScope._multi) {
1080
+ emitMultiClass(mode.beginScope, match);
1081
+ modeBuffer = "";
1082
+ }
1083
+ }
1084
+ top = Object.create(mode, { parent: { value: top } });
1085
+ return top;
1086
+ }
1087
+ function endOfMode(mode, match, matchPlusRemainder) {
1088
+ let matched = startsWith(mode.endRe, matchPlusRemainder);
1089
+ if (matched) {
1090
+ if (mode["on:end"]) {
1091
+ const resp = new Response(mode);
1092
+ mode["on:end"](match, resp);
1093
+ if (resp.isMatchIgnored) matched = false;
1094
+ }
1095
+ if (matched) {
1096
+ while (mode.endsParent && mode.parent) {
1097
+ mode = mode.parent;
1098
+ }
1099
+ return mode;
1100
+ }
1101
+ }
1102
+ if (mode.endsWithParent) {
1103
+ return endOfMode(mode.parent, match, matchPlusRemainder);
1104
+ }
1105
+ }
1106
+ function doIgnore(lexeme) {
1107
+ if (top.matcher.regexIndex === 0) {
1108
+ modeBuffer += lexeme[0];
1109
+ return 1;
1110
+ } else {
1111
+ resumeScanAtSamePosition = true;
1112
+ return 0;
1113
+ }
1114
+ }
1115
+ function doBeginMatch(match) {
1116
+ const lexeme = match[0];
1117
+ const newMode = match.rule;
1118
+ const resp = new Response(newMode);
1119
+ const beforeCallbacks = [newMode.__beforeBegin, newMode["on:begin"]];
1120
+ for (const cb of beforeCallbacks) {
1121
+ if (!cb) continue;
1122
+ cb(match, resp);
1123
+ if (resp.isMatchIgnored) return doIgnore(lexeme);
1124
+ }
1125
+ if (newMode.skip) {
1126
+ modeBuffer += lexeme;
1127
+ } else {
1128
+ if (newMode.excludeBegin) {
1129
+ modeBuffer += lexeme;
1130
+ }
1131
+ processBuffer();
1132
+ if (!newMode.returnBegin && !newMode.excludeBegin) {
1133
+ modeBuffer = lexeme;
1134
+ }
1135
+ }
1136
+ startNewMode(newMode, match);
1137
+ return newMode.returnBegin ? 0 : lexeme.length;
1138
+ }
1139
+ function doEndMatch(match) {
1140
+ const lexeme = match[0];
1141
+ const matchPlusRemainder = codeToHighlight.substr(match.index);
1142
+ const endMode = endOfMode(top, match, matchPlusRemainder);
1143
+ if (!endMode) {
1144
+ return NO_MATCH;
1145
+ }
1146
+ const origin = top;
1147
+ if (top.endScope && top.endScope._wrap) {
1148
+ processBuffer();
1149
+ emitter.addKeyword(lexeme, top.endScope._wrap);
1150
+ } else if (top.endScope && top.endScope._multi) {
1151
+ processBuffer();
1152
+ emitMultiClass(top.endScope, match);
1153
+ } else if (origin.skip) {
1154
+ modeBuffer += lexeme;
1155
+ } else {
1156
+ if (!(origin.returnEnd || origin.excludeEnd)) {
1157
+ modeBuffer += lexeme;
1158
+ }
1159
+ processBuffer();
1160
+ if (origin.excludeEnd) {
1161
+ modeBuffer = lexeme;
1162
+ }
1163
+ }
1164
+ do {
1165
+ if (top.scope) {
1166
+ emitter.closeNode();
1167
+ }
1168
+ if (!top.skip && !top.subLanguage) {
1169
+ relevance += top.relevance;
1170
+ }
1171
+ top = top.parent;
1172
+ } while (top !== endMode.parent);
1173
+ if (endMode.starts) {
1174
+ startNewMode(endMode.starts, match);
1175
+ }
1176
+ return origin.returnEnd ? 0 : lexeme.length;
1177
+ }
1178
+ function processContinuations() {
1179
+ const list = [];
1180
+ for (let current = top; current !== language; current = current.parent) {
1181
+ if (current.scope) {
1182
+ list.unshift(current.scope);
1183
+ }
1184
+ }
1185
+ list.forEach((item) => emitter.openNode(item));
1186
+ }
1187
+ let lastMatch = {};
1188
+ function processLexeme(textBeforeMatch, match) {
1189
+ const lexeme = match && match[0];
1190
+ modeBuffer += textBeforeMatch;
1191
+ if (lexeme == null) {
1192
+ processBuffer();
1193
+ return 0;
1194
+ }
1195
+ if (lastMatch.type === "begin" && match.type === "end" && lastMatch.index === match.index && lexeme === "") {
1196
+ modeBuffer += codeToHighlight.slice(match.index, match.index + 1);
1197
+ if (!SAFE_MODE) {
1198
+ const err = new Error(`0 width match regex (${languageName})`);
1199
+ err.languageName = languageName;
1200
+ err.badRule = lastMatch.rule;
1201
+ throw err;
1202
+ }
1203
+ return 1;
1204
+ }
1205
+ lastMatch = match;
1206
+ if (match.type === "begin") {
1207
+ return doBeginMatch(match);
1208
+ } else if (match.type === "illegal" && !ignoreIllegals) {
1209
+ const err = new Error('Illegal lexeme "' + lexeme + '" for mode "' + (top.scope || "<unnamed>") + '"');
1210
+ err.mode = top;
1211
+ throw err;
1212
+ } else if (match.type === "end") {
1213
+ const processed = doEndMatch(match);
1214
+ if (processed !== NO_MATCH) {
1215
+ return processed;
1216
+ }
1217
+ }
1218
+ if (match.type === "illegal" && lexeme === "") {
1219
+ return 1;
1220
+ }
1221
+ if (iterations > 1e5 && iterations > match.index * 3) {
1222
+ const err = new Error("potential infinite loop, way more iterations than matches");
1223
+ throw err;
1224
+ }
1225
+ modeBuffer += lexeme;
1226
+ return lexeme.length;
1227
+ }
1228
+ const language = getLanguage(languageName);
1229
+ if (!language) {
1230
+ error(LANGUAGE_NOT_FOUND.replace("{}", languageName));
1231
+ throw new Error('Unknown language: "' + languageName + '"');
1232
+ }
1233
+ const md = compileLanguage(language);
1234
+ let result = "";
1235
+ let top = continuation || md;
1236
+ const continuations = {};
1237
+ const emitter = new options.__emitter(options);
1238
+ processContinuations();
1239
+ let modeBuffer = "";
1240
+ let relevance = 0;
1241
+ let index = 0;
1242
+ let iterations = 0;
1243
+ let resumeScanAtSamePosition = false;
1244
+ try {
1245
+ top.matcher.considerAll();
1246
+ for (; ; ) {
1247
+ iterations++;
1248
+ if (resumeScanAtSamePosition) {
1249
+ resumeScanAtSamePosition = false;
1250
+ } else {
1251
+ top.matcher.considerAll();
1252
+ }
1253
+ top.matcher.lastIndex = index;
1254
+ const match = top.matcher.exec(codeToHighlight);
1255
+ if (!match) break;
1256
+ const beforeMatch = codeToHighlight.substring(index, match.index);
1257
+ const processedCount = processLexeme(beforeMatch, match);
1258
+ index = match.index + processedCount;
1259
+ }
1260
+ processLexeme(codeToHighlight.substr(index));
1261
+ emitter.closeAllNodes();
1262
+ emitter.finalize();
1263
+ result = emitter.toHTML();
1264
+ return {
1265
+ language: languageName,
1266
+ value: result,
1267
+ relevance,
1268
+ illegal: false,
1269
+ _emitter: emitter,
1270
+ _top: top
1271
+ };
1272
+ } catch (err) {
1273
+ if (err.message && err.message.includes("Illegal")) {
1274
+ return {
1275
+ language: languageName,
1276
+ value: escape(codeToHighlight),
1277
+ illegal: true,
1278
+ relevance: 0,
1279
+ _illegalBy: {
1280
+ message: err.message,
1281
+ index,
1282
+ context: codeToHighlight.slice(index - 100, index + 100),
1283
+ mode: err.mode,
1284
+ resultSoFar: result
1285
+ },
1286
+ _emitter: emitter
1287
+ };
1288
+ } else if (SAFE_MODE) {
1289
+ return {
1290
+ language: languageName,
1291
+ value: escape(codeToHighlight),
1292
+ illegal: false,
1293
+ relevance: 0,
1294
+ errorRaised: err,
1295
+ _emitter: emitter,
1296
+ _top: top
1297
+ };
1298
+ } else {
1299
+ throw err;
1300
+ }
1301
+ }
1302
+ }
1303
+ function justTextHighlightResult(code) {
1304
+ const result = {
1305
+ value: escape(code),
1306
+ illegal: false,
1307
+ relevance: 0,
1308
+ _top: PLAINTEXT_LANGUAGE,
1309
+ _emitter: new options.__emitter(options)
1310
+ };
1311
+ result._emitter.addText(code);
1312
+ return result;
1313
+ }
1314
+ function highlightAuto(code, languageSubset) {
1315
+ languageSubset = languageSubset || options.languages || Object.keys(languages);
1316
+ const plaintext = justTextHighlightResult(code);
1317
+ const results = languageSubset.filter(getLanguage).filter(autoDetection).map(
1318
+ (name) => _highlight(name, code, false)
1319
+ );
1320
+ results.unshift(plaintext);
1321
+ const sorted = results.sort((a, b) => {
1322
+ if (a.relevance !== b.relevance) return b.relevance - a.relevance;
1323
+ if (a.language && b.language) {
1324
+ if (getLanguage(a.language).supersetOf === b.language) {
1325
+ return 1;
1326
+ } else if (getLanguage(b.language).supersetOf === a.language) {
1327
+ return -1;
1328
+ }
1329
+ }
1330
+ return 0;
1331
+ });
1332
+ const [best, secondBest] = sorted;
1333
+ const result = best;
1334
+ result.secondBest = secondBest;
1335
+ return result;
1336
+ }
1337
+ function updateClassName(element, currentLang, resultLang) {
1338
+ const language = currentLang && aliases[currentLang] || resultLang;
1339
+ element.classList.add("hljs");
1340
+ element.classList.add(`language-${language}`);
1341
+ }
1342
+ function highlightElement(element) {
1343
+ let node = null;
1344
+ const language = blockLanguage(element);
1345
+ if (shouldNotHighlight(language)) return;
1346
+ fire(
1347
+ "before:highlightElement",
1348
+ { el: element, language }
1349
+ );
1350
+ if (!options.ignoreUnescapedHTML && element.children.length > 0) {
1351
+ console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk.");
1352
+ console.warn("https://github.com/highlightjs/highlight.js/issues/2886");
1353
+ console.warn(element);
1354
+ }
1355
+ node = element;
1356
+ const text = node.textContent;
1357
+ const result = language ? highlight2(text, { language, ignoreIllegals: true }) : highlightAuto(text);
1358
+ element.innerHTML = result.value;
1359
+ updateClassName(element, language, result.language);
1360
+ element.result = {
1361
+ language: result.language,
1362
+ // TODO: remove with version 11.0
1363
+ re: result.relevance,
1364
+ relevance: result.relevance
1365
+ };
1366
+ if (result.secondBest) {
1367
+ element.secondBest = {
1368
+ language: result.secondBest.language,
1369
+ relevance: result.secondBest.relevance
1370
+ };
1371
+ }
1372
+ fire("after:highlightElement", { el: element, result, text });
1373
+ }
1374
+ function configure(userOptions) {
1375
+ options = inherit(options, userOptions);
1376
+ }
1377
+ const initHighlighting = () => {
1378
+ highlightAll();
1379
+ deprecated("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
1380
+ };
1381
+ function initHighlightingOnLoad() {
1382
+ highlightAll();
1383
+ deprecated("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
1384
+ }
1385
+ let wantsHighlight = false;
1386
+ function highlightAll() {
1387
+ if (document.readyState === "loading") {
1388
+ wantsHighlight = true;
1389
+ return;
1390
+ }
1391
+ const blocks = document.querySelectorAll(options.cssSelector);
1392
+ blocks.forEach(highlightElement);
1393
+ }
1394
+ function boot() {
1395
+ if (wantsHighlight) highlightAll();
1396
+ }
1397
+ if (typeof window !== "undefined" && window.addEventListener) {
1398
+ window.addEventListener("DOMContentLoaded", boot, false);
1399
+ }
1400
+ function registerLanguage(languageName, languageDefinition) {
1401
+ let lang = null;
1402
+ try {
1403
+ lang = languageDefinition(hljs2);
1404
+ } catch (error$1) {
1405
+ error("Language definition for '{}' could not be registered.".replace("{}", languageName));
1406
+ if (!SAFE_MODE) {
1407
+ throw error$1;
1408
+ } else {
1409
+ error(error$1);
1410
+ }
1411
+ lang = PLAINTEXT_LANGUAGE;
1412
+ }
1413
+ if (!lang.name) lang.name = languageName;
1414
+ languages[languageName] = lang;
1415
+ lang.rawDefinition = languageDefinition.bind(null, hljs2);
1416
+ if (lang.aliases) {
1417
+ registerAliases(lang.aliases, { languageName });
1418
+ }
1419
+ }
1420
+ function unregisterLanguage(languageName) {
1421
+ delete languages[languageName];
1422
+ for (const alias of Object.keys(aliases)) {
1423
+ if (aliases[alias] === languageName) {
1424
+ delete aliases[alias];
1425
+ }
1426
+ }
1427
+ }
1428
+ function listLanguages() {
1429
+ return Object.keys(languages);
1430
+ }
1431
+ function getLanguage(name) {
1432
+ name = (name || "").toLowerCase();
1433
+ return languages[name] || languages[aliases[name]];
1434
+ }
1435
+ function registerAliases(aliasList, { languageName }) {
1436
+ if (typeof aliasList === "string") {
1437
+ aliasList = [aliasList];
1438
+ }
1439
+ aliasList.forEach((alias) => {
1440
+ aliases[alias.toLowerCase()] = languageName;
1441
+ });
1442
+ }
1443
+ function autoDetection(name) {
1444
+ const lang = getLanguage(name);
1445
+ return lang && !lang.disableAutodetect;
1446
+ }
1447
+ function upgradePluginAPI(plugin) {
1448
+ if (plugin["before:highlightBlock"] && !plugin["before:highlightElement"]) {
1449
+ plugin["before:highlightElement"] = (data) => {
1450
+ plugin["before:highlightBlock"](
1451
+ Object.assign({ block: data.el }, data)
1452
+ );
1453
+ };
1454
+ }
1455
+ if (plugin["after:highlightBlock"] && !plugin["after:highlightElement"]) {
1456
+ plugin["after:highlightElement"] = (data) => {
1457
+ plugin["after:highlightBlock"](
1458
+ Object.assign({ block: data.el }, data)
1459
+ );
1460
+ };
1461
+ }
1462
+ }
1463
+ function addPlugin(plugin) {
1464
+ upgradePluginAPI(plugin);
1465
+ plugins.push(plugin);
1466
+ }
1467
+ function fire(event, args) {
1468
+ const cb = event;
1469
+ plugins.forEach(function(plugin) {
1470
+ if (plugin[cb]) {
1471
+ plugin[cb](args);
1472
+ }
1473
+ });
1474
+ }
1475
+ function deprecateHighlightBlock(el) {
1476
+ deprecated("10.7.0", "highlightBlock will be removed entirely in v12.0");
1477
+ deprecated("10.7.0", "Please use highlightElement now.");
1478
+ return highlightElement(el);
1479
+ }
1480
+ Object.assign(hljs2, {
1481
+ highlight: highlight2,
1482
+ highlightAuto,
1483
+ highlightAll,
1484
+ highlightElement,
1485
+ // TODO: Remove with v12 API
1486
+ highlightBlock: deprecateHighlightBlock,
1487
+ configure,
1488
+ initHighlighting,
1489
+ initHighlightingOnLoad,
1490
+ registerLanguage,
1491
+ unregisterLanguage,
1492
+ listLanguages,
1493
+ getLanguage,
1494
+ registerAliases,
1495
+ autoDetection,
1496
+ inherit,
1497
+ addPlugin
1498
+ });
1499
+ hljs2.debugMode = function() {
1500
+ SAFE_MODE = false;
1501
+ };
1502
+ hljs2.safeMode = function() {
1503
+ SAFE_MODE = true;
1504
+ };
1505
+ hljs2.versionString = version;
1506
+ for (const key in MODES) {
1507
+ if (typeof MODES[key] === "object") {
1508
+ deepFreeze$1(MODES[key]);
1509
+ }
1510
+ }
1511
+ Object.assign(hljs2, MODES);
1512
+ return hljs2;
1513
+ };
1514
+ var highlight = HLJS({});
1515
+ module.exports = highlight;
1516
+ }
1517
+ });
1518
+
1519
+ // appdrawer/utils.js
1520
+ function makeButton(arg) {
1521
+ const button = arg.div.append("button").attr("type", "submit").style("background-color", arg.backgroundColor ? arg.backgroundColor : "#cfe2f3").style("margin", arg.margin ? arg.margin : "20px 20px 0px 20px").style("padding", "8px").style("border", "none").style("border-radius", "3px").style("display", "inline-block").text(arg.text);
1522
+ return button;
1523
+ }
1524
+
1525
+ // dom/breadcrumbs.js
1526
+ var BreadcrumbTrail = class {
1527
+ constructor(opts) {
1528
+ this.opts = opts;
1529
+ this.dom = {
1530
+ holder: opts.holder,
1531
+ trailDiv: opts.trailDiv || opts.holder.append("div")
1532
+ };
1533
+ setRenderers(this);
1534
+ }
1535
+ async main(opts = {}) {
1536
+ try {
1537
+ return await this.render();
1538
+ } catch (e) {
1539
+ if (e.stack) console.log(e.stack);
1540
+ else throw e;
1541
+ }
1542
+ }
1543
+ };
1544
+ function setRenderers(self) {
1545
+ self.render = async () => {
1546
+ self.crumbs = self.opts.crumbs;
1547
+ for (const crumb of self.crumbs) {
1548
+ crumb.label = crumb.label || crumb.name;
1549
+ if (!crumb.inTrail) crumb.inTrail = false;
1550
+ }
1551
+ const has_active_crumb = self.crumbs.find((crumb) => crumb.inTrail);
1552
+ if (!has_active_crumb) self.crumbs[0].inTrail = true;
1553
+ await self.dom.trailDiv.style("margin-left", "5px").style("font-size", ".75em").style("display", "inline-block").classed("sjpp-breadcrumb-trail", true).selectAll("span").data(self.crumbs).enter().append("span").classed("sjpp-breadcrumb", true).html((crumb) => crumb.link ? `&nbsp> <a href="${crumb.link}">${crumb.label}</a>` : `&nbsp> ${crumb.label}`).style("display", (crumb) => crumb.inTrail ? "inline-block" : "none").each(async function(crumb) {
1554
+ crumb.div = select_default(this);
1555
+ });
1556
+ const activeCrumbIndex = self.crumbs.findIndex((c) => c.inTrail);
1557
+ self.update(activeCrumbIndex);
1558
+ };
1559
+ self.update = (crumbIndex = 0) => {
1560
+ self.crumbs.forEach((crumb, i) => {
1561
+ crumb.inTrail = crumbIndex === i;
1562
+ });
1563
+ self.dom.trailDiv.selectAll("span").data(self.crumbs).each(async (crumb) => {
1564
+ crumb.div.style("display", crumb.inTrail ? "inline-block" : "none");
1565
+ });
1566
+ };
1567
+ }
1568
+
1569
+ // ../node_modules/highlight.js/es/core.js
1570
+ var import_core = __toESM(require_core(), 1);
1571
+ var core_default = import_core.default;
1572
+
1573
+ // ../node_modules/highlight.js/es/languages/javascript.js
1574
+ var IDENT_RE = "[A-Za-z$_][0-9A-Za-z$_]*";
1575
+ var KEYWORDS = [
1576
+ "as",
1577
+ // for exports
1578
+ "in",
1579
+ "of",
1580
+ "if",
1581
+ "for",
1582
+ "while",
1583
+ "finally",
1584
+ "var",
1585
+ "new",
1586
+ "function",
1587
+ "do",
1588
+ "return",
1589
+ "void",
1590
+ "else",
1591
+ "break",
1592
+ "catch",
1593
+ "instanceof",
1594
+ "with",
1595
+ "throw",
1596
+ "case",
1597
+ "default",
1598
+ "try",
1599
+ "switch",
1600
+ "continue",
1601
+ "typeof",
1602
+ "delete",
1603
+ "let",
1604
+ "yield",
1605
+ "const",
1606
+ "class",
1607
+ // JS handles these with a special rule
1608
+ // "get",
1609
+ // "set",
1610
+ "debugger",
1611
+ "async",
1612
+ "await",
1613
+ "static",
1614
+ "import",
1615
+ "from",
1616
+ "export",
1617
+ "extends"
1618
+ ];
1619
+ var LITERALS = [
1620
+ "true",
1621
+ "false",
1622
+ "null",
1623
+ "undefined",
1624
+ "NaN",
1625
+ "Infinity"
1626
+ ];
1627
+ var TYPES = [
1628
+ "Intl",
1629
+ "DataView",
1630
+ "Number",
1631
+ "Math",
1632
+ "Date",
1633
+ "String",
1634
+ "RegExp",
1635
+ "Object",
1636
+ "Function",
1637
+ "Boolean",
1638
+ "Error",
1639
+ "Symbol",
1640
+ "Set",
1641
+ "Map",
1642
+ "WeakSet",
1643
+ "WeakMap",
1644
+ "Proxy",
1645
+ "Reflect",
1646
+ "JSON",
1647
+ "Promise",
1648
+ "Float64Array",
1649
+ "Int16Array",
1650
+ "Int32Array",
1651
+ "Int8Array",
1652
+ "Uint16Array",
1653
+ "Uint32Array",
1654
+ "Float32Array",
1655
+ "Array",
1656
+ "Uint8Array",
1657
+ "Uint8ClampedArray",
1658
+ "ArrayBuffer",
1659
+ "BigInt64Array",
1660
+ "BigUint64Array",
1661
+ "BigInt"
1662
+ ];
1663
+ var ERROR_TYPES = [
1664
+ "EvalError",
1665
+ "InternalError",
1666
+ "RangeError",
1667
+ "ReferenceError",
1668
+ "SyntaxError",
1669
+ "TypeError",
1670
+ "URIError"
1671
+ ];
1672
+ var BUILT_IN_GLOBALS = [
1673
+ "setInterval",
1674
+ "setTimeout",
1675
+ "clearInterval",
1676
+ "clearTimeout",
1677
+ "require",
1678
+ "exports",
1679
+ "eval",
1680
+ "isFinite",
1681
+ "isNaN",
1682
+ "parseFloat",
1683
+ "parseInt",
1684
+ "decodeURI",
1685
+ "decodeURIComponent",
1686
+ "encodeURI",
1687
+ "encodeURIComponent",
1688
+ "escape",
1689
+ "unescape"
1690
+ ];
1691
+ var BUILT_IN_VARIABLES = [
1692
+ "arguments",
1693
+ "this",
1694
+ "super",
1695
+ "console",
1696
+ "window",
1697
+ "document",
1698
+ "localStorage",
1699
+ "module",
1700
+ "global"
1701
+ // Node.js
1702
+ ];
1703
+ var BUILT_INS = [].concat(
1704
+ BUILT_IN_GLOBALS,
1705
+ TYPES,
1706
+ ERROR_TYPES
1707
+ );
1708
+ function source(re) {
1709
+ if (!re) return null;
1710
+ if (typeof re === "string") return re;
1711
+ return re.source;
1712
+ }
1713
+ function lookahead(re) {
1714
+ return concat("(?=", re, ")");
1715
+ }
1716
+ function concat(...args) {
1717
+ const joined = args.map((x) => source(x)).join("");
1718
+ return joined;
1719
+ }
1720
+ function javascript(hljs2) {
1721
+ const hasClosingTag = (match, { after }) => {
1722
+ const tag = "</" + match[0].slice(1);
1723
+ const pos = match.input.indexOf(tag, after);
1724
+ return pos !== -1;
1725
+ };
1726
+ const IDENT_RE$1 = IDENT_RE;
1727
+ const FRAGMENT = {
1728
+ begin: "<>",
1729
+ end: "</>"
1730
+ };
1731
+ const XML_TAG = {
1732
+ begin: /<[A-Za-z0-9\\._:-]+/,
1733
+ end: /\/[A-Za-z0-9\\._:-]+>|\/>/,
1734
+ /**
1735
+ * @param {RegExpMatchArray} match
1736
+ * @param {CallbackResponse} response
1737
+ */
1738
+ isTrulyOpeningTag: (match, response) => {
1739
+ const afterMatchIndex = match[0].length + match.index;
1740
+ const nextChar = match.input[afterMatchIndex];
1741
+ if (nextChar === "<") {
1742
+ response.ignoreMatch();
1743
+ return;
1744
+ }
1745
+ if (nextChar === ">") {
1746
+ if (!hasClosingTag(match, { after: afterMatchIndex })) {
1747
+ response.ignoreMatch();
1748
+ }
1749
+ }
1750
+ }
1751
+ };
1752
+ const KEYWORDS$1 = {
1753
+ $pattern: IDENT_RE,
1754
+ keyword: KEYWORDS,
1755
+ literal: LITERALS,
1756
+ built_in: BUILT_INS,
1757
+ "variable.language": BUILT_IN_VARIABLES
1758
+ };
1759
+ const decimalDigits = "[0-9](_?[0-9])*";
1760
+ const frac = `\\.(${decimalDigits})`;
1761
+ const decimalInteger = `0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`;
1762
+ const NUMBER = {
1763
+ className: "number",
1764
+ variants: [
1765
+ // DecimalLiteral
1766
+ { begin: `(\\b(${decimalInteger})((${frac})|\\.)?|(${frac}))[eE][+-]?(${decimalDigits})\\b` },
1767
+ { begin: `\\b(${decimalInteger})\\b((${frac})\\b|\\.)?|(${frac})\\b` },
1768
+ // DecimalBigIntegerLiteral
1769
+ { begin: `\\b(0|[1-9](_?[0-9])*)n\\b` },
1770
+ // NonDecimalIntegerLiteral
1771
+ { begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b" },
1772
+ { begin: "\\b0[bB][0-1](_?[0-1])*n?\\b" },
1773
+ { begin: "\\b0[oO][0-7](_?[0-7])*n?\\b" },
1774
+ // LegacyOctalIntegerLiteral (does not include underscore separators)
1775
+ // https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals
1776
+ { begin: "\\b0[0-7]+n?\\b" }
1777
+ ],
1778
+ relevance: 0
1779
+ };
1780
+ const SUBST = {
1781
+ className: "subst",
1782
+ begin: "\\$\\{",
1783
+ end: "\\}",
1784
+ keywords: KEYWORDS$1,
1785
+ contains: []
1786
+ // defined later
1787
+ };
1788
+ const HTML_TEMPLATE = {
1789
+ begin: "html`",
1790
+ end: "",
1791
+ starts: {
1792
+ end: "`",
1793
+ returnEnd: false,
1794
+ contains: [
1795
+ hljs2.BACKSLASH_ESCAPE,
1796
+ SUBST
1797
+ ],
1798
+ subLanguage: "xml"
1799
+ }
1800
+ };
1801
+ const CSS_TEMPLATE = {
1802
+ begin: "css`",
1803
+ end: "",
1804
+ starts: {
1805
+ end: "`",
1806
+ returnEnd: false,
1807
+ contains: [
1808
+ hljs2.BACKSLASH_ESCAPE,
1809
+ SUBST
1810
+ ],
1811
+ subLanguage: "css"
1812
+ }
1813
+ };
1814
+ const TEMPLATE_STRING = {
1815
+ className: "string",
1816
+ begin: "`",
1817
+ end: "`",
1818
+ contains: [
1819
+ hljs2.BACKSLASH_ESCAPE,
1820
+ SUBST
1821
+ ]
1822
+ };
1823
+ const JSDOC_COMMENT = hljs2.COMMENT(
1824
+ /\/\*\*(?!\/)/,
1825
+ "\\*/",
1826
+ {
1827
+ relevance: 0,
1828
+ contains: [
1829
+ {
1830
+ begin: "(?=@[A-Za-z]+)",
1831
+ relevance: 0,
1832
+ contains: [
1833
+ {
1834
+ className: "doctag",
1835
+ begin: "@[A-Za-z]+"
1836
+ },
1837
+ {
1838
+ className: "type",
1839
+ begin: "\\{",
1840
+ end: "\\}",
1841
+ excludeEnd: true,
1842
+ excludeBegin: true,
1843
+ relevance: 0
1844
+ },
1845
+ {
1846
+ className: "variable",
1847
+ begin: IDENT_RE$1 + "(?=\\s*(-)|$)",
1848
+ endsParent: true,
1849
+ relevance: 0
1850
+ },
1851
+ // eat spaces (not newlines) so we can find
1852
+ // types or variables
1853
+ {
1854
+ begin: /(?=[^\n])\s/,
1855
+ relevance: 0
1856
+ }
1857
+ ]
1858
+ }
1859
+ ]
1860
+ }
1861
+ );
1862
+ const COMMENT = {
1863
+ className: "comment",
1864
+ variants: [
1865
+ JSDOC_COMMENT,
1866
+ hljs2.C_BLOCK_COMMENT_MODE,
1867
+ hljs2.C_LINE_COMMENT_MODE
1868
+ ]
1869
+ };
1870
+ const SUBST_INTERNALS = [
1871
+ hljs2.APOS_STRING_MODE,
1872
+ hljs2.QUOTE_STRING_MODE,
1873
+ HTML_TEMPLATE,
1874
+ CSS_TEMPLATE,
1875
+ TEMPLATE_STRING,
1876
+ NUMBER,
1877
+ hljs2.REGEXP_MODE
1878
+ ];
1879
+ SUBST.contains = SUBST_INTERNALS.concat({
1880
+ // we need to pair up {} inside our subst to prevent
1881
+ // it from ending too early by matching another }
1882
+ begin: /\{/,
1883
+ end: /\}/,
1884
+ keywords: KEYWORDS$1,
1885
+ contains: [
1886
+ "self"
1887
+ ].concat(SUBST_INTERNALS)
1888
+ });
1889
+ const SUBST_AND_COMMENTS = [].concat(COMMENT, SUBST.contains);
1890
+ const PARAMS_CONTAINS = SUBST_AND_COMMENTS.concat([
1891
+ // eat recursive parens in sub expressions
1892
+ {
1893
+ begin: /\(/,
1894
+ end: /\)/,
1895
+ keywords: KEYWORDS$1,
1896
+ contains: ["self"].concat(SUBST_AND_COMMENTS)
1897
+ }
1898
+ ]);
1899
+ const PARAMS = {
1900
+ className: "params",
1901
+ begin: /\(/,
1902
+ end: /\)/,
1903
+ excludeBegin: true,
1904
+ excludeEnd: true,
1905
+ keywords: KEYWORDS$1,
1906
+ contains: PARAMS_CONTAINS
1907
+ };
1908
+ const CLASS_OR_EXTENDS = {
1909
+ variants: [
1910
+ {
1911
+ match: [
1912
+ /class/,
1913
+ /\s+/,
1914
+ IDENT_RE$1
1915
+ ],
1916
+ scope: {
1917
+ 1: "keyword",
1918
+ 3: "title.class"
1919
+ }
1920
+ },
1921
+ {
1922
+ match: [
1923
+ /extends/,
1924
+ /\s+/,
1925
+ concat(IDENT_RE$1, "(", concat(/\./, IDENT_RE$1), ")*")
1926
+ ],
1927
+ scope: {
1928
+ 1: "keyword",
1929
+ 3: "title.class.inherited"
1930
+ }
1931
+ }
1932
+ ]
1933
+ };
1934
+ const CLASS_REFERENCE = {
1935
+ relevance: 0,
1936
+ match: /\b[A-Z][a-z]+([A-Z][a-z]+)*/,
1937
+ className: "title.class",
1938
+ keywords: {
1939
+ _: [
1940
+ // se we still get relevance credit for JS library classes
1941
+ ...TYPES,
1942
+ ...ERROR_TYPES
1943
+ ]
1944
+ }
1945
+ };
1946
+ const USE_STRICT = {
1947
+ label: "use_strict",
1948
+ className: "meta",
1949
+ relevance: 10,
1950
+ begin: /^\s*['"]use (strict|asm)['"]/
1951
+ };
1952
+ const FUNCTION_DEFINITION = {
1953
+ variants: [
1954
+ {
1955
+ match: [
1956
+ /function/,
1957
+ /\s+/,
1958
+ IDENT_RE$1,
1959
+ /(?=\s*\()/
1960
+ ]
1961
+ },
1962
+ // anonymous function
1963
+ {
1964
+ match: [
1965
+ /function/,
1966
+ /\s*(?=\()/
1967
+ ]
1968
+ }
1969
+ ],
1970
+ className: {
1971
+ 1: "keyword",
1972
+ 3: "title.function"
1973
+ },
1974
+ label: "func.def",
1975
+ contains: [PARAMS],
1976
+ illegal: /%/
1977
+ };
1978
+ const UPPER_CASE_CONSTANT = {
1979
+ relevance: 0,
1980
+ match: /\b[A-Z][A-Z_0-9]+\b/,
1981
+ className: "variable.constant"
1982
+ };
1983
+ function noneOf(list) {
1984
+ return concat("(?!", list.join("|"), ")");
1985
+ }
1986
+ const FUNCTION_CALL = {
1987
+ match: concat(
1988
+ /\b/,
1989
+ noneOf([
1990
+ ...BUILT_IN_GLOBALS,
1991
+ "super"
1992
+ ]),
1993
+ IDENT_RE$1,
1994
+ lookahead(/\(/)
1995
+ ),
1996
+ className: "title.function",
1997
+ relevance: 0
1998
+ };
1999
+ const PROPERTY_ACCESS = {
2000
+ begin: concat(/\./, lookahead(
2001
+ concat(IDENT_RE$1, /(?![0-9A-Za-z$_(])/)
2002
+ )),
2003
+ end: IDENT_RE$1,
2004
+ excludeBegin: true,
2005
+ keywords: "prototype",
2006
+ className: "property",
2007
+ relevance: 0
2008
+ };
2009
+ const GETTER_OR_SETTER = {
2010
+ match: [
2011
+ /get|set/,
2012
+ /\s+/,
2013
+ IDENT_RE$1,
2014
+ /(?=\()/
2015
+ ],
2016
+ className: {
2017
+ 1: "keyword",
2018
+ 3: "title.function"
2019
+ },
2020
+ contains: [
2021
+ {
2022
+ // eat to avoid empty params
2023
+ begin: /\(\)/
2024
+ },
2025
+ PARAMS
2026
+ ]
2027
+ };
2028
+ const FUNC_LEAD_IN_RE = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + hljs2.UNDERSCORE_IDENT_RE + ")\\s*=>";
2029
+ const FUNCTION_VARIABLE = {
2030
+ match: [
2031
+ /const|var|let/,
2032
+ /\s+/,
2033
+ IDENT_RE$1,
2034
+ /\s*/,
2035
+ /=\s*/,
2036
+ lookahead(FUNC_LEAD_IN_RE)
2037
+ ],
2038
+ className: {
2039
+ 1: "keyword",
2040
+ 3: "title.function"
2041
+ },
2042
+ contains: [
2043
+ PARAMS
2044
+ ]
2045
+ };
2046
+ return {
2047
+ name: "Javascript",
2048
+ aliases: ["js", "jsx", "mjs", "cjs"],
2049
+ keywords: KEYWORDS$1,
2050
+ // this will be extended by TypeScript
2051
+ exports: { PARAMS_CONTAINS },
2052
+ illegal: /#(?![$_A-z])/,
2053
+ contains: [
2054
+ hljs2.SHEBANG({
2055
+ label: "shebang",
2056
+ binary: "node",
2057
+ relevance: 5
2058
+ }),
2059
+ USE_STRICT,
2060
+ hljs2.APOS_STRING_MODE,
2061
+ hljs2.QUOTE_STRING_MODE,
2062
+ HTML_TEMPLATE,
2063
+ CSS_TEMPLATE,
2064
+ TEMPLATE_STRING,
2065
+ COMMENT,
2066
+ NUMBER,
2067
+ CLASS_REFERENCE,
2068
+ {
2069
+ className: "attr",
2070
+ begin: IDENT_RE$1 + lookahead(":"),
2071
+ relevance: 0
2072
+ },
2073
+ FUNCTION_VARIABLE,
2074
+ {
2075
+ // "value" container
2076
+ begin: "(" + hljs2.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*",
2077
+ keywords: "return throw case",
2078
+ relevance: 0,
2079
+ contains: [
2080
+ COMMENT,
2081
+ hljs2.REGEXP_MODE,
2082
+ {
2083
+ className: "function",
2084
+ // we have to count the parens to make sure we actually have the
2085
+ // correct bounding ( ) before the =>. There could be any number of
2086
+ // sub-expressions inside also surrounded by parens.
2087
+ begin: FUNC_LEAD_IN_RE,
2088
+ returnBegin: true,
2089
+ end: "\\s*=>",
2090
+ contains: [
2091
+ {
2092
+ className: "params",
2093
+ variants: [
2094
+ {
2095
+ begin: hljs2.UNDERSCORE_IDENT_RE,
2096
+ relevance: 0
2097
+ },
2098
+ {
2099
+ className: null,
2100
+ begin: /\(\s*\)/,
2101
+ skip: true
2102
+ },
2103
+ {
2104
+ begin: /\(/,
2105
+ end: /\)/,
2106
+ excludeBegin: true,
2107
+ excludeEnd: true,
2108
+ keywords: KEYWORDS$1,
2109
+ contains: PARAMS_CONTAINS
2110
+ }
2111
+ ]
2112
+ }
2113
+ ]
2114
+ },
2115
+ {
2116
+ // could be a comma delimited list of params to a function call
2117
+ begin: /,/,
2118
+ relevance: 0
2119
+ },
2120
+ {
2121
+ match: /\s+/,
2122
+ relevance: 0
2123
+ },
2124
+ {
2125
+ // JSX
2126
+ variants: [
2127
+ { begin: FRAGMENT.begin, end: FRAGMENT.end },
2128
+ {
2129
+ begin: XML_TAG.begin,
2130
+ // we carefully check the opening tag to see if it truly
2131
+ // is a tag and not a false positive
2132
+ "on:begin": XML_TAG.isTrulyOpeningTag,
2133
+ end: XML_TAG.end
2134
+ }
2135
+ ],
2136
+ subLanguage: "xml",
2137
+ contains: [
2138
+ {
2139
+ begin: XML_TAG.begin,
2140
+ end: XML_TAG.end,
2141
+ skip: true,
2142
+ contains: ["self"]
2143
+ }
2144
+ ]
2145
+ }
2146
+ ]
2147
+ },
2148
+ FUNCTION_DEFINITION,
2149
+ {
2150
+ // prevent this from getting swallowed up by function
2151
+ // since they appear "function like"
2152
+ beginKeywords: "while if switch catch for"
2153
+ },
2154
+ {
2155
+ // we have to count the parens to make sure we actually have the correct
2156
+ // bounding ( ). There could be any number of sub-expressions inside
2157
+ // also surrounded by parens.
2158
+ begin: "\\b(?!function)" + hljs2.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
2159
+ // end parens
2160
+ returnBegin: true,
2161
+ label: "func.def",
2162
+ contains: [
2163
+ PARAMS,
2164
+ hljs2.inherit(hljs2.TITLE_MODE, { begin: IDENT_RE$1, className: "title.function" })
2165
+ ]
2166
+ },
2167
+ // catch ... so it won't trigger the property rule below
2168
+ {
2169
+ match: /\.\.\./,
2170
+ relevance: 0
2171
+ },
2172
+ PROPERTY_ACCESS,
2173
+ // hack: prevents detection of keywords in some circumstances
2174
+ // .keyword()
2175
+ // $keyword = x
2176
+ {
2177
+ match: "\\$" + IDENT_RE$1,
2178
+ relevance: 0
2179
+ },
2180
+ {
2181
+ match: [/\bconstructor(?=\s*\()/],
2182
+ className: { 1: "title.function" },
2183
+ contains: [PARAMS]
2184
+ },
2185
+ FUNCTION_CALL,
2186
+ UPPER_CASE_CONSTANT,
2187
+ CLASS_OR_EXTENDS,
2188
+ GETTER_OR_SETTER,
2189
+ {
2190
+ match: /\$[(.]/
2191
+ // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`
2192
+ }
2193
+ ]
2194
+ };
2195
+ }
2196
+ var javascript_default = javascript;
2197
+
2198
+ // ../node_modules/highlight.js/es/languages/json.js
2199
+ function json(hljs2) {
2200
+ const ATTRIBUTE = {
2201
+ className: "attr",
2202
+ begin: /"(\\.|[^\\"\r\n])*"(?=\s*:)/,
2203
+ relevance: 1.01
2204
+ };
2205
+ const PUNCTUATION = {
2206
+ match: /[{}[\],:]/,
2207
+ className: "punctuation",
2208
+ relevance: 0
2209
+ };
2210
+ const LITERALS2 = {
2211
+ beginKeywords: [
2212
+ "true",
2213
+ "false",
2214
+ "null"
2215
+ ].join(" ")
2216
+ };
2217
+ return {
2218
+ name: "JSON",
2219
+ contains: [
2220
+ ATTRIBUTE,
2221
+ PUNCTUATION,
2222
+ hljs2.QUOTE_STRING_MODE,
2223
+ LITERALS2,
2224
+ hljs2.C_NUMBER_MODE,
2225
+ hljs2.C_LINE_COMMENT_MODE,
2226
+ hljs2.C_BLOCK_COMMENT_MODE
2227
+ ],
2228
+ illegal: "\\S"
2229
+ };
2230
+ }
2231
+ var json_default = json;
2232
+
2233
+ // appdrawer/adSandbox.js
2234
+ core_default.registerLanguage("javascript", javascript_default);
2235
+ core_default.registerLanguage("json", json_default);
2236
+ async function openSandbox(element, pageArgs) {
2237
+ const sandboxDiv = newSandboxDiv(pageArgs.sandboxDiv);
2238
+ sandboxDiv.header_row;
2239
+ sandboxDiv.header.append("span").html(
2240
+ element.type != "nestedCard" ? `<a href="${sessionStorage.getItem("hostURL")}/?appcard=${element.sandboxJson || element.sandboxHtml}">${element.name}</a>` : element.name
2241
+ );
2242
+ sandboxDiv.body.style("overflow", "hidden").style("background-color", "white");
2243
+ if (element.type == "nestedCard") return openNestedCardSandbox(element, sandboxDiv, pageArgs);
2244
+ const res = element.sandboxJson ? await dofetch3(`${pageArgs.app.cardsPath}/${element.sandboxJson}.json`) : await dofetch3(`${pageArgs.app.cardsPath}/${element.sandboxHtml}.txt`);
2245
+ if (res.error) {
2246
+ sayerror(sandboxDiv.body.insert("div", "div"), res.error);
2247
+ return;
2248
+ }
2249
+ if (element.type == "card") return openCardSandbox(element, res, sandboxDiv, pageArgs);
2250
+ if (element.type == "dsButton") return openDatasetButtonSandbox(element, pageArgs, res, sandboxDiv);
2251
+ }
2252
+ async function openNestedCardSandbox(nestedCard, sandboxDiv, pageArgs) {
2253
+ sandboxDiv.body.style("justify-content", "center").style("background-color", "#f2ebdc");
2254
+ const ucList = sandboxDiv.body.append("ul").style("list-style", "none").style("display", "grid").style("grid-template-columns", "40vw 40vw").style("grid-template-rows", "repeat(1, auto)").style("gap", "5px");
2255
+ const filteredChildren = nestedCard.children.filter((e) => !e.hidden);
2256
+ sandboxDiv.header.trail = new BreadcrumbTrail({
2257
+ holder: sandboxDiv.header,
2258
+ crumbs: filteredChildren
2259
+ });
2260
+ filteredChildren.forEach((child) => {
2261
+ const uc = ucList.append("li");
2262
+ uc.attr("class", "sjpp-app-drawer-card").style("padding", "10px").style("margin", "5px").html(
2263
+ `<p style="margin-left: 12px; font-size:14.5px;font-weight:500; display: block;">${child.name}</p>
2264
+ <p style="display: block; font-size: 13px; font-weight: 300; margin-left: 20px; justify-content: center; font-style:oblique; color: #403f3f;">${child.description}</p>`
2265
+ ).on("click", async (event) => {
2266
+ event.stopPropagation();
2267
+ ucList.selectAll("*").remove();
2268
+ const res = child.sandboxJson ? await dofetch3(`${pageArgs.app.cardsPath}/${child.sandboxJson}.json`) : await dofetch3(`${pageArgs.app.cardsPath}/${child.sandboxHtml}.txt`);
2269
+ if (res.error) {
2270
+ sayerror(sandboxDiv.body.insert("div", "div"), res.error);
2271
+ return;
2272
+ }
2273
+ if (child.type == "card") {
2274
+ sandboxDiv.header.trail.main();
2275
+ openCardSandbox(child, res, sandboxDiv, pageArgs);
2276
+ const crumbIndex = filteredChildren.findIndex((c) => c == child);
2277
+ sandboxDiv.header.trail.update(crumbIndex);
2278
+ }
2279
+ if (child.type == "dsButton") return openDatasetButtonSandbox(child, pageArgs.app.opts, res, sandboxDiv);
2280
+ });
2281
+ return JSON.stringify(uc);
2282
+ });
2283
+ }
2284
+ async function openCardSandbox(card, res, sandboxDiv, pageArgs) {
2285
+ if (card.sandboxHtml) {
2286
+ const renderHtml = await res.text();
2287
+ return sandboxDiv.body.append("div").style("padding", "0vw 0vw 2vw 0vw").append("div").style("background-color", "white").style("margin", "0vw 10vw").style("padding", "10px").append("div").style("margin", "0vw 5vw").html(renderHtml);
2288
+ }
2289
+ sandboxDiv.body.style("background-color", "white");
2290
+ const sandboxArgs = {
2291
+ intro: res.intro,
2292
+ ppcalls: res.ppcalls.filter((e) => !e.hidden),
2293
+ buttons: res.buttons,
2294
+ arrowButtons: res.arrowButtons,
2295
+ ribbonMessage: res.ribbonMessage,
2296
+ citation: res.citation_id
2297
+ };
2298
+ addHtmlText(sandboxArgs.intro, sandboxDiv.body);
2299
+ if (card.ribbon) addHtmlText(sandboxArgs.ribbonMessage, sandboxDiv.body, card.ribbon);
2300
+ const mainButtonsDiv = sandboxDiv.body.append("div");
2301
+ const mainButtonsContentDiv = sandboxDiv.body.append("div");
2302
+ addButtons(sandboxArgs.buttons, mainButtonsDiv);
2303
+ addArrowBtns(sandboxArgs, "main", mainButtonsDiv, mainButtonsContentDiv, pageArgs);
2304
+ if (card.disableTopTabs) renderContent(sandboxArgs.ppcalls[0], sandboxDiv.body, card, pageArgs);
2305
+ else {
2306
+ const topTabsDiv = sandboxDiv.body.append("div").style("display", "flex").style("align-content", "end").style("justify-content", "center").style("border", "none").style("border-bottom", "1px solid lightgray").style("width", "100%").style("font-size", "20px");
2307
+ const tabsContentDiv = sandboxDiv.body.append("div");
2308
+ makeParentTabsMenu(sandboxArgs.ppcalls, card, topTabsDiv, tabsContentDiv, sandboxDiv, pageArgs);
2309
+ }
2310
+ }
2311
+ function renderContent(ppcalls, div, card, pageArgs) {
2312
+ addHtmlText(ppcalls.message, div);
2313
+ const buttonsDiv = div.append("div").style("margin-bottom", "20px");
2314
+ const buttonsContentDiv = div.append("div");
2315
+ addButtons(ppcalls.buttons, buttonsDiv);
2316
+ makeDataDownload(ppcalls.download, buttonsDiv, card.section);
2317
+ showURLLaunch(ppcalls.urlparam, buttonsDiv, card.section);
2318
+ addArrowBtns(ppcalls, "call", buttonsDiv, buttonsContentDiv, pageArgs);
2319
+ if (!card.disableTopTabs) {
2320
+ div.append("hr").style("border", "0").style("border-top", "1px dashed #e3e3e6").style("width", "100%");
2321
+ }
2322
+ const runpp_arg = {
2323
+ holder: div.append("div").style("margin", "20px").node(),
2324
+ /* Do not use window.location.origin
2325
+ Will break the embedder (/genomes will be requested from https:/embedder.site.org/genomes,
2326
+ for example). It's very rare for an embedder to want to show this default "portal" header
2327
+ because external portals usually have their own headers, but it will affect simple html
2328
+ pages that embed a runpp() call where the app header is not hidden. */
2329
+ host: ppcalls.runargs.host || sessionStorage.getItem("hostURL")
2330
+ };
2331
+ const callpp = JSON.parse(JSON.stringify(ppcalls.runargs));
2332
+ runproteinpaint(Object.assign(runpp_arg, callpp));
2333
+ }
2334
+ function makeTopTabs(ppcalls, card, sandboxDiv, pageArgs) {
2335
+ const tabs = [];
2336
+ const ui = ppcalls.findIndex((t) => t.isUi == true);
2337
+ const notui = ppcalls.findIndex((t) => t.isUi == void 0);
2338
+ const uiPresent = ui != -1 ? true : false;
2339
+ if (uiPresent == true) {
2340
+ tabs.push({
2341
+ label: "Add Your Data",
2342
+ active: false,
2343
+ callback: async (event, tab) => {
2344
+ try {
2345
+ const runpp_arg = {
2346
+ holder: tab.contentHolder.append("div").style("margin", "20px").node(),
2347
+ sandbox_header: tab.contentHolder,
2348
+ host: sessionStorage.getItem("hostURL")
2349
+ };
2350
+ const callpp = JSON.parse(JSON.stringify(ppcalls[ui].runargs));
2351
+ runproteinpaint(Object.assign(runpp_arg, callpp));
2352
+ delete tab.callback;
2353
+ } catch (e) {
2354
+ if (e.stack) console.error(e.stack);
2355
+ else throw e;
2356
+ }
2357
+ }
2358
+ });
2359
+ }
2360
+ if (ppcalls.length == 1 && uiPresent != true || ppcalls.length == 2 && uiPresent == true) {
2361
+ tabs.push({
2362
+ label: "Example",
2363
+ active: false,
2364
+ callback: async (event, tab) => {
2365
+ try {
2366
+ renderContent(ppcalls[notui], tab.contentHolder, card, pageArgs);
2367
+ delete tab.callback;
2368
+ } catch (e) {
2369
+ if (e.stack) console.error(e.stack);
2370
+ else throw e;
2371
+ }
2372
+ }
2373
+ });
2374
+ }
2375
+ if (ppcalls.length > 1 && uiPresent == false || ppcalls.length > 2 && uiPresent == true) {
2376
+ tabs.push({
2377
+ label: "Examples",
2378
+ active: pageArgs?.example ? true : false,
2379
+ callback: async (event, tab) => {
2380
+ try {
2381
+ const examplesOnly = ppcalls.filter((p) => p.isUi != true);
2382
+ makeLeftsideTabMenu(card, tab.contentHolder, examplesOnly, sandboxDiv, pageArgs);
2383
+ delete tab.callback;
2384
+ } catch (e) {
2385
+ if (e.stack) console.error(e.stack);
2386
+ else throw e;
2387
+ }
2388
+ }
2389
+ });
2390
+ }
2391
+ return tabs;
2392
+ }
2393
+ function makeParentTabsMenu(ppcalls, card, topTabsDiv, tabsContentDiv, sandboxDiv, pageArgs) {
2394
+ const tabs = makeTopTabs(ppcalls, card, sandboxDiv, pageArgs);
2395
+ new Tabs({ holder: topTabsDiv, contentHolder: tabsContentDiv, tabs }).main();
2396
+ }
2397
+ async function makeLeftsideTabMenu(card, contentHolder, examplesOnly, sandboxDiv, pageArgs) {
2398
+ const tabs = examplesOnly.map((p, index) => getTabData(p, index, card.section));
2399
+ sandboxDiv.header.trail = await new BreadcrumbTrail({
2400
+ holder: sandboxDiv.header,
2401
+ crumbs: tabs
2402
+ });
2403
+ function getTabData(ppcalls, i, section) {
2404
+ const active = pageArgs?.example ? pageArgs.example.toUpperCase() == ppcalls.label.toUpperCase() : i === 0;
2405
+ return {
2406
+ active,
2407
+ inTrail: active,
2408
+ link: `${sessionStorage.getItem("hostURL")}/?appcard=${card.sandboxJson || card.sandboxHtml}&example=${ppcalls.label}`,
2409
+ label: ppcalls.label,
2410
+ callback: async (event, tab) => {
2411
+ const wait = tab_wait(tab.contentHolder);
2412
+ try {
2413
+ if (!tab.rendered) {
2414
+ appear(tab.contentHolder);
2415
+ renderContent(ppcalls, tab.contentHolder, section, pageArgs);
2416
+ wait.remove();
2417
+ }
2418
+ tab.rendered = true;
2419
+ const crumbIndex = tabs.findIndex((t) => t == tab);
2420
+ sandboxDiv.header.trail.update(crumbIndex);
2421
+ wait.remove();
2422
+ } catch (e) {
2423
+ wait.text("Error: " + (e.message || e));
2424
+ }
2425
+ }
2426
+ };
2427
+ }
2428
+ sandboxDiv.header.trail.main();
2429
+ const wrapper = contentHolder.append("div").style("display", "grid").style("grid-template-columns", "minmax(min-content, 10vw) minmax(60vw, 1fr)").classed("sjpp-vertical-tab-menu", true).style("word-break", "break-word");
2430
+ const tabsDiv = wrapper.append("div").classed("sjpp-tabs-div", true).style("border-right", "1px solid lightgray");
2431
+ const tabsContentDiv = wrapper.append("div").classed("sjpp-content-div", true);
2432
+ new Tabs({
2433
+ holder: tabsDiv,
2434
+ contentHolder: tabsContentDiv,
2435
+ tabs,
2436
+ linePosition: "right",
2437
+ tabsPosition: "vertical",
2438
+ gap: "10px"
2439
+ }).main();
2440
+ }
2441
+ function addHtmlText(text, div, ribbon) {
2442
+ if (ribbon && ribbon.expireDate) {
2443
+ const today = /* @__PURE__ */ new Date();
2444
+ const expire = new Date(ribbon.expireDate);
2445
+ if (expire > today && text != void 0 && text) {
2446
+ let boldedText2 = function() {
2447
+ const str = ribbon.text.toLowerCase();
2448
+ return str[0].toUpperCase() + str.slice(1);
2449
+ };
2450
+ var boldedText = boldedText2;
2451
+ div.append("div").style("margin", "20px").html(`<p style="display:inline-block;font-weight:bold">${boldedText2()}: &nbsp</p>${text}`);
2452
+ }
2453
+ } else if (text != void 0 && text) {
2454
+ div.append("div").style("margin", "20px").html(text);
2455
+ }
2456
+ }
2457
+ function addButtons(buttons, div) {
2458
+ if (buttons) {
2459
+ buttons.forEach((button) => {
2460
+ const sandboxButton = makeButton({ div, text: button.name });
2461
+ sandboxButton.on("click", (event) => {
2462
+ event.stopPropagation();
2463
+ if (button.download) window.open(`${button.download}`, "_self", "download");
2464
+ else window.open(`${button.link}`, `${button.name}`);
2465
+ });
2466
+ });
2467
+ }
2468
+ }
2469
+ function makeArrowButtons(arrows, btns) {
2470
+ if (arrows) {
2471
+ arrows.forEach((arrow) => {
2472
+ const contents = `<div style="margin:10px;" class="sjpp-arrow-content">
2473
+ ${arrow.message ? `<div style="margin: 1vw;">${arrow.message}</div>` : ""}
2474
+ ${arrow.links ? arrow.links.map((hyperlink) => {
2475
+ if (!hyperlink) return "";
2476
+ if (hyperlink.download) {
2477
+ return `<a style="cursor:pointer; margin-left:20px;" onclick="event.stopPropagation();" href="${hyperlink.download}", target="_self" download>${hyperlink.name}</a>`;
2478
+ }
2479
+ if (hyperlink.link) {
2480
+ return `<a style="cursor:pointer; margin-left:20px;" onclick="event.stopPropagation();" href="${hyperlink.link}", target="_blank">${hyperlink.name}</a>`;
2481
+ }
2482
+ }).join("") : ""}</div>`;
2483
+ btns.push({
2484
+ name: arrow.name,
2485
+ callback: async (rdiv) => {
2486
+ try {
2487
+ rdiv.append("div").html(contents);
2488
+ } catch (e) {
2489
+ alert("Error: " + e);
2490
+ }
2491
+ }
2492
+ });
2493
+ });
2494
+ }
2495
+ }
2496
+ async function addArrowBtns(args, type, bdiv, rdiv, pageArgs) {
2497
+ let btns = [];
2498
+ if (type == "call") showCode(args, btns);
2499
+ const genome = args?.runargs?.genome;
2500
+ if (args.datapreview && genome) showViewData(btns, args.datapreview, genome);
2501
+ if (args.citation || args.data_source) {
2502
+ const res = await dofetch3(`/${pageArgs.app.cardsPath}/citations.json`);
2503
+ if (res.error) {
2504
+ console.error(`Error: ${res.error}`);
2505
+ return;
2506
+ }
2507
+ for (const pub of res.publications) {
2508
+ if (args.citation == pub.id || args.data_source == pub.id) {
2509
+ const label = args.data_source ? "Data Source" : "Citation";
2510
+ showCitation(btns, pub, label);
2511
+ }
2512
+ }
2513
+ }
2514
+ makeArrowButtons(args.arrowButtons, btns);
2515
+ const active_btn = btns.findIndex((b) => b.active) == -1 ? false : true;
2516
+ for (let i = 0; i < btns.length; i++) {
2517
+ const btn = btns[i];
2518
+ btn.btn = makeButton({ div: bdiv, text: btn.name + " \u25BC" });
2519
+ btn.c = rdiv.append("div").style("margin", "20px 0px 10px 20px").style("display", active_btn && i == 0 || btn.active ? "block" : "none");
2520
+ if (active_btn && i == 0 && btn.callback || btn.active) {
2521
+ btn.callback(btn.c);
2522
+ delete btn.callback;
2523
+ }
2524
+ btn.btn.on("click", () => {
2525
+ if (btn.c.style("display") != "none") {
2526
+ btn.btn.text(btn.name + " \u25BC").style("color", "black").style("background-color", "#cfe2f3");
2527
+ btn.c.style("display", "none");
2528
+ } else {
2529
+ btn.btn.text(btn.name + " \u25B2").style("color", "whitesmoke").style("background-color", "#487ba8");
2530
+ appear(btn.c);
2531
+ for (let j = 0; j < btns.length; j++) {
2532
+ if (i != j) {
2533
+ btns[j].btn.text(btns[j].name + " \u25BC").style("color", "black").style("background-color", "#cfe2f3");
2534
+ btns[j].c.style("display", "none");
2535
+ }
2536
+ }
2537
+ }
2538
+ if (btn.callback) {
2539
+ btn.callback(btn.c);
2540
+ delete btn.callback;
2541
+ }
2542
+ });
2543
+ }
2544
+ }
2545
+ function showURLLaunch(urlparam, div, section) {
2546
+ if (!urlparam) return;
2547
+ const URLbtn = makeButton({ div, text: section == "apps" ? "Run app from URL" : "Run track from URL" });
2548
+ URLbtn.on("click", (event) => {
2549
+ const hostURL = getHostURL();
2550
+ event.stopPropagation();
2551
+ window.open(`${hostURL}${urlparam}`, "_blank");
2552
+ });
2553
+ }
2554
+ function makeDataDownload(download, div, section) {
2555
+ if (!download) return;
2556
+ const dataBtn = makeButton({
2557
+ div,
2558
+ text: section == "apps" ? "Download App File(s)" : "Download Track File(s)"
2559
+ });
2560
+ dataBtn.on("click", (event) => {
2561
+ event.stopPropagation();
2562
+ window.open(`${download}`, "_self", "download");
2563
+ });
2564
+ }
2565
+ async function showCode(ppcalls, btns) {
2566
+ if (ppcalls.isUi == true) return;
2567
+ const runppCode = core_default.highlight(
2568
+ `runproteinpaint({
2569
+ host: "${sessionStorage.getItem("hostURL")}",
2570
+ holder: document.getElementById('a'),
2571
+ ` + // Fix for first argument not properly appearing underneath holder
2572
+ JSON.stringify(ppcalls.runargs, "", 4).replaceAll(/"(.+)"\s*:/g, "$1:").replaceAll(/\\t/g, " ").replaceAll(/\\n/g, "\r ").slice(1, -1).trim() + `\r})`,
2573
+ { language: "javascript" }
2574
+ ).value;
2575
+ const runppContents = `<pre style="border: 1px solid #d7d7d9; align-items: center; justify-content: center; margin: 0px 10px 5px 30px; overflow:auto; max-height:400px; ${ppcalls.jsonpath ? `min-height:400px;` : `min-height: auto;`}">
2576
+ <code style="font-size:14px; display:block;">${runppCode}</code></pre>`;
2577
+ btns.push({
2578
+ name: "Code",
2579
+ callback: async (rdiv) => {
2580
+ try {
2581
+ if (ppcalls.jsonpath) {
2582
+ const includeJson = await showJsonCode(ppcalls);
2583
+ const runppHeader = "<p style='margin:20px 5px 20px 25px;'>ProteinPaint JS code</p>";
2584
+ const grid = rdiv.append("div").style("display", "grid").style("grid-template-columns", "repeat(auto-fit, minmax(100px, 1fr))").style("gap", "5px");
2585
+ grid.append("div").style("display", "block").html(runppHeader + runppContents);
2586
+ grid.append("div").style("display", "block").html(includeJson);
2587
+ } else {
2588
+ rdiv.append("div").html(runppContents);
2589
+ }
2590
+ } catch (e) {
2591
+ alert("Error: " + e);
2592
+ }
2593
+ }
2594
+ });
2595
+ }
2596
+ async function showJsonCode(ppcalls) {
2597
+ const jsondata = await dofetch("textfile", { file: ppcalls.jsonpath });
2598
+ const json_code = JSON.parse(jsondata.text);
2599
+ const splitpath = ppcalls.jsonpath.split("/");
2600
+ const filename = splitpath[splitpath.length - 1];
2601
+ let lines = JSON.stringify(json_code, "", 4).split("\n");
2602
+ let slicedjson;
2603
+ if (lines.length > 120) {
2604
+ lines = lines.slice(0, 100);
2605
+ slicedjson = true;
2606
+ }
2607
+ const code = core_default.highlight(lines.join("\n"), { language: "json" }).value;
2608
+ const json_contents = `<div>
2609
+ <p style="margin: 20px 5px 20px 25px; display: inline-block;">JSON code </p>
2610
+ <p style="display: inline-block; color: #696969; font-style:oblique;"> (contents of ${filename})</p>
2611
+ </div>
2612
+ <pre style="border: 1px solid #d7d7d9; align-items: center; justify-content: center; margin: 0px 10px 5px 10px; max-height:400px; min-height:400px; overflow:auto;">
2613
+ <code class="sjpp-json-code" style="font-size:14px; display:block;">${slicedjson == true ? `${code} ...<br><p style='margin:20px 25px; justify-content:center;'>Showing first 100 lines. To see the entire JSON, download ${filename} from the button above.</p>` : `${code}`}
2614
+ </code>
2615
+ </pre>`;
2616
+ return json_contents;
2617
+ }
2618
+ function showCitation(btns, pub, label) {
2619
+ btns.push({
2620
+ name: label,
2621
+ callback: async (rdiv) => {
2622
+ try {
2623
+ rdiv.append("div").style("margin-left", "5w").html(
2624
+ `<span style="display: inline-block;">${pub.title}. <em>${pub.journal}</em>, ${pub.year}.
2625
+ ${pub.pmid ? ` PMID: <a href="${pub.pmidURL}" target="${pub.pmid}">${pub.pmid}</a>` : ` doi: <a href="${pub.doi}" target="${pub.doi}">${pub.doi}</a>`}</span>`
2626
+ );
2627
+ } catch (e) {
2628
+ alert("Error: " + e);
2629
+ }
2630
+ }
2631
+ });
2632
+ }
2633
+ function makeDataPreviewDiv(content, contLength, div, filename, message) {
2634
+ div.append("div").html(`
2635
+ ${message ? `<p style="display:block;">${message}<p>` : ""}
2636
+ <p style="display: inline-block;">Data preview <span style="color: #696969; font-style:oblique;">
2637
+ ${contLength > 10 ? `(first ${content.length} rows of ${filename})</span></p>` : `(content of ${filename})</span></p>`}
2638
+ `);
2639
+ const bedjContent_div = div.append("div").style("display", "grid").style("grid-template-columns", "1fr").style("max-width", "80%").style("margin-left", "10px").style("border", "1px solid rgb(227, 227, 230)").style("white-space", "pre").style("overflow-x", "scroll").style("opacity", "0.65").style("padding", "1vw");
2640
+ content.forEach((c) => {
2641
+ bedjContent_div.append("code").html(c);
2642
+ });
2643
+ }
2644
+ async function showViewData(btns, data, genome) {
2645
+ btns.push({
2646
+ name: "View Data",
2647
+ callback: async (rdiv) => {
2648
+ try {
2649
+ for (const file of data) {
2650
+ const res = await dofetch3("cardsjson", {
2651
+ body: { datafile: file.file, genome, tabixCoord: file.tabixQueryCoord }
2652
+ });
2653
+ if (res.error) {
2654
+ console.error(`Error: ${res.error}`);
2655
+ rdiv.text(`Error retrieving example data: ${res.error}`);
2656
+ return;
2657
+ }
2658
+ const returnedContent = res.file;
2659
+ const contLength = returnedContent.length;
2660
+ const content = returnedContent.slice(0, 10);
2661
+ const splitpath = file.file.split("/");
2662
+ const filename = splitpath[splitpath.length - 1];
2663
+ makeDataPreviewDiv(content, contLength, rdiv, filename, file.message);
2664
+ }
2665
+ } catch (e) {
2666
+ alert("Error: " + e);
2667
+ }
2668
+ }
2669
+ });
2670
+ }
2671
+ async function openDatasetButtonSandbox(elem, pageArgs, res, sandboxDiv) {
2672
+ if (elem.sandboxHtml) {
2673
+ const renderHtml = await res.text();
2674
+ return sandboxDiv.body.append("div").style("line-height", "1.5em").style("padding", "1.5em 1.5em 2em 1.5em").html(renderHtml);
2675
+ }
2676
+ const genome = pageArgs?.fromApp ? pageArgs.genomes[res.button.availableGenomes[0]] : pageArgs.app.opts.genomes[res.button.availableGenomes[0]];
2677
+ let genomes;
2678
+ if (res.button.runargs.host) {
2679
+ genomes = await getGenomes(res.button.runargs.host);
2680
+ } else genomes = pageArgs?.fromApp ? pageArgs.genomes : pageArgs.app.opts.genomes;
2681
+ const par = {
2682
+ // First genome in .availableGenomes is the default
2683
+ availableGenomes: res.button.availableGenomes,
2684
+ genome,
2685
+ intro: res.button.intro,
2686
+ name: res.button.name,
2687
+ runargs: res.button.runargs,
2688
+ searchBar: res.button.searchBar,
2689
+ dsURLparam: res.button.dsURLparam,
2690
+ citation: res.citation_id
2691
+ };
2692
+ const mainDiv = sandboxDiv.body.append("div").style("padding", "1em").style("border-bottom", "1px solid #d0e3ff");
2693
+ if (par.citation) {
2694
+ const buttonsDiv = mainDiv.append("div").style("margin-bottom", "20px");
2695
+ const buttonsContentDiv = mainDiv.append("div");
2696
+ await addArrowBtns(par, "main", buttonsDiv, buttonsContentDiv, pageArgs);
2697
+ }
2698
+ if (par.intro) {
2699
+ mainDiv.append("div").style("line-height", "1.5em").style("padding", "0.5em 0.5em 1em 0.5em").html(par.intro);
2700
+ }
2701
+ if (par.searchBar == "none") {
2702
+ const originalURL = sessionStorage.getItem("hostURL");
2703
+ const runppArg = {
2704
+ holder: sandboxDiv.body.append("div").style("margin", "20px").style("overflow-x", "auto").node(),
2705
+ host: par.runargs.host || originalURL
2706
+ };
2707
+ const callpp = JSON.parse(JSON.stringify(par.runargs));
2708
+ await runproteinpaint(Object.assign(runppArg, callpp));
2709
+ if (originalURL != sessionStorage.getItem("hostURL")) sessionStorage.setItem("hostURL", originalURL);
2710
+ return;
2711
+ }
2712
+ if (par.availableGenomes.length > 1) addDatasetGenomeBtns(mainDiv, genomes);
2713
+ else {
2714
+ mainDiv.append("div").style("display", "inline-block").style("margin-left", "20px").style("color", "rgb(117, 115, 115)").text(par.availableGenomes[0]);
2715
+ }
2716
+ const searchBarDiv = mainDiv.append("div").style("display", "inline-block").style("padding", "0.5em");
2717
+ const allResultsDiv = sandboxDiv.body.append("div").style("max-width", "90vw");
2718
+ const coords = addGeneSearchbox({
2719
+ genome: par.genome,
2720
+ tip: new Menu({ padding: "" }),
2721
+ row: searchBarDiv,
2722
+ searchOnly: par.searchBar == "gene" ? "gene" : "",
2723
+ focusOff: true,
2724
+ callback: async (div) => {
2725
+ const resultDiv = allResultsDiv.insert("div", ":first-child").style("max-width", "90vw").style("margin", "1vw");
2726
+ resultDiv.append("div").style("display", "inline-block").style("cursor", "default").style("margin", "0px").style("font-size", "1.5em").html("&times;").on("click", () => {
2727
+ resultDiv.selectAll("*").remove();
2728
+ });
2729
+ makeURLbutton(resultDiv, coords, par);
2730
+ const runppArg = {
2731
+ holder: resultDiv.append("div").style("margin", "20px").node(),
2732
+ host: sessionStorage.getItem("hostURL"),
2733
+ genome: par.genome.name
2734
+ };
2735
+ par.runargs.block == true ? (runppArg.position = `${coords.chr}:${coords.start}-${coords.stop}`) && (runppArg.nativetracks = "Refgene") : runppArg.gene = coords.geneSymbol;
2736
+ const callpp = JSON.parse(JSON.stringify(par.runargs));
2737
+ runproteinpaint(Object.assign(runppArg, callpp));
2738
+ }
2739
+ });
2740
+ function addDatasetGenomeBtns(div, genomes2) {
2741
+ div.append("div").style("display", "inline-block").style("padding", "10px 10px 0px 20px");
2742
+ const btns = [];
2743
+ par.availableGenomes.forEach((genome2) => {
2744
+ btns.push({
2745
+ label: genome2,
2746
+ callback: (event, tab) => {
2747
+ par.genome = genomes2[genome2];
2748
+ }
2749
+ });
2750
+ });
2751
+ new Tabs({ holder: div, tabs: btns, noContent: true }).main();
2752
+ }
2753
+ }
2754
+ function makeURLbutton(div, coords, par) {
2755
+ const URLbtn = makeButton({ div, text: "Run Result from URL" });
2756
+ const blockOn = par.runargs.block == true ? `position=${coords.chr}:${coords.start}-${coords.stop}` : `gene=${coords.geneSymbol}`;
2757
+ URLbtn.on("click", (event) => {
2758
+ event.stopPropagation();
2759
+ const hostURL = getHostURL();
2760
+ window.open(`${hostURL}/?genome=${par.genome.name}&${blockOn}&${par.dsURLparam}`, "_blank");
2761
+ });
2762
+ }
2763
+ function getHostURL() {
2764
+ const hostURL = sessionStorage.getItem("hostURL");
2765
+ if (hostURL.startsWith("http://localhost") || hostURL.startsWith("https://pp")) {
2766
+ return hostURL;
2767
+ } else return "https://proteinpaint.stjude.org";
2768
+ }
2769
+ async function getGenomes(host) {
2770
+ const genomeURL = `${host}/genomes?embedder=${sessionStorage.getItem("hostURL").replace(/^https?:\/\//, "")}`;
2771
+ try {
2772
+ const response = await fetch(genomeURL);
2773
+ if (!response.ok) throw new Error(`HTTP Response error for genomes url ${response.status}`);
2774
+ const data = await response.json();
2775
+ return data;
2776
+ } catch (e) {
2777
+ console.error(`Error fetching genomes: ${e} from ${genomeURL}`);
2778
+ return null;
2779
+ }
2780
+ }
2781
+
2782
+ export {
2783
+ makeButton,
2784
+ openSandbox
2785
+ };
2786
+ //# sourceMappingURL=chunk-4B42QV34.js.map