@sjcrh/proteinpaint-client 2.205.0 → 2.206.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 (928) hide show
  1. package/dist/2dmaf-5OYM4MXA.js +1367 -0
  2. package/dist/AggMatrixInput-4VTI4Y6E.js +277 -0
  3. package/dist/AggregateMatrix-K7SGNO63.js +41 -0
  4. package/dist/AppHeader-WU6TO2OZ.js +830 -0
  5. package/dist/BoxPlot-OW7U3XTF.js +1211 -0
  6. package/dist/CorrelationVolcano-B3JTTZHF.js +614 -0
  7. package/dist/Cuminc-AJEXWRU2.js +1219 -0
  8. package/dist/DE-2J7DSRPC.js +89 -0
  9. package/dist/DEinput-I7JWNOSD.js +499 -0
  10. package/dist/DM-NQ46YPGF.js +90 -0
  11. package/dist/DifferentialAnalysis-BFCQBX5J.js +237 -0
  12. package/dist/Disco-ZJLVQRTC.js +3389 -0
  13. package/dist/Disco.UI-AEDACXW2.js +243 -0
  14. package/dist/DmrPlot-QMRXAOM3.js +637 -0
  15. package/dist/GB-MFU2UJ22.js +1391 -0
  16. package/dist/GSEA-E3NHU22A.js +851 -0
  17. package/dist/GeneExpInput-MIUNSOPY.js +362 -0
  18. package/dist/Geomap-HAJG3STN.js +84 -0
  19. package/dist/HicApp-ECFFIRWI.js +2245 -0
  20. package/dist/IDCViewer-TNSD3U2V.js +10812 -0
  21. package/dist/NumBinaryEditor-CNBGZ6WY.js +279 -0
  22. package/dist/NumBinaryEditor.unit.spec-SKFDALF3.js +312 -0
  23. package/dist/NumContEditor-7ID2U7JL.js +105 -0
  24. package/dist/NumContEditor.unit.spec-XHSQSAWK.js +164 -0
  25. package/dist/NumCustomBinEditor-PAIPRJPO.js +33 -0
  26. package/dist/NumCustomBinEditor.unit.spec-QYVZMMHV.js +397 -0
  27. package/dist/NumDiscreteEditor-K2NZZQTH.js +170 -0
  28. package/dist/NumDiscreteEditor.unit.spec-3CG5VEQL.js +233 -0
  29. package/dist/NumRegularBinEditor-EOVZ22TP.js +33 -0
  30. package/dist/NumRegularBinEditor.unit.spec-FHTVH5FH.js +278 -0
  31. package/dist/NumSplineEditor-N3REMJUC.js +210 -0
  32. package/dist/NumSplineEditor.unit.spec-DZCP35GL.js +224 -0
  33. package/dist/NumericDensity-42MWVI2S.js +33 -0
  34. package/dist/NumericDensity.unit.spec-T2HHSQON.js +418 -0
  35. package/dist/NumericHandler-5XU3SSPD.js +34 -0
  36. package/dist/NumericHandler.unit.spec-3F23KSAQ.js +214 -0
  37. package/dist/ProteomeInput-UN2BUNRO.js +388 -0
  38. package/dist/Regression-HWLJENA5.js +1416 -0
  39. package/dist/RunChart2-YO55WE4M.js +749 -0
  40. package/dist/SC-LEDJ4DQR.js +1107 -0
  41. package/dist/Violin-E6PDJZ2B.js +1082 -0
  42. package/dist/Volcano-XJTBWYUK.js +1649 -0
  43. package/dist/Wsi-S675CYTW.js +431 -0
  44. package/dist/adSandbox-ZJQ5ZW2T.js +33 -0
  45. package/dist/animatedBubbleChart-LRUS7W36.js +547 -0
  46. package/dist/app-7Q3QIBU4.js +32 -0
  47. package/dist/app-PKSI4MV5.js +42 -0
  48. package/dist/app.js +17 -17
  49. package/dist/bam-X5JH5ZT7.js +876 -0
  50. package/dist/barchart-UT6J4L2N.js +42 -0
  51. package/dist/barchart2-ZG5QJO3C.js +309 -0
  52. package/dist/block-TC466NGW.js +6249 -0
  53. package/dist/block.init-CIBNSYAC.js +33 -0
  54. package/dist/block.mds.expressionrank-EY5PCQCK.js +354 -0
  55. package/dist/block.mds.geneboxplot-R6AOMHO5.js +823 -0
  56. package/dist/block.mds.junction-JMV6FNYC.js +1539 -0
  57. package/dist/block.mds.svcnv-IHTV3QYG.js +6796 -0
  58. package/dist/block.svg-NTFLVQAQ.js +159 -0
  59. package/dist/block.tk.aicheck-FYPL32Y4.js +278 -0
  60. package/dist/block.tk.ase-FWCB6VBO.js +360 -0
  61. package/dist/block.tk.bam-Q5UFUABN.js +1901 -0
  62. package/dist/block.tk.bedgraphdot-KBI3GFDM.js +379 -0
  63. package/dist/block.tk.bigwig.ui-KXNFX7G7.js +206 -0
  64. package/dist/block.tk.hicstraw-MQBH3YAJ.js +818 -0
  65. package/dist/block.tk.junction-EBTVXLJH.js +2358 -0
  66. package/dist/block.tk.junction.textmatrixui-ETYLCP2O.js +194 -0
  67. package/dist/block.tk.ld-NLB6L6WQ.js +94 -0
  68. package/dist/block.tk.menu-PJLCOXVJ.js +1024 -0
  69. package/dist/block.tk.pgv-JOIQVWL2.js +938 -0
  70. package/dist/brainImaging-SPRC3QFB.js +515 -0
  71. package/dist/brainRegions-LGQGRWG7.js +217 -0
  72. package/dist/brainRegions-LGQGRWG7.js.map +7 -0
  73. package/dist/bubbleHeatmap-CFTZ5RXH.js +378 -0
  74. package/dist/cellTypeBubbleHeatmap-DXPLFT5U.js +278 -0
  75. package/dist/chunk-2BQ572SL.js +102 -0
  76. package/dist/chunk-2DQIQYY3.js +103 -0
  77. package/dist/chunk-2POQWEK6.js +134 -0
  78. package/dist/chunk-2SQEVMAL.js +446 -0
  79. package/dist/chunk-37HTZ6IG.js +158 -0
  80. package/dist/chunk-452765PG.js +2676 -0
  81. package/dist/chunk-4DXQJGJ7.js +31 -0
  82. package/dist/chunk-4OLM3KSB.js +2708 -0
  83. package/dist/chunk-4OLM3KSB.js.map +7 -0
  84. package/dist/chunk-54KC7DAB.js +178 -0
  85. package/dist/chunk-5D5YTFI2.js +783 -0
  86. package/dist/chunk-5DBW3WLK.js +129 -0
  87. package/dist/chunk-5ILEFNXJ.js +402 -0
  88. package/dist/chunk-5UO7MKCO.js +59 -0
  89. package/dist/chunk-7R7P6VMT.js +243 -0
  90. package/dist/chunk-7X6NF7NI.js +96 -0
  91. package/dist/chunk-ANGLZ4XR.js +26 -0
  92. package/dist/chunk-BMQDU7KN.js +38 -0
  93. package/dist/chunk-C5TU4AYP.js +281 -0
  94. package/dist/chunk-DBQA6QIJ.js +4311 -0
  95. package/dist/chunk-DHNET3P4.js +42 -0
  96. package/dist/chunk-EGKHDALO.js +382 -0
  97. package/dist/chunk-EPWGUWQP.js +34 -0
  98. package/dist/chunk-F3EYPES3.js +1339 -0
  99. package/dist/chunk-F4DM3WS4.js +194 -0
  100. package/dist/chunk-FTLCINDC.js +294 -0
  101. package/dist/chunk-GT6WJUJY.js +480 -0
  102. package/dist/chunk-GWCK5QGV.js +70 -0
  103. package/dist/chunk-HJSGHFJ6.js +464 -0
  104. package/dist/chunk-HS6BTSFX.js +49 -0
  105. package/dist/chunk-IB5TKNG5.js +5071 -0
  106. package/dist/chunk-IIMTOPH3.js +54 -0
  107. package/dist/chunk-ILEXRHF7.js +367 -0
  108. package/dist/chunk-ILEXRHF7.js.map +7 -0
  109. package/dist/chunk-IZUYLFOX.js +1608 -0
  110. package/dist/chunk-IZUYLFOX.js.map +7 -0
  111. package/dist/chunk-JAXN3Q3K.js +272 -0
  112. package/dist/chunk-K6PYTAXW.js +2853 -0
  113. package/dist/chunk-KIRZXPMB.js +141 -0
  114. package/dist/chunk-KT4OZVO3.js +1275 -0
  115. package/dist/chunk-L32KMIC3.js +54 -0
  116. package/dist/chunk-LB7NENEB.js +123 -0
  117. package/dist/chunk-LDWMVZYF.js +562 -0
  118. package/dist/chunk-M367Y7ML.js +140 -0
  119. package/dist/chunk-M4XXKTH2.js +339 -0
  120. package/dist/chunk-ME7OF3CS.js +176 -0
  121. package/dist/chunk-N2CXLMNX.js +626 -0
  122. package/dist/chunk-N7DVQTPC.js +119 -0
  123. package/dist/chunk-N7TD7N7D.js +518 -0
  124. package/dist/chunk-NBX6TT5C.js +299 -0
  125. package/dist/chunk-NLR7JIMM.js +1986 -0
  126. package/dist/chunk-NSRGYBDM.js +339 -0
  127. package/dist/chunk-NVS7KYYI.js +379 -0
  128. package/dist/chunk-OVPEMVXT.js +397 -0
  129. package/dist/chunk-OXWLQQXL.js +274 -0
  130. package/dist/chunk-Q5SK3U2T.js +24163 -0
  131. package/dist/chunk-Q5SK3U2T.js.map +7 -0
  132. package/dist/chunk-QGGSYEVJ.js +55 -0
  133. package/dist/chunk-QLEVONLD.js +50 -0
  134. package/dist/chunk-RFW5BRIZ.js +1233 -0
  135. package/dist/chunk-RFW5BRIZ.js.map +7 -0
  136. package/dist/chunk-RNWHB5DI.js +98 -0
  137. package/dist/chunk-RPDVFM7E.js +2133 -0
  138. package/dist/chunk-RUHLDUOT.js +203 -0
  139. package/dist/chunk-RV34WFGZ.js +197 -0
  140. package/dist/chunk-SDVE5ECI.js +6360 -0
  141. package/dist/chunk-SWO6DZTG.js +170 -0
  142. package/dist/chunk-SYPSS3JQ.js +387 -0
  143. package/dist/chunk-TDM3645O.js +2327 -0
  144. package/dist/chunk-VVO3R5JV.js +217 -0
  145. package/dist/chunk-VYEU6Y35.js +14 -0
  146. package/dist/chunk-WGXC6IEF.js +263 -0
  147. package/dist/chunk-WPDM57B5.js +1720 -0
  148. package/dist/chunk-WS7WKS2B.js +2784 -0
  149. package/dist/chunk-X63NSV33.js +276 -0
  150. package/dist/chunk-XXNRSSBR.js +56 -0
  151. package/dist/chunk-YD6UGDFI.js +102 -0
  152. package/dist/chunk-YRIYDFNU.js +160 -0
  153. package/dist/chunk-YY5WQQ3J.js +194 -0
  154. package/dist/chunk-Z2ZITHT4.js +4195 -0
  155. package/dist/chunk-Z4SM3FBK.js +302 -0
  156. package/dist/chunk-ZEYEIUEZ.js +240 -0
  157. package/dist/chunk-ZLYTDHQP.js +677 -0
  158. package/dist/chunk-ZWCVRVV4.js +550 -0
  159. package/dist/cohort-FZNMFWOX.js +70 -0
  160. package/dist/condition-AJJLFCBQ.js +327 -0
  161. package/dist/controls-SZOLV37V.js +34 -0
  162. package/dist/controls.config-CVP75WFA.js +34 -0
  163. package/dist/correlation-UFJFQHQ3.js +95 -0
  164. package/dist/customdata.inputui-HOVA4A6O.js +284 -0
  165. package/dist/dataDownload-VTUG4IOK.js +329 -0
  166. package/dist/databrowser.ui-O5S4Y4EK.js +425 -0
  167. package/dist/dictionary-L2UNNNP7.js +113 -0
  168. package/dist/dnaMethylation-B4SWZI4O.js +33 -0
  169. package/dist/dnaMethylation.integration.spec-ANJAMNYJ.js +198 -0
  170. package/dist/dofetch-F5XSHQIS.js +48 -0
  171. package/dist/e2pca-66ARIMKL.js +344 -0
  172. package/dist/ep-OFGJYVUY.js +1249 -0
  173. package/dist/expclust.gdc.spec-22RXQTTP.js +302 -0
  174. package/dist/facet-GVZQ3RPN.js +519 -0
  175. package/dist/gb-HEPGVYEK.js +81 -0
  176. package/dist/geneExpClustering-3NU2U422.js +244 -0
  177. package/dist/geneExpression-FXQ4L2J2.js +310 -0
  178. package/dist/geneExpression-XYVYJJA5.js +33 -0
  179. package/dist/geneExpression.unit.spec-K3FIRSNK.js +99 -0
  180. package/dist/geneORA-5M2JSDMF.js +273 -0
  181. package/dist/geneRanking-TP3R3CS3.js +548 -0
  182. package/dist/geneVariant-232EYUFJ.js +36 -0
  183. package/dist/geneVariant-BHXTPUDC.js +286 -0
  184. package/dist/geneVariant.integration.spec-ICFHVFIR.js +388 -0
  185. package/dist/genefusion.ui-ABRCUQFC.js +303 -0
  186. package/dist/geneset-N42FIVA6.js +203 -0
  187. package/dist/genomeBrowser.spec-5HKQKLRU.js +276 -0
  188. package/dist/grin2-H2KJYLP6.js +1137 -0
  189. package/dist/grin2-NGMTEMXF.js +70 -0
  190. package/dist/hierCluster-JU5JPLM7.js +55 -0
  191. package/dist/hierCluster-LSSH275H.js +59 -0
  192. package/dist/hierCluster.config-ILOR7GBB.js +36 -0
  193. package/dist/hierCluster.integration.spec-CNR5OJOH.js +483 -0
  194. package/dist/hierCluster.interactivity-TLEIVTFK.js +49 -0
  195. package/dist/hierCluster.renderers-P7JNIT3N.js +19 -0
  196. package/dist/imagePlot-BF67SXQR.js +156 -0
  197. package/dist/importPlot-OHXSXNZN.js +8 -0
  198. package/dist/isoformExpression-4VKHE4HA.js +35 -0
  199. package/dist/isoformExpression.unit.spec-4TVSIFG4.js +237 -0
  200. package/dist/junction-VUHORV43.js +36 -0
  201. package/dist/junction.customTerm-FRYWSS4P.js +16 -0
  202. package/dist/junction.unit.spec-KKVLYT7Q.js +182 -0
  203. package/dist/launch.adhoc-UDYMFZTQ.js +37 -0
  204. package/dist/leftlabel.sample-R5FFBWG3.js +258 -0
  205. package/dist/legacyDataset-IEFWFVS6.js +117 -0
  206. package/dist/lollipop-3IX6ZYUN.js +166 -0
  207. package/dist/maf-42UFYSL4.js +455 -0
  208. package/dist/maftimeline-M5WYEN62.js +587 -0
  209. package/dist/matrix-CI76EDHU.js +54 -0
  210. package/dist/matrix-WJZKA6VR.js +59 -0
  211. package/dist/matrix.cells-ZFKVIPDC.js +26 -0
  212. package/dist/matrix.config-24TFHBEM.js +37 -0
  213. package/dist/matrix.data-NCGZPNWR.js +23 -0
  214. package/dist/matrix.groups-XQJTGM6M.js +26 -0
  215. package/dist/matrix.integration.spec-OGXZUDE6.js +3160 -0
  216. package/dist/matrix.interactivity-ZOOTPNSW.js +37 -0
  217. package/dist/matrix.layout-5J2YENK3.js +39 -0
  218. package/dist/matrix.legend-U36VCS46.js +20 -0
  219. package/dist/matrix.renderers-4KFE7ZVR.js +34 -0
  220. package/dist/matrix.serieses-AW7XBXLJ.js +19 -0
  221. package/dist/matrix.sort-7PMECLOE.js +26 -0
  222. package/dist/matrix.sort.unit.spec-GIA2YOTQ.js +468 -0
  223. package/dist/matrix.sorterUi-J6PRUT6J.js +16 -0
  224. package/dist/matrix.sorterUi.unit.spec-OPGKZZL6.js +338 -0
  225. package/dist/matrix.unit.spec-7UIVVR4T.js +150 -0
  226. package/dist/mavb-MSYUMT6W.js +727 -0
  227. package/dist/mds.fimo-OYEAQP37.js +513 -0
  228. package/dist/mds.samplescatterplot-EXISSRQQ.js +1545 -0
  229. package/dist/mds.survivalplot-SZST6BLN.js +477 -0
  230. package/dist/multivalue-YDE7L75Y.js +83 -0
  231. package/dist/numericDictTermCluster-5AKP6ICC.js +63 -0
  232. package/dist/oncomatrix-2OEIYWR6.js +290 -0
  233. package/dist/oncomatrix.spec-CXQW4JWU.js +443 -0
  234. package/dist/plot.2dvaf-LN7A3NNC.js +372 -0
  235. package/dist/plot.app-YIQOY2Z7.js +36 -0
  236. package/dist/plot.barplot-HF2J25XP.js +97 -0
  237. package/dist/plot.boxplot-YJH4L27U.js +146 -0
  238. package/dist/plot.brainImaging-PS4TRSPI.js +51 -0
  239. package/dist/plot.disco-BN5RNZ6Q.js +99 -0
  240. package/dist/plot.ssgq-N2HTOIY3.js +134 -0
  241. package/dist/plot.vaf2cov-6AOHRUQ2.js +253 -0
  242. package/dist/polar2-TC5OEJRE.js +232 -0
  243. package/dist/profileForms-5WV2TSBB.js +941 -0
  244. package/dist/profilePlot-OJLLW44P.js +49 -0
  245. package/dist/proteinView-CGNAJN4S.js +1357 -0
  246. package/dist/proteinView-CGNAJN4S.js.map +7 -0
  247. package/dist/proteomeCohortCompare-XXQGGVCF.js +912 -0
  248. package/dist/proteomeCohortCompare-XXQGGVCF.js.map +7 -0
  249. package/dist/pseudbulk.unit.spec-RAYRGN6C.js +86 -0
  250. package/dist/pseudobulk-ADHAYVSQ.js +35 -0
  251. package/dist/qualitative-JXEI3IYC.js +38 -0
  252. package/dist/radar2-BWTKSTT3.js +327 -0
  253. package/dist/radarFacility2-WIRSKTDG.js +335 -0
  254. package/dist/rememberedGvQ.unit.spec-N43O4YTF.js +211 -0
  255. package/dist/render-J7WOYBOL.js +33 -0
  256. package/dist/report-DRPCXX2B.js +217 -0
  257. package/dist/sampleView-BV6BQGGQ.js +43 -0
  258. package/dist/samplelst-ZD63EYO7.js +106 -0
  259. package/dist/samplematrix-ZZ3DVELU.js +2193 -0
  260. package/dist/sc-MUI43YTB.js +81 -0
  261. package/dist/scatter-7B44HTKN.js +88 -0
  262. package/dist/scatter-UEDVIE4Y.js +880 -0
  263. package/dist/selectGenomeWithTklst-WGOKGVZ5.js +129 -0
  264. package/dist/singleCellCellType-Z7OXK7PI.js +33 -0
  265. package/dist/singleCellCellType.unit.spec-IIOVCCJQ.js +154 -0
  266. package/dist/singleCellGeneExpression-LYZAIJ2Z.js +33 -0
  267. package/dist/singleCellGeneExpression.unit.spec-67AAWZTG.js +148 -0
  268. package/dist/singleCellPlot-TXPYQLSH.js +49 -0
  269. package/dist/singlecell-22OG6HNI.js +1566 -0
  270. package/dist/singlecell-7TBALI2S.js +81 -0
  271. package/dist/snp-3U2G3Z57.js +33 -0
  272. package/dist/snp.unit.spec-BMBBUBYD.js +171 -0
  273. package/dist/snplocus-SSVZDIQV.js +203 -0
  274. package/dist/spliceevent.a53ss.diagram-FK7CN4AU.js +146 -0
  275. package/dist/spliceevent.exonskip.diagram-EFLGV3O4.js +278 -0
  276. package/dist/spliceevent.noeventdiagram-2DYO7CCZ.js +455 -0
  277. package/dist/ssGSEA-52LWBQJP.js +33 -0
  278. package/dist/ssGSEA.unit.spec-3JV6WHUQ.js +83 -0
  279. package/dist/stattable-RLMYQ4G6.js +117 -0
  280. package/dist/studyCatalog-DKB3U7EV.js +414 -0
  281. package/dist/studyCatalog-DKB3U7EV.js.map +7 -0
  282. package/dist/summarizeCnvGeneexp-QPRYAKC2.js +158 -0
  283. package/dist/summarizeGeneexpSurvival-RWVQXEKB.js +105 -0
  284. package/dist/summarizeMutationCnv-DW5F6NUJ.js +159 -0
  285. package/dist/summarizeMutationDiagnosis-5FOQ7CHI.js +35 -0
  286. package/dist/summarizeMutationSurvival-4UKB4EVO.js +99 -0
  287. package/dist/summary-TYC6QNT4.js +42 -0
  288. package/dist/summary.integration.spec-5GLJJZNM.js +409 -0
  289. package/dist/summaryInput-4IJGKW4P.js +242 -0
  290. package/dist/sunburst-G7DGATWP.js +278 -0
  291. package/dist/survival-IHM6A7LL.js +1248 -0
  292. package/dist/survival-MKNABJPU.js +53 -0
  293. package/dist/survival.integration.spec-THOKI3DL.js +613 -0
  294. package/dist/survival.integration.spec-THOKI3DL.js.map +7 -0
  295. package/dist/svgraph-VB7JWWR5.js +1382 -0
  296. package/dist/svmr-VLQIO2U5.js +3837 -0
  297. package/dist/table-EAXMDWOY.js +197 -0
  298. package/dist/termCollection-5LG7ICQY.js +252 -0
  299. package/dist/termCollection-SB6MWLFK.js +33 -0
  300. package/dist/termCollection.unit.spec-H5ITGTR3.js +299 -0
  301. package/dist/termCollectionFractionSelection-2XZSTDCQ.js +42 -0
  302. package/dist/termCollectionFractionSelection.unit.spec-BIO7V6KA.js +188 -0
  303. package/dist/tk-TRWYZLQ2.js +1121 -0
  304. package/dist/tk-VZI5HNSX.js +41 -0
  305. package/dist/tp.ui-J5SNNAT3.js +1454 -0
  306. package/dist/tvs.dt-6YHFJPER.js +34 -0
  307. package/dist/tvs.dtcnv.categorical-WTIE63GM.js +35 -0
  308. package/dist/tvs.dtcnv.continuous-OCMKGTF5.js +67 -0
  309. package/dist/tvs.dtfusion-CA23UNM3.js +35 -0
  310. package/dist/tvs.dtitd-VSYMR3OD.js +35 -0
  311. package/dist/tvs.dtsnvindel-YBNO3CYF.js +35 -0
  312. package/dist/tvs.dtsv-S743GBB5.js +35 -0
  313. package/dist/tvs.numeric-22AHXO5K.js +20 -0
  314. package/dist/tvs.samplelst-XAJO4EM6.js +98 -0
  315. package/dist/tvs.termCollection-QOVJGAUC.js +124 -0
  316. package/dist/vocabulary-6EADTHP3.js +36 -0
  317. package/dist/wsi.direct-2WB2NGC5.js +8184 -0
  318. package/package.json +3 -3
  319. package/dist/2dmaf-ZQ7ACPAD.js +0 -1367
  320. package/dist/AggMatrixInput-EACGUIQA.js +0 -277
  321. package/dist/AggregateMatrix-TC5DTSYN.js +0 -41
  322. package/dist/AppHeader-PHI6US5B.js +0 -830
  323. package/dist/BoxPlot-QWKK3IJ7.js +0 -1211
  324. package/dist/CorrelationVolcano-QJJN7FVP.js +0 -614
  325. package/dist/Cuminc-6F2C5C4E.js +0 -1219
  326. package/dist/DE-HRJH6ZQL.js +0 -89
  327. package/dist/DEinput-T3MPAYPH.js +0 -499
  328. package/dist/DM-PEG4ED2X.js +0 -90
  329. package/dist/DifferentialAnalysis-XGXHWGPI.js +0 -237
  330. package/dist/Disco-7SRTTB3X.js +0 -3389
  331. package/dist/Disco.UI-CKKZ5MMK.js +0 -243
  332. package/dist/DmrPlot-N4CT4J2I.js +0 -637
  333. package/dist/GB-NVCLPRWN.js +0 -1391
  334. package/dist/GSEA-UZUNJG7Z.js +0 -851
  335. package/dist/GeneExpInput-3MDN2CAW.js +0 -362
  336. package/dist/Geomap-ZUF2PE5A.js +0 -84
  337. package/dist/HicApp-OIJT5TFU.js +0 -2245
  338. package/dist/IDCViewer-ZSH2E57L.js +0 -10812
  339. package/dist/NumBinaryEditor-74ZPGT7L.js +0 -279
  340. package/dist/NumBinaryEditor.unit.spec-T2I66SO5.js +0 -312
  341. package/dist/NumContEditor-M2GARZXM.js +0 -105
  342. package/dist/NumContEditor.unit.spec-G2QBBNH7.js +0 -164
  343. package/dist/NumCustomBinEditor-P44G67KS.js +0 -33
  344. package/dist/NumCustomBinEditor.unit.spec-AZHJN3V6.js +0 -397
  345. package/dist/NumDiscreteEditor-VOZ63LZY.js +0 -170
  346. package/dist/NumDiscreteEditor.unit.spec-CFSVPNBA.js +0 -233
  347. package/dist/NumRegularBinEditor-I6GJQR7W.js +0 -33
  348. package/dist/NumRegularBinEditor.unit.spec-IDJE7H6S.js +0 -278
  349. package/dist/NumSplineEditor-BCGWE52A.js +0 -210
  350. package/dist/NumSplineEditor.unit.spec-YQAL7L2E.js +0 -224
  351. package/dist/NumericDensity-P25W63RV.js +0 -33
  352. package/dist/NumericDensity.unit.spec-N7CQ5W5L.js +0 -418
  353. package/dist/NumericHandler-R7JWIFEO.js +0 -34
  354. package/dist/NumericHandler.unit.spec-LMGIAGZJ.js +0 -214
  355. package/dist/ProteomeInput-PRYKKF5E.js +0 -388
  356. package/dist/Regression-PSHH7ZXN.js +0 -1416
  357. package/dist/RunChart2-KJ2UWVCE.js +0 -749
  358. package/dist/SC-R6ZIJZ6F.js +0 -1107
  359. package/dist/Violin-GTQAUJ7B.js +0 -1082
  360. package/dist/Volcano-NER64J7W.js +0 -1649
  361. package/dist/Wsi-GXNGL7O6.js +0 -431
  362. package/dist/adSandbox-SXSHVG4P.js +0 -33
  363. package/dist/animatedBubbleChart-Q4NEETEH.js +0 -547
  364. package/dist/app-MX4PL2QO.js +0 -42
  365. package/dist/app-R5CTEVAC.js +0 -32
  366. package/dist/bam-45N3FEEM.js +0 -876
  367. package/dist/barchart-YCTKQJQX.js +0 -42
  368. package/dist/barchart2-252GS3CA.js +0 -309
  369. package/dist/block-CR75JHV3.js +0 -6249
  370. package/dist/block.init-U3JMED2E.js +0 -33
  371. package/dist/block.mds.expressionrank-TAN3BDPS.js +0 -354
  372. package/dist/block.mds.geneboxplot-EN344GEP.js +0 -823
  373. package/dist/block.mds.junction-RFVVJUTR.js +0 -1539
  374. package/dist/block.mds.svcnv-SSUMXEWD.js +0 -6796
  375. package/dist/block.svg-LRPGNFFI.js +0 -159
  376. package/dist/block.tk.aicheck-YY23FT2G.js +0 -278
  377. package/dist/block.tk.ase-JCGPFKFT.js +0 -360
  378. package/dist/block.tk.bam-NZDC4H7Y.js +0 -1901
  379. package/dist/block.tk.bedgraphdot-NCNZPZH6.js +0 -379
  380. package/dist/block.tk.bigwig.ui-Z7G6ZITU.js +0 -206
  381. package/dist/block.tk.hicstraw-VVDP4UF5.js +0 -818
  382. package/dist/block.tk.junction-L4YBPAHM.js +0 -2358
  383. package/dist/block.tk.junction.textmatrixui-6CMKKUB5.js +0 -194
  384. package/dist/block.tk.ld-VCP2R5UO.js +0 -94
  385. package/dist/block.tk.menu-ZJYGMEDX.js +0 -1024
  386. package/dist/block.tk.pgv-M5WNUIVS.js +0 -938
  387. package/dist/brainImaging-JGECJHZO.js +0 -515
  388. package/dist/brainRegions-NTEAXNZJ.js +0 -234
  389. package/dist/brainRegions-NTEAXNZJ.js.map +0 -7
  390. package/dist/bubbleHeatmap-7DQNWBQ2.js +0 -378
  391. package/dist/cellTypeBubbleHeatmap-LAE7U3RF.js +0 -278
  392. package/dist/chunk-2AQT3ZWL.js +0 -626
  393. package/dist/chunk-2GLNPB5J.js +0 -203
  394. package/dist/chunk-2O4CS3EZ.js +0 -274
  395. package/dist/chunk-2Z4ZSINZ.js +0 -323
  396. package/dist/chunk-2Z4ZSINZ.js.map +0 -7
  397. package/dist/chunk-3MFFZRH3.js +0 -6360
  398. package/dist/chunk-3PHXBY3Z.js +0 -1275
  399. package/dist/chunk-4AQQ3BXD.js +0 -70
  400. package/dist/chunk-4PPZYVWZ.js +0 -281
  401. package/dist/chunk-4WEA7HHH.js +0 -26
  402. package/dist/chunk-57NYHASA.js +0 -38
  403. package/dist/chunk-5AAAH4OZ.js +0 -141
  404. package/dist/chunk-5BCNVZIW.js +0 -480
  405. package/dist/chunk-6JBLNS4D.js +0 -387
  406. package/dist/chunk-6JBQLOJW.js +0 -1339
  407. package/dist/chunk-756KZF5Y.js +0 -158
  408. package/dist/chunk-ABTO5QSB.js +0 -276
  409. package/dist/chunk-ALEZQQOK.js +0 -299
  410. package/dist/chunk-APK7TUJX.js +0 -102
  411. package/dist/chunk-AQAFURQM.js +0 -59
  412. package/dist/chunk-BEJJS2HC.js +0 -194
  413. package/dist/chunk-CZ5QLVWK.js +0 -49
  414. package/dist/chunk-D2MZT7CC.js +0 -176
  415. package/dist/chunk-D6G64XPJ.js +0 -96
  416. package/dist/chunk-DE3F7FAP.js +0 -34
  417. package/dist/chunk-DF3IMIR2.js +0 -464
  418. package/dist/chunk-E4WIMTK4.js +0 -446
  419. package/dist/chunk-E7TJXNIL.js +0 -42
  420. package/dist/chunk-G3JNTWCX.js +0 -103
  421. package/dist/chunk-GN2IIC6U.js +0 -160
  422. package/dist/chunk-GRI74AXV.js +0 -294
  423. package/dist/chunk-HDTFYTEL.js +0 -2694
  424. package/dist/chunk-HDTFYTEL.js.map +0 -7
  425. package/dist/chunk-IAE3KWN5.js +0 -550
  426. package/dist/chunk-IB4NE4SI.js +0 -397
  427. package/dist/chunk-IK2BO37K.js +0 -1608
  428. package/dist/chunk-IK2BO37K.js.map +0 -7
  429. package/dist/chunk-IS4VLUEX.js +0 -382
  430. package/dist/chunk-J2DICGKC.js +0 -194
  431. package/dist/chunk-J7JDCNLU.js +0 -24141
  432. package/dist/chunk-J7JDCNLU.js.map +0 -7
  433. package/dist/chunk-JBUEQ4E6.js +0 -263
  434. package/dist/chunk-JIDJBM2R.js +0 -2676
  435. package/dist/chunk-JNVWSFNC.js +0 -54
  436. package/dist/chunk-JYOIO5UY.js +0 -2133
  437. package/dist/chunk-KAFDQKN7.js +0 -1720
  438. package/dist/chunk-L743GRJE.js +0 -783
  439. package/dist/chunk-LGOTIL62.js +0 -54
  440. package/dist/chunk-LHP7RXET.js +0 -243
  441. package/dist/chunk-LK2GHBUH.js +0 -123
  442. package/dist/chunk-MAVDQAZE.js +0 -518
  443. package/dist/chunk-MKT4OJ3G.js +0 -102
  444. package/dist/chunk-N635HDJ4.js +0 -178
  445. package/dist/chunk-NFAE6VNU.js +0 -2327
  446. package/dist/chunk-NG7K5KYO.js +0 -56
  447. package/dist/chunk-NXVUL3EY.js +0 -2853
  448. package/dist/chunk-ODMLC5FN.js +0 -55
  449. package/dist/chunk-OJ4TDGPQ.js +0 -339
  450. package/dist/chunk-OXLBPSJ6.js +0 -379
  451. package/dist/chunk-P5GRGXH4.js +0 -98
  452. package/dist/chunk-POWG4MPT.js +0 -31
  453. package/dist/chunk-Q25DABNW.js +0 -217
  454. package/dist/chunk-QHJGWCH3.js +0 -4311
  455. package/dist/chunk-R5OIIFSF.js +0 -197
  456. package/dist/chunk-RJFCT67B.js +0 -2784
  457. package/dist/chunk-RN4BOWRH.js +0 -402
  458. package/dist/chunk-RZFJ6K77.js +0 -302
  459. package/dist/chunk-S5UN4VIQ.js +0 -272
  460. package/dist/chunk-SDMNZJ7X.js +0 -50
  461. package/dist/chunk-SWZAHJYP.js +0 -170
  462. package/dist/chunk-SY63UUF7.js +0 -562
  463. package/dist/chunk-T46FA72N.js +0 -119
  464. package/dist/chunk-TBPVP3KZ.js +0 -1986
  465. package/dist/chunk-UM5NWVMA.js +0 -140
  466. package/dist/chunk-VIBK253J.js +0 -134
  467. package/dist/chunk-XKL2D2NN.js +0 -240
  468. package/dist/chunk-XXJT7DSL.js +0 -677
  469. package/dist/chunk-YHA3AYAM.js +0 -5071
  470. package/dist/chunk-YLJOZP4P.js +0 -4195
  471. package/dist/chunk-YN5NY3D3.js +0 -339
  472. package/dist/chunk-YX6FIREB.js +0 -14
  473. package/dist/chunk-ZXU4ALLZ.js +0 -129
  474. package/dist/cohort-75FUW3UO.js +0 -70
  475. package/dist/condition-VW43Q6ZE.js +0 -327
  476. package/dist/controls-HOP2AFHD.js +0 -34
  477. package/dist/controls.config-CMIFSKQE.js +0 -34
  478. package/dist/correlation-PN7BS5OR.js +0 -95
  479. package/dist/customdata.inputui-ZBZX63PS.js +0 -284
  480. package/dist/dataDownload-LGA4LAUF.js +0 -329
  481. package/dist/databrowser.ui-IQRDVL66.js +0 -425
  482. package/dist/dictionary-BPWD77LJ.js +0 -113
  483. package/dist/dnaMethylation-A3XPPBBB.js +0 -33
  484. package/dist/dnaMethylation.integration.spec-554ITDQC.js +0 -198
  485. package/dist/dofetch-FQ42AX7C.js +0 -48
  486. package/dist/e2pca-F3GWG7WZ.js +0 -344
  487. package/dist/ep-QAVN472H.js +0 -1249
  488. package/dist/expclust.gdc.spec-DQNX7FTL.js +0 -302
  489. package/dist/facet-DH7OOZTJ.js +0 -519
  490. package/dist/gb-OCXOLAMD.js +0 -81
  491. package/dist/geneExpClustering-DWYRZGTS.js +0 -244
  492. package/dist/geneExpression-2NKSKZR6.js +0 -33
  493. package/dist/geneExpression-BGFR3KQE.js +0 -310
  494. package/dist/geneExpression.unit.spec-63EKKMET.js +0 -99
  495. package/dist/geneORA-BED6XL4D.js +0 -273
  496. package/dist/geneRanking-UB5RCQNP.js +0 -548
  497. package/dist/geneVariant-WJEONTTY.js +0 -286
  498. package/dist/geneVariant-Y4C2FPJK.js +0 -36
  499. package/dist/geneVariant.integration.spec-VFYLC47N.js +0 -388
  500. package/dist/genefusion.ui-P3NBIMLE.js +0 -303
  501. package/dist/geneset-O22RQAED.js +0 -203
  502. package/dist/genomeBrowser.spec-MM7WZUGI.js +0 -276
  503. package/dist/grin2-3YBIRKUT.js +0 -70
  504. package/dist/grin2-O637DNDS.js +0 -1137
  505. package/dist/hierCluster-3X3BQVNE.js +0 -59
  506. package/dist/hierCluster-7P7M75TU.js +0 -55
  507. package/dist/hierCluster.config-XFUOLLDK.js +0 -36
  508. package/dist/hierCluster.integration.spec-HKYGSDDG.js +0 -483
  509. package/dist/hierCluster.interactivity-JUZSWCM7.js +0 -49
  510. package/dist/hierCluster.renderers-NGPPAYFM.js +0 -19
  511. package/dist/imagePlot-LKGAFJO7.js +0 -156
  512. package/dist/importPlot-SRWQA2FH.js +0 -8
  513. package/dist/isoformExpression-RYIZQIVX.js +0 -35
  514. package/dist/isoformExpression.unit.spec-DP4ECITF.js +0 -237
  515. package/dist/junction-D7QQ3YSG.js +0 -36
  516. package/dist/junction.customTerm-ZEVNCVU7.js +0 -16
  517. package/dist/junction.unit.spec-6MAKIB3R.js +0 -182
  518. package/dist/launch.adhoc-FAHRZFYG.js +0 -37
  519. package/dist/leftlabel.sample-PDZLWLJ4.js +0 -258
  520. package/dist/legacyDataset-27L4DMCL.js +0 -117
  521. package/dist/lollipop-VWGJUHNX.js +0 -166
  522. package/dist/maf-W52H44WK.js +0 -455
  523. package/dist/maftimeline-5JV3HZLE.js +0 -587
  524. package/dist/matrix-CEVGKXSK.js +0 -54
  525. package/dist/matrix-EXNYXYLK.js +0 -59
  526. package/dist/matrix.cells-DVPWSLJW.js +0 -26
  527. package/dist/matrix.config-RLSTWDXC.js +0 -37
  528. package/dist/matrix.data-Z6GUACVZ.js +0 -23
  529. package/dist/matrix.groups-3ZSTUWRK.js +0 -26
  530. package/dist/matrix.integration.spec-4U2R3UB2.js +0 -3160
  531. package/dist/matrix.interactivity-DJZFQ7DN.js +0 -37
  532. package/dist/matrix.layout-RQJ6VB4P.js +0 -39
  533. package/dist/matrix.legend-YQ36NWKW.js +0 -20
  534. package/dist/matrix.renderers-MWDFI6HW.js +0 -34
  535. package/dist/matrix.serieses-LTC4RLYD.js +0 -19
  536. package/dist/matrix.sort-5VFYLABY.js +0 -26
  537. package/dist/matrix.sort.unit.spec-2RUEKUT4.js +0 -468
  538. package/dist/matrix.sorterUi-EEMYZLPI.js +0 -16
  539. package/dist/matrix.sorterUi.unit.spec-ZXGSPRFZ.js +0 -338
  540. package/dist/matrix.unit.spec-HTF6UV4L.js +0 -150
  541. package/dist/mavb-GGQRDCO6.js +0 -727
  542. package/dist/mds.fimo-YKV5OIYV.js +0 -513
  543. package/dist/mds.samplescatterplot-RQOEW2AW.js +0 -1545
  544. package/dist/mds.survivalplot-TN636DED.js +0 -477
  545. package/dist/multivalue-MDQY64EH.js +0 -83
  546. package/dist/numericDictTermCluster-E73TJCLI.js +0 -63
  547. package/dist/oncomatrix-AENXQMLL.js +0 -290
  548. package/dist/oncomatrix.spec-UD6U462U.js +0 -443
  549. package/dist/plot.2dvaf-XMRV6KEG.js +0 -372
  550. package/dist/plot.app-A6JKLYQQ.js +0 -36
  551. package/dist/plot.barplot-UIX7LVWR.js +0 -97
  552. package/dist/plot.boxplot-DIFWVLMA.js +0 -146
  553. package/dist/plot.brainImaging-ZRPVE2UK.js +0 -51
  554. package/dist/plot.disco-I56MT3PC.js +0 -99
  555. package/dist/plot.ssgq-FCKFSZTV.js +0 -134
  556. package/dist/plot.vaf2cov-E5C7RJ7Z.js +0 -253
  557. package/dist/polar2-SKVBB4FD.js +0 -232
  558. package/dist/profileForms-5B3MTUNP.js +0 -941
  559. package/dist/profilePlot-MCYCGEWT.js +0 -49
  560. package/dist/proteinView-5X55JWVL.js +0 -1562
  561. package/dist/proteinView-5X55JWVL.js.map +0 -7
  562. package/dist/proteomeCohortCompare-WZBMBLFD.js +0 -780
  563. package/dist/proteomeCohortCompare-WZBMBLFD.js.map +0 -7
  564. package/dist/pseudbulk.unit.spec-Q4YTIPH7.js +0 -86
  565. package/dist/pseudobulk-3UIWCCCQ.js +0 -35
  566. package/dist/qualitative-6TJRXZFV.js +0 -38
  567. package/dist/radar2-6X4XW5IZ.js +0 -327
  568. package/dist/radarFacility2-UVPXWPV5.js +0 -335
  569. package/dist/rememberedGvQ.unit.spec-GVRFRVSO.js +0 -211
  570. package/dist/render-G7V6R4PV.js +0 -33
  571. package/dist/report-O7D46EKQ.js +0 -217
  572. package/dist/sampleView-6Y3OOOMW.js +0 -43
  573. package/dist/samplelst-JRVC4GYC.js +0 -106
  574. package/dist/samplematrix-VP5RQVRH.js +0 -2193
  575. package/dist/sc-BPHVEP6N.js +0 -81
  576. package/dist/scatter-2YYRZCSW.js +0 -88
  577. package/dist/scatter-Y4BIG2PW.js +0 -880
  578. package/dist/selectGenomeWithTklst-2BVZU5SW.js +0 -129
  579. package/dist/singleCellCellType-XBGCSIQT.js +0 -33
  580. package/dist/singleCellCellType.unit.spec-T4GFRLVZ.js +0 -154
  581. package/dist/singleCellGeneExpression-5ZPWLSVW.js +0 -33
  582. package/dist/singleCellGeneExpression.unit.spec-4O5UBUDU.js +0 -148
  583. package/dist/singleCellPlot-CZLQBGVU.js +0 -49
  584. package/dist/singlecell-IIUYX7OG.js +0 -1566
  585. package/dist/singlecell-O3P5BLWT.js +0 -81
  586. package/dist/snp-ZCYBF3ZQ.js +0 -33
  587. package/dist/snp.unit.spec-TAGD2DRL.js +0 -171
  588. package/dist/snplocus-TL25OOPE.js +0 -203
  589. package/dist/spliceevent.a53ss.diagram-I7J4PQZT.js +0 -146
  590. package/dist/spliceevent.exonskip.diagram-SB4454HB.js +0 -278
  591. package/dist/spliceevent.noeventdiagram-FOSDNYLH.js +0 -455
  592. package/dist/ssGSEA-WANB2X5L.js +0 -33
  593. package/dist/ssGSEA.unit.spec-4XXWU4XV.js +0 -83
  594. package/dist/stattable-FNTJLVNB.js +0 -117
  595. package/dist/studyCatalog-7KEOFLO2.js +0 -378
  596. package/dist/studyCatalog-7KEOFLO2.js.map +0 -7
  597. package/dist/summarizeCnvGeneexp-P4AFZMKD.js +0 -158
  598. package/dist/summarizeGeneexpSurvival-YL2J7F4R.js +0 -105
  599. package/dist/summarizeMutationCnv-BHBHST5F.js +0 -159
  600. package/dist/summarizeMutationDiagnosis-Z7ZHTV27.js +0 -35
  601. package/dist/summarizeMutationSurvival-PZ4TYHT7.js +0 -99
  602. package/dist/summary-ZMNPO65S.js +0 -42
  603. package/dist/summary.integration.spec-DPJR2ZBE.js +0 -409
  604. package/dist/summaryInput-6JUFJZ5P.js +0 -242
  605. package/dist/sunburst-OWAUI3HC.js +0 -278
  606. package/dist/survival-6JPKG3VA.js +0 -53
  607. package/dist/survival-7EXICNK7.js +0 -1248
  608. package/dist/survival.integration.spec-A6NUJLL6.js +0 -613
  609. package/dist/survival.integration.spec-A6NUJLL6.js.map +0 -7
  610. package/dist/svgraph-34IKFHUS.js +0 -1382
  611. package/dist/svmr-4XNPSVVQ.js +0 -3837
  612. package/dist/table-LPZATFLC.js +0 -197
  613. package/dist/termCollection-DYY5FXU5.js +0 -252
  614. package/dist/termCollection-WOAUFFIC.js +0 -33
  615. package/dist/termCollection.unit.spec-WTICTZ7H.js +0 -299
  616. package/dist/termCollectionFractionSelection-K5HPDEFP.js +0 -42
  617. package/dist/termCollectionFractionSelection.unit.spec-D7DG2HOI.js +0 -188
  618. package/dist/tk-DD2LWVGM.js +0 -1121
  619. package/dist/tk-NV7NBLT6.js +0 -41
  620. package/dist/tp.ui-B5J3UUVB.js +0 -1454
  621. package/dist/tvs.dt-XLKQT64T.js +0 -34
  622. package/dist/tvs.dtcnv.categorical-XIC3RH2D.js +0 -35
  623. package/dist/tvs.dtcnv.continuous-OA2K4LHF.js +0 -67
  624. package/dist/tvs.dtfusion-ZGNKALZB.js +0 -35
  625. package/dist/tvs.dtitd-6QSG4E34.js +0 -35
  626. package/dist/tvs.dtsnvindel-5CXXOGPH.js +0 -35
  627. package/dist/tvs.dtsv-QYYEYUD3.js +0 -35
  628. package/dist/tvs.numeric-3UXW4JHJ.js +0 -20
  629. package/dist/tvs.samplelst-X77ODFFR.js +0 -98
  630. package/dist/tvs.termCollection-VXROWAPS.js +0 -124
  631. package/dist/vocabulary-DKWYTZRC.js +0 -36
  632. package/dist/wsi.direct-C3HQEC2V.js +0 -8184
  633. /package/dist/{2dmaf-ZQ7ACPAD.js.map → 2dmaf-5OYM4MXA.js.map} +0 -0
  634. /package/dist/{AggMatrixInput-EACGUIQA.js.map → AggMatrixInput-4VTI4Y6E.js.map} +0 -0
  635. /package/dist/{AggregateMatrix-TC5DTSYN.js.map → AggregateMatrix-K7SGNO63.js.map} +0 -0
  636. /package/dist/{AppHeader-PHI6US5B.js.map → AppHeader-WU6TO2OZ.js.map} +0 -0
  637. /package/dist/{BoxPlot-QWKK3IJ7.js.map → BoxPlot-OW7U3XTF.js.map} +0 -0
  638. /package/dist/{CorrelationVolcano-QJJN7FVP.js.map → CorrelationVolcano-B3JTTZHF.js.map} +0 -0
  639. /package/dist/{Cuminc-6F2C5C4E.js.map → Cuminc-AJEXWRU2.js.map} +0 -0
  640. /package/dist/{DE-HRJH6ZQL.js.map → DE-2J7DSRPC.js.map} +0 -0
  641. /package/dist/{DEinput-T3MPAYPH.js.map → DEinput-I7JWNOSD.js.map} +0 -0
  642. /package/dist/{DM-PEG4ED2X.js.map → DM-NQ46YPGF.js.map} +0 -0
  643. /package/dist/{DifferentialAnalysis-XGXHWGPI.js.map → DifferentialAnalysis-BFCQBX5J.js.map} +0 -0
  644. /package/dist/{Disco-7SRTTB3X.js.map → Disco-ZJLVQRTC.js.map} +0 -0
  645. /package/dist/{Disco.UI-CKKZ5MMK.js.map → Disco.UI-AEDACXW2.js.map} +0 -0
  646. /package/dist/{DmrPlot-N4CT4J2I.js.map → DmrPlot-QMRXAOM3.js.map} +0 -0
  647. /package/dist/{GB-NVCLPRWN.js.map → GB-MFU2UJ22.js.map} +0 -0
  648. /package/dist/{GSEA-UZUNJG7Z.js.map → GSEA-E3NHU22A.js.map} +0 -0
  649. /package/dist/{GeneExpInput-3MDN2CAW.js.map → GeneExpInput-MIUNSOPY.js.map} +0 -0
  650. /package/dist/{Geomap-ZUF2PE5A.js.map → Geomap-HAJG3STN.js.map} +0 -0
  651. /package/dist/{HicApp-OIJT5TFU.js.map → HicApp-ECFFIRWI.js.map} +0 -0
  652. /package/dist/{IDCViewer-ZSH2E57L.js.map → IDCViewer-TNSD3U2V.js.map} +0 -0
  653. /package/dist/{NumBinaryEditor-74ZPGT7L.js.map → NumBinaryEditor-CNBGZ6WY.js.map} +0 -0
  654. /package/dist/{NumBinaryEditor.unit.spec-T2I66SO5.js.map → NumBinaryEditor.unit.spec-SKFDALF3.js.map} +0 -0
  655. /package/dist/{NumContEditor-M2GARZXM.js.map → NumContEditor-7ID2U7JL.js.map} +0 -0
  656. /package/dist/{NumContEditor.unit.spec-G2QBBNH7.js.map → NumContEditor.unit.spec-XHSQSAWK.js.map} +0 -0
  657. /package/dist/{NumCustomBinEditor-P44G67KS.js.map → NumCustomBinEditor-PAIPRJPO.js.map} +0 -0
  658. /package/dist/{NumCustomBinEditor.unit.spec-AZHJN3V6.js.map → NumCustomBinEditor.unit.spec-QYVZMMHV.js.map} +0 -0
  659. /package/dist/{NumDiscreteEditor-VOZ63LZY.js.map → NumDiscreteEditor-K2NZZQTH.js.map} +0 -0
  660. /package/dist/{NumDiscreteEditor.unit.spec-CFSVPNBA.js.map → NumDiscreteEditor.unit.spec-3CG5VEQL.js.map} +0 -0
  661. /package/dist/{NumRegularBinEditor-I6GJQR7W.js.map → NumRegularBinEditor-EOVZ22TP.js.map} +0 -0
  662. /package/dist/{NumRegularBinEditor.unit.spec-IDJE7H6S.js.map → NumRegularBinEditor.unit.spec-FHTVH5FH.js.map} +0 -0
  663. /package/dist/{NumSplineEditor-BCGWE52A.js.map → NumSplineEditor-N3REMJUC.js.map} +0 -0
  664. /package/dist/{NumSplineEditor.unit.spec-YQAL7L2E.js.map → NumSplineEditor.unit.spec-DZCP35GL.js.map} +0 -0
  665. /package/dist/{NumericDensity-P25W63RV.js.map → NumericDensity-42MWVI2S.js.map} +0 -0
  666. /package/dist/{NumericDensity.unit.spec-N7CQ5W5L.js.map → NumericDensity.unit.spec-T2HHSQON.js.map} +0 -0
  667. /package/dist/{NumericHandler-R7JWIFEO.js.map → NumericHandler-5XU3SSPD.js.map} +0 -0
  668. /package/dist/{NumericHandler.unit.spec-LMGIAGZJ.js.map → NumericHandler.unit.spec-3F23KSAQ.js.map} +0 -0
  669. /package/dist/{ProteomeInput-PRYKKF5E.js.map → ProteomeInput-UN2BUNRO.js.map} +0 -0
  670. /package/dist/{Regression-PSHH7ZXN.js.map → Regression-HWLJENA5.js.map} +0 -0
  671. /package/dist/{RunChart2-KJ2UWVCE.js.map → RunChart2-YO55WE4M.js.map} +0 -0
  672. /package/dist/{SC-R6ZIJZ6F.js.map → SC-LEDJ4DQR.js.map} +0 -0
  673. /package/dist/{Violin-GTQAUJ7B.js.map → Violin-E6PDJZ2B.js.map} +0 -0
  674. /package/dist/{Volcano-NER64J7W.js.map → Volcano-XJTBWYUK.js.map} +0 -0
  675. /package/dist/{Wsi-GXNGL7O6.js.map → Wsi-S675CYTW.js.map} +0 -0
  676. /package/dist/{adSandbox-SXSHVG4P.js.map → adSandbox-ZJQ5ZW2T.js.map} +0 -0
  677. /package/dist/{animatedBubbleChart-Q4NEETEH.js.map → animatedBubbleChart-LRUS7W36.js.map} +0 -0
  678. /package/dist/{app-MX4PL2QO.js.map → app-7Q3QIBU4.js.map} +0 -0
  679. /package/dist/{app-R5CTEVAC.js.map → app-PKSI4MV5.js.map} +0 -0
  680. /package/dist/{bam-45N3FEEM.js.map → bam-X5JH5ZT7.js.map} +0 -0
  681. /package/dist/{barchart-YCTKQJQX.js.map → barchart-UT6J4L2N.js.map} +0 -0
  682. /package/dist/{barchart2-252GS3CA.js.map → barchart2-ZG5QJO3C.js.map} +0 -0
  683. /package/dist/{block-CR75JHV3.js.map → block-TC466NGW.js.map} +0 -0
  684. /package/dist/{block.init-U3JMED2E.js.map → block.init-CIBNSYAC.js.map} +0 -0
  685. /package/dist/{block.mds.expressionrank-TAN3BDPS.js.map → block.mds.expressionrank-EY5PCQCK.js.map} +0 -0
  686. /package/dist/{block.mds.geneboxplot-EN344GEP.js.map → block.mds.geneboxplot-R6AOMHO5.js.map} +0 -0
  687. /package/dist/{block.mds.junction-RFVVJUTR.js.map → block.mds.junction-JMV6FNYC.js.map} +0 -0
  688. /package/dist/{block.mds.svcnv-SSUMXEWD.js.map → block.mds.svcnv-IHTV3QYG.js.map} +0 -0
  689. /package/dist/{block.svg-LRPGNFFI.js.map → block.svg-NTFLVQAQ.js.map} +0 -0
  690. /package/dist/{block.tk.aicheck-YY23FT2G.js.map → block.tk.aicheck-FYPL32Y4.js.map} +0 -0
  691. /package/dist/{block.tk.ase-JCGPFKFT.js.map → block.tk.ase-FWCB6VBO.js.map} +0 -0
  692. /package/dist/{block.tk.bam-NZDC4H7Y.js.map → block.tk.bam-Q5UFUABN.js.map} +0 -0
  693. /package/dist/{block.tk.bedgraphdot-NCNZPZH6.js.map → block.tk.bedgraphdot-KBI3GFDM.js.map} +0 -0
  694. /package/dist/{block.tk.bigwig.ui-Z7G6ZITU.js.map → block.tk.bigwig.ui-KXNFX7G7.js.map} +0 -0
  695. /package/dist/{block.tk.hicstraw-VVDP4UF5.js.map → block.tk.hicstraw-MQBH3YAJ.js.map} +0 -0
  696. /package/dist/{block.tk.junction-L4YBPAHM.js.map → block.tk.junction-EBTVXLJH.js.map} +0 -0
  697. /package/dist/{block.tk.junction.textmatrixui-6CMKKUB5.js.map → block.tk.junction.textmatrixui-ETYLCP2O.js.map} +0 -0
  698. /package/dist/{block.tk.ld-VCP2R5UO.js.map → block.tk.ld-NLB6L6WQ.js.map} +0 -0
  699. /package/dist/{block.tk.menu-ZJYGMEDX.js.map → block.tk.menu-PJLCOXVJ.js.map} +0 -0
  700. /package/dist/{block.tk.pgv-M5WNUIVS.js.map → block.tk.pgv-JOIQVWL2.js.map} +0 -0
  701. /package/dist/{brainImaging-JGECJHZO.js.map → brainImaging-SPRC3QFB.js.map} +0 -0
  702. /package/dist/{bubbleHeatmap-7DQNWBQ2.js.map → bubbleHeatmap-CFTZ5RXH.js.map} +0 -0
  703. /package/dist/{cellTypeBubbleHeatmap-LAE7U3RF.js.map → cellTypeBubbleHeatmap-DXPLFT5U.js.map} +0 -0
  704. /package/dist/{chunk-APK7TUJX.js.map → chunk-2BQ572SL.js.map} +0 -0
  705. /package/dist/{chunk-G3JNTWCX.js.map → chunk-2DQIQYY3.js.map} +0 -0
  706. /package/dist/{chunk-VIBK253J.js.map → chunk-2POQWEK6.js.map} +0 -0
  707. /package/dist/{chunk-E4WIMTK4.js.map → chunk-2SQEVMAL.js.map} +0 -0
  708. /package/dist/{chunk-756KZF5Y.js.map → chunk-37HTZ6IG.js.map} +0 -0
  709. /package/dist/{chunk-JIDJBM2R.js.map → chunk-452765PG.js.map} +0 -0
  710. /package/dist/{chunk-POWG4MPT.js.map → chunk-4DXQJGJ7.js.map} +0 -0
  711. /package/dist/{chunk-N635HDJ4.js.map → chunk-54KC7DAB.js.map} +0 -0
  712. /package/dist/{chunk-L743GRJE.js.map → chunk-5D5YTFI2.js.map} +0 -0
  713. /package/dist/{chunk-ZXU4ALLZ.js.map → chunk-5DBW3WLK.js.map} +0 -0
  714. /package/dist/{chunk-RN4BOWRH.js.map → chunk-5ILEFNXJ.js.map} +0 -0
  715. /package/dist/{chunk-AQAFURQM.js.map → chunk-5UO7MKCO.js.map} +0 -0
  716. /package/dist/{chunk-LHP7RXET.js.map → chunk-7R7P6VMT.js.map} +0 -0
  717. /package/dist/{chunk-D6G64XPJ.js.map → chunk-7X6NF7NI.js.map} +0 -0
  718. /package/dist/{chunk-4WEA7HHH.js.map → chunk-ANGLZ4XR.js.map} +0 -0
  719. /package/dist/{chunk-57NYHASA.js.map → chunk-BMQDU7KN.js.map} +0 -0
  720. /package/dist/{chunk-4PPZYVWZ.js.map → chunk-C5TU4AYP.js.map} +0 -0
  721. /package/dist/{chunk-QHJGWCH3.js.map → chunk-DBQA6QIJ.js.map} +0 -0
  722. /package/dist/{chunk-E7TJXNIL.js.map → chunk-DHNET3P4.js.map} +0 -0
  723. /package/dist/{chunk-IS4VLUEX.js.map → chunk-EGKHDALO.js.map} +0 -0
  724. /package/dist/{chunk-DE3F7FAP.js.map → chunk-EPWGUWQP.js.map} +0 -0
  725. /package/dist/{chunk-6JBQLOJW.js.map → chunk-F3EYPES3.js.map} +0 -0
  726. /package/dist/{chunk-BEJJS2HC.js.map → chunk-F4DM3WS4.js.map} +0 -0
  727. /package/dist/{chunk-GRI74AXV.js.map → chunk-FTLCINDC.js.map} +0 -0
  728. /package/dist/{chunk-5BCNVZIW.js.map → chunk-GT6WJUJY.js.map} +0 -0
  729. /package/dist/{chunk-4AQQ3BXD.js.map → chunk-GWCK5QGV.js.map} +0 -0
  730. /package/dist/{chunk-DF3IMIR2.js.map → chunk-HJSGHFJ6.js.map} +0 -0
  731. /package/dist/{chunk-CZ5QLVWK.js.map → chunk-HS6BTSFX.js.map} +0 -0
  732. /package/dist/{chunk-YHA3AYAM.js.map → chunk-IB5TKNG5.js.map} +0 -0
  733. /package/dist/{chunk-LGOTIL62.js.map → chunk-IIMTOPH3.js.map} +0 -0
  734. /package/dist/{chunk-S5UN4VIQ.js.map → chunk-JAXN3Q3K.js.map} +0 -0
  735. /package/dist/{chunk-NXVUL3EY.js.map → chunk-K6PYTAXW.js.map} +0 -0
  736. /package/dist/{chunk-5AAAH4OZ.js.map → chunk-KIRZXPMB.js.map} +0 -0
  737. /package/dist/{chunk-3PHXBY3Z.js.map → chunk-KT4OZVO3.js.map} +0 -0
  738. /package/dist/{chunk-JNVWSFNC.js.map → chunk-L32KMIC3.js.map} +0 -0
  739. /package/dist/{chunk-LK2GHBUH.js.map → chunk-LB7NENEB.js.map} +0 -0
  740. /package/dist/{chunk-SY63UUF7.js.map → chunk-LDWMVZYF.js.map} +0 -0
  741. /package/dist/{chunk-UM5NWVMA.js.map → chunk-M367Y7ML.js.map} +0 -0
  742. /package/dist/{chunk-YN5NY3D3.js.map → chunk-M4XXKTH2.js.map} +0 -0
  743. /package/dist/{chunk-D2MZT7CC.js.map → chunk-ME7OF3CS.js.map} +0 -0
  744. /package/dist/{chunk-2AQT3ZWL.js.map → chunk-N2CXLMNX.js.map} +0 -0
  745. /package/dist/{chunk-T46FA72N.js.map → chunk-N7DVQTPC.js.map} +0 -0
  746. /package/dist/{chunk-MAVDQAZE.js.map → chunk-N7TD7N7D.js.map} +0 -0
  747. /package/dist/{chunk-ALEZQQOK.js.map → chunk-NBX6TT5C.js.map} +0 -0
  748. /package/dist/{chunk-TBPVP3KZ.js.map → chunk-NLR7JIMM.js.map} +0 -0
  749. /package/dist/{chunk-OJ4TDGPQ.js.map → chunk-NSRGYBDM.js.map} +0 -0
  750. /package/dist/{chunk-OXLBPSJ6.js.map → chunk-NVS7KYYI.js.map} +0 -0
  751. /package/dist/{chunk-IB4NE4SI.js.map → chunk-OVPEMVXT.js.map} +0 -0
  752. /package/dist/{chunk-2O4CS3EZ.js.map → chunk-OXWLQQXL.js.map} +0 -0
  753. /package/dist/{chunk-ODMLC5FN.js.map → chunk-QGGSYEVJ.js.map} +0 -0
  754. /package/dist/{chunk-SDMNZJ7X.js.map → chunk-QLEVONLD.js.map} +0 -0
  755. /package/dist/{chunk-P5GRGXH4.js.map → chunk-RNWHB5DI.js.map} +0 -0
  756. /package/dist/{chunk-JYOIO5UY.js.map → chunk-RPDVFM7E.js.map} +0 -0
  757. /package/dist/{chunk-2GLNPB5J.js.map → chunk-RUHLDUOT.js.map} +0 -0
  758. /package/dist/{chunk-R5OIIFSF.js.map → chunk-RV34WFGZ.js.map} +0 -0
  759. /package/dist/{chunk-3MFFZRH3.js.map → chunk-SDVE5ECI.js.map} +0 -0
  760. /package/dist/{chunk-SWZAHJYP.js.map → chunk-SWO6DZTG.js.map} +0 -0
  761. /package/dist/{chunk-6JBLNS4D.js.map → chunk-SYPSS3JQ.js.map} +0 -0
  762. /package/dist/{chunk-NFAE6VNU.js.map → chunk-TDM3645O.js.map} +0 -0
  763. /package/dist/{chunk-Q25DABNW.js.map → chunk-VVO3R5JV.js.map} +0 -0
  764. /package/dist/{chunk-YX6FIREB.js.map → chunk-VYEU6Y35.js.map} +0 -0
  765. /package/dist/{chunk-JBUEQ4E6.js.map → chunk-WGXC6IEF.js.map} +0 -0
  766. /package/dist/{chunk-KAFDQKN7.js.map → chunk-WPDM57B5.js.map} +0 -0
  767. /package/dist/{chunk-RJFCT67B.js.map → chunk-WS7WKS2B.js.map} +0 -0
  768. /package/dist/{chunk-ABTO5QSB.js.map → chunk-X63NSV33.js.map} +0 -0
  769. /package/dist/{chunk-NG7K5KYO.js.map → chunk-XXNRSSBR.js.map} +0 -0
  770. /package/dist/{chunk-MKT4OJ3G.js.map → chunk-YD6UGDFI.js.map} +0 -0
  771. /package/dist/{chunk-GN2IIC6U.js.map → chunk-YRIYDFNU.js.map} +0 -0
  772. /package/dist/{chunk-J2DICGKC.js.map → chunk-YY5WQQ3J.js.map} +0 -0
  773. /package/dist/{chunk-YLJOZP4P.js.map → chunk-Z2ZITHT4.js.map} +0 -0
  774. /package/dist/{chunk-RZFJ6K77.js.map → chunk-Z4SM3FBK.js.map} +0 -0
  775. /package/dist/{chunk-XKL2D2NN.js.map → chunk-ZEYEIUEZ.js.map} +0 -0
  776. /package/dist/{chunk-XXJT7DSL.js.map → chunk-ZLYTDHQP.js.map} +0 -0
  777. /package/dist/{chunk-IAE3KWN5.js.map → chunk-ZWCVRVV4.js.map} +0 -0
  778. /package/dist/{cohort-75FUW3UO.js.map → cohort-FZNMFWOX.js.map} +0 -0
  779. /package/dist/{condition-VW43Q6ZE.js.map → condition-AJJLFCBQ.js.map} +0 -0
  780. /package/dist/{controls-HOP2AFHD.js.map → controls-SZOLV37V.js.map} +0 -0
  781. /package/dist/{controls.config-CMIFSKQE.js.map → controls.config-CVP75WFA.js.map} +0 -0
  782. /package/dist/{correlation-PN7BS5OR.js.map → correlation-UFJFQHQ3.js.map} +0 -0
  783. /package/dist/{customdata.inputui-ZBZX63PS.js.map → customdata.inputui-HOVA4A6O.js.map} +0 -0
  784. /package/dist/{dataDownload-LGA4LAUF.js.map → dataDownload-VTUG4IOK.js.map} +0 -0
  785. /package/dist/{databrowser.ui-IQRDVL66.js.map → databrowser.ui-O5S4Y4EK.js.map} +0 -0
  786. /package/dist/{dictionary-BPWD77LJ.js.map → dictionary-L2UNNNP7.js.map} +0 -0
  787. /package/dist/{dnaMethylation-A3XPPBBB.js.map → dnaMethylation-B4SWZI4O.js.map} +0 -0
  788. /package/dist/{dnaMethylation.integration.spec-554ITDQC.js.map → dnaMethylation.integration.spec-ANJAMNYJ.js.map} +0 -0
  789. /package/dist/{dofetch-FQ42AX7C.js.map → dofetch-F5XSHQIS.js.map} +0 -0
  790. /package/dist/{e2pca-F3GWG7WZ.js.map → e2pca-66ARIMKL.js.map} +0 -0
  791. /package/dist/{ep-QAVN472H.js.map → ep-OFGJYVUY.js.map} +0 -0
  792. /package/dist/{expclust.gdc.spec-DQNX7FTL.js.map → expclust.gdc.spec-22RXQTTP.js.map} +0 -0
  793. /package/dist/{facet-DH7OOZTJ.js.map → facet-GVZQ3RPN.js.map} +0 -0
  794. /package/dist/{gb-OCXOLAMD.js.map → gb-HEPGVYEK.js.map} +0 -0
  795. /package/dist/{geneExpClustering-DWYRZGTS.js.map → geneExpClustering-3NU2U422.js.map} +0 -0
  796. /package/dist/{geneExpression-BGFR3KQE.js.map → geneExpression-FXQ4L2J2.js.map} +0 -0
  797. /package/dist/{geneExpression-2NKSKZR6.js.map → geneExpression-XYVYJJA5.js.map} +0 -0
  798. /package/dist/{geneExpression.unit.spec-63EKKMET.js.map → geneExpression.unit.spec-K3FIRSNK.js.map} +0 -0
  799. /package/dist/{geneORA-BED6XL4D.js.map → geneORA-5M2JSDMF.js.map} +0 -0
  800. /package/dist/{geneRanking-UB5RCQNP.js.map → geneRanking-TP3R3CS3.js.map} +0 -0
  801. /package/dist/{geneVariant-Y4C2FPJK.js.map → geneVariant-232EYUFJ.js.map} +0 -0
  802. /package/dist/{geneVariant-WJEONTTY.js.map → geneVariant-BHXTPUDC.js.map} +0 -0
  803. /package/dist/{geneVariant.integration.spec-VFYLC47N.js.map → geneVariant.integration.spec-ICFHVFIR.js.map} +0 -0
  804. /package/dist/{genefusion.ui-P3NBIMLE.js.map → genefusion.ui-ABRCUQFC.js.map} +0 -0
  805. /package/dist/{geneset-O22RQAED.js.map → geneset-N42FIVA6.js.map} +0 -0
  806. /package/dist/{genomeBrowser.spec-MM7WZUGI.js.map → genomeBrowser.spec-5HKQKLRU.js.map} +0 -0
  807. /package/dist/{grin2-O637DNDS.js.map → grin2-H2KJYLP6.js.map} +0 -0
  808. /package/dist/{grin2-3YBIRKUT.js.map → grin2-NGMTEMXF.js.map} +0 -0
  809. /package/dist/{hierCluster-3X3BQVNE.js.map → hierCluster-JU5JPLM7.js.map} +0 -0
  810. /package/dist/{hierCluster-7P7M75TU.js.map → hierCluster-LSSH275H.js.map} +0 -0
  811. /package/dist/{hierCluster.config-XFUOLLDK.js.map → hierCluster.config-ILOR7GBB.js.map} +0 -0
  812. /package/dist/{hierCluster.integration.spec-HKYGSDDG.js.map → hierCluster.integration.spec-CNR5OJOH.js.map} +0 -0
  813. /package/dist/{hierCluster.interactivity-JUZSWCM7.js.map → hierCluster.interactivity-TLEIVTFK.js.map} +0 -0
  814. /package/dist/{hierCluster.renderers-NGPPAYFM.js.map → hierCluster.renderers-P7JNIT3N.js.map} +0 -0
  815. /package/dist/{imagePlot-LKGAFJO7.js.map → imagePlot-BF67SXQR.js.map} +0 -0
  816. /package/dist/{importPlot-SRWQA2FH.js.map → importPlot-OHXSXNZN.js.map} +0 -0
  817. /package/dist/{isoformExpression-RYIZQIVX.js.map → isoformExpression-4VKHE4HA.js.map} +0 -0
  818. /package/dist/{isoformExpression.unit.spec-DP4ECITF.js.map → isoformExpression.unit.spec-4TVSIFG4.js.map} +0 -0
  819. /package/dist/{junction-D7QQ3YSG.js.map → junction-VUHORV43.js.map} +0 -0
  820. /package/dist/{junction.customTerm-ZEVNCVU7.js.map → junction.customTerm-FRYWSS4P.js.map} +0 -0
  821. /package/dist/{junction.unit.spec-6MAKIB3R.js.map → junction.unit.spec-KKVLYT7Q.js.map} +0 -0
  822. /package/dist/{launch.adhoc-FAHRZFYG.js.map → launch.adhoc-UDYMFZTQ.js.map} +0 -0
  823. /package/dist/{leftlabel.sample-PDZLWLJ4.js.map → leftlabel.sample-R5FFBWG3.js.map} +0 -0
  824. /package/dist/{legacyDataset-27L4DMCL.js.map → legacyDataset-IEFWFVS6.js.map} +0 -0
  825. /package/dist/{lollipop-VWGJUHNX.js.map → lollipop-3IX6ZYUN.js.map} +0 -0
  826. /package/dist/{maf-W52H44WK.js.map → maf-42UFYSL4.js.map} +0 -0
  827. /package/dist/{maftimeline-5JV3HZLE.js.map → maftimeline-M5WYEN62.js.map} +0 -0
  828. /package/dist/{matrix-CEVGKXSK.js.map → matrix-CI76EDHU.js.map} +0 -0
  829. /package/dist/{matrix-EXNYXYLK.js.map → matrix-WJZKA6VR.js.map} +0 -0
  830. /package/dist/{matrix.cells-DVPWSLJW.js.map → matrix.cells-ZFKVIPDC.js.map} +0 -0
  831. /package/dist/{matrix.config-RLSTWDXC.js.map → matrix.config-24TFHBEM.js.map} +0 -0
  832. /package/dist/{matrix.data-Z6GUACVZ.js.map → matrix.data-NCGZPNWR.js.map} +0 -0
  833. /package/dist/{matrix.groups-3ZSTUWRK.js.map → matrix.groups-XQJTGM6M.js.map} +0 -0
  834. /package/dist/{matrix.integration.spec-4U2R3UB2.js.map → matrix.integration.spec-OGXZUDE6.js.map} +0 -0
  835. /package/dist/{matrix.interactivity-DJZFQ7DN.js.map → matrix.interactivity-ZOOTPNSW.js.map} +0 -0
  836. /package/dist/{matrix.layout-RQJ6VB4P.js.map → matrix.layout-5J2YENK3.js.map} +0 -0
  837. /package/dist/{matrix.legend-YQ36NWKW.js.map → matrix.legend-U36VCS46.js.map} +0 -0
  838. /package/dist/{matrix.renderers-MWDFI6HW.js.map → matrix.renderers-4KFE7ZVR.js.map} +0 -0
  839. /package/dist/{matrix.serieses-LTC4RLYD.js.map → matrix.serieses-AW7XBXLJ.js.map} +0 -0
  840. /package/dist/{matrix.sort-5VFYLABY.js.map → matrix.sort-7PMECLOE.js.map} +0 -0
  841. /package/dist/{matrix.sort.unit.spec-2RUEKUT4.js.map → matrix.sort.unit.spec-GIA2YOTQ.js.map} +0 -0
  842. /package/dist/{matrix.sorterUi-EEMYZLPI.js.map → matrix.sorterUi-J6PRUT6J.js.map} +0 -0
  843. /package/dist/{matrix.sorterUi.unit.spec-ZXGSPRFZ.js.map → matrix.sorterUi.unit.spec-OPGKZZL6.js.map} +0 -0
  844. /package/dist/{matrix.unit.spec-HTF6UV4L.js.map → matrix.unit.spec-7UIVVR4T.js.map} +0 -0
  845. /package/dist/{mavb-GGQRDCO6.js.map → mavb-MSYUMT6W.js.map} +0 -0
  846. /package/dist/{mds.fimo-YKV5OIYV.js.map → mds.fimo-OYEAQP37.js.map} +0 -0
  847. /package/dist/{mds.samplescatterplot-RQOEW2AW.js.map → mds.samplescatterplot-EXISSRQQ.js.map} +0 -0
  848. /package/dist/{mds.survivalplot-TN636DED.js.map → mds.survivalplot-SZST6BLN.js.map} +0 -0
  849. /package/dist/{multivalue-MDQY64EH.js.map → multivalue-YDE7L75Y.js.map} +0 -0
  850. /package/dist/{numericDictTermCluster-E73TJCLI.js.map → numericDictTermCluster-5AKP6ICC.js.map} +0 -0
  851. /package/dist/{oncomatrix-AENXQMLL.js.map → oncomatrix-2OEIYWR6.js.map} +0 -0
  852. /package/dist/{oncomatrix.spec-UD6U462U.js.map → oncomatrix.spec-CXQW4JWU.js.map} +0 -0
  853. /package/dist/{plot.2dvaf-XMRV6KEG.js.map → plot.2dvaf-LN7A3NNC.js.map} +0 -0
  854. /package/dist/{plot.app-A6JKLYQQ.js.map → plot.app-YIQOY2Z7.js.map} +0 -0
  855. /package/dist/{plot.barplot-UIX7LVWR.js.map → plot.barplot-HF2J25XP.js.map} +0 -0
  856. /package/dist/{plot.boxplot-DIFWVLMA.js.map → plot.boxplot-YJH4L27U.js.map} +0 -0
  857. /package/dist/{plot.brainImaging-ZRPVE2UK.js.map → plot.brainImaging-PS4TRSPI.js.map} +0 -0
  858. /package/dist/{plot.disco-I56MT3PC.js.map → plot.disco-BN5RNZ6Q.js.map} +0 -0
  859. /package/dist/{plot.ssgq-FCKFSZTV.js.map → plot.ssgq-N2HTOIY3.js.map} +0 -0
  860. /package/dist/{plot.vaf2cov-E5C7RJ7Z.js.map → plot.vaf2cov-6AOHRUQ2.js.map} +0 -0
  861. /package/dist/{polar2-SKVBB4FD.js.map → polar2-TC5OEJRE.js.map} +0 -0
  862. /package/dist/{profileForms-5B3MTUNP.js.map → profileForms-5WV2TSBB.js.map} +0 -0
  863. /package/dist/{profilePlot-MCYCGEWT.js.map → profilePlot-OJLLW44P.js.map} +0 -0
  864. /package/dist/{pseudbulk.unit.spec-Q4YTIPH7.js.map → pseudbulk.unit.spec-RAYRGN6C.js.map} +0 -0
  865. /package/dist/{pseudobulk-3UIWCCCQ.js.map → pseudobulk-ADHAYVSQ.js.map} +0 -0
  866. /package/dist/{qualitative-6TJRXZFV.js.map → qualitative-JXEI3IYC.js.map} +0 -0
  867. /package/dist/{radar2-6X4XW5IZ.js.map → radar2-BWTKSTT3.js.map} +0 -0
  868. /package/dist/{radarFacility2-UVPXWPV5.js.map → radarFacility2-WIRSKTDG.js.map} +0 -0
  869. /package/dist/{rememberedGvQ.unit.spec-GVRFRVSO.js.map → rememberedGvQ.unit.spec-N43O4YTF.js.map} +0 -0
  870. /package/dist/{render-G7V6R4PV.js.map → render-J7WOYBOL.js.map} +0 -0
  871. /package/dist/{report-O7D46EKQ.js.map → report-DRPCXX2B.js.map} +0 -0
  872. /package/dist/{sampleView-6Y3OOOMW.js.map → sampleView-BV6BQGGQ.js.map} +0 -0
  873. /package/dist/{samplelst-JRVC4GYC.js.map → samplelst-ZD63EYO7.js.map} +0 -0
  874. /package/dist/{samplematrix-VP5RQVRH.js.map → samplematrix-ZZ3DVELU.js.map} +0 -0
  875. /package/dist/{sc-BPHVEP6N.js.map → sc-MUI43YTB.js.map} +0 -0
  876. /package/dist/{scatter-2YYRZCSW.js.map → scatter-7B44HTKN.js.map} +0 -0
  877. /package/dist/{scatter-Y4BIG2PW.js.map → scatter-UEDVIE4Y.js.map} +0 -0
  878. /package/dist/{selectGenomeWithTklst-2BVZU5SW.js.map → selectGenomeWithTklst-WGOKGVZ5.js.map} +0 -0
  879. /package/dist/{singleCellCellType-XBGCSIQT.js.map → singleCellCellType-Z7OXK7PI.js.map} +0 -0
  880. /package/dist/{singleCellCellType.unit.spec-T4GFRLVZ.js.map → singleCellCellType.unit.spec-IIOVCCJQ.js.map} +0 -0
  881. /package/dist/{singleCellGeneExpression-5ZPWLSVW.js.map → singleCellGeneExpression-LYZAIJ2Z.js.map} +0 -0
  882. /package/dist/{singleCellGeneExpression.unit.spec-4O5UBUDU.js.map → singleCellGeneExpression.unit.spec-67AAWZTG.js.map} +0 -0
  883. /package/dist/{singleCellPlot-CZLQBGVU.js.map → singleCellPlot-TXPYQLSH.js.map} +0 -0
  884. /package/dist/{singlecell-IIUYX7OG.js.map → singlecell-22OG6HNI.js.map} +0 -0
  885. /package/dist/{singlecell-O3P5BLWT.js.map → singlecell-7TBALI2S.js.map} +0 -0
  886. /package/dist/{snp-ZCYBF3ZQ.js.map → snp-3U2G3Z57.js.map} +0 -0
  887. /package/dist/{snp.unit.spec-TAGD2DRL.js.map → snp.unit.spec-BMBBUBYD.js.map} +0 -0
  888. /package/dist/{snplocus-TL25OOPE.js.map → snplocus-SSVZDIQV.js.map} +0 -0
  889. /package/dist/{spliceevent.a53ss.diagram-I7J4PQZT.js.map → spliceevent.a53ss.diagram-FK7CN4AU.js.map} +0 -0
  890. /package/dist/{spliceevent.exonskip.diagram-SB4454HB.js.map → spliceevent.exonskip.diagram-EFLGV3O4.js.map} +0 -0
  891. /package/dist/{spliceevent.noeventdiagram-FOSDNYLH.js.map → spliceevent.noeventdiagram-2DYO7CCZ.js.map} +0 -0
  892. /package/dist/{ssGSEA-WANB2X5L.js.map → ssGSEA-52LWBQJP.js.map} +0 -0
  893. /package/dist/{ssGSEA.unit.spec-4XXWU4XV.js.map → ssGSEA.unit.spec-3JV6WHUQ.js.map} +0 -0
  894. /package/dist/{stattable-FNTJLVNB.js.map → stattable-RLMYQ4G6.js.map} +0 -0
  895. /package/dist/{summarizeCnvGeneexp-P4AFZMKD.js.map → summarizeCnvGeneexp-QPRYAKC2.js.map} +0 -0
  896. /package/dist/{summarizeGeneexpSurvival-YL2J7F4R.js.map → summarizeGeneexpSurvival-RWVQXEKB.js.map} +0 -0
  897. /package/dist/{summarizeMutationCnv-BHBHST5F.js.map → summarizeMutationCnv-DW5F6NUJ.js.map} +0 -0
  898. /package/dist/{summarizeMutationDiagnosis-Z7ZHTV27.js.map → summarizeMutationDiagnosis-5FOQ7CHI.js.map} +0 -0
  899. /package/dist/{summarizeMutationSurvival-PZ4TYHT7.js.map → summarizeMutationSurvival-4UKB4EVO.js.map} +0 -0
  900. /package/dist/{summary-ZMNPO65S.js.map → summary-TYC6QNT4.js.map} +0 -0
  901. /package/dist/{summary.integration.spec-DPJR2ZBE.js.map → summary.integration.spec-5GLJJZNM.js.map} +0 -0
  902. /package/dist/{summaryInput-6JUFJZ5P.js.map → summaryInput-4IJGKW4P.js.map} +0 -0
  903. /package/dist/{sunburst-OWAUI3HC.js.map → sunburst-G7DGATWP.js.map} +0 -0
  904. /package/dist/{survival-7EXICNK7.js.map → survival-IHM6A7LL.js.map} +0 -0
  905. /package/dist/{survival-6JPKG3VA.js.map → survival-MKNABJPU.js.map} +0 -0
  906. /package/dist/{svgraph-34IKFHUS.js.map → svgraph-VB7JWWR5.js.map} +0 -0
  907. /package/dist/{svmr-4XNPSVVQ.js.map → svmr-VLQIO2U5.js.map} +0 -0
  908. /package/dist/{table-LPZATFLC.js.map → table-EAXMDWOY.js.map} +0 -0
  909. /package/dist/{termCollection-DYY5FXU5.js.map → termCollection-5LG7ICQY.js.map} +0 -0
  910. /package/dist/{termCollection-WOAUFFIC.js.map → termCollection-SB6MWLFK.js.map} +0 -0
  911. /package/dist/{termCollection.unit.spec-WTICTZ7H.js.map → termCollection.unit.spec-H5ITGTR3.js.map} +0 -0
  912. /package/dist/{termCollectionFractionSelection-K5HPDEFP.js.map → termCollectionFractionSelection-2XZSTDCQ.js.map} +0 -0
  913. /package/dist/{termCollectionFractionSelection.unit.spec-D7DG2HOI.js.map → termCollectionFractionSelection.unit.spec-BIO7V6KA.js.map} +0 -0
  914. /package/dist/{tk-DD2LWVGM.js.map → tk-TRWYZLQ2.js.map} +0 -0
  915. /package/dist/{tk-NV7NBLT6.js.map → tk-VZI5HNSX.js.map} +0 -0
  916. /package/dist/{tp.ui-B5J3UUVB.js.map → tp.ui-J5SNNAT3.js.map} +0 -0
  917. /package/dist/{tvs.dt-XLKQT64T.js.map → tvs.dt-6YHFJPER.js.map} +0 -0
  918. /package/dist/{tvs.dtcnv.categorical-XIC3RH2D.js.map → tvs.dtcnv.categorical-WTIE63GM.js.map} +0 -0
  919. /package/dist/{tvs.dtcnv.continuous-OA2K4LHF.js.map → tvs.dtcnv.continuous-OCMKGTF5.js.map} +0 -0
  920. /package/dist/{tvs.dtfusion-ZGNKALZB.js.map → tvs.dtfusion-CA23UNM3.js.map} +0 -0
  921. /package/dist/{tvs.dtitd-6QSG4E34.js.map → tvs.dtitd-VSYMR3OD.js.map} +0 -0
  922. /package/dist/{tvs.dtsnvindel-5CXXOGPH.js.map → tvs.dtsnvindel-YBNO3CYF.js.map} +0 -0
  923. /package/dist/{tvs.dtsv-QYYEYUD3.js.map → tvs.dtsv-S743GBB5.js.map} +0 -0
  924. /package/dist/{tvs.numeric-3UXW4JHJ.js.map → tvs.numeric-22AHXO5K.js.map} +0 -0
  925. /package/dist/{tvs.samplelst-X77ODFFR.js.map → tvs.samplelst-XAJO4EM6.js.map} +0 -0
  926. /package/dist/{tvs.termCollection-VXROWAPS.js.map → tvs.termCollection-QOVJGAUC.js.map} +0 -0
  927. /package/dist/{vocabulary-DKWYTZRC.js.map → vocabulary-6EADTHP3.js.map} +0 -0
  928. /package/dist/{wsi.direct-C3HQEC2V.js.map → wsi.direct-2WB2NGC5.js.map} +0 -0
@@ -0,0 +1,2133 @@
1
+ import {
2
+ isNumericTerm
3
+ } from "./chunk-5ILEFNXJ.js";
4
+ import {
5
+ ISOFORM_EXPRESSION,
6
+ SINGLECELL_CELLTYPE,
7
+ SINGLECELL_GENE_EXPRESSION,
8
+ TermTypes,
9
+ dtcnv,
10
+ dtfusionrna,
11
+ dtitd,
12
+ dtsnvindel,
13
+ dtsv,
14
+ getColors,
15
+ mclass,
16
+ mclassdeletion,
17
+ mclassinsertion,
18
+ mclassitd,
19
+ mclassmnv,
20
+ mclassnonstandard,
21
+ mclasssnv,
22
+ morigingermline,
23
+ morigingermlinenonpathogenic,
24
+ morigingermlinepathogenic,
25
+ moriginrelapse,
26
+ moriginsomatic,
27
+ vepinfo
28
+ } from "./chunk-IZUYLFOX.js";
29
+ import {
30
+ deepFreeze,
31
+ sleep
32
+ } from "./chunk-WINIL2KN.js";
33
+ import {
34
+ convertUnits,
35
+ isNumeric,
36
+ isStrictNumeric
37
+ } from "./chunk-W5J3LTYS.js";
38
+ import {
39
+ format
40
+ } from "./chunk-4OLM3KSB.js";
41
+ import {
42
+ select_default
43
+ } from "./chunk-I6Y4O3RR.js";
44
+
45
+ // ../shared/utils/dist/src/boxplot.js
46
+ function boxplot_getvalue(lst, removeOutliers = false) {
47
+ const l = lst.length;
48
+ if (l < 5) return { out: lst };
49
+ const isN = typeof lst[0] === "number";
50
+ const valueOf = isN ? (item) => item : (item) => item.value;
51
+ const p50 = valueOf(lst[Math.floor(l / 2)]);
52
+ const p25 = valueOf(lst[Math.floor(l / 4)]);
53
+ const p75 = valueOf(lst[Math.floor(l * 3 / 4)]);
54
+ const p05 = valueOf(lst[Math.floor(l * 0.05)]);
55
+ const p95 = valueOf(lst[Math.floor(l * 0.95)]);
56
+ const iqr = p75 - p25;
57
+ let w1, w2;
58
+ if (iqr === 0) {
59
+ w1 = p25;
60
+ w2 = p25;
61
+ } else {
62
+ const i = lst.findIndex((item) => valueOf(item) > p25 - iqr * 1.5);
63
+ w1 = valueOf(lst[i === -1 ? 0 : i]);
64
+ const j = lst.findIndex((item) => valueOf(item) > p75 + iqr * 1.5);
65
+ w2 = valueOf(lst[j === -1 ? l - 1 : j - 1]);
66
+ }
67
+ const out = removeOutliers ? [] : lst.filter((item) => valueOf(item) < p25 - iqr * 1.5 || valueOf(item) > p75 + iqr * 1.5);
68
+ return { w1, w2, p05, p25, p50, p75, p95, iqr, out };
69
+ }
70
+
71
+ // ../shared/utils/dist/src/bulk.js
72
+ function init_bulk_flag(genome) {
73
+ if (!genome) {
74
+ return null;
75
+ }
76
+ const mclasslabel2key2 = {};
77
+ for (const n in mclass) {
78
+ mclasslabel2key2[mclass[n].label.toUpperCase()] = n;
79
+ }
80
+ return {
81
+ genome,
82
+ mclasslabel2key: mclasslabel2key2,
83
+ data: {},
84
+ sample2disease: {},
85
+ // (proof) k: sample, v: disease
86
+ // will only record this when origin is used
87
+ patient2st: {},
88
+ // k: patient, v: { k: sampletype, v: sample }
89
+ // new sample names always override old
90
+ good: 0,
91
+ geneToUpper: true,
92
+ // option to not force uppercase on gene names
93
+ snv: {
94
+ loaded: false,
95
+ header: null,
96
+ badlines: [],
97
+ // jinghui: based on missense/silent ratio of entire dataset to decide whether to include silent when importing...
98
+ // hard-coded class codes
99
+ missense: 0,
100
+ silent: 0
101
+ },
102
+ svjson: {
103
+ loaded: false,
104
+ header: null,
105
+ badlines: []
106
+ },
107
+ fusion: {
108
+ loaded: false,
109
+ header: null,
110
+ badlines: [],
111
+ original: []
112
+ },
113
+ sv: {
114
+ loaded: false,
115
+ header: null,
116
+ badlines: [],
117
+ original: []
118
+ },
119
+ cnv: {
120
+ loaded: false,
121
+ header: null,
122
+ badlines: []
123
+ },
124
+ itd: {
125
+ loaded: false,
126
+ header: null,
127
+ badlines: []
128
+ },
129
+ del: {
130
+ loaded: false,
131
+ header: null,
132
+ badlines: []
133
+ },
134
+ truncation: {
135
+ loaded: false,
136
+ header: null,
137
+ badlines: []
138
+ }
139
+ };
140
+ }
141
+ function parsesample(m, flag, i, lst) {
142
+ let variantorigin = moriginsomatic;
143
+ if (m.sampletype) {
144
+ const s = m.sampletype.toLowerCase();
145
+ switch (s) {
146
+ case "relapse":
147
+ variantorigin = moriginrelapse;
148
+ break;
149
+ case "germline":
150
+ variantorigin = morigingermline;
151
+ break;
152
+ case "somatic":
153
+ case "diagnosis":
154
+ break;
155
+ }
156
+ if (m.sample) {
157
+ if (m.patient) {
158
+ } else {
159
+ m.patient = m.sample + " " + m.sampletype;
160
+ }
161
+ } else {
162
+ if (m.patient) {
163
+ m.sample = m.patient + " " + m.sampletype;
164
+ } else {
165
+ }
166
+ }
167
+ } else {
168
+ if (m.patient) {
169
+ if (m.sample) {
170
+ m.sampletype = m.sample;
171
+ } else {
172
+ m.sample = m.sampletype = m.patient;
173
+ }
174
+ } else {
175
+ if (m.sample) {
176
+ m.sampletype = m.sample;
177
+ } else {
178
+ }
179
+ }
180
+ }
181
+ if (m.origin) {
182
+ const s = m.origin.toLowerCase();
183
+ switch (s) {
184
+ case "r":
185
+ case "relapse":
186
+ variantorigin = moriginrelapse;
187
+ m.isrim2 = true;
188
+ break;
189
+ case "g":
190
+ case "germline":
191
+ variantorigin = morigingermline;
192
+ m.isrim1 = true;
193
+ break;
194
+ case "gp":
195
+ case "germline pathogenic":
196
+ variantorigin = morigingermlinepathogenic;
197
+ m.isrim1 = true;
198
+ break;
199
+ case "gnp":
200
+ case "germline nonpathogenic":
201
+ case "germline non-pathogenic":
202
+ variantorigin = morigingermlinenonpathogenic;
203
+ m.isrim1 = true;
204
+ break;
205
+ case "s":
206
+ case "somatic":
207
+ case "diagnosis":
208
+ variantorigin = moriginsomatic;
209
+ break;
210
+ }
211
+ }
212
+ m.origin = variantorigin;
213
+ if (!m.sample && !m.patient) {
214
+ return;
215
+ }
216
+ const nopatientname = "no patient/individual name";
217
+ if (m.patient) {
218
+ if (!flag.patient2st[m.patient]) {
219
+ flag.patient2st[m.patient] = {};
220
+ }
221
+ flag.patient2st[m.patient][m.sampletype] = m.sample;
222
+ } else {
223
+ if (!flag.patient2st[nopatientname]) {
224
+ flag.patient2st[nopatientname] = {};
225
+ }
226
+ flag.patient2st[nopatientname][m.sampletype] = m.sample;
227
+ }
228
+ if (m.sample) {
229
+ if (m.disease) {
230
+ if (m.sample in flag.sample2disease) {
231
+ if (m.disease != flag.sample2disease[m.sample]) {
232
+ flag.snv.badlines.push([
233
+ i,
234
+ 'conflict of disease types for sample "' + m.sample + '": ' + m.disease + ", " + flag.sample2disease[m.sample],
235
+ lst
236
+ ]);
237
+ return true;
238
+ }
239
+ } else {
240
+ flag.sample2disease[m.sample] = m.disease;
241
+ }
242
+ }
243
+ }
244
+ return false;
245
+ }
246
+
247
+ // ../shared/utils/dist/src/clustering.js
248
+ var clusterMethodLst = [
249
+ {
250
+ label: "Average",
251
+ value: "average",
252
+ title: `Cluster by average value`
253
+ },
254
+ {
255
+ label: `Complete`,
256
+ value: "complete",
257
+ title: `Use the complete clustering method`
258
+ },
259
+ {
260
+ label: `Single`,
261
+ value: "single",
262
+ title: `Use the single clustering method`
263
+ },
264
+ {
265
+ label: `Ward.D`,
266
+ value: "ward.D",
267
+ title: `Use the ward.D clustering method`
268
+ },
269
+ {
270
+ label: `Ward.D2`,
271
+ value: "ward.D2",
272
+ title: `Use the ward.D2 clustering method`
273
+ },
274
+ {
275
+ label: `Mcquitty`,
276
+ value: "mcquitty",
277
+ title: `Use the Mcquity clustering method`
278
+ }
279
+ /* These methods are currently disabled because the dendrogram lines tend to cross one another.
280
+ {
281
+ label: `Centroid`,
282
+ value: 'centroid',
283
+ title: `Use the centroid clustering method`
284
+ },
285
+ {
286
+ label: `Median`,
287
+ value: 'median',
288
+ title: `Use the median clustering method`
289
+ }
290
+ */
291
+ ];
292
+ var distanceMethodLst = [
293
+ {
294
+ label: "Euclidean",
295
+ value: "euclidean",
296
+ title: `Calculate distance using euclidean method`
297
+ },
298
+ {
299
+ label: "Maximum",
300
+ value: "maximum",
301
+ title: `Maximum distance between two components of x and y`
302
+ },
303
+ {
304
+ label: "Manhattan",
305
+ value: "manhattan",
306
+ title: `Calculate distance using the absolute distance between the two vectors`
307
+ },
308
+ {
309
+ label: "Canberra",
310
+ value: "canberra",
311
+ title: `Calculate distance using Canberra method`
312
+ }
313
+ ];
314
+
315
+ // ../shared/utils/dist/src/compute.percentile.js
316
+ function computePercentile(values, percentile, sorted = false) {
317
+ if (!sorted) values.sort((a, b) => a - b);
318
+ const index = Math.abs(percentile / 100 * values.length - 1);
319
+ const value = Number.isInteger(index) ? (values[index] + values[index + 1]) / 2 : values[Math.ceil(index)];
320
+ return value;
321
+ }
322
+
323
+ // ../shared/utils/dist/src/hash.js
324
+ var encoder = new TextEncoder();
325
+ async function hash(message) {
326
+ const msgUint8 = encoder.encode(message);
327
+ const hashBuffer = await crypto.subtle.digest("SHA-1", msgUint8);
328
+ const hashArray = Array.from(new Uint8Array(hashBuffer));
329
+ const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
330
+ return hexToBase64(hashHex).replace("=", "-");
331
+ }
332
+ function hexToBase64(hexStr) {
333
+ return btoa(
334
+ [...hexStr].reduce(
335
+ (acc, _, i) => acc += !(i - 1 & 1) ? String.fromCharCode(parseInt(hexStr.substring(i - 1, i + 1), 16)) : "",
336
+ ""
337
+ )
338
+ );
339
+ }
340
+
341
+ // ../shared/utils/dist/src/urljson.js
342
+ var reserved = ["false", "true", "null", "undefined"];
343
+ var delimiters = ['"', "{", "["];
344
+ function encode(rawObject) {
345
+ const params = [];
346
+ for (const [key, value] of Object.entries(rawObject)) {
347
+ if (typeof value == "string" && !isNumeric(value) && !reserved.includes(value) && !delimiters.includes(value[0])) {
348
+ params.push(`${key}=${encodeURIComponent(value)}`);
349
+ } else if (value !== void 0) {
350
+ params.push(`${key}=${encodeURIComponent(JSON.stringify(value))}`);
351
+ }
352
+ }
353
+ return params.join("&");
354
+ }
355
+
356
+ // ../shared/utils/dist/src/fetch-helpers.js
357
+ async function processResponse(r) {
358
+ const ct = r.headers.get("content-type");
359
+ if (!ct) throw `missing response.header['content-type']`;
360
+ if (ct.includes("/json")) {
361
+ const payload = await r.json();
362
+ return payload;
363
+ }
364
+ if (ct.includes("/text") || ct.includes("text/")) {
365
+ return r.text();
366
+ }
367
+ if (ct.includes("multipart")) {
368
+ if (ct.startsWith("multipart/form-data")) return processFormData(r);
369
+ else throw `cannot handle response content-type: '${ct}'`;
370
+ }
371
+ if (ct == "application/x-ndjson-nestedkey") {
372
+ return processNDJSON_nestedKey(r);
373
+ }
374
+ return r.blob();
375
+ }
376
+ async function processFormData(res) {
377
+ const data = {};
378
+ const form = await res.formData();
379
+ for (const [key, value] of form.entries()) {
380
+ if (value.type) {
381
+ data[key] = { headers: { "content-type": value.type }, body: value };
382
+ } else {
383
+ const body = !value ? [] : value.trim().split("\n").map(JSON.parse);
384
+ data[key] = { headers: { "content-type": "application/json" }, body };
385
+ }
386
+ }
387
+ return data;
388
+ }
389
+ async function processNDJSON_nestedKey(r) {
390
+ const stream = r.body.pipeThrough(new TextDecoderStream());
391
+ const reader = stream.getReader();
392
+ let rootObj = {};
393
+ let buffer = "";
394
+ let done = false;
395
+ while (!done) {
396
+ const readResult = await reader.read();
397
+ done = readResult.done;
398
+ if (done) break;
399
+ const value = readResult.value;
400
+ buffer += value;
401
+ const parts = buffer.split("\n");
402
+ buffer = parts.pop() ?? "";
403
+ for (const line of parts) {
404
+ if (line.trim()) {
405
+ const [keys, data] = JSON.parse(line);
406
+ if (!keys.length) rootObj = data;
407
+ else {
408
+ const lastKey = keys.pop();
409
+ let target = rootObj;
410
+ for (const k of keys) target = target[k];
411
+ target[lastKey] = data;
412
+ }
413
+ }
414
+ }
415
+ }
416
+ return rootObj;
417
+ }
418
+ var cacheLifetime = 1e3 * 60 * 5;
419
+ async function getDataName(url, init) {
420
+ const dataName = url + " | " + init.method + " | " + init.body + " | " + JSON.stringify(init.headers);
421
+ return await hash(dataName);
422
+ }
423
+
424
+ // ../shared/utils/dist/src/fileSize.js
425
+ function fileSize(v) {
426
+ if (v > 1e9) return (v / 1e9).toFixed(2) + " GB";
427
+ if (v > 1e6) return (v / 1e6).toFixed(2) + " MB";
428
+ if (v > 1e3) return (v / 1e3).toFixed(2) + " KB";
429
+ return v + " Bytes";
430
+ }
431
+
432
+ // ../shared/utils/dist/src/mds3tk.js
433
+ var ssmIdFieldsSeparator = "__";
434
+ function summarize_mclass(mlst) {
435
+ const m2c = /* @__PURE__ */ new Map();
436
+ const cnvs = [];
437
+ for (const m of mlst) {
438
+ if (m.dt == dtcnv) {
439
+ cnvs.push(m);
440
+ continue;
441
+ }
442
+ const key = m.class || m.dt;
443
+ m2c.set(key, 1 + (m2c.get(key) || 0));
444
+ }
445
+ if (cnvs.length) {
446
+ if (Number.isFinite(cnvs[0].value)) {
447
+ m2c.set(dtcnv, cnvs.length);
448
+ } else {
449
+ for (const c of cnvs) {
450
+ if (!c.class) continue;
451
+ m2c.set(c.class, 1 + (m2c.get(c.class) || 0));
452
+ }
453
+ }
454
+ }
455
+ return [...m2c].sort((i, j) => j[1] - i[1]);
456
+ }
457
+ function guessSsmid(ssmid) {
458
+ const l = ssmid.split(ssmIdFieldsSeparator);
459
+ if (l.length == 4) {
460
+ const [chr, tmp, ref, alt] = l;
461
+ const pos = Number(tmp);
462
+ if (Number.isNaN(pos)) throw "ssmid snvindel pos not integer";
463
+ return { dt: dtsnvindel, l: [chr, pos, ref, alt] };
464
+ }
465
+ if (l.length == 5) {
466
+ const [chr, _start, _stop, _class, _value] = l;
467
+ const start = Number(_start), stop = Number(_stop);
468
+ if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
469
+ const value = _value == "" ? null : Number(_value);
470
+ if (_class == mclassitd) {
471
+ return { dt: dtitd, l: [chr, start, stop, _class, value] };
472
+ }
473
+ return { dt: dtcnv, l: [chr, start, stop, _class, value] };
474
+ }
475
+ if (l.length == 6) {
476
+ if (l[3] == "+" || l[3] == "-") {
477
+ const [_dt, chr2, _pos, strand, _pi, _mname] = l;
478
+ const mname = decodeURIComponent(_mname);
479
+ const dt = Number(_dt);
480
+ if (dt != dtsv && dt != dtfusionrna) throw "ssmid dt not sv/fusion";
481
+ const pos = Number(_pos);
482
+ if (Number.isNaN(pos)) throw "ssmid svfusion position not integer";
483
+ const pairlstIdx = Number(_pi);
484
+ if (Number.isNaN(pairlstIdx)) throw "ssmid pairlstIdx not integer";
485
+ return { dt, l: [dt, chr2, pos, strand, pairlstIdx, mname] };
486
+ }
487
+ const [chr, _start, _stop, _class, _value, sample] = l;
488
+ const start = Number(_start), stop = Number(_stop);
489
+ if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
490
+ if (_class == mclassitd) {
491
+ return { dt: dtitd, l: [chr, start, stop, _class, _value, sample] };
492
+ }
493
+ const value = _value == "" ? null : Number(_value);
494
+ return { dt: dtcnv, l: [chr, start, stop, _class, value, sample] };
495
+ }
496
+ throw new Error("unknown ssmid");
497
+ }
498
+
499
+ // ../shared/utils/dist/src/scatter.js
500
+ var xAxisOffSet = 80;
501
+ var yAxisOffSet = 30;
502
+ function getCoordinate(val, min, max) {
503
+ if (min != null && val < min) return min;
504
+ if (max != null && val > max) return max;
505
+ return val;
506
+ }
507
+ function calculatePadding(minScale, maxScale, min, max) {
508
+ return minScale != null || maxScale != null ? 0 : (max - min) * 0.01;
509
+ }
510
+
511
+ // ../shared/utils/dist/src/termdb.bins.js
512
+ function validate_bins(binconfig) {
513
+ const bc = binconfig;
514
+ if (!bc || typeof bc !== "object") throw "bin schema must be an object";
515
+ if (!("type" in bc)) bc.type = "regular-bin";
516
+ if (bc.type == "custom-bin") {
517
+ if (!Array.isArray(bc.lst)) throw "binconfig.lst must be an array";
518
+ if (!bc.lst.length) throw "binconfig.lst must have entries";
519
+ const first_bin = bc.lst[0];
520
+ const last_bin = bc.lst[bc.lst.length - 1];
521
+ for (const bin of bc.lst) {
522
+ if (!("startinclusive" in bin) && !("stopinclusive" in bin)) {
523
+ throw "custom bin.startinclusive and/or bin.stopinclusive must be defined";
524
+ }
525
+ if (bin == first_bin) {
526
+ if ("startunbounded" in bin && !bin.startunbounded) {
527
+ throw `a custom first bin must not set bin.startunbounded to false`;
528
+ }
529
+ bin.startunbounded = true;
530
+ if ("start" in bin) {
531
+ throw "a custom first bin must not set a bin.start value";
532
+ }
533
+ if ("start_percentile" in bin) {
534
+ throw "the first bin must not set a bin.start_percentile value";
535
+ }
536
+ if (!("stop" in bin)) {
537
+ throw `a custom first bin must define a bin.stop value`;
538
+ }
539
+ if (!isStrictNumeric(bin.stop)) {
540
+ throw `a custom first bin.stop value should be numeric`;
541
+ }
542
+ } else if (bin == last_bin) {
543
+ if (!("start" in bin)) {
544
+ throw `a custom last bin must define a bin.start value`;
545
+ }
546
+ if (!isStrictNumeric(bin.start)) {
547
+ throw `a custom last bin.start must be numeric`;
548
+ }
549
+ if ("stopunbounded" in bin && !bin.stopunbounded) {
550
+ throw "a custom last bin must not set bin.stopunbounded to false";
551
+ }
552
+ bin.stopunbounded = true;
553
+ if ("stop" in bin) {
554
+ throw "a custom last bin must not set a bin.stop value";
555
+ }
556
+ } else {
557
+ if (bin.startunbounded || bin.stopunbounded) {
558
+ throw "bin.startunbounded and bin.stopunbounded must not be set for non-first/non-last bins";
559
+ }
560
+ if (!isStrictNumeric(bin.start)) throw "bin.start must be numeric for a non-first bin";
561
+ if (!isStrictNumeric(bin.stop)) throw "bin.stop must be numeric for a non-last bin";
562
+ }
563
+ }
564
+ } else if (bc.type == "regular-bin") {
565
+ if (!Number.isFinite(bc.bin_size)) throw "non-numeric bin_size";
566
+ if (!bc.bin_size || bc.bin_size <= 0) throw "bin_size must be greater than 0";
567
+ if (!bc.startinclusive && !bc.stopinclusive) {
568
+ bc.startinclusive = true;
569
+ bc.stopinclusive = false;
570
+ }
571
+ if (!bc.first_bin) throw "first_bin{} missing";
572
+ if (typeof bc.first_bin != "object") throw "first_bin{} is not an object";
573
+ if (!Object.keys(bc.first_bin).length) throw "first_bin is an empty object";
574
+ {
575
+ const b = bc.first_bin;
576
+ b.startunbounded = true;
577
+ if (b.stop_percentile) {
578
+ if (!Number.isInteger(b.stop_percentile)) throw "first_bin.stop_percentile should be integer";
579
+ if (b.stop_percentile <= 0 || b.stop_percentile >= 100) throw "first_bin.stop_percentile out of bound (0-100)";
580
+ } else if (!Number.isFinite(b.stop)) {
581
+ throw "first_bin.stop not a number when stop_percentile is not set";
582
+ }
583
+ }
584
+ if (bc.last_bin) {
585
+ const b = bc.last_bin;
586
+ if (b.start_percentile) {
587
+ if (!Number.isInteger(b.start_percentile)) throw "last_bin.start_percentile should be integer";
588
+ if (b.start_percentile <= 0 || b.start_percentile >= 100) throw "last_bin.start_percentile out of bound (0-100)";
589
+ } else if (!Number.isFinite(b.start)) {
590
+ throw "last_bin.start not a number when start_percentile is not set";
591
+ }
592
+ b.stopunbounded = true;
593
+ if ("stop" in b) {
594
+ throw "a regular last bin must not set a bin.stop value";
595
+ }
596
+ }
597
+ } else {
598
+ throw `invalid binconfig.type="${bc.type}"`;
599
+ }
600
+ }
601
+ var maxNumBins = 100;
602
+ function compute_bins(binconfig, summaryfxn, valueConversion) {
603
+ const bc = binconfig;
604
+ validate_bins(bc);
605
+ if (bc.lst) {
606
+ if (!Array.isArray(bc.lst)) throw `bc.lst is not an array`;
607
+ if (bc.lst.length > maxNumBins) throw `bc.lst exceed the maximum of ${maxNumBins} allowed entries`;
608
+ assignBinColors(bc.lst);
609
+ }
610
+ if (bc.type == "custom-bin") return JSON.parse(JSON.stringify(bc.lst));
611
+ if (typeof summaryfxn != "function") throw "summaryfxn required for modules/termdb.bins.js compute_bins()";
612
+ const percentiles = target_percentiles(bc);
613
+ const summary = summaryfxn(percentiles);
614
+ if (!summary || typeof summary !== "object") throw "invalid returned value by summaryfxn";
615
+ bc.results = { summary };
616
+ if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
617
+ const minFloor = Math.floor(summary.min * 100) / 100;
618
+ const maxCeil = Math.ceil(summary.max * 100) / 100;
619
+ const min = bc.first_bin.startunbounded ? minFloor : bc.first_bin.start_percentile ? summary["p" + bc.first_bin.start_percentile] : bc.first_bin.start;
620
+ let max = maxCeil, last_start, last_stop;
621
+ if (bc.last_bin) {
622
+ 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;
623
+ 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;
624
+ 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;
625
+ } else if (bc.lst) {
626
+ const last_bin = bc.lst[bc.lst.length - 1];
627
+ last_start = last_bin.start;
628
+ last_stop = "stop" in last_bin && !last_bin.stopunbounded ? last_bin.stop : maxCeil;
629
+ max = last_stop;
630
+ } else {
631
+ last_start = maxCeil;
632
+ last_stop = maxCeil;
633
+ }
634
+ const numericMax = isStrictNumeric(max);
635
+ const numericLastStart = isStrictNumeric(last_start);
636
+ const numericLastStop = isStrictNumeric(last_stop);
637
+ if (!numericMax && !numericLastStart) return [];
638
+ const bins = [];
639
+ let currBin = {
640
+ startunbounded: bc.first_bin.startunbounded,
641
+ start: bc.first_bin.startunbounded ? void 0 : min,
642
+ 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,
643
+ startinclusive: bc.startinclusive,
644
+ stopinclusive: bc.stopinclusive
645
+ };
646
+ if (!isStrictNumeric(currBin.stop)) throw "the computed first_bin.stop is non-numeric" + currBin.stop;
647
+ while (numericMax && currBin.stop <= max || currBin.startunbounded && !bins.length || currBin.stopunbounded) {
648
+ bins.push(currBin);
649
+ if (currBin.stop >= max) {
650
+ currBin.stopunbounded = true;
651
+ if (bins.length > 1) {
652
+ delete currBin.stop;
653
+ }
654
+ }
655
+ currBin.label = get_bin_label(currBin, bc, valueConversion);
656
+ if (currBin.stopunbounded) break;
657
+ const upper = currBin.stop + bc.bin_size;
658
+ const previousStop = currBin.stop;
659
+ currBin = {
660
+ startinclusive: bc.startinclusive,
661
+ stopinclusive: bc.stopinclusive,
662
+ start: previousStop,
663
+ stop: numericLastStop && (previousStop == last_start || upper > last_stop) ? last_stop : numericLastStart && upper > last_start && previousStop != last_start ? last_start : upper
664
+ };
665
+ if (currBin.stop >= max) {
666
+ currBin.stop = max;
667
+ if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
668
+ if (bc.last_bin && bc.last_bin.stopinclusive) currBin.stopinclusive = 1;
669
+ }
670
+ if (numericLastStart && currBin.start == last_start) {
671
+ if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
672
+ }
673
+ if (currBin.start > currBin.stop) {
674
+ if (numericLastStart && currBin.stop == last_start && bc.last_bin && bc.last_bin.stopunbounded)
675
+ currBin.stopunbounded = true;
676
+ else break;
677
+ }
678
+ if (bins.length + 1 >= maxNumBins) {
679
+ delete currBin.stop;
680
+ currBin.stopunbounded = true;
681
+ currBin.label = get_bin_label(currBin, bc, valueConversion);
682
+ if (!bins.includes(currBin)) bins.push(currBin);
683
+ const hint = "Please increase the bin_size or first bin stop, or have a lower last bin start.";
684
+ throw new Error(hint + " (max_num_bins_reached)");
685
+ }
686
+ }
687
+ delete bc.binLabelFormatter;
688
+ if (bins.length > 1) {
689
+ delete bins[bins.length - 1].stop;
690
+ }
691
+ assignBinColors(bins);
692
+ return bins;
693
+ }
694
+ function assignBinColors(lst) {
695
+ const k2c = getColors(lst.length);
696
+ for (const [i, bin] of lst.entries()) bin.color = k2c(String(i));
697
+ return lst;
698
+ }
699
+ function getNumDecimalsFormatter(bc) {
700
+ return "rounding" in bc ? format(bc.rounding) : (d) => d;
701
+ }
702
+ function get_bin_label(bin, binconfig, valueConversion) {
703
+ if (!bin) return "missing bin.label";
704
+ if (bin.label) return bin.label;
705
+ const bc = binconfig;
706
+ if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
707
+ if (!bin.startunbounded && !bin.stopunbounded && !("startinclusive" in bin) && !("stopinclusive" in bin)) {
708
+ if (bc.startinclusive) bin.startinclusive = true;
709
+ else if (bc.stopinclusive) bin.stopinclusive = true;
710
+ }
711
+ const start = bc.use_as == "bins" || bin.start;
712
+ const stop = bc.use_as == "bins" || bin.stop;
713
+ let label_offset = 0;
714
+ if ("label_offset" in bc) {
715
+ bc.label_offset_ignored = "bin_size" in bc && bc.bin_size < bc.label_offset;
716
+ if (!bc.label_offset_ignored) label_offset = bc.label_offset;
717
+ } else if (bc.bin_size === 1 && bc.termtype == "integer") {
718
+ label_offset = 1;
719
+ }
720
+ if (bin.startunbounded) {
721
+ const oper = bin.stopinclusive ? "\u2264" : "<";
722
+ const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(stop);
723
+ return oper + v1;
724
+ }
725
+ if (bin.stopunbounded || start === stop) {
726
+ const oper = bin.startinclusive ? "\u2265" : ">";
727
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
728
+ return oper + v0;
729
+ }
730
+ if (label_offset && bin.startinclusive && !bin.stopinclusive) {
731
+ if (Number.isInteger(bc.bin_size) && Math.abs(start - stop) === label_offset) {
732
+ return "" + (valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start));
733
+ } else {
734
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
735
+ const v1 = valueConversion ? convertUnits(
736
+ stop - label_offset,
737
+ valueConversion.fromUnit,
738
+ valueConversion.toUnit,
739
+ valueConversion.scaleFactor,
740
+ true
741
+ ) : bc.binLabelFormatter(stop - label_offset);
742
+ return +v0 >= +v1 ? v0.toString() : v0 + " to " + v1;
743
+ }
744
+ } else {
745
+ const oper0 = bin.startinclusive ? "" : ">";
746
+ const oper1 = bin.stopinclusive ? "" : "<";
747
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(start) ? start : bc.binLabelFormatter(start);
748
+ const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(stop) ? stop : bc.binLabelFormatter(stop);
749
+ if (+v0 >= +v1) {
750
+ const oper = bin.startinclusive ? "\u2265" : ">";
751
+ return oper + v0;
752
+ } else {
753
+ return oper0 + v0 + " to " + oper1 + v1;
754
+ }
755
+ }
756
+ }
757
+ function get_bin_range_equation(bin, binconfig, valueConversion) {
758
+ const x = '<span style="font-family:Times;font-style:italic;">x</span>';
759
+ let range_eq;
760
+ const copy = structuredClone(bin);
761
+ copy.label = "";
762
+ const bin_label = get_bin_label(copy, binconfig, valueConversion);
763
+ if (bin.startunbounded || bin.stopunbounded) {
764
+ range_eq = x + " " + bin_label;
765
+ } else if (bin.startinclusive) {
766
+ range_eq = bin_label.replace("to <", "\u2264 " + x + " <");
767
+ } else if (bin.stopinclusive) {
768
+ range_eq = bin_label.replace(">", "").replace("to", "< " + x + " \u2264");
769
+ }
770
+ return range_eq;
771
+ }
772
+ function target_percentiles(binconfig) {
773
+ const percentiles = [];
774
+ const f = binconfig.first_bin;
775
+ if (f && isStrictNumeric(f.start_percentile)) percentiles.push(f.start_percentile);
776
+ if (f && isStrictNumeric(f.stop_percentile)) percentiles.push(f.stop_percentile);
777
+ const l = binconfig.last_bin;
778
+ if (l && isStrictNumeric(l.start_percentile)) percentiles.push(l.start_percentile);
779
+ if (l && isStrictNumeric(l.stop_percentile)) percentiles.push(l.stop_percentile);
780
+ return percentiles;
781
+ }
782
+
783
+ // ../shared/utils/dist/src/termdb.initbinconfig.js
784
+ function initBinConfig(data, opts = {}) {
785
+ if (!data.length)
786
+ return { mode: "discrete", type: "regular-bin", startinclusive: true, bin_size: null, first_bin: { stop: null } };
787
+ if (data.find((d) => !Number.isFinite(d))) throw new Error("non-numeric values found");
788
+ let binConfig;
789
+ const s = new Set(data);
790
+ if (s.size === 1) {
791
+ const value = [...s][0];
792
+ binConfig = {
793
+ type: "custom-bin",
794
+ lst: [
795
+ { stop: value, stopinclusive: false, startunbounded: true, label: "<" + value },
796
+ { start: value, stop: value, startinclusive: true, stopinclusive: true, label: "=" + value },
797
+ { start: value, startinclusive: false, stopunbounded: true, label: ">" + value }
798
+ ]
799
+ };
800
+ } else {
801
+ data.sort((a, b) => a - b);
802
+ const l = data.length;
803
+ const min = data[0];
804
+ const max = data[l - 1];
805
+ const p5idx = Math.ceil(l * 0.05) - 1;
806
+ const p98idx = Math.ceil(l * 0.98) - 1;
807
+ const p5 = data[p5idx];
808
+ const p98 = data[p98idx];
809
+ const binSize = p98 != p5 ? (p98 - p5) / 8 : (max - min) / 8;
810
+ const firstBinStop = Math.max(min + binSize, p5);
811
+ const [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding] = roundBinVals(binSize, firstBinStop, max, min);
812
+ binConfig = {
813
+ type: "regular-bin",
814
+ startinclusive: true,
815
+ bin_size: binSize_rnd,
816
+ first_bin: { stop: firstBinStop_rnd }
817
+ };
818
+ if (lastBinStart_rnd) binConfig.last_bin = { start: lastBinStart_rnd };
819
+ if (rounding) binConfig.rounding = rounding;
820
+ }
821
+ if ("format" in opts) {
822
+ if (opts.format === "string") {
823
+ return JSON.stringify(binConfig);
824
+ } else {
825
+ throw "options are not in the correct format";
826
+ }
827
+ } else {
828
+ return binConfig;
829
+ }
830
+ }
831
+ function roundBinVals(binSize, firstBinStop, max, min) {
832
+ let binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding;
833
+ const log = Math.floor(Math.log10(binSize));
834
+ if (binSize >= 0.1 && binSize <= 2) {
835
+ binSize_rnd = Math.round(binSize / (1 * 10 ** log)) * (1 * 10 ** log);
836
+ firstBinStop_rnd = Math.round(firstBinStop / (1 * 10 ** log)) * (1 * 10 ** log);
837
+ } else {
838
+ binSize_rnd = Math.round(binSize / (5 * 10 ** log)) * (5 * 10 ** log);
839
+ firstBinStop_rnd = Math.round(firstBinStop / (5 * 10 ** log)) * (5 * 10 ** log);
840
+ if (binSize_rnd === 0) binSize_rnd = 1 * 10 ** log;
841
+ if (firstBinStop_rnd === 0) firstBinStop_rnd = 1 * 10 ** log;
842
+ if (binSize_rnd === 5 * 10 ** log && firstBinStop_rnd === 1 * 10 ** log) firstBinStop_rnd = 5 * 10 ** log;
843
+ }
844
+ if (firstBinStop_rnd < min) firstBinStop_rnd = firstBinStop_rnd * 2;
845
+ const eighthBinStop_rnd = firstBinStop_rnd + binSize_rnd * 7;
846
+ if (max > eighthBinStop_rnd) {
847
+ lastBinStart_rnd = firstBinStop_rnd + binSize_rnd * 6;
848
+ }
849
+ if (binSize < 1) {
850
+ const digits = Math.abs(log);
851
+ binSize_rnd = Number(binSize_rnd.toFixed(digits));
852
+ firstBinStop_rnd = Number(firstBinStop_rnd.toFixed(digits));
853
+ if (lastBinStart_rnd) lastBinStart_rnd = Number(lastBinStart_rnd.toFixed(digits));
854
+ rounding = "." + digits + "f";
855
+ }
856
+ if (Object.is(firstBinStop_rnd, -0)) firstBinStop_rnd = 0;
857
+ return [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding];
858
+ }
859
+
860
+ // ../shared/utils/dist/src/termdb.usecase.js
861
+ var graphableTypes = /* @__PURE__ */ new Set([
862
+ "categorical",
863
+ "integer",
864
+ "float",
865
+ "condition",
866
+ "survival",
867
+ "snplst",
868
+ "snplocus",
869
+ "geneVariant",
870
+ "samplelst",
871
+ "geneExpression",
872
+ ISOFORM_EXPRESSION,
873
+ "dtcnv",
874
+ "dtsnvindel",
875
+ "dtfusion",
876
+ "dtsv",
877
+ "date",
878
+ TermTypes.SSGSEA,
879
+ TermTypes.DNA_METHYLATION,
880
+ TermTypes.METABOLITE_INTENSITY,
881
+ TermTypes.PROTEOME_ABUNDANCE,
882
+ TermTypes.PSEUDOBULK,
883
+ TermTypes.JUNCTION,
884
+ SINGLECELL_GENE_EXPRESSION,
885
+ SINGLECELL_CELLTYPE,
886
+ TermTypes.SNP,
887
+ TermTypes.TERM_COLLECTION,
888
+ TermTypes.COHORT,
889
+ TermTypes.MULTIVALUE
890
+ ]);
891
+ function isUsableTerm(term, _usecase, termdbConfig, ds) {
892
+ const usecase = _usecase || {};
893
+ if (typeof ds?.usecase?.[usecase.target] == "function") {
894
+ return ds.usecase[usecase.target](term, usecase);
895
+ }
896
+ const uses = /* @__PURE__ */ new Set();
897
+ const child_types = term.child_types || [];
898
+ switch (usecase.target) {
899
+ case "barchart":
900
+ case "violin":
901
+ case "boxplot":
902
+ case "summary": {
903
+ const excluded = usecase.detail == "term2" ? ["survival", "multivalue"] : ["survival"];
904
+ if (term.type && !excluded.includes(term.type)) uses.add("plot");
905
+ if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
906
+ return uses;
907
+ }
908
+ case "summaryInput":
909
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
910
+ const excluded = usecase.detail === "term2" ? ["survival", "multivalue"] : ["survival"];
911
+ if (term.type && !excluded.includes(term.type)) uses.add("plot");
912
+ if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
913
+ return uses;
914
+ } else {
915
+ if (graphableTypes.has(term.type)) uses.add("plot");
916
+ if (!term.isleaf) uses.add("branch");
917
+ return uses;
918
+ }
919
+ case "matrix":
920
+ if (term.type) uses.add("plot");
921
+ if (!term.isleaf) uses.add("branch");
922
+ return uses;
923
+ case "table":
924
+ if (usecase.detail == "term") uses.add("plot");
925
+ if (child_types.length > 1) uses.add("branch");
926
+ return uses;
927
+ case "sampleScatter":
928
+ if (usecase.detail == "numeric") {
929
+ if (isNumericTerm(term)) {
930
+ uses.add("plot");
931
+ }
932
+ if (hasNumericChild(child_types)) uses.add("branch");
933
+ } else {
934
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
935
+ if (!term.isleaf) uses.add("branch");
936
+ }
937
+ return uses;
938
+ case "runChart2":
939
+ if (usecase.detail == "date" || usecase.detail == "xtw") {
940
+ if (term.type == "date") {
941
+ uses.add("plot");
942
+ }
943
+ if (child_types.includes("date")) uses.add("branch");
944
+ } else if (usecase.detail == "numeric") {
945
+ if (isNumericTerm(term) && term.type != "date") {
946
+ uses.add("plot");
947
+ }
948
+ if (hasNumericChild(child_types)) uses.add("branch");
949
+ } else {
950
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
951
+ if (!term.isleaf) uses.add("branch");
952
+ }
953
+ return uses;
954
+ case "numericDictTermCluster":
955
+ if (!usecase.detail?.exclude?.includes(term.id)) {
956
+ if (isNumericTerm(term)) {
957
+ uses.add("plot");
958
+ }
959
+ if (hasNumericChild(child_types)) {
960
+ uses.add("branch");
961
+ }
962
+ }
963
+ return uses;
964
+ case "termCollections":
965
+ if (usecase.detail?.termIds?.includes(term.id)) uses.add("plot");
966
+ if (usecase.detail?.branchIds?.includes(term.id)) uses.add("branch");
967
+ return uses;
968
+ case "profileForms":
969
+ if (!term.isleaf) {
970
+ const ancestors = term.id.split("__").length;
971
+ if (ancestors == 3) {
972
+ uses.add("plot");
973
+ } else if (ancestors < 3) uses.add("branch");
974
+ }
975
+ return uses;
976
+ // case 'boxplot':
977
+ // if (term.type == 'float' || term.type == 'integer') uses.add('plot')
978
+ // if (usecase.detail === 'term2' && hasNumericChild(child_types)) uses.add('branch')
979
+ // return uses
980
+ case "cuminc":
981
+ if (usecase.detail == "term") {
982
+ if (term.type == "condition") uses.add("plot");
983
+ if (child_types.includes("condition")) uses.add("branch");
984
+ return uses;
985
+ }
986
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
987
+ if (term.type && term.type != "condition" && term.type != "survival" && term.type != "multivalue")
988
+ uses.add("plot");
989
+ if (hasAllowedChildTypes(child_types, ["condition", "survival", "multivalue"])) uses.add("branch");
990
+ return uses;
991
+ }
992
+ return uses;
993
+ case "survival":
994
+ if (usecase.detail == "term") {
995
+ if (term.type == "survival") uses.add("plot");
996
+ if (child_types.includes("survival")) uses.add("branch");
997
+ return uses;
998
+ }
999
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
1000
+ if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1001
+ if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1002
+ return uses;
1003
+ }
1004
+ return uses;
1005
+ case "regression":
1006
+ if (usecase.detail == "outcome") {
1007
+ if (usecase.regressionType == "linear") {
1008
+ if (term.type == "float" || term.type == "integer") uses.add("plot");
1009
+ if (hasNumericChild(child_types)) uses.add("branch");
1010
+ return uses;
1011
+ }
1012
+ if (usecase.regressionType == "logistic") {
1013
+ if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1014
+ if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1015
+ return uses;
1016
+ } else if (usecase.regressionType == "cox") {
1017
+ if (term.type == "condition" || term.type == "survival") uses.add("plot");
1018
+ if (child_types.includes("condition") || child_types.includes("survival")) uses.add("branch");
1019
+ return uses;
1020
+ }
1021
+ }
1022
+ if (usecase.detail == "independent") {
1023
+ if (term.type == TermTypes.TERM_COLLECTION) {
1024
+ if (term.memberType == "numeric") uses.add("plot");
1025
+ return uses;
1026
+ }
1027
+ if (term.type == "float" || term.type == "integer" || term.type == "categorical" || term.type == "samplelst")
1028
+ uses.add("plot");
1029
+ if (hasChildTypes(child_types, ["categorical", "float", "integer"])) uses.add("branch");
1030
+ return uses;
1031
+ }
1032
+ return uses;
1033
+ case "filter": {
1034
+ const exlst = termdbConfig?.excludedTermtypeByTarget?.filter;
1035
+ if (exlst) {
1036
+ if (graphableTypes.has(term.type) && !exlst.includes(term.type)) uses.add("plot");
1037
+ if (child_types.find((t) => !exlst.includes(t))) uses.add("branch");
1038
+ return uses;
1039
+ }
1040
+ if (graphableTypes.has(term.type)) uses.add("plot");
1041
+ if (!term.isleaf) uses.add("branch");
1042
+ return uses;
1043
+ }
1044
+ case "correlationVolcano":
1045
+ if (usecase.detail == "numeric") {
1046
+ if (isNumericTerm(term)) {
1047
+ uses.add("plot");
1048
+ }
1049
+ if (hasNumericChild(child_types)) uses.add("branch");
1050
+ } else {
1051
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1052
+ if (!term.isleaf) uses.add("branch");
1053
+ }
1054
+ return uses;
1055
+ case "proteinView":
1056
+ if (term.type == TermTypes.PROTEOME_ABUNDANCE) uses.add("plot");
1057
+ if (child_types.includes(TermTypes.PROTEOME_ABUNDANCE)) uses.add("branch");
1058
+ return uses;
1059
+ case "dictionary":
1060
+ if (graphableTypes.has(term.type)) uses.add("plot");
1061
+ if (!term.isleaf) uses.add("branch");
1062
+ return uses;
1063
+ default:
1064
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1065
+ if (!term.isleaf) uses.add("branch");
1066
+ return uses;
1067
+ }
1068
+ }
1069
+ function hasAllowedChildTypes(child_types, excluded_types) {
1070
+ if (!child_types.length) {
1071
+ return false;
1072
+ }
1073
+ if (!excluded_types?.length) {
1074
+ return true;
1075
+ }
1076
+ if (child_types.some((type) => !excluded_types.includes(type))) {
1077
+ return true;
1078
+ }
1079
+ }
1080
+ function hasNumericChild(child_types) {
1081
+ return child_types.includes("float") || child_types.includes("integer");
1082
+ }
1083
+ function hasChildTypes(child_types, expected_types) {
1084
+ for (const a of expected_types) {
1085
+ if (child_types.includes(a)) return true;
1086
+ }
1087
+ }
1088
+
1089
+ // ../shared/utils/dist/src/time.js
1090
+ function formatElapsedTime(ms, precision = 2) {
1091
+ if (typeof ms !== "number" || isNaN(ms)) {
1092
+ return typeof ms !== "number" ? "Invalid time: not a number" : "Invalid time: NaN";
1093
+ }
1094
+ if (!isFinite(ms)) {
1095
+ return ms > 0 ? "Infinite time" : "-Infinite time";
1096
+ }
1097
+ const absMs = Math.abs(ms);
1098
+ const sign = ms < 0 ? "-" : "";
1099
+ if (absMs < 1e3) {
1100
+ return `${sign}${absMs}ms`;
1101
+ }
1102
+ if (absMs < 6e4) {
1103
+ return `${sign}${(absMs / 1e3).toFixed(precision)}s`;
1104
+ }
1105
+ const minutes = Math.floor(absMs / 6e4);
1106
+ const seconds = (absMs % 6e4 / 1e3).toFixed(precision);
1107
+ return `${sign}${minutes}m ${seconds}s`;
1108
+ }
1109
+
1110
+ // ../shared/utils/dist/src/vcf.ann.js
1111
+ function parse_ANN(str, header, m) {
1112
+ if (!header) {
1113
+ return null;
1114
+ }
1115
+ for (const thisannotation of str.split(",")) {
1116
+ const lst = thisannotation.replace(/&/g, ",").split("|");
1117
+ const o = {};
1118
+ for (let i = 0; i < header.length; i++) {
1119
+ if (lst[i]) {
1120
+ o[header[i].name] = lst[i];
1121
+ }
1122
+ }
1123
+ if (!o.Allele) {
1124
+ continue;
1125
+ }
1126
+ let allele = null;
1127
+ for (const a of m.alleles) {
1128
+ if (a.allele == o.Allele) {
1129
+ allele = a;
1130
+ break;
1131
+ }
1132
+ }
1133
+ if (!allele) {
1134
+ continue;
1135
+ }
1136
+ if (!allele.ann) {
1137
+ allele.ann = [];
1138
+ }
1139
+ allele.ann.push(o);
1140
+ o._gene = o.Gene_Name;
1141
+ if (o.Feature_Type && o.Feature_Type == "transcript" && o.Feature_ID) {
1142
+ o._isoform = o.Feature_ID.split(".")[0];
1143
+ }
1144
+ if (o.Annotation) {
1145
+ const [dt, cls, rank] = vepinfo(o.Annotation);
1146
+ o._dt = dt;
1147
+ o._class = cls;
1148
+ o._csqrank = rank;
1149
+ } else {
1150
+ o._dt = dtsnvindel;
1151
+ o._class = mclassnonstandard;
1152
+ }
1153
+ if (o["HGVS.p"]) {
1154
+ o._mname = o["HGVS.p"];
1155
+ } else if (o["HGVS.c"]) {
1156
+ o._mname = o["HGVS.c"];
1157
+ }
1158
+ }
1159
+ return true;
1160
+ }
1161
+
1162
+ // ../shared/utils/dist/src/vcf.csq.js
1163
+ function parse_CSQ(str, header, m) {
1164
+ if (!header) {
1165
+ return null;
1166
+ }
1167
+ for (const thisannotation of str.split(",")) {
1168
+ const lst = thisannotation.replace(/&/g, ",").split("|");
1169
+ const o = {};
1170
+ for (let i = 0; i < header.length; i++) {
1171
+ if (lst[i]) {
1172
+ o[header[i].name] = lst[i];
1173
+ }
1174
+ }
1175
+ if (!o.Allele) {
1176
+ continue;
1177
+ }
1178
+ let allele = null;
1179
+ for (const a of m.mlst || m.alleles) {
1180
+ if (a.allele_original == o.Allele) {
1181
+ allele = a;
1182
+ break;
1183
+ }
1184
+ }
1185
+ if (!allele) {
1186
+ if (o.Allele == "-") {
1187
+ if (m.mlst) {
1188
+ if (m.mlst.length == 1) {
1189
+ allele = m.mlst[0];
1190
+ }
1191
+ } else if (m.alleles) {
1192
+ if (m.alleles.length == 1) {
1193
+ allele = m.alleles[0];
1194
+ }
1195
+ }
1196
+ } else {
1197
+ for (const a of m.mlst || m.alleles) {
1198
+ if (a.allele_original.substr(1) == o.Allele) {
1199
+ allele = a;
1200
+ break;
1201
+ }
1202
+ }
1203
+ }
1204
+ if (!allele) {
1205
+ continue;
1206
+ }
1207
+ }
1208
+ if (!allele.csq) {
1209
+ allele.csq = [];
1210
+ }
1211
+ allele.csq.push(o);
1212
+ o._gene = o.SYMBOL || o.Gene;
1213
+ if (o.Feature_type && o.Feature_type == "Transcript") {
1214
+ o._isoform = o.Feature.split(".")[0];
1215
+ } else {
1216
+ o._isoform = o._gene;
1217
+ }
1218
+ if (o.Consequence) {
1219
+ const [dt, cls, rank] = vepinfo(o.Consequence);
1220
+ o._dt = dt;
1221
+ o._class = cls;
1222
+ o._csqrank = rank;
1223
+ } else {
1224
+ o._dt = dtsnvindel;
1225
+ o._class = mclassnonstandard;
1226
+ }
1227
+ if (o.HGVSp) {
1228
+ o._mname = decodeURIComponent(o.HGVSp.substr(o.HGVSp.indexOf(":") + 1));
1229
+ } else if (o.Protein_position && o.Amino_acids) {
1230
+ o._mname = decodeURIComponent(o.Protein_position + o.Amino_acids);
1231
+ } else if (o.HGVSc) {
1232
+ o._mname = o.HGVSc.substr(o.HGVSc.indexOf(":") + 1);
1233
+ } else if (o.Existing_variation) {
1234
+ o._name = o.Existing_variation;
1235
+ }
1236
+ }
1237
+ return true;
1238
+ }
1239
+
1240
+ // ../shared/utils/dist/src/vcf.info.js
1241
+ function dissect_INFO(str) {
1242
+ let findsemicolon = false;
1243
+ let findequalorsemicolon = true;
1244
+ let i = 0;
1245
+ let idx = 0;
1246
+ const k2v = {};
1247
+ let lastkey;
1248
+ while (i < str.length) {
1249
+ const c = str[i];
1250
+ if (findequalorsemicolon) {
1251
+ if (c == "=") {
1252
+ findsemicolon = true;
1253
+ findequalorsemicolon = false;
1254
+ lastkey = str.substring(idx, i);
1255
+ idx = i + 1;
1256
+ } else if (c == ";") {
1257
+ k2v[str.substring(idx, i)] = 1;
1258
+ idx = i + 1;
1259
+ }
1260
+ } else if (findsemicolon && c == ";") {
1261
+ findequalorsemicolon = true;
1262
+ findsemicolon = false;
1263
+ k2v[lastkey] = str.substring(idx, i);
1264
+ lastkey = null;
1265
+ idx = i + 1;
1266
+ }
1267
+ i++;
1268
+ }
1269
+ const remainstr = str.substr(idx, i);
1270
+ if (lastkey) {
1271
+ k2v[lastkey] = remainstr;
1272
+ } else {
1273
+ k2v[remainstr] = 1;
1274
+ }
1275
+ return k2v;
1276
+ }
1277
+
1278
+ // ../shared/utils/dist/src/vcf.type.js
1279
+ function getVariantType(ref, alt) {
1280
+ if (ref.length == 1 && alt.length == 1) {
1281
+ if (alt == ".") {
1282
+ return mclassdeletion;
1283
+ }
1284
+ return mclasssnv;
1285
+ }
1286
+ if (ref.length == alt.length) return mclassmnv;
1287
+ if (ref.length < alt.length) return mclassinsertion;
1288
+ if (ref.length > alt.length) return mclassdeletion;
1289
+ return mclassnonstandard;
1290
+ }
1291
+
1292
+ // ../shared/utils/dist/src/vcf.js
1293
+ var getallelename = new RegExp(/<(.+)>/);
1294
+ var mclasslabel2key = {};
1295
+ for (const k in mclass) {
1296
+ mclasslabel2key[mclass[k].label.toUpperCase()] = k;
1297
+ }
1298
+ function vcfparsemeta(lines) {
1299
+ let sample = [];
1300
+ const errlst = [];
1301
+ const info = {};
1302
+ let hasinfo = false;
1303
+ const format2 = {};
1304
+ let hasformat = false;
1305
+ for (const line of lines) {
1306
+ if (!line.startsWith("#")) {
1307
+ continue;
1308
+ }
1309
+ if (line.startsWith("#C")) {
1310
+ sample = line.split(" ").slice(9);
1311
+ continue;
1312
+ }
1313
+ if (line.startsWith("##INFO")) {
1314
+ const e = tohash(line.substring(8, line.length - 1), info);
1315
+ if (e) {
1316
+ errlst.push("INFO error: " + e);
1317
+ } else {
1318
+ hasinfo = true;
1319
+ }
1320
+ continue;
1321
+ }
1322
+ if (line.startsWith("##FORMAT")) {
1323
+ const e = tohash(line.substring(10, line.length - 1), format2);
1324
+ if (e) {
1325
+ errlst.push("FORMAT error: " + e);
1326
+ } else {
1327
+ hasformat = true;
1328
+ }
1329
+ }
1330
+ }
1331
+ const sampleobjlst = [];
1332
+ for (const samplename of sample) {
1333
+ const a = { name: samplename };
1334
+ sampleobjlst.push(a);
1335
+ }
1336
+ if (info.CSQ) {
1337
+ const lst = info.CSQ.Description.split(" Format: ");
1338
+ if (lst[1]) {
1339
+ const lst2 = lst[1].split("|");
1340
+ if (lst2.length > 1) {
1341
+ info.CSQ.csqheader = [];
1342
+ for (const str of lst2) {
1343
+ const attr = { name: str };
1344
+ info.CSQ.csqheader.push(attr);
1345
+ }
1346
+ } else {
1347
+ errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1348
+ }
1349
+ } else {
1350
+ errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1351
+ }
1352
+ }
1353
+ if (info.ANN) {
1354
+ const lst = info.ANN.Description.split("'");
1355
+ if (lst[1]) {
1356
+ const lst2 = lst[1].split(" | ");
1357
+ if (lst2.length) {
1358
+ info.ANN.annheader = [];
1359
+ for (const s of lst2) {
1360
+ const attr = { name: s };
1361
+ info.ANN.annheader.push(attr);
1362
+ }
1363
+ } else {
1364
+ errlst.push('no " | " joined annotation fields for ANN (snpEff annotation): ' + info.ANN.Description);
1365
+ }
1366
+ } else {
1367
+ errlst.push("no single-quote enclosed annotation fields for ANN (snpEff annotation): " + info.ANN.Description);
1368
+ }
1369
+ }
1370
+ return [hasinfo ? info : null, hasformat ? format2 : null, sampleobjlst, errlst.length ? errlst : null];
1371
+ }
1372
+ function vcfparseline(line, vcf) {
1373
+ const lst = line.split(" ");
1374
+ if (lst.length < 8) {
1375
+ return ["line has less than 8 fields", null, null];
1376
+ }
1377
+ const rawpos = Number.parseInt(lst[2 - 1]);
1378
+ if (!Number.isInteger(rawpos)) {
1379
+ return ["invalid value for genomic position", null, null];
1380
+ }
1381
+ const refallele = lst[4 - 1];
1382
+ const m = {
1383
+ vcf_ID: lst[3 - 1],
1384
+ chr: (vcf.nochr ? "chr" : "") + lst[1 - 1],
1385
+ pos: rawpos - 1,
1386
+ ref: refallele,
1387
+ //refstr:refallele, // e.g. GA>GCC, ref:A, refstr:GA, "refstr" is required for matching in FORMAT
1388
+ altstr: lst[5 - 1],
1389
+ alleles: [
1390
+ {
1391
+ /*
1392
+ ref allele only a placeholder, to be removed, this array only contains alt alleles
1393
+ this is a must
1394
+ also allows GT allele index to work
1395
+ */
1396
+ allele: refallele,
1397
+ sampledata: []
1398
+ }
1399
+ ],
1400
+ info: {},
1401
+ // locus info, do not contain allele info
1402
+ name: lst[3 - 1] == "." ? null : lst[3 - 1]
1403
+ };
1404
+ const altinvalid = [];
1405
+ for (const alt of lst[5 - 1].split(",")) {
1406
+ const a = {
1407
+ ref: m.ref,
1408
+ // may be corrected just below!
1409
+ allele: alt,
1410
+ // 5078356.TATCAGAGAA.GGGAGGA keep original allele for matching with csq which hardcodes original allele
1411
+ allele_original: alt,
1412
+ sampledata: [],
1413
+ _m: m,
1414
+ info: {}
1415
+ // allele info, do not contain locus info
1416
+ };
1417
+ m.alleles.push(a);
1418
+ if (alt[0] == "<") {
1419
+ const tmp2 = alt.match(getallelename);
1420
+ if (!tmp2) {
1421
+ altinvalid.push(alt);
1422
+ continue;
1423
+ }
1424
+ a.type = tmp2[1];
1425
+ a.allele = tmp2[1];
1426
+ a.issymbolicallele = true;
1427
+ } else {
1428
+ const [p, ref, alt2] = correctRefAlt(m.pos, m.ref, a.allele);
1429
+ a.pos = p;
1430
+ a.ref = ref;
1431
+ a.allele = alt2;
1432
+ }
1433
+ }
1434
+ if (lst[9 - 1] && lst[10 - 1]) {
1435
+ parse_FORMAT2(lst, m, vcf);
1436
+ }
1437
+ m.alleles.shift();
1438
+ const tmp = lst[8 - 1] == "." ? [] : dissect_INFO(lst[8 - 1]);
1439
+ let badinfokeys = [];
1440
+ if (vcf.info) {
1441
+ badinfokeys = parse_INFO(tmp, m, vcf);
1442
+ } else {
1443
+ m.info = tmp;
1444
+ }
1445
+ const mlst = [];
1446
+ for (const a of m.alleles) {
1447
+ const m2 = {};
1448
+ for (const k in m) {
1449
+ if (k != "alleles") {
1450
+ m2[k] = m[k];
1451
+ }
1452
+ }
1453
+ for (const k in a) {
1454
+ if (k == "allele") {
1455
+ m2.alt = a[k];
1456
+ } else if (k == "info") {
1457
+ m2.altinfo = a[k];
1458
+ } else {
1459
+ m2[k] = a[k];
1460
+ }
1461
+ }
1462
+ if (!m2.issymbolicallele && m2.alt != "NON_REF") {
1463
+ m2.type = getVariantType(m2.ref, m2.alt);
1464
+ }
1465
+ mlst.push(m2);
1466
+ }
1467
+ return [
1468
+ badinfokeys.length ? "unknown info keys: " + badinfokeys.join(",") : null,
1469
+ mlst,
1470
+ altinvalid.length > 0 ? altinvalid : null
1471
+ ];
1472
+ }
1473
+ function correctRefAlt(p, ref, alt) {
1474
+ while (ref.length > 1 && alt.length > 1 && ref[ref.length - 1] == alt[alt.length - 1]) {
1475
+ ref = ref.substr(0, ref.length - 1);
1476
+ alt = alt.substr(0, alt.length - 1);
1477
+ }
1478
+ while (ref.length > 1 && alt.length > 1 && ref[0] == alt[0]) {
1479
+ ref = ref.substr(1);
1480
+ alt = alt.substr(1);
1481
+ p++;
1482
+ }
1483
+ return [p, ref, alt];
1484
+ }
1485
+ function parse_FORMAT2(lst, m, vcf) {
1486
+ const formatfields = lst[9 - 1].split(":");
1487
+ for (let _sampleidx = 9; _sampleidx < lst.length; _sampleidx++) {
1488
+ const valuelst = lst[_sampleidx].split(":");
1489
+ {
1490
+ let none = true;
1491
+ for (const v of valuelst) {
1492
+ if (v != ".") {
1493
+ none = false;
1494
+ break;
1495
+ }
1496
+ }
1497
+ if (none) {
1498
+ continue;
1499
+ }
1500
+ }
1501
+ const sampleidx = _sampleidx - 9;
1502
+ for (let i = 1; i < m.alleles.length; i++) {
1503
+ const sobj = {};
1504
+ if (vcf.samples && vcf.samples[sampleidx]) {
1505
+ for (const k in vcf.samples[sampleidx]) {
1506
+ sobj[k] = vcf.samples[sampleidx][k];
1507
+ }
1508
+ } else {
1509
+ sobj.name = "missing_samplename_from_vcf_header";
1510
+ }
1511
+ m.alleles[i].sampledata.push({
1512
+ sampleobj: sobj
1513
+ });
1514
+ }
1515
+ for (let fi = 0; fi < formatfields.length; fi++) {
1516
+ const field = formatfields[fi];
1517
+ const value = valuelst[fi];
1518
+ if (value == ".") {
1519
+ continue;
1520
+ }
1521
+ if (field == "GT") {
1522
+ const splitter = value.indexOf("/") != -1 ? "/" : "|";
1523
+ let gtsum = 0;
1524
+ let unknowngt = false;
1525
+ const gtalleles = [];
1526
+ for (const i of value.split(splitter)) {
1527
+ if (i == ".") {
1528
+ unknowngt = true;
1529
+ continue;
1530
+ }
1531
+ const j = Number.parseInt(i);
1532
+ if (Number.isNaN(j)) {
1533
+ unknowngt = true;
1534
+ continue;
1535
+ }
1536
+ gtsum += j;
1537
+ const ale = m.alleles[j];
1538
+ if (ale) {
1539
+ gtalleles.push(ale.allele);
1540
+ }
1541
+ }
1542
+ let gtallref = false;
1543
+ if (!unknowngt) {
1544
+ gtallref = gtsum == 0;
1545
+ }
1546
+ const genotype = gtalleles.join(splitter);
1547
+ for (let i = 1; i < m.alleles.length; i++) {
1548
+ const ms = m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1];
1549
+ ms.GT = value;
1550
+ ms.genotype = genotype;
1551
+ if (gtallref) {
1552
+ ms.gtallref = true;
1553
+ }
1554
+ ms.__gtalleles = gtalleles;
1555
+ }
1556
+ continue;
1557
+ }
1558
+ const formatdesc = vcf.format ? vcf.format[field] : null;
1559
+ if (!formatdesc) {
1560
+ for (let i = 1; i < m.alleles.length; i++) {
1561
+ m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1562
+ }
1563
+ continue;
1564
+ }
1565
+ const isinteger = formatdesc.Type == "Integer";
1566
+ const isfloat = formatdesc.Type == "Float";
1567
+ if (formatdesc.Number && formatdesc.Number == "R" || field == "AD") {
1568
+ const fvlst = value.split(",").map((i) => {
1569
+ if (isinteger) return Number.parseInt(i);
1570
+ if (isfloat) return Number.parseFloat(i);
1571
+ return i;
1572
+ });
1573
+ for (let i = 1; i < m.alleles.length; i++) {
1574
+ if (fvlst[i] != void 0) {
1575
+ const m2 = m.alleles[i];
1576
+ const m2s = m2.sampledata[m2.sampledata.length - 1];
1577
+ m2s[field] = {};
1578
+ m2s[field][m2.ref] = fvlst[0];
1579
+ m2s[field][m2.allele] = fvlst[i];
1580
+ }
1581
+ }
1582
+ continue;
1583
+ }
1584
+ if (formatdesc.Number && formatdesc.Number == "A") {
1585
+ const fvlst = value.split(",").map((i) => {
1586
+ if (isinteger) return Number.parseInt(i);
1587
+ if (isfloat) return Number.parseFloat(i);
1588
+ return i;
1589
+ });
1590
+ for (let i = 1; i < m.alleles.length; i++) {
1591
+ if (fvlst[i - 1] != void 0) {
1592
+ const m2 = m.alleles[i];
1593
+ const m2s = m2.sampledata[m2.sampledata.length - 1];
1594
+ m2s[field] = {};
1595
+ m2s[field][m2.allele] = fvlst[i - 1];
1596
+ }
1597
+ }
1598
+ continue;
1599
+ }
1600
+ for (let i = 1; i < m.alleles.length; i++) {
1601
+ m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1602
+ }
1603
+ }
1604
+ }
1605
+ for (const a of m.alleles) {
1606
+ for (const s of a.sampledata) {
1607
+ if (s.AD) {
1608
+ s.allele2readcount = {};
1609
+ for (const k in s.AD) {
1610
+ s.allele2readcount[k] = s.AD[k];
1611
+ }
1612
+ }
1613
+ }
1614
+ }
1615
+ }
1616
+ function tohash(s, hash2) {
1617
+ const h = {}, err = [];
1618
+ let prev = 0, prevdoublequote = false, k = null;
1619
+ for (let i = 0; i < s.length; i++) {
1620
+ if (s[i] == '"') {
1621
+ i++;
1622
+ const thisstart = i;
1623
+ while (s[i] != '"') {
1624
+ i++;
1625
+ }
1626
+ if (k) {
1627
+ h[k] = s.substring(thisstart, i);
1628
+ k = null;
1629
+ } else {
1630
+ err.push("k undefined before double quotes");
1631
+ }
1632
+ prevdoublequote = true;
1633
+ continue;
1634
+ }
1635
+ if (s[i] == "=") {
1636
+ k = s.substring(prev, i);
1637
+ prev = i + 1;
1638
+ continue;
1639
+ }
1640
+ if (s[i] == ",") {
1641
+ if (prevdoublequote) {
1642
+ prevdoublequote = false;
1643
+ } else {
1644
+ if (k) {
1645
+ h[k] = s.substring(prev, i);
1646
+ k = null;
1647
+ } else {
1648
+ err.push("k undefined");
1649
+ }
1650
+ }
1651
+ prev = i + 1;
1652
+ continue;
1653
+ }
1654
+ }
1655
+ if (k) {
1656
+ h[k] = s.substring(prev);
1657
+ }
1658
+ if (h.ID) {
1659
+ hash2[h.ID] = h;
1660
+ } else {
1661
+ return "no ID";
1662
+ }
1663
+ if (err.length) return err.join("\n");
1664
+ }
1665
+ function parse_INFO(tmp, m, vcf) {
1666
+ const badinfokeys = [];
1667
+ for (const key in tmp) {
1668
+ if (vcf.info[key] == void 0) {
1669
+ badinfokeys.push(key);
1670
+ continue;
1671
+ }
1672
+ const value = tmp[key];
1673
+ if (key == "CSQ") {
1674
+ const okay = parse_CSQ(value, vcf.info.CSQ.csqheader, m);
1675
+ if (!okay) {
1676
+ m.info[key] = value;
1677
+ }
1678
+ continue;
1679
+ }
1680
+ if (key == "ANN") {
1681
+ const okay = parse_ANN(value, vcf.info.ANN.annheader, m);
1682
+ if (!okay) {
1683
+ m.info[key] = value;
1684
+ }
1685
+ continue;
1686
+ }
1687
+ if (vcf.info[key].Type == "Flag") {
1688
+ m.info[key] = key;
1689
+ continue;
1690
+ }
1691
+ const __number = vcf.info[key].Number;
1692
+ const isinteger = vcf.info[key].Type == "Integer";
1693
+ const isfloat = vcf.info[key].Type == "Float";
1694
+ if (__number == "0") {
1695
+ m.info[key] = key;
1696
+ continue;
1697
+ }
1698
+ if (__number == "A") {
1699
+ const tt = value.split(",");
1700
+ for (let j = 0; j < tt.length; j++) {
1701
+ if (m.alleles[j]) {
1702
+ m.alleles[j].info[key] = isinteger ? Number.parseInt(tt[j]) : isfloat ? Number.parseFloat(tt[j]) : tt[j];
1703
+ }
1704
+ }
1705
+ continue;
1706
+ }
1707
+ if (__number == "R") {
1708
+ }
1709
+ if (__number == "1") {
1710
+ m.info[key] = isinteger ? Number.parseInt(value) : isfloat ? Number.parseFloat(value) : value;
1711
+ continue;
1712
+ }
1713
+ if (!value.split) {
1714
+ continue;
1715
+ }
1716
+ const lst = value.split(",");
1717
+ if (isinteger) {
1718
+ m.info[key] = lst.map(Number.parseInt);
1719
+ } else if (isfloat) {
1720
+ m.info[key] = lst.map(Number.parseFloat);
1721
+ } else {
1722
+ m.info[key] = lst;
1723
+ }
1724
+ }
1725
+ return badinfokeys;
1726
+ }
1727
+
1728
+ // common/auth.js
1729
+ var jwtByDsRoute;
1730
+ function setJwtByDsRoute() {
1731
+ if (jwtByDsRoute) return;
1732
+ const jwtByDsRouteStr = localStorage.getItem("jwtByDsRoute") || `{}`;
1733
+ jwtByDsRoute = JSON.parse(jwtByDsRouteStr);
1734
+ }
1735
+ function setTokenByDsRoute(dslabel, route, jwt) {
1736
+ setJwtByDsRoute();
1737
+ if (!jwtByDsRoute[dslabel]) jwtByDsRoute[dslabel] = {};
1738
+ if (jwt) jwtByDsRoute[dslabel][route] = jwt;
1739
+ else delete jwtByDsRoute[dslabel][route];
1740
+ localStorage.setItem("jwtByDsRoute", JSON.stringify(jwtByDsRoute));
1741
+ }
1742
+ function getSavedToken(dslabel, route) {
1743
+ setJwtByDsRoute();
1744
+ return jwtByDsRoute[dslabel]?.[route] || jwtByDsRoute[dslabel]?.["/**"];
1745
+ }
1746
+ function mayAddJwtToRequest(init, body, url) {
1747
+ if (init.headers.authorization) return;
1748
+ let dslabel = body?.dslabel;
1749
+ if (!dslabel) {
1750
+ const param = url.split("?")[1]?.split("&").find((kv) => kv.includes("dslabel"));
1751
+ if (!param) return;
1752
+ let value = decodeURIComponent(param.split("=")[1]);
1753
+ if (value.startsWith("{") && value.endsWith("}")) {
1754
+ value = JSON.parse(value);
1755
+ dslabel = value.dslabel || value.mass?.vocab.dslabel || value.tracks?.find((t) => t.dslabel)?.dslabel;
1756
+ } else {
1757
+ dslabel = value;
1758
+ }
1759
+ }
1760
+ setJwtByDsRoute();
1761
+ if (!dslabel || !jwtByDsRoute[dslabel]) return;
1762
+ const h = url.split("//");
1763
+ const postProtocolStr = h[1] || h[0];
1764
+ const preQuestionMarkStr = postProtocolStr.split("?")[0];
1765
+ const pathSegments = preQuestionMarkStr.split("/");
1766
+ let route = pathSegments.find((p) => p != "" && !p.includes(":") && !p.includes("."));
1767
+ const jwt = jwtByDsRoute[dslabel][route] || jwtByDsRoute[dslabel]["/**"];
1768
+ if (jwt) init.headers.authorization = "Bearer " + btoa(jwt);
1769
+ }
1770
+ var dsAuthOk = /* @__PURE__ */ new Set();
1771
+ var dsAuth;
1772
+ var authUi;
1773
+ var authUiHolder;
1774
+ var includeEmbedder = false;
1775
+ async function setDsAuthOk(opts) {
1776
+ dsAuth = opts.dsAuth;
1777
+ authUi = opts.ui || defaultAuthUi;
1778
+ authUiHolder = opts.holder || select_default("body");
1779
+ for (const auth of dsAuth) {
1780
+ if (auth.insession) dsAuthOk.add(auth);
1781
+ }
1782
+ includeEmbedder = opts.dsAuth?.length > 0 || false;
1783
+ }
1784
+ function getRequiredAuth(dslabel, route) {
1785
+ if (!dsAuth || !Array.isArray(dsAuth)) return;
1786
+ for (const a of dsAuth) {
1787
+ if (a.dslabel == dslabel && (a.route == route || a.route == "*" || a.route == "/**")) return a;
1788
+ }
1789
+ }
1790
+ async function isInSession(dslabel, route) {
1791
+ if (!dslabel) return false;
1792
+ if (!Array.isArray(dsAuth)) return false;
1793
+ for (const a of dsAuth) {
1794
+ if (a.dslabel != dslabel || a.route != route && a.route != "/**") continue;
1795
+ if (dsAuthOk.has(a)) return true;
1796
+ if (a.checked) return false;
1797
+ const jwt = getSavedToken(dslabel, a.route);
1798
+ if (!jwt) return false;
1799
+ const { dofetch3: dofetch32 } = await import("./dofetch-F5XSHQIS.js");
1800
+ const payload = decodeJwtPayload(jwt);
1801
+ if (payload.exp && Math.ceil(Date.now() / 1e3) > payload.exp) return false;
1802
+ const data = await dofetch32("/jwt-status", {
1803
+ method: "POST",
1804
+ credentials: "include",
1805
+ headers: {
1806
+ //authorization: `Bearer ${btoa(jwt)}`
1807
+ [a.headerKey]: jwt
1808
+ },
1809
+ body: {
1810
+ dslabel,
1811
+ route,
1812
+ embedder: location.hostname
1813
+ }
1814
+ });
1815
+ a.checked = true;
1816
+ if (data.ok || data.status == "ok") {
1817
+ dsAuthOk.add(a);
1818
+ a.insession = true;
1819
+ return true;
1820
+ }
1821
+ }
1822
+ return false;
1823
+ }
1824
+ async function mayShowAuthUi(init, path, opts = {}) {
1825
+ const ok = { status: "ok" };
1826
+ if (!dsAuth || path.endsWith("jwt-status")) return ok;
1827
+ const body = JSON.parse(init.body || `{}`);
1828
+ const params = (path.split("?")[1] || "").split("&").reduce((obj, kv) => {
1829
+ const [key, value] = kv.split("=");
1830
+ obj[key] = value;
1831
+ return obj;
1832
+ }, {});
1833
+ const q = Object.assign({}, body, params);
1834
+ const route = ((path.split("?")[0] || "").split("//")[1] || "").split("/").slice(1).join("/");
1835
+ for (const a of dsAuth) {
1836
+ if (q.dslabel == a.dslabel && (a.route == "/**" || route == a.route)) {
1837
+ if (dsAuthOk.has(a)) return ok;
1838
+ else if (a.route != "/**") return ok;
1839
+ else if (a.type == "basic") return await authUi(a.dslabel, a, opts);
1840
+ else if (a.type == "jwt") {
1841
+ } else if (a.type == "forbidden") {
1842
+ alert("Forbidden access");
1843
+ } else throw `unsupported dsAuth type='${a.type}'`;
1844
+ }
1845
+ }
1846
+ return ok;
1847
+ }
1848
+ async function defaultAuthUi(dslabel, auth, opts = {}) {
1849
+ 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)");
1850
+ const form = mask.append("div").style("opacity", 1);
1851
+ form.append("div").html(`Restricted dataset '${dslabel}'`);
1852
+ form.append("span").html("Please enter password ");
1853
+ const pwd = form.append("input").attr("type", "password");
1854
+ pwd.node().focus();
1855
+ const btn = form.append("button").html("Submit");
1856
+ return new Promise((resolve, reject) => {
1857
+ function login() {
1858
+ fetch("/dslogin", {
1859
+ method: "POST",
1860
+ headers: {
1861
+ authorization: `Basic ${btoa(pwd.property("value"))}`
1862
+ },
1863
+ body: JSON.stringify({ dslabel, route: auth.route, embedder: window.location.hostname })
1864
+ }).then((res) => res.json()).then((res) => {
1865
+ if (res.error) throw res.error;
1866
+ mask.remove();
1867
+ dsAuthOk.add(auth);
1868
+ if (res.jwt) {
1869
+ setTokenByDsRoute(dslabel, res.route, res.jwt);
1870
+ }
1871
+ if (!opts.setDomRefs) window.location.reload();
1872
+ else resolve(dslabel);
1873
+ }).catch((e) => {
1874
+ alert("login error: " + e);
1875
+ });
1876
+ }
1877
+ btn.on("click", login);
1878
+ pwd.on("change", login);
1879
+ if (opts.setDomRefs)
1880
+ opts.setDomRefs({
1881
+ pwd,
1882
+ btn,
1883
+ mask,
1884
+ authUiHolder
1885
+ });
1886
+ });
1887
+ }
1888
+ function decodeJwtPayload(token) {
1889
+ const base64Url = token.split(".")[1];
1890
+ const base64 = base64Url.replace(/-/g, "+").replace(/_/g, "/");
1891
+ const paddedBase64 = base64 + "=".repeat((4 - base64.length % 4) % 4);
1892
+ const jsonPayload = decodeURIComponent(window.atob(paddedBase64).split("").map(convertAtoBresult).join(""));
1893
+ return JSON.parse(jsonPayload);
1894
+ }
1895
+ function convertAtoBresult(c) {
1896
+ return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
1897
+ }
1898
+
1899
+ // common/dofetch.js
1900
+ function dofetch(path, arg, opts = null) {
1901
+ if (opts && typeof opts == "object") {
1902
+ if (opts.serverData && typeof opts.serverData == "object") {
1903
+ if (!dofetch.serverData) {
1904
+ dofetch.serverData = opts.serverData;
1905
+ } else if (!opts.serverData) {
1906
+ opts.serverData = dofetch.serverData;
1907
+ }
1908
+ }
1909
+ return dofetch2(
1910
+ path,
1911
+ {
1912
+ method: "POST",
1913
+ headers: {
1914
+ "content-type": "application/json"
1915
+ },
1916
+ body: JSON.stringify(arg)
1917
+ },
1918
+ opts
1919
+ );
1920
+ } else {
1921
+ if (path[0] == "/") {
1922
+ path = path.slice(1);
1923
+ }
1924
+ const jwt = sessionStorage.getItem("jwt");
1925
+ if (jwt) {
1926
+ arg.jwt = jwt;
1927
+ }
1928
+ let url = path;
1929
+ const host = sessionStorage.getItem("hostURL") || window.testHost || "";
1930
+ if (host) {
1931
+ if (host.endsWith("/")) {
1932
+ url = host + path;
1933
+ } else {
1934
+ url = host + "/" + path;
1935
+ }
1936
+ }
1937
+ return fetch(
1938
+ new Request(url, {
1939
+ method: "POST",
1940
+ headers: {
1941
+ "content-type": "application/json"
1942
+ },
1943
+ body: JSON.stringify(arg)
1944
+ })
1945
+ ).then((r) => r.json());
1946
+ }
1947
+ }
1948
+ function dofetch2(path, init = {}, opts = {}) {
1949
+ if (path[0] == "/") {
1950
+ path = path.slice(1);
1951
+ }
1952
+ let url = path;
1953
+ const host = sessionStorage.getItem("hostURL") || window.testHost || "";
1954
+ if (host) {
1955
+ if (host.endsWith("/")) {
1956
+ url = host + path;
1957
+ } else {
1958
+ url = host + "/" + path;
1959
+ }
1960
+ }
1961
+ const body = init.body || {};
1962
+ url = mayAdjustRequest(url, init);
1963
+ if (!init.headers) {
1964
+ init.headers = {};
1965
+ }
1966
+ if (!init.headers["content-type"] && init.body) {
1967
+ init.headers["content-type"] = "application/json";
1968
+ }
1969
+ const jwt = sessionStorage.getItem("jwt");
1970
+ if (jwt) {
1971
+ init.headers.authorization = "Bearer " + jwt;
1972
+ }
1973
+ return mayShowAuthUi(init, url).then(async () => {
1974
+ if (!jwt) mayAddJwtToRequest(init, body, url);
1975
+ if (opts.serverData) {
1976
+ return namedFetch(url, init, opts);
1977
+ } else {
1978
+ return fetch(url, init).then(processResponse);
1979
+ }
1980
+ });
1981
+ }
1982
+ var optsServerDataNames = /* @__PURE__ */ new WeakMap();
1983
+ async function namedFetch(url, init, opts = {}) {
1984
+ if (!opts.serverData) throw `use ezFetch() from fetch-helpers if a fetched response is not meant to be cached`;
1985
+ if (typeof opts.serverData != "object") throw `opts.serverData is not an object`;
1986
+ let result;
1987
+ const dataName = await getDataName(url, init);
1988
+ if (opts.serverData[dataName]) {
1989
+ if (init.signal) {
1990
+ await sleep(0);
1991
+ if (init.signal.aborted) throw `stale sequenceId`;
1992
+ }
1993
+ result = structuredClone(opts.serverData[dataName]);
1994
+ }
1995
+ if (!result || typeof result != "object" && !(result instanceof Promise)) {
1996
+ delete opts.serverData[dataName];
1997
+ result = void 0;
1998
+ }
1999
+ if (!result) {
2000
+ try {
2001
+ const res = await fetch(url, init);
2002
+ result = await processResponse(res);
2003
+ if (typeof result == "object" && !(result instanceof Promise)) {
2004
+ deepFreeze(result);
2005
+ opts.serverData[dataName] = result;
2006
+ result = structuredClone(result);
2007
+ }
2008
+ } catch (e) {
2009
+ delete opts.serverData[dataName];
2010
+ throw e;
2011
+ }
2012
+ }
2013
+ if (!optsServerDataNames.has(opts.serverData)) optsServerDataNames.set(opts.serverData, []);
2014
+ const keys = optsServerDataNames.get(opts.serverData);
2015
+ const i = keys.indexOf(dataName);
2016
+ if (i > 0) {
2017
+ keys.splice(i, 1);
2018
+ }
2019
+ keys.unshift(dataName);
2020
+ const maxKeys = 360;
2021
+ while (keys.length > maxKeys) {
2022
+ const oldestDataKey = keys.pop();
2023
+ delete opts.serverData[oldestDataKey];
2024
+ }
2025
+ return result;
2026
+ }
2027
+ var defaultServerDataCache = {};
2028
+ function dofetch3(path, init = {}, opts = {}) {
2029
+ if (!init.signal && this) {
2030
+ init.signal = this.getAbortSignal?.() || this.app?.getAbortSignal?.();
2031
+ }
2032
+ opts.serverData = defaultServerDataCache;
2033
+ return dofetch2(path, init, opts);
2034
+ }
2035
+ function clearServerDataCache(opts = {}) {
2036
+ const cache = opts?.serverData || defaultServerDataCache;
2037
+ if (!cache) return;
2038
+ for (const k of Object.keys(cache)) {
2039
+ delete cache[k];
2040
+ }
2041
+ }
2042
+ var urlMaxLength = 2e3;
2043
+ function mayAdjustRequest(url, init) {
2044
+ const hostname = window.location.hostname;
2045
+ const method = init.method && init.method.toUpperCase() || "GET";
2046
+ if (method == "POST") {
2047
+ if (typeof init.body == "string") init.body = JSON.parse(init.body);
2048
+ if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2049
+ init.body = JSON.stringify(init.body);
2050
+ return url;
2051
+ }
2052
+ if (method != "GET" && method != "DELETE" && method != "PUT") {
2053
+ throw `unsupported init.method='${method}': must be undefined or GET or POST or DELETE or PUT`;
2054
+ }
2055
+ if (init.body) {
2056
+ if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2057
+ const params = encode(init.body);
2058
+ if (!url.includes("?")) url += "?";
2059
+ url += params;
2060
+ }
2061
+ if (!url.includes("embedder=") && includeEmbedder) {
2062
+ const sep = url.includes("?") ? "&" : "?";
2063
+ url += `${sep}embedder=${hostname}`;
2064
+ }
2065
+ if (url.length < urlMaxLength) {
2066
+ if (init.body) delete init.body;
2067
+ return url;
2068
+ }
2069
+ init.method = "POST";
2070
+ const [hostpath, query] = url.split("?");
2071
+ if (init.body) {
2072
+ init.body = JSON.stringify(init.body);
2073
+ } else {
2074
+ const params = {};
2075
+ if (query)
2076
+ query.split("&").forEach((p) => {
2077
+ const [k, v] = p.split("=");
2078
+ const decodedVal = decodeURIComponent(v);
2079
+ try {
2080
+ params[k] = JSON.parse(decodedVal);
2081
+ } catch {
2082
+ params[k] = decodedVal;
2083
+ }
2084
+ });
2085
+ if (!params.embedder && includeEmbedder) params.embedder = hostname;
2086
+ init.body = JSON.stringify(params);
2087
+ }
2088
+ return hostpath;
2089
+ }
2090
+ function setAuth(opts) {
2091
+ setDsAuthOk(opts, dofetch3);
2092
+ }
2093
+
2094
+ export {
2095
+ boxplot_getvalue,
2096
+ init_bulk_flag,
2097
+ parsesample,
2098
+ clusterMethodLst,
2099
+ distanceMethodLst,
2100
+ computePercentile,
2101
+ processFormData,
2102
+ fileSize,
2103
+ ssmIdFieldsSeparator,
2104
+ summarize_mclass,
2105
+ guessSsmid,
2106
+ xAxisOffSet,
2107
+ yAxisOffSet,
2108
+ getCoordinate,
2109
+ calculatePadding,
2110
+ compute_bins,
2111
+ get_bin_label,
2112
+ get_bin_range_equation,
2113
+ initBinConfig,
2114
+ isUsableTerm,
2115
+ formatElapsedTime,
2116
+ vcfparsemeta,
2117
+ vcfparseline,
2118
+ setTokenByDsRoute,
2119
+ getSavedToken,
2120
+ mayAddJwtToRequest,
2121
+ includeEmbedder,
2122
+ setDsAuthOk,
2123
+ getRequiredAuth,
2124
+ isInSession,
2125
+ mayShowAuthUi,
2126
+ dofetch,
2127
+ dofetch2,
2128
+ namedFetch,
2129
+ dofetch3,
2130
+ clearServerDataCache,
2131
+ setAuth
2132
+ };
2133
+ //# sourceMappingURL=chunk-RPDVFM7E.js.map