@sjcrh/proteinpaint-client 2.224.2 → 2.225.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (970) hide show
  1. package/dist/2dmaf-4W2R2HXG.js +1362 -0
  2. package/dist/AggMatrixInput-3SQ7UW5L.js +402 -0
  3. package/dist/AggregateMatrix-QI55DXDU.js +37 -0
  4. package/dist/AppHeader-C26OHIUQ.js +826 -0
  5. package/dist/BoxPlot-27OYBGJ3.js +1247 -0
  6. package/dist/CorrelationVolcano-XIMXCSHG.js +613 -0
  7. package/dist/Cuminc-737O733E.js +1217 -0
  8. package/dist/DE-EDTGDY6L.js +85 -0
  9. package/dist/DEinput-ZN76I5M5.js +479 -0
  10. package/dist/DM-25IRANGL.js +86 -0
  11. package/dist/DifferentialAnalysis-7HQYEA5T.js +236 -0
  12. package/dist/Disco-4YNXWGRX.js +3445 -0
  13. package/dist/Disco-4YNXWGRX.js.map +7 -0
  14. package/dist/Disco.UI-67HBGS4Y.js +239 -0
  15. package/dist/DmrPlot-KZVDVPUT.js +366 -0
  16. package/dist/DmrPlot-KZVDVPUT.js.map +7 -0
  17. package/dist/GB-HT3B7Y7R.js +1388 -0
  18. package/dist/GSEA-CMFMNK5Y.js +870 -0
  19. package/dist/GeneExpInput-HMGV23E7.js +38 -0
  20. package/dist/Geomap-RB4SGVPC.js +80 -0
  21. package/dist/HicApp-YRP6YQFA.js +2240 -0
  22. package/dist/IDCViewer-OUSOZNSR.js +10810 -0
  23. package/dist/NumBinaryEditor-YFQDPBB6.js +274 -0
  24. package/dist/NumBinaryEditor.unit.spec-6YC5PCPK.js +308 -0
  25. package/dist/NumContEditor-EH6MA2RW.js +100 -0
  26. package/dist/NumContEditor.unit.spec-Q2JBVIRT.js +160 -0
  27. package/dist/NumCustomBinEditor-USQA3BC6.js +29 -0
  28. package/dist/NumCustomBinEditor.unit.spec-PE2HFRCK.js +393 -0
  29. package/dist/NumDiscreteEditor-VKE4WT24.js +165 -0
  30. package/dist/NumDiscreteEditor.unit.spec-JNG673LE.js +229 -0
  31. package/dist/NumRegularBinEditor-KCCPGJSX.js +29 -0
  32. package/dist/NumRegularBinEditor.unit.spec-4BLKQRZU.js +274 -0
  33. package/dist/NumSplineEditor-4YELHGUO.js +205 -0
  34. package/dist/NumSplineEditor.unit.spec-CKHHK6GH.js +220 -0
  35. package/dist/NumericDensity-LCFM7VSY.js +29 -0
  36. package/dist/NumericDensity.unit.spec-R4ARTJ5I.js +414 -0
  37. package/dist/NumericHandler-2OHRSY6Z.js +30 -0
  38. package/dist/NumericHandler.unit.spec-M3TRIFZW.js +225 -0
  39. package/dist/ProteomeInput-G2EP6QH2.js +610 -0
  40. package/dist/Regression-2HKE6C7F.js +1412 -0
  41. package/dist/RunChart2-WRVW63PB.js +744 -0
  42. package/dist/SC-37RDNFGH.js +1290 -0
  43. package/dist/Violin-KD6FPWC7.js +1105 -0
  44. package/dist/Violin-KD6FPWC7.js.map +7 -0
  45. package/dist/Volcano-U62TCDEL.js +2748 -0
  46. package/dist/Volcano-U62TCDEL.js.map +7 -0
  47. package/dist/Wsi-PB77PVAA.js +637 -0
  48. package/dist/aboutSunburst-5Z24ODIN.js +93 -0
  49. package/dist/adSandbox-AFORHU3V.js +29 -0
  50. package/dist/animatedBubbleChart-F75OBRZW.js +542 -0
  51. package/dist/app-4RZ76DZZ.js +28 -0
  52. package/dist/app-IHE3RNI5.js +38 -0
  53. package/dist/app.js +14 -14
  54. package/dist/bam-IIRZX3IK.js +872 -0
  55. package/dist/barchart-UIHRIMOE.js +38 -0
  56. package/dist/barchart2-DG3S6FDJ.js +305 -0
  57. package/dist/block-COZKGPXY.js +6203 -0
  58. package/dist/block.init-UBXYVTPQ.js +29 -0
  59. package/dist/block.mds.expressionrank-KSXPPPGR.js +350 -0
  60. package/dist/block.mds.geneboxplot-5RDFDVDE.js +819 -0
  61. package/dist/block.mds.junction-LMM24KXJ.js +1534 -0
  62. package/dist/block.mds.svcnv-4XRXZMPS.js +6325 -0
  63. package/dist/block.svg-VAKLMPMS.js +155 -0
  64. package/dist/block.tk.aicheck-6GHZK2YY.js +274 -0
  65. package/dist/block.tk.bam-7H3BSHR2.js +1906 -0
  66. package/dist/block.tk.bigwig.ui-KX2GACY5.js +202 -0
  67. package/dist/block.tk.hicstraw-OOWEWGMF.js +814 -0
  68. package/dist/block.tk.junction-U7W36OZA.js +2353 -0
  69. package/dist/block.tk.junction.textmatrixui-PAMSBYZT.js +190 -0
  70. package/dist/block.tk.ld-RFQPDG7Q.js +90 -0
  71. package/dist/block.tk.menu-JDJU2OGK.js +1050 -0
  72. package/dist/block.tk.pgv-G2UFCQUT.js +934 -0
  73. package/dist/brainImaging-ASAHWZJH.js +550 -0
  74. package/dist/brainRegions-XTJDLUU4.js +213 -0
  75. package/dist/bubbleHeatmap-UPUITTU6.js +374 -0
  76. package/dist/cellTypeBubbleHeatmap-25SOXC2Q.js +274 -0
  77. package/dist/chunk-2N345NXD.js +5790 -0
  78. package/dist/chunk-2N345NXD.js.map +7 -0
  79. package/dist/chunk-2ZYAC3DC.js +299 -0
  80. package/dist/chunk-325X3T7G.js +692 -0
  81. package/dist/chunk-3UXHTSZJ.js +159 -0
  82. package/dist/chunk-4DFKK46J.js +96 -0
  83. package/dist/chunk-54W2RWRB.js +123 -0
  84. package/dist/chunk-5QGC2624.js +54 -0
  85. package/dist/chunk-5YKXYWP3.js +480 -0
  86. package/dist/chunk-6B4AME6E.js +4389 -0
  87. package/dist/chunk-6H4FFHFQ.js +82 -0
  88. package/dist/chunk-6PVVV3UW.js +37 -0
  89. package/dist/chunk-72QBXULB.js +102 -0
  90. package/dist/chunk-7APH7QLC.js +141 -0
  91. package/dist/chunk-7HBAALWJ.js +2685 -0
  92. package/dist/chunk-7UK7CU4F.js +398 -0
  93. package/dist/chunk-7ZTUUKLX.js +203 -0
  94. package/dist/chunk-A7GCFL3R.js +30 -0
  95. package/dist/chunk-AGWIWLOP.js +14 -0
  96. package/dist/chunk-CHQ43UJQ.js +397 -0
  97. package/dist/chunk-CQWR4QZO.js +70 -0
  98. package/dist/chunk-D6TLBMIX.js +1339 -0
  99. package/dist/chunk-DDABG5BR.js +328 -0
  100. package/dist/chunk-DDABG5BR.js.map +7 -0
  101. package/dist/chunk-DOC3HBOV.js +119 -0
  102. package/dist/chunk-DR5JLHTB.js +35 -0
  103. package/dist/chunk-E2Z4X6C2.js +55 -0
  104. package/dist/chunk-E4WAVMI5.js +194 -0
  105. package/dist/chunk-EM76Y3HQ.js +1253 -0
  106. package/dist/chunk-ES7XNERS.js +468 -0
  107. package/dist/chunk-F2RTD23W.js +848 -0
  108. package/dist/chunk-FEE2HAON.js +418 -0
  109. package/dist/chunk-FIWVGOSE.js +54 -0
  110. package/dist/chunk-FT5HOBHJ.js +31 -0
  111. package/dist/chunk-G5BQJGRA.js +2799 -0
  112. package/dist/chunk-GAYYXHOG.js +257 -0
  113. package/dist/chunk-GDIKNIEA.js +263 -0
  114. package/dist/chunk-GIZTZCE5.js +195 -0
  115. package/dist/chunk-GONC3LVY.js +626 -0
  116. package/dist/chunk-HGC4EON3.js +348 -0
  117. package/dist/chunk-HM23KADV.js +281 -0
  118. package/dist/chunk-I7R6YROK.js +267 -0
  119. package/dist/chunk-I7R6YROK.js.map +7 -0
  120. package/dist/chunk-JWX6GEWQ.js +276 -0
  121. package/dist/chunk-K4LZR3HU.js +56 -0
  122. package/dist/chunk-K55KOEI6.js +6375 -0
  123. package/dist/chunk-K7YJILBY.js +5254 -0
  124. package/dist/chunk-K7YJILBY.js.map +7 -0
  125. package/dist/chunk-KLJM7HE5.js +2349 -0
  126. package/dist/chunk-LFH5VSSF.js +176 -0
  127. package/dist/chunk-LVFWXUUX.js +34 -0
  128. package/dist/chunk-LVFWXUUX.js.map +7 -0
  129. package/dist/chunk-MBWG3QHI.js +1219 -0
  130. package/dist/chunk-MZTVOOR6.js +56 -0
  131. package/dist/chunk-N2JOZ3QD.js +444 -0
  132. package/dist/chunk-NG2U3VHX.js +170 -0
  133. package/dist/chunk-NUGYNLTL.js +2334 -0
  134. package/dist/chunk-OCOB7XJW.js +2008 -0
  135. package/dist/chunk-OGDBTL5C.js +54 -0
  136. package/dist/chunk-OOVVKQSD.js +26747 -0
  137. package/dist/chunk-OOVVKQSD.js.map +7 -0
  138. package/dist/chunk-OVXHMJJJ.js +59 -0
  139. package/dist/chunk-PAF5KZCR.js +2932 -0
  140. package/dist/chunk-PI2MCZXG.js +140 -0
  141. package/dist/chunk-PPICALUF.js +2102 -0
  142. package/dist/chunk-QFOT5WAZ.js +134 -0
  143. package/dist/chunk-QFQJO7LD.js +472 -0
  144. package/dist/chunk-QFQJO7LD.js.map +7 -0
  145. package/dist/chunk-QGCB5AKN.js +243 -0
  146. package/dist/chunk-QRZRAMHA.js +184 -0
  147. package/dist/chunk-RGOZHZCN.js +103 -0
  148. package/dist/chunk-RJKY22D4.js +240 -0
  149. package/dist/chunk-RZ2HG7G3.js +102 -0
  150. package/dist/chunk-SI2KSG6E.js +379 -0
  151. package/dist/chunk-U4PLKSSS.js +50 -0
  152. package/dist/chunk-U7G65D2G.js +466 -0
  153. package/dist/chunk-UU3FWU6D.js +305 -0
  154. package/dist/chunk-UXLT7W2N.js +562 -0
  155. package/dist/chunk-VHQDN3OA.js +182 -0
  156. package/dist/chunk-VTMNHAFC.js +30 -0
  157. package/dist/chunk-W3K7KLIR.js +217 -0
  158. package/dist/chunk-WSLS55SH.js +296 -0
  159. package/dist/chunk-WUCIHN7D.js +382 -0
  160. package/dist/chunk-XQIB27PB.js +516 -0
  161. package/dist/chunk-XSBGICK5.js +652 -0
  162. package/dist/chunk-YHW2RAAG.js +274 -0
  163. package/dist/chunk-Z7CCL464.js +550 -0
  164. package/dist/chunk-ZBNPXXMK.js +42 -0
  165. package/dist/chunk-ZNHC46CT.js +340 -0
  166. package/dist/chunk-ZSTD6Y3K.js +255 -0
  167. package/dist/chunk-ZSTD6Y3K.js.map +7 -0
  168. package/dist/cohort-ZFGFEEBD.js +66 -0
  169. package/dist/cohortSunburst-EEPGV2RB.js +402 -0
  170. package/dist/condition-7EWFLQSO.js +323 -0
  171. package/dist/controls-QHDSDWKI.js +30 -0
  172. package/dist/controls.config-LBSCZ6GP.js +30 -0
  173. package/dist/correlation-IJQJPNNP.js +91 -0
  174. package/dist/customdata.inputui-TZGX2CUD.js +280 -0
  175. package/dist/dataDownload-33EWD3AD.js +326 -0
  176. package/dist/databrowser.ui-YNKDTAAN.js +424 -0
  177. package/dist/dictionary-OTR6Z5EZ.js +109 -0
  178. package/dist/dnaMethylation-LQTCTOOE.js +29 -0
  179. package/dist/dnaMethylation.integration.spec-U5VQYAK3.js +194 -0
  180. package/dist/dofetch-HLG7G7RX.js +49 -0
  181. package/dist/e2pca-AXDPYR7U.js +340 -0
  182. package/dist/ep-4WK46CH7.js +1247 -0
  183. package/dist/expclust.gdc.spec-CYGWGREQ.js +298 -0
  184. package/dist/facet-IZSSZDHK.js +556 -0
  185. package/dist/gb-AUZBUZFM.js +77 -0
  186. package/dist/geneExpClustering-AQBFLXLP.js +240 -0
  187. package/dist/geneExpression-HDJVPVPK.js +309 -0
  188. package/dist/geneExpression-V4JMTMLI.js +29 -0
  189. package/dist/geneExpression.unit.spec-KFMSDVMX.js +151 -0
  190. package/dist/geneORA-LDFFSEMQ.js +269 -0
  191. package/dist/geneRanking-IVKDSNDV.js +544 -0
  192. package/dist/geneVariant-7X7EEUDW.js +289 -0
  193. package/dist/geneVariant-TK3FJ22L.js +32 -0
  194. package/dist/geneVariant.integration.spec-ZHAFWQ2O.js +672 -0
  195. package/dist/genefusion.ui-U5YPVXAF.js +299 -0
  196. package/dist/geneset-NSHQ2NDR.js +199 -0
  197. package/dist/genomeBrowser.spec-HP4OQPCV.js +272 -0
  198. package/dist/grin2-5WKONQPG.js +66 -0
  199. package/dist/grin2-V2ZBOJBO.js +945 -0
  200. package/dist/hierCluster-7IOPNYFN.js +55 -0
  201. package/dist/hierCluster-IDBCUKHJ.js +51 -0
  202. package/dist/hierCluster.config-Z4NRL5P5.js +32 -0
  203. package/dist/hierCluster.integration.spec-PHEXOGPI.js +479 -0
  204. package/dist/hierCluster.interactivity-NHZ5EPBV.js +45 -0
  205. package/dist/hierCluster.renderers-WXJUMDFN.js +18 -0
  206. package/dist/imagePlot-NMNCAYS7.js +152 -0
  207. package/dist/importPlot-HZML5XMJ.js +8 -0
  208. package/dist/isoformExpression-4IU4AUQ2.js +31 -0
  209. package/dist/isoformExpression.unit.spec-KKMKU5Z2.js +233 -0
  210. package/dist/junction-EXA2WANI.js +32 -0
  211. package/dist/junction.customTerm-LQYKCZX4.js +15 -0
  212. package/dist/junction.unit.spec-H3FGTLEP.js +178 -0
  213. package/dist/launch.adhoc-YA6FRHSC.js +33 -0
  214. package/dist/leftlabel.sample-N6M4OL2X.js +254 -0
  215. package/dist/leftlabel.sample-N6M4OL2X.js.map +7 -0
  216. package/dist/lollipop-EWLGYDIR.js +162 -0
  217. package/dist/maf-PXMHR3PY.js +451 -0
  218. package/dist/maftimeline-QFKT7PW2.js +583 -0
  219. package/dist/matrix-KASG3KIY.js +55 -0
  220. package/dist/matrix-VSX63V3L.js +50 -0
  221. package/dist/matrix.cells-7TTOQRWU.js +25 -0
  222. package/dist/matrix.config-U3I726EC.js +33 -0
  223. package/dist/matrix.data-Y4DXSR2P.js +22 -0
  224. package/dist/matrix.groups-C5CHYWQZ.js +25 -0
  225. package/dist/matrix.integration.spec-4KWLFXMY.js +3156 -0
  226. package/dist/matrix.interactivity-JK6URU6Z.js +33 -0
  227. package/dist/matrix.layout-KKOA7GGL.js +35 -0
  228. package/dist/matrix.legend-3FFHXTLX.js +19 -0
  229. package/dist/matrix.renderers-F7EWYQWL.js +30 -0
  230. package/dist/matrix.serieses-I4JWWONC.js +18 -0
  231. package/dist/matrix.sort-5JTCLBPB.js +25 -0
  232. package/dist/matrix.sort.unit.spec-EW53F5DT.js +464 -0
  233. package/dist/matrix.sorterUi-Z4JDY7VW.js +15 -0
  234. package/dist/matrix.sorterUi.unit.spec-OGTYY6GC.js +334 -0
  235. package/dist/matrix.unit.spec-RXKKHRUN.js +146 -0
  236. package/dist/mavb-YI2WEGFI.js +726 -0
  237. package/dist/mds.samplescatterplot-GGJE67MF.js +1545 -0
  238. package/dist/mds.survivalplot-A6DS6FHO.js +472 -0
  239. package/dist/multivalue-3WCYDVL3.js +79 -0
  240. package/dist/numericDictTermCluster-AOTEPNEI.js +62 -0
  241. package/dist/oncomatrix-BB4SB5AJ.js +286 -0
  242. package/dist/oncomatrix.spec-M4ZC3KFC.js +439 -0
  243. package/dist/plot.2dvaf-QUD743E6.js +368 -0
  244. package/dist/plot.app-35I4DJXK.js +32 -0
  245. package/dist/plot.barplot-7OL4HWZB.js +93 -0
  246. package/dist/plot.boxplot-N2VSPDYA.js +142 -0
  247. package/dist/plot.brainImaging-4PIAFROV.js +51 -0
  248. package/dist/plot.disco-6CFYMWU3.js +100 -0
  249. package/dist/plot.disco-6CFYMWU3.js.map +7 -0
  250. package/dist/plot.ssgq-MGUBQNWE.js +130 -0
  251. package/dist/plot.vaf2cov-KVI2GMG4.js +249 -0
  252. package/dist/polar2-IGAOHGPE.js +228 -0
  253. package/dist/profileForms-MW7JQURG.js +937 -0
  254. package/dist/profilePlot-OVOSFR47.js +45 -0
  255. package/dist/proteinView-LFP5YYMK.js +1346 -0
  256. package/dist/proteomeCohortCompare-ONYL2UN4.js +866 -0
  257. package/dist/proteomeCohortCompare-ONYL2UN4.js.map +7 -0
  258. package/dist/pseudbulk.unit.spec-CGV4JTEK.js +82 -0
  259. package/dist/pseudobulk-WFCQX5KR.js +31 -0
  260. package/dist/qualitative-4SLUE6BW.js +241 -0
  261. package/dist/qualitative-6H674T7D.js +34 -0
  262. package/dist/radar2-QXHO2MQA.js +323 -0
  263. package/dist/radarFacility2-JCVOYMH4.js +331 -0
  264. package/dist/rememberedGvQ.unit.spec-Q3UZJPE2.js +210 -0
  265. package/dist/render-IIFS3Y2N.js +29 -0
  266. package/dist/report-NFBB3PUI.js +213 -0
  267. package/dist/sampleView-XQXKIPC7.js +39 -0
  268. package/dist/samplelst-RIC5E2W4.js +114 -0
  269. package/dist/samplematrix-WLCFCPBR.js +2188 -0
  270. package/dist/sc-TXRF7D6F.js +77 -0
  271. package/dist/scatter-JUGGPR4B.js +919 -0
  272. package/dist/scatter-YQ47446T.js +84 -0
  273. package/dist/selectGenomeWithTklst-2ELB6HQK.js +125 -0
  274. package/dist/singleCellCellType-DUTH4SZF.js +29 -0
  275. package/dist/singleCellCellType.unit.spec-PWP6I5PZ.js +150 -0
  276. package/dist/singleCellGeneExpression-3563T7GE.js +29 -0
  277. package/dist/singleCellGeneExpression.unit.spec-66IDCFJC.js +144 -0
  278. package/dist/singleCellNumericValue-XVQTKLTS.js +29 -0
  279. package/dist/singleCellNumericValue.unit.spec-LJSTGKNS.js +412 -0
  280. package/dist/singleCellPlot-MKYJJXSG.js +44 -0
  281. package/dist/singlecell-ANCWPAAO.js +1562 -0
  282. package/dist/singlecell-KMRVFOC5.js +77 -0
  283. package/dist/snp-B5UHGWVD.js +29 -0
  284. package/dist/snp.unit.spec-YAHITASM.js +167 -0
  285. package/dist/snplocus-MLGICRGT.js +200 -0
  286. package/dist/snplst-DZPIQEKI.js +36 -0
  287. package/dist/spliceevent.a53ss.diagram-4NYPSFC2.js +142 -0
  288. package/dist/spliceevent.exonskip.diagram-WLLTP7NP.js +274 -0
  289. package/dist/spliceevent.noeventdiagram-NOSO752Y.js +451 -0
  290. package/dist/ssGSEA-4DVY6Z5U.js +29 -0
  291. package/dist/ssGSEA.unit.spec-UDXV4Q7S.js +79 -0
  292. package/dist/stattable-T5X76Q32.js +112 -0
  293. package/dist/studyCatalog-O3EPBJPW.js +457 -0
  294. package/dist/summarizeCnvGeneexp-ST36TPEJ.js +154 -0
  295. package/dist/summarizeGeneexpSurvival-AZOFCBMT.js +101 -0
  296. package/dist/summarizeMutationCnv-HRCW6BYV.js +155 -0
  297. package/dist/summarizeMutationDiagnosis-RQQO2MOR.js +31 -0
  298. package/dist/summarizeMutationSurvival-UHSUJ7FU.js +95 -0
  299. package/dist/summary-ZMM5ET67.js +40 -0
  300. package/dist/summary.integration.spec-GW5UGDDU.js +405 -0
  301. package/dist/summaryInput-ZO5TPARQ.js +238 -0
  302. package/dist/sunburst-6VJS2SUY.js +34 -0
  303. package/dist/sunburst-LXRG2SFE.js +274 -0
  304. package/dist/survival-QXHY7JRR.js +49 -0
  305. package/dist/survival-U6J6KFN2.js +1248 -0
  306. package/dist/survival.integration.spec-HN3LL6IY.js +609 -0
  307. package/dist/svgraph-CVI27CTM.js +1377 -0
  308. package/dist/svmr-GZHAP5IV.js +3834 -0
  309. package/dist/swimmer-M4JGBO72.js +993 -0
  310. package/dist/table-QO22C2ER.js +192 -0
  311. package/dist/termCollection-EN73BZV5.js +247 -0
  312. package/dist/termCollection-KWNFLRWJ.js +29 -0
  313. package/dist/termCollection.unit.spec-Z27AZUE6.js +295 -0
  314. package/dist/termCollectionFractionSelection-Q7QFEPKA.js +38 -0
  315. package/dist/termCollectionFractionSelection.unit.spec-PYLIFZN5.js +184 -0
  316. package/dist/tk-BISILMKL.js +1198 -0
  317. package/dist/tk-BISILMKL.js.map +7 -0
  318. package/dist/tk-WVEDS5OU.js +38 -0
  319. package/dist/tp.ui-CG36YXBY.js +1453 -0
  320. package/dist/tvs.categorical-GCJISWBS.js +28 -0
  321. package/dist/tvs.condition-YTCVMB3I.js +160 -0
  322. package/dist/tvs.dt-UCSZ5S44.js +34 -0
  323. package/dist/tvs.dtcnv.categorical-KYB6XPL3.js +31 -0
  324. package/dist/tvs.dtcnv.continuous-MJWJNMKJ.js +72 -0
  325. package/dist/tvs.dtfusion-IZCEMTH5.js +31 -0
  326. package/dist/tvs.dtitd-DZ4WWGNO.js +31 -0
  327. package/dist/tvs.dtsnvindel-PMJCV4E7.js +31 -0
  328. package/dist/tvs.dtsv-5K2RNWDH.js +31 -0
  329. package/dist/tvs.multivalue-6NSC6JPR.js +84 -0
  330. package/dist/tvs.numeric-7U2NDY4A.js +32 -0
  331. package/dist/tvs.samplelst-3SIYTFWZ.js +95 -0
  332. package/dist/tvs.survival-Q3F5SLBW.js +110 -0
  333. package/dist/tvs.termCollection-OR73LBNX.js +118 -0
  334. package/dist/vocabulary-RWRAQ4VJ.js +32 -0
  335. package/dist/wsi.direct-HABLR3IF.js +11515 -0
  336. package/package.json +3 -3
  337. package/dist/2dmaf-OWA6REJ5.js +0 -1362
  338. package/dist/AggMatrixInput-5GC33U5A.js +0 -402
  339. package/dist/AggregateMatrix-CMJFO53B.js +0 -37
  340. package/dist/AppHeader-KJCXF35P.js +0 -826
  341. package/dist/BoxPlot-NZTO6CLZ.js +0 -1247
  342. package/dist/CorrelationVolcano-GHTPFM2V.js +0 -613
  343. package/dist/Cuminc-HHBYFFFM.js +0 -1217
  344. package/dist/DE-VVKIMVXD.js +0 -85
  345. package/dist/DEinput-F7HSM2SO.js +0 -479
  346. package/dist/DM-UBCIWZEY.js +0 -86
  347. package/dist/DifferentialAnalysis-UUXXMOQS.js +0 -236
  348. package/dist/Disco-NHXU7LG7.js +0 -3384
  349. package/dist/Disco-NHXU7LG7.js.map +0 -7
  350. package/dist/Disco.UI-GSSSK4YJ.js +0 -239
  351. package/dist/DmrPlot-QFSU62PY.js +0 -344
  352. package/dist/DmrPlot-QFSU62PY.js.map +0 -7
  353. package/dist/GB-CIQGJBJP.js +0 -1388
  354. package/dist/GSEA-3GVFEJTX.js +0 -870
  355. package/dist/GeneExpInput-CFU3Q7FM.js +0 -38
  356. package/dist/Geomap-NMVFA77Q.js +0 -80
  357. package/dist/HicApp-4FCGUUJD.js +0 -2240
  358. package/dist/IDCViewer-WFB6AXHD.js +0 -10810
  359. package/dist/NumBinaryEditor-4WUDJRSU.js +0 -274
  360. package/dist/NumBinaryEditor.unit.spec-MV53GTGQ.js +0 -308
  361. package/dist/NumContEditor-U4R6HPDM.js +0 -100
  362. package/dist/NumContEditor.unit.spec-J4ANPBSF.js +0 -160
  363. package/dist/NumCustomBinEditor-QRGDNFP4.js +0 -29
  364. package/dist/NumCustomBinEditor.unit.spec-PPF233FW.js +0 -393
  365. package/dist/NumDiscreteEditor-LNK4KHSL.js +0 -165
  366. package/dist/NumDiscreteEditor.unit.spec-QY6O62JU.js +0 -229
  367. package/dist/NumRegularBinEditor-XTINNM5L.js +0 -29
  368. package/dist/NumRegularBinEditor.unit.spec-FSLARHOC.js +0 -274
  369. package/dist/NumSplineEditor-YSQTKBFA.js +0 -205
  370. package/dist/NumSplineEditor.unit.spec-QNITPY7R.js +0 -220
  371. package/dist/NumericDensity-J5WS74JZ.js +0 -29
  372. package/dist/NumericDensity.unit.spec-4WQWLSSJ.js +0 -414
  373. package/dist/NumericHandler-ZEWC25U2.js +0 -30
  374. package/dist/NumericHandler.unit.spec-A3G5FWGV.js +0 -225
  375. package/dist/ProteomeInput-7DXGQIOO.js +0 -610
  376. package/dist/Regression-VQ5MC6KW.js +0 -1412
  377. package/dist/RunChart2-B33CQUXH.js +0 -744
  378. package/dist/SC-LEVWXS4P.js +0 -1290
  379. package/dist/Violin-L43OHY63.js +0 -1105
  380. package/dist/Violin-L43OHY63.js.map +0 -7
  381. package/dist/Volcano-NTXVM3UR.js +0 -2657
  382. package/dist/Volcano-NTXVM3UR.js.map +0 -7
  383. package/dist/Wsi-VPF6RX3B.js +0 -637
  384. package/dist/aboutSunburst-NGH3V74S.js +0 -93
  385. package/dist/adSandbox-VOAL4P5A.js +0 -29
  386. package/dist/animatedBubbleChart-HKOGYPSS.js +0 -542
  387. package/dist/app-AZLUP2BA.js +0 -28
  388. package/dist/app-JJPKGBEV.js +0 -38
  389. package/dist/bam-GIZSH2MF.js +0 -872
  390. package/dist/barchart-CVTXLIIQ.js +0 -38
  391. package/dist/barchart2-XYC6WITL.js +0 -305
  392. package/dist/block-DXRSU62C.js +0 -6203
  393. package/dist/block.init-U4Y6ROG4.js +0 -29
  394. package/dist/block.mds.expressionrank-BB26LVTM.js +0 -350
  395. package/dist/block.mds.geneboxplot-VVKEU3SL.js +0 -819
  396. package/dist/block.mds.junction-XUZX6EAQ.js +0 -1534
  397. package/dist/block.mds.svcnv-WDSACPWG.js +0 -6325
  398. package/dist/block.svg-T5BA7VLS.js +0 -155
  399. package/dist/block.tk.aicheck-3VN2RDPD.js +0 -274
  400. package/dist/block.tk.bam-5XZ3N4Y7.js +0 -1906
  401. package/dist/block.tk.bigwig.ui-JODVOS4R.js +0 -202
  402. package/dist/block.tk.hicstraw-AFNWJ2YP.js +0 -814
  403. package/dist/block.tk.junction-T2G6XEVS.js +0 -2353
  404. package/dist/block.tk.junction.textmatrixui-FL5MZH7K.js +0 -190
  405. package/dist/block.tk.ld-JKBXDOB5.js +0 -90
  406. package/dist/block.tk.menu-2X4BN7BN.js +0 -1050
  407. package/dist/block.tk.pgv-ASUVEGQF.js +0 -934
  408. package/dist/brainImaging-27442GMQ.js +0 -550
  409. package/dist/brainRegions-3367RQCU.js +0 -213
  410. package/dist/bubbleHeatmap-IOVS6SHX.js +0 -374
  411. package/dist/cellTypeBubbleHeatmap-7XJP6B5W.js +0 -274
  412. package/dist/chunk-2CTAWHGB.js +0 -56
  413. package/dist/chunk-2ESAB2PP.js +0 -848
  414. package/dist/chunk-2GP3LH7J.js +0 -194
  415. package/dist/chunk-2UGYE6EJ.js +0 -54
  416. package/dist/chunk-3TJBSAIO.js +0 -170
  417. package/dist/chunk-46KQE4DV.js +0 -418
  418. package/dist/chunk-4ICGMPPE.js +0 -56
  419. package/dist/chunk-4RQTQDHF.js +0 -5214
  420. package/dist/chunk-4RQTQDHF.js.map +0 -7
  421. package/dist/chunk-5FD6NRGE.js +0 -472
  422. package/dist/chunk-5FD6NRGE.js.map +0 -7
  423. package/dist/chunk-5JBOGNSG.js +0 -159
  424. package/dist/chunk-5OWPH4IH.js +0 -626
  425. package/dist/chunk-63TCOVAK.js +0 -30
  426. package/dist/chunk-7ONTCJWB.js +0 -1219
  427. package/dist/chunk-7Q4KAFCS.js +0 -281
  428. package/dist/chunk-7UXV4IX5.js +0 -102
  429. package/dist/chunk-7ZCYC2DQ.js +0 -70
  430. package/dist/chunk-AQSZLUDV.js +0 -184
  431. package/dist/chunk-BBA5MAFS.js +0 -240
  432. package/dist/chunk-BNJC6OX5.js +0 -2102
  433. package/dist/chunk-BOQYGAYA.js +0 -119
  434. package/dist/chunk-C4YACFGH.js +0 -692
  435. package/dist/chunk-CKO54XWB.js +0 -54
  436. package/dist/chunk-COWLQ74R.js +0 -82
  437. package/dist/chunk-CU434U4N.js +0 -35
  438. package/dist/chunk-CZOJUH3C.js +0 -30
  439. package/dist/chunk-D22DJFFZ.js +0 -254
  440. package/dist/chunk-D22DJFFZ.js.map +0 -7
  441. package/dist/chunk-D2YPS46O.js +0 -266
  442. package/dist/chunk-D2YPS46O.js.map +0 -7
  443. package/dist/chunk-DVSTBGZT.js +0 -182
  444. package/dist/chunk-EIO6DMIQ.js +0 -31
  445. package/dist/chunk-EM56Y4X6.js +0 -2685
  446. package/dist/chunk-F6CYUMSM.js +0 -37
  447. package/dist/chunk-FUTHP5J4.js +0 -274
  448. package/dist/chunk-G5GFCBJT.js +0 -217
  449. package/dist/chunk-GOL6A746.js +0 -96
  450. package/dist/chunk-GVLXSPTN.js +0 -141
  451. package/dist/chunk-HNU4RYI5.js +0 -203
  452. package/dist/chunk-HTIZFNBC.js +0 -4389
  453. package/dist/chunk-HUF5BTO6.js +0 -562
  454. package/dist/chunk-HWP3U2VY.js +0 -382
  455. package/dist/chunk-JEXS72M5.js +0 -550
  456. package/dist/chunk-JNIYPQWY.js +0 -176
  457. package/dist/chunk-K5RCZIZN.js +0 -2799
  458. package/dist/chunk-KA3KYNOP.js +0 -195
  459. package/dist/chunk-KGFH5VTH.js +0 -444
  460. package/dist/chunk-KTRDLHCP.js +0 -397
  461. package/dist/chunk-L6TGKNRA.js +0 -516
  462. package/dist/chunk-LN4KNFOQ.js +0 -55
  463. package/dist/chunk-M4ML4ACA.js +0 -134
  464. package/dist/chunk-MIDVLNN3.js +0 -123
  465. package/dist/chunk-MUVXIOXM.js +0 -276
  466. package/dist/chunk-N2RAPA7D.js +0 -42
  467. package/dist/chunk-N6AHRJAM.js +0 -1339
  468. package/dist/chunk-NB4UU4DH.js +0 -54
  469. package/dist/chunk-NGG4737W.js +0 -296
  470. package/dist/chunk-O4BDFBVK.js +0 -1253
  471. package/dist/chunk-OGU7IDV7.js +0 -102
  472. package/dist/chunk-OT2DMA2D.js +0 -652
  473. package/dist/chunk-OVO6NYUR.js +0 -480
  474. package/dist/chunk-OXRZSZKA.js +0 -2008
  475. package/dist/chunk-QMR3QMJG.js +0 -50
  476. package/dist/chunk-QUVGLTCF.js +0 -103
  477. package/dist/chunk-R2H22S4J.js +0 -5786
  478. package/dist/chunk-R2H22S4J.js.map +0 -7
  479. package/dist/chunk-RCLCEA55.js +0 -305
  480. package/dist/chunk-RCVA2RWU.js +0 -466
  481. package/dist/chunk-RSCSTOUN.js +0 -6375
  482. package/dist/chunk-SCXWXLMR.js +0 -237
  483. package/dist/chunk-SCXWXLMR.js.map +0 -7
  484. package/dist/chunk-SQUMXZXI.js +0 -257
  485. package/dist/chunk-T2DORAV4.js +0 -398
  486. package/dist/chunk-TBXJ2CUA.js +0 -14
  487. package/dist/chunk-TQLHKDNS.js +0 -140
  488. package/dist/chunk-TTSKLWP7.js +0 -2932
  489. package/dist/chunk-VQD6GZMU.js +0 -59
  490. package/dist/chunk-VZBRG6HQ.js +0 -263
  491. package/dist/chunk-WQHL6SR3.js +0 -468
  492. package/dist/chunk-X7JGAQ5N.js +0 -340
  493. package/dist/chunk-Z6ZFRHXK.js +0 -2334
  494. package/dist/chunk-ZCY72DDM.js +0 -379
  495. package/dist/chunk-ZHY7ZHWC.js +0 -243
  496. package/dist/chunk-ZIMAIUZD.js +0 -26744
  497. package/dist/chunk-ZIMAIUZD.js.map +0 -7
  498. package/dist/chunk-ZLQ6PAI6.js +0 -299
  499. package/dist/chunk-ZUG4EY4T.js +0 -348
  500. package/dist/chunk-ZUXXBQ7D.js +0 -2349
  501. package/dist/cohort-2DQOQ5AO.js +0 -66
  502. package/dist/cohortSunburst-W6XC7VD6.js +0 -402
  503. package/dist/condition-3A7I5UQA.js +0 -323
  504. package/dist/controls-G5WYBX4P.js +0 -30
  505. package/dist/controls.config-TAFGM2S2.js +0 -30
  506. package/dist/correlation-K4EOOQJU.js +0 -91
  507. package/dist/customdata.inputui-E7RRN3KY.js +0 -280
  508. package/dist/dataDownload-OXZGAE5R.js +0 -326
  509. package/dist/databrowser.ui-IPUF6LUC.js +0 -424
  510. package/dist/dictionary-MUNAUI43.js +0 -109
  511. package/dist/dnaMethylation-SOV4HBAX.js +0 -29
  512. package/dist/dnaMethylation.integration.spec-T4KKTMRL.js +0 -194
  513. package/dist/dofetch-2CR2TVWC.js +0 -49
  514. package/dist/e2pca-EIOJCV4O.js +0 -340
  515. package/dist/ep-5QX3CW6D.js +0 -1247
  516. package/dist/expclust.gdc.spec-TNHPZLYQ.js +0 -298
  517. package/dist/facet-I3OC4DK2.js +0 -556
  518. package/dist/gb-WPIUHR3O.js +0 -77
  519. package/dist/geneExpClustering-EYGZENSP.js +0 -240
  520. package/dist/geneExpression-54L3DH32.js +0 -309
  521. package/dist/geneExpression-6S6H2EVY.js +0 -29
  522. package/dist/geneExpression.unit.spec-VVI2MXIH.js +0 -151
  523. package/dist/geneORA-7M64LXZC.js +0 -269
  524. package/dist/geneRanking-676CAA3B.js +0 -544
  525. package/dist/geneVariant-4UPJE6MJ.js +0 -289
  526. package/dist/geneVariant-PFVPL22U.js +0 -32
  527. package/dist/geneVariant.integration.spec-EAJ4OSFQ.js +0 -672
  528. package/dist/genefusion.ui-LP4EJUTO.js +0 -299
  529. package/dist/geneset-ANDOMTPO.js +0 -199
  530. package/dist/genomeBrowser.spec-NUXOOL5N.js +0 -272
  531. package/dist/grin2-K4LRVCES.js +0 -66
  532. package/dist/grin2-YFCWJZFR.js +0 -945
  533. package/dist/hierCluster-POD3DRO4.js +0 -55
  534. package/dist/hierCluster-QA7HXKRD.js +0 -51
  535. package/dist/hierCluster.config-HQ3SVKCE.js +0 -32
  536. package/dist/hierCluster.integration.spec-MOYDWJL3.js +0 -479
  537. package/dist/hierCluster.interactivity-OZTNHXZQ.js +0 -45
  538. package/dist/hierCluster.renderers-46E37NL4.js +0 -18
  539. package/dist/imagePlot-HNAYBWY3.js +0 -152
  540. package/dist/importPlot-XTW46VF4.js +0 -8
  541. package/dist/isoformExpression-2TMTILKG.js +0 -31
  542. package/dist/isoformExpression.unit.spec-SIJWP7TH.js +0 -233
  543. package/dist/junction-AICKHNXX.js +0 -32
  544. package/dist/junction.customTerm-5STKYZ4B.js +0 -15
  545. package/dist/junction.unit.spec-EXFN4MLW.js +0 -178
  546. package/dist/launch.adhoc-PB6PGR7Q.js +0 -33
  547. package/dist/leftlabel.sample-ISUD4A7F.js +0 -253
  548. package/dist/leftlabel.sample-ISUD4A7F.js.map +0 -7
  549. package/dist/lollipop-5UXUAFYY.js +0 -162
  550. package/dist/maf-L6YD25JK.js +0 -451
  551. package/dist/maftimeline-63YZDGJ3.js +0 -583
  552. package/dist/matrix-OPEBHZCW.js +0 -55
  553. package/dist/matrix-TLMWPG7C.js +0 -50
  554. package/dist/matrix.cells-IELMNYC6.js +0 -25
  555. package/dist/matrix.config-J7SVFXLM.js +0 -33
  556. package/dist/matrix.data-DJTJCPO4.js +0 -22
  557. package/dist/matrix.groups-2REICNZK.js +0 -25
  558. package/dist/matrix.integration.spec-ZXU2OEFU.js +0 -3156
  559. package/dist/matrix.interactivity-SX3OR6OI.js +0 -33
  560. package/dist/matrix.layout-ZJ6X5RON.js +0 -35
  561. package/dist/matrix.legend-ZOP72TIO.js +0 -19
  562. package/dist/matrix.renderers-YUSROXKN.js +0 -30
  563. package/dist/matrix.serieses-UMAZNCMR.js +0 -18
  564. package/dist/matrix.sort-2JNIZHNL.js +0 -25
  565. package/dist/matrix.sort.unit.spec-SNB643Y6.js +0 -464
  566. package/dist/matrix.sorterUi-JXEIY6UL.js +0 -15
  567. package/dist/matrix.sorterUi.unit.spec-LDAT4R3H.js +0 -334
  568. package/dist/matrix.unit.spec-QBQIMDLD.js +0 -146
  569. package/dist/mavb-EQUF3VGG.js +0 -726
  570. package/dist/mds.samplescatterplot-73E45ZT7.js +0 -1545
  571. package/dist/mds.survivalplot-DL53IRVD.js +0 -472
  572. package/dist/multivalue-PQN75ENP.js +0 -79
  573. package/dist/numericDictTermCluster-FGMIOTBO.js +0 -62
  574. package/dist/oncomatrix-CCHWOA3N.js +0 -286
  575. package/dist/oncomatrix.spec-GQT3UTCR.js +0 -439
  576. package/dist/plot.2dvaf-L6ZI5ROR.js +0 -368
  577. package/dist/plot.app-A73VXJCP.js +0 -32
  578. package/dist/plot.barplot-HSCHPOO7.js +0 -93
  579. package/dist/plot.boxplot-AXBVNTNH.js +0 -142
  580. package/dist/plot.brainImaging-PEMURKM3.js +0 -51
  581. package/dist/plot.disco-YKMYYVMV.js +0 -98
  582. package/dist/plot.disco-YKMYYVMV.js.map +0 -7
  583. package/dist/plot.ssgq-FGMQXKZU.js +0 -130
  584. package/dist/plot.vaf2cov-IBM7NQEB.js +0 -249
  585. package/dist/polar2-N7KWY36S.js +0 -228
  586. package/dist/profileForms-Q4NN7653.js +0 -937
  587. package/dist/profilePlot-SQ77M6LI.js +0 -45
  588. package/dist/proteinView-KSIZRDNP.js +0 -1346
  589. package/dist/proteomeCohortCompare-GYSBJSDY.js +0 -866
  590. package/dist/proteomeCohortCompare-GYSBJSDY.js.map +0 -7
  591. package/dist/pseudbulk.unit.spec-XELPZVXM.js +0 -82
  592. package/dist/pseudobulk-H3USXM5U.js +0 -31
  593. package/dist/qualitative-ABXENRAF.js +0 -34
  594. package/dist/qualitative-OSEJTJ4D.js +0 -241
  595. package/dist/radar2-VTDQGHWN.js +0 -323
  596. package/dist/radarFacility2-BWGEC5A2.js +0 -331
  597. package/dist/rememberedGvQ.unit.spec-TWUDSEDP.js +0 -210
  598. package/dist/render-C3XJQ2QY.js +0 -29
  599. package/dist/report-7ZZ44X4R.js +0 -213
  600. package/dist/sampleView-CUCNI65Q.js +0 -39
  601. package/dist/samplelst-S7AJQ36J.js +0 -114
  602. package/dist/samplematrix-U7WM6GNB.js +0 -2188
  603. package/dist/sc-FMJHN2SW.js +0 -77
  604. package/dist/scatter-4UMCJNEH.js +0 -919
  605. package/dist/scatter-KMAZ3ZNR.js +0 -84
  606. package/dist/selectGenomeWithTklst-5SRM45BI.js +0 -125
  607. package/dist/singleCellCellType-GIIICJK5.js +0 -29
  608. package/dist/singleCellCellType.unit.spec-MVA7BMGL.js +0 -150
  609. package/dist/singleCellGeneExpression-2QFQHJJH.js +0 -29
  610. package/dist/singleCellGeneExpression.unit.spec-SAIETYHV.js +0 -144
  611. package/dist/singleCellNumericValue-45H5EPIB.js +0 -29
  612. package/dist/singleCellNumericValue.unit.spec-FNKEJ2WC.js +0 -412
  613. package/dist/singleCellPlot-SP7OEGYQ.js +0 -44
  614. package/dist/singlecell-AVZQX4AH.js +0 -1562
  615. package/dist/singlecell-JQKUHGIH.js +0 -77
  616. package/dist/snp-4SA7VABN.js +0 -29
  617. package/dist/snp.unit.spec-YIYGR6GW.js +0 -167
  618. package/dist/snplocus-TDGQ57ZJ.js +0 -200
  619. package/dist/snplst-SWBGRYPA.js +0 -36
  620. package/dist/spliceevent.a53ss.diagram-YODOBS6U.js +0 -142
  621. package/dist/spliceevent.exonskip.diagram-PMZIQ5UG.js +0 -274
  622. package/dist/spliceevent.noeventdiagram-A4T2PNUX.js +0 -451
  623. package/dist/ssGSEA-U7D6HOIV.js +0 -29
  624. package/dist/ssGSEA.unit.spec-SMNAM5DJ.js +0 -79
  625. package/dist/stattable-DBYMPJU6.js +0 -112
  626. package/dist/studyCatalog-7RABX4W5.js +0 -457
  627. package/dist/summarizeCnvGeneexp-YVRW7LWY.js +0 -154
  628. package/dist/summarizeGeneexpSurvival-ZB7IWGPS.js +0 -101
  629. package/dist/summarizeMutationCnv-CUSYURDK.js +0 -155
  630. package/dist/summarizeMutationDiagnosis-NSPCT5WI.js +0 -31
  631. package/dist/summarizeMutationSurvival-2PZZCC4G.js +0 -95
  632. package/dist/summary-CYDZSICI.js +0 -40
  633. package/dist/summary.integration.spec-2TLKJS3X.js +0 -405
  634. package/dist/summaryInput-BRQ5JRGV.js +0 -238
  635. package/dist/sunburst-435LKL2S.js +0 -34
  636. package/dist/sunburst-D5WAGHX6.js +0 -274
  637. package/dist/survival-M63B6DY5.js +0 -1248
  638. package/dist/survival-MHESSYWF.js +0 -49
  639. package/dist/survival.integration.spec-WMS3FTNR.js +0 -609
  640. package/dist/svgraph-LYFGVTHI.js +0 -1377
  641. package/dist/svmr-UR67QZIP.js +0 -3834
  642. package/dist/swimmer-RP4SUEZS.js +0 -993
  643. package/dist/table-V4OOMF3B.js +0 -192
  644. package/dist/termCollection-VHGVBSWW.js +0 -29
  645. package/dist/termCollection-WSNM3YFK.js +0 -247
  646. package/dist/termCollection.unit.spec-NCZUZL6P.js +0 -295
  647. package/dist/termCollectionFractionSelection-XM3FJWBQ.js +0 -38
  648. package/dist/termCollectionFractionSelection.unit.spec-VO4SAV72.js +0 -184
  649. package/dist/tk-G5PKWSXJ.js +0 -1193
  650. package/dist/tk-G5PKWSXJ.js.map +0 -7
  651. package/dist/tk-KIELQHVI.js +0 -37
  652. package/dist/tp.ui-HAKSWLFB.js +0 -1453
  653. package/dist/tvs.categorical-G4DM4JY5.js +0 -28
  654. package/dist/tvs.condition-E5NUQONB.js +0 -160
  655. package/dist/tvs.dt-T4BK24VZ.js +0 -34
  656. package/dist/tvs.dtcnv.categorical-V57TZFRA.js +0 -31
  657. package/dist/tvs.dtcnv.continuous-D4YIB4PN.js +0 -72
  658. package/dist/tvs.dtfusion-6DUFLUNH.js +0 -31
  659. package/dist/tvs.dtitd-GOEPAQGR.js +0 -31
  660. package/dist/tvs.dtsnvindel-ASTXGC4O.js +0 -31
  661. package/dist/tvs.dtsv-7TGDEWXK.js +0 -31
  662. package/dist/tvs.multivalue-SEIGL2W6.js +0 -84
  663. package/dist/tvs.numeric-MLLX5L7Z.js +0 -32
  664. package/dist/tvs.samplelst-HAV7C2EA.js +0 -95
  665. package/dist/tvs.survival-3B522MT2.js +0 -110
  666. package/dist/tvs.termCollection-R5NG4VXP.js +0 -118
  667. package/dist/vocabulary-LBNHNSEN.js +0 -32
  668. package/dist/wsi.direct-ZEZO4NLR.js +0 -11515
  669. /package/dist/{2dmaf-OWA6REJ5.js.map → 2dmaf-4W2R2HXG.js.map} +0 -0
  670. /package/dist/{AggMatrixInput-5GC33U5A.js.map → AggMatrixInput-3SQ7UW5L.js.map} +0 -0
  671. /package/dist/{AggregateMatrix-CMJFO53B.js.map → AggregateMatrix-QI55DXDU.js.map} +0 -0
  672. /package/dist/{AppHeader-KJCXF35P.js.map → AppHeader-C26OHIUQ.js.map} +0 -0
  673. /package/dist/{BoxPlot-NZTO6CLZ.js.map → BoxPlot-27OYBGJ3.js.map} +0 -0
  674. /package/dist/{CorrelationVolcano-GHTPFM2V.js.map → CorrelationVolcano-XIMXCSHG.js.map} +0 -0
  675. /package/dist/{Cuminc-HHBYFFFM.js.map → Cuminc-737O733E.js.map} +0 -0
  676. /package/dist/{DE-VVKIMVXD.js.map → DE-EDTGDY6L.js.map} +0 -0
  677. /package/dist/{DEinput-F7HSM2SO.js.map → DEinput-ZN76I5M5.js.map} +0 -0
  678. /package/dist/{DM-UBCIWZEY.js.map → DM-25IRANGL.js.map} +0 -0
  679. /package/dist/{DifferentialAnalysis-UUXXMOQS.js.map → DifferentialAnalysis-7HQYEA5T.js.map} +0 -0
  680. /package/dist/{Disco.UI-GSSSK4YJ.js.map → Disco.UI-67HBGS4Y.js.map} +0 -0
  681. /package/dist/{GB-CIQGJBJP.js.map → GB-HT3B7Y7R.js.map} +0 -0
  682. /package/dist/{GSEA-3GVFEJTX.js.map → GSEA-CMFMNK5Y.js.map} +0 -0
  683. /package/dist/{GeneExpInput-CFU3Q7FM.js.map → GeneExpInput-HMGV23E7.js.map} +0 -0
  684. /package/dist/{Geomap-NMVFA77Q.js.map → Geomap-RB4SGVPC.js.map} +0 -0
  685. /package/dist/{HicApp-4FCGUUJD.js.map → HicApp-YRP6YQFA.js.map} +0 -0
  686. /package/dist/{IDCViewer-WFB6AXHD.js.map → IDCViewer-OUSOZNSR.js.map} +0 -0
  687. /package/dist/{NumBinaryEditor-4WUDJRSU.js.map → NumBinaryEditor-YFQDPBB6.js.map} +0 -0
  688. /package/dist/{NumBinaryEditor.unit.spec-MV53GTGQ.js.map → NumBinaryEditor.unit.spec-6YC5PCPK.js.map} +0 -0
  689. /package/dist/{NumContEditor-U4R6HPDM.js.map → NumContEditor-EH6MA2RW.js.map} +0 -0
  690. /package/dist/{NumContEditor.unit.spec-J4ANPBSF.js.map → NumContEditor.unit.spec-Q2JBVIRT.js.map} +0 -0
  691. /package/dist/{NumCustomBinEditor-QRGDNFP4.js.map → NumCustomBinEditor-USQA3BC6.js.map} +0 -0
  692. /package/dist/{NumCustomBinEditor.unit.spec-PPF233FW.js.map → NumCustomBinEditor.unit.spec-PE2HFRCK.js.map} +0 -0
  693. /package/dist/{NumDiscreteEditor-LNK4KHSL.js.map → NumDiscreteEditor-VKE4WT24.js.map} +0 -0
  694. /package/dist/{NumDiscreteEditor.unit.spec-QY6O62JU.js.map → NumDiscreteEditor.unit.spec-JNG673LE.js.map} +0 -0
  695. /package/dist/{NumRegularBinEditor-XTINNM5L.js.map → NumRegularBinEditor-KCCPGJSX.js.map} +0 -0
  696. /package/dist/{NumRegularBinEditor.unit.spec-FSLARHOC.js.map → NumRegularBinEditor.unit.spec-4BLKQRZU.js.map} +0 -0
  697. /package/dist/{NumSplineEditor-YSQTKBFA.js.map → NumSplineEditor-4YELHGUO.js.map} +0 -0
  698. /package/dist/{NumSplineEditor.unit.spec-QNITPY7R.js.map → NumSplineEditor.unit.spec-CKHHK6GH.js.map} +0 -0
  699. /package/dist/{NumericDensity-J5WS74JZ.js.map → NumericDensity-LCFM7VSY.js.map} +0 -0
  700. /package/dist/{NumericDensity.unit.spec-4WQWLSSJ.js.map → NumericDensity.unit.spec-R4ARTJ5I.js.map} +0 -0
  701. /package/dist/{NumericHandler-ZEWC25U2.js.map → NumericHandler-2OHRSY6Z.js.map} +0 -0
  702. /package/dist/{NumericHandler.unit.spec-A3G5FWGV.js.map → NumericHandler.unit.spec-M3TRIFZW.js.map} +0 -0
  703. /package/dist/{ProteomeInput-7DXGQIOO.js.map → ProteomeInput-G2EP6QH2.js.map} +0 -0
  704. /package/dist/{Regression-VQ5MC6KW.js.map → Regression-2HKE6C7F.js.map} +0 -0
  705. /package/dist/{RunChart2-B33CQUXH.js.map → RunChart2-WRVW63PB.js.map} +0 -0
  706. /package/dist/{SC-LEVWXS4P.js.map → SC-37RDNFGH.js.map} +0 -0
  707. /package/dist/{Wsi-VPF6RX3B.js.map → Wsi-PB77PVAA.js.map} +0 -0
  708. /package/dist/{aboutSunburst-NGH3V74S.js.map → aboutSunburst-5Z24ODIN.js.map} +0 -0
  709. /package/dist/{adSandbox-VOAL4P5A.js.map → adSandbox-AFORHU3V.js.map} +0 -0
  710. /package/dist/{animatedBubbleChart-HKOGYPSS.js.map → animatedBubbleChart-F75OBRZW.js.map} +0 -0
  711. /package/dist/{app-AZLUP2BA.js.map → app-4RZ76DZZ.js.map} +0 -0
  712. /package/dist/{app-JJPKGBEV.js.map → app-IHE3RNI5.js.map} +0 -0
  713. /package/dist/{bam-GIZSH2MF.js.map → bam-IIRZX3IK.js.map} +0 -0
  714. /package/dist/{barchart-CVTXLIIQ.js.map → barchart-UIHRIMOE.js.map} +0 -0
  715. /package/dist/{barchart2-XYC6WITL.js.map → barchart2-DG3S6FDJ.js.map} +0 -0
  716. /package/dist/{block-DXRSU62C.js.map → block-COZKGPXY.js.map} +0 -0
  717. /package/dist/{block.init-U4Y6ROG4.js.map → block.init-UBXYVTPQ.js.map} +0 -0
  718. /package/dist/{block.mds.expressionrank-BB26LVTM.js.map → block.mds.expressionrank-KSXPPPGR.js.map} +0 -0
  719. /package/dist/{block.mds.geneboxplot-VVKEU3SL.js.map → block.mds.geneboxplot-5RDFDVDE.js.map} +0 -0
  720. /package/dist/{block.mds.junction-XUZX6EAQ.js.map → block.mds.junction-LMM24KXJ.js.map} +0 -0
  721. /package/dist/{block.mds.svcnv-WDSACPWG.js.map → block.mds.svcnv-4XRXZMPS.js.map} +0 -0
  722. /package/dist/{block.svg-T5BA7VLS.js.map → block.svg-VAKLMPMS.js.map} +0 -0
  723. /package/dist/{block.tk.aicheck-3VN2RDPD.js.map → block.tk.aicheck-6GHZK2YY.js.map} +0 -0
  724. /package/dist/{block.tk.bam-5XZ3N4Y7.js.map → block.tk.bam-7H3BSHR2.js.map} +0 -0
  725. /package/dist/{block.tk.bigwig.ui-JODVOS4R.js.map → block.tk.bigwig.ui-KX2GACY5.js.map} +0 -0
  726. /package/dist/{block.tk.hicstraw-AFNWJ2YP.js.map → block.tk.hicstraw-OOWEWGMF.js.map} +0 -0
  727. /package/dist/{block.tk.junction-T2G6XEVS.js.map → block.tk.junction-U7W36OZA.js.map} +0 -0
  728. /package/dist/{block.tk.junction.textmatrixui-FL5MZH7K.js.map → block.tk.junction.textmatrixui-PAMSBYZT.js.map} +0 -0
  729. /package/dist/{block.tk.ld-JKBXDOB5.js.map → block.tk.ld-RFQPDG7Q.js.map} +0 -0
  730. /package/dist/{block.tk.menu-2X4BN7BN.js.map → block.tk.menu-JDJU2OGK.js.map} +0 -0
  731. /package/dist/{block.tk.pgv-ASUVEGQF.js.map → block.tk.pgv-G2UFCQUT.js.map} +0 -0
  732. /package/dist/{brainImaging-27442GMQ.js.map → brainImaging-ASAHWZJH.js.map} +0 -0
  733. /package/dist/{brainRegions-3367RQCU.js.map → brainRegions-XTJDLUU4.js.map} +0 -0
  734. /package/dist/{bubbleHeatmap-IOVS6SHX.js.map → bubbleHeatmap-UPUITTU6.js.map} +0 -0
  735. /package/dist/{cellTypeBubbleHeatmap-7XJP6B5W.js.map → cellTypeBubbleHeatmap-25SOXC2Q.js.map} +0 -0
  736. /package/dist/{chunk-ZLQ6PAI6.js.map → chunk-2ZYAC3DC.js.map} +0 -0
  737. /package/dist/{chunk-C4YACFGH.js.map → chunk-325X3T7G.js.map} +0 -0
  738. /package/dist/{chunk-5JBOGNSG.js.map → chunk-3UXHTSZJ.js.map} +0 -0
  739. /package/dist/{chunk-GOL6A746.js.map → chunk-4DFKK46J.js.map} +0 -0
  740. /package/dist/{chunk-MIDVLNN3.js.map → chunk-54W2RWRB.js.map} +0 -0
  741. /package/dist/{chunk-CKO54XWB.js.map → chunk-5QGC2624.js.map} +0 -0
  742. /package/dist/{chunk-OVO6NYUR.js.map → chunk-5YKXYWP3.js.map} +0 -0
  743. /package/dist/{chunk-HTIZFNBC.js.map → chunk-6B4AME6E.js.map} +0 -0
  744. /package/dist/{chunk-COWLQ74R.js.map → chunk-6H4FFHFQ.js.map} +0 -0
  745. /package/dist/{chunk-F6CYUMSM.js.map → chunk-6PVVV3UW.js.map} +0 -0
  746. /package/dist/{chunk-7UXV4IX5.js.map → chunk-72QBXULB.js.map} +0 -0
  747. /package/dist/{chunk-GVLXSPTN.js.map → chunk-7APH7QLC.js.map} +0 -0
  748. /package/dist/{chunk-EM56Y4X6.js.map → chunk-7HBAALWJ.js.map} +0 -0
  749. /package/dist/{chunk-T2DORAV4.js.map → chunk-7UK7CU4F.js.map} +0 -0
  750. /package/dist/{chunk-HNU4RYI5.js.map → chunk-7ZTUUKLX.js.map} +0 -0
  751. /package/dist/{chunk-CZOJUH3C.js.map → chunk-A7GCFL3R.js.map} +0 -0
  752. /package/dist/{chunk-TBXJ2CUA.js.map → chunk-AGWIWLOP.js.map} +0 -0
  753. /package/dist/{chunk-KTRDLHCP.js.map → chunk-CHQ43UJQ.js.map} +0 -0
  754. /package/dist/{chunk-7ZCYC2DQ.js.map → chunk-CQWR4QZO.js.map} +0 -0
  755. /package/dist/{chunk-N6AHRJAM.js.map → chunk-D6TLBMIX.js.map} +0 -0
  756. /package/dist/{chunk-BOQYGAYA.js.map → chunk-DOC3HBOV.js.map} +0 -0
  757. /package/dist/{chunk-CU434U4N.js.map → chunk-DR5JLHTB.js.map} +0 -0
  758. /package/dist/{chunk-LN4KNFOQ.js.map → chunk-E2Z4X6C2.js.map} +0 -0
  759. /package/dist/{chunk-2GP3LH7J.js.map → chunk-E4WAVMI5.js.map} +0 -0
  760. /package/dist/{chunk-O4BDFBVK.js.map → chunk-EM76Y3HQ.js.map} +0 -0
  761. /package/dist/{chunk-WQHL6SR3.js.map → chunk-ES7XNERS.js.map} +0 -0
  762. /package/dist/{chunk-2ESAB2PP.js.map → chunk-F2RTD23W.js.map} +0 -0
  763. /package/dist/{chunk-46KQE4DV.js.map → chunk-FEE2HAON.js.map} +0 -0
  764. /package/dist/{chunk-2UGYE6EJ.js.map → chunk-FIWVGOSE.js.map} +0 -0
  765. /package/dist/{chunk-EIO6DMIQ.js.map → chunk-FT5HOBHJ.js.map} +0 -0
  766. /package/dist/{chunk-K5RCZIZN.js.map → chunk-G5BQJGRA.js.map} +0 -0
  767. /package/dist/{chunk-SQUMXZXI.js.map → chunk-GAYYXHOG.js.map} +0 -0
  768. /package/dist/{chunk-VZBRG6HQ.js.map → chunk-GDIKNIEA.js.map} +0 -0
  769. /package/dist/{chunk-KA3KYNOP.js.map → chunk-GIZTZCE5.js.map} +0 -0
  770. /package/dist/{chunk-5OWPH4IH.js.map → chunk-GONC3LVY.js.map} +0 -0
  771. /package/dist/{chunk-ZUG4EY4T.js.map → chunk-HGC4EON3.js.map} +0 -0
  772. /package/dist/{chunk-7Q4KAFCS.js.map → chunk-HM23KADV.js.map} +0 -0
  773. /package/dist/{chunk-MUVXIOXM.js.map → chunk-JWX6GEWQ.js.map} +0 -0
  774. /package/dist/{chunk-4ICGMPPE.js.map → chunk-K4LZR3HU.js.map} +0 -0
  775. /package/dist/{chunk-RSCSTOUN.js.map → chunk-K55KOEI6.js.map} +0 -0
  776. /package/dist/{chunk-ZUXXBQ7D.js.map → chunk-KLJM7HE5.js.map} +0 -0
  777. /package/dist/{chunk-JNIYPQWY.js.map → chunk-LFH5VSSF.js.map} +0 -0
  778. /package/dist/{chunk-7ONTCJWB.js.map → chunk-MBWG3QHI.js.map} +0 -0
  779. /package/dist/{chunk-2CTAWHGB.js.map → chunk-MZTVOOR6.js.map} +0 -0
  780. /package/dist/{chunk-KGFH5VTH.js.map → chunk-N2JOZ3QD.js.map} +0 -0
  781. /package/dist/{chunk-3TJBSAIO.js.map → chunk-NG2U3VHX.js.map} +0 -0
  782. /package/dist/{chunk-Z6ZFRHXK.js.map → chunk-NUGYNLTL.js.map} +0 -0
  783. /package/dist/{chunk-OXRZSZKA.js.map → chunk-OCOB7XJW.js.map} +0 -0
  784. /package/dist/{chunk-NB4UU4DH.js.map → chunk-OGDBTL5C.js.map} +0 -0
  785. /package/dist/{chunk-VQD6GZMU.js.map → chunk-OVXHMJJJ.js.map} +0 -0
  786. /package/dist/{chunk-TTSKLWP7.js.map → chunk-PAF5KZCR.js.map} +0 -0
  787. /package/dist/{chunk-TQLHKDNS.js.map → chunk-PI2MCZXG.js.map} +0 -0
  788. /package/dist/{chunk-BNJC6OX5.js.map → chunk-PPICALUF.js.map} +0 -0
  789. /package/dist/{chunk-M4ML4ACA.js.map → chunk-QFOT5WAZ.js.map} +0 -0
  790. /package/dist/{chunk-ZHY7ZHWC.js.map → chunk-QGCB5AKN.js.map} +0 -0
  791. /package/dist/{chunk-AQSZLUDV.js.map → chunk-QRZRAMHA.js.map} +0 -0
  792. /package/dist/{chunk-QUVGLTCF.js.map → chunk-RGOZHZCN.js.map} +0 -0
  793. /package/dist/{chunk-BBA5MAFS.js.map → chunk-RJKY22D4.js.map} +0 -0
  794. /package/dist/{chunk-OGU7IDV7.js.map → chunk-RZ2HG7G3.js.map} +0 -0
  795. /package/dist/{chunk-ZCY72DDM.js.map → chunk-SI2KSG6E.js.map} +0 -0
  796. /package/dist/{chunk-QMR3QMJG.js.map → chunk-U4PLKSSS.js.map} +0 -0
  797. /package/dist/{chunk-RCVA2RWU.js.map → chunk-U7G65D2G.js.map} +0 -0
  798. /package/dist/{chunk-RCLCEA55.js.map → chunk-UU3FWU6D.js.map} +0 -0
  799. /package/dist/{chunk-HUF5BTO6.js.map → chunk-UXLT7W2N.js.map} +0 -0
  800. /package/dist/{chunk-DVSTBGZT.js.map → chunk-VHQDN3OA.js.map} +0 -0
  801. /package/dist/{chunk-63TCOVAK.js.map → chunk-VTMNHAFC.js.map} +0 -0
  802. /package/dist/{chunk-G5GFCBJT.js.map → chunk-W3K7KLIR.js.map} +0 -0
  803. /package/dist/{chunk-NGG4737W.js.map → chunk-WSLS55SH.js.map} +0 -0
  804. /package/dist/{chunk-HWP3U2VY.js.map → chunk-WUCIHN7D.js.map} +0 -0
  805. /package/dist/{chunk-L6TGKNRA.js.map → chunk-XQIB27PB.js.map} +0 -0
  806. /package/dist/{chunk-OT2DMA2D.js.map → chunk-XSBGICK5.js.map} +0 -0
  807. /package/dist/{chunk-FUTHP5J4.js.map → chunk-YHW2RAAG.js.map} +0 -0
  808. /package/dist/{chunk-JEXS72M5.js.map → chunk-Z7CCL464.js.map} +0 -0
  809. /package/dist/{chunk-N2RAPA7D.js.map → chunk-ZBNPXXMK.js.map} +0 -0
  810. /package/dist/{chunk-X7JGAQ5N.js.map → chunk-ZNHC46CT.js.map} +0 -0
  811. /package/dist/{cohort-2DQOQ5AO.js.map → cohort-ZFGFEEBD.js.map} +0 -0
  812. /package/dist/{cohortSunburst-W6XC7VD6.js.map → cohortSunburst-EEPGV2RB.js.map} +0 -0
  813. /package/dist/{condition-3A7I5UQA.js.map → condition-7EWFLQSO.js.map} +0 -0
  814. /package/dist/{controls-G5WYBX4P.js.map → controls-QHDSDWKI.js.map} +0 -0
  815. /package/dist/{controls.config-TAFGM2S2.js.map → controls.config-LBSCZ6GP.js.map} +0 -0
  816. /package/dist/{correlation-K4EOOQJU.js.map → correlation-IJQJPNNP.js.map} +0 -0
  817. /package/dist/{customdata.inputui-E7RRN3KY.js.map → customdata.inputui-TZGX2CUD.js.map} +0 -0
  818. /package/dist/{dataDownload-OXZGAE5R.js.map → dataDownload-33EWD3AD.js.map} +0 -0
  819. /package/dist/{databrowser.ui-IPUF6LUC.js.map → databrowser.ui-YNKDTAAN.js.map} +0 -0
  820. /package/dist/{dictionary-MUNAUI43.js.map → dictionary-OTR6Z5EZ.js.map} +0 -0
  821. /package/dist/{dnaMethylation-SOV4HBAX.js.map → dnaMethylation-LQTCTOOE.js.map} +0 -0
  822. /package/dist/{dnaMethylation.integration.spec-T4KKTMRL.js.map → dnaMethylation.integration.spec-U5VQYAK3.js.map} +0 -0
  823. /package/dist/{dofetch-2CR2TVWC.js.map → dofetch-HLG7G7RX.js.map} +0 -0
  824. /package/dist/{e2pca-EIOJCV4O.js.map → e2pca-AXDPYR7U.js.map} +0 -0
  825. /package/dist/{ep-5QX3CW6D.js.map → ep-4WK46CH7.js.map} +0 -0
  826. /package/dist/{expclust.gdc.spec-TNHPZLYQ.js.map → expclust.gdc.spec-CYGWGREQ.js.map} +0 -0
  827. /package/dist/{facet-I3OC4DK2.js.map → facet-IZSSZDHK.js.map} +0 -0
  828. /package/dist/{gb-WPIUHR3O.js.map → gb-AUZBUZFM.js.map} +0 -0
  829. /package/dist/{geneExpClustering-EYGZENSP.js.map → geneExpClustering-AQBFLXLP.js.map} +0 -0
  830. /package/dist/{geneExpression-54L3DH32.js.map → geneExpression-HDJVPVPK.js.map} +0 -0
  831. /package/dist/{geneExpression-6S6H2EVY.js.map → geneExpression-V4JMTMLI.js.map} +0 -0
  832. /package/dist/{geneExpression.unit.spec-VVI2MXIH.js.map → geneExpression.unit.spec-KFMSDVMX.js.map} +0 -0
  833. /package/dist/{geneORA-7M64LXZC.js.map → geneORA-LDFFSEMQ.js.map} +0 -0
  834. /package/dist/{geneRanking-676CAA3B.js.map → geneRanking-IVKDSNDV.js.map} +0 -0
  835. /package/dist/{geneVariant-4UPJE6MJ.js.map → geneVariant-7X7EEUDW.js.map} +0 -0
  836. /package/dist/{geneVariant-PFVPL22U.js.map → geneVariant-TK3FJ22L.js.map} +0 -0
  837. /package/dist/{geneVariant.integration.spec-EAJ4OSFQ.js.map → geneVariant.integration.spec-ZHAFWQ2O.js.map} +0 -0
  838. /package/dist/{genefusion.ui-LP4EJUTO.js.map → genefusion.ui-U5YPVXAF.js.map} +0 -0
  839. /package/dist/{geneset-ANDOMTPO.js.map → geneset-NSHQ2NDR.js.map} +0 -0
  840. /package/dist/{genomeBrowser.spec-NUXOOL5N.js.map → genomeBrowser.spec-HP4OQPCV.js.map} +0 -0
  841. /package/dist/{grin2-K4LRVCES.js.map → grin2-5WKONQPG.js.map} +0 -0
  842. /package/dist/{grin2-YFCWJZFR.js.map → grin2-V2ZBOJBO.js.map} +0 -0
  843. /package/dist/{hierCluster-POD3DRO4.js.map → hierCluster-7IOPNYFN.js.map} +0 -0
  844. /package/dist/{hierCluster-QA7HXKRD.js.map → hierCluster-IDBCUKHJ.js.map} +0 -0
  845. /package/dist/{hierCluster.config-HQ3SVKCE.js.map → hierCluster.config-Z4NRL5P5.js.map} +0 -0
  846. /package/dist/{hierCluster.integration.spec-MOYDWJL3.js.map → hierCluster.integration.spec-PHEXOGPI.js.map} +0 -0
  847. /package/dist/{hierCluster.interactivity-OZTNHXZQ.js.map → hierCluster.interactivity-NHZ5EPBV.js.map} +0 -0
  848. /package/dist/{hierCluster.renderers-46E37NL4.js.map → hierCluster.renderers-WXJUMDFN.js.map} +0 -0
  849. /package/dist/{imagePlot-HNAYBWY3.js.map → imagePlot-NMNCAYS7.js.map} +0 -0
  850. /package/dist/{importPlot-XTW46VF4.js.map → importPlot-HZML5XMJ.js.map} +0 -0
  851. /package/dist/{isoformExpression-2TMTILKG.js.map → isoformExpression-4IU4AUQ2.js.map} +0 -0
  852. /package/dist/{isoformExpression.unit.spec-SIJWP7TH.js.map → isoformExpression.unit.spec-KKMKU5Z2.js.map} +0 -0
  853. /package/dist/{junction-AICKHNXX.js.map → junction-EXA2WANI.js.map} +0 -0
  854. /package/dist/{junction.customTerm-5STKYZ4B.js.map → junction.customTerm-LQYKCZX4.js.map} +0 -0
  855. /package/dist/{junction.unit.spec-EXFN4MLW.js.map → junction.unit.spec-H3FGTLEP.js.map} +0 -0
  856. /package/dist/{launch.adhoc-PB6PGR7Q.js.map → launch.adhoc-YA6FRHSC.js.map} +0 -0
  857. /package/dist/{lollipop-5UXUAFYY.js.map → lollipop-EWLGYDIR.js.map} +0 -0
  858. /package/dist/{maf-L6YD25JK.js.map → maf-PXMHR3PY.js.map} +0 -0
  859. /package/dist/{maftimeline-63YZDGJ3.js.map → maftimeline-QFKT7PW2.js.map} +0 -0
  860. /package/dist/{matrix-OPEBHZCW.js.map → matrix-KASG3KIY.js.map} +0 -0
  861. /package/dist/{matrix-TLMWPG7C.js.map → matrix-VSX63V3L.js.map} +0 -0
  862. /package/dist/{matrix.cells-IELMNYC6.js.map → matrix.cells-7TTOQRWU.js.map} +0 -0
  863. /package/dist/{matrix.config-J7SVFXLM.js.map → matrix.config-U3I726EC.js.map} +0 -0
  864. /package/dist/{matrix.data-DJTJCPO4.js.map → matrix.data-Y4DXSR2P.js.map} +0 -0
  865. /package/dist/{matrix.groups-2REICNZK.js.map → matrix.groups-C5CHYWQZ.js.map} +0 -0
  866. /package/dist/{matrix.integration.spec-ZXU2OEFU.js.map → matrix.integration.spec-4KWLFXMY.js.map} +0 -0
  867. /package/dist/{matrix.interactivity-SX3OR6OI.js.map → matrix.interactivity-JK6URU6Z.js.map} +0 -0
  868. /package/dist/{matrix.layout-ZJ6X5RON.js.map → matrix.layout-KKOA7GGL.js.map} +0 -0
  869. /package/dist/{matrix.legend-ZOP72TIO.js.map → matrix.legend-3FFHXTLX.js.map} +0 -0
  870. /package/dist/{matrix.renderers-YUSROXKN.js.map → matrix.renderers-F7EWYQWL.js.map} +0 -0
  871. /package/dist/{matrix.serieses-UMAZNCMR.js.map → matrix.serieses-I4JWWONC.js.map} +0 -0
  872. /package/dist/{matrix.sort-2JNIZHNL.js.map → matrix.sort-5JTCLBPB.js.map} +0 -0
  873. /package/dist/{matrix.sort.unit.spec-SNB643Y6.js.map → matrix.sort.unit.spec-EW53F5DT.js.map} +0 -0
  874. /package/dist/{matrix.sorterUi-JXEIY6UL.js.map → matrix.sorterUi-Z4JDY7VW.js.map} +0 -0
  875. /package/dist/{matrix.sorterUi.unit.spec-LDAT4R3H.js.map → matrix.sorterUi.unit.spec-OGTYY6GC.js.map} +0 -0
  876. /package/dist/{matrix.unit.spec-QBQIMDLD.js.map → matrix.unit.spec-RXKKHRUN.js.map} +0 -0
  877. /package/dist/{mavb-EQUF3VGG.js.map → mavb-YI2WEGFI.js.map} +0 -0
  878. /package/dist/{mds.samplescatterplot-73E45ZT7.js.map → mds.samplescatterplot-GGJE67MF.js.map} +0 -0
  879. /package/dist/{mds.survivalplot-DL53IRVD.js.map → mds.survivalplot-A6DS6FHO.js.map} +0 -0
  880. /package/dist/{multivalue-PQN75ENP.js.map → multivalue-3WCYDVL3.js.map} +0 -0
  881. /package/dist/{numericDictTermCluster-FGMIOTBO.js.map → numericDictTermCluster-AOTEPNEI.js.map} +0 -0
  882. /package/dist/{oncomatrix-CCHWOA3N.js.map → oncomatrix-BB4SB5AJ.js.map} +0 -0
  883. /package/dist/{oncomatrix.spec-GQT3UTCR.js.map → oncomatrix.spec-M4ZC3KFC.js.map} +0 -0
  884. /package/dist/{plot.2dvaf-L6ZI5ROR.js.map → plot.2dvaf-QUD743E6.js.map} +0 -0
  885. /package/dist/{plot.app-A73VXJCP.js.map → plot.app-35I4DJXK.js.map} +0 -0
  886. /package/dist/{plot.barplot-HSCHPOO7.js.map → plot.barplot-7OL4HWZB.js.map} +0 -0
  887. /package/dist/{plot.boxplot-AXBVNTNH.js.map → plot.boxplot-N2VSPDYA.js.map} +0 -0
  888. /package/dist/{plot.brainImaging-PEMURKM3.js.map → plot.brainImaging-4PIAFROV.js.map} +0 -0
  889. /package/dist/{plot.ssgq-FGMQXKZU.js.map → plot.ssgq-MGUBQNWE.js.map} +0 -0
  890. /package/dist/{plot.vaf2cov-IBM7NQEB.js.map → plot.vaf2cov-KVI2GMG4.js.map} +0 -0
  891. /package/dist/{polar2-N7KWY36S.js.map → polar2-IGAOHGPE.js.map} +0 -0
  892. /package/dist/{profileForms-Q4NN7653.js.map → profileForms-MW7JQURG.js.map} +0 -0
  893. /package/dist/{profilePlot-SQ77M6LI.js.map → profilePlot-OVOSFR47.js.map} +0 -0
  894. /package/dist/{proteinView-KSIZRDNP.js.map → proteinView-LFP5YYMK.js.map} +0 -0
  895. /package/dist/{pseudbulk.unit.spec-XELPZVXM.js.map → pseudbulk.unit.spec-CGV4JTEK.js.map} +0 -0
  896. /package/dist/{pseudobulk-H3USXM5U.js.map → pseudobulk-WFCQX5KR.js.map} +0 -0
  897. /package/dist/{qualitative-OSEJTJ4D.js.map → qualitative-4SLUE6BW.js.map} +0 -0
  898. /package/dist/{qualitative-ABXENRAF.js.map → qualitative-6H674T7D.js.map} +0 -0
  899. /package/dist/{radar2-VTDQGHWN.js.map → radar2-QXHO2MQA.js.map} +0 -0
  900. /package/dist/{radarFacility2-BWGEC5A2.js.map → radarFacility2-JCVOYMH4.js.map} +0 -0
  901. /package/dist/{rememberedGvQ.unit.spec-TWUDSEDP.js.map → rememberedGvQ.unit.spec-Q3UZJPE2.js.map} +0 -0
  902. /package/dist/{render-C3XJQ2QY.js.map → render-IIFS3Y2N.js.map} +0 -0
  903. /package/dist/{report-7ZZ44X4R.js.map → report-NFBB3PUI.js.map} +0 -0
  904. /package/dist/{sampleView-CUCNI65Q.js.map → sampleView-XQXKIPC7.js.map} +0 -0
  905. /package/dist/{samplelst-S7AJQ36J.js.map → samplelst-RIC5E2W4.js.map} +0 -0
  906. /package/dist/{samplematrix-U7WM6GNB.js.map → samplematrix-WLCFCPBR.js.map} +0 -0
  907. /package/dist/{sc-FMJHN2SW.js.map → sc-TXRF7D6F.js.map} +0 -0
  908. /package/dist/{scatter-4UMCJNEH.js.map → scatter-JUGGPR4B.js.map} +0 -0
  909. /package/dist/{scatter-KMAZ3ZNR.js.map → scatter-YQ47446T.js.map} +0 -0
  910. /package/dist/{selectGenomeWithTklst-5SRM45BI.js.map → selectGenomeWithTklst-2ELB6HQK.js.map} +0 -0
  911. /package/dist/{singleCellCellType-GIIICJK5.js.map → singleCellCellType-DUTH4SZF.js.map} +0 -0
  912. /package/dist/{singleCellCellType.unit.spec-MVA7BMGL.js.map → singleCellCellType.unit.spec-PWP6I5PZ.js.map} +0 -0
  913. /package/dist/{singleCellGeneExpression-2QFQHJJH.js.map → singleCellGeneExpression-3563T7GE.js.map} +0 -0
  914. /package/dist/{singleCellGeneExpression.unit.spec-SAIETYHV.js.map → singleCellGeneExpression.unit.spec-66IDCFJC.js.map} +0 -0
  915. /package/dist/{singleCellNumericValue-45H5EPIB.js.map → singleCellNumericValue-XVQTKLTS.js.map} +0 -0
  916. /package/dist/{singleCellNumericValue.unit.spec-FNKEJ2WC.js.map → singleCellNumericValue.unit.spec-LJSTGKNS.js.map} +0 -0
  917. /package/dist/{singleCellPlot-SP7OEGYQ.js.map → singleCellPlot-MKYJJXSG.js.map} +0 -0
  918. /package/dist/{singlecell-AVZQX4AH.js.map → singlecell-ANCWPAAO.js.map} +0 -0
  919. /package/dist/{singlecell-JQKUHGIH.js.map → singlecell-KMRVFOC5.js.map} +0 -0
  920. /package/dist/{snp-4SA7VABN.js.map → snp-B5UHGWVD.js.map} +0 -0
  921. /package/dist/{snp.unit.spec-YIYGR6GW.js.map → snp.unit.spec-YAHITASM.js.map} +0 -0
  922. /package/dist/{snplocus-TDGQ57ZJ.js.map → snplocus-MLGICRGT.js.map} +0 -0
  923. /package/dist/{snplst-SWBGRYPA.js.map → snplst-DZPIQEKI.js.map} +0 -0
  924. /package/dist/{spliceevent.a53ss.diagram-YODOBS6U.js.map → spliceevent.a53ss.diagram-4NYPSFC2.js.map} +0 -0
  925. /package/dist/{spliceevent.exonskip.diagram-PMZIQ5UG.js.map → spliceevent.exonskip.diagram-WLLTP7NP.js.map} +0 -0
  926. /package/dist/{spliceevent.noeventdiagram-A4T2PNUX.js.map → spliceevent.noeventdiagram-NOSO752Y.js.map} +0 -0
  927. /package/dist/{ssGSEA-U7D6HOIV.js.map → ssGSEA-4DVY6Z5U.js.map} +0 -0
  928. /package/dist/{ssGSEA.unit.spec-SMNAM5DJ.js.map → ssGSEA.unit.spec-UDXV4Q7S.js.map} +0 -0
  929. /package/dist/{stattable-DBYMPJU6.js.map → stattable-T5X76Q32.js.map} +0 -0
  930. /package/dist/{studyCatalog-7RABX4W5.js.map → studyCatalog-O3EPBJPW.js.map} +0 -0
  931. /package/dist/{summarizeCnvGeneexp-YVRW7LWY.js.map → summarizeCnvGeneexp-ST36TPEJ.js.map} +0 -0
  932. /package/dist/{summarizeGeneexpSurvival-ZB7IWGPS.js.map → summarizeGeneexpSurvival-AZOFCBMT.js.map} +0 -0
  933. /package/dist/{summarizeMutationCnv-CUSYURDK.js.map → summarizeMutationCnv-HRCW6BYV.js.map} +0 -0
  934. /package/dist/{summarizeMutationDiagnosis-NSPCT5WI.js.map → summarizeMutationDiagnosis-RQQO2MOR.js.map} +0 -0
  935. /package/dist/{summarizeMutationSurvival-2PZZCC4G.js.map → summarizeMutationSurvival-UHSUJ7FU.js.map} +0 -0
  936. /package/dist/{summary-CYDZSICI.js.map → summary-ZMM5ET67.js.map} +0 -0
  937. /package/dist/{summary.integration.spec-2TLKJS3X.js.map → summary.integration.spec-GW5UGDDU.js.map} +0 -0
  938. /package/dist/{summaryInput-BRQ5JRGV.js.map → summaryInput-ZO5TPARQ.js.map} +0 -0
  939. /package/dist/{sunburst-435LKL2S.js.map → sunburst-6VJS2SUY.js.map} +0 -0
  940. /package/dist/{sunburst-D5WAGHX6.js.map → sunburst-LXRG2SFE.js.map} +0 -0
  941. /package/dist/{survival-MHESSYWF.js.map → survival-QXHY7JRR.js.map} +0 -0
  942. /package/dist/{survival-M63B6DY5.js.map → survival-U6J6KFN2.js.map} +0 -0
  943. /package/dist/{survival.integration.spec-WMS3FTNR.js.map → survival.integration.spec-HN3LL6IY.js.map} +0 -0
  944. /package/dist/{svgraph-LYFGVTHI.js.map → svgraph-CVI27CTM.js.map} +0 -0
  945. /package/dist/{svmr-UR67QZIP.js.map → svmr-GZHAP5IV.js.map} +0 -0
  946. /package/dist/{swimmer-RP4SUEZS.js.map → swimmer-M4JGBO72.js.map} +0 -0
  947. /package/dist/{table-V4OOMF3B.js.map → table-QO22C2ER.js.map} +0 -0
  948. /package/dist/{termCollection-WSNM3YFK.js.map → termCollection-EN73BZV5.js.map} +0 -0
  949. /package/dist/{termCollection-VHGVBSWW.js.map → termCollection-KWNFLRWJ.js.map} +0 -0
  950. /package/dist/{termCollection.unit.spec-NCZUZL6P.js.map → termCollection.unit.spec-Z27AZUE6.js.map} +0 -0
  951. /package/dist/{termCollectionFractionSelection-XM3FJWBQ.js.map → termCollectionFractionSelection-Q7QFEPKA.js.map} +0 -0
  952. /package/dist/{termCollectionFractionSelection.unit.spec-VO4SAV72.js.map → termCollectionFractionSelection.unit.spec-PYLIFZN5.js.map} +0 -0
  953. /package/dist/{tk-KIELQHVI.js.map → tk-WVEDS5OU.js.map} +0 -0
  954. /package/dist/{tp.ui-HAKSWLFB.js.map → tp.ui-CG36YXBY.js.map} +0 -0
  955. /package/dist/{tvs.categorical-G4DM4JY5.js.map → tvs.categorical-GCJISWBS.js.map} +0 -0
  956. /package/dist/{tvs.condition-E5NUQONB.js.map → tvs.condition-YTCVMB3I.js.map} +0 -0
  957. /package/dist/{tvs.dt-T4BK24VZ.js.map → tvs.dt-UCSZ5S44.js.map} +0 -0
  958. /package/dist/{tvs.dtcnv.categorical-V57TZFRA.js.map → tvs.dtcnv.categorical-KYB6XPL3.js.map} +0 -0
  959. /package/dist/{tvs.dtcnv.continuous-D4YIB4PN.js.map → tvs.dtcnv.continuous-MJWJNMKJ.js.map} +0 -0
  960. /package/dist/{tvs.dtfusion-6DUFLUNH.js.map → tvs.dtfusion-IZCEMTH5.js.map} +0 -0
  961. /package/dist/{tvs.dtitd-GOEPAQGR.js.map → tvs.dtitd-DZ4WWGNO.js.map} +0 -0
  962. /package/dist/{tvs.dtsnvindel-ASTXGC4O.js.map → tvs.dtsnvindel-PMJCV4E7.js.map} +0 -0
  963. /package/dist/{tvs.dtsv-7TGDEWXK.js.map → tvs.dtsv-5K2RNWDH.js.map} +0 -0
  964. /package/dist/{tvs.multivalue-SEIGL2W6.js.map → tvs.multivalue-6NSC6JPR.js.map} +0 -0
  965. /package/dist/{tvs.numeric-MLLX5L7Z.js.map → tvs.numeric-7U2NDY4A.js.map} +0 -0
  966. /package/dist/{tvs.samplelst-HAV7C2EA.js.map → tvs.samplelst-3SIYTFWZ.js.map} +0 -0
  967. /package/dist/{tvs.survival-3B522MT2.js.map → tvs.survival-Q3F5SLBW.js.map} +0 -0
  968. /package/dist/{tvs.termCollection-R5NG4VXP.js.map → tvs.termCollection-OR73LBNX.js.map} +0 -0
  969. /package/dist/{vocabulary-LBNHNSEN.js.map → vocabulary-RWRAQ4VJ.js.map} +0 -0
  970. /package/dist/{wsi.direct-ZEZO4NLR.js.map → wsi.direct-HABLR3IF.js.map} +0 -0
@@ -0,0 +1,2799 @@
1
+ import {
2
+ Tabs,
3
+ addGeneSearchbox,
4
+ appear2 as appear,
5
+ newSandboxDiv,
6
+ sayerror,
7
+ tab_wait
8
+ } from "./chunk-OOVVKQSD.js";
9
+ import {
10
+ Menu
11
+ } from "./chunk-CNFTQSNE.js";
12
+ import {
13
+ dofetch,
14
+ dofetch3
15
+ } from "./chunk-KLJM7HE5.js";
16
+ import {
17
+ select_default
18
+ } from "./chunk-I6Y4O3RR.js";
19
+ import {
20
+ __commonJS,
21
+ __toESM
22
+ } from "./chunk-HS5PO5ZQ.js";
23
+
24
+ // ../node_modules/highlight.js/lib/core.js
25
+ var require_core = __commonJS({
26
+ "../node_modules/highlight.js/lib/core.js"(exports, module) {
27
+ var deepFreezeEs6 = { exports: {} };
28
+ function deepFreeze(obj) {
29
+ if (obj instanceof Map) {
30
+ obj.clear = obj.delete = obj.set = function() {
31
+ throw new Error("map is read-only");
32
+ };
33
+ } else if (obj instanceof Set) {
34
+ obj.add = obj.clear = obj.delete = function() {
35
+ throw new Error("set is read-only");
36
+ };
37
+ }
38
+ Object.freeze(obj);
39
+ Object.getOwnPropertyNames(obj).forEach(function(name) {
40
+ var prop = obj[name];
41
+ if (typeof prop == "object" && !Object.isFrozen(prop)) {
42
+ deepFreeze(prop);
43
+ }
44
+ });
45
+ return obj;
46
+ }
47
+ deepFreezeEs6.exports = deepFreeze;
48
+ deepFreezeEs6.exports.default = deepFreeze;
49
+ var deepFreeze$1 = deepFreezeEs6.exports;
50
+ var Response = class {
51
+ /**
52
+ * @param {CompiledMode} mode
53
+ */
54
+ constructor(mode) {
55
+ if (mode.data === void 0) mode.data = {};
56
+ this.data = mode.data;
57
+ this.isMatchIgnored = false;
58
+ }
59
+ ignoreMatch() {
60
+ this.isMatchIgnored = true;
61
+ }
62
+ };
63
+ function escapeHTML(value) {
64
+ return value.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;");
65
+ }
66
+ function inherit$1(original, ...objects) {
67
+ const result = /* @__PURE__ */ Object.create(null);
68
+ for (const key in original) {
69
+ result[key] = original[key];
70
+ }
71
+ objects.forEach(function(obj) {
72
+ for (const key in obj) {
73
+ result[key] = obj[key];
74
+ }
75
+ });
76
+ return (
77
+ /** @type {T} */
78
+ result
79
+ );
80
+ }
81
+ var SPAN_CLOSE = "</span>";
82
+ var emitsWrappingTags = (node) => {
83
+ return !!node.kind;
84
+ };
85
+ var expandScopeName = (name, { prefix }) => {
86
+ if (name.includes(".")) {
87
+ const pieces = name.split(".");
88
+ return [
89
+ `${prefix}${pieces.shift()}`,
90
+ ...pieces.map((x, i) => `${x}${"_".repeat(i + 1)}`)
91
+ ].join(" ");
92
+ }
93
+ return `${prefix}${name}`;
94
+ };
95
+ var HTMLRenderer = class {
96
+ /**
97
+ * Creates a new HTMLRenderer
98
+ *
99
+ * @param {Tree} parseTree - the parse tree (must support `walk` API)
100
+ * @param {{classPrefix: string}} options
101
+ */
102
+ constructor(parseTree, options) {
103
+ this.buffer = "";
104
+ this.classPrefix = options.classPrefix;
105
+ parseTree.walk(this);
106
+ }
107
+ /**
108
+ * Adds texts to the output stream
109
+ *
110
+ * @param {string} text */
111
+ addText(text) {
112
+ this.buffer += escapeHTML(text);
113
+ }
114
+ /**
115
+ * Adds a node open to the output stream (if needed)
116
+ *
117
+ * @param {Node} node */
118
+ openNode(node) {
119
+ if (!emitsWrappingTags(node)) return;
120
+ let scope = node.kind;
121
+ if (node.sublanguage) {
122
+ scope = `language-${scope}`;
123
+ } else {
124
+ scope = expandScopeName(scope, { prefix: this.classPrefix });
125
+ }
126
+ this.span(scope);
127
+ }
128
+ /**
129
+ * Adds a node close to the output stream (if needed)
130
+ *
131
+ * @param {Node} node */
132
+ closeNode(node) {
133
+ if (!emitsWrappingTags(node)) return;
134
+ this.buffer += SPAN_CLOSE;
135
+ }
136
+ /**
137
+ * returns the accumulated buffer
138
+ */
139
+ value() {
140
+ return this.buffer;
141
+ }
142
+ // helpers
143
+ /**
144
+ * Builds a span element
145
+ *
146
+ * @param {string} className */
147
+ span(className) {
148
+ this.buffer += `<span class="${className}">`;
149
+ }
150
+ };
151
+ var TokenTree = class _TokenTree {
152
+ constructor() {
153
+ this.rootNode = { children: [] };
154
+ this.stack = [this.rootNode];
155
+ }
156
+ get top() {
157
+ return this.stack[this.stack.length - 1];
158
+ }
159
+ get root() {
160
+ return this.rootNode;
161
+ }
162
+ /** @param {Node} node */
163
+ add(node) {
164
+ this.top.children.push(node);
165
+ }
166
+ /** @param {string} kind */
167
+ openNode(kind) {
168
+ const node = { kind, children: [] };
169
+ this.add(node);
170
+ this.stack.push(node);
171
+ }
172
+ closeNode() {
173
+ if (this.stack.length > 1) {
174
+ return this.stack.pop();
175
+ }
176
+ return void 0;
177
+ }
178
+ closeAllNodes() {
179
+ while (this.closeNode()) ;
180
+ }
181
+ toJSON() {
182
+ return JSON.stringify(this.rootNode, null, 4);
183
+ }
184
+ /**
185
+ * @typedef { import("./html_renderer").Renderer } Renderer
186
+ * @param {Renderer} builder
187
+ */
188
+ walk(builder) {
189
+ return this.constructor._walk(builder, this.rootNode);
190
+ }
191
+ /**
192
+ * @param {Renderer} builder
193
+ * @param {Node} node
194
+ */
195
+ static _walk(builder, node) {
196
+ if (typeof node === "string") {
197
+ builder.addText(node);
198
+ } else if (node.children) {
199
+ builder.openNode(node);
200
+ node.children.forEach((child) => this._walk(builder, child));
201
+ builder.closeNode(node);
202
+ }
203
+ return builder;
204
+ }
205
+ /**
206
+ * @param {Node} node
207
+ */
208
+ static _collapse(node) {
209
+ if (typeof node === "string") return;
210
+ if (!node.children) return;
211
+ if (node.children.every((el) => typeof el === "string")) {
212
+ node.children = [node.children.join("")];
213
+ } else {
214
+ node.children.forEach((child) => {
215
+ _TokenTree._collapse(child);
216
+ });
217
+ }
218
+ }
219
+ };
220
+ var TokenTreeEmitter = class extends TokenTree {
221
+ /**
222
+ * @param {*} options
223
+ */
224
+ constructor(options) {
225
+ super();
226
+ this.options = options;
227
+ }
228
+ /**
229
+ * @param {string} text
230
+ * @param {string} kind
231
+ */
232
+ addKeyword(text, kind) {
233
+ if (text === "") {
234
+ return;
235
+ }
236
+ this.openNode(kind);
237
+ this.addText(text);
238
+ this.closeNode();
239
+ }
240
+ /**
241
+ * @param {string} text
242
+ */
243
+ addText(text) {
244
+ if (text === "") {
245
+ return;
246
+ }
247
+ this.add(text);
248
+ }
249
+ /**
250
+ * @param {Emitter & {root: DataNode}} emitter
251
+ * @param {string} name
252
+ */
253
+ addSublanguage(emitter, name) {
254
+ const node = emitter.root;
255
+ node.kind = name;
256
+ node.sublanguage = true;
257
+ this.add(node);
258
+ }
259
+ toHTML() {
260
+ const renderer = new HTMLRenderer(this, this.options);
261
+ return renderer.value();
262
+ }
263
+ finalize() {
264
+ return true;
265
+ }
266
+ };
267
+ function source2(re) {
268
+ if (!re) return null;
269
+ if (typeof re === "string") return re;
270
+ return re.source;
271
+ }
272
+ function lookahead2(re) {
273
+ return concat2("(?=", re, ")");
274
+ }
275
+ function concat2(...args) {
276
+ const joined = args.map((x) => source2(x)).join("");
277
+ return joined;
278
+ }
279
+ function stripOptionsFromArgs(args) {
280
+ const opts = args[args.length - 1];
281
+ if (typeof opts === "object" && opts.constructor === Object) {
282
+ args.splice(args.length - 1, 1);
283
+ return opts;
284
+ } else {
285
+ return {};
286
+ }
287
+ }
288
+ function either(...args) {
289
+ const opts = stripOptionsFromArgs(args);
290
+ const joined = "(" + (opts.capture ? "" : "?:") + args.map((x) => source2(x)).join("|") + ")";
291
+ return joined;
292
+ }
293
+ function countMatchGroups(re) {
294
+ return new RegExp(re.toString() + "|").exec("").length - 1;
295
+ }
296
+ function startsWith(re, lexeme) {
297
+ const match = re && re.exec(lexeme);
298
+ return match && match.index === 0;
299
+ }
300
+ var BACKREF_RE = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
301
+ function _rewriteBackreferences(regexps, { joinWith }) {
302
+ let numCaptures = 0;
303
+ return regexps.map((regex) => {
304
+ numCaptures += 1;
305
+ const offset = numCaptures;
306
+ let re = source2(regex);
307
+ let out = "";
308
+ while (re.length > 0) {
309
+ const match = BACKREF_RE.exec(re);
310
+ if (!match) {
311
+ out += re;
312
+ break;
313
+ }
314
+ out += re.substring(0, match.index);
315
+ re = re.substring(match.index + match[0].length);
316
+ if (match[0][0] === "\\" && match[1]) {
317
+ out += "\\" + String(Number(match[1]) + offset);
318
+ } else {
319
+ out += match[0];
320
+ if (match[0] === "(") {
321
+ numCaptures++;
322
+ }
323
+ }
324
+ }
325
+ return out;
326
+ }).map((re) => `(${re})`).join(joinWith);
327
+ }
328
+ var MATCH_NOTHING_RE = /\b\B/;
329
+ var IDENT_RE2 = "[a-zA-Z]\\w*";
330
+ var UNDERSCORE_IDENT_RE = "[a-zA-Z_]\\w*";
331
+ var NUMBER_RE = "\\b\\d+(\\.\\d+)?";
332
+ var C_NUMBER_RE = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)";
333
+ var BINARY_NUMBER_RE = "\\b(0b[01]+)";
334
+ var RE_STARTERS_RE = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";
335
+ var SHEBANG = (opts = {}) => {
336
+ const beginShebang = /^#![ ]*\//;
337
+ if (opts.binary) {
338
+ opts.begin = concat2(
339
+ beginShebang,
340
+ /.*\b/,
341
+ opts.binary,
342
+ /\b.*/
343
+ );
344
+ }
345
+ return inherit$1({
346
+ scope: "meta",
347
+ begin: beginShebang,
348
+ end: /$/,
349
+ relevance: 0,
350
+ /** @type {ModeCallback} */
351
+ "on:begin": (m, resp) => {
352
+ if (m.index !== 0) resp.ignoreMatch();
353
+ }
354
+ }, opts);
355
+ };
356
+ var BACKSLASH_ESCAPE = {
357
+ begin: "\\\\[\\s\\S]",
358
+ relevance: 0
359
+ };
360
+ var APOS_STRING_MODE = {
361
+ scope: "string",
362
+ begin: "'",
363
+ end: "'",
364
+ illegal: "\\n",
365
+ contains: [BACKSLASH_ESCAPE]
366
+ };
367
+ var QUOTE_STRING_MODE = {
368
+ scope: "string",
369
+ begin: '"',
370
+ end: '"',
371
+ illegal: "\\n",
372
+ contains: [BACKSLASH_ESCAPE]
373
+ };
374
+ var PHRASAL_WORDS_MODE = {
375
+ 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/
376
+ };
377
+ var COMMENT = function(begin, end, modeOptions = {}) {
378
+ const mode = inherit$1(
379
+ {
380
+ scope: "comment",
381
+ begin,
382
+ end,
383
+ contains: []
384
+ },
385
+ modeOptions
386
+ );
387
+ mode.contains.push({
388
+ scope: "doctag",
389
+ // hack to avoid the space from being included. the space is necessary to
390
+ // match here to prevent the plain text rule below from gobbling up doctags
391
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
392
+ end: /(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,
393
+ excludeBegin: true,
394
+ relevance: 0
395
+ });
396
+ const ENGLISH_WORD = either(
397
+ // list of common 1 and 2 letter words in English
398
+ "I",
399
+ "a",
400
+ "is",
401
+ "so",
402
+ "us",
403
+ "to",
404
+ "at",
405
+ "if",
406
+ "in",
407
+ "it",
408
+ "on",
409
+ // note: this is not an exhaustive list of contractions, just popular ones
410
+ /[A-Za-z]+['](d|ve|re|ll|t|s|n)/,
411
+ // contractions - can't we'd they're let's, etc
412
+ /[A-Za-z]+[-][a-z]+/,
413
+ // `no-way`, etc.
414
+ /[A-Za-z][a-z]{2,}/
415
+ // allow capitalized words at beginning of sentences
416
+ );
417
+ mode.contains.push(
418
+ {
419
+ // TODO: how to include ", (, ) without breaking grammars that use these for
420
+ // comment delimiters?
421
+ // begin: /[ ]+([()"]?([A-Za-z'-]{3,}|is|a|I|so|us|[tT][oO]|at|if|in|it|on)[.]?[()":]?([.][ ]|[ ]|\))){3}/
422
+ // ---
423
+ // this tries to find sequences of 3 english words in a row (without any
424
+ // "programming" type syntax) this gives us a strong signal that we've
425
+ // TRULY found a comment - vs perhaps scanning with the wrong language.
426
+ // It's possible to find something that LOOKS like the start of the
427
+ // comment - but then if there is no readable text - good chance it is a
428
+ // false match and not a comment.
429
+ //
430
+ // for a visual example please see:
431
+ // https://github.com/highlightjs/highlight.js/issues/2827
432
+ begin: concat2(
433
+ /[ ]+/,
434
+ // necessary to prevent us gobbling up doctags like /* @author Bob Mcgill */
435
+ "(",
436
+ ENGLISH_WORD,
437
+ /[.]?[:]?([.][ ]|[ ])/,
438
+ "){3}"
439
+ )
440
+ // look for 3 words in a row
441
+ }
442
+ );
443
+ return mode;
444
+ };
445
+ var C_LINE_COMMENT_MODE = COMMENT("//", "$");
446
+ var C_BLOCK_COMMENT_MODE = COMMENT("/\\*", "\\*/");
447
+ var HASH_COMMENT_MODE = COMMENT("#", "$");
448
+ var NUMBER_MODE = {
449
+ scope: "number",
450
+ begin: NUMBER_RE,
451
+ relevance: 0
452
+ };
453
+ var C_NUMBER_MODE = {
454
+ scope: "number",
455
+ begin: C_NUMBER_RE,
456
+ relevance: 0
457
+ };
458
+ var BINARY_NUMBER_MODE = {
459
+ scope: "number",
460
+ begin: BINARY_NUMBER_RE,
461
+ relevance: 0
462
+ };
463
+ var REGEXP_MODE = {
464
+ // this outer rule makes sure we actually have a WHOLE regex and not simply
465
+ // an expression such as:
466
+ //
467
+ // 3 / something
468
+ //
469
+ // (which will then blow up when regex's `illegal` sees the newline)
470
+ begin: /(?=\/[^/\n]*\/)/,
471
+ contains: [{
472
+ scope: "regexp",
473
+ begin: /\//,
474
+ end: /\/[gimuy]*/,
475
+ illegal: /\n/,
476
+ contains: [
477
+ BACKSLASH_ESCAPE,
478
+ {
479
+ begin: /\[/,
480
+ end: /\]/,
481
+ relevance: 0,
482
+ contains: [BACKSLASH_ESCAPE]
483
+ }
484
+ ]
485
+ }]
486
+ };
487
+ var TITLE_MODE = {
488
+ scope: "title",
489
+ begin: IDENT_RE2,
490
+ relevance: 0
491
+ };
492
+ var UNDERSCORE_TITLE_MODE = {
493
+ scope: "title",
494
+ begin: UNDERSCORE_IDENT_RE,
495
+ relevance: 0
496
+ };
497
+ var METHOD_GUARD = {
498
+ // excludes method names from keyword processing
499
+ begin: "\\.\\s*" + UNDERSCORE_IDENT_RE,
500
+ relevance: 0
501
+ };
502
+ var END_SAME_AS_BEGIN = function(mode) {
503
+ return Object.assign(
504
+ mode,
505
+ {
506
+ /** @type {ModeCallback} */
507
+ "on:begin": (m, resp) => {
508
+ resp.data._beginMatch = m[1];
509
+ },
510
+ /** @type {ModeCallback} */
511
+ "on:end": (m, resp) => {
512
+ if (resp.data._beginMatch !== m[1]) resp.ignoreMatch();
513
+ }
514
+ }
515
+ );
516
+ };
517
+ var MODES = /* @__PURE__ */ Object.freeze({
518
+ __proto__: null,
519
+ MATCH_NOTHING_RE,
520
+ IDENT_RE: IDENT_RE2,
521
+ UNDERSCORE_IDENT_RE,
522
+ NUMBER_RE,
523
+ C_NUMBER_RE,
524
+ BINARY_NUMBER_RE,
525
+ RE_STARTERS_RE,
526
+ SHEBANG,
527
+ BACKSLASH_ESCAPE,
528
+ APOS_STRING_MODE,
529
+ QUOTE_STRING_MODE,
530
+ PHRASAL_WORDS_MODE,
531
+ COMMENT,
532
+ C_LINE_COMMENT_MODE,
533
+ C_BLOCK_COMMENT_MODE,
534
+ HASH_COMMENT_MODE,
535
+ NUMBER_MODE,
536
+ C_NUMBER_MODE,
537
+ BINARY_NUMBER_MODE,
538
+ REGEXP_MODE,
539
+ TITLE_MODE,
540
+ UNDERSCORE_TITLE_MODE,
541
+ METHOD_GUARD,
542
+ END_SAME_AS_BEGIN
543
+ });
544
+ function skipIfHasPrecedingDot(match, response) {
545
+ const before = match.input[match.index - 1];
546
+ if (before === ".") {
547
+ response.ignoreMatch();
548
+ }
549
+ }
550
+ function scopeClassName(mode, _parent) {
551
+ if (mode.className !== void 0) {
552
+ mode.scope = mode.className;
553
+ delete mode.className;
554
+ }
555
+ }
556
+ function beginKeywords(mode, parent) {
557
+ if (!parent) return;
558
+ if (!mode.beginKeywords) return;
559
+ mode.begin = "\\b(" + mode.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)";
560
+ mode.__beforeBegin = skipIfHasPrecedingDot;
561
+ mode.keywords = mode.keywords || mode.beginKeywords;
562
+ delete mode.beginKeywords;
563
+ if (mode.relevance === void 0) mode.relevance = 0;
564
+ }
565
+ function compileIllegal(mode, _parent) {
566
+ if (!Array.isArray(mode.illegal)) return;
567
+ mode.illegal = either(...mode.illegal);
568
+ }
569
+ function compileMatch(mode, _parent) {
570
+ if (!mode.match) return;
571
+ if (mode.begin || mode.end) throw new Error("begin & end are not supported with match");
572
+ mode.begin = mode.match;
573
+ delete mode.match;
574
+ }
575
+ function compileRelevance(mode, _parent) {
576
+ if (mode.relevance === void 0) mode.relevance = 1;
577
+ }
578
+ var beforeMatchExt = (mode, parent) => {
579
+ if (!mode.beforeMatch) return;
580
+ if (mode.starts) throw new Error("beforeMatch cannot be used with starts");
581
+ const originalMode = Object.assign({}, mode);
582
+ Object.keys(mode).forEach((key) => {
583
+ delete mode[key];
584
+ });
585
+ mode.keywords = originalMode.keywords;
586
+ mode.begin = concat2(originalMode.beforeMatch, lookahead2(originalMode.begin));
587
+ mode.starts = {
588
+ relevance: 0,
589
+ contains: [
590
+ Object.assign(originalMode, { endsParent: true })
591
+ ]
592
+ };
593
+ mode.relevance = 0;
594
+ delete originalMode.beforeMatch;
595
+ };
596
+ var COMMON_KEYWORDS = [
597
+ "of",
598
+ "and",
599
+ "for",
600
+ "in",
601
+ "not",
602
+ "or",
603
+ "if",
604
+ "then",
605
+ "parent",
606
+ // common variable name
607
+ "list",
608
+ // common variable name
609
+ "value"
610
+ // common variable name
611
+ ];
612
+ var DEFAULT_KEYWORD_SCOPE = "keyword";
613
+ function compileKeywords(rawKeywords, caseInsensitive, scopeName = DEFAULT_KEYWORD_SCOPE) {
614
+ const compiledKeywords = /* @__PURE__ */ Object.create(null);
615
+ if (typeof rawKeywords === "string") {
616
+ compileList(scopeName, rawKeywords.split(" "));
617
+ } else if (Array.isArray(rawKeywords)) {
618
+ compileList(scopeName, rawKeywords);
619
+ } else {
620
+ Object.keys(rawKeywords).forEach(function(scopeName2) {
621
+ Object.assign(
622
+ compiledKeywords,
623
+ compileKeywords(rawKeywords[scopeName2], caseInsensitive, scopeName2)
624
+ );
625
+ });
626
+ }
627
+ return compiledKeywords;
628
+ function compileList(scopeName2, keywordList) {
629
+ if (caseInsensitive) {
630
+ keywordList = keywordList.map((x) => x.toLowerCase());
631
+ }
632
+ keywordList.forEach(function(keyword) {
633
+ const pair = keyword.split("|");
634
+ compiledKeywords[pair[0]] = [scopeName2, scoreForKeyword(pair[0], pair[1])];
635
+ });
636
+ }
637
+ }
638
+ function scoreForKeyword(keyword, providedScore) {
639
+ if (providedScore) {
640
+ return Number(providedScore);
641
+ }
642
+ return commonKeyword(keyword) ? 0 : 1;
643
+ }
644
+ function commonKeyword(keyword) {
645
+ return COMMON_KEYWORDS.includes(keyword.toLowerCase());
646
+ }
647
+ var seenDeprecations = {};
648
+ var error = (message) => {
649
+ console.error(message);
650
+ };
651
+ var warn = (message, ...args) => {
652
+ console.log(`WARN: ${message}`, ...args);
653
+ };
654
+ var deprecated = (version2, message) => {
655
+ if (seenDeprecations[`${version2}/${message}`]) return;
656
+ console.log(`Deprecated as of ${version2}. ${message}`);
657
+ seenDeprecations[`${version2}/${message}`] = true;
658
+ };
659
+ var MultiClassError = new Error();
660
+ function remapScopeNames(mode, regexes, { key }) {
661
+ let offset = 0;
662
+ const scopeNames = mode[key];
663
+ const emit = {};
664
+ const positions = {};
665
+ for (let i = 1; i <= regexes.length; i++) {
666
+ positions[i + offset] = scopeNames[i];
667
+ emit[i + offset] = true;
668
+ offset += countMatchGroups(regexes[i - 1]);
669
+ }
670
+ mode[key] = positions;
671
+ mode[key]._emit = emit;
672
+ mode[key]._multi = true;
673
+ }
674
+ function beginMultiClass(mode) {
675
+ if (!Array.isArray(mode.begin)) return;
676
+ if (mode.skip || mode.excludeBegin || mode.returnBegin) {
677
+ error("skip, excludeBegin, returnBegin not compatible with beginScope: {}");
678
+ throw MultiClassError;
679
+ }
680
+ if (typeof mode.beginScope !== "object" || mode.beginScope === null) {
681
+ error("beginScope must be object");
682
+ throw MultiClassError;
683
+ }
684
+ remapScopeNames(mode, mode.begin, { key: "beginScope" });
685
+ mode.begin = _rewriteBackreferences(mode.begin, { joinWith: "" });
686
+ }
687
+ function endMultiClass(mode) {
688
+ if (!Array.isArray(mode.end)) return;
689
+ if (mode.skip || mode.excludeEnd || mode.returnEnd) {
690
+ error("skip, excludeEnd, returnEnd not compatible with endScope: {}");
691
+ throw MultiClassError;
692
+ }
693
+ if (typeof mode.endScope !== "object" || mode.endScope === null) {
694
+ error("endScope must be object");
695
+ throw MultiClassError;
696
+ }
697
+ remapScopeNames(mode, mode.end, { key: "endScope" });
698
+ mode.end = _rewriteBackreferences(mode.end, { joinWith: "" });
699
+ }
700
+ function scopeSugar(mode) {
701
+ if (mode.scope && typeof mode.scope === "object" && mode.scope !== null) {
702
+ mode.beginScope = mode.scope;
703
+ delete mode.scope;
704
+ }
705
+ }
706
+ function MultiClass(mode) {
707
+ scopeSugar(mode);
708
+ if (typeof mode.beginScope === "string") {
709
+ mode.beginScope = { _wrap: mode.beginScope };
710
+ }
711
+ if (typeof mode.endScope === "string") {
712
+ mode.endScope = { _wrap: mode.endScope };
713
+ }
714
+ beginMultiClass(mode);
715
+ endMultiClass(mode);
716
+ }
717
+ function compileLanguage(language) {
718
+ function langRe(value, global) {
719
+ return new RegExp(
720
+ source2(value),
721
+ "m" + (language.case_insensitive ? "i" : "") + (global ? "g" : "")
722
+ );
723
+ }
724
+ class MultiRegex {
725
+ constructor() {
726
+ this.matchIndexes = {};
727
+ this.regexes = [];
728
+ this.matchAt = 1;
729
+ this.position = 0;
730
+ }
731
+ // @ts-ignore
732
+ addRule(re, opts) {
733
+ opts.position = this.position++;
734
+ this.matchIndexes[this.matchAt] = opts;
735
+ this.regexes.push([opts, re]);
736
+ this.matchAt += countMatchGroups(re) + 1;
737
+ }
738
+ compile() {
739
+ if (this.regexes.length === 0) {
740
+ this.exec = () => null;
741
+ }
742
+ const terminators = this.regexes.map((el) => el[1]);
743
+ this.matcherRe = langRe(_rewriteBackreferences(terminators, { joinWith: "|" }), true);
744
+ this.lastIndex = 0;
745
+ }
746
+ /** @param {string} s */
747
+ exec(s) {
748
+ this.matcherRe.lastIndex = this.lastIndex;
749
+ const match = this.matcherRe.exec(s);
750
+ if (!match) {
751
+ return null;
752
+ }
753
+ const i = match.findIndex((el, i2) => i2 > 0 && el !== void 0);
754
+ const matchData = this.matchIndexes[i];
755
+ match.splice(0, i);
756
+ return Object.assign(match, matchData);
757
+ }
758
+ }
759
+ class ResumableMultiRegex {
760
+ constructor() {
761
+ this.rules = [];
762
+ this.multiRegexes = [];
763
+ this.count = 0;
764
+ this.lastIndex = 0;
765
+ this.regexIndex = 0;
766
+ }
767
+ // @ts-ignore
768
+ getMatcher(index) {
769
+ if (this.multiRegexes[index]) return this.multiRegexes[index];
770
+ const matcher = new MultiRegex();
771
+ this.rules.slice(index).forEach(([re, opts]) => matcher.addRule(re, opts));
772
+ matcher.compile();
773
+ this.multiRegexes[index] = matcher;
774
+ return matcher;
775
+ }
776
+ resumingScanAtSamePosition() {
777
+ return this.regexIndex !== 0;
778
+ }
779
+ considerAll() {
780
+ this.regexIndex = 0;
781
+ }
782
+ // @ts-ignore
783
+ addRule(re, opts) {
784
+ this.rules.push([re, opts]);
785
+ if (opts.type === "begin") this.count++;
786
+ }
787
+ /** @param {string} s */
788
+ exec(s) {
789
+ const m = this.getMatcher(this.regexIndex);
790
+ m.lastIndex = this.lastIndex;
791
+ let result = m.exec(s);
792
+ if (this.resumingScanAtSamePosition()) {
793
+ if (result && result.index === this.lastIndex) ;
794
+ else {
795
+ const m2 = this.getMatcher(0);
796
+ m2.lastIndex = this.lastIndex + 1;
797
+ result = m2.exec(s);
798
+ }
799
+ }
800
+ if (result) {
801
+ this.regexIndex += result.position + 1;
802
+ if (this.regexIndex === this.count) {
803
+ this.considerAll();
804
+ }
805
+ }
806
+ return result;
807
+ }
808
+ }
809
+ function buildModeRegex(mode) {
810
+ const mm = new ResumableMultiRegex();
811
+ mode.contains.forEach((term) => mm.addRule(term.begin, { rule: term, type: "begin" }));
812
+ if (mode.terminatorEnd) {
813
+ mm.addRule(mode.terminatorEnd, { type: "end" });
814
+ }
815
+ if (mode.illegal) {
816
+ mm.addRule(mode.illegal, { type: "illegal" });
817
+ }
818
+ return mm;
819
+ }
820
+ function compileMode(mode, parent) {
821
+ const cmode = (
822
+ /** @type CompiledMode */
823
+ mode
824
+ );
825
+ if (mode.isCompiled) return cmode;
826
+ [
827
+ scopeClassName,
828
+ // do this early so compiler extensions generally don't have to worry about
829
+ // the distinction between match/begin
830
+ compileMatch,
831
+ MultiClass,
832
+ beforeMatchExt
833
+ ].forEach((ext) => ext(mode, parent));
834
+ language.compilerExtensions.forEach((ext) => ext(mode, parent));
835
+ mode.__beforeBegin = null;
836
+ [
837
+ beginKeywords,
838
+ // do this later so compiler extensions that come earlier have access to the
839
+ // raw array if they wanted to perhaps manipulate it, etc.
840
+ compileIllegal,
841
+ // default to 1 relevance if not specified
842
+ compileRelevance
843
+ ].forEach((ext) => ext(mode, parent));
844
+ mode.isCompiled = true;
845
+ let keywordPattern = null;
846
+ if (typeof mode.keywords === "object" && mode.keywords.$pattern) {
847
+ mode.keywords = Object.assign({}, mode.keywords);
848
+ keywordPattern = mode.keywords.$pattern;
849
+ delete mode.keywords.$pattern;
850
+ }
851
+ keywordPattern = keywordPattern || /\w+/;
852
+ if (mode.keywords) {
853
+ mode.keywords = compileKeywords(mode.keywords, language.case_insensitive);
854
+ }
855
+ cmode.keywordPatternRe = langRe(keywordPattern, true);
856
+ if (parent) {
857
+ if (!mode.begin) mode.begin = /\B|\b/;
858
+ cmode.beginRe = langRe(mode.begin);
859
+ if (!mode.end && !mode.endsWithParent) mode.end = /\B|\b/;
860
+ if (mode.end) cmode.endRe = langRe(mode.end);
861
+ cmode.terminatorEnd = source2(mode.end) || "";
862
+ if (mode.endsWithParent && parent.terminatorEnd) {
863
+ cmode.terminatorEnd += (mode.end ? "|" : "") + parent.terminatorEnd;
864
+ }
865
+ }
866
+ if (mode.illegal) cmode.illegalRe = langRe(
867
+ /** @type {RegExp | string} */
868
+ mode.illegal
869
+ );
870
+ if (!mode.contains) mode.contains = [];
871
+ mode.contains = [].concat(...mode.contains.map(function(c) {
872
+ return expandOrCloneMode(c === "self" ? mode : c);
873
+ }));
874
+ mode.contains.forEach(function(c) {
875
+ compileMode(
876
+ /** @type Mode */
877
+ c,
878
+ cmode
879
+ );
880
+ });
881
+ if (mode.starts) {
882
+ compileMode(mode.starts, parent);
883
+ }
884
+ cmode.matcher = buildModeRegex(cmode);
885
+ return cmode;
886
+ }
887
+ if (!language.compilerExtensions) language.compilerExtensions = [];
888
+ if (language.contains && language.contains.includes("self")) {
889
+ throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");
890
+ }
891
+ language.classNameAliases = inherit$1(language.classNameAliases || {});
892
+ return compileMode(
893
+ /** @type Mode */
894
+ language
895
+ );
896
+ }
897
+ function dependencyOnParent(mode) {
898
+ if (!mode) return false;
899
+ return mode.endsWithParent || dependencyOnParent(mode.starts);
900
+ }
901
+ function expandOrCloneMode(mode) {
902
+ if (mode.variants && !mode.cachedVariants) {
903
+ mode.cachedVariants = mode.variants.map(function(variant) {
904
+ return inherit$1(mode, { variants: null }, variant);
905
+ });
906
+ }
907
+ if (mode.cachedVariants) {
908
+ return mode.cachedVariants;
909
+ }
910
+ if (dependencyOnParent(mode)) {
911
+ return inherit$1(mode, { starts: mode.starts ? inherit$1(mode.starts) : null });
912
+ }
913
+ if (Object.isFrozen(mode)) {
914
+ return inherit$1(mode);
915
+ }
916
+ return mode;
917
+ }
918
+ var version = "11.2.0";
919
+ var escape = escapeHTML;
920
+ var inherit = inherit$1;
921
+ var NO_MATCH = /* @__PURE__ */ Symbol("nomatch");
922
+ var MAX_KEYWORD_HITS = 7;
923
+ var HLJS = function(hljs2) {
924
+ const languages = /* @__PURE__ */ Object.create(null);
925
+ const aliases = /* @__PURE__ */ Object.create(null);
926
+ const plugins = [];
927
+ let SAFE_MODE = true;
928
+ const LANGUAGE_NOT_FOUND = "Could not find the language '{}', did you forget to load/include a language module?";
929
+ const PLAINTEXT_LANGUAGE = { disableAutodetect: true, name: "Plain text", contains: [] };
930
+ let options = {
931
+ ignoreUnescapedHTML: false,
932
+ noHighlightRe: /^(no-?highlight)$/i,
933
+ languageDetectRe: /\blang(?:uage)?-([\w-]+)\b/i,
934
+ classPrefix: "hljs-",
935
+ cssSelector: "pre code",
936
+ languages: null,
937
+ // beta configuration options, subject to change, welcome to discuss
938
+ // https://github.com/highlightjs/highlight.js/issues/1086
939
+ __emitter: TokenTreeEmitter
940
+ };
941
+ function shouldNotHighlight(languageName) {
942
+ return options.noHighlightRe.test(languageName);
943
+ }
944
+ function blockLanguage(block) {
945
+ let classes = block.className + " ";
946
+ classes += block.parentNode ? block.parentNode.className : "";
947
+ const match = options.languageDetectRe.exec(classes);
948
+ if (match) {
949
+ const language = getLanguage(match[1]);
950
+ if (!language) {
951
+ warn(LANGUAGE_NOT_FOUND.replace("{}", match[1]));
952
+ warn("Falling back to no-highlight mode for this block.", block);
953
+ }
954
+ return language ? match[1] : "no-highlight";
955
+ }
956
+ return classes.split(/\s+/).find((_class) => shouldNotHighlight(_class) || getLanguage(_class));
957
+ }
958
+ function highlight2(codeOrLanguageName, optionsOrCode, ignoreIllegals) {
959
+ let code = "";
960
+ let languageName = "";
961
+ if (typeof optionsOrCode === "object") {
962
+ code = codeOrLanguageName;
963
+ ignoreIllegals = optionsOrCode.ignoreIllegals;
964
+ languageName = optionsOrCode.language;
965
+ } else {
966
+ deprecated("10.7.0", "highlight(lang, code, ...args) has been deprecated.");
967
+ deprecated("10.7.0", "Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277");
968
+ languageName = codeOrLanguageName;
969
+ code = optionsOrCode;
970
+ }
971
+ if (ignoreIllegals === void 0) {
972
+ ignoreIllegals = true;
973
+ }
974
+ const context = {
975
+ code,
976
+ language: languageName
977
+ };
978
+ fire("before:highlight", context);
979
+ const result = context.result ? context.result : _highlight(context.language, context.code, ignoreIllegals);
980
+ result.code = context.code;
981
+ fire("after:highlight", result);
982
+ return result;
983
+ }
984
+ function _highlight(languageName, codeToHighlight, ignoreIllegals, continuation) {
985
+ const keywordHits = /* @__PURE__ */ Object.create(null);
986
+ function keywordData(mode, matchText) {
987
+ return mode.keywords[matchText];
988
+ }
989
+ function processKeywords() {
990
+ if (!top.keywords) {
991
+ emitter.addText(modeBuffer);
992
+ return;
993
+ }
994
+ let lastIndex = 0;
995
+ top.keywordPatternRe.lastIndex = 0;
996
+ let match = top.keywordPatternRe.exec(modeBuffer);
997
+ let buf = "";
998
+ while (match) {
999
+ buf += modeBuffer.substring(lastIndex, match.index);
1000
+ const word = language.case_insensitive ? match[0].toLowerCase() : match[0];
1001
+ const data = keywordData(top, word);
1002
+ if (data) {
1003
+ const [kind, keywordRelevance] = data;
1004
+ emitter.addText(buf);
1005
+ buf = "";
1006
+ keywordHits[word] = (keywordHits[word] || 0) + 1;
1007
+ if (keywordHits[word] <= MAX_KEYWORD_HITS) relevance += keywordRelevance;
1008
+ if (kind.startsWith("_")) {
1009
+ buf += match[0];
1010
+ } else {
1011
+ const cssClass = language.classNameAliases[kind] || kind;
1012
+ emitter.addKeyword(match[0], cssClass);
1013
+ }
1014
+ } else {
1015
+ buf += match[0];
1016
+ }
1017
+ lastIndex = top.keywordPatternRe.lastIndex;
1018
+ match = top.keywordPatternRe.exec(modeBuffer);
1019
+ }
1020
+ buf += modeBuffer.substr(lastIndex);
1021
+ emitter.addText(buf);
1022
+ }
1023
+ function processSubLanguage() {
1024
+ if (modeBuffer === "") return;
1025
+ let result2 = null;
1026
+ if (typeof top.subLanguage === "string") {
1027
+ if (!languages[top.subLanguage]) {
1028
+ emitter.addText(modeBuffer);
1029
+ return;
1030
+ }
1031
+ result2 = _highlight(top.subLanguage, modeBuffer, true, continuations[top.subLanguage]);
1032
+ continuations[top.subLanguage] = /** @type {CompiledMode} */
1033
+ result2._top;
1034
+ } else {
1035
+ result2 = highlightAuto(modeBuffer, top.subLanguage.length ? top.subLanguage : null);
1036
+ }
1037
+ if (top.relevance > 0) {
1038
+ relevance += result2.relevance;
1039
+ }
1040
+ emitter.addSublanguage(result2._emitter, result2.language);
1041
+ }
1042
+ function processBuffer() {
1043
+ if (top.subLanguage != null) {
1044
+ processSubLanguage();
1045
+ } else {
1046
+ processKeywords();
1047
+ }
1048
+ modeBuffer = "";
1049
+ }
1050
+ function emitMultiClass(scope, match) {
1051
+ let i = 1;
1052
+ while (match[i] !== void 0) {
1053
+ if (!scope._emit[i]) {
1054
+ i++;
1055
+ continue;
1056
+ }
1057
+ const klass = language.classNameAliases[scope[i]] || scope[i];
1058
+ const text = match[i];
1059
+ if (klass) {
1060
+ emitter.addKeyword(text, klass);
1061
+ } else {
1062
+ modeBuffer = text;
1063
+ processKeywords();
1064
+ modeBuffer = "";
1065
+ }
1066
+ i++;
1067
+ }
1068
+ }
1069
+ function startNewMode(mode, match) {
1070
+ if (mode.scope && typeof mode.scope === "string") {
1071
+ emitter.openNode(language.classNameAliases[mode.scope] || mode.scope);
1072
+ }
1073
+ if (mode.beginScope) {
1074
+ if (mode.beginScope._wrap) {
1075
+ emitter.addKeyword(modeBuffer, language.classNameAliases[mode.beginScope._wrap] || mode.beginScope._wrap);
1076
+ modeBuffer = "";
1077
+ } else if (mode.beginScope._multi) {
1078
+ emitMultiClass(mode.beginScope, match);
1079
+ modeBuffer = "";
1080
+ }
1081
+ }
1082
+ top = Object.create(mode, { parent: { value: top } });
1083
+ return top;
1084
+ }
1085
+ function endOfMode(mode, match, matchPlusRemainder) {
1086
+ let matched = startsWith(mode.endRe, matchPlusRemainder);
1087
+ if (matched) {
1088
+ if (mode["on:end"]) {
1089
+ const resp = new Response(mode);
1090
+ mode["on:end"](match, resp);
1091
+ if (resp.isMatchIgnored) matched = false;
1092
+ }
1093
+ if (matched) {
1094
+ while (mode.endsParent && mode.parent) {
1095
+ mode = mode.parent;
1096
+ }
1097
+ return mode;
1098
+ }
1099
+ }
1100
+ if (mode.endsWithParent) {
1101
+ return endOfMode(mode.parent, match, matchPlusRemainder);
1102
+ }
1103
+ }
1104
+ function doIgnore(lexeme) {
1105
+ if (top.matcher.regexIndex === 0) {
1106
+ modeBuffer += lexeme[0];
1107
+ return 1;
1108
+ } else {
1109
+ resumeScanAtSamePosition = true;
1110
+ return 0;
1111
+ }
1112
+ }
1113
+ function doBeginMatch(match) {
1114
+ const lexeme = match[0];
1115
+ const newMode = match.rule;
1116
+ const resp = new Response(newMode);
1117
+ const beforeCallbacks = [newMode.__beforeBegin, newMode["on:begin"]];
1118
+ for (const cb of beforeCallbacks) {
1119
+ if (!cb) continue;
1120
+ cb(match, resp);
1121
+ if (resp.isMatchIgnored) return doIgnore(lexeme);
1122
+ }
1123
+ if (newMode.skip) {
1124
+ modeBuffer += lexeme;
1125
+ } else {
1126
+ if (newMode.excludeBegin) {
1127
+ modeBuffer += lexeme;
1128
+ }
1129
+ processBuffer();
1130
+ if (!newMode.returnBegin && !newMode.excludeBegin) {
1131
+ modeBuffer = lexeme;
1132
+ }
1133
+ }
1134
+ startNewMode(newMode, match);
1135
+ return newMode.returnBegin ? 0 : lexeme.length;
1136
+ }
1137
+ function doEndMatch(match) {
1138
+ const lexeme = match[0];
1139
+ const matchPlusRemainder = codeToHighlight.substr(match.index);
1140
+ const endMode = endOfMode(top, match, matchPlusRemainder);
1141
+ if (!endMode) {
1142
+ return NO_MATCH;
1143
+ }
1144
+ const origin = top;
1145
+ if (top.endScope && top.endScope._wrap) {
1146
+ processBuffer();
1147
+ emitter.addKeyword(lexeme, top.endScope._wrap);
1148
+ } else if (top.endScope && top.endScope._multi) {
1149
+ processBuffer();
1150
+ emitMultiClass(top.endScope, match);
1151
+ } else if (origin.skip) {
1152
+ modeBuffer += lexeme;
1153
+ } else {
1154
+ if (!(origin.returnEnd || origin.excludeEnd)) {
1155
+ modeBuffer += lexeme;
1156
+ }
1157
+ processBuffer();
1158
+ if (origin.excludeEnd) {
1159
+ modeBuffer = lexeme;
1160
+ }
1161
+ }
1162
+ do {
1163
+ if (top.scope) {
1164
+ emitter.closeNode();
1165
+ }
1166
+ if (!top.skip && !top.subLanguage) {
1167
+ relevance += top.relevance;
1168
+ }
1169
+ top = top.parent;
1170
+ } while (top !== endMode.parent);
1171
+ if (endMode.starts) {
1172
+ startNewMode(endMode.starts, match);
1173
+ }
1174
+ return origin.returnEnd ? 0 : lexeme.length;
1175
+ }
1176
+ function processContinuations() {
1177
+ const list = [];
1178
+ for (let current = top; current !== language; current = current.parent) {
1179
+ if (current.scope) {
1180
+ list.unshift(current.scope);
1181
+ }
1182
+ }
1183
+ list.forEach((item) => emitter.openNode(item));
1184
+ }
1185
+ let lastMatch = {};
1186
+ function processLexeme(textBeforeMatch, match) {
1187
+ const lexeme = match && match[0];
1188
+ modeBuffer += textBeforeMatch;
1189
+ if (lexeme == null) {
1190
+ processBuffer();
1191
+ return 0;
1192
+ }
1193
+ if (lastMatch.type === "begin" && match.type === "end" && lastMatch.index === match.index && lexeme === "") {
1194
+ modeBuffer += codeToHighlight.slice(match.index, match.index + 1);
1195
+ if (!SAFE_MODE) {
1196
+ const err = new Error(`0 width match regex (${languageName})`);
1197
+ err.languageName = languageName;
1198
+ err.badRule = lastMatch.rule;
1199
+ throw err;
1200
+ }
1201
+ return 1;
1202
+ }
1203
+ lastMatch = match;
1204
+ if (match.type === "begin") {
1205
+ return doBeginMatch(match);
1206
+ } else if (match.type === "illegal" && !ignoreIllegals) {
1207
+ const err = new Error('Illegal lexeme "' + lexeme + '" for mode "' + (top.scope || "<unnamed>") + '"');
1208
+ err.mode = top;
1209
+ throw err;
1210
+ } else if (match.type === "end") {
1211
+ const processed = doEndMatch(match);
1212
+ if (processed !== NO_MATCH) {
1213
+ return processed;
1214
+ }
1215
+ }
1216
+ if (match.type === "illegal" && lexeme === "") {
1217
+ return 1;
1218
+ }
1219
+ if (iterations > 1e5 && iterations > match.index * 3) {
1220
+ const err = new Error("potential infinite loop, way more iterations than matches");
1221
+ throw err;
1222
+ }
1223
+ modeBuffer += lexeme;
1224
+ return lexeme.length;
1225
+ }
1226
+ const language = getLanguage(languageName);
1227
+ if (!language) {
1228
+ error(LANGUAGE_NOT_FOUND.replace("{}", languageName));
1229
+ throw new Error('Unknown language: "' + languageName + '"');
1230
+ }
1231
+ const md = compileLanguage(language);
1232
+ let result = "";
1233
+ let top = continuation || md;
1234
+ const continuations = {};
1235
+ const emitter = new options.__emitter(options);
1236
+ processContinuations();
1237
+ let modeBuffer = "";
1238
+ let relevance = 0;
1239
+ let index = 0;
1240
+ let iterations = 0;
1241
+ let resumeScanAtSamePosition = false;
1242
+ try {
1243
+ top.matcher.considerAll();
1244
+ for (; ; ) {
1245
+ iterations++;
1246
+ if (resumeScanAtSamePosition) {
1247
+ resumeScanAtSamePosition = false;
1248
+ } else {
1249
+ top.matcher.considerAll();
1250
+ }
1251
+ top.matcher.lastIndex = index;
1252
+ const match = top.matcher.exec(codeToHighlight);
1253
+ if (!match) break;
1254
+ const beforeMatch = codeToHighlight.substring(index, match.index);
1255
+ const processedCount = processLexeme(beforeMatch, match);
1256
+ index = match.index + processedCount;
1257
+ }
1258
+ processLexeme(codeToHighlight.substr(index));
1259
+ emitter.closeAllNodes();
1260
+ emitter.finalize();
1261
+ result = emitter.toHTML();
1262
+ return {
1263
+ language: languageName,
1264
+ value: result,
1265
+ relevance,
1266
+ illegal: false,
1267
+ _emitter: emitter,
1268
+ _top: top
1269
+ };
1270
+ } catch (err) {
1271
+ if (err.message && err.message.includes("Illegal")) {
1272
+ return {
1273
+ language: languageName,
1274
+ value: escape(codeToHighlight),
1275
+ illegal: true,
1276
+ relevance: 0,
1277
+ _illegalBy: {
1278
+ message: err.message,
1279
+ index,
1280
+ context: codeToHighlight.slice(index - 100, index + 100),
1281
+ mode: err.mode,
1282
+ resultSoFar: result
1283
+ },
1284
+ _emitter: emitter
1285
+ };
1286
+ } else if (SAFE_MODE) {
1287
+ return {
1288
+ language: languageName,
1289
+ value: escape(codeToHighlight),
1290
+ illegal: false,
1291
+ relevance: 0,
1292
+ errorRaised: err,
1293
+ _emitter: emitter,
1294
+ _top: top
1295
+ };
1296
+ } else {
1297
+ throw err;
1298
+ }
1299
+ }
1300
+ }
1301
+ function justTextHighlightResult(code) {
1302
+ const result = {
1303
+ value: escape(code),
1304
+ illegal: false,
1305
+ relevance: 0,
1306
+ _top: PLAINTEXT_LANGUAGE,
1307
+ _emitter: new options.__emitter(options)
1308
+ };
1309
+ result._emitter.addText(code);
1310
+ return result;
1311
+ }
1312
+ function highlightAuto(code, languageSubset) {
1313
+ languageSubset = languageSubset || options.languages || Object.keys(languages);
1314
+ const plaintext = justTextHighlightResult(code);
1315
+ const results = languageSubset.filter(getLanguage).filter(autoDetection).map(
1316
+ (name) => _highlight(name, code, false)
1317
+ );
1318
+ results.unshift(plaintext);
1319
+ const sorted = results.sort((a, b) => {
1320
+ if (a.relevance !== b.relevance) return b.relevance - a.relevance;
1321
+ if (a.language && b.language) {
1322
+ if (getLanguage(a.language).supersetOf === b.language) {
1323
+ return 1;
1324
+ } else if (getLanguage(b.language).supersetOf === a.language) {
1325
+ return -1;
1326
+ }
1327
+ }
1328
+ return 0;
1329
+ });
1330
+ const [best, secondBest] = sorted;
1331
+ const result = best;
1332
+ result.secondBest = secondBest;
1333
+ return result;
1334
+ }
1335
+ function updateClassName(element, currentLang, resultLang) {
1336
+ const language = currentLang && aliases[currentLang] || resultLang;
1337
+ element.classList.add("hljs");
1338
+ element.classList.add(`language-${language}`);
1339
+ }
1340
+ function highlightElement(element) {
1341
+ let node = null;
1342
+ const language = blockLanguage(element);
1343
+ if (shouldNotHighlight(language)) return;
1344
+ fire(
1345
+ "before:highlightElement",
1346
+ { el: element, language }
1347
+ );
1348
+ if (!options.ignoreUnescapedHTML && element.children.length > 0) {
1349
+ console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk.");
1350
+ console.warn("https://github.com/highlightjs/highlight.js/issues/2886");
1351
+ console.warn(element);
1352
+ }
1353
+ node = element;
1354
+ const text = node.textContent;
1355
+ const result = language ? highlight2(text, { language, ignoreIllegals: true }) : highlightAuto(text);
1356
+ element.innerHTML = result.value;
1357
+ updateClassName(element, language, result.language);
1358
+ element.result = {
1359
+ language: result.language,
1360
+ // TODO: remove with version 11.0
1361
+ re: result.relevance,
1362
+ relevance: result.relevance
1363
+ };
1364
+ if (result.secondBest) {
1365
+ element.secondBest = {
1366
+ language: result.secondBest.language,
1367
+ relevance: result.secondBest.relevance
1368
+ };
1369
+ }
1370
+ fire("after:highlightElement", { el: element, result, text });
1371
+ }
1372
+ function configure(userOptions) {
1373
+ options = inherit(options, userOptions);
1374
+ }
1375
+ const initHighlighting = () => {
1376
+ highlightAll();
1377
+ deprecated("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
1378
+ };
1379
+ function initHighlightingOnLoad() {
1380
+ highlightAll();
1381
+ deprecated("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
1382
+ }
1383
+ let wantsHighlight = false;
1384
+ function highlightAll() {
1385
+ if (document.readyState === "loading") {
1386
+ wantsHighlight = true;
1387
+ return;
1388
+ }
1389
+ const blocks = document.querySelectorAll(options.cssSelector);
1390
+ blocks.forEach(highlightElement);
1391
+ }
1392
+ function boot() {
1393
+ if (wantsHighlight) highlightAll();
1394
+ }
1395
+ if (typeof window !== "undefined" && window.addEventListener) {
1396
+ window.addEventListener("DOMContentLoaded", boot, false);
1397
+ }
1398
+ function registerLanguage(languageName, languageDefinition) {
1399
+ let lang = null;
1400
+ try {
1401
+ lang = languageDefinition(hljs2);
1402
+ } catch (error$1) {
1403
+ error("Language definition for '{}' could not be registered.".replace("{}", languageName));
1404
+ if (!SAFE_MODE) {
1405
+ throw error$1;
1406
+ } else {
1407
+ error(error$1);
1408
+ }
1409
+ lang = PLAINTEXT_LANGUAGE;
1410
+ }
1411
+ if (!lang.name) lang.name = languageName;
1412
+ languages[languageName] = lang;
1413
+ lang.rawDefinition = languageDefinition.bind(null, hljs2);
1414
+ if (lang.aliases) {
1415
+ registerAliases(lang.aliases, { languageName });
1416
+ }
1417
+ }
1418
+ function unregisterLanguage(languageName) {
1419
+ delete languages[languageName];
1420
+ for (const alias of Object.keys(aliases)) {
1421
+ if (aliases[alias] === languageName) {
1422
+ delete aliases[alias];
1423
+ }
1424
+ }
1425
+ }
1426
+ function listLanguages() {
1427
+ return Object.keys(languages);
1428
+ }
1429
+ function getLanguage(name) {
1430
+ name = (name || "").toLowerCase();
1431
+ return languages[name] || languages[aliases[name]];
1432
+ }
1433
+ function registerAliases(aliasList, { languageName }) {
1434
+ if (typeof aliasList === "string") {
1435
+ aliasList = [aliasList];
1436
+ }
1437
+ aliasList.forEach((alias) => {
1438
+ aliases[alias.toLowerCase()] = languageName;
1439
+ });
1440
+ }
1441
+ function autoDetection(name) {
1442
+ const lang = getLanguage(name);
1443
+ return lang && !lang.disableAutodetect;
1444
+ }
1445
+ function upgradePluginAPI(plugin) {
1446
+ if (plugin["before:highlightBlock"] && !plugin["before:highlightElement"]) {
1447
+ plugin["before:highlightElement"] = (data) => {
1448
+ plugin["before:highlightBlock"](
1449
+ Object.assign({ block: data.el }, data)
1450
+ );
1451
+ };
1452
+ }
1453
+ if (plugin["after:highlightBlock"] && !plugin["after:highlightElement"]) {
1454
+ plugin["after:highlightElement"] = (data) => {
1455
+ plugin["after:highlightBlock"](
1456
+ Object.assign({ block: data.el }, data)
1457
+ );
1458
+ };
1459
+ }
1460
+ }
1461
+ function addPlugin(plugin) {
1462
+ upgradePluginAPI(plugin);
1463
+ plugins.push(plugin);
1464
+ }
1465
+ function fire(event, args) {
1466
+ const cb = event;
1467
+ plugins.forEach(function(plugin) {
1468
+ if (plugin[cb]) {
1469
+ plugin[cb](args);
1470
+ }
1471
+ });
1472
+ }
1473
+ function deprecateHighlightBlock(el) {
1474
+ deprecated("10.7.0", "highlightBlock will be removed entirely in v12.0");
1475
+ deprecated("10.7.0", "Please use highlightElement now.");
1476
+ return highlightElement(el);
1477
+ }
1478
+ Object.assign(hljs2, {
1479
+ highlight: highlight2,
1480
+ highlightAuto,
1481
+ highlightAll,
1482
+ highlightElement,
1483
+ // TODO: Remove with v12 API
1484
+ highlightBlock: deprecateHighlightBlock,
1485
+ configure,
1486
+ initHighlighting,
1487
+ initHighlightingOnLoad,
1488
+ registerLanguage,
1489
+ unregisterLanguage,
1490
+ listLanguages,
1491
+ getLanguage,
1492
+ registerAliases,
1493
+ autoDetection,
1494
+ inherit,
1495
+ addPlugin
1496
+ });
1497
+ hljs2.debugMode = function() {
1498
+ SAFE_MODE = false;
1499
+ };
1500
+ hljs2.safeMode = function() {
1501
+ SAFE_MODE = true;
1502
+ };
1503
+ hljs2.versionString = version;
1504
+ for (const key in MODES) {
1505
+ if (typeof MODES[key] === "object") {
1506
+ deepFreeze$1(MODES[key]);
1507
+ }
1508
+ }
1509
+ Object.assign(hljs2, MODES);
1510
+ return hljs2;
1511
+ };
1512
+ var highlight = HLJS({});
1513
+ module.exports = highlight;
1514
+ }
1515
+ });
1516
+
1517
+ // appdrawer/utils.js
1518
+ function isFeatureEnabled(configFeature) {
1519
+ if (!configFeature) return true;
1520
+ const features = JSON.parse(sessionStorage.getItem("optionalFeatures") || "{}");
1521
+ return !!features[configFeature];
1522
+ }
1523
+ function makeButton(arg) {
1524
+ 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);
1525
+ return button;
1526
+ }
1527
+
1528
+ // dom/breadcrumbs.js
1529
+ var BreadcrumbTrail = class {
1530
+ constructor(opts) {
1531
+ this.opts = opts;
1532
+ this.dom = {
1533
+ holder: opts.holder,
1534
+ trailDiv: opts.trailDiv || opts.holder.append("div")
1535
+ };
1536
+ setRenderers(this);
1537
+ }
1538
+ async main(opts = {}) {
1539
+ try {
1540
+ return await this.render();
1541
+ } catch (e) {
1542
+ if (e.stack) console.log(e.stack);
1543
+ else throw e;
1544
+ }
1545
+ }
1546
+ };
1547
+ function setRenderers(self) {
1548
+ self.render = async () => {
1549
+ self.crumbs = self.opts.crumbs;
1550
+ for (const crumb of self.crumbs) {
1551
+ crumb.label = crumb.label || crumb.name;
1552
+ if (!crumb.inTrail) crumb.inTrail = false;
1553
+ }
1554
+ const has_active_crumb = self.crumbs.find((crumb) => crumb.inTrail);
1555
+ if (!has_active_crumb) self.crumbs[0].inTrail = true;
1556
+ 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) {
1557
+ crumb.div = select_default(this);
1558
+ });
1559
+ const activeCrumbIndex = self.crumbs.findIndex((c) => c.inTrail);
1560
+ self.update(activeCrumbIndex);
1561
+ };
1562
+ self.update = (crumbIndex = 0) => {
1563
+ self.crumbs.forEach((crumb, i) => {
1564
+ crumb.inTrail = crumbIndex === i;
1565
+ });
1566
+ self.dom.trailDiv.selectAll("span").data(self.crumbs).each(async (crumb) => {
1567
+ crumb.div.style("display", crumb.inTrail ? "inline-block" : "none");
1568
+ });
1569
+ };
1570
+ }
1571
+
1572
+ // ../node_modules/highlight.js/es/core.js
1573
+ var import_core = __toESM(require_core(), 1);
1574
+ var core_default = import_core.default;
1575
+
1576
+ // ../node_modules/highlight.js/es/languages/javascript.js
1577
+ var IDENT_RE = "[A-Za-z$_][0-9A-Za-z$_]*";
1578
+ var KEYWORDS = [
1579
+ "as",
1580
+ // for exports
1581
+ "in",
1582
+ "of",
1583
+ "if",
1584
+ "for",
1585
+ "while",
1586
+ "finally",
1587
+ "var",
1588
+ "new",
1589
+ "function",
1590
+ "do",
1591
+ "return",
1592
+ "void",
1593
+ "else",
1594
+ "break",
1595
+ "catch",
1596
+ "instanceof",
1597
+ "with",
1598
+ "throw",
1599
+ "case",
1600
+ "default",
1601
+ "try",
1602
+ "switch",
1603
+ "continue",
1604
+ "typeof",
1605
+ "delete",
1606
+ "let",
1607
+ "yield",
1608
+ "const",
1609
+ "class",
1610
+ // JS handles these with a special rule
1611
+ // "get",
1612
+ // "set",
1613
+ "debugger",
1614
+ "async",
1615
+ "await",
1616
+ "static",
1617
+ "import",
1618
+ "from",
1619
+ "export",
1620
+ "extends"
1621
+ ];
1622
+ var LITERALS = [
1623
+ "true",
1624
+ "false",
1625
+ "null",
1626
+ "undefined",
1627
+ "NaN",
1628
+ "Infinity"
1629
+ ];
1630
+ var TYPES = [
1631
+ "Intl",
1632
+ "DataView",
1633
+ "Number",
1634
+ "Math",
1635
+ "Date",
1636
+ "String",
1637
+ "RegExp",
1638
+ "Object",
1639
+ "Function",
1640
+ "Boolean",
1641
+ "Error",
1642
+ "Symbol",
1643
+ "Set",
1644
+ "Map",
1645
+ "WeakSet",
1646
+ "WeakMap",
1647
+ "Proxy",
1648
+ "Reflect",
1649
+ "JSON",
1650
+ "Promise",
1651
+ "Float64Array",
1652
+ "Int16Array",
1653
+ "Int32Array",
1654
+ "Int8Array",
1655
+ "Uint16Array",
1656
+ "Uint32Array",
1657
+ "Float32Array",
1658
+ "Array",
1659
+ "Uint8Array",
1660
+ "Uint8ClampedArray",
1661
+ "ArrayBuffer",
1662
+ "BigInt64Array",
1663
+ "BigUint64Array",
1664
+ "BigInt"
1665
+ ];
1666
+ var ERROR_TYPES = [
1667
+ "EvalError",
1668
+ "InternalError",
1669
+ "RangeError",
1670
+ "ReferenceError",
1671
+ "SyntaxError",
1672
+ "TypeError",
1673
+ "URIError"
1674
+ ];
1675
+ var BUILT_IN_GLOBALS = [
1676
+ "setInterval",
1677
+ "setTimeout",
1678
+ "clearInterval",
1679
+ "clearTimeout",
1680
+ "require",
1681
+ "exports",
1682
+ "eval",
1683
+ "isFinite",
1684
+ "isNaN",
1685
+ "parseFloat",
1686
+ "parseInt",
1687
+ "decodeURI",
1688
+ "decodeURIComponent",
1689
+ "encodeURI",
1690
+ "encodeURIComponent",
1691
+ "escape",
1692
+ "unescape"
1693
+ ];
1694
+ var BUILT_IN_VARIABLES = [
1695
+ "arguments",
1696
+ "this",
1697
+ "super",
1698
+ "console",
1699
+ "window",
1700
+ "document",
1701
+ "localStorage",
1702
+ "module",
1703
+ "global"
1704
+ // Node.js
1705
+ ];
1706
+ var BUILT_INS = [].concat(
1707
+ BUILT_IN_GLOBALS,
1708
+ TYPES,
1709
+ ERROR_TYPES
1710
+ );
1711
+ function source(re) {
1712
+ if (!re) return null;
1713
+ if (typeof re === "string") return re;
1714
+ return re.source;
1715
+ }
1716
+ function lookahead(re) {
1717
+ return concat("(?=", re, ")");
1718
+ }
1719
+ function concat(...args) {
1720
+ const joined = args.map((x) => source(x)).join("");
1721
+ return joined;
1722
+ }
1723
+ function javascript(hljs2) {
1724
+ const hasClosingTag = (match, { after }) => {
1725
+ const tag = "</" + match[0].slice(1);
1726
+ const pos = match.input.indexOf(tag, after);
1727
+ return pos !== -1;
1728
+ };
1729
+ const IDENT_RE$1 = IDENT_RE;
1730
+ const FRAGMENT = {
1731
+ begin: "<>",
1732
+ end: "</>"
1733
+ };
1734
+ const XML_TAG = {
1735
+ begin: /<[A-Za-z0-9\\._:-]+/,
1736
+ end: /\/[A-Za-z0-9\\._:-]+>|\/>/,
1737
+ /**
1738
+ * @param {RegExpMatchArray} match
1739
+ * @param {CallbackResponse} response
1740
+ */
1741
+ isTrulyOpeningTag: (match, response) => {
1742
+ const afterMatchIndex = match[0].length + match.index;
1743
+ const nextChar = match.input[afterMatchIndex];
1744
+ if (nextChar === "<") {
1745
+ response.ignoreMatch();
1746
+ return;
1747
+ }
1748
+ if (nextChar === ">") {
1749
+ if (!hasClosingTag(match, { after: afterMatchIndex })) {
1750
+ response.ignoreMatch();
1751
+ }
1752
+ }
1753
+ }
1754
+ };
1755
+ const KEYWORDS$1 = {
1756
+ $pattern: IDENT_RE,
1757
+ keyword: KEYWORDS,
1758
+ literal: LITERALS,
1759
+ built_in: BUILT_INS,
1760
+ "variable.language": BUILT_IN_VARIABLES
1761
+ };
1762
+ const decimalDigits = "[0-9](_?[0-9])*";
1763
+ const frac = `\\.(${decimalDigits})`;
1764
+ const decimalInteger = `0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`;
1765
+ const NUMBER = {
1766
+ className: "number",
1767
+ variants: [
1768
+ // DecimalLiteral
1769
+ { begin: `(\\b(${decimalInteger})((${frac})|\\.)?|(${frac}))[eE][+-]?(${decimalDigits})\\b` },
1770
+ { begin: `\\b(${decimalInteger})\\b((${frac})\\b|\\.)?|(${frac})\\b` },
1771
+ // DecimalBigIntegerLiteral
1772
+ { begin: `\\b(0|[1-9](_?[0-9])*)n\\b` },
1773
+ // NonDecimalIntegerLiteral
1774
+ { begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b" },
1775
+ { begin: "\\b0[bB][0-1](_?[0-1])*n?\\b" },
1776
+ { begin: "\\b0[oO][0-7](_?[0-7])*n?\\b" },
1777
+ // LegacyOctalIntegerLiteral (does not include underscore separators)
1778
+ // https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals
1779
+ { begin: "\\b0[0-7]+n?\\b" }
1780
+ ],
1781
+ relevance: 0
1782
+ };
1783
+ const SUBST = {
1784
+ className: "subst",
1785
+ begin: "\\$\\{",
1786
+ end: "\\}",
1787
+ keywords: KEYWORDS$1,
1788
+ contains: []
1789
+ // defined later
1790
+ };
1791
+ const HTML_TEMPLATE = {
1792
+ begin: "html`",
1793
+ end: "",
1794
+ starts: {
1795
+ end: "`",
1796
+ returnEnd: false,
1797
+ contains: [
1798
+ hljs2.BACKSLASH_ESCAPE,
1799
+ SUBST
1800
+ ],
1801
+ subLanguage: "xml"
1802
+ }
1803
+ };
1804
+ const CSS_TEMPLATE = {
1805
+ begin: "css`",
1806
+ end: "",
1807
+ starts: {
1808
+ end: "`",
1809
+ returnEnd: false,
1810
+ contains: [
1811
+ hljs2.BACKSLASH_ESCAPE,
1812
+ SUBST
1813
+ ],
1814
+ subLanguage: "css"
1815
+ }
1816
+ };
1817
+ const TEMPLATE_STRING = {
1818
+ className: "string",
1819
+ begin: "`",
1820
+ end: "`",
1821
+ contains: [
1822
+ hljs2.BACKSLASH_ESCAPE,
1823
+ SUBST
1824
+ ]
1825
+ };
1826
+ const JSDOC_COMMENT = hljs2.COMMENT(
1827
+ /\/\*\*(?!\/)/,
1828
+ "\\*/",
1829
+ {
1830
+ relevance: 0,
1831
+ contains: [
1832
+ {
1833
+ begin: "(?=@[A-Za-z]+)",
1834
+ relevance: 0,
1835
+ contains: [
1836
+ {
1837
+ className: "doctag",
1838
+ begin: "@[A-Za-z]+"
1839
+ },
1840
+ {
1841
+ className: "type",
1842
+ begin: "\\{",
1843
+ end: "\\}",
1844
+ excludeEnd: true,
1845
+ excludeBegin: true,
1846
+ relevance: 0
1847
+ },
1848
+ {
1849
+ className: "variable",
1850
+ begin: IDENT_RE$1 + "(?=\\s*(-)|$)",
1851
+ endsParent: true,
1852
+ relevance: 0
1853
+ },
1854
+ // eat spaces (not newlines) so we can find
1855
+ // types or variables
1856
+ {
1857
+ begin: /(?=[^\n])\s/,
1858
+ relevance: 0
1859
+ }
1860
+ ]
1861
+ }
1862
+ ]
1863
+ }
1864
+ );
1865
+ const COMMENT = {
1866
+ className: "comment",
1867
+ variants: [
1868
+ JSDOC_COMMENT,
1869
+ hljs2.C_BLOCK_COMMENT_MODE,
1870
+ hljs2.C_LINE_COMMENT_MODE
1871
+ ]
1872
+ };
1873
+ const SUBST_INTERNALS = [
1874
+ hljs2.APOS_STRING_MODE,
1875
+ hljs2.QUOTE_STRING_MODE,
1876
+ HTML_TEMPLATE,
1877
+ CSS_TEMPLATE,
1878
+ TEMPLATE_STRING,
1879
+ NUMBER,
1880
+ hljs2.REGEXP_MODE
1881
+ ];
1882
+ SUBST.contains = SUBST_INTERNALS.concat({
1883
+ // we need to pair up {} inside our subst to prevent
1884
+ // it from ending too early by matching another }
1885
+ begin: /\{/,
1886
+ end: /\}/,
1887
+ keywords: KEYWORDS$1,
1888
+ contains: [
1889
+ "self"
1890
+ ].concat(SUBST_INTERNALS)
1891
+ });
1892
+ const SUBST_AND_COMMENTS = [].concat(COMMENT, SUBST.contains);
1893
+ const PARAMS_CONTAINS = SUBST_AND_COMMENTS.concat([
1894
+ // eat recursive parens in sub expressions
1895
+ {
1896
+ begin: /\(/,
1897
+ end: /\)/,
1898
+ keywords: KEYWORDS$1,
1899
+ contains: ["self"].concat(SUBST_AND_COMMENTS)
1900
+ }
1901
+ ]);
1902
+ const PARAMS = {
1903
+ className: "params",
1904
+ begin: /\(/,
1905
+ end: /\)/,
1906
+ excludeBegin: true,
1907
+ excludeEnd: true,
1908
+ keywords: KEYWORDS$1,
1909
+ contains: PARAMS_CONTAINS
1910
+ };
1911
+ const CLASS_OR_EXTENDS = {
1912
+ variants: [
1913
+ {
1914
+ match: [
1915
+ /class/,
1916
+ /\s+/,
1917
+ IDENT_RE$1
1918
+ ],
1919
+ scope: {
1920
+ 1: "keyword",
1921
+ 3: "title.class"
1922
+ }
1923
+ },
1924
+ {
1925
+ match: [
1926
+ /extends/,
1927
+ /\s+/,
1928
+ concat(IDENT_RE$1, "(", concat(/\./, IDENT_RE$1), ")*")
1929
+ ],
1930
+ scope: {
1931
+ 1: "keyword",
1932
+ 3: "title.class.inherited"
1933
+ }
1934
+ }
1935
+ ]
1936
+ };
1937
+ const CLASS_REFERENCE = {
1938
+ relevance: 0,
1939
+ match: /\b[A-Z][a-z]+([A-Z][a-z]+)*/,
1940
+ className: "title.class",
1941
+ keywords: {
1942
+ _: [
1943
+ // se we still get relevance credit for JS library classes
1944
+ ...TYPES,
1945
+ ...ERROR_TYPES
1946
+ ]
1947
+ }
1948
+ };
1949
+ const USE_STRICT = {
1950
+ label: "use_strict",
1951
+ className: "meta",
1952
+ relevance: 10,
1953
+ begin: /^\s*['"]use (strict|asm)['"]/
1954
+ };
1955
+ const FUNCTION_DEFINITION = {
1956
+ variants: [
1957
+ {
1958
+ match: [
1959
+ /function/,
1960
+ /\s+/,
1961
+ IDENT_RE$1,
1962
+ /(?=\s*\()/
1963
+ ]
1964
+ },
1965
+ // anonymous function
1966
+ {
1967
+ match: [
1968
+ /function/,
1969
+ /\s*(?=\()/
1970
+ ]
1971
+ }
1972
+ ],
1973
+ className: {
1974
+ 1: "keyword",
1975
+ 3: "title.function"
1976
+ },
1977
+ label: "func.def",
1978
+ contains: [PARAMS],
1979
+ illegal: /%/
1980
+ };
1981
+ const UPPER_CASE_CONSTANT = {
1982
+ relevance: 0,
1983
+ match: /\b[A-Z][A-Z_0-9]+\b/,
1984
+ className: "variable.constant"
1985
+ };
1986
+ function noneOf(list) {
1987
+ return concat("(?!", list.join("|"), ")");
1988
+ }
1989
+ const FUNCTION_CALL = {
1990
+ match: concat(
1991
+ /\b/,
1992
+ noneOf([
1993
+ ...BUILT_IN_GLOBALS,
1994
+ "super"
1995
+ ]),
1996
+ IDENT_RE$1,
1997
+ lookahead(/\(/)
1998
+ ),
1999
+ className: "title.function",
2000
+ relevance: 0
2001
+ };
2002
+ const PROPERTY_ACCESS = {
2003
+ begin: concat(/\./, lookahead(
2004
+ concat(IDENT_RE$1, /(?![0-9A-Za-z$_(])/)
2005
+ )),
2006
+ end: IDENT_RE$1,
2007
+ excludeBegin: true,
2008
+ keywords: "prototype",
2009
+ className: "property",
2010
+ relevance: 0
2011
+ };
2012
+ const GETTER_OR_SETTER = {
2013
+ match: [
2014
+ /get|set/,
2015
+ /\s+/,
2016
+ IDENT_RE$1,
2017
+ /(?=\()/
2018
+ ],
2019
+ className: {
2020
+ 1: "keyword",
2021
+ 3: "title.function"
2022
+ },
2023
+ contains: [
2024
+ {
2025
+ // eat to avoid empty params
2026
+ begin: /\(\)/
2027
+ },
2028
+ PARAMS
2029
+ ]
2030
+ };
2031
+ const FUNC_LEAD_IN_RE = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + hljs2.UNDERSCORE_IDENT_RE + ")\\s*=>";
2032
+ const FUNCTION_VARIABLE = {
2033
+ match: [
2034
+ /const|var|let/,
2035
+ /\s+/,
2036
+ IDENT_RE$1,
2037
+ /\s*/,
2038
+ /=\s*/,
2039
+ lookahead(FUNC_LEAD_IN_RE)
2040
+ ],
2041
+ className: {
2042
+ 1: "keyword",
2043
+ 3: "title.function"
2044
+ },
2045
+ contains: [
2046
+ PARAMS
2047
+ ]
2048
+ };
2049
+ return {
2050
+ name: "Javascript",
2051
+ aliases: ["js", "jsx", "mjs", "cjs"],
2052
+ keywords: KEYWORDS$1,
2053
+ // this will be extended by TypeScript
2054
+ exports: { PARAMS_CONTAINS },
2055
+ illegal: /#(?![$_A-z])/,
2056
+ contains: [
2057
+ hljs2.SHEBANG({
2058
+ label: "shebang",
2059
+ binary: "node",
2060
+ relevance: 5
2061
+ }),
2062
+ USE_STRICT,
2063
+ hljs2.APOS_STRING_MODE,
2064
+ hljs2.QUOTE_STRING_MODE,
2065
+ HTML_TEMPLATE,
2066
+ CSS_TEMPLATE,
2067
+ TEMPLATE_STRING,
2068
+ COMMENT,
2069
+ NUMBER,
2070
+ CLASS_REFERENCE,
2071
+ {
2072
+ className: "attr",
2073
+ begin: IDENT_RE$1 + lookahead(":"),
2074
+ relevance: 0
2075
+ },
2076
+ FUNCTION_VARIABLE,
2077
+ {
2078
+ // "value" container
2079
+ begin: "(" + hljs2.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*",
2080
+ keywords: "return throw case",
2081
+ relevance: 0,
2082
+ contains: [
2083
+ COMMENT,
2084
+ hljs2.REGEXP_MODE,
2085
+ {
2086
+ className: "function",
2087
+ // we have to count the parens to make sure we actually have the
2088
+ // correct bounding ( ) before the =>. There could be any number of
2089
+ // sub-expressions inside also surrounded by parens.
2090
+ begin: FUNC_LEAD_IN_RE,
2091
+ returnBegin: true,
2092
+ end: "\\s*=>",
2093
+ contains: [
2094
+ {
2095
+ className: "params",
2096
+ variants: [
2097
+ {
2098
+ begin: hljs2.UNDERSCORE_IDENT_RE,
2099
+ relevance: 0
2100
+ },
2101
+ {
2102
+ className: null,
2103
+ begin: /\(\s*\)/,
2104
+ skip: true
2105
+ },
2106
+ {
2107
+ begin: /\(/,
2108
+ end: /\)/,
2109
+ excludeBegin: true,
2110
+ excludeEnd: true,
2111
+ keywords: KEYWORDS$1,
2112
+ contains: PARAMS_CONTAINS
2113
+ }
2114
+ ]
2115
+ }
2116
+ ]
2117
+ },
2118
+ {
2119
+ // could be a comma delimited list of params to a function call
2120
+ begin: /,/,
2121
+ relevance: 0
2122
+ },
2123
+ {
2124
+ match: /\s+/,
2125
+ relevance: 0
2126
+ },
2127
+ {
2128
+ // JSX
2129
+ variants: [
2130
+ { begin: FRAGMENT.begin, end: FRAGMENT.end },
2131
+ {
2132
+ begin: XML_TAG.begin,
2133
+ // we carefully check the opening tag to see if it truly
2134
+ // is a tag and not a false positive
2135
+ "on:begin": XML_TAG.isTrulyOpeningTag,
2136
+ end: XML_TAG.end
2137
+ }
2138
+ ],
2139
+ subLanguage: "xml",
2140
+ contains: [
2141
+ {
2142
+ begin: XML_TAG.begin,
2143
+ end: XML_TAG.end,
2144
+ skip: true,
2145
+ contains: ["self"]
2146
+ }
2147
+ ]
2148
+ }
2149
+ ]
2150
+ },
2151
+ FUNCTION_DEFINITION,
2152
+ {
2153
+ // prevent this from getting swallowed up by function
2154
+ // since they appear "function like"
2155
+ beginKeywords: "while if switch catch for"
2156
+ },
2157
+ {
2158
+ // we have to count the parens to make sure we actually have the correct
2159
+ // bounding ( ). There could be any number of sub-expressions inside
2160
+ // also surrounded by parens.
2161
+ begin: "\\b(?!function)" + hljs2.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
2162
+ // end parens
2163
+ returnBegin: true,
2164
+ label: "func.def",
2165
+ contains: [
2166
+ PARAMS,
2167
+ hljs2.inherit(hljs2.TITLE_MODE, { begin: IDENT_RE$1, className: "title.function" })
2168
+ ]
2169
+ },
2170
+ // catch ... so it won't trigger the property rule below
2171
+ {
2172
+ match: /\.\.\./,
2173
+ relevance: 0
2174
+ },
2175
+ PROPERTY_ACCESS,
2176
+ // hack: prevents detection of keywords in some circumstances
2177
+ // .keyword()
2178
+ // $keyword = x
2179
+ {
2180
+ match: "\\$" + IDENT_RE$1,
2181
+ relevance: 0
2182
+ },
2183
+ {
2184
+ match: [/\bconstructor(?=\s*\()/],
2185
+ className: { 1: "title.function" },
2186
+ contains: [PARAMS]
2187
+ },
2188
+ FUNCTION_CALL,
2189
+ UPPER_CASE_CONSTANT,
2190
+ CLASS_OR_EXTENDS,
2191
+ GETTER_OR_SETTER,
2192
+ {
2193
+ match: /\$[(.]/
2194
+ // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`
2195
+ }
2196
+ ]
2197
+ };
2198
+ }
2199
+ var javascript_default = javascript;
2200
+
2201
+ // ../node_modules/highlight.js/es/languages/json.js
2202
+ function json(hljs2) {
2203
+ const ATTRIBUTE = {
2204
+ className: "attr",
2205
+ begin: /"(\\.|[^\\"\r\n])*"(?=\s*:)/,
2206
+ relevance: 1.01
2207
+ };
2208
+ const PUNCTUATION = {
2209
+ match: /[{}[\],:]/,
2210
+ className: "punctuation",
2211
+ relevance: 0
2212
+ };
2213
+ const LITERALS2 = {
2214
+ beginKeywords: [
2215
+ "true",
2216
+ "false",
2217
+ "null"
2218
+ ].join(" ")
2219
+ };
2220
+ return {
2221
+ name: "JSON",
2222
+ contains: [
2223
+ ATTRIBUTE,
2224
+ PUNCTUATION,
2225
+ hljs2.QUOTE_STRING_MODE,
2226
+ LITERALS2,
2227
+ hljs2.C_NUMBER_MODE,
2228
+ hljs2.C_LINE_COMMENT_MODE,
2229
+ hljs2.C_BLOCK_COMMENT_MODE
2230
+ ],
2231
+ illegal: "\\S"
2232
+ };
2233
+ }
2234
+ var json_default = json;
2235
+
2236
+ // appdrawer/adSandbox.js
2237
+ core_default.registerLanguage("javascript", javascript_default);
2238
+ core_default.registerLanguage("json", json_default);
2239
+ async function openSandbox(element, pageArgs) {
2240
+ const sandboxDiv = newSandboxDiv(pageArgs.sandboxDiv);
2241
+ sandboxDiv.header_row;
2242
+ sandboxDiv.header.append("span").html(
2243
+ element.type != "nestedCard" ? `<a href="${sessionStorage.getItem("hostURL")}/?appcard=${element.sandboxJson || element.sandboxHtml}">${element.name}</a>` : element.name
2244
+ );
2245
+ sandboxDiv.body.style("overflow", "hidden").style("background-color", "white");
2246
+ if (element.type == "nestedCard") return openNestedCardSandbox(element, sandboxDiv, pageArgs);
2247
+ const res = element.sandboxJson ? await dofetch3(`${pageArgs.app.cardsPath}/${element.sandboxJson}.json`) : await dofetch3(`${pageArgs.app.cardsPath}/${element.sandboxHtml}.txt`);
2248
+ if (res.error) {
2249
+ sayerror(sandboxDiv.body.insert("div", "div"), res.error);
2250
+ return;
2251
+ }
2252
+ if (element.type == "card") return openCardSandbox(element, res, sandboxDiv, pageArgs);
2253
+ if (element.type == "dsButton") return openDatasetButtonSandbox(element, pageArgs, res, sandboxDiv);
2254
+ }
2255
+ async function openNestedCardSandbox(nestedCard, sandboxDiv, pageArgs) {
2256
+ sandboxDiv.body.style("justify-content", "center").style("background-color", "#f2ebdc");
2257
+ 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");
2258
+ const filteredChildren = nestedCard.children.filter((e) => !e.hidden);
2259
+ sandboxDiv.header.trail = new BreadcrumbTrail({
2260
+ holder: sandboxDiv.header,
2261
+ crumbs: filteredChildren
2262
+ });
2263
+ filteredChildren.forEach((child) => {
2264
+ const uc = ucList.append("li");
2265
+ uc.attr("class", "sjpp-app-drawer-card").style("padding", "10px").style("margin", "5px").html(
2266
+ `<p style="margin-left: 12px; font-size:14.5px;font-weight:500; display: block;">${child.name}</p>
2267
+ <p style="display: block; font-size: 13px; font-weight: 300; margin-left: 20px; justify-content: center; font-style:oblique; color: #403f3f;">${child.description}</p>`
2268
+ ).on("click", async (event) => {
2269
+ event.stopPropagation();
2270
+ ucList.selectAll("*").remove();
2271
+ const res = child.sandboxJson ? await dofetch3(`${pageArgs.app.cardsPath}/${child.sandboxJson}.json`) : await dofetch3(`${pageArgs.app.cardsPath}/${child.sandboxHtml}.txt`);
2272
+ if (res.error) {
2273
+ sayerror(sandboxDiv.body.insert("div", "div"), res.error);
2274
+ return;
2275
+ }
2276
+ if (child.type == "card") {
2277
+ sandboxDiv.header.trail.main();
2278
+ openCardSandbox(child, res, sandboxDiv, pageArgs);
2279
+ const crumbIndex = filteredChildren.findIndex((c) => c == child);
2280
+ sandboxDiv.header.trail.update(crumbIndex);
2281
+ }
2282
+ if (child.type == "dsButton") return openDatasetButtonSandbox(child, pageArgs.app.opts, res, sandboxDiv);
2283
+ });
2284
+ return JSON.stringify(uc);
2285
+ });
2286
+ }
2287
+ async function openCardSandbox(card, res, sandboxDiv, pageArgs) {
2288
+ if (card.sandboxHtml) {
2289
+ const renderHtml = await res.text();
2290
+ 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);
2291
+ }
2292
+ sandboxDiv.body.style("background-color", "white");
2293
+ const sandboxArgs = {
2294
+ intro: res.intro,
2295
+ ppcalls: res.ppcalls.filter((e) => !e.hidden),
2296
+ buttons: res.buttons,
2297
+ arrowButtons: res.arrowButtons,
2298
+ ribbonMessage: res.ribbonMessage,
2299
+ citation: res.citation_id
2300
+ };
2301
+ addHtmlText(sandboxArgs.intro, sandboxDiv.body);
2302
+ if (card.ribbon) addHtmlText(sandboxArgs.ribbonMessage, sandboxDiv.body, card.ribbon);
2303
+ const mainButtonsDiv = sandboxDiv.body.append("div");
2304
+ const mainButtonsContentDiv = sandboxDiv.body.append("div");
2305
+ addButtons(sandboxArgs.buttons, mainButtonsDiv);
2306
+ addArrowBtns(sandboxArgs, "main", mainButtonsDiv, mainButtonsContentDiv, pageArgs);
2307
+ if (card.disableTopTabs) renderContent(sandboxArgs.ppcalls[0], sandboxDiv.body, card, pageArgs);
2308
+ else {
2309
+ 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");
2310
+ const tabsContentDiv = sandboxDiv.body.append("div");
2311
+ makeParentTabsMenu(sandboxArgs.ppcalls, card, topTabsDiv, tabsContentDiv, sandboxDiv, pageArgs);
2312
+ }
2313
+ }
2314
+ function renderContent(ppcalls, div, card, pageArgs) {
2315
+ addHtmlText(ppcalls.message, div);
2316
+ const buttonsDiv = div.append("div").style("margin-bottom", "20px");
2317
+ const buttonsContentDiv = div.append("div");
2318
+ addButtons(ppcalls.buttons, buttonsDiv);
2319
+ makeDataDownload(ppcalls.download, buttonsDiv, card.section);
2320
+ const enabled = isFeatureEnabled(ppcalls.configFeature);
2321
+ if (enabled) showURLLaunch(ppcalls.urlparam, buttonsDiv, card.section);
2322
+ addArrowBtns(ppcalls, "call", buttonsDiv, buttonsContentDiv, pageArgs);
2323
+ if (!card.disableTopTabs) {
2324
+ div.append("hr").style("border", "0").style("border-top", "1px dashed #e3e3e6").style("width", "100%");
2325
+ }
2326
+ if (!enabled) {
2327
+ div.append("p").style("margin", "20px").style("color", "#858585").text(getDisabledMessage(ppcalls.configFeature));
2328
+ return;
2329
+ }
2330
+ const runpp_arg = {
2331
+ holder: div.append("div").style("margin", "20px").node(),
2332
+ /* Do not use window.location.origin
2333
+ Will break the embedder (/genomes will be requested from https:/embedder.site.org/genomes,
2334
+ for example). It's very rare for an embedder to want to show this default "portal" header
2335
+ because external portals usually have their own headers, but it will affect simple html
2336
+ pages that embed a runpp() call where the app header is not hidden. */
2337
+ host: ppcalls.runargs.host || sessionStorage.getItem("hostURL")
2338
+ };
2339
+ const callpp = JSON.parse(JSON.stringify(ppcalls.runargs));
2340
+ runproteinpaint(Object.assign(runpp_arg, callpp));
2341
+ }
2342
+ function makeTopTabs(ppcalls, card, sandboxDiv, pageArgs) {
2343
+ const tabs = [];
2344
+ const ui = ppcalls.findIndex((t) => t.isUi == true);
2345
+ const notui = ppcalls.findIndex((t) => t.isUi == void 0);
2346
+ const uiPresent = ui != -1 ? true : false;
2347
+ if (uiPresent == true) {
2348
+ tabs.push({
2349
+ label: "Add Your Data",
2350
+ active: false,
2351
+ callback: async (event, tab) => {
2352
+ try {
2353
+ const runpp_arg = {
2354
+ holder: tab.contentHolder.append("div").style("margin", "20px").node(),
2355
+ sandbox_header: tab.contentHolder,
2356
+ host: sessionStorage.getItem("hostURL")
2357
+ };
2358
+ const callpp = JSON.parse(JSON.stringify(ppcalls[ui].runargs));
2359
+ runproteinpaint(Object.assign(runpp_arg, callpp));
2360
+ delete tab.callback;
2361
+ } catch (e) {
2362
+ if (e.stack) console.error(e.stack);
2363
+ else throw e;
2364
+ }
2365
+ }
2366
+ });
2367
+ }
2368
+ if (ppcalls.length == 1 && uiPresent != true || ppcalls.length == 2 && uiPresent == true) {
2369
+ tabs.push({
2370
+ label: "Example",
2371
+ active: false,
2372
+ callback: async (event, tab) => {
2373
+ try {
2374
+ renderContent(ppcalls[notui], tab.contentHolder, card, pageArgs);
2375
+ delete tab.callback;
2376
+ } catch (e) {
2377
+ if (e.stack) console.error(e.stack);
2378
+ else throw e;
2379
+ }
2380
+ }
2381
+ });
2382
+ }
2383
+ if (ppcalls.length > 1 && uiPresent == false || ppcalls.length > 2 && uiPresent == true) {
2384
+ tabs.push({
2385
+ label: "Examples",
2386
+ active: pageArgs?.example ? true : false,
2387
+ callback: async (event, tab) => {
2388
+ try {
2389
+ const examplesOnly = ppcalls.filter((p) => p.isUi != true);
2390
+ makeLeftsideTabMenu(card, tab.contentHolder, examplesOnly, sandboxDiv, pageArgs);
2391
+ delete tab.callback;
2392
+ } catch (e) {
2393
+ if (e.stack) console.error(e.stack);
2394
+ else throw e;
2395
+ }
2396
+ }
2397
+ });
2398
+ }
2399
+ return tabs;
2400
+ }
2401
+ function makeParentTabsMenu(ppcalls, card, topTabsDiv, tabsContentDiv, sandboxDiv, pageArgs) {
2402
+ const tabs = makeTopTabs(ppcalls, card, sandboxDiv, pageArgs);
2403
+ new Tabs({ holder: topTabsDiv, contentHolder: tabsContentDiv, tabs }).main();
2404
+ }
2405
+ async function makeLeftsideTabMenu(card, contentHolder, examplesOnly, sandboxDiv, pageArgs) {
2406
+ const tabs = examplesOnly.map((p, index) => getTabData(p, index, card.section));
2407
+ sandboxDiv.header.trail = await new BreadcrumbTrail({
2408
+ holder: sandboxDiv.header,
2409
+ crumbs: tabs
2410
+ });
2411
+ function getTabData(ppcalls, i, section) {
2412
+ const active = pageArgs?.example ? pageArgs.example.toUpperCase() == ppcalls.label.toUpperCase() : i === 0;
2413
+ return {
2414
+ active,
2415
+ inTrail: active,
2416
+ link: `${sessionStorage.getItem("hostURL")}/?appcard=${card.sandboxJson || card.sandboxHtml}&example=${ppcalls.label}`,
2417
+ label: ppcalls.label + (isFeatureEnabled(ppcalls.configFeature) ? "" : " (disabled)"),
2418
+ callback: async (event, tab) => {
2419
+ const wait = tab_wait(tab.contentHolder);
2420
+ try {
2421
+ if (!tab.rendered) {
2422
+ appear(tab.contentHolder);
2423
+ renderContent(ppcalls, tab.contentHolder, section, pageArgs);
2424
+ wait.remove();
2425
+ }
2426
+ tab.rendered = true;
2427
+ const crumbIndex = tabs.findIndex((t) => t == tab);
2428
+ sandboxDiv.header.trail.update(crumbIndex);
2429
+ wait.remove();
2430
+ } catch (e) {
2431
+ wait.text("Error: " + (e.message || e));
2432
+ }
2433
+ }
2434
+ };
2435
+ }
2436
+ sandboxDiv.header.trail.main();
2437
+ 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");
2438
+ const tabsDiv = wrapper.append("div").classed("sjpp-tabs-div", true).style("border-right", "1px solid lightgray");
2439
+ const tabsContentDiv = wrapper.append("div").classed("sjpp-content-div", true);
2440
+ new Tabs({
2441
+ holder: tabsDiv,
2442
+ contentHolder: tabsContentDiv,
2443
+ tabs,
2444
+ linePosition: "right",
2445
+ tabsPosition: "vertical",
2446
+ gap: "10px"
2447
+ }).main();
2448
+ }
2449
+ function getDisabledMessage(configFeature) {
2450
+ if (configFeature == "ALLOW_remotefilefromurl") return "Remote file not supported on this server.";
2451
+ return "This example is not enabled on this server.";
2452
+ }
2453
+ function addHtmlText(text, div, ribbon) {
2454
+ if (ribbon && ribbon.expireDate) {
2455
+ const today = /* @__PURE__ */ new Date();
2456
+ const expire = new Date(ribbon.expireDate);
2457
+ if (expire > today && text != void 0 && text) {
2458
+ let boldedText2 = function() {
2459
+ const str = ribbon.text.toLowerCase();
2460
+ return str[0].toUpperCase() + str.slice(1);
2461
+ };
2462
+ var boldedText = boldedText2;
2463
+ div.append("div").style("margin", "20px").html(`<p style="display:inline-block;font-weight:bold">${boldedText2()}: &nbsp</p>${text}`);
2464
+ }
2465
+ } else if (text != void 0 && text) {
2466
+ div.append("div").style("margin", "20px").html(text);
2467
+ }
2468
+ }
2469
+ function addButtons(buttons, div) {
2470
+ if (buttons) {
2471
+ buttons.forEach((button) => {
2472
+ const sandboxButton = makeButton({ div, text: button.name });
2473
+ sandboxButton.on("click", (event) => {
2474
+ event.stopPropagation();
2475
+ if (button.download) window.open(`${button.download}`, "_self", "download");
2476
+ else window.open(`${button.link}`, `${button.name}`);
2477
+ });
2478
+ });
2479
+ }
2480
+ }
2481
+ function makeArrowButtons(arrows, btns) {
2482
+ if (arrows) {
2483
+ arrows.forEach((arrow) => {
2484
+ const contents = `<div style="margin:10px;" class="sjpp-arrow-content">
2485
+ ${arrow.message ? `<div style="margin: 1vw;">${arrow.message}</div>` : ""}
2486
+ ${arrow.links ? arrow.links.map((hyperlink) => {
2487
+ if (!hyperlink) return "";
2488
+ if (hyperlink.download) {
2489
+ return `<a style="cursor:pointer; margin-left:20px;" onclick="event.stopPropagation();" href="${hyperlink.download}", target="_self" download>${hyperlink.name}</a>`;
2490
+ }
2491
+ if (hyperlink.link) {
2492
+ return `<a style="cursor:pointer; margin-left:20px;" onclick="event.stopPropagation();" href="${hyperlink.link}", target="_blank">${hyperlink.name}</a>`;
2493
+ }
2494
+ }).join("") : ""}</div>`;
2495
+ btns.push({
2496
+ name: arrow.name,
2497
+ callback: async (rdiv) => {
2498
+ try {
2499
+ rdiv.append("div").html(contents);
2500
+ } catch (e) {
2501
+ alert("Error: " + e);
2502
+ }
2503
+ }
2504
+ });
2505
+ });
2506
+ }
2507
+ }
2508
+ async function addArrowBtns(args, type, bdiv, rdiv, pageArgs) {
2509
+ let btns = [];
2510
+ if (type == "call") showCode(args, btns);
2511
+ const genome = args?.runargs?.genome;
2512
+ if (args.datapreview && genome) showViewData(btns, args.datapreview, genome);
2513
+ if (args.citation || args.data_source) {
2514
+ const res = await dofetch3(`/${pageArgs.app.cardsPath}/citations.json`);
2515
+ if (res.error) {
2516
+ console.error(`Error: ${res.error}`);
2517
+ return;
2518
+ }
2519
+ for (const pub of res.publications) {
2520
+ if (args.citation == pub.id || args.data_source == pub.id) {
2521
+ const label = args.data_source ? "Data Source" : "Citation";
2522
+ showCitation(btns, pub, label);
2523
+ }
2524
+ }
2525
+ }
2526
+ makeArrowButtons(args.arrowButtons, btns);
2527
+ const active_btn = btns.findIndex((b) => b.active) == -1 ? false : true;
2528
+ for (let i = 0; i < btns.length; i++) {
2529
+ const btn = btns[i];
2530
+ btn.btn = makeButton({ div: bdiv, text: btn.name + " \u25BC" });
2531
+ btn.c = rdiv.append("div").style("margin", "20px 0px 10px 20px").style("display", active_btn && i == 0 || btn.active ? "block" : "none");
2532
+ if (active_btn && i == 0 && btn.callback || btn.active) {
2533
+ btn.callback(btn.c);
2534
+ delete btn.callback;
2535
+ }
2536
+ btn.btn.on("click", () => {
2537
+ if (btn.c.style("display") != "none") {
2538
+ btn.btn.text(btn.name + " \u25BC").style("color", "black").style("background-color", "#cfe2f3");
2539
+ btn.c.style("display", "none");
2540
+ } else {
2541
+ btn.btn.text(btn.name + " \u25B2").style("color", "whitesmoke").style("background-color", "#487ba8");
2542
+ appear(btn.c);
2543
+ for (let j = 0; j < btns.length; j++) {
2544
+ if (i != j) {
2545
+ btns[j].btn.text(btns[j].name + " \u25BC").style("color", "black").style("background-color", "#cfe2f3");
2546
+ btns[j].c.style("display", "none");
2547
+ }
2548
+ }
2549
+ }
2550
+ if (btn.callback) {
2551
+ btn.callback(btn.c);
2552
+ delete btn.callback;
2553
+ }
2554
+ });
2555
+ }
2556
+ }
2557
+ function showURLLaunch(urlparam, div, section) {
2558
+ if (!urlparam) return;
2559
+ const URLbtn = makeButton({ div, text: section == "apps" ? "Run app from URL" : "Run track from URL" });
2560
+ URLbtn.on("click", (event) => {
2561
+ const hostURL = getHostURL();
2562
+ event.stopPropagation();
2563
+ window.open(`${hostURL}${urlparam}`, "_blank");
2564
+ });
2565
+ }
2566
+ function makeDataDownload(download, div, section) {
2567
+ if (!download) return;
2568
+ const dataBtn = makeButton({
2569
+ div,
2570
+ text: section == "apps" ? "Download App File(s)" : "Download Track File(s)"
2571
+ });
2572
+ dataBtn.on("click", (event) => {
2573
+ event.stopPropagation();
2574
+ window.open(`${download}`, "_self", "download");
2575
+ });
2576
+ }
2577
+ async function showCode(ppcalls, btns) {
2578
+ if (ppcalls.isUi == true) return;
2579
+ const runppCode = core_default.highlight(
2580
+ `runproteinpaint({
2581
+ host: "${sessionStorage.getItem("hostURL")}",
2582
+ holder: document.getElementById('a'),
2583
+ ` + // Fix for first argument not properly appearing underneath holder
2584
+ JSON.stringify(ppcalls.runargs, "", 4).replaceAll(/"(.+)"\s*:/g, "$1:").replaceAll(/\\t/g, " ").replaceAll(/\\n/g, "\r ").slice(1, -1).trim() + `\r})`,
2585
+ { language: "javascript" }
2586
+ ).value;
2587
+ 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;`}">
2588
+ <code style="font-size:14px; display:block;">${runppCode}</code></pre>`;
2589
+ btns.push({
2590
+ name: "Code",
2591
+ callback: async (rdiv) => {
2592
+ try {
2593
+ if (ppcalls.jsonpath) {
2594
+ const includeJson = await showJsonCode(ppcalls);
2595
+ const runppHeader = "<p style='margin:20px 5px 20px 25px;'>ProteinPaint JS code</p>";
2596
+ const grid = rdiv.append("div").style("display", "grid").style("grid-template-columns", "repeat(auto-fit, minmax(100px, 1fr))").style("gap", "5px");
2597
+ grid.append("div").style("display", "block").html(runppHeader + runppContents);
2598
+ grid.append("div").style("display", "block").html(includeJson);
2599
+ } else {
2600
+ rdiv.append("div").html(runppContents);
2601
+ }
2602
+ } catch (e) {
2603
+ alert("Error: " + e);
2604
+ }
2605
+ }
2606
+ });
2607
+ }
2608
+ async function showJsonCode(ppcalls) {
2609
+ const jsondata = await dofetch("textfile", { file: ppcalls.jsonpath });
2610
+ const json_code = JSON.parse(jsondata.text);
2611
+ const splitpath = ppcalls.jsonpath.split("/");
2612
+ const filename = splitpath[splitpath.length - 1];
2613
+ let lines = JSON.stringify(json_code, "", 4).split("\n");
2614
+ let slicedjson;
2615
+ if (lines.length > 120) {
2616
+ lines = lines.slice(0, 100);
2617
+ slicedjson = true;
2618
+ }
2619
+ const code = core_default.highlight(lines.join("\n"), { language: "json" }).value;
2620
+ const json_contents = `<div>
2621
+ <p style="margin: 20px 5px 20px 25px; display: inline-block;">JSON code </p>
2622
+ <p style="display: inline-block; color: #696969; font-style:oblique;"> (contents of ${filename})</p>
2623
+ </div>
2624
+ <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;">
2625
+ <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}`}
2626
+ </code>
2627
+ </pre>`;
2628
+ return json_contents;
2629
+ }
2630
+ function showCitation(btns, pub, label) {
2631
+ btns.push({
2632
+ name: label,
2633
+ callback: async (rdiv) => {
2634
+ try {
2635
+ rdiv.append("div").style("margin-left", "5w").html(
2636
+ `<span style="display: inline-block;">${pub.title}. <em>${pub.journal}</em>, ${pub.year}.
2637
+ ${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>`
2638
+ );
2639
+ } catch (e) {
2640
+ alert("Error: " + e);
2641
+ }
2642
+ }
2643
+ });
2644
+ }
2645
+ function makeDataPreviewDiv(content, contLength, div, filename, message) {
2646
+ div.append("div").html(`
2647
+ ${message ? `<p style="display:block;">${message}<p>` : ""}
2648
+ <p style="display: inline-block;">Data preview <span style="color: #696969; font-style:oblique;">
2649
+ ${contLength > 10 ? `(first ${content.length} rows of ${filename})</span></p>` : `(content of ${filename})</span></p>`}
2650
+ `);
2651
+ 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");
2652
+ content.forEach((c) => {
2653
+ bedjContent_div.append("code").html(c);
2654
+ });
2655
+ }
2656
+ async function showViewData(btns, data, genome) {
2657
+ btns.push({
2658
+ name: "View Data",
2659
+ callback: async (rdiv) => {
2660
+ try {
2661
+ for (const file of data) {
2662
+ const res = await dofetch3("cardsjson", {
2663
+ body: { datafile: file.file, genome, tabixCoord: file.tabixQueryCoord }
2664
+ });
2665
+ if (res.error) {
2666
+ console.error(`Error: ${res.error}`);
2667
+ rdiv.text(`Error retrieving example data: ${res.error}`);
2668
+ return;
2669
+ }
2670
+ const returnedContent = res.file;
2671
+ const contLength = returnedContent.length;
2672
+ const content = returnedContent.slice(0, 10);
2673
+ const splitpath = file.file.split("/");
2674
+ const filename = splitpath[splitpath.length - 1];
2675
+ makeDataPreviewDiv(content, contLength, rdiv, filename, file.message);
2676
+ }
2677
+ } catch (e) {
2678
+ alert("Error: " + e);
2679
+ }
2680
+ }
2681
+ });
2682
+ }
2683
+ async function openDatasetButtonSandbox(elem, pageArgs, res, sandboxDiv) {
2684
+ if (elem.sandboxHtml) {
2685
+ const renderHtml = await res.text();
2686
+ return sandboxDiv.body.append("div").style("line-height", "1.5em").style("padding", "1.5em 1.5em 2em 1.5em").html(renderHtml);
2687
+ }
2688
+ const genome = pageArgs?.fromApp ? pageArgs.genomes[res.button.availableGenomes[0]] : pageArgs.app.opts.genomes[res.button.availableGenomes[0]];
2689
+ let genomes;
2690
+ if (res.button.runargs.host) {
2691
+ genomes = await getGenomes(res.button.runargs.host);
2692
+ } else genomes = pageArgs?.fromApp ? pageArgs.genomes : pageArgs.app.opts.genomes;
2693
+ const par = {
2694
+ // First genome in .availableGenomes is the default
2695
+ availableGenomes: res.button.availableGenomes,
2696
+ genome,
2697
+ intro: res.button.intro,
2698
+ name: res.button.name,
2699
+ runargs: res.button.runargs,
2700
+ searchBar: res.button.searchBar,
2701
+ dsURLparam: res.button.dsURLparam,
2702
+ citation: res.citation_id
2703
+ };
2704
+ const mainDiv = sandboxDiv.body.append("div").style("padding", "1em").style("border-bottom", "1px solid #d0e3ff");
2705
+ if (par.citation) {
2706
+ const buttonsDiv = mainDiv.append("div").style("margin-bottom", "20px");
2707
+ const buttonsContentDiv = mainDiv.append("div");
2708
+ await addArrowBtns(par, "main", buttonsDiv, buttonsContentDiv, pageArgs);
2709
+ }
2710
+ if (par.intro) {
2711
+ mainDiv.append("div").style("line-height", "1.5em").style("padding", "0.5em 0.5em 1em 0.5em").html(par.intro);
2712
+ }
2713
+ if (par.searchBar == "none") {
2714
+ const originalURL = sessionStorage.getItem("hostURL");
2715
+ const runppArg = {
2716
+ holder: sandboxDiv.body.append("div").style("margin", "20px").style("overflow-x", "auto").node(),
2717
+ host: par.runargs.host || originalURL
2718
+ };
2719
+ const callpp = JSON.parse(JSON.stringify(par.runargs));
2720
+ await runproteinpaint(Object.assign(runppArg, callpp));
2721
+ if (originalURL != sessionStorage.getItem("hostURL")) sessionStorage.setItem("hostURL", originalURL);
2722
+ return;
2723
+ }
2724
+ if (par.availableGenomes.length > 1) addDatasetGenomeBtns(mainDiv, genomes);
2725
+ else {
2726
+ mainDiv.append("div").style("display", "inline-block").style("margin-left", "20px").style("color", "rgb(117, 115, 115)").text(par.availableGenomes[0]);
2727
+ }
2728
+ const searchBarDiv = mainDiv.append("div").style("display", "inline-block").style("padding", "0.5em");
2729
+ const allResultsDiv = sandboxDiv.body.append("div").style("max-width", "90vw");
2730
+ const coords = addGeneSearchbox({
2731
+ genome: par.genome,
2732
+ tip: new Menu({ padding: "" }),
2733
+ row: searchBarDiv,
2734
+ searchOnly: par.searchBar == "gene" ? "gene" : "",
2735
+ focusOff: true,
2736
+ callback: async (div) => {
2737
+ const resultDiv = allResultsDiv.insert("div", ":first-child").style("max-width", "90vw").style("margin", "1vw");
2738
+ resultDiv.append("div").style("display", "inline-block").style("cursor", "default").style("margin", "0px").style("font-size", "1.5em").html("&times;").on("click", () => {
2739
+ resultDiv.selectAll("*").remove();
2740
+ });
2741
+ makeURLbutton(resultDiv, coords, par);
2742
+ const runppArg = {
2743
+ holder: resultDiv.append("div").style("margin", "20px").node(),
2744
+ host: sessionStorage.getItem("hostURL"),
2745
+ genome: par.genome.name
2746
+ };
2747
+ par.runargs.block == true ? (runppArg.position = `${coords.chr}:${coords.start}-${coords.stop}`) && (runppArg.nativetracks = "Refgene") : runppArg.gene = coords.geneSymbol;
2748
+ const callpp = JSON.parse(JSON.stringify(par.runargs));
2749
+ runproteinpaint(Object.assign(runppArg, callpp));
2750
+ }
2751
+ });
2752
+ function addDatasetGenomeBtns(div, genomes2) {
2753
+ div.append("div").style("display", "inline-block").style("padding", "10px 10px 0px 20px");
2754
+ const btns = [];
2755
+ par.availableGenomes.forEach((genome2) => {
2756
+ btns.push({
2757
+ label: genome2,
2758
+ callback: (event, tab) => {
2759
+ par.genome = genomes2[genome2];
2760
+ }
2761
+ });
2762
+ });
2763
+ new Tabs({ holder: div, tabs: btns, noContent: true }).main();
2764
+ }
2765
+ }
2766
+ function makeURLbutton(div, coords, par) {
2767
+ const URLbtn = makeButton({ div, text: "Run Result from URL" });
2768
+ const blockOn = par.runargs.block == true ? `position=${coords.chr}:${coords.start}-${coords.stop}` : `gene=${coords.geneSymbol}`;
2769
+ URLbtn.on("click", (event) => {
2770
+ event.stopPropagation();
2771
+ const hostURL = getHostURL();
2772
+ window.open(`${hostURL}/?genome=${par.genome.name}&${blockOn}&${par.dsURLparam}`, "_blank");
2773
+ });
2774
+ }
2775
+ function getHostURL() {
2776
+ const hostURL = sessionStorage.getItem("hostURL");
2777
+ if (hostURL.startsWith("http://localhost") || hostURL.startsWith("https://pp")) {
2778
+ return hostURL;
2779
+ } else return "https://proteinpaint.stjude.org";
2780
+ }
2781
+ async function getGenomes(host) {
2782
+ const genomeURL = `${host}/genomes?embedder=${sessionStorage.getItem("hostURL").replace(/^https?:\/\//, "")}`;
2783
+ try {
2784
+ const response = await fetch(genomeURL);
2785
+ if (!response.ok) throw new Error(`HTTP Response error for genomes url ${response.status}`);
2786
+ const data = await response.json();
2787
+ return data;
2788
+ } catch (e) {
2789
+ console.error(`Error fetching genomes: ${e} from ${genomeURL}`);
2790
+ return null;
2791
+ }
2792
+ }
2793
+
2794
+ export {
2795
+ isFeatureEnabled,
2796
+ makeButton,
2797
+ openSandbox
2798
+ };
2799
+ //# sourceMappingURL=chunk-G5BQJGRA.js.map