@sjcrh/proteinpaint-client 2.224.2 → 2.226.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 (976) hide show
  1. package/dist/2dmaf-CSBPMYHO.js +1362 -0
  2. package/dist/AggMatrixInput-2HST4LLJ.js +402 -0
  3. package/dist/AggregateMatrix-UPOAX44L.js +37 -0
  4. package/dist/AppHeader-H5QBVKUS.js +826 -0
  5. package/dist/BoxPlot-JTBQA6PL.js +1247 -0
  6. package/dist/CorrelationVolcano-AWBPVDMT.js +613 -0
  7. package/dist/Cuminc-3BXJVWIH.js +1217 -0
  8. package/dist/DE-237VV46D.js +85 -0
  9. package/dist/DEinput-W443UW5T.js +479 -0
  10. package/dist/DM-TIW623IR.js +86 -0
  11. package/dist/DifferentialAnalysis-PHUA2GPK.js +236 -0
  12. package/dist/Disco-WHV52SCI.js +3445 -0
  13. package/dist/Disco-WHV52SCI.js.map +7 -0
  14. package/dist/Disco.UI-UDUXNCZX.js +239 -0
  15. package/dist/DmrPlot-FZCD6FTX.js +366 -0
  16. package/dist/DmrPlot-FZCD6FTX.js.map +7 -0
  17. package/dist/GB-6UW5LOUV.js +1388 -0
  18. package/dist/GSEA-3CNHMK6M.js +870 -0
  19. package/dist/GeneExpInput-ZOVP7BFY.js +38 -0
  20. package/dist/Geomap-JREOIESM.js +80 -0
  21. package/dist/HicApp-RKAMIUXQ.js +2240 -0
  22. package/dist/IDCViewer-KXV4FU3V.js +10810 -0
  23. package/dist/NumBinaryEditor-FNVYUK2J.js +274 -0
  24. package/dist/NumBinaryEditor.unit.spec-PWR23U3J.js +308 -0
  25. package/dist/NumContEditor-YLBJW64K.js +100 -0
  26. package/dist/NumContEditor.unit.spec-6JWBCPFY.js +160 -0
  27. package/dist/NumCustomBinEditor-42AFCXRN.js +29 -0
  28. package/dist/NumCustomBinEditor.unit.spec-AFBTF2CL.js +393 -0
  29. package/dist/NumDiscreteEditor-FJIBZTBP.js +165 -0
  30. package/dist/NumDiscreteEditor.unit.spec-MC4INDCB.js +229 -0
  31. package/dist/NumRegularBinEditor-2WRE72TL.js +29 -0
  32. package/dist/NumRegularBinEditor.unit.spec-L3S6NRCM.js +274 -0
  33. package/dist/NumSplineEditor-TVMVAN7I.js +205 -0
  34. package/dist/NumSplineEditor.unit.spec-GEL36GZZ.js +220 -0
  35. package/dist/NumericDensity-BNFAVOFO.js +29 -0
  36. package/dist/NumericDensity.unit.spec-XBYUFBTQ.js +414 -0
  37. package/dist/NumericHandler-4VFFJNX6.js +30 -0
  38. package/dist/NumericHandler.unit.spec-76T2IVRS.js +225 -0
  39. package/dist/ProteomeInput-M5UIO73Q.js +610 -0
  40. package/dist/Regression-5LB5TLA6.js +1412 -0
  41. package/dist/RunChart2-HIFXOEKZ.js +744 -0
  42. package/dist/SC-SMMW5MJG.js +1290 -0
  43. package/dist/Violin-COAFYZOV.js +1105 -0
  44. package/dist/Violin-COAFYZOV.js.map +7 -0
  45. package/dist/Volcano-62II76B4.js +2748 -0
  46. package/dist/Volcano-62II76B4.js.map +7 -0
  47. package/dist/Wsi-OYW2L7FR.js +637 -0
  48. package/dist/aboutSunburst-3FYJGR6B.js +93 -0
  49. package/dist/adSandbox-4VHYWBQC.js +29 -0
  50. package/dist/animatedBubbleChart-QCCIC5IT.js +542 -0
  51. package/dist/app-IF7YPCGZ.js +28 -0
  52. package/dist/app-JZ43TSJP.js +38 -0
  53. package/dist/app.js +14 -14
  54. package/dist/bam-2VPZGSW3.js +872 -0
  55. package/dist/barchart-VYTWYYGG.js +38 -0
  56. package/dist/barchart2-XC7J4VEO.js +305 -0
  57. package/dist/block-YGQFUK5L.js +6203 -0
  58. package/dist/block.init-BVP3YZHQ.js +29 -0
  59. package/dist/block.mds.expressionrank-RKDDKY4J.js +350 -0
  60. package/dist/block.mds.geneboxplot-3FZ3EZZ6.js +819 -0
  61. package/dist/block.mds.junction-MCOG37RA.js +1534 -0
  62. package/dist/block.mds.svcnv-IEOR5IQZ.js +6325 -0
  63. package/dist/block.svg-3XHRHYCV.js +155 -0
  64. package/dist/block.tk.aicheck-TMDUGNZX.js +274 -0
  65. package/dist/block.tk.bam-73KW4QEJ.js +1906 -0
  66. package/dist/block.tk.bigwig.ui-E5W6R7DQ.js +202 -0
  67. package/dist/block.tk.hicstraw-BNNE6ZMW.js +814 -0
  68. package/dist/block.tk.junction-DMPRZRNY.js +2353 -0
  69. package/dist/block.tk.junction.textmatrixui-XS2E7MQL.js +190 -0
  70. package/dist/block.tk.ld-QD3XDLO4.js +90 -0
  71. package/dist/block.tk.menu-S6XI732E.js +1050 -0
  72. package/dist/block.tk.pgv-KH4TMR3A.js +934 -0
  73. package/dist/brainImaging-NK4JENN3.js +550 -0
  74. package/dist/brainRegions-YUEMTKYH.js +213 -0
  75. package/dist/bubbleHeatmap-LQCVS4WK.js +374 -0
  76. package/dist/cellTypeBubbleHeatmap-DFRSPWAY.js +274 -0
  77. package/dist/chunk-2N345NXD.js +5790 -0
  78. package/dist/chunk-2N345NXD.js.map +7 -0
  79. package/dist/chunk-37ZEGLVY.js +267 -0
  80. package/dist/chunk-37ZEGLVY.js.map +7 -0
  81. package/dist/chunk-3RPX4ZVV.js +2334 -0
  82. package/dist/chunk-4LK5YFHF.js +102 -0
  83. package/dist/chunk-4WFG5Y3A.js +2095 -0
  84. package/dist/chunk-4WFG5Y3A.js.map +7 -0
  85. package/dist/chunk-4WFXCUT4.js +141 -0
  86. package/dist/chunk-5LY2ASQX.js +305 -0
  87. package/dist/chunk-6PVVV3UW.js +37 -0
  88. package/dist/chunk-6V7ITU5F.js +2349 -0
  89. package/dist/chunk-7UK7CU4F.js +398 -0
  90. package/dist/chunk-AAQDXVQT.js +134 -0
  91. package/dist/chunk-ADJBQCFM.js +243 -0
  92. package/dist/chunk-ATIITEOR.js +692 -0
  93. package/dist/chunk-BWVJAFEQ.js +35 -0
  94. package/dist/chunk-CDCNBN6G.js +50 -0
  95. package/dist/chunk-CGSBIFFO.js +1339 -0
  96. package/dist/chunk-DOC3HBOV.js +119 -0
  97. package/dist/chunk-DPWSIN62.js +26787 -0
  98. package/dist/chunk-DPWSIN62.js.map +7 -0
  99. package/dist/chunk-EARMOT6Q.js +176 -0
  100. package/dist/chunk-ECCXTB5S.js +562 -0
  101. package/dist/chunk-ECTOEM7X.js +96 -0
  102. package/dist/chunk-ECTOEM7X.js.map +7 -0
  103. package/dist/chunk-EKIWZUEO.js +54 -0
  104. package/dist/chunk-FALP6GXG.js +96 -0
  105. package/dist/chunk-FIWVGOSE.js +54 -0
  106. package/dist/chunk-FRD6LQF7.js +103 -0
  107. package/dist/chunk-FRPYXYYQ.js +263 -0
  108. package/dist/chunk-FT5HOBHJ.js +31 -0
  109. package/dist/chunk-FV2GLMSI.js +397 -0
  110. package/dist/chunk-G6SP5IQT.js +626 -0
  111. package/dist/chunk-GZL6YFZJ.js +30 -0
  112. package/dist/chunk-H353EVLK.js +240 -0
  113. package/dist/chunk-HKR5R5YR.js +466 -0
  114. package/dist/chunk-HULTLO4D.js +217 -0
  115. package/dist/chunk-IIN4CG67.js +56 -0
  116. package/dist/chunk-ISWFHYEZ.js +123 -0
  117. package/dist/chunk-JBUTLI3V.js +1253 -0
  118. package/dist/chunk-JCNZJKLK.js +55 -0
  119. package/dist/chunk-JEVDRC64.js +56 -0
  120. package/dist/chunk-KBZAB2H2.js +340 -0
  121. package/dist/chunk-KDKJLITX.js +54 -0
  122. package/dist/chunk-KNFJN6CM.js +299 -0
  123. package/dist/chunk-KSYGLBZ4.js +4389 -0
  124. package/dist/chunk-KUOXZIH4.js +348 -0
  125. package/dist/chunk-KZ54E2FU.js +184 -0
  126. package/dist/chunk-L7FMBWWK.js +6375 -0
  127. package/dist/chunk-LMONIWPI.js +30 -0
  128. package/dist/chunk-LTY7WOAT.js +281 -0
  129. package/dist/chunk-LVFWXUUX.js +34 -0
  130. package/dist/chunk-LVFWXUUX.js.map +7 -0
  131. package/dist/chunk-LYDN734A.js +194 -0
  132. package/dist/chunk-LYMYO6TY.js +652 -0
  133. package/dist/chunk-MRZUZDRA.js +444 -0
  134. package/dist/chunk-NGBI4FST.js +195 -0
  135. package/dist/chunk-OKM4ACTA.js +170 -0
  136. package/dist/chunk-OUDHHMZU.js +159 -0
  137. package/dist/chunk-OVXHMJJJ.js +59 -0
  138. package/dist/chunk-OYXRYWGU.js +2932 -0
  139. package/dist/chunk-P2HMCEMM.js +5254 -0
  140. package/dist/chunk-P2HMCEMM.js.map +7 -0
  141. package/dist/chunk-P5FHYGJK.js +848 -0
  142. package/dist/chunk-P7QDNXSH.js +276 -0
  143. package/dist/chunk-PI2MCZXG.js +140 -0
  144. package/dist/chunk-Q7GK35TB.js +257 -0
  145. package/dist/chunk-QXRM5NMW.js +274 -0
  146. package/dist/chunk-RI3GAHQE.js +255 -0
  147. package/dist/chunk-RI3GAHQE.js.map +7 -0
  148. package/dist/chunk-SH7SL4I5.js +1219 -0
  149. package/dist/chunk-SJHWZZ4M.js +70 -0
  150. package/dist/chunk-T2W4JHWJ.js +472 -0
  151. package/dist/chunk-T2W4JHWJ.js.map +7 -0
  152. package/dist/chunk-TDBS3UFZ.js +379 -0
  153. package/dist/chunk-THHYPA5K.js +48 -0
  154. package/dist/chunk-THHYPA5K.js.map +7 -0
  155. package/dist/chunk-U2OB3S3M.js +14 -0
  156. package/dist/chunk-UA2ADBTO.js +42 -0
  157. package/dist/chunk-USGUVW5Q.js +182 -0
  158. package/dist/chunk-UWVDD4C2.js +480 -0
  159. package/dist/chunk-W2SBSEKT.js +550 -0
  160. package/dist/chunk-WUCIHN7D.js +382 -0
  161. package/dist/chunk-XAHZYGKW.js +468 -0
  162. package/dist/chunk-XKWLP433.js +328 -0
  163. package/dist/chunk-XKWLP433.js.map +7 -0
  164. package/dist/chunk-YWB2QHV2.js +2799 -0
  165. package/dist/chunk-Z6M77JDG.js +2008 -0
  166. package/dist/chunk-Z7RFFJXU.js +516 -0
  167. package/dist/chunk-ZG7EBTHK.js +203 -0
  168. package/dist/chunk-ZJLJHQWM.js +418 -0
  169. package/dist/chunk-ZKU6RST3.js +2685 -0
  170. package/dist/chunk-ZLWEUYPT.js +296 -0
  171. package/dist/cohort-X327AG3O.js +66 -0
  172. package/dist/cohortSunburst-GNWIVDNA.js +402 -0
  173. package/dist/condition-3M4L2HIM.js +323 -0
  174. package/dist/controls-OKNHZJOU.js +30 -0
  175. package/dist/controls.config-FUKM5LEP.js +30 -0
  176. package/dist/correlation-PC4MXCFM.js +91 -0
  177. package/dist/customdata.inputui-HCRTX56R.js +280 -0
  178. package/dist/dataDownload-HJO7UW7S.js +326 -0
  179. package/dist/databrowser.ui-EY3H6B4S.js +424 -0
  180. package/dist/dictionary-L6CTMFY7.js +109 -0
  181. package/dist/dnaMethylation-FEB5GGXK.js +29 -0
  182. package/dist/dnaMethylation.integration.spec-4DC6TJNZ.js +194 -0
  183. package/dist/dnaMethylation.unit.spec-REOHQOBC.js +95 -0
  184. package/dist/dnaMethylation.unit.spec-REOHQOBC.js.map +7 -0
  185. package/dist/dofetch-YFGOKCKV.js +49 -0
  186. package/dist/e2pca-QSAVTCPL.js +340 -0
  187. package/dist/ep-LAFLKVSW.js +1247 -0
  188. package/dist/expclust.gdc.spec-OM4J6WBL.js +298 -0
  189. package/dist/facet-WHTV2VIX.js +556 -0
  190. package/dist/gb-DLXWWBB6.js +77 -0
  191. package/dist/geneExpClustering-KB2MB2VM.js +240 -0
  192. package/dist/geneExpression-3D7PDZ2I.js +309 -0
  193. package/dist/geneExpression-3RSRGYGQ.js +29 -0
  194. package/dist/geneExpression.unit.spec-EINAWLPR.js +150 -0
  195. package/dist/geneExpression.unit.spec-EINAWLPR.js.map +7 -0
  196. package/dist/geneORA-J4KVSZT3.js +269 -0
  197. package/dist/geneRanking-HKLJ7CN6.js +544 -0
  198. package/dist/geneVariant-3BRGRFPT.js +32 -0
  199. package/dist/geneVariant-VI5DGDAB.js +289 -0
  200. package/dist/geneVariant.integration.spec-3IBX4NNE.js +672 -0
  201. package/dist/genefusion.ui-OESQL7TW.js +299 -0
  202. package/dist/geneset-3BMV3KP4.js +199 -0
  203. package/dist/genomeBrowser.spec-I3WKAITC.js +272 -0
  204. package/dist/grin2-4BBCH3H5.js +66 -0
  205. package/dist/grin2-5L2U32LY.js +945 -0
  206. package/dist/hierCluster-KM56NTN6.js +51 -0
  207. package/dist/hierCluster-XCJF5IQ6.js +55 -0
  208. package/dist/hierCluster.config-E2EYOXX6.js +32 -0
  209. package/dist/hierCluster.integration.spec-IIEJ2YEI.js +479 -0
  210. package/dist/hierCluster.interactivity-AJFEJTGX.js +45 -0
  211. package/dist/hierCluster.renderers-XKI344FM.js +18 -0
  212. package/dist/imagePlot-3B3BXI6I.js +152 -0
  213. package/dist/importPlot-JDVH7Q2Z.js +8 -0
  214. package/dist/isoformExpression-UFHY5LB2.js +31 -0
  215. package/dist/isoformExpression.unit.spec-U6GDCNQR.js +233 -0
  216. package/dist/junction-W2STW5WW.js +32 -0
  217. package/dist/junction.customTerm-LQYKCZX4.js +15 -0
  218. package/dist/junction.unit.spec-R4DIBFLB.js +178 -0
  219. package/dist/launch.adhoc-KN7HFHJH.js +33 -0
  220. package/dist/leftlabel.sample-CK2EK7J6.js +254 -0
  221. package/dist/leftlabel.sample-CK2EK7J6.js.map +7 -0
  222. package/dist/lollipop-EKIGAAK6.js +162 -0
  223. package/dist/maf-MK2MM7J4.js +451 -0
  224. package/dist/maftimeline-7RTMXWFA.js +583 -0
  225. package/dist/matrix-UM2EZODJ.js +50 -0
  226. package/dist/matrix-YBL4FZYJ.js +55 -0
  227. package/dist/matrix.cells-45ZFADK5.js +25 -0
  228. package/dist/matrix.config-QTBIRXKU.js +33 -0
  229. package/dist/matrix.data-WAMOLSKW.js +22 -0
  230. package/dist/matrix.groups-RXFXZABD.js +25 -0
  231. package/dist/matrix.integration.spec-JZDZRVOK.js +3156 -0
  232. package/dist/matrix.interactivity-P4VYGTB2.js +33 -0
  233. package/dist/matrix.layout-WWPRXXHX.js +35 -0
  234. package/dist/matrix.legend-4MCMVVKO.js +19 -0
  235. package/dist/matrix.renderers-JQTUODDS.js +30 -0
  236. package/dist/matrix.serieses-3IDRKSGO.js +18 -0
  237. package/dist/matrix.sort-EAWOB56R.js +25 -0
  238. package/dist/matrix.sort.unit.spec-FOWLULHA.js +464 -0
  239. package/dist/matrix.sorterUi-Z4JDY7VW.js +15 -0
  240. package/dist/matrix.sorterUi.unit.spec-U5CQDTMX.js +334 -0
  241. package/dist/matrix.unit.spec-VTLD4EOZ.js +146 -0
  242. package/dist/mavb-JIIXJHBK.js +726 -0
  243. package/dist/mds.samplescatterplot-PTWA2V6E.js +1545 -0
  244. package/dist/mds.survivalplot-XVZ66GP5.js +472 -0
  245. package/dist/multivalue-2H7QX7MG.js +79 -0
  246. package/dist/numericDictTermCluster-EHCDRT6J.js +62 -0
  247. package/dist/oncomatrix-RZLZUC32.js +286 -0
  248. package/dist/oncomatrix.spec-Z5UQGTW2.js +439 -0
  249. package/dist/plot.2dvaf-IRBZBJ6B.js +368 -0
  250. package/dist/plot.app-I23IAZ3Z.js +32 -0
  251. package/dist/plot.barplot-PYLRAZB7.js +93 -0
  252. package/dist/plot.boxplot-VBWU7DUG.js +142 -0
  253. package/dist/plot.brainImaging-HDJMEMTK.js +51 -0
  254. package/dist/plot.disco-5BVG3WMT.js +100 -0
  255. package/dist/plot.disco-5BVG3WMT.js.map +7 -0
  256. package/dist/plot.ssgq-S3BKXJMW.js +130 -0
  257. package/dist/plot.vaf2cov-VD7DU2XR.js +249 -0
  258. package/dist/polar2-PYLEVG7E.js +228 -0
  259. package/dist/profileForms-CI2YYD3Y.js +937 -0
  260. package/dist/profilePlot-UCC4ZVHQ.js +45 -0
  261. package/dist/proteinView-FBY6TK3S.js +1346 -0
  262. package/dist/proteomeCohortCompare-2VUSLC6I.js +866 -0
  263. package/dist/proteomeCohortCompare-2VUSLC6I.js.map +7 -0
  264. package/dist/pseudbulk.unit.spec-VPZWNTIA.js +82 -0
  265. package/dist/pseudobulk-RUXGZ7OY.js +31 -0
  266. package/dist/qualitative-3AVR4GRX.js +34 -0
  267. package/dist/qualitative-5QNBKDOZ.js +241 -0
  268. package/dist/radar2-AOYMS54Y.js +323 -0
  269. package/dist/radarFacility2-PP2MAXIP.js +331 -0
  270. package/dist/rememberedGvQ.unit.spec-Q3UZJPE2.js +210 -0
  271. package/dist/render-ASLVKYEX.js +29 -0
  272. package/dist/report-UVYKDMQC.js +213 -0
  273. package/dist/sampleView-6UHR7FSR.js +39 -0
  274. package/dist/samplelst-ABC2CCNN.js +114 -0
  275. package/dist/samplematrix-36UCHZLC.js +2188 -0
  276. package/dist/sc-XLSAM725.js +77 -0
  277. package/dist/scatter-ADOBAOW2.js +84 -0
  278. package/dist/scatter-ZNVLI627.js +919 -0
  279. package/dist/selectGenomeWithTklst-DPDBDYTR.js +125 -0
  280. package/dist/singleCellCellType-STVPYZD4.js +29 -0
  281. package/dist/singleCellCellType.unit.spec-ZLY37AXL.js +150 -0
  282. package/dist/singleCellGeneExpression-PCGLU35S.js +29 -0
  283. package/dist/singleCellGeneExpression.unit.spec-PSLKK362.js +144 -0
  284. package/dist/singleCellNumericValue-SR3SJEOB.js +29 -0
  285. package/dist/singleCellNumericValue.unit.spec-PXVXJ4HJ.js +412 -0
  286. package/dist/singleCellPlot-JXB7M6OH.js +44 -0
  287. package/dist/singlecell-EDSX56QO.js +1562 -0
  288. package/dist/singlecell-PH55NFRX.js +77 -0
  289. package/dist/snp-3VEYBTAQ.js +29 -0
  290. package/dist/snp.unit.spec-V7OB44US.js +167 -0
  291. package/dist/snplocus-HX67RBT5.js +200 -0
  292. package/dist/snplst-H5YXCY33.js +36 -0
  293. package/dist/spliceevent.a53ss.diagram-DBDEEHSK.js +142 -0
  294. package/dist/spliceevent.exonskip.diagram-EYEL6BY6.js +274 -0
  295. package/dist/spliceevent.noeventdiagram-64OEXK7U.js +451 -0
  296. package/dist/ssGSEA-3YWQH6KM.js +29 -0
  297. package/dist/ssGSEA.unit.spec-23V2IXP5.js +79 -0
  298. package/dist/stattable-GPSBCNYC.js +112 -0
  299. package/dist/studyCatalog-W5PATRNY.js +457 -0
  300. package/dist/summarizeCnvGeneexp-YGI23QH5.js +154 -0
  301. package/dist/summarizeGeneexpSurvival-KQ6OLWYR.js +101 -0
  302. package/dist/summarizeMutationCnv-XDHBNEPU.js +155 -0
  303. package/dist/summarizeMutationDiagnosis-VKIJRJ2Q.js +31 -0
  304. package/dist/summarizeMutationSurvival-57YKJGLE.js +95 -0
  305. package/dist/summary-4WQOVIUF.js +40 -0
  306. package/dist/summary.integration.spec-FRNWBU7F.js +405 -0
  307. package/dist/summaryInput-X7DS2YA7.js +238 -0
  308. package/dist/sunburst-3OEAQA3O.js +34 -0
  309. package/dist/sunburst-MSGTXYMM.js +274 -0
  310. package/dist/survival-5KC5CNZU.js +1248 -0
  311. package/dist/survival-QXDS6N46.js +49 -0
  312. package/dist/survival.integration.spec-PKENHLTZ.js +609 -0
  313. package/dist/svgraph-VJLB7BBN.js +1377 -0
  314. package/dist/svmr-6BDEZAS6.js +3834 -0
  315. package/dist/swimmer-R3DN7N36.js +993 -0
  316. package/dist/table-YF5VORU6.js +192 -0
  317. package/dist/termCollection-3KGLZFDW.js +29 -0
  318. package/dist/termCollection-KSHVOPS5.js +247 -0
  319. package/dist/termCollection.unit.spec-HTBDG5PL.js +295 -0
  320. package/dist/termCollectionFractionSelection-MK4NKWUX.js +38 -0
  321. package/dist/termCollectionFractionSelection.unit.spec-AMF32FDN.js +184 -0
  322. package/dist/tk-FDHBAKXQ.js +1198 -0
  323. package/dist/tk-FDHBAKXQ.js.map +7 -0
  324. package/dist/tk-Z54DOECH.js +38 -0
  325. package/dist/tp.ui-M4TZVT53.js +1453 -0
  326. package/dist/tvs.categorical-HY3BWCZR.js +28 -0
  327. package/dist/tvs.condition-Y36TRIX4.js +160 -0
  328. package/dist/tvs.dt-XKVJZP7Y.js +34 -0
  329. package/dist/tvs.dtcnv.categorical-OMRZR4Y7.js +31 -0
  330. package/dist/tvs.dtcnv.continuous-AGYOBI5K.js +72 -0
  331. package/dist/tvs.dtfusion-2JX5Y2IH.js +31 -0
  332. package/dist/tvs.dtitd-SDSLBBWC.js +31 -0
  333. package/dist/tvs.dtsnvindel-LI7K464K.js +31 -0
  334. package/dist/tvs.dtsv-VRCLX7QY.js +31 -0
  335. package/dist/tvs.multivalue-4OTY6J2S.js +84 -0
  336. package/dist/tvs.numeric-CDATYOR2.js +32 -0
  337. package/dist/tvs.samplelst-76JOJG2M.js +95 -0
  338. package/dist/tvs.survival-WTFJOKIZ.js +110 -0
  339. package/dist/tvs.termCollection-QQXAS7PE.js +118 -0
  340. package/dist/vocabulary-6ACAEFTL.js +32 -0
  341. package/dist/wsi.direct-OS32TQRM.js +11515 -0
  342. package/package.json +3 -3
  343. package/dist/2dmaf-OWA6REJ5.js +0 -1362
  344. package/dist/AggMatrixInput-5GC33U5A.js +0 -402
  345. package/dist/AggregateMatrix-CMJFO53B.js +0 -37
  346. package/dist/AppHeader-KJCXF35P.js +0 -826
  347. package/dist/BoxPlot-NZTO6CLZ.js +0 -1247
  348. package/dist/CorrelationVolcano-GHTPFM2V.js +0 -613
  349. package/dist/Cuminc-HHBYFFFM.js +0 -1217
  350. package/dist/DE-VVKIMVXD.js +0 -85
  351. package/dist/DEinput-F7HSM2SO.js +0 -479
  352. package/dist/DM-UBCIWZEY.js +0 -86
  353. package/dist/DifferentialAnalysis-UUXXMOQS.js +0 -236
  354. package/dist/Disco-NHXU7LG7.js +0 -3384
  355. package/dist/Disco-NHXU7LG7.js.map +0 -7
  356. package/dist/Disco.UI-GSSSK4YJ.js +0 -239
  357. package/dist/DmrPlot-QFSU62PY.js +0 -344
  358. package/dist/DmrPlot-QFSU62PY.js.map +0 -7
  359. package/dist/GB-CIQGJBJP.js +0 -1388
  360. package/dist/GSEA-3GVFEJTX.js +0 -870
  361. package/dist/GeneExpInput-CFU3Q7FM.js +0 -38
  362. package/dist/Geomap-NMVFA77Q.js +0 -80
  363. package/dist/HicApp-4FCGUUJD.js +0 -2240
  364. package/dist/IDCViewer-WFB6AXHD.js +0 -10810
  365. package/dist/NumBinaryEditor-4WUDJRSU.js +0 -274
  366. package/dist/NumBinaryEditor.unit.spec-MV53GTGQ.js +0 -308
  367. package/dist/NumContEditor-U4R6HPDM.js +0 -100
  368. package/dist/NumContEditor.unit.spec-J4ANPBSF.js +0 -160
  369. package/dist/NumCustomBinEditor-QRGDNFP4.js +0 -29
  370. package/dist/NumCustomBinEditor.unit.spec-PPF233FW.js +0 -393
  371. package/dist/NumDiscreteEditor-LNK4KHSL.js +0 -165
  372. package/dist/NumDiscreteEditor.unit.spec-QY6O62JU.js +0 -229
  373. package/dist/NumRegularBinEditor-XTINNM5L.js +0 -29
  374. package/dist/NumRegularBinEditor.unit.spec-FSLARHOC.js +0 -274
  375. package/dist/NumSplineEditor-YSQTKBFA.js +0 -205
  376. package/dist/NumSplineEditor.unit.spec-QNITPY7R.js +0 -220
  377. package/dist/NumericDensity-J5WS74JZ.js +0 -29
  378. package/dist/NumericDensity.unit.spec-4WQWLSSJ.js +0 -414
  379. package/dist/NumericHandler-ZEWC25U2.js +0 -30
  380. package/dist/NumericHandler.unit.spec-A3G5FWGV.js +0 -225
  381. package/dist/ProteomeInput-7DXGQIOO.js +0 -610
  382. package/dist/Regression-VQ5MC6KW.js +0 -1412
  383. package/dist/RunChart2-B33CQUXH.js +0 -744
  384. package/dist/SC-LEVWXS4P.js +0 -1290
  385. package/dist/Violin-L43OHY63.js +0 -1105
  386. package/dist/Violin-L43OHY63.js.map +0 -7
  387. package/dist/Volcano-NTXVM3UR.js +0 -2657
  388. package/dist/Volcano-NTXVM3UR.js.map +0 -7
  389. package/dist/Wsi-VPF6RX3B.js +0 -637
  390. package/dist/aboutSunburst-NGH3V74S.js +0 -93
  391. package/dist/adSandbox-VOAL4P5A.js +0 -29
  392. package/dist/animatedBubbleChart-HKOGYPSS.js +0 -542
  393. package/dist/app-AZLUP2BA.js +0 -28
  394. package/dist/app-JJPKGBEV.js +0 -38
  395. package/dist/bam-GIZSH2MF.js +0 -872
  396. package/dist/barchart-CVTXLIIQ.js +0 -38
  397. package/dist/barchart2-XYC6WITL.js +0 -305
  398. package/dist/block-DXRSU62C.js +0 -6203
  399. package/dist/block.init-U4Y6ROG4.js +0 -29
  400. package/dist/block.mds.expressionrank-BB26LVTM.js +0 -350
  401. package/dist/block.mds.geneboxplot-VVKEU3SL.js +0 -819
  402. package/dist/block.mds.junction-XUZX6EAQ.js +0 -1534
  403. package/dist/block.mds.svcnv-WDSACPWG.js +0 -6325
  404. package/dist/block.svg-T5BA7VLS.js +0 -155
  405. package/dist/block.tk.aicheck-3VN2RDPD.js +0 -274
  406. package/dist/block.tk.bam-5XZ3N4Y7.js +0 -1906
  407. package/dist/block.tk.bigwig.ui-JODVOS4R.js +0 -202
  408. package/dist/block.tk.hicstraw-AFNWJ2YP.js +0 -814
  409. package/dist/block.tk.junction-T2G6XEVS.js +0 -2353
  410. package/dist/block.tk.junction.textmatrixui-FL5MZH7K.js +0 -190
  411. package/dist/block.tk.ld-JKBXDOB5.js +0 -90
  412. package/dist/block.tk.menu-2X4BN7BN.js +0 -1050
  413. package/dist/block.tk.pgv-ASUVEGQF.js +0 -934
  414. package/dist/brainImaging-27442GMQ.js +0 -550
  415. package/dist/brainRegions-3367RQCU.js +0 -213
  416. package/dist/bubbleHeatmap-IOVS6SHX.js +0 -374
  417. package/dist/cellTypeBubbleHeatmap-7XJP6B5W.js +0 -274
  418. package/dist/chunk-2CTAWHGB.js +0 -56
  419. package/dist/chunk-2ESAB2PP.js +0 -848
  420. package/dist/chunk-2GP3LH7J.js +0 -194
  421. package/dist/chunk-2UGYE6EJ.js +0 -54
  422. package/dist/chunk-3TJBSAIO.js +0 -170
  423. package/dist/chunk-46KQE4DV.js +0 -418
  424. package/dist/chunk-4ICGMPPE.js +0 -56
  425. package/dist/chunk-4RQTQDHF.js +0 -5214
  426. package/dist/chunk-4RQTQDHF.js.map +0 -7
  427. package/dist/chunk-5FD6NRGE.js +0 -472
  428. package/dist/chunk-5FD6NRGE.js.map +0 -7
  429. package/dist/chunk-5JBOGNSG.js +0 -159
  430. package/dist/chunk-5OWPH4IH.js +0 -626
  431. package/dist/chunk-63TCOVAK.js +0 -30
  432. package/dist/chunk-7ONTCJWB.js +0 -1219
  433. package/dist/chunk-7Q4KAFCS.js +0 -281
  434. package/dist/chunk-7UXV4IX5.js +0 -102
  435. package/dist/chunk-7ZCYC2DQ.js +0 -70
  436. package/dist/chunk-AQSZLUDV.js +0 -184
  437. package/dist/chunk-BBA5MAFS.js +0 -240
  438. package/dist/chunk-BNJC6OX5.js +0 -2102
  439. package/dist/chunk-BNJC6OX5.js.map +0 -7
  440. package/dist/chunk-BOQYGAYA.js +0 -119
  441. package/dist/chunk-C4YACFGH.js +0 -692
  442. package/dist/chunk-CKO54XWB.js +0 -54
  443. package/dist/chunk-COWLQ74R.js +0 -82
  444. package/dist/chunk-COWLQ74R.js.map +0 -7
  445. package/dist/chunk-CU434U4N.js +0 -35
  446. package/dist/chunk-CZOJUH3C.js +0 -30
  447. package/dist/chunk-D22DJFFZ.js +0 -254
  448. package/dist/chunk-D22DJFFZ.js.map +0 -7
  449. package/dist/chunk-D2YPS46O.js +0 -266
  450. package/dist/chunk-D2YPS46O.js.map +0 -7
  451. package/dist/chunk-DVSTBGZT.js +0 -182
  452. package/dist/chunk-EIO6DMIQ.js +0 -31
  453. package/dist/chunk-EM56Y4X6.js +0 -2685
  454. package/dist/chunk-F6CYUMSM.js +0 -37
  455. package/dist/chunk-FUTHP5J4.js +0 -274
  456. package/dist/chunk-G5GFCBJT.js +0 -217
  457. package/dist/chunk-GOL6A746.js +0 -96
  458. package/dist/chunk-GVLXSPTN.js +0 -141
  459. package/dist/chunk-HNU4RYI5.js +0 -203
  460. package/dist/chunk-HTIZFNBC.js +0 -4389
  461. package/dist/chunk-HUF5BTO6.js +0 -562
  462. package/dist/chunk-HWP3U2VY.js +0 -382
  463. package/dist/chunk-JEXS72M5.js +0 -550
  464. package/dist/chunk-JNIYPQWY.js +0 -176
  465. package/dist/chunk-K5RCZIZN.js +0 -2799
  466. package/dist/chunk-KA3KYNOP.js +0 -195
  467. package/dist/chunk-KGFH5VTH.js +0 -444
  468. package/dist/chunk-KTRDLHCP.js +0 -397
  469. package/dist/chunk-L6TGKNRA.js +0 -516
  470. package/dist/chunk-LN4KNFOQ.js +0 -55
  471. package/dist/chunk-M4ML4ACA.js +0 -134
  472. package/dist/chunk-MIDVLNN3.js +0 -123
  473. package/dist/chunk-MUVXIOXM.js +0 -276
  474. package/dist/chunk-N2RAPA7D.js +0 -42
  475. package/dist/chunk-N6AHRJAM.js +0 -1339
  476. package/dist/chunk-NB4UU4DH.js +0 -54
  477. package/dist/chunk-NGG4737W.js +0 -296
  478. package/dist/chunk-O4BDFBVK.js +0 -1253
  479. package/dist/chunk-OGU7IDV7.js +0 -102
  480. package/dist/chunk-OGU7IDV7.js.map +0 -7
  481. package/dist/chunk-OT2DMA2D.js +0 -652
  482. package/dist/chunk-OVO6NYUR.js +0 -480
  483. package/dist/chunk-OXRZSZKA.js +0 -2008
  484. package/dist/chunk-QMR3QMJG.js +0 -50
  485. package/dist/chunk-QUVGLTCF.js +0 -103
  486. package/dist/chunk-R2H22S4J.js +0 -5786
  487. package/dist/chunk-R2H22S4J.js.map +0 -7
  488. package/dist/chunk-RCLCEA55.js +0 -305
  489. package/dist/chunk-RCVA2RWU.js +0 -466
  490. package/dist/chunk-RSCSTOUN.js +0 -6375
  491. package/dist/chunk-SCXWXLMR.js +0 -237
  492. package/dist/chunk-SCXWXLMR.js.map +0 -7
  493. package/dist/chunk-SQUMXZXI.js +0 -257
  494. package/dist/chunk-T2DORAV4.js +0 -398
  495. package/dist/chunk-TBXJ2CUA.js +0 -14
  496. package/dist/chunk-TQLHKDNS.js +0 -140
  497. package/dist/chunk-TTSKLWP7.js +0 -2932
  498. package/dist/chunk-VQD6GZMU.js +0 -59
  499. package/dist/chunk-VZBRG6HQ.js +0 -263
  500. package/dist/chunk-WQHL6SR3.js +0 -468
  501. package/dist/chunk-X7JGAQ5N.js +0 -340
  502. package/dist/chunk-Z6ZFRHXK.js +0 -2334
  503. package/dist/chunk-ZCY72DDM.js +0 -379
  504. package/dist/chunk-ZHY7ZHWC.js +0 -243
  505. package/dist/chunk-ZIMAIUZD.js +0 -26744
  506. package/dist/chunk-ZIMAIUZD.js.map +0 -7
  507. package/dist/chunk-ZLQ6PAI6.js +0 -299
  508. package/dist/chunk-ZUG4EY4T.js +0 -348
  509. package/dist/chunk-ZUXXBQ7D.js +0 -2349
  510. package/dist/cohort-2DQOQ5AO.js +0 -66
  511. package/dist/cohortSunburst-W6XC7VD6.js +0 -402
  512. package/dist/condition-3A7I5UQA.js +0 -323
  513. package/dist/controls-G5WYBX4P.js +0 -30
  514. package/dist/controls.config-TAFGM2S2.js +0 -30
  515. package/dist/correlation-K4EOOQJU.js +0 -91
  516. package/dist/customdata.inputui-E7RRN3KY.js +0 -280
  517. package/dist/dataDownload-OXZGAE5R.js +0 -326
  518. package/dist/databrowser.ui-IPUF6LUC.js +0 -424
  519. package/dist/dictionary-MUNAUI43.js +0 -109
  520. package/dist/dnaMethylation-SOV4HBAX.js +0 -29
  521. package/dist/dnaMethylation.integration.spec-T4KKTMRL.js +0 -194
  522. package/dist/dofetch-2CR2TVWC.js +0 -49
  523. package/dist/e2pca-EIOJCV4O.js +0 -340
  524. package/dist/ep-5QX3CW6D.js +0 -1247
  525. package/dist/expclust.gdc.spec-TNHPZLYQ.js +0 -298
  526. package/dist/facet-I3OC4DK2.js +0 -556
  527. package/dist/gb-WPIUHR3O.js +0 -77
  528. package/dist/geneExpClustering-EYGZENSP.js +0 -240
  529. package/dist/geneExpression-54L3DH32.js +0 -309
  530. package/dist/geneExpression-6S6H2EVY.js +0 -29
  531. package/dist/geneExpression.unit.spec-VVI2MXIH.js +0 -151
  532. package/dist/geneExpression.unit.spec-VVI2MXIH.js.map +0 -7
  533. package/dist/geneORA-7M64LXZC.js +0 -269
  534. package/dist/geneRanking-676CAA3B.js +0 -544
  535. package/dist/geneVariant-4UPJE6MJ.js +0 -289
  536. package/dist/geneVariant-PFVPL22U.js +0 -32
  537. package/dist/geneVariant.integration.spec-EAJ4OSFQ.js +0 -672
  538. package/dist/genefusion.ui-LP4EJUTO.js +0 -299
  539. package/dist/geneset-ANDOMTPO.js +0 -199
  540. package/dist/genomeBrowser.spec-NUXOOL5N.js +0 -272
  541. package/dist/grin2-K4LRVCES.js +0 -66
  542. package/dist/grin2-YFCWJZFR.js +0 -945
  543. package/dist/hierCluster-POD3DRO4.js +0 -55
  544. package/dist/hierCluster-QA7HXKRD.js +0 -51
  545. package/dist/hierCluster.config-HQ3SVKCE.js +0 -32
  546. package/dist/hierCluster.integration.spec-MOYDWJL3.js +0 -479
  547. package/dist/hierCluster.interactivity-OZTNHXZQ.js +0 -45
  548. package/dist/hierCluster.renderers-46E37NL4.js +0 -18
  549. package/dist/imagePlot-HNAYBWY3.js +0 -152
  550. package/dist/importPlot-XTW46VF4.js +0 -8
  551. package/dist/isoformExpression-2TMTILKG.js +0 -31
  552. package/dist/isoformExpression.unit.spec-SIJWP7TH.js +0 -233
  553. package/dist/junction-AICKHNXX.js +0 -32
  554. package/dist/junction.customTerm-5STKYZ4B.js +0 -15
  555. package/dist/junction.unit.spec-EXFN4MLW.js +0 -178
  556. package/dist/launch.adhoc-PB6PGR7Q.js +0 -33
  557. package/dist/leftlabel.sample-ISUD4A7F.js +0 -253
  558. package/dist/leftlabel.sample-ISUD4A7F.js.map +0 -7
  559. package/dist/lollipop-5UXUAFYY.js +0 -162
  560. package/dist/maf-L6YD25JK.js +0 -451
  561. package/dist/maftimeline-63YZDGJ3.js +0 -583
  562. package/dist/matrix-OPEBHZCW.js +0 -55
  563. package/dist/matrix-TLMWPG7C.js +0 -50
  564. package/dist/matrix.cells-IELMNYC6.js +0 -25
  565. package/dist/matrix.config-J7SVFXLM.js +0 -33
  566. package/dist/matrix.data-DJTJCPO4.js +0 -22
  567. package/dist/matrix.groups-2REICNZK.js +0 -25
  568. package/dist/matrix.integration.spec-ZXU2OEFU.js +0 -3156
  569. package/dist/matrix.interactivity-SX3OR6OI.js +0 -33
  570. package/dist/matrix.layout-ZJ6X5RON.js +0 -35
  571. package/dist/matrix.legend-ZOP72TIO.js +0 -19
  572. package/dist/matrix.renderers-YUSROXKN.js +0 -30
  573. package/dist/matrix.serieses-UMAZNCMR.js +0 -18
  574. package/dist/matrix.sort-2JNIZHNL.js +0 -25
  575. package/dist/matrix.sort.unit.spec-SNB643Y6.js +0 -464
  576. package/dist/matrix.sorterUi-JXEIY6UL.js +0 -15
  577. package/dist/matrix.sorterUi.unit.spec-LDAT4R3H.js +0 -334
  578. package/dist/matrix.unit.spec-QBQIMDLD.js +0 -146
  579. package/dist/mavb-EQUF3VGG.js +0 -726
  580. package/dist/mds.samplescatterplot-73E45ZT7.js +0 -1545
  581. package/dist/mds.survivalplot-DL53IRVD.js +0 -472
  582. package/dist/multivalue-PQN75ENP.js +0 -79
  583. package/dist/numericDictTermCluster-FGMIOTBO.js +0 -62
  584. package/dist/oncomatrix-CCHWOA3N.js +0 -286
  585. package/dist/oncomatrix.spec-GQT3UTCR.js +0 -439
  586. package/dist/plot.2dvaf-L6ZI5ROR.js +0 -368
  587. package/dist/plot.app-A73VXJCP.js +0 -32
  588. package/dist/plot.barplot-HSCHPOO7.js +0 -93
  589. package/dist/plot.boxplot-AXBVNTNH.js +0 -142
  590. package/dist/plot.brainImaging-PEMURKM3.js +0 -51
  591. package/dist/plot.disco-YKMYYVMV.js +0 -98
  592. package/dist/plot.disco-YKMYYVMV.js.map +0 -7
  593. package/dist/plot.ssgq-FGMQXKZU.js +0 -130
  594. package/dist/plot.vaf2cov-IBM7NQEB.js +0 -249
  595. package/dist/polar2-N7KWY36S.js +0 -228
  596. package/dist/profileForms-Q4NN7653.js +0 -937
  597. package/dist/profilePlot-SQ77M6LI.js +0 -45
  598. package/dist/proteinView-KSIZRDNP.js +0 -1346
  599. package/dist/proteomeCohortCompare-GYSBJSDY.js +0 -866
  600. package/dist/proteomeCohortCompare-GYSBJSDY.js.map +0 -7
  601. package/dist/pseudbulk.unit.spec-XELPZVXM.js +0 -82
  602. package/dist/pseudobulk-H3USXM5U.js +0 -31
  603. package/dist/qualitative-ABXENRAF.js +0 -34
  604. package/dist/qualitative-OSEJTJ4D.js +0 -241
  605. package/dist/radar2-VTDQGHWN.js +0 -323
  606. package/dist/radarFacility2-BWGEC5A2.js +0 -331
  607. package/dist/rememberedGvQ.unit.spec-TWUDSEDP.js +0 -210
  608. package/dist/render-C3XJQ2QY.js +0 -29
  609. package/dist/report-7ZZ44X4R.js +0 -213
  610. package/dist/sampleView-CUCNI65Q.js +0 -39
  611. package/dist/samplelst-S7AJQ36J.js +0 -114
  612. package/dist/samplematrix-U7WM6GNB.js +0 -2188
  613. package/dist/sc-FMJHN2SW.js +0 -77
  614. package/dist/scatter-4UMCJNEH.js +0 -919
  615. package/dist/scatter-KMAZ3ZNR.js +0 -84
  616. package/dist/selectGenomeWithTklst-5SRM45BI.js +0 -125
  617. package/dist/singleCellCellType-GIIICJK5.js +0 -29
  618. package/dist/singleCellCellType.unit.spec-MVA7BMGL.js +0 -150
  619. package/dist/singleCellGeneExpression-2QFQHJJH.js +0 -29
  620. package/dist/singleCellGeneExpression.unit.spec-SAIETYHV.js +0 -144
  621. package/dist/singleCellNumericValue-45H5EPIB.js +0 -29
  622. package/dist/singleCellNumericValue.unit.spec-FNKEJ2WC.js +0 -412
  623. package/dist/singleCellPlot-SP7OEGYQ.js +0 -44
  624. package/dist/singlecell-AVZQX4AH.js +0 -1562
  625. package/dist/singlecell-JQKUHGIH.js +0 -77
  626. package/dist/snp-4SA7VABN.js +0 -29
  627. package/dist/snp.unit.spec-YIYGR6GW.js +0 -167
  628. package/dist/snplocus-TDGQ57ZJ.js +0 -200
  629. package/dist/snplst-SWBGRYPA.js +0 -36
  630. package/dist/spliceevent.a53ss.diagram-YODOBS6U.js +0 -142
  631. package/dist/spliceevent.exonskip.diagram-PMZIQ5UG.js +0 -274
  632. package/dist/spliceevent.noeventdiagram-A4T2PNUX.js +0 -451
  633. package/dist/ssGSEA-U7D6HOIV.js +0 -29
  634. package/dist/ssGSEA.unit.spec-SMNAM5DJ.js +0 -79
  635. package/dist/stattable-DBYMPJU6.js +0 -112
  636. package/dist/studyCatalog-7RABX4W5.js +0 -457
  637. package/dist/summarizeCnvGeneexp-YVRW7LWY.js +0 -154
  638. package/dist/summarizeGeneexpSurvival-ZB7IWGPS.js +0 -101
  639. package/dist/summarizeMutationCnv-CUSYURDK.js +0 -155
  640. package/dist/summarizeMutationDiagnosis-NSPCT5WI.js +0 -31
  641. package/dist/summarizeMutationSurvival-2PZZCC4G.js +0 -95
  642. package/dist/summary-CYDZSICI.js +0 -40
  643. package/dist/summary.integration.spec-2TLKJS3X.js +0 -405
  644. package/dist/summaryInput-BRQ5JRGV.js +0 -238
  645. package/dist/sunburst-435LKL2S.js +0 -34
  646. package/dist/sunburst-D5WAGHX6.js +0 -274
  647. package/dist/survival-M63B6DY5.js +0 -1248
  648. package/dist/survival-MHESSYWF.js +0 -49
  649. package/dist/survival.integration.spec-WMS3FTNR.js +0 -609
  650. package/dist/svgraph-LYFGVTHI.js +0 -1377
  651. package/dist/svmr-UR67QZIP.js +0 -3834
  652. package/dist/swimmer-RP4SUEZS.js +0 -993
  653. package/dist/table-V4OOMF3B.js +0 -192
  654. package/dist/termCollection-VHGVBSWW.js +0 -29
  655. package/dist/termCollection-WSNM3YFK.js +0 -247
  656. package/dist/termCollection.unit.spec-NCZUZL6P.js +0 -295
  657. package/dist/termCollectionFractionSelection-XM3FJWBQ.js +0 -38
  658. package/dist/termCollectionFractionSelection.unit.spec-VO4SAV72.js +0 -184
  659. package/dist/tk-G5PKWSXJ.js +0 -1193
  660. package/dist/tk-G5PKWSXJ.js.map +0 -7
  661. package/dist/tk-KIELQHVI.js +0 -37
  662. package/dist/tp.ui-HAKSWLFB.js +0 -1453
  663. package/dist/tvs.categorical-G4DM4JY5.js +0 -28
  664. package/dist/tvs.condition-E5NUQONB.js +0 -160
  665. package/dist/tvs.dt-T4BK24VZ.js +0 -34
  666. package/dist/tvs.dtcnv.categorical-V57TZFRA.js +0 -31
  667. package/dist/tvs.dtcnv.continuous-D4YIB4PN.js +0 -72
  668. package/dist/tvs.dtfusion-6DUFLUNH.js +0 -31
  669. package/dist/tvs.dtitd-GOEPAQGR.js +0 -31
  670. package/dist/tvs.dtsnvindel-ASTXGC4O.js +0 -31
  671. package/dist/tvs.dtsv-7TGDEWXK.js +0 -31
  672. package/dist/tvs.multivalue-SEIGL2W6.js +0 -84
  673. package/dist/tvs.numeric-MLLX5L7Z.js +0 -32
  674. package/dist/tvs.samplelst-HAV7C2EA.js +0 -95
  675. package/dist/tvs.survival-3B522MT2.js +0 -110
  676. package/dist/tvs.termCollection-R5NG4VXP.js +0 -118
  677. package/dist/vocabulary-LBNHNSEN.js +0 -32
  678. package/dist/wsi.direct-ZEZO4NLR.js +0 -11515
  679. /package/dist/{2dmaf-OWA6REJ5.js.map → 2dmaf-CSBPMYHO.js.map} +0 -0
  680. /package/dist/{AggMatrixInput-5GC33U5A.js.map → AggMatrixInput-2HST4LLJ.js.map} +0 -0
  681. /package/dist/{AggregateMatrix-CMJFO53B.js.map → AggregateMatrix-UPOAX44L.js.map} +0 -0
  682. /package/dist/{AppHeader-KJCXF35P.js.map → AppHeader-H5QBVKUS.js.map} +0 -0
  683. /package/dist/{BoxPlot-NZTO6CLZ.js.map → BoxPlot-JTBQA6PL.js.map} +0 -0
  684. /package/dist/{CorrelationVolcano-GHTPFM2V.js.map → CorrelationVolcano-AWBPVDMT.js.map} +0 -0
  685. /package/dist/{Cuminc-HHBYFFFM.js.map → Cuminc-3BXJVWIH.js.map} +0 -0
  686. /package/dist/{DE-VVKIMVXD.js.map → DE-237VV46D.js.map} +0 -0
  687. /package/dist/{DEinput-F7HSM2SO.js.map → DEinput-W443UW5T.js.map} +0 -0
  688. /package/dist/{DM-UBCIWZEY.js.map → DM-TIW623IR.js.map} +0 -0
  689. /package/dist/{DifferentialAnalysis-UUXXMOQS.js.map → DifferentialAnalysis-PHUA2GPK.js.map} +0 -0
  690. /package/dist/{Disco.UI-GSSSK4YJ.js.map → Disco.UI-UDUXNCZX.js.map} +0 -0
  691. /package/dist/{GB-CIQGJBJP.js.map → GB-6UW5LOUV.js.map} +0 -0
  692. /package/dist/{GSEA-3GVFEJTX.js.map → GSEA-3CNHMK6M.js.map} +0 -0
  693. /package/dist/{GeneExpInput-CFU3Q7FM.js.map → GeneExpInput-ZOVP7BFY.js.map} +0 -0
  694. /package/dist/{Geomap-NMVFA77Q.js.map → Geomap-JREOIESM.js.map} +0 -0
  695. /package/dist/{HicApp-4FCGUUJD.js.map → HicApp-RKAMIUXQ.js.map} +0 -0
  696. /package/dist/{IDCViewer-WFB6AXHD.js.map → IDCViewer-KXV4FU3V.js.map} +0 -0
  697. /package/dist/{NumBinaryEditor-4WUDJRSU.js.map → NumBinaryEditor-FNVYUK2J.js.map} +0 -0
  698. /package/dist/{NumBinaryEditor.unit.spec-MV53GTGQ.js.map → NumBinaryEditor.unit.spec-PWR23U3J.js.map} +0 -0
  699. /package/dist/{NumContEditor-U4R6HPDM.js.map → NumContEditor-YLBJW64K.js.map} +0 -0
  700. /package/dist/{NumContEditor.unit.spec-J4ANPBSF.js.map → NumContEditor.unit.spec-6JWBCPFY.js.map} +0 -0
  701. /package/dist/{NumCustomBinEditor-QRGDNFP4.js.map → NumCustomBinEditor-42AFCXRN.js.map} +0 -0
  702. /package/dist/{NumCustomBinEditor.unit.spec-PPF233FW.js.map → NumCustomBinEditor.unit.spec-AFBTF2CL.js.map} +0 -0
  703. /package/dist/{NumDiscreteEditor-LNK4KHSL.js.map → NumDiscreteEditor-FJIBZTBP.js.map} +0 -0
  704. /package/dist/{NumDiscreteEditor.unit.spec-QY6O62JU.js.map → NumDiscreteEditor.unit.spec-MC4INDCB.js.map} +0 -0
  705. /package/dist/{NumRegularBinEditor-XTINNM5L.js.map → NumRegularBinEditor-2WRE72TL.js.map} +0 -0
  706. /package/dist/{NumRegularBinEditor.unit.spec-FSLARHOC.js.map → NumRegularBinEditor.unit.spec-L3S6NRCM.js.map} +0 -0
  707. /package/dist/{NumSplineEditor-YSQTKBFA.js.map → NumSplineEditor-TVMVAN7I.js.map} +0 -0
  708. /package/dist/{NumSplineEditor.unit.spec-QNITPY7R.js.map → NumSplineEditor.unit.spec-GEL36GZZ.js.map} +0 -0
  709. /package/dist/{NumericDensity-J5WS74JZ.js.map → NumericDensity-BNFAVOFO.js.map} +0 -0
  710. /package/dist/{NumericDensity.unit.spec-4WQWLSSJ.js.map → NumericDensity.unit.spec-XBYUFBTQ.js.map} +0 -0
  711. /package/dist/{NumericHandler-ZEWC25U2.js.map → NumericHandler-4VFFJNX6.js.map} +0 -0
  712. /package/dist/{NumericHandler.unit.spec-A3G5FWGV.js.map → NumericHandler.unit.spec-76T2IVRS.js.map} +0 -0
  713. /package/dist/{ProteomeInput-7DXGQIOO.js.map → ProteomeInput-M5UIO73Q.js.map} +0 -0
  714. /package/dist/{Regression-VQ5MC6KW.js.map → Regression-5LB5TLA6.js.map} +0 -0
  715. /package/dist/{RunChart2-B33CQUXH.js.map → RunChart2-HIFXOEKZ.js.map} +0 -0
  716. /package/dist/{SC-LEVWXS4P.js.map → SC-SMMW5MJG.js.map} +0 -0
  717. /package/dist/{Wsi-VPF6RX3B.js.map → Wsi-OYW2L7FR.js.map} +0 -0
  718. /package/dist/{aboutSunburst-NGH3V74S.js.map → aboutSunburst-3FYJGR6B.js.map} +0 -0
  719. /package/dist/{adSandbox-VOAL4P5A.js.map → adSandbox-4VHYWBQC.js.map} +0 -0
  720. /package/dist/{animatedBubbleChart-HKOGYPSS.js.map → animatedBubbleChart-QCCIC5IT.js.map} +0 -0
  721. /package/dist/{app-AZLUP2BA.js.map → app-IF7YPCGZ.js.map} +0 -0
  722. /package/dist/{app-JJPKGBEV.js.map → app-JZ43TSJP.js.map} +0 -0
  723. /package/dist/{bam-GIZSH2MF.js.map → bam-2VPZGSW3.js.map} +0 -0
  724. /package/dist/{barchart-CVTXLIIQ.js.map → barchart-VYTWYYGG.js.map} +0 -0
  725. /package/dist/{barchart2-XYC6WITL.js.map → barchart2-XC7J4VEO.js.map} +0 -0
  726. /package/dist/{block-DXRSU62C.js.map → block-YGQFUK5L.js.map} +0 -0
  727. /package/dist/{block.init-U4Y6ROG4.js.map → block.init-BVP3YZHQ.js.map} +0 -0
  728. /package/dist/{block.mds.expressionrank-BB26LVTM.js.map → block.mds.expressionrank-RKDDKY4J.js.map} +0 -0
  729. /package/dist/{block.mds.geneboxplot-VVKEU3SL.js.map → block.mds.geneboxplot-3FZ3EZZ6.js.map} +0 -0
  730. /package/dist/{block.mds.junction-XUZX6EAQ.js.map → block.mds.junction-MCOG37RA.js.map} +0 -0
  731. /package/dist/{block.mds.svcnv-WDSACPWG.js.map → block.mds.svcnv-IEOR5IQZ.js.map} +0 -0
  732. /package/dist/{block.svg-T5BA7VLS.js.map → block.svg-3XHRHYCV.js.map} +0 -0
  733. /package/dist/{block.tk.aicheck-3VN2RDPD.js.map → block.tk.aicheck-TMDUGNZX.js.map} +0 -0
  734. /package/dist/{block.tk.bam-5XZ3N4Y7.js.map → block.tk.bam-73KW4QEJ.js.map} +0 -0
  735. /package/dist/{block.tk.bigwig.ui-JODVOS4R.js.map → block.tk.bigwig.ui-E5W6R7DQ.js.map} +0 -0
  736. /package/dist/{block.tk.hicstraw-AFNWJ2YP.js.map → block.tk.hicstraw-BNNE6ZMW.js.map} +0 -0
  737. /package/dist/{block.tk.junction-T2G6XEVS.js.map → block.tk.junction-DMPRZRNY.js.map} +0 -0
  738. /package/dist/{block.tk.junction.textmatrixui-FL5MZH7K.js.map → block.tk.junction.textmatrixui-XS2E7MQL.js.map} +0 -0
  739. /package/dist/{block.tk.ld-JKBXDOB5.js.map → block.tk.ld-QD3XDLO4.js.map} +0 -0
  740. /package/dist/{block.tk.menu-2X4BN7BN.js.map → block.tk.menu-S6XI732E.js.map} +0 -0
  741. /package/dist/{block.tk.pgv-ASUVEGQF.js.map → block.tk.pgv-KH4TMR3A.js.map} +0 -0
  742. /package/dist/{brainImaging-27442GMQ.js.map → brainImaging-NK4JENN3.js.map} +0 -0
  743. /package/dist/{brainRegions-3367RQCU.js.map → brainRegions-YUEMTKYH.js.map} +0 -0
  744. /package/dist/{bubbleHeatmap-IOVS6SHX.js.map → bubbleHeatmap-LQCVS4WK.js.map} +0 -0
  745. /package/dist/{cellTypeBubbleHeatmap-7XJP6B5W.js.map → cellTypeBubbleHeatmap-DFRSPWAY.js.map} +0 -0
  746. /package/dist/{chunk-Z6ZFRHXK.js.map → chunk-3RPX4ZVV.js.map} +0 -0
  747. /package/dist/{chunk-7UXV4IX5.js.map → chunk-4LK5YFHF.js.map} +0 -0
  748. /package/dist/{chunk-GVLXSPTN.js.map → chunk-4WFXCUT4.js.map} +0 -0
  749. /package/dist/{chunk-RCLCEA55.js.map → chunk-5LY2ASQX.js.map} +0 -0
  750. /package/dist/{chunk-F6CYUMSM.js.map → chunk-6PVVV3UW.js.map} +0 -0
  751. /package/dist/{chunk-ZUXXBQ7D.js.map → chunk-6V7ITU5F.js.map} +0 -0
  752. /package/dist/{chunk-T2DORAV4.js.map → chunk-7UK7CU4F.js.map} +0 -0
  753. /package/dist/{chunk-M4ML4ACA.js.map → chunk-AAQDXVQT.js.map} +0 -0
  754. /package/dist/{chunk-ZHY7ZHWC.js.map → chunk-ADJBQCFM.js.map} +0 -0
  755. /package/dist/{chunk-C4YACFGH.js.map → chunk-ATIITEOR.js.map} +0 -0
  756. /package/dist/{chunk-CU434U4N.js.map → chunk-BWVJAFEQ.js.map} +0 -0
  757. /package/dist/{chunk-QMR3QMJG.js.map → chunk-CDCNBN6G.js.map} +0 -0
  758. /package/dist/{chunk-N6AHRJAM.js.map → chunk-CGSBIFFO.js.map} +0 -0
  759. /package/dist/{chunk-BOQYGAYA.js.map → chunk-DOC3HBOV.js.map} +0 -0
  760. /package/dist/{chunk-JNIYPQWY.js.map → chunk-EARMOT6Q.js.map} +0 -0
  761. /package/dist/{chunk-HUF5BTO6.js.map → chunk-ECCXTB5S.js.map} +0 -0
  762. /package/dist/{chunk-CKO54XWB.js.map → chunk-EKIWZUEO.js.map} +0 -0
  763. /package/dist/{chunk-GOL6A746.js.map → chunk-FALP6GXG.js.map} +0 -0
  764. /package/dist/{chunk-2UGYE6EJ.js.map → chunk-FIWVGOSE.js.map} +0 -0
  765. /package/dist/{chunk-QUVGLTCF.js.map → chunk-FRD6LQF7.js.map} +0 -0
  766. /package/dist/{chunk-VZBRG6HQ.js.map → chunk-FRPYXYYQ.js.map} +0 -0
  767. /package/dist/{chunk-EIO6DMIQ.js.map → chunk-FT5HOBHJ.js.map} +0 -0
  768. /package/dist/{chunk-KTRDLHCP.js.map → chunk-FV2GLMSI.js.map} +0 -0
  769. /package/dist/{chunk-5OWPH4IH.js.map → chunk-G6SP5IQT.js.map} +0 -0
  770. /package/dist/{chunk-CZOJUH3C.js.map → chunk-GZL6YFZJ.js.map} +0 -0
  771. /package/dist/{chunk-BBA5MAFS.js.map → chunk-H353EVLK.js.map} +0 -0
  772. /package/dist/{chunk-RCVA2RWU.js.map → chunk-HKR5R5YR.js.map} +0 -0
  773. /package/dist/{chunk-G5GFCBJT.js.map → chunk-HULTLO4D.js.map} +0 -0
  774. /package/dist/{chunk-4ICGMPPE.js.map → chunk-IIN4CG67.js.map} +0 -0
  775. /package/dist/{chunk-MIDVLNN3.js.map → chunk-ISWFHYEZ.js.map} +0 -0
  776. /package/dist/{chunk-O4BDFBVK.js.map → chunk-JBUTLI3V.js.map} +0 -0
  777. /package/dist/{chunk-LN4KNFOQ.js.map → chunk-JCNZJKLK.js.map} +0 -0
  778. /package/dist/{chunk-2CTAWHGB.js.map → chunk-JEVDRC64.js.map} +0 -0
  779. /package/dist/{chunk-X7JGAQ5N.js.map → chunk-KBZAB2H2.js.map} +0 -0
  780. /package/dist/{chunk-NB4UU4DH.js.map → chunk-KDKJLITX.js.map} +0 -0
  781. /package/dist/{chunk-ZLQ6PAI6.js.map → chunk-KNFJN6CM.js.map} +0 -0
  782. /package/dist/{chunk-HTIZFNBC.js.map → chunk-KSYGLBZ4.js.map} +0 -0
  783. /package/dist/{chunk-ZUG4EY4T.js.map → chunk-KUOXZIH4.js.map} +0 -0
  784. /package/dist/{chunk-AQSZLUDV.js.map → chunk-KZ54E2FU.js.map} +0 -0
  785. /package/dist/{chunk-RSCSTOUN.js.map → chunk-L7FMBWWK.js.map} +0 -0
  786. /package/dist/{chunk-63TCOVAK.js.map → chunk-LMONIWPI.js.map} +0 -0
  787. /package/dist/{chunk-7Q4KAFCS.js.map → chunk-LTY7WOAT.js.map} +0 -0
  788. /package/dist/{chunk-2GP3LH7J.js.map → chunk-LYDN734A.js.map} +0 -0
  789. /package/dist/{chunk-OT2DMA2D.js.map → chunk-LYMYO6TY.js.map} +0 -0
  790. /package/dist/{chunk-KGFH5VTH.js.map → chunk-MRZUZDRA.js.map} +0 -0
  791. /package/dist/{chunk-KA3KYNOP.js.map → chunk-NGBI4FST.js.map} +0 -0
  792. /package/dist/{chunk-3TJBSAIO.js.map → chunk-OKM4ACTA.js.map} +0 -0
  793. /package/dist/{chunk-5JBOGNSG.js.map → chunk-OUDHHMZU.js.map} +0 -0
  794. /package/dist/{chunk-VQD6GZMU.js.map → chunk-OVXHMJJJ.js.map} +0 -0
  795. /package/dist/{chunk-TTSKLWP7.js.map → chunk-OYXRYWGU.js.map} +0 -0
  796. /package/dist/{chunk-2ESAB2PP.js.map → chunk-P5FHYGJK.js.map} +0 -0
  797. /package/dist/{chunk-MUVXIOXM.js.map → chunk-P7QDNXSH.js.map} +0 -0
  798. /package/dist/{chunk-TQLHKDNS.js.map → chunk-PI2MCZXG.js.map} +0 -0
  799. /package/dist/{chunk-SQUMXZXI.js.map → chunk-Q7GK35TB.js.map} +0 -0
  800. /package/dist/{chunk-FUTHP5J4.js.map → chunk-QXRM5NMW.js.map} +0 -0
  801. /package/dist/{chunk-7ONTCJWB.js.map → chunk-SH7SL4I5.js.map} +0 -0
  802. /package/dist/{chunk-7ZCYC2DQ.js.map → chunk-SJHWZZ4M.js.map} +0 -0
  803. /package/dist/{chunk-ZCY72DDM.js.map → chunk-TDBS3UFZ.js.map} +0 -0
  804. /package/dist/{chunk-TBXJ2CUA.js.map → chunk-U2OB3S3M.js.map} +0 -0
  805. /package/dist/{chunk-N2RAPA7D.js.map → chunk-UA2ADBTO.js.map} +0 -0
  806. /package/dist/{chunk-DVSTBGZT.js.map → chunk-USGUVW5Q.js.map} +0 -0
  807. /package/dist/{chunk-OVO6NYUR.js.map → chunk-UWVDD4C2.js.map} +0 -0
  808. /package/dist/{chunk-JEXS72M5.js.map → chunk-W2SBSEKT.js.map} +0 -0
  809. /package/dist/{chunk-HWP3U2VY.js.map → chunk-WUCIHN7D.js.map} +0 -0
  810. /package/dist/{chunk-WQHL6SR3.js.map → chunk-XAHZYGKW.js.map} +0 -0
  811. /package/dist/{chunk-K5RCZIZN.js.map → chunk-YWB2QHV2.js.map} +0 -0
  812. /package/dist/{chunk-OXRZSZKA.js.map → chunk-Z6M77JDG.js.map} +0 -0
  813. /package/dist/{chunk-L6TGKNRA.js.map → chunk-Z7RFFJXU.js.map} +0 -0
  814. /package/dist/{chunk-HNU4RYI5.js.map → chunk-ZG7EBTHK.js.map} +0 -0
  815. /package/dist/{chunk-46KQE4DV.js.map → chunk-ZJLJHQWM.js.map} +0 -0
  816. /package/dist/{chunk-EM56Y4X6.js.map → chunk-ZKU6RST3.js.map} +0 -0
  817. /package/dist/{chunk-NGG4737W.js.map → chunk-ZLWEUYPT.js.map} +0 -0
  818. /package/dist/{cohort-2DQOQ5AO.js.map → cohort-X327AG3O.js.map} +0 -0
  819. /package/dist/{cohortSunburst-W6XC7VD6.js.map → cohortSunburst-GNWIVDNA.js.map} +0 -0
  820. /package/dist/{condition-3A7I5UQA.js.map → condition-3M4L2HIM.js.map} +0 -0
  821. /package/dist/{controls-G5WYBX4P.js.map → controls-OKNHZJOU.js.map} +0 -0
  822. /package/dist/{controls.config-TAFGM2S2.js.map → controls.config-FUKM5LEP.js.map} +0 -0
  823. /package/dist/{correlation-K4EOOQJU.js.map → correlation-PC4MXCFM.js.map} +0 -0
  824. /package/dist/{customdata.inputui-E7RRN3KY.js.map → customdata.inputui-HCRTX56R.js.map} +0 -0
  825. /package/dist/{dataDownload-OXZGAE5R.js.map → dataDownload-HJO7UW7S.js.map} +0 -0
  826. /package/dist/{databrowser.ui-IPUF6LUC.js.map → databrowser.ui-EY3H6B4S.js.map} +0 -0
  827. /package/dist/{dictionary-MUNAUI43.js.map → dictionary-L6CTMFY7.js.map} +0 -0
  828. /package/dist/{dnaMethylation-SOV4HBAX.js.map → dnaMethylation-FEB5GGXK.js.map} +0 -0
  829. /package/dist/{dnaMethylation.integration.spec-T4KKTMRL.js.map → dnaMethylation.integration.spec-4DC6TJNZ.js.map} +0 -0
  830. /package/dist/{dofetch-2CR2TVWC.js.map → dofetch-YFGOKCKV.js.map} +0 -0
  831. /package/dist/{e2pca-EIOJCV4O.js.map → e2pca-QSAVTCPL.js.map} +0 -0
  832. /package/dist/{ep-5QX3CW6D.js.map → ep-LAFLKVSW.js.map} +0 -0
  833. /package/dist/{expclust.gdc.spec-TNHPZLYQ.js.map → expclust.gdc.spec-OM4J6WBL.js.map} +0 -0
  834. /package/dist/{facet-I3OC4DK2.js.map → facet-WHTV2VIX.js.map} +0 -0
  835. /package/dist/{gb-WPIUHR3O.js.map → gb-DLXWWBB6.js.map} +0 -0
  836. /package/dist/{geneExpClustering-EYGZENSP.js.map → geneExpClustering-KB2MB2VM.js.map} +0 -0
  837. /package/dist/{geneExpression-54L3DH32.js.map → geneExpression-3D7PDZ2I.js.map} +0 -0
  838. /package/dist/{geneExpression-6S6H2EVY.js.map → geneExpression-3RSRGYGQ.js.map} +0 -0
  839. /package/dist/{geneORA-7M64LXZC.js.map → geneORA-J4KVSZT3.js.map} +0 -0
  840. /package/dist/{geneRanking-676CAA3B.js.map → geneRanking-HKLJ7CN6.js.map} +0 -0
  841. /package/dist/{geneVariant-PFVPL22U.js.map → geneVariant-3BRGRFPT.js.map} +0 -0
  842. /package/dist/{geneVariant-4UPJE6MJ.js.map → geneVariant-VI5DGDAB.js.map} +0 -0
  843. /package/dist/{geneVariant.integration.spec-EAJ4OSFQ.js.map → geneVariant.integration.spec-3IBX4NNE.js.map} +0 -0
  844. /package/dist/{genefusion.ui-LP4EJUTO.js.map → genefusion.ui-OESQL7TW.js.map} +0 -0
  845. /package/dist/{geneset-ANDOMTPO.js.map → geneset-3BMV3KP4.js.map} +0 -0
  846. /package/dist/{genomeBrowser.spec-NUXOOL5N.js.map → genomeBrowser.spec-I3WKAITC.js.map} +0 -0
  847. /package/dist/{grin2-K4LRVCES.js.map → grin2-4BBCH3H5.js.map} +0 -0
  848. /package/dist/{grin2-YFCWJZFR.js.map → grin2-5L2U32LY.js.map} +0 -0
  849. /package/dist/{hierCluster-POD3DRO4.js.map → hierCluster-KM56NTN6.js.map} +0 -0
  850. /package/dist/{hierCluster-QA7HXKRD.js.map → hierCluster-XCJF5IQ6.js.map} +0 -0
  851. /package/dist/{hierCluster.config-HQ3SVKCE.js.map → hierCluster.config-E2EYOXX6.js.map} +0 -0
  852. /package/dist/{hierCluster.integration.spec-MOYDWJL3.js.map → hierCluster.integration.spec-IIEJ2YEI.js.map} +0 -0
  853. /package/dist/{hierCluster.interactivity-OZTNHXZQ.js.map → hierCluster.interactivity-AJFEJTGX.js.map} +0 -0
  854. /package/dist/{hierCluster.renderers-46E37NL4.js.map → hierCluster.renderers-XKI344FM.js.map} +0 -0
  855. /package/dist/{imagePlot-HNAYBWY3.js.map → imagePlot-3B3BXI6I.js.map} +0 -0
  856. /package/dist/{importPlot-XTW46VF4.js.map → importPlot-JDVH7Q2Z.js.map} +0 -0
  857. /package/dist/{isoformExpression-2TMTILKG.js.map → isoformExpression-UFHY5LB2.js.map} +0 -0
  858. /package/dist/{isoformExpression.unit.spec-SIJWP7TH.js.map → isoformExpression.unit.spec-U6GDCNQR.js.map} +0 -0
  859. /package/dist/{junction-AICKHNXX.js.map → junction-W2STW5WW.js.map} +0 -0
  860. /package/dist/{junction.customTerm-5STKYZ4B.js.map → junction.customTerm-LQYKCZX4.js.map} +0 -0
  861. /package/dist/{junction.unit.spec-EXFN4MLW.js.map → junction.unit.spec-R4DIBFLB.js.map} +0 -0
  862. /package/dist/{launch.adhoc-PB6PGR7Q.js.map → launch.adhoc-KN7HFHJH.js.map} +0 -0
  863. /package/dist/{lollipop-5UXUAFYY.js.map → lollipop-EKIGAAK6.js.map} +0 -0
  864. /package/dist/{maf-L6YD25JK.js.map → maf-MK2MM7J4.js.map} +0 -0
  865. /package/dist/{maftimeline-63YZDGJ3.js.map → maftimeline-7RTMXWFA.js.map} +0 -0
  866. /package/dist/{matrix-OPEBHZCW.js.map → matrix-UM2EZODJ.js.map} +0 -0
  867. /package/dist/{matrix-TLMWPG7C.js.map → matrix-YBL4FZYJ.js.map} +0 -0
  868. /package/dist/{matrix.cells-IELMNYC6.js.map → matrix.cells-45ZFADK5.js.map} +0 -0
  869. /package/dist/{matrix.config-J7SVFXLM.js.map → matrix.config-QTBIRXKU.js.map} +0 -0
  870. /package/dist/{matrix.data-DJTJCPO4.js.map → matrix.data-WAMOLSKW.js.map} +0 -0
  871. /package/dist/{matrix.groups-2REICNZK.js.map → matrix.groups-RXFXZABD.js.map} +0 -0
  872. /package/dist/{matrix.integration.spec-ZXU2OEFU.js.map → matrix.integration.spec-JZDZRVOK.js.map} +0 -0
  873. /package/dist/{matrix.interactivity-SX3OR6OI.js.map → matrix.interactivity-P4VYGTB2.js.map} +0 -0
  874. /package/dist/{matrix.layout-ZJ6X5RON.js.map → matrix.layout-WWPRXXHX.js.map} +0 -0
  875. /package/dist/{matrix.legend-ZOP72TIO.js.map → matrix.legend-4MCMVVKO.js.map} +0 -0
  876. /package/dist/{matrix.renderers-YUSROXKN.js.map → matrix.renderers-JQTUODDS.js.map} +0 -0
  877. /package/dist/{matrix.serieses-UMAZNCMR.js.map → matrix.serieses-3IDRKSGO.js.map} +0 -0
  878. /package/dist/{matrix.sort-2JNIZHNL.js.map → matrix.sort-EAWOB56R.js.map} +0 -0
  879. /package/dist/{matrix.sort.unit.spec-SNB643Y6.js.map → matrix.sort.unit.spec-FOWLULHA.js.map} +0 -0
  880. /package/dist/{matrix.sorterUi-JXEIY6UL.js.map → matrix.sorterUi-Z4JDY7VW.js.map} +0 -0
  881. /package/dist/{matrix.sorterUi.unit.spec-LDAT4R3H.js.map → matrix.sorterUi.unit.spec-U5CQDTMX.js.map} +0 -0
  882. /package/dist/{matrix.unit.spec-QBQIMDLD.js.map → matrix.unit.spec-VTLD4EOZ.js.map} +0 -0
  883. /package/dist/{mavb-EQUF3VGG.js.map → mavb-JIIXJHBK.js.map} +0 -0
  884. /package/dist/{mds.samplescatterplot-73E45ZT7.js.map → mds.samplescatterplot-PTWA2V6E.js.map} +0 -0
  885. /package/dist/{mds.survivalplot-DL53IRVD.js.map → mds.survivalplot-XVZ66GP5.js.map} +0 -0
  886. /package/dist/{multivalue-PQN75ENP.js.map → multivalue-2H7QX7MG.js.map} +0 -0
  887. /package/dist/{numericDictTermCluster-FGMIOTBO.js.map → numericDictTermCluster-EHCDRT6J.js.map} +0 -0
  888. /package/dist/{oncomatrix-CCHWOA3N.js.map → oncomatrix-RZLZUC32.js.map} +0 -0
  889. /package/dist/{oncomatrix.spec-GQT3UTCR.js.map → oncomatrix.spec-Z5UQGTW2.js.map} +0 -0
  890. /package/dist/{plot.2dvaf-L6ZI5ROR.js.map → plot.2dvaf-IRBZBJ6B.js.map} +0 -0
  891. /package/dist/{plot.app-A73VXJCP.js.map → plot.app-I23IAZ3Z.js.map} +0 -0
  892. /package/dist/{plot.barplot-HSCHPOO7.js.map → plot.barplot-PYLRAZB7.js.map} +0 -0
  893. /package/dist/{plot.boxplot-AXBVNTNH.js.map → plot.boxplot-VBWU7DUG.js.map} +0 -0
  894. /package/dist/{plot.brainImaging-PEMURKM3.js.map → plot.brainImaging-HDJMEMTK.js.map} +0 -0
  895. /package/dist/{plot.ssgq-FGMQXKZU.js.map → plot.ssgq-S3BKXJMW.js.map} +0 -0
  896. /package/dist/{plot.vaf2cov-IBM7NQEB.js.map → plot.vaf2cov-VD7DU2XR.js.map} +0 -0
  897. /package/dist/{polar2-N7KWY36S.js.map → polar2-PYLEVG7E.js.map} +0 -0
  898. /package/dist/{profileForms-Q4NN7653.js.map → profileForms-CI2YYD3Y.js.map} +0 -0
  899. /package/dist/{profilePlot-SQ77M6LI.js.map → profilePlot-UCC4ZVHQ.js.map} +0 -0
  900. /package/dist/{proteinView-KSIZRDNP.js.map → proteinView-FBY6TK3S.js.map} +0 -0
  901. /package/dist/{pseudbulk.unit.spec-XELPZVXM.js.map → pseudbulk.unit.spec-VPZWNTIA.js.map} +0 -0
  902. /package/dist/{pseudobulk-H3USXM5U.js.map → pseudobulk-RUXGZ7OY.js.map} +0 -0
  903. /package/dist/{qualitative-ABXENRAF.js.map → qualitative-3AVR4GRX.js.map} +0 -0
  904. /package/dist/{qualitative-OSEJTJ4D.js.map → qualitative-5QNBKDOZ.js.map} +0 -0
  905. /package/dist/{radar2-VTDQGHWN.js.map → radar2-AOYMS54Y.js.map} +0 -0
  906. /package/dist/{radarFacility2-BWGEC5A2.js.map → radarFacility2-PP2MAXIP.js.map} +0 -0
  907. /package/dist/{rememberedGvQ.unit.spec-TWUDSEDP.js.map → rememberedGvQ.unit.spec-Q3UZJPE2.js.map} +0 -0
  908. /package/dist/{render-C3XJQ2QY.js.map → render-ASLVKYEX.js.map} +0 -0
  909. /package/dist/{report-7ZZ44X4R.js.map → report-UVYKDMQC.js.map} +0 -0
  910. /package/dist/{sampleView-CUCNI65Q.js.map → sampleView-6UHR7FSR.js.map} +0 -0
  911. /package/dist/{samplelst-S7AJQ36J.js.map → samplelst-ABC2CCNN.js.map} +0 -0
  912. /package/dist/{samplematrix-U7WM6GNB.js.map → samplematrix-36UCHZLC.js.map} +0 -0
  913. /package/dist/{sc-FMJHN2SW.js.map → sc-XLSAM725.js.map} +0 -0
  914. /package/dist/{scatter-KMAZ3ZNR.js.map → scatter-ADOBAOW2.js.map} +0 -0
  915. /package/dist/{scatter-4UMCJNEH.js.map → scatter-ZNVLI627.js.map} +0 -0
  916. /package/dist/{selectGenomeWithTklst-5SRM45BI.js.map → selectGenomeWithTklst-DPDBDYTR.js.map} +0 -0
  917. /package/dist/{singleCellCellType-GIIICJK5.js.map → singleCellCellType-STVPYZD4.js.map} +0 -0
  918. /package/dist/{singleCellCellType.unit.spec-MVA7BMGL.js.map → singleCellCellType.unit.spec-ZLY37AXL.js.map} +0 -0
  919. /package/dist/{singleCellGeneExpression-2QFQHJJH.js.map → singleCellGeneExpression-PCGLU35S.js.map} +0 -0
  920. /package/dist/{singleCellGeneExpression.unit.spec-SAIETYHV.js.map → singleCellGeneExpression.unit.spec-PSLKK362.js.map} +0 -0
  921. /package/dist/{singleCellNumericValue-45H5EPIB.js.map → singleCellNumericValue-SR3SJEOB.js.map} +0 -0
  922. /package/dist/{singleCellNumericValue.unit.spec-FNKEJ2WC.js.map → singleCellNumericValue.unit.spec-PXVXJ4HJ.js.map} +0 -0
  923. /package/dist/{singleCellPlot-SP7OEGYQ.js.map → singleCellPlot-JXB7M6OH.js.map} +0 -0
  924. /package/dist/{singlecell-AVZQX4AH.js.map → singlecell-EDSX56QO.js.map} +0 -0
  925. /package/dist/{singlecell-JQKUHGIH.js.map → singlecell-PH55NFRX.js.map} +0 -0
  926. /package/dist/{snp-4SA7VABN.js.map → snp-3VEYBTAQ.js.map} +0 -0
  927. /package/dist/{snp.unit.spec-YIYGR6GW.js.map → snp.unit.spec-V7OB44US.js.map} +0 -0
  928. /package/dist/{snplocus-TDGQ57ZJ.js.map → snplocus-HX67RBT5.js.map} +0 -0
  929. /package/dist/{snplst-SWBGRYPA.js.map → snplst-H5YXCY33.js.map} +0 -0
  930. /package/dist/{spliceevent.a53ss.diagram-YODOBS6U.js.map → spliceevent.a53ss.diagram-DBDEEHSK.js.map} +0 -0
  931. /package/dist/{spliceevent.exonskip.diagram-PMZIQ5UG.js.map → spliceevent.exonskip.diagram-EYEL6BY6.js.map} +0 -0
  932. /package/dist/{spliceevent.noeventdiagram-A4T2PNUX.js.map → spliceevent.noeventdiagram-64OEXK7U.js.map} +0 -0
  933. /package/dist/{ssGSEA-U7D6HOIV.js.map → ssGSEA-3YWQH6KM.js.map} +0 -0
  934. /package/dist/{ssGSEA.unit.spec-SMNAM5DJ.js.map → ssGSEA.unit.spec-23V2IXP5.js.map} +0 -0
  935. /package/dist/{stattable-DBYMPJU6.js.map → stattable-GPSBCNYC.js.map} +0 -0
  936. /package/dist/{studyCatalog-7RABX4W5.js.map → studyCatalog-W5PATRNY.js.map} +0 -0
  937. /package/dist/{summarizeCnvGeneexp-YVRW7LWY.js.map → summarizeCnvGeneexp-YGI23QH5.js.map} +0 -0
  938. /package/dist/{summarizeGeneexpSurvival-ZB7IWGPS.js.map → summarizeGeneexpSurvival-KQ6OLWYR.js.map} +0 -0
  939. /package/dist/{summarizeMutationCnv-CUSYURDK.js.map → summarizeMutationCnv-XDHBNEPU.js.map} +0 -0
  940. /package/dist/{summarizeMutationDiagnosis-NSPCT5WI.js.map → summarizeMutationDiagnosis-VKIJRJ2Q.js.map} +0 -0
  941. /package/dist/{summarizeMutationSurvival-2PZZCC4G.js.map → summarizeMutationSurvival-57YKJGLE.js.map} +0 -0
  942. /package/dist/{summary-CYDZSICI.js.map → summary-4WQOVIUF.js.map} +0 -0
  943. /package/dist/{summary.integration.spec-2TLKJS3X.js.map → summary.integration.spec-FRNWBU7F.js.map} +0 -0
  944. /package/dist/{summaryInput-BRQ5JRGV.js.map → summaryInput-X7DS2YA7.js.map} +0 -0
  945. /package/dist/{sunburst-435LKL2S.js.map → sunburst-3OEAQA3O.js.map} +0 -0
  946. /package/dist/{sunburst-D5WAGHX6.js.map → sunburst-MSGTXYMM.js.map} +0 -0
  947. /package/dist/{survival-M63B6DY5.js.map → survival-5KC5CNZU.js.map} +0 -0
  948. /package/dist/{survival-MHESSYWF.js.map → survival-QXDS6N46.js.map} +0 -0
  949. /package/dist/{survival.integration.spec-WMS3FTNR.js.map → survival.integration.spec-PKENHLTZ.js.map} +0 -0
  950. /package/dist/{svgraph-LYFGVTHI.js.map → svgraph-VJLB7BBN.js.map} +0 -0
  951. /package/dist/{svmr-UR67QZIP.js.map → svmr-6BDEZAS6.js.map} +0 -0
  952. /package/dist/{swimmer-RP4SUEZS.js.map → swimmer-R3DN7N36.js.map} +0 -0
  953. /package/dist/{table-V4OOMF3B.js.map → table-YF5VORU6.js.map} +0 -0
  954. /package/dist/{termCollection-VHGVBSWW.js.map → termCollection-3KGLZFDW.js.map} +0 -0
  955. /package/dist/{termCollection-WSNM3YFK.js.map → termCollection-KSHVOPS5.js.map} +0 -0
  956. /package/dist/{termCollection.unit.spec-NCZUZL6P.js.map → termCollection.unit.spec-HTBDG5PL.js.map} +0 -0
  957. /package/dist/{termCollectionFractionSelection-XM3FJWBQ.js.map → termCollectionFractionSelection-MK4NKWUX.js.map} +0 -0
  958. /package/dist/{termCollectionFractionSelection.unit.spec-VO4SAV72.js.map → termCollectionFractionSelection.unit.spec-AMF32FDN.js.map} +0 -0
  959. /package/dist/{tk-KIELQHVI.js.map → tk-Z54DOECH.js.map} +0 -0
  960. /package/dist/{tp.ui-HAKSWLFB.js.map → tp.ui-M4TZVT53.js.map} +0 -0
  961. /package/dist/{tvs.categorical-G4DM4JY5.js.map → tvs.categorical-HY3BWCZR.js.map} +0 -0
  962. /package/dist/{tvs.condition-E5NUQONB.js.map → tvs.condition-Y36TRIX4.js.map} +0 -0
  963. /package/dist/{tvs.dt-T4BK24VZ.js.map → tvs.dt-XKVJZP7Y.js.map} +0 -0
  964. /package/dist/{tvs.dtcnv.categorical-V57TZFRA.js.map → tvs.dtcnv.categorical-OMRZR4Y7.js.map} +0 -0
  965. /package/dist/{tvs.dtcnv.continuous-D4YIB4PN.js.map → tvs.dtcnv.continuous-AGYOBI5K.js.map} +0 -0
  966. /package/dist/{tvs.dtfusion-6DUFLUNH.js.map → tvs.dtfusion-2JX5Y2IH.js.map} +0 -0
  967. /package/dist/{tvs.dtitd-GOEPAQGR.js.map → tvs.dtitd-SDSLBBWC.js.map} +0 -0
  968. /package/dist/{tvs.dtsnvindel-ASTXGC4O.js.map → tvs.dtsnvindel-LI7K464K.js.map} +0 -0
  969. /package/dist/{tvs.dtsv-7TGDEWXK.js.map → tvs.dtsv-VRCLX7QY.js.map} +0 -0
  970. /package/dist/{tvs.multivalue-SEIGL2W6.js.map → tvs.multivalue-4OTY6J2S.js.map} +0 -0
  971. /package/dist/{tvs.numeric-MLLX5L7Z.js.map → tvs.numeric-CDATYOR2.js.map} +0 -0
  972. /package/dist/{tvs.samplelst-HAV7C2EA.js.map → tvs.samplelst-76JOJG2M.js.map} +0 -0
  973. /package/dist/{tvs.survival-3B522MT2.js.map → tvs.survival-WTFJOKIZ.js.map} +0 -0
  974. /package/dist/{tvs.termCollection-R5NG4VXP.js.map → tvs.termCollection-QQXAS7PE.js.map} +0 -0
  975. /package/dist/{vocabulary-LBNHNSEN.js.map → vocabulary-6ACAEFTL.js.map} +0 -0
  976. /package/dist/{wsi.direct-ZEZO4NLR.js.map → wsi.direct-OS32TQRM.js.map} +0 -0
@@ -1,2349 +0,0 @@
1
- import {
2
- convertUnits,
3
- isNumeric,
4
- isStrictNumeric
5
- } from "./chunk-W5J3LTYS.js";
6
- import {
7
- isNumericTerm
8
- } from "./chunk-5FD6NRGE.js";
9
- import {
10
- ISOFORM_EXPRESSION,
11
- SINGLECELL_CELLTYPE,
12
- SINGLECELL_GENE_EXPRESSION,
13
- TermTypes,
14
- dtcnv,
15
- dtfusionrna,
16
- dtitd,
17
- dtsnvindel,
18
- dtsv,
19
- getColors,
20
- mclass,
21
- mclassdeletion,
22
- mclassinsertion,
23
- mclassitd,
24
- mclassmnv,
25
- mclassnonstandard,
26
- mclasssnv,
27
- morigingermline,
28
- morigingermlinenonpathogenic,
29
- morigingermlinepathogenic,
30
- moriginrelapse,
31
- moriginsomatic,
32
- vepinfo
33
- } from "./chunk-R2H22S4J.js";
34
- import {
35
- deepFreeze,
36
- sleep
37
- } from "./chunk-HBNB5TRH.js";
38
- import {
39
- format
40
- } from "./chunk-4OLM3KSB.js";
41
- import {
42
- select_default
43
- } from "./chunk-I6Y4O3RR.js";
44
- import {
45
- __commonJS,
46
- __toESM
47
- } from "./chunk-HS5PO5ZQ.js";
48
-
49
- // ../node_modules/secure-json-parse/index.js
50
- var require_secure_json_parse = __commonJS({
51
- "../node_modules/secure-json-parse/index.js"(exports, module) {
52
- "use strict";
53
- var hasBuffer = typeof Buffer !== "undefined";
54
- var suspectProtoRx = /"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/;
55
- var suspectConstructorRx = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;
56
- function _parse(text, reviver, options) {
57
- if (options == null) {
58
- if (reviver !== null && typeof reviver === "object") {
59
- options = reviver;
60
- reviver = void 0;
61
- }
62
- }
63
- if (hasBuffer && Buffer.isBuffer(text)) {
64
- text = text.toString();
65
- }
66
- if (text && text.charCodeAt(0) === 65279) {
67
- text = text.slice(1);
68
- }
69
- const obj = JSON.parse(text, reviver);
70
- if (obj === null || typeof obj !== "object") {
71
- return obj;
72
- }
73
- const protoAction = options && options.protoAction || "error";
74
- const constructorAction = options && options.constructorAction || "error";
75
- if (protoAction === "ignore" && constructorAction === "ignore") {
76
- return obj;
77
- }
78
- if (protoAction !== "ignore" && constructorAction !== "ignore") {
79
- if (suspectProtoRx.test(text) === false && suspectConstructorRx.test(text) === false) {
80
- return obj;
81
- }
82
- } else if (protoAction !== "ignore" && constructorAction === "ignore") {
83
- if (suspectProtoRx.test(text) === false) {
84
- return obj;
85
- }
86
- } else {
87
- if (suspectConstructorRx.test(text) === false) {
88
- return obj;
89
- }
90
- }
91
- return filter(obj, { protoAction, constructorAction, safe: options && options.safe });
92
- }
93
- function filter(obj, { protoAction = "error", constructorAction = "error", safe } = {}) {
94
- let next = [obj];
95
- while (next.length) {
96
- const nodes = next;
97
- next = [];
98
- for (const node of nodes) {
99
- if (protoAction !== "ignore" && Object.prototype.hasOwnProperty.call(node, "__proto__")) {
100
- if (safe === true) {
101
- return null;
102
- } else if (protoAction === "error") {
103
- throw new SyntaxError("Object contains forbidden prototype property");
104
- }
105
- delete node.__proto__;
106
- }
107
- if (constructorAction !== "ignore" && Object.prototype.hasOwnProperty.call(node, "constructor") && node.constructor !== null && typeof node.constructor === "object" && Object.prototype.hasOwnProperty.call(node.constructor, "prototype")) {
108
- if (safe === true) {
109
- return null;
110
- } else if (constructorAction === "error") {
111
- throw new SyntaxError("Object contains forbidden prototype property");
112
- }
113
- delete node.constructor;
114
- }
115
- for (const key in node) {
116
- const value = node[key];
117
- if (value && typeof value === "object") {
118
- next.push(value);
119
- }
120
- }
121
- }
122
- }
123
- return obj;
124
- }
125
- function parse(text, reviver, options) {
126
- const { stackTraceLimit } = Error;
127
- Error.stackTraceLimit = 0;
128
- try {
129
- return _parse(text, reviver, options);
130
- } finally {
131
- Error.stackTraceLimit = stackTraceLimit;
132
- }
133
- }
134
- function safeParse(text, reviver) {
135
- const { stackTraceLimit } = Error;
136
- Error.stackTraceLimit = 0;
137
- try {
138
- return _parse(text, reviver, { safe: true });
139
- } catch {
140
- return void 0;
141
- } finally {
142
- Error.stackTraceLimit = stackTraceLimit;
143
- }
144
- }
145
- module.exports = parse;
146
- module.exports.default = parse;
147
- module.exports.parse = parse;
148
- module.exports.safeParse = safeParse;
149
- module.exports.scan = filter;
150
- }
151
- });
152
-
153
- // ../shared/utils/dist/src/boxplot.js
154
- function boxplot_getvalue(lst, removeOutliers = false) {
155
- const l = lst.length;
156
- if (l < 5) return { out: lst };
157
- const isN = typeof lst[0] === "number";
158
- const valueOf = isN ? (item) => item : (item) => item.value;
159
- const p50 = valueOf(lst[Math.floor(l / 2)]);
160
- const p25 = valueOf(lst[Math.floor(l / 4)]);
161
- const p75 = valueOf(lst[Math.floor(l * 3 / 4)]);
162
- const p05 = valueOf(lst[Math.floor(l * 0.05)]);
163
- const p95 = valueOf(lst[Math.floor(l * 0.95)]);
164
- const iqr = p75 - p25;
165
- let w1, w2;
166
- if (iqr === 0) {
167
- w1 = p25;
168
- w2 = p25;
169
- } else {
170
- const i = lst.findIndex((item) => valueOf(item) > p25 - iqr * 1.5);
171
- w1 = valueOf(lst[i === -1 ? 0 : i]);
172
- const j = lst.findIndex((item) => valueOf(item) > p75 + iqr * 1.5);
173
- w2 = valueOf(lst[j === -1 ? l - 1 : j - 1]);
174
- }
175
- const out = removeOutliers ? [] : lst.filter((item) => valueOf(item) < p25 - iqr * 1.5 || valueOf(item) > p75 + iqr * 1.5);
176
- return { w1, w2, p05, p25, p50, p75, p95, iqr, out };
177
- }
178
-
179
- // ../shared/utils/dist/src/bulk.js
180
- function init_bulk_flag(genome) {
181
- if (!genome) {
182
- return null;
183
- }
184
- const mclasslabel2key2 = {};
185
- for (const n in mclass) {
186
- mclasslabel2key2[mclass[n].label.toUpperCase()] = n;
187
- }
188
- return {
189
- genome,
190
- mclasslabel2key: mclasslabel2key2,
191
- data: {},
192
- // m.sample/m.patient come from parsed file lines; use null-prototype objects so a
193
- // value of "__proto__"/"constructor" cannot pollute Object.prototype
194
- sample2disease: /* @__PURE__ */ Object.create(null),
195
- // (proof) k: sample, v: disease
196
- // will only record this when origin is used
197
- patient2st: /* @__PURE__ */ Object.create(null),
198
- // k: patient, v: { k: sampletype, v: sample }
199
- // new sample names always override old
200
- good: 0,
201
- geneToUpper: true,
202
- // option to not force uppercase on gene names
203
- snv: {
204
- loaded: false,
205
- header: null,
206
- badlines: [],
207
- // jinghui: based on missense/silent ratio of entire dataset to decide whether to include silent when importing...
208
- // hard-coded class codes
209
- missense: 0,
210
- silent: 0
211
- },
212
- svjson: {
213
- loaded: false,
214
- header: null,
215
- badlines: []
216
- },
217
- fusion: {
218
- loaded: false,
219
- header: null,
220
- badlines: [],
221
- original: []
222
- },
223
- sv: {
224
- loaded: false,
225
- header: null,
226
- badlines: [],
227
- original: []
228
- },
229
- cnv: {
230
- loaded: false,
231
- header: null,
232
- badlines: []
233
- },
234
- itd: {
235
- loaded: false,
236
- header: null,
237
- badlines: []
238
- },
239
- del: {
240
- loaded: false,
241
- header: null,
242
- badlines: []
243
- },
244
- truncation: {
245
- loaded: false,
246
- header: null,
247
- badlines: []
248
- }
249
- };
250
- }
251
- function parsesample(m, flag, i, lst) {
252
- let variantorigin = moriginsomatic;
253
- if (m.sampletype) {
254
- const s = m.sampletype.toLowerCase();
255
- switch (s) {
256
- case "relapse":
257
- variantorigin = moriginrelapse;
258
- break;
259
- case "germline":
260
- variantorigin = morigingermline;
261
- break;
262
- case "somatic":
263
- case "diagnosis":
264
- break;
265
- }
266
- if (m.sample) {
267
- if (m.patient) {
268
- } else {
269
- m.patient = m.sample + " " + m.sampletype;
270
- }
271
- } else {
272
- if (m.patient) {
273
- m.sample = m.patient + " " + m.sampletype;
274
- } else {
275
- }
276
- }
277
- } else {
278
- if (m.patient) {
279
- if (m.sample) {
280
- m.sampletype = m.sample;
281
- } else {
282
- m.sample = m.sampletype = m.patient;
283
- }
284
- } else {
285
- if (m.sample) {
286
- m.sampletype = m.sample;
287
- } else {
288
- }
289
- }
290
- }
291
- if (m.origin) {
292
- const s = m.origin.toLowerCase();
293
- switch (s) {
294
- case "r":
295
- case "relapse":
296
- variantorigin = moriginrelapse;
297
- m.isrim2 = true;
298
- break;
299
- case "g":
300
- case "germline":
301
- variantorigin = morigingermline;
302
- m.isrim1 = true;
303
- break;
304
- case "gp":
305
- case "germline pathogenic":
306
- variantorigin = morigingermlinepathogenic;
307
- m.isrim1 = true;
308
- break;
309
- case "gnp":
310
- case "germline nonpathogenic":
311
- case "germline non-pathogenic":
312
- variantorigin = morigingermlinenonpathogenic;
313
- m.isrim1 = true;
314
- break;
315
- case "s":
316
- case "somatic":
317
- case "diagnosis":
318
- variantorigin = moriginsomatic;
319
- break;
320
- }
321
- }
322
- m.origin = variantorigin;
323
- if (!m.sample && !m.patient) {
324
- return;
325
- }
326
- const nopatientname = "no patient/individual name";
327
- if (m.patient) {
328
- if (!flag.patient2st[m.patient]) {
329
- flag.patient2st[m.patient] = /* @__PURE__ */ Object.create(null);
330
- }
331
- flag.patient2st[m.patient][m.sampletype] = m.sample;
332
- } else {
333
- if (!flag.patient2st[nopatientname]) {
334
- flag.patient2st[nopatientname] = /* @__PURE__ */ Object.create(null);
335
- }
336
- flag.patient2st[nopatientname][m.sampletype] = m.sample;
337
- }
338
- if (m.sample) {
339
- if (m.disease) {
340
- if (m.sample in flag.sample2disease) {
341
- if (m.disease != flag.sample2disease[m.sample]) {
342
- flag.snv.badlines.push([
343
- i,
344
- 'conflict of disease types for sample "' + m.sample + '": ' + m.disease + ", " + flag.sample2disease[m.sample],
345
- lst
346
- ]);
347
- return true;
348
- }
349
- } else {
350
- flag.sample2disease[m.sample] = m.disease;
351
- }
352
- }
353
- }
354
- return false;
355
- }
356
-
357
- // ../shared/utils/dist/src/clustering.js
358
- var clusterMethodLst = [
359
- {
360
- label: "Average",
361
- value: "average",
362
- title: `Cluster by average value`
363
- },
364
- {
365
- label: `Complete`,
366
- value: "complete",
367
- title: `Use the complete clustering method`
368
- },
369
- {
370
- label: `Single`,
371
- value: "single",
372
- title: `Use the single clustering method`
373
- },
374
- {
375
- label: `Ward.D`,
376
- value: "ward.D",
377
- title: `Use the ward.D clustering method`
378
- },
379
- {
380
- label: `Ward.D2`,
381
- value: "ward.D2",
382
- title: `Use the ward.D2 clustering method`
383
- },
384
- {
385
- label: `Mcquitty`,
386
- value: "mcquitty",
387
- title: `Use the Mcquity clustering method`
388
- }
389
- /* These methods are currently disabled because the dendrogram lines tend to cross one another.
390
- {
391
- label: `Centroid`,
392
- value: 'centroid',
393
- title: `Use the centroid clustering method`
394
- },
395
- {
396
- label: `Median`,
397
- value: 'median',
398
- title: `Use the median clustering method`
399
- }
400
- */
401
- ];
402
- var distanceMethodLst = [
403
- {
404
- label: "Euclidean",
405
- value: "euclidean",
406
- title: `Calculate distance using euclidean method`
407
- },
408
- {
409
- label: "Maximum",
410
- value: "maximum",
411
- title: `Maximum distance between two components of x and y`
412
- },
413
- {
414
- label: "Manhattan",
415
- value: "manhattan",
416
- title: `Calculate distance using the absolute distance between the two vectors`
417
- },
418
- {
419
- label: "Canberra",
420
- value: "canberra",
421
- title: `Calculate distance using Canberra method`
422
- }
423
- ];
424
-
425
- // ../shared/utils/dist/src/daSampleLimits.js
426
- var maxSampleCutoff = 4e3;
427
- function sampleLimitAlert(total, noun = "samples", limit = maxSampleCutoff) {
428
- return total > limit ? `${total} ${noun} selected exceeds the limit of ${limit} per run. Please narrow the cohort.` : "";
429
- }
430
-
431
- // ../shared/utils/dist/src/dmrColors.js
432
- var HYPER_COLOR = "#e66101";
433
- var HYPO_COLOR = "#5e81f4";
434
-
435
- // ../shared/utils/dist/src/compute.percentile.js
436
- function computePercentile(values, percentile, sorted = false) {
437
- if (!sorted) values.sort((a, b) => a - b);
438
- const index = Math.abs(percentile / 100 * values.length - 1);
439
- const value = Number.isInteger(index) ? (values[index] + values[index + 1]) / 2 : values[Math.ceil(index)];
440
- return value;
441
- }
442
-
443
- // ../shared/utils/dist/src/hash.js
444
- var encoder = new TextEncoder();
445
- async function hash(message) {
446
- const msgUint8 = encoder.encode(message);
447
- const hashBuffer = await crypto.subtle.digest("SHA-1", msgUint8);
448
- const hashArray = Array.from(new Uint8Array(hashBuffer));
449
- const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
450
- return hexToBase64(hashHex).replace("=", "-");
451
- }
452
- function hexToBase64(hexStr) {
453
- return btoa(
454
- [...hexStr].reduce(
455
- (acc, _, i) => acc += !(i - 1 & 1) ? String.fromCharCode(parseInt(hexStr.substring(i - 1, i + 1), 16)) : "",
456
- ""
457
- )
458
- );
459
- }
460
-
461
- // ../shared/utils/dist/src/urljson.js
462
- var import_secure_json_parse = __toESM(require_secure_json_parse(), 1);
463
- var reserved = ["false", "true", "null", "undefined"];
464
- var delimiters = ['"', "{", "["];
465
- function encode(rawObject) {
466
- const params = [];
467
- for (const [key, value] of Object.entries(rawObject)) {
468
- if (typeof value == "string" && !isNumeric(value) && !reserved.includes(value) && !delimiters.includes(value[0])) {
469
- params.push(`${key}=${encodeURIComponent(value)}`);
470
- } else if (value !== void 0) {
471
- params.push(`${key}=${encodeURIComponent(JSON.stringify(value))}`);
472
- }
473
- }
474
- return params.join("&");
475
- }
476
-
477
- // ../shared/utils/dist/src/fetch-helpers.js
478
- async function processResponse(r) {
479
- const ct = r.headers.get("content-type");
480
- if (!ct) throw `missing response.header['content-type']`;
481
- if (ct.includes("/json")) {
482
- const payload = await r.json();
483
- return payload;
484
- }
485
- if (ct.includes("/text") || ct.includes("text/")) {
486
- return r.text();
487
- }
488
- if (ct.includes("multipart")) {
489
- if (ct.startsWith("multipart/form-data")) return processFormData(r);
490
- else throw `cannot handle response content-type: '${ct}'`;
491
- }
492
- if (ct == "application/x-ndjson-nestedkey") {
493
- return processNDJSON_nestedKey(r);
494
- }
495
- return r.blob();
496
- }
497
- async function processFormData(res) {
498
- const data = {};
499
- const form = await res.formData();
500
- for (const [key, value] of form.entries()) {
501
- if (value.type) {
502
- data[key] = { headers: { "content-type": value.type }, body: value };
503
- } else {
504
- const body = !value ? [] : value.trim().split("\n").map(JSON.parse);
505
- data[key] = { headers: { "content-type": "application/json" }, body };
506
- }
507
- }
508
- return data;
509
- }
510
- async function processNDJSON_nestedKey(r) {
511
- const stream = r.body.pipeThrough(new TextDecoderStream());
512
- const reader = stream.getReader();
513
- let rootObj = {};
514
- let buffer = "";
515
- let done = false;
516
- while (!done) {
517
- const readResult = await reader.read();
518
- done = readResult.done;
519
- if (done) break;
520
- const value = readResult.value;
521
- buffer += value;
522
- const parts = buffer.split("\n");
523
- buffer = parts.pop() ?? "";
524
- for (const line of parts) {
525
- if (line.trim()) {
526
- const [keys, data] = JSON.parse(line);
527
- if (!keys.length) rootObj = data;
528
- else {
529
- const lastKey = keys.pop();
530
- let target = rootObj;
531
- for (const k of keys) target = target[k];
532
- target[lastKey] = data;
533
- }
534
- }
535
- }
536
- }
537
- return rootObj;
538
- }
539
- var cacheLifetime = 1e3 * 60 * 5;
540
- async function getDataName(url, init) {
541
- const dataName = url + " | " + init.method + " | " + init.body + " | " + JSON.stringify(init.headers);
542
- return await hash(dataName);
543
- }
544
-
545
- // ../shared/utils/dist/src/fileSize.js
546
- function fileSize(v) {
547
- if (v > 1e9) return (v / 1e9).toFixed(2) + " GB";
548
- if (v > 1e6) return (v / 1e6).toFixed(2) + " MB";
549
- if (v > 1e3) return (v / 1e3).toFixed(2) + " KB";
550
- return v + " Bytes";
551
- }
552
-
553
- // ../shared/utils/dist/src/mds3tk.js
554
- var ssmIdFieldsSeparator = "__";
555
- function summarize_mclass(mlst) {
556
- const m2c = /* @__PURE__ */ new Map();
557
- const cnvs = [];
558
- for (const m of mlst) {
559
- if (m.dt == dtcnv) {
560
- cnvs.push(m);
561
- continue;
562
- }
563
- const key = m.class || m.dt;
564
- m2c.set(key, 1 + (m2c.get(key) || 0));
565
- }
566
- if (cnvs.length) {
567
- if (Number.isFinite(cnvs[0].value)) {
568
- m2c.set(dtcnv, cnvs.length);
569
- } else {
570
- for (const c of cnvs) {
571
- if (!c.class) continue;
572
- m2c.set(c.class, 1 + (m2c.get(c.class) || 0));
573
- }
574
- }
575
- }
576
- return [...m2c].sort((i, j) => j[1] - i[1]);
577
- }
578
- function guessSsmid(ssmid) {
579
- const l = ssmid.split(ssmIdFieldsSeparator);
580
- if (l.length == 4) {
581
- const [chr, tmp, ref, alt] = l;
582
- const pos = Number(tmp);
583
- if (Number.isNaN(pos)) throw "ssmid snvindel pos not integer";
584
- return { dt: dtsnvindel, l: [chr, pos, ref, alt] };
585
- }
586
- if (l.length == 5) {
587
- const [chr, _start, _stop, _class, _value] = l;
588
- const start = Number(_start), stop = Number(_stop);
589
- if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
590
- const value = _value == "" ? null : Number(_value);
591
- if (_class == mclassitd) {
592
- return { dt: dtitd, l: [chr, start, stop, _class, value] };
593
- }
594
- return { dt: dtcnv, l: [chr, start, stop, _class, value] };
595
- }
596
- if (l.length == 6) {
597
- if (l[3] == "+" || l[3] == "-") {
598
- const [_dt, chr2, _pos, strand, _pi, _mname] = l;
599
- const mname = decodeURIComponent(_mname);
600
- const dt = Number(_dt);
601
- if (dt != dtsv && dt != dtfusionrna) throw "ssmid dt not sv/fusion";
602
- const pos = Number(_pos);
603
- if (Number.isNaN(pos)) throw "ssmid svfusion position not integer";
604
- const pairlstIdx = Number(_pi);
605
- if (Number.isNaN(pairlstIdx)) throw "ssmid pairlstIdx not integer";
606
- return { dt, l: [dt, chr2, pos, strand, pairlstIdx, mname] };
607
- }
608
- const [chr, _start, _stop, _class, _value, sample] = l;
609
- const start = Number(_start), stop = Number(_stop);
610
- if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
611
- if (_class == mclassitd) {
612
- return { dt: dtitd, l: [chr, start, stop, _class, _value, sample] };
613
- }
614
- const value = _value == "" ? null : Number(_value);
615
- return { dt: dtcnv, l: [chr, start, stop, _class, value, sample] };
616
- }
617
- throw new Error("unknown ssmid");
618
- }
619
-
620
- // ../shared/utils/dist/src/pairwiseTests.js
621
- var defaultMaxPairwiseTestGroups = 8;
622
- var pairwiseTestGroupsLimit = 30;
623
-
624
- // ../shared/utils/dist/src/scatter.js
625
- var xAxisOffSet = 80;
626
- var yAxisOffSet = 30;
627
- function getCoordinate(val, min, max) {
628
- if (min != null && val < min) return min;
629
- if (max != null && val > max) return max;
630
- return val;
631
- }
632
- function calculatePadding(minScale, maxScale, min, max) {
633
- return minScale != null || maxScale != null ? 0 : (max - min) * 0.01;
634
- }
635
-
636
- // ../shared/utils/dist/src/termdb.bins.js
637
- function validate_bins(binconfig) {
638
- const bc = binconfig;
639
- if (!bc || typeof bc !== "object") throw "bin schema must be an object";
640
- if (!("type" in bc)) bc.type = "regular-bin";
641
- if (bc.type == "custom-bin") {
642
- if (!Array.isArray(bc.lst)) throw "binconfig.lst must be an array";
643
- if (!bc.lst.length) throw "binconfig.lst must have entries";
644
- const first_bin = bc.lst[0];
645
- const last_bin = bc.lst[bc.lst.length - 1];
646
- for (const bin of bc.lst) {
647
- if (!("startinclusive" in bin) && !("stopinclusive" in bin)) {
648
- throw "custom bin.startinclusive and/or bin.stopinclusive must be defined";
649
- }
650
- if (bin == first_bin) {
651
- if ("startunbounded" in bin && !bin.startunbounded) {
652
- throw `a custom first bin must not set bin.startunbounded to false`;
653
- }
654
- bin.startunbounded = true;
655
- if ("start" in bin) {
656
- throw "a custom first bin must not set a bin.start value";
657
- }
658
- if ("start_percentile" in bin) {
659
- throw "the first bin must not set a bin.start_percentile value";
660
- }
661
- if (!("stop" in bin)) {
662
- throw `a custom first bin must define a bin.stop value`;
663
- }
664
- if (!isStrictNumeric(bin.stop)) {
665
- throw `a custom first bin.stop value should be numeric`;
666
- }
667
- } else if (bin == last_bin) {
668
- if (!("start" in bin)) {
669
- throw `a custom last bin must define a bin.start value`;
670
- }
671
- if (!isStrictNumeric(bin.start)) {
672
- throw `a custom last bin.start must be numeric`;
673
- }
674
- if ("stopunbounded" in bin && !bin.stopunbounded) {
675
- throw "a custom last bin must not set bin.stopunbounded to false";
676
- }
677
- bin.stopunbounded = true;
678
- if ("stop" in bin) {
679
- throw "a custom last bin must not set a bin.stop value";
680
- }
681
- } else {
682
- if (bin.startunbounded || bin.stopunbounded) {
683
- throw "bin.startunbounded and bin.stopunbounded must not be set for non-first/non-last bins";
684
- }
685
- if (!isStrictNumeric(bin.start)) throw "bin.start must be numeric for a non-first bin";
686
- if (!isStrictNumeric(bin.stop)) throw "bin.stop must be numeric for a non-last bin";
687
- }
688
- }
689
- } else if (bc.type == "regular-bin") {
690
- if (!Number.isFinite(bc.bin_size)) throw "non-numeric bin_size";
691
- if (!bc.bin_size || bc.bin_size <= 0) throw "bin_size must be greater than 0";
692
- if (!bc.startinclusive && !bc.stopinclusive) {
693
- bc.startinclusive = true;
694
- bc.stopinclusive = false;
695
- }
696
- if (!bc.first_bin) throw "first_bin{} missing";
697
- if (typeof bc.first_bin != "object") throw "first_bin{} is not an object";
698
- if (!Object.keys(bc.first_bin).length) throw "first_bin is an empty object";
699
- {
700
- const b = bc.first_bin;
701
- b.startunbounded = true;
702
- if (b.stop_percentile) {
703
- if (!Number.isInteger(b.stop_percentile)) throw "first_bin.stop_percentile should be integer";
704
- if (b.stop_percentile <= 0 || b.stop_percentile >= 100) throw "first_bin.stop_percentile out of bound (0-100)";
705
- } else if (!Number.isFinite(b.stop)) {
706
- throw "first_bin.stop not a number when stop_percentile is not set";
707
- }
708
- }
709
- if (bc.last_bin) {
710
- const b = bc.last_bin;
711
- if (b.start_percentile) {
712
- if (!Number.isInteger(b.start_percentile)) throw "last_bin.start_percentile should be integer";
713
- if (b.start_percentile <= 0 || b.start_percentile >= 100) throw "last_bin.start_percentile out of bound (0-100)";
714
- } else if (!Number.isFinite(b.start)) {
715
- throw "last_bin.start not a number when start_percentile is not set";
716
- }
717
- b.stopunbounded = true;
718
- if ("stop" in b) {
719
- throw "a regular last bin must not set a bin.stop value";
720
- }
721
- }
722
- } else {
723
- throw `invalid binconfig.type="${bc.type}"`;
724
- }
725
- }
726
- var maxNumBins = 100;
727
- function compute_bins(binconfig, summaryfxn, valueConversion) {
728
- const bc = binconfig;
729
- validate_bins(bc);
730
- if (bc.lst) {
731
- if (!Array.isArray(bc.lst)) throw `bc.lst is not an array`;
732
- if (bc.lst.length > maxNumBins) throw `bc.lst exceed the maximum of ${maxNumBins} allowed entries`;
733
- assignBinColors(bc.lst);
734
- }
735
- if (bc.type == "custom-bin") return JSON.parse(JSON.stringify(bc.lst));
736
- if (typeof summaryfxn != "function") throw "summaryfxn required for modules/termdb.bins.js compute_bins()";
737
- const percentiles = target_percentiles(bc);
738
- const summary = summaryfxn(percentiles);
739
- if (!summary || typeof summary !== "object") throw "invalid returned value by summaryfxn";
740
- bc.results = { summary };
741
- if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
742
- const minFloor = Math.floor(summary.min * 100) / 100;
743
- const maxCeil = Math.ceil(summary.max * 100) / 100;
744
- const min = bc.first_bin.startunbounded ? minFloor : bc.first_bin.start_percentile ? summary["p" + bc.first_bin.start_percentile] : bc.first_bin.start;
745
- let max = maxCeil, last_start, last_stop;
746
- if (bc.last_bin) {
747
- max = bc.last_bin.stopunbounded ? maxCeil : bc.last_bin.stop_percentile ? summary["p" + bc.last_bin.stop_percentile] : isNumeric(bc.last_bin.stop) && bc.last_bin.stop <= summary.max ? bc.last_bin.stop : maxCeil;
748
- last_start = isStrictNumeric(bc.last_bin.start_percentile) ? summary["p" + bc.last_bin.start_percentile] : isStrictNumeric(bc.last_bin.start) ? bc.last_bin.start : void 0;
749
- last_stop = bc.last_bin.stopunbounded ? null : bc.last_bin.stop_percentile ? summary["p" + bc.last_bin.stop_percentile] : isStrictNumeric(bc.last_bin.stop) ? bc.last_bin.stop : null;
750
- } else if (bc.lst) {
751
- const last_bin = bc.lst[bc.lst.length - 1];
752
- last_start = last_bin.start;
753
- last_stop = "stop" in last_bin && !last_bin.stopunbounded ? last_bin.stop : maxCeil;
754
- max = last_stop;
755
- } else {
756
- last_start = maxCeil;
757
- last_stop = maxCeil;
758
- }
759
- const numericMax = isStrictNumeric(max);
760
- const numericLastStart = isStrictNumeric(last_start);
761
- const numericLastStop = isStrictNumeric(last_stop);
762
- if (!numericMax && !numericLastStart) return [];
763
- const bins = [];
764
- let currBin = {
765
- startunbounded: bc.first_bin.startunbounded,
766
- start: bc.first_bin.startunbounded ? void 0 : min,
767
- stop: isStrictNumeric(bc.first_bin.stop_percentile) ? +summary["p" + bc.first_bin.stop_percentile] : isStrictNumeric(bc.first_bin.stop) ? +bc.first_bin.stop : min + bc.bin_size,
768
- startinclusive: bc.startinclusive,
769
- stopinclusive: bc.stopinclusive
770
- };
771
- if (!isStrictNumeric(currBin.stop)) throw "the computed first_bin.stop is non-numeric" + currBin.stop;
772
- while (numericMax && currBin.stop <= max || currBin.startunbounded && !bins.length || currBin.stopunbounded) {
773
- bins.push(currBin);
774
- if (currBin.stop >= max) {
775
- currBin.stopunbounded = true;
776
- if (bins.length > 1) {
777
- delete currBin.stop;
778
- }
779
- }
780
- currBin.label = get_bin_label(currBin, bc, valueConversion);
781
- if (currBin.stopunbounded) break;
782
- const upper = currBin.stop + bc.bin_size;
783
- const previousStop = currBin.stop;
784
- currBin = {
785
- startinclusive: bc.startinclusive,
786
- stopinclusive: bc.stopinclusive,
787
- start: previousStop,
788
- stop: numericLastStop && (previousStop == last_start || upper > last_stop) ? last_stop : numericLastStart && upper > last_start && previousStop != last_start ? last_start : upper
789
- };
790
- if (currBin.stop >= max) {
791
- currBin.stop = max;
792
- if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
793
- if (bc.last_bin && bc.last_bin.stopinclusive) currBin.stopinclusive = 1;
794
- }
795
- if (numericLastStart && currBin.start == last_start) {
796
- if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
797
- }
798
- if (currBin.start > currBin.stop) {
799
- if (numericLastStart && currBin.stop == last_start && bc.last_bin && bc.last_bin.stopunbounded)
800
- currBin.stopunbounded = true;
801
- else break;
802
- }
803
- if (bins.length + 1 >= maxNumBins) {
804
- delete currBin.stop;
805
- currBin.stopunbounded = true;
806
- currBin.label = get_bin_label(currBin, bc, valueConversion);
807
- if (!bins.includes(currBin)) bins.push(currBin);
808
- const hint = "Please increase the bin_size or first bin stop, or have a lower last bin start.";
809
- throw new Error(hint + " (max_num_bins_reached)");
810
- }
811
- }
812
- delete bc.binLabelFormatter;
813
- if (bins.length > 1) {
814
- delete bins[bins.length - 1].stop;
815
- }
816
- assignBinColors(bins);
817
- return bins;
818
- }
819
- function assignBinColors(lst) {
820
- const k2c = getColors(lst.length);
821
- for (const [i, bin] of lst.entries()) bin.color = k2c(String(i));
822
- return lst;
823
- }
824
- function getNumDecimalsFormatter(bc) {
825
- return "rounding" in bc ? format(bc.rounding) : (d) => d;
826
- }
827
- function get_bin_label(bin, binconfig, valueConversion) {
828
- if (!bin) return "missing bin.label";
829
- if (bin.label) return bin.label;
830
- const bc = binconfig;
831
- if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
832
- if (!bin.startunbounded && !bin.stopunbounded && !("startinclusive" in bin) && !("stopinclusive" in bin)) {
833
- if (bc.startinclusive) bin.startinclusive = true;
834
- else if (bc.stopinclusive) bin.stopinclusive = true;
835
- }
836
- const start = bc.use_as == "bins" || bin.start;
837
- const stop = bc.use_as == "bins" || bin.stop;
838
- let label_offset = 0;
839
- if ("label_offset" in bc) {
840
- bc.label_offset_ignored = "bin_size" in bc && bc.bin_size < bc.label_offset;
841
- if (!bc.label_offset_ignored) label_offset = bc.label_offset;
842
- } else if (bc.bin_size === 1 && bc.termtype == "integer") {
843
- label_offset = 1;
844
- }
845
- if (bin.startunbounded) {
846
- const oper = bin.stopinclusive ? "\u2264" : "<";
847
- const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(stop);
848
- return oper + v1;
849
- }
850
- if (bin.stopunbounded || start === stop) {
851
- const oper = bin.startinclusive ? "\u2265" : ">";
852
- const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
853
- return oper + v0;
854
- }
855
- if (label_offset && bin.startinclusive && !bin.stopinclusive) {
856
- if (Number.isInteger(bc.bin_size) && Math.abs(start - stop) === label_offset) {
857
- return "" + (valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start));
858
- } else {
859
- const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
860
- const v1 = valueConversion ? convertUnits(
861
- stop - label_offset,
862
- valueConversion.fromUnit,
863
- valueConversion.toUnit,
864
- valueConversion.scaleFactor,
865
- true
866
- ) : bc.binLabelFormatter(stop - label_offset);
867
- return +v0 >= +v1 ? v0.toString() : v0 + " to " + v1;
868
- }
869
- } else {
870
- const oper0 = bin.startinclusive ? "" : ">";
871
- const oper1 = bin.stopinclusive ? "" : "<";
872
- const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(start) ? start : bc.binLabelFormatter(start);
873
- const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(stop) ? stop : bc.binLabelFormatter(stop);
874
- if (+v0 >= +v1) {
875
- const oper = bin.startinclusive ? "\u2265" : ">";
876
- return oper + v0;
877
- } else {
878
- return oper0 + v0 + " to " + oper1 + v1;
879
- }
880
- }
881
- }
882
- function get_bin_range_equation(bin, binconfig, valueConversion) {
883
- const x = '<span style="font-family:Times;font-style:italic;">x</span>';
884
- let range_eq;
885
- const copy = structuredClone(bin);
886
- copy.label = "";
887
- for (const k of ["start", "stop"]) {
888
- if (k in copy && typeof copy[k] != "number") copy[k] = isNumeric(copy[k]) ? Number(copy[k]) : NaN;
889
- }
890
- const bin_label = get_bin_label(copy, binconfig, valueConversion);
891
- if (bin.startunbounded || bin.stopunbounded) {
892
- range_eq = x + " " + bin_label;
893
- } else if (bin.startinclusive) {
894
- range_eq = bin_label.replace("to <", "\u2264 " + x + " <");
895
- } else if (bin.stopinclusive) {
896
- range_eq = bin_label.replace(">", "").replace("to", "< " + x + " \u2264");
897
- }
898
- return range_eq;
899
- }
900
- function target_percentiles(binconfig) {
901
- const percentiles = [];
902
- const f = binconfig.first_bin;
903
- if (f && isStrictNumeric(f.start_percentile)) percentiles.push(f.start_percentile);
904
- if (f && isStrictNumeric(f.stop_percentile)) percentiles.push(f.stop_percentile);
905
- const l = binconfig.last_bin;
906
- if (l && isStrictNumeric(l.start_percentile)) percentiles.push(l.start_percentile);
907
- if (l && isStrictNumeric(l.stop_percentile)) percentiles.push(l.stop_percentile);
908
- return percentiles;
909
- }
910
-
911
- // ../shared/utils/dist/src/termdb.initbinconfig.js
912
- function initBinConfig(data, opts = {}) {
913
- if (!data.length)
914
- return { mode: "discrete", type: "regular-bin", startinclusive: true, bin_size: null, first_bin: { stop: null } };
915
- if (data.find((d) => !Number.isFinite(d))) throw new Error("non-numeric values found");
916
- let binConfig;
917
- const s = new Set(data);
918
- if (s.size === 1) {
919
- const value = [...s][0];
920
- binConfig = {
921
- type: "custom-bin",
922
- lst: [
923
- { stop: value, stopinclusive: false, startunbounded: true, label: "<" + value },
924
- { start: value, stop: value, startinclusive: true, stopinclusive: true, label: "=" + value },
925
- { start: value, startinclusive: false, stopunbounded: true, label: ">" + value }
926
- ]
927
- };
928
- } else {
929
- data.sort((a, b) => a - b);
930
- const l = data.length;
931
- const min = data[0];
932
- const max = data[l - 1];
933
- const p5idx = Math.ceil(l * 0.05) - 1;
934
- const p98idx = Math.ceil(l * 0.98) - 1;
935
- const p5 = data[p5idx];
936
- const p98 = data[p98idx];
937
- const binSize = p98 != p5 ? (p98 - p5) / 8 : (max - min) / 8;
938
- const firstBinStop = Math.max(min + binSize, p5);
939
- const [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding] = roundBinVals(binSize, firstBinStop, max, min);
940
- binConfig = {
941
- type: "regular-bin",
942
- startinclusive: true,
943
- bin_size: binSize_rnd,
944
- first_bin: { stop: firstBinStop_rnd }
945
- };
946
- if (lastBinStart_rnd) binConfig.last_bin = { start: lastBinStart_rnd };
947
- if (rounding) binConfig.rounding = rounding;
948
- }
949
- if ("format" in opts) {
950
- if (opts.format === "string") {
951
- return JSON.stringify(binConfig);
952
- } else {
953
- throw "options are not in the correct format";
954
- }
955
- } else {
956
- return binConfig;
957
- }
958
- }
959
- function roundBinVals(binSize, firstBinStop, max, min) {
960
- let binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding;
961
- const log = Math.floor(Math.log10(binSize));
962
- if (binSize >= 0.1 && binSize <= 2) {
963
- binSize_rnd = Math.round(binSize / (1 * 10 ** log)) * (1 * 10 ** log);
964
- firstBinStop_rnd = Math.round(firstBinStop / (1 * 10 ** log)) * (1 * 10 ** log);
965
- } else {
966
- binSize_rnd = Math.round(binSize / (5 * 10 ** log)) * (5 * 10 ** log);
967
- firstBinStop_rnd = Math.round(firstBinStop / (5 * 10 ** log)) * (5 * 10 ** log);
968
- if (binSize_rnd === 0) binSize_rnd = 1 * 10 ** log;
969
- if (firstBinStop_rnd === 0) firstBinStop_rnd = 1 * 10 ** log;
970
- if (binSize_rnd === 5 * 10 ** log && firstBinStop_rnd === 1 * 10 ** log) firstBinStop_rnd = 5 * 10 ** log;
971
- }
972
- if (firstBinStop_rnd < min) firstBinStop_rnd = firstBinStop_rnd * 2;
973
- const eighthBinStop_rnd = firstBinStop_rnd + binSize_rnd * 7;
974
- if (max > eighthBinStop_rnd) {
975
- lastBinStart_rnd = firstBinStop_rnd + binSize_rnd * 6;
976
- }
977
- if (binSize < 1) {
978
- const digits = Math.abs(log);
979
- binSize_rnd = Number(binSize_rnd.toFixed(digits));
980
- firstBinStop_rnd = Number(firstBinStop_rnd.toFixed(digits));
981
- if (lastBinStart_rnd) lastBinStart_rnd = Number(lastBinStart_rnd.toFixed(digits));
982
- rounding = "." + digits + "f";
983
- }
984
- if (Object.is(firstBinStop_rnd, -0)) firstBinStop_rnd = 0;
985
- return [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding];
986
- }
987
-
988
- // ../shared/utils/dist/src/termdb.usecase.js
989
- var graphableTypes = /* @__PURE__ */ new Set([
990
- "categorical",
991
- "integer",
992
- "float",
993
- "condition",
994
- "survival",
995
- "snplst",
996
- "snplocus",
997
- "geneVariant",
998
- "samplelst",
999
- "geneExpression",
1000
- ISOFORM_EXPRESSION,
1001
- "dtcnv",
1002
- "dtsnvindel",
1003
- "dtfusion",
1004
- "dtsv",
1005
- "date",
1006
- TermTypes.SSGSEA,
1007
- TermTypes.DNA_METHYLATION,
1008
- TermTypes.METABOLITE_INTENSITY,
1009
- TermTypes.PROTEOME_ABUNDANCE,
1010
- TermTypes.PSEUDOBULK,
1011
- TermTypes.JUNCTION,
1012
- SINGLECELL_GENE_EXPRESSION,
1013
- SINGLECELL_CELLTYPE,
1014
- TermTypes.SINGLECELL_NUMERIC_VALUE,
1015
- TermTypes.SNP,
1016
- TermTypes.TERM_COLLECTION,
1017
- TermTypes.COHORT,
1018
- TermTypes.MULTIVALUE
1019
- ]);
1020
- function isUsableTerm(term, _usecase, termdbConfig, ds) {
1021
- const usecase = _usecase || {};
1022
- if (typeof ds?.usecase?.[usecase.target] == "function") {
1023
- return ds.usecase[usecase.target](term, usecase);
1024
- }
1025
- const uses = /* @__PURE__ */ new Set();
1026
- const child_types = term.child_types || [];
1027
- switch (usecase.target) {
1028
- case "barchart":
1029
- case "violin":
1030
- case "boxplot":
1031
- case "summary": {
1032
- const excluded = usecase.detail == "term2" ? ["survival", "multivalue"] : ["survival"];
1033
- if (term.type && !excluded.includes(term.type)) uses.add("plot");
1034
- if (hasAllowedChildTypes({ child_types, excluded_types: excluded })) uses.add("branch");
1035
- return uses;
1036
- }
1037
- case "summaryInput":
1038
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1039
- const excluded = usecase.detail === "term2" ? ["survival", "multivalue"] : ["survival"];
1040
- if (term.type && !excluded.includes(term.type)) uses.add("plot");
1041
- if (hasAllowedChildTypes({ child_types, excluded_types: excluded })) uses.add("branch");
1042
- return uses;
1043
- } else {
1044
- if (graphableTypes.has(term.type)) uses.add("plot");
1045
- if (!term.isleaf) uses.add("branch");
1046
- return uses;
1047
- }
1048
- case "matrix":
1049
- if (term.type) uses.add("plot");
1050
- if (!term.isleaf) uses.add("branch");
1051
- return uses;
1052
- case "table":
1053
- if (usecase.detail == "term") uses.add("plot");
1054
- if (child_types.length > 1) uses.add("branch");
1055
- return uses;
1056
- case "sampleScatter":
1057
- if (usecase.detail == "numeric") {
1058
- if (isNumericTerm(term)) {
1059
- uses.add("plot");
1060
- }
1061
- if (hasNumericChild(child_types)) uses.add("branch");
1062
- } else {
1063
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1064
- if (!term.isleaf) uses.add("branch");
1065
- }
1066
- return uses;
1067
- case "runChart2":
1068
- if (usecase.detail == "date" || usecase.detail == "xtw") {
1069
- if (term.type == "date") {
1070
- uses.add("plot");
1071
- }
1072
- if (child_types.includes("date")) uses.add("branch");
1073
- } else if (usecase.detail == "numeric") {
1074
- if (isNumericTerm(term) && term.type != "date") {
1075
- uses.add("plot");
1076
- }
1077
- if (hasNumericChild(child_types)) uses.add("branch");
1078
- } else {
1079
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1080
- if (!term.isleaf) uses.add("branch");
1081
- }
1082
- return uses;
1083
- case "numericDictTermCluster":
1084
- if (!usecase.detail?.exclude?.includes(term.id)) {
1085
- if (isNumericTerm(term)) {
1086
- uses.add("plot");
1087
- }
1088
- if (hasNumericChild(child_types)) {
1089
- uses.add("branch");
1090
- }
1091
- }
1092
- return uses;
1093
- case "termCollections":
1094
- if (usecase.detail?.termIds?.includes(term.id)) uses.add("plot");
1095
- if (usecase.detail?.branchIds?.includes(term.id)) uses.add("branch");
1096
- return uses;
1097
- case "profileForms":
1098
- if (!term.isleaf) {
1099
- const ancestors = term.id.split("__").length;
1100
- if (ancestors == 3) {
1101
- uses.add("plot");
1102
- } else if (ancestors < 3) uses.add("branch");
1103
- }
1104
- return uses;
1105
- // case 'boxplot':
1106
- // if (term.type == 'float' || term.type == 'integer') uses.add('plot')
1107
- // if (usecase.detail === 'term2' && hasNumericChild(child_types)) uses.add('branch')
1108
- // return uses
1109
- case "cuminc":
1110
- if (usecase.detail == "term") {
1111
- if (term.type == "condition") uses.add("plot");
1112
- if (child_types.includes("condition")) uses.add("branch");
1113
- return uses;
1114
- }
1115
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1116
- if (term.type && term.type != "condition" && term.type != "survival" && term.type != "multivalue")
1117
- uses.add("plot");
1118
- if (hasAllowedChildTypes({
1119
- child_types,
1120
- excluded_types: ["condition", "survival", "multivalue"]
1121
- }))
1122
- uses.add("branch");
1123
- return uses;
1124
- }
1125
- return uses;
1126
- case "survival":
1127
- if (usecase.detail == "term") {
1128
- if (term.type == "survival") uses.add("plot");
1129
- if (child_types.includes("survival")) uses.add("branch");
1130
- return uses;
1131
- }
1132
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1133
- if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1134
- if (hasAllowedChildTypes({ child_types, excluded_types: ["survival", "multivalue"] })) uses.add("branch");
1135
- return uses;
1136
- }
1137
- return uses;
1138
- case "regression":
1139
- if (usecase.detail == "outcome") {
1140
- if (usecase.regressionType == "linear") {
1141
- if (term.type == "float" || term.type == "integer") uses.add("plot");
1142
- if (hasNumericChild(child_types)) uses.add("branch");
1143
- return uses;
1144
- }
1145
- if (usecase.regressionType == "logistic") {
1146
- if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1147
- if (hasAllowedChildTypes({ child_types, excluded_types: ["survival", "multivalue"] })) uses.add("branch");
1148
- return uses;
1149
- } else if (usecase.regressionType == "cox") {
1150
- if (term.type == "condition" || term.type == "survival") uses.add("plot");
1151
- if (child_types.includes("condition") || child_types.includes("survival")) uses.add("branch");
1152
- return uses;
1153
- }
1154
- }
1155
- if (usecase.detail == "independent") {
1156
- if (term.type == TermTypes.TERM_COLLECTION) {
1157
- if (term.memberType == "numeric") uses.add("plot");
1158
- return uses;
1159
- }
1160
- if (term.type == "float" || term.type == "integer" || term.type == "categorical" || term.type == "samplelst")
1161
- uses.add("plot");
1162
- if (hasAllowedChildTypes({ child_types, included_types: ["categorical", "float", "integer"] }))
1163
- uses.add("branch");
1164
- return uses;
1165
- }
1166
- return uses;
1167
- case "filter": {
1168
- if (term.type == "samplelst" && !samplelstListsSamples(term)) return uses;
1169
- const exlst = termdbConfig?.excludedTermtypeByTarget?.filter;
1170
- if (exlst) {
1171
- if (graphableTypes.has(term.type) && !exlst.includes(term.type)) uses.add("plot");
1172
- if (child_types.find((t) => !exlst.includes(t))) uses.add("branch");
1173
- return uses;
1174
- }
1175
- if (graphableTypes.has(term.type)) uses.add("plot");
1176
- if (!term.isleaf) uses.add("branch");
1177
- return uses;
1178
- }
1179
- case "correlationVolcano":
1180
- if (usecase.detail == "numeric") {
1181
- if (isNumericTerm(term)) {
1182
- uses.add("plot");
1183
- }
1184
- if (hasNumericChild(child_types)) uses.add("branch");
1185
- } else {
1186
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1187
- if (!term.isleaf) uses.add("branch");
1188
- }
1189
- return uses;
1190
- case "proteinView":
1191
- if (term.type == TermTypes.PROTEOME_ABUNDANCE) uses.add("plot");
1192
- if (child_types.includes(TermTypes.PROTEOME_ABUNDANCE)) uses.add("branch");
1193
- return uses;
1194
- case "brainImaging": {
1195
- const allowMultivalue = usecase.detail == "term0";
1196
- if (graphableTypes.has(term.type) && (allowMultivalue || term.type != "multivalue")) uses.add("plot");
1197
- if (!term.isleaf) uses.add("branch");
1198
- return uses;
1199
- }
1200
- case "swimmer": {
1201
- if (usecase.detail == "pointTerm") {
1202
- const excluded2 = ["survival", "multivalue"];
1203
- if (graphableTypes.has(term.type) && !excluded2.includes(term.type) && hasSampleType(term.sample_type, usecase.sampleTypes))
1204
- uses.add("plot");
1205
- if (hasAllowedChildTypes({
1206
- child_types,
1207
- child_sample_types: term.child_sample_types,
1208
- excluded_types: excluded2,
1209
- included_sample_types: usecase.sampleTypes
1210
- }))
1211
- uses.add("branch");
1212
- return uses;
1213
- }
1214
- const excluded = ["survival"];
1215
- if (graphableTypes.has(term.type) && !excluded.includes(term.type)) uses.add("plot");
1216
- if (hasAllowedChildTypes({ child_types, excluded_types: excluded })) uses.add("branch");
1217
- return uses;
1218
- }
1219
- case "sunburst": {
1220
- const allowed = ["categorical", "integer", "float"];
1221
- if (allowed.includes(term.type) && hasSampleType(term.sample_type, usecase.sampleTypes)) uses.add("plot");
1222
- if (hasAllowedChildTypes({
1223
- child_types,
1224
- child_sample_types: term.child_sample_types,
1225
- included_types: allowed,
1226
- included_sample_types: usecase.sampleTypes
1227
- }))
1228
- uses.add("branch");
1229
- return uses;
1230
- }
1231
- case "dictionary":
1232
- if (graphableTypes.has(term.type)) uses.add("plot");
1233
- if (!term.isleaf) uses.add("branch");
1234
- return uses;
1235
- default:
1236
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1237
- if (!term.isleaf) uses.add("branch");
1238
- return uses;
1239
- }
1240
- }
1241
- function hasAllowedChildTypes(arg) {
1242
- const {
1243
- child_types,
1244
- child_sample_types,
1245
- included_types,
1246
- excluded_types,
1247
- included_sample_types,
1248
- excluded_sample_types
1249
- } = arg;
1250
- const hasTypeCriteria = child_types?.length || included_types?.length || excluded_types?.length;
1251
- const hasSampleTypeCriteria = child_sample_types?.length || included_sample_types?.length || excluded_sample_types?.length;
1252
- if (!hasTypeCriteria && !hasSampleTypeCriteria) return false;
1253
- if (hasTypeCriteria && !hasAllowedChildValues(child_types, included_types, excluded_types)) return false;
1254
- if (hasSampleTypeCriteria && !hasAllowedChildValues(child_sample_types, included_sample_types, excluded_sample_types))
1255
- return false;
1256
- return true;
1257
- }
1258
- function hasAllowedChildValues(child_values, included_values, excluded_values) {
1259
- if (!child_values?.length) return false;
1260
- return child_values.some(
1261
- (value) => (!included_values?.length || included_values.includes(value)) && !excluded_values?.includes(value)
1262
- );
1263
- }
1264
- function hasNumericChild(child_types) {
1265
- return child_types.includes("float") || child_types.includes("integer");
1266
- }
1267
- function hasSampleType(sample_type, allowed) {
1268
- if (!allowed?.length) return true;
1269
- return allowed.includes(Number(sample_type));
1270
- }
1271
- function samplelstListsSamples(term) {
1272
- const groups = Object.values(term.values || {});
1273
- return groups.length > 0 && groups.every((g) => Array.isArray(g.list));
1274
- }
1275
-
1276
- // ../shared/utils/dist/src/time.js
1277
- function formatElapsedTime(ms, precision = 2) {
1278
- if (typeof ms !== "number" || isNaN(ms)) {
1279
- return typeof ms !== "number" ? "Invalid time: not a number" : "Invalid time: NaN";
1280
- }
1281
- if (!isFinite(ms)) {
1282
- return ms > 0 ? "Infinite time" : "-Infinite time";
1283
- }
1284
- const absMs = Math.abs(ms);
1285
- const sign = ms < 0 ? "-" : "";
1286
- if (absMs < 1e3) {
1287
- return `${sign}${absMs}ms`;
1288
- }
1289
- if (absMs < 6e4) {
1290
- return `${sign}${(absMs / 1e3).toFixed(precision)}s`;
1291
- }
1292
- const minutes = Math.floor(absMs / 6e4);
1293
- const seconds = (absMs % 6e4 / 1e3).toFixed(precision);
1294
- return `${sign}${minutes}m ${seconds}s`;
1295
- }
1296
-
1297
- // ../shared/utils/dist/src/vcf.ann.js
1298
- function parse_ANN(str, header, m) {
1299
- if (!header) {
1300
- return null;
1301
- }
1302
- for (const thisannotation of str.split(",")) {
1303
- const lst = thisannotation.replace(/&/g, ",").split("|");
1304
- const o = {};
1305
- for (let i = 0; i < header.length; i++) {
1306
- if (lst[i]) {
1307
- o[header[i].name] = lst[i];
1308
- }
1309
- }
1310
- if (!o.Allele) {
1311
- continue;
1312
- }
1313
- let allele = null;
1314
- for (const a of m.alleles) {
1315
- if (a.allele == o.Allele) {
1316
- allele = a;
1317
- break;
1318
- }
1319
- }
1320
- if (!allele) {
1321
- continue;
1322
- }
1323
- if (!allele.ann) {
1324
- allele.ann = [];
1325
- }
1326
- allele.ann.push(o);
1327
- o._gene = o.Gene_Name;
1328
- if (o.Feature_Type && o.Feature_Type == "transcript" && o.Feature_ID) {
1329
- o._isoform = o.Feature_ID.split(".")[0];
1330
- }
1331
- if (o.Annotation) {
1332
- const [dt, cls, rank] = vepinfo(o.Annotation);
1333
- o._dt = dt;
1334
- o._class = cls;
1335
- o._csqrank = rank;
1336
- } else {
1337
- o._dt = dtsnvindel;
1338
- o._class = mclassnonstandard;
1339
- }
1340
- if (o["HGVS.p"]) {
1341
- o._mname = o["HGVS.p"];
1342
- } else if (o["HGVS.c"]) {
1343
- o._mname = o["HGVS.c"];
1344
- }
1345
- }
1346
- return true;
1347
- }
1348
-
1349
- // ../shared/utils/dist/src/vcf.csq.js
1350
- function parse_CSQ(str, header, m) {
1351
- if (!header) {
1352
- return null;
1353
- }
1354
- for (const thisannotation of str.split(",")) {
1355
- const lst = thisannotation.replace(/&/g, ",").split("|");
1356
- const o = {};
1357
- for (let i = 0; i < header.length; i++) {
1358
- if (lst[i]) {
1359
- o[header[i].name] = lst[i];
1360
- }
1361
- }
1362
- if (!o.Allele) {
1363
- continue;
1364
- }
1365
- let allele = null;
1366
- for (const a of m.mlst || m.alleles) {
1367
- if (a.allele_original == o.Allele) {
1368
- allele = a;
1369
- break;
1370
- }
1371
- }
1372
- if (!allele) {
1373
- if (o.Allele == "-") {
1374
- if (m.mlst) {
1375
- if (m.mlst.length == 1) {
1376
- allele = m.mlst[0];
1377
- }
1378
- } else if (m.alleles) {
1379
- if (m.alleles.length == 1) {
1380
- allele = m.alleles[0];
1381
- }
1382
- }
1383
- } else {
1384
- for (const a of m.mlst || m.alleles) {
1385
- if (a.allele_original.substr(1) == o.Allele) {
1386
- allele = a;
1387
- break;
1388
- }
1389
- }
1390
- }
1391
- if (!allele) {
1392
- continue;
1393
- }
1394
- }
1395
- if (!allele.csq) {
1396
- allele.csq = [];
1397
- }
1398
- allele.csq.push(o);
1399
- o._gene = o.SYMBOL || o.Gene;
1400
- if (o.Feature_type && o.Feature_type == "Transcript") {
1401
- o._isoform = o.Feature.split(".")[0];
1402
- } else {
1403
- o._isoform = o._gene;
1404
- }
1405
- if (o.Consequence) {
1406
- const [dt, cls, rank] = vepinfo(o.Consequence);
1407
- o._dt = dt;
1408
- o._class = cls;
1409
- o._csqrank = rank;
1410
- } else {
1411
- o._dt = dtsnvindel;
1412
- o._class = mclassnonstandard;
1413
- }
1414
- if (o.HGVSp) {
1415
- o._mname = decodeURIComponent(o.HGVSp.substr(o.HGVSp.indexOf(":") + 1));
1416
- } else if (o.Protein_position && o.Amino_acids) {
1417
- o._mname = decodeURIComponent(o.Protein_position + o.Amino_acids);
1418
- } else if (o.HGVSc) {
1419
- o._mname = o.HGVSc.substr(o.HGVSc.indexOf(":") + 1);
1420
- } else if (o.Existing_variation) {
1421
- o._name = o.Existing_variation;
1422
- }
1423
- }
1424
- return true;
1425
- }
1426
-
1427
- // ../shared/utils/dist/src/vcf.info.js
1428
- function dissect_INFO(str) {
1429
- let findsemicolon = false;
1430
- let findequalorsemicolon = true;
1431
- let i = 0;
1432
- let idx = 0;
1433
- const k2v = {};
1434
- let lastkey;
1435
- while (i < str.length) {
1436
- const c = str[i];
1437
- if (findequalorsemicolon) {
1438
- if (c == "=") {
1439
- findsemicolon = true;
1440
- findequalorsemicolon = false;
1441
- lastkey = str.substring(idx, i);
1442
- idx = i + 1;
1443
- } else if (c == ";") {
1444
- k2v[str.substring(idx, i)] = 1;
1445
- idx = i + 1;
1446
- }
1447
- } else if (findsemicolon && c == ";") {
1448
- findequalorsemicolon = true;
1449
- findsemicolon = false;
1450
- k2v[lastkey] = str.substring(idx, i);
1451
- lastkey = null;
1452
- idx = i + 1;
1453
- }
1454
- i++;
1455
- }
1456
- const remainstr = str.substr(idx, i);
1457
- if (lastkey) {
1458
- k2v[lastkey] = remainstr;
1459
- } else {
1460
- k2v[remainstr] = 1;
1461
- }
1462
- return k2v;
1463
- }
1464
-
1465
- // ../shared/utils/dist/src/vcf.type.js
1466
- function getVariantType(ref, alt) {
1467
- if (ref.length == 1 && alt.length == 1) {
1468
- if (alt == ".") {
1469
- return mclassdeletion;
1470
- }
1471
- return mclasssnv;
1472
- }
1473
- if (ref.length == alt.length) return mclassmnv;
1474
- if (ref.length < alt.length) return mclassinsertion;
1475
- if (ref.length > alt.length) return mclassdeletion;
1476
- return mclassnonstandard;
1477
- }
1478
-
1479
- // ../shared/utils/dist/src/vcf.js
1480
- var getallelename = /^<(.+)>/;
1481
- var mclasslabel2key = {};
1482
- for (const k in mclass) {
1483
- mclasslabel2key[mclass[k].label.toUpperCase()] = k;
1484
- }
1485
- function vcfparsemeta(lines) {
1486
- let sample = [];
1487
- const errlst = [];
1488
- const info = {};
1489
- let hasinfo = false;
1490
- const format2 = {};
1491
- let hasformat = false;
1492
- for (const line of lines) {
1493
- if (!line.startsWith("#")) {
1494
- continue;
1495
- }
1496
- if (line.startsWith("#C")) {
1497
- sample = line.split(" ").slice(9);
1498
- continue;
1499
- }
1500
- if (line.startsWith("##INFO")) {
1501
- const e = tohash(line.substring(8, line.length - 1), info);
1502
- if (e) {
1503
- errlst.push("INFO error: " + e);
1504
- } else {
1505
- hasinfo = true;
1506
- }
1507
- continue;
1508
- }
1509
- if (line.startsWith("##FORMAT")) {
1510
- const e = tohash(line.substring(10, line.length - 1), format2);
1511
- if (e) {
1512
- errlst.push("FORMAT error: " + e);
1513
- } else {
1514
- hasformat = true;
1515
- }
1516
- }
1517
- }
1518
- const sampleobjlst = [];
1519
- for (const samplename of sample) {
1520
- const a = { name: samplename };
1521
- sampleobjlst.push(a);
1522
- }
1523
- if (info.CSQ) {
1524
- const lst = info.CSQ.Description.split(" Format: ");
1525
- if (lst[1]) {
1526
- const lst2 = lst[1].split("|");
1527
- if (lst2.length > 1) {
1528
- info.CSQ.csqheader = [];
1529
- for (const str of lst2) {
1530
- const attr = { name: str };
1531
- info.CSQ.csqheader.push(attr);
1532
- }
1533
- } else {
1534
- errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1535
- }
1536
- } else {
1537
- errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1538
- }
1539
- }
1540
- if (info.ANN) {
1541
- const lst = info.ANN.Description.split("'");
1542
- if (lst[1]) {
1543
- const lst2 = lst[1].split(" | ");
1544
- if (lst2.length) {
1545
- info.ANN.annheader = [];
1546
- for (const s of lst2) {
1547
- const attr = { name: s };
1548
- info.ANN.annheader.push(attr);
1549
- }
1550
- } else {
1551
- errlst.push('no " | " joined annotation fields for ANN (snpEff annotation): ' + info.ANN.Description);
1552
- }
1553
- } else {
1554
- errlst.push("no single-quote enclosed annotation fields for ANN (snpEff annotation): " + info.ANN.Description);
1555
- }
1556
- }
1557
- return [hasinfo ? info : null, hasformat ? format2 : null, sampleobjlst, errlst.length ? errlst : null];
1558
- }
1559
- function vcfparseline(line, vcf) {
1560
- const lst = line.split(" ");
1561
- if (lst.length < 8) {
1562
- return ["line has less than 8 fields", null, null];
1563
- }
1564
- const rawpos = Number.parseInt(lst[2 - 1]);
1565
- if (!Number.isInteger(rawpos)) {
1566
- return ["invalid value for genomic position", null, null];
1567
- }
1568
- const refallele = lst[4 - 1];
1569
- const m = {
1570
- vcf_ID: lst[3 - 1],
1571
- chr: (vcf.nochr ? "chr" : "") + lst[1 - 1],
1572
- pos: rawpos - 1,
1573
- ref: refallele,
1574
- //refstr:refallele, // e.g. GA>GCC, ref:A, refstr:GA, "refstr" is required for matching in FORMAT
1575
- altstr: lst[5 - 1],
1576
- alleles: [
1577
- {
1578
- /*
1579
- ref allele only a placeholder, to be removed, this array only contains alt alleles
1580
- this is a must
1581
- also allows GT allele index to work
1582
- */
1583
- allele: refallele,
1584
- sampledata: []
1585
- }
1586
- ],
1587
- info: {},
1588
- // locus info, do not contain allele info
1589
- name: lst[3 - 1] == "." ? null : lst[3 - 1]
1590
- };
1591
- const altinvalid = [];
1592
- for (const alt of lst[5 - 1].split(",")) {
1593
- const a = {
1594
- ref: m.ref,
1595
- // may be corrected just below!
1596
- allele: alt,
1597
- // 5078356.TATCAGAGAA.GGGAGGA keep original allele for matching with csq which hardcodes original allele
1598
- allele_original: alt,
1599
- sampledata: [],
1600
- _m: m,
1601
- info: {}
1602
- // allele info, do not contain locus info
1603
- };
1604
- m.alleles.push(a);
1605
- if (alt[0] == "<") {
1606
- const tmp2 = alt.match(getallelename);
1607
- if (!tmp2) {
1608
- altinvalid.push(alt);
1609
- continue;
1610
- }
1611
- a.type = tmp2[1];
1612
- a.allele = tmp2[1];
1613
- a.issymbolicallele = true;
1614
- } else {
1615
- const [p, ref, alt2] = correctRefAlt(m.pos, m.ref, a.allele);
1616
- a.pos = p;
1617
- a.ref = ref;
1618
- a.allele = alt2;
1619
- }
1620
- }
1621
- if (lst[9 - 1] && lst[10 - 1]) {
1622
- parse_FORMAT2(lst, m, vcf);
1623
- }
1624
- m.alleles.shift();
1625
- const tmp = lst[8 - 1] == "." ? [] : dissect_INFO(lst[8 - 1]);
1626
- let badinfokeys = [];
1627
- if (vcf.info) {
1628
- badinfokeys = parse_INFO(tmp, m, vcf);
1629
- } else {
1630
- m.info = tmp;
1631
- }
1632
- const mlst = [];
1633
- for (const a of m.alleles) {
1634
- const m2 = {};
1635
- for (const k in m) {
1636
- if (k != "alleles") {
1637
- m2[k] = m[k];
1638
- }
1639
- }
1640
- for (const k in a) {
1641
- if (k == "allele") {
1642
- m2.alt = a[k];
1643
- } else if (k == "info") {
1644
- m2.altinfo = a[k];
1645
- } else {
1646
- m2[k] = a[k];
1647
- }
1648
- }
1649
- if (!m2.issymbolicallele && m2.alt != "NON_REF") {
1650
- m2.type = getVariantType(m2.ref, m2.alt);
1651
- }
1652
- mlst.push(m2);
1653
- }
1654
- return [
1655
- badinfokeys.length ? "unknown info keys: " + badinfokeys.join(",") : null,
1656
- mlst,
1657
- altinvalid.length > 0 ? altinvalid : null
1658
- ];
1659
- }
1660
- function correctRefAlt(p, ref, alt) {
1661
- while (ref.length > 1 && alt.length > 1 && ref[ref.length - 1] == alt[alt.length - 1]) {
1662
- ref = ref.substr(0, ref.length - 1);
1663
- alt = alt.substr(0, alt.length - 1);
1664
- }
1665
- while (ref.length > 1 && alt.length > 1 && ref[0] == alt[0]) {
1666
- ref = ref.substr(1);
1667
- alt = alt.substr(1);
1668
- p++;
1669
- }
1670
- return [p, ref, alt];
1671
- }
1672
- function parse_FORMAT2(lst, m, vcf) {
1673
- const formatfields = lst[9 - 1].split(":");
1674
- for (let _sampleidx = 9; _sampleidx < lst.length; _sampleidx++) {
1675
- const valuelst = lst[_sampleidx].split(":");
1676
- {
1677
- let none = true;
1678
- for (const v of valuelst) {
1679
- if (v != ".") {
1680
- none = false;
1681
- break;
1682
- }
1683
- }
1684
- if (none) {
1685
- continue;
1686
- }
1687
- }
1688
- const sampleidx = _sampleidx - 9;
1689
- for (let i = 1; i < m.alleles.length; i++) {
1690
- const sobj = {};
1691
- if (vcf.samples && vcf.samples[sampleidx]) {
1692
- for (const k in vcf.samples[sampleidx]) {
1693
- sobj[k] = vcf.samples[sampleidx][k];
1694
- }
1695
- } else {
1696
- sobj.name = "missing_samplename_from_vcf_header";
1697
- }
1698
- m.alleles[i].sampledata.push({
1699
- sampleobj: sobj
1700
- });
1701
- }
1702
- for (let fi = 0; fi < formatfields.length; fi++) {
1703
- const field = formatfields[fi];
1704
- const value = valuelst[fi];
1705
- if (value == ".") {
1706
- continue;
1707
- }
1708
- if (field == "GT") {
1709
- const splitter = value.indexOf("/") != -1 ? "/" : "|";
1710
- let gtsum = 0;
1711
- let unknowngt = false;
1712
- const gtalleles = [];
1713
- for (const i of value.split(splitter)) {
1714
- if (i == ".") {
1715
- unknowngt = true;
1716
- continue;
1717
- }
1718
- const j = Number.parseInt(i);
1719
- if (Number.isNaN(j)) {
1720
- unknowngt = true;
1721
- continue;
1722
- }
1723
- gtsum += j;
1724
- const ale = m.alleles[j];
1725
- if (ale) {
1726
- gtalleles.push(ale.allele);
1727
- }
1728
- }
1729
- let gtallref = false;
1730
- if (!unknowngt) {
1731
- gtallref = gtsum == 0;
1732
- }
1733
- const genotype = gtalleles.join(splitter);
1734
- for (let i = 1; i < m.alleles.length; i++) {
1735
- const ms = m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1];
1736
- ms.GT = value;
1737
- ms.genotype = genotype;
1738
- if (gtallref) {
1739
- ms.gtallref = true;
1740
- }
1741
- ms.__gtalleles = gtalleles;
1742
- }
1743
- continue;
1744
- }
1745
- const formatdesc = vcf.format ? vcf.format[field] : null;
1746
- if (!formatdesc) {
1747
- for (let i = 1; i < m.alleles.length; i++) {
1748
- m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1749
- }
1750
- continue;
1751
- }
1752
- const isinteger = formatdesc.Type == "Integer";
1753
- const isfloat = formatdesc.Type == "Float";
1754
- if (formatdesc.Number && formatdesc.Number == "R" || field == "AD") {
1755
- const fvlst = value.split(",").map((i) => {
1756
- if (isinteger) return Number.parseInt(i);
1757
- if (isfloat) return Number.parseFloat(i);
1758
- return i;
1759
- });
1760
- for (let i = 1; i < m.alleles.length; i++) {
1761
- if (fvlst[i] != void 0) {
1762
- const m2 = m.alleles[i];
1763
- const m2s = m2.sampledata[m2.sampledata.length - 1];
1764
- m2s[field] = {};
1765
- m2s[field][m2.ref] = fvlst[0];
1766
- m2s[field][m2.allele] = fvlst[i];
1767
- }
1768
- }
1769
- continue;
1770
- }
1771
- if (formatdesc.Number && formatdesc.Number == "A") {
1772
- const fvlst = value.split(",").map((i) => {
1773
- if (isinteger) return Number.parseInt(i);
1774
- if (isfloat) return Number.parseFloat(i);
1775
- return i;
1776
- });
1777
- for (let i = 1; i < m.alleles.length; i++) {
1778
- if (fvlst[i - 1] != void 0) {
1779
- const m2 = m.alleles[i];
1780
- const m2s = m2.sampledata[m2.sampledata.length - 1];
1781
- m2s[field] = {};
1782
- m2s[field][m2.allele] = fvlst[i - 1];
1783
- }
1784
- }
1785
- continue;
1786
- }
1787
- for (let i = 1; i < m.alleles.length; i++) {
1788
- m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1789
- }
1790
- }
1791
- }
1792
- for (const a of m.alleles) {
1793
- for (const s of a.sampledata) {
1794
- if (s.AD) {
1795
- s.allele2readcount = {};
1796
- for (const k in s.AD) {
1797
- s.allele2readcount[k] = s.AD[k];
1798
- }
1799
- }
1800
- }
1801
- }
1802
- }
1803
- function tohash(s, hash2) {
1804
- const h = {}, err = [];
1805
- let prev = 0, prevdoublequote = false, k = null;
1806
- for (let i = 0; i < s.length; i++) {
1807
- if (s[i] == '"') {
1808
- i++;
1809
- const thisstart = i;
1810
- while (s[i] != '"') {
1811
- i++;
1812
- }
1813
- if (k) {
1814
- h[k] = s.substring(thisstart, i);
1815
- k = null;
1816
- } else {
1817
- err.push("k undefined before double quotes");
1818
- }
1819
- prevdoublequote = true;
1820
- continue;
1821
- }
1822
- if (s[i] == "=") {
1823
- k = s.substring(prev, i);
1824
- prev = i + 1;
1825
- continue;
1826
- }
1827
- if (s[i] == ",") {
1828
- if (prevdoublequote) {
1829
- prevdoublequote = false;
1830
- } else {
1831
- if (k) {
1832
- h[k] = s.substring(prev, i);
1833
- k = null;
1834
- } else {
1835
- err.push("k undefined");
1836
- }
1837
- }
1838
- prev = i + 1;
1839
- continue;
1840
- }
1841
- }
1842
- if (k) {
1843
- h[k] = s.substring(prev);
1844
- }
1845
- if (h.ID) {
1846
- hash2[h.ID] = h;
1847
- } else {
1848
- return "no ID";
1849
- }
1850
- if (err.length) return err.join("\n");
1851
- }
1852
- function parse_INFO(tmp, m, vcf) {
1853
- const badinfokeys = [];
1854
- for (const key in tmp) {
1855
- if (vcf.info[key] == void 0) {
1856
- badinfokeys.push(key);
1857
- continue;
1858
- }
1859
- const value = tmp[key];
1860
- if (key == "CSQ") {
1861
- const okay = parse_CSQ(value, vcf.info.CSQ.csqheader, m);
1862
- if (!okay) {
1863
- m.info[key] = value;
1864
- }
1865
- continue;
1866
- }
1867
- if (key == "ANN") {
1868
- const okay = parse_ANN(value, vcf.info.ANN.annheader, m);
1869
- if (!okay) {
1870
- m.info[key] = value;
1871
- }
1872
- continue;
1873
- }
1874
- if (vcf.info[key].Type == "Flag") {
1875
- m.info[key] = key;
1876
- continue;
1877
- }
1878
- const __number = vcf.info[key].Number;
1879
- const isinteger = vcf.info[key].Type == "Integer";
1880
- const isfloat = vcf.info[key].Type == "Float";
1881
- if (__number == "0") {
1882
- m.info[key] = key;
1883
- continue;
1884
- }
1885
- if (__number == "A") {
1886
- const tt = value.split(",");
1887
- for (let j = 0; j < tt.length; j++) {
1888
- if (m.alleles[j]) {
1889
- m.alleles[j].info[key] = isinteger ? Number.parseInt(tt[j]) : isfloat ? Number.parseFloat(tt[j]) : tt[j];
1890
- }
1891
- }
1892
- continue;
1893
- }
1894
- if (__number == "R") {
1895
- }
1896
- if (__number == "1") {
1897
- m.info[key] = isinteger ? Number.parseInt(value) : isfloat ? Number.parseFloat(value) : value;
1898
- continue;
1899
- }
1900
- if (!value.split) {
1901
- continue;
1902
- }
1903
- const lst = value.split(",");
1904
- if (isinteger) {
1905
- m.info[key] = lst.map(Number.parseInt);
1906
- } else if (isfloat) {
1907
- m.info[key] = lst.map(Number.parseFloat);
1908
- } else {
1909
- m.info[key] = lst;
1910
- }
1911
- }
1912
- return badinfokeys;
1913
- }
1914
-
1915
- // ../shared/utils/dist/src/violinHiddenValues.js
1916
- function getViolinHiddenValues(tw) {
1917
- const hidden = { ...tw?.q?.hiddenValues || {} };
1918
- for (const [k, v] of Object.entries(tw?.term?.values || {})) {
1919
- if (v?.uncomputable && hidden[k]) {
1920
- delete hidden[k];
1921
- hidden[v.label] = 1;
1922
- }
1923
- }
1924
- return hidden;
1925
- }
1926
-
1927
- // common/auth.js
1928
- var jwtByDsRoute;
1929
- function setJwtByDsRoute() {
1930
- if (jwtByDsRoute) return;
1931
- const jwtByDsRouteStr = localStorage.getItem("jwtByDsRoute") || `{}`;
1932
- jwtByDsRoute = JSON.parse(jwtByDsRouteStr);
1933
- }
1934
- function setTokenByDsRoute(dslabel, route, jwt) {
1935
- setJwtByDsRoute();
1936
- if (!jwtByDsRoute[dslabel]) jwtByDsRoute[dslabel] = {};
1937
- if (jwt) jwtByDsRoute[dslabel][route] = jwt;
1938
- else delete jwtByDsRoute[dslabel][route];
1939
- localStorage.setItem("jwtByDsRoute", JSON.stringify(jwtByDsRoute));
1940
- }
1941
- function getSavedToken(dslabel, route) {
1942
- setJwtByDsRoute();
1943
- return jwtByDsRoute[dslabel]?.[route] || jwtByDsRoute[dslabel]?.["/**"];
1944
- }
1945
- function mayAddJwtToRequest(init, body, url) {
1946
- if (init.headers.authorization) return;
1947
- let dslabel = body?.dslabel;
1948
- if (!dslabel) {
1949
- const param = url.split("?")[1]?.split("&").find((kv) => kv.includes("dslabel"));
1950
- if (!param) return;
1951
- let value = decodeURIComponent(param.split("=")[1]);
1952
- if (value.startsWith("{") && value.endsWith("}")) {
1953
- value = JSON.parse(value);
1954
- dslabel = value.dslabel || value.mass?.vocab.dslabel || value.tracks?.find((t) => t.dslabel)?.dslabel;
1955
- } else {
1956
- dslabel = value;
1957
- }
1958
- }
1959
- setJwtByDsRoute();
1960
- if (!dslabel || !jwtByDsRoute[dslabel]) return;
1961
- const h = url.split("//");
1962
- const postProtocolStr = h[1] || h[0];
1963
- const preQuestionMarkStr = postProtocolStr.split("?")[0];
1964
- const pathSegments = preQuestionMarkStr.split("/");
1965
- let route = pathSegments.find((p) => p != "" && !p.includes(":") && !p.includes("."));
1966
- const jwt = jwtByDsRoute[dslabel][route] || jwtByDsRoute[dslabel]["/**"];
1967
- if (jwt) init.headers.authorization = "Bearer " + btoa(jwt);
1968
- }
1969
- var dsAuthOk = /* @__PURE__ */ new Set();
1970
- var dsAuth;
1971
- var authUi;
1972
- var authUiHolder;
1973
- var includeEmbedder = false;
1974
- async function setDsAuthOk(opts) {
1975
- dsAuth = opts.dsAuth;
1976
- authUi = opts.ui || defaultAuthUi;
1977
- authUiHolder = opts.holder || select_default("body");
1978
- for (const auth of dsAuth) {
1979
- if (auth.insession) dsAuthOk.add(auth);
1980
- }
1981
- includeEmbedder = opts.dsAuth?.length > 0 || false;
1982
- }
1983
- function getRequiredAuth(dslabel, route) {
1984
- if (!dsAuth || !Array.isArray(dsAuth)) return;
1985
- for (const a of dsAuth) {
1986
- if (a.dslabel == dslabel && (a.route == route || a.route == "*" || a.route == "/**")) return a;
1987
- }
1988
- }
1989
- async function isInSession(dslabel, route) {
1990
- if (!dslabel) return false;
1991
- if (!Array.isArray(dsAuth)) return false;
1992
- for (const a of dsAuth) {
1993
- if (a.dslabel != dslabel || a.route != route && a.route != "/**") continue;
1994
- if (dsAuthOk.has(a)) return true;
1995
- if (a.checked) return false;
1996
- const jwt = getSavedToken(dslabel, a.route);
1997
- if (!jwt) return false;
1998
- const { dofetch3: dofetch32 } = await import("./dofetch-2CR2TVWC.js");
1999
- const payload = decodeJwtPayload(jwt);
2000
- if (payload.exp && Math.ceil(Date.now() / 1e3) > payload.exp) return false;
2001
- const data = await dofetch32("/jwt-status", {
2002
- method: "POST",
2003
- credentials: "include",
2004
- headers: {
2005
- //authorization: `Bearer ${btoa(jwt)}`
2006
- [a.headerKey]: jwt
2007
- },
2008
- body: {
2009
- dslabel,
2010
- route,
2011
- embedder: location.hostname
2012
- }
2013
- });
2014
- a.checked = true;
2015
- if (data.ok || data.status == "ok") {
2016
- dsAuthOk.add(a);
2017
- a.insession = true;
2018
- return true;
2019
- }
2020
- }
2021
- return false;
2022
- }
2023
- async function mayShowAuthUi(init, path, opts = {}) {
2024
- const ok = { status: "ok" };
2025
- if (!dsAuth || path.endsWith("jwt-status")) return ok;
2026
- const body = JSON.parse(init.body || `{}`);
2027
- const params = (path.split("?")[1] || "").split("&").reduce((obj, kv) => {
2028
- const [key, value] = kv.split("=");
2029
- obj[key] = value;
2030
- return obj;
2031
- }, {});
2032
- const q = Object.assign({}, body, params);
2033
- const route = ((path.split("?")[0] || "").split("//")[1] || "").split("/").slice(1).join("/");
2034
- for (const a of dsAuth) {
2035
- if (q.dslabel == a.dslabel && (a.route == "/**" || route == a.route)) {
2036
- if (dsAuthOk.has(a)) return ok;
2037
- else if (a.route != "/**") return ok;
2038
- else if (a.type == "basic") return await authUi(a.dslabel, a, opts);
2039
- else if (a.type == "jwt") {
2040
- } else if (a.type == "forbidden") {
2041
- alert("Forbidden access");
2042
- } else throw `unsupported dsAuth type='${a.type}'`;
2043
- }
2044
- }
2045
- return ok;
2046
- }
2047
- async function defaultAuthUi(dslabel, auth, opts = {}) {
2048
- const mask = authUiHolder.append("div").style("position", "fixed").style("top", 0).style("left", 0).style("height", "100%").style("width", "100%").style("margin", 0).style("padding", "20px").style("background-color", "rgb(150,150,150)");
2049
- const form = mask.append("div").style("opacity", 1);
2050
- form.append("div").html(`Restricted dataset '${dslabel}'`);
2051
- form.append("span").html("Please enter password ");
2052
- const pwd = form.append("input").attr("type", "password");
2053
- pwd.node().focus();
2054
- const btn = form.append("button").html("Submit");
2055
- return new Promise((resolve, reject) => {
2056
- function login() {
2057
- fetch("/dslogin", {
2058
- method: "POST",
2059
- headers: {
2060
- "content-type": "application/json",
2061
- authorization: `Basic ${btoa(pwd.property("value"))}`
2062
- },
2063
- body: JSON.stringify({ dslabel, route: auth.route, embedder: window.location.hostname })
2064
- }).then((res) => res.json()).then((res) => {
2065
- if (res.error) throw res.error;
2066
- mask.remove();
2067
- dsAuthOk.add(auth);
2068
- if (res.jwt) {
2069
- setTokenByDsRoute(dslabel, res.route, res.jwt);
2070
- }
2071
- if (!opts.setDomRefs) window.location.reload();
2072
- else resolve(dslabel);
2073
- }).catch((e) => {
2074
- alert("login error: " + e);
2075
- });
2076
- }
2077
- btn.on("click", login);
2078
- pwd.on("change", login);
2079
- if (opts.setDomRefs)
2080
- opts.setDomRefs({
2081
- pwd,
2082
- btn,
2083
- mask,
2084
- authUiHolder
2085
- });
2086
- });
2087
- }
2088
- function decodeJwtPayload(token) {
2089
- const base64Url = token.split(".")[1];
2090
- const base64 = base64Url.replace(/-/g, "+").replace(/_/g, "/");
2091
- const paddedBase64 = base64 + "=".repeat((4 - base64.length % 4) % 4);
2092
- const jsonPayload = decodeURIComponent(window.atob(paddedBase64).split("").map(convertAtoBresult).join(""));
2093
- return JSON.parse(jsonPayload);
2094
- }
2095
- function convertAtoBresult(c) {
2096
- return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
2097
- }
2098
-
2099
- // common/dofetch.js
2100
- function dofetch(path, arg, opts = null) {
2101
- if (opts && typeof opts == "object") {
2102
- if (opts.serverData && typeof opts.serverData == "object") {
2103
- if (!dofetch.serverData) {
2104
- dofetch.serverData = opts.serverData;
2105
- } else if (!opts.serverData) {
2106
- opts.serverData = dofetch.serverData;
2107
- }
2108
- }
2109
- return dofetch2(
2110
- path,
2111
- {
2112
- method: "POST",
2113
- headers: {
2114
- "content-type": "application/json"
2115
- },
2116
- body: JSON.stringify(arg)
2117
- },
2118
- opts
2119
- );
2120
- } else {
2121
- if (path[0] == "/") {
2122
- path = path.slice(1);
2123
- }
2124
- const jwt = sessionStorage.getItem("jwt");
2125
- if (jwt) {
2126
- arg.jwt = jwt;
2127
- }
2128
- let url = path;
2129
- const host = sessionStorage.getItem("hostURL") || window.testHost || "";
2130
- if (host) {
2131
- if (host.endsWith("/")) {
2132
- url = host + path;
2133
- } else {
2134
- url = host + "/" + path;
2135
- }
2136
- }
2137
- return fetch(
2138
- new Request(url, {
2139
- method: "POST",
2140
- headers: {
2141
- "content-type": "application/json"
2142
- },
2143
- body: JSON.stringify(arg)
2144
- })
2145
- ).then((r) => r.json());
2146
- }
2147
- }
2148
- function dofetch2(path, init = {}, opts = {}) {
2149
- if (path[0] == "/") {
2150
- path = path.slice(1);
2151
- }
2152
- let url = path;
2153
- const host = sessionStorage.getItem("hostURL") || window.testHost || "";
2154
- if (host) {
2155
- if (host.endsWith("/")) {
2156
- url = host + path;
2157
- } else {
2158
- url = host + "/" + path;
2159
- }
2160
- }
2161
- mayAdjustCredentials(init);
2162
- const body = init.body || {};
2163
- url = mayAdjustRequest(url, init);
2164
- if (!init.headers) {
2165
- init.headers = {};
2166
- }
2167
- const hasContentType = Object.keys(init.headers).some((k) => k.toLowerCase() == "content-type");
2168
- if (!hasContentType && init.body) {
2169
- init.headers["content-type"] = "application/json";
2170
- }
2171
- const jwt = sessionStorage.getItem("jwt");
2172
- if (jwt) {
2173
- init.headers.authorization = "Bearer " + jwt;
2174
- }
2175
- return mayShowAuthUi(init, url).then(async () => {
2176
- if (!jwt) mayAddJwtToRequest(init, body, url);
2177
- if (opts.serverData) {
2178
- return namedFetch(url, init, opts);
2179
- } else {
2180
- return fetch(url, init).then(processResponse);
2181
- }
2182
- });
2183
- }
2184
- var optsServerDataNames = /* @__PURE__ */ new WeakMap();
2185
- async function namedFetch(url, init, opts = {}) {
2186
- if (!opts.serverData) throw `use ezFetch() from fetch-helpers if a fetched response is not meant to be cached`;
2187
- if (typeof opts.serverData != "object") throw `opts.serverData is not an object`;
2188
- let result;
2189
- const dataName = await getDataName(url, init);
2190
- if (opts.serverData[dataName]) {
2191
- if (init.signal) {
2192
- await sleep(0);
2193
- if (init.signal.aborted) throw `stale sequenceId`;
2194
- }
2195
- result = structuredClone(opts.serverData[dataName]);
2196
- }
2197
- if (!result || typeof result != "object" && !(result instanceof Promise)) {
2198
- delete opts.serverData[dataName];
2199
- result = void 0;
2200
- }
2201
- if (!result) {
2202
- try {
2203
- const res = await fetch(url, init);
2204
- result = await processResponse(res);
2205
- if (typeof result == "object" && !(result instanceof Promise)) {
2206
- deepFreeze(result);
2207
- opts.serverData[dataName] = result;
2208
- result = structuredClone(result);
2209
- }
2210
- } catch (e) {
2211
- delete opts.serverData[dataName];
2212
- throw e;
2213
- }
2214
- }
2215
- if (!optsServerDataNames.has(opts.serverData)) optsServerDataNames.set(opts.serverData, []);
2216
- const keys = optsServerDataNames.get(opts.serverData);
2217
- const i = keys.indexOf(dataName);
2218
- if (i > 0) {
2219
- keys.splice(i, 1);
2220
- }
2221
- keys.unshift(dataName);
2222
- const maxKeys = 360;
2223
- while (keys.length > maxKeys) {
2224
- const oldestDataKey = keys.pop();
2225
- delete opts.serverData[oldestDataKey];
2226
- }
2227
- return result;
2228
- }
2229
- var defaultServerDataCache = {};
2230
- function dofetch3(path, init = {}, opts = {}) {
2231
- if (!init.signal && this) {
2232
- init.signal = this.getAbortSignal?.() || this.app?.getAbortSignal?.();
2233
- }
2234
- opts.serverData = defaultServerDataCache;
2235
- return dofetch2(path, init, opts);
2236
- }
2237
- function clearServerDataCache(opts = {}) {
2238
- const cache = opts?.serverData || defaultServerDataCache;
2239
- if (!cache) return;
2240
- for (const k of Object.keys(cache)) {
2241
- delete cache[k];
2242
- }
2243
- }
2244
- var urlMaxLength = 2e3;
2245
- function mayAdjustCredentials(init, pageOrigin = window.location.origin) {
2246
- if (init.credentials == "include" && pageOrigin == "null") init.credentials = "same-origin";
2247
- }
2248
- function mayAdjustRequest(url, init) {
2249
- const hostname = window.location.hostname;
2250
- const method = init.method && init.method.toUpperCase() || "GET";
2251
- if (method == "POST") {
2252
- if (typeof init.body == "string") init.body = JSON.parse(init.body);
2253
- if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2254
- init.body = JSON.stringify(init.body);
2255
- return url;
2256
- }
2257
- if (method != "GET" && method != "DELETE" && method != "PUT") {
2258
- throw `unsupported init.method='${method}': must be undefined or GET or POST or DELETE or PUT`;
2259
- }
2260
- if (init.body) {
2261
- if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2262
- const params = encode(init.body);
2263
- if (!url.includes("?")) url += "?";
2264
- url += params;
2265
- }
2266
- if (!url.includes("embedder=") && includeEmbedder) {
2267
- const sep = url.includes("?") ? "&" : "?";
2268
- url += `${sep}embedder=${hostname}`;
2269
- }
2270
- if (url.length < urlMaxLength) {
2271
- if (init.body) delete init.body;
2272
- return url;
2273
- }
2274
- if (method != "GET") {
2275
- throw `the ${method} request URL is too long (${url.length} characters, max=${urlMaxLength})`;
2276
- }
2277
- init.method = "POST";
2278
- const [hostpath, query] = url.split("?");
2279
- if (init.body) {
2280
- init.body = JSON.stringify(init.body);
2281
- } else {
2282
- const params = {};
2283
- if (query)
2284
- query.split("&").forEach((p) => {
2285
- const [k, v] = p.split("=");
2286
- const decodedVal = decodeURIComponent(v);
2287
- try {
2288
- params[k] = JSON.parse(decodedVal);
2289
- } catch {
2290
- params[k] = decodedVal;
2291
- }
2292
- });
2293
- if (!params.embedder && includeEmbedder) params.embedder = hostname;
2294
- init.body = JSON.stringify(params);
2295
- }
2296
- return hostpath;
2297
- }
2298
- function setAuth(opts) {
2299
- setDsAuthOk(opts, dofetch3);
2300
- }
2301
-
2302
- export {
2303
- boxplot_getvalue,
2304
- init_bulk_flag,
2305
- parsesample,
2306
- clusterMethodLst,
2307
- distanceMethodLst,
2308
- maxSampleCutoff,
2309
- sampleLimitAlert,
2310
- HYPER_COLOR,
2311
- HYPO_COLOR,
2312
- computePercentile,
2313
- processFormData,
2314
- fileSize,
2315
- ssmIdFieldsSeparator,
2316
- summarize_mclass,
2317
- guessSsmid,
2318
- defaultMaxPairwiseTestGroups,
2319
- pairwiseTestGroupsLimit,
2320
- xAxisOffSet,
2321
- yAxisOffSet,
2322
- getCoordinate,
2323
- calculatePadding,
2324
- compute_bins,
2325
- get_bin_label,
2326
- get_bin_range_equation,
2327
- initBinConfig,
2328
- isUsableTerm,
2329
- formatElapsedTime,
2330
- vcfparsemeta,
2331
- vcfparseline,
2332
- getViolinHiddenValues,
2333
- setTokenByDsRoute,
2334
- getSavedToken,
2335
- mayAddJwtToRequest,
2336
- includeEmbedder,
2337
- setDsAuthOk,
2338
- getRequiredAuth,
2339
- isInSession,
2340
- mayShowAuthUi,
2341
- dofetch,
2342
- dofetch2,
2343
- namedFetch,
2344
- dofetch3,
2345
- clearServerDataCache,
2346
- mayAdjustCredentials,
2347
- setAuth
2348
- };
2349
- //# sourceMappingURL=chunk-ZUXXBQ7D.js.map