@sjcrh/proteinpaint-client 2.166.0 → 2.167.1

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 (882) hide show
  1. package/dist/2dmaf-6M6QWXAQ.js +1364 -0
  2. package/dist/AIProjectAdmin-2NHMC3IV.js +780 -0
  3. package/dist/AppHeader-CTHEWSZD.js +813 -0
  4. package/dist/BoxPlot-3U6ZAKKO.js +44 -0
  5. package/dist/CorrelationVolcano-2ASIR6KY.js +616 -0
  6. package/dist/DifferentialAnalysis-C3NYGF7U.js +237 -0
  7. package/dist/Disco-2QLBZ3X5.js +3089 -0
  8. package/dist/Disco.UI-GPIIPM2P.js +238 -0
  9. package/dist/DziViewer-OHPZOH72.js +16328 -0
  10. package/dist/GB-FH6YQGHI.js +1099 -0
  11. package/dist/HicApp-TI2II3SZ.js +2218 -0
  12. package/dist/NumBinaryEditor-O42T63EX.js +259 -0
  13. package/dist/NumBinaryEditor.unit.spec-UMB2PHT5.js +277 -0
  14. package/dist/NumContEditor-7NOUKPCV.js +98 -0
  15. package/dist/NumContEditor.unit.spec-JGXJ2HLE.js +160 -0
  16. package/dist/NumCustomBinEditor-6CHN3KX3.js +29 -0
  17. package/dist/NumCustomBinEditor.unit.spec-RJPQLE3E.js +275 -0
  18. package/dist/NumDiscreteEditor-AFTUKU4K.js +145 -0
  19. package/dist/NumDiscreteEditor.unit.spec-GKR6ZNBQ.js +193 -0
  20. package/dist/NumRegularBinEditor-UJ5WQPHR.js +29 -0
  21. package/dist/NumRegularBinEditor.unit.spec-5HGJQEX7.js +220 -0
  22. package/dist/NumSplineEditor-JANA2DUE.js +181 -0
  23. package/dist/NumSplineEditor.unit.spec-UYAMAKZD.js +190 -0
  24. package/dist/NumericDensity-YE5R4CNP.js +29 -0
  25. package/dist/NumericDensity.unit.spec-SVEB5U2S.js +212 -0
  26. package/dist/NumericHandler-WW4M7YW2.js +30 -0
  27. package/dist/NumericHandler.unit.spec-2BWDFO53.js +210 -0
  28. package/dist/SC-UGJGMBL7.js +714 -0
  29. package/dist/Volcano-IU76MEIL.js +1018 -0
  30. package/dist/WSIViewer-3S7N4UDO.js +46959 -0
  31. package/dist/WsiSamplesPlot-4CAOHWCL.js +153 -0
  32. package/dist/adSandbox-AEBS3RTL.js +29 -0
  33. package/dist/alphaGenome-F2PB4SGI.js +170 -0
  34. package/dist/app-6SKETLMT.js +28 -0
  35. package/dist/app-GBEF2HBR.js +54 -0
  36. package/dist/app.js +16 -16
  37. package/dist/bam-5SE6XQJV.js +842 -0
  38. package/dist/barchart-AUSOT2XB.js +48 -0
  39. package/dist/barchart.data-GYCNBRPY.js +30 -0
  40. package/dist/barchart.events-QTSWNYXO.js +44 -0
  41. package/dist/barchart.integration.spec-LORJLJVX.js +1600 -0
  42. package/dist/bars.renderer-4N4QOUNI.js +12 -0
  43. package/dist/bars.settings-SDU7PZOS.js +10 -0
  44. package/dist/block-QLSIELXK.js +6291 -0
  45. package/dist/block.init-OOLEA6ZK.js +29 -0
  46. package/dist/block.mds.expressionrank-D2KUISXZ.js +350 -0
  47. package/dist/block.mds.geneboxplot-AMYBWXPS.js +819 -0
  48. package/dist/block.mds.junction-OG335MBK.js +1536 -0
  49. package/dist/block.mds.svcnv-WYDBQ6FV.js +6792 -0
  50. package/dist/block.svg-OH73245R.js +155 -0
  51. package/dist/block.tk.aicheck-CG5THFW2.js +274 -0
  52. package/dist/block.tk.ase-G2L3G5MQ.js +356 -0
  53. package/dist/block.tk.bam-DXWCA6EU.js +1897 -0
  54. package/dist/block.tk.bedgraphdot-LF3TFPNL.js +375 -0
  55. package/dist/block.tk.bigwig.ui-JKXZ3VDF.js +202 -0
  56. package/dist/block.tk.hicstraw-ZK4RKFB6.js +814 -0
  57. package/dist/block.tk.junction-ZB7Q2NLB.js +2355 -0
  58. package/dist/block.tk.junction.textmatrixui-ZYNQWKIW.js +190 -0
  59. package/dist/block.tk.ld-7H64HGER.js +90 -0
  60. package/dist/block.tk.menu-WFVKAH74.js +1020 -0
  61. package/dist/block.tk.pgv-632LLSBI.js +935 -0
  62. package/dist/brainImaging-AEPTHIQF.js +417 -0
  63. package/dist/chat-3XZCAFDD.js +142 -0
  64. package/dist/chat-3XZCAFDD.js.map +7 -0
  65. package/dist/chunk-22O6F463.js +619 -0
  66. package/dist/chunk-2HJ7OD7H.js +252 -0
  67. package/dist/chunk-2MN5JLZB.js +2878 -0
  68. package/dist/chunk-2OVIUIIL.js +1720 -0
  69. package/dist/chunk-2OVIUIIL.js.map +7 -0
  70. package/dist/chunk-37CK5IGW.js +480 -0
  71. package/dist/chunk-3JFEWVHR.js +80 -0
  72. package/dist/chunk-3MGBC64I.js +133 -0
  73. package/dist/chunk-3NWLWH4G.js +6364 -0
  74. package/dist/chunk-46T54RUY.js +1133 -0
  75. package/dist/chunk-46T54RUY.js.map +7 -0
  76. package/dist/chunk-4GKQ5PWY.js +142 -0
  77. package/dist/chunk-4PHD5H4A.js +226 -0
  78. package/dist/chunk-56IFQMJK.js +413 -0
  79. package/dist/chunk-5AMBV2JE.js +797 -0
  80. package/dist/chunk-5AMBV2JE.js.map +7 -0
  81. package/dist/chunk-5DMFTXUZ.js +158 -0
  82. package/dist/chunk-5QJDZHRU.js +95 -0
  83. package/dist/chunk-5WAVKWL6.js +1275 -0
  84. package/dist/chunk-6ISTNHM6.js +144 -0
  85. package/dist/chunk-6VQ4C735.js +1536 -0
  86. package/dist/chunk-74WMSW3E.js +229 -0
  87. package/dist/chunk-AFU66YOW.js +459 -0
  88. package/dist/chunk-AUJ2YUXV.js +14 -0
  89. package/dist/chunk-B65X5UQH.js +518 -0
  90. package/dist/chunk-B6I64LSV.js +634 -0
  91. package/dist/chunk-BAJ74DKS.js +419 -0
  92. package/dist/chunk-BAJ74DKS.js.map +7 -0
  93. package/dist/chunk-BTYCW3D5.js +85 -0
  94. package/dist/chunk-CCB5KYFQ.js +1415 -0
  95. package/dist/chunk-CKLYFA7H.js +467 -0
  96. package/dist/chunk-CLYRJ466.js +272 -0
  97. package/dist/chunk-CPHCZZWT.js +82 -0
  98. package/dist/chunk-CUADOD2T.js +217 -0
  99. package/dist/chunk-CV6ID6T7.js +422 -0
  100. package/dist/chunk-CWHBWY3B.js +190 -0
  101. package/dist/chunk-D53HBTYQ.js +238 -0
  102. package/dist/chunk-DDOM4XYV.js +1177 -0
  103. package/dist/chunk-DDOM4XYV.js.map +7 -0
  104. package/dist/chunk-DKI7YOTJ.js +196 -0
  105. package/dist/chunk-DNU4IPD2.js +165 -0
  106. package/dist/chunk-FN5XPUPH.js +83 -0
  107. package/dist/chunk-FN5XPUPH.js.map +7 -0
  108. package/dist/chunk-GLSDMBHR.js +55 -0
  109. package/dist/chunk-GLSDMBHR.js.map +7 -0
  110. package/dist/chunk-H3BSKMND.js +487 -0
  111. package/dist/chunk-H3BSKMND.js.map +7 -0
  112. package/dist/chunk-H6HP4H3U.js +2327 -0
  113. package/dist/chunk-HPEMEDXB.js +123 -0
  114. package/dist/chunk-HUDESZGX.js +1151 -0
  115. package/dist/chunk-ITJ2SXU5.js +467 -0
  116. package/dist/chunk-ITJ2SXU5.js.map +7 -0
  117. package/dist/chunk-J7IU77CA.js +166 -0
  118. package/dist/chunk-JMO7ENSD.js +381 -0
  119. package/dist/chunk-JTPN3BRG.js +129 -0
  120. package/dist/chunk-KCAMFDJH.js +323 -0
  121. package/dist/chunk-LD45BCVM.js +177 -0
  122. package/dist/chunk-LMELY5Z2.js +1412 -0
  123. package/dist/chunk-LVQK62CV.js +215 -0
  124. package/dist/chunk-MCVLRF66.js +157 -0
  125. package/dist/chunk-MK7RRJTX.js +1968 -0
  126. package/dist/chunk-MK7RRJTX.js.map +7 -0
  127. package/dist/chunk-MLD7DW5I.js +613 -0
  128. package/dist/chunk-NEF7LGNE.js +2789 -0
  129. package/dist/chunk-O7BAQPP3.js +256 -0
  130. package/dist/chunk-O7BAQPP3.js.map +7 -0
  131. package/dist/chunk-OARG7PAV.js +401 -0
  132. package/dist/chunk-OGCF6E6I.js +4947 -0
  133. package/dist/chunk-OGCF6E6I.js.map +7 -0
  134. package/dist/chunk-OGWY4MOB.js +748 -0
  135. package/dist/chunk-PQD6K5W5.js +2784 -0
  136. package/dist/chunk-Q4FYGFTQ.js +91 -0
  137. package/dist/chunk-QX5QVWUP.js +451 -0
  138. package/dist/chunk-QX5QVWUP.js.map +7 -0
  139. package/dist/chunk-RA2KI64U.js +303 -0
  140. package/dist/chunk-RHHLAKYS.js +1088 -0
  141. package/dist/chunk-RKV3CP4C.js +258 -0
  142. package/dist/chunk-RL7RU2V7.js +368 -0
  143. package/dist/chunk-RQ7CE7SK.js +161 -0
  144. package/dist/chunk-RX552WU6.js +1143 -0
  145. package/dist/chunk-S7V4SFKB.js +276 -0
  146. package/dist/chunk-SEL5UNRC.js +142 -0
  147. package/dist/chunk-SRBO57AD.js +297 -0
  148. package/dist/chunk-SYGLOTOV.js +1197 -0
  149. package/dist/chunk-TGZA4ETW.js +311 -0
  150. package/dist/chunk-TGZA4ETW.js.map +7 -0
  151. package/dist/chunk-UZ466XO3.js +203 -0
  152. package/dist/chunk-VDF5W47R.js +149 -0
  153. package/dist/chunk-W4SEWZF2.js +279 -0
  154. package/dist/chunk-W4SEWZF2.js.map +7 -0
  155. package/dist/chunk-W5EG334J.js +15083 -0
  156. package/dist/chunk-W5EG334J.js.map +7 -0
  157. package/dist/chunk-WTPVXDJT.js +31 -0
  158. package/dist/chunk-XRIM2YJZ.js +228 -0
  159. package/dist/chunk-YSWMQO23.js +55 -0
  160. package/dist/chunk-ZBZXIWSK.js +402 -0
  161. package/dist/chunk-ZFFHOEBE.js +117 -0
  162. package/dist/chunk-ZG63ZUDE.js +102 -0
  163. package/dist/chunk-ZGQ3BMLW.js +2676 -0
  164. package/dist/chunk-ZNINQ3FN.js +293 -0
  165. package/dist/chunk-ZQZWM544.js +4172 -0
  166. package/dist/condition-4FVKPSQ2.js +323 -0
  167. package/dist/controls-ZWBN566I.js +35 -0
  168. package/dist/controls.btns-H4TWTHTW.js +10 -0
  169. package/dist/controls.config-YU4W3CDL.js +31 -0
  170. package/dist/correlation-VADB4SQO.js +102 -0
  171. package/dist/cuminc-4BXE2YS6.js +1143 -0
  172. package/dist/cuminc.integration.spec-XQREKHVA.js +669 -0
  173. package/dist/customdata.inputui-VBQWT3M7.js +278 -0
  174. package/dist/dataDownload-QIZKBKH7.js +320 -0
  175. package/dist/dataDownload.integration.spec-MLJEHLYD.js +184 -0
  176. package/dist/databrowser.ui-6UIR4ULJ.js +426 -0
  177. package/dist/dictionary-FLWIWAC6.js +90 -0
  178. package/dist/e2pca-NKWSJRXM.js +341 -0
  179. package/dist/ep-EPN3AR6D.js +1247 -0
  180. package/dist/expclust.gdc.spec-ZRUH5E6E.js +298 -0
  181. package/dist/facet-BM7SLACF.js +437 -0
  182. package/dist/frequencyChart-HBXRIBAW.js +371 -0
  183. package/dist/frequencyChart.integration.spec-YJUYZWM6.js +301 -0
  184. package/dist/geneExpClustering-4VD5PAWN.js +242 -0
  185. package/dist/geneExpression-6OT2Y4P6.js +54 -0
  186. package/dist/geneExpression-EAMEZXJQ.js +310 -0
  187. package/dist/geneORA-RI2AG7JT.js +272 -0
  188. package/dist/geneVariant-FYYEOTWA.js +32 -0
  189. package/dist/geneVariant-PAKVDVC4.js +29 -0
  190. package/dist/genefusion.ui-QWC42XWQ.js +242 -0
  191. package/dist/geneset-XA6IWP3Q.js +186 -0
  192. package/dist/genomeBrowser.spec-LRKXWXNT.js +272 -0
  193. package/dist/grin2-O6TETVZ3.js +1044 -0
  194. package/dist/grin2-O6TETVZ3.js.map +7 -0
  195. package/dist/grin2-WLB7BY3S.js +1547 -0
  196. package/dist/gsea-ZM4WOPSQ.js +43 -0
  197. package/dist/hierCluster-LD43LLRC.js +60 -0
  198. package/dist/hierCluster-ZGYRS2WV.js +56 -0
  199. package/dist/hierCluster.config-O5HUOFNH.js +32 -0
  200. package/dist/hierCluster.integration.spec-37UNKHTH.js +389 -0
  201. package/dist/hierCluster.interactivity-B27ETKRP.js +45 -0
  202. package/dist/hierCluster.renderers-GWFH5ZX7.js +21 -0
  203. package/dist/imagePlot-LJZVGNDJ.js +134 -0
  204. package/dist/importPlot-RMVENQRD.js +8 -0
  205. package/dist/launch.adhoc-S3XHRSLN.js +36 -0
  206. package/dist/leftlabel.sample-J6PCA3UB.js +249 -0
  207. package/dist/lollipop-OZTV4C7A.js +159 -0
  208. package/dist/maf-3SRLCKGO.js +435 -0
  209. package/dist/maf-3SRLCKGO.js.map +7 -0
  210. package/dist/maftimeline-6F2LQJU6.js +584 -0
  211. package/dist/matrix-FIXOFAB4.js +60 -0
  212. package/dist/matrix-O5KPDLM2.js +55 -0
  213. package/dist/matrix.cells-SCLZA3P4.js +30 -0
  214. package/dist/matrix.config-WG7HFJL4.js +33 -0
  215. package/dist/matrix.controls-QQLBUUYP.js +31 -0
  216. package/dist/matrix.data-6JLF5HVI.js +35 -0
  217. package/dist/matrix.dom-QO7BXZ27.js +11 -0
  218. package/dist/matrix.groups-QMZMZ6Q7.js +26 -0
  219. package/dist/matrix.integration.spec-ZJYWNQ57.js +2936 -0
  220. package/dist/matrix.interactivity-ZZY5ET4E.js +36 -0
  221. package/dist/matrix.layout-XKFB4PKY.js +35 -0
  222. package/dist/matrix.legend-CS6DNC5V.js +22 -0
  223. package/dist/matrix.renderers-4LST6PBA.js +29 -0
  224. package/dist/matrix.serieses-3SERD6CV.js +21 -0
  225. package/dist/matrix.sort-UVS6WHIS.js +27 -0
  226. package/dist/matrix.sort.unit.spec-CTSUNUWB.js +464 -0
  227. package/dist/matrix.sorterUi-JDGLTLJM.js +18 -0
  228. package/dist/matrix.sorterUi.unit.spec-VQFMHIYI.js +335 -0
  229. package/dist/mavb-ECQ2CQ7F.js +723 -0
  230. package/dist/mds.fimo-JDYDT5NK.js +509 -0
  231. package/dist/mds.samplescatterplot-PEJBVSTO.js +1541 -0
  232. package/dist/mds.survivalplot-GYK6VRQT.js +474 -0
  233. package/dist/mutationSignature-43SECPTY.js +72 -0
  234. package/dist/numericDictTermCluster-2ER4FUKO.js +72 -0
  235. package/dist/oncomatrix-ZXDJMLN3.js +287 -0
  236. package/dist/oncomatrix.spec-HOPRIG3I.js +439 -0
  237. package/dist/plot.2dvaf-Y4SZUHLD.js +368 -0
  238. package/dist/plot.app-W5Z3C7P5.js +35 -0
  239. package/dist/plot.barplot-B2PRZDKV.js +93 -0
  240. package/dist/plot.boxplot-J7ET34FY.js +143 -0
  241. package/dist/plot.brainImaging-ISY4P6RT.js +51 -0
  242. package/dist/plot.disco-D7AL42PW.js +100 -0
  243. package/dist/plot.dzi-O32LH65U.js +33 -0
  244. package/dist/plot.ssgq-WF7262IZ.js +130 -0
  245. package/dist/plot.vaf2cov-OB6UKSFQ.js +250 -0
  246. package/dist/plot.wsi-J5S4YYXN.js +36 -0
  247. package/dist/polar-LIJORXR6.js +179 -0
  248. package/dist/profile.spec-3KE4CREI.js +71 -0
  249. package/dist/profileBarchart-UQHOJB5V.js +260 -0
  250. package/dist/profileForms-WTYVTIUN.js +365 -0
  251. package/dist/profilePlot-SOXXEUAT.js +50 -0
  252. package/dist/profileRadar-2OHJ2RIU.js +256 -0
  253. package/dist/profileRadarFacility-GHLG3QNG.js +256 -0
  254. package/dist/qualitative-B3OY7A7P.js +34 -0
  255. package/dist/regression-HO2TO4XT.js +57 -0
  256. package/dist/regression.inputs-JN3ZMIOP.js +49 -0
  257. package/dist/regression.inputs.term-67HVMXFZ.js +49 -0
  258. package/dist/regression.inputs.values.table-JXJK2YZT.js +46 -0
  259. package/dist/regression.integration.spec-L54ZS5VY.js +777 -0
  260. package/dist/regression.results-3ZSFKUNN.js +31 -0
  261. package/dist/regression.spec-SVWCQX2U.js +699 -0
  262. package/dist/report-IHX7XSOI.js +220 -0
  263. package/dist/runChart-QLQMK3OE.js +54 -0
  264. package/dist/runchart.integration.spec-5NVY5GHR.js +362 -0
  265. package/dist/sampleScatter.spec-4Q5CQQWH.js +193 -0
  266. package/dist/sampleView-7WHDFHB5.js +42 -0
  267. package/dist/samplelst-34GJVLVD.js +102 -0
  268. package/dist/samplematrix-L2HOSLUT.js +2189 -0
  269. package/dist/scatter-X6AAM2LJ.js +55 -0
  270. package/dist/scatter.integration.spec-QSH3PLBK.js +1026 -0
  271. package/dist/selectGenomeWithTklst-AJS2IPPW.js +125 -0
  272. package/dist/singleCellPlot-7JEWDVSR.js +50 -0
  273. package/dist/singlecell-IC5KU72L.js +1563 -0
  274. package/dist/singlecell-NWANPXWM.js +80 -0
  275. package/dist/snp-PSRNMTL6.js +73 -0
  276. package/dist/snplocus-QCAVDYLR.js +199 -0
  277. package/dist/spliceevent.a53ss.diagram-SGDJKUEC.js +142 -0
  278. package/dist/spliceevent.exonskip.diagram-BUYTHCK5.js +268 -0
  279. package/dist/spliceevent.noeventdiagram-OJZJUHXP.js +451 -0
  280. package/dist/ssGSEA-UUZG57MF.js +53 -0
  281. package/dist/stattable-324FS2HA.js +89 -0
  282. package/dist/summarizeCnvGeneexp-ZVZYWP43.js +136 -0
  283. package/dist/summarizeGeneexpSurvival-7XJRMT6M.js +90 -0
  284. package/dist/summarizeMutationDiagnosis-ZKLXOVY2.js +32 -0
  285. package/dist/summarizeMutationSurvival-S4YPGLWA.js +92 -0
  286. package/dist/summary-RVG7JL6Y.js +55 -0
  287. package/dist/summary.integration.spec-SCD35GO4.js +405 -0
  288. package/dist/summaryInput-DMN6DTSW.js +170 -0
  289. package/dist/sunburst-QZXYILRC.js +275 -0
  290. package/dist/survival-6CWEBRSF.js +41 -0
  291. package/dist/survival-J657VYLI.js +49 -0
  292. package/dist/survival.integration.spec-S5WE4V6M.js +601 -0
  293. package/dist/svgraph-NEKJL24M.js +1378 -0
  294. package/dist/svmr-5RQ5JQF2.js +3833 -0
  295. package/dist/table-CG6Z6NCJ.js +193 -0
  296. package/dist/termCollection-FOQNVXB7.js +80 -0
  297. package/dist/termInfo-5USFZGDB.js +9 -0
  298. package/dist/tk-2O7XOVGJ.js +37 -0
  299. package/dist/tp.ui-S4YUVCZH.js +1450 -0
  300. package/dist/tvs.dtcnv.continuous-7BPIXZ6C.js +65 -0
  301. package/dist/tvs.numeric-FCC2EY62.js +355 -0
  302. package/dist/tvs.samplelst-PKGFTULN.js +95 -0
  303. package/dist/violin-C7IBRTYP.js +47 -0
  304. package/dist/violin.integration.spec-WXRD3Z4E.js +1425 -0
  305. package/dist/violin.interactivity-BMG4TG5L.js +39 -0
  306. package/dist/violin.renderer-WUNW6ULV.js +31 -0
  307. package/dist/vocabulary-UUNEEBM3.js +32 -0
  308. package/package.json +3 -3
  309. package/dist/2dmaf-E4NOGWWO.js +0 -1364
  310. package/dist/AIProjectAdmin-3QDXMCOK.js +0 -780
  311. package/dist/AppHeader-IFZ57DJE.js +0 -813
  312. package/dist/BoxPlot-GXDTPRA5.js +0 -44
  313. package/dist/CorrelationVolcano-S4GUYIPT.js +0 -616
  314. package/dist/DifferentialAnalysis-YLKYWPUT.js +0 -237
  315. package/dist/Disco-OQMP3HRQ.js +0 -3089
  316. package/dist/Disco.UI-XB3XQP33.js +0 -238
  317. package/dist/DziViewer-UIRNTFNS.js +0 -16328
  318. package/dist/GB-KDPJTOLP.js +0 -1099
  319. package/dist/HicApp-XJERMLKH.js +0 -2218
  320. package/dist/NumBinaryEditor-5MWWWNLW.js +0 -259
  321. package/dist/NumBinaryEditor.unit.spec-ROGT5FOH.js +0 -277
  322. package/dist/NumContEditor-RRCB4CKG.js +0 -98
  323. package/dist/NumContEditor.unit.spec-AJTKOF7W.js +0 -160
  324. package/dist/NumCustomBinEditor-3GJITZ7V.js +0 -29
  325. package/dist/NumCustomBinEditor.unit.spec-DNBDZSHT.js +0 -275
  326. package/dist/NumDiscreteEditor-TARWA6CZ.js +0 -145
  327. package/dist/NumDiscreteEditor.unit.spec-TCSLTQ25.js +0 -193
  328. package/dist/NumRegularBinEditor-QF5ALVV4.js +0 -29
  329. package/dist/NumRegularBinEditor.unit.spec-GFNDBWNM.js +0 -220
  330. package/dist/NumSplineEditor-MOEUXR34.js +0 -181
  331. package/dist/NumSplineEditor.unit.spec-XPJOOXS4.js +0 -190
  332. package/dist/NumericDensity-JDE263EQ.js +0 -29
  333. package/dist/NumericDensity.unit.spec-RX6UGV56.js +0 -212
  334. package/dist/NumericHandler-XM7LUYHN.js +0 -30
  335. package/dist/NumericHandler.unit.spec-5EYRMII7.js +0 -210
  336. package/dist/SC-Z4KBNK7P.js +0 -714
  337. package/dist/Volcano-WYJLKM4K.js +0 -1018
  338. package/dist/WSIViewer-3RMG3VOA.js +0 -46959
  339. package/dist/WsiSamplesPlot-PAWNKI7R.js +0 -153
  340. package/dist/adSandbox-7H5H46SE.js +0 -29
  341. package/dist/alphaGenome-PODWDV5T.js +0 -170
  342. package/dist/app-JPURIGQW.js +0 -28
  343. package/dist/app-YL7S55T5.js +0 -54
  344. package/dist/bam-XEO47VYA.js +0 -842
  345. package/dist/barchart-B5M6SSJH.js +0 -48
  346. package/dist/barchart.data-6A6WVV4Y.js +0 -30
  347. package/dist/barchart.events-2GNB5KWY.js +0 -44
  348. package/dist/barchart.integration.spec-JEOTKIWC.js +0 -1600
  349. package/dist/bars.renderer-NLUBMQEO.js +0 -12
  350. package/dist/bars.settings-UQZ63KU4.js +0 -8
  351. package/dist/block-B7WMYLPO.js +0 -6291
  352. package/dist/block.init-KCIXEYQC.js +0 -29
  353. package/dist/block.mds.expressionrank-RYZXAH5Y.js +0 -350
  354. package/dist/block.mds.geneboxplot-LNWUEI6N.js +0 -819
  355. package/dist/block.mds.junction-CVIY7QMD.js +0 -1536
  356. package/dist/block.mds.svcnv-EUGWHSCA.js +0 -6792
  357. package/dist/block.svg-QBLNIGUF.js +0 -155
  358. package/dist/block.tk.aicheck-U6NG22FX.js +0 -274
  359. package/dist/block.tk.ase-U3TRZAOH.js +0 -356
  360. package/dist/block.tk.bam-6Y6YFVR2.js +0 -1897
  361. package/dist/block.tk.bedgraphdot-O3VCFX6K.js +0 -375
  362. package/dist/block.tk.bigwig.ui-DNBJAF72.js +0 -202
  363. package/dist/block.tk.hicstraw-2EIFJX7E.js +0 -814
  364. package/dist/block.tk.junction-UXSO5EJP.js +0 -2355
  365. package/dist/block.tk.junction.textmatrixui-HQ6ZKCHM.js +0 -190
  366. package/dist/block.tk.ld-NEB4F3UG.js +0 -90
  367. package/dist/block.tk.menu-BN4JPJSD.js +0 -1020
  368. package/dist/block.tk.pgv-A4QFVSPF.js +0 -935
  369. package/dist/brainImaging-ESQGNGZH.js +0 -417
  370. package/dist/chat-AY7RCQYY.js +0 -145
  371. package/dist/chat-AY7RCQYY.js.map +0 -7
  372. package/dist/chunk-236ZRGXA.js +0 -297
  373. package/dist/chunk-2DZWOGEH.js +0 -272
  374. package/dist/chunk-2HQJMZNY.js +0 -14
  375. package/dist/chunk-2MRZFUHZ.js +0 -165
  376. package/dist/chunk-2ZEORJCF.js +0 -215
  377. package/dist/chunk-3WA7SJTR.js +0 -82
  378. package/dist/chunk-47HG7LGD.js +0 -133
  379. package/dist/chunk-47X254B7.js +0 -91
  380. package/dist/chunk-4TPDYPGD.js +0 -1098
  381. package/dist/chunk-4TPDYPGD.js.map +0 -7
  382. package/dist/chunk-4WA2H5DE.js +0 -75
  383. package/dist/chunk-4WA2H5DE.js.map +0 -7
  384. package/dist/chunk-4XDKCFFT.js +0 -613
  385. package/dist/chunk-5CJJLBUZ.js +0 -229
  386. package/dist/chunk-5TDKRZN5.js +0 -1931
  387. package/dist/chunk-5TDKRZN5.js.map +0 -7
  388. package/dist/chunk-6MSJ3TLQ.js +0 -1151
  389. package/dist/chunk-7JAFXNAL.js +0 -256
  390. package/dist/chunk-7JAFXNAL.js.map +0 -7
  391. package/dist/chunk-7LKSKJCV.js +0 -480
  392. package/dist/chunk-7P67W6NF.js +0 -190
  393. package/dist/chunk-7RIC35AF.js +0 -129
  394. package/dist/chunk-A76B53VT.js +0 -158
  395. package/dist/chunk-AZ276Z7T.js +0 -2327
  396. package/dist/chunk-B662XJMJ.js +0 -748
  397. package/dist/chunk-BK7GIOC5.js +0 -4924
  398. package/dist/chunk-BK7GIOC5.js.map +0 -7
  399. package/dist/chunk-BP2F2GRB.js +0 -2676
  400. package/dist/chunk-BRO4KZSZ.js +0 -417
  401. package/dist/chunk-BRO4KZSZ.js.map +0 -7
  402. package/dist/chunk-C5YNONHQ.js +0 -144
  403. package/dist/chunk-CT3LPTWW.js +0 -1197
  404. package/dist/chunk-CZTC4MTE.js +0 -161
  405. package/dist/chunk-DA5VGV5L.js +0 -280
  406. package/dist/chunk-DA5VGV5L.js.map +0 -7
  407. package/dist/chunk-DPU66MZ7.js +0 -381
  408. package/dist/chunk-E6NE5IWR.js +0 -102
  409. package/dist/chunk-ECKWM4HB.js +0 -1536
  410. package/dist/chunk-EEX5VPJG.js +0 -467
  411. package/dist/chunk-EIMEUZP2.js +0 -323
  412. package/dist/chunk-ETFPL4UP.js +0 -4172
  413. package/dist/chunk-F3FTQWTA.js +0 -303
  414. package/dist/chunk-F4APZ34G.js +0 -55
  415. package/dist/chunk-FOXJTDTH.js +0 -166
  416. package/dist/chunk-FYTZCTJC.js +0 -1157
  417. package/dist/chunk-FYTZCTJC.js.map +0 -7
  418. package/dist/chunk-GBS5I24E.js +0 -1706
  419. package/dist/chunk-GBS5I24E.js.map +0 -7
  420. package/dist/chunk-GBWRKJAH.js +0 -413
  421. package/dist/chunk-GG67VPVD.js +0 -238
  422. package/dist/chunk-GZ2B634M.js +0 -123
  423. package/dist/chunk-HEFXMCSF.js +0 -6364
  424. package/dist/chunk-I26R4NJJ.js +0 -228
  425. package/dist/chunk-I2GCD26Y.js +0 -55
  426. package/dist/chunk-I2GCD26Y.js.map +0 -7
  427. package/dist/chunk-ICNJQHQZ.js +0 -117
  428. package/dist/chunk-IPAGDFO4.js +0 -80
  429. package/dist/chunk-J2E4FALN.js +0 -1415
  430. package/dist/chunk-JXHU2FIA.js +0 -2789
  431. package/dist/chunk-K7LZ77GD.js +0 -468
  432. package/dist/chunk-K7LZ77GD.js.map +0 -7
  433. package/dist/chunk-KACWSU3U.js +0 -487
  434. package/dist/chunk-KACWSU3U.js.map +0 -7
  435. package/dist/chunk-KGSCQRQ5.js +0 -203
  436. package/dist/chunk-KGYPMYQD.js +0 -1143
  437. package/dist/chunk-L3PMRBTA.js +0 -422
  438. package/dist/chunk-M7QVMSRW.js +0 -293
  439. package/dist/chunk-MG6GRQKO.js +0 -459
  440. package/dist/chunk-N5VBIEH5.js +0 -1412
  441. package/dist/chunk-NRYOB7WU.js +0 -252
  442. package/dist/chunk-NXOWHUR4.js +0 -311
  443. package/dist/chunk-NXOWHUR4.js.map +0 -7
  444. package/dist/chunk-OFQV6PRB.js +0 -1275
  445. package/dist/chunk-OMO754MK.js +0 -177
  446. package/dist/chunk-OQSP66C6.js +0 -226
  447. package/dist/chunk-OS46MR72.js +0 -368
  448. package/dist/chunk-PBJFLQGL.js +0 -142
  449. package/dist/chunk-PMZS3SHH.js +0 -2877
  450. package/dist/chunk-PPJSDC3Z.js +0 -157
  451. package/dist/chunk-QIS45Z4Y.js +0 -2784
  452. package/dist/chunk-RCVZ4L7K.js +0 -402
  453. package/dist/chunk-ROWCKPNW.js +0 -1088
  454. package/dist/chunk-RQUXELHE.js +0 -276
  455. package/dist/chunk-RYRCMHYR.js +0 -196
  456. package/dist/chunk-S7EKSDVS.js +0 -258
  457. package/dist/chunk-SN5QKRXO.js +0 -85
  458. package/dist/chunk-TZRD3FPN.js +0 -634
  459. package/dist/chunk-U5QRRS7K.js +0 -619
  460. package/dist/chunk-UOMRXQNW.js +0 -401
  461. package/dist/chunk-UT6W4ZZL.js +0 -15048
  462. package/dist/chunk-UT6W4ZZL.js.map +0 -7
  463. package/dist/chunk-UZV3QI5M.js +0 -518
  464. package/dist/chunk-VALBVQXS.js +0 -217
  465. package/dist/chunk-VDR5JXI2.js +0 -444
  466. package/dist/chunk-VDR5JXI2.js.map +0 -7
  467. package/dist/chunk-W4D2EYE4.js +0 -95
  468. package/dist/chunk-XATIKUGU.js +0 -142
  469. package/dist/chunk-ZHWC5SJP.js +0 -797
  470. package/dist/chunk-ZHWC5SJP.js.map +0 -7
  471. package/dist/chunk-ZL4CNBYY.js +0 -149
  472. package/dist/chunk-ZQ7L66GP.js +0 -31
  473. package/dist/condition-24HPVH23.js +0 -323
  474. package/dist/controls-5CSAKANR.js +0 -35
  475. package/dist/controls.btns-QLLBCT65.js +0 -10
  476. package/dist/controls.config-H4FMU5LI.js +0 -31
  477. package/dist/correlation-RB77VSXB.js +0 -102
  478. package/dist/cuminc-YZSLH5IO.js +0 -1143
  479. package/dist/cuminc.integration.spec-MZPT3Y5A.js +0 -669
  480. package/dist/customdata.inputui-CBTZFODT.js +0 -278
  481. package/dist/dataDownload-ZTGRVI4Q.js +0 -320
  482. package/dist/dataDownload.integration.spec-Q6GUTUYD.js +0 -184
  483. package/dist/databrowser.ui-V7E6CLUZ.js +0 -426
  484. package/dist/dictionary-RPC5OZMM.js +0 -90
  485. package/dist/e2pca-WDQHMAUM.js +0 -341
  486. package/dist/ep-NAM34BBI.js +0 -1247
  487. package/dist/expclust.gdc.spec-QB4GVDJA.js +0 -298
  488. package/dist/facet-DOXBBIG6.js +0 -437
  489. package/dist/frequencyChart-GLOIGP3T.js +0 -371
  490. package/dist/frequencyChart.integration.spec-B7NBBLH2.js +0 -301
  491. package/dist/geneExpClustering-B4S6GFNT.js +0 -242
  492. package/dist/geneExpression-DMU4AQP6.js +0 -310
  493. package/dist/geneExpression-MVVXRNEY.js +0 -54
  494. package/dist/geneORA-XDAITCQF.js +0 -272
  495. package/dist/geneVariant-N6IGEIRR.js +0 -29
  496. package/dist/geneVariant-QYLA2V6J.js +0 -32
  497. package/dist/genefusion.ui-FRBMNK7V.js +0 -242
  498. package/dist/geneset-GZYNBG7Y.js +0 -186
  499. package/dist/genomeBrowser.spec-WFIVQSE7.js +0 -272
  500. package/dist/grin2-I6GJF35U.js +0 -882
  501. package/dist/grin2-I6GJF35U.js.map +0 -7
  502. package/dist/grin2-ZKNNZXON.js +0 -1547
  503. package/dist/gsea-GFGAEC4K.js +0 -43
  504. package/dist/hierCluster-MF4TI3E4.js +0 -60
  505. package/dist/hierCluster-SDJMQLOQ.js +0 -56
  506. package/dist/hierCluster.config-RMEX3VTC.js +0 -32
  507. package/dist/hierCluster.integration.spec-3H63OHMU.js +0 -389
  508. package/dist/hierCluster.interactivity-4DZBRQ6P.js +0 -45
  509. package/dist/hierCluster.renderers-UOW7BI6N.js +0 -21
  510. package/dist/imagePlot-P2UHJRSL.js +0 -134
  511. package/dist/importPlot-PPCMNVOW.js +0 -8
  512. package/dist/launch.adhoc-RJWUEVRA.js +0 -36
  513. package/dist/leftlabel.sample-OYP6MICL.js +0 -249
  514. package/dist/lollipop-BXQOWLGO.js +0 -159
  515. package/dist/maf-YJJO773K.js +0 -448
  516. package/dist/maf-YJJO773K.js.map +0 -7
  517. package/dist/maftimeline-GHKDDWYR.js +0 -584
  518. package/dist/matrix-FWDLHZYR.js +0 -60
  519. package/dist/matrix-YMJFP53F.js +0 -55
  520. package/dist/matrix.cells-JH7FPY3E.js +0 -30
  521. package/dist/matrix.config-HIHOLDCE.js +0 -33
  522. package/dist/matrix.controls-EKZ543FY.js +0 -31
  523. package/dist/matrix.data-NKAZI2BF.js +0 -35
  524. package/dist/matrix.dom-RGZ52GJ2.js +0 -11
  525. package/dist/matrix.groups-BO53ZXXV.js +0 -26
  526. package/dist/matrix.integration.spec-BXTATNAC.js +0 -2936
  527. package/dist/matrix.interactivity-UGUMKCFN.js +0 -36
  528. package/dist/matrix.layout-WBIF5QTG.js +0 -35
  529. package/dist/matrix.legend-P3GFCXXK.js +0 -22
  530. package/dist/matrix.renderers-I54IHQ3S.js +0 -29
  531. package/dist/matrix.serieses-R2T57OYI.js +0 -21
  532. package/dist/matrix.sort-3GCA2GDU.js +0 -27
  533. package/dist/matrix.sort.unit.spec-AXGPCZZD.js +0 -464
  534. package/dist/matrix.sorterUi-QWRK6OGE.js +0 -18
  535. package/dist/matrix.sorterUi.unit.spec-H7GUVWRJ.js +0 -335
  536. package/dist/mavb-4EECWXYX.js +0 -723
  537. package/dist/mds.fimo-NHZOY43X.js +0 -509
  538. package/dist/mds.samplescatterplot-7A5IZ6W7.js +0 -1541
  539. package/dist/mds.survivalplot-SQDPUFQE.js +0 -474
  540. package/dist/mutationSignature-QH7PZYKL.js +0 -72
  541. package/dist/numericDictTermCluster-X5SGSC5K.js +0 -72
  542. package/dist/oncomatrix-M4C4XPQK.js +0 -287
  543. package/dist/oncomatrix.spec-3C642O7O.js +0 -439
  544. package/dist/plot.2dvaf-TILP7J53.js +0 -368
  545. package/dist/plot.app-DE2UQP2M.js +0 -35
  546. package/dist/plot.barplot-FJHS765K.js +0 -93
  547. package/dist/plot.boxplot-YRSHGNYZ.js +0 -143
  548. package/dist/plot.brainImaging-JV4OUVJY.js +0 -51
  549. package/dist/plot.disco-DBVPBMLG.js +0 -100
  550. package/dist/plot.dzi-O2OA4EBK.js +0 -33
  551. package/dist/plot.ssgq-YFQEZQYK.js +0 -130
  552. package/dist/plot.vaf2cov-YNFP5LJ4.js +0 -250
  553. package/dist/plot.wsi-DJB7TDIS.js +0 -36
  554. package/dist/polar-K5Z5FYKV.js +0 -179
  555. package/dist/profile.spec-A6EADWEC.js +0 -71
  556. package/dist/profileBarchart-EFLPJK2P.js +0 -260
  557. package/dist/profileForms-TG35YNLD.js +0 -365
  558. package/dist/profilePlot-2EW2XVTK.js +0 -50
  559. package/dist/profileRadar-AKUYC2O5.js +0 -256
  560. package/dist/profileRadarFacility-EAT66XTX.js +0 -256
  561. package/dist/qualitative-PHQU5DXE.js +0 -34
  562. package/dist/regression-EOMJRRDO.js +0 -57
  563. package/dist/regression.inputs-LIH5X2JM.js +0 -49
  564. package/dist/regression.inputs.term-OO4RZ3QB.js +0 -49
  565. package/dist/regression.inputs.values.table-E7WCTO2L.js +0 -46
  566. package/dist/regression.integration.spec-62VEQP6X.js +0 -777
  567. package/dist/regression.results-WAHFJ6NA.js +0 -31
  568. package/dist/regression.spec-IBIOTZVX.js +0 -699
  569. package/dist/report-MKDJXHGY.js +0 -220
  570. package/dist/runChart-ETM2EETF.js +0 -54
  571. package/dist/runchart.integration.spec-QFA4XBKB.js +0 -362
  572. package/dist/sampleScatter.spec-N4N7ZGZF.js +0 -193
  573. package/dist/sampleView-JTY3RV7I.js +0 -42
  574. package/dist/samplelst-RRUMBVT6.js +0 -102
  575. package/dist/samplematrix-L37O664Y.js +0 -2189
  576. package/dist/scatter-E5QHW32W.js +0 -55
  577. package/dist/scatter.integration.spec-FNVAJSVU.js +0 -1026
  578. package/dist/selectGenomeWithTklst-J6VXCYGG.js +0 -125
  579. package/dist/singleCellPlot-S6S6CKYX.js +0 -50
  580. package/dist/singlecell-4BMIKFY4.js +0 -80
  581. package/dist/singlecell-B4TNI23F.js +0 -1563
  582. package/dist/snp-PAUQ24NZ.js +0 -73
  583. package/dist/snplocus-HVFYZTEE.js +0 -199
  584. package/dist/spliceevent.a53ss.diagram-GGGHVNBF.js +0 -142
  585. package/dist/spliceevent.exonskip.diagram-HLMFD6LJ.js +0 -268
  586. package/dist/spliceevent.noeventdiagram-CKZ3BZ7Y.js +0 -451
  587. package/dist/ssGSEA-UGT4GH55.js +0 -53
  588. package/dist/stattable-6JWMALGB.js +0 -89
  589. package/dist/summarizeCnvGeneexp-BJOQY62E.js +0 -136
  590. package/dist/summarizeGeneexpSurvival-4HDHL7PE.js +0 -90
  591. package/dist/summarizeMutationDiagnosis-TDWO5CKU.js +0 -32
  592. package/dist/summarizeMutationSurvival-CJJFABOX.js +0 -92
  593. package/dist/summary-WOAXXIHG.js +0 -55
  594. package/dist/summary.integration.spec-GM73ERMN.js +0 -405
  595. package/dist/summaryInput-FD4SONTY.js +0 -170
  596. package/dist/sunburst-3LCJTBRN.js +0 -275
  597. package/dist/survival-A3A7IVXT.js +0 -41
  598. package/dist/survival-XF72VMM6.js +0 -49
  599. package/dist/survival.integration.spec-AU7MCAQV.js +0 -601
  600. package/dist/svgraph-BEMS4JDJ.js +0 -1378
  601. package/dist/svmr-CDEMTZPK.js +0 -3833
  602. package/dist/table-WYF6QCGB.js +0 -193
  603. package/dist/termCollection-BVQMNVY7.js +0 -80
  604. package/dist/termInfo-JXLIVCSO.js +0 -9
  605. package/dist/tk-TGIIJYBO.js +0 -37
  606. package/dist/tp.ui-USYF67P7.js +0 -1450
  607. package/dist/tvs.dtcnv.continuous-7SCTSFK3.js +0 -65
  608. package/dist/tvs.numeric-OLVW6US3.js +0 -355
  609. package/dist/tvs.samplelst-BHZHCX5V.js +0 -95
  610. package/dist/violin-OEOWVIZF.js +0 -47
  611. package/dist/violin.integration.spec-AW2U3RHO.js +0 -1425
  612. package/dist/violin.interactivity-3O2UDNPQ.js +0 -39
  613. package/dist/violin.renderer-W26FA6M7.js +0 -31
  614. package/dist/vocabulary-BIQYDKVY.js +0 -32
  615. /package/dist/{2dmaf-E4NOGWWO.js.map → 2dmaf-6M6QWXAQ.js.map} +0 -0
  616. /package/dist/{AIProjectAdmin-3QDXMCOK.js.map → AIProjectAdmin-2NHMC3IV.js.map} +0 -0
  617. /package/dist/{AppHeader-IFZ57DJE.js.map → AppHeader-CTHEWSZD.js.map} +0 -0
  618. /package/dist/{BoxPlot-GXDTPRA5.js.map → BoxPlot-3U6ZAKKO.js.map} +0 -0
  619. /package/dist/{CorrelationVolcano-S4GUYIPT.js.map → CorrelationVolcano-2ASIR6KY.js.map} +0 -0
  620. /package/dist/{DifferentialAnalysis-YLKYWPUT.js.map → DifferentialAnalysis-C3NYGF7U.js.map} +0 -0
  621. /package/dist/{Disco-OQMP3HRQ.js.map → Disco-2QLBZ3X5.js.map} +0 -0
  622. /package/dist/{Disco.UI-XB3XQP33.js.map → Disco.UI-GPIIPM2P.js.map} +0 -0
  623. /package/dist/{DziViewer-UIRNTFNS.js.map → DziViewer-OHPZOH72.js.map} +0 -0
  624. /package/dist/{GB-KDPJTOLP.js.map → GB-FH6YQGHI.js.map} +0 -0
  625. /package/dist/{HicApp-XJERMLKH.js.map → HicApp-TI2II3SZ.js.map} +0 -0
  626. /package/dist/{NumBinaryEditor-5MWWWNLW.js.map → NumBinaryEditor-O42T63EX.js.map} +0 -0
  627. /package/dist/{NumBinaryEditor.unit.spec-ROGT5FOH.js.map → NumBinaryEditor.unit.spec-UMB2PHT5.js.map} +0 -0
  628. /package/dist/{NumContEditor-RRCB4CKG.js.map → NumContEditor-7NOUKPCV.js.map} +0 -0
  629. /package/dist/{NumContEditor.unit.spec-AJTKOF7W.js.map → NumContEditor.unit.spec-JGXJ2HLE.js.map} +0 -0
  630. /package/dist/{NumCustomBinEditor-3GJITZ7V.js.map → NumCustomBinEditor-6CHN3KX3.js.map} +0 -0
  631. /package/dist/{NumCustomBinEditor.unit.spec-DNBDZSHT.js.map → NumCustomBinEditor.unit.spec-RJPQLE3E.js.map} +0 -0
  632. /package/dist/{NumDiscreteEditor-TARWA6CZ.js.map → NumDiscreteEditor-AFTUKU4K.js.map} +0 -0
  633. /package/dist/{NumDiscreteEditor.unit.spec-TCSLTQ25.js.map → NumDiscreteEditor.unit.spec-GKR6ZNBQ.js.map} +0 -0
  634. /package/dist/{NumRegularBinEditor-QF5ALVV4.js.map → NumRegularBinEditor-UJ5WQPHR.js.map} +0 -0
  635. /package/dist/{NumRegularBinEditor.unit.spec-GFNDBWNM.js.map → NumRegularBinEditor.unit.spec-5HGJQEX7.js.map} +0 -0
  636. /package/dist/{NumSplineEditor-MOEUXR34.js.map → NumSplineEditor-JANA2DUE.js.map} +0 -0
  637. /package/dist/{NumSplineEditor.unit.spec-XPJOOXS4.js.map → NumSplineEditor.unit.spec-UYAMAKZD.js.map} +0 -0
  638. /package/dist/{NumericDensity-JDE263EQ.js.map → NumericDensity-YE5R4CNP.js.map} +0 -0
  639. /package/dist/{NumericDensity.unit.spec-RX6UGV56.js.map → NumericDensity.unit.spec-SVEB5U2S.js.map} +0 -0
  640. /package/dist/{NumericHandler-XM7LUYHN.js.map → NumericHandler-WW4M7YW2.js.map} +0 -0
  641. /package/dist/{NumericHandler.unit.spec-5EYRMII7.js.map → NumericHandler.unit.spec-2BWDFO53.js.map} +0 -0
  642. /package/dist/{SC-Z4KBNK7P.js.map → SC-UGJGMBL7.js.map} +0 -0
  643. /package/dist/{Volcano-WYJLKM4K.js.map → Volcano-IU76MEIL.js.map} +0 -0
  644. /package/dist/{WSIViewer-3RMG3VOA.js.map → WSIViewer-3S7N4UDO.js.map} +0 -0
  645. /package/dist/{WsiSamplesPlot-PAWNKI7R.js.map → WsiSamplesPlot-4CAOHWCL.js.map} +0 -0
  646. /package/dist/{adSandbox-7H5H46SE.js.map → adSandbox-AEBS3RTL.js.map} +0 -0
  647. /package/dist/{alphaGenome-PODWDV5T.js.map → alphaGenome-F2PB4SGI.js.map} +0 -0
  648. /package/dist/{app-JPURIGQW.js.map → app-6SKETLMT.js.map} +0 -0
  649. /package/dist/{app-YL7S55T5.js.map → app-GBEF2HBR.js.map} +0 -0
  650. /package/dist/{bam-XEO47VYA.js.map → bam-5SE6XQJV.js.map} +0 -0
  651. /package/dist/{barchart-B5M6SSJH.js.map → barchart-AUSOT2XB.js.map} +0 -0
  652. /package/dist/{barchart.data-6A6WVV4Y.js.map → barchart.data-GYCNBRPY.js.map} +0 -0
  653. /package/dist/{barchart.events-2GNB5KWY.js.map → barchart.events-QTSWNYXO.js.map} +0 -0
  654. /package/dist/{barchart.integration.spec-JEOTKIWC.js.map → barchart.integration.spec-LORJLJVX.js.map} +0 -0
  655. /package/dist/{bars.renderer-NLUBMQEO.js.map → bars.renderer-4N4QOUNI.js.map} +0 -0
  656. /package/dist/{bars.settings-UQZ63KU4.js.map → bars.settings-SDU7PZOS.js.map} +0 -0
  657. /package/dist/{block-B7WMYLPO.js.map → block-QLSIELXK.js.map} +0 -0
  658. /package/dist/{block.init-KCIXEYQC.js.map → block.init-OOLEA6ZK.js.map} +0 -0
  659. /package/dist/{block.mds.expressionrank-RYZXAH5Y.js.map → block.mds.expressionrank-D2KUISXZ.js.map} +0 -0
  660. /package/dist/{block.mds.geneboxplot-LNWUEI6N.js.map → block.mds.geneboxplot-AMYBWXPS.js.map} +0 -0
  661. /package/dist/{block.mds.junction-CVIY7QMD.js.map → block.mds.junction-OG335MBK.js.map} +0 -0
  662. /package/dist/{block.mds.svcnv-EUGWHSCA.js.map → block.mds.svcnv-WYDBQ6FV.js.map} +0 -0
  663. /package/dist/{block.svg-QBLNIGUF.js.map → block.svg-OH73245R.js.map} +0 -0
  664. /package/dist/{block.tk.aicheck-U6NG22FX.js.map → block.tk.aicheck-CG5THFW2.js.map} +0 -0
  665. /package/dist/{block.tk.ase-U3TRZAOH.js.map → block.tk.ase-G2L3G5MQ.js.map} +0 -0
  666. /package/dist/{block.tk.bam-6Y6YFVR2.js.map → block.tk.bam-DXWCA6EU.js.map} +0 -0
  667. /package/dist/{block.tk.bedgraphdot-O3VCFX6K.js.map → block.tk.bedgraphdot-LF3TFPNL.js.map} +0 -0
  668. /package/dist/{block.tk.bigwig.ui-DNBJAF72.js.map → block.tk.bigwig.ui-JKXZ3VDF.js.map} +0 -0
  669. /package/dist/{block.tk.hicstraw-2EIFJX7E.js.map → block.tk.hicstraw-ZK4RKFB6.js.map} +0 -0
  670. /package/dist/{block.tk.junction-UXSO5EJP.js.map → block.tk.junction-ZB7Q2NLB.js.map} +0 -0
  671. /package/dist/{block.tk.junction.textmatrixui-HQ6ZKCHM.js.map → block.tk.junction.textmatrixui-ZYNQWKIW.js.map} +0 -0
  672. /package/dist/{block.tk.ld-NEB4F3UG.js.map → block.tk.ld-7H64HGER.js.map} +0 -0
  673. /package/dist/{block.tk.menu-BN4JPJSD.js.map → block.tk.menu-WFVKAH74.js.map} +0 -0
  674. /package/dist/{block.tk.pgv-A4QFVSPF.js.map → block.tk.pgv-632LLSBI.js.map} +0 -0
  675. /package/dist/{brainImaging-ESQGNGZH.js.map → brainImaging-AEPTHIQF.js.map} +0 -0
  676. /package/dist/{chunk-U5QRRS7K.js.map → chunk-22O6F463.js.map} +0 -0
  677. /package/dist/{chunk-NRYOB7WU.js.map → chunk-2HJ7OD7H.js.map} +0 -0
  678. /package/dist/{chunk-PMZS3SHH.js.map → chunk-2MN5JLZB.js.map} +0 -0
  679. /package/dist/{chunk-7LKSKJCV.js.map → chunk-37CK5IGW.js.map} +0 -0
  680. /package/dist/{chunk-IPAGDFO4.js.map → chunk-3JFEWVHR.js.map} +0 -0
  681. /package/dist/{chunk-47HG7LGD.js.map → chunk-3MGBC64I.js.map} +0 -0
  682. /package/dist/{chunk-HEFXMCSF.js.map → chunk-3NWLWH4G.js.map} +0 -0
  683. /package/dist/{chunk-XATIKUGU.js.map → chunk-4GKQ5PWY.js.map} +0 -0
  684. /package/dist/{chunk-OQSP66C6.js.map → chunk-4PHD5H4A.js.map} +0 -0
  685. /package/dist/{chunk-GBWRKJAH.js.map → chunk-56IFQMJK.js.map} +0 -0
  686. /package/dist/{chunk-A76B53VT.js.map → chunk-5DMFTXUZ.js.map} +0 -0
  687. /package/dist/{chunk-W4D2EYE4.js.map → chunk-5QJDZHRU.js.map} +0 -0
  688. /package/dist/{chunk-OFQV6PRB.js.map → chunk-5WAVKWL6.js.map} +0 -0
  689. /package/dist/{chunk-C5YNONHQ.js.map → chunk-6ISTNHM6.js.map} +0 -0
  690. /package/dist/{chunk-ECKWM4HB.js.map → chunk-6VQ4C735.js.map} +0 -0
  691. /package/dist/{chunk-5CJJLBUZ.js.map → chunk-74WMSW3E.js.map} +0 -0
  692. /package/dist/{chunk-MG6GRQKO.js.map → chunk-AFU66YOW.js.map} +0 -0
  693. /package/dist/{chunk-2HQJMZNY.js.map → chunk-AUJ2YUXV.js.map} +0 -0
  694. /package/dist/{chunk-UZV3QI5M.js.map → chunk-B65X5UQH.js.map} +0 -0
  695. /package/dist/{chunk-TZRD3FPN.js.map → chunk-B6I64LSV.js.map} +0 -0
  696. /package/dist/{chunk-SN5QKRXO.js.map → chunk-BTYCW3D5.js.map} +0 -0
  697. /package/dist/{chunk-J2E4FALN.js.map → chunk-CCB5KYFQ.js.map} +0 -0
  698. /package/dist/{chunk-EEX5VPJG.js.map → chunk-CKLYFA7H.js.map} +0 -0
  699. /package/dist/{chunk-2DZWOGEH.js.map → chunk-CLYRJ466.js.map} +0 -0
  700. /package/dist/{chunk-3WA7SJTR.js.map → chunk-CPHCZZWT.js.map} +0 -0
  701. /package/dist/{chunk-VALBVQXS.js.map → chunk-CUADOD2T.js.map} +0 -0
  702. /package/dist/{chunk-L3PMRBTA.js.map → chunk-CV6ID6T7.js.map} +0 -0
  703. /package/dist/{chunk-7P67W6NF.js.map → chunk-CWHBWY3B.js.map} +0 -0
  704. /package/dist/{chunk-GG67VPVD.js.map → chunk-D53HBTYQ.js.map} +0 -0
  705. /package/dist/{chunk-RYRCMHYR.js.map → chunk-DKI7YOTJ.js.map} +0 -0
  706. /package/dist/{chunk-2MRZFUHZ.js.map → chunk-DNU4IPD2.js.map} +0 -0
  707. /package/dist/{chunk-AZ276Z7T.js.map → chunk-H6HP4H3U.js.map} +0 -0
  708. /package/dist/{chunk-GZ2B634M.js.map → chunk-HPEMEDXB.js.map} +0 -0
  709. /package/dist/{chunk-6MSJ3TLQ.js.map → chunk-HUDESZGX.js.map} +0 -0
  710. /package/dist/{chunk-FOXJTDTH.js.map → chunk-J7IU77CA.js.map} +0 -0
  711. /package/dist/{chunk-DPU66MZ7.js.map → chunk-JMO7ENSD.js.map} +0 -0
  712. /package/dist/{chunk-7RIC35AF.js.map → chunk-JTPN3BRG.js.map} +0 -0
  713. /package/dist/{chunk-EIMEUZP2.js.map → chunk-KCAMFDJH.js.map} +0 -0
  714. /package/dist/{chunk-OMO754MK.js.map → chunk-LD45BCVM.js.map} +0 -0
  715. /package/dist/{chunk-N5VBIEH5.js.map → chunk-LMELY5Z2.js.map} +0 -0
  716. /package/dist/{chunk-2ZEORJCF.js.map → chunk-LVQK62CV.js.map} +0 -0
  717. /package/dist/{chunk-PPJSDC3Z.js.map → chunk-MCVLRF66.js.map} +0 -0
  718. /package/dist/{chunk-4XDKCFFT.js.map → chunk-MLD7DW5I.js.map} +0 -0
  719. /package/dist/{chunk-JXHU2FIA.js.map → chunk-NEF7LGNE.js.map} +0 -0
  720. /package/dist/{chunk-UOMRXQNW.js.map → chunk-OARG7PAV.js.map} +0 -0
  721. /package/dist/{chunk-B662XJMJ.js.map → chunk-OGWY4MOB.js.map} +0 -0
  722. /package/dist/{chunk-QIS45Z4Y.js.map → chunk-PQD6K5W5.js.map} +0 -0
  723. /package/dist/{chunk-47X254B7.js.map → chunk-Q4FYGFTQ.js.map} +0 -0
  724. /package/dist/{chunk-F3FTQWTA.js.map → chunk-RA2KI64U.js.map} +0 -0
  725. /package/dist/{chunk-ROWCKPNW.js.map → chunk-RHHLAKYS.js.map} +0 -0
  726. /package/dist/{chunk-S7EKSDVS.js.map → chunk-RKV3CP4C.js.map} +0 -0
  727. /package/dist/{chunk-OS46MR72.js.map → chunk-RL7RU2V7.js.map} +0 -0
  728. /package/dist/{chunk-CZTC4MTE.js.map → chunk-RQ7CE7SK.js.map} +0 -0
  729. /package/dist/{chunk-KGYPMYQD.js.map → chunk-RX552WU6.js.map} +0 -0
  730. /package/dist/{chunk-RQUXELHE.js.map → chunk-S7V4SFKB.js.map} +0 -0
  731. /package/dist/{chunk-PBJFLQGL.js.map → chunk-SEL5UNRC.js.map} +0 -0
  732. /package/dist/{chunk-236ZRGXA.js.map → chunk-SRBO57AD.js.map} +0 -0
  733. /package/dist/{chunk-CT3LPTWW.js.map → chunk-SYGLOTOV.js.map} +0 -0
  734. /package/dist/{chunk-KGSCQRQ5.js.map → chunk-UZ466XO3.js.map} +0 -0
  735. /package/dist/{chunk-ZL4CNBYY.js.map → chunk-VDF5W47R.js.map} +0 -0
  736. /package/dist/{chunk-ZQ7L66GP.js.map → chunk-WTPVXDJT.js.map} +0 -0
  737. /package/dist/{chunk-I26R4NJJ.js.map → chunk-XRIM2YJZ.js.map} +0 -0
  738. /package/dist/{chunk-F4APZ34G.js.map → chunk-YSWMQO23.js.map} +0 -0
  739. /package/dist/{chunk-RCVZ4L7K.js.map → chunk-ZBZXIWSK.js.map} +0 -0
  740. /package/dist/{chunk-ICNJQHQZ.js.map → chunk-ZFFHOEBE.js.map} +0 -0
  741. /package/dist/{chunk-E6NE5IWR.js.map → chunk-ZG63ZUDE.js.map} +0 -0
  742. /package/dist/{chunk-BP2F2GRB.js.map → chunk-ZGQ3BMLW.js.map} +0 -0
  743. /package/dist/{chunk-M7QVMSRW.js.map → chunk-ZNINQ3FN.js.map} +0 -0
  744. /package/dist/{chunk-ETFPL4UP.js.map → chunk-ZQZWM544.js.map} +0 -0
  745. /package/dist/{condition-24HPVH23.js.map → condition-4FVKPSQ2.js.map} +0 -0
  746. /package/dist/{controls-5CSAKANR.js.map → controls-ZWBN566I.js.map} +0 -0
  747. /package/dist/{controls.btns-QLLBCT65.js.map → controls.btns-H4TWTHTW.js.map} +0 -0
  748. /package/dist/{controls.config-H4FMU5LI.js.map → controls.config-YU4W3CDL.js.map} +0 -0
  749. /package/dist/{correlation-RB77VSXB.js.map → correlation-VADB4SQO.js.map} +0 -0
  750. /package/dist/{cuminc-YZSLH5IO.js.map → cuminc-4BXE2YS6.js.map} +0 -0
  751. /package/dist/{cuminc.integration.spec-MZPT3Y5A.js.map → cuminc.integration.spec-XQREKHVA.js.map} +0 -0
  752. /package/dist/{customdata.inputui-CBTZFODT.js.map → customdata.inputui-VBQWT3M7.js.map} +0 -0
  753. /package/dist/{dataDownload-ZTGRVI4Q.js.map → dataDownload-QIZKBKH7.js.map} +0 -0
  754. /package/dist/{dataDownload.integration.spec-Q6GUTUYD.js.map → dataDownload.integration.spec-MLJEHLYD.js.map} +0 -0
  755. /package/dist/{databrowser.ui-V7E6CLUZ.js.map → databrowser.ui-6UIR4ULJ.js.map} +0 -0
  756. /package/dist/{dictionary-RPC5OZMM.js.map → dictionary-FLWIWAC6.js.map} +0 -0
  757. /package/dist/{e2pca-WDQHMAUM.js.map → e2pca-NKWSJRXM.js.map} +0 -0
  758. /package/dist/{ep-NAM34BBI.js.map → ep-EPN3AR6D.js.map} +0 -0
  759. /package/dist/{expclust.gdc.spec-QB4GVDJA.js.map → expclust.gdc.spec-ZRUH5E6E.js.map} +0 -0
  760. /package/dist/{facet-DOXBBIG6.js.map → facet-BM7SLACF.js.map} +0 -0
  761. /package/dist/{frequencyChart-GLOIGP3T.js.map → frequencyChart-HBXRIBAW.js.map} +0 -0
  762. /package/dist/{frequencyChart.integration.spec-B7NBBLH2.js.map → frequencyChart.integration.spec-YJUYZWM6.js.map} +0 -0
  763. /package/dist/{geneExpClustering-B4S6GFNT.js.map → geneExpClustering-4VD5PAWN.js.map} +0 -0
  764. /package/dist/{geneExpression-MVVXRNEY.js.map → geneExpression-6OT2Y4P6.js.map} +0 -0
  765. /package/dist/{geneExpression-DMU4AQP6.js.map → geneExpression-EAMEZXJQ.js.map} +0 -0
  766. /package/dist/{geneORA-XDAITCQF.js.map → geneORA-RI2AG7JT.js.map} +0 -0
  767. /package/dist/{geneVariant-N6IGEIRR.js.map → geneVariant-FYYEOTWA.js.map} +0 -0
  768. /package/dist/{geneVariant-QYLA2V6J.js.map → geneVariant-PAKVDVC4.js.map} +0 -0
  769. /package/dist/{genefusion.ui-FRBMNK7V.js.map → genefusion.ui-QWC42XWQ.js.map} +0 -0
  770. /package/dist/{geneset-GZYNBG7Y.js.map → geneset-XA6IWP3Q.js.map} +0 -0
  771. /package/dist/{genomeBrowser.spec-WFIVQSE7.js.map → genomeBrowser.spec-LRKXWXNT.js.map} +0 -0
  772. /package/dist/{grin2-ZKNNZXON.js.map → grin2-WLB7BY3S.js.map} +0 -0
  773. /package/dist/{gsea-GFGAEC4K.js.map → gsea-ZM4WOPSQ.js.map} +0 -0
  774. /package/dist/{hierCluster-MF4TI3E4.js.map → hierCluster-LD43LLRC.js.map} +0 -0
  775. /package/dist/{hierCluster-SDJMQLOQ.js.map → hierCluster-ZGYRS2WV.js.map} +0 -0
  776. /package/dist/{hierCluster.config-RMEX3VTC.js.map → hierCluster.config-O5HUOFNH.js.map} +0 -0
  777. /package/dist/{hierCluster.integration.spec-3H63OHMU.js.map → hierCluster.integration.spec-37UNKHTH.js.map} +0 -0
  778. /package/dist/{hierCluster.interactivity-4DZBRQ6P.js.map → hierCluster.interactivity-B27ETKRP.js.map} +0 -0
  779. /package/dist/{hierCluster.renderers-UOW7BI6N.js.map → hierCluster.renderers-GWFH5ZX7.js.map} +0 -0
  780. /package/dist/{imagePlot-P2UHJRSL.js.map → imagePlot-LJZVGNDJ.js.map} +0 -0
  781. /package/dist/{importPlot-PPCMNVOW.js.map → importPlot-RMVENQRD.js.map} +0 -0
  782. /package/dist/{launch.adhoc-RJWUEVRA.js.map → launch.adhoc-S3XHRSLN.js.map} +0 -0
  783. /package/dist/{leftlabel.sample-OYP6MICL.js.map → leftlabel.sample-J6PCA3UB.js.map} +0 -0
  784. /package/dist/{lollipop-BXQOWLGO.js.map → lollipop-OZTV4C7A.js.map} +0 -0
  785. /package/dist/{maftimeline-GHKDDWYR.js.map → maftimeline-6F2LQJU6.js.map} +0 -0
  786. /package/dist/{matrix-FWDLHZYR.js.map → matrix-FIXOFAB4.js.map} +0 -0
  787. /package/dist/{matrix-YMJFP53F.js.map → matrix-O5KPDLM2.js.map} +0 -0
  788. /package/dist/{matrix.cells-JH7FPY3E.js.map → matrix.cells-SCLZA3P4.js.map} +0 -0
  789. /package/dist/{matrix.config-HIHOLDCE.js.map → matrix.config-WG7HFJL4.js.map} +0 -0
  790. /package/dist/{matrix.controls-EKZ543FY.js.map → matrix.controls-QQLBUUYP.js.map} +0 -0
  791. /package/dist/{matrix.data-NKAZI2BF.js.map → matrix.data-6JLF5HVI.js.map} +0 -0
  792. /package/dist/{matrix.dom-RGZ52GJ2.js.map → matrix.dom-QO7BXZ27.js.map} +0 -0
  793. /package/dist/{matrix.groups-BO53ZXXV.js.map → matrix.groups-QMZMZ6Q7.js.map} +0 -0
  794. /package/dist/{matrix.integration.spec-BXTATNAC.js.map → matrix.integration.spec-ZJYWNQ57.js.map} +0 -0
  795. /package/dist/{matrix.interactivity-UGUMKCFN.js.map → matrix.interactivity-ZZY5ET4E.js.map} +0 -0
  796. /package/dist/{matrix.layout-WBIF5QTG.js.map → matrix.layout-XKFB4PKY.js.map} +0 -0
  797. /package/dist/{matrix.legend-P3GFCXXK.js.map → matrix.legend-CS6DNC5V.js.map} +0 -0
  798. /package/dist/{matrix.renderers-I54IHQ3S.js.map → matrix.renderers-4LST6PBA.js.map} +0 -0
  799. /package/dist/{matrix.serieses-R2T57OYI.js.map → matrix.serieses-3SERD6CV.js.map} +0 -0
  800. /package/dist/{matrix.sort-3GCA2GDU.js.map → matrix.sort-UVS6WHIS.js.map} +0 -0
  801. /package/dist/{matrix.sort.unit.spec-AXGPCZZD.js.map → matrix.sort.unit.spec-CTSUNUWB.js.map} +0 -0
  802. /package/dist/{matrix.sorterUi-QWRK6OGE.js.map → matrix.sorterUi-JDGLTLJM.js.map} +0 -0
  803. /package/dist/{matrix.sorterUi.unit.spec-H7GUVWRJ.js.map → matrix.sorterUi.unit.spec-VQFMHIYI.js.map} +0 -0
  804. /package/dist/{mavb-4EECWXYX.js.map → mavb-ECQ2CQ7F.js.map} +0 -0
  805. /package/dist/{mds.fimo-NHZOY43X.js.map → mds.fimo-JDYDT5NK.js.map} +0 -0
  806. /package/dist/{mds.samplescatterplot-7A5IZ6W7.js.map → mds.samplescatterplot-PEJBVSTO.js.map} +0 -0
  807. /package/dist/{mds.survivalplot-SQDPUFQE.js.map → mds.survivalplot-GYK6VRQT.js.map} +0 -0
  808. /package/dist/{mutationSignature-QH7PZYKL.js.map → mutationSignature-43SECPTY.js.map} +0 -0
  809. /package/dist/{numericDictTermCluster-X5SGSC5K.js.map → numericDictTermCluster-2ER4FUKO.js.map} +0 -0
  810. /package/dist/{oncomatrix-M4C4XPQK.js.map → oncomatrix-ZXDJMLN3.js.map} +0 -0
  811. /package/dist/{oncomatrix.spec-3C642O7O.js.map → oncomatrix.spec-HOPRIG3I.js.map} +0 -0
  812. /package/dist/{plot.2dvaf-TILP7J53.js.map → plot.2dvaf-Y4SZUHLD.js.map} +0 -0
  813. /package/dist/{plot.app-DE2UQP2M.js.map → plot.app-W5Z3C7P5.js.map} +0 -0
  814. /package/dist/{plot.barplot-FJHS765K.js.map → plot.barplot-B2PRZDKV.js.map} +0 -0
  815. /package/dist/{plot.boxplot-YRSHGNYZ.js.map → plot.boxplot-J7ET34FY.js.map} +0 -0
  816. /package/dist/{plot.brainImaging-JV4OUVJY.js.map → plot.brainImaging-ISY4P6RT.js.map} +0 -0
  817. /package/dist/{plot.disco-DBVPBMLG.js.map → plot.disco-D7AL42PW.js.map} +0 -0
  818. /package/dist/{plot.dzi-O2OA4EBK.js.map → plot.dzi-O32LH65U.js.map} +0 -0
  819. /package/dist/{plot.ssgq-YFQEZQYK.js.map → plot.ssgq-WF7262IZ.js.map} +0 -0
  820. /package/dist/{plot.vaf2cov-YNFP5LJ4.js.map → plot.vaf2cov-OB6UKSFQ.js.map} +0 -0
  821. /package/dist/{plot.wsi-DJB7TDIS.js.map → plot.wsi-J5S4YYXN.js.map} +0 -0
  822. /package/dist/{polar-K5Z5FYKV.js.map → polar-LIJORXR6.js.map} +0 -0
  823. /package/dist/{profile.spec-A6EADWEC.js.map → profile.spec-3KE4CREI.js.map} +0 -0
  824. /package/dist/{profileBarchart-EFLPJK2P.js.map → profileBarchart-UQHOJB5V.js.map} +0 -0
  825. /package/dist/{profileForms-TG35YNLD.js.map → profileForms-WTYVTIUN.js.map} +0 -0
  826. /package/dist/{profilePlot-2EW2XVTK.js.map → profilePlot-SOXXEUAT.js.map} +0 -0
  827. /package/dist/{profileRadar-AKUYC2O5.js.map → profileRadar-2OHJ2RIU.js.map} +0 -0
  828. /package/dist/{profileRadarFacility-EAT66XTX.js.map → profileRadarFacility-GHLG3QNG.js.map} +0 -0
  829. /package/dist/{qualitative-PHQU5DXE.js.map → qualitative-B3OY7A7P.js.map} +0 -0
  830. /package/dist/{regression-EOMJRRDO.js.map → regression-HO2TO4XT.js.map} +0 -0
  831. /package/dist/{regression.inputs-LIH5X2JM.js.map → regression.inputs-JN3ZMIOP.js.map} +0 -0
  832. /package/dist/{regression.inputs.term-OO4RZ3QB.js.map → regression.inputs.term-67HVMXFZ.js.map} +0 -0
  833. /package/dist/{regression.inputs.values.table-E7WCTO2L.js.map → regression.inputs.values.table-JXJK2YZT.js.map} +0 -0
  834. /package/dist/{regression.integration.spec-62VEQP6X.js.map → regression.integration.spec-L54ZS5VY.js.map} +0 -0
  835. /package/dist/{regression.results-WAHFJ6NA.js.map → regression.results-3ZSFKUNN.js.map} +0 -0
  836. /package/dist/{regression.spec-IBIOTZVX.js.map → regression.spec-SVWCQX2U.js.map} +0 -0
  837. /package/dist/{report-MKDJXHGY.js.map → report-IHX7XSOI.js.map} +0 -0
  838. /package/dist/{runChart-ETM2EETF.js.map → runChart-QLQMK3OE.js.map} +0 -0
  839. /package/dist/{runchart.integration.spec-QFA4XBKB.js.map → runchart.integration.spec-5NVY5GHR.js.map} +0 -0
  840. /package/dist/{sampleScatter.spec-N4N7ZGZF.js.map → sampleScatter.spec-4Q5CQQWH.js.map} +0 -0
  841. /package/dist/{sampleView-JTY3RV7I.js.map → sampleView-7WHDFHB5.js.map} +0 -0
  842. /package/dist/{samplelst-RRUMBVT6.js.map → samplelst-34GJVLVD.js.map} +0 -0
  843. /package/dist/{samplematrix-L37O664Y.js.map → samplematrix-L2HOSLUT.js.map} +0 -0
  844. /package/dist/{scatter-E5QHW32W.js.map → scatter-X6AAM2LJ.js.map} +0 -0
  845. /package/dist/{scatter.integration.spec-FNVAJSVU.js.map → scatter.integration.spec-QSH3PLBK.js.map} +0 -0
  846. /package/dist/{selectGenomeWithTklst-J6VXCYGG.js.map → selectGenomeWithTklst-AJS2IPPW.js.map} +0 -0
  847. /package/dist/{singleCellPlot-S6S6CKYX.js.map → singleCellPlot-7JEWDVSR.js.map} +0 -0
  848. /package/dist/{singlecell-B4TNI23F.js.map → singlecell-IC5KU72L.js.map} +0 -0
  849. /package/dist/{singlecell-4BMIKFY4.js.map → singlecell-NWANPXWM.js.map} +0 -0
  850. /package/dist/{snp-PAUQ24NZ.js.map → snp-PSRNMTL6.js.map} +0 -0
  851. /package/dist/{snplocus-HVFYZTEE.js.map → snplocus-QCAVDYLR.js.map} +0 -0
  852. /package/dist/{spliceevent.a53ss.diagram-GGGHVNBF.js.map → spliceevent.a53ss.diagram-SGDJKUEC.js.map} +0 -0
  853. /package/dist/{spliceevent.exonskip.diagram-HLMFD6LJ.js.map → spliceevent.exonskip.diagram-BUYTHCK5.js.map} +0 -0
  854. /package/dist/{spliceevent.noeventdiagram-CKZ3BZ7Y.js.map → spliceevent.noeventdiagram-OJZJUHXP.js.map} +0 -0
  855. /package/dist/{ssGSEA-UGT4GH55.js.map → ssGSEA-UUZG57MF.js.map} +0 -0
  856. /package/dist/{stattable-6JWMALGB.js.map → stattable-324FS2HA.js.map} +0 -0
  857. /package/dist/{summarizeCnvGeneexp-BJOQY62E.js.map → summarizeCnvGeneexp-ZVZYWP43.js.map} +0 -0
  858. /package/dist/{summarizeGeneexpSurvival-4HDHL7PE.js.map → summarizeGeneexpSurvival-7XJRMT6M.js.map} +0 -0
  859. /package/dist/{summarizeMutationDiagnosis-TDWO5CKU.js.map → summarizeMutationDiagnosis-ZKLXOVY2.js.map} +0 -0
  860. /package/dist/{summarizeMutationSurvival-CJJFABOX.js.map → summarizeMutationSurvival-S4YPGLWA.js.map} +0 -0
  861. /package/dist/{summary-WOAXXIHG.js.map → summary-RVG7JL6Y.js.map} +0 -0
  862. /package/dist/{summary.integration.spec-GM73ERMN.js.map → summary.integration.spec-SCD35GO4.js.map} +0 -0
  863. /package/dist/{summaryInput-FD4SONTY.js.map → summaryInput-DMN6DTSW.js.map} +0 -0
  864. /package/dist/{sunburst-3LCJTBRN.js.map → sunburst-QZXYILRC.js.map} +0 -0
  865. /package/dist/{survival-A3A7IVXT.js.map → survival-6CWEBRSF.js.map} +0 -0
  866. /package/dist/{survival-XF72VMM6.js.map → survival-J657VYLI.js.map} +0 -0
  867. /package/dist/{survival.integration.spec-AU7MCAQV.js.map → survival.integration.spec-S5WE4V6M.js.map} +0 -0
  868. /package/dist/{svgraph-BEMS4JDJ.js.map → svgraph-NEKJL24M.js.map} +0 -0
  869. /package/dist/{svmr-CDEMTZPK.js.map → svmr-5RQ5JQF2.js.map} +0 -0
  870. /package/dist/{table-WYF6QCGB.js.map → table-CG6Z6NCJ.js.map} +0 -0
  871. /package/dist/{termCollection-BVQMNVY7.js.map → termCollection-FOQNVXB7.js.map} +0 -0
  872. /package/dist/{termInfo-JXLIVCSO.js.map → termInfo-5USFZGDB.js.map} +0 -0
  873. /package/dist/{tk-TGIIJYBO.js.map → tk-2O7XOVGJ.js.map} +0 -0
  874. /package/dist/{tp.ui-USYF67P7.js.map → tp.ui-S4YUVCZH.js.map} +0 -0
  875. /package/dist/{tvs.dtcnv.continuous-7SCTSFK3.js.map → tvs.dtcnv.continuous-7BPIXZ6C.js.map} +0 -0
  876. /package/dist/{tvs.numeric-OLVW6US3.js.map → tvs.numeric-FCC2EY62.js.map} +0 -0
  877. /package/dist/{tvs.samplelst-BHZHCX5V.js.map → tvs.samplelst-PKGFTULN.js.map} +0 -0
  878. /package/dist/{violin-OEOWVIZF.js.map → violin-C7IBRTYP.js.map} +0 -0
  879. /package/dist/{violin.integration.spec-AW2U3RHO.js.map → violin.integration.spec-WXRD3Z4E.js.map} +0 -0
  880. /package/dist/{violin.interactivity-3O2UDNPQ.js.map → violin.interactivity-BMG4TG5L.js.map} +0 -0
  881. /package/dist/{violin.renderer-W26FA6M7.js.map → violin.renderer-WUNW6ULV.js.map} +0 -0
  882. /package/dist/{vocabulary-BIQYDKVY.js.map → vocabulary-UUNEEBM3.js.map} +0 -0
@@ -0,0 +1,1968 @@
1
+ import {
2
+ TermTypes,
3
+ isNumericTerm
4
+ } from "./chunk-DKI7YOTJ.js";
5
+ import {
6
+ dtcnv,
7
+ dtfusionrna,
8
+ dtsnvindel as dtsnvindel2,
9
+ dtsv,
10
+ getColors,
11
+ mclass,
12
+ mclassdeletion,
13
+ mclassinsertion,
14
+ mclassmnv,
15
+ mclassnonstandard as mclassnonstandard2,
16
+ mclasssnv,
17
+ morigingermline,
18
+ morigingermlinenonpathogenic,
19
+ morigingermlinepathogenic,
20
+ moriginrelapse,
21
+ moriginsomatic,
22
+ vepinfo
23
+ } from "./chunk-6VQ4C735.js";
24
+ import {
25
+ deepFreeze,
26
+ sleep
27
+ } from "./chunk-DDOM4XYV.js";
28
+ import {
29
+ convertUnits,
30
+ isNumeric as isNumeric2,
31
+ isStrictNumeric
32
+ } from "./chunk-RA5EXEHB.js";
33
+ import {
34
+ format
35
+ } from "./chunk-W2IWHXLL.js";
36
+ import {
37
+ select_default
38
+ } from "./chunk-NDWTN4U5.js";
39
+
40
+ // ../shared/utils/src/bulk.js
41
+ function init_bulk_flag(genome) {
42
+ if (!genome) {
43
+ return null;
44
+ }
45
+ const mclasslabel2key2 = {};
46
+ for (const n in mclass) {
47
+ mclasslabel2key2[mclass[n].label.toUpperCase()] = n;
48
+ }
49
+ return {
50
+ genome,
51
+ mclasslabel2key: mclasslabel2key2,
52
+ data: {},
53
+ sample2disease: {},
54
+ // (proof) k: sample, v: disease
55
+ // will only record this when origin is used
56
+ patient2st: {},
57
+ // k: patient, v: { k: sampletype, v: sample }
58
+ // new sample names always override old
59
+ good: 0,
60
+ geneToUpper: true,
61
+ // option to not force uppercase on gene names
62
+ snv: {
63
+ loaded: false,
64
+ header: null,
65
+ badlines: [],
66
+ // jinghui: based on missense/silent ratio of entire dataset to decide whether to include silent when importing...
67
+ // hard-coded class codes
68
+ missense: 0,
69
+ silent: 0
70
+ },
71
+ svjson: {
72
+ loaded: false,
73
+ header: null,
74
+ badlines: []
75
+ },
76
+ fusion: {
77
+ loaded: false,
78
+ header: null,
79
+ badlines: [],
80
+ original: []
81
+ },
82
+ sv: {
83
+ loaded: false,
84
+ header: null,
85
+ badlines: [],
86
+ original: []
87
+ },
88
+ cnv: {
89
+ loaded: false,
90
+ header: null,
91
+ badlines: []
92
+ },
93
+ itd: {
94
+ loaded: false,
95
+ header: null,
96
+ badlines: []
97
+ },
98
+ del: {
99
+ loaded: false,
100
+ header: null,
101
+ badlines: []
102
+ },
103
+ truncation: {
104
+ loaded: false,
105
+ header: null,
106
+ badlines: []
107
+ }
108
+ };
109
+ }
110
+ function parsesample(m, flag, i2, lst, badline) {
111
+ let variantorigin = moriginsomatic;
112
+ if (m.sampletype) {
113
+ const s = m.sampletype.toLowerCase();
114
+ switch (s) {
115
+ case "relapse":
116
+ variantorigin = moriginrelapse;
117
+ break;
118
+ case "germline":
119
+ variantorigin = morigingermline;
120
+ break;
121
+ case "somatic":
122
+ case "diagnosis":
123
+ break;
124
+ }
125
+ if (m.sample) {
126
+ if (m.patient) {
127
+ } else {
128
+ m.patient = m.sample + " " + m.sampletype;
129
+ }
130
+ } else {
131
+ if (m.patient) {
132
+ m.sample = m.patient + " " + m.sampletype;
133
+ } else {
134
+ }
135
+ }
136
+ } else {
137
+ if (m.patient) {
138
+ if (m.sample) {
139
+ m.sampletype = m.sample;
140
+ } else {
141
+ m.sample = m.sampletype = m.patient;
142
+ }
143
+ } else {
144
+ if (m.sample) {
145
+ m.sampletype = m.sample;
146
+ } else {
147
+ }
148
+ }
149
+ }
150
+ if (m.origin) {
151
+ const s = m.origin.toLowerCase();
152
+ switch (s) {
153
+ case "r":
154
+ case "relapse":
155
+ variantorigin = moriginrelapse;
156
+ m.isrim2 = true;
157
+ break;
158
+ case "g":
159
+ case "germline":
160
+ variantorigin = morigingermline;
161
+ m.isrim1 = true;
162
+ break;
163
+ case "gp":
164
+ case "germline pathogenic":
165
+ variantorigin = morigingermlinepathogenic;
166
+ m.isrim1 = true;
167
+ break;
168
+ case "gnp":
169
+ case "germline nonpathogenic":
170
+ case "germline non-pathogenic":
171
+ variantorigin = morigingermlinenonpathogenic;
172
+ m.isrim1 = true;
173
+ break;
174
+ case "s":
175
+ case "somatic":
176
+ case "diagnosis":
177
+ variantorigin = moriginsomatic;
178
+ break;
179
+ }
180
+ }
181
+ m.origin = variantorigin;
182
+ if (!m.sample && !m.patient) {
183
+ return;
184
+ }
185
+ const nopatientname = "no patient/individual name";
186
+ let p;
187
+ if (m.patient) {
188
+ if (!flag.patient2st[m.patient]) {
189
+ flag.patient2st[m.patient] = {};
190
+ }
191
+ flag.patient2st[m.patient][m.sampletype] = m.sample;
192
+ } else {
193
+ if (!flag.patient2st[nopatientname]) {
194
+ flag.patient2st[nopatientname] = {};
195
+ }
196
+ flag.patient2st[nopatientname][m.sampletype] = m.sample;
197
+ }
198
+ if (m.sample) {
199
+ if (m.disease) {
200
+ if (m.sample in flag.sample2disease) {
201
+ if (m.disease != flag.sample2disease[m.sample]) {
202
+ flag.snv.badlines.push([
203
+ i2,
204
+ 'conflict of disease types for sample "' + m.sample + '": ' + m.disease + ", " + flag.sample2disease[m.sample],
205
+ lst
206
+ ]);
207
+ return true;
208
+ }
209
+ } else {
210
+ flag.sample2disease[m.sample] = m.disease;
211
+ }
212
+ }
213
+ }
214
+ return false;
215
+ }
216
+
217
+ // ../shared/utils/src/clustering.js
218
+ var clusterMethodLst = [
219
+ {
220
+ label: "Average",
221
+ value: "average",
222
+ title: `Cluster by average value`
223
+ },
224
+ {
225
+ label: `Complete`,
226
+ value: "complete",
227
+ title: `Use the complete clustering method`
228
+ },
229
+ {
230
+ label: `Single`,
231
+ value: "single",
232
+ title: `Use the single clustering method`
233
+ },
234
+ {
235
+ label: `Ward.D`,
236
+ value: "ward.D",
237
+ title: `Use the ward.D clustering method`
238
+ },
239
+ {
240
+ label: `Ward.D2`,
241
+ value: "ward.D2",
242
+ title: `Use the ward.D2 clustering method`
243
+ },
244
+ {
245
+ label: `Mcquitty`,
246
+ value: "mcquitty",
247
+ title: `Use the Mcquity clustering method`
248
+ }
249
+ /* These methods are currently disabled because the dendrogram lines tend to cross one another.
250
+ {
251
+ label: `Centroid`,
252
+ value: 'centroid',
253
+ title: `Use the centroid clustering method`
254
+ },
255
+ {
256
+ label: `Median`,
257
+ value: 'median',
258
+ title: `Use the median clustering method`
259
+ }
260
+ */
261
+ ];
262
+ var distanceMethodLst = [
263
+ {
264
+ label: "Euclidean",
265
+ value: "euclidean",
266
+ title: `Calculate distance using euclidean method`
267
+ },
268
+ {
269
+ label: "Maximum",
270
+ value: "maximum",
271
+ title: `Maximum distance between two components of x and y`
272
+ },
273
+ {
274
+ label: "Manhattan",
275
+ value: "manhattan",
276
+ title: `Calculate distance using the absolute distance between the two vectors`
277
+ },
278
+ {
279
+ label: "Canberra",
280
+ value: "canberra",
281
+ title: `Calculate distance using Canberra method`
282
+ }
283
+ ];
284
+
285
+ // ../shared/utils/src/fileSize.js
286
+ function fileSize(v) {
287
+ if (v > 1e9) return (v / 1e9).toFixed(2) + " GB";
288
+ if (v > 1e6) return (v / 1e6).toFixed(2) + " MB";
289
+ if (v > 1e3) return (v / 1e3).toFixed(2) + " KB";
290
+ return v + " Bytes";
291
+ }
292
+
293
+ // ../shared/utils/src/mds3tk.js
294
+ var ssmIdFieldsSeparator = "__";
295
+ function summarize_mclass(mlst) {
296
+ const m2c = /* @__PURE__ */ new Map();
297
+ const cnvs = [];
298
+ for (const m of mlst) {
299
+ if (m.dt == dtcnv) {
300
+ cnvs.push(m);
301
+ continue;
302
+ }
303
+ const key = m.class || m.dt;
304
+ m2c.set(key, 1 + (m2c.get(key) || 0));
305
+ }
306
+ if (cnvs.length) {
307
+ if (Number.isFinite(cnvs[0].value)) {
308
+ m2c.set(dtcnv, cnvs.length);
309
+ } else {
310
+ for (const c of cnvs) {
311
+ if (!c.class) continue;
312
+ m2c.set(c.class, 1 + (m2c.get(c.class) || 0));
313
+ }
314
+ }
315
+ }
316
+ return [...m2c].sort((i2, j) => j[1] - i2[1]);
317
+ }
318
+ function guessSsmid(ssmid) {
319
+ const l = ssmid.split(ssmIdFieldsSeparator);
320
+ if (l.length == 4) {
321
+ const [chr, tmp, ref, alt] = l;
322
+ const pos = Number(tmp);
323
+ if (Number.isNaN(pos)) throw "ssmid snvindel pos not integer";
324
+ return { dt: dtsnvindel2, l: [chr, pos, ref, alt] };
325
+ }
326
+ if (l.length == 5) {
327
+ const [chr, _start, _stop, _class, _value] = l;
328
+ const start = Number(_start), stop = Number(_stop), value = _value == "" ? null : Number(_value);
329
+ if (Number.isNaN(start) || Number.isNaN(stop)) throw "ssmid cnv start/stop not integer";
330
+ return { dt: dtcnv, l: [chr, start, stop, _class, value] };
331
+ }
332
+ if (l.length == 6) {
333
+ if (l[3] == "+" || l[3] == "-") {
334
+ const [_dt, chr2, _pos, strand, _pi, _mname] = l;
335
+ const mname = decodeURIComponent(_mname);
336
+ const dt = Number(_dt);
337
+ if (dt != dtsv && dt != dtfusionrna) throw "ssmid dt not sv/fusion";
338
+ const pos = Number(_pos);
339
+ if (Number.isNaN(pos)) throw "ssmid svfusion position not integer";
340
+ const pairlstIdx = Number(_pi);
341
+ if (Number.isNaN(pairlstIdx)) throw "ssmid pairlstIdx not integer";
342
+ return { dt, l: [dt, chr2, pos, strand, pairlstIdx, mname] };
343
+ }
344
+ const [chr, _start, _stop, _class, _value, sample] = l;
345
+ const start = Number(_start), stop = Number(_stop), value = _value == "" ? null : Number(_value);
346
+ if (Number.isNaN(start) || Number.isNaN(stop)) throw "ssmid cnv start/stop not integer";
347
+ return { dt: dtcnv, l: [chr, start, stop, _class, value, sample] };
348
+ }
349
+ throw "unknown ssmid";
350
+ }
351
+
352
+ // ../shared/utils/src/termdb.bins.js
353
+ function validate_bins(binconfig) {
354
+ const bc = binconfig;
355
+ if (!bc || typeof bc !== "object") throw "bin schema must be an object";
356
+ if (!("type" in bc)) bc.type = "regular-bin";
357
+ if (bc.type == "custom-bin") {
358
+ if (!Array.isArray(bc.lst)) throw "binconfig.lst must be an array";
359
+ if (!bc.lst.length) throw "binconfig.lst must have entries";
360
+ const first_bin = bc.lst[0];
361
+ const last_bin = bc.lst[bc.lst.length - 1];
362
+ for (const bin of bc.lst) {
363
+ if (!("startinclusive" in bin) && !("stopinclusive" in bin)) {
364
+ throw "custom bin.startinclusive and/or bin.stopinclusive must be defined";
365
+ }
366
+ if (bin == first_bin) {
367
+ if ("startunbounded" in bin && !bin.startunbounded) {
368
+ throw `a custom first bin must not set bin.startunbounded to false`;
369
+ }
370
+ bin.startunbounded = true;
371
+ if ("start" in bin) {
372
+ throw "a custom first bin must not set a bin.start value";
373
+ }
374
+ if ("start_percentile" in bin) {
375
+ throw "the first bin must not set a bin.start_percentile value";
376
+ }
377
+ if (!("stop" in bin)) {
378
+ throw `a custom first bin must define a bin.stop value`;
379
+ }
380
+ if (!isStrictNumeric(bin.stop)) {
381
+ throw `a custom first bin.stop value should be numeric`;
382
+ }
383
+ } else if (bin == last_bin) {
384
+ if (!("start" in bin)) {
385
+ throw `a custom last bin must define a bin.start value`;
386
+ }
387
+ if (!isStrictNumeric(bin.start)) {
388
+ throw `a custom last bin.start must be numeric`;
389
+ }
390
+ if ("stopunbounded" in bin && !bin.stopunbounded) {
391
+ throw "a custom last bin must not set bin.stopunbounded to false";
392
+ }
393
+ bin.stopunbounded = true;
394
+ if ("stop" in bin) {
395
+ throw "a custom last bin must not set a bin.stop value";
396
+ }
397
+ } else {
398
+ if (bin.startunbounded || bin.stopunbounded) {
399
+ throw "bin.startunbounded and bin.stopunbounded must not be set for non-first/non-last bins";
400
+ }
401
+ if (!isStrictNumeric(bin.start)) throw "bin.start must be numeric for a non-first bin";
402
+ if (!isStrictNumeric(bin.stop)) throw "bin.stop must be numeric for a non-last bin";
403
+ }
404
+ }
405
+ } else if (bc.type == "regular-bin") {
406
+ if (!Number.isFinite(bc.bin_size)) throw "non-numeric bin_size";
407
+ if (bc.bin_size <= 0) throw "bin_size must be greater than 0";
408
+ if (!bc.startinclusive && !bc.stopinclusive) {
409
+ bc.startinclusive = 1;
410
+ bc.stopinclusive = 0;
411
+ }
412
+ if (!bc.first_bin) throw "first_bin{} missing";
413
+ if (typeof bc.first_bin != "object") throw "first_bin{} is not an object";
414
+ if (!Object.keys(bc.first_bin).length) throw "first_bin is an empty object";
415
+ {
416
+ const b = bc.first_bin;
417
+ b.startunbounded = true;
418
+ if (b.stop_percentile) {
419
+ if (!Number.isInteger(b.stop_percentile)) throw "first_bin.stop_percentile should be integer";
420
+ if (b.stop_percentile <= 0 || b.stop_percentile >= 100) throw "first_bin.stop_percentile out of bound (0-100)";
421
+ } else if (!Number.isFinite(b.stop)) {
422
+ throw "first_bin.stop not a number when stop_percentile is not set";
423
+ }
424
+ }
425
+ if (bc.last_bin) {
426
+ const b = bc.last_bin;
427
+ if (b.start_percentile) {
428
+ if (!Number.isInteger(b.start_percentile)) throw "last_bin.start_percentile should be integer";
429
+ if (b.start_percentile <= 0 || b.start_percentile >= 100) throw "last_bin.start_percentile out of bound (0-100)";
430
+ } else if (!Number.isFinite(b.start)) {
431
+ throw "last_bin.start not a number when start_percentile is not set";
432
+ }
433
+ b.stopunbounded = true;
434
+ if ("stop" in b) {
435
+ throw "a regular last bin must not set a bin.stop value";
436
+ }
437
+ }
438
+ } else {
439
+ throw `invalid binconfig.type="${bc.type}"`;
440
+ }
441
+ }
442
+ function compute_bins(binconfig, summaryfxn, valueConversion) {
443
+ const bc = binconfig;
444
+ validate_bins(bc);
445
+ if (bc.lst) {
446
+ const k2c2 = getColors(bc.lst.length);
447
+ for (const bin of bc.lst) bin.color = k2c2(bin.label);
448
+ }
449
+ if (bc.type == "custom-bin") return JSON.parse(JSON.stringify(bc.lst));
450
+ if (typeof summaryfxn != "function") throw "summaryfxn required for modules/termdb.bins.js compute_bins()";
451
+ const percentiles = target_percentiles(bc);
452
+ const summary = summaryfxn(percentiles);
453
+ if (!summary || typeof summary !== "object") throw "invalid returned value by summaryfxn";
454
+ bc.results = { summary };
455
+ if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
456
+ const orderedLabels = [];
457
+ const minFloor = Math.floor(summary.min * 100) / 100;
458
+ const maxCeil = Math.ceil(summary.max * 100) / 100;
459
+ const min = bc.first_bin.startunbounded ? minFloor : bc.first_bin.start_percentile ? summary["p" + bc.first_bin.start_percentile] : bc.first_bin.start;
460
+ let max = maxCeil, last_start, last_stop;
461
+ if (bc.last_bin) {
462
+ 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;
463
+ 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;
464
+ 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;
465
+ } else if (bc.lst) {
466
+ const last_bin = bc.lst[bc.lst.length - 1];
467
+ last_start = last_bin.start;
468
+ last_stop = "stop" in last_bin && !last_bin.stopunbounded ? last_bin.stop : maxCeil;
469
+ max = last_stop;
470
+ } else {
471
+ last_start = maxCeil;
472
+ last_stop = maxCeil;
473
+ }
474
+ const numericMax = isStrictNumeric(max);
475
+ const numericLastStart = isStrictNumeric(last_start);
476
+ const numericLastStop = isStrictNumeric(last_stop);
477
+ if (!numericMax && !numericLastStart) return [];
478
+ const bins = [];
479
+ let currBin = {
480
+ startunbounded: bc.first_bin.startunbounded,
481
+ start: bc.first_bin.startunbounded ? void 0 : min,
482
+ 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,
483
+ startinclusive: bc.startinclusive,
484
+ stopinclusive: bc.stopinclusive
485
+ };
486
+ if (!isStrictNumeric(currBin.stop)) throw "the computed first_bin.stop is non-numeric" + currBin.stop;
487
+ const maxNumBins = 100;
488
+ while (numericMax && currBin.stop <= max || currBin.startunbounded && !bins.length || currBin.stopunbounded) {
489
+ bins.push(currBin);
490
+ if (currBin.stop >= max) {
491
+ currBin.stopunbounded = true;
492
+ if (bins.length > 1) {
493
+ delete currBin.stop;
494
+ }
495
+ }
496
+ currBin.label = get_bin_label(currBin, bc, valueConversion);
497
+ if (currBin.stopunbounded) break;
498
+ const upper = currBin.stop + bc.bin_size;
499
+ const previousStop = currBin.stop;
500
+ currBin = {
501
+ startinclusive: bc.startinclusive,
502
+ stopinclusive: bc.stopinclusive,
503
+ start: previousStop,
504
+ stop: numericLastStop && (previousStop == last_start || upper > last_stop) ? last_stop : numericLastStart && upper > last_start && previousStop != last_start ? last_start : upper
505
+ };
506
+ if (currBin.stop >= max) {
507
+ currBin.stop = max;
508
+ if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
509
+ if (bc.last_bin && bc.last_bin.stopinclusive) currBin.stopinclusive = 1;
510
+ }
511
+ if (numericLastStart && currBin.start == last_start) {
512
+ if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
513
+ }
514
+ if (currBin.start > currBin.stop) {
515
+ if (numericLastStart && currBin.stop == last_start && bc.last_bin && bc.last_bin.stopunbounded)
516
+ currBin.stopunbounded = true;
517
+ else break;
518
+ }
519
+ if (bins.length + 1 >= maxNumBins) {
520
+ bc.error = "max_num_bins_reached";
521
+ break;
522
+ }
523
+ }
524
+ delete bc.binLabelFormatter;
525
+ if (bins.length > 1) {
526
+ delete bins[bins.length - 1].stop;
527
+ }
528
+ const k2c = getColors(bins.length);
529
+ for (const bin of bins) bin.color = k2c(bin.label);
530
+ return bins;
531
+ }
532
+ function getNumDecimalsFormatter(bc) {
533
+ return "rounding" in bc ? format(bc.rounding) : (d) => d;
534
+ }
535
+ function get_bin_label(bin, binconfig, valueConversion) {
536
+ if (bin.label) return bin.label;
537
+ const bc = binconfig;
538
+ if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
539
+ if (!bin.startunbounded && !bin.stopunbounded && !("startinclusive" in bin) && !("stopinclusive" in bin)) {
540
+ if (bc.startinclusive) bin.startinclusive = true;
541
+ else if (bc.stopinclusive) bin.stopinclusive = true;
542
+ }
543
+ const start = bc.use_as == "bins" || bin.start;
544
+ const stop = bc.use_as == "bins" || bin.stop;
545
+ let label_offset = 0;
546
+ if ("label_offset" in bc) {
547
+ bc.label_offset_ignored = "bin_size" in bc && bc.bin_size < bc.label_offset;
548
+ if (!bc.label_offset_ignored) label_offset = bc.label_offset;
549
+ } else if (bc.bin_size === 1 && bc.termtype == "integer") {
550
+ label_offset = 1;
551
+ }
552
+ if (bin.startunbounded) {
553
+ const oper = bin.stopinclusive ? "\u2264" : "<";
554
+ const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(stop);
555
+ return oper + v1;
556
+ }
557
+ if (bin.stopunbounded || start === stop) {
558
+ const oper = bin.startinclusive ? "\u2265" : ">";
559
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
560
+ return oper + v0;
561
+ }
562
+ if (label_offset && bin.startinclusive && !bin.stopinclusive) {
563
+ if (Number.isInteger(bc.bin_size) && Math.abs(start - stop) === label_offset) {
564
+ return "" + (valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start));
565
+ } else {
566
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
567
+ const v1 = valueConversion ? convertUnits(
568
+ stop - label_offset,
569
+ valueConversion.fromUnit,
570
+ valueConversion.toUnit,
571
+ valueConversion.scaleFactor,
572
+ true
573
+ ) : bc.binLabelFormatter(stop - label_offset);
574
+ return +v0 >= +v1 ? v0.toString() : v0 + " to " + v1;
575
+ }
576
+ } else {
577
+ const oper0 = bin.startinclusive ? "" : ">";
578
+ const oper1 = bin.stopinclusive ? "" : "<";
579
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(start) ? start : bc.binLabelFormatter(start);
580
+ const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(stop) ? stop : bc.binLabelFormatter(stop);
581
+ if (+v0 >= +v1) {
582
+ const oper = bin.startinclusive ? "\u2265" : ">";
583
+ return oper + v0;
584
+ } else {
585
+ return oper0 + v0 + " to " + oper1 + v1;
586
+ }
587
+ }
588
+ }
589
+ function get_bin_range_equation(bin, binconfig) {
590
+ const x = '<span style="font-family:Times;font-style:italic;">x</span>';
591
+ let range_eq;
592
+ const copy = structuredClone(bin);
593
+ copy.label = "";
594
+ const bin_label = get_bin_label(copy, binconfig);
595
+ if (bin.startunbounded || bin.stopunbounded) {
596
+ range_eq = x + " " + bin_label;
597
+ } else if (bin.startinclusive) {
598
+ range_eq = bin_label.replace("to <", "\u2264 " + x + " <");
599
+ } else if (bin.stopinclusive) {
600
+ range_eq = bin_label.replace(">", "").replace("to", "< " + x + " \u2264");
601
+ }
602
+ return range_eq;
603
+ }
604
+ function target_percentiles(binconfig) {
605
+ const percentiles = [];
606
+ const f = binconfig.first_bin;
607
+ if (f && isStrictNumeric(f.start_percentile)) percentiles.push(f.start_percentile);
608
+ if (f && isStrictNumeric(f.stop_percentile)) percentiles.push(f.stop_percentile);
609
+ const l = binconfig.last_bin;
610
+ if (l && isStrictNumeric(l.start_percentile)) percentiles.push(l.start_percentile);
611
+ if (l && isStrictNumeric(l.stop_percentile)) percentiles.push(l.stop_percentile);
612
+ return percentiles;
613
+ }
614
+
615
+ // ../shared/utils/src/termdb.initbinconfig.js
616
+ function initBinConfig(data, opts = {}) {
617
+ if (data.find((d) => !Number.isFinite(d))) throw new Error("non-numeric values found");
618
+ let binConfig;
619
+ const s = new Set(data);
620
+ if (s.size === 1) {
621
+ const value = [...s][0];
622
+ binConfig = {
623
+ type: "custom-bin",
624
+ lst: [
625
+ { stop: value, stopinclusive: false, startunbounded: true, label: "<" + value },
626
+ { start: value, stop: value, startinclusive: true, stopinclusive: true, label: "=" + value },
627
+ { start: value, startinclusive: false, stopunbounded: true, label: ">" + value }
628
+ ]
629
+ };
630
+ } else {
631
+ data.sort((a, b) => a - b);
632
+ const l = data.length;
633
+ const min = data[0];
634
+ const max = data[l - 1];
635
+ const p5idx = Math.ceil(l * 0.05) - 1;
636
+ const p98idx = Math.ceil(l * 0.98) - 1;
637
+ const p5 = data[p5idx];
638
+ const p98 = data[p98idx];
639
+ const binSize = p98 != p5 ? (p98 - p5) / 8 : (max - min) / 8;
640
+ const firstBinStop = Math.max(min + binSize, p5);
641
+ let [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding] = roundBinVals(binSize, firstBinStop, max, min);
642
+ binConfig = {
643
+ type: "regular-bin",
644
+ startinclusive: true,
645
+ bin_size: binSize_rnd,
646
+ first_bin: { stop: firstBinStop_rnd }
647
+ };
648
+ if (lastBinStart_rnd) binConfig.last_bin = { start: lastBinStart_rnd };
649
+ if (rounding) binConfig.rounding = rounding;
650
+ }
651
+ if ("format" in opts) {
652
+ if (opts.format === "string") {
653
+ return JSON.stringify(binConfig);
654
+ } else {
655
+ throw "options are not in the correct format";
656
+ }
657
+ } else {
658
+ return binConfig;
659
+ }
660
+ }
661
+ function roundBinVals(binSize, firstBinStop, max, min) {
662
+ let binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding;
663
+ const log = Math.floor(Math.log10(binSize));
664
+ if (binSize >= 0.1 && binSize <= 2) {
665
+ binSize_rnd = Math.round(binSize / (1 * 10 ** log)) * (1 * 10 ** log);
666
+ firstBinStop_rnd = Math.round(firstBinStop / (1 * 10 ** log)) * (1 * 10 ** log);
667
+ } else {
668
+ binSize_rnd = Math.round(binSize / (5 * 10 ** log)) * (5 * 10 ** log);
669
+ firstBinStop_rnd = Math.round(firstBinStop / (5 * 10 ** log)) * (5 * 10 ** log);
670
+ if (binSize_rnd === 0) binSize_rnd = 1 * 10 ** log;
671
+ if (firstBinStop_rnd === 0) firstBinStop_rnd = 1 * 10 ** log;
672
+ if (binSize_rnd === 5 * 10 ** log && firstBinStop_rnd === 1 * 10 ** log) firstBinStop_rnd = 5 * 10 ** log;
673
+ }
674
+ if (firstBinStop_rnd < min) firstBinStop_rnd = firstBinStop_rnd * 2;
675
+ const eighthBinStop_rnd = firstBinStop_rnd + binSize_rnd * 7;
676
+ if (max > eighthBinStop_rnd) {
677
+ lastBinStart_rnd = firstBinStop_rnd + binSize_rnd * 6;
678
+ }
679
+ if (binSize < 1) {
680
+ const digits = Math.abs(log);
681
+ binSize_rnd = Number(binSize_rnd.toFixed(digits));
682
+ firstBinStop_rnd = Number(firstBinStop_rnd.toFixed(digits));
683
+ if (lastBinStart_rnd) lastBinStart_rnd = Number(lastBinStart_rnd.toFixed(digits));
684
+ rounding = "." + digits + "f";
685
+ }
686
+ if (Object.is(firstBinStop_rnd, -0)) firstBinStop_rnd = 0;
687
+ return [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding];
688
+ }
689
+
690
+ // ../shared/utils/src/vcf.info.js
691
+ function dissect_INFO(str) {
692
+ let findsemicolon = false;
693
+ let findequalorsemicolon = true;
694
+ let i2 = 0;
695
+ let idx = 0;
696
+ const k2v = {};
697
+ let lastkey;
698
+ while (i2 < str.length) {
699
+ const c = str[i2];
700
+ if (findequalorsemicolon) {
701
+ if (c == "=") {
702
+ findsemicolon = true;
703
+ findequalorsemicolon = false;
704
+ lastkey = str.substring(idx, i2);
705
+ idx = i2 + 1;
706
+ } else if (c == ";") {
707
+ k2v[str.substring(idx, i2)] = 1;
708
+ idx = i2 + 1;
709
+ }
710
+ } else if (findsemicolon && c == ";") {
711
+ findequalorsemicolon = true;
712
+ findsemicolon = false;
713
+ k2v[lastkey] = str.substring(idx, i2);
714
+ lastkey = null;
715
+ idx = i2 + 1;
716
+ }
717
+ i2++;
718
+ }
719
+ const remainstr = str.substr(idx, i2);
720
+ if (lastkey) {
721
+ k2v[lastkey] = remainstr;
722
+ } else {
723
+ k2v[remainstr] = 1;
724
+ }
725
+ return k2v;
726
+ }
727
+
728
+ // ../shared/utils/src/vcf.csq.js
729
+ function parse_CSQ(str, header, m) {
730
+ if (!header) {
731
+ return null;
732
+ }
733
+ for (const thisannotation of str.split(",")) {
734
+ const lst = thisannotation.replace(/&/g, ",").split("|");
735
+ const o = {};
736
+ for (let i2 = 0; i2 < header.length; i2++) {
737
+ if (lst[i2]) {
738
+ o[header[i2].name] = lst[i2];
739
+ }
740
+ }
741
+ if (!o.Allele) {
742
+ continue;
743
+ }
744
+ let allele = null;
745
+ for (const a of m.mlst || m.alleles) {
746
+ if (a.allele_original == o.Allele) {
747
+ allele = a;
748
+ break;
749
+ }
750
+ }
751
+ if (!allele) {
752
+ if (o.Allele == "-") {
753
+ if (m.mlst) {
754
+ if (m.mlst.length == 1) {
755
+ allele = m.mlst[0];
756
+ }
757
+ } else if (m.alleles) {
758
+ if (m.alleles.length == 1) {
759
+ allele = m.alleles[0];
760
+ }
761
+ }
762
+ } else {
763
+ for (const a of m.mlst || m.alleles) {
764
+ if (a.allele_original.substr(1) == o.Allele) {
765
+ allele = a;
766
+ break;
767
+ }
768
+ }
769
+ }
770
+ if (!allele) {
771
+ continue;
772
+ }
773
+ }
774
+ if (!allele.csq) {
775
+ allele.csq = [];
776
+ }
777
+ allele.csq.push(o);
778
+ o._gene = o.SYMBOL || o.Gene;
779
+ if (o.Feature_type && o.Feature_type == "Transcript") {
780
+ o._isoform = o.Feature.split(".")[0];
781
+ } else {
782
+ o._isoform = o._gene;
783
+ }
784
+ if (o.Consequence) {
785
+ const [dt, cls, rank] = vepinfo(o.Consequence);
786
+ o._dt = dt;
787
+ o._class = cls;
788
+ o._csqrank = rank;
789
+ } else {
790
+ o._dt = dtsnvindel;
791
+ o._class = mclassnonstandard;
792
+ }
793
+ if (o.HGVSp) {
794
+ o._mname = decodeURIComponent(o.HGVSp.substr(o.HGVSp.indexOf(":") + 1));
795
+ } else if (o.Protein_position && o.Amino_acids) {
796
+ o._mname = decodeURIComponent(o.Protein_position + o.Amino_acids);
797
+ } else if (o.HGVSc) {
798
+ o._mname = o.HGVSc.substr(o.HGVSc.indexOf(":") + 1);
799
+ } else if (o.Existing_variation) {
800
+ o._name = o.Existing_variation;
801
+ } else {
802
+ }
803
+ }
804
+ return true;
805
+ }
806
+
807
+ // ../shared/utils/src/vcf.ann.js
808
+ function parse_ANN(str, header, m) {
809
+ if (!header) {
810
+ return null;
811
+ }
812
+ for (const thisannotation of str.split(",")) {
813
+ const lst = thisannotation.replace(/&/g, ",").split("|");
814
+ const o = {};
815
+ for (let i2 = 0; i2 < header.length; i2++) {
816
+ if (lst[i2]) {
817
+ o[header[i2].name] = lst[i2];
818
+ }
819
+ }
820
+ if (!o.Allele) {
821
+ continue;
822
+ }
823
+ let allele = null;
824
+ for (const a of m.alleles) {
825
+ if (a.allele == o.Allele) {
826
+ allele = a;
827
+ break;
828
+ }
829
+ }
830
+ if (!allele) {
831
+ continue;
832
+ }
833
+ if (!allele.ann) {
834
+ allele.ann = [];
835
+ }
836
+ allele.ann.push(o);
837
+ o._gene = o.Gene_Name;
838
+ if (o.Feature_Type && o.Feature_Type == "transcript" && o.Feature_ID) {
839
+ o._isoform = o.Feature_ID.split(".")[0];
840
+ }
841
+ if (o.Annotation) {
842
+ const [dt, cls, rank] = vepinfo(o.Annotation);
843
+ o._dt = dt;
844
+ o._class = cls;
845
+ o._csqrank = rank;
846
+ } else {
847
+ o._dt = dtsnvindel;
848
+ o._class = mclassnonstandard;
849
+ }
850
+ if (o["HGVS.p"]) {
851
+ o._mname = o["HGVS.p"];
852
+ } else if (o["HGVS.c"]) {
853
+ o._mname = o["HGVS.c"];
854
+ } else {
855
+ }
856
+ }
857
+ return true;
858
+ }
859
+
860
+ // ../shared/utils/src/vcf.type.js
861
+ function getVariantType(ref, alt) {
862
+ if (ref.length == 1 && alt.length == 1) {
863
+ if (alt == ".") {
864
+ return mclassdeletion;
865
+ }
866
+ return mclasssnv;
867
+ }
868
+ if (ref.length == alt.length) return mclassmnv;
869
+ if (ref.length < alt.length) return mclassinsertion;
870
+ if (ref.length > alt.length) return mclassdeletion;
871
+ return mclassnonstandard2;
872
+ }
873
+
874
+ // ../shared/utils/src/vcf.js
875
+ var getallelename = new RegExp(/<(.+)>/);
876
+ var mclasslabel2key = {};
877
+ for (const k in mclass) {
878
+ mclasslabel2key[mclass[k].label.toUpperCase()] = k;
879
+ }
880
+ function vcfparsemeta(lines) {
881
+ let sample = [], errlst = [], info = {}, hasinfo = false, format2 = {}, hasformat = false;
882
+ for (const line of lines) {
883
+ if (!line.startsWith("#")) {
884
+ continue;
885
+ }
886
+ if (line.startsWith("#C")) {
887
+ sample = line.split(" ").slice(9);
888
+ continue;
889
+ }
890
+ if (line.startsWith("##INFO")) {
891
+ const e = tohash(line.substring(8, line.length - 1), info);
892
+ if (e) {
893
+ errlst.push("INFO error: " + e);
894
+ } else {
895
+ hasinfo = true;
896
+ }
897
+ continue;
898
+ }
899
+ if (line.startsWith("##FORMAT")) {
900
+ const e = tohash(line.substring(10, line.length - 1), format2);
901
+ if (e) {
902
+ errlst.push("FORMAT error: " + e);
903
+ } else {
904
+ hasformat = true;
905
+ }
906
+ }
907
+ }
908
+ const sampleobjlst = [];
909
+ for (const samplename of sample) {
910
+ const a = { name: samplename };
911
+ sampleobjlst.push(a);
912
+ }
913
+ if (info.CSQ) {
914
+ const lst = info.CSQ.Description.split(" Format: ");
915
+ if (lst[1]) {
916
+ const lst2 = lst[1].split("|");
917
+ if (lst2.length > 1) {
918
+ info.CSQ.csqheader = [];
919
+ for (const str of lst2) {
920
+ const attr = { name: str };
921
+ info.CSQ.csqheader.push(attr);
922
+ }
923
+ } else {
924
+ errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
925
+ }
926
+ } else {
927
+ errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
928
+ }
929
+ }
930
+ if (info.ANN) {
931
+ const lst = info.ANN.Description.split("'");
932
+ if (lst[1]) {
933
+ const lst2 = lst[1].split(" | ");
934
+ if (lst2.length) {
935
+ info.ANN.annheader = [];
936
+ for (const s of lst2) {
937
+ const attr = { name: s };
938
+ info.ANN.annheader.push(attr);
939
+ }
940
+ } else {
941
+ errlst.push('no " | " joined annotation fields for ANN (snpEff annotation): ' + info.ANN.Description);
942
+ }
943
+ } else {
944
+ errlst.push("no single-quote enclosed annotation fields for ANN (snpEff annotation): " + info.ANN.Description);
945
+ }
946
+ }
947
+ return [hasinfo ? info : null, hasformat ? format2 : null, sampleobjlst, errlst.length ? errlst : null];
948
+ }
949
+ function vcfparseline(line, vcf) {
950
+ const lst = line.split(" ");
951
+ if (lst.length < 8) {
952
+ return ["line has less than 8 fields", null, null];
953
+ }
954
+ const rawpos = Number.parseInt(lst[2 - 1]);
955
+ if (!Number.isInteger(rawpos)) {
956
+ return ["invalid value for genomic position", null, null];
957
+ }
958
+ const refallele = lst[4 - 1];
959
+ const m = {
960
+ vcf_ID: lst[3 - 1],
961
+ chr: (vcf.nochr ? "chr" : "") + lst[1 - 1],
962
+ pos: rawpos - 1,
963
+ ref: refallele,
964
+ //refstr:refallele, // e.g. GA>GCC, ref:A, refstr:GA, "refstr" is required for matching in FORMAT
965
+ altstr: lst[5 - 1],
966
+ alleles: [
967
+ {
968
+ /*
969
+ ref allele only a placeholder, to be removed, this array only contains alt alleles
970
+ this is a must
971
+ also allows GT allele index to work
972
+ */
973
+ allele: refallele,
974
+ sampledata: []
975
+ }
976
+ ],
977
+ info: {},
978
+ // locus info, do not contain allele info
979
+ name: lst[3 - 1] == "." ? null : lst[3 - 1]
980
+ };
981
+ const altinvalid = [];
982
+ for (const alt of lst[5 - 1].split(",")) {
983
+ const a = {
984
+ ref: m.ref,
985
+ // may be corrected just below!
986
+ allele: alt,
987
+ // 5078356.TATCAGAGAA.GGGAGGA keep original allele for matching with csq which hardcodes original allele
988
+ allele_original: alt,
989
+ sampledata: [],
990
+ _m: m,
991
+ info: {}
992
+ // allele info, do not contain locus info
993
+ };
994
+ m.alleles.push(a);
995
+ if (alt[0] == "<") {
996
+ const tmp2 = alt.match(getallelename);
997
+ if (!tmp2) {
998
+ altinvalid.push(alt);
999
+ continue;
1000
+ }
1001
+ a.type = tmp2[1];
1002
+ a.allele = tmp2[1];
1003
+ a.issymbolicallele = true;
1004
+ } else {
1005
+ const [p, ref, alt2] = correctRefAlt(m.pos, m.ref, a.allele);
1006
+ a.pos = p;
1007
+ a.ref = ref;
1008
+ a.allele = alt2;
1009
+ }
1010
+ }
1011
+ if (lst[9 - 1] && lst[10 - 1]) {
1012
+ parse_FORMAT2(lst, m, vcf);
1013
+ }
1014
+ m.alleles.shift();
1015
+ const tmp = lst[8 - 1] == "." ? [] : dissect_INFO(lst[8 - 1]);
1016
+ let badinfokeys = [];
1017
+ if (vcf.info) {
1018
+ badinfokeys = parse_INFO(tmp, m, vcf);
1019
+ } else {
1020
+ m.info = tmp;
1021
+ }
1022
+ const mlst = [];
1023
+ for (const a of m.alleles) {
1024
+ const m2 = {};
1025
+ for (const k in m) {
1026
+ if (k != "alleles") {
1027
+ m2[k] = m[k];
1028
+ }
1029
+ }
1030
+ for (const k in a) {
1031
+ if (k == "allele") {
1032
+ m2.alt = a[k];
1033
+ } else if (k == "info") {
1034
+ m2.altinfo = a[k];
1035
+ } else {
1036
+ m2[k] = a[k];
1037
+ }
1038
+ }
1039
+ if (!m2.issymbolicallele && m2.alt != "NON_REF") {
1040
+ m2.type = getVariantType(m2.ref, m2.alt);
1041
+ }
1042
+ mlst.push(m2);
1043
+ }
1044
+ return [
1045
+ badinfokeys.length ? "unknown info keys: " + badinfokeys.join(",") : null,
1046
+ mlst,
1047
+ altinvalid.length > 0 ? altinvalid : null
1048
+ ];
1049
+ }
1050
+ function correctRefAlt(p, ref, alt) {
1051
+ while (ref.length > 1 && alt.length > 1 && ref[ref.length - 1] == alt[alt.length - 1]) {
1052
+ ref = ref.substr(0, ref.length - 1);
1053
+ alt = alt.substr(0, alt.length - 1);
1054
+ }
1055
+ while (ref.length > 1 && alt.length > 1 && ref[0] == alt[0]) {
1056
+ ref = ref.substr(1);
1057
+ alt = alt.substr(1);
1058
+ p++;
1059
+ }
1060
+ return [p, ref, alt];
1061
+ }
1062
+ function parse_FORMAT2(lst, m, vcf) {
1063
+ const formatfields = lst[9 - 1].split(":");
1064
+ for (let _sampleidx = 9; _sampleidx < lst.length; _sampleidx++) {
1065
+ const valuelst = lst[_sampleidx].split(":");
1066
+ {
1067
+ let none = true;
1068
+ for (const v of valuelst) {
1069
+ if (v != ".") {
1070
+ none = false;
1071
+ break;
1072
+ }
1073
+ }
1074
+ if (none) {
1075
+ continue;
1076
+ }
1077
+ }
1078
+ const sampleidx = _sampleidx - 9;
1079
+ for (let i2 = 1; i2 < m.alleles.length; i2++) {
1080
+ const sobj = {};
1081
+ if (vcf.samples && vcf.samples[sampleidx]) {
1082
+ for (const k in vcf.samples[sampleidx]) {
1083
+ sobj[k] = vcf.samples[sampleidx][k];
1084
+ }
1085
+ } else {
1086
+ sobj.name = "missing_samplename_from_vcf_header";
1087
+ }
1088
+ m.alleles[i2].sampledata.push({
1089
+ sampleobj: sobj
1090
+ });
1091
+ }
1092
+ for (let fi = 0; fi < formatfields.length; fi++) {
1093
+ const field = formatfields[fi];
1094
+ const value = valuelst[fi];
1095
+ if (value == ".") {
1096
+ continue;
1097
+ }
1098
+ if (field == "GT") {
1099
+ const splitter = value.indexOf("/") != -1 ? "/" : "|";
1100
+ let gtsum = 0;
1101
+ let unknowngt = false;
1102
+ const gtalleles = [];
1103
+ for (const i2 of value.split(splitter)) {
1104
+ if (i2 == ".") {
1105
+ unknowngt = true;
1106
+ continue;
1107
+ }
1108
+ const j = Number.parseInt(i2);
1109
+ if (Number.isNaN(j)) {
1110
+ unknowngt = true;
1111
+ continue;
1112
+ }
1113
+ gtsum += j;
1114
+ const ale = m.alleles[j];
1115
+ if (ale) {
1116
+ gtalleles.push(ale.allele);
1117
+ }
1118
+ }
1119
+ let gtallref = false;
1120
+ if (!unknowngt) {
1121
+ gtallref = gtsum == 0;
1122
+ }
1123
+ const genotype = gtalleles.join(splitter);
1124
+ for (let i2 = 1; i2 < m.alleles.length; i2++) {
1125
+ const ms = m.alleles[i2].sampledata[m.alleles[i2].sampledata.length - 1];
1126
+ ms.GT = value;
1127
+ ms.genotype = genotype;
1128
+ if (gtallref) {
1129
+ ms.gtallref = true;
1130
+ }
1131
+ ms.__gtalleles = gtalleles;
1132
+ }
1133
+ continue;
1134
+ }
1135
+ const formatdesc = vcf.format ? vcf.format[field] : null;
1136
+ if (!formatdesc) {
1137
+ for (let i2 = 1; i2 < m.alleles.length; i2++) {
1138
+ m.alleles[i2].sampledata[m.alleles[i2].sampledata.length - 1][field] = value;
1139
+ }
1140
+ continue;
1141
+ }
1142
+ const isinteger = formatdesc.Type == "Integer";
1143
+ const isfloat = formatdesc.Type == "Float";
1144
+ if (formatdesc.Number && formatdesc.Number == "R" || field == "AD") {
1145
+ const fvlst = value.split(",").map((i2) => {
1146
+ if (isinteger) return Number.parseInt(i2);
1147
+ if (isfloat) return Number.parseFloat(i2);
1148
+ return i2;
1149
+ });
1150
+ for (let i2 = 1; i2 < m.alleles.length; i2++) {
1151
+ if (fvlst[i2] != void 0) {
1152
+ const m2 = m.alleles[i2];
1153
+ const m2s = m2.sampledata[m2.sampledata.length - 1];
1154
+ m2s[field] = {};
1155
+ m2s[field][m2.ref] = fvlst[0];
1156
+ m2s[field][m2.allele] = fvlst[i2];
1157
+ }
1158
+ }
1159
+ continue;
1160
+ }
1161
+ if (formatdesc.Number && formatdesc.Number == "A") {
1162
+ const fvlst = value.split(",").map((i2) => {
1163
+ if (isinteger) return Number.parseInt(i2);
1164
+ if (isfloat) return Number.parseFloat(i2);
1165
+ return i2;
1166
+ });
1167
+ for (let i2 = 1; i2 < m.alleles.length; i2++) {
1168
+ if (fvlst[i2 - 1] != void 0) {
1169
+ const m2 = m.alleles[i2];
1170
+ const m2s = m2.sampledata[m2.sampledata.length - 1];
1171
+ m2s[field] = {};
1172
+ m2s[field][m2.allele] = fvlst[i2 - 1];
1173
+ }
1174
+ }
1175
+ continue;
1176
+ }
1177
+ for (let i2 = 1; i2 < m.alleles.length; i2++) {
1178
+ m.alleles[i2].sampledata[m.alleles[i2].sampledata.length - 1][field] = value;
1179
+ }
1180
+ }
1181
+ }
1182
+ for (const a of m.alleles) {
1183
+ for (const s of a.sampledata) {
1184
+ if (s.AD) {
1185
+ s.allele2readcount = {};
1186
+ for (const k in s.AD) {
1187
+ s.allele2readcount[k] = s.AD[k];
1188
+ }
1189
+ }
1190
+ }
1191
+ }
1192
+ }
1193
+ function tohash(s, hash2) {
1194
+ const h = {}, err = [];
1195
+ let prev = 0, prevdoublequote = false, k = null;
1196
+ for (let i2 = 0; i2 < s.length; i2++) {
1197
+ if (s[i2] == '"') {
1198
+ i2++;
1199
+ const thisstart = i2;
1200
+ while (s[i2] != '"') {
1201
+ i2++;
1202
+ }
1203
+ if (k) {
1204
+ h[k] = s.substring(thisstart, i2);
1205
+ k = null;
1206
+ } else {
1207
+ err.push("k undefined before double quotes");
1208
+ }
1209
+ prevdoublequote = true;
1210
+ continue;
1211
+ }
1212
+ if (s[i2] == "=") {
1213
+ k = s.substring(prev, i2);
1214
+ prev = i2 + 1;
1215
+ continue;
1216
+ }
1217
+ if (s[i2] == ",") {
1218
+ if (prevdoublequote) {
1219
+ prevdoublequote = false;
1220
+ } else {
1221
+ if (k) {
1222
+ h[k] = s.substring(prev, i2);
1223
+ k = null;
1224
+ } else {
1225
+ err.push("k undefined");
1226
+ }
1227
+ }
1228
+ prev = i2 + 1;
1229
+ continue;
1230
+ }
1231
+ }
1232
+ if (k) {
1233
+ h[k] = s.substring(prev, i);
1234
+ }
1235
+ if (h.ID) {
1236
+ hash2[h.ID] = h;
1237
+ } else {
1238
+ return "no ID";
1239
+ }
1240
+ if (err.length) return err.join("\n");
1241
+ }
1242
+ function parse_INFO(tmp, m, vcf) {
1243
+ const badinfokeys = [];
1244
+ for (const key in tmp) {
1245
+ if (vcf.info[key] == void 0) {
1246
+ badinfokeys.push(key);
1247
+ continue;
1248
+ }
1249
+ const value = tmp[key];
1250
+ if (key == "CSQ") {
1251
+ const okay = parse_CSQ(value, vcf.info.CSQ.csqheader, m);
1252
+ if (!okay) {
1253
+ m.info[key] = value;
1254
+ }
1255
+ continue;
1256
+ }
1257
+ if (key == "ANN") {
1258
+ const okay = parse_ANN(value, vcf.info.ANN.annheader, m);
1259
+ if (!okay) {
1260
+ m.info[key] = value;
1261
+ }
1262
+ continue;
1263
+ }
1264
+ if (vcf.info[key].Type == "Flag") {
1265
+ m.info[key] = key;
1266
+ continue;
1267
+ }
1268
+ const __number = vcf.info[key].Number;
1269
+ const isinteger = vcf.info[key].Type == "Integer";
1270
+ const isfloat = vcf.info[key].Type == "Float";
1271
+ if (__number == "0") {
1272
+ m.info[key] = key;
1273
+ continue;
1274
+ }
1275
+ if (__number == "A") {
1276
+ const tt = value.split(",");
1277
+ for (let j = 0; j < tt.length; j++) {
1278
+ if (m.alleles[j]) {
1279
+ m.alleles[j].info[key] = isinteger ? Number.parseInt(tt[j]) : isfloat ? Number.parseFloat(tt[j]) : tt[j];
1280
+ }
1281
+ }
1282
+ continue;
1283
+ }
1284
+ if (__number == "R") {
1285
+ }
1286
+ if (__number == "1") {
1287
+ m.info[key] = isinteger ? Number.parseInt(value) : isfloat ? Number.parseFloat(value) : value;
1288
+ continue;
1289
+ }
1290
+ if (!value.split) {
1291
+ continue;
1292
+ }
1293
+ const lst = value.split(",");
1294
+ if (isinteger) {
1295
+ m.info[key] = lst.map(Number.parseInt);
1296
+ } else if (isfloat) {
1297
+ m.info[key] = lst.map(Number.parseFloat);
1298
+ } else {
1299
+ m.info[key] = lst;
1300
+ }
1301
+ }
1302
+ return badinfokeys;
1303
+ }
1304
+
1305
+ // ../shared/utils/src/compute.percentile.js
1306
+ function computePercentile(values, percentile, sorted = false) {
1307
+ if (!sorted) values.sort((a, b) => a - b);
1308
+ const index = Math.abs(percentile / 100 * values.length - 1);
1309
+ const value = Number.isInteger(index) ? (values[index] + values[index + 1]) / 2 : values[Math.ceil(index)];
1310
+ return value;
1311
+ }
1312
+
1313
+ // ../shared/utils/src/hash.js
1314
+ var encoder = new TextEncoder();
1315
+ async function hash(message) {
1316
+ const msgUint8 = encoder.encode(message);
1317
+ const hashBuffer = await crypto.subtle.digest("SHA-1", msgUint8);
1318
+ const hashArray = Array.from(new Uint8Array(hashBuffer));
1319
+ const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
1320
+ return hexToBase64(hashHex).replace("=", "-");
1321
+ }
1322
+ function hexToBase64(hexStr) {
1323
+ return btoa(
1324
+ [...hexStr].reduce(
1325
+ (acc, _, i2) => acc += !(i2 - 1 & 1) ? String.fromCharCode(parseInt(hexStr.substring(i2 - 1, i2 + 1), 16)) : "",
1326
+ ""
1327
+ )
1328
+ );
1329
+ }
1330
+
1331
+ // ../shared/utils/src/urljson.js
1332
+ var reserved = ["false", "true", "null", "undefined"];
1333
+ var delimiters = ['"', "{", "["];
1334
+ function encode(rawObject) {
1335
+ const params = [];
1336
+ for (const [key, value] of Object.entries(rawObject)) {
1337
+ if (typeof value == "string" && !isNumeric2(value) && !reserved.includes(value) && !delimiters.includes(value[0])) {
1338
+ params.push(`${key}=${encodeURIComponent(value)}`);
1339
+ } else if (value !== void 0) {
1340
+ params.push(`${key}=${encodeURIComponent(JSON.stringify(value))}`);
1341
+ }
1342
+ }
1343
+ return params.join("&");
1344
+ }
1345
+
1346
+ // ../shared/utils/src/fetch-helpers.js
1347
+ async function processResponse(r) {
1348
+ const ct = r.headers.get("content-type");
1349
+ if (!ct) throw `missing response.header['content-type']`;
1350
+ if (ct.includes("/json")) {
1351
+ return r.json();
1352
+ }
1353
+ if (ct.includes("/text") || ct.includes("text/")) {
1354
+ return r.text();
1355
+ }
1356
+ if (ct.includes("multipart")) {
1357
+ if (ct.startsWith("multipart/form-data")) return processFormData(r);
1358
+ else throw `cannot handle response content-type: '${ct}'`;
1359
+ }
1360
+ return r.blob();
1361
+ }
1362
+ async function processFormData(res) {
1363
+ const decoder = new TextDecoder();
1364
+ const data = {};
1365
+ try {
1366
+ const form = await res.formData();
1367
+ for (const [key, value] of form.entries()) {
1368
+ if (value.type) {
1369
+ data[key] = { headers: { "content-type": value.type }, body: value };
1370
+ } else {
1371
+ const body = !value ? [] : value.trim().split("\n").map(JSON.parse);
1372
+ data[key] = { headers: { "content-type": "application/json" }, body };
1373
+ }
1374
+ }
1375
+ return data;
1376
+ } catch (e) {
1377
+ throw e;
1378
+ }
1379
+ }
1380
+ async function getDataName(url, init) {
1381
+ const dataName = url + " | " + init.method + " | " + init.body + " | " + JSON.stringify(init.headers);
1382
+ return await hash(dataName);
1383
+ }
1384
+
1385
+ // ../shared/utils/src/termdb.usecase.js
1386
+ var graphableTypes = /* @__PURE__ */ new Set([
1387
+ "categorical",
1388
+ "integer",
1389
+ "float",
1390
+ "condition",
1391
+ "survival",
1392
+ "snplst",
1393
+ "snplocus",
1394
+ "geneVariant",
1395
+ "samplelst",
1396
+ "geneExpression",
1397
+ "dtcnv",
1398
+ "dtsnvindel",
1399
+ "dtfusion",
1400
+ "dtsv",
1401
+ "date",
1402
+ TermTypes.SSGSEA,
1403
+ TermTypes.METABOLITE_INTENSITY,
1404
+ TermTypes.SINGLECELL_GENE_EXPRESSION,
1405
+ TermTypes.SINGLECELL_CELLTYPE,
1406
+ TermTypes.SNP
1407
+ ]);
1408
+ function isUsableTerm(term, _usecase, termdbConfig, ds) {
1409
+ const usecase = _usecase || {};
1410
+ if (typeof ds?.usecase?.[use.target] == "function") {
1411
+ return ds.usecase[use.target](term, use);
1412
+ }
1413
+ const uses = /* @__PURE__ */ new Set();
1414
+ const child_types = term.child_types || [];
1415
+ switch (usecase.target) {
1416
+ case "barchart":
1417
+ case "summary":
1418
+ if (term.type && term.type !== "survival") uses.add("plot");
1419
+ if (hasAllowedChildTypes(child_types, ["survival"])) uses.add("branch");
1420
+ return uses;
1421
+ case "summaryInput":
1422
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
1423
+ if (term.type && term.type !== "survival") uses.add("plot");
1424
+ if (hasAllowedChildTypes(child_types, ["survival"])) uses.add("branch");
1425
+ return uses;
1426
+ }
1427
+ case "matrix":
1428
+ if (term.type) uses.add("plot");
1429
+ if (!term.isleaf) uses.add("branch");
1430
+ return uses;
1431
+ case "table":
1432
+ if (usecase.detail == "term") uses.add("plot");
1433
+ if (child_types.length > 1) uses.add("branch");
1434
+ return uses;
1435
+ case "sampleScatter":
1436
+ if (usecase.detail == "numeric") {
1437
+ if (isNumericTerm(term)) {
1438
+ uses.add("plot");
1439
+ }
1440
+ if (hasNumericChild(child_types)) uses.add("branch");
1441
+ } else {
1442
+ if (graphableTypes.has(term.type)) uses.add("plot");
1443
+ if (!term.isleaf) uses.add("branch");
1444
+ }
1445
+ return uses;
1446
+ case "runChart":
1447
+ if (usecase.detail == "date") {
1448
+ if (term.type == "date") {
1449
+ uses.add("plot");
1450
+ }
1451
+ if (child_types.includes("date")) uses.add("branch");
1452
+ } else if (usecase.detail == "numeric") {
1453
+ if (isNumericTerm(term) && term.type != "date") {
1454
+ uses.add("plot");
1455
+ }
1456
+ if (hasNumericChild(child_types)) uses.add("branch");
1457
+ } else {
1458
+ if (graphableTypes.has(term.type)) uses.add("plot");
1459
+ if (!term.isleaf) uses.add("branch");
1460
+ }
1461
+ return uses;
1462
+ case "frequencyChart":
1463
+ if (usecase.detail == "term") {
1464
+ if (term.type == "date") {
1465
+ uses.add("plot");
1466
+ }
1467
+ if (child_types.includes("date")) uses.add("branch");
1468
+ } else if (usecase.detail == "numeric") {
1469
+ if (isNumericTerm(term) && term.type != "date") {
1470
+ uses.add("plot");
1471
+ }
1472
+ if (hasNumericChild(child_types)) uses.add("branch");
1473
+ } else {
1474
+ if (graphableTypes.has(term.type)) uses.add("plot");
1475
+ if (!term.isleaf) uses.add("branch");
1476
+ }
1477
+ return uses;
1478
+ case "numericDictTermCluster":
1479
+ if (!usecase.detail?.exclude?.includes(term.id)) {
1480
+ if (isNumericTerm(term)) {
1481
+ uses.add("plot");
1482
+ }
1483
+ if (hasNumericChild(child_types)) {
1484
+ uses.add("branch");
1485
+ }
1486
+ }
1487
+ return uses;
1488
+ case "numericTermCollections":
1489
+ if (usecase.detail?.termIds?.includes(term.id)) uses.add("plot");
1490
+ if (usecase.detail?.branchIds?.includes(term.id)) uses.add("branch");
1491
+ return uses;
1492
+ case "profileForms":
1493
+ if (!term.isleaf) {
1494
+ const ancestors = term.id.split("__").length;
1495
+ if (ancestors == 3) {
1496
+ uses.add("plot");
1497
+ } else if (ancestors < 3) uses.add("branch");
1498
+ }
1499
+ return uses;
1500
+ // case 'boxplot':
1501
+ // if (term.type == 'float' || term.type == 'integer') uses.add('plot')
1502
+ // if (usecase.detail === 'term2' && hasNumericChild(child_types)) uses.add('branch')
1503
+ // return uses
1504
+ case "cuminc":
1505
+ if (usecase.detail == "term") {
1506
+ if (term.type == "condition") uses.add("plot");
1507
+ if (child_types.includes("condition")) uses.add("branch");
1508
+ return uses;
1509
+ }
1510
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
1511
+ if (term.type && term.type != "condition" && term.type != "survival") uses.add("plot");
1512
+ if (hasAllowedChildTypes(child_types, ["condition", "survival"])) uses.add("branch");
1513
+ return uses;
1514
+ }
1515
+ case "survival":
1516
+ if (usecase.detail == "term") {
1517
+ if (term.type == "survival") uses.add("plot");
1518
+ if (child_types.includes("survival")) uses.add("branch");
1519
+ return uses;
1520
+ }
1521
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
1522
+ if (term.type && term.type != "survival") uses.add("plot");
1523
+ if (hasAllowedChildTypes(child_types, ["survival"])) uses.add("branch");
1524
+ return uses;
1525
+ }
1526
+ case "regression":
1527
+ if (usecase.detail == "outcome") {
1528
+ if (usecase.regressionType == "linear") {
1529
+ if (term.type == "float" || term.type == "integer") uses.add("plot");
1530
+ if (hasNumericChild(child_types)) uses.add("branch");
1531
+ return uses;
1532
+ }
1533
+ if (usecase.regressionType == "logistic") {
1534
+ if (term.type && term.type != "survival") uses.add("plot");
1535
+ if (hasAllowedChildTypes(child_types, ["survival"])) uses.add("branch");
1536
+ return uses;
1537
+ } else if (usecase.regressionType == "cox") {
1538
+ if (term.type == "condition" || term.type == "survival") uses.add("plot");
1539
+ if (child_types.includes("condition") || child_types.includes("survival")) uses.add("branch");
1540
+ return uses;
1541
+ }
1542
+ }
1543
+ if (usecase.detail == "independent") {
1544
+ if (term.type == "float" || term.type == "integer" || term.type == "categorical" || term.type == "samplelst")
1545
+ uses.add("plot");
1546
+ if (hasChildTypes(child_types, ["categorical", "float", "integer"])) uses.add("branch");
1547
+ return uses;
1548
+ }
1549
+ case "filter":
1550
+ const exlst = termdbConfig?.excludedTermtypeByTarget?.filter;
1551
+ if (exlst) {
1552
+ if (graphableTypes.has(term.type) && !exlst.includes(term.type)) uses.add("plot");
1553
+ if (child_types.find((t) => !exlst.includes(t))) uses.add("branch");
1554
+ return uses;
1555
+ }
1556
+ // no specific rule for filter. pass and use default rules
1557
+ case "correlationVolcano":
1558
+ if (usecase.detail == "numeric") {
1559
+ if (isNumericTerm(term)) {
1560
+ uses.add("plot");
1561
+ }
1562
+ if (hasNumericChild(child_types)) uses.add("branch");
1563
+ } else {
1564
+ if (graphableTypes.has(term.type)) uses.add("plot");
1565
+ if (!term.isleaf) uses.add("branch");
1566
+ }
1567
+ return uses;
1568
+ default:
1569
+ if (graphableTypes.has(term.type)) uses.add("plot");
1570
+ if (!term.isleaf) uses.add("branch");
1571
+ return uses;
1572
+ }
1573
+ }
1574
+ function hasAllowedChildTypes(child_types, excluded_types) {
1575
+ if (!child_types.length) {
1576
+ return false;
1577
+ }
1578
+ if (!excluded_types?.length) {
1579
+ return true;
1580
+ }
1581
+ if (child_types.some((type) => !excluded_types.includes(type))) {
1582
+ return true;
1583
+ }
1584
+ }
1585
+ function hasNumericChild(child_types) {
1586
+ return child_types.includes("float") || child_types.includes("integer");
1587
+ }
1588
+ function hasChildTypes(child_types, expected_types) {
1589
+ for (const a of expected_types) {
1590
+ if (child_types.includes(a)) return true;
1591
+ }
1592
+ }
1593
+
1594
+ // common/auth.js
1595
+ var jwtByDsRouteStr = localStorage.getItem("jwtByDsRoute") || `{}`;
1596
+ var jwtByDsRoute = JSON.parse(jwtByDsRouteStr);
1597
+ function setTokenByDsRoute(dslabel, route, jwt) {
1598
+ if (!jwtByDsRoute[dslabel]) jwtByDsRoute[dslabel] = {};
1599
+ if (jwt) jwtByDsRoute[dslabel][route] = jwt;
1600
+ else delete jwtByDsRoute[dslabel][route];
1601
+ localStorage.setItem("jwtByDsRoute", JSON.stringify(jwtByDsRoute));
1602
+ }
1603
+ function getSavedToken(dslabel, route) {
1604
+ return jwtByDsRoute[dslabel]?.[route] || jwtByDsRoute[dslabel]?.["/**"];
1605
+ }
1606
+ function mayAddJwtToRequest(init, body, url) {
1607
+ if (init.headers.authorization) return;
1608
+ let dslabel = body?.dslabel;
1609
+ if (!dslabel) {
1610
+ const param = url.split("?")[1]?.split("&").find((kv) => kv.includes("dslabel"));
1611
+ if (!param) return;
1612
+ let value = decodeURIComponent(param.split("=")[1]);
1613
+ if (value.startsWith("{") && value.endsWith("}")) {
1614
+ value = JSON.parse(value);
1615
+ dslabel = value.dslabel || value.mass?.vocab.dslabel || value.tracks?.find((t) => t.dslabel)?.dslabel;
1616
+ } else {
1617
+ dslabel = value;
1618
+ }
1619
+ }
1620
+ if (!dslabel || !jwtByDsRoute[dslabel]) return;
1621
+ const h = url.split("//");
1622
+ const postProtocolStr = h[1] || h[0];
1623
+ const preQuestionMarkStr = postProtocolStr.split("?")[0];
1624
+ const pathSegments = preQuestionMarkStr.split("/");
1625
+ let route = pathSegments.find((p) => p != "" && !p.includes(":") && !p.includes("."));
1626
+ const jwt = jwtByDsRoute[dslabel][route] || jwtByDsRoute[dslabel]["/**"];
1627
+ if (jwt) init.headers.authorization = "Bearer " + btoa(jwt);
1628
+ }
1629
+ var dsAuthOk = /* @__PURE__ */ new Set();
1630
+ var dsAuth;
1631
+ var authUi;
1632
+ var authUiHolder;
1633
+ var includeEmbedder = false;
1634
+ async function setDsAuthOk(opts, dofetch32) {
1635
+ dsAuth = opts.dsAuth;
1636
+ authUi = opts.ui || defaultAuthUi;
1637
+ authUiHolder = opts.holder || select_default("body");
1638
+ for (const auth of dsAuth) {
1639
+ if (auth.insession) dsAuthOk.add(auth);
1640
+ else {
1641
+ const { dslabel, route } = auth;
1642
+ const jwt = getSavedToken(dslabel, route);
1643
+ if (jwt) {
1644
+ const payload = JSON.parse(atob(jwt.split(".")[1]));
1645
+ if (payload.exp && Math.ceil(Date.now() / 1e3) > payload.exp) continue;
1646
+ const data = await dofetch32("/jwt-status", {
1647
+ method: "POST",
1648
+ headers: {
1649
+ //authorization: `Bearer ${btoa(jwt)}`
1650
+ [auth.headerKey]: jwt
1651
+ },
1652
+ body: {
1653
+ dslabel,
1654
+ route,
1655
+ embedder: location.hostname
1656
+ }
1657
+ });
1658
+ if (data.ok || data.status == "ok") {
1659
+ dsAuthOk.add(auth);
1660
+ auth.insession = true;
1661
+ }
1662
+ }
1663
+ }
1664
+ }
1665
+ includeEmbedder = opts.dsAuth?.length > 0 || false;
1666
+ }
1667
+ function getRequiredAuth(dslabel, route) {
1668
+ if (!dsAuth || !Array.isArray(dsAuth)) return;
1669
+ for (const a of dsAuth) {
1670
+ if (a.dslabel == dslabel && (a.route == route || a.route == "*" || a.route == "/**")) return a;
1671
+ }
1672
+ }
1673
+ function isInSession(dslabel, route) {
1674
+ if (!dslabel) return false;
1675
+ for (const a of dsAuthOk) {
1676
+ if (a.dslabel == dslabel && (a.route == route || a.route == "/**")) return true;
1677
+ }
1678
+ return false;
1679
+ }
1680
+ async function mayShowAuthUi(init, path, opts = {}) {
1681
+ const ok = { status: "ok" };
1682
+ if (!dsAuth || path.endsWith("jwt-status")) return ok;
1683
+ const body = JSON.parse(init.body || `{}`);
1684
+ const params = (path.split("?")[1] || "").split("&").reduce((obj, kv) => {
1685
+ const [key, value] = kv.split("=");
1686
+ obj[key] = value;
1687
+ return obj;
1688
+ }, {});
1689
+ const q = Object.assign({}, body, params);
1690
+ const route = ((path.split("?")[0] || "").split("//")[1] || "").split("/").slice(1).join("/");
1691
+ for (const a of dsAuth) {
1692
+ if (q.dslabel == a.dslabel && (a.route == "/**" || route == a.route)) {
1693
+ if (dsAuthOk.has(a)) return ok;
1694
+ else if (a.route != "/**") return ok;
1695
+ else if (a.type == "basic") return await authUi(a.dslabel, a, opts);
1696
+ else if (a.type == "jwt") {
1697
+ } else if (a.type == "forbidden") {
1698
+ alert("Forbidden access");
1699
+ } else throw `unsupported dsAuth type='${a.type}'`;
1700
+ }
1701
+ }
1702
+ return ok;
1703
+ }
1704
+ async function defaultAuthUi(dslabel, auth, opts = {}) {
1705
+ 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)");
1706
+ const form = mask.append("div").style("opacity", 1);
1707
+ form.append("div").html(`Restricted dataset '${dslabel}'`);
1708
+ form.append("span").html("Please enter password ");
1709
+ const pwd = form.append("input").attr("type", "password");
1710
+ pwd.node().focus();
1711
+ const btn = form.append("button").html("Submit");
1712
+ return new Promise((resolve, reject) => {
1713
+ function login() {
1714
+ fetch("/dslogin", {
1715
+ method: "POST",
1716
+ headers: {
1717
+ authorization: `Basic ${btoa(pwd.property("value"))}`
1718
+ },
1719
+ body: JSON.stringify({ dslabel, route: auth.route, embedder: window.location.hostname })
1720
+ }).then((res) => res.json()).then((res) => {
1721
+ if (res.error) throw res.error;
1722
+ mask.remove();
1723
+ dsAuthOk.add(auth);
1724
+ if (res.jwt) {
1725
+ setTokenByDsRoute(dslabel, res.route, res.jwt);
1726
+ }
1727
+ if (!opts.setDomRefs) window.location.reload();
1728
+ else resolve(dslabel);
1729
+ }).catch((e) => {
1730
+ alert("login error: " + e);
1731
+ });
1732
+ }
1733
+ btn.on("click", login);
1734
+ pwd.on("change", login);
1735
+ if (opts.setDomRefs)
1736
+ opts.setDomRefs({
1737
+ pwd,
1738
+ btn,
1739
+ mask,
1740
+ authUiHolder
1741
+ });
1742
+ });
1743
+ }
1744
+
1745
+ // common/dofetch.js
1746
+ function dofetch(path, arg, opts = null) {
1747
+ if (opts && typeof opts == "object") {
1748
+ if (opts.serverData && typeof opts.serverData == "object") {
1749
+ if (!dofetch.serverData) {
1750
+ dofetch.serverData = opts.serverData;
1751
+ } else if (!opts.serverData) {
1752
+ opts.serverData = dofetch.serverData;
1753
+ }
1754
+ }
1755
+ return dofetch2(
1756
+ path,
1757
+ {
1758
+ method: "POST",
1759
+ headers: {
1760
+ "content-type": "application/json"
1761
+ },
1762
+ body: JSON.stringify(arg)
1763
+ },
1764
+ opts
1765
+ );
1766
+ } else {
1767
+ if (path[0] == "/") {
1768
+ path = path.slice(1);
1769
+ }
1770
+ const jwt = sessionStorage.getItem("jwt");
1771
+ if (jwt) {
1772
+ arg.jwt = jwt;
1773
+ }
1774
+ let url = path;
1775
+ const host = sessionStorage.getItem("hostURL") || window.testHost || "";
1776
+ if (host) {
1777
+ if (host.endsWith("/")) {
1778
+ url = host + path;
1779
+ } else {
1780
+ url = host + "/" + path;
1781
+ }
1782
+ }
1783
+ return fetch(
1784
+ new Request(url, {
1785
+ method: "POST",
1786
+ headers: {
1787
+ "content-type": "application/json"
1788
+ },
1789
+ body: JSON.stringify(arg)
1790
+ })
1791
+ ).then((r) => r.json());
1792
+ }
1793
+ }
1794
+ function dofetch2(path, init = {}, opts = {}) {
1795
+ if (path[0] == "/") {
1796
+ path = path.slice(1);
1797
+ }
1798
+ let url = path;
1799
+ const host = sessionStorage.getItem("hostURL") || window.testHost || "";
1800
+ if (host) {
1801
+ if (host.endsWith("/")) {
1802
+ url = host + path;
1803
+ } else {
1804
+ url = host + "/" + path;
1805
+ }
1806
+ }
1807
+ const body = init.body || {};
1808
+ url = mayAdjustRequest(url, init);
1809
+ if (!init.headers) {
1810
+ init.headers = {};
1811
+ }
1812
+ if (!init.headers["content-type"] && init.body) {
1813
+ init.headers["content-type"] = "application/json";
1814
+ }
1815
+ const jwt = sessionStorage.getItem("jwt");
1816
+ if (jwt) {
1817
+ init.headers.authorization = "Bearer " + jwt;
1818
+ }
1819
+ return mayShowAuthUi(init, url).then(async () => {
1820
+ if (!jwt) mayAddJwtToRequest(init, body, url);
1821
+ if (opts.serverData) {
1822
+ return namedFetch(url, init, opts);
1823
+ } else {
1824
+ return fetch(url, init).then(processResponse);
1825
+ }
1826
+ });
1827
+ }
1828
+ var optsServerDataNames2 = /* @__PURE__ */ new WeakMap();
1829
+ async function namedFetch(url, init, opts = {}) {
1830
+ if (!opts.serverData) throw `use ezFetch() if a fetched response is not meant to be cached`;
1831
+ if (typeof opts.serverData != "object") throw `opts.serverData is not an object`;
1832
+ let result;
1833
+ const dataName = await getDataName(url, init);
1834
+ if (opts.serverData[dataName]) {
1835
+ if (init.signal) {
1836
+ await sleep(0);
1837
+ if (init.signal.aborted) throw `stale sequenceId`;
1838
+ }
1839
+ result = opts.serverData[dataName].clone ? await processResponse(opts.serverData[dataName].clone()) : structuredClone(opts.serverData[dataName]);
1840
+ }
1841
+ if (!result || typeof result != "object" && !(result instanceof Promise)) {
1842
+ delete opts.serverData[dataName];
1843
+ result = void 0;
1844
+ }
1845
+ if (!result) {
1846
+ try {
1847
+ const res = await fetch(url, init);
1848
+ result = await processResponse(res.clone());
1849
+ if (typeof result == "object" && !(result instanceof Promise)) {
1850
+ if (opts.cacheAs == "decoded") {
1851
+ deepFreeze(result);
1852
+ opts.serverData[dataName] = result;
1853
+ result = structuredClone(result);
1854
+ } else {
1855
+ opts.serverData[dataName] = res;
1856
+ }
1857
+ }
1858
+ } catch (e) {
1859
+ delete opts.serverData[dataName];
1860
+ throw e;
1861
+ }
1862
+ }
1863
+ if (!optsServerDataNames2.has(opts.serverData)) optsServerDataNames2.set(opts.serverData, []);
1864
+ const keys = optsServerDataNames2.get(opts.serverData);
1865
+ const i2 = keys.indexOf(dataName);
1866
+ if (i2 > 0) {
1867
+ keys.splice(i2, 1);
1868
+ }
1869
+ keys.unshift(dataName);
1870
+ const maxKeys = 360;
1871
+ while (keys.length > maxKeys) {
1872
+ const oldestDataKey = keys.pop();
1873
+ delete opts.serverData[oldestDataKey];
1874
+ }
1875
+ return result;
1876
+ }
1877
+ var defaultServerDataCache = {};
1878
+ function dofetch3(path, init = {}, opts = {}) {
1879
+ opts.serverData = defaultServerDataCache;
1880
+ return dofetch2(path, init, opts);
1881
+ }
1882
+ function clearServerDataCache(opts = {}) {
1883
+ const cache = opts?.serverData || defaultServerDataCache;
1884
+ if (!cache) return;
1885
+ for (const k of Object.keys(cache)) {
1886
+ delete cache[k];
1887
+ }
1888
+ }
1889
+ var urlMaxLength = 2e3;
1890
+ function mayAdjustRequest(url, init) {
1891
+ const hostname = window.location.hostname;
1892
+ const method = init.method && init.method.toUpperCase() || "GET";
1893
+ if (method == "POST") {
1894
+ if (typeof init.body == "string") init.body = JSON.parse(init.body);
1895
+ if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
1896
+ init.body = JSON.stringify(init.body);
1897
+ return url;
1898
+ }
1899
+ if (method != "GET" && method != "DELETE" && method != "PUT") {
1900
+ throw `unsupported init.method='${method}': must be undefined or GET or POST or DELETE or PUT`;
1901
+ }
1902
+ if (init.body) {
1903
+ if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
1904
+ const params = encode(init.body);
1905
+ if (!url.includes("?")) url += "?";
1906
+ url += params;
1907
+ }
1908
+ if (!url.includes("embedder=") && includeEmbedder) {
1909
+ const sep = url.includes("?") ? "&" : "?";
1910
+ url += `${sep}embedder=${hostname}`;
1911
+ }
1912
+ if (url.length < urlMaxLength) {
1913
+ if (init.body) delete init.body;
1914
+ return url;
1915
+ }
1916
+ init.method = "POST";
1917
+ const [hostpath, query] = url.split("?");
1918
+ if (init.body) {
1919
+ init.body = JSON.stringify(init.body);
1920
+ } else {
1921
+ const params = {};
1922
+ if (query)
1923
+ query.split("&").forEach((p) => {
1924
+ const [k, v] = p.split("=");
1925
+ const decodedVal = decodeURIComponent(v);
1926
+ try {
1927
+ params[k] = JSON.parse(decodedVal);
1928
+ } catch {
1929
+ params[k] = decodedVal;
1930
+ }
1931
+ });
1932
+ if (!params.embedder && includeEmbedder) params.embedder = hostname;
1933
+ init.body = JSON.stringify(params);
1934
+ }
1935
+ return hostpath;
1936
+ }
1937
+ function setAuth(opts) {
1938
+ setDsAuthOk(opts, dofetch3);
1939
+ }
1940
+
1941
+ export {
1942
+ init_bulk_flag,
1943
+ parsesample,
1944
+ clusterMethodLst,
1945
+ distanceMethodLst,
1946
+ computePercentile,
1947
+ fileSize,
1948
+ ssmIdFieldsSeparator,
1949
+ summarize_mclass,
1950
+ guessSsmid,
1951
+ compute_bins,
1952
+ get_bin_label,
1953
+ get_bin_range_equation,
1954
+ initBinConfig,
1955
+ isUsableTerm,
1956
+ vcfparsemeta,
1957
+ vcfparseline,
1958
+ setTokenByDsRoute,
1959
+ getSavedToken,
1960
+ getRequiredAuth,
1961
+ isInSession,
1962
+ dofetch,
1963
+ dofetch2,
1964
+ dofetch3,
1965
+ clearServerDataCache,
1966
+ setAuth
1967
+ };
1968
+ //# sourceMappingURL=chunk-MK7RRJTX.js.map