@sjcrh/proteinpaint-client 2.219.1 → 2.221.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 (983) hide show
  1. package/dist/2dmaf-7YU3SNKL.js +1362 -0
  2. package/dist/AggMatrixInput-73CDR5FS.js +402 -0
  3. package/dist/AggregateMatrix-NNULVFBM.js +37 -0
  4. package/dist/AppHeader-EZDDLLXU.js +826 -0
  5. package/dist/BoxPlot-463E7CRY.js +1229 -0
  6. package/dist/CorrelationVolcano-LHIIMBPP.js +613 -0
  7. package/dist/Cuminc-UL2TCIKV.js +1217 -0
  8. package/dist/DE-VRFSKFDW.js +85 -0
  9. package/dist/DEinput-FZTQRWVC.js +479 -0
  10. package/dist/DM-PO7CQZNT.js +86 -0
  11. package/dist/DifferentialAnalysis-WK6HE3YH.js +236 -0
  12. package/dist/Disco-YBNQJQFG.js +3384 -0
  13. package/dist/Disco.UI-HC5XYBFV.js +239 -0
  14. package/dist/DmrPlot-7VJ5C66D.js +361 -0
  15. package/dist/GB-VPFQRDRO.js +1388 -0
  16. package/dist/GSEA-ZEJB3QZQ.js +870 -0
  17. package/dist/GeneExpInput-SBDDIY6G.js +38 -0
  18. package/dist/Geomap-23AHGP2V.js +80 -0
  19. package/dist/HicApp-7AQQE4CM.js +2240 -0
  20. package/dist/IDCViewer-NO5Q6VOB.js +10808 -0
  21. package/dist/NumBinaryEditor-DSRP4OOU.js +274 -0
  22. package/dist/NumBinaryEditor.unit.spec-TT666YL4.js +308 -0
  23. package/dist/NumContEditor-6CURFOCH.js +100 -0
  24. package/dist/NumContEditor.unit.spec-MNVCFCMP.js +160 -0
  25. package/dist/NumCustomBinEditor-SQRR5EFL.js +29 -0
  26. package/dist/NumCustomBinEditor.unit.spec-F7BZWGGT.js +393 -0
  27. package/dist/NumDiscreteEditor-U7Z2QNYP.js +165 -0
  28. package/dist/NumDiscreteEditor.unit.spec-EIEBUZCX.js +229 -0
  29. package/dist/NumRegularBinEditor-CVZSWN6Y.js +29 -0
  30. package/dist/NumRegularBinEditor.unit.spec-ZMAJOIHL.js +274 -0
  31. package/dist/NumSplineEditor-U43D5NBJ.js +205 -0
  32. package/dist/NumSplineEditor.unit.spec-C52AADTS.js +220 -0
  33. package/dist/NumericDensity-PUKDZOVI.js +29 -0
  34. package/dist/NumericDensity.unit.spec-2347S76D.js +414 -0
  35. package/dist/NumericHandler-3RT32PTR.js +30 -0
  36. package/dist/NumericHandler.unit.spec-4PADL4KZ.js +225 -0
  37. package/dist/ProteomeInput-NFV4FW4U.js +610 -0
  38. package/dist/Regression-N7M7N6G4.js +1412 -0
  39. package/dist/RunChart2-UPQ7C6QE.js +744 -0
  40. package/dist/SC-KBW2NHUV.js +1290 -0
  41. package/dist/Violin-GWCOP3ZF.js +1092 -0
  42. package/dist/Volcano-X3HT32GQ.js +2661 -0
  43. package/dist/Volcano-X3HT32GQ.js.map +7 -0
  44. package/dist/Wsi-NXAEOYIS.js +636 -0
  45. package/dist/aboutSunburst-5EKXZV2A.js +86 -0
  46. package/dist/aboutSunburst-5EKXZV2A.js.map +7 -0
  47. package/dist/adSandbox-RPEWEEW7.js +29 -0
  48. package/dist/animatedBubbleChart-ILDMZRBX.js +542 -0
  49. package/dist/app-LOUC4J47.js +28 -0
  50. package/dist/app-MRKXZ6AZ.js +38 -0
  51. package/dist/app.js +15 -15
  52. package/dist/bam-SQWPHCZZ.js +872 -0
  53. package/dist/bam-SQWPHCZZ.js.map +7 -0
  54. package/dist/barchart-CJR37234.js +38 -0
  55. package/dist/barchart2-QQYLTHWR.js +305 -0
  56. package/dist/block-GLF6QNKY.js +6203 -0
  57. package/dist/block-GLF6QNKY.js.map +7 -0
  58. package/dist/block.init-YJQTJIDO.js +29 -0
  59. package/dist/block.mds.expressionrank-GBMEI5KQ.js +350 -0
  60. package/dist/block.mds.geneboxplot-XWE3E5IW.js +819 -0
  61. package/dist/block.mds.junction-QLEHFVPE.js +1534 -0
  62. package/dist/block.mds.svcnv-53DTOPBC.js +6413 -0
  63. package/dist/block.svg-57T37ABS.js +155 -0
  64. package/dist/block.tk.aicheck-6DXJTS3H.js +274 -0
  65. package/dist/block.tk.bam-CJFFQDNX.js +1906 -0
  66. package/dist/block.tk.bam-CJFFQDNX.js.map +7 -0
  67. package/dist/block.tk.bigwig.ui-OYIVXE2L.js +202 -0
  68. package/dist/block.tk.hicstraw-UKTGEBWT.js +814 -0
  69. package/dist/block.tk.junction-ZU5KPFQ3.js +2353 -0
  70. package/dist/block.tk.junction.textmatrixui-P4WXTAZR.js +190 -0
  71. package/dist/block.tk.ld-3PQ4O2AE.js +90 -0
  72. package/dist/block.tk.menu-LLITB6UA.js +1050 -0
  73. package/dist/block.tk.pgv-Y3FBXUO3.js +934 -0
  74. package/dist/brainImaging-4B3WXLNP.js +550 -0
  75. package/dist/brainRegions-7VLONUWN.js +213 -0
  76. package/dist/bubbleHeatmap-DI6GJRR6.js +374 -0
  77. package/dist/cellTypeBubbleHeatmap-HJY53DB2.js +274 -0
  78. package/dist/chunk-226MNBZ2.js +240 -0
  79. package/dist/chunk-2CDFU4MQ.js +536 -0
  80. package/dist/chunk-2CDFU4MQ.js.map +7 -0
  81. package/dist/chunk-2CNFGVHU.js +257 -0
  82. package/dist/chunk-2MC3RNKA.js +2685 -0
  83. package/dist/chunk-2OMX5AYB.js +195 -0
  84. package/dist/chunk-2SL4QWUS.js +50 -0
  85. package/dist/chunk-3KGBC5MK.js +692 -0
  86. package/dist/chunk-3PCRAPUV.js +56 -0
  87. package/dist/chunk-4DBOMSKP.js +102 -0
  88. package/dist/chunk-4TJO2DGU.js +2297 -0
  89. package/dist/chunk-4TJO2DGU.js.map +7 -0
  90. package/dist/chunk-57BS6KNI.js +466 -0
  91. package/dist/chunk-5AXS5G4A.js +2334 -0
  92. package/dist/chunk-5DI4UNH5.js +562 -0
  93. package/dist/chunk-5HJG6ECV.js +237 -0
  94. package/dist/chunk-5ZYANHGX.js +550 -0
  95. package/dist/chunk-6T4MN7LV.js +397 -0
  96. package/dist/chunk-75MRUW2K.js +103 -0
  97. package/dist/chunk-7J3W3KCN.js +255 -0
  98. package/dist/chunk-7SFK32JP.js +398 -0
  99. package/dist/chunk-7SFK32JP.js.map +7 -0
  100. package/dist/chunk-AIZYAKIE.js +182 -0
  101. package/dist/chunk-AJNFI6GA.js +2008 -0
  102. package/dist/chunk-BJAWDZBL.js +2799 -0
  103. package/dist/chunk-C6PVZVIH.js +379 -0
  104. package/dist/chunk-C77X5ZUV.js +176 -0
  105. package/dist/chunk-C7KUMZQM.js +59 -0
  106. package/dist/chunk-C7ROKWV2.js +140 -0
  107. package/dist/chunk-CAH6LJ5Z.js +31 -0
  108. package/dist/chunk-CUCP2GMT.js +102 -0
  109. package/dist/chunk-DTGAMBRJ.js +134 -0
  110. package/dist/chunk-DXT7GDHY.js +55 -0
  111. package/dist/chunk-ENPMWVWG.js +5214 -0
  112. package/dist/chunk-EYKJQJ7R.js +382 -0
  113. package/dist/chunk-FE5TCBIT.js +30 -0
  114. package/dist/chunk-FJ2JV2VK.js +217 -0
  115. package/dist/chunk-FPMJJBLV.js +4389 -0
  116. package/dist/chunk-FPMJJBLV.js.map +7 -0
  117. package/dist/chunk-FZYVPRVQ.js +38 -0
  118. package/dist/chunk-GBKQHVKJ.js +274 -0
  119. package/dist/chunk-GUW7VTUL.js +281 -0
  120. package/dist/chunk-H7F6DMJA.js +70 -0
  121. package/dist/chunk-HH3NUAR2.js +96 -0
  122. package/dist/chunk-HRTPGNOG.js +159 -0
  123. package/dist/chunk-IFPRYTS7.js +848 -0
  124. package/dist/chunk-IJSFSUI4.js +302 -0
  125. package/dist/chunk-IRQKX6DL.js +263 -0
  126. package/dist/chunk-JHLF2ZC2.js +472 -0
  127. package/dist/chunk-JNZL7HKB.js +1219 -0
  128. package/dist/chunk-K2ARLT2A.js +26 -0
  129. package/dist/chunk-K3G56J5R.js +299 -0
  130. package/dist/chunk-KKUCG2QE.js +516 -0
  131. package/dist/chunk-KPXCXBNU.js +626 -0
  132. package/dist/chunk-LF5WBI27.js +418 -0
  133. package/dist/chunk-LF5WBI27.js.map +7 -0
  134. package/dist/chunk-MANAUI7R.js +54 -0
  135. package/dist/chunk-MEUSRAOE.js +170 -0
  136. package/dist/chunk-MHWYRNGA.js +348 -0
  137. package/dist/chunk-MSTYU3QO.js +14 -0
  138. package/dist/chunk-MWARRQT4.js +141 -0
  139. package/dist/chunk-MXKYPTZ7.js +203 -0
  140. package/dist/chunk-NX5IB4IY.js +37 -0
  141. package/dist/chunk-OZUF7O2S.js +133 -0
  142. package/dist/chunk-PRTLCJYF.js +2941 -0
  143. package/dist/chunk-PRTLCJYF.js.map +7 -0
  144. package/dist/chunk-PWYMHUXY.js +116 -0
  145. package/dist/chunk-PWYMHUXY.js.map +7 -0
  146. package/dist/chunk-QNCE6EOK.js +82 -0
  147. package/dist/chunk-RIHO7ZD5.js +119 -0
  148. package/dist/chunk-RV335DF2.js +266 -0
  149. package/dist/chunk-SFPZUBPM.js +2102 -0
  150. package/dist/chunk-SFPZUBPM.js.map +7 -0
  151. package/dist/chunk-THAUD62Q.js +1253 -0
  152. package/dist/chunk-VBTBUXXX.js +6375 -0
  153. package/dist/chunk-VHWJK2MP.js +56 -0
  154. package/dist/chunk-VLIOMJDR.js +276 -0
  155. package/dist/chunk-VMK4RHV5.js +54 -0
  156. package/dist/chunk-WD7FZ5EE.js +26536 -0
  157. package/dist/chunk-WD7FZ5EE.js.map +7 -0
  158. package/dist/chunk-WJLRU5OF.js +5786 -0
  159. package/dist/chunk-WJLRU5OF.js.map +7 -0
  160. package/dist/chunk-WKT7RF3C.js +468 -0
  161. package/dist/chunk-WXSMUSU7.js +184 -0
  162. package/dist/chunk-WXSX5OQJ.js +296 -0
  163. package/dist/chunk-WY3IORKG.js +194 -0
  164. package/dist/chunk-WYSOOKFJ.js +480 -0
  165. package/dist/chunk-XBBFFOLS.js +123 -0
  166. package/dist/chunk-XSRQGX5H.js +340 -0
  167. package/dist/chunk-YLL6CTBL.js +54 -0
  168. package/dist/chunk-YPBY37KD.js +1339 -0
  169. package/dist/chunk-YUNJBIK4.js +243 -0
  170. package/dist/chunk-Z5ECCUNG.js +444 -0
  171. package/dist/chunk-ZAC34BZQ.js +35 -0
  172. package/dist/chunk-ZAC34BZQ.js.map +7 -0
  173. package/dist/cohort-5WL6UJOS.js +66 -0
  174. package/dist/cohortSunburst-R3Z5KJQL.js +402 -0
  175. package/dist/condition-2IILUMVB.js +323 -0
  176. package/dist/controls-G3JITZF5.js +30 -0
  177. package/dist/controls.config-BO7KPPET.js +30 -0
  178. package/dist/correlation-CZILLVEM.js +91 -0
  179. package/dist/customdata.inputui-BXFQAMTR.js +280 -0
  180. package/dist/dataDownload-QTWR4IW7.js +326 -0
  181. package/dist/dataDownload-QTWR4IW7.js.map +7 -0
  182. package/dist/databrowser.ui-V2NJQF3U.js +421 -0
  183. package/dist/dictionary-OVAQX6R3.js +109 -0
  184. package/dist/dnaMethylation-DHPFRXB2.js +29 -0
  185. package/dist/dnaMethylation.integration.spec-PJLIRGN5.js +194 -0
  186. package/dist/dofetch-KBTN6OW4.js +49 -0
  187. package/dist/e2pca-O7SNMJGB.js +340 -0
  188. package/dist/ep-NIVLKG4S.js +1247 -0
  189. package/dist/expclust.gdc.spec-LVCD6C43.js +298 -0
  190. package/dist/facet-LB4SCXE4.js +556 -0
  191. package/dist/gb-3IJ4NCPO.js +77 -0
  192. package/dist/geneExpClustering-SIAC7CMA.js +240 -0
  193. package/dist/geneExpression-KPUOZ4PT.js +309 -0
  194. package/dist/geneExpression-P2TTZXN2.js +29 -0
  195. package/dist/geneExpression.unit.spec-Q5D6XHUF.js +151 -0
  196. package/dist/geneORA-PKUIJKTL.js +269 -0
  197. package/dist/geneRanking-ZGT5MHBV.js +544 -0
  198. package/dist/geneVariant-24YNANTT.js +289 -0
  199. package/dist/geneVariant-CDGENHWQ.js +32 -0
  200. package/dist/geneVariant.integration.spec-7QW4C2WO.js +672 -0
  201. package/dist/genefusion.ui-NVXGSBXD.js +299 -0
  202. package/dist/geneset-7STL6UDD.js +199 -0
  203. package/dist/genomeBrowser.spec-OE2CIP7I.js +272 -0
  204. package/dist/grin2-2HXUIY5O.js +66 -0
  205. package/dist/grin2-32IIJR5E.js +945 -0
  206. package/dist/hierCluster-MDZEI2KB.js +51 -0
  207. package/dist/hierCluster-T3PZUGBI.js +55 -0
  208. package/dist/hierCluster.config-7UN6AYGB.js +32 -0
  209. package/dist/hierCluster.integration.spec-DWOYVK6T.js +479 -0
  210. package/dist/hierCluster.interactivity-5OM6XNFG.js +45 -0
  211. package/dist/hierCluster.renderers-YGX6MZZW.js +18 -0
  212. package/dist/imagePlot-KBRXDV5G.js +152 -0
  213. package/dist/importPlot-DJMIC22L.js +8 -0
  214. package/dist/isoformExpression-SWDWADRC.js +31 -0
  215. package/dist/isoformExpression.unit.spec-2U5KCYBP.js +233 -0
  216. package/dist/junction-NMXVVGRG.js +32 -0
  217. package/dist/junction.customTerm-3R2GNE3A.js +15 -0
  218. package/dist/junction.unit.spec-JTGBPPN7.js +178 -0
  219. package/dist/launch.adhoc-YB5SKMNY.js +33 -0
  220. package/dist/leftlabel.sample-QKXIODCS.js +253 -0
  221. package/dist/lollipop-TSZ62PBH.js +162 -0
  222. package/dist/maf-4L5YN4CG.js +451 -0
  223. package/dist/maftimeline-VOYB3NY3.js +583 -0
  224. package/dist/matrix-IWJECVTF.js +55 -0
  225. package/dist/matrix-MMJAJZA7.js +50 -0
  226. package/dist/matrix.cells-5RTZUJVN.js +25 -0
  227. package/dist/matrix.config-DZGOZWJS.js +33 -0
  228. package/dist/matrix.data-Y5TPRGMW.js +22 -0
  229. package/dist/matrix.groups-6DXCAY4P.js +25 -0
  230. package/dist/matrix.integration.spec-2N237E7T.js +3156 -0
  231. package/dist/matrix.interactivity-FL33UUKR.js +33 -0
  232. package/dist/matrix.layout-7SYHV3KJ.js +35 -0
  233. package/dist/matrix.legend-S3E76TVO.js +19 -0
  234. package/dist/matrix.renderers-3SIBT2RP.js +30 -0
  235. package/dist/matrix.serieses-3UGLZW25.js +18 -0
  236. package/dist/matrix.sort-A7CNLDUJ.js +25 -0
  237. package/dist/matrix.sort.unit.spec-L3H44T6I.js +464 -0
  238. package/dist/matrix.sorterUi-6PZR3YOD.js +15 -0
  239. package/dist/matrix.sorterUi.unit.spec-2NRU5UFH.js +334 -0
  240. package/dist/matrix.unit.spec-HRZIJB6T.js +146 -0
  241. package/dist/mavb-ZVRQSDPS.js +726 -0
  242. package/dist/mds.fimo-ZKETTET7.js +509 -0
  243. package/dist/mds.samplescatterplot-ZV3UNRLP.js +1545 -0
  244. package/dist/mds.survivalplot-OVXZRTU4.js +472 -0
  245. package/dist/multivalue-6BE5IA4F.js +79 -0
  246. package/dist/numericDictTermCluster-6XDVVWLE.js +62 -0
  247. package/dist/oncomatrix-XK62NEOO.js +286 -0
  248. package/dist/oncomatrix.spec-YVTCHOPS.js +439 -0
  249. package/dist/plot.2dvaf-NUOBWMNX.js +368 -0
  250. package/dist/plot.app-G6IQWXTV.js +32 -0
  251. package/dist/plot.barplot-6QJ6HEJR.js +93 -0
  252. package/dist/plot.boxplot-XKQJSW2O.js +142 -0
  253. package/dist/plot.brainImaging-UTHFJFXU.js +51 -0
  254. package/dist/plot.disco-3MSCX7TM.js +98 -0
  255. package/dist/plot.ssgq-4KBVHF42.js +130 -0
  256. package/dist/plot.vaf2cov-OGUQSSDS.js +249 -0
  257. package/dist/polar2-V7M56GTZ.js +228 -0
  258. package/dist/profileForms-TS3BJLHH.js +937 -0
  259. package/dist/profilePlot-DP5272HR.js +45 -0
  260. package/dist/proteinView-K4K4SP3L.js +1346 -0
  261. package/dist/proteomeCohortCompare-SFWVGLFK.js +866 -0
  262. package/dist/pseudbulk.unit.spec-NFOA7J2C.js +82 -0
  263. package/dist/pseudobulk-XKZQEZ4I.js +31 -0
  264. package/dist/qualitative-7OSFNVI5.js +241 -0
  265. package/dist/qualitative-OIIN6E4Y.js +34 -0
  266. package/dist/radar2-AHZJKX7S.js +323 -0
  267. package/dist/radarFacility2-OUW6D5E7.js +331 -0
  268. package/dist/rememberedGvQ.unit.spec-SHTMMZGG.js +210 -0
  269. package/dist/render-7UZSGX3Q.js +29 -0
  270. package/dist/report-J7HKTXZ2.js +213 -0
  271. package/dist/sampleView-6547OUIM.js +39 -0
  272. package/dist/samplelst-UHF23UEB.js +114 -0
  273. package/dist/samplematrix-OOKS3TMR.js +2188 -0
  274. package/dist/sc-WF2BLGNG.js +77 -0
  275. package/dist/scatter-ABCVFGRV.js +84 -0
  276. package/dist/scatter-WF7XM3IA.js +919 -0
  277. package/dist/selectGenomeWithTklst-67HU5KRB.js +125 -0
  278. package/dist/singleCellCellType-3FZPJ25V.js +29 -0
  279. package/dist/singleCellCellType.unit.spec-TOMREHWK.js +150 -0
  280. package/dist/singleCellGeneExpression-NQTJ5KJQ.js +29 -0
  281. package/dist/singleCellGeneExpression.unit.spec-ZWUQTU2N.js +144 -0
  282. package/dist/singleCellNumericValue-VI7H722L.js +29 -0
  283. package/dist/singleCellNumericValue.unit.spec-QGLHES7H.js +412 -0
  284. package/dist/singleCellPlot-RU5T6SJK.js +44 -0
  285. package/dist/singlecell-C3CJVNXP.js +1562 -0
  286. package/dist/singlecell-NRQZ7KC6.js +77 -0
  287. package/dist/snp-X6XY65VS.js +29 -0
  288. package/dist/snp.unit.spec-6EENK7GQ.js +167 -0
  289. package/dist/snplocus-R4JA6TFT.js +200 -0
  290. package/dist/snplst-SOWVHSXH.js +36 -0
  291. package/dist/spliceevent.a53ss.diagram-IRLCCVQZ.js +142 -0
  292. package/dist/spliceevent.exonskip.diagram-4KG7LE5D.js +274 -0
  293. package/dist/spliceevent.noeventdiagram-OWXAJJX7.js +451 -0
  294. package/dist/ssGSEA-EMOKPLMP.js +29 -0
  295. package/dist/ssGSEA.unit.spec-KXQ7R5WH.js +79 -0
  296. package/dist/stattable-H2G7MOZG.js +112 -0
  297. package/dist/studyCatalog-3ITQXWFL.js +457 -0
  298. package/dist/summarizeCnvGeneexp-ZIPU6YDY.js +154 -0
  299. package/dist/summarizeGeneexpSurvival-3RYU226R.js +101 -0
  300. package/dist/summarizeMutationCnv-RGDBUB22.js +155 -0
  301. package/dist/summarizeMutationDiagnosis-Z4MZE6Y4.js +31 -0
  302. package/dist/summarizeMutationSurvival-Z5CNRH7E.js +95 -0
  303. package/dist/summary-6QQCNX3B.js +40 -0
  304. package/dist/summary.integration.spec-3ULXTZUP.js +405 -0
  305. package/dist/summaryInput-4QKR34QB.js +238 -0
  306. package/dist/sunburst-KB3BWC72.js +34 -0
  307. package/dist/sunburst-XTFBHZNH.js +274 -0
  308. package/dist/survival-7O6ZK63E.js +49 -0
  309. package/dist/survival-NNCY4K6C.js +1248 -0
  310. package/dist/survival.integration.spec-ZYZHZAXA.js +609 -0
  311. package/dist/svgraph-ZLSFFEAC.js +1377 -0
  312. package/dist/svmr-REBBDEYM.js +3834 -0
  313. package/dist/swimmer-NUBRIWLI.js +993 -0
  314. package/dist/swimmer-NUBRIWLI.js.map +7 -0
  315. package/dist/table-CWIQQESJ.js +192 -0
  316. package/dist/termCollection-7TYJSQ45.js +29 -0
  317. package/dist/termCollection-7Z55QNL7.js +247 -0
  318. package/dist/termCollection.unit.spec-LQ5MIBDH.js +295 -0
  319. package/dist/termCollectionFractionSelection-24DZYVDU.js +38 -0
  320. package/dist/termCollectionFractionSelection.unit.spec-DCV2CFS5.js +184 -0
  321. package/dist/tk-2WZFPRCP.js +37 -0
  322. package/dist/tk-QTLEYIP7.js +1193 -0
  323. package/dist/tk-QTLEYIP7.js.map +7 -0
  324. package/dist/tp.ui-HXQX2UH4.js +1453 -0
  325. package/dist/tvs.categorical-4D3JI2ER.js +28 -0
  326. package/dist/tvs.condition-62FXFHZ5.js +160 -0
  327. package/dist/tvs.density-IGO4I4T2.js +19 -0
  328. package/dist/tvs.dt-FZSVMJOO.js +34 -0
  329. package/dist/tvs.dtcnv.categorical-PPFQIC42.js +31 -0
  330. package/dist/tvs.dtcnv.continuous-TV2IGHY4.js +72 -0
  331. package/dist/tvs.dtfusion-ON4BA4XJ.js +31 -0
  332. package/dist/tvs.dtitd-VFNROOWQ.js +31 -0
  333. package/dist/tvs.dtsnvindel-ZXOP37T5.js +31 -0
  334. package/dist/tvs.dtsv-EUHPTW7J.js +31 -0
  335. package/dist/tvs.multivalue-NHVXZNDI.js +84 -0
  336. package/dist/tvs.numeric-FPWDPO3J.js +32 -0
  337. package/dist/tvs.samplelst-ZZHRNUP4.js +95 -0
  338. package/dist/tvs.survival-F3KSG3U6.js +110 -0
  339. package/dist/tvs.termCollection-B37DZLDY.js +118 -0
  340. package/dist/vocabulary-XNE5FFDK.js +32 -0
  341. package/dist/vocabulary-XNE5FFDK.js.map +7 -0
  342. package/dist/wsi.direct-3YH3QGQD.js +11514 -0
  343. package/package.json +4 -4
  344. package/dist/2dmaf-O2SQ5RGD.js +0 -1362
  345. package/dist/AggMatrixInput-LUCTWXHU.js +0 -402
  346. package/dist/AggregateMatrix-JVMF27YL.js +0 -37
  347. package/dist/AppHeader-DJU6HRKO.js +0 -826
  348. package/dist/BoxPlot-22RXMPRL.js +0 -1229
  349. package/dist/CorrelationVolcano-PBZWPFSN.js +0 -613
  350. package/dist/Cuminc-EL74X5GY.js +0 -1217
  351. package/dist/DE-W5SAMMRW.js +0 -85
  352. package/dist/DEinput-ZKEFJZQU.js +0 -479
  353. package/dist/DM-ABKDXMDG.js +0 -86
  354. package/dist/DifferentialAnalysis-3JTZ5WCQ.js +0 -236
  355. package/dist/Disco-ME53U25C.js +0 -3384
  356. package/dist/Disco.UI-F7XKJMKR.js +0 -239
  357. package/dist/DmrPlot-OWBXUTON.js +0 -361
  358. package/dist/GB-7X6DBWKS.js +0 -1388
  359. package/dist/GSEA-GAZIEGD7.js +0 -870
  360. package/dist/GeneExpInput-BAOC6ICV.js +0 -38
  361. package/dist/Geomap-OZERLL7V.js +0 -80
  362. package/dist/HicApp-WDH5LVTD.js +0 -2240
  363. package/dist/IDCViewer-XBZFU3BU.js +0 -10808
  364. package/dist/NumBinaryEditor-5R4EUQOZ.js +0 -274
  365. package/dist/NumBinaryEditor.unit.spec-ULBXMOYY.js +0 -308
  366. package/dist/NumContEditor-EN6V4FLQ.js +0 -100
  367. package/dist/NumContEditor.unit.spec-VDWKNIFN.js +0 -160
  368. package/dist/NumCustomBinEditor-UB34ALNZ.js +0 -29
  369. package/dist/NumCustomBinEditor.unit.spec-WZXJ7GEC.js +0 -393
  370. package/dist/NumDiscreteEditor-H6J67YEL.js +0 -165
  371. package/dist/NumDiscreteEditor.unit.spec-KJ7YU22W.js +0 -229
  372. package/dist/NumRegularBinEditor-R5JVUG7J.js +0 -29
  373. package/dist/NumRegularBinEditor.unit.spec-RZ73FMNO.js +0 -274
  374. package/dist/NumSplineEditor-AOR6OAJA.js +0 -205
  375. package/dist/NumSplineEditor.unit.spec-Z6ZEI3UO.js +0 -220
  376. package/dist/NumericDensity-SRTFTDQA.js +0 -29
  377. package/dist/NumericDensity.unit.spec-MRREBAYU.js +0 -414
  378. package/dist/NumericHandler-7RALUACA.js +0 -30
  379. package/dist/NumericHandler.unit.spec-MDO23WRB.js +0 -225
  380. package/dist/ProteomeInput-MOBXHRD5.js +0 -610
  381. package/dist/Regression-XWT4NNTG.js +0 -1412
  382. package/dist/RunChart2-Q7W5MWJS.js +0 -744
  383. package/dist/SC-MM3JTEVL.js +0 -1290
  384. package/dist/Violin-XNTBDUPG.js +0 -1092
  385. package/dist/Volcano-GRKXU3WL.js +0 -2619
  386. package/dist/Volcano-GRKXU3WL.js.map +0 -7
  387. package/dist/Wsi-22KJSFVH.js +0 -636
  388. package/dist/adSandbox-TLYWQOOA.js +0 -29
  389. package/dist/animatedBubbleChart-67SY5JGP.js +0 -542
  390. package/dist/app-FG3KPE4R.js +0 -28
  391. package/dist/app-VK5LYO6B.js +0 -38
  392. package/dist/bam-TNLNISLV.js +0 -872
  393. package/dist/bam-TNLNISLV.js.map +0 -7
  394. package/dist/barchart-IGWRVB6W.js +0 -38
  395. package/dist/barchart2-TT6OBJJP.js +0 -305
  396. package/dist/block-5PV2TYWJ.js +0 -6232
  397. package/dist/block-5PV2TYWJ.js.map +0 -7
  398. package/dist/block.init-2Y6CNK7H.js +0 -29
  399. package/dist/block.mds.expressionrank-VZ4JVPTG.js +0 -350
  400. package/dist/block.mds.geneboxplot-NYMS32JP.js +0 -819
  401. package/dist/block.mds.junction-3R6C3B5W.js +0 -1534
  402. package/dist/block.mds.svcnv-SO5CYYIQ.js +0 -6413
  403. package/dist/block.svg-R4ASXXNW.js +0 -155
  404. package/dist/block.tk.aicheck-LYRTDZRA.js +0 -274
  405. package/dist/block.tk.bam-GR7CHGGQ.js +0 -1897
  406. package/dist/block.tk.bam-GR7CHGGQ.js.map +0 -7
  407. package/dist/block.tk.bedgraphdot-GERXK2O6.js +0 -375
  408. package/dist/block.tk.bedgraphdot-GERXK2O6.js.map +0 -7
  409. package/dist/block.tk.bigwig.ui-3KMMZX2M.js +0 -202
  410. package/dist/block.tk.hicstraw-7HH4PGFY.js +0 -814
  411. package/dist/block.tk.junction-BPEKLYS2.js +0 -2353
  412. package/dist/block.tk.junction.textmatrixui-2QU5DL2X.js +0 -190
  413. package/dist/block.tk.ld-TJREYPNY.js +0 -90
  414. package/dist/block.tk.menu-HDBZK4YP.js +0 -1050
  415. package/dist/block.tk.pgv-G5GCYBK2.js +0 -934
  416. package/dist/brainImaging-ODWHF7WZ.js +0 -550
  417. package/dist/brainRegions-DC7DEA7N.js +0 -213
  418. package/dist/bubbleHeatmap-T5ACULRL.js +0 -374
  419. package/dist/cellTypeBubbleHeatmap-RQINXXTK.js +0 -274
  420. package/dist/chunk-24ZS2XWC.js +0 -176
  421. package/dist/chunk-2EPEWVKQ.js +0 -4378
  422. package/dist/chunk-2EPEWVKQ.js.map +0 -7
  423. package/dist/chunk-2PHFY3VP.js +0 -195
  424. package/dist/chunk-2QFMKWNS.js +0 -281
  425. package/dist/chunk-2UB6JZ3I.js +0 -466
  426. package/dist/chunk-3GQ54XTJ.js +0 -70
  427. package/dist/chunk-3IE6FDVA.js +0 -1253
  428. package/dist/chunk-4ENIOXIT.js +0 -133
  429. package/dist/chunk-4OOQ52ET.js +0 -182
  430. package/dist/chunk-5NI77Z3O.js +0 -119
  431. package/dist/chunk-5TPWMYBG.js +0 -274
  432. package/dist/chunk-64JHE3GV.js +0 -50
  433. package/dist/chunk-6MUJGVOH.js +0 -140
  434. package/dist/chunk-6XKAOSQE.js +0 -116
  435. package/dist/chunk-6XKAOSQE.js.map +0 -7
  436. package/dist/chunk-6YGSVJJD.js +0 -54
  437. package/dist/chunk-7PQVNQFR.js +0 -255
  438. package/dist/chunk-7XW4JWMJ.js +0 -170
  439. package/dist/chunk-7ZEJKFGW.js +0 -55
  440. package/dist/chunk-A6ZUYQHO.js +0 -159
  441. package/dist/chunk-ALIMVUHR.js +0 -1219
  442. package/dist/chunk-ANBGNYNP.js +0 -1339
  443. package/dist/chunk-ATZNXW5F.js +0 -237
  444. package/dist/chunk-AUPTEHV7.js +0 -257
  445. package/dist/chunk-B2KYLEYM.js +0 -30
  446. package/dist/chunk-BJCET6RU.js +0 -263
  447. package/dist/chunk-BKW35Z4U.js +0 -26619
  448. package/dist/chunk-BKW35Z4U.js.map +0 -7
  449. package/dist/chunk-CJHNPYFQ.js +0 -2292
  450. package/dist/chunk-CJHNPYFQ.js.map +0 -7
  451. package/dist/chunk-CTVPW77S.js +0 -194
  452. package/dist/chunk-D6U65W7Q.js +0 -626
  453. package/dist/chunk-DJMDETVU.js +0 -2685
  454. package/dist/chunk-DKPAOVJH.js +0 -243
  455. package/dist/chunk-DRESQF33.js +0 -38
  456. package/dist/chunk-DXM5MQCZ.js +0 -382
  457. package/dist/chunk-ETXOEP4N.js +0 -184
  458. package/dist/chunk-FOUMNTII.js +0 -134
  459. package/dist/chunk-FTGLS763.js +0 -56
  460. package/dist/chunk-GN2A5NL5.js +0 -472
  461. package/dist/chunk-GWNCQ5YI.js +0 -468
  462. package/dist/chunk-GX6G2SSW.js +0 -26
  463. package/dist/chunk-H3YF55ZI.js +0 -848
  464. package/dist/chunk-IANE75G3.js +0 -444
  465. package/dist/chunk-IKZQST6E.js +0 -5213
  466. package/dist/chunk-IPRYYK26.js +0 -96
  467. package/dist/chunk-JL3PYV5F.js +0 -6375
  468. package/dist/chunk-K6VYSDB5.js +0 -276
  469. package/dist/chunk-KSS26PXB.js +0 -54
  470. package/dist/chunk-LO2QBHP6.js +0 -418
  471. package/dist/chunk-LO2QBHP6.js.map +0 -7
  472. package/dist/chunk-LSRFRZNP.js +0 -59
  473. package/dist/chunk-LYX4S6WA.js +0 -266
  474. package/dist/chunk-ME3HB3V6.js +0 -5787
  475. package/dist/chunk-ME3HB3V6.js.map +0 -7
  476. package/dist/chunk-MP7BA3GK.js +0 -14
  477. package/dist/chunk-MVSUESEV.js +0 -141
  478. package/dist/chunk-NQMS7WV3.js +0 -2799
  479. package/dist/chunk-NR6WFCPF.js +0 -348
  480. package/dist/chunk-NS2MZN3C.js +0 -562
  481. package/dist/chunk-NUA66GW7.js +0 -37
  482. package/dist/chunk-NYEFSOKD.js +0 -550
  483. package/dist/chunk-OVHQFZAE.js +0 -34
  484. package/dist/chunk-OVHQFZAE.js.map +0 -7
  485. package/dist/chunk-QM724EG2.js +0 -103
  486. package/dist/chunk-RIL33JCW.js +0 -102
  487. package/dist/chunk-RJAJG5KN.js +0 -2954
  488. package/dist/chunk-RJAJG5KN.js.map +0 -7
  489. package/dist/chunk-SLHXR4BZ.js +0 -82
  490. package/dist/chunk-SO76DLSZ.js +0 -299
  491. package/dist/chunk-T7CKGRGP.js +0 -398
  492. package/dist/chunk-T7CKGRGP.js.map +0 -7
  493. package/dist/chunk-TUO5I6LP.js +0 -123
  494. package/dist/chunk-TWTPWEYL.js +0 -240
  495. package/dist/chunk-U2GHNZ4N.js +0 -54
  496. package/dist/chunk-UAB5PGOP.js +0 -56
  497. package/dist/chunk-UCB3W3OT.js +0 -217
  498. package/dist/chunk-UJIB7QM3.js +0 -2334
  499. package/dist/chunk-UYQGTW7I.js +0 -1857
  500. package/dist/chunk-UYQGTW7I.js.map +0 -7
  501. package/dist/chunk-VBDJG6GZ.js +0 -2008
  502. package/dist/chunk-VOXUMZMG.js +0 -379
  503. package/dist/chunk-WCNMP54T.js +0 -516
  504. package/dist/chunk-WETOH7YW.js +0 -692
  505. package/dist/chunk-WKGKKM6F.js +0 -480
  506. package/dist/chunk-WV44DGEJ.js +0 -397
  507. package/dist/chunk-XVEEMQAT.js +0 -31
  508. package/dist/chunk-YBOHXANC.js +0 -302
  509. package/dist/chunk-YNQFOPS6.js +0 -203
  510. package/dist/chunk-YVQ4USPP.js +0 -340
  511. package/dist/chunk-ZWLT5QS3.js +0 -102
  512. package/dist/chunk-ZYAZHJPZ.js +0 -296
  513. package/dist/cohort-QSLKB4ZO.js +0 -66
  514. package/dist/cohortSunburst-AQFSNJ5K.js +0 -402
  515. package/dist/condition-MLS6TJHV.js +0 -323
  516. package/dist/controls-ZT3GZ667.js +0 -30
  517. package/dist/controls.config-F7NIPLKB.js +0 -30
  518. package/dist/correlation-ZEIQJGSQ.js +0 -91
  519. package/dist/customdata.inputui-6PJSAJK2.js +0 -280
  520. package/dist/dataDownload-CHMPXHBY.js +0 -325
  521. package/dist/dataDownload-CHMPXHBY.js.map +0 -7
  522. package/dist/databrowser.ui-EMZ5L2Y7.js +0 -421
  523. package/dist/dictionary-U2BWGY6B.js +0 -109
  524. package/dist/dnaMethylation-R34E2XNC.js +0 -29
  525. package/dist/dnaMethylation.integration.spec-4Z2AJHWY.js +0 -194
  526. package/dist/dofetch-JY4A7BYI.js +0 -47
  527. package/dist/e2pca-WSSCXX6A.js +0 -340
  528. package/dist/ep-ATUWEHDJ.js +0 -1247
  529. package/dist/expclust.gdc.spec-QRIRRPO7.js +0 -298
  530. package/dist/facet-5VDCSP3S.js +0 -556
  531. package/dist/gb-Y4UG6LFA.js +0 -77
  532. package/dist/geneExpClustering-OO67JNJ2.js +0 -240
  533. package/dist/geneExpression-5KGV3MAA.js +0 -29
  534. package/dist/geneExpression-KPRFXKU7.js +0 -309
  535. package/dist/geneExpression.unit.spec-YV45EZ5O.js +0 -151
  536. package/dist/geneORA-R74JPUTC.js +0 -269
  537. package/dist/geneRanking-IJTXNMHV.js +0 -544
  538. package/dist/geneVariant-HBAHT6LU.js +0 -32
  539. package/dist/geneVariant-JT3EGAIH.js +0 -289
  540. package/dist/geneVariant.integration.spec-TFQYPUAS.js +0 -672
  541. package/dist/genefusion.ui-MMTQMTHC.js +0 -299
  542. package/dist/geneset-VMBICNCZ.js +0 -199
  543. package/dist/genomeBrowser.spec-2XLLIYGA.js +0 -272
  544. package/dist/grin2-2RYPEUWV.js +0 -66
  545. package/dist/grin2-Y6KAFVV2.js +0 -945
  546. package/dist/hierCluster-EKGFBQT4.js +0 -51
  547. package/dist/hierCluster-Z4PVNMGS.js +0 -55
  548. package/dist/hierCluster.config-Q6WUNK2K.js +0 -32
  549. package/dist/hierCluster.integration.spec-2LHSHNFC.js +0 -479
  550. package/dist/hierCluster.interactivity-OGQ3KUY6.js +0 -45
  551. package/dist/hierCluster.renderers-3GJZXG75.js +0 -18
  552. package/dist/imagePlot-ZJEZPBX7.js +0 -152
  553. package/dist/importPlot-GFEFYEHZ.js +0 -8
  554. package/dist/isoformExpression-A2X3DSR6.js +0 -31
  555. package/dist/isoformExpression.unit.spec-VKMEGCL4.js +0 -233
  556. package/dist/junction-HWIHLQU2.js +0 -32
  557. package/dist/junction.customTerm-C3VWXEYH.js +0 -15
  558. package/dist/junction.unit.spec-ZYJGDOXJ.js +0 -178
  559. package/dist/launch.adhoc-HW5AZM4T.js +0 -33
  560. package/dist/leftlabel.sample-MTW2HRRQ.js +0 -253
  561. package/dist/lollipop-VWW5H6CR.js +0 -162
  562. package/dist/maf-KEJYO3H4.js +0 -451
  563. package/dist/maftimeline-MJZDSGSR.js +0 -583
  564. package/dist/matrix-3UJW6LOA.js +0 -50
  565. package/dist/matrix-W4AX5OBM.js +0 -55
  566. package/dist/matrix.cells-5DAIZ3E5.js +0 -25
  567. package/dist/matrix.config-PK26VPQT.js +0 -33
  568. package/dist/matrix.data-UK5DGKBK.js +0 -22
  569. package/dist/matrix.groups-NM4Q5YDN.js +0 -25
  570. package/dist/matrix.integration.spec-FGWNBCRR.js +0 -3156
  571. package/dist/matrix.interactivity-4C37PII5.js +0 -33
  572. package/dist/matrix.layout-ODV7WXUP.js +0 -35
  573. package/dist/matrix.legend-5MY7OXWN.js +0 -19
  574. package/dist/matrix.renderers-QA7W7ZUL.js +0 -30
  575. package/dist/matrix.serieses-4FSFJPCK.js +0 -18
  576. package/dist/matrix.sort-3QLFMBJ5.js +0 -25
  577. package/dist/matrix.sort.unit.spec-HVOC6IYT.js +0 -464
  578. package/dist/matrix.sorterUi-EY3SA6CG.js +0 -15
  579. package/dist/matrix.sorterUi.unit.spec-OAXWPZZI.js +0 -334
  580. package/dist/matrix.unit.spec-RAL7AU22.js +0 -146
  581. package/dist/mavb-KIM63AC4.js +0 -726
  582. package/dist/mds.fimo-DMAVM56P.js +0 -509
  583. package/dist/mds.samplescatterplot-KILTR2C7.js +0 -1545
  584. package/dist/mds.survivalplot-PV76ANBP.js +0 -472
  585. package/dist/multivalue-2V5LMQY7.js +0 -79
  586. package/dist/numericDictTermCluster-TGL4X6UC.js +0 -62
  587. package/dist/oncomatrix-2O7SLXHX.js +0 -286
  588. package/dist/oncomatrix.spec-HZJKOF5G.js +0 -439
  589. package/dist/plot.2dvaf-424NNMMA.js +0 -368
  590. package/dist/plot.app-YBZDNST2.js +0 -32
  591. package/dist/plot.barplot-YZQBYJUY.js +0 -93
  592. package/dist/plot.boxplot-5OW6IBQL.js +0 -142
  593. package/dist/plot.brainImaging-H3ABPPD3.js +0 -51
  594. package/dist/plot.disco-X7KCDWGX.js +0 -98
  595. package/dist/plot.ssgq-GYRVHTC7.js +0 -130
  596. package/dist/plot.vaf2cov-B2TELPHL.js +0 -249
  597. package/dist/polar2-5KNZRLXY.js +0 -228
  598. package/dist/profileForms-FY34KXCL.js +0 -937
  599. package/dist/profilePlot-3FX2TPYC.js +0 -45
  600. package/dist/proteinView-WSEO3LD3.js +0 -1346
  601. package/dist/proteomeCohortCompare-KA2DF3EE.js +0 -866
  602. package/dist/pseudbulk.unit.spec-AT3TFCOW.js +0 -82
  603. package/dist/pseudobulk-4ZRHUC7W.js +0 -31
  604. package/dist/qualitative-3OBGJRP6.js +0 -241
  605. package/dist/qualitative-FHJD44OA.js +0 -34
  606. package/dist/radar2-X757WR6V.js +0 -323
  607. package/dist/radarFacility2-GUBAK4Y3.js +0 -331
  608. package/dist/rememberedGvQ.unit.spec-ADO4Y2OE.js +0 -210
  609. package/dist/render-MZEPNEMU.js +0 -29
  610. package/dist/report-TUAFDGAE.js +0 -213
  611. package/dist/sampleView-X6YKCBE7.js +0 -39
  612. package/dist/samplelst-UPNRALBH.js +0 -114
  613. package/dist/samplematrix-W3HZK3IS.js +0 -2188
  614. package/dist/sc-UL7233UR.js +0 -77
  615. package/dist/scatter-FTJ77NUM.js +0 -919
  616. package/dist/scatter-VQQRIW6N.js +0 -84
  617. package/dist/selectGenomeWithTklst-HPYPSPFI.js +0 -125
  618. package/dist/singleCellCellType-XTKGOH6H.js +0 -29
  619. package/dist/singleCellCellType.unit.spec-A62GT72A.js +0 -150
  620. package/dist/singleCellGeneExpression-X7H5GTU3.js +0 -29
  621. package/dist/singleCellGeneExpression.unit.spec-2KQBHG7O.js +0 -144
  622. package/dist/singleCellNumericValue-6YS42PZ2.js +0 -29
  623. package/dist/singleCellNumericValue.unit.spec-DNVXQFKI.js +0 -412
  624. package/dist/singleCellPlot-MGOQ7EQV.js +0 -44
  625. package/dist/singlecell-CIOB5XON.js +0 -77
  626. package/dist/singlecell-QW3SLQD6.js +0 -1562
  627. package/dist/snp-6B4MIPKL.js +0 -29
  628. package/dist/snp.unit.spec-HNILS56E.js +0 -167
  629. package/dist/snplocus-DDFLYZ2Y.js +0 -200
  630. package/dist/snplst-JYKOV73J.js +0 -36
  631. package/dist/spliceevent.a53ss.diagram-IBD5ITXR.js +0 -142
  632. package/dist/spliceevent.exonskip.diagram-ZJGEVUYW.js +0 -274
  633. package/dist/spliceevent.noeventdiagram-RNLNTFOW.js +0 -451
  634. package/dist/ssGSEA-42VQLAXL.js +0 -29
  635. package/dist/ssGSEA.unit.spec-FBJANIKG.js +0 -79
  636. package/dist/stattable-FROSNTJY.js +0 -112
  637. package/dist/studyCatalog-XIYNJ24U.js +0 -457
  638. package/dist/summarizeCnvGeneexp-N3OFI24L.js +0 -154
  639. package/dist/summarizeGeneexpSurvival-J4DO2AL4.js +0 -101
  640. package/dist/summarizeMutationCnv-Y43BBSI4.js +0 -155
  641. package/dist/summarizeMutationDiagnosis-JAEAUFCA.js +0 -31
  642. package/dist/summarizeMutationSurvival-4QZDDXDV.js +0 -95
  643. package/dist/summary-DTJZ7NNA.js +0 -40
  644. package/dist/summary.integration.spec-HRRE3J45.js +0 -405
  645. package/dist/summaryInput-WCADUZBK.js +0 -238
  646. package/dist/sunburst-BGXSCB63.js +0 -274
  647. package/dist/sunburst-DSFFFP33.js +0 -504
  648. package/dist/sunburst-DSFFFP33.js.map +0 -7
  649. package/dist/survival-LFXQIWRT.js +0 -49
  650. package/dist/survival-ONWZ5RFM.js +0 -1248
  651. package/dist/survival.integration.spec-ZP7XWHQH.js +0 -609
  652. package/dist/svgraph-2SL2SJVU.js +0 -1377
  653. package/dist/svmr-ONIPMLC2.js +0 -3834
  654. package/dist/swimmer-2EJZH5PP.js +0 -785
  655. package/dist/swimmer-2EJZH5PP.js.map +0 -7
  656. package/dist/table-LLCFO4KK.js +0 -192
  657. package/dist/termCollection-DAHJGR5P.js +0 -247
  658. package/dist/termCollection-QIN53TIL.js +0 -29
  659. package/dist/termCollection.unit.spec-FQOX2IVP.js +0 -295
  660. package/dist/termCollectionFractionSelection-UKEVVZXL.js +0 -38
  661. package/dist/termCollectionFractionSelection.unit.spec-URGEYBU2.js +0 -184
  662. package/dist/tk-4PYQ6WJQ.js +0 -1116
  663. package/dist/tk-4PYQ6WJQ.js.map +0 -7
  664. package/dist/tk-GM7CJ2LU.js +0 -37
  665. package/dist/tp.ui-TRUHW6GP.js +0 -1453
  666. package/dist/tvs.categorical-IY6YSFVN.js +0 -28
  667. package/dist/tvs.condition-YTD7GOPW.js +0 -160
  668. package/dist/tvs.density-CB24PXDE.js +0 -19
  669. package/dist/tvs.dt-AQQIZD5Z.js +0 -34
  670. package/dist/tvs.dtcnv.categorical-WOAOGJSW.js +0 -31
  671. package/dist/tvs.dtcnv.continuous-TJBEPJGO.js +0 -72
  672. package/dist/tvs.dtfusion-SFMZQKKU.js +0 -31
  673. package/dist/tvs.dtitd-Q5RQTCLD.js +0 -31
  674. package/dist/tvs.dtsnvindel-UEK4O6WI.js +0 -31
  675. package/dist/tvs.dtsv-ECS4KEYG.js +0 -31
  676. package/dist/tvs.multivalue-CJIZ3I54.js +0 -84
  677. package/dist/tvs.numeric-UFAOJR2B.js +0 -32
  678. package/dist/tvs.samplelst-BVFY2P7Q.js +0 -95
  679. package/dist/tvs.survival-L56B3I55.js +0 -110
  680. package/dist/tvs.termCollection-BFIBVBSA.js +0 -118
  681. package/dist/vocabulary-MTKDDDGB.js +0 -32
  682. package/dist/wsi.direct-OSHY7VL4.js +0 -11514
  683. /package/dist/{2dmaf-O2SQ5RGD.js.map → 2dmaf-7YU3SNKL.js.map} +0 -0
  684. /package/dist/{AggMatrixInput-LUCTWXHU.js.map → AggMatrixInput-73CDR5FS.js.map} +0 -0
  685. /package/dist/{AggregateMatrix-JVMF27YL.js.map → AggregateMatrix-NNULVFBM.js.map} +0 -0
  686. /package/dist/{AppHeader-DJU6HRKO.js.map → AppHeader-EZDDLLXU.js.map} +0 -0
  687. /package/dist/{BoxPlot-22RXMPRL.js.map → BoxPlot-463E7CRY.js.map} +0 -0
  688. /package/dist/{CorrelationVolcano-PBZWPFSN.js.map → CorrelationVolcano-LHIIMBPP.js.map} +0 -0
  689. /package/dist/{Cuminc-EL74X5GY.js.map → Cuminc-UL2TCIKV.js.map} +0 -0
  690. /package/dist/{DE-W5SAMMRW.js.map → DE-VRFSKFDW.js.map} +0 -0
  691. /package/dist/{DEinput-ZKEFJZQU.js.map → DEinput-FZTQRWVC.js.map} +0 -0
  692. /package/dist/{DM-ABKDXMDG.js.map → DM-PO7CQZNT.js.map} +0 -0
  693. /package/dist/{DifferentialAnalysis-3JTZ5WCQ.js.map → DifferentialAnalysis-WK6HE3YH.js.map} +0 -0
  694. /package/dist/{Disco-ME53U25C.js.map → Disco-YBNQJQFG.js.map} +0 -0
  695. /package/dist/{Disco.UI-F7XKJMKR.js.map → Disco.UI-HC5XYBFV.js.map} +0 -0
  696. /package/dist/{DmrPlot-OWBXUTON.js.map → DmrPlot-7VJ5C66D.js.map} +0 -0
  697. /package/dist/{GB-7X6DBWKS.js.map → GB-VPFQRDRO.js.map} +0 -0
  698. /package/dist/{GSEA-GAZIEGD7.js.map → GSEA-ZEJB3QZQ.js.map} +0 -0
  699. /package/dist/{GeneExpInput-BAOC6ICV.js.map → GeneExpInput-SBDDIY6G.js.map} +0 -0
  700. /package/dist/{Geomap-OZERLL7V.js.map → Geomap-23AHGP2V.js.map} +0 -0
  701. /package/dist/{HicApp-WDH5LVTD.js.map → HicApp-7AQQE4CM.js.map} +0 -0
  702. /package/dist/{IDCViewer-XBZFU3BU.js.map → IDCViewer-NO5Q6VOB.js.map} +0 -0
  703. /package/dist/{NumBinaryEditor-5R4EUQOZ.js.map → NumBinaryEditor-DSRP4OOU.js.map} +0 -0
  704. /package/dist/{NumBinaryEditor.unit.spec-ULBXMOYY.js.map → NumBinaryEditor.unit.spec-TT666YL4.js.map} +0 -0
  705. /package/dist/{NumContEditor-EN6V4FLQ.js.map → NumContEditor-6CURFOCH.js.map} +0 -0
  706. /package/dist/{NumContEditor.unit.spec-VDWKNIFN.js.map → NumContEditor.unit.spec-MNVCFCMP.js.map} +0 -0
  707. /package/dist/{NumCustomBinEditor-UB34ALNZ.js.map → NumCustomBinEditor-SQRR5EFL.js.map} +0 -0
  708. /package/dist/{NumCustomBinEditor.unit.spec-WZXJ7GEC.js.map → NumCustomBinEditor.unit.spec-F7BZWGGT.js.map} +0 -0
  709. /package/dist/{NumDiscreteEditor-H6J67YEL.js.map → NumDiscreteEditor-U7Z2QNYP.js.map} +0 -0
  710. /package/dist/{NumDiscreteEditor.unit.spec-KJ7YU22W.js.map → NumDiscreteEditor.unit.spec-EIEBUZCX.js.map} +0 -0
  711. /package/dist/{NumRegularBinEditor-R5JVUG7J.js.map → NumRegularBinEditor-CVZSWN6Y.js.map} +0 -0
  712. /package/dist/{NumRegularBinEditor.unit.spec-RZ73FMNO.js.map → NumRegularBinEditor.unit.spec-ZMAJOIHL.js.map} +0 -0
  713. /package/dist/{NumSplineEditor-AOR6OAJA.js.map → NumSplineEditor-U43D5NBJ.js.map} +0 -0
  714. /package/dist/{NumSplineEditor.unit.spec-Z6ZEI3UO.js.map → NumSplineEditor.unit.spec-C52AADTS.js.map} +0 -0
  715. /package/dist/{NumericDensity-SRTFTDQA.js.map → NumericDensity-PUKDZOVI.js.map} +0 -0
  716. /package/dist/{NumericDensity.unit.spec-MRREBAYU.js.map → NumericDensity.unit.spec-2347S76D.js.map} +0 -0
  717. /package/dist/{NumericHandler-7RALUACA.js.map → NumericHandler-3RT32PTR.js.map} +0 -0
  718. /package/dist/{NumericHandler.unit.spec-MDO23WRB.js.map → NumericHandler.unit.spec-4PADL4KZ.js.map} +0 -0
  719. /package/dist/{ProteomeInput-MOBXHRD5.js.map → ProteomeInput-NFV4FW4U.js.map} +0 -0
  720. /package/dist/{Regression-XWT4NNTG.js.map → Regression-N7M7N6G4.js.map} +0 -0
  721. /package/dist/{RunChart2-Q7W5MWJS.js.map → RunChart2-UPQ7C6QE.js.map} +0 -0
  722. /package/dist/{SC-MM3JTEVL.js.map → SC-KBW2NHUV.js.map} +0 -0
  723. /package/dist/{Violin-XNTBDUPG.js.map → Violin-GWCOP3ZF.js.map} +0 -0
  724. /package/dist/{Wsi-22KJSFVH.js.map → Wsi-NXAEOYIS.js.map} +0 -0
  725. /package/dist/{adSandbox-TLYWQOOA.js.map → adSandbox-RPEWEEW7.js.map} +0 -0
  726. /package/dist/{animatedBubbleChart-67SY5JGP.js.map → animatedBubbleChart-ILDMZRBX.js.map} +0 -0
  727. /package/dist/{app-FG3KPE4R.js.map → app-LOUC4J47.js.map} +0 -0
  728. /package/dist/{app-VK5LYO6B.js.map → app-MRKXZ6AZ.js.map} +0 -0
  729. /package/dist/{barchart-IGWRVB6W.js.map → barchart-CJR37234.js.map} +0 -0
  730. /package/dist/{barchart2-TT6OBJJP.js.map → barchart2-QQYLTHWR.js.map} +0 -0
  731. /package/dist/{block.init-2Y6CNK7H.js.map → block.init-YJQTJIDO.js.map} +0 -0
  732. /package/dist/{block.mds.expressionrank-VZ4JVPTG.js.map → block.mds.expressionrank-GBMEI5KQ.js.map} +0 -0
  733. /package/dist/{block.mds.geneboxplot-NYMS32JP.js.map → block.mds.geneboxplot-XWE3E5IW.js.map} +0 -0
  734. /package/dist/{block.mds.junction-3R6C3B5W.js.map → block.mds.junction-QLEHFVPE.js.map} +0 -0
  735. /package/dist/{block.mds.svcnv-SO5CYYIQ.js.map → block.mds.svcnv-53DTOPBC.js.map} +0 -0
  736. /package/dist/{block.svg-R4ASXXNW.js.map → block.svg-57T37ABS.js.map} +0 -0
  737. /package/dist/{block.tk.aicheck-LYRTDZRA.js.map → block.tk.aicheck-6DXJTS3H.js.map} +0 -0
  738. /package/dist/{block.tk.bigwig.ui-3KMMZX2M.js.map → block.tk.bigwig.ui-OYIVXE2L.js.map} +0 -0
  739. /package/dist/{block.tk.hicstraw-7HH4PGFY.js.map → block.tk.hicstraw-UKTGEBWT.js.map} +0 -0
  740. /package/dist/{block.tk.junction-BPEKLYS2.js.map → block.tk.junction-ZU5KPFQ3.js.map} +0 -0
  741. /package/dist/{block.tk.junction.textmatrixui-2QU5DL2X.js.map → block.tk.junction.textmatrixui-P4WXTAZR.js.map} +0 -0
  742. /package/dist/{block.tk.ld-TJREYPNY.js.map → block.tk.ld-3PQ4O2AE.js.map} +0 -0
  743. /package/dist/{block.tk.menu-HDBZK4YP.js.map → block.tk.menu-LLITB6UA.js.map} +0 -0
  744. /package/dist/{block.tk.pgv-G5GCYBK2.js.map → block.tk.pgv-Y3FBXUO3.js.map} +0 -0
  745. /package/dist/{brainImaging-ODWHF7WZ.js.map → brainImaging-4B3WXLNP.js.map} +0 -0
  746. /package/dist/{brainRegions-DC7DEA7N.js.map → brainRegions-7VLONUWN.js.map} +0 -0
  747. /package/dist/{bubbleHeatmap-T5ACULRL.js.map → bubbleHeatmap-DI6GJRR6.js.map} +0 -0
  748. /package/dist/{cellTypeBubbleHeatmap-RQINXXTK.js.map → cellTypeBubbleHeatmap-HJY53DB2.js.map} +0 -0
  749. /package/dist/{chunk-TWTPWEYL.js.map → chunk-226MNBZ2.js.map} +0 -0
  750. /package/dist/{chunk-AUPTEHV7.js.map → chunk-2CNFGVHU.js.map} +0 -0
  751. /package/dist/{chunk-DJMDETVU.js.map → chunk-2MC3RNKA.js.map} +0 -0
  752. /package/dist/{chunk-2PHFY3VP.js.map → chunk-2OMX5AYB.js.map} +0 -0
  753. /package/dist/{chunk-64JHE3GV.js.map → chunk-2SL4QWUS.js.map} +0 -0
  754. /package/dist/{chunk-WETOH7YW.js.map → chunk-3KGBC5MK.js.map} +0 -0
  755. /package/dist/{chunk-UAB5PGOP.js.map → chunk-3PCRAPUV.js.map} +0 -0
  756. /package/dist/{chunk-ZWLT5QS3.js.map → chunk-4DBOMSKP.js.map} +0 -0
  757. /package/dist/{chunk-2UB6JZ3I.js.map → chunk-57BS6KNI.js.map} +0 -0
  758. /package/dist/{chunk-UJIB7QM3.js.map → chunk-5AXS5G4A.js.map} +0 -0
  759. /package/dist/{chunk-NS2MZN3C.js.map → chunk-5DI4UNH5.js.map} +0 -0
  760. /package/dist/{chunk-ATZNXW5F.js.map → chunk-5HJG6ECV.js.map} +0 -0
  761. /package/dist/{chunk-NYEFSOKD.js.map → chunk-5ZYANHGX.js.map} +0 -0
  762. /package/dist/{chunk-WV44DGEJ.js.map → chunk-6T4MN7LV.js.map} +0 -0
  763. /package/dist/{chunk-QM724EG2.js.map → chunk-75MRUW2K.js.map} +0 -0
  764. /package/dist/{chunk-7PQVNQFR.js.map → chunk-7J3W3KCN.js.map} +0 -0
  765. /package/dist/{chunk-4OOQ52ET.js.map → chunk-AIZYAKIE.js.map} +0 -0
  766. /package/dist/{chunk-VBDJG6GZ.js.map → chunk-AJNFI6GA.js.map} +0 -0
  767. /package/dist/{chunk-NQMS7WV3.js.map → chunk-BJAWDZBL.js.map} +0 -0
  768. /package/dist/{chunk-VOXUMZMG.js.map → chunk-C6PVZVIH.js.map} +0 -0
  769. /package/dist/{chunk-24ZS2XWC.js.map → chunk-C77X5ZUV.js.map} +0 -0
  770. /package/dist/{chunk-LSRFRZNP.js.map → chunk-C7KUMZQM.js.map} +0 -0
  771. /package/dist/{chunk-6MUJGVOH.js.map → chunk-C7ROKWV2.js.map} +0 -0
  772. /package/dist/{chunk-XVEEMQAT.js.map → chunk-CAH6LJ5Z.js.map} +0 -0
  773. /package/dist/{chunk-RIL33JCW.js.map → chunk-CUCP2GMT.js.map} +0 -0
  774. /package/dist/{chunk-FOUMNTII.js.map → chunk-DTGAMBRJ.js.map} +0 -0
  775. /package/dist/{chunk-7ZEJKFGW.js.map → chunk-DXT7GDHY.js.map} +0 -0
  776. /package/dist/{chunk-IKZQST6E.js.map → chunk-ENPMWVWG.js.map} +0 -0
  777. /package/dist/{chunk-DXM5MQCZ.js.map → chunk-EYKJQJ7R.js.map} +0 -0
  778. /package/dist/{chunk-B2KYLEYM.js.map → chunk-FE5TCBIT.js.map} +0 -0
  779. /package/dist/{chunk-UCB3W3OT.js.map → chunk-FJ2JV2VK.js.map} +0 -0
  780. /package/dist/{chunk-DRESQF33.js.map → chunk-FZYVPRVQ.js.map} +0 -0
  781. /package/dist/{chunk-5TPWMYBG.js.map → chunk-GBKQHVKJ.js.map} +0 -0
  782. /package/dist/{chunk-2QFMKWNS.js.map → chunk-GUW7VTUL.js.map} +0 -0
  783. /package/dist/{chunk-3GQ54XTJ.js.map → chunk-H7F6DMJA.js.map} +0 -0
  784. /package/dist/{chunk-IPRYYK26.js.map → chunk-HH3NUAR2.js.map} +0 -0
  785. /package/dist/{chunk-A6ZUYQHO.js.map → chunk-HRTPGNOG.js.map} +0 -0
  786. /package/dist/{chunk-H3YF55ZI.js.map → chunk-IFPRYTS7.js.map} +0 -0
  787. /package/dist/{chunk-YBOHXANC.js.map → chunk-IJSFSUI4.js.map} +0 -0
  788. /package/dist/{chunk-BJCET6RU.js.map → chunk-IRQKX6DL.js.map} +0 -0
  789. /package/dist/{chunk-GN2A5NL5.js.map → chunk-JHLF2ZC2.js.map} +0 -0
  790. /package/dist/{chunk-ALIMVUHR.js.map → chunk-JNZL7HKB.js.map} +0 -0
  791. /package/dist/{chunk-GX6G2SSW.js.map → chunk-K2ARLT2A.js.map} +0 -0
  792. /package/dist/{chunk-SO76DLSZ.js.map → chunk-K3G56J5R.js.map} +0 -0
  793. /package/dist/{chunk-WCNMP54T.js.map → chunk-KKUCG2QE.js.map} +0 -0
  794. /package/dist/{chunk-D6U65W7Q.js.map → chunk-KPXCXBNU.js.map} +0 -0
  795. /package/dist/{chunk-6YGSVJJD.js.map → chunk-MANAUI7R.js.map} +0 -0
  796. /package/dist/{chunk-7XW4JWMJ.js.map → chunk-MEUSRAOE.js.map} +0 -0
  797. /package/dist/{chunk-NR6WFCPF.js.map → chunk-MHWYRNGA.js.map} +0 -0
  798. /package/dist/{chunk-MP7BA3GK.js.map → chunk-MSTYU3QO.js.map} +0 -0
  799. /package/dist/{chunk-MVSUESEV.js.map → chunk-MWARRQT4.js.map} +0 -0
  800. /package/dist/{chunk-YNQFOPS6.js.map → chunk-MXKYPTZ7.js.map} +0 -0
  801. /package/dist/{chunk-NUA66GW7.js.map → chunk-NX5IB4IY.js.map} +0 -0
  802. /package/dist/{chunk-4ENIOXIT.js.map → chunk-OZUF7O2S.js.map} +0 -0
  803. /package/dist/{chunk-SLHXR4BZ.js.map → chunk-QNCE6EOK.js.map} +0 -0
  804. /package/dist/{chunk-5NI77Z3O.js.map → chunk-RIHO7ZD5.js.map} +0 -0
  805. /package/dist/{chunk-LYX4S6WA.js.map → chunk-RV335DF2.js.map} +0 -0
  806. /package/dist/{chunk-3IE6FDVA.js.map → chunk-THAUD62Q.js.map} +0 -0
  807. /package/dist/{chunk-JL3PYV5F.js.map → chunk-VBTBUXXX.js.map} +0 -0
  808. /package/dist/{chunk-FTGLS763.js.map → chunk-VHWJK2MP.js.map} +0 -0
  809. /package/dist/{chunk-K6VYSDB5.js.map → chunk-VLIOMJDR.js.map} +0 -0
  810. /package/dist/{chunk-U2GHNZ4N.js.map → chunk-VMK4RHV5.js.map} +0 -0
  811. /package/dist/{chunk-GWNCQ5YI.js.map → chunk-WKT7RF3C.js.map} +0 -0
  812. /package/dist/{chunk-ETXOEP4N.js.map → chunk-WXSMUSU7.js.map} +0 -0
  813. /package/dist/{chunk-ZYAZHJPZ.js.map → chunk-WXSX5OQJ.js.map} +0 -0
  814. /package/dist/{chunk-CTVPW77S.js.map → chunk-WY3IORKG.js.map} +0 -0
  815. /package/dist/{chunk-WKGKKM6F.js.map → chunk-WYSOOKFJ.js.map} +0 -0
  816. /package/dist/{chunk-TUO5I6LP.js.map → chunk-XBBFFOLS.js.map} +0 -0
  817. /package/dist/{chunk-YVQ4USPP.js.map → chunk-XSRQGX5H.js.map} +0 -0
  818. /package/dist/{chunk-KSS26PXB.js.map → chunk-YLL6CTBL.js.map} +0 -0
  819. /package/dist/{chunk-ANBGNYNP.js.map → chunk-YPBY37KD.js.map} +0 -0
  820. /package/dist/{chunk-DKPAOVJH.js.map → chunk-YUNJBIK4.js.map} +0 -0
  821. /package/dist/{chunk-IANE75G3.js.map → chunk-Z5ECCUNG.js.map} +0 -0
  822. /package/dist/{cohort-QSLKB4ZO.js.map → cohort-5WL6UJOS.js.map} +0 -0
  823. /package/dist/{cohortSunburst-AQFSNJ5K.js.map → cohortSunburst-R3Z5KJQL.js.map} +0 -0
  824. /package/dist/{condition-MLS6TJHV.js.map → condition-2IILUMVB.js.map} +0 -0
  825. /package/dist/{controls-ZT3GZ667.js.map → controls-G3JITZF5.js.map} +0 -0
  826. /package/dist/{controls.config-F7NIPLKB.js.map → controls.config-BO7KPPET.js.map} +0 -0
  827. /package/dist/{correlation-ZEIQJGSQ.js.map → correlation-CZILLVEM.js.map} +0 -0
  828. /package/dist/{customdata.inputui-6PJSAJK2.js.map → customdata.inputui-BXFQAMTR.js.map} +0 -0
  829. /package/dist/{databrowser.ui-EMZ5L2Y7.js.map → databrowser.ui-V2NJQF3U.js.map} +0 -0
  830. /package/dist/{dictionary-U2BWGY6B.js.map → dictionary-OVAQX6R3.js.map} +0 -0
  831. /package/dist/{dnaMethylation-R34E2XNC.js.map → dnaMethylation-DHPFRXB2.js.map} +0 -0
  832. /package/dist/{dnaMethylation.integration.spec-4Z2AJHWY.js.map → dnaMethylation.integration.spec-PJLIRGN5.js.map} +0 -0
  833. /package/dist/{dofetch-JY4A7BYI.js.map → dofetch-KBTN6OW4.js.map} +0 -0
  834. /package/dist/{e2pca-WSSCXX6A.js.map → e2pca-O7SNMJGB.js.map} +0 -0
  835. /package/dist/{ep-ATUWEHDJ.js.map → ep-NIVLKG4S.js.map} +0 -0
  836. /package/dist/{expclust.gdc.spec-QRIRRPO7.js.map → expclust.gdc.spec-LVCD6C43.js.map} +0 -0
  837. /package/dist/{facet-5VDCSP3S.js.map → facet-LB4SCXE4.js.map} +0 -0
  838. /package/dist/{gb-Y4UG6LFA.js.map → gb-3IJ4NCPO.js.map} +0 -0
  839. /package/dist/{geneExpClustering-OO67JNJ2.js.map → geneExpClustering-SIAC7CMA.js.map} +0 -0
  840. /package/dist/{geneExpression-KPRFXKU7.js.map → geneExpression-KPUOZ4PT.js.map} +0 -0
  841. /package/dist/{geneExpression-5KGV3MAA.js.map → geneExpression-P2TTZXN2.js.map} +0 -0
  842. /package/dist/{geneExpression.unit.spec-YV45EZ5O.js.map → geneExpression.unit.spec-Q5D6XHUF.js.map} +0 -0
  843. /package/dist/{geneORA-R74JPUTC.js.map → geneORA-PKUIJKTL.js.map} +0 -0
  844. /package/dist/{geneRanking-IJTXNMHV.js.map → geneRanking-ZGT5MHBV.js.map} +0 -0
  845. /package/dist/{geneVariant-JT3EGAIH.js.map → geneVariant-24YNANTT.js.map} +0 -0
  846. /package/dist/{geneVariant-HBAHT6LU.js.map → geneVariant-CDGENHWQ.js.map} +0 -0
  847. /package/dist/{geneVariant.integration.spec-TFQYPUAS.js.map → geneVariant.integration.spec-7QW4C2WO.js.map} +0 -0
  848. /package/dist/{genefusion.ui-MMTQMTHC.js.map → genefusion.ui-NVXGSBXD.js.map} +0 -0
  849. /package/dist/{geneset-VMBICNCZ.js.map → geneset-7STL6UDD.js.map} +0 -0
  850. /package/dist/{genomeBrowser.spec-2XLLIYGA.js.map → genomeBrowser.spec-OE2CIP7I.js.map} +0 -0
  851. /package/dist/{grin2-2RYPEUWV.js.map → grin2-2HXUIY5O.js.map} +0 -0
  852. /package/dist/{grin2-Y6KAFVV2.js.map → grin2-32IIJR5E.js.map} +0 -0
  853. /package/dist/{hierCluster-EKGFBQT4.js.map → hierCluster-MDZEI2KB.js.map} +0 -0
  854. /package/dist/{hierCluster-Z4PVNMGS.js.map → hierCluster-T3PZUGBI.js.map} +0 -0
  855. /package/dist/{hierCluster.config-Q6WUNK2K.js.map → hierCluster.config-7UN6AYGB.js.map} +0 -0
  856. /package/dist/{hierCluster.integration.spec-2LHSHNFC.js.map → hierCluster.integration.spec-DWOYVK6T.js.map} +0 -0
  857. /package/dist/{hierCluster.interactivity-OGQ3KUY6.js.map → hierCluster.interactivity-5OM6XNFG.js.map} +0 -0
  858. /package/dist/{hierCluster.renderers-3GJZXG75.js.map → hierCluster.renderers-YGX6MZZW.js.map} +0 -0
  859. /package/dist/{imagePlot-ZJEZPBX7.js.map → imagePlot-KBRXDV5G.js.map} +0 -0
  860. /package/dist/{importPlot-GFEFYEHZ.js.map → importPlot-DJMIC22L.js.map} +0 -0
  861. /package/dist/{isoformExpression-A2X3DSR6.js.map → isoformExpression-SWDWADRC.js.map} +0 -0
  862. /package/dist/{isoformExpression.unit.spec-VKMEGCL4.js.map → isoformExpression.unit.spec-2U5KCYBP.js.map} +0 -0
  863. /package/dist/{junction-HWIHLQU2.js.map → junction-NMXVVGRG.js.map} +0 -0
  864. /package/dist/{junction.customTerm-C3VWXEYH.js.map → junction.customTerm-3R2GNE3A.js.map} +0 -0
  865. /package/dist/{junction.unit.spec-ZYJGDOXJ.js.map → junction.unit.spec-JTGBPPN7.js.map} +0 -0
  866. /package/dist/{launch.adhoc-HW5AZM4T.js.map → launch.adhoc-YB5SKMNY.js.map} +0 -0
  867. /package/dist/{leftlabel.sample-MTW2HRRQ.js.map → leftlabel.sample-QKXIODCS.js.map} +0 -0
  868. /package/dist/{lollipop-VWW5H6CR.js.map → lollipop-TSZ62PBH.js.map} +0 -0
  869. /package/dist/{maf-KEJYO3H4.js.map → maf-4L5YN4CG.js.map} +0 -0
  870. /package/dist/{maftimeline-MJZDSGSR.js.map → maftimeline-VOYB3NY3.js.map} +0 -0
  871. /package/dist/{matrix-3UJW6LOA.js.map → matrix-IWJECVTF.js.map} +0 -0
  872. /package/dist/{matrix-W4AX5OBM.js.map → matrix-MMJAJZA7.js.map} +0 -0
  873. /package/dist/{matrix.cells-5DAIZ3E5.js.map → matrix.cells-5RTZUJVN.js.map} +0 -0
  874. /package/dist/{matrix.config-PK26VPQT.js.map → matrix.config-DZGOZWJS.js.map} +0 -0
  875. /package/dist/{matrix.data-UK5DGKBK.js.map → matrix.data-Y5TPRGMW.js.map} +0 -0
  876. /package/dist/{matrix.groups-NM4Q5YDN.js.map → matrix.groups-6DXCAY4P.js.map} +0 -0
  877. /package/dist/{matrix.integration.spec-FGWNBCRR.js.map → matrix.integration.spec-2N237E7T.js.map} +0 -0
  878. /package/dist/{matrix.interactivity-4C37PII5.js.map → matrix.interactivity-FL33UUKR.js.map} +0 -0
  879. /package/dist/{matrix.layout-ODV7WXUP.js.map → matrix.layout-7SYHV3KJ.js.map} +0 -0
  880. /package/dist/{matrix.legend-5MY7OXWN.js.map → matrix.legend-S3E76TVO.js.map} +0 -0
  881. /package/dist/{matrix.renderers-QA7W7ZUL.js.map → matrix.renderers-3SIBT2RP.js.map} +0 -0
  882. /package/dist/{matrix.serieses-4FSFJPCK.js.map → matrix.serieses-3UGLZW25.js.map} +0 -0
  883. /package/dist/{matrix.sort-3QLFMBJ5.js.map → matrix.sort-A7CNLDUJ.js.map} +0 -0
  884. /package/dist/{matrix.sort.unit.spec-HVOC6IYT.js.map → matrix.sort.unit.spec-L3H44T6I.js.map} +0 -0
  885. /package/dist/{matrix.sorterUi-EY3SA6CG.js.map → matrix.sorterUi-6PZR3YOD.js.map} +0 -0
  886. /package/dist/{matrix.sorterUi.unit.spec-OAXWPZZI.js.map → matrix.sorterUi.unit.spec-2NRU5UFH.js.map} +0 -0
  887. /package/dist/{matrix.unit.spec-RAL7AU22.js.map → matrix.unit.spec-HRZIJB6T.js.map} +0 -0
  888. /package/dist/{mavb-KIM63AC4.js.map → mavb-ZVRQSDPS.js.map} +0 -0
  889. /package/dist/{mds.fimo-DMAVM56P.js.map → mds.fimo-ZKETTET7.js.map} +0 -0
  890. /package/dist/{mds.samplescatterplot-KILTR2C7.js.map → mds.samplescatterplot-ZV3UNRLP.js.map} +0 -0
  891. /package/dist/{mds.survivalplot-PV76ANBP.js.map → mds.survivalplot-OVXZRTU4.js.map} +0 -0
  892. /package/dist/{multivalue-2V5LMQY7.js.map → multivalue-6BE5IA4F.js.map} +0 -0
  893. /package/dist/{numericDictTermCluster-TGL4X6UC.js.map → numericDictTermCluster-6XDVVWLE.js.map} +0 -0
  894. /package/dist/{oncomatrix-2O7SLXHX.js.map → oncomatrix-XK62NEOO.js.map} +0 -0
  895. /package/dist/{oncomatrix.spec-HZJKOF5G.js.map → oncomatrix.spec-YVTCHOPS.js.map} +0 -0
  896. /package/dist/{plot.2dvaf-424NNMMA.js.map → plot.2dvaf-NUOBWMNX.js.map} +0 -0
  897. /package/dist/{plot.app-YBZDNST2.js.map → plot.app-G6IQWXTV.js.map} +0 -0
  898. /package/dist/{plot.barplot-YZQBYJUY.js.map → plot.barplot-6QJ6HEJR.js.map} +0 -0
  899. /package/dist/{plot.boxplot-5OW6IBQL.js.map → plot.boxplot-XKQJSW2O.js.map} +0 -0
  900. /package/dist/{plot.brainImaging-H3ABPPD3.js.map → plot.brainImaging-UTHFJFXU.js.map} +0 -0
  901. /package/dist/{plot.disco-X7KCDWGX.js.map → plot.disco-3MSCX7TM.js.map} +0 -0
  902. /package/dist/{plot.ssgq-GYRVHTC7.js.map → plot.ssgq-4KBVHF42.js.map} +0 -0
  903. /package/dist/{plot.vaf2cov-B2TELPHL.js.map → plot.vaf2cov-OGUQSSDS.js.map} +0 -0
  904. /package/dist/{polar2-5KNZRLXY.js.map → polar2-V7M56GTZ.js.map} +0 -0
  905. /package/dist/{profileForms-FY34KXCL.js.map → profileForms-TS3BJLHH.js.map} +0 -0
  906. /package/dist/{profilePlot-3FX2TPYC.js.map → profilePlot-DP5272HR.js.map} +0 -0
  907. /package/dist/{proteinView-WSEO3LD3.js.map → proteinView-K4K4SP3L.js.map} +0 -0
  908. /package/dist/{proteomeCohortCompare-KA2DF3EE.js.map → proteomeCohortCompare-SFWVGLFK.js.map} +0 -0
  909. /package/dist/{pseudbulk.unit.spec-AT3TFCOW.js.map → pseudbulk.unit.spec-NFOA7J2C.js.map} +0 -0
  910. /package/dist/{pseudobulk-4ZRHUC7W.js.map → pseudobulk-XKZQEZ4I.js.map} +0 -0
  911. /package/dist/{qualitative-3OBGJRP6.js.map → qualitative-7OSFNVI5.js.map} +0 -0
  912. /package/dist/{qualitative-FHJD44OA.js.map → qualitative-OIIN6E4Y.js.map} +0 -0
  913. /package/dist/{radar2-X757WR6V.js.map → radar2-AHZJKX7S.js.map} +0 -0
  914. /package/dist/{radarFacility2-GUBAK4Y3.js.map → radarFacility2-OUW6D5E7.js.map} +0 -0
  915. /package/dist/{rememberedGvQ.unit.spec-ADO4Y2OE.js.map → rememberedGvQ.unit.spec-SHTMMZGG.js.map} +0 -0
  916. /package/dist/{render-MZEPNEMU.js.map → render-7UZSGX3Q.js.map} +0 -0
  917. /package/dist/{report-TUAFDGAE.js.map → report-J7HKTXZ2.js.map} +0 -0
  918. /package/dist/{sampleView-X6YKCBE7.js.map → sampleView-6547OUIM.js.map} +0 -0
  919. /package/dist/{samplelst-UPNRALBH.js.map → samplelst-UHF23UEB.js.map} +0 -0
  920. /package/dist/{samplematrix-W3HZK3IS.js.map → samplematrix-OOKS3TMR.js.map} +0 -0
  921. /package/dist/{sc-UL7233UR.js.map → sc-WF2BLGNG.js.map} +0 -0
  922. /package/dist/{scatter-VQQRIW6N.js.map → scatter-ABCVFGRV.js.map} +0 -0
  923. /package/dist/{scatter-FTJ77NUM.js.map → scatter-WF7XM3IA.js.map} +0 -0
  924. /package/dist/{selectGenomeWithTklst-HPYPSPFI.js.map → selectGenomeWithTklst-67HU5KRB.js.map} +0 -0
  925. /package/dist/{singleCellCellType-XTKGOH6H.js.map → singleCellCellType-3FZPJ25V.js.map} +0 -0
  926. /package/dist/{singleCellCellType.unit.spec-A62GT72A.js.map → singleCellCellType.unit.spec-TOMREHWK.js.map} +0 -0
  927. /package/dist/{singleCellGeneExpression-X7H5GTU3.js.map → singleCellGeneExpression-NQTJ5KJQ.js.map} +0 -0
  928. /package/dist/{singleCellGeneExpression.unit.spec-2KQBHG7O.js.map → singleCellGeneExpression.unit.spec-ZWUQTU2N.js.map} +0 -0
  929. /package/dist/{singleCellNumericValue-6YS42PZ2.js.map → singleCellNumericValue-VI7H722L.js.map} +0 -0
  930. /package/dist/{singleCellNumericValue.unit.spec-DNVXQFKI.js.map → singleCellNumericValue.unit.spec-QGLHES7H.js.map} +0 -0
  931. /package/dist/{singleCellPlot-MGOQ7EQV.js.map → singleCellPlot-RU5T6SJK.js.map} +0 -0
  932. /package/dist/{singlecell-QW3SLQD6.js.map → singlecell-C3CJVNXP.js.map} +0 -0
  933. /package/dist/{singlecell-CIOB5XON.js.map → singlecell-NRQZ7KC6.js.map} +0 -0
  934. /package/dist/{snp-6B4MIPKL.js.map → snp-X6XY65VS.js.map} +0 -0
  935. /package/dist/{snp.unit.spec-HNILS56E.js.map → snp.unit.spec-6EENK7GQ.js.map} +0 -0
  936. /package/dist/{snplocus-DDFLYZ2Y.js.map → snplocus-R4JA6TFT.js.map} +0 -0
  937. /package/dist/{snplst-JYKOV73J.js.map → snplst-SOWVHSXH.js.map} +0 -0
  938. /package/dist/{spliceevent.a53ss.diagram-IBD5ITXR.js.map → spliceevent.a53ss.diagram-IRLCCVQZ.js.map} +0 -0
  939. /package/dist/{spliceevent.exonskip.diagram-ZJGEVUYW.js.map → spliceevent.exonskip.diagram-4KG7LE5D.js.map} +0 -0
  940. /package/dist/{spliceevent.noeventdiagram-RNLNTFOW.js.map → spliceevent.noeventdiagram-OWXAJJX7.js.map} +0 -0
  941. /package/dist/{ssGSEA-42VQLAXL.js.map → ssGSEA-EMOKPLMP.js.map} +0 -0
  942. /package/dist/{ssGSEA.unit.spec-FBJANIKG.js.map → ssGSEA.unit.spec-KXQ7R5WH.js.map} +0 -0
  943. /package/dist/{stattable-FROSNTJY.js.map → stattable-H2G7MOZG.js.map} +0 -0
  944. /package/dist/{studyCatalog-XIYNJ24U.js.map → studyCatalog-3ITQXWFL.js.map} +0 -0
  945. /package/dist/{summarizeCnvGeneexp-N3OFI24L.js.map → summarizeCnvGeneexp-ZIPU6YDY.js.map} +0 -0
  946. /package/dist/{summarizeGeneexpSurvival-J4DO2AL4.js.map → summarizeGeneexpSurvival-3RYU226R.js.map} +0 -0
  947. /package/dist/{summarizeMutationCnv-Y43BBSI4.js.map → summarizeMutationCnv-RGDBUB22.js.map} +0 -0
  948. /package/dist/{summarizeMutationDiagnosis-JAEAUFCA.js.map → summarizeMutationDiagnosis-Z4MZE6Y4.js.map} +0 -0
  949. /package/dist/{summarizeMutationSurvival-4QZDDXDV.js.map → summarizeMutationSurvival-Z5CNRH7E.js.map} +0 -0
  950. /package/dist/{summary-DTJZ7NNA.js.map → summary-6QQCNX3B.js.map} +0 -0
  951. /package/dist/{summary.integration.spec-HRRE3J45.js.map → summary.integration.spec-3ULXTZUP.js.map} +0 -0
  952. /package/dist/{summaryInput-WCADUZBK.js.map → summaryInput-4QKR34QB.js.map} +0 -0
  953. /package/dist/{termCollection-QIN53TIL.js.map → sunburst-KB3BWC72.js.map} +0 -0
  954. /package/dist/{sunburst-BGXSCB63.js.map → sunburst-XTFBHZNH.js.map} +0 -0
  955. /package/dist/{survival-LFXQIWRT.js.map → survival-7O6ZK63E.js.map} +0 -0
  956. /package/dist/{survival-ONWZ5RFM.js.map → survival-NNCY4K6C.js.map} +0 -0
  957. /package/dist/{survival.integration.spec-ZP7XWHQH.js.map → survival.integration.spec-ZYZHZAXA.js.map} +0 -0
  958. /package/dist/{svgraph-2SL2SJVU.js.map → svgraph-ZLSFFEAC.js.map} +0 -0
  959. /package/dist/{svmr-ONIPMLC2.js.map → svmr-REBBDEYM.js.map} +0 -0
  960. /package/dist/{table-LLCFO4KK.js.map → table-CWIQQESJ.js.map} +0 -0
  961. /package/dist/{termCollectionFractionSelection-UKEVVZXL.js.map → termCollection-7TYJSQ45.js.map} +0 -0
  962. /package/dist/{termCollection-DAHJGR5P.js.map → termCollection-7Z55QNL7.js.map} +0 -0
  963. /package/dist/{termCollection.unit.spec-FQOX2IVP.js.map → termCollection.unit.spec-LQ5MIBDH.js.map} +0 -0
  964. /package/dist/{tk-GM7CJ2LU.js.map → termCollectionFractionSelection-24DZYVDU.js.map} +0 -0
  965. /package/dist/{termCollectionFractionSelection.unit.spec-URGEYBU2.js.map → termCollectionFractionSelection.unit.spec-DCV2CFS5.js.map} +0 -0
  966. /package/dist/{tvs.categorical-IY6YSFVN.js.map → tk-2WZFPRCP.js.map} +0 -0
  967. /package/dist/{tp.ui-TRUHW6GP.js.map → tp.ui-HXQX2UH4.js.map} +0 -0
  968. /package/dist/{tvs.density-CB24PXDE.js.map → tvs.categorical-4D3JI2ER.js.map} +0 -0
  969. /package/dist/{tvs.condition-YTD7GOPW.js.map → tvs.condition-62FXFHZ5.js.map} +0 -0
  970. /package/dist/{tvs.dt-AQQIZD5Z.js.map → tvs.density-IGO4I4T2.js.map} +0 -0
  971. /package/dist/{tvs.numeric-UFAOJR2B.js.map → tvs.dt-FZSVMJOO.js.map} +0 -0
  972. /package/dist/{tvs.dtcnv.categorical-WOAOGJSW.js.map → tvs.dtcnv.categorical-PPFQIC42.js.map} +0 -0
  973. /package/dist/{tvs.dtcnv.continuous-TJBEPJGO.js.map → tvs.dtcnv.continuous-TV2IGHY4.js.map} +0 -0
  974. /package/dist/{tvs.dtfusion-SFMZQKKU.js.map → tvs.dtfusion-ON4BA4XJ.js.map} +0 -0
  975. /package/dist/{tvs.dtitd-Q5RQTCLD.js.map → tvs.dtitd-VFNROOWQ.js.map} +0 -0
  976. /package/dist/{tvs.dtsnvindel-UEK4O6WI.js.map → tvs.dtsnvindel-ZXOP37T5.js.map} +0 -0
  977. /package/dist/{tvs.dtsv-ECS4KEYG.js.map → tvs.dtsv-EUHPTW7J.js.map} +0 -0
  978. /package/dist/{tvs.multivalue-CJIZ3I54.js.map → tvs.multivalue-NHVXZNDI.js.map} +0 -0
  979. /package/dist/{vocabulary-MTKDDDGB.js.map → tvs.numeric-FPWDPO3J.js.map} +0 -0
  980. /package/dist/{tvs.samplelst-BVFY2P7Q.js.map → tvs.samplelst-ZZHRNUP4.js.map} +0 -0
  981. /package/dist/{tvs.survival-L56B3I55.js.map → tvs.survival-F3KSG3U6.js.map} +0 -0
  982. /package/dist/{tvs.termCollection-BFIBVBSA.js.map → tvs.termCollection-B37DZLDY.js.map} +0 -0
  983. /package/dist/{wsi.direct-OSHY7VL4.js.map → wsi.direct-3YH3QGQD.js.map} +0 -0
@@ -1,2292 +0,0 @@
1
- import {
2
- convertUnits,
3
- isNumeric,
4
- isStrictNumeric
5
- } from "./chunk-W5J3LTYS.js";
6
- import {
7
- isNumericTerm
8
- } from "./chunk-GN2A5NL5.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-ME3HB3V6.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/dmrColors.js
426
- var HYPER_COLOR = "#e66101";
427
- var HYPO_COLOR = "#5e81f4";
428
-
429
- // ../shared/utils/dist/src/compute.percentile.js
430
- function computePercentile(values, percentile, sorted = false) {
431
- if (!sorted) values.sort((a, b) => a - b);
432
- const index = Math.abs(percentile / 100 * values.length - 1);
433
- const value = Number.isInteger(index) ? (values[index] + values[index + 1]) / 2 : values[Math.ceil(index)];
434
- return value;
435
- }
436
-
437
- // ../shared/utils/dist/src/hash.js
438
- var encoder = new TextEncoder();
439
- async function hash(message) {
440
- const msgUint8 = encoder.encode(message);
441
- const hashBuffer = await crypto.subtle.digest("SHA-1", msgUint8);
442
- const hashArray = Array.from(new Uint8Array(hashBuffer));
443
- const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
444
- return hexToBase64(hashHex).replace("=", "-");
445
- }
446
- function hexToBase64(hexStr) {
447
- return btoa(
448
- [...hexStr].reduce(
449
- (acc, _, i) => acc += !(i - 1 & 1) ? String.fromCharCode(parseInt(hexStr.substring(i - 1, i + 1), 16)) : "",
450
- ""
451
- )
452
- );
453
- }
454
-
455
- // ../shared/utils/dist/src/urljson.js
456
- var import_secure_json_parse = __toESM(require_secure_json_parse(), 1);
457
- var reserved = ["false", "true", "null", "undefined"];
458
- var delimiters = ['"', "{", "["];
459
- function encode(rawObject) {
460
- const params = [];
461
- for (const [key, value] of Object.entries(rawObject)) {
462
- if (typeof value == "string" && !isNumeric(value) && !reserved.includes(value) && !delimiters.includes(value[0])) {
463
- params.push(`${key}=${encodeURIComponent(value)}`);
464
- } else if (value !== void 0) {
465
- params.push(`${key}=${encodeURIComponent(JSON.stringify(value))}`);
466
- }
467
- }
468
- return params.join("&");
469
- }
470
-
471
- // ../shared/utils/dist/src/fetch-helpers.js
472
- async function processResponse(r) {
473
- const ct = r.headers.get("content-type");
474
- if (!ct) throw `missing response.header['content-type']`;
475
- if (ct.includes("/json")) {
476
- const payload = await r.json();
477
- return payload;
478
- }
479
- if (ct.includes("/text") || ct.includes("text/")) {
480
- return r.text();
481
- }
482
- if (ct.includes("multipart")) {
483
- if (ct.startsWith("multipart/form-data")) return processFormData(r);
484
- else throw `cannot handle response content-type: '${ct}'`;
485
- }
486
- if (ct == "application/x-ndjson-nestedkey") {
487
- return processNDJSON_nestedKey(r);
488
- }
489
- return r.blob();
490
- }
491
- async function processFormData(res) {
492
- const data = {};
493
- const form = await res.formData();
494
- for (const [key, value] of form.entries()) {
495
- if (value.type) {
496
- data[key] = { headers: { "content-type": value.type }, body: value };
497
- } else {
498
- const body = !value ? [] : value.trim().split("\n").map(JSON.parse);
499
- data[key] = { headers: { "content-type": "application/json" }, body };
500
- }
501
- }
502
- return data;
503
- }
504
- async function processNDJSON_nestedKey(r) {
505
- const stream = r.body.pipeThrough(new TextDecoderStream());
506
- const reader = stream.getReader();
507
- let rootObj = {};
508
- let buffer = "";
509
- let done = false;
510
- while (!done) {
511
- const readResult = await reader.read();
512
- done = readResult.done;
513
- if (done) break;
514
- const value = readResult.value;
515
- buffer += value;
516
- const parts = buffer.split("\n");
517
- buffer = parts.pop() ?? "";
518
- for (const line of parts) {
519
- if (line.trim()) {
520
- const [keys, data] = JSON.parse(line);
521
- if (!keys.length) rootObj = data;
522
- else {
523
- const lastKey = keys.pop();
524
- let target = rootObj;
525
- for (const k of keys) target = target[k];
526
- target[lastKey] = data;
527
- }
528
- }
529
- }
530
- }
531
- return rootObj;
532
- }
533
- var cacheLifetime = 1e3 * 60 * 5;
534
- async function getDataName(url, init) {
535
- const dataName = url + " | " + init.method + " | " + init.body + " | " + JSON.stringify(init.headers);
536
- return await hash(dataName);
537
- }
538
-
539
- // ../shared/utils/dist/src/fileSize.js
540
- function fileSize(v) {
541
- if (v > 1e9) return (v / 1e9).toFixed(2) + " GB";
542
- if (v > 1e6) return (v / 1e6).toFixed(2) + " MB";
543
- if (v > 1e3) return (v / 1e3).toFixed(2) + " KB";
544
- return v + " Bytes";
545
- }
546
-
547
- // ../shared/utils/dist/src/mds3tk.js
548
- var ssmIdFieldsSeparator = "__";
549
- function summarize_mclass(mlst) {
550
- const m2c = /* @__PURE__ */ new Map();
551
- const cnvs = [];
552
- for (const m of mlst) {
553
- if (m.dt == dtcnv) {
554
- cnvs.push(m);
555
- continue;
556
- }
557
- const key = m.class || m.dt;
558
- m2c.set(key, 1 + (m2c.get(key) || 0));
559
- }
560
- if (cnvs.length) {
561
- if (Number.isFinite(cnvs[0].value)) {
562
- m2c.set(dtcnv, cnvs.length);
563
- } else {
564
- for (const c of cnvs) {
565
- if (!c.class) continue;
566
- m2c.set(c.class, 1 + (m2c.get(c.class) || 0));
567
- }
568
- }
569
- }
570
- return [...m2c].sort((i, j) => j[1] - i[1]);
571
- }
572
- function guessSsmid(ssmid) {
573
- const l = ssmid.split(ssmIdFieldsSeparator);
574
- if (l.length == 4) {
575
- const [chr, tmp, ref, alt] = l;
576
- const pos = Number(tmp);
577
- if (Number.isNaN(pos)) throw "ssmid snvindel pos not integer";
578
- return { dt: dtsnvindel, l: [chr, pos, ref, alt] };
579
- }
580
- if (l.length == 5) {
581
- const [chr, _start, _stop, _class, _value] = l;
582
- const start = Number(_start), stop = Number(_stop);
583
- if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
584
- const value = _value == "" ? null : Number(_value);
585
- if (_class == mclassitd) {
586
- return { dt: dtitd, l: [chr, start, stop, _class, value] };
587
- }
588
- return { dt: dtcnv, l: [chr, start, stop, _class, value] };
589
- }
590
- if (l.length == 6) {
591
- if (l[3] == "+" || l[3] == "-") {
592
- const [_dt, chr2, _pos, strand, _pi, _mname] = l;
593
- const mname = decodeURIComponent(_mname);
594
- const dt = Number(_dt);
595
- if (dt != dtsv && dt != dtfusionrna) throw "ssmid dt not sv/fusion";
596
- const pos = Number(_pos);
597
- if (Number.isNaN(pos)) throw "ssmid svfusion position not integer";
598
- const pairlstIdx = Number(_pi);
599
- if (Number.isNaN(pairlstIdx)) throw "ssmid pairlstIdx not integer";
600
- return { dt, l: [dt, chr2, pos, strand, pairlstIdx, mname] };
601
- }
602
- const [chr, _start, _stop, _class, _value, sample] = l;
603
- const start = Number(_start), stop = Number(_stop);
604
- if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
605
- if (_class == mclassitd) {
606
- return { dt: dtitd, l: [chr, start, stop, _class, _value, sample] };
607
- }
608
- const value = _value == "" ? null : Number(_value);
609
- return { dt: dtcnv, l: [chr, start, stop, _class, value, sample] };
610
- }
611
- throw new Error("unknown ssmid");
612
- }
613
-
614
- // ../shared/utils/dist/src/scatter.js
615
- var xAxisOffSet = 80;
616
- var yAxisOffSet = 30;
617
- function getCoordinate(val, min, max) {
618
- if (min != null && val < min) return min;
619
- if (max != null && val > max) return max;
620
- return val;
621
- }
622
- function calculatePadding(minScale, maxScale, min, max) {
623
- return minScale != null || maxScale != null ? 0 : (max - min) * 0.01;
624
- }
625
-
626
- // ../shared/utils/dist/src/termdb.bins.js
627
- function validate_bins(binconfig) {
628
- const bc = binconfig;
629
- if (!bc || typeof bc !== "object") throw "bin schema must be an object";
630
- if (!("type" in bc)) bc.type = "regular-bin";
631
- if (bc.type == "custom-bin") {
632
- if (!Array.isArray(bc.lst)) throw "binconfig.lst must be an array";
633
- if (!bc.lst.length) throw "binconfig.lst must have entries";
634
- const first_bin = bc.lst[0];
635
- const last_bin = bc.lst[bc.lst.length - 1];
636
- for (const bin of bc.lst) {
637
- if (!("startinclusive" in bin) && !("stopinclusive" in bin)) {
638
- throw "custom bin.startinclusive and/or bin.stopinclusive must be defined";
639
- }
640
- if (bin == first_bin) {
641
- if ("startunbounded" in bin && !bin.startunbounded) {
642
- throw `a custom first bin must not set bin.startunbounded to false`;
643
- }
644
- bin.startunbounded = true;
645
- if ("start" in bin) {
646
- throw "a custom first bin must not set a bin.start value";
647
- }
648
- if ("start_percentile" in bin) {
649
- throw "the first bin must not set a bin.start_percentile value";
650
- }
651
- if (!("stop" in bin)) {
652
- throw `a custom first bin must define a bin.stop value`;
653
- }
654
- if (!isStrictNumeric(bin.stop)) {
655
- throw `a custom first bin.stop value should be numeric`;
656
- }
657
- } else if (bin == last_bin) {
658
- if (!("start" in bin)) {
659
- throw `a custom last bin must define a bin.start value`;
660
- }
661
- if (!isStrictNumeric(bin.start)) {
662
- throw `a custom last bin.start must be numeric`;
663
- }
664
- if ("stopunbounded" in bin && !bin.stopunbounded) {
665
- throw "a custom last bin must not set bin.stopunbounded to false";
666
- }
667
- bin.stopunbounded = true;
668
- if ("stop" in bin) {
669
- throw "a custom last bin must not set a bin.stop value";
670
- }
671
- } else {
672
- if (bin.startunbounded || bin.stopunbounded) {
673
- throw "bin.startunbounded and bin.stopunbounded must not be set for non-first/non-last bins";
674
- }
675
- if (!isStrictNumeric(bin.start)) throw "bin.start must be numeric for a non-first bin";
676
- if (!isStrictNumeric(bin.stop)) throw "bin.stop must be numeric for a non-last bin";
677
- }
678
- }
679
- } else if (bc.type == "regular-bin") {
680
- if (!Number.isFinite(bc.bin_size)) throw "non-numeric bin_size";
681
- if (!bc.bin_size || bc.bin_size <= 0) throw "bin_size must be greater than 0";
682
- if (!bc.startinclusive && !bc.stopinclusive) {
683
- bc.startinclusive = true;
684
- bc.stopinclusive = false;
685
- }
686
- if (!bc.first_bin) throw "first_bin{} missing";
687
- if (typeof bc.first_bin != "object") throw "first_bin{} is not an object";
688
- if (!Object.keys(bc.first_bin).length) throw "first_bin is an empty object";
689
- {
690
- const b = bc.first_bin;
691
- b.startunbounded = true;
692
- if (b.stop_percentile) {
693
- if (!Number.isInteger(b.stop_percentile)) throw "first_bin.stop_percentile should be integer";
694
- if (b.stop_percentile <= 0 || b.stop_percentile >= 100) throw "first_bin.stop_percentile out of bound (0-100)";
695
- } else if (!Number.isFinite(b.stop)) {
696
- throw "first_bin.stop not a number when stop_percentile is not set";
697
- }
698
- }
699
- if (bc.last_bin) {
700
- const b = bc.last_bin;
701
- if (b.start_percentile) {
702
- if (!Number.isInteger(b.start_percentile)) throw "last_bin.start_percentile should be integer";
703
- if (b.start_percentile <= 0 || b.start_percentile >= 100) throw "last_bin.start_percentile out of bound (0-100)";
704
- } else if (!Number.isFinite(b.start)) {
705
- throw "last_bin.start not a number when start_percentile is not set";
706
- }
707
- b.stopunbounded = true;
708
- if ("stop" in b) {
709
- throw "a regular last bin must not set a bin.stop value";
710
- }
711
- }
712
- } else {
713
- throw `invalid binconfig.type="${bc.type}"`;
714
- }
715
- }
716
- var maxNumBins = 100;
717
- function compute_bins(binconfig, summaryfxn, valueConversion) {
718
- const bc = binconfig;
719
- validate_bins(bc);
720
- if (bc.lst) {
721
- if (!Array.isArray(bc.lst)) throw `bc.lst is not an array`;
722
- if (bc.lst.length > maxNumBins) throw `bc.lst exceed the maximum of ${maxNumBins} allowed entries`;
723
- assignBinColors(bc.lst);
724
- }
725
- if (bc.type == "custom-bin") return JSON.parse(JSON.stringify(bc.lst));
726
- if (typeof summaryfxn != "function") throw "summaryfxn required for modules/termdb.bins.js compute_bins()";
727
- const percentiles = target_percentiles(bc);
728
- const summary = summaryfxn(percentiles);
729
- if (!summary || typeof summary !== "object") throw "invalid returned value by summaryfxn";
730
- bc.results = { summary };
731
- if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
732
- const minFloor = Math.floor(summary.min * 100) / 100;
733
- const maxCeil = Math.ceil(summary.max * 100) / 100;
734
- const min = bc.first_bin.startunbounded ? minFloor : bc.first_bin.start_percentile ? summary["p" + bc.first_bin.start_percentile] : bc.first_bin.start;
735
- let max = maxCeil, last_start, last_stop;
736
- if (bc.last_bin) {
737
- 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;
738
- 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;
739
- 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;
740
- } else if (bc.lst) {
741
- const last_bin = bc.lst[bc.lst.length - 1];
742
- last_start = last_bin.start;
743
- last_stop = "stop" in last_bin && !last_bin.stopunbounded ? last_bin.stop : maxCeil;
744
- max = last_stop;
745
- } else {
746
- last_start = maxCeil;
747
- last_stop = maxCeil;
748
- }
749
- const numericMax = isStrictNumeric(max);
750
- const numericLastStart = isStrictNumeric(last_start);
751
- const numericLastStop = isStrictNumeric(last_stop);
752
- if (!numericMax && !numericLastStart) return [];
753
- const bins = [];
754
- let currBin = {
755
- startunbounded: bc.first_bin.startunbounded,
756
- start: bc.first_bin.startunbounded ? void 0 : min,
757
- 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,
758
- startinclusive: bc.startinclusive,
759
- stopinclusive: bc.stopinclusive
760
- };
761
- if (!isStrictNumeric(currBin.stop)) throw "the computed first_bin.stop is non-numeric" + currBin.stop;
762
- while (numericMax && currBin.stop <= max || currBin.startunbounded && !bins.length || currBin.stopunbounded) {
763
- bins.push(currBin);
764
- if (currBin.stop >= max) {
765
- currBin.stopunbounded = true;
766
- if (bins.length > 1) {
767
- delete currBin.stop;
768
- }
769
- }
770
- currBin.label = get_bin_label(currBin, bc, valueConversion);
771
- if (currBin.stopunbounded) break;
772
- const upper = currBin.stop + bc.bin_size;
773
- const previousStop = currBin.stop;
774
- currBin = {
775
- startinclusive: bc.startinclusive,
776
- stopinclusive: bc.stopinclusive,
777
- start: previousStop,
778
- stop: numericLastStop && (previousStop == last_start || upper > last_stop) ? last_stop : numericLastStart && upper > last_start && previousStop != last_start ? last_start : upper
779
- };
780
- if (currBin.stop >= max) {
781
- currBin.stop = max;
782
- if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
783
- if (bc.last_bin && bc.last_bin.stopinclusive) currBin.stopinclusive = 1;
784
- }
785
- if (numericLastStart && currBin.start == last_start) {
786
- if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
787
- }
788
- if (currBin.start > currBin.stop) {
789
- if (numericLastStart && currBin.stop == last_start && bc.last_bin && bc.last_bin.stopunbounded)
790
- currBin.stopunbounded = true;
791
- else break;
792
- }
793
- if (bins.length + 1 >= maxNumBins) {
794
- delete currBin.stop;
795
- currBin.stopunbounded = true;
796
- currBin.label = get_bin_label(currBin, bc, valueConversion);
797
- if (!bins.includes(currBin)) bins.push(currBin);
798
- const hint = "Please increase the bin_size or first bin stop, or have a lower last bin start.";
799
- throw new Error(hint + " (max_num_bins_reached)");
800
- }
801
- }
802
- delete bc.binLabelFormatter;
803
- if (bins.length > 1) {
804
- delete bins[bins.length - 1].stop;
805
- }
806
- assignBinColors(bins);
807
- return bins;
808
- }
809
- function assignBinColors(lst) {
810
- const k2c = getColors(lst.length);
811
- for (const [i, bin] of lst.entries()) bin.color = k2c(String(i));
812
- return lst;
813
- }
814
- function getNumDecimalsFormatter(bc) {
815
- return "rounding" in bc ? format(bc.rounding) : (d) => d;
816
- }
817
- function get_bin_label(bin, binconfig, valueConversion) {
818
- if (!bin) return "missing bin.label";
819
- if (bin.label) return bin.label;
820
- const bc = binconfig;
821
- if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
822
- if (!bin.startunbounded && !bin.stopunbounded && !("startinclusive" in bin) && !("stopinclusive" in bin)) {
823
- if (bc.startinclusive) bin.startinclusive = true;
824
- else if (bc.stopinclusive) bin.stopinclusive = true;
825
- }
826
- const start = bc.use_as == "bins" || bin.start;
827
- const stop = bc.use_as == "bins" || bin.stop;
828
- let label_offset = 0;
829
- if ("label_offset" in bc) {
830
- bc.label_offset_ignored = "bin_size" in bc && bc.bin_size < bc.label_offset;
831
- if (!bc.label_offset_ignored) label_offset = bc.label_offset;
832
- } else if (bc.bin_size === 1 && bc.termtype == "integer") {
833
- label_offset = 1;
834
- }
835
- if (bin.startunbounded) {
836
- const oper = bin.stopinclusive ? "\u2264" : "<";
837
- const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(stop);
838
- return oper + v1;
839
- }
840
- if (bin.stopunbounded || start === stop) {
841
- const oper = bin.startinclusive ? "\u2265" : ">";
842
- const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
843
- return oper + v0;
844
- }
845
- if (label_offset && bin.startinclusive && !bin.stopinclusive) {
846
- if (Number.isInteger(bc.bin_size) && Math.abs(start - stop) === label_offset) {
847
- return "" + (valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start));
848
- } else {
849
- const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
850
- const v1 = valueConversion ? convertUnits(
851
- stop - label_offset,
852
- valueConversion.fromUnit,
853
- valueConversion.toUnit,
854
- valueConversion.scaleFactor,
855
- true
856
- ) : bc.binLabelFormatter(stop - label_offset);
857
- return +v0 >= +v1 ? v0.toString() : v0 + " to " + v1;
858
- }
859
- } else {
860
- const oper0 = bin.startinclusive ? "" : ">";
861
- const oper1 = bin.stopinclusive ? "" : "<";
862
- const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(start) ? start : bc.binLabelFormatter(start);
863
- const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(stop) ? stop : bc.binLabelFormatter(stop);
864
- if (+v0 >= +v1) {
865
- const oper = bin.startinclusive ? "\u2265" : ">";
866
- return oper + v0;
867
- } else {
868
- return oper0 + v0 + " to " + oper1 + v1;
869
- }
870
- }
871
- }
872
- function get_bin_range_equation(bin, binconfig, valueConversion) {
873
- const x = '<span style="font-family:Times;font-style:italic;">x</span>';
874
- let range_eq;
875
- const copy = structuredClone(bin);
876
- copy.label = "";
877
- for (const k of ["start", "stop"]) {
878
- if (k in copy && typeof copy[k] != "number") copy[k] = isNumeric(copy[k]) ? Number(copy[k]) : NaN;
879
- }
880
- const bin_label = get_bin_label(copy, binconfig, valueConversion);
881
- if (bin.startunbounded || bin.stopunbounded) {
882
- range_eq = x + " " + bin_label;
883
- } else if (bin.startinclusive) {
884
- range_eq = bin_label.replace("to <", "\u2264 " + x + " <");
885
- } else if (bin.stopinclusive) {
886
- range_eq = bin_label.replace(">", "").replace("to", "< " + x + " \u2264");
887
- }
888
- return range_eq;
889
- }
890
- function target_percentiles(binconfig) {
891
- const percentiles = [];
892
- const f = binconfig.first_bin;
893
- if (f && isStrictNumeric(f.start_percentile)) percentiles.push(f.start_percentile);
894
- if (f && isStrictNumeric(f.stop_percentile)) percentiles.push(f.stop_percentile);
895
- const l = binconfig.last_bin;
896
- if (l && isStrictNumeric(l.start_percentile)) percentiles.push(l.start_percentile);
897
- if (l && isStrictNumeric(l.stop_percentile)) percentiles.push(l.stop_percentile);
898
- return percentiles;
899
- }
900
-
901
- // ../shared/utils/dist/src/termdb.initbinconfig.js
902
- function initBinConfig(data, opts = {}) {
903
- if (!data.length)
904
- return { mode: "discrete", type: "regular-bin", startinclusive: true, bin_size: null, first_bin: { stop: null } };
905
- if (data.find((d) => !Number.isFinite(d))) throw new Error("non-numeric values found");
906
- let binConfig;
907
- const s = new Set(data);
908
- if (s.size === 1) {
909
- const value = [...s][0];
910
- binConfig = {
911
- type: "custom-bin",
912
- lst: [
913
- { stop: value, stopinclusive: false, startunbounded: true, label: "<" + value },
914
- { start: value, stop: value, startinclusive: true, stopinclusive: true, label: "=" + value },
915
- { start: value, startinclusive: false, stopunbounded: true, label: ">" + value }
916
- ]
917
- };
918
- } else {
919
- data.sort((a, b) => a - b);
920
- const l = data.length;
921
- const min = data[0];
922
- const max = data[l - 1];
923
- const p5idx = Math.ceil(l * 0.05) - 1;
924
- const p98idx = Math.ceil(l * 0.98) - 1;
925
- const p5 = data[p5idx];
926
- const p98 = data[p98idx];
927
- const binSize = p98 != p5 ? (p98 - p5) / 8 : (max - min) / 8;
928
- const firstBinStop = Math.max(min + binSize, p5);
929
- const [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding] = roundBinVals(binSize, firstBinStop, max, min);
930
- binConfig = {
931
- type: "regular-bin",
932
- startinclusive: true,
933
- bin_size: binSize_rnd,
934
- first_bin: { stop: firstBinStop_rnd }
935
- };
936
- if (lastBinStart_rnd) binConfig.last_bin = { start: lastBinStart_rnd };
937
- if (rounding) binConfig.rounding = rounding;
938
- }
939
- if ("format" in opts) {
940
- if (opts.format === "string") {
941
- return JSON.stringify(binConfig);
942
- } else {
943
- throw "options are not in the correct format";
944
- }
945
- } else {
946
- return binConfig;
947
- }
948
- }
949
- function roundBinVals(binSize, firstBinStop, max, min) {
950
- let binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding;
951
- const log = Math.floor(Math.log10(binSize));
952
- if (binSize >= 0.1 && binSize <= 2) {
953
- binSize_rnd = Math.round(binSize / (1 * 10 ** log)) * (1 * 10 ** log);
954
- firstBinStop_rnd = Math.round(firstBinStop / (1 * 10 ** log)) * (1 * 10 ** log);
955
- } else {
956
- binSize_rnd = Math.round(binSize / (5 * 10 ** log)) * (5 * 10 ** log);
957
- firstBinStop_rnd = Math.round(firstBinStop / (5 * 10 ** log)) * (5 * 10 ** log);
958
- if (binSize_rnd === 0) binSize_rnd = 1 * 10 ** log;
959
- if (firstBinStop_rnd === 0) firstBinStop_rnd = 1 * 10 ** log;
960
- if (binSize_rnd === 5 * 10 ** log && firstBinStop_rnd === 1 * 10 ** log) firstBinStop_rnd = 5 * 10 ** log;
961
- }
962
- if (firstBinStop_rnd < min) firstBinStop_rnd = firstBinStop_rnd * 2;
963
- const eighthBinStop_rnd = firstBinStop_rnd + binSize_rnd * 7;
964
- if (max > eighthBinStop_rnd) {
965
- lastBinStart_rnd = firstBinStop_rnd + binSize_rnd * 6;
966
- }
967
- if (binSize < 1) {
968
- const digits = Math.abs(log);
969
- binSize_rnd = Number(binSize_rnd.toFixed(digits));
970
- firstBinStop_rnd = Number(firstBinStop_rnd.toFixed(digits));
971
- if (lastBinStart_rnd) lastBinStart_rnd = Number(lastBinStart_rnd.toFixed(digits));
972
- rounding = "." + digits + "f";
973
- }
974
- if (Object.is(firstBinStop_rnd, -0)) firstBinStop_rnd = 0;
975
- return [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding];
976
- }
977
-
978
- // ../shared/utils/dist/src/termdb.usecase.js
979
- var graphableTypes = /* @__PURE__ */ new Set([
980
- "categorical",
981
- "integer",
982
- "float",
983
- "condition",
984
- "survival",
985
- "snplst",
986
- "snplocus",
987
- "geneVariant",
988
- "samplelst",
989
- "geneExpression",
990
- ISOFORM_EXPRESSION,
991
- "dtcnv",
992
- "dtsnvindel",
993
- "dtfusion",
994
- "dtsv",
995
- "date",
996
- TermTypes.SSGSEA,
997
- TermTypes.DNA_METHYLATION,
998
- TermTypes.METABOLITE_INTENSITY,
999
- TermTypes.PROTEOME_ABUNDANCE,
1000
- TermTypes.PSEUDOBULK,
1001
- TermTypes.JUNCTION,
1002
- SINGLECELL_GENE_EXPRESSION,
1003
- SINGLECELL_CELLTYPE,
1004
- TermTypes.SINGLECELL_NUMERIC_VALUE,
1005
- TermTypes.SNP,
1006
- TermTypes.TERM_COLLECTION,
1007
- TermTypes.COHORT,
1008
- TermTypes.MULTIVALUE
1009
- ]);
1010
- function isUsableTerm(term, _usecase, termdbConfig, ds) {
1011
- const usecase = _usecase || {};
1012
- if (typeof ds?.usecase?.[usecase.target] == "function") {
1013
- return ds.usecase[usecase.target](term, usecase);
1014
- }
1015
- const uses = /* @__PURE__ */ new Set();
1016
- const child_types = term.child_types || [];
1017
- switch (usecase.target) {
1018
- case "barchart":
1019
- case "violin":
1020
- case "boxplot":
1021
- case "summary": {
1022
- const excluded = usecase.detail == "term2" ? ["survival", "multivalue"] : ["survival"];
1023
- if (term.type && !excluded.includes(term.type)) uses.add("plot");
1024
- if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
1025
- return uses;
1026
- }
1027
- case "summaryInput":
1028
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1029
- const excluded = usecase.detail === "term2" ? ["survival", "multivalue"] : ["survival"];
1030
- if (term.type && !excluded.includes(term.type)) uses.add("plot");
1031
- if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
1032
- return uses;
1033
- } else {
1034
- if (graphableTypes.has(term.type)) uses.add("plot");
1035
- if (!term.isleaf) uses.add("branch");
1036
- return uses;
1037
- }
1038
- case "matrix":
1039
- if (term.type) uses.add("plot");
1040
- if (!term.isleaf) uses.add("branch");
1041
- return uses;
1042
- case "table":
1043
- if (usecase.detail == "term") uses.add("plot");
1044
- if (child_types.length > 1) uses.add("branch");
1045
- return uses;
1046
- case "sampleScatter":
1047
- if (usecase.detail == "numeric") {
1048
- if (isNumericTerm(term)) {
1049
- uses.add("plot");
1050
- }
1051
- if (hasNumericChild(child_types)) uses.add("branch");
1052
- } else {
1053
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1054
- if (!term.isleaf) uses.add("branch");
1055
- }
1056
- return uses;
1057
- case "runChart2":
1058
- if (usecase.detail == "date" || usecase.detail == "xtw") {
1059
- if (term.type == "date") {
1060
- uses.add("plot");
1061
- }
1062
- if (child_types.includes("date")) uses.add("branch");
1063
- } else if (usecase.detail == "numeric") {
1064
- if (isNumericTerm(term) && term.type != "date") {
1065
- uses.add("plot");
1066
- }
1067
- if (hasNumericChild(child_types)) uses.add("branch");
1068
- } else {
1069
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1070
- if (!term.isleaf) uses.add("branch");
1071
- }
1072
- return uses;
1073
- case "numericDictTermCluster":
1074
- if (!usecase.detail?.exclude?.includes(term.id)) {
1075
- if (isNumericTerm(term)) {
1076
- uses.add("plot");
1077
- }
1078
- if (hasNumericChild(child_types)) {
1079
- uses.add("branch");
1080
- }
1081
- }
1082
- return uses;
1083
- case "termCollections":
1084
- if (usecase.detail?.termIds?.includes(term.id)) uses.add("plot");
1085
- if (usecase.detail?.branchIds?.includes(term.id)) uses.add("branch");
1086
- return uses;
1087
- case "profileForms":
1088
- if (!term.isleaf) {
1089
- const ancestors = term.id.split("__").length;
1090
- if (ancestors == 3) {
1091
- uses.add("plot");
1092
- } else if (ancestors < 3) uses.add("branch");
1093
- }
1094
- return uses;
1095
- // case 'boxplot':
1096
- // if (term.type == 'float' || term.type == 'integer') uses.add('plot')
1097
- // if (usecase.detail === 'term2' && hasNumericChild(child_types)) uses.add('branch')
1098
- // return uses
1099
- case "cuminc":
1100
- if (usecase.detail == "term") {
1101
- if (term.type == "condition") uses.add("plot");
1102
- if (child_types.includes("condition")) uses.add("branch");
1103
- return uses;
1104
- }
1105
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1106
- if (term.type && term.type != "condition" && term.type != "survival" && term.type != "multivalue")
1107
- uses.add("plot");
1108
- if (hasAllowedChildTypes(child_types, ["condition", "survival", "multivalue"])) uses.add("branch");
1109
- return uses;
1110
- }
1111
- return uses;
1112
- case "survival":
1113
- if (usecase.detail == "term") {
1114
- if (term.type == "survival") uses.add("plot");
1115
- if (child_types.includes("survival")) uses.add("branch");
1116
- return uses;
1117
- }
1118
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1119
- if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1120
- if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1121
- return uses;
1122
- }
1123
- return uses;
1124
- case "regression":
1125
- if (usecase.detail == "outcome") {
1126
- if (usecase.regressionType == "linear") {
1127
- if (term.type == "float" || term.type == "integer") uses.add("plot");
1128
- if (hasNumericChild(child_types)) uses.add("branch");
1129
- return uses;
1130
- }
1131
- if (usecase.regressionType == "logistic") {
1132
- if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1133
- if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1134
- return uses;
1135
- } else if (usecase.regressionType == "cox") {
1136
- if (term.type == "condition" || term.type == "survival") uses.add("plot");
1137
- if (child_types.includes("condition") || child_types.includes("survival")) uses.add("branch");
1138
- return uses;
1139
- }
1140
- }
1141
- if (usecase.detail == "independent") {
1142
- if (term.type == TermTypes.TERM_COLLECTION) {
1143
- if (term.memberType == "numeric") uses.add("plot");
1144
- return uses;
1145
- }
1146
- if (term.type == "float" || term.type == "integer" || term.type == "categorical" || term.type == "samplelst")
1147
- uses.add("plot");
1148
- if (hasChildTypes(child_types, ["categorical", "float", "integer"])) uses.add("branch");
1149
- return uses;
1150
- }
1151
- return uses;
1152
- case "filter": {
1153
- if (term.type == "samplelst" && !samplelstListsSamples(term)) return uses;
1154
- const exlst = termdbConfig?.excludedTermtypeByTarget?.filter;
1155
- if (exlst) {
1156
- if (graphableTypes.has(term.type) && !exlst.includes(term.type)) uses.add("plot");
1157
- if (child_types.find((t) => !exlst.includes(t))) uses.add("branch");
1158
- return uses;
1159
- }
1160
- if (graphableTypes.has(term.type)) uses.add("plot");
1161
- if (!term.isleaf) uses.add("branch");
1162
- return uses;
1163
- }
1164
- case "correlationVolcano":
1165
- if (usecase.detail == "numeric") {
1166
- if (isNumericTerm(term)) {
1167
- uses.add("plot");
1168
- }
1169
- if (hasNumericChild(child_types)) uses.add("branch");
1170
- } else {
1171
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1172
- if (!term.isleaf) uses.add("branch");
1173
- }
1174
- return uses;
1175
- case "proteinView":
1176
- if (term.type == TermTypes.PROTEOME_ABUNDANCE) uses.add("plot");
1177
- if (child_types.includes(TermTypes.PROTEOME_ABUNDANCE)) uses.add("branch");
1178
- return uses;
1179
- case "brainImaging": {
1180
- const allowMultivalue = usecase.detail == "term0";
1181
- if (graphableTypes.has(term.type) && (allowMultivalue || term.type != "multivalue")) uses.add("plot");
1182
- if (!term.isleaf) uses.add("branch");
1183
- return uses;
1184
- }
1185
- case "swimmer": {
1186
- if (usecase.detail == "pointTerm") {
1187
- const types = usecase.sampleTypes || [];
1188
- if (term.sample_type == null || !types.includes(String(term.sample_type))) return uses;
1189
- const excluded2 = ["survival", "multivalue"];
1190
- if (graphableTypes.has(term.type) && !excluded2.includes(term.type)) uses.add("plot");
1191
- if (hasAllowedChildTypes(child_types, excluded2)) uses.add("branch");
1192
- return uses;
1193
- }
1194
- const excluded = ["survival"];
1195
- if (graphableTypes.has(term.type) && !excluded.includes(term.type)) uses.add("plot");
1196
- if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
1197
- return uses;
1198
- }
1199
- case "sunburst": {
1200
- const allowed = ["categorical", "integer", "float"];
1201
- const types = usecase.sampleTypes;
1202
- if (types && term.sample_type != null && !types.includes(String(term.sample_type))) return uses;
1203
- if (allowed.includes(term.type)) uses.add("plot");
1204
- if (hasChildTypes(child_types, allowed)) uses.add("branch");
1205
- return uses;
1206
- }
1207
- case "dictionary":
1208
- if (graphableTypes.has(term.type)) uses.add("plot");
1209
- if (!term.isleaf) uses.add("branch");
1210
- return uses;
1211
- default:
1212
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1213
- if (!term.isleaf) uses.add("branch");
1214
- return uses;
1215
- }
1216
- }
1217
- function hasAllowedChildTypes(child_types, excluded_types) {
1218
- if (!child_types.length) {
1219
- return false;
1220
- }
1221
- if (!excluded_types?.length) {
1222
- return true;
1223
- }
1224
- if (child_types.some((type) => !excluded_types.includes(type))) {
1225
- return true;
1226
- }
1227
- }
1228
- function hasNumericChild(child_types) {
1229
- return child_types.includes("float") || child_types.includes("integer");
1230
- }
1231
- function hasChildTypes(child_types, expected_types) {
1232
- for (const a of expected_types) {
1233
- if (child_types.includes(a)) return true;
1234
- }
1235
- }
1236
- function samplelstListsSamples(term) {
1237
- const groups = Object.values(term.values || {});
1238
- return groups.length > 0 && groups.every((g) => Array.isArray(g.list));
1239
- }
1240
-
1241
- // ../shared/utils/dist/src/time.js
1242
- function formatElapsedTime(ms, precision = 2) {
1243
- if (typeof ms !== "number" || isNaN(ms)) {
1244
- return typeof ms !== "number" ? "Invalid time: not a number" : "Invalid time: NaN";
1245
- }
1246
- if (!isFinite(ms)) {
1247
- return ms > 0 ? "Infinite time" : "-Infinite time";
1248
- }
1249
- const absMs = Math.abs(ms);
1250
- const sign = ms < 0 ? "-" : "";
1251
- if (absMs < 1e3) {
1252
- return `${sign}${absMs}ms`;
1253
- }
1254
- if (absMs < 6e4) {
1255
- return `${sign}${(absMs / 1e3).toFixed(precision)}s`;
1256
- }
1257
- const minutes = Math.floor(absMs / 6e4);
1258
- const seconds = (absMs % 6e4 / 1e3).toFixed(precision);
1259
- return `${sign}${minutes}m ${seconds}s`;
1260
- }
1261
-
1262
- // ../shared/utils/dist/src/vcf.ann.js
1263
- function parse_ANN(str, header, m) {
1264
- if (!header) {
1265
- return null;
1266
- }
1267
- for (const thisannotation of str.split(",")) {
1268
- const lst = thisannotation.replace(/&/g, ",").split("|");
1269
- const o = {};
1270
- for (let i = 0; i < header.length; i++) {
1271
- if (lst[i]) {
1272
- o[header[i].name] = lst[i];
1273
- }
1274
- }
1275
- if (!o.Allele) {
1276
- continue;
1277
- }
1278
- let allele = null;
1279
- for (const a of m.alleles) {
1280
- if (a.allele == o.Allele) {
1281
- allele = a;
1282
- break;
1283
- }
1284
- }
1285
- if (!allele) {
1286
- continue;
1287
- }
1288
- if (!allele.ann) {
1289
- allele.ann = [];
1290
- }
1291
- allele.ann.push(o);
1292
- o._gene = o.Gene_Name;
1293
- if (o.Feature_Type && o.Feature_Type == "transcript" && o.Feature_ID) {
1294
- o._isoform = o.Feature_ID.split(".")[0];
1295
- }
1296
- if (o.Annotation) {
1297
- const [dt, cls, rank] = vepinfo(o.Annotation);
1298
- o._dt = dt;
1299
- o._class = cls;
1300
- o._csqrank = rank;
1301
- } else {
1302
- o._dt = dtsnvindel;
1303
- o._class = mclassnonstandard;
1304
- }
1305
- if (o["HGVS.p"]) {
1306
- o._mname = o["HGVS.p"];
1307
- } else if (o["HGVS.c"]) {
1308
- o._mname = o["HGVS.c"];
1309
- }
1310
- }
1311
- return true;
1312
- }
1313
-
1314
- // ../shared/utils/dist/src/vcf.csq.js
1315
- function parse_CSQ(str, header, m) {
1316
- if (!header) {
1317
- return null;
1318
- }
1319
- for (const thisannotation of str.split(",")) {
1320
- const lst = thisannotation.replace(/&/g, ",").split("|");
1321
- const o = {};
1322
- for (let i = 0; i < header.length; i++) {
1323
- if (lst[i]) {
1324
- o[header[i].name] = lst[i];
1325
- }
1326
- }
1327
- if (!o.Allele) {
1328
- continue;
1329
- }
1330
- let allele = null;
1331
- for (const a of m.mlst || m.alleles) {
1332
- if (a.allele_original == o.Allele) {
1333
- allele = a;
1334
- break;
1335
- }
1336
- }
1337
- if (!allele) {
1338
- if (o.Allele == "-") {
1339
- if (m.mlst) {
1340
- if (m.mlst.length == 1) {
1341
- allele = m.mlst[0];
1342
- }
1343
- } else if (m.alleles) {
1344
- if (m.alleles.length == 1) {
1345
- allele = m.alleles[0];
1346
- }
1347
- }
1348
- } else {
1349
- for (const a of m.mlst || m.alleles) {
1350
- if (a.allele_original.substr(1) == o.Allele) {
1351
- allele = a;
1352
- break;
1353
- }
1354
- }
1355
- }
1356
- if (!allele) {
1357
- continue;
1358
- }
1359
- }
1360
- if (!allele.csq) {
1361
- allele.csq = [];
1362
- }
1363
- allele.csq.push(o);
1364
- o._gene = o.SYMBOL || o.Gene;
1365
- if (o.Feature_type && o.Feature_type == "Transcript") {
1366
- o._isoform = o.Feature.split(".")[0];
1367
- } else {
1368
- o._isoform = o._gene;
1369
- }
1370
- if (o.Consequence) {
1371
- const [dt, cls, rank] = vepinfo(o.Consequence);
1372
- o._dt = dt;
1373
- o._class = cls;
1374
- o._csqrank = rank;
1375
- } else {
1376
- o._dt = dtsnvindel;
1377
- o._class = mclassnonstandard;
1378
- }
1379
- if (o.HGVSp) {
1380
- o._mname = decodeURIComponent(o.HGVSp.substr(o.HGVSp.indexOf(":") + 1));
1381
- } else if (o.Protein_position && o.Amino_acids) {
1382
- o._mname = decodeURIComponent(o.Protein_position + o.Amino_acids);
1383
- } else if (o.HGVSc) {
1384
- o._mname = o.HGVSc.substr(o.HGVSc.indexOf(":") + 1);
1385
- } else if (o.Existing_variation) {
1386
- o._name = o.Existing_variation;
1387
- }
1388
- }
1389
- return true;
1390
- }
1391
-
1392
- // ../shared/utils/dist/src/vcf.info.js
1393
- function dissect_INFO(str) {
1394
- let findsemicolon = false;
1395
- let findequalorsemicolon = true;
1396
- let i = 0;
1397
- let idx = 0;
1398
- const k2v = {};
1399
- let lastkey;
1400
- while (i < str.length) {
1401
- const c = str[i];
1402
- if (findequalorsemicolon) {
1403
- if (c == "=") {
1404
- findsemicolon = true;
1405
- findequalorsemicolon = false;
1406
- lastkey = str.substring(idx, i);
1407
- idx = i + 1;
1408
- } else if (c == ";") {
1409
- k2v[str.substring(idx, i)] = 1;
1410
- idx = i + 1;
1411
- }
1412
- } else if (findsemicolon && c == ";") {
1413
- findequalorsemicolon = true;
1414
- findsemicolon = false;
1415
- k2v[lastkey] = str.substring(idx, i);
1416
- lastkey = null;
1417
- idx = i + 1;
1418
- }
1419
- i++;
1420
- }
1421
- const remainstr = str.substr(idx, i);
1422
- if (lastkey) {
1423
- k2v[lastkey] = remainstr;
1424
- } else {
1425
- k2v[remainstr] = 1;
1426
- }
1427
- return k2v;
1428
- }
1429
-
1430
- // ../shared/utils/dist/src/vcf.type.js
1431
- function getVariantType(ref, alt) {
1432
- if (ref.length == 1 && alt.length == 1) {
1433
- if (alt == ".") {
1434
- return mclassdeletion;
1435
- }
1436
- return mclasssnv;
1437
- }
1438
- if (ref.length == alt.length) return mclassmnv;
1439
- if (ref.length < alt.length) return mclassinsertion;
1440
- if (ref.length > alt.length) return mclassdeletion;
1441
- return mclassnonstandard;
1442
- }
1443
-
1444
- // ../shared/utils/dist/src/vcf.js
1445
- var getallelename = /^<(.+)>/;
1446
- var mclasslabel2key = {};
1447
- for (const k in mclass) {
1448
- mclasslabel2key[mclass[k].label.toUpperCase()] = k;
1449
- }
1450
- function vcfparsemeta(lines) {
1451
- let sample = [];
1452
- const errlst = [];
1453
- const info = {};
1454
- let hasinfo = false;
1455
- const format2 = {};
1456
- let hasformat = false;
1457
- for (const line of lines) {
1458
- if (!line.startsWith("#")) {
1459
- continue;
1460
- }
1461
- if (line.startsWith("#C")) {
1462
- sample = line.split(" ").slice(9);
1463
- continue;
1464
- }
1465
- if (line.startsWith("##INFO")) {
1466
- const e = tohash(line.substring(8, line.length - 1), info);
1467
- if (e) {
1468
- errlst.push("INFO error: " + e);
1469
- } else {
1470
- hasinfo = true;
1471
- }
1472
- continue;
1473
- }
1474
- if (line.startsWith("##FORMAT")) {
1475
- const e = tohash(line.substring(10, line.length - 1), format2);
1476
- if (e) {
1477
- errlst.push("FORMAT error: " + e);
1478
- } else {
1479
- hasformat = true;
1480
- }
1481
- }
1482
- }
1483
- const sampleobjlst = [];
1484
- for (const samplename of sample) {
1485
- const a = { name: samplename };
1486
- sampleobjlst.push(a);
1487
- }
1488
- if (info.CSQ) {
1489
- const lst = info.CSQ.Description.split(" Format: ");
1490
- if (lst[1]) {
1491
- const lst2 = lst[1].split("|");
1492
- if (lst2.length > 1) {
1493
- info.CSQ.csqheader = [];
1494
- for (const str of lst2) {
1495
- const attr = { name: str };
1496
- info.CSQ.csqheader.push(attr);
1497
- }
1498
- } else {
1499
- errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1500
- }
1501
- } else {
1502
- errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1503
- }
1504
- }
1505
- if (info.ANN) {
1506
- const lst = info.ANN.Description.split("'");
1507
- if (lst[1]) {
1508
- const lst2 = lst[1].split(" | ");
1509
- if (lst2.length) {
1510
- info.ANN.annheader = [];
1511
- for (const s of lst2) {
1512
- const attr = { name: s };
1513
- info.ANN.annheader.push(attr);
1514
- }
1515
- } else {
1516
- errlst.push('no " | " joined annotation fields for ANN (snpEff annotation): ' + info.ANN.Description);
1517
- }
1518
- } else {
1519
- errlst.push("no single-quote enclosed annotation fields for ANN (snpEff annotation): " + info.ANN.Description);
1520
- }
1521
- }
1522
- return [hasinfo ? info : null, hasformat ? format2 : null, sampleobjlst, errlst.length ? errlst : null];
1523
- }
1524
- function vcfparseline(line, vcf) {
1525
- const lst = line.split(" ");
1526
- if (lst.length < 8) {
1527
- return ["line has less than 8 fields", null, null];
1528
- }
1529
- const rawpos = Number.parseInt(lst[2 - 1]);
1530
- if (!Number.isInteger(rawpos)) {
1531
- return ["invalid value for genomic position", null, null];
1532
- }
1533
- const refallele = lst[4 - 1];
1534
- const m = {
1535
- vcf_ID: lst[3 - 1],
1536
- chr: (vcf.nochr ? "chr" : "") + lst[1 - 1],
1537
- pos: rawpos - 1,
1538
- ref: refallele,
1539
- //refstr:refallele, // e.g. GA>GCC, ref:A, refstr:GA, "refstr" is required for matching in FORMAT
1540
- altstr: lst[5 - 1],
1541
- alleles: [
1542
- {
1543
- /*
1544
- ref allele only a placeholder, to be removed, this array only contains alt alleles
1545
- this is a must
1546
- also allows GT allele index to work
1547
- */
1548
- allele: refallele,
1549
- sampledata: []
1550
- }
1551
- ],
1552
- info: {},
1553
- // locus info, do not contain allele info
1554
- name: lst[3 - 1] == "." ? null : lst[3 - 1]
1555
- };
1556
- const altinvalid = [];
1557
- for (const alt of lst[5 - 1].split(",")) {
1558
- const a = {
1559
- ref: m.ref,
1560
- // may be corrected just below!
1561
- allele: alt,
1562
- // 5078356.TATCAGAGAA.GGGAGGA keep original allele for matching with csq which hardcodes original allele
1563
- allele_original: alt,
1564
- sampledata: [],
1565
- _m: m,
1566
- info: {}
1567
- // allele info, do not contain locus info
1568
- };
1569
- m.alleles.push(a);
1570
- if (alt[0] == "<") {
1571
- const tmp2 = alt.match(getallelename);
1572
- if (!tmp2) {
1573
- altinvalid.push(alt);
1574
- continue;
1575
- }
1576
- a.type = tmp2[1];
1577
- a.allele = tmp2[1];
1578
- a.issymbolicallele = true;
1579
- } else {
1580
- const [p, ref, alt2] = correctRefAlt(m.pos, m.ref, a.allele);
1581
- a.pos = p;
1582
- a.ref = ref;
1583
- a.allele = alt2;
1584
- }
1585
- }
1586
- if (lst[9 - 1] && lst[10 - 1]) {
1587
- parse_FORMAT2(lst, m, vcf);
1588
- }
1589
- m.alleles.shift();
1590
- const tmp = lst[8 - 1] == "." ? [] : dissect_INFO(lst[8 - 1]);
1591
- let badinfokeys = [];
1592
- if (vcf.info) {
1593
- badinfokeys = parse_INFO(tmp, m, vcf);
1594
- } else {
1595
- m.info = tmp;
1596
- }
1597
- const mlst = [];
1598
- for (const a of m.alleles) {
1599
- const m2 = {};
1600
- for (const k in m) {
1601
- if (k != "alleles") {
1602
- m2[k] = m[k];
1603
- }
1604
- }
1605
- for (const k in a) {
1606
- if (k == "allele") {
1607
- m2.alt = a[k];
1608
- } else if (k == "info") {
1609
- m2.altinfo = a[k];
1610
- } else {
1611
- m2[k] = a[k];
1612
- }
1613
- }
1614
- if (!m2.issymbolicallele && m2.alt != "NON_REF") {
1615
- m2.type = getVariantType(m2.ref, m2.alt);
1616
- }
1617
- mlst.push(m2);
1618
- }
1619
- return [
1620
- badinfokeys.length ? "unknown info keys: " + badinfokeys.join(",") : null,
1621
- mlst,
1622
- altinvalid.length > 0 ? altinvalid : null
1623
- ];
1624
- }
1625
- function correctRefAlt(p, ref, alt) {
1626
- while (ref.length > 1 && alt.length > 1 && ref[ref.length - 1] == alt[alt.length - 1]) {
1627
- ref = ref.substr(0, ref.length - 1);
1628
- alt = alt.substr(0, alt.length - 1);
1629
- }
1630
- while (ref.length > 1 && alt.length > 1 && ref[0] == alt[0]) {
1631
- ref = ref.substr(1);
1632
- alt = alt.substr(1);
1633
- p++;
1634
- }
1635
- return [p, ref, alt];
1636
- }
1637
- function parse_FORMAT2(lst, m, vcf) {
1638
- const formatfields = lst[9 - 1].split(":");
1639
- for (let _sampleidx = 9; _sampleidx < lst.length; _sampleidx++) {
1640
- const valuelst = lst[_sampleidx].split(":");
1641
- {
1642
- let none = true;
1643
- for (const v of valuelst) {
1644
- if (v != ".") {
1645
- none = false;
1646
- break;
1647
- }
1648
- }
1649
- if (none) {
1650
- continue;
1651
- }
1652
- }
1653
- const sampleidx = _sampleidx - 9;
1654
- for (let i = 1; i < m.alleles.length; i++) {
1655
- const sobj = {};
1656
- if (vcf.samples && vcf.samples[sampleidx]) {
1657
- for (const k in vcf.samples[sampleidx]) {
1658
- sobj[k] = vcf.samples[sampleidx][k];
1659
- }
1660
- } else {
1661
- sobj.name = "missing_samplename_from_vcf_header";
1662
- }
1663
- m.alleles[i].sampledata.push({
1664
- sampleobj: sobj
1665
- });
1666
- }
1667
- for (let fi = 0; fi < formatfields.length; fi++) {
1668
- const field = formatfields[fi];
1669
- const value = valuelst[fi];
1670
- if (value == ".") {
1671
- continue;
1672
- }
1673
- if (field == "GT") {
1674
- const splitter = value.indexOf("/") != -1 ? "/" : "|";
1675
- let gtsum = 0;
1676
- let unknowngt = false;
1677
- const gtalleles = [];
1678
- for (const i of value.split(splitter)) {
1679
- if (i == ".") {
1680
- unknowngt = true;
1681
- continue;
1682
- }
1683
- const j = Number.parseInt(i);
1684
- if (Number.isNaN(j)) {
1685
- unknowngt = true;
1686
- continue;
1687
- }
1688
- gtsum += j;
1689
- const ale = m.alleles[j];
1690
- if (ale) {
1691
- gtalleles.push(ale.allele);
1692
- }
1693
- }
1694
- let gtallref = false;
1695
- if (!unknowngt) {
1696
- gtallref = gtsum == 0;
1697
- }
1698
- const genotype = gtalleles.join(splitter);
1699
- for (let i = 1; i < m.alleles.length; i++) {
1700
- const ms = m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1];
1701
- ms.GT = value;
1702
- ms.genotype = genotype;
1703
- if (gtallref) {
1704
- ms.gtallref = true;
1705
- }
1706
- ms.__gtalleles = gtalleles;
1707
- }
1708
- continue;
1709
- }
1710
- const formatdesc = vcf.format ? vcf.format[field] : null;
1711
- if (!formatdesc) {
1712
- for (let i = 1; i < m.alleles.length; i++) {
1713
- m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1714
- }
1715
- continue;
1716
- }
1717
- const isinteger = formatdesc.Type == "Integer";
1718
- const isfloat = formatdesc.Type == "Float";
1719
- if (formatdesc.Number && formatdesc.Number == "R" || field == "AD") {
1720
- const fvlst = value.split(",").map((i) => {
1721
- if (isinteger) return Number.parseInt(i);
1722
- if (isfloat) return Number.parseFloat(i);
1723
- return i;
1724
- });
1725
- for (let i = 1; i < m.alleles.length; i++) {
1726
- if (fvlst[i] != void 0) {
1727
- const m2 = m.alleles[i];
1728
- const m2s = m2.sampledata[m2.sampledata.length - 1];
1729
- m2s[field] = {};
1730
- m2s[field][m2.ref] = fvlst[0];
1731
- m2s[field][m2.allele] = fvlst[i];
1732
- }
1733
- }
1734
- continue;
1735
- }
1736
- if (formatdesc.Number && formatdesc.Number == "A") {
1737
- const fvlst = value.split(",").map((i) => {
1738
- if (isinteger) return Number.parseInt(i);
1739
- if (isfloat) return Number.parseFloat(i);
1740
- return i;
1741
- });
1742
- for (let i = 1; i < m.alleles.length; i++) {
1743
- if (fvlst[i - 1] != void 0) {
1744
- const m2 = m.alleles[i];
1745
- const m2s = m2.sampledata[m2.sampledata.length - 1];
1746
- m2s[field] = {};
1747
- m2s[field][m2.allele] = fvlst[i - 1];
1748
- }
1749
- }
1750
- continue;
1751
- }
1752
- for (let i = 1; i < m.alleles.length; i++) {
1753
- m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1754
- }
1755
- }
1756
- }
1757
- for (const a of m.alleles) {
1758
- for (const s of a.sampledata) {
1759
- if (s.AD) {
1760
- s.allele2readcount = {};
1761
- for (const k in s.AD) {
1762
- s.allele2readcount[k] = s.AD[k];
1763
- }
1764
- }
1765
- }
1766
- }
1767
- }
1768
- function tohash(s, hash2) {
1769
- const h = {}, err = [];
1770
- let prev = 0, prevdoublequote = false, k = null;
1771
- for (let i = 0; i < s.length; i++) {
1772
- if (s[i] == '"') {
1773
- i++;
1774
- const thisstart = i;
1775
- while (s[i] != '"') {
1776
- i++;
1777
- }
1778
- if (k) {
1779
- h[k] = s.substring(thisstart, i);
1780
- k = null;
1781
- } else {
1782
- err.push("k undefined before double quotes");
1783
- }
1784
- prevdoublequote = true;
1785
- continue;
1786
- }
1787
- if (s[i] == "=") {
1788
- k = s.substring(prev, i);
1789
- prev = i + 1;
1790
- continue;
1791
- }
1792
- if (s[i] == ",") {
1793
- if (prevdoublequote) {
1794
- prevdoublequote = false;
1795
- } else {
1796
- if (k) {
1797
- h[k] = s.substring(prev, i);
1798
- k = null;
1799
- } else {
1800
- err.push("k undefined");
1801
- }
1802
- }
1803
- prev = i + 1;
1804
- continue;
1805
- }
1806
- }
1807
- if (k) {
1808
- h[k] = s.substring(prev);
1809
- }
1810
- if (h.ID) {
1811
- hash2[h.ID] = h;
1812
- } else {
1813
- return "no ID";
1814
- }
1815
- if (err.length) return err.join("\n");
1816
- }
1817
- function parse_INFO(tmp, m, vcf) {
1818
- const badinfokeys = [];
1819
- for (const key in tmp) {
1820
- if (vcf.info[key] == void 0) {
1821
- badinfokeys.push(key);
1822
- continue;
1823
- }
1824
- const value = tmp[key];
1825
- if (key == "CSQ") {
1826
- const okay = parse_CSQ(value, vcf.info.CSQ.csqheader, m);
1827
- if (!okay) {
1828
- m.info[key] = value;
1829
- }
1830
- continue;
1831
- }
1832
- if (key == "ANN") {
1833
- const okay = parse_ANN(value, vcf.info.ANN.annheader, m);
1834
- if (!okay) {
1835
- m.info[key] = value;
1836
- }
1837
- continue;
1838
- }
1839
- if (vcf.info[key].Type == "Flag") {
1840
- m.info[key] = key;
1841
- continue;
1842
- }
1843
- const __number = vcf.info[key].Number;
1844
- const isinteger = vcf.info[key].Type == "Integer";
1845
- const isfloat = vcf.info[key].Type == "Float";
1846
- if (__number == "0") {
1847
- m.info[key] = key;
1848
- continue;
1849
- }
1850
- if (__number == "A") {
1851
- const tt = value.split(",");
1852
- for (let j = 0; j < tt.length; j++) {
1853
- if (m.alleles[j]) {
1854
- m.alleles[j].info[key] = isinteger ? Number.parseInt(tt[j]) : isfloat ? Number.parseFloat(tt[j]) : tt[j];
1855
- }
1856
- }
1857
- continue;
1858
- }
1859
- if (__number == "R") {
1860
- }
1861
- if (__number == "1") {
1862
- m.info[key] = isinteger ? Number.parseInt(value) : isfloat ? Number.parseFloat(value) : value;
1863
- continue;
1864
- }
1865
- if (!value.split) {
1866
- continue;
1867
- }
1868
- const lst = value.split(",");
1869
- if (isinteger) {
1870
- m.info[key] = lst.map(Number.parseInt);
1871
- } else if (isfloat) {
1872
- m.info[key] = lst.map(Number.parseFloat);
1873
- } else {
1874
- m.info[key] = lst;
1875
- }
1876
- }
1877
- return badinfokeys;
1878
- }
1879
-
1880
- // common/auth.js
1881
- var jwtByDsRoute;
1882
- function setJwtByDsRoute() {
1883
- if (jwtByDsRoute) return;
1884
- const jwtByDsRouteStr = localStorage.getItem("jwtByDsRoute") || `{}`;
1885
- jwtByDsRoute = JSON.parse(jwtByDsRouteStr);
1886
- }
1887
- function setTokenByDsRoute(dslabel, route, jwt) {
1888
- setJwtByDsRoute();
1889
- if (!jwtByDsRoute[dslabel]) jwtByDsRoute[dslabel] = {};
1890
- if (jwt) jwtByDsRoute[dslabel][route] = jwt;
1891
- else delete jwtByDsRoute[dslabel][route];
1892
- localStorage.setItem("jwtByDsRoute", JSON.stringify(jwtByDsRoute));
1893
- }
1894
- function getSavedToken(dslabel, route) {
1895
- setJwtByDsRoute();
1896
- return jwtByDsRoute[dslabel]?.[route] || jwtByDsRoute[dslabel]?.["/**"];
1897
- }
1898
- function mayAddJwtToRequest(init, body, url) {
1899
- if (init.headers.authorization) return;
1900
- let dslabel = body?.dslabel;
1901
- if (!dslabel) {
1902
- const param = url.split("?")[1]?.split("&").find((kv) => kv.includes("dslabel"));
1903
- if (!param) return;
1904
- let value = decodeURIComponent(param.split("=")[1]);
1905
- if (value.startsWith("{") && value.endsWith("}")) {
1906
- value = JSON.parse(value);
1907
- dslabel = value.dslabel || value.mass?.vocab.dslabel || value.tracks?.find((t) => t.dslabel)?.dslabel;
1908
- } else {
1909
- dslabel = value;
1910
- }
1911
- }
1912
- setJwtByDsRoute();
1913
- if (!dslabel || !jwtByDsRoute[dslabel]) return;
1914
- const h = url.split("//");
1915
- const postProtocolStr = h[1] || h[0];
1916
- const preQuestionMarkStr = postProtocolStr.split("?")[0];
1917
- const pathSegments = preQuestionMarkStr.split("/");
1918
- let route = pathSegments.find((p) => p != "" && !p.includes(":") && !p.includes("."));
1919
- const jwt = jwtByDsRoute[dslabel][route] || jwtByDsRoute[dslabel]["/**"];
1920
- if (jwt) init.headers.authorization = "Bearer " + btoa(jwt);
1921
- }
1922
- var dsAuthOk = /* @__PURE__ */ new Set();
1923
- var dsAuth;
1924
- var authUi;
1925
- var authUiHolder;
1926
- var includeEmbedder = false;
1927
- async function setDsAuthOk(opts) {
1928
- dsAuth = opts.dsAuth;
1929
- authUi = opts.ui || defaultAuthUi;
1930
- authUiHolder = opts.holder || select_default("body");
1931
- for (const auth of dsAuth) {
1932
- if (auth.insession) dsAuthOk.add(auth);
1933
- }
1934
- includeEmbedder = opts.dsAuth?.length > 0 || false;
1935
- }
1936
- function getRequiredAuth(dslabel, route) {
1937
- if (!dsAuth || !Array.isArray(dsAuth)) return;
1938
- for (const a of dsAuth) {
1939
- if (a.dslabel == dslabel && (a.route == route || a.route == "*" || a.route == "/**")) return a;
1940
- }
1941
- }
1942
- async function isInSession(dslabel, route) {
1943
- if (!dslabel) return false;
1944
- if (!Array.isArray(dsAuth)) return false;
1945
- for (const a of dsAuth) {
1946
- if (a.dslabel != dslabel || a.route != route && a.route != "/**") continue;
1947
- if (dsAuthOk.has(a)) return true;
1948
- if (a.checked) return false;
1949
- const jwt = getSavedToken(dslabel, a.route);
1950
- if (!jwt) return false;
1951
- const { dofetch3: dofetch32 } = await import("./dofetch-JY4A7BYI.js");
1952
- const payload = decodeJwtPayload(jwt);
1953
- if (payload.exp && Math.ceil(Date.now() / 1e3) > payload.exp) return false;
1954
- const data = await dofetch32("/jwt-status", {
1955
- method: "POST",
1956
- credentials: "include",
1957
- headers: {
1958
- //authorization: `Bearer ${btoa(jwt)}`
1959
- [a.headerKey]: jwt
1960
- },
1961
- body: {
1962
- dslabel,
1963
- route,
1964
- embedder: location.hostname
1965
- }
1966
- });
1967
- a.checked = true;
1968
- if (data.ok || data.status == "ok") {
1969
- dsAuthOk.add(a);
1970
- a.insession = true;
1971
- return true;
1972
- }
1973
- }
1974
- return false;
1975
- }
1976
- async function mayShowAuthUi(init, path, opts = {}) {
1977
- const ok = { status: "ok" };
1978
- if (!dsAuth || path.endsWith("jwt-status")) return ok;
1979
- const body = JSON.parse(init.body || `{}`);
1980
- const params = (path.split("?")[1] || "").split("&").reduce((obj, kv) => {
1981
- const [key, value] = kv.split("=");
1982
- obj[key] = value;
1983
- return obj;
1984
- }, {});
1985
- const q = Object.assign({}, body, params);
1986
- const route = ((path.split("?")[0] || "").split("//")[1] || "").split("/").slice(1).join("/");
1987
- for (const a of dsAuth) {
1988
- if (q.dslabel == a.dslabel && (a.route == "/**" || route == a.route)) {
1989
- if (dsAuthOk.has(a)) return ok;
1990
- else if (a.route != "/**") return ok;
1991
- else if (a.type == "basic") return await authUi(a.dslabel, a, opts);
1992
- else if (a.type == "jwt") {
1993
- } else if (a.type == "forbidden") {
1994
- alert("Forbidden access");
1995
- } else throw `unsupported dsAuth type='${a.type}'`;
1996
- }
1997
- }
1998
- return ok;
1999
- }
2000
- async function defaultAuthUi(dslabel, auth, opts = {}) {
2001
- 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)");
2002
- const form = mask.append("div").style("opacity", 1);
2003
- form.append("div").html(`Restricted dataset '${dslabel}'`);
2004
- form.append("span").html("Please enter password ");
2005
- const pwd = form.append("input").attr("type", "password");
2006
- pwd.node().focus();
2007
- const btn = form.append("button").html("Submit");
2008
- return new Promise((resolve, reject) => {
2009
- function login() {
2010
- fetch("/dslogin", {
2011
- method: "POST",
2012
- headers: {
2013
- "content-type": "application/json",
2014
- authorization: `Basic ${btoa(pwd.property("value"))}`
2015
- },
2016
- body: JSON.stringify({ dslabel, route: auth.route, embedder: window.location.hostname })
2017
- }).then((res) => res.json()).then((res) => {
2018
- if (res.error) throw res.error;
2019
- mask.remove();
2020
- dsAuthOk.add(auth);
2021
- if (res.jwt) {
2022
- setTokenByDsRoute(dslabel, res.route, res.jwt);
2023
- }
2024
- if (!opts.setDomRefs) window.location.reload();
2025
- else resolve(dslabel);
2026
- }).catch((e) => {
2027
- alert("login error: " + e);
2028
- });
2029
- }
2030
- btn.on("click", login);
2031
- pwd.on("change", login);
2032
- if (opts.setDomRefs)
2033
- opts.setDomRefs({
2034
- pwd,
2035
- btn,
2036
- mask,
2037
- authUiHolder
2038
- });
2039
- });
2040
- }
2041
- function decodeJwtPayload(token) {
2042
- const base64Url = token.split(".")[1];
2043
- const base64 = base64Url.replace(/-/g, "+").replace(/_/g, "/");
2044
- const paddedBase64 = base64 + "=".repeat((4 - base64.length % 4) % 4);
2045
- const jsonPayload = decodeURIComponent(window.atob(paddedBase64).split("").map(convertAtoBresult).join(""));
2046
- return JSON.parse(jsonPayload);
2047
- }
2048
- function convertAtoBresult(c) {
2049
- return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
2050
- }
2051
-
2052
- // common/dofetch.js
2053
- function dofetch(path, arg, opts = null) {
2054
- if (opts && typeof opts == "object") {
2055
- if (opts.serverData && typeof opts.serverData == "object") {
2056
- if (!dofetch.serverData) {
2057
- dofetch.serverData = opts.serverData;
2058
- } else if (!opts.serverData) {
2059
- opts.serverData = dofetch.serverData;
2060
- }
2061
- }
2062
- return dofetch2(
2063
- path,
2064
- {
2065
- method: "POST",
2066
- headers: {
2067
- "content-type": "application/json"
2068
- },
2069
- body: JSON.stringify(arg)
2070
- },
2071
- opts
2072
- );
2073
- } else {
2074
- if (path[0] == "/") {
2075
- path = path.slice(1);
2076
- }
2077
- const jwt = sessionStorage.getItem("jwt");
2078
- if (jwt) {
2079
- arg.jwt = jwt;
2080
- }
2081
- let url = path;
2082
- const host = sessionStorage.getItem("hostURL") || window.testHost || "";
2083
- if (host) {
2084
- if (host.endsWith("/")) {
2085
- url = host + path;
2086
- } else {
2087
- url = host + "/" + path;
2088
- }
2089
- }
2090
- return fetch(
2091
- new Request(url, {
2092
- method: "POST",
2093
- headers: {
2094
- "content-type": "application/json"
2095
- },
2096
- body: JSON.stringify(arg)
2097
- })
2098
- ).then((r) => r.json());
2099
- }
2100
- }
2101
- function dofetch2(path, init = {}, opts = {}) {
2102
- if (path[0] == "/") {
2103
- path = path.slice(1);
2104
- }
2105
- let url = path;
2106
- const host = sessionStorage.getItem("hostURL") || window.testHost || "";
2107
- if (host) {
2108
- if (host.endsWith("/")) {
2109
- url = host + path;
2110
- } else {
2111
- url = host + "/" + path;
2112
- }
2113
- }
2114
- const body = init.body || {};
2115
- url = mayAdjustRequest(url, init);
2116
- if (!init.headers) {
2117
- init.headers = {};
2118
- }
2119
- const hasContentType = Object.keys(init.headers).some((k) => k.toLowerCase() == "content-type");
2120
- if (!hasContentType && init.body) {
2121
- init.headers["content-type"] = "application/json";
2122
- }
2123
- const jwt = sessionStorage.getItem("jwt");
2124
- if (jwt) {
2125
- init.headers.authorization = "Bearer " + jwt;
2126
- }
2127
- return mayShowAuthUi(init, url).then(async () => {
2128
- if (!jwt) mayAddJwtToRequest(init, body, url);
2129
- if (opts.serverData) {
2130
- return namedFetch(url, init, opts);
2131
- } else {
2132
- return fetch(url, init).then(processResponse);
2133
- }
2134
- });
2135
- }
2136
- var optsServerDataNames = /* @__PURE__ */ new WeakMap();
2137
- async function namedFetch(url, init, opts = {}) {
2138
- if (!opts.serverData) throw `use ezFetch() from fetch-helpers if a fetched response is not meant to be cached`;
2139
- if (typeof opts.serverData != "object") throw `opts.serverData is not an object`;
2140
- let result;
2141
- const dataName = await getDataName(url, init);
2142
- if (opts.serverData[dataName]) {
2143
- if (init.signal) {
2144
- await sleep(0);
2145
- if (init.signal.aborted) throw `stale sequenceId`;
2146
- }
2147
- result = structuredClone(opts.serverData[dataName]);
2148
- }
2149
- if (!result || typeof result != "object" && !(result instanceof Promise)) {
2150
- delete opts.serverData[dataName];
2151
- result = void 0;
2152
- }
2153
- if (!result) {
2154
- try {
2155
- const res = await fetch(url, init);
2156
- result = await processResponse(res);
2157
- if (typeof result == "object" && !(result instanceof Promise)) {
2158
- deepFreeze(result);
2159
- opts.serverData[dataName] = result;
2160
- result = structuredClone(result);
2161
- }
2162
- } catch (e) {
2163
- delete opts.serverData[dataName];
2164
- throw e;
2165
- }
2166
- }
2167
- if (!optsServerDataNames.has(opts.serverData)) optsServerDataNames.set(opts.serverData, []);
2168
- const keys = optsServerDataNames.get(opts.serverData);
2169
- const i = keys.indexOf(dataName);
2170
- if (i > 0) {
2171
- keys.splice(i, 1);
2172
- }
2173
- keys.unshift(dataName);
2174
- const maxKeys = 360;
2175
- while (keys.length > maxKeys) {
2176
- const oldestDataKey = keys.pop();
2177
- delete opts.serverData[oldestDataKey];
2178
- }
2179
- return result;
2180
- }
2181
- var defaultServerDataCache = {};
2182
- function dofetch3(path, init = {}, opts = {}) {
2183
- if (!init.signal && this) {
2184
- init.signal = this.getAbortSignal?.() || this.app?.getAbortSignal?.();
2185
- }
2186
- opts.serverData = defaultServerDataCache;
2187
- return dofetch2(path, init, opts);
2188
- }
2189
- function clearServerDataCache(opts = {}) {
2190
- const cache = opts?.serverData || defaultServerDataCache;
2191
- if (!cache) return;
2192
- for (const k of Object.keys(cache)) {
2193
- delete cache[k];
2194
- }
2195
- }
2196
- var urlMaxLength = 2e3;
2197
- function mayAdjustRequest(url, init) {
2198
- const hostname = window.location.hostname;
2199
- const method = init.method && init.method.toUpperCase() || "GET";
2200
- if (method == "POST") {
2201
- if (typeof init.body == "string") init.body = JSON.parse(init.body);
2202
- if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2203
- init.body = JSON.stringify(init.body);
2204
- return url;
2205
- }
2206
- if (method != "GET" && method != "DELETE" && method != "PUT") {
2207
- throw `unsupported init.method='${method}': must be undefined or GET or POST or DELETE or PUT`;
2208
- }
2209
- if (init.body) {
2210
- if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2211
- const params = encode(init.body);
2212
- if (!url.includes("?")) url += "?";
2213
- url += params;
2214
- }
2215
- if (!url.includes("embedder=") && includeEmbedder) {
2216
- const sep = url.includes("?") ? "&" : "?";
2217
- url += `${sep}embedder=${hostname}`;
2218
- }
2219
- if (url.length < urlMaxLength) {
2220
- if (init.body) delete init.body;
2221
- return url;
2222
- }
2223
- if (method != "GET") {
2224
- throw `the ${method} request URL is too long (${url.length} characters, max=${urlMaxLength})`;
2225
- }
2226
- init.method = "POST";
2227
- const [hostpath, query] = url.split("?");
2228
- if (init.body) {
2229
- init.body = JSON.stringify(init.body);
2230
- } else {
2231
- const params = {};
2232
- if (query)
2233
- query.split("&").forEach((p) => {
2234
- const [k, v] = p.split("=");
2235
- const decodedVal = decodeURIComponent(v);
2236
- try {
2237
- params[k] = JSON.parse(decodedVal);
2238
- } catch {
2239
- params[k] = decodedVal;
2240
- }
2241
- });
2242
- if (!params.embedder && includeEmbedder) params.embedder = hostname;
2243
- init.body = JSON.stringify(params);
2244
- }
2245
- return hostpath;
2246
- }
2247
- function setAuth(opts) {
2248
- setDsAuthOk(opts, dofetch3);
2249
- }
2250
-
2251
- export {
2252
- boxplot_getvalue,
2253
- init_bulk_flag,
2254
- parsesample,
2255
- clusterMethodLst,
2256
- distanceMethodLst,
2257
- HYPER_COLOR,
2258
- HYPO_COLOR,
2259
- computePercentile,
2260
- processFormData,
2261
- fileSize,
2262
- ssmIdFieldsSeparator,
2263
- summarize_mclass,
2264
- guessSsmid,
2265
- xAxisOffSet,
2266
- yAxisOffSet,
2267
- getCoordinate,
2268
- calculatePadding,
2269
- compute_bins,
2270
- get_bin_label,
2271
- get_bin_range_equation,
2272
- initBinConfig,
2273
- isUsableTerm,
2274
- formatElapsedTime,
2275
- vcfparsemeta,
2276
- vcfparseline,
2277
- setTokenByDsRoute,
2278
- getSavedToken,
2279
- mayAddJwtToRequest,
2280
- includeEmbedder,
2281
- setDsAuthOk,
2282
- getRequiredAuth,
2283
- isInSession,
2284
- mayShowAuthUi,
2285
- dofetch,
2286
- dofetch2,
2287
- namedFetch,
2288
- dofetch3,
2289
- clearServerDataCache,
2290
- setAuth
2291
- };
2292
- //# sourceMappingURL=chunk-CJHNPYFQ.js.map