@sjcrh/proteinpaint-client 2.216.0 → 2.217.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (956) hide show
  1. package/dist/2dmaf-RRHATFHO.js +1362 -0
  2. package/dist/AggMatrixInput-4UHBCXYH.js +402 -0
  3. package/dist/AggregateMatrix-IJE5CM5Y.js +37 -0
  4. package/dist/AppHeader-UXGLRW6C.js +826 -0
  5. package/dist/BoxPlot-GQYC22KY.js +1233 -0
  6. package/dist/CorrelationVolcano-5CWRWZTI.js +613 -0
  7. package/dist/Cuminc-TYHKAPRK.js +1217 -0
  8. package/dist/DE-UUFQGSOI.js +85 -0
  9. package/dist/DEinput-DU7MF4YY.js +497 -0
  10. package/dist/DM-SSI5KUBC.js +86 -0
  11. package/dist/DifferentialAnalysis-G6FE2MXY.js +235 -0
  12. package/dist/Disco-B3KGNEAW.js +3384 -0
  13. package/dist/Disco.UI-UNPUBQCN.js +239 -0
  14. package/dist/DmrPlot-27NGDMT4.js +358 -0
  15. package/dist/GB-SXACUA4V.js +1388 -0
  16. package/dist/GSEA-EHMBA3TF.js +870 -0
  17. package/dist/GeneExpInput-NDXISF2U.js +38 -0
  18. package/dist/Geomap-3CNT227W.js +80 -0
  19. package/dist/HicApp-VQBUB6EZ.js +2240 -0
  20. package/dist/IDCViewer-DTOE7KDX.js +10808 -0
  21. package/dist/NumBinaryEditor-IVZ4MMQT.js +274 -0
  22. package/dist/NumBinaryEditor.unit.spec-3BSQ6FM4.js +308 -0
  23. package/dist/NumContEditor-CUZHU3IO.js +100 -0
  24. package/dist/NumContEditor.unit.spec-SCQFD2Y7.js +160 -0
  25. package/dist/NumCustomBinEditor-UEEYZ4ZO.js +29 -0
  26. package/dist/NumCustomBinEditor.unit.spec-GYS35OQV.js +393 -0
  27. package/dist/NumDiscreteEditor-IT7NIXTV.js +165 -0
  28. package/dist/NumDiscreteEditor.unit.spec-LB6VLAWO.js +229 -0
  29. package/dist/NumRegularBinEditor-FF6UXZWN.js +29 -0
  30. package/dist/NumRegularBinEditor.unit.spec-Z4S5LH2C.js +274 -0
  31. package/dist/NumSplineEditor-IW5WEN3P.js +205 -0
  32. package/dist/NumSplineEditor.unit.spec-PAEN3SAD.js +220 -0
  33. package/dist/NumericDensity-CPJIQLYT.js +29 -0
  34. package/dist/NumericDensity.unit.spec-4KHECHVU.js +414 -0
  35. package/dist/NumericHandler-SEFTQJDM.js +30 -0
  36. package/dist/NumericHandler.unit.spec-UGDR3476.js +210 -0
  37. package/dist/ProteomeInput-NYPUYVN5.js +610 -0
  38. package/dist/ProteomeInput-NYPUYVN5.js.map +7 -0
  39. package/dist/Regression-WDSISHYL.js +1412 -0
  40. package/dist/RunChart2-2NPADXUR.js +744 -0
  41. package/dist/SC-EWDBPHEL.js +1344 -0
  42. package/dist/Violin-POGGPCZY.js +1095 -0
  43. package/dist/Volcano-U2B4KEUL.js +2452 -0
  44. package/dist/Wsi-G7OCAJ3R.js +625 -0
  45. package/dist/adSandbox-SUCX6DAQ.js +29 -0
  46. package/dist/animatedBubbleChart-SDBWJELZ.js +542 -0
  47. package/dist/app-ATQM5PKI.js +28 -0
  48. package/dist/app-BCKEWJCY.js +38 -0
  49. package/dist/app.js +14 -14
  50. package/dist/bam-QK2ZLZDI.js +872 -0
  51. package/dist/barchart-RHDKI3NZ.js +38 -0
  52. package/dist/barchart2-CS3E6FOY.js +305 -0
  53. package/dist/block-RQ3HTJVP.js +6232 -0
  54. package/dist/block.init-T33F47DO.js +29 -0
  55. package/dist/block.mds.expressionrank-LQD6MN6Z.js +350 -0
  56. package/dist/block.mds.geneboxplot-N5XHHVR7.js +819 -0
  57. package/dist/block.mds.junction-JD4WQUSH.js +1534 -0
  58. package/dist/block.mds.svcnv-LCTYWXL2.js +6408 -0
  59. package/dist/block.svg-2F3RGTI3.js +155 -0
  60. package/dist/block.tk.aicheck-BOF6WZ5E.js +274 -0
  61. package/dist/block.tk.bam-5GBYEQBM.js +1897 -0
  62. package/dist/block.tk.bedgraphdot-LVQEP4RS.js +375 -0
  63. package/dist/block.tk.bigwig.ui-HHBO4JAC.js +202 -0
  64. package/dist/block.tk.hicstraw-JBO4UEOA.js +814 -0
  65. package/dist/block.tk.junction-S5S2N7FK.js +2353 -0
  66. package/dist/block.tk.junction.textmatrixui-DNQL7WB5.js +190 -0
  67. package/dist/block.tk.ld-JHQNR67E.js +90 -0
  68. package/dist/block.tk.menu-7JBJOY2O.js +1050 -0
  69. package/dist/block.tk.pgv-FQPREV6P.js +934 -0
  70. package/dist/brainImaging-HEWGZZNY.js +550 -0
  71. package/dist/brainRegions-QUGB7YUW.js +213 -0
  72. package/dist/bubbleHeatmap-OZRONGAX.js +374 -0
  73. package/dist/cellTypeBubbleHeatmap-N7NDE325.js +274 -0
  74. package/dist/chunk-2FWSNJEN.js +54 -0
  75. package/dist/chunk-2JIKMCJR.js +34 -0
  76. package/dist/chunk-3SPEW6R6.js +102 -0
  77. package/dist/chunk-5G6O5RYM.js +123 -0
  78. package/dist/chunk-65DO5IKM.js +299 -0
  79. package/dist/chunk-6D4HOTG7.js +1844 -0
  80. package/dist/chunk-6D4HOTG7.js.map +7 -0
  81. package/dist/chunk-6Q5SOSSU.js +2685 -0
  82. package/dist/chunk-7JHIUS54.js +626 -0
  83. package/dist/chunk-7X347XMF.js +397 -0
  84. package/dist/chunk-ABLG7GUS.js +55 -0
  85. package/dist/chunk-AFEFZ74T.js +276 -0
  86. package/dist/chunk-AIC43DTG.js +243 -0
  87. package/dist/chunk-AJXP4AV7.js +182 -0
  88. package/dist/chunk-AMW5LCUB.js +424 -0
  89. package/dist/chunk-AV2IH5K2.js +156 -0
  90. package/dist/chunk-B3WLXXGY.js +263 -0
  91. package/dist/chunk-BG6GAROI.js +302 -0
  92. package/dist/chunk-BIJOXCLN.js +2277 -0
  93. package/dist/chunk-BIJOXCLN.js.map +7 -0
  94. package/dist/chunk-BU6PAOGA.js +103 -0
  95. package/dist/chunk-C2TII2FF.js +96 -0
  96. package/dist/chunk-CTFHEDG2.js +550 -0
  97. package/dist/chunk-CXEECHP5.js +37 -0
  98. package/dist/chunk-CZK4EV3Y.js +1339 -0
  99. package/dist/chunk-D35GNF3Y.js +2325 -0
  100. package/dist/chunk-DFZWE3TR.js +170 -0
  101. package/dist/chunk-DX23HAW7.js +1219 -0
  102. package/dist/chunk-DX23HAW7.js.map +7 -0
  103. package/dist/chunk-E7XHA4YL.js +1988 -0
  104. package/dist/chunk-EDFBRXX2.js +54 -0
  105. package/dist/chunk-F23EQSGU.js +26 -0
  106. package/dist/chunk-F2EEQ7KG.js +379 -0
  107. package/dist/chunk-F5FFI7Z7.js +468 -0
  108. package/dist/chunk-FK5NL2DF.js +141 -0
  109. package/dist/chunk-FVZTRWAO.js +692 -0
  110. package/dist/chunk-GDHQVEIO.js +217 -0
  111. package/dist/chunk-GSVB4XNS.js +2799 -0
  112. package/dist/chunk-GVAV4VRI.js +418 -0
  113. package/dist/chunk-H2FELGYK.js +140 -0
  114. package/dist/chunk-HFKZGMVV.js +839 -0
  115. package/dist/chunk-HFKZGMVV.js.map +7 -0
  116. package/dist/chunk-HJARHSDC.js +274 -0
  117. package/dist/chunk-HWNQOADC.js +182 -0
  118. package/dist/chunk-HWNQOADC.js.map +7 -0
  119. package/dist/chunk-HXRG7XYB.js +54 -0
  120. package/dist/chunk-J5KCTRJC.js +80 -0
  121. package/dist/chunk-JMFVXWDX.js +59 -0
  122. package/dist/chunk-KGX2OIR4.js +203 -0
  123. package/dist/chunk-L2NPLA43.js +257 -0
  124. package/dist/chunk-L2WOLNZK.js +339 -0
  125. package/dist/chunk-LQKMDIRB.js +466 -0
  126. package/dist/chunk-LSQ5AQ6Q.js +562 -0
  127. package/dist/chunk-MBQIHLGI.js +1269 -0
  128. package/dist/chunk-MFR4WWDM.js +14 -0
  129. package/dist/chunk-MU4Z2MX2.js +340 -0
  130. package/dist/chunk-MU4Z2MX2.js.map +7 -0
  131. package/dist/chunk-NHMIMTJA.js +281 -0
  132. package/dist/chunk-NNDKYTUV.js +25353 -0
  133. package/dist/chunk-NNDKYTUV.js.map +7 -0
  134. package/dist/chunk-NPBN3PPZ.js +6358 -0
  135. package/dist/chunk-NULQJF73.js +56 -0
  136. package/dist/chunk-NYO7YANQ.js +294 -0
  137. package/dist/chunk-OBNHXAYG.js +194 -0
  138. package/dist/chunk-PETYR7LC.js +134 -0
  139. package/dist/chunk-PLFPXOGX.js +119 -0
  140. package/dist/chunk-PQVHRM4L.js +5213 -0
  141. package/dist/chunk-QLUTQPZE.js +240 -0
  142. package/dist/chunk-QNQ2ZYT7.js +38 -0
  143. package/dist/chunk-QYCPIVCX.js +255 -0
  144. package/dist/chunk-RZ2THVK4.js +516 -0
  145. package/dist/chunk-S4IZ4VM7.js +31 -0
  146. package/dist/chunk-SFUDTUXF.js +382 -0
  147. package/dist/chunk-SUT75MRI.js +102 -0
  148. package/dist/chunk-SYLYLOHK.js +56 -0
  149. package/dist/chunk-TEFWF3SK.js +176 -0
  150. package/dist/chunk-TPSVPMAN.js +70 -0
  151. package/dist/chunk-V4ZKHM6D.js +2960 -0
  152. package/dist/chunk-V7DNHPZD.js +4373 -0
  153. package/dist/chunk-VPMQDTYR.js +194 -0
  154. package/dist/chunk-VV6JIG4D.js +444 -0
  155. package/dist/chunk-WU3YXPRE.js +217 -0
  156. package/dist/chunk-X2HWRISK.js +480 -0
  157. package/dist/chunk-X77QVINS.js +49 -0
  158. package/dist/chunk-XXFLJWTQ.js +237 -0
  159. package/dist/chunk-ZPWBYHNE.js +5799 -0
  160. package/dist/chunk-ZPWBYHNE.js.map +7 -0
  161. package/dist/chunk-ZX75ZAUG.js +45 -0
  162. package/dist/chunk-ZX75ZAUG.js.map +7 -0
  163. package/dist/cohort-ATIZW34H.js +66 -0
  164. package/dist/cohortSunburst-WQK2UV25.js +686 -0
  165. package/dist/cohortSunburst-WQK2UV25.js.map +7 -0
  166. package/dist/condition-SGJIDZNB.js +323 -0
  167. package/dist/controls-JQCMGPXP.js +30 -0
  168. package/dist/controls.config-WQHVQAIJ.js +30 -0
  169. package/dist/correlation-S3MN3L5Q.js +91 -0
  170. package/dist/customdata.inputui-LGTGMJBZ.js +280 -0
  171. package/dist/dataDownload-FAWN2WKE.js +325 -0
  172. package/dist/databrowser.ui-KF3LWQXG.js +421 -0
  173. package/dist/dictionary-EVLEOT72.js +109 -0
  174. package/dist/dnaMethylation-J3SPEM4S.js +29 -0
  175. package/dist/dnaMethylation.integration.spec-CTA53YCT.js +194 -0
  176. package/dist/dofetch-3C3MI5NR.js +47 -0
  177. package/dist/e2pca-PTWPY5WP.js +340 -0
  178. package/dist/ep-MS4LQQDR.js +1245 -0
  179. package/dist/expclust.gdc.spec-S5FE4MMD.js +298 -0
  180. package/dist/facet-FSOIZJCA.js +515 -0
  181. package/dist/gb-YDEOK7NW.js +77 -0
  182. package/dist/geneExpClustering-37JKKFW3.js +240 -0
  183. package/dist/geneExpression-G6ODP3VY.js +29 -0
  184. package/dist/geneExpression-VQPRFNKE.js +309 -0
  185. package/dist/geneExpression.unit.spec-ZHXCUG6Q.js +124 -0
  186. package/dist/geneORA-E3PSS3CI.js +269 -0
  187. package/dist/geneRanking-MK3YYINC.js +544 -0
  188. package/dist/geneVariant-LEMAVFOY.js +32 -0
  189. package/dist/geneVariant-NNSB7JLS.js +285 -0
  190. package/dist/geneVariant.integration.spec-6CC5UAOP.js +499 -0
  191. package/dist/genefusion.ui-5NCQIQPN.js +299 -0
  192. package/dist/geneset-ZX4V3CFB.js +199 -0
  193. package/dist/genomeBrowser.spec-J7ISXY6H.js +272 -0
  194. package/dist/grin2-GN3DQNON.js +945 -0
  195. package/dist/grin2-LBGBBB4L.js +66 -0
  196. package/dist/hierCluster-5JURTKAZ.js +55 -0
  197. package/dist/hierCluster-BJ5VBPXR.js +51 -0
  198. package/dist/hierCluster.config-4EERP4KK.js +32 -0
  199. package/dist/hierCluster.integration.spec-VR4GULRV.js +479 -0
  200. package/dist/hierCluster.interactivity-SMTQOKUY.js +45 -0
  201. package/dist/hierCluster.renderers-PAME7BWU.js +18 -0
  202. package/dist/imagePlot-4LMIKBVE.js +152 -0
  203. package/dist/importPlot-3CG6ASNH.js +8 -0
  204. package/dist/isoformExpression-VCDNKTZ6.js +31 -0
  205. package/dist/isoformExpression.unit.spec-ZXYY37TA.js +233 -0
  206. package/dist/junction-5DXJO4PS.js +32 -0
  207. package/dist/junction.customTerm-UOPUSEOE.js +15 -0
  208. package/dist/junction.unit.spec-F35E3GJW.js +178 -0
  209. package/dist/launch.adhoc-V2HTCQGD.js +33 -0
  210. package/dist/leftlabel.sample-V7O2EC36.js +253 -0
  211. package/dist/lollipop-RNRZLG64.js +162 -0
  212. package/dist/maf-W6SF6BJS.js +451 -0
  213. package/dist/maftimeline-NABCAMHG.js +583 -0
  214. package/dist/matrix-JC6AJT2N.js +55 -0
  215. package/dist/matrix-UCHESWVK.js +50 -0
  216. package/dist/matrix.cells-B4L42TBM.js +25 -0
  217. package/dist/matrix.config-6US3AAH7.js +33 -0
  218. package/dist/matrix.data-FYFXYDA3.js +22 -0
  219. package/dist/matrix.groups-Y7DEG3GS.js +25 -0
  220. package/dist/matrix.integration.spec-KXX7SFX5.js +3156 -0
  221. package/dist/matrix.interactivity-NHWG4WCC.js +33 -0
  222. package/dist/matrix.layout-5DQNT7DD.js +35 -0
  223. package/dist/matrix.legend-OY7IF6AS.js +19 -0
  224. package/dist/matrix.renderers-GYOXGHPU.js +30 -0
  225. package/dist/matrix.serieses-657TLDAV.js +18 -0
  226. package/dist/matrix.sort-IMA2ES3T.js +25 -0
  227. package/dist/matrix.sort.unit.spec-S6BAFYPR.js +464 -0
  228. package/dist/matrix.sorterUi-77F36Q5H.js +15 -0
  229. package/dist/matrix.sorterUi.unit.spec-V5NVQGD5.js +334 -0
  230. package/dist/matrix.unit.spec-R4NMTZYQ.js +146 -0
  231. package/dist/mavb-MRCVMBPD.js +723 -0
  232. package/dist/mds.fimo-5DCH5BEM.js +509 -0
  233. package/dist/mds.samplescatterplot-VIBCS5M6.js +1545 -0
  234. package/dist/mds.survivalplot-AZ7LJDZZ.js +472 -0
  235. package/dist/multivalue-4QKGYYW2.js +79 -0
  236. package/dist/numericDictTermCluster-GLLG6IK2.js +62 -0
  237. package/dist/oncomatrix-R32ZPMX7.js +286 -0
  238. package/dist/oncomatrix.spec-BMK6LMBS.js +439 -0
  239. package/dist/plot.2dvaf-46FT53MF.js +368 -0
  240. package/dist/plot.app-7EE4YCV4.js +32 -0
  241. package/dist/plot.barplot-FK4J2G7K.js +93 -0
  242. package/dist/plot.boxplot-ATY4LK3X.js +142 -0
  243. package/dist/plot.brainImaging-S7B547V4.js +51 -0
  244. package/dist/plot.disco-K5MMC2GD.js +98 -0
  245. package/dist/plot.ssgq-B3OVMZFD.js +130 -0
  246. package/dist/plot.vaf2cov-RBHDQULW.js +249 -0
  247. package/dist/polar2-GECELCTG.js +228 -0
  248. package/dist/profileForms-2USYOA34.js +937 -0
  249. package/dist/profilePlot-YGD2CF6P.js +45 -0
  250. package/dist/proteinView-FCPWJLGU.js +1346 -0
  251. package/dist/proteinView-FCPWJLGU.js.map +7 -0
  252. package/dist/proteomeCohortCompare-TYYUF5A5.js +866 -0
  253. package/dist/proteomeCohortCompare-TYYUF5A5.js.map +7 -0
  254. package/dist/pseudbulk.unit.spec-UVVRP6NR.js +82 -0
  255. package/dist/pseudobulk-ZIN5VJGB.js +31 -0
  256. package/dist/qualitative-27BZGASV.js +34 -0
  257. package/dist/qualitative-N4F6NITI.js +241 -0
  258. package/dist/radar2-X465RPJX.js +323 -0
  259. package/dist/radarFacility2-AE7BA62N.js +331 -0
  260. package/dist/rememberedGvQ.unit.spec-4PDIU5RY.js +210 -0
  261. package/dist/render-TD2QWOHT.js +29 -0
  262. package/dist/report-3Y2OWDF7.js +213 -0
  263. package/dist/sampleView-BUMMYRHJ.js +39 -0
  264. package/dist/samplelst-BWK53BLI.js +102 -0
  265. package/dist/samplematrix-RQU43UYR.js +2188 -0
  266. package/dist/sc-LCBFWCZZ.js +77 -0
  267. package/dist/scatter-6S5I7OW3.js +921 -0
  268. package/dist/scatter-MJELX75N.js +84 -0
  269. package/dist/selectGenomeWithTklst-WAVXHXR5.js +125 -0
  270. package/dist/singleCellCellType-WMCAJ7JF.js +29 -0
  271. package/dist/singleCellCellType.unit.spec-4Z46ZT5Q.js +150 -0
  272. package/dist/singleCellGeneExpression-7Q5ZJT4R.js +29 -0
  273. package/dist/singleCellGeneExpression.unit.spec-6C7PDGRH.js +144 -0
  274. package/dist/singleCellNumericValue-QGYITZRC.js +29 -0
  275. package/dist/singleCellNumericValue.unit.spec-MQUKPEZJ.js +412 -0
  276. package/dist/singleCellPlot-JJMFJ2KQ.js +44 -0
  277. package/dist/singlecell-J23S3JR2.js +1562 -0
  278. package/dist/singlecell-Y4OGUWEC.js +77 -0
  279. package/dist/snp-IO6TKWGD.js +29 -0
  280. package/dist/snp.unit.spec-X7ILEEPO.js +167 -0
  281. package/dist/snplocus-Z2NGIKMO.js +200 -0
  282. package/dist/snplst-XCS2FCQV.js +36 -0
  283. package/dist/spliceevent.a53ss.diagram-F3S4BRVG.js +142 -0
  284. package/dist/spliceevent.exonskip.diagram-AXCDJKH4.js +274 -0
  285. package/dist/spliceevent.noeventdiagram-UK3X667E.js +451 -0
  286. package/dist/ssGSEA-ZRPNQKJ5.js +29 -0
  287. package/dist/ssGSEA.unit.spec-DG5ZHLC7.js +79 -0
  288. package/dist/stattable-XYSC3CYU.js +112 -0
  289. package/dist/studyCatalog-Y75LMI62.js +457 -0
  290. package/dist/studyCatalog-Y75LMI62.js.map +7 -0
  291. package/dist/summarizeCnvGeneexp-H2NP7VLU.js +154 -0
  292. package/dist/summarizeGeneexpSurvival-HTCD3VQQ.js +101 -0
  293. package/dist/summarizeMutationCnv-UEGXWK2P.js +155 -0
  294. package/dist/summarizeMutationDiagnosis-MJGWP7IT.js +31 -0
  295. package/dist/summarizeMutationSurvival-55JW5LA6.js +95 -0
  296. package/dist/summary-HJO23RGB.js +40 -0
  297. package/dist/summary.integration.spec-OWI2C2N5.js +405 -0
  298. package/dist/summaryInput-RL2JXRDE.js +238 -0
  299. package/dist/sunburst-JFY6V5E2.js +274 -0
  300. package/dist/survival-6FLR4YCJ.js +1246 -0
  301. package/dist/survival-PBBU6PA5.js +49 -0
  302. package/dist/survival.integration.spec-WAKTGYGP.js +609 -0
  303. package/dist/svgraph-WD3DUZV7.js +1377 -0
  304. package/dist/svmr-AP6ZFO7S.js +3832 -0
  305. package/dist/swimmer-VPKSBV6V.js +741 -0
  306. package/dist/swimmer-VPKSBV6V.js.map +7 -0
  307. package/dist/table-GX3VJLPZ.js +192 -0
  308. package/dist/termCollection-QE7U5QBD.js +29 -0
  309. package/dist/termCollection-YQ332WKB.js +247 -0
  310. package/dist/termCollection.unit.spec-ELLN7VRA.js +295 -0
  311. package/dist/termCollectionFractionSelection-V3RP5KAT.js +38 -0
  312. package/dist/termCollectionFractionSelection.unit.spec-JR7Q7TJI.js +184 -0
  313. package/dist/tk-GD2KJM5W.js +1116 -0
  314. package/dist/tk-J5VPFEX6.js +37 -0
  315. package/dist/tp.ui-5K3AAXDW.js +1449 -0
  316. package/dist/tvs.categorical-RPACB4VU.js +28 -0
  317. package/dist/tvs.condition-O6JBUM6D.js +160 -0
  318. package/dist/tvs.dt-5EVBSRX3.js +30 -0
  319. package/dist/tvs.dtcnv.categorical-Y5YHBZNC.js +31 -0
  320. package/dist/tvs.dtcnv.continuous-WP322QUP.js +63 -0
  321. package/dist/tvs.dtfusion-CCMUFDMQ.js +31 -0
  322. package/dist/tvs.dtitd-P3ED3MWA.js +31 -0
  323. package/dist/tvs.dtsnvindel-X2MXPLC6.js +31 -0
  324. package/dist/tvs.dtsv-4FOWFNVV.js +31 -0
  325. package/dist/tvs.multivalue-IRF467ZK.js +84 -0
  326. package/dist/tvs.numeric-C7FDCGCS.js +32 -0
  327. package/dist/tvs.samplelst-CBU6ATI5.js +95 -0
  328. package/dist/tvs.survival-3K5ASAXV.js +110 -0
  329. package/dist/tvs.termCollection-MXEWO6KJ.js +118 -0
  330. package/dist/vocabulary-GQBHDP3K.js +32 -0
  331. package/dist/wsi.direct-25JUHWEF.js +8339 -0
  332. package/package.json +3 -3
  333. package/dist/2dmaf-Y4CPQCKD.js +0 -1362
  334. package/dist/AggMatrixInput-XSZSKYJM.js +0 -402
  335. package/dist/AggregateMatrix-BETOEO7U.js +0 -37
  336. package/dist/AppHeader-6X6SNEBI.js +0 -826
  337. package/dist/BoxPlot-J6JKDOH6.js +0 -1233
  338. package/dist/CorrelationVolcano-DMDE4LAP.js +0 -613
  339. package/dist/Cuminc-6WHLJVOC.js +0 -1217
  340. package/dist/DE-EJM6W4Q4.js +0 -85
  341. package/dist/DEinput-AU3E7JM2.js +0 -497
  342. package/dist/DM-FN4WJNDX.js +0 -86
  343. package/dist/DifferentialAnalysis-FD57SA7H.js +0 -235
  344. package/dist/Disco-BMNSQ6YL.js +0 -3384
  345. package/dist/Disco.UI-4VXFHJQV.js +0 -239
  346. package/dist/DmrPlot-P5WKLC5J.js +0 -358
  347. package/dist/GB-BO75K7TF.js +0 -1388
  348. package/dist/GSEA-OEFXDJ23.js +0 -870
  349. package/dist/GeneExpInput-FP7RBRXH.js +0 -38
  350. package/dist/Geomap-ELX6O3IS.js +0 -80
  351. package/dist/HicApp-3JVEBSWO.js +0 -2240
  352. package/dist/IDCViewer-76N6I34Q.js +0 -10808
  353. package/dist/NumBinaryEditor-XLACD6VG.js +0 -274
  354. package/dist/NumBinaryEditor.unit.spec-3Z62H2JG.js +0 -308
  355. package/dist/NumContEditor-Z5ONNXFC.js +0 -100
  356. package/dist/NumContEditor.unit.spec-EJ3L7WH6.js +0 -160
  357. package/dist/NumCustomBinEditor-WKXAK5ZW.js +0 -29
  358. package/dist/NumCustomBinEditor.unit.spec-WXCLBBWT.js +0 -393
  359. package/dist/NumDiscreteEditor-5UBFABFT.js +0 -165
  360. package/dist/NumDiscreteEditor.unit.spec-5EMKOQZU.js +0 -229
  361. package/dist/NumRegularBinEditor-DMOKU5UM.js +0 -29
  362. package/dist/NumRegularBinEditor.unit.spec-QT2WSGNL.js +0 -274
  363. package/dist/NumSplineEditor-G3T26V5H.js +0 -205
  364. package/dist/NumSplineEditor.unit.spec-P4WNWJKE.js +0 -220
  365. package/dist/NumericDensity-AWQK5BKC.js +0 -29
  366. package/dist/NumericDensity.unit.spec-TO5EUJF3.js +0 -414
  367. package/dist/NumericHandler-MZ4WZDMW.js +0 -30
  368. package/dist/NumericHandler.unit.spec-JFLQQ2RI.js +0 -210
  369. package/dist/ProteomeInput-2XRW7WFL.js +0 -384
  370. package/dist/ProteomeInput-2XRW7WFL.js.map +0 -7
  371. package/dist/Regression-QO5EKLTZ.js +0 -1412
  372. package/dist/RunChart2-JLN324L6.js +0 -744
  373. package/dist/SC-W3M6IEDU.js +0 -1344
  374. package/dist/Violin-BCHEWRDU.js +0 -1095
  375. package/dist/Volcano-2PP67BZI.js +0 -2452
  376. package/dist/Wsi-GNGKPGJF.js +0 -625
  377. package/dist/adSandbox-XRWLD73B.js +0 -29
  378. package/dist/animatedBubbleChart-23CVOAXV.js +0 -542
  379. package/dist/app-KRJBODQD.js +0 -28
  380. package/dist/app-YLGQTR3U.js +0 -38
  381. package/dist/bam-3VPOMNJU.js +0 -872
  382. package/dist/barchart-I4S7TYFY.js +0 -38
  383. package/dist/barchart2-VXUP2L4M.js +0 -305
  384. package/dist/block-NVXPY2IK.js +0 -6232
  385. package/dist/block.init-CQ76SLCN.js +0 -29
  386. package/dist/block.mds.expressionrank-CTMM4IFI.js +0 -350
  387. package/dist/block.mds.geneboxplot-XYUU3PUZ.js +0 -819
  388. package/dist/block.mds.junction-LX4ETPO6.js +0 -1534
  389. package/dist/block.mds.svcnv-ABWHJJOA.js +0 -6408
  390. package/dist/block.svg-NY7ZDCUD.js +0 -155
  391. package/dist/block.tk.aicheck-3C52WICS.js +0 -274
  392. package/dist/block.tk.bam-QQHY3KEB.js +0 -1897
  393. package/dist/block.tk.bedgraphdot-EWZAMZ6E.js +0 -375
  394. package/dist/block.tk.bigwig.ui-OW3Q6THD.js +0 -202
  395. package/dist/block.tk.hicstraw-T7GJ7ZV6.js +0 -814
  396. package/dist/block.tk.junction-WKD34BUV.js +0 -2353
  397. package/dist/block.tk.junction.textmatrixui-G6KNHIUC.js +0 -190
  398. package/dist/block.tk.ld-PXXGZMUF.js +0 -90
  399. package/dist/block.tk.menu-W3RFEKFJ.js +0 -1050
  400. package/dist/block.tk.pgv-QVRJDGGG.js +0 -934
  401. package/dist/brainImaging-D42IV6LT.js +0 -550
  402. package/dist/brainRegions-DLXBHC4Y.js +0 -213
  403. package/dist/bubbleHeatmap-LATPOGLF.js +0 -374
  404. package/dist/cellTypeBubbleHeatmap-H7VHFQFD.js +0 -274
  405. package/dist/chunk-2XH5T5HA.js +0 -176
  406. package/dist/chunk-3Z7FX6GQ.js +0 -102
  407. package/dist/chunk-42II4FNQ.js +0 -14
  408. package/dist/chunk-4BQ3HUD2.js +0 -1988
  409. package/dist/chunk-4IWOYJ4D.js +0 -56
  410. package/dist/chunk-5D5Y3XVS.js +0 -56
  411. package/dist/chunk-5KHI46ZP.js +0 -26
  412. package/dist/chunk-5KNC4AJ7.js +0 -103
  413. package/dist/chunk-5MHE7AIV.js +0 -2260
  414. package/dist/chunk-5MHE7AIV.js.map +0 -7
  415. package/dist/chunk-6WYKPBZI.js +0 -339
  416. package/dist/chunk-AIH5PKJN.js +0 -626
  417. package/dist/chunk-AWZOZLFI.js +0 -217
  418. package/dist/chunk-AYZ6BEK4.js +0 -5213
  419. package/dist/chunk-B4NTLUWL.js +0 -2685
  420. package/dist/chunk-BQXK7K5J.js +0 -134
  421. package/dist/chunk-C5YMSIGN.js +0 -6358
  422. package/dist/chunk-CBAU2QMR.js +0 -31
  423. package/dist/chunk-CFHGRMLN.js +0 -468
  424. package/dist/chunk-CNQJ4LOC.js +0 -102
  425. package/dist/chunk-CVT7JE5B.js +0 -123
  426. package/dist/chunk-D4UCM6R7.js +0 -562
  427. package/dist/chunk-DBOJ3TMI.js +0 -424
  428. package/dist/chunk-DDDL46RE.js +0 -550
  429. package/dist/chunk-DURCB2KS.js +0 -141
  430. package/dist/chunk-E64SCL4O.js +0 -418
  431. package/dist/chunk-EAVA7XQL.js +0 -240
  432. package/dist/chunk-EG7HOBJY.js +0 -54
  433. package/dist/chunk-EZFO5UYD.js +0 -5795
  434. package/dist/chunk-EZFO5UYD.js.map +0 -7
  435. package/dist/chunk-F22GGUNI.js +0 -243
  436. package/dist/chunk-F4TEXJ74.js +0 -49
  437. package/dist/chunk-F5ERVYFW.js +0 -783
  438. package/dist/chunk-F5ERVYFW.js.map +0 -7
  439. package/dist/chunk-FIFNXVTS.js +0 -25345
  440. package/dist/chunk-FIFNXVTS.js.map +0 -7
  441. package/dist/chunk-G7YFQ4AK.js +0 -692
  442. package/dist/chunk-GGUCMNZ2.js +0 -339
  443. package/dist/chunk-GGUCMNZ2.js.map +0 -7
  444. package/dist/chunk-HAQGBJZ7.js +0 -156
  445. package/dist/chunk-HCEB7HBL.js +0 -2960
  446. package/dist/chunk-ISYZNLED.js +0 -444
  447. package/dist/chunk-IXQQHAHZ.js +0 -237
  448. package/dist/chunk-JSYPAJVF.js +0 -37
  449. package/dist/chunk-KBEIJEOX.js +0 -194
  450. package/dist/chunk-KE5IMRCJ.js +0 -516
  451. package/dist/chunk-KSWKOKY7.js +0 -38
  452. package/dist/chunk-L2TWQXK2.js +0 -203
  453. package/dist/chunk-L4ORRHDP.js +0 -2325
  454. package/dist/chunk-LH4BM6C7.js +0 -257
  455. package/dist/chunk-LLLRH3MB.js +0 -274
  456. package/dist/chunk-MWDPHZ2K.js +0 -1269
  457. package/dist/chunk-N2FCAFJH.js +0 -178
  458. package/dist/chunk-N2FCAFJH.js.map +0 -7
  459. package/dist/chunk-NT4BDYKQ.js +0 -466
  460. package/dist/chunk-OH33WT6Q.js +0 -119
  461. package/dist/chunk-PEBOVSIC.js +0 -1339
  462. package/dist/chunk-Q37PHHHH.js +0 -59
  463. package/dist/chunk-QCPXDSKH.js +0 -379
  464. package/dist/chunk-QDWEKA5J.js +0 -382
  465. package/dist/chunk-QVQI5DW7.js +0 -1817
  466. package/dist/chunk-QVQI5DW7.js.map +0 -7
  467. package/dist/chunk-R3UYQXJL.js +0 -1233
  468. package/dist/chunk-R3UYQXJL.js.map +0 -7
  469. package/dist/chunk-R47CRASM.js +0 -182
  470. package/dist/chunk-ROLQAMNM.js +0 -96
  471. package/dist/chunk-RXAKFDZM.js +0 -302
  472. package/dist/chunk-STDPI4K3.js +0 -281
  473. package/dist/chunk-SYDK5RV5.js +0 -54
  474. package/dist/chunk-SZ2VC2I2.js +0 -276
  475. package/dist/chunk-TAOTFHMT.js +0 -170
  476. package/dist/chunk-TMEDFIPS.js +0 -2799
  477. package/dist/chunk-TRZVM7OG.js +0 -194
  478. package/dist/chunk-VB47XOA4.js +0 -397
  479. package/dist/chunk-VCXAL36U.js +0 -54
  480. package/dist/chunk-VP3BJXOR.js +0 -55
  481. package/dist/chunk-VZGARY6D.js +0 -255
  482. package/dist/chunk-WO5S6USJ.js +0 -4373
  483. package/dist/chunk-WPR2CMWS.js +0 -34
  484. package/dist/chunk-WTKV6KPV.js +0 -70
  485. package/dist/chunk-XCJHO2PZ.js +0 -263
  486. package/dist/chunk-XVBFTP6A.js +0 -294
  487. package/dist/chunk-YKR3O6TN.js +0 -480
  488. package/dist/chunk-YZO7NVZW.js +0 -299
  489. package/dist/chunk-ZNOQYTF7.js +0 -140
  490. package/dist/chunk-ZOOMCQVD.js +0 -80
  491. package/dist/chunk-ZZTAUDJV.js +0 -217
  492. package/dist/cohort-E2RISYWQ.js +0 -66
  493. package/dist/condition-ZCROOBW2.js +0 -323
  494. package/dist/controls-TRUCBCUG.js +0 -30
  495. package/dist/controls.config-ZWEI3PWR.js +0 -30
  496. package/dist/correlation-ODRXACI5.js +0 -91
  497. package/dist/customdata.inputui-WADNWN4A.js +0 -280
  498. package/dist/dataDownload-TKACVGQG.js +0 -325
  499. package/dist/databrowser.ui-P74LKVPW.js +0 -421
  500. package/dist/dictionary-AR7TU32A.js +0 -109
  501. package/dist/dnaMethylation-FAA5NEAR.js +0 -29
  502. package/dist/dnaMethylation.integration.spec-XO5KTHGG.js +0 -194
  503. package/dist/dofetch-3ZCQBYTP.js +0 -47
  504. package/dist/e2pca-545GHJWM.js +0 -340
  505. package/dist/ep-DFBBKNXP.js +0 -1245
  506. package/dist/expclust.gdc.spec-IW2EKLIJ.js +0 -298
  507. package/dist/facet-JNIRJGUK.js +0 -515
  508. package/dist/gb-C3Z24J7G.js +0 -77
  509. package/dist/geneExpClustering-ZYYXVWEH.js +0 -240
  510. package/dist/geneExpression-AFI6PX7J.js +0 -29
  511. package/dist/geneExpression-QAHT5JK3.js +0 -309
  512. package/dist/geneExpression.unit.spec-QD6FBA7Y.js +0 -124
  513. package/dist/geneORA-UJUDJH33.js +0 -269
  514. package/dist/geneRanking-W4GJTT2D.js +0 -544
  515. package/dist/geneVariant-7TLTYMRN.js +0 -285
  516. package/dist/geneVariant-PIPW23ZL.js +0 -32
  517. package/dist/geneVariant.integration.spec-EWVEPYWR.js +0 -499
  518. package/dist/genefusion.ui-CQMINB6C.js +0 -299
  519. package/dist/geneset-DB2UIWDN.js +0 -199
  520. package/dist/genomeBrowser.spec-5PPCZGJY.js +0 -272
  521. package/dist/grin2-6FKWST7P.js +0 -66
  522. package/dist/grin2-CRHH7XQL.js +0 -945
  523. package/dist/hierCluster-LVVQUFIA.js +0 -55
  524. package/dist/hierCluster-N4BWRDRD.js +0 -51
  525. package/dist/hierCluster.config-RXYYXEKK.js +0 -32
  526. package/dist/hierCluster.integration.spec-32ELKHGP.js +0 -479
  527. package/dist/hierCluster.interactivity-O5PWSGD7.js +0 -45
  528. package/dist/hierCluster.renderers-E6FQE2DK.js +0 -18
  529. package/dist/imagePlot-CJJPFFND.js +0 -152
  530. package/dist/importPlot-IT2VCT3E.js +0 -8
  531. package/dist/isoformExpression-MB7VXNYL.js +0 -31
  532. package/dist/isoformExpression.unit.spec-WBGH5T22.js +0 -233
  533. package/dist/junction-RUMI5YFR.js +0 -32
  534. package/dist/junction.customTerm-LBVLFTOA.js +0 -15
  535. package/dist/junction.unit.spec-VU665JWH.js +0 -178
  536. package/dist/launch.adhoc-PG2VDOP5.js +0 -33
  537. package/dist/leftlabel.sample-O4EI4FEW.js +0 -253
  538. package/dist/lollipop-LWQ3ZPUC.js +0 -162
  539. package/dist/maf-Z7IN4HAW.js +0 -451
  540. package/dist/maftimeline-AQLIVUW3.js +0 -583
  541. package/dist/matrix-LTXFBGFW.js +0 -55
  542. package/dist/matrix-W2XR54DY.js +0 -50
  543. package/dist/matrix.cells-F44JHGOO.js +0 -25
  544. package/dist/matrix.config-Y5OUBSEC.js +0 -33
  545. package/dist/matrix.data-VLIW75OR.js +0 -22
  546. package/dist/matrix.groups-QEWUDMPF.js +0 -25
  547. package/dist/matrix.integration.spec-24DH4HNF.js +0 -3156
  548. package/dist/matrix.interactivity-R3BQYXAY.js +0 -33
  549. package/dist/matrix.layout-TENBEUJ6.js +0 -35
  550. package/dist/matrix.legend-E35GDZWD.js +0 -19
  551. package/dist/matrix.renderers-CMPAIUYT.js +0 -30
  552. package/dist/matrix.serieses-GXVQBJML.js +0 -18
  553. package/dist/matrix.sort-VQS6E6S5.js +0 -25
  554. package/dist/matrix.sort.unit.spec-P5C6EVDC.js +0 -464
  555. package/dist/matrix.sorterUi-4R2TVBUJ.js +0 -15
  556. package/dist/matrix.sorterUi.unit.spec-UMI2N2OG.js +0 -334
  557. package/dist/matrix.unit.spec-HSA7OWME.js +0 -146
  558. package/dist/mavb-ZARQZJJR.js +0 -723
  559. package/dist/mds.fimo-YRNNY5KA.js +0 -509
  560. package/dist/mds.samplescatterplot-ESIALOMA.js +0 -1545
  561. package/dist/mds.survivalplot-5E6ITKIU.js +0 -472
  562. package/dist/multivalue-CT2QWWB4.js +0 -79
  563. package/dist/numericDictTermCluster-CRVSJ6PI.js +0 -62
  564. package/dist/oncomatrix-MX5EHBNW.js +0 -286
  565. package/dist/oncomatrix.spec-DN2RAWGZ.js +0 -439
  566. package/dist/plot.2dvaf-B5QAKDTK.js +0 -368
  567. package/dist/plot.app-V5DZWC6N.js +0 -32
  568. package/dist/plot.barplot-VAJLAU7H.js +0 -93
  569. package/dist/plot.boxplot-PT3BUNVT.js +0 -142
  570. package/dist/plot.brainImaging-2WB7XJJM.js +0 -51
  571. package/dist/plot.disco-64IPBCII.js +0 -98
  572. package/dist/plot.ssgq-ET4OBMUM.js +0 -130
  573. package/dist/plot.vaf2cov-DGMVJ7UN.js +0 -249
  574. package/dist/polar2-CWWDVNZQ.js +0 -228
  575. package/dist/profileForms-FM7D4WO2.js +0 -937
  576. package/dist/profilePlot-LQ6K4EXX.js +0 -45
  577. package/dist/proteinView-WVI3OVDD.js +0 -1352
  578. package/dist/proteinView-WVI3OVDD.js.map +0 -7
  579. package/dist/proteomeCohortCompare-6FWTYPDF.js +0 -908
  580. package/dist/proteomeCohortCompare-6FWTYPDF.js.map +0 -7
  581. package/dist/pseudbulk.unit.spec-IAONX4QR.js +0 -82
  582. package/dist/pseudobulk-NIX4JOOZ.js +0 -31
  583. package/dist/qualitative-GLTKWA6H.js +0 -241
  584. package/dist/qualitative-M3XSQZA2.js +0 -34
  585. package/dist/radar2-JBULXNFQ.js +0 -323
  586. package/dist/radarFacility2-YYIBHZCY.js +0 -331
  587. package/dist/rememberedGvQ.unit.spec-YJV6DVPN.js +0 -210
  588. package/dist/render-ZCH7R3WL.js +0 -29
  589. package/dist/report-YPIAIMND.js +0 -213
  590. package/dist/sampleView-K4GSYMAE.js +0 -39
  591. package/dist/samplelst-F2SLVHFP.js +0 -102
  592. package/dist/samplematrix-Z6F4F7YN.js +0 -2188
  593. package/dist/sc-UM7SEGED.js +0 -77
  594. package/dist/scatter-63XRRLGP.js +0 -921
  595. package/dist/scatter-HFTYLGDP.js +0 -84
  596. package/dist/selectGenomeWithTklst-PJNALPM2.js +0 -125
  597. package/dist/singleCellCellType-HR3R6KBD.js +0 -29
  598. package/dist/singleCellCellType.unit.spec-VK57HQ2O.js +0 -150
  599. package/dist/singleCellGeneExpression-VWOA7MLN.js +0 -29
  600. package/dist/singleCellGeneExpression.unit.spec-YP64T3XD.js +0 -144
  601. package/dist/singleCellNumericValue-3VIUPYPB.js +0 -29
  602. package/dist/singleCellNumericValue.unit.spec-VR5ICRQA.js +0 -412
  603. package/dist/singleCellPlot-36QDY7VL.js +0 -44
  604. package/dist/singlecell-D2MZVFR4.js +0 -77
  605. package/dist/singlecell-EXEOLJ3J.js +0 -1562
  606. package/dist/snp-XHEHXZMB.js +0 -29
  607. package/dist/snp.unit.spec-YR6IDLL7.js +0 -167
  608. package/dist/snplocus-BM7LUK2U.js +0 -200
  609. package/dist/snplst-22VSEZ7R.js +0 -36
  610. package/dist/spliceevent.a53ss.diagram-KERTJ3QA.js +0 -142
  611. package/dist/spliceevent.exonskip.diagram-K74VIUA4.js +0 -274
  612. package/dist/spliceevent.noeventdiagram-W7WGSVVL.js +0 -451
  613. package/dist/ssGSEA-XDEA5TVX.js +0 -29
  614. package/dist/ssGSEA.unit.spec-RDCPXJ5S.js +0 -79
  615. package/dist/stattable-HZ3DOUEM.js +0 -112
  616. package/dist/studyCatalog-FWNHGZUT.js +0 -410
  617. package/dist/studyCatalog-FWNHGZUT.js.map +0 -7
  618. package/dist/summarizeCnvGeneexp-VB4SOJHT.js +0 -154
  619. package/dist/summarizeGeneexpSurvival-5ZWIJ6O4.js +0 -101
  620. package/dist/summarizeMutationCnv-MBPU64C5.js +0 -155
  621. package/dist/summarizeMutationDiagnosis-QRP4ITNL.js +0 -31
  622. package/dist/summarizeMutationSurvival-SSXAY5W4.js +0 -95
  623. package/dist/summary-SRESZS4Z.js +0 -40
  624. package/dist/summary.integration.spec-3V2CEPJM.js +0 -405
  625. package/dist/summaryInput-3VD4KBCU.js +0 -238
  626. package/dist/sunburst-E5IEQQUV.js +0 -274
  627. package/dist/survival-H4HYC6GC.js +0 -1246
  628. package/dist/survival-K5WWAELO.js +0 -49
  629. package/dist/survival.integration.spec-SPN2TSQW.js +0 -609
  630. package/dist/svgraph-USRAYSBN.js +0 -1377
  631. package/dist/svmr-MOKLLJKJ.js +0 -3832
  632. package/dist/table-WD3P3WL2.js +0 -192
  633. package/dist/termCollection-JU4OJRWD.js +0 -29
  634. package/dist/termCollection-VWS5CKVH.js +0 -247
  635. package/dist/termCollection.unit.spec-TPUJWKKW.js +0 -295
  636. package/dist/termCollectionFractionSelection-UWLHDPX2.js +0 -38
  637. package/dist/termCollectionFractionSelection.unit.spec-RBHJY34K.js +0 -184
  638. package/dist/tk-OAOVCATS.js +0 -1116
  639. package/dist/tk-SMOGJUD7.js +0 -37
  640. package/dist/tp.ui-EMWJCGRX.js +0 -1449
  641. package/dist/tvs.categorical-A7J4RIKL.js +0 -28
  642. package/dist/tvs.condition-HFLZES5E.js +0 -160
  643. package/dist/tvs.dt-GBYX2RWX.js +0 -30
  644. package/dist/tvs.dtcnv.categorical-X2K3MIPG.js +0 -31
  645. package/dist/tvs.dtcnv.continuous-5EMX4PBP.js +0 -63
  646. package/dist/tvs.dtfusion-7VVSPNRK.js +0 -31
  647. package/dist/tvs.dtitd-2YGFPXOY.js +0 -31
  648. package/dist/tvs.dtsnvindel-EISO52O6.js +0 -31
  649. package/dist/tvs.dtsv-RTAMAW3G.js +0 -31
  650. package/dist/tvs.multivalue-5N6PSG4L.js +0 -84
  651. package/dist/tvs.numeric-R5UT7ARM.js +0 -32
  652. package/dist/tvs.samplelst-SZDNNFK5.js +0 -95
  653. package/dist/tvs.survival-EUUDDXP7.js +0 -110
  654. package/dist/tvs.termCollection-DAHEYZK2.js +0 -118
  655. package/dist/vocabulary-P4XRHR34.js +0 -32
  656. package/dist/wsi.direct-J7VX5EMI.js +0 -8339
  657. /package/dist/{2dmaf-Y4CPQCKD.js.map → 2dmaf-RRHATFHO.js.map} +0 -0
  658. /package/dist/{AggMatrixInput-XSZSKYJM.js.map → AggMatrixInput-4UHBCXYH.js.map} +0 -0
  659. /package/dist/{AggregateMatrix-BETOEO7U.js.map → AggregateMatrix-IJE5CM5Y.js.map} +0 -0
  660. /package/dist/{AppHeader-6X6SNEBI.js.map → AppHeader-UXGLRW6C.js.map} +0 -0
  661. /package/dist/{BoxPlot-J6JKDOH6.js.map → BoxPlot-GQYC22KY.js.map} +0 -0
  662. /package/dist/{CorrelationVolcano-DMDE4LAP.js.map → CorrelationVolcano-5CWRWZTI.js.map} +0 -0
  663. /package/dist/{Cuminc-6WHLJVOC.js.map → Cuminc-TYHKAPRK.js.map} +0 -0
  664. /package/dist/{DE-EJM6W4Q4.js.map → DE-UUFQGSOI.js.map} +0 -0
  665. /package/dist/{DEinput-AU3E7JM2.js.map → DEinput-DU7MF4YY.js.map} +0 -0
  666. /package/dist/{DM-FN4WJNDX.js.map → DM-SSI5KUBC.js.map} +0 -0
  667. /package/dist/{DifferentialAnalysis-FD57SA7H.js.map → DifferentialAnalysis-G6FE2MXY.js.map} +0 -0
  668. /package/dist/{Disco-BMNSQ6YL.js.map → Disco-B3KGNEAW.js.map} +0 -0
  669. /package/dist/{Disco.UI-4VXFHJQV.js.map → Disco.UI-UNPUBQCN.js.map} +0 -0
  670. /package/dist/{DmrPlot-P5WKLC5J.js.map → DmrPlot-27NGDMT4.js.map} +0 -0
  671. /package/dist/{GB-BO75K7TF.js.map → GB-SXACUA4V.js.map} +0 -0
  672. /package/dist/{GSEA-OEFXDJ23.js.map → GSEA-EHMBA3TF.js.map} +0 -0
  673. /package/dist/{GeneExpInput-FP7RBRXH.js.map → GeneExpInput-NDXISF2U.js.map} +0 -0
  674. /package/dist/{Geomap-ELX6O3IS.js.map → Geomap-3CNT227W.js.map} +0 -0
  675. /package/dist/{HicApp-3JVEBSWO.js.map → HicApp-VQBUB6EZ.js.map} +0 -0
  676. /package/dist/{IDCViewer-76N6I34Q.js.map → IDCViewer-DTOE7KDX.js.map} +0 -0
  677. /package/dist/{NumBinaryEditor-XLACD6VG.js.map → NumBinaryEditor-IVZ4MMQT.js.map} +0 -0
  678. /package/dist/{NumBinaryEditor.unit.spec-3Z62H2JG.js.map → NumBinaryEditor.unit.spec-3BSQ6FM4.js.map} +0 -0
  679. /package/dist/{NumContEditor-Z5ONNXFC.js.map → NumContEditor-CUZHU3IO.js.map} +0 -0
  680. /package/dist/{NumContEditor.unit.spec-EJ3L7WH6.js.map → NumContEditor.unit.spec-SCQFD2Y7.js.map} +0 -0
  681. /package/dist/{NumCustomBinEditor-WKXAK5ZW.js.map → NumCustomBinEditor-UEEYZ4ZO.js.map} +0 -0
  682. /package/dist/{NumCustomBinEditor.unit.spec-WXCLBBWT.js.map → NumCustomBinEditor.unit.spec-GYS35OQV.js.map} +0 -0
  683. /package/dist/{NumDiscreteEditor-5UBFABFT.js.map → NumDiscreteEditor-IT7NIXTV.js.map} +0 -0
  684. /package/dist/{NumDiscreteEditor.unit.spec-5EMKOQZU.js.map → NumDiscreteEditor.unit.spec-LB6VLAWO.js.map} +0 -0
  685. /package/dist/{NumRegularBinEditor-DMOKU5UM.js.map → NumRegularBinEditor-FF6UXZWN.js.map} +0 -0
  686. /package/dist/{NumRegularBinEditor.unit.spec-QT2WSGNL.js.map → NumRegularBinEditor.unit.spec-Z4S5LH2C.js.map} +0 -0
  687. /package/dist/{NumSplineEditor-G3T26V5H.js.map → NumSplineEditor-IW5WEN3P.js.map} +0 -0
  688. /package/dist/{NumSplineEditor.unit.spec-P4WNWJKE.js.map → NumSplineEditor.unit.spec-PAEN3SAD.js.map} +0 -0
  689. /package/dist/{NumericDensity-AWQK5BKC.js.map → NumericDensity-CPJIQLYT.js.map} +0 -0
  690. /package/dist/{NumericDensity.unit.spec-TO5EUJF3.js.map → NumericDensity.unit.spec-4KHECHVU.js.map} +0 -0
  691. /package/dist/{NumericHandler-MZ4WZDMW.js.map → NumericHandler-SEFTQJDM.js.map} +0 -0
  692. /package/dist/{NumericHandler.unit.spec-JFLQQ2RI.js.map → NumericHandler.unit.spec-UGDR3476.js.map} +0 -0
  693. /package/dist/{Regression-QO5EKLTZ.js.map → Regression-WDSISHYL.js.map} +0 -0
  694. /package/dist/{RunChart2-JLN324L6.js.map → RunChart2-2NPADXUR.js.map} +0 -0
  695. /package/dist/{SC-W3M6IEDU.js.map → SC-EWDBPHEL.js.map} +0 -0
  696. /package/dist/{Violin-BCHEWRDU.js.map → Violin-POGGPCZY.js.map} +0 -0
  697. /package/dist/{Volcano-2PP67BZI.js.map → Volcano-U2B4KEUL.js.map} +0 -0
  698. /package/dist/{Wsi-GNGKPGJF.js.map → Wsi-G7OCAJ3R.js.map} +0 -0
  699. /package/dist/{adSandbox-XRWLD73B.js.map → adSandbox-SUCX6DAQ.js.map} +0 -0
  700. /package/dist/{animatedBubbleChart-23CVOAXV.js.map → animatedBubbleChart-SDBWJELZ.js.map} +0 -0
  701. /package/dist/{app-KRJBODQD.js.map → app-ATQM5PKI.js.map} +0 -0
  702. /package/dist/{app-YLGQTR3U.js.map → app-BCKEWJCY.js.map} +0 -0
  703. /package/dist/{bam-3VPOMNJU.js.map → bam-QK2ZLZDI.js.map} +0 -0
  704. /package/dist/{barchart-I4S7TYFY.js.map → barchart-RHDKI3NZ.js.map} +0 -0
  705. /package/dist/{barchart2-VXUP2L4M.js.map → barchart2-CS3E6FOY.js.map} +0 -0
  706. /package/dist/{block-NVXPY2IK.js.map → block-RQ3HTJVP.js.map} +0 -0
  707. /package/dist/{block.init-CQ76SLCN.js.map → block.init-T33F47DO.js.map} +0 -0
  708. /package/dist/{block.mds.expressionrank-CTMM4IFI.js.map → block.mds.expressionrank-LQD6MN6Z.js.map} +0 -0
  709. /package/dist/{block.mds.geneboxplot-XYUU3PUZ.js.map → block.mds.geneboxplot-N5XHHVR7.js.map} +0 -0
  710. /package/dist/{block.mds.junction-LX4ETPO6.js.map → block.mds.junction-JD4WQUSH.js.map} +0 -0
  711. /package/dist/{block.mds.svcnv-ABWHJJOA.js.map → block.mds.svcnv-LCTYWXL2.js.map} +0 -0
  712. /package/dist/{block.svg-NY7ZDCUD.js.map → block.svg-2F3RGTI3.js.map} +0 -0
  713. /package/dist/{block.tk.aicheck-3C52WICS.js.map → block.tk.aicheck-BOF6WZ5E.js.map} +0 -0
  714. /package/dist/{block.tk.bam-QQHY3KEB.js.map → block.tk.bam-5GBYEQBM.js.map} +0 -0
  715. /package/dist/{block.tk.bedgraphdot-EWZAMZ6E.js.map → block.tk.bedgraphdot-LVQEP4RS.js.map} +0 -0
  716. /package/dist/{block.tk.bigwig.ui-OW3Q6THD.js.map → block.tk.bigwig.ui-HHBO4JAC.js.map} +0 -0
  717. /package/dist/{block.tk.hicstraw-T7GJ7ZV6.js.map → block.tk.hicstraw-JBO4UEOA.js.map} +0 -0
  718. /package/dist/{block.tk.junction-WKD34BUV.js.map → block.tk.junction-S5S2N7FK.js.map} +0 -0
  719. /package/dist/{block.tk.junction.textmatrixui-G6KNHIUC.js.map → block.tk.junction.textmatrixui-DNQL7WB5.js.map} +0 -0
  720. /package/dist/{block.tk.ld-PXXGZMUF.js.map → block.tk.ld-JHQNR67E.js.map} +0 -0
  721. /package/dist/{block.tk.menu-W3RFEKFJ.js.map → block.tk.menu-7JBJOY2O.js.map} +0 -0
  722. /package/dist/{block.tk.pgv-QVRJDGGG.js.map → block.tk.pgv-FQPREV6P.js.map} +0 -0
  723. /package/dist/{brainImaging-D42IV6LT.js.map → brainImaging-HEWGZZNY.js.map} +0 -0
  724. /package/dist/{brainRegions-DLXBHC4Y.js.map → brainRegions-QUGB7YUW.js.map} +0 -0
  725. /package/dist/{bubbleHeatmap-LATPOGLF.js.map → bubbleHeatmap-OZRONGAX.js.map} +0 -0
  726. /package/dist/{cellTypeBubbleHeatmap-H7VHFQFD.js.map → cellTypeBubbleHeatmap-N7NDE325.js.map} +0 -0
  727. /package/dist/{chunk-EG7HOBJY.js.map → chunk-2FWSNJEN.js.map} +0 -0
  728. /package/dist/{chunk-WPR2CMWS.js.map → chunk-2JIKMCJR.js.map} +0 -0
  729. /package/dist/{chunk-CNQJ4LOC.js.map → chunk-3SPEW6R6.js.map} +0 -0
  730. /package/dist/{chunk-CVT7JE5B.js.map → chunk-5G6O5RYM.js.map} +0 -0
  731. /package/dist/{chunk-YZO7NVZW.js.map → chunk-65DO5IKM.js.map} +0 -0
  732. /package/dist/{chunk-B4NTLUWL.js.map → chunk-6Q5SOSSU.js.map} +0 -0
  733. /package/dist/{chunk-AIH5PKJN.js.map → chunk-7JHIUS54.js.map} +0 -0
  734. /package/dist/{chunk-VB47XOA4.js.map → chunk-7X347XMF.js.map} +0 -0
  735. /package/dist/{chunk-VP3BJXOR.js.map → chunk-ABLG7GUS.js.map} +0 -0
  736. /package/dist/{chunk-SZ2VC2I2.js.map → chunk-AFEFZ74T.js.map} +0 -0
  737. /package/dist/{chunk-F22GGUNI.js.map → chunk-AIC43DTG.js.map} +0 -0
  738. /package/dist/{chunk-R47CRASM.js.map → chunk-AJXP4AV7.js.map} +0 -0
  739. /package/dist/{chunk-DBOJ3TMI.js.map → chunk-AMW5LCUB.js.map} +0 -0
  740. /package/dist/{chunk-HAQGBJZ7.js.map → chunk-AV2IH5K2.js.map} +0 -0
  741. /package/dist/{chunk-XCJHO2PZ.js.map → chunk-B3WLXXGY.js.map} +0 -0
  742. /package/dist/{chunk-RXAKFDZM.js.map → chunk-BG6GAROI.js.map} +0 -0
  743. /package/dist/{chunk-5KNC4AJ7.js.map → chunk-BU6PAOGA.js.map} +0 -0
  744. /package/dist/{chunk-ROLQAMNM.js.map → chunk-C2TII2FF.js.map} +0 -0
  745. /package/dist/{chunk-DDDL46RE.js.map → chunk-CTFHEDG2.js.map} +0 -0
  746. /package/dist/{chunk-JSYPAJVF.js.map → chunk-CXEECHP5.js.map} +0 -0
  747. /package/dist/{chunk-PEBOVSIC.js.map → chunk-CZK4EV3Y.js.map} +0 -0
  748. /package/dist/{chunk-L4ORRHDP.js.map → chunk-D35GNF3Y.js.map} +0 -0
  749. /package/dist/{chunk-TAOTFHMT.js.map → chunk-DFZWE3TR.js.map} +0 -0
  750. /package/dist/{chunk-4BQ3HUD2.js.map → chunk-E7XHA4YL.js.map} +0 -0
  751. /package/dist/{chunk-SYDK5RV5.js.map → chunk-EDFBRXX2.js.map} +0 -0
  752. /package/dist/{chunk-5KHI46ZP.js.map → chunk-F23EQSGU.js.map} +0 -0
  753. /package/dist/{chunk-QCPXDSKH.js.map → chunk-F2EEQ7KG.js.map} +0 -0
  754. /package/dist/{chunk-CFHGRMLN.js.map → chunk-F5FFI7Z7.js.map} +0 -0
  755. /package/dist/{chunk-DURCB2KS.js.map → chunk-FK5NL2DF.js.map} +0 -0
  756. /package/dist/{chunk-G7YFQ4AK.js.map → chunk-FVZTRWAO.js.map} +0 -0
  757. /package/dist/{chunk-AWZOZLFI.js.map → chunk-GDHQVEIO.js.map} +0 -0
  758. /package/dist/{chunk-TMEDFIPS.js.map → chunk-GSVB4XNS.js.map} +0 -0
  759. /package/dist/{chunk-E64SCL4O.js.map → chunk-GVAV4VRI.js.map} +0 -0
  760. /package/dist/{chunk-ZNOQYTF7.js.map → chunk-H2FELGYK.js.map} +0 -0
  761. /package/dist/{chunk-LLLRH3MB.js.map → chunk-HJARHSDC.js.map} +0 -0
  762. /package/dist/{chunk-VCXAL36U.js.map → chunk-HXRG7XYB.js.map} +0 -0
  763. /package/dist/{chunk-ZOOMCQVD.js.map → chunk-J5KCTRJC.js.map} +0 -0
  764. /package/dist/{chunk-Q37PHHHH.js.map → chunk-JMFVXWDX.js.map} +0 -0
  765. /package/dist/{chunk-L2TWQXK2.js.map → chunk-KGX2OIR4.js.map} +0 -0
  766. /package/dist/{chunk-LH4BM6C7.js.map → chunk-L2NPLA43.js.map} +0 -0
  767. /package/dist/{chunk-6WYKPBZI.js.map → chunk-L2WOLNZK.js.map} +0 -0
  768. /package/dist/{chunk-NT4BDYKQ.js.map → chunk-LQKMDIRB.js.map} +0 -0
  769. /package/dist/{chunk-D4UCM6R7.js.map → chunk-LSQ5AQ6Q.js.map} +0 -0
  770. /package/dist/{chunk-MWDPHZ2K.js.map → chunk-MBQIHLGI.js.map} +0 -0
  771. /package/dist/{chunk-42II4FNQ.js.map → chunk-MFR4WWDM.js.map} +0 -0
  772. /package/dist/{chunk-STDPI4K3.js.map → chunk-NHMIMTJA.js.map} +0 -0
  773. /package/dist/{chunk-C5YMSIGN.js.map → chunk-NPBN3PPZ.js.map} +0 -0
  774. /package/dist/{chunk-5D5Y3XVS.js.map → chunk-NULQJF73.js.map} +0 -0
  775. /package/dist/{chunk-XVBFTP6A.js.map → chunk-NYO7YANQ.js.map} +0 -0
  776. /package/dist/{chunk-TRZVM7OG.js.map → chunk-OBNHXAYG.js.map} +0 -0
  777. /package/dist/{chunk-BQXK7K5J.js.map → chunk-PETYR7LC.js.map} +0 -0
  778. /package/dist/{chunk-OH33WT6Q.js.map → chunk-PLFPXOGX.js.map} +0 -0
  779. /package/dist/{chunk-AYZ6BEK4.js.map → chunk-PQVHRM4L.js.map} +0 -0
  780. /package/dist/{chunk-EAVA7XQL.js.map → chunk-QLUTQPZE.js.map} +0 -0
  781. /package/dist/{chunk-KSWKOKY7.js.map → chunk-QNQ2ZYT7.js.map} +0 -0
  782. /package/dist/{chunk-VZGARY6D.js.map → chunk-QYCPIVCX.js.map} +0 -0
  783. /package/dist/{chunk-KE5IMRCJ.js.map → chunk-RZ2THVK4.js.map} +0 -0
  784. /package/dist/{chunk-CBAU2QMR.js.map → chunk-S4IZ4VM7.js.map} +0 -0
  785. /package/dist/{chunk-QDWEKA5J.js.map → chunk-SFUDTUXF.js.map} +0 -0
  786. /package/dist/{chunk-3Z7FX6GQ.js.map → chunk-SUT75MRI.js.map} +0 -0
  787. /package/dist/{chunk-4IWOYJ4D.js.map → chunk-SYLYLOHK.js.map} +0 -0
  788. /package/dist/{chunk-2XH5T5HA.js.map → chunk-TEFWF3SK.js.map} +0 -0
  789. /package/dist/{chunk-WTKV6KPV.js.map → chunk-TPSVPMAN.js.map} +0 -0
  790. /package/dist/{chunk-HCEB7HBL.js.map → chunk-V4ZKHM6D.js.map} +0 -0
  791. /package/dist/{chunk-WO5S6USJ.js.map → chunk-V7DNHPZD.js.map} +0 -0
  792. /package/dist/{chunk-KBEIJEOX.js.map → chunk-VPMQDTYR.js.map} +0 -0
  793. /package/dist/{chunk-ISYZNLED.js.map → chunk-VV6JIG4D.js.map} +0 -0
  794. /package/dist/{chunk-ZZTAUDJV.js.map → chunk-WU3YXPRE.js.map} +0 -0
  795. /package/dist/{chunk-YKR3O6TN.js.map → chunk-X2HWRISK.js.map} +0 -0
  796. /package/dist/{chunk-F4TEXJ74.js.map → chunk-X77QVINS.js.map} +0 -0
  797. /package/dist/{chunk-IXQQHAHZ.js.map → chunk-XXFLJWTQ.js.map} +0 -0
  798. /package/dist/{cohort-E2RISYWQ.js.map → cohort-ATIZW34H.js.map} +0 -0
  799. /package/dist/{condition-ZCROOBW2.js.map → condition-SGJIDZNB.js.map} +0 -0
  800. /package/dist/{controls-TRUCBCUG.js.map → controls-JQCMGPXP.js.map} +0 -0
  801. /package/dist/{controls.config-ZWEI3PWR.js.map → controls.config-WQHVQAIJ.js.map} +0 -0
  802. /package/dist/{correlation-ODRXACI5.js.map → correlation-S3MN3L5Q.js.map} +0 -0
  803. /package/dist/{customdata.inputui-WADNWN4A.js.map → customdata.inputui-LGTGMJBZ.js.map} +0 -0
  804. /package/dist/{dataDownload-TKACVGQG.js.map → dataDownload-FAWN2WKE.js.map} +0 -0
  805. /package/dist/{databrowser.ui-P74LKVPW.js.map → databrowser.ui-KF3LWQXG.js.map} +0 -0
  806. /package/dist/{dictionary-AR7TU32A.js.map → dictionary-EVLEOT72.js.map} +0 -0
  807. /package/dist/{dnaMethylation-FAA5NEAR.js.map → dnaMethylation-J3SPEM4S.js.map} +0 -0
  808. /package/dist/{dnaMethylation.integration.spec-XO5KTHGG.js.map → dnaMethylation.integration.spec-CTA53YCT.js.map} +0 -0
  809. /package/dist/{dofetch-3ZCQBYTP.js.map → dofetch-3C3MI5NR.js.map} +0 -0
  810. /package/dist/{e2pca-545GHJWM.js.map → e2pca-PTWPY5WP.js.map} +0 -0
  811. /package/dist/{ep-DFBBKNXP.js.map → ep-MS4LQQDR.js.map} +0 -0
  812. /package/dist/{expclust.gdc.spec-IW2EKLIJ.js.map → expclust.gdc.spec-S5FE4MMD.js.map} +0 -0
  813. /package/dist/{facet-JNIRJGUK.js.map → facet-FSOIZJCA.js.map} +0 -0
  814. /package/dist/{gb-C3Z24J7G.js.map → gb-YDEOK7NW.js.map} +0 -0
  815. /package/dist/{geneExpClustering-ZYYXVWEH.js.map → geneExpClustering-37JKKFW3.js.map} +0 -0
  816. /package/dist/{geneExpression-AFI6PX7J.js.map → geneExpression-G6ODP3VY.js.map} +0 -0
  817. /package/dist/{geneExpression-QAHT5JK3.js.map → geneExpression-VQPRFNKE.js.map} +0 -0
  818. /package/dist/{geneExpression.unit.spec-QD6FBA7Y.js.map → geneExpression.unit.spec-ZHXCUG6Q.js.map} +0 -0
  819. /package/dist/{geneORA-UJUDJH33.js.map → geneORA-E3PSS3CI.js.map} +0 -0
  820. /package/dist/{geneRanking-W4GJTT2D.js.map → geneRanking-MK3YYINC.js.map} +0 -0
  821. /package/dist/{geneVariant-PIPW23ZL.js.map → geneVariant-LEMAVFOY.js.map} +0 -0
  822. /package/dist/{geneVariant-7TLTYMRN.js.map → geneVariant-NNSB7JLS.js.map} +0 -0
  823. /package/dist/{geneVariant.integration.spec-EWVEPYWR.js.map → geneVariant.integration.spec-6CC5UAOP.js.map} +0 -0
  824. /package/dist/{genefusion.ui-CQMINB6C.js.map → genefusion.ui-5NCQIQPN.js.map} +0 -0
  825. /package/dist/{geneset-DB2UIWDN.js.map → geneset-ZX4V3CFB.js.map} +0 -0
  826. /package/dist/{genomeBrowser.spec-5PPCZGJY.js.map → genomeBrowser.spec-J7ISXY6H.js.map} +0 -0
  827. /package/dist/{grin2-CRHH7XQL.js.map → grin2-GN3DQNON.js.map} +0 -0
  828. /package/dist/{grin2-6FKWST7P.js.map → grin2-LBGBBB4L.js.map} +0 -0
  829. /package/dist/{hierCluster-LVVQUFIA.js.map → hierCluster-5JURTKAZ.js.map} +0 -0
  830. /package/dist/{hierCluster-N4BWRDRD.js.map → hierCluster-BJ5VBPXR.js.map} +0 -0
  831. /package/dist/{hierCluster.config-RXYYXEKK.js.map → hierCluster.config-4EERP4KK.js.map} +0 -0
  832. /package/dist/{hierCluster.integration.spec-32ELKHGP.js.map → hierCluster.integration.spec-VR4GULRV.js.map} +0 -0
  833. /package/dist/{hierCluster.interactivity-O5PWSGD7.js.map → hierCluster.interactivity-SMTQOKUY.js.map} +0 -0
  834. /package/dist/{hierCluster.renderers-E6FQE2DK.js.map → hierCluster.renderers-PAME7BWU.js.map} +0 -0
  835. /package/dist/{imagePlot-CJJPFFND.js.map → imagePlot-4LMIKBVE.js.map} +0 -0
  836. /package/dist/{importPlot-IT2VCT3E.js.map → importPlot-3CG6ASNH.js.map} +0 -0
  837. /package/dist/{isoformExpression-MB7VXNYL.js.map → isoformExpression-VCDNKTZ6.js.map} +0 -0
  838. /package/dist/{isoformExpression.unit.spec-WBGH5T22.js.map → isoformExpression.unit.spec-ZXYY37TA.js.map} +0 -0
  839. /package/dist/{junction-RUMI5YFR.js.map → junction-5DXJO4PS.js.map} +0 -0
  840. /package/dist/{junction.customTerm-LBVLFTOA.js.map → junction.customTerm-UOPUSEOE.js.map} +0 -0
  841. /package/dist/{junction.unit.spec-VU665JWH.js.map → junction.unit.spec-F35E3GJW.js.map} +0 -0
  842. /package/dist/{launch.adhoc-PG2VDOP5.js.map → launch.adhoc-V2HTCQGD.js.map} +0 -0
  843. /package/dist/{leftlabel.sample-O4EI4FEW.js.map → leftlabel.sample-V7O2EC36.js.map} +0 -0
  844. /package/dist/{lollipop-LWQ3ZPUC.js.map → lollipop-RNRZLG64.js.map} +0 -0
  845. /package/dist/{maf-Z7IN4HAW.js.map → maf-W6SF6BJS.js.map} +0 -0
  846. /package/dist/{maftimeline-AQLIVUW3.js.map → maftimeline-NABCAMHG.js.map} +0 -0
  847. /package/dist/{matrix-LTXFBGFW.js.map → matrix-JC6AJT2N.js.map} +0 -0
  848. /package/dist/{matrix-W2XR54DY.js.map → matrix-UCHESWVK.js.map} +0 -0
  849. /package/dist/{matrix.cells-F44JHGOO.js.map → matrix.cells-B4L42TBM.js.map} +0 -0
  850. /package/dist/{matrix.config-Y5OUBSEC.js.map → matrix.config-6US3AAH7.js.map} +0 -0
  851. /package/dist/{matrix.data-VLIW75OR.js.map → matrix.data-FYFXYDA3.js.map} +0 -0
  852. /package/dist/{matrix.groups-QEWUDMPF.js.map → matrix.groups-Y7DEG3GS.js.map} +0 -0
  853. /package/dist/{matrix.integration.spec-24DH4HNF.js.map → matrix.integration.spec-KXX7SFX5.js.map} +0 -0
  854. /package/dist/{matrix.interactivity-R3BQYXAY.js.map → matrix.interactivity-NHWG4WCC.js.map} +0 -0
  855. /package/dist/{matrix.layout-TENBEUJ6.js.map → matrix.layout-5DQNT7DD.js.map} +0 -0
  856. /package/dist/{matrix.legend-E35GDZWD.js.map → matrix.legend-OY7IF6AS.js.map} +0 -0
  857. /package/dist/{matrix.renderers-CMPAIUYT.js.map → matrix.renderers-GYOXGHPU.js.map} +0 -0
  858. /package/dist/{matrix.serieses-GXVQBJML.js.map → matrix.serieses-657TLDAV.js.map} +0 -0
  859. /package/dist/{matrix.sort-VQS6E6S5.js.map → matrix.sort-IMA2ES3T.js.map} +0 -0
  860. /package/dist/{matrix.sort.unit.spec-P5C6EVDC.js.map → matrix.sort.unit.spec-S6BAFYPR.js.map} +0 -0
  861. /package/dist/{matrix.sorterUi-4R2TVBUJ.js.map → matrix.sorterUi-77F36Q5H.js.map} +0 -0
  862. /package/dist/{matrix.sorterUi.unit.spec-UMI2N2OG.js.map → matrix.sorterUi.unit.spec-V5NVQGD5.js.map} +0 -0
  863. /package/dist/{matrix.unit.spec-HSA7OWME.js.map → matrix.unit.spec-R4NMTZYQ.js.map} +0 -0
  864. /package/dist/{mavb-ZARQZJJR.js.map → mavb-MRCVMBPD.js.map} +0 -0
  865. /package/dist/{mds.fimo-YRNNY5KA.js.map → mds.fimo-5DCH5BEM.js.map} +0 -0
  866. /package/dist/{mds.samplescatterplot-ESIALOMA.js.map → mds.samplescatterplot-VIBCS5M6.js.map} +0 -0
  867. /package/dist/{mds.survivalplot-5E6ITKIU.js.map → mds.survivalplot-AZ7LJDZZ.js.map} +0 -0
  868. /package/dist/{multivalue-CT2QWWB4.js.map → multivalue-4QKGYYW2.js.map} +0 -0
  869. /package/dist/{numericDictTermCluster-CRVSJ6PI.js.map → numericDictTermCluster-GLLG6IK2.js.map} +0 -0
  870. /package/dist/{oncomatrix-MX5EHBNW.js.map → oncomatrix-R32ZPMX7.js.map} +0 -0
  871. /package/dist/{oncomatrix.spec-DN2RAWGZ.js.map → oncomatrix.spec-BMK6LMBS.js.map} +0 -0
  872. /package/dist/{plot.2dvaf-B5QAKDTK.js.map → plot.2dvaf-46FT53MF.js.map} +0 -0
  873. /package/dist/{plot.app-V5DZWC6N.js.map → plot.app-7EE4YCV4.js.map} +0 -0
  874. /package/dist/{plot.barplot-VAJLAU7H.js.map → plot.barplot-FK4J2G7K.js.map} +0 -0
  875. /package/dist/{plot.boxplot-PT3BUNVT.js.map → plot.boxplot-ATY4LK3X.js.map} +0 -0
  876. /package/dist/{plot.brainImaging-2WB7XJJM.js.map → plot.brainImaging-S7B547V4.js.map} +0 -0
  877. /package/dist/{plot.disco-64IPBCII.js.map → plot.disco-K5MMC2GD.js.map} +0 -0
  878. /package/dist/{plot.ssgq-ET4OBMUM.js.map → plot.ssgq-B3OVMZFD.js.map} +0 -0
  879. /package/dist/{plot.vaf2cov-DGMVJ7UN.js.map → plot.vaf2cov-RBHDQULW.js.map} +0 -0
  880. /package/dist/{polar2-CWWDVNZQ.js.map → polar2-GECELCTG.js.map} +0 -0
  881. /package/dist/{profileForms-FM7D4WO2.js.map → profileForms-2USYOA34.js.map} +0 -0
  882. /package/dist/{profilePlot-LQ6K4EXX.js.map → profilePlot-YGD2CF6P.js.map} +0 -0
  883. /package/dist/{pseudbulk.unit.spec-IAONX4QR.js.map → pseudbulk.unit.spec-UVVRP6NR.js.map} +0 -0
  884. /package/dist/{pseudobulk-NIX4JOOZ.js.map → pseudobulk-ZIN5VJGB.js.map} +0 -0
  885. /package/dist/{qualitative-M3XSQZA2.js.map → qualitative-27BZGASV.js.map} +0 -0
  886. /package/dist/{qualitative-GLTKWA6H.js.map → qualitative-N4F6NITI.js.map} +0 -0
  887. /package/dist/{radar2-JBULXNFQ.js.map → radar2-X465RPJX.js.map} +0 -0
  888. /package/dist/{radarFacility2-YYIBHZCY.js.map → radarFacility2-AE7BA62N.js.map} +0 -0
  889. /package/dist/{rememberedGvQ.unit.spec-YJV6DVPN.js.map → rememberedGvQ.unit.spec-4PDIU5RY.js.map} +0 -0
  890. /package/dist/{render-ZCH7R3WL.js.map → render-TD2QWOHT.js.map} +0 -0
  891. /package/dist/{report-YPIAIMND.js.map → report-3Y2OWDF7.js.map} +0 -0
  892. /package/dist/{sampleView-K4GSYMAE.js.map → sampleView-BUMMYRHJ.js.map} +0 -0
  893. /package/dist/{samplelst-F2SLVHFP.js.map → samplelst-BWK53BLI.js.map} +0 -0
  894. /package/dist/{samplematrix-Z6F4F7YN.js.map → samplematrix-RQU43UYR.js.map} +0 -0
  895. /package/dist/{sc-UM7SEGED.js.map → sc-LCBFWCZZ.js.map} +0 -0
  896. /package/dist/{scatter-63XRRLGP.js.map → scatter-6S5I7OW3.js.map} +0 -0
  897. /package/dist/{scatter-HFTYLGDP.js.map → scatter-MJELX75N.js.map} +0 -0
  898. /package/dist/{selectGenomeWithTklst-PJNALPM2.js.map → selectGenomeWithTklst-WAVXHXR5.js.map} +0 -0
  899. /package/dist/{singleCellCellType-HR3R6KBD.js.map → singleCellCellType-WMCAJ7JF.js.map} +0 -0
  900. /package/dist/{singleCellCellType.unit.spec-VK57HQ2O.js.map → singleCellCellType.unit.spec-4Z46ZT5Q.js.map} +0 -0
  901. /package/dist/{singleCellGeneExpression-VWOA7MLN.js.map → singleCellGeneExpression-7Q5ZJT4R.js.map} +0 -0
  902. /package/dist/{singleCellGeneExpression.unit.spec-YP64T3XD.js.map → singleCellGeneExpression.unit.spec-6C7PDGRH.js.map} +0 -0
  903. /package/dist/{singleCellNumericValue-3VIUPYPB.js.map → singleCellNumericValue-QGYITZRC.js.map} +0 -0
  904. /package/dist/{singleCellNumericValue.unit.spec-VR5ICRQA.js.map → singleCellNumericValue.unit.spec-MQUKPEZJ.js.map} +0 -0
  905. /package/dist/{singleCellPlot-36QDY7VL.js.map → singleCellPlot-JJMFJ2KQ.js.map} +0 -0
  906. /package/dist/{singlecell-EXEOLJ3J.js.map → singlecell-J23S3JR2.js.map} +0 -0
  907. /package/dist/{singlecell-D2MZVFR4.js.map → singlecell-Y4OGUWEC.js.map} +0 -0
  908. /package/dist/{snp-XHEHXZMB.js.map → snp-IO6TKWGD.js.map} +0 -0
  909. /package/dist/{snp.unit.spec-YR6IDLL7.js.map → snp.unit.spec-X7ILEEPO.js.map} +0 -0
  910. /package/dist/{snplocus-BM7LUK2U.js.map → snplocus-Z2NGIKMO.js.map} +0 -0
  911. /package/dist/{snplst-22VSEZ7R.js.map → snplst-XCS2FCQV.js.map} +0 -0
  912. /package/dist/{spliceevent.a53ss.diagram-KERTJ3QA.js.map → spliceevent.a53ss.diagram-F3S4BRVG.js.map} +0 -0
  913. /package/dist/{spliceevent.exonskip.diagram-K74VIUA4.js.map → spliceevent.exonskip.diagram-AXCDJKH4.js.map} +0 -0
  914. /package/dist/{spliceevent.noeventdiagram-W7WGSVVL.js.map → spliceevent.noeventdiagram-UK3X667E.js.map} +0 -0
  915. /package/dist/{ssGSEA-XDEA5TVX.js.map → ssGSEA-ZRPNQKJ5.js.map} +0 -0
  916. /package/dist/{ssGSEA.unit.spec-RDCPXJ5S.js.map → ssGSEA.unit.spec-DG5ZHLC7.js.map} +0 -0
  917. /package/dist/{stattable-HZ3DOUEM.js.map → stattable-XYSC3CYU.js.map} +0 -0
  918. /package/dist/{summarizeCnvGeneexp-VB4SOJHT.js.map → summarizeCnvGeneexp-H2NP7VLU.js.map} +0 -0
  919. /package/dist/{summarizeGeneexpSurvival-5ZWIJ6O4.js.map → summarizeGeneexpSurvival-HTCD3VQQ.js.map} +0 -0
  920. /package/dist/{summarizeMutationCnv-MBPU64C5.js.map → summarizeMutationCnv-UEGXWK2P.js.map} +0 -0
  921. /package/dist/{summarizeMutationDiagnosis-QRP4ITNL.js.map → summarizeMutationDiagnosis-MJGWP7IT.js.map} +0 -0
  922. /package/dist/{summarizeMutationSurvival-SSXAY5W4.js.map → summarizeMutationSurvival-55JW5LA6.js.map} +0 -0
  923. /package/dist/{summary-SRESZS4Z.js.map → summary-HJO23RGB.js.map} +0 -0
  924. /package/dist/{summary.integration.spec-3V2CEPJM.js.map → summary.integration.spec-OWI2C2N5.js.map} +0 -0
  925. /package/dist/{summaryInput-3VD4KBCU.js.map → summaryInput-RL2JXRDE.js.map} +0 -0
  926. /package/dist/{sunburst-E5IEQQUV.js.map → sunburst-JFY6V5E2.js.map} +0 -0
  927. /package/dist/{survival-H4HYC6GC.js.map → survival-6FLR4YCJ.js.map} +0 -0
  928. /package/dist/{survival-K5WWAELO.js.map → survival-PBBU6PA5.js.map} +0 -0
  929. /package/dist/{survival.integration.spec-SPN2TSQW.js.map → survival.integration.spec-WAKTGYGP.js.map} +0 -0
  930. /package/dist/{svgraph-USRAYSBN.js.map → svgraph-WD3DUZV7.js.map} +0 -0
  931. /package/dist/{svmr-MOKLLJKJ.js.map → svmr-AP6ZFO7S.js.map} +0 -0
  932. /package/dist/{table-WD3P3WL2.js.map → table-GX3VJLPZ.js.map} +0 -0
  933. /package/dist/{termCollection-JU4OJRWD.js.map → termCollection-QE7U5QBD.js.map} +0 -0
  934. /package/dist/{termCollection-VWS5CKVH.js.map → termCollection-YQ332WKB.js.map} +0 -0
  935. /package/dist/{termCollection.unit.spec-TPUJWKKW.js.map → termCollection.unit.spec-ELLN7VRA.js.map} +0 -0
  936. /package/dist/{termCollectionFractionSelection-UWLHDPX2.js.map → termCollectionFractionSelection-V3RP5KAT.js.map} +0 -0
  937. /package/dist/{termCollectionFractionSelection.unit.spec-RBHJY34K.js.map → termCollectionFractionSelection.unit.spec-JR7Q7TJI.js.map} +0 -0
  938. /package/dist/{tk-OAOVCATS.js.map → tk-GD2KJM5W.js.map} +0 -0
  939. /package/dist/{tk-SMOGJUD7.js.map → tk-J5VPFEX6.js.map} +0 -0
  940. /package/dist/{tp.ui-EMWJCGRX.js.map → tp.ui-5K3AAXDW.js.map} +0 -0
  941. /package/dist/{tvs.categorical-A7J4RIKL.js.map → tvs.categorical-RPACB4VU.js.map} +0 -0
  942. /package/dist/{tvs.condition-HFLZES5E.js.map → tvs.condition-O6JBUM6D.js.map} +0 -0
  943. /package/dist/{tvs.dt-GBYX2RWX.js.map → tvs.dt-5EVBSRX3.js.map} +0 -0
  944. /package/dist/{tvs.dtcnv.categorical-X2K3MIPG.js.map → tvs.dtcnv.categorical-Y5YHBZNC.js.map} +0 -0
  945. /package/dist/{tvs.dtcnv.continuous-5EMX4PBP.js.map → tvs.dtcnv.continuous-WP322QUP.js.map} +0 -0
  946. /package/dist/{tvs.dtfusion-7VVSPNRK.js.map → tvs.dtfusion-CCMUFDMQ.js.map} +0 -0
  947. /package/dist/{tvs.dtitd-2YGFPXOY.js.map → tvs.dtitd-P3ED3MWA.js.map} +0 -0
  948. /package/dist/{tvs.dtsnvindel-EISO52O6.js.map → tvs.dtsnvindel-X2MXPLC6.js.map} +0 -0
  949. /package/dist/{tvs.dtsv-RTAMAW3G.js.map → tvs.dtsv-4FOWFNVV.js.map} +0 -0
  950. /package/dist/{tvs.multivalue-5N6PSG4L.js.map → tvs.multivalue-IRF467ZK.js.map} +0 -0
  951. /package/dist/{tvs.numeric-R5UT7ARM.js.map → tvs.numeric-C7FDCGCS.js.map} +0 -0
  952. /package/dist/{tvs.samplelst-SZDNNFK5.js.map → tvs.samplelst-CBU6ATI5.js.map} +0 -0
  953. /package/dist/{tvs.survival-EUUDDXP7.js.map → tvs.survival-3K5ASAXV.js.map} +0 -0
  954. /package/dist/{tvs.termCollection-DAHEYZK2.js.map → tvs.termCollection-MXEWO6KJ.js.map} +0 -0
  955. /package/dist/{vocabulary-P4XRHR34.js.map → vocabulary-GQBHDP3K.js.map} +0 -0
  956. /package/dist/{wsi.direct-J7VX5EMI.js.map → wsi.direct-25JUHWEF.js.map} +0 -0
@@ -1,2260 +0,0 @@
1
- import {
2
- convertUnits,
3
- isNumeric,
4
- isStrictNumeric
5
- } from "./chunk-W5J3LTYS.js";
6
- import {
7
- isNumericTerm
8
- } from "./chunk-DBOJ3TMI.js";
9
- import {
10
- ISOFORM_EXPRESSION,
11
- SINGLECELL_CELLTYPE,
12
- SINGLECELL_GENE_EXPRESSION,
13
- TermTypes,
14
- dtcnv,
15
- dtfusionrna,
16
- dtitd,
17
- dtsnvindel,
18
- dtsv,
19
- getColors,
20
- mclass,
21
- mclassdeletion,
22
- mclassinsertion,
23
- mclassitd,
24
- mclassmnv,
25
- mclassnonstandard,
26
- mclasssnv,
27
- morigingermline,
28
- morigingermlinenonpathogenic,
29
- morigingermlinepathogenic,
30
- moriginrelapse,
31
- moriginsomatic,
32
- vepinfo
33
- } from "./chunk-EZFO5UYD.js";
34
- import {
35
- deepFreeze,
36
- sleep
37
- } from "./chunk-HBNB5TRH.js";
38
- import {
39
- format
40
- } from "./chunk-4OLM3KSB.js";
41
- import {
42
- select_default
43
- } from "./chunk-I6Y4O3RR.js";
44
- import {
45
- __commonJS,
46
- __toESM
47
- } from "./chunk-HS5PO5ZQ.js";
48
-
49
- // ../node_modules/secure-json-parse/index.js
50
- var require_secure_json_parse = __commonJS({
51
- "../node_modules/secure-json-parse/index.js"(exports, module) {
52
- "use strict";
53
- var hasBuffer = typeof Buffer !== "undefined";
54
- var suspectProtoRx = /"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/;
55
- var suspectConstructorRx = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;
56
- function _parse(text, reviver, options) {
57
- if (options == null) {
58
- if (reviver !== null && typeof reviver === "object") {
59
- options = reviver;
60
- reviver = void 0;
61
- }
62
- }
63
- if (hasBuffer && Buffer.isBuffer(text)) {
64
- text = text.toString();
65
- }
66
- if (text && text.charCodeAt(0) === 65279) {
67
- text = text.slice(1);
68
- }
69
- const obj = JSON.parse(text, reviver);
70
- if (obj === null || typeof obj !== "object") {
71
- return obj;
72
- }
73
- const protoAction = options && options.protoAction || "error";
74
- const constructorAction = options && options.constructorAction || "error";
75
- if (protoAction === "ignore" && constructorAction === "ignore") {
76
- return obj;
77
- }
78
- if (protoAction !== "ignore" && constructorAction !== "ignore") {
79
- if (suspectProtoRx.test(text) === false && suspectConstructorRx.test(text) === false) {
80
- return obj;
81
- }
82
- } else if (protoAction !== "ignore" && constructorAction === "ignore") {
83
- if (suspectProtoRx.test(text) === false) {
84
- return obj;
85
- }
86
- } else {
87
- if (suspectConstructorRx.test(text) === false) {
88
- return obj;
89
- }
90
- }
91
- return filter(obj, { protoAction, constructorAction, safe: options && options.safe });
92
- }
93
- function filter(obj, { protoAction = "error", constructorAction = "error", safe } = {}) {
94
- let next = [obj];
95
- while (next.length) {
96
- const nodes = next;
97
- next = [];
98
- for (const node of nodes) {
99
- if (protoAction !== "ignore" && Object.prototype.hasOwnProperty.call(node, "__proto__")) {
100
- if (safe === true) {
101
- return null;
102
- } else if (protoAction === "error") {
103
- throw new SyntaxError("Object contains forbidden prototype property");
104
- }
105
- delete node.__proto__;
106
- }
107
- if (constructorAction !== "ignore" && Object.prototype.hasOwnProperty.call(node, "constructor") && node.constructor !== null && typeof node.constructor === "object" && Object.prototype.hasOwnProperty.call(node.constructor, "prototype")) {
108
- if (safe === true) {
109
- return null;
110
- } else if (constructorAction === "error") {
111
- throw new SyntaxError("Object contains forbidden prototype property");
112
- }
113
- delete node.constructor;
114
- }
115
- for (const key in node) {
116
- const value = node[key];
117
- if (value && typeof value === "object") {
118
- next.push(value);
119
- }
120
- }
121
- }
122
- }
123
- return obj;
124
- }
125
- function parse(text, reviver, options) {
126
- const { stackTraceLimit } = Error;
127
- Error.stackTraceLimit = 0;
128
- try {
129
- return _parse(text, reviver, options);
130
- } finally {
131
- Error.stackTraceLimit = stackTraceLimit;
132
- }
133
- }
134
- function safeParse(text, reviver) {
135
- const { stackTraceLimit } = Error;
136
- Error.stackTraceLimit = 0;
137
- try {
138
- return _parse(text, reviver, { safe: true });
139
- } catch {
140
- return void 0;
141
- } finally {
142
- Error.stackTraceLimit = stackTraceLimit;
143
- }
144
- }
145
- module.exports = parse;
146
- module.exports.default = parse;
147
- module.exports.parse = parse;
148
- module.exports.safeParse = safeParse;
149
- module.exports.scan = filter;
150
- }
151
- });
152
-
153
- // ../shared/utils/dist/src/boxplot.js
154
- function boxplot_getvalue(lst, removeOutliers = false) {
155
- const l = lst.length;
156
- if (l < 5) return { out: lst };
157
- const isN = typeof lst[0] === "number";
158
- const valueOf = isN ? (item) => item : (item) => item.value;
159
- const p50 = valueOf(lst[Math.floor(l / 2)]);
160
- const p25 = valueOf(lst[Math.floor(l / 4)]);
161
- const p75 = valueOf(lst[Math.floor(l * 3 / 4)]);
162
- const p05 = valueOf(lst[Math.floor(l * 0.05)]);
163
- const p95 = valueOf(lst[Math.floor(l * 0.95)]);
164
- const iqr = p75 - p25;
165
- let w1, w2;
166
- if (iqr === 0) {
167
- w1 = p25;
168
- w2 = p25;
169
- } else {
170
- const i = lst.findIndex((item) => valueOf(item) > p25 - iqr * 1.5);
171
- w1 = valueOf(lst[i === -1 ? 0 : i]);
172
- const j = lst.findIndex((item) => valueOf(item) > p75 + iqr * 1.5);
173
- w2 = valueOf(lst[j === -1 ? l - 1 : j - 1]);
174
- }
175
- const out = removeOutliers ? [] : lst.filter((item) => valueOf(item) < p25 - iqr * 1.5 || valueOf(item) > p75 + iqr * 1.5);
176
- return { w1, w2, p05, p25, p50, p75, p95, iqr, out };
177
- }
178
-
179
- // ../shared/utils/dist/src/bulk.js
180
- function init_bulk_flag(genome) {
181
- if (!genome) {
182
- return null;
183
- }
184
- const mclasslabel2key2 = {};
185
- for (const n in mclass) {
186
- mclasslabel2key2[mclass[n].label.toUpperCase()] = n;
187
- }
188
- return {
189
- genome,
190
- mclasslabel2key: mclasslabel2key2,
191
- data: {},
192
- // m.sample/m.patient come from parsed file lines; use null-prototype objects so a
193
- // value of "__proto__"/"constructor" cannot pollute Object.prototype
194
- sample2disease: /* @__PURE__ */ Object.create(null),
195
- // (proof) k: sample, v: disease
196
- // will only record this when origin is used
197
- patient2st: /* @__PURE__ */ Object.create(null),
198
- // k: patient, v: { k: sampletype, v: sample }
199
- // new sample names always override old
200
- good: 0,
201
- geneToUpper: true,
202
- // option to not force uppercase on gene names
203
- snv: {
204
- loaded: false,
205
- header: null,
206
- badlines: [],
207
- // jinghui: based on missense/silent ratio of entire dataset to decide whether to include silent when importing...
208
- // hard-coded class codes
209
- missense: 0,
210
- silent: 0
211
- },
212
- svjson: {
213
- loaded: false,
214
- header: null,
215
- badlines: []
216
- },
217
- fusion: {
218
- loaded: false,
219
- header: null,
220
- badlines: [],
221
- original: []
222
- },
223
- sv: {
224
- loaded: false,
225
- header: null,
226
- badlines: [],
227
- original: []
228
- },
229
- cnv: {
230
- loaded: false,
231
- header: null,
232
- badlines: []
233
- },
234
- itd: {
235
- loaded: false,
236
- header: null,
237
- badlines: []
238
- },
239
- del: {
240
- loaded: false,
241
- header: null,
242
- badlines: []
243
- },
244
- truncation: {
245
- loaded: false,
246
- header: null,
247
- badlines: []
248
- }
249
- };
250
- }
251
- function parsesample(m, flag, i, lst) {
252
- let variantorigin = moriginsomatic;
253
- if (m.sampletype) {
254
- const s = m.sampletype.toLowerCase();
255
- switch (s) {
256
- case "relapse":
257
- variantorigin = moriginrelapse;
258
- break;
259
- case "germline":
260
- variantorigin = morigingermline;
261
- break;
262
- case "somatic":
263
- case "diagnosis":
264
- break;
265
- }
266
- if (m.sample) {
267
- if (m.patient) {
268
- } else {
269
- m.patient = m.sample + " " + m.sampletype;
270
- }
271
- } else {
272
- if (m.patient) {
273
- m.sample = m.patient + " " + m.sampletype;
274
- } else {
275
- }
276
- }
277
- } else {
278
- if (m.patient) {
279
- if (m.sample) {
280
- m.sampletype = m.sample;
281
- } else {
282
- m.sample = m.sampletype = m.patient;
283
- }
284
- } else {
285
- if (m.sample) {
286
- m.sampletype = m.sample;
287
- } else {
288
- }
289
- }
290
- }
291
- if (m.origin) {
292
- const s = m.origin.toLowerCase();
293
- switch (s) {
294
- case "r":
295
- case "relapse":
296
- variantorigin = moriginrelapse;
297
- m.isrim2 = true;
298
- break;
299
- case "g":
300
- case "germline":
301
- variantorigin = morigingermline;
302
- m.isrim1 = true;
303
- break;
304
- case "gp":
305
- case "germline pathogenic":
306
- variantorigin = morigingermlinepathogenic;
307
- m.isrim1 = true;
308
- break;
309
- case "gnp":
310
- case "germline nonpathogenic":
311
- case "germline non-pathogenic":
312
- variantorigin = morigingermlinenonpathogenic;
313
- m.isrim1 = true;
314
- break;
315
- case "s":
316
- case "somatic":
317
- case "diagnosis":
318
- variantorigin = moriginsomatic;
319
- break;
320
- }
321
- }
322
- m.origin = variantorigin;
323
- if (!m.sample && !m.patient) {
324
- return;
325
- }
326
- const nopatientname = "no patient/individual name";
327
- if (m.patient) {
328
- if (!flag.patient2st[m.patient]) {
329
- flag.patient2st[m.patient] = /* @__PURE__ */ Object.create(null);
330
- }
331
- flag.patient2st[m.patient][m.sampletype] = m.sample;
332
- } else {
333
- if (!flag.patient2st[nopatientname]) {
334
- flag.patient2st[nopatientname] = /* @__PURE__ */ Object.create(null);
335
- }
336
- flag.patient2st[nopatientname][m.sampletype] = m.sample;
337
- }
338
- if (m.sample) {
339
- if (m.disease) {
340
- if (m.sample in flag.sample2disease) {
341
- if (m.disease != flag.sample2disease[m.sample]) {
342
- flag.snv.badlines.push([
343
- i,
344
- 'conflict of disease types for sample "' + m.sample + '": ' + m.disease + ", " + flag.sample2disease[m.sample],
345
- lst
346
- ]);
347
- return true;
348
- }
349
- } else {
350
- flag.sample2disease[m.sample] = m.disease;
351
- }
352
- }
353
- }
354
- return false;
355
- }
356
-
357
- // ../shared/utils/dist/src/clustering.js
358
- var clusterMethodLst = [
359
- {
360
- label: "Average",
361
- value: "average",
362
- title: `Cluster by average value`
363
- },
364
- {
365
- label: `Complete`,
366
- value: "complete",
367
- title: `Use the complete clustering method`
368
- },
369
- {
370
- label: `Single`,
371
- value: "single",
372
- title: `Use the single clustering method`
373
- },
374
- {
375
- label: `Ward.D`,
376
- value: "ward.D",
377
- title: `Use the ward.D clustering method`
378
- },
379
- {
380
- label: `Ward.D2`,
381
- value: "ward.D2",
382
- title: `Use the ward.D2 clustering method`
383
- },
384
- {
385
- label: `Mcquitty`,
386
- value: "mcquitty",
387
- title: `Use the Mcquity clustering method`
388
- }
389
- /* These methods are currently disabled because the dendrogram lines tend to cross one another.
390
- {
391
- label: `Centroid`,
392
- value: 'centroid',
393
- title: `Use the centroid clustering method`
394
- },
395
- {
396
- label: `Median`,
397
- value: 'median',
398
- title: `Use the median clustering method`
399
- }
400
- */
401
- ];
402
- var distanceMethodLst = [
403
- {
404
- label: "Euclidean",
405
- value: "euclidean",
406
- title: `Calculate distance using euclidean method`
407
- },
408
- {
409
- label: "Maximum",
410
- value: "maximum",
411
- title: `Maximum distance between two components of x and y`
412
- },
413
- {
414
- label: "Manhattan",
415
- value: "manhattan",
416
- title: `Calculate distance using the absolute distance between the two vectors`
417
- },
418
- {
419
- label: "Canberra",
420
- value: "canberra",
421
- title: `Calculate distance using Canberra method`
422
- }
423
- ];
424
-
425
- // ../shared/utils/dist/src/dmrColors.js
426
- var HYPER_COLOR = "#e66101";
427
- var HYPO_COLOR = "#5e81f4";
428
-
429
- // ../shared/utils/dist/src/compute.percentile.js
430
- function computePercentile(values, percentile, sorted = false) {
431
- if (!sorted) values.sort((a, b) => a - b);
432
- const index = Math.abs(percentile / 100 * values.length - 1);
433
- const value = Number.isInteger(index) ? (values[index] + values[index + 1]) / 2 : values[Math.ceil(index)];
434
- return value;
435
- }
436
-
437
- // ../shared/utils/dist/src/hash.js
438
- var encoder = new TextEncoder();
439
- async function hash(message) {
440
- const msgUint8 = encoder.encode(message);
441
- const hashBuffer = await crypto.subtle.digest("SHA-1", msgUint8);
442
- const hashArray = Array.from(new Uint8Array(hashBuffer));
443
- const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
444
- return hexToBase64(hashHex).replace("=", "-");
445
- }
446
- function hexToBase64(hexStr) {
447
- return btoa(
448
- [...hexStr].reduce(
449
- (acc, _, i) => acc += !(i - 1 & 1) ? String.fromCharCode(parseInt(hexStr.substring(i - 1, i + 1), 16)) : "",
450
- ""
451
- )
452
- );
453
- }
454
-
455
- // ../shared/utils/dist/src/urljson.js
456
- var import_secure_json_parse = __toESM(require_secure_json_parse(), 1);
457
- var reserved = ["false", "true", "null", "undefined"];
458
- var delimiters = ['"', "{", "["];
459
- function encode(rawObject) {
460
- const params = [];
461
- for (const [key, value] of Object.entries(rawObject)) {
462
- if (typeof value == "string" && !isNumeric(value) && !reserved.includes(value) && !delimiters.includes(value[0])) {
463
- params.push(`${key}=${encodeURIComponent(value)}`);
464
- } else if (value !== void 0) {
465
- params.push(`${key}=${encodeURIComponent(JSON.stringify(value))}`);
466
- }
467
- }
468
- return params.join("&");
469
- }
470
-
471
- // ../shared/utils/dist/src/fetch-helpers.js
472
- async function processResponse(r) {
473
- const ct = r.headers.get("content-type");
474
- if (!ct) throw `missing response.header['content-type']`;
475
- if (ct.includes("/json")) {
476
- const payload = await r.json();
477
- return payload;
478
- }
479
- if (ct.includes("/text") || ct.includes("text/")) {
480
- return r.text();
481
- }
482
- if (ct.includes("multipart")) {
483
- if (ct.startsWith("multipart/form-data")) return processFormData(r);
484
- else throw `cannot handle response content-type: '${ct}'`;
485
- }
486
- if (ct == "application/x-ndjson-nestedkey") {
487
- return processNDJSON_nestedKey(r);
488
- }
489
- return r.blob();
490
- }
491
- async function processFormData(res) {
492
- const data = {};
493
- const form = await res.formData();
494
- for (const [key, value] of form.entries()) {
495
- if (value.type) {
496
- data[key] = { headers: { "content-type": value.type }, body: value };
497
- } else {
498
- const body = !value ? [] : value.trim().split("\n").map(JSON.parse);
499
- data[key] = { headers: { "content-type": "application/json" }, body };
500
- }
501
- }
502
- return data;
503
- }
504
- async function processNDJSON_nestedKey(r) {
505
- const stream = r.body.pipeThrough(new TextDecoderStream());
506
- const reader = stream.getReader();
507
- let rootObj = {};
508
- let buffer = "";
509
- let done = false;
510
- while (!done) {
511
- const readResult = await reader.read();
512
- done = readResult.done;
513
- if (done) break;
514
- const value = readResult.value;
515
- buffer += value;
516
- const parts = buffer.split("\n");
517
- buffer = parts.pop() ?? "";
518
- for (const line of parts) {
519
- if (line.trim()) {
520
- const [keys, data] = JSON.parse(line);
521
- if (!keys.length) rootObj = data;
522
- else {
523
- const lastKey = keys.pop();
524
- let target = rootObj;
525
- for (const k of keys) target = target[k];
526
- target[lastKey] = data;
527
- }
528
- }
529
- }
530
- }
531
- return rootObj;
532
- }
533
- var cacheLifetime = 1e3 * 60 * 5;
534
- async function getDataName(url, init) {
535
- const dataName = url + " | " + init.method + " | " + init.body + " | " + JSON.stringify(init.headers);
536
- return await hash(dataName);
537
- }
538
-
539
- // ../shared/utils/dist/src/fileSize.js
540
- function fileSize(v) {
541
- if (v > 1e9) return (v / 1e9).toFixed(2) + " GB";
542
- if (v > 1e6) return (v / 1e6).toFixed(2) + " MB";
543
- if (v > 1e3) return (v / 1e3).toFixed(2) + " KB";
544
- return v + " Bytes";
545
- }
546
-
547
- // ../shared/utils/dist/src/mds3tk.js
548
- var ssmIdFieldsSeparator = "__";
549
- function summarize_mclass(mlst) {
550
- const m2c = /* @__PURE__ */ new Map();
551
- const cnvs = [];
552
- for (const m of mlst) {
553
- if (m.dt == dtcnv) {
554
- cnvs.push(m);
555
- continue;
556
- }
557
- const key = m.class || m.dt;
558
- m2c.set(key, 1 + (m2c.get(key) || 0));
559
- }
560
- if (cnvs.length) {
561
- if (Number.isFinite(cnvs[0].value)) {
562
- m2c.set(dtcnv, cnvs.length);
563
- } else {
564
- for (const c of cnvs) {
565
- if (!c.class) continue;
566
- m2c.set(c.class, 1 + (m2c.get(c.class) || 0));
567
- }
568
- }
569
- }
570
- return [...m2c].sort((i, j) => j[1] - i[1]);
571
- }
572
- function guessSsmid(ssmid) {
573
- const l = ssmid.split(ssmIdFieldsSeparator);
574
- if (l.length == 4) {
575
- const [chr, tmp, ref, alt] = l;
576
- const pos = Number(tmp);
577
- if (Number.isNaN(pos)) throw "ssmid snvindel pos not integer";
578
- return { dt: dtsnvindel, l: [chr, pos, ref, alt] };
579
- }
580
- if (l.length == 5) {
581
- const [chr, _start, _stop, _class, _value] = l;
582
- const start = Number(_start), stop = Number(_stop);
583
- if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
584
- const value = _value == "" ? null : Number(_value);
585
- if (_class == mclassitd) {
586
- return { dt: dtitd, l: [chr, start, stop, _class, value] };
587
- }
588
- return { dt: dtcnv, l: [chr, start, stop, _class, value] };
589
- }
590
- if (l.length == 6) {
591
- if (l[3] == "+" || l[3] == "-") {
592
- const [_dt, chr2, _pos, strand, _pi, _mname] = l;
593
- const mname = decodeURIComponent(_mname);
594
- const dt = Number(_dt);
595
- if (dt != dtsv && dt != dtfusionrna) throw "ssmid dt not sv/fusion";
596
- const pos = Number(_pos);
597
- if (Number.isNaN(pos)) throw "ssmid svfusion position not integer";
598
- const pairlstIdx = Number(_pi);
599
- if (Number.isNaN(pairlstIdx)) throw "ssmid pairlstIdx not integer";
600
- return { dt, l: [dt, chr2, pos, strand, pairlstIdx, mname] };
601
- }
602
- const [chr, _start, _stop, _class, _value, sample] = l;
603
- const start = Number(_start), stop = Number(_stop);
604
- if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
605
- if (_class == mclassitd) {
606
- return { dt: dtitd, l: [chr, start, stop, _class, _value, sample] };
607
- }
608
- const value = _value == "" ? null : Number(_value);
609
- return { dt: dtcnv, l: [chr, start, stop, _class, value, sample] };
610
- }
611
- throw new Error("unknown ssmid");
612
- }
613
-
614
- // ../shared/utils/dist/src/scatter.js
615
- var xAxisOffSet = 80;
616
- var yAxisOffSet = 30;
617
- function getCoordinate(val, min, max) {
618
- if (min != null && val < min) return min;
619
- if (max != null && val > max) return max;
620
- return val;
621
- }
622
- function calculatePadding(minScale, maxScale, min, max) {
623
- return minScale != null || maxScale != null ? 0 : (max - min) * 0.01;
624
- }
625
-
626
- // ../shared/utils/dist/src/termdb.bins.js
627
- function validate_bins(binconfig) {
628
- const bc = binconfig;
629
- if (!bc || typeof bc !== "object") throw "bin schema must be an object";
630
- if (!("type" in bc)) bc.type = "regular-bin";
631
- if (bc.type == "custom-bin") {
632
- if (!Array.isArray(bc.lst)) throw "binconfig.lst must be an array";
633
- if (!bc.lst.length) throw "binconfig.lst must have entries";
634
- const first_bin = bc.lst[0];
635
- const last_bin = bc.lst[bc.lst.length - 1];
636
- for (const bin of bc.lst) {
637
- if (!("startinclusive" in bin) && !("stopinclusive" in bin)) {
638
- throw "custom bin.startinclusive and/or bin.stopinclusive must be defined";
639
- }
640
- if (bin == first_bin) {
641
- if ("startunbounded" in bin && !bin.startunbounded) {
642
- throw `a custom first bin must not set bin.startunbounded to false`;
643
- }
644
- bin.startunbounded = true;
645
- if ("start" in bin) {
646
- throw "a custom first bin must not set a bin.start value";
647
- }
648
- if ("start_percentile" in bin) {
649
- throw "the first bin must not set a bin.start_percentile value";
650
- }
651
- if (!("stop" in bin)) {
652
- throw `a custom first bin must define a bin.stop value`;
653
- }
654
- if (!isStrictNumeric(bin.stop)) {
655
- throw `a custom first bin.stop value should be numeric`;
656
- }
657
- } else if (bin == last_bin) {
658
- if (!("start" in bin)) {
659
- throw `a custom last bin must define a bin.start value`;
660
- }
661
- if (!isStrictNumeric(bin.start)) {
662
- throw `a custom last bin.start must be numeric`;
663
- }
664
- if ("stopunbounded" in bin && !bin.stopunbounded) {
665
- throw "a custom last bin must not set bin.stopunbounded to false";
666
- }
667
- bin.stopunbounded = true;
668
- if ("stop" in bin) {
669
- throw "a custom last bin must not set a bin.stop value";
670
- }
671
- } else {
672
- if (bin.startunbounded || bin.stopunbounded) {
673
- throw "bin.startunbounded and bin.stopunbounded must not be set for non-first/non-last bins";
674
- }
675
- if (!isStrictNumeric(bin.start)) throw "bin.start must be numeric for a non-first bin";
676
- if (!isStrictNumeric(bin.stop)) throw "bin.stop must be numeric for a non-last bin";
677
- }
678
- }
679
- } else if (bc.type == "regular-bin") {
680
- if (!Number.isFinite(bc.bin_size)) throw "non-numeric bin_size";
681
- if (!bc.bin_size || bc.bin_size <= 0) throw "bin_size must be greater than 0";
682
- if (!bc.startinclusive && !bc.stopinclusive) {
683
- bc.startinclusive = true;
684
- bc.stopinclusive = false;
685
- }
686
- if (!bc.first_bin) throw "first_bin{} missing";
687
- if (typeof bc.first_bin != "object") throw "first_bin{} is not an object";
688
- if (!Object.keys(bc.first_bin).length) throw "first_bin is an empty object";
689
- {
690
- const b = bc.first_bin;
691
- b.startunbounded = true;
692
- if (b.stop_percentile) {
693
- if (!Number.isInteger(b.stop_percentile)) throw "first_bin.stop_percentile should be integer";
694
- if (b.stop_percentile <= 0 || b.stop_percentile >= 100) throw "first_bin.stop_percentile out of bound (0-100)";
695
- } else if (!Number.isFinite(b.stop)) {
696
- throw "first_bin.stop not a number when stop_percentile is not set";
697
- }
698
- }
699
- if (bc.last_bin) {
700
- const b = bc.last_bin;
701
- if (b.start_percentile) {
702
- if (!Number.isInteger(b.start_percentile)) throw "last_bin.start_percentile should be integer";
703
- if (b.start_percentile <= 0 || b.start_percentile >= 100) throw "last_bin.start_percentile out of bound (0-100)";
704
- } else if (!Number.isFinite(b.start)) {
705
- throw "last_bin.start not a number when start_percentile is not set";
706
- }
707
- b.stopunbounded = true;
708
- if ("stop" in b) {
709
- throw "a regular last bin must not set a bin.stop value";
710
- }
711
- }
712
- } else {
713
- throw `invalid binconfig.type="${bc.type}"`;
714
- }
715
- }
716
- var maxNumBins = 100;
717
- function compute_bins(binconfig, summaryfxn, valueConversion) {
718
- const bc = binconfig;
719
- validate_bins(bc);
720
- if (bc.lst) {
721
- if (!Array.isArray(bc.lst)) throw `bc.lst is not an array`;
722
- if (bc.lst.length > maxNumBins) throw `bc.lst exceed the maximum of ${maxNumBins} allowed entries`;
723
- assignBinColors(bc.lst);
724
- }
725
- if (bc.type == "custom-bin") return JSON.parse(JSON.stringify(bc.lst));
726
- if (typeof summaryfxn != "function") throw "summaryfxn required for modules/termdb.bins.js compute_bins()";
727
- const percentiles = target_percentiles(bc);
728
- const summary = summaryfxn(percentiles);
729
- if (!summary || typeof summary !== "object") throw "invalid returned value by summaryfxn";
730
- bc.results = { summary };
731
- if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
732
- const minFloor = Math.floor(summary.min * 100) / 100;
733
- const maxCeil = Math.ceil(summary.max * 100) / 100;
734
- const min = bc.first_bin.startunbounded ? minFloor : bc.first_bin.start_percentile ? summary["p" + bc.first_bin.start_percentile] : bc.first_bin.start;
735
- let max = maxCeil, last_start, last_stop;
736
- if (bc.last_bin) {
737
- max = bc.last_bin.stopunbounded ? maxCeil : bc.last_bin.stop_percentile ? summary["p" + bc.last_bin.stop_percentile] : isNumeric(bc.last_bin.stop) && bc.last_bin.stop <= summary.max ? bc.last_bin.stop : maxCeil;
738
- last_start = isStrictNumeric(bc.last_bin.start_percentile) ? summary["p" + bc.last_bin.start_percentile] : isStrictNumeric(bc.last_bin.start) ? bc.last_bin.start : void 0;
739
- last_stop = bc.last_bin.stopunbounded ? null : bc.last_bin.stop_percentile ? summary["p" + bc.last_bin.stop_percentile] : isStrictNumeric(bc.last_bin.stop) ? bc.last_bin.stop : null;
740
- } else if (bc.lst) {
741
- const last_bin = bc.lst[bc.lst.length - 1];
742
- last_start = last_bin.start;
743
- last_stop = "stop" in last_bin && !last_bin.stopunbounded ? last_bin.stop : maxCeil;
744
- max = last_stop;
745
- } else {
746
- last_start = maxCeil;
747
- last_stop = maxCeil;
748
- }
749
- const numericMax = isStrictNumeric(max);
750
- const numericLastStart = isStrictNumeric(last_start);
751
- const numericLastStop = isStrictNumeric(last_stop);
752
- if (!numericMax && !numericLastStart) return [];
753
- const bins = [];
754
- let currBin = {
755
- startunbounded: bc.first_bin.startunbounded,
756
- start: bc.first_bin.startunbounded ? void 0 : min,
757
- stop: isStrictNumeric(bc.first_bin.stop_percentile) ? +summary["p" + bc.first_bin.stop_percentile] : isStrictNumeric(bc.first_bin.stop) ? +bc.first_bin.stop : min + bc.bin_size,
758
- startinclusive: bc.startinclusive,
759
- stopinclusive: bc.stopinclusive
760
- };
761
- if (!isStrictNumeric(currBin.stop)) throw "the computed first_bin.stop is non-numeric" + currBin.stop;
762
- while (numericMax && currBin.stop <= max || currBin.startunbounded && !bins.length || currBin.stopunbounded) {
763
- bins.push(currBin);
764
- if (currBin.stop >= max) {
765
- currBin.stopunbounded = true;
766
- if (bins.length > 1) {
767
- delete currBin.stop;
768
- }
769
- }
770
- currBin.label = get_bin_label(currBin, bc, valueConversion);
771
- if (currBin.stopunbounded) break;
772
- const upper = currBin.stop + bc.bin_size;
773
- const previousStop = currBin.stop;
774
- currBin = {
775
- startinclusive: bc.startinclusive,
776
- stopinclusive: bc.stopinclusive,
777
- start: previousStop,
778
- stop: numericLastStop && (previousStop == last_start || upper > last_stop) ? last_stop : numericLastStart && upper > last_start && previousStop != last_start ? last_start : upper
779
- };
780
- if (currBin.stop >= max) {
781
- currBin.stop = max;
782
- if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
783
- if (bc.last_bin && bc.last_bin.stopinclusive) currBin.stopinclusive = 1;
784
- }
785
- if (numericLastStart && currBin.start == last_start) {
786
- if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
787
- }
788
- if (currBin.start > currBin.stop) {
789
- if (numericLastStart && currBin.stop == last_start && bc.last_bin && bc.last_bin.stopunbounded)
790
- currBin.stopunbounded = true;
791
- else break;
792
- }
793
- if (bins.length + 1 >= maxNumBins) {
794
- delete currBin.stop;
795
- currBin.stopunbounded = true;
796
- currBin.label = get_bin_label(currBin, bc, valueConversion);
797
- if (!bins.includes(currBin)) bins.push(currBin);
798
- const hint = "Please increase the bin_size or first bin stop, or have a lower last bin start.";
799
- throw new Error(hint + " (max_num_bins_reached)");
800
- }
801
- }
802
- delete bc.binLabelFormatter;
803
- if (bins.length > 1) {
804
- delete bins[bins.length - 1].stop;
805
- }
806
- assignBinColors(bins);
807
- return bins;
808
- }
809
- function assignBinColors(lst) {
810
- const k2c = getColors(lst.length);
811
- for (const [i, bin] of lst.entries()) bin.color = k2c(String(i));
812
- return lst;
813
- }
814
- function getNumDecimalsFormatter(bc) {
815
- return "rounding" in bc ? format(bc.rounding) : (d) => d;
816
- }
817
- function get_bin_label(bin, binconfig, valueConversion) {
818
- if (!bin) return "missing bin.label";
819
- if (bin.label) return bin.label;
820
- const bc = binconfig;
821
- if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
822
- if (!bin.startunbounded && !bin.stopunbounded && !("startinclusive" in bin) && !("stopinclusive" in bin)) {
823
- if (bc.startinclusive) bin.startinclusive = true;
824
- else if (bc.stopinclusive) bin.stopinclusive = true;
825
- }
826
- const start = bc.use_as == "bins" || bin.start;
827
- const stop = bc.use_as == "bins" || bin.stop;
828
- let label_offset = 0;
829
- if ("label_offset" in bc) {
830
- bc.label_offset_ignored = "bin_size" in bc && bc.bin_size < bc.label_offset;
831
- if (!bc.label_offset_ignored) label_offset = bc.label_offset;
832
- } else if (bc.bin_size === 1 && bc.termtype == "integer") {
833
- label_offset = 1;
834
- }
835
- if (bin.startunbounded) {
836
- const oper = bin.stopinclusive ? "\u2264" : "<";
837
- const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(stop);
838
- return oper + v1;
839
- }
840
- if (bin.stopunbounded || start === stop) {
841
- const oper = bin.startinclusive ? "\u2265" : ">";
842
- const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
843
- return oper + v0;
844
- }
845
- if (label_offset && bin.startinclusive && !bin.stopinclusive) {
846
- if (Number.isInteger(bc.bin_size) && Math.abs(start - stop) === label_offset) {
847
- return "" + (valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start));
848
- } else {
849
- const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
850
- const v1 = valueConversion ? convertUnits(
851
- stop - label_offset,
852
- valueConversion.fromUnit,
853
- valueConversion.toUnit,
854
- valueConversion.scaleFactor,
855
- true
856
- ) : bc.binLabelFormatter(stop - label_offset);
857
- return +v0 >= +v1 ? v0.toString() : v0 + " to " + v1;
858
- }
859
- } else {
860
- const oper0 = bin.startinclusive ? "" : ">";
861
- const oper1 = bin.stopinclusive ? "" : "<";
862
- const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(start) ? start : bc.binLabelFormatter(start);
863
- const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(stop) ? stop : bc.binLabelFormatter(stop);
864
- if (+v0 >= +v1) {
865
- const oper = bin.startinclusive ? "\u2265" : ">";
866
- return oper + v0;
867
- } else {
868
- return oper0 + v0 + " to " + oper1 + v1;
869
- }
870
- }
871
- }
872
- function get_bin_range_equation(bin, binconfig, valueConversion) {
873
- const x = '<span style="font-family:Times;font-style:italic;">x</span>';
874
- let range_eq;
875
- const copy = structuredClone(bin);
876
- copy.label = "";
877
- const bin_label = get_bin_label(copy, binconfig, valueConversion);
878
- if (bin.startunbounded || bin.stopunbounded) {
879
- range_eq = x + " " + bin_label;
880
- } else if (bin.startinclusive) {
881
- range_eq = bin_label.replace("to <", "\u2264 " + x + " <");
882
- } else if (bin.stopinclusive) {
883
- range_eq = bin_label.replace(">", "").replace("to", "< " + x + " \u2264");
884
- }
885
- return range_eq;
886
- }
887
- function target_percentiles(binconfig) {
888
- const percentiles = [];
889
- const f = binconfig.first_bin;
890
- if (f && isStrictNumeric(f.start_percentile)) percentiles.push(f.start_percentile);
891
- if (f && isStrictNumeric(f.stop_percentile)) percentiles.push(f.stop_percentile);
892
- const l = binconfig.last_bin;
893
- if (l && isStrictNumeric(l.start_percentile)) percentiles.push(l.start_percentile);
894
- if (l && isStrictNumeric(l.stop_percentile)) percentiles.push(l.stop_percentile);
895
- return percentiles;
896
- }
897
-
898
- // ../shared/utils/dist/src/termdb.initbinconfig.js
899
- function initBinConfig(data, opts = {}) {
900
- if (!data.length)
901
- return { mode: "discrete", type: "regular-bin", startinclusive: true, bin_size: null, first_bin: { stop: null } };
902
- if (data.find((d) => !Number.isFinite(d))) throw new Error("non-numeric values found");
903
- let binConfig;
904
- const s = new Set(data);
905
- if (s.size === 1) {
906
- const value = [...s][0];
907
- binConfig = {
908
- type: "custom-bin",
909
- lst: [
910
- { stop: value, stopinclusive: false, startunbounded: true, label: "<" + value },
911
- { start: value, stop: value, startinclusive: true, stopinclusive: true, label: "=" + value },
912
- { start: value, startinclusive: false, stopunbounded: true, label: ">" + value }
913
- ]
914
- };
915
- } else {
916
- data.sort((a, b) => a - b);
917
- const l = data.length;
918
- const min = data[0];
919
- const max = data[l - 1];
920
- const p5idx = Math.ceil(l * 0.05) - 1;
921
- const p98idx = Math.ceil(l * 0.98) - 1;
922
- const p5 = data[p5idx];
923
- const p98 = data[p98idx];
924
- const binSize = p98 != p5 ? (p98 - p5) / 8 : (max - min) / 8;
925
- const firstBinStop = Math.max(min + binSize, p5);
926
- const [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding] = roundBinVals(binSize, firstBinStop, max, min);
927
- binConfig = {
928
- type: "regular-bin",
929
- startinclusive: true,
930
- bin_size: binSize_rnd,
931
- first_bin: { stop: firstBinStop_rnd }
932
- };
933
- if (lastBinStart_rnd) binConfig.last_bin = { start: lastBinStart_rnd };
934
- if (rounding) binConfig.rounding = rounding;
935
- }
936
- if ("format" in opts) {
937
- if (opts.format === "string") {
938
- return JSON.stringify(binConfig);
939
- } else {
940
- throw "options are not in the correct format";
941
- }
942
- } else {
943
- return binConfig;
944
- }
945
- }
946
- function roundBinVals(binSize, firstBinStop, max, min) {
947
- let binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding;
948
- const log = Math.floor(Math.log10(binSize));
949
- if (binSize >= 0.1 && binSize <= 2) {
950
- binSize_rnd = Math.round(binSize / (1 * 10 ** log)) * (1 * 10 ** log);
951
- firstBinStop_rnd = Math.round(firstBinStop / (1 * 10 ** log)) * (1 * 10 ** log);
952
- } else {
953
- binSize_rnd = Math.round(binSize / (5 * 10 ** log)) * (5 * 10 ** log);
954
- firstBinStop_rnd = Math.round(firstBinStop / (5 * 10 ** log)) * (5 * 10 ** log);
955
- if (binSize_rnd === 0) binSize_rnd = 1 * 10 ** log;
956
- if (firstBinStop_rnd === 0) firstBinStop_rnd = 1 * 10 ** log;
957
- if (binSize_rnd === 5 * 10 ** log && firstBinStop_rnd === 1 * 10 ** log) firstBinStop_rnd = 5 * 10 ** log;
958
- }
959
- if (firstBinStop_rnd < min) firstBinStop_rnd = firstBinStop_rnd * 2;
960
- const eighthBinStop_rnd = firstBinStop_rnd + binSize_rnd * 7;
961
- if (max > eighthBinStop_rnd) {
962
- lastBinStart_rnd = firstBinStop_rnd + binSize_rnd * 6;
963
- }
964
- if (binSize < 1) {
965
- const digits = Math.abs(log);
966
- binSize_rnd = Number(binSize_rnd.toFixed(digits));
967
- firstBinStop_rnd = Number(firstBinStop_rnd.toFixed(digits));
968
- if (lastBinStart_rnd) lastBinStart_rnd = Number(lastBinStart_rnd.toFixed(digits));
969
- rounding = "." + digits + "f";
970
- }
971
- if (Object.is(firstBinStop_rnd, -0)) firstBinStop_rnd = 0;
972
- return [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding];
973
- }
974
-
975
- // ../shared/utils/dist/src/termdb.usecase.js
976
- var graphableTypes = /* @__PURE__ */ new Set([
977
- "categorical",
978
- "integer",
979
- "float",
980
- "condition",
981
- "survival",
982
- "snplst",
983
- "snplocus",
984
- "geneVariant",
985
- "samplelst",
986
- "geneExpression",
987
- ISOFORM_EXPRESSION,
988
- "dtcnv",
989
- "dtsnvindel",
990
- "dtfusion",
991
- "dtsv",
992
- "date",
993
- TermTypes.SSGSEA,
994
- TermTypes.DNA_METHYLATION,
995
- TermTypes.METABOLITE_INTENSITY,
996
- TermTypes.PROTEOME_ABUNDANCE,
997
- TermTypes.PSEUDOBULK,
998
- TermTypes.JUNCTION,
999
- SINGLECELL_GENE_EXPRESSION,
1000
- SINGLECELL_CELLTYPE,
1001
- TermTypes.SINGLECELL_NUMERIC_VALUE,
1002
- TermTypes.SNP,
1003
- TermTypes.TERM_COLLECTION,
1004
- TermTypes.COHORT,
1005
- TermTypes.MULTIVALUE
1006
- ]);
1007
- function isUsableTerm(term, _usecase, termdbConfig, ds) {
1008
- const usecase = _usecase || {};
1009
- if (typeof ds?.usecase?.[usecase.target] == "function") {
1010
- return ds.usecase[usecase.target](term, usecase);
1011
- }
1012
- const uses = /* @__PURE__ */ new Set();
1013
- const child_types = term.child_types || [];
1014
- switch (usecase.target) {
1015
- case "barchart":
1016
- case "violin":
1017
- case "boxplot":
1018
- case "summary": {
1019
- const excluded = usecase.detail == "term2" ? ["survival", "multivalue"] : ["survival"];
1020
- if (term.type && !excluded.includes(term.type)) uses.add("plot");
1021
- if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
1022
- return uses;
1023
- }
1024
- case "summaryInput":
1025
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1026
- const excluded = usecase.detail === "term2" ? ["survival", "multivalue"] : ["survival"];
1027
- if (term.type && !excluded.includes(term.type)) uses.add("plot");
1028
- if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
1029
- return uses;
1030
- } else {
1031
- if (graphableTypes.has(term.type)) uses.add("plot");
1032
- if (!term.isleaf) uses.add("branch");
1033
- return uses;
1034
- }
1035
- case "matrix":
1036
- if (term.type) uses.add("plot");
1037
- if (!term.isleaf) uses.add("branch");
1038
- return uses;
1039
- case "table":
1040
- if (usecase.detail == "term") uses.add("plot");
1041
- if (child_types.length > 1) uses.add("branch");
1042
- return uses;
1043
- case "sampleScatter":
1044
- if (usecase.detail == "numeric") {
1045
- if (isNumericTerm(term)) {
1046
- uses.add("plot");
1047
- }
1048
- if (hasNumericChild(child_types)) uses.add("branch");
1049
- } else {
1050
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1051
- if (!term.isleaf) uses.add("branch");
1052
- }
1053
- return uses;
1054
- case "runChart2":
1055
- if (usecase.detail == "date" || usecase.detail == "xtw") {
1056
- if (term.type == "date") {
1057
- uses.add("plot");
1058
- }
1059
- if (child_types.includes("date")) uses.add("branch");
1060
- } else if (usecase.detail == "numeric") {
1061
- if (isNumericTerm(term) && term.type != "date") {
1062
- uses.add("plot");
1063
- }
1064
- if (hasNumericChild(child_types)) uses.add("branch");
1065
- } else {
1066
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1067
- if (!term.isleaf) uses.add("branch");
1068
- }
1069
- return uses;
1070
- case "numericDictTermCluster":
1071
- if (!usecase.detail?.exclude?.includes(term.id)) {
1072
- if (isNumericTerm(term)) {
1073
- uses.add("plot");
1074
- }
1075
- if (hasNumericChild(child_types)) {
1076
- uses.add("branch");
1077
- }
1078
- }
1079
- return uses;
1080
- case "termCollections":
1081
- if (usecase.detail?.termIds?.includes(term.id)) uses.add("plot");
1082
- if (usecase.detail?.branchIds?.includes(term.id)) uses.add("branch");
1083
- return uses;
1084
- case "profileForms":
1085
- if (!term.isleaf) {
1086
- const ancestors = term.id.split("__").length;
1087
- if (ancestors == 3) {
1088
- uses.add("plot");
1089
- } else if (ancestors < 3) uses.add("branch");
1090
- }
1091
- return uses;
1092
- // case 'boxplot':
1093
- // if (term.type == 'float' || term.type == 'integer') uses.add('plot')
1094
- // if (usecase.detail === 'term2' && hasNumericChild(child_types)) uses.add('branch')
1095
- // return uses
1096
- case "cuminc":
1097
- if (usecase.detail == "term") {
1098
- if (term.type == "condition") uses.add("plot");
1099
- if (child_types.includes("condition")) uses.add("branch");
1100
- return uses;
1101
- }
1102
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1103
- if (term.type && term.type != "condition" && term.type != "survival" && term.type != "multivalue")
1104
- uses.add("plot");
1105
- if (hasAllowedChildTypes(child_types, ["condition", "survival", "multivalue"])) uses.add("branch");
1106
- return uses;
1107
- }
1108
- return uses;
1109
- case "survival":
1110
- if (usecase.detail == "term") {
1111
- if (term.type == "survival") uses.add("plot");
1112
- if (child_types.includes("survival")) uses.add("branch");
1113
- return uses;
1114
- }
1115
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1116
- if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1117
- if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1118
- return uses;
1119
- }
1120
- return uses;
1121
- case "regression":
1122
- if (usecase.detail == "outcome") {
1123
- if (usecase.regressionType == "linear") {
1124
- if (term.type == "float" || term.type == "integer") uses.add("plot");
1125
- if (hasNumericChild(child_types)) uses.add("branch");
1126
- return uses;
1127
- }
1128
- if (usecase.regressionType == "logistic") {
1129
- if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1130
- if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1131
- return uses;
1132
- } else if (usecase.regressionType == "cox") {
1133
- if (term.type == "condition" || term.type == "survival") uses.add("plot");
1134
- if (child_types.includes("condition") || child_types.includes("survival")) uses.add("branch");
1135
- return uses;
1136
- }
1137
- }
1138
- if (usecase.detail == "independent") {
1139
- if (term.type == TermTypes.TERM_COLLECTION) {
1140
- if (term.memberType == "numeric") uses.add("plot");
1141
- return uses;
1142
- }
1143
- if (term.type == "float" || term.type == "integer" || term.type == "categorical" || term.type == "samplelst")
1144
- uses.add("plot");
1145
- if (hasChildTypes(child_types, ["categorical", "float", "integer"])) uses.add("branch");
1146
- return uses;
1147
- }
1148
- return uses;
1149
- case "filter": {
1150
- const exlst = termdbConfig?.excludedTermtypeByTarget?.filter;
1151
- if (exlst) {
1152
- if (graphableTypes.has(term.type) && !exlst.includes(term.type)) uses.add("plot");
1153
- if (child_types.find((t) => !exlst.includes(t))) uses.add("branch");
1154
- return uses;
1155
- }
1156
- if (graphableTypes.has(term.type)) uses.add("plot");
1157
- if (!term.isleaf) uses.add("branch");
1158
- return uses;
1159
- }
1160
- case "correlationVolcano":
1161
- if (usecase.detail == "numeric") {
1162
- if (isNumericTerm(term)) {
1163
- uses.add("plot");
1164
- }
1165
- if (hasNumericChild(child_types)) uses.add("branch");
1166
- } else {
1167
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1168
- if (!term.isleaf) uses.add("branch");
1169
- }
1170
- return uses;
1171
- case "proteinView":
1172
- if (term.type == TermTypes.PROTEOME_ABUNDANCE) uses.add("plot");
1173
- if (child_types.includes(TermTypes.PROTEOME_ABUNDANCE)) uses.add("branch");
1174
- return uses;
1175
- case "brainImaging": {
1176
- const allowMultivalue = usecase.detail == "term0";
1177
- if (graphableTypes.has(term.type) && (allowMultivalue || term.type != "multivalue")) uses.add("plot");
1178
- if (!term.isleaf) uses.add("branch");
1179
- return uses;
1180
- }
1181
- case "dictionary":
1182
- if (graphableTypes.has(term.type)) uses.add("plot");
1183
- if (!term.isleaf) uses.add("branch");
1184
- return uses;
1185
- default:
1186
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1187
- if (!term.isleaf) uses.add("branch");
1188
- return uses;
1189
- }
1190
- }
1191
- function hasAllowedChildTypes(child_types, excluded_types) {
1192
- if (!child_types.length) {
1193
- return false;
1194
- }
1195
- if (!excluded_types?.length) {
1196
- return true;
1197
- }
1198
- if (child_types.some((type) => !excluded_types.includes(type))) {
1199
- return true;
1200
- }
1201
- }
1202
- function hasNumericChild(child_types) {
1203
- return child_types.includes("float") || child_types.includes("integer");
1204
- }
1205
- function hasChildTypes(child_types, expected_types) {
1206
- for (const a of expected_types) {
1207
- if (child_types.includes(a)) return true;
1208
- }
1209
- }
1210
-
1211
- // ../shared/utils/dist/src/time.js
1212
- function formatElapsedTime(ms, precision = 2) {
1213
- if (typeof ms !== "number" || isNaN(ms)) {
1214
- return typeof ms !== "number" ? "Invalid time: not a number" : "Invalid time: NaN";
1215
- }
1216
- if (!isFinite(ms)) {
1217
- return ms > 0 ? "Infinite time" : "-Infinite time";
1218
- }
1219
- const absMs = Math.abs(ms);
1220
- const sign = ms < 0 ? "-" : "";
1221
- if (absMs < 1e3) {
1222
- return `${sign}${absMs}ms`;
1223
- }
1224
- if (absMs < 6e4) {
1225
- return `${sign}${(absMs / 1e3).toFixed(precision)}s`;
1226
- }
1227
- const minutes = Math.floor(absMs / 6e4);
1228
- const seconds = (absMs % 6e4 / 1e3).toFixed(precision);
1229
- return `${sign}${minutes}m ${seconds}s`;
1230
- }
1231
-
1232
- // ../shared/utils/dist/src/vcf.ann.js
1233
- function parse_ANN(str, header, m) {
1234
- if (!header) {
1235
- return null;
1236
- }
1237
- for (const thisannotation of str.split(",")) {
1238
- const lst = thisannotation.replace(/&/g, ",").split("|");
1239
- const o = {};
1240
- for (let i = 0; i < header.length; i++) {
1241
- if (lst[i]) {
1242
- o[header[i].name] = lst[i];
1243
- }
1244
- }
1245
- if (!o.Allele) {
1246
- continue;
1247
- }
1248
- let allele = null;
1249
- for (const a of m.alleles) {
1250
- if (a.allele == o.Allele) {
1251
- allele = a;
1252
- break;
1253
- }
1254
- }
1255
- if (!allele) {
1256
- continue;
1257
- }
1258
- if (!allele.ann) {
1259
- allele.ann = [];
1260
- }
1261
- allele.ann.push(o);
1262
- o._gene = o.Gene_Name;
1263
- if (o.Feature_Type && o.Feature_Type == "transcript" && o.Feature_ID) {
1264
- o._isoform = o.Feature_ID.split(".")[0];
1265
- }
1266
- if (o.Annotation) {
1267
- const [dt, cls, rank] = vepinfo(o.Annotation);
1268
- o._dt = dt;
1269
- o._class = cls;
1270
- o._csqrank = rank;
1271
- } else {
1272
- o._dt = dtsnvindel;
1273
- o._class = mclassnonstandard;
1274
- }
1275
- if (o["HGVS.p"]) {
1276
- o._mname = o["HGVS.p"];
1277
- } else if (o["HGVS.c"]) {
1278
- o._mname = o["HGVS.c"];
1279
- }
1280
- }
1281
- return true;
1282
- }
1283
-
1284
- // ../shared/utils/dist/src/vcf.csq.js
1285
- function parse_CSQ(str, header, m) {
1286
- if (!header) {
1287
- return null;
1288
- }
1289
- for (const thisannotation of str.split(",")) {
1290
- const lst = thisannotation.replace(/&/g, ",").split("|");
1291
- const o = {};
1292
- for (let i = 0; i < header.length; i++) {
1293
- if (lst[i]) {
1294
- o[header[i].name] = lst[i];
1295
- }
1296
- }
1297
- if (!o.Allele) {
1298
- continue;
1299
- }
1300
- let allele = null;
1301
- for (const a of m.mlst || m.alleles) {
1302
- if (a.allele_original == o.Allele) {
1303
- allele = a;
1304
- break;
1305
- }
1306
- }
1307
- if (!allele) {
1308
- if (o.Allele == "-") {
1309
- if (m.mlst) {
1310
- if (m.mlst.length == 1) {
1311
- allele = m.mlst[0];
1312
- }
1313
- } else if (m.alleles) {
1314
- if (m.alleles.length == 1) {
1315
- allele = m.alleles[0];
1316
- }
1317
- }
1318
- } else {
1319
- for (const a of m.mlst || m.alleles) {
1320
- if (a.allele_original.substr(1) == o.Allele) {
1321
- allele = a;
1322
- break;
1323
- }
1324
- }
1325
- }
1326
- if (!allele) {
1327
- continue;
1328
- }
1329
- }
1330
- if (!allele.csq) {
1331
- allele.csq = [];
1332
- }
1333
- allele.csq.push(o);
1334
- o._gene = o.SYMBOL || o.Gene;
1335
- if (o.Feature_type && o.Feature_type == "Transcript") {
1336
- o._isoform = o.Feature.split(".")[0];
1337
- } else {
1338
- o._isoform = o._gene;
1339
- }
1340
- if (o.Consequence) {
1341
- const [dt, cls, rank] = vepinfo(o.Consequence);
1342
- o._dt = dt;
1343
- o._class = cls;
1344
- o._csqrank = rank;
1345
- } else {
1346
- o._dt = dtsnvindel;
1347
- o._class = mclassnonstandard;
1348
- }
1349
- if (o.HGVSp) {
1350
- o._mname = decodeURIComponent(o.HGVSp.substr(o.HGVSp.indexOf(":") + 1));
1351
- } else if (o.Protein_position && o.Amino_acids) {
1352
- o._mname = decodeURIComponent(o.Protein_position + o.Amino_acids);
1353
- } else if (o.HGVSc) {
1354
- o._mname = o.HGVSc.substr(o.HGVSc.indexOf(":") + 1);
1355
- } else if (o.Existing_variation) {
1356
- o._name = o.Existing_variation;
1357
- }
1358
- }
1359
- return true;
1360
- }
1361
-
1362
- // ../shared/utils/dist/src/vcf.info.js
1363
- function dissect_INFO(str) {
1364
- let findsemicolon = false;
1365
- let findequalorsemicolon = true;
1366
- let i = 0;
1367
- let idx = 0;
1368
- const k2v = {};
1369
- let lastkey;
1370
- while (i < str.length) {
1371
- const c = str[i];
1372
- if (findequalorsemicolon) {
1373
- if (c == "=") {
1374
- findsemicolon = true;
1375
- findequalorsemicolon = false;
1376
- lastkey = str.substring(idx, i);
1377
- idx = i + 1;
1378
- } else if (c == ";") {
1379
- k2v[str.substring(idx, i)] = 1;
1380
- idx = i + 1;
1381
- }
1382
- } else if (findsemicolon && c == ";") {
1383
- findequalorsemicolon = true;
1384
- findsemicolon = false;
1385
- k2v[lastkey] = str.substring(idx, i);
1386
- lastkey = null;
1387
- idx = i + 1;
1388
- }
1389
- i++;
1390
- }
1391
- const remainstr = str.substr(idx, i);
1392
- if (lastkey) {
1393
- k2v[lastkey] = remainstr;
1394
- } else {
1395
- k2v[remainstr] = 1;
1396
- }
1397
- return k2v;
1398
- }
1399
-
1400
- // ../shared/utils/dist/src/vcf.type.js
1401
- function getVariantType(ref, alt) {
1402
- if (ref.length == 1 && alt.length == 1) {
1403
- if (alt == ".") {
1404
- return mclassdeletion;
1405
- }
1406
- return mclasssnv;
1407
- }
1408
- if (ref.length == alt.length) return mclassmnv;
1409
- if (ref.length < alt.length) return mclassinsertion;
1410
- if (ref.length > alt.length) return mclassdeletion;
1411
- return mclassnonstandard;
1412
- }
1413
-
1414
- // ../shared/utils/dist/src/vcf.js
1415
- var getallelename = /^<(.+)>/;
1416
- var mclasslabel2key = {};
1417
- for (const k in mclass) {
1418
- mclasslabel2key[mclass[k].label.toUpperCase()] = k;
1419
- }
1420
- function vcfparsemeta(lines) {
1421
- let sample = [];
1422
- const errlst = [];
1423
- const info = {};
1424
- let hasinfo = false;
1425
- const format2 = {};
1426
- let hasformat = false;
1427
- for (const line of lines) {
1428
- if (!line.startsWith("#")) {
1429
- continue;
1430
- }
1431
- if (line.startsWith("#C")) {
1432
- sample = line.split(" ").slice(9);
1433
- continue;
1434
- }
1435
- if (line.startsWith("##INFO")) {
1436
- const e = tohash(line.substring(8, line.length - 1), info);
1437
- if (e) {
1438
- errlst.push("INFO error: " + e);
1439
- } else {
1440
- hasinfo = true;
1441
- }
1442
- continue;
1443
- }
1444
- if (line.startsWith("##FORMAT")) {
1445
- const e = tohash(line.substring(10, line.length - 1), format2);
1446
- if (e) {
1447
- errlst.push("FORMAT error: " + e);
1448
- } else {
1449
- hasformat = true;
1450
- }
1451
- }
1452
- }
1453
- const sampleobjlst = [];
1454
- for (const samplename of sample) {
1455
- const a = { name: samplename };
1456
- sampleobjlst.push(a);
1457
- }
1458
- if (info.CSQ) {
1459
- const lst = info.CSQ.Description.split(" Format: ");
1460
- if (lst[1]) {
1461
- const lst2 = lst[1].split("|");
1462
- if (lst2.length > 1) {
1463
- info.CSQ.csqheader = [];
1464
- for (const str of lst2) {
1465
- const attr = { name: str };
1466
- info.CSQ.csqheader.push(attr);
1467
- }
1468
- } else {
1469
- errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1470
- }
1471
- } else {
1472
- errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1473
- }
1474
- }
1475
- if (info.ANN) {
1476
- const lst = info.ANN.Description.split("'");
1477
- if (lst[1]) {
1478
- const lst2 = lst[1].split(" | ");
1479
- if (lst2.length) {
1480
- info.ANN.annheader = [];
1481
- for (const s of lst2) {
1482
- const attr = { name: s };
1483
- info.ANN.annheader.push(attr);
1484
- }
1485
- } else {
1486
- errlst.push('no " | " joined annotation fields for ANN (snpEff annotation): ' + info.ANN.Description);
1487
- }
1488
- } else {
1489
- errlst.push("no single-quote enclosed annotation fields for ANN (snpEff annotation): " + info.ANN.Description);
1490
- }
1491
- }
1492
- return [hasinfo ? info : null, hasformat ? format2 : null, sampleobjlst, errlst.length ? errlst : null];
1493
- }
1494
- function vcfparseline(line, vcf) {
1495
- const lst = line.split(" ");
1496
- if (lst.length < 8) {
1497
- return ["line has less than 8 fields", null, null];
1498
- }
1499
- const rawpos = Number.parseInt(lst[2 - 1]);
1500
- if (!Number.isInteger(rawpos)) {
1501
- return ["invalid value for genomic position", null, null];
1502
- }
1503
- const refallele = lst[4 - 1];
1504
- const m = {
1505
- vcf_ID: lst[3 - 1],
1506
- chr: (vcf.nochr ? "chr" : "") + lst[1 - 1],
1507
- pos: rawpos - 1,
1508
- ref: refallele,
1509
- //refstr:refallele, // e.g. GA>GCC, ref:A, refstr:GA, "refstr" is required for matching in FORMAT
1510
- altstr: lst[5 - 1],
1511
- alleles: [
1512
- {
1513
- /*
1514
- ref allele only a placeholder, to be removed, this array only contains alt alleles
1515
- this is a must
1516
- also allows GT allele index to work
1517
- */
1518
- allele: refallele,
1519
- sampledata: []
1520
- }
1521
- ],
1522
- info: {},
1523
- // locus info, do not contain allele info
1524
- name: lst[3 - 1] == "." ? null : lst[3 - 1]
1525
- };
1526
- const altinvalid = [];
1527
- for (const alt of lst[5 - 1].split(",")) {
1528
- const a = {
1529
- ref: m.ref,
1530
- // may be corrected just below!
1531
- allele: alt,
1532
- // 5078356.TATCAGAGAA.GGGAGGA keep original allele for matching with csq which hardcodes original allele
1533
- allele_original: alt,
1534
- sampledata: [],
1535
- _m: m,
1536
- info: {}
1537
- // allele info, do not contain locus info
1538
- };
1539
- m.alleles.push(a);
1540
- if (alt[0] == "<") {
1541
- const tmp2 = alt.match(getallelename);
1542
- if (!tmp2) {
1543
- altinvalid.push(alt);
1544
- continue;
1545
- }
1546
- a.type = tmp2[1];
1547
- a.allele = tmp2[1];
1548
- a.issymbolicallele = true;
1549
- } else {
1550
- const [p, ref, alt2] = correctRefAlt(m.pos, m.ref, a.allele);
1551
- a.pos = p;
1552
- a.ref = ref;
1553
- a.allele = alt2;
1554
- }
1555
- }
1556
- if (lst[9 - 1] && lst[10 - 1]) {
1557
- parse_FORMAT2(lst, m, vcf);
1558
- }
1559
- m.alleles.shift();
1560
- const tmp = lst[8 - 1] == "." ? [] : dissect_INFO(lst[8 - 1]);
1561
- let badinfokeys = [];
1562
- if (vcf.info) {
1563
- badinfokeys = parse_INFO(tmp, m, vcf);
1564
- } else {
1565
- m.info = tmp;
1566
- }
1567
- const mlst = [];
1568
- for (const a of m.alleles) {
1569
- const m2 = {};
1570
- for (const k in m) {
1571
- if (k != "alleles") {
1572
- m2[k] = m[k];
1573
- }
1574
- }
1575
- for (const k in a) {
1576
- if (k == "allele") {
1577
- m2.alt = a[k];
1578
- } else if (k == "info") {
1579
- m2.altinfo = a[k];
1580
- } else {
1581
- m2[k] = a[k];
1582
- }
1583
- }
1584
- if (!m2.issymbolicallele && m2.alt != "NON_REF") {
1585
- m2.type = getVariantType(m2.ref, m2.alt);
1586
- }
1587
- mlst.push(m2);
1588
- }
1589
- return [
1590
- badinfokeys.length ? "unknown info keys: " + badinfokeys.join(",") : null,
1591
- mlst,
1592
- altinvalid.length > 0 ? altinvalid : null
1593
- ];
1594
- }
1595
- function correctRefAlt(p, ref, alt) {
1596
- while (ref.length > 1 && alt.length > 1 && ref[ref.length - 1] == alt[alt.length - 1]) {
1597
- ref = ref.substr(0, ref.length - 1);
1598
- alt = alt.substr(0, alt.length - 1);
1599
- }
1600
- while (ref.length > 1 && alt.length > 1 && ref[0] == alt[0]) {
1601
- ref = ref.substr(1);
1602
- alt = alt.substr(1);
1603
- p++;
1604
- }
1605
- return [p, ref, alt];
1606
- }
1607
- function parse_FORMAT2(lst, m, vcf) {
1608
- const formatfields = lst[9 - 1].split(":");
1609
- for (let _sampleidx = 9; _sampleidx < lst.length; _sampleidx++) {
1610
- const valuelst = lst[_sampleidx].split(":");
1611
- {
1612
- let none = true;
1613
- for (const v of valuelst) {
1614
- if (v != ".") {
1615
- none = false;
1616
- break;
1617
- }
1618
- }
1619
- if (none) {
1620
- continue;
1621
- }
1622
- }
1623
- const sampleidx = _sampleidx - 9;
1624
- for (let i = 1; i < m.alleles.length; i++) {
1625
- const sobj = {};
1626
- if (vcf.samples && vcf.samples[sampleidx]) {
1627
- for (const k in vcf.samples[sampleidx]) {
1628
- sobj[k] = vcf.samples[sampleidx][k];
1629
- }
1630
- } else {
1631
- sobj.name = "missing_samplename_from_vcf_header";
1632
- }
1633
- m.alleles[i].sampledata.push({
1634
- sampleobj: sobj
1635
- });
1636
- }
1637
- for (let fi = 0; fi < formatfields.length; fi++) {
1638
- const field = formatfields[fi];
1639
- const value = valuelst[fi];
1640
- if (value == ".") {
1641
- continue;
1642
- }
1643
- if (field == "GT") {
1644
- const splitter = value.indexOf("/") != -1 ? "/" : "|";
1645
- let gtsum = 0;
1646
- let unknowngt = false;
1647
- const gtalleles = [];
1648
- for (const i of value.split(splitter)) {
1649
- if (i == ".") {
1650
- unknowngt = true;
1651
- continue;
1652
- }
1653
- const j = Number.parseInt(i);
1654
- if (Number.isNaN(j)) {
1655
- unknowngt = true;
1656
- continue;
1657
- }
1658
- gtsum += j;
1659
- const ale = m.alleles[j];
1660
- if (ale) {
1661
- gtalleles.push(ale.allele);
1662
- }
1663
- }
1664
- let gtallref = false;
1665
- if (!unknowngt) {
1666
- gtallref = gtsum == 0;
1667
- }
1668
- const genotype = gtalleles.join(splitter);
1669
- for (let i = 1; i < m.alleles.length; i++) {
1670
- const ms = m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1];
1671
- ms.GT = value;
1672
- ms.genotype = genotype;
1673
- if (gtallref) {
1674
- ms.gtallref = true;
1675
- }
1676
- ms.__gtalleles = gtalleles;
1677
- }
1678
- continue;
1679
- }
1680
- const formatdesc = vcf.format ? vcf.format[field] : null;
1681
- if (!formatdesc) {
1682
- for (let i = 1; i < m.alleles.length; i++) {
1683
- m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1684
- }
1685
- continue;
1686
- }
1687
- const isinteger = formatdesc.Type == "Integer";
1688
- const isfloat = formatdesc.Type == "Float";
1689
- if (formatdesc.Number && formatdesc.Number == "R" || field == "AD") {
1690
- const fvlst = value.split(",").map((i) => {
1691
- if (isinteger) return Number.parseInt(i);
1692
- if (isfloat) return Number.parseFloat(i);
1693
- return i;
1694
- });
1695
- for (let i = 1; i < m.alleles.length; i++) {
1696
- if (fvlst[i] != void 0) {
1697
- const m2 = m.alleles[i];
1698
- const m2s = m2.sampledata[m2.sampledata.length - 1];
1699
- m2s[field] = {};
1700
- m2s[field][m2.ref] = fvlst[0];
1701
- m2s[field][m2.allele] = fvlst[i];
1702
- }
1703
- }
1704
- continue;
1705
- }
1706
- if (formatdesc.Number && formatdesc.Number == "A") {
1707
- const fvlst = value.split(",").map((i) => {
1708
- if (isinteger) return Number.parseInt(i);
1709
- if (isfloat) return Number.parseFloat(i);
1710
- return i;
1711
- });
1712
- for (let i = 1; i < m.alleles.length; i++) {
1713
- if (fvlst[i - 1] != void 0) {
1714
- const m2 = m.alleles[i];
1715
- const m2s = m2.sampledata[m2.sampledata.length - 1];
1716
- m2s[field] = {};
1717
- m2s[field][m2.allele] = fvlst[i - 1];
1718
- }
1719
- }
1720
- continue;
1721
- }
1722
- for (let i = 1; i < m.alleles.length; i++) {
1723
- m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1724
- }
1725
- }
1726
- }
1727
- for (const a of m.alleles) {
1728
- for (const s of a.sampledata) {
1729
- if (s.AD) {
1730
- s.allele2readcount = {};
1731
- for (const k in s.AD) {
1732
- s.allele2readcount[k] = s.AD[k];
1733
- }
1734
- }
1735
- }
1736
- }
1737
- }
1738
- function tohash(s, hash2) {
1739
- const h = {}, err = [];
1740
- let prev = 0, prevdoublequote = false, k = null;
1741
- for (let i = 0; i < s.length; i++) {
1742
- if (s[i] == '"') {
1743
- i++;
1744
- const thisstart = i;
1745
- while (s[i] != '"') {
1746
- i++;
1747
- }
1748
- if (k) {
1749
- h[k] = s.substring(thisstart, i);
1750
- k = null;
1751
- } else {
1752
- err.push("k undefined before double quotes");
1753
- }
1754
- prevdoublequote = true;
1755
- continue;
1756
- }
1757
- if (s[i] == "=") {
1758
- k = s.substring(prev, i);
1759
- prev = i + 1;
1760
- continue;
1761
- }
1762
- if (s[i] == ",") {
1763
- if (prevdoublequote) {
1764
- prevdoublequote = false;
1765
- } else {
1766
- if (k) {
1767
- h[k] = s.substring(prev, i);
1768
- k = null;
1769
- } else {
1770
- err.push("k undefined");
1771
- }
1772
- }
1773
- prev = i + 1;
1774
- continue;
1775
- }
1776
- }
1777
- if (k) {
1778
- h[k] = s.substring(prev);
1779
- }
1780
- if (h.ID) {
1781
- hash2[h.ID] = h;
1782
- } else {
1783
- return "no ID";
1784
- }
1785
- if (err.length) return err.join("\n");
1786
- }
1787
- function parse_INFO(tmp, m, vcf) {
1788
- const badinfokeys = [];
1789
- for (const key in tmp) {
1790
- if (vcf.info[key] == void 0) {
1791
- badinfokeys.push(key);
1792
- continue;
1793
- }
1794
- const value = tmp[key];
1795
- if (key == "CSQ") {
1796
- const okay = parse_CSQ(value, vcf.info.CSQ.csqheader, m);
1797
- if (!okay) {
1798
- m.info[key] = value;
1799
- }
1800
- continue;
1801
- }
1802
- if (key == "ANN") {
1803
- const okay = parse_ANN(value, vcf.info.ANN.annheader, m);
1804
- if (!okay) {
1805
- m.info[key] = value;
1806
- }
1807
- continue;
1808
- }
1809
- if (vcf.info[key].Type == "Flag") {
1810
- m.info[key] = key;
1811
- continue;
1812
- }
1813
- const __number = vcf.info[key].Number;
1814
- const isinteger = vcf.info[key].Type == "Integer";
1815
- const isfloat = vcf.info[key].Type == "Float";
1816
- if (__number == "0") {
1817
- m.info[key] = key;
1818
- continue;
1819
- }
1820
- if (__number == "A") {
1821
- const tt = value.split(",");
1822
- for (let j = 0; j < tt.length; j++) {
1823
- if (m.alleles[j]) {
1824
- m.alleles[j].info[key] = isinteger ? Number.parseInt(tt[j]) : isfloat ? Number.parseFloat(tt[j]) : tt[j];
1825
- }
1826
- }
1827
- continue;
1828
- }
1829
- if (__number == "R") {
1830
- }
1831
- if (__number == "1") {
1832
- m.info[key] = isinteger ? Number.parseInt(value) : isfloat ? Number.parseFloat(value) : value;
1833
- continue;
1834
- }
1835
- if (!value.split) {
1836
- continue;
1837
- }
1838
- const lst = value.split(",");
1839
- if (isinteger) {
1840
- m.info[key] = lst.map(Number.parseInt);
1841
- } else if (isfloat) {
1842
- m.info[key] = lst.map(Number.parseFloat);
1843
- } else {
1844
- m.info[key] = lst;
1845
- }
1846
- }
1847
- return badinfokeys;
1848
- }
1849
-
1850
- // common/auth.js
1851
- var jwtByDsRoute;
1852
- function setJwtByDsRoute() {
1853
- if (jwtByDsRoute) return;
1854
- const jwtByDsRouteStr = localStorage.getItem("jwtByDsRoute") || `{}`;
1855
- jwtByDsRoute = JSON.parse(jwtByDsRouteStr);
1856
- }
1857
- function setTokenByDsRoute(dslabel, route, jwt) {
1858
- setJwtByDsRoute();
1859
- if (!jwtByDsRoute[dslabel]) jwtByDsRoute[dslabel] = {};
1860
- if (jwt) jwtByDsRoute[dslabel][route] = jwt;
1861
- else delete jwtByDsRoute[dslabel][route];
1862
- localStorage.setItem("jwtByDsRoute", JSON.stringify(jwtByDsRoute));
1863
- }
1864
- function getSavedToken(dslabel, route) {
1865
- setJwtByDsRoute();
1866
- return jwtByDsRoute[dslabel]?.[route] || jwtByDsRoute[dslabel]?.["/**"];
1867
- }
1868
- function mayAddJwtToRequest(init, body, url) {
1869
- if (init.headers.authorization) return;
1870
- let dslabel = body?.dslabel;
1871
- if (!dslabel) {
1872
- const param = url.split("?")[1]?.split("&").find((kv) => kv.includes("dslabel"));
1873
- if (!param) return;
1874
- let value = decodeURIComponent(param.split("=")[1]);
1875
- if (value.startsWith("{") && value.endsWith("}")) {
1876
- value = JSON.parse(value);
1877
- dslabel = value.dslabel || value.mass?.vocab.dslabel || value.tracks?.find((t) => t.dslabel)?.dslabel;
1878
- } else {
1879
- dslabel = value;
1880
- }
1881
- }
1882
- setJwtByDsRoute();
1883
- if (!dslabel || !jwtByDsRoute[dslabel]) return;
1884
- const h = url.split("//");
1885
- const postProtocolStr = h[1] || h[0];
1886
- const preQuestionMarkStr = postProtocolStr.split("?")[0];
1887
- const pathSegments = preQuestionMarkStr.split("/");
1888
- let route = pathSegments.find((p) => p != "" && !p.includes(":") && !p.includes("."));
1889
- const jwt = jwtByDsRoute[dslabel][route] || jwtByDsRoute[dslabel]["/**"];
1890
- if (jwt) init.headers.authorization = "Bearer " + btoa(jwt);
1891
- }
1892
- var dsAuthOk = /* @__PURE__ */ new Set();
1893
- var dsAuth;
1894
- var authUi;
1895
- var authUiHolder;
1896
- var includeEmbedder = false;
1897
- async function setDsAuthOk(opts) {
1898
- dsAuth = opts.dsAuth;
1899
- authUi = opts.ui || defaultAuthUi;
1900
- authUiHolder = opts.holder || select_default("body");
1901
- for (const auth of dsAuth) {
1902
- if (auth.insession) dsAuthOk.add(auth);
1903
- }
1904
- includeEmbedder = opts.dsAuth?.length > 0 || false;
1905
- }
1906
- function getRequiredAuth(dslabel, route) {
1907
- if (!dsAuth || !Array.isArray(dsAuth)) return;
1908
- for (const a of dsAuth) {
1909
- if (a.dslabel == dslabel && (a.route == route || a.route == "*" || a.route == "/**")) return a;
1910
- }
1911
- }
1912
- async function isInSession(dslabel, route) {
1913
- if (!dslabel) return false;
1914
- if (!Array.isArray(dsAuth)) return false;
1915
- for (const a of dsAuth) {
1916
- if (a.dslabel != dslabel || a.route != route && a.route != "/**") continue;
1917
- if (dsAuthOk.has(a)) return true;
1918
- if (a.checked) return false;
1919
- const jwt = getSavedToken(dslabel, a.route);
1920
- if (!jwt) return false;
1921
- const { dofetch3: dofetch32 } = await import("./dofetch-3ZCQBYTP.js");
1922
- const payload = decodeJwtPayload(jwt);
1923
- if (payload.exp && Math.ceil(Date.now() / 1e3) > payload.exp) return false;
1924
- const data = await dofetch32("/jwt-status", {
1925
- method: "POST",
1926
- credentials: "include",
1927
- headers: {
1928
- //authorization: `Bearer ${btoa(jwt)}`
1929
- [a.headerKey]: jwt
1930
- },
1931
- body: {
1932
- dslabel,
1933
- route,
1934
- embedder: location.hostname
1935
- }
1936
- });
1937
- a.checked = true;
1938
- if (data.ok || data.status == "ok") {
1939
- dsAuthOk.add(a);
1940
- a.insession = true;
1941
- return true;
1942
- }
1943
- }
1944
- return false;
1945
- }
1946
- async function mayShowAuthUi(init, path, opts = {}) {
1947
- const ok = { status: "ok" };
1948
- if (!dsAuth || path.endsWith("jwt-status")) return ok;
1949
- const body = JSON.parse(init.body || `{}`);
1950
- const params = (path.split("?")[1] || "").split("&").reduce((obj, kv) => {
1951
- const [key, value] = kv.split("=");
1952
- obj[key] = value;
1953
- return obj;
1954
- }, {});
1955
- const q = Object.assign({}, body, params);
1956
- const route = ((path.split("?")[0] || "").split("//")[1] || "").split("/").slice(1).join("/");
1957
- for (const a of dsAuth) {
1958
- if (q.dslabel == a.dslabel && (a.route == "/**" || route == a.route)) {
1959
- if (dsAuthOk.has(a)) return ok;
1960
- else if (a.route != "/**") return ok;
1961
- else if (a.type == "basic") return await authUi(a.dslabel, a, opts);
1962
- else if (a.type == "jwt") {
1963
- } else if (a.type == "forbidden") {
1964
- alert("Forbidden access");
1965
- } else throw `unsupported dsAuth type='${a.type}'`;
1966
- }
1967
- }
1968
- return ok;
1969
- }
1970
- async function defaultAuthUi(dslabel, auth, opts = {}) {
1971
- 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)");
1972
- const form = mask.append("div").style("opacity", 1);
1973
- form.append("div").html(`Restricted dataset '${dslabel}'`);
1974
- form.append("span").html("Please enter password ");
1975
- const pwd = form.append("input").attr("type", "password");
1976
- pwd.node().focus();
1977
- const btn = form.append("button").html("Submit");
1978
- return new Promise((resolve, reject) => {
1979
- function login() {
1980
- fetch("/dslogin", {
1981
- method: "POST",
1982
- headers: {
1983
- authorization: `Basic ${btoa(pwd.property("value"))}`
1984
- },
1985
- body: JSON.stringify({ dslabel, route: auth.route, embedder: window.location.hostname })
1986
- }).then((res) => res.json()).then((res) => {
1987
- if (res.error) throw res.error;
1988
- mask.remove();
1989
- dsAuthOk.add(auth);
1990
- if (res.jwt) {
1991
- setTokenByDsRoute(dslabel, res.route, res.jwt);
1992
- }
1993
- if (!opts.setDomRefs) window.location.reload();
1994
- else resolve(dslabel);
1995
- }).catch((e) => {
1996
- alert("login error: " + e);
1997
- });
1998
- }
1999
- btn.on("click", login);
2000
- pwd.on("change", login);
2001
- if (opts.setDomRefs)
2002
- opts.setDomRefs({
2003
- pwd,
2004
- btn,
2005
- mask,
2006
- authUiHolder
2007
- });
2008
- });
2009
- }
2010
- function decodeJwtPayload(token) {
2011
- const base64Url = token.split(".")[1];
2012
- const base64 = base64Url.replace(/-/g, "+").replace(/_/g, "/");
2013
- const paddedBase64 = base64 + "=".repeat((4 - base64.length % 4) % 4);
2014
- const jsonPayload = decodeURIComponent(window.atob(paddedBase64).split("").map(convertAtoBresult).join(""));
2015
- return JSON.parse(jsonPayload);
2016
- }
2017
- function convertAtoBresult(c) {
2018
- return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
2019
- }
2020
-
2021
- // common/dofetch.js
2022
- function dofetch(path, arg, opts = null) {
2023
- if (opts && typeof opts == "object") {
2024
- if (opts.serverData && typeof opts.serverData == "object") {
2025
- if (!dofetch.serverData) {
2026
- dofetch.serverData = opts.serverData;
2027
- } else if (!opts.serverData) {
2028
- opts.serverData = dofetch.serverData;
2029
- }
2030
- }
2031
- return dofetch2(
2032
- path,
2033
- {
2034
- method: "POST",
2035
- headers: {
2036
- "content-type": "application/json"
2037
- },
2038
- body: JSON.stringify(arg)
2039
- },
2040
- opts
2041
- );
2042
- } else {
2043
- if (path[0] == "/") {
2044
- path = path.slice(1);
2045
- }
2046
- const jwt = sessionStorage.getItem("jwt");
2047
- if (jwt) {
2048
- arg.jwt = jwt;
2049
- }
2050
- let url = path;
2051
- const host = sessionStorage.getItem("hostURL") || window.testHost || "";
2052
- if (host) {
2053
- if (host.endsWith("/")) {
2054
- url = host + path;
2055
- } else {
2056
- url = host + "/" + path;
2057
- }
2058
- }
2059
- return fetch(
2060
- new Request(url, {
2061
- method: "POST",
2062
- headers: {
2063
- "content-type": "application/json"
2064
- },
2065
- body: JSON.stringify(arg)
2066
- })
2067
- ).then((r) => r.json());
2068
- }
2069
- }
2070
- function dofetch2(path, init = {}, opts = {}) {
2071
- if (path[0] == "/") {
2072
- path = path.slice(1);
2073
- }
2074
- let url = path;
2075
- const host = sessionStorage.getItem("hostURL") || window.testHost || "";
2076
- if (host) {
2077
- if (host.endsWith("/")) {
2078
- url = host + path;
2079
- } else {
2080
- url = host + "/" + path;
2081
- }
2082
- }
2083
- const body = init.body || {};
2084
- url = mayAdjustRequest(url, init);
2085
- if (!init.headers) {
2086
- init.headers = {};
2087
- }
2088
- if (!init.headers["content-type"] && init.body) {
2089
- init.headers["content-type"] = "application/json";
2090
- }
2091
- const jwt = sessionStorage.getItem("jwt");
2092
- if (jwt) {
2093
- init.headers.authorization = "Bearer " + jwt;
2094
- }
2095
- return mayShowAuthUi(init, url).then(async () => {
2096
- if (!jwt) mayAddJwtToRequest(init, body, url);
2097
- if (opts.serverData) {
2098
- return namedFetch(url, init, opts);
2099
- } else {
2100
- return fetch(url, init).then(processResponse);
2101
- }
2102
- });
2103
- }
2104
- var optsServerDataNames = /* @__PURE__ */ new WeakMap();
2105
- async function namedFetch(url, init, opts = {}) {
2106
- if (!opts.serverData) throw `use ezFetch() from fetch-helpers if a fetched response is not meant to be cached`;
2107
- if (typeof opts.serverData != "object") throw `opts.serverData is not an object`;
2108
- let result;
2109
- const dataName = await getDataName(url, init);
2110
- if (opts.serverData[dataName]) {
2111
- if (init.signal) {
2112
- await sleep(0);
2113
- if (init.signal.aborted) throw `stale sequenceId`;
2114
- }
2115
- result = structuredClone(opts.serverData[dataName]);
2116
- }
2117
- if (!result || typeof result != "object" && !(result instanceof Promise)) {
2118
- delete opts.serverData[dataName];
2119
- result = void 0;
2120
- }
2121
- if (!result) {
2122
- try {
2123
- const res = await fetch(url, init);
2124
- result = await processResponse(res);
2125
- if (typeof result == "object" && !(result instanceof Promise)) {
2126
- deepFreeze(result);
2127
- opts.serverData[dataName] = result;
2128
- result = structuredClone(result);
2129
- }
2130
- } catch (e) {
2131
- delete opts.serverData[dataName];
2132
- throw e;
2133
- }
2134
- }
2135
- if (!optsServerDataNames.has(opts.serverData)) optsServerDataNames.set(opts.serverData, []);
2136
- const keys = optsServerDataNames.get(opts.serverData);
2137
- const i = keys.indexOf(dataName);
2138
- if (i > 0) {
2139
- keys.splice(i, 1);
2140
- }
2141
- keys.unshift(dataName);
2142
- const maxKeys = 360;
2143
- while (keys.length > maxKeys) {
2144
- const oldestDataKey = keys.pop();
2145
- delete opts.serverData[oldestDataKey];
2146
- }
2147
- return result;
2148
- }
2149
- var defaultServerDataCache = {};
2150
- function dofetch3(path, init = {}, opts = {}) {
2151
- if (!init.signal && this) {
2152
- init.signal = this.getAbortSignal?.() || this.app?.getAbortSignal?.();
2153
- }
2154
- opts.serverData = defaultServerDataCache;
2155
- return dofetch2(path, init, opts);
2156
- }
2157
- function clearServerDataCache(opts = {}) {
2158
- const cache = opts?.serverData || defaultServerDataCache;
2159
- if (!cache) return;
2160
- for (const k of Object.keys(cache)) {
2161
- delete cache[k];
2162
- }
2163
- }
2164
- var urlMaxLength = 2e3;
2165
- function mayAdjustRequest(url, init) {
2166
- const hostname = window.location.hostname;
2167
- const method = init.method && init.method.toUpperCase() || "GET";
2168
- if (method == "POST") {
2169
- if (typeof init.body == "string") init.body = JSON.parse(init.body);
2170
- if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2171
- init.body = JSON.stringify(init.body);
2172
- return url;
2173
- }
2174
- if (method != "GET" && method != "DELETE" && method != "PUT") {
2175
- throw `unsupported init.method='${method}': must be undefined or GET or POST or DELETE or PUT`;
2176
- }
2177
- if (init.body) {
2178
- if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2179
- const params = encode(init.body);
2180
- if (!url.includes("?")) url += "?";
2181
- url += params;
2182
- }
2183
- if (!url.includes("embedder=") && includeEmbedder) {
2184
- const sep = url.includes("?") ? "&" : "?";
2185
- url += `${sep}embedder=${hostname}`;
2186
- }
2187
- if (url.length < urlMaxLength) {
2188
- if (init.body) delete init.body;
2189
- return url;
2190
- }
2191
- if (method != "GET") {
2192
- throw `the ${method} request URL is too long (${url.length} characters, max=${urlMaxLength})`;
2193
- }
2194
- init.method = "POST";
2195
- const [hostpath, query] = url.split("?");
2196
- if (init.body) {
2197
- init.body = JSON.stringify(init.body);
2198
- } else {
2199
- const params = {};
2200
- if (query)
2201
- query.split("&").forEach((p) => {
2202
- const [k, v] = p.split("=");
2203
- const decodedVal = decodeURIComponent(v);
2204
- try {
2205
- params[k] = JSON.parse(decodedVal);
2206
- } catch {
2207
- params[k] = decodedVal;
2208
- }
2209
- });
2210
- if (!params.embedder && includeEmbedder) params.embedder = hostname;
2211
- init.body = JSON.stringify(params);
2212
- }
2213
- return hostpath;
2214
- }
2215
- function setAuth(opts) {
2216
- setDsAuthOk(opts, dofetch3);
2217
- }
2218
-
2219
- export {
2220
- boxplot_getvalue,
2221
- init_bulk_flag,
2222
- parsesample,
2223
- clusterMethodLst,
2224
- distanceMethodLst,
2225
- HYPER_COLOR,
2226
- HYPO_COLOR,
2227
- computePercentile,
2228
- processFormData,
2229
- fileSize,
2230
- ssmIdFieldsSeparator,
2231
- summarize_mclass,
2232
- guessSsmid,
2233
- xAxisOffSet,
2234
- yAxisOffSet,
2235
- getCoordinate,
2236
- calculatePadding,
2237
- compute_bins,
2238
- get_bin_label,
2239
- get_bin_range_equation,
2240
- initBinConfig,
2241
- isUsableTerm,
2242
- formatElapsedTime,
2243
- vcfparsemeta,
2244
- vcfparseline,
2245
- setTokenByDsRoute,
2246
- getSavedToken,
2247
- mayAddJwtToRequest,
2248
- includeEmbedder,
2249
- setDsAuthOk,
2250
- getRequiredAuth,
2251
- isInSession,
2252
- mayShowAuthUi,
2253
- dofetch,
2254
- dofetch2,
2255
- namedFetch,
2256
- dofetch3,
2257
- clearServerDataCache,
2258
- setAuth
2259
- };
2260
- //# sourceMappingURL=chunk-5MHE7AIV.js.map