@sjcrh/proteinpaint-client 2.207.1 → 2.208.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 (919) hide show
  1. package/dist/2dmaf-PN5YS362.js +1367 -0
  2. package/dist/AggMatrixInput-NJHU4FU2.js +406 -0
  3. package/dist/AggMatrixInput-NJHU4FU2.js.map +7 -0
  4. package/dist/AggregateMatrix-IBWOJWOC.js +41 -0
  5. package/dist/AppHeader-XV6S7GG5.js +830 -0
  6. package/dist/BoxPlot-ZIVA55SK.js +1211 -0
  7. package/dist/CorrelationVolcano-33I4FC44.js +617 -0
  8. package/dist/CorrelationVolcano-33I4FC44.js.map +7 -0
  9. package/dist/Cuminc-WKY35UGV.js +1219 -0
  10. package/dist/DE-E256DHID.js +89 -0
  11. package/dist/DEinput-YU3W72K7.js +499 -0
  12. package/dist/DM-W7PXTIKY.js +90 -0
  13. package/dist/DifferentialAnalysis-SHMQHWJL.js +236 -0
  14. package/dist/DifferentialAnalysis-SHMQHWJL.js.map +7 -0
  15. package/dist/Disco-OZY5GW2Z.js +3389 -0
  16. package/dist/Disco.UI-NRALEYXK.js +243 -0
  17. package/dist/DmrPlot-QKUX5XUW.js +637 -0
  18. package/dist/GB-ZYH7PGHT.js +1391 -0
  19. package/dist/GSEA-VQTD4MLY.js +851 -0
  20. package/dist/GeneExpInput-XEFUTLFU.js +42 -0
  21. package/dist/Geomap-GEK7UEDU.js +84 -0
  22. package/dist/HicApp-ZY7UHV5H.js +2245 -0
  23. package/dist/IDCViewer-YNKG4V46.js +10812 -0
  24. package/dist/NumBinaryEditor-NEL727DX.js +279 -0
  25. package/dist/NumBinaryEditor.unit.spec-GCGZMJYF.js +312 -0
  26. package/dist/NumContEditor-IM6RRDGU.js +105 -0
  27. package/dist/NumContEditor.unit.spec-B5AJXANS.js +164 -0
  28. package/dist/NumCustomBinEditor-EZT5DRKP.js +33 -0
  29. package/dist/NumCustomBinEditor.unit.spec-KLUDS6TH.js +397 -0
  30. package/dist/NumDiscreteEditor-2M6Q5AAZ.js +170 -0
  31. package/dist/NumDiscreteEditor.unit.spec-2JYZYJUX.js +233 -0
  32. package/dist/NumRegularBinEditor-AQDHA2PU.js +33 -0
  33. package/dist/NumRegularBinEditor.unit.spec-62BYFNYG.js +278 -0
  34. package/dist/NumSplineEditor-6Y5TZSTO.js +210 -0
  35. package/dist/NumSplineEditor.unit.spec-S65AV5EK.js +224 -0
  36. package/dist/NumericDensity-5ES4SDWZ.js +33 -0
  37. package/dist/NumericDensity.unit.spec-J6KZSE2P.js +418 -0
  38. package/dist/NumericHandler-ZTLDPP2F.js +34 -0
  39. package/dist/NumericHandler.unit.spec-BZFBVHGU.js +214 -0
  40. package/dist/ProteomeInput-IKEXPCGV.js +388 -0
  41. package/dist/Regression-6F6YP3AX.js +1416 -0
  42. package/dist/RunChart2-CVRPXQH5.js +749 -0
  43. package/dist/SC-FPXVXBXF.js +1175 -0
  44. package/dist/SC-FPXVXBXF.js.map +7 -0
  45. package/dist/Violin-BAS6DQHL.js +1081 -0
  46. package/dist/Violin-BAS6DQHL.js.map +7 -0
  47. package/dist/Volcano-FCCWUMX7.js +1649 -0
  48. package/dist/Wsi-3YTFABWG.js +629 -0
  49. package/dist/Wsi-3YTFABWG.js.map +7 -0
  50. package/dist/adSandbox-QYIG6637.js +33 -0
  51. package/dist/animatedBubbleChart-X53PR73H.js +547 -0
  52. package/dist/app-HJLTRZPI.js +32 -0
  53. package/dist/app-MGY6A4DM.js +42 -0
  54. package/dist/app.js +14 -14
  55. package/dist/bam-VRQHRCP5.js +876 -0
  56. package/dist/barchart-TWMOUZFL.js +42 -0
  57. package/dist/barchart2-CV7RMMRG.js +309 -0
  58. package/dist/block-L53P4UGQ.js +6249 -0
  59. package/dist/block.init-XYOJTXKP.js +33 -0
  60. package/dist/block.mds.expressionrank-77FSBDHA.js +354 -0
  61. package/dist/block.mds.geneboxplot-4TSYV4WS.js +823 -0
  62. package/dist/block.mds.junction-P4MYDET6.js +1539 -0
  63. package/dist/block.mds.svcnv-CYOFAS2T.js +6796 -0
  64. package/dist/block.svg-IT3ELCF4.js +159 -0
  65. package/dist/block.tk.aicheck-GULHJLV5.js +278 -0
  66. package/dist/block.tk.ase-RW5YL6HN.js +360 -0
  67. package/dist/block.tk.bam-MPGQW6KB.js +1901 -0
  68. package/dist/block.tk.bedgraphdot-EYRY374P.js +379 -0
  69. package/dist/block.tk.bigwig.ui-BKSXCDNM.js +206 -0
  70. package/dist/block.tk.hicstraw-76PV6NM3.js +818 -0
  71. package/dist/block.tk.junction-Z52QHQJQ.js +2358 -0
  72. package/dist/block.tk.junction.textmatrixui-K32OOTZC.js +194 -0
  73. package/dist/block.tk.ld-DDGLRHPO.js +94 -0
  74. package/dist/block.tk.menu-MO6TESKI.js +1024 -0
  75. package/dist/block.tk.pgv-AKLKKSEP.js +938 -0
  76. package/dist/brainImaging-KSTJQJAB.js +555 -0
  77. package/dist/brainRegions-WCRMMSK4.js +217 -0
  78. package/dist/bubbleHeatmap-4YOQ3BAB.js +378 -0
  79. package/dist/cellTypeBubbleHeatmap-O6YZ2RW4.js +278 -0
  80. package/dist/chunk-3GUVLDUS.js +299 -0
  81. package/dist/chunk-3PQDD5HM.js +446 -0
  82. package/dist/chunk-3WYUHDDP.js +1986 -0
  83. package/dist/chunk-4C7MA5Q3.js +158 -0
  84. package/dist/chunk-4EZLVENZ.js +1612 -0
  85. package/dist/chunk-4EZLVENZ.js.map +7 -0
  86. package/dist/chunk-4PB5ZEOB.js +102 -0
  87. package/dist/chunk-5IMFPVGT.js +119 -0
  88. package/dist/chunk-6DPELKO5.js +518 -0
  89. package/dist/chunk-6HGTVMZM.js +54 -0
  90. package/dist/chunk-6HGTVMZM.js.map +7 -0
  91. package/dist/chunk-72P6O537.js +1731 -0
  92. package/dist/chunk-72P6O537.js.map +7 -0
  93. package/dist/chunk-74C6G6JD.js +397 -0
  94. package/dist/chunk-A7TXS6JR.js +276 -0
  95. package/dist/chunk-AAJXHERO.js +123 -0
  96. package/dist/chunk-AVS4IXEA.js +692 -0
  97. package/dist/chunk-AVS4IXEA.js.map +7 -0
  98. package/dist/chunk-BFXZBZEV.js +176 -0
  99. package/dist/chunk-BGVGN73F.js +480 -0
  100. package/dist/chunk-BL7EYUZC.js +6360 -0
  101. package/dist/chunk-BPGZUNLL.js +274 -0
  102. package/dist/chunk-CPIPN5F6.js +141 -0
  103. package/dist/chunk-D5MSWPAZ.js +217 -0
  104. package/dist/chunk-DFT2PAIU.js +243 -0
  105. package/dist/chunk-DMWOK4DS.js +178 -0
  106. package/dist/chunk-DMWOK4DS.js.map +7 -0
  107. package/dist/chunk-E7NVJ44Z.js +263 -0
  108. package/dist/chunk-EMMGUSJB.js +54 -0
  109. package/dist/chunk-G3CCQOLH.js +240 -0
  110. package/dist/chunk-GGQVDHYF.js +379 -0
  111. package/dist/chunk-GMRIEUBW.js +408 -0
  112. package/dist/chunk-GMRIEUBW.js.map +7 -0
  113. package/dist/chunk-GPZYAJQH.js +2676 -0
  114. package/dist/chunk-GS6ZMPKP.js +272 -0
  115. package/dist/chunk-GUXKLMLM.js +102 -0
  116. package/dist/chunk-HELEV3LT.js +2853 -0
  117. package/dist/chunk-HKKTNIMX.js +339 -0
  118. package/dist/chunk-HKSRIEWJ.js +26 -0
  119. package/dist/chunk-IELQ3HMN.js +70 -0
  120. package/dist/chunk-IISNWG4X.js +103 -0
  121. package/dist/chunk-J7KB2MH3.js +34 -0
  122. package/dist/chunk-JEJV7V7M.js +2327 -0
  123. package/dist/chunk-JIZ3B32T.js +626 -0
  124. package/dist/chunk-KAY2ODXX.js +38 -0
  125. package/dist/chunk-KJM6PLXM.js +5071 -0
  126. package/dist/chunk-KZHF3MQX.js +1278 -0
  127. package/dist/chunk-MC674TS2.js +194 -0
  128. package/dist/chunk-MLKQZ3RL.js +1339 -0
  129. package/dist/chunk-MSSPT5YM.js +550 -0
  130. package/dist/chunk-N6IWVSFP.js +4375 -0
  131. package/dist/chunk-N6IWVSFP.js.map +7 -0
  132. package/dist/chunk-NBGVEZNX.js +56 -0
  133. package/dist/chunk-NBGVEZNX.js.map +7 -0
  134. package/dist/chunk-OBBR4UYN.js +54 -0
  135. package/dist/chunk-PQA3C2NY.js +294 -0
  136. package/dist/chunk-QJ2VBXFB.js +134 -0
  137. package/dist/chunk-QJ3HYZH3.js +24772 -0
  138. package/dist/chunk-QJ3HYZH3.js.map +7 -0
  139. package/dist/chunk-QP7EJXSU.js +55 -0
  140. package/dist/chunk-QUHXX7JE.js +56 -0
  141. package/dist/chunk-QUHXX7JE.js.map +7 -0
  142. package/dist/chunk-REPQKF5L.js +182 -0
  143. package/dist/chunk-REPQKF5L.js.map +7 -0
  144. package/dist/chunk-SHXJW27D.js +2784 -0
  145. package/dist/chunk-SUNDNTVY.js +302 -0
  146. package/dist/chunk-TSI4W6XO.js +98 -0
  147. package/dist/chunk-TXIQ5PHR.js +468 -0
  148. package/dist/chunk-U45R6QNT.js +562 -0
  149. package/dist/chunk-UMZJQWWK.js +1233 -0
  150. package/dist/chunk-VMRO6DMC.js +2140 -0
  151. package/dist/chunk-VMRO6DMC.js.map +7 -0
  152. package/dist/chunk-VO7Q4WMM.js +55 -0
  153. package/dist/chunk-VWGRKOVJ.js +170 -0
  154. package/dist/chunk-WCTKHF5T.js +197 -0
  155. package/dist/chunk-WOMERKMR.js +31 -0
  156. package/dist/chunk-WXX2YD4Q.js +59 -0
  157. package/dist/chunk-X44AR557.js +382 -0
  158. package/dist/chunk-XEU5HXOY.js +783 -0
  159. package/dist/chunk-XGYQZHNX.js +281 -0
  160. package/dist/chunk-XOND7UIK.js +49 -0
  161. package/dist/chunk-XRMUUWLS.js +339 -0
  162. package/dist/chunk-XTOGCXPD.js +129 -0
  163. package/dist/chunk-Y5BBFDC3.js +14 -0
  164. package/dist/chunk-Z2FSHODI.js +203 -0
  165. package/dist/cohort-JWIQOO7U.js +70 -0
  166. package/dist/condition-ZUAQYF5C.js +327 -0
  167. package/dist/controls-ZPQ6SXD2.js +34 -0
  168. package/dist/controls.config-NELL5HY5.js +34 -0
  169. package/dist/correlation-2X76UI3K.js +95 -0
  170. package/dist/customdata.inputui-V6QIGFRP.js +284 -0
  171. package/dist/dataDownload-NSDY4MSL.js +329 -0
  172. package/dist/databrowser.ui-DDLFQB6K.js +425 -0
  173. package/dist/dictionary-WSDD6TFI.js +113 -0
  174. package/dist/dnaMethylation-3IM4OACZ.js +33 -0
  175. package/dist/dnaMethylation.integration.spec-5CSJA67S.js +198 -0
  176. package/dist/dofetch-GZ7POIBV.js +48 -0
  177. package/dist/e2pca-AX7U2DOI.js +344 -0
  178. package/dist/ep-UKACHFJU.js +1249 -0
  179. package/dist/expclust.gdc.spec-46HDKH2Q.js +302 -0
  180. package/dist/facet-3EONZDDE.js +519 -0
  181. package/dist/gb-W7GX5NWS.js +81 -0
  182. package/dist/geneExpClustering-PJA6Y5GW.js +244 -0
  183. package/dist/geneExpression-EMLVPVNK.js +310 -0
  184. package/dist/geneExpression-JMGYBT53.js +33 -0
  185. package/dist/geneExpression.unit.spec-DDZVZJVC.js +128 -0
  186. package/dist/geneORA-CIAFQQWB.js +273 -0
  187. package/dist/geneRanking-JRAU6FMJ.js +548 -0
  188. package/dist/geneVariant-3DZTWQFG.js +36 -0
  189. package/dist/geneVariant-YWURIZ72.js +286 -0
  190. package/dist/geneVariant.integration.spec-V3KECZMM.js +489 -0
  191. package/dist/genefusion.ui-AO3TUDTL.js +303 -0
  192. package/dist/geneset-RCIP2GZH.js +203 -0
  193. package/dist/genomeBrowser.spec-7PZCNBL3.js +276 -0
  194. package/dist/grin2-EUBCNH4Q.js +70 -0
  195. package/dist/grin2-YYBB5XJK.js +1137 -0
  196. package/dist/hierCluster-AV5NO2GW.js +59 -0
  197. package/dist/hierCluster-W2MVN34V.js +55 -0
  198. package/dist/hierCluster.config-4MBWG6RZ.js +36 -0
  199. package/dist/hierCluster.integration.spec-JUIBIUKH.js +483 -0
  200. package/dist/hierCluster.interactivity-6PJE64PF.js +49 -0
  201. package/dist/hierCluster.renderers-RWDQ5SHY.js +19 -0
  202. package/dist/imagePlot-XLDQNUJA.js +156 -0
  203. package/dist/importPlot-7FISAQKR.js +8 -0
  204. package/dist/isoformExpression-WOQAOVZS.js +35 -0
  205. package/dist/isoformExpression.unit.spec-BMEGJNCO.js +237 -0
  206. package/dist/junction-6NO36IPU.js +36 -0
  207. package/dist/junction.customTerm-N6JAOWZO.js +16 -0
  208. package/dist/junction.unit.spec-UKGSQHO4.js +182 -0
  209. package/dist/launch.adhoc-42PUNEA6.js +37 -0
  210. package/dist/leftlabel.sample-EXAUDPSB.js +258 -0
  211. package/dist/lollipop-4ASTA5HO.js +166 -0
  212. package/dist/maf-HPXANL3M.js +455 -0
  213. package/dist/maftimeline-2SXFX3HF.js +587 -0
  214. package/dist/matrix-DX4W5XMX.js +59 -0
  215. package/dist/matrix-S34ITAPJ.js +54 -0
  216. package/dist/matrix.cells-BLULUGSZ.js +26 -0
  217. package/dist/matrix.config-Z3LWYH74.js +37 -0
  218. package/dist/matrix.data-73HY7Y2V.js +23 -0
  219. package/dist/matrix.groups-NOUMYNFY.js +26 -0
  220. package/dist/matrix.integration.spec-VTXYJ46U.js +3160 -0
  221. package/dist/matrix.interactivity-YHDIO5A2.js +37 -0
  222. package/dist/matrix.layout-25HYKUF2.js +39 -0
  223. package/dist/matrix.legend-IMK7DH4V.js +20 -0
  224. package/dist/matrix.renderers-3RZRN6HO.js +34 -0
  225. package/dist/matrix.serieses-ZTVHQ7QA.js +19 -0
  226. package/dist/matrix.sort-EDXHT6NZ.js +26 -0
  227. package/dist/matrix.sort.unit.spec-LSNY7PHU.js +468 -0
  228. package/dist/matrix.sorterUi-3DRNHG5Z.js +16 -0
  229. package/dist/matrix.sorterUi.unit.spec-GNIIWGRJ.js +338 -0
  230. package/dist/matrix.unit.spec-7A6ZFRXI.js +150 -0
  231. package/dist/mavb-M5AXPLYX.js +727 -0
  232. package/dist/mds.fimo-QE5OFA22.js +513 -0
  233. package/dist/mds.samplescatterplot-664EOHX2.js +1545 -0
  234. package/dist/mds.survivalplot-H4TJD44D.js +477 -0
  235. package/dist/multivalue-JD3CNQJR.js +83 -0
  236. package/dist/numericDictTermCluster-XPKEYXD7.js +63 -0
  237. package/dist/oncomatrix-TX5PZQ76.js +290 -0
  238. package/dist/oncomatrix.spec-6X2WAHL7.js +443 -0
  239. package/dist/plot.2dvaf-5OHUFTMK.js +372 -0
  240. package/dist/plot.app-XIVVJHWG.js +36 -0
  241. package/dist/plot.barplot-PSODLAXD.js +97 -0
  242. package/dist/plot.boxplot-W3ASYFOG.js +146 -0
  243. package/dist/plot.brainImaging-JGDLKLR7.js +51 -0
  244. package/dist/plot.disco-TPMXTTZK.js +99 -0
  245. package/dist/plot.ssgq-KIZIOZIF.js +134 -0
  246. package/dist/plot.vaf2cov-MSMW72IY.js +253 -0
  247. package/dist/polar2-LA4MSRRN.js +232 -0
  248. package/dist/profileForms-BJRNB2ZF.js +941 -0
  249. package/dist/profilePlot-DDO53C4T.js +49 -0
  250. package/dist/proteinView-NFUR42XQ.js +1357 -0
  251. package/dist/proteomeCohortCompare-OZVF3X66.js +912 -0
  252. package/dist/pseudbulk.unit.spec-RY72JF7A.js +86 -0
  253. package/dist/pseudbulk.unit.spec-RY72JF7A.js.map +7 -0
  254. package/dist/pseudobulk-UVT5G2VL.js +35 -0
  255. package/dist/qualitative-X3VXNC7X.js +38 -0
  256. package/dist/radar2-RTVUJ3AN.js +327 -0
  257. package/dist/radarFacility2-ZGLZ5AKM.js +335 -0
  258. package/dist/rememberedGvQ.unit.spec-RLLLWU5M.js +211 -0
  259. package/dist/render-LR5BOYW6.js +33 -0
  260. package/dist/report-37W5OXUM.js +217 -0
  261. package/dist/sampleView-BDC2WPH7.js +43 -0
  262. package/dist/samplelst-V2EIVZC5.js +106 -0
  263. package/dist/samplematrix-XOSKILUL.js +2193 -0
  264. package/dist/sc-ZVZPWQY7.js +81 -0
  265. package/dist/scatter-2ZE5MCYH.js +88 -0
  266. package/dist/scatter-ZOWFPGIS.js +925 -0
  267. package/dist/scatter-ZOWFPGIS.js.map +7 -0
  268. package/dist/selectGenomeWithTklst-EF7WYEAJ.js +129 -0
  269. package/dist/singleCellCellType-TKCGC3G3.js +33 -0
  270. package/dist/singleCellCellType.unit.spec-JZ6UHC5F.js +154 -0
  271. package/dist/singleCellGeneExpression-I2INGXGI.js +33 -0
  272. package/dist/singleCellGeneExpression.unit.spec-KL77FSHZ.js +148 -0
  273. package/dist/singleCellNumericValue-2X5NCEHL.js +33 -0
  274. package/dist/singleCellNumericValue.unit.spec-OUDBX5MY.js +416 -0
  275. package/dist/singleCellNumericValue.unit.spec-OUDBX5MY.js.map +7 -0
  276. package/dist/singleCellPlot-Q6INE54V.js +48 -0
  277. package/dist/singlecell-5N2P5ZAT.js +81 -0
  278. package/dist/singlecell-NPSWMNI3.js +1566 -0
  279. package/dist/snp-2WPJYPDE.js +33 -0
  280. package/dist/snp.unit.spec-PPWIIOX6.js +171 -0
  281. package/dist/snplocus-T3HZFZWA.js +203 -0
  282. package/dist/spliceevent.a53ss.diagram-APCF4LV5.js +146 -0
  283. package/dist/spliceevent.exonskip.diagram-TT5JGBSC.js +278 -0
  284. package/dist/spliceevent.noeventdiagram-CPXQSX3Z.js +455 -0
  285. package/dist/ssGSEA-FSX6P7HA.js +33 -0
  286. package/dist/ssGSEA.unit.spec-TXYT665R.js +83 -0
  287. package/dist/stattable-BD64SFYV.js +117 -0
  288. package/dist/studyCatalog-6BOWO4PO.js +414 -0
  289. package/dist/summarizeCnvGeneexp-AMLYJIPU.js +158 -0
  290. package/dist/summarizeGeneexpSurvival-IDM7T333.js +105 -0
  291. package/dist/summarizeMutationCnv-R6SYSJQC.js +159 -0
  292. package/dist/summarizeMutationDiagnosis-XZJ4JLW2.js +35 -0
  293. package/dist/summarizeMutationSurvival-ABJ5RL4L.js +99 -0
  294. package/dist/summary-NVYCTE6P.js +44 -0
  295. package/dist/summary.integration.spec-SSLTLVNW.js +409 -0
  296. package/dist/summaryInput-SJOZETRP.js +242 -0
  297. package/dist/sunburst-RU5ZPJKW.js +278 -0
  298. package/dist/survival-BHJQMXKI.js +53 -0
  299. package/dist/survival-DVG6Y2FV.js +1248 -0
  300. package/dist/survival.integration.spec-OJUPTY5N.js +613 -0
  301. package/dist/survival.integration.spec-OJUPTY5N.js.map +7 -0
  302. package/dist/svgraph-ETFA4GRX.js +1382 -0
  303. package/dist/svmr-AI3RU4JK.js +3837 -0
  304. package/dist/table-YCTSMLQL.js +197 -0
  305. package/dist/termCollection-GMKEZR6D.js +252 -0
  306. package/dist/termCollection-VEVKKJZD.js +33 -0
  307. package/dist/termCollection.unit.spec-EU6YCEPX.js +299 -0
  308. package/dist/termCollectionFractionSelection-UBS74X36.js +42 -0
  309. package/dist/termCollectionFractionSelection.unit.spec-Y5OJFGDD.js +188 -0
  310. package/dist/tk-HMF4HCNV.js +1121 -0
  311. package/dist/tk-W6Z4FJMW.js +41 -0
  312. package/dist/tp.ui-NECRDJCS.js +1454 -0
  313. package/dist/tvs.dt-2JEH3F35.js +34 -0
  314. package/dist/tvs.dtcnv.categorical-YBXKEBR2.js +35 -0
  315. package/dist/tvs.dtcnv.continuous-AD3SJ6BY.js +67 -0
  316. package/dist/tvs.dtfusion-ODI3CLQS.js +35 -0
  317. package/dist/tvs.dtitd-V3LYLPJY.js +35 -0
  318. package/dist/tvs.dtsnvindel-R3V5LTNL.js +35 -0
  319. package/dist/tvs.dtsv-ZQLKEDLJ.js +35 -0
  320. package/dist/tvs.samplelst-G25A7HM6.js +98 -0
  321. package/dist/tvs.termCollection-WLVCWDEJ.js +124 -0
  322. package/dist/vocabulary-6K537FJM.js +36 -0
  323. package/dist/vocabulary-6K537FJM.js.map +7 -0
  324. package/dist/wsi.direct-SNPPQPVO.js +8343 -0
  325. package/package.json +3 -3
  326. package/dist/2dmaf-32F56QBJ.js +0 -1367
  327. package/dist/AggMatrixInput-RDFMGV47.js +0 -277
  328. package/dist/AggMatrixInput-RDFMGV47.js.map +0 -7
  329. package/dist/AggregateMatrix-TPXNNWVD.js +0 -41
  330. package/dist/AppHeader-SEJXDJE3.js +0 -830
  331. package/dist/BoxPlot-LOAO2MDO.js +0 -1211
  332. package/dist/CorrelationVolcano-AU6ZAFPG.js +0 -614
  333. package/dist/CorrelationVolcano-AU6ZAFPG.js.map +0 -7
  334. package/dist/Cuminc-O533BXFY.js +0 -1219
  335. package/dist/DE-FDAUNOWU.js +0 -89
  336. package/dist/DEinput-TF2VYTIJ.js +0 -499
  337. package/dist/DM-42YN3OEO.js +0 -90
  338. package/dist/DifferentialAnalysis-H5NBPR3P.js +0 -237
  339. package/dist/DifferentialAnalysis-H5NBPR3P.js.map +0 -7
  340. package/dist/Disco-FGFHIKUR.js +0 -3389
  341. package/dist/Disco.UI-YGIU2JPM.js +0 -243
  342. package/dist/DmrPlot-EQFXMAW5.js +0 -637
  343. package/dist/GB-244UT5VU.js +0 -1391
  344. package/dist/GSEA-KXQBR3HH.js +0 -851
  345. package/dist/GeneExpInput-ZY6SHXTX.js +0 -42
  346. package/dist/Geomap-6ZV4AM23.js +0 -84
  347. package/dist/HicApp-4UHX2YGP.js +0 -2245
  348. package/dist/IDCViewer-AB6LLO64.js +0 -10812
  349. package/dist/NumBinaryEditor-CGSO2T4L.js +0 -279
  350. package/dist/NumBinaryEditor.unit.spec-3QHARZQJ.js +0 -312
  351. package/dist/NumContEditor-YLKSC4Y2.js +0 -105
  352. package/dist/NumContEditor.unit.spec-L3GC3ZTJ.js +0 -164
  353. package/dist/NumCustomBinEditor-K3XSFHCC.js +0 -33
  354. package/dist/NumCustomBinEditor.unit.spec-2FUHE6BX.js +0 -397
  355. package/dist/NumDiscreteEditor-RJCSIW4R.js +0 -170
  356. package/dist/NumDiscreteEditor.unit.spec-CUA6BOIS.js +0 -233
  357. package/dist/NumRegularBinEditor-C3VIFDS4.js +0 -33
  358. package/dist/NumRegularBinEditor.unit.spec-V2UJ5FLH.js +0 -278
  359. package/dist/NumSplineEditor-XBE7OV7P.js +0 -210
  360. package/dist/NumSplineEditor.unit.spec-CKRRI4US.js +0 -224
  361. package/dist/NumericDensity-ZL7UY7TL.js +0 -33
  362. package/dist/NumericDensity.unit.spec-CWTMSR56.js +0 -418
  363. package/dist/NumericHandler-56ENFMNK.js +0 -34
  364. package/dist/NumericHandler.unit.spec-3YW34TTJ.js +0 -214
  365. package/dist/ProteomeInput-HIS4GYWH.js +0 -388
  366. package/dist/Regression-C5GZYLEN.js +0 -1416
  367. package/dist/RunChart2-X5WKYLPQ.js +0 -749
  368. package/dist/SC-3Y5J65DT.js +0 -1107
  369. package/dist/SC-3Y5J65DT.js.map +0 -7
  370. package/dist/Violin-F3QS2EMJ.js +0 -1082
  371. package/dist/Violin-F3QS2EMJ.js.map +0 -7
  372. package/dist/Volcano-ZNYDKP2O.js +0 -1649
  373. package/dist/Wsi-B6EIGTI2.js +0 -609
  374. package/dist/Wsi-B6EIGTI2.js.map +0 -7
  375. package/dist/adSandbox-A52OQSOW.js +0 -33
  376. package/dist/animatedBubbleChart-OQOZ3WFK.js +0 -547
  377. package/dist/app-4KIKXQX4.js +0 -32
  378. package/dist/app-NZUNKWKK.js +0 -42
  379. package/dist/bam-SME7YD3E.js +0 -876
  380. package/dist/barchart-ESY6FOS4.js +0 -42
  381. package/dist/barchart2-XEJZGCES.js +0 -309
  382. package/dist/block-747IK2EW.js +0 -6249
  383. package/dist/block.init-ITZ42K43.js +0 -33
  384. package/dist/block.mds.expressionrank-Q63IJAJK.js +0 -354
  385. package/dist/block.mds.geneboxplot-EZIKAIKC.js +0 -823
  386. package/dist/block.mds.junction-TJXFKZ2Q.js +0 -1539
  387. package/dist/block.mds.svcnv-WSIEAII6.js +0 -6796
  388. package/dist/block.svg-CQX5W6R4.js +0 -159
  389. package/dist/block.tk.aicheck-J4MQ4BSD.js +0 -278
  390. package/dist/block.tk.ase-2JFNPWCZ.js +0 -360
  391. package/dist/block.tk.bam-RBQ4AXSQ.js +0 -1901
  392. package/dist/block.tk.bedgraphdot-ZQBOMVTO.js +0 -379
  393. package/dist/block.tk.bigwig.ui-U5IBO3VF.js +0 -206
  394. package/dist/block.tk.hicstraw-ZRZMFLLX.js +0 -818
  395. package/dist/block.tk.junction-7U7ABE4O.js +0 -2358
  396. package/dist/block.tk.junction.textmatrixui-AEXZ7W3U.js +0 -194
  397. package/dist/block.tk.ld-E7WPFL5P.js +0 -94
  398. package/dist/block.tk.menu-AITMEZTZ.js +0 -1024
  399. package/dist/block.tk.pgv-EDPZHI5L.js +0 -938
  400. package/dist/brainImaging-35LPNBDR.js +0 -555
  401. package/dist/brainRegions-JMTQT4X3.js +0 -217
  402. package/dist/bubbleHeatmap-FMBKMDUL.js +0 -378
  403. package/dist/cellTypeBubbleHeatmap-ZPTAGEWW.js +0 -278
  404. package/dist/chunk-2GBG3KA7.js +0 -129
  405. package/dist/chunk-2IVN5DWA.js +0 -302
  406. package/dist/chunk-36AAUYZE.js +0 -194
  407. package/dist/chunk-3K7AYA3M.js +0 -54
  408. package/dist/chunk-4JFFFGL3.js +0 -468
  409. package/dist/chunk-4KJSNR5E.js +0 -562
  410. package/dist/chunk-52QHIKH2.js +0 -2139
  411. package/dist/chunk-52QHIKH2.js.map +0 -7
  412. package/dist/chunk-5ALGKNTQ.js +0 -6360
  413. package/dist/chunk-5JCTTSV4.js +0 -480
  414. package/dist/chunk-5W7K7STT.js +0 -26
  415. package/dist/chunk-6CIGRV5K.js +0 -677
  416. package/dist/chunk-6CIGRV5K.js.map +0 -7
  417. package/dist/chunk-6U2OPC6J.js +0 -176
  418. package/dist/chunk-7AHTS4BP.js +0 -382
  419. package/dist/chunk-7HFAEB3C.js +0 -55
  420. package/dist/chunk-7HGZRJZZ.js +0 -98
  421. package/dist/chunk-A2ORIMUJ.js +0 -339
  422. package/dist/chunk-A32SGNCT.js +0 -1233
  423. package/dist/chunk-AKA6RWLC.js +0 -217
  424. package/dist/chunk-AMVZ6KT5.js +0 -240
  425. package/dist/chunk-ASXUC6SM.js +0 -54
  426. package/dist/chunk-BCO5T43J.js +0 -379
  427. package/dist/chunk-BDQPMVKD.js +0 -783
  428. package/dist/chunk-BOQZOLRA.js +0 -274
  429. package/dist/chunk-BSCMVKBP.js +0 -5071
  430. package/dist/chunk-BZN2O76M.js +0 -119
  431. package/dist/chunk-BZZZQFTI.js +0 -34
  432. package/dist/chunk-CRHGXVUQ.js +0 -272
  433. package/dist/chunk-D6AB63O3.js +0 -216
  434. package/dist/chunk-D6AB63O3.js.map +0 -7
  435. package/dist/chunk-DPQP2GUW.js +0 -626
  436. package/dist/chunk-EKQ7NYOU.js +0 -276
  437. package/dist/chunk-EUQEQOFE.js +0 -141
  438. package/dist/chunk-FKA55PHV.js +0 -281
  439. package/dist/chunk-GVLWCGXX.js +0 -397
  440. package/dist/chunk-HLVWCJRO.js +0 -518
  441. package/dist/chunk-HPAW7XDM.js +0 -178
  442. package/dist/chunk-HPAW7XDM.js.map +0 -7
  443. package/dist/chunk-IV57XNTG.js +0 -123
  444. package/dist/chunk-JMAFJKGG.js +0 -243
  445. package/dist/chunk-JZHRVYNS.js +0 -2676
  446. package/dist/chunk-K6YUMBDY.js +0 -55
  447. package/dist/chunk-L6WNBKYN.js +0 -158
  448. package/dist/chunk-LGR6CJTW.js +0 -2853
  449. package/dist/chunk-LOWJQFCC.js +0 -550
  450. package/dist/chunk-M5SYLBBC.js +0 -2327
  451. package/dist/chunk-MKAILEWO.js +0 -59
  452. package/dist/chunk-N4PDPZWQ.js +0 -4366
  453. package/dist/chunk-N4PDPZWQ.js.map +0 -7
  454. package/dist/chunk-OIJ6GRVS.js +0 -134
  455. package/dist/chunk-ONVIVITY.js +0 -203
  456. package/dist/chunk-OQX3HO46.js +0 -56
  457. package/dist/chunk-OQX3HO46.js.map +0 -7
  458. package/dist/chunk-OYLGAFFY.js +0 -31
  459. package/dist/chunk-P7DIIYCX.js +0 -197
  460. package/dist/chunk-PC4MFDHP.js +0 -24613
  461. package/dist/chunk-PC4MFDHP.js.map +0 -7
  462. package/dist/chunk-PGKOJYV6.js +0 -50
  463. package/dist/chunk-PGKOJYV6.js.map +0 -7
  464. package/dist/chunk-PPSWNLMG.js +0 -402
  465. package/dist/chunk-PPSWNLMG.js.map +0 -7
  466. package/dist/chunk-R624P2GE.js +0 -263
  467. package/dist/chunk-RBSAEAQV.js +0 -446
  468. package/dist/chunk-RUBZCKIX.js +0 -1608
  469. package/dist/chunk-RUBZCKIX.js.map +0 -7
  470. package/dist/chunk-RZ3KEFZ2.js +0 -339
  471. package/dist/chunk-SS66BHGA.js +0 -103
  472. package/dist/chunk-SU63FEY6.js +0 -294
  473. package/dist/chunk-SVC65ZPG.js +0 -102
  474. package/dist/chunk-TG3QBMDK.js +0 -102
  475. package/dist/chunk-TMXW5HVE.js +0 -1278
  476. package/dist/chunk-TPDBOH3A.js +0 -1339
  477. package/dist/chunk-U5RWKZVS.js +0 -1720
  478. package/dist/chunk-U5RWKZVS.js.map +0 -7
  479. package/dist/chunk-UYKZ5HXA.js +0 -1986
  480. package/dist/chunk-VOYUJJQ6.js +0 -70
  481. package/dist/chunk-W4RYRU5D.js +0 -38
  482. package/dist/chunk-WFSMIVJT.js +0 -2784
  483. package/dist/chunk-Y4PX2ECH.js +0 -299
  484. package/dist/chunk-YKM46UX5.js +0 -170
  485. package/dist/chunk-Z7AO6A7M.js +0 -14
  486. package/dist/chunk-ZENZ5H2Q.js +0 -49
  487. package/dist/cohort-Q7TW5XTY.js +0 -70
  488. package/dist/condition-H6LBUHIF.js +0 -327
  489. package/dist/controls-DWDKFDXY.js +0 -34
  490. package/dist/controls.config-KF7PHZSG.js +0 -34
  491. package/dist/correlation-YMSARIER.js +0 -95
  492. package/dist/customdata.inputui-KEFE7ZHS.js +0 -284
  493. package/dist/dataDownload-G7TGPFGL.js +0 -329
  494. package/dist/databrowser.ui-NFIIFQJZ.js +0 -425
  495. package/dist/dictionary-ERJQMALC.js +0 -113
  496. package/dist/dnaMethylation-KVCXKAU3.js +0 -33
  497. package/dist/dnaMethylation.integration.spec-3NXGGG4J.js +0 -198
  498. package/dist/dofetch-YRWLEQEH.js +0 -48
  499. package/dist/e2pca-M2F2CI6I.js +0 -344
  500. package/dist/ep-QAEG4RV4.js +0 -1249
  501. package/dist/expclust.gdc.spec-P77T6JR2.js +0 -302
  502. package/dist/facet-LJTSTASE.js +0 -519
  503. package/dist/gb-KSB2DQHH.js +0 -81
  504. package/dist/geneExpClustering-KHDCPE65.js +0 -244
  505. package/dist/geneExpression-AWWMOUAR.js +0 -310
  506. package/dist/geneExpression-Z2EDR6EN.js +0 -33
  507. package/dist/geneExpression.unit.spec-WB2ESPKT.js +0 -128
  508. package/dist/geneORA-NGZTMFSJ.js +0 -273
  509. package/dist/geneRanking-AYNBGFKU.js +0 -548
  510. package/dist/geneVariant-AL64NDHH.js +0 -36
  511. package/dist/geneVariant-QMKR3LUV.js +0 -286
  512. package/dist/geneVariant.integration.spec-N3U5CIRT.js +0 -489
  513. package/dist/genefusion.ui-IWJMF2BM.js +0 -303
  514. package/dist/geneset-APCO4BRX.js +0 -203
  515. package/dist/genomeBrowser.spec-JTCVUTO5.js +0 -276
  516. package/dist/grin2-FVX6AIST.js +0 -70
  517. package/dist/grin2-LF46UKFY.js +0 -1137
  518. package/dist/hierCluster-4DRHXD6W.js +0 -55
  519. package/dist/hierCluster-SFRQK3PS.js +0 -59
  520. package/dist/hierCluster.config-G2TFGBYF.js +0 -36
  521. package/dist/hierCluster.integration.spec-ZUZKCG6A.js +0 -483
  522. package/dist/hierCluster.interactivity-LQA6J56H.js +0 -49
  523. package/dist/hierCluster.renderers-TZZJEVFO.js +0 -19
  524. package/dist/imagePlot-OUHFWYKT.js +0 -156
  525. package/dist/importPlot-7V456QK7.js +0 -8
  526. package/dist/isoformExpression-NGUJJ6VI.js +0 -35
  527. package/dist/isoformExpression.unit.spec-DCRPXPBY.js +0 -237
  528. package/dist/junction-QYKLNXIW.js +0 -36
  529. package/dist/junction.customTerm-EHOOBR4V.js +0 -16
  530. package/dist/junction.unit.spec-LDNY7OFK.js +0 -182
  531. package/dist/launch.adhoc-FF7B3UG6.js +0 -37
  532. package/dist/leftlabel.sample-BTHMKLGF.js +0 -258
  533. package/dist/lollipop-H3UCNMHN.js +0 -166
  534. package/dist/maf-KWGUTPKO.js +0 -455
  535. package/dist/maftimeline-UD5VE4UW.js +0 -587
  536. package/dist/matrix-DLCX6GOO.js +0 -59
  537. package/dist/matrix-TIV42IQB.js +0 -54
  538. package/dist/matrix.cells-J3QZ7C6U.js +0 -26
  539. package/dist/matrix.config-VNMS6B7J.js +0 -37
  540. package/dist/matrix.data-PIE3TLKD.js +0 -23
  541. package/dist/matrix.groups-URBU775S.js +0 -26
  542. package/dist/matrix.integration.spec-LC6YMEKP.js +0 -3160
  543. package/dist/matrix.interactivity-W5AFOAQN.js +0 -37
  544. package/dist/matrix.layout-LU3NIJAL.js +0 -39
  545. package/dist/matrix.legend-LTP6ETZO.js +0 -20
  546. package/dist/matrix.renderers-762XI65L.js +0 -34
  547. package/dist/matrix.serieses-FHDBRPZA.js +0 -19
  548. package/dist/matrix.sort-Q6A6UWMY.js +0 -26
  549. package/dist/matrix.sort.unit.spec-CTCOPKVS.js +0 -468
  550. package/dist/matrix.sorterUi-4M5AU5EL.js +0 -16
  551. package/dist/matrix.sorterUi.unit.spec-Y7GC3PM5.js +0 -338
  552. package/dist/matrix.unit.spec-DROPHFTM.js +0 -150
  553. package/dist/mavb-BWA73N3U.js +0 -727
  554. package/dist/mds.fimo-3UJWIH2J.js +0 -513
  555. package/dist/mds.samplescatterplot-EUS7DCSQ.js +0 -1545
  556. package/dist/mds.survivalplot-77UEBQIC.js +0 -477
  557. package/dist/multivalue-KZ2DMVIR.js +0 -83
  558. package/dist/numericDictTermCluster-C2MYJYPZ.js +0 -63
  559. package/dist/oncomatrix-6LGB3M7R.js +0 -290
  560. package/dist/oncomatrix.spec-UWMSLOHW.js +0 -443
  561. package/dist/plot.2dvaf-LZAVWH65.js +0 -372
  562. package/dist/plot.app-OEWE3AYV.js +0 -36
  563. package/dist/plot.barplot-VIBHGTUT.js +0 -97
  564. package/dist/plot.boxplot-NQI3PSKR.js +0 -146
  565. package/dist/plot.brainImaging-3MTTCZHI.js +0 -51
  566. package/dist/plot.disco-HODBY7SO.js +0 -99
  567. package/dist/plot.ssgq-4URQE673.js +0 -134
  568. package/dist/plot.vaf2cov-QIJNEKCK.js +0 -253
  569. package/dist/polar2-GVFQNSLK.js +0 -232
  570. package/dist/profileForms-Z22CJXI4.js +0 -941
  571. package/dist/profilePlot-IVQZBSID.js +0 -49
  572. package/dist/proteinView-AUK634AU.js +0 -1357
  573. package/dist/proteomeCohortCompare-7G2F35H5.js +0 -912
  574. package/dist/pseudbulk.unit.spec-JDKUQUCM.js +0 -106
  575. package/dist/pseudbulk.unit.spec-JDKUQUCM.js.map +0 -7
  576. package/dist/pseudobulk-QTCUSH5I.js +0 -37
  577. package/dist/qualitative-7ST7SSBT.js +0 -38
  578. package/dist/radar2-CEE6SNBS.js +0 -327
  579. package/dist/radarFacility2-OSKDYIK7.js +0 -335
  580. package/dist/rememberedGvQ.unit.spec-RYFUJ2NW.js +0 -211
  581. package/dist/render-MAD3WMVD.js +0 -33
  582. package/dist/report-6JXJVSEB.js +0 -217
  583. package/dist/sampleView-SG3QYZKQ.js +0 -43
  584. package/dist/samplelst-R765UFP6.js +0 -106
  585. package/dist/samplematrix-EBJYE5SM.js +0 -2193
  586. package/dist/sc-7ZXPFDHD.js +0 -81
  587. package/dist/scatter-3GUL4KF3.js +0 -88
  588. package/dist/scatter-RHUVER53.js +0 -920
  589. package/dist/scatter-RHUVER53.js.map +0 -7
  590. package/dist/selectGenomeWithTklst-K4YXGJYG.js +0 -129
  591. package/dist/singleCellCellType-TU5VTPLP.js +0 -33
  592. package/dist/singleCellCellType.unit.spec-IRITQIGT.js +0 -154
  593. package/dist/singleCellGeneExpression-3IL52QDK.js +0 -33
  594. package/dist/singleCellGeneExpression.unit.spec-WXC4C37T.js +0 -148
  595. package/dist/singleCellPlot-XG3HZS7I.js +0 -48
  596. package/dist/singlecell-BRF2HAV2.js +0 -81
  597. package/dist/singlecell-KVCJF2HI.js +0 -1566
  598. package/dist/snp-RMZRB426.js +0 -33
  599. package/dist/snp.unit.spec-JF6KR2NT.js +0 -171
  600. package/dist/snplocus-AHUFHQ3Q.js +0 -203
  601. package/dist/spliceevent.a53ss.diagram-OSZZ2CF2.js +0 -146
  602. package/dist/spliceevent.exonskip.diagram-AMA2D2OL.js +0 -278
  603. package/dist/spliceevent.noeventdiagram-RKTUXH5D.js +0 -455
  604. package/dist/ssGSEA-7RKWYZKX.js +0 -33
  605. package/dist/ssGSEA.unit.spec-XLCZHH7S.js +0 -83
  606. package/dist/stattable-NDYUCLVZ.js +0 -117
  607. package/dist/studyCatalog-TAXRF5NS.js +0 -414
  608. package/dist/summarizeCnvGeneexp-3QLHU6N7.js +0 -158
  609. package/dist/summarizeGeneexpSurvival-ARI4MPFX.js +0 -105
  610. package/dist/summarizeMutationCnv-W7V7CKPI.js +0 -159
  611. package/dist/summarizeMutationDiagnosis-GCL4SRON.js +0 -35
  612. package/dist/summarizeMutationSurvival-6TTMSRRX.js +0 -99
  613. package/dist/summary-OUYDWLBF.js +0 -44
  614. package/dist/summary.integration.spec-4GTCG6HY.js +0 -409
  615. package/dist/summaryInput-UK3TLC7M.js +0 -242
  616. package/dist/sunburst-2UFHMNH3.js +0 -278
  617. package/dist/survival-SPWYSDVB.js +0 -53
  618. package/dist/survival-TL6UZ6FQ.js +0 -1248
  619. package/dist/survival.integration.spec-WWZELTKZ.js +0 -613
  620. package/dist/survival.integration.spec-WWZELTKZ.js.map +0 -7
  621. package/dist/svgraph-Z543MLIN.js +0 -1382
  622. package/dist/svmr-SZCAOAIF.js +0 -3837
  623. package/dist/table-IAQ6J4DO.js +0 -197
  624. package/dist/termCollection-3NGHR7QN.js +0 -252
  625. package/dist/termCollection-7P3WU6X6.js +0 -33
  626. package/dist/termCollection.unit.spec-EPYC7LOA.js +0 -299
  627. package/dist/termCollectionFractionSelection-YKIE6BME.js +0 -42
  628. package/dist/termCollectionFractionSelection.unit.spec-AG2CZPGZ.js +0 -188
  629. package/dist/tk-TOXMU4GT.js +0 -1121
  630. package/dist/tk-X454XH5N.js +0 -41
  631. package/dist/tp.ui-FDQ76KPL.js +0 -1454
  632. package/dist/tvs.dt-U77PCG6X.js +0 -34
  633. package/dist/tvs.dtcnv.categorical-XYZU4XLO.js +0 -35
  634. package/dist/tvs.dtcnv.continuous-4GJILFGP.js +0 -67
  635. package/dist/tvs.dtfusion-7YROAHVI.js +0 -35
  636. package/dist/tvs.dtitd-MIYU4ZHH.js +0 -35
  637. package/dist/tvs.dtsnvindel-XLDY7KWB.js +0 -35
  638. package/dist/tvs.dtsv-YMLJ37YR.js +0 -35
  639. package/dist/tvs.samplelst-KIVEXJKD.js +0 -98
  640. package/dist/tvs.termCollection-4CQV3EB3.js +0 -124
  641. package/dist/vocabulary-64GO4YDB.js +0 -36
  642. package/dist/wsi.direct-5MQVRJZX.js +0 -8343
  643. /package/dist/{2dmaf-32F56QBJ.js.map → 2dmaf-PN5YS362.js.map} +0 -0
  644. /package/dist/{AggregateMatrix-TPXNNWVD.js.map → AggregateMatrix-IBWOJWOC.js.map} +0 -0
  645. /package/dist/{AppHeader-SEJXDJE3.js.map → AppHeader-XV6S7GG5.js.map} +0 -0
  646. /package/dist/{BoxPlot-LOAO2MDO.js.map → BoxPlot-ZIVA55SK.js.map} +0 -0
  647. /package/dist/{Cuminc-O533BXFY.js.map → Cuminc-WKY35UGV.js.map} +0 -0
  648. /package/dist/{DE-FDAUNOWU.js.map → DE-E256DHID.js.map} +0 -0
  649. /package/dist/{DEinput-TF2VYTIJ.js.map → DEinput-YU3W72K7.js.map} +0 -0
  650. /package/dist/{DM-42YN3OEO.js.map → DM-W7PXTIKY.js.map} +0 -0
  651. /package/dist/{Disco-FGFHIKUR.js.map → Disco-OZY5GW2Z.js.map} +0 -0
  652. /package/dist/{Disco.UI-YGIU2JPM.js.map → Disco.UI-NRALEYXK.js.map} +0 -0
  653. /package/dist/{DmrPlot-EQFXMAW5.js.map → DmrPlot-QKUX5XUW.js.map} +0 -0
  654. /package/dist/{GB-244UT5VU.js.map → GB-ZYH7PGHT.js.map} +0 -0
  655. /package/dist/{GSEA-KXQBR3HH.js.map → GSEA-VQTD4MLY.js.map} +0 -0
  656. /package/dist/{GeneExpInput-ZY6SHXTX.js.map → GeneExpInput-XEFUTLFU.js.map} +0 -0
  657. /package/dist/{Geomap-6ZV4AM23.js.map → Geomap-GEK7UEDU.js.map} +0 -0
  658. /package/dist/{HicApp-4UHX2YGP.js.map → HicApp-ZY7UHV5H.js.map} +0 -0
  659. /package/dist/{IDCViewer-AB6LLO64.js.map → IDCViewer-YNKG4V46.js.map} +0 -0
  660. /package/dist/{NumBinaryEditor-CGSO2T4L.js.map → NumBinaryEditor-NEL727DX.js.map} +0 -0
  661. /package/dist/{NumBinaryEditor.unit.spec-3QHARZQJ.js.map → NumBinaryEditor.unit.spec-GCGZMJYF.js.map} +0 -0
  662. /package/dist/{NumContEditor-YLKSC4Y2.js.map → NumContEditor-IM6RRDGU.js.map} +0 -0
  663. /package/dist/{NumContEditor.unit.spec-L3GC3ZTJ.js.map → NumContEditor.unit.spec-B5AJXANS.js.map} +0 -0
  664. /package/dist/{NumCustomBinEditor-K3XSFHCC.js.map → NumCustomBinEditor-EZT5DRKP.js.map} +0 -0
  665. /package/dist/{NumCustomBinEditor.unit.spec-2FUHE6BX.js.map → NumCustomBinEditor.unit.spec-KLUDS6TH.js.map} +0 -0
  666. /package/dist/{NumDiscreteEditor-RJCSIW4R.js.map → NumDiscreteEditor-2M6Q5AAZ.js.map} +0 -0
  667. /package/dist/{NumDiscreteEditor.unit.spec-CUA6BOIS.js.map → NumDiscreteEditor.unit.spec-2JYZYJUX.js.map} +0 -0
  668. /package/dist/{NumRegularBinEditor-C3VIFDS4.js.map → NumRegularBinEditor-AQDHA2PU.js.map} +0 -0
  669. /package/dist/{NumRegularBinEditor.unit.spec-V2UJ5FLH.js.map → NumRegularBinEditor.unit.spec-62BYFNYG.js.map} +0 -0
  670. /package/dist/{NumSplineEditor-XBE7OV7P.js.map → NumSplineEditor-6Y5TZSTO.js.map} +0 -0
  671. /package/dist/{NumSplineEditor.unit.spec-CKRRI4US.js.map → NumSplineEditor.unit.spec-S65AV5EK.js.map} +0 -0
  672. /package/dist/{NumericDensity-ZL7UY7TL.js.map → NumericDensity-5ES4SDWZ.js.map} +0 -0
  673. /package/dist/{NumericDensity.unit.spec-CWTMSR56.js.map → NumericDensity.unit.spec-J6KZSE2P.js.map} +0 -0
  674. /package/dist/{NumericHandler-56ENFMNK.js.map → NumericHandler-ZTLDPP2F.js.map} +0 -0
  675. /package/dist/{NumericHandler.unit.spec-3YW34TTJ.js.map → NumericHandler.unit.spec-BZFBVHGU.js.map} +0 -0
  676. /package/dist/{ProteomeInput-HIS4GYWH.js.map → ProteomeInput-IKEXPCGV.js.map} +0 -0
  677. /package/dist/{Regression-C5GZYLEN.js.map → Regression-6F6YP3AX.js.map} +0 -0
  678. /package/dist/{RunChart2-X5WKYLPQ.js.map → RunChart2-CVRPXQH5.js.map} +0 -0
  679. /package/dist/{Volcano-ZNYDKP2O.js.map → Volcano-FCCWUMX7.js.map} +0 -0
  680. /package/dist/{adSandbox-A52OQSOW.js.map → adSandbox-QYIG6637.js.map} +0 -0
  681. /package/dist/{animatedBubbleChart-OQOZ3WFK.js.map → animatedBubbleChart-X53PR73H.js.map} +0 -0
  682. /package/dist/{app-4KIKXQX4.js.map → app-HJLTRZPI.js.map} +0 -0
  683. /package/dist/{app-NZUNKWKK.js.map → app-MGY6A4DM.js.map} +0 -0
  684. /package/dist/{bam-SME7YD3E.js.map → bam-VRQHRCP5.js.map} +0 -0
  685. /package/dist/{barchart-ESY6FOS4.js.map → barchart-TWMOUZFL.js.map} +0 -0
  686. /package/dist/{barchart2-XEJZGCES.js.map → barchart2-CV7RMMRG.js.map} +0 -0
  687. /package/dist/{block-747IK2EW.js.map → block-L53P4UGQ.js.map} +0 -0
  688. /package/dist/{block.init-ITZ42K43.js.map → block.init-XYOJTXKP.js.map} +0 -0
  689. /package/dist/{block.mds.expressionrank-Q63IJAJK.js.map → block.mds.expressionrank-77FSBDHA.js.map} +0 -0
  690. /package/dist/{block.mds.geneboxplot-EZIKAIKC.js.map → block.mds.geneboxplot-4TSYV4WS.js.map} +0 -0
  691. /package/dist/{block.mds.junction-TJXFKZ2Q.js.map → block.mds.junction-P4MYDET6.js.map} +0 -0
  692. /package/dist/{block.mds.svcnv-WSIEAII6.js.map → block.mds.svcnv-CYOFAS2T.js.map} +0 -0
  693. /package/dist/{block.svg-CQX5W6R4.js.map → block.svg-IT3ELCF4.js.map} +0 -0
  694. /package/dist/{block.tk.aicheck-J4MQ4BSD.js.map → block.tk.aicheck-GULHJLV5.js.map} +0 -0
  695. /package/dist/{block.tk.ase-2JFNPWCZ.js.map → block.tk.ase-RW5YL6HN.js.map} +0 -0
  696. /package/dist/{block.tk.bam-RBQ4AXSQ.js.map → block.tk.bam-MPGQW6KB.js.map} +0 -0
  697. /package/dist/{block.tk.bedgraphdot-ZQBOMVTO.js.map → block.tk.bedgraphdot-EYRY374P.js.map} +0 -0
  698. /package/dist/{block.tk.bigwig.ui-U5IBO3VF.js.map → block.tk.bigwig.ui-BKSXCDNM.js.map} +0 -0
  699. /package/dist/{block.tk.hicstraw-ZRZMFLLX.js.map → block.tk.hicstraw-76PV6NM3.js.map} +0 -0
  700. /package/dist/{block.tk.junction-7U7ABE4O.js.map → block.tk.junction-Z52QHQJQ.js.map} +0 -0
  701. /package/dist/{block.tk.junction.textmatrixui-AEXZ7W3U.js.map → block.tk.junction.textmatrixui-K32OOTZC.js.map} +0 -0
  702. /package/dist/{block.tk.ld-E7WPFL5P.js.map → block.tk.ld-DDGLRHPO.js.map} +0 -0
  703. /package/dist/{block.tk.menu-AITMEZTZ.js.map → block.tk.menu-MO6TESKI.js.map} +0 -0
  704. /package/dist/{block.tk.pgv-EDPZHI5L.js.map → block.tk.pgv-AKLKKSEP.js.map} +0 -0
  705. /package/dist/{brainImaging-35LPNBDR.js.map → brainImaging-KSTJQJAB.js.map} +0 -0
  706. /package/dist/{brainRegions-JMTQT4X3.js.map → brainRegions-WCRMMSK4.js.map} +0 -0
  707. /package/dist/{bubbleHeatmap-FMBKMDUL.js.map → bubbleHeatmap-4YOQ3BAB.js.map} +0 -0
  708. /package/dist/{cellTypeBubbleHeatmap-ZPTAGEWW.js.map → cellTypeBubbleHeatmap-O6YZ2RW4.js.map} +0 -0
  709. /package/dist/{chunk-Y4PX2ECH.js.map → chunk-3GUVLDUS.js.map} +0 -0
  710. /package/dist/{chunk-RBSAEAQV.js.map → chunk-3PQDD5HM.js.map} +0 -0
  711. /package/dist/{chunk-UYKZ5HXA.js.map → chunk-3WYUHDDP.js.map} +0 -0
  712. /package/dist/{chunk-L6WNBKYN.js.map → chunk-4C7MA5Q3.js.map} +0 -0
  713. /package/dist/{chunk-TG3QBMDK.js.map → chunk-4PB5ZEOB.js.map} +0 -0
  714. /package/dist/{chunk-BZN2O76M.js.map → chunk-5IMFPVGT.js.map} +0 -0
  715. /package/dist/{chunk-HLVWCJRO.js.map → chunk-6DPELKO5.js.map} +0 -0
  716. /package/dist/{chunk-GVLWCGXX.js.map → chunk-74C6G6JD.js.map} +0 -0
  717. /package/dist/{chunk-EKQ7NYOU.js.map → chunk-A7TXS6JR.js.map} +0 -0
  718. /package/dist/{chunk-IV57XNTG.js.map → chunk-AAJXHERO.js.map} +0 -0
  719. /package/dist/{chunk-6U2OPC6J.js.map → chunk-BFXZBZEV.js.map} +0 -0
  720. /package/dist/{chunk-5JCTTSV4.js.map → chunk-BGVGN73F.js.map} +0 -0
  721. /package/dist/{chunk-5ALGKNTQ.js.map → chunk-BL7EYUZC.js.map} +0 -0
  722. /package/dist/{chunk-BOQZOLRA.js.map → chunk-BPGZUNLL.js.map} +0 -0
  723. /package/dist/{chunk-EUQEQOFE.js.map → chunk-CPIPN5F6.js.map} +0 -0
  724. /package/dist/{chunk-AKA6RWLC.js.map → chunk-D5MSWPAZ.js.map} +0 -0
  725. /package/dist/{chunk-JMAFJKGG.js.map → chunk-DFT2PAIU.js.map} +0 -0
  726. /package/dist/{chunk-R624P2GE.js.map → chunk-E7NVJ44Z.js.map} +0 -0
  727. /package/dist/{chunk-3K7AYA3M.js.map → chunk-EMMGUSJB.js.map} +0 -0
  728. /package/dist/{chunk-AMVZ6KT5.js.map → chunk-G3CCQOLH.js.map} +0 -0
  729. /package/dist/{chunk-BCO5T43J.js.map → chunk-GGQVDHYF.js.map} +0 -0
  730. /package/dist/{chunk-JZHRVYNS.js.map → chunk-GPZYAJQH.js.map} +0 -0
  731. /package/dist/{chunk-CRHGXVUQ.js.map → chunk-GS6ZMPKP.js.map} +0 -0
  732. /package/dist/{chunk-SVC65ZPG.js.map → chunk-GUXKLMLM.js.map} +0 -0
  733. /package/dist/{chunk-LGR6CJTW.js.map → chunk-HELEV3LT.js.map} +0 -0
  734. /package/dist/{chunk-A2ORIMUJ.js.map → chunk-HKKTNIMX.js.map} +0 -0
  735. /package/dist/{chunk-5W7K7STT.js.map → chunk-HKSRIEWJ.js.map} +0 -0
  736. /package/dist/{chunk-VOYUJJQ6.js.map → chunk-IELQ3HMN.js.map} +0 -0
  737. /package/dist/{chunk-SS66BHGA.js.map → chunk-IISNWG4X.js.map} +0 -0
  738. /package/dist/{chunk-BZZZQFTI.js.map → chunk-J7KB2MH3.js.map} +0 -0
  739. /package/dist/{chunk-M5SYLBBC.js.map → chunk-JEJV7V7M.js.map} +0 -0
  740. /package/dist/{chunk-DPQP2GUW.js.map → chunk-JIZ3B32T.js.map} +0 -0
  741. /package/dist/{chunk-W4RYRU5D.js.map → chunk-KAY2ODXX.js.map} +0 -0
  742. /package/dist/{chunk-BSCMVKBP.js.map → chunk-KJM6PLXM.js.map} +0 -0
  743. /package/dist/{chunk-TMXW5HVE.js.map → chunk-KZHF3MQX.js.map} +0 -0
  744. /package/dist/{chunk-36AAUYZE.js.map → chunk-MC674TS2.js.map} +0 -0
  745. /package/dist/{chunk-TPDBOH3A.js.map → chunk-MLKQZ3RL.js.map} +0 -0
  746. /package/dist/{chunk-LOWJQFCC.js.map → chunk-MSSPT5YM.js.map} +0 -0
  747. /package/dist/{chunk-ASXUC6SM.js.map → chunk-OBBR4UYN.js.map} +0 -0
  748. /package/dist/{chunk-SU63FEY6.js.map → chunk-PQA3C2NY.js.map} +0 -0
  749. /package/dist/{chunk-OIJ6GRVS.js.map → chunk-QJ2VBXFB.js.map} +0 -0
  750. /package/dist/{chunk-7HFAEB3C.js.map → chunk-QP7EJXSU.js.map} +0 -0
  751. /package/dist/{chunk-WFSMIVJT.js.map → chunk-SHXJW27D.js.map} +0 -0
  752. /package/dist/{chunk-2IVN5DWA.js.map → chunk-SUNDNTVY.js.map} +0 -0
  753. /package/dist/{chunk-7HGZRJZZ.js.map → chunk-TSI4W6XO.js.map} +0 -0
  754. /package/dist/{chunk-4JFFFGL3.js.map → chunk-TXIQ5PHR.js.map} +0 -0
  755. /package/dist/{chunk-4KJSNR5E.js.map → chunk-U45R6QNT.js.map} +0 -0
  756. /package/dist/{chunk-A32SGNCT.js.map → chunk-UMZJQWWK.js.map} +0 -0
  757. /package/dist/{chunk-K6YUMBDY.js.map → chunk-VO7Q4WMM.js.map} +0 -0
  758. /package/dist/{chunk-YKM46UX5.js.map → chunk-VWGRKOVJ.js.map} +0 -0
  759. /package/dist/{chunk-P7DIIYCX.js.map → chunk-WCTKHF5T.js.map} +0 -0
  760. /package/dist/{chunk-OYLGAFFY.js.map → chunk-WOMERKMR.js.map} +0 -0
  761. /package/dist/{chunk-MKAILEWO.js.map → chunk-WXX2YD4Q.js.map} +0 -0
  762. /package/dist/{chunk-7AHTS4BP.js.map → chunk-X44AR557.js.map} +0 -0
  763. /package/dist/{chunk-BDQPMVKD.js.map → chunk-XEU5HXOY.js.map} +0 -0
  764. /package/dist/{chunk-FKA55PHV.js.map → chunk-XGYQZHNX.js.map} +0 -0
  765. /package/dist/{chunk-ZENZ5H2Q.js.map → chunk-XOND7UIK.js.map} +0 -0
  766. /package/dist/{chunk-RZ3KEFZ2.js.map → chunk-XRMUUWLS.js.map} +0 -0
  767. /package/dist/{chunk-2GBG3KA7.js.map → chunk-XTOGCXPD.js.map} +0 -0
  768. /package/dist/{chunk-Z7AO6A7M.js.map → chunk-Y5BBFDC3.js.map} +0 -0
  769. /package/dist/{chunk-ONVIVITY.js.map → chunk-Z2FSHODI.js.map} +0 -0
  770. /package/dist/{cohort-Q7TW5XTY.js.map → cohort-JWIQOO7U.js.map} +0 -0
  771. /package/dist/{condition-H6LBUHIF.js.map → condition-ZUAQYF5C.js.map} +0 -0
  772. /package/dist/{controls-DWDKFDXY.js.map → controls-ZPQ6SXD2.js.map} +0 -0
  773. /package/dist/{controls.config-KF7PHZSG.js.map → controls.config-NELL5HY5.js.map} +0 -0
  774. /package/dist/{correlation-YMSARIER.js.map → correlation-2X76UI3K.js.map} +0 -0
  775. /package/dist/{customdata.inputui-KEFE7ZHS.js.map → customdata.inputui-V6QIGFRP.js.map} +0 -0
  776. /package/dist/{dataDownload-G7TGPFGL.js.map → dataDownload-NSDY4MSL.js.map} +0 -0
  777. /package/dist/{databrowser.ui-NFIIFQJZ.js.map → databrowser.ui-DDLFQB6K.js.map} +0 -0
  778. /package/dist/{dictionary-ERJQMALC.js.map → dictionary-WSDD6TFI.js.map} +0 -0
  779. /package/dist/{dnaMethylation-KVCXKAU3.js.map → dnaMethylation-3IM4OACZ.js.map} +0 -0
  780. /package/dist/{dnaMethylation.integration.spec-3NXGGG4J.js.map → dnaMethylation.integration.spec-5CSJA67S.js.map} +0 -0
  781. /package/dist/{dofetch-YRWLEQEH.js.map → dofetch-GZ7POIBV.js.map} +0 -0
  782. /package/dist/{e2pca-M2F2CI6I.js.map → e2pca-AX7U2DOI.js.map} +0 -0
  783. /package/dist/{ep-QAEG4RV4.js.map → ep-UKACHFJU.js.map} +0 -0
  784. /package/dist/{expclust.gdc.spec-P77T6JR2.js.map → expclust.gdc.spec-46HDKH2Q.js.map} +0 -0
  785. /package/dist/{facet-LJTSTASE.js.map → facet-3EONZDDE.js.map} +0 -0
  786. /package/dist/{gb-KSB2DQHH.js.map → gb-W7GX5NWS.js.map} +0 -0
  787. /package/dist/{geneExpClustering-KHDCPE65.js.map → geneExpClustering-PJA6Y5GW.js.map} +0 -0
  788. /package/dist/{geneExpression-AWWMOUAR.js.map → geneExpression-EMLVPVNK.js.map} +0 -0
  789. /package/dist/{geneExpression-Z2EDR6EN.js.map → geneExpression-JMGYBT53.js.map} +0 -0
  790. /package/dist/{geneExpression.unit.spec-WB2ESPKT.js.map → geneExpression.unit.spec-DDZVZJVC.js.map} +0 -0
  791. /package/dist/{geneORA-NGZTMFSJ.js.map → geneORA-CIAFQQWB.js.map} +0 -0
  792. /package/dist/{geneRanking-AYNBGFKU.js.map → geneRanking-JRAU6FMJ.js.map} +0 -0
  793. /package/dist/{geneVariant-AL64NDHH.js.map → geneVariant-3DZTWQFG.js.map} +0 -0
  794. /package/dist/{geneVariant-QMKR3LUV.js.map → geneVariant-YWURIZ72.js.map} +0 -0
  795. /package/dist/{geneVariant.integration.spec-N3U5CIRT.js.map → geneVariant.integration.spec-V3KECZMM.js.map} +0 -0
  796. /package/dist/{genefusion.ui-IWJMF2BM.js.map → genefusion.ui-AO3TUDTL.js.map} +0 -0
  797. /package/dist/{geneset-APCO4BRX.js.map → geneset-RCIP2GZH.js.map} +0 -0
  798. /package/dist/{genomeBrowser.spec-JTCVUTO5.js.map → genomeBrowser.spec-7PZCNBL3.js.map} +0 -0
  799. /package/dist/{grin2-FVX6AIST.js.map → grin2-EUBCNH4Q.js.map} +0 -0
  800. /package/dist/{grin2-LF46UKFY.js.map → grin2-YYBB5XJK.js.map} +0 -0
  801. /package/dist/{hierCluster-4DRHXD6W.js.map → hierCluster-AV5NO2GW.js.map} +0 -0
  802. /package/dist/{hierCluster-SFRQK3PS.js.map → hierCluster-W2MVN34V.js.map} +0 -0
  803. /package/dist/{hierCluster.config-G2TFGBYF.js.map → hierCluster.config-4MBWG6RZ.js.map} +0 -0
  804. /package/dist/{hierCluster.integration.spec-ZUZKCG6A.js.map → hierCluster.integration.spec-JUIBIUKH.js.map} +0 -0
  805. /package/dist/{hierCluster.interactivity-LQA6J56H.js.map → hierCluster.interactivity-6PJE64PF.js.map} +0 -0
  806. /package/dist/{hierCluster.renderers-TZZJEVFO.js.map → hierCluster.renderers-RWDQ5SHY.js.map} +0 -0
  807. /package/dist/{imagePlot-OUHFWYKT.js.map → imagePlot-XLDQNUJA.js.map} +0 -0
  808. /package/dist/{importPlot-7V456QK7.js.map → importPlot-7FISAQKR.js.map} +0 -0
  809. /package/dist/{isoformExpression-NGUJJ6VI.js.map → isoformExpression-WOQAOVZS.js.map} +0 -0
  810. /package/dist/{isoformExpression.unit.spec-DCRPXPBY.js.map → isoformExpression.unit.spec-BMEGJNCO.js.map} +0 -0
  811. /package/dist/{junction-QYKLNXIW.js.map → junction-6NO36IPU.js.map} +0 -0
  812. /package/dist/{junction.customTerm-EHOOBR4V.js.map → junction.customTerm-N6JAOWZO.js.map} +0 -0
  813. /package/dist/{junction.unit.spec-LDNY7OFK.js.map → junction.unit.spec-UKGSQHO4.js.map} +0 -0
  814. /package/dist/{launch.adhoc-FF7B3UG6.js.map → launch.adhoc-42PUNEA6.js.map} +0 -0
  815. /package/dist/{leftlabel.sample-BTHMKLGF.js.map → leftlabel.sample-EXAUDPSB.js.map} +0 -0
  816. /package/dist/{lollipop-H3UCNMHN.js.map → lollipop-4ASTA5HO.js.map} +0 -0
  817. /package/dist/{maf-KWGUTPKO.js.map → maf-HPXANL3M.js.map} +0 -0
  818. /package/dist/{maftimeline-UD5VE4UW.js.map → maftimeline-2SXFX3HF.js.map} +0 -0
  819. /package/dist/{matrix-DLCX6GOO.js.map → matrix-DX4W5XMX.js.map} +0 -0
  820. /package/dist/{matrix-TIV42IQB.js.map → matrix-S34ITAPJ.js.map} +0 -0
  821. /package/dist/{matrix.cells-J3QZ7C6U.js.map → matrix.cells-BLULUGSZ.js.map} +0 -0
  822. /package/dist/{matrix.config-VNMS6B7J.js.map → matrix.config-Z3LWYH74.js.map} +0 -0
  823. /package/dist/{matrix.data-PIE3TLKD.js.map → matrix.data-73HY7Y2V.js.map} +0 -0
  824. /package/dist/{matrix.groups-URBU775S.js.map → matrix.groups-NOUMYNFY.js.map} +0 -0
  825. /package/dist/{matrix.integration.spec-LC6YMEKP.js.map → matrix.integration.spec-VTXYJ46U.js.map} +0 -0
  826. /package/dist/{matrix.interactivity-W5AFOAQN.js.map → matrix.interactivity-YHDIO5A2.js.map} +0 -0
  827. /package/dist/{matrix.layout-LU3NIJAL.js.map → matrix.layout-25HYKUF2.js.map} +0 -0
  828. /package/dist/{matrix.legend-LTP6ETZO.js.map → matrix.legend-IMK7DH4V.js.map} +0 -0
  829. /package/dist/{matrix.renderers-762XI65L.js.map → matrix.renderers-3RZRN6HO.js.map} +0 -0
  830. /package/dist/{matrix.serieses-FHDBRPZA.js.map → matrix.serieses-ZTVHQ7QA.js.map} +0 -0
  831. /package/dist/{matrix.sort-Q6A6UWMY.js.map → matrix.sort-EDXHT6NZ.js.map} +0 -0
  832. /package/dist/{matrix.sort.unit.spec-CTCOPKVS.js.map → matrix.sort.unit.spec-LSNY7PHU.js.map} +0 -0
  833. /package/dist/{matrix.sorterUi-4M5AU5EL.js.map → matrix.sorterUi-3DRNHG5Z.js.map} +0 -0
  834. /package/dist/{matrix.sorterUi.unit.spec-Y7GC3PM5.js.map → matrix.sorterUi.unit.spec-GNIIWGRJ.js.map} +0 -0
  835. /package/dist/{matrix.unit.spec-DROPHFTM.js.map → matrix.unit.spec-7A6ZFRXI.js.map} +0 -0
  836. /package/dist/{mavb-BWA73N3U.js.map → mavb-M5AXPLYX.js.map} +0 -0
  837. /package/dist/{mds.fimo-3UJWIH2J.js.map → mds.fimo-QE5OFA22.js.map} +0 -0
  838. /package/dist/{mds.samplescatterplot-EUS7DCSQ.js.map → mds.samplescatterplot-664EOHX2.js.map} +0 -0
  839. /package/dist/{mds.survivalplot-77UEBQIC.js.map → mds.survivalplot-H4TJD44D.js.map} +0 -0
  840. /package/dist/{multivalue-KZ2DMVIR.js.map → multivalue-JD3CNQJR.js.map} +0 -0
  841. /package/dist/{numericDictTermCluster-C2MYJYPZ.js.map → numericDictTermCluster-XPKEYXD7.js.map} +0 -0
  842. /package/dist/{oncomatrix-6LGB3M7R.js.map → oncomatrix-TX5PZQ76.js.map} +0 -0
  843. /package/dist/{oncomatrix.spec-UWMSLOHW.js.map → oncomatrix.spec-6X2WAHL7.js.map} +0 -0
  844. /package/dist/{plot.2dvaf-LZAVWH65.js.map → plot.2dvaf-5OHUFTMK.js.map} +0 -0
  845. /package/dist/{plot.app-OEWE3AYV.js.map → plot.app-XIVVJHWG.js.map} +0 -0
  846. /package/dist/{plot.barplot-VIBHGTUT.js.map → plot.barplot-PSODLAXD.js.map} +0 -0
  847. /package/dist/{plot.boxplot-NQI3PSKR.js.map → plot.boxplot-W3ASYFOG.js.map} +0 -0
  848. /package/dist/{plot.brainImaging-3MTTCZHI.js.map → plot.brainImaging-JGDLKLR7.js.map} +0 -0
  849. /package/dist/{plot.disco-HODBY7SO.js.map → plot.disco-TPMXTTZK.js.map} +0 -0
  850. /package/dist/{plot.ssgq-4URQE673.js.map → plot.ssgq-KIZIOZIF.js.map} +0 -0
  851. /package/dist/{plot.vaf2cov-QIJNEKCK.js.map → plot.vaf2cov-MSMW72IY.js.map} +0 -0
  852. /package/dist/{polar2-GVFQNSLK.js.map → polar2-LA4MSRRN.js.map} +0 -0
  853. /package/dist/{profileForms-Z22CJXI4.js.map → profileForms-BJRNB2ZF.js.map} +0 -0
  854. /package/dist/{profilePlot-IVQZBSID.js.map → profilePlot-DDO53C4T.js.map} +0 -0
  855. /package/dist/{proteinView-AUK634AU.js.map → proteinView-NFUR42XQ.js.map} +0 -0
  856. /package/dist/{proteomeCohortCompare-7G2F35H5.js.map → proteomeCohortCompare-OZVF3X66.js.map} +0 -0
  857. /package/dist/{pseudobulk-QTCUSH5I.js.map → pseudobulk-UVT5G2VL.js.map} +0 -0
  858. /package/dist/{qualitative-7ST7SSBT.js.map → qualitative-X3VXNC7X.js.map} +0 -0
  859. /package/dist/{radar2-CEE6SNBS.js.map → radar2-RTVUJ3AN.js.map} +0 -0
  860. /package/dist/{radarFacility2-OSKDYIK7.js.map → radarFacility2-ZGLZ5AKM.js.map} +0 -0
  861. /package/dist/{rememberedGvQ.unit.spec-RYFUJ2NW.js.map → rememberedGvQ.unit.spec-RLLLWU5M.js.map} +0 -0
  862. /package/dist/{render-MAD3WMVD.js.map → render-LR5BOYW6.js.map} +0 -0
  863. /package/dist/{report-6JXJVSEB.js.map → report-37W5OXUM.js.map} +0 -0
  864. /package/dist/{sampleView-SG3QYZKQ.js.map → sampleView-BDC2WPH7.js.map} +0 -0
  865. /package/dist/{samplelst-R765UFP6.js.map → samplelst-V2EIVZC5.js.map} +0 -0
  866. /package/dist/{samplematrix-EBJYE5SM.js.map → samplematrix-XOSKILUL.js.map} +0 -0
  867. /package/dist/{sc-7ZXPFDHD.js.map → sc-ZVZPWQY7.js.map} +0 -0
  868. /package/dist/{scatter-3GUL4KF3.js.map → scatter-2ZE5MCYH.js.map} +0 -0
  869. /package/dist/{selectGenomeWithTklst-K4YXGJYG.js.map → selectGenomeWithTklst-EF7WYEAJ.js.map} +0 -0
  870. /package/dist/{singleCellCellType-TU5VTPLP.js.map → singleCellCellType-TKCGC3G3.js.map} +0 -0
  871. /package/dist/{singleCellCellType.unit.spec-IRITQIGT.js.map → singleCellCellType.unit.spec-JZ6UHC5F.js.map} +0 -0
  872. /package/dist/{singleCellGeneExpression-3IL52QDK.js.map → singleCellGeneExpression-I2INGXGI.js.map} +0 -0
  873. /package/dist/{singleCellGeneExpression.unit.spec-WXC4C37T.js.map → singleCellGeneExpression.unit.spec-KL77FSHZ.js.map} +0 -0
  874. /package/dist/{singleCellPlot-XG3HZS7I.js.map → singleCellNumericValue-2X5NCEHL.js.map} +0 -0
  875. /package/dist/{snp-RMZRB426.js.map → singleCellPlot-Q6INE54V.js.map} +0 -0
  876. /package/dist/{singlecell-BRF2HAV2.js.map → singlecell-5N2P5ZAT.js.map} +0 -0
  877. /package/dist/{singlecell-KVCJF2HI.js.map → singlecell-NPSWMNI3.js.map} +0 -0
  878. /package/dist/{ssGSEA-7RKWYZKX.js.map → snp-2WPJYPDE.js.map} +0 -0
  879. /package/dist/{snp.unit.spec-JF6KR2NT.js.map → snp.unit.spec-PPWIIOX6.js.map} +0 -0
  880. /package/dist/{snplocus-AHUFHQ3Q.js.map → snplocus-T3HZFZWA.js.map} +0 -0
  881. /package/dist/{spliceevent.a53ss.diagram-OSZZ2CF2.js.map → spliceevent.a53ss.diagram-APCF4LV5.js.map} +0 -0
  882. /package/dist/{spliceevent.exonskip.diagram-AMA2D2OL.js.map → spliceevent.exonskip.diagram-TT5JGBSC.js.map} +0 -0
  883. /package/dist/{spliceevent.noeventdiagram-RKTUXH5D.js.map → spliceevent.noeventdiagram-CPXQSX3Z.js.map} +0 -0
  884. /package/dist/{summarizeMutationDiagnosis-GCL4SRON.js.map → ssGSEA-FSX6P7HA.js.map} +0 -0
  885. /package/dist/{ssGSEA.unit.spec-XLCZHH7S.js.map → ssGSEA.unit.spec-TXYT665R.js.map} +0 -0
  886. /package/dist/{stattable-NDYUCLVZ.js.map → stattable-BD64SFYV.js.map} +0 -0
  887. /package/dist/{studyCatalog-TAXRF5NS.js.map → studyCatalog-6BOWO4PO.js.map} +0 -0
  888. /package/dist/{summarizeCnvGeneexp-3QLHU6N7.js.map → summarizeCnvGeneexp-AMLYJIPU.js.map} +0 -0
  889. /package/dist/{summarizeGeneexpSurvival-ARI4MPFX.js.map → summarizeGeneexpSurvival-IDM7T333.js.map} +0 -0
  890. /package/dist/{summarizeMutationCnv-W7V7CKPI.js.map → summarizeMutationCnv-R6SYSJQC.js.map} +0 -0
  891. /package/dist/{summary-OUYDWLBF.js.map → summarizeMutationDiagnosis-XZJ4JLW2.js.map} +0 -0
  892. /package/dist/{summarizeMutationSurvival-6TTMSRRX.js.map → summarizeMutationSurvival-ABJ5RL4L.js.map} +0 -0
  893. /package/dist/{termCollection-7P3WU6X6.js.map → summary-NVYCTE6P.js.map} +0 -0
  894. /package/dist/{summary.integration.spec-4GTCG6HY.js.map → summary.integration.spec-SSLTLVNW.js.map} +0 -0
  895. /package/dist/{summaryInput-UK3TLC7M.js.map → summaryInput-SJOZETRP.js.map} +0 -0
  896. /package/dist/{sunburst-2UFHMNH3.js.map → sunburst-RU5ZPJKW.js.map} +0 -0
  897. /package/dist/{survival-SPWYSDVB.js.map → survival-BHJQMXKI.js.map} +0 -0
  898. /package/dist/{survival-TL6UZ6FQ.js.map → survival-DVG6Y2FV.js.map} +0 -0
  899. /package/dist/{svgraph-Z543MLIN.js.map → svgraph-ETFA4GRX.js.map} +0 -0
  900. /package/dist/{svmr-SZCAOAIF.js.map → svmr-AI3RU4JK.js.map} +0 -0
  901. /package/dist/{table-IAQ6J4DO.js.map → table-YCTSMLQL.js.map} +0 -0
  902. /package/dist/{termCollection-3NGHR7QN.js.map → termCollection-GMKEZR6D.js.map} +0 -0
  903. /package/dist/{termCollectionFractionSelection-YKIE6BME.js.map → termCollection-VEVKKJZD.js.map} +0 -0
  904. /package/dist/{termCollection.unit.spec-EPYC7LOA.js.map → termCollection.unit.spec-EU6YCEPX.js.map} +0 -0
  905. /package/dist/{tk-X454XH5N.js.map → termCollectionFractionSelection-UBS74X36.js.map} +0 -0
  906. /package/dist/{termCollectionFractionSelection.unit.spec-AG2CZPGZ.js.map → termCollectionFractionSelection.unit.spec-Y5OJFGDD.js.map} +0 -0
  907. /package/dist/{tk-TOXMU4GT.js.map → tk-HMF4HCNV.js.map} +0 -0
  908. /package/dist/{tvs.dt-U77PCG6X.js.map → tk-W6Z4FJMW.js.map} +0 -0
  909. /package/dist/{tp.ui-FDQ76KPL.js.map → tp.ui-NECRDJCS.js.map} +0 -0
  910. /package/dist/{vocabulary-64GO4YDB.js.map → tvs.dt-2JEH3F35.js.map} +0 -0
  911. /package/dist/{tvs.dtcnv.categorical-XYZU4XLO.js.map → tvs.dtcnv.categorical-YBXKEBR2.js.map} +0 -0
  912. /package/dist/{tvs.dtcnv.continuous-4GJILFGP.js.map → tvs.dtcnv.continuous-AD3SJ6BY.js.map} +0 -0
  913. /package/dist/{tvs.dtfusion-7YROAHVI.js.map → tvs.dtfusion-ODI3CLQS.js.map} +0 -0
  914. /package/dist/{tvs.dtitd-MIYU4ZHH.js.map → tvs.dtitd-V3LYLPJY.js.map} +0 -0
  915. /package/dist/{tvs.dtsnvindel-XLDY7KWB.js.map → tvs.dtsnvindel-R3V5LTNL.js.map} +0 -0
  916. /package/dist/{tvs.dtsv-YMLJ37YR.js.map → tvs.dtsv-ZQLKEDLJ.js.map} +0 -0
  917. /package/dist/{tvs.samplelst-KIVEXJKD.js.map → tvs.samplelst-G25A7HM6.js.map} +0 -0
  918. /package/dist/{tvs.termCollection-4CQV3EB3.js.map → tvs.termCollection-WLVCWDEJ.js.map} +0 -0
  919. /package/dist/{wsi.direct-5MQVRJZX.js.map → wsi.direct-SNPPQPVO.js.map} +0 -0
@@ -0,0 +1,2140 @@
1
+ import {
2
+ isNumericTerm
3
+ } from "./chunk-GMRIEUBW.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-4EZLVENZ.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.SINGLECELL_NUMERIC_VALUE,
887
+ TermTypes.SNP,
888
+ TermTypes.TERM_COLLECTION,
889
+ TermTypes.COHORT,
890
+ TermTypes.MULTIVALUE
891
+ ]);
892
+ function isUsableTerm(term, _usecase, termdbConfig, ds) {
893
+ const usecase = _usecase || {};
894
+ if (typeof ds?.usecase?.[usecase.target] == "function") {
895
+ return ds.usecase[usecase.target](term, usecase);
896
+ }
897
+ const uses = /* @__PURE__ */ new Set();
898
+ const child_types = term.child_types || [];
899
+ switch (usecase.target) {
900
+ case "barchart":
901
+ case "violin":
902
+ case "boxplot":
903
+ case "summary": {
904
+ const excluded = usecase.detail == "term2" ? ["survival", "multivalue"] : ["survival"];
905
+ if (term.type && !excluded.includes(term.type)) uses.add("plot");
906
+ if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
907
+ return uses;
908
+ }
909
+ case "summaryInput":
910
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
911
+ const excluded = usecase.detail === "term2" ? ["survival", "multivalue"] : ["survival"];
912
+ if (term.type && !excluded.includes(term.type)) uses.add("plot");
913
+ if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
914
+ return uses;
915
+ } else {
916
+ if (graphableTypes.has(term.type)) uses.add("plot");
917
+ if (!term.isleaf) uses.add("branch");
918
+ return uses;
919
+ }
920
+ case "matrix":
921
+ if (term.type) uses.add("plot");
922
+ if (!term.isleaf) uses.add("branch");
923
+ return uses;
924
+ case "table":
925
+ if (usecase.detail == "term") uses.add("plot");
926
+ if (child_types.length > 1) uses.add("branch");
927
+ return uses;
928
+ case "sampleScatter":
929
+ if (usecase.detail == "numeric") {
930
+ if (isNumericTerm(term)) {
931
+ uses.add("plot");
932
+ }
933
+ if (hasNumericChild(child_types)) uses.add("branch");
934
+ } else {
935
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
936
+ if (!term.isleaf) uses.add("branch");
937
+ }
938
+ return uses;
939
+ case "runChart2":
940
+ if (usecase.detail == "date" || usecase.detail == "xtw") {
941
+ if (term.type == "date") {
942
+ uses.add("plot");
943
+ }
944
+ if (child_types.includes("date")) uses.add("branch");
945
+ } else if (usecase.detail == "numeric") {
946
+ if (isNumericTerm(term) && term.type != "date") {
947
+ uses.add("plot");
948
+ }
949
+ if (hasNumericChild(child_types)) uses.add("branch");
950
+ } else {
951
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
952
+ if (!term.isleaf) uses.add("branch");
953
+ }
954
+ return uses;
955
+ case "numericDictTermCluster":
956
+ if (!usecase.detail?.exclude?.includes(term.id)) {
957
+ if (isNumericTerm(term)) {
958
+ uses.add("plot");
959
+ }
960
+ if (hasNumericChild(child_types)) {
961
+ uses.add("branch");
962
+ }
963
+ }
964
+ return uses;
965
+ case "termCollections":
966
+ if (usecase.detail?.termIds?.includes(term.id)) uses.add("plot");
967
+ if (usecase.detail?.branchIds?.includes(term.id)) uses.add("branch");
968
+ return uses;
969
+ case "profileForms":
970
+ if (!term.isleaf) {
971
+ const ancestors = term.id.split("__").length;
972
+ if (ancestors == 3) {
973
+ uses.add("plot");
974
+ } else if (ancestors < 3) uses.add("branch");
975
+ }
976
+ return uses;
977
+ // case 'boxplot':
978
+ // if (term.type == 'float' || term.type == 'integer') uses.add('plot')
979
+ // if (usecase.detail === 'term2' && hasNumericChild(child_types)) uses.add('branch')
980
+ // return uses
981
+ case "cuminc":
982
+ if (usecase.detail == "term") {
983
+ if (term.type == "condition") uses.add("plot");
984
+ if (child_types.includes("condition")) uses.add("branch");
985
+ return uses;
986
+ }
987
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
988
+ if (term.type && term.type != "condition" && term.type != "survival" && term.type != "multivalue")
989
+ uses.add("plot");
990
+ if (hasAllowedChildTypes(child_types, ["condition", "survival", "multivalue"])) uses.add("branch");
991
+ return uses;
992
+ }
993
+ return uses;
994
+ case "survival":
995
+ if (usecase.detail == "term") {
996
+ if (term.type == "survival") uses.add("plot");
997
+ if (child_types.includes("survival")) uses.add("branch");
998
+ return uses;
999
+ }
1000
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
1001
+ if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1002
+ if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1003
+ return uses;
1004
+ }
1005
+ return uses;
1006
+ case "regression":
1007
+ if (usecase.detail == "outcome") {
1008
+ if (usecase.regressionType == "linear") {
1009
+ if (term.type == "float" || term.type == "integer") uses.add("plot");
1010
+ if (hasNumericChild(child_types)) uses.add("branch");
1011
+ return uses;
1012
+ }
1013
+ if (usecase.regressionType == "logistic") {
1014
+ if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1015
+ if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1016
+ return uses;
1017
+ } else if (usecase.regressionType == "cox") {
1018
+ if (term.type == "condition" || term.type == "survival") uses.add("plot");
1019
+ if (child_types.includes("condition") || child_types.includes("survival")) uses.add("branch");
1020
+ return uses;
1021
+ }
1022
+ }
1023
+ if (usecase.detail == "independent") {
1024
+ if (term.type == TermTypes.TERM_COLLECTION) {
1025
+ if (term.memberType == "numeric") uses.add("plot");
1026
+ return uses;
1027
+ }
1028
+ if (term.type == "float" || term.type == "integer" || term.type == "categorical" || term.type == "samplelst")
1029
+ uses.add("plot");
1030
+ if (hasChildTypes(child_types, ["categorical", "float", "integer"])) uses.add("branch");
1031
+ return uses;
1032
+ }
1033
+ return uses;
1034
+ case "filter": {
1035
+ const exlst = termdbConfig?.excludedTermtypeByTarget?.filter;
1036
+ if (exlst) {
1037
+ if (graphableTypes.has(term.type) && !exlst.includes(term.type)) uses.add("plot");
1038
+ if (child_types.find((t) => !exlst.includes(t))) uses.add("branch");
1039
+ return uses;
1040
+ }
1041
+ if (graphableTypes.has(term.type)) uses.add("plot");
1042
+ if (!term.isleaf) uses.add("branch");
1043
+ return uses;
1044
+ }
1045
+ case "correlationVolcano":
1046
+ if (usecase.detail == "numeric") {
1047
+ if (isNumericTerm(term)) {
1048
+ uses.add("plot");
1049
+ }
1050
+ if (hasNumericChild(child_types)) uses.add("branch");
1051
+ } else {
1052
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1053
+ if (!term.isleaf) uses.add("branch");
1054
+ }
1055
+ return uses;
1056
+ case "proteinView":
1057
+ if (term.type == TermTypes.PROTEOME_ABUNDANCE) uses.add("plot");
1058
+ if (child_types.includes(TermTypes.PROTEOME_ABUNDANCE)) uses.add("branch");
1059
+ return uses;
1060
+ case "brainImaging": {
1061
+ const allowMultivalue = usecase.detail == "term0";
1062
+ if (graphableTypes.has(term.type) && (allowMultivalue || term.type != "multivalue")) uses.add("plot");
1063
+ if (!term.isleaf) uses.add("branch");
1064
+ return uses;
1065
+ }
1066
+ case "dictionary":
1067
+ if (graphableTypes.has(term.type)) uses.add("plot");
1068
+ if (!term.isleaf) uses.add("branch");
1069
+ return uses;
1070
+ default:
1071
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1072
+ if (!term.isleaf) uses.add("branch");
1073
+ return uses;
1074
+ }
1075
+ }
1076
+ function hasAllowedChildTypes(child_types, excluded_types) {
1077
+ if (!child_types.length) {
1078
+ return false;
1079
+ }
1080
+ if (!excluded_types?.length) {
1081
+ return true;
1082
+ }
1083
+ if (child_types.some((type) => !excluded_types.includes(type))) {
1084
+ return true;
1085
+ }
1086
+ }
1087
+ function hasNumericChild(child_types) {
1088
+ return child_types.includes("float") || child_types.includes("integer");
1089
+ }
1090
+ function hasChildTypes(child_types, expected_types) {
1091
+ for (const a of expected_types) {
1092
+ if (child_types.includes(a)) return true;
1093
+ }
1094
+ }
1095
+
1096
+ // ../shared/utils/dist/src/time.js
1097
+ function formatElapsedTime(ms, precision = 2) {
1098
+ if (typeof ms !== "number" || isNaN(ms)) {
1099
+ return typeof ms !== "number" ? "Invalid time: not a number" : "Invalid time: NaN";
1100
+ }
1101
+ if (!isFinite(ms)) {
1102
+ return ms > 0 ? "Infinite time" : "-Infinite time";
1103
+ }
1104
+ const absMs = Math.abs(ms);
1105
+ const sign = ms < 0 ? "-" : "";
1106
+ if (absMs < 1e3) {
1107
+ return `${sign}${absMs}ms`;
1108
+ }
1109
+ if (absMs < 6e4) {
1110
+ return `${sign}${(absMs / 1e3).toFixed(precision)}s`;
1111
+ }
1112
+ const minutes = Math.floor(absMs / 6e4);
1113
+ const seconds = (absMs % 6e4 / 1e3).toFixed(precision);
1114
+ return `${sign}${minutes}m ${seconds}s`;
1115
+ }
1116
+
1117
+ // ../shared/utils/dist/src/vcf.ann.js
1118
+ function parse_ANN(str, header, m) {
1119
+ if (!header) {
1120
+ return null;
1121
+ }
1122
+ for (const thisannotation of str.split(",")) {
1123
+ const lst = thisannotation.replace(/&/g, ",").split("|");
1124
+ const o = {};
1125
+ for (let i = 0; i < header.length; i++) {
1126
+ if (lst[i]) {
1127
+ o[header[i].name] = lst[i];
1128
+ }
1129
+ }
1130
+ if (!o.Allele) {
1131
+ continue;
1132
+ }
1133
+ let allele = null;
1134
+ for (const a of m.alleles) {
1135
+ if (a.allele == o.Allele) {
1136
+ allele = a;
1137
+ break;
1138
+ }
1139
+ }
1140
+ if (!allele) {
1141
+ continue;
1142
+ }
1143
+ if (!allele.ann) {
1144
+ allele.ann = [];
1145
+ }
1146
+ allele.ann.push(o);
1147
+ o._gene = o.Gene_Name;
1148
+ if (o.Feature_Type && o.Feature_Type == "transcript" && o.Feature_ID) {
1149
+ o._isoform = o.Feature_ID.split(".")[0];
1150
+ }
1151
+ if (o.Annotation) {
1152
+ const [dt, cls, rank] = vepinfo(o.Annotation);
1153
+ o._dt = dt;
1154
+ o._class = cls;
1155
+ o._csqrank = rank;
1156
+ } else {
1157
+ o._dt = dtsnvindel;
1158
+ o._class = mclassnonstandard;
1159
+ }
1160
+ if (o["HGVS.p"]) {
1161
+ o._mname = o["HGVS.p"];
1162
+ } else if (o["HGVS.c"]) {
1163
+ o._mname = o["HGVS.c"];
1164
+ }
1165
+ }
1166
+ return true;
1167
+ }
1168
+
1169
+ // ../shared/utils/dist/src/vcf.csq.js
1170
+ function parse_CSQ(str, header, m) {
1171
+ if (!header) {
1172
+ return null;
1173
+ }
1174
+ for (const thisannotation of str.split(",")) {
1175
+ const lst = thisannotation.replace(/&/g, ",").split("|");
1176
+ const o = {};
1177
+ for (let i = 0; i < header.length; i++) {
1178
+ if (lst[i]) {
1179
+ o[header[i].name] = lst[i];
1180
+ }
1181
+ }
1182
+ if (!o.Allele) {
1183
+ continue;
1184
+ }
1185
+ let allele = null;
1186
+ for (const a of m.mlst || m.alleles) {
1187
+ if (a.allele_original == o.Allele) {
1188
+ allele = a;
1189
+ break;
1190
+ }
1191
+ }
1192
+ if (!allele) {
1193
+ if (o.Allele == "-") {
1194
+ if (m.mlst) {
1195
+ if (m.mlst.length == 1) {
1196
+ allele = m.mlst[0];
1197
+ }
1198
+ } else if (m.alleles) {
1199
+ if (m.alleles.length == 1) {
1200
+ allele = m.alleles[0];
1201
+ }
1202
+ }
1203
+ } else {
1204
+ for (const a of m.mlst || m.alleles) {
1205
+ if (a.allele_original.substr(1) == o.Allele) {
1206
+ allele = a;
1207
+ break;
1208
+ }
1209
+ }
1210
+ }
1211
+ if (!allele) {
1212
+ continue;
1213
+ }
1214
+ }
1215
+ if (!allele.csq) {
1216
+ allele.csq = [];
1217
+ }
1218
+ allele.csq.push(o);
1219
+ o._gene = o.SYMBOL || o.Gene;
1220
+ if (o.Feature_type && o.Feature_type == "Transcript") {
1221
+ o._isoform = o.Feature.split(".")[0];
1222
+ } else {
1223
+ o._isoform = o._gene;
1224
+ }
1225
+ if (o.Consequence) {
1226
+ const [dt, cls, rank] = vepinfo(o.Consequence);
1227
+ o._dt = dt;
1228
+ o._class = cls;
1229
+ o._csqrank = rank;
1230
+ } else {
1231
+ o._dt = dtsnvindel;
1232
+ o._class = mclassnonstandard;
1233
+ }
1234
+ if (o.HGVSp) {
1235
+ o._mname = decodeURIComponent(o.HGVSp.substr(o.HGVSp.indexOf(":") + 1));
1236
+ } else if (o.Protein_position && o.Amino_acids) {
1237
+ o._mname = decodeURIComponent(o.Protein_position + o.Amino_acids);
1238
+ } else if (o.HGVSc) {
1239
+ o._mname = o.HGVSc.substr(o.HGVSc.indexOf(":") + 1);
1240
+ } else if (o.Existing_variation) {
1241
+ o._name = o.Existing_variation;
1242
+ }
1243
+ }
1244
+ return true;
1245
+ }
1246
+
1247
+ // ../shared/utils/dist/src/vcf.info.js
1248
+ function dissect_INFO(str) {
1249
+ let findsemicolon = false;
1250
+ let findequalorsemicolon = true;
1251
+ let i = 0;
1252
+ let idx = 0;
1253
+ const k2v = {};
1254
+ let lastkey;
1255
+ while (i < str.length) {
1256
+ const c = str[i];
1257
+ if (findequalorsemicolon) {
1258
+ if (c == "=") {
1259
+ findsemicolon = true;
1260
+ findequalorsemicolon = false;
1261
+ lastkey = str.substring(idx, i);
1262
+ idx = i + 1;
1263
+ } else if (c == ";") {
1264
+ k2v[str.substring(idx, i)] = 1;
1265
+ idx = i + 1;
1266
+ }
1267
+ } else if (findsemicolon && c == ";") {
1268
+ findequalorsemicolon = true;
1269
+ findsemicolon = false;
1270
+ k2v[lastkey] = str.substring(idx, i);
1271
+ lastkey = null;
1272
+ idx = i + 1;
1273
+ }
1274
+ i++;
1275
+ }
1276
+ const remainstr = str.substr(idx, i);
1277
+ if (lastkey) {
1278
+ k2v[lastkey] = remainstr;
1279
+ } else {
1280
+ k2v[remainstr] = 1;
1281
+ }
1282
+ return k2v;
1283
+ }
1284
+
1285
+ // ../shared/utils/dist/src/vcf.type.js
1286
+ function getVariantType(ref, alt) {
1287
+ if (ref.length == 1 && alt.length == 1) {
1288
+ if (alt == ".") {
1289
+ return mclassdeletion;
1290
+ }
1291
+ return mclasssnv;
1292
+ }
1293
+ if (ref.length == alt.length) return mclassmnv;
1294
+ if (ref.length < alt.length) return mclassinsertion;
1295
+ if (ref.length > alt.length) return mclassdeletion;
1296
+ return mclassnonstandard;
1297
+ }
1298
+
1299
+ // ../shared/utils/dist/src/vcf.js
1300
+ var getallelename = new RegExp(/<(.+)>/);
1301
+ var mclasslabel2key = {};
1302
+ for (const k in mclass) {
1303
+ mclasslabel2key[mclass[k].label.toUpperCase()] = k;
1304
+ }
1305
+ function vcfparsemeta(lines) {
1306
+ let sample = [];
1307
+ const errlst = [];
1308
+ const info = {};
1309
+ let hasinfo = false;
1310
+ const format2 = {};
1311
+ let hasformat = false;
1312
+ for (const line of lines) {
1313
+ if (!line.startsWith("#")) {
1314
+ continue;
1315
+ }
1316
+ if (line.startsWith("#C")) {
1317
+ sample = line.split(" ").slice(9);
1318
+ continue;
1319
+ }
1320
+ if (line.startsWith("##INFO")) {
1321
+ const e = tohash(line.substring(8, line.length - 1), info);
1322
+ if (e) {
1323
+ errlst.push("INFO error: " + e);
1324
+ } else {
1325
+ hasinfo = true;
1326
+ }
1327
+ continue;
1328
+ }
1329
+ if (line.startsWith("##FORMAT")) {
1330
+ const e = tohash(line.substring(10, line.length - 1), format2);
1331
+ if (e) {
1332
+ errlst.push("FORMAT error: " + e);
1333
+ } else {
1334
+ hasformat = true;
1335
+ }
1336
+ }
1337
+ }
1338
+ const sampleobjlst = [];
1339
+ for (const samplename of sample) {
1340
+ const a = { name: samplename };
1341
+ sampleobjlst.push(a);
1342
+ }
1343
+ if (info.CSQ) {
1344
+ const lst = info.CSQ.Description.split(" Format: ");
1345
+ if (lst[1]) {
1346
+ const lst2 = lst[1].split("|");
1347
+ if (lst2.length > 1) {
1348
+ info.CSQ.csqheader = [];
1349
+ for (const str of lst2) {
1350
+ const attr = { name: str };
1351
+ info.CSQ.csqheader.push(attr);
1352
+ }
1353
+ } else {
1354
+ errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1355
+ }
1356
+ } else {
1357
+ errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1358
+ }
1359
+ }
1360
+ if (info.ANN) {
1361
+ const lst = info.ANN.Description.split("'");
1362
+ if (lst[1]) {
1363
+ const lst2 = lst[1].split(" | ");
1364
+ if (lst2.length) {
1365
+ info.ANN.annheader = [];
1366
+ for (const s of lst2) {
1367
+ const attr = { name: s };
1368
+ info.ANN.annheader.push(attr);
1369
+ }
1370
+ } else {
1371
+ errlst.push('no " | " joined annotation fields for ANN (snpEff annotation): ' + info.ANN.Description);
1372
+ }
1373
+ } else {
1374
+ errlst.push("no single-quote enclosed annotation fields for ANN (snpEff annotation): " + info.ANN.Description);
1375
+ }
1376
+ }
1377
+ return [hasinfo ? info : null, hasformat ? format2 : null, sampleobjlst, errlst.length ? errlst : null];
1378
+ }
1379
+ function vcfparseline(line, vcf) {
1380
+ const lst = line.split(" ");
1381
+ if (lst.length < 8) {
1382
+ return ["line has less than 8 fields", null, null];
1383
+ }
1384
+ const rawpos = Number.parseInt(lst[2 - 1]);
1385
+ if (!Number.isInteger(rawpos)) {
1386
+ return ["invalid value for genomic position", null, null];
1387
+ }
1388
+ const refallele = lst[4 - 1];
1389
+ const m = {
1390
+ vcf_ID: lst[3 - 1],
1391
+ chr: (vcf.nochr ? "chr" : "") + lst[1 - 1],
1392
+ pos: rawpos - 1,
1393
+ ref: refallele,
1394
+ //refstr:refallele, // e.g. GA>GCC, ref:A, refstr:GA, "refstr" is required for matching in FORMAT
1395
+ altstr: lst[5 - 1],
1396
+ alleles: [
1397
+ {
1398
+ /*
1399
+ ref allele only a placeholder, to be removed, this array only contains alt alleles
1400
+ this is a must
1401
+ also allows GT allele index to work
1402
+ */
1403
+ allele: refallele,
1404
+ sampledata: []
1405
+ }
1406
+ ],
1407
+ info: {},
1408
+ // locus info, do not contain allele info
1409
+ name: lst[3 - 1] == "." ? null : lst[3 - 1]
1410
+ };
1411
+ const altinvalid = [];
1412
+ for (const alt of lst[5 - 1].split(",")) {
1413
+ const a = {
1414
+ ref: m.ref,
1415
+ // may be corrected just below!
1416
+ allele: alt,
1417
+ // 5078356.TATCAGAGAA.GGGAGGA keep original allele for matching with csq which hardcodes original allele
1418
+ allele_original: alt,
1419
+ sampledata: [],
1420
+ _m: m,
1421
+ info: {}
1422
+ // allele info, do not contain locus info
1423
+ };
1424
+ m.alleles.push(a);
1425
+ if (alt[0] == "<") {
1426
+ const tmp2 = alt.match(getallelename);
1427
+ if (!tmp2) {
1428
+ altinvalid.push(alt);
1429
+ continue;
1430
+ }
1431
+ a.type = tmp2[1];
1432
+ a.allele = tmp2[1];
1433
+ a.issymbolicallele = true;
1434
+ } else {
1435
+ const [p, ref, alt2] = correctRefAlt(m.pos, m.ref, a.allele);
1436
+ a.pos = p;
1437
+ a.ref = ref;
1438
+ a.allele = alt2;
1439
+ }
1440
+ }
1441
+ if (lst[9 - 1] && lst[10 - 1]) {
1442
+ parse_FORMAT2(lst, m, vcf);
1443
+ }
1444
+ m.alleles.shift();
1445
+ const tmp = lst[8 - 1] == "." ? [] : dissect_INFO(lst[8 - 1]);
1446
+ let badinfokeys = [];
1447
+ if (vcf.info) {
1448
+ badinfokeys = parse_INFO(tmp, m, vcf);
1449
+ } else {
1450
+ m.info = tmp;
1451
+ }
1452
+ const mlst = [];
1453
+ for (const a of m.alleles) {
1454
+ const m2 = {};
1455
+ for (const k in m) {
1456
+ if (k != "alleles") {
1457
+ m2[k] = m[k];
1458
+ }
1459
+ }
1460
+ for (const k in a) {
1461
+ if (k == "allele") {
1462
+ m2.alt = a[k];
1463
+ } else if (k == "info") {
1464
+ m2.altinfo = a[k];
1465
+ } else {
1466
+ m2[k] = a[k];
1467
+ }
1468
+ }
1469
+ if (!m2.issymbolicallele && m2.alt != "NON_REF") {
1470
+ m2.type = getVariantType(m2.ref, m2.alt);
1471
+ }
1472
+ mlst.push(m2);
1473
+ }
1474
+ return [
1475
+ badinfokeys.length ? "unknown info keys: " + badinfokeys.join(",") : null,
1476
+ mlst,
1477
+ altinvalid.length > 0 ? altinvalid : null
1478
+ ];
1479
+ }
1480
+ function correctRefAlt(p, ref, alt) {
1481
+ while (ref.length > 1 && alt.length > 1 && ref[ref.length - 1] == alt[alt.length - 1]) {
1482
+ ref = ref.substr(0, ref.length - 1);
1483
+ alt = alt.substr(0, alt.length - 1);
1484
+ }
1485
+ while (ref.length > 1 && alt.length > 1 && ref[0] == alt[0]) {
1486
+ ref = ref.substr(1);
1487
+ alt = alt.substr(1);
1488
+ p++;
1489
+ }
1490
+ return [p, ref, alt];
1491
+ }
1492
+ function parse_FORMAT2(lst, m, vcf) {
1493
+ const formatfields = lst[9 - 1].split(":");
1494
+ for (let _sampleidx = 9; _sampleidx < lst.length; _sampleidx++) {
1495
+ const valuelst = lst[_sampleidx].split(":");
1496
+ {
1497
+ let none = true;
1498
+ for (const v of valuelst) {
1499
+ if (v != ".") {
1500
+ none = false;
1501
+ break;
1502
+ }
1503
+ }
1504
+ if (none) {
1505
+ continue;
1506
+ }
1507
+ }
1508
+ const sampleidx = _sampleidx - 9;
1509
+ for (let i = 1; i < m.alleles.length; i++) {
1510
+ const sobj = {};
1511
+ if (vcf.samples && vcf.samples[sampleidx]) {
1512
+ for (const k in vcf.samples[sampleidx]) {
1513
+ sobj[k] = vcf.samples[sampleidx][k];
1514
+ }
1515
+ } else {
1516
+ sobj.name = "missing_samplename_from_vcf_header";
1517
+ }
1518
+ m.alleles[i].sampledata.push({
1519
+ sampleobj: sobj
1520
+ });
1521
+ }
1522
+ for (let fi = 0; fi < formatfields.length; fi++) {
1523
+ const field = formatfields[fi];
1524
+ const value = valuelst[fi];
1525
+ if (value == ".") {
1526
+ continue;
1527
+ }
1528
+ if (field == "GT") {
1529
+ const splitter = value.indexOf("/") != -1 ? "/" : "|";
1530
+ let gtsum = 0;
1531
+ let unknowngt = false;
1532
+ const gtalleles = [];
1533
+ for (const i of value.split(splitter)) {
1534
+ if (i == ".") {
1535
+ unknowngt = true;
1536
+ continue;
1537
+ }
1538
+ const j = Number.parseInt(i);
1539
+ if (Number.isNaN(j)) {
1540
+ unknowngt = true;
1541
+ continue;
1542
+ }
1543
+ gtsum += j;
1544
+ const ale = m.alleles[j];
1545
+ if (ale) {
1546
+ gtalleles.push(ale.allele);
1547
+ }
1548
+ }
1549
+ let gtallref = false;
1550
+ if (!unknowngt) {
1551
+ gtallref = gtsum == 0;
1552
+ }
1553
+ const genotype = gtalleles.join(splitter);
1554
+ for (let i = 1; i < m.alleles.length; i++) {
1555
+ const ms = m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1];
1556
+ ms.GT = value;
1557
+ ms.genotype = genotype;
1558
+ if (gtallref) {
1559
+ ms.gtallref = true;
1560
+ }
1561
+ ms.__gtalleles = gtalleles;
1562
+ }
1563
+ continue;
1564
+ }
1565
+ const formatdesc = vcf.format ? vcf.format[field] : null;
1566
+ if (!formatdesc) {
1567
+ for (let i = 1; i < m.alleles.length; i++) {
1568
+ m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1569
+ }
1570
+ continue;
1571
+ }
1572
+ const isinteger = formatdesc.Type == "Integer";
1573
+ const isfloat = formatdesc.Type == "Float";
1574
+ if (formatdesc.Number && formatdesc.Number == "R" || field == "AD") {
1575
+ const fvlst = value.split(",").map((i) => {
1576
+ if (isinteger) return Number.parseInt(i);
1577
+ if (isfloat) return Number.parseFloat(i);
1578
+ return i;
1579
+ });
1580
+ for (let i = 1; i < m.alleles.length; i++) {
1581
+ if (fvlst[i] != void 0) {
1582
+ const m2 = m.alleles[i];
1583
+ const m2s = m2.sampledata[m2.sampledata.length - 1];
1584
+ m2s[field] = {};
1585
+ m2s[field][m2.ref] = fvlst[0];
1586
+ m2s[field][m2.allele] = fvlst[i];
1587
+ }
1588
+ }
1589
+ continue;
1590
+ }
1591
+ if (formatdesc.Number && formatdesc.Number == "A") {
1592
+ const fvlst = value.split(",").map((i) => {
1593
+ if (isinteger) return Number.parseInt(i);
1594
+ if (isfloat) return Number.parseFloat(i);
1595
+ return i;
1596
+ });
1597
+ for (let i = 1; i < m.alleles.length; i++) {
1598
+ if (fvlst[i - 1] != void 0) {
1599
+ const m2 = m.alleles[i];
1600
+ const m2s = m2.sampledata[m2.sampledata.length - 1];
1601
+ m2s[field] = {};
1602
+ m2s[field][m2.allele] = fvlst[i - 1];
1603
+ }
1604
+ }
1605
+ continue;
1606
+ }
1607
+ for (let i = 1; i < m.alleles.length; i++) {
1608
+ m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1609
+ }
1610
+ }
1611
+ }
1612
+ for (const a of m.alleles) {
1613
+ for (const s of a.sampledata) {
1614
+ if (s.AD) {
1615
+ s.allele2readcount = {};
1616
+ for (const k in s.AD) {
1617
+ s.allele2readcount[k] = s.AD[k];
1618
+ }
1619
+ }
1620
+ }
1621
+ }
1622
+ }
1623
+ function tohash(s, hash2) {
1624
+ const h = {}, err = [];
1625
+ let prev = 0, prevdoublequote = false, k = null;
1626
+ for (let i = 0; i < s.length; i++) {
1627
+ if (s[i] == '"') {
1628
+ i++;
1629
+ const thisstart = i;
1630
+ while (s[i] != '"') {
1631
+ i++;
1632
+ }
1633
+ if (k) {
1634
+ h[k] = s.substring(thisstart, i);
1635
+ k = null;
1636
+ } else {
1637
+ err.push("k undefined before double quotes");
1638
+ }
1639
+ prevdoublequote = true;
1640
+ continue;
1641
+ }
1642
+ if (s[i] == "=") {
1643
+ k = s.substring(prev, i);
1644
+ prev = i + 1;
1645
+ continue;
1646
+ }
1647
+ if (s[i] == ",") {
1648
+ if (prevdoublequote) {
1649
+ prevdoublequote = false;
1650
+ } else {
1651
+ if (k) {
1652
+ h[k] = s.substring(prev, i);
1653
+ k = null;
1654
+ } else {
1655
+ err.push("k undefined");
1656
+ }
1657
+ }
1658
+ prev = i + 1;
1659
+ continue;
1660
+ }
1661
+ }
1662
+ if (k) {
1663
+ h[k] = s.substring(prev);
1664
+ }
1665
+ if (h.ID) {
1666
+ hash2[h.ID] = h;
1667
+ } else {
1668
+ return "no ID";
1669
+ }
1670
+ if (err.length) return err.join("\n");
1671
+ }
1672
+ function parse_INFO(tmp, m, vcf) {
1673
+ const badinfokeys = [];
1674
+ for (const key in tmp) {
1675
+ if (vcf.info[key] == void 0) {
1676
+ badinfokeys.push(key);
1677
+ continue;
1678
+ }
1679
+ const value = tmp[key];
1680
+ if (key == "CSQ") {
1681
+ const okay = parse_CSQ(value, vcf.info.CSQ.csqheader, m);
1682
+ if (!okay) {
1683
+ m.info[key] = value;
1684
+ }
1685
+ continue;
1686
+ }
1687
+ if (key == "ANN") {
1688
+ const okay = parse_ANN(value, vcf.info.ANN.annheader, m);
1689
+ if (!okay) {
1690
+ m.info[key] = value;
1691
+ }
1692
+ continue;
1693
+ }
1694
+ if (vcf.info[key].Type == "Flag") {
1695
+ m.info[key] = key;
1696
+ continue;
1697
+ }
1698
+ const __number = vcf.info[key].Number;
1699
+ const isinteger = vcf.info[key].Type == "Integer";
1700
+ const isfloat = vcf.info[key].Type == "Float";
1701
+ if (__number == "0") {
1702
+ m.info[key] = key;
1703
+ continue;
1704
+ }
1705
+ if (__number == "A") {
1706
+ const tt = value.split(",");
1707
+ for (let j = 0; j < tt.length; j++) {
1708
+ if (m.alleles[j]) {
1709
+ m.alleles[j].info[key] = isinteger ? Number.parseInt(tt[j]) : isfloat ? Number.parseFloat(tt[j]) : tt[j];
1710
+ }
1711
+ }
1712
+ continue;
1713
+ }
1714
+ if (__number == "R") {
1715
+ }
1716
+ if (__number == "1") {
1717
+ m.info[key] = isinteger ? Number.parseInt(value) : isfloat ? Number.parseFloat(value) : value;
1718
+ continue;
1719
+ }
1720
+ if (!value.split) {
1721
+ continue;
1722
+ }
1723
+ const lst = value.split(",");
1724
+ if (isinteger) {
1725
+ m.info[key] = lst.map(Number.parseInt);
1726
+ } else if (isfloat) {
1727
+ m.info[key] = lst.map(Number.parseFloat);
1728
+ } else {
1729
+ m.info[key] = lst;
1730
+ }
1731
+ }
1732
+ return badinfokeys;
1733
+ }
1734
+
1735
+ // common/auth.js
1736
+ var jwtByDsRoute;
1737
+ function setJwtByDsRoute() {
1738
+ if (jwtByDsRoute) return;
1739
+ const jwtByDsRouteStr = localStorage.getItem("jwtByDsRoute") || `{}`;
1740
+ jwtByDsRoute = JSON.parse(jwtByDsRouteStr);
1741
+ }
1742
+ function setTokenByDsRoute(dslabel, route, jwt) {
1743
+ setJwtByDsRoute();
1744
+ if (!jwtByDsRoute[dslabel]) jwtByDsRoute[dslabel] = {};
1745
+ if (jwt) jwtByDsRoute[dslabel][route] = jwt;
1746
+ else delete jwtByDsRoute[dslabel][route];
1747
+ localStorage.setItem("jwtByDsRoute", JSON.stringify(jwtByDsRoute));
1748
+ }
1749
+ function getSavedToken(dslabel, route) {
1750
+ setJwtByDsRoute();
1751
+ return jwtByDsRoute[dslabel]?.[route] || jwtByDsRoute[dslabel]?.["/**"];
1752
+ }
1753
+ function mayAddJwtToRequest(init, body, url) {
1754
+ if (init.headers.authorization) return;
1755
+ let dslabel = body?.dslabel;
1756
+ if (!dslabel) {
1757
+ const param = url.split("?")[1]?.split("&").find((kv) => kv.includes("dslabel"));
1758
+ if (!param) return;
1759
+ let value = decodeURIComponent(param.split("=")[1]);
1760
+ if (value.startsWith("{") && value.endsWith("}")) {
1761
+ value = JSON.parse(value);
1762
+ dslabel = value.dslabel || value.mass?.vocab.dslabel || value.tracks?.find((t) => t.dslabel)?.dslabel;
1763
+ } else {
1764
+ dslabel = value;
1765
+ }
1766
+ }
1767
+ setJwtByDsRoute();
1768
+ if (!dslabel || !jwtByDsRoute[dslabel]) return;
1769
+ const h = url.split("//");
1770
+ const postProtocolStr = h[1] || h[0];
1771
+ const preQuestionMarkStr = postProtocolStr.split("?")[0];
1772
+ const pathSegments = preQuestionMarkStr.split("/");
1773
+ let route = pathSegments.find((p) => p != "" && !p.includes(":") && !p.includes("."));
1774
+ const jwt = jwtByDsRoute[dslabel][route] || jwtByDsRoute[dslabel]["/**"];
1775
+ if (jwt) init.headers.authorization = "Bearer " + btoa(jwt);
1776
+ }
1777
+ var dsAuthOk = /* @__PURE__ */ new Set();
1778
+ var dsAuth;
1779
+ var authUi;
1780
+ var authUiHolder;
1781
+ var includeEmbedder = false;
1782
+ async function setDsAuthOk(opts) {
1783
+ dsAuth = opts.dsAuth;
1784
+ authUi = opts.ui || defaultAuthUi;
1785
+ authUiHolder = opts.holder || select_default("body");
1786
+ for (const auth of dsAuth) {
1787
+ if (auth.insession) dsAuthOk.add(auth);
1788
+ }
1789
+ includeEmbedder = opts.dsAuth?.length > 0 || false;
1790
+ }
1791
+ function getRequiredAuth(dslabel, route) {
1792
+ if (!dsAuth || !Array.isArray(dsAuth)) return;
1793
+ for (const a of dsAuth) {
1794
+ if (a.dslabel == dslabel && (a.route == route || a.route == "*" || a.route == "/**")) return a;
1795
+ }
1796
+ }
1797
+ async function isInSession(dslabel, route) {
1798
+ if (!dslabel) return false;
1799
+ if (!Array.isArray(dsAuth)) return false;
1800
+ for (const a of dsAuth) {
1801
+ if (a.dslabel != dslabel || a.route != route && a.route != "/**") continue;
1802
+ if (dsAuthOk.has(a)) return true;
1803
+ if (a.checked) return false;
1804
+ const jwt = getSavedToken(dslabel, a.route);
1805
+ if (!jwt) return false;
1806
+ const { dofetch3: dofetch32 } = await import("./dofetch-GZ7POIBV.js");
1807
+ const payload = decodeJwtPayload(jwt);
1808
+ if (payload.exp && Math.ceil(Date.now() / 1e3) > payload.exp) return false;
1809
+ const data = await dofetch32("/jwt-status", {
1810
+ method: "POST",
1811
+ credentials: "include",
1812
+ headers: {
1813
+ //authorization: `Bearer ${btoa(jwt)}`
1814
+ [a.headerKey]: jwt
1815
+ },
1816
+ body: {
1817
+ dslabel,
1818
+ route,
1819
+ embedder: location.hostname
1820
+ }
1821
+ });
1822
+ a.checked = true;
1823
+ if (data.ok || data.status == "ok") {
1824
+ dsAuthOk.add(a);
1825
+ a.insession = true;
1826
+ return true;
1827
+ }
1828
+ }
1829
+ return false;
1830
+ }
1831
+ async function mayShowAuthUi(init, path, opts = {}) {
1832
+ const ok = { status: "ok" };
1833
+ if (!dsAuth || path.endsWith("jwt-status")) return ok;
1834
+ const body = JSON.parse(init.body || `{}`);
1835
+ const params = (path.split("?")[1] || "").split("&").reduce((obj, kv) => {
1836
+ const [key, value] = kv.split("=");
1837
+ obj[key] = value;
1838
+ return obj;
1839
+ }, {});
1840
+ const q = Object.assign({}, body, params);
1841
+ const route = ((path.split("?")[0] || "").split("//")[1] || "").split("/").slice(1).join("/");
1842
+ for (const a of dsAuth) {
1843
+ if (q.dslabel == a.dslabel && (a.route == "/**" || route == a.route)) {
1844
+ if (dsAuthOk.has(a)) return ok;
1845
+ else if (a.route != "/**") return ok;
1846
+ else if (a.type == "basic") return await authUi(a.dslabel, a, opts);
1847
+ else if (a.type == "jwt") {
1848
+ } else if (a.type == "forbidden") {
1849
+ alert("Forbidden access");
1850
+ } else throw `unsupported dsAuth type='${a.type}'`;
1851
+ }
1852
+ }
1853
+ return ok;
1854
+ }
1855
+ async function defaultAuthUi(dslabel, auth, opts = {}) {
1856
+ 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)");
1857
+ const form = mask.append("div").style("opacity", 1);
1858
+ form.append("div").html(`Restricted dataset '${dslabel}'`);
1859
+ form.append("span").html("Please enter password ");
1860
+ const pwd = form.append("input").attr("type", "password");
1861
+ pwd.node().focus();
1862
+ const btn = form.append("button").html("Submit");
1863
+ return new Promise((resolve, reject) => {
1864
+ function login() {
1865
+ fetch("/dslogin", {
1866
+ method: "POST",
1867
+ headers: {
1868
+ authorization: `Basic ${btoa(pwd.property("value"))}`
1869
+ },
1870
+ body: JSON.stringify({ dslabel, route: auth.route, embedder: window.location.hostname })
1871
+ }).then((res) => res.json()).then((res) => {
1872
+ if (res.error) throw res.error;
1873
+ mask.remove();
1874
+ dsAuthOk.add(auth);
1875
+ if (res.jwt) {
1876
+ setTokenByDsRoute(dslabel, res.route, res.jwt);
1877
+ }
1878
+ if (!opts.setDomRefs) window.location.reload();
1879
+ else resolve(dslabel);
1880
+ }).catch((e) => {
1881
+ alert("login error: " + e);
1882
+ });
1883
+ }
1884
+ btn.on("click", login);
1885
+ pwd.on("change", login);
1886
+ if (opts.setDomRefs)
1887
+ opts.setDomRefs({
1888
+ pwd,
1889
+ btn,
1890
+ mask,
1891
+ authUiHolder
1892
+ });
1893
+ });
1894
+ }
1895
+ function decodeJwtPayload(token) {
1896
+ const base64Url = token.split(".")[1];
1897
+ const base64 = base64Url.replace(/-/g, "+").replace(/_/g, "/");
1898
+ const paddedBase64 = base64 + "=".repeat((4 - base64.length % 4) % 4);
1899
+ const jsonPayload = decodeURIComponent(window.atob(paddedBase64).split("").map(convertAtoBresult).join(""));
1900
+ return JSON.parse(jsonPayload);
1901
+ }
1902
+ function convertAtoBresult(c) {
1903
+ return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
1904
+ }
1905
+
1906
+ // common/dofetch.js
1907
+ function dofetch(path, arg, opts = null) {
1908
+ if (opts && typeof opts == "object") {
1909
+ if (opts.serverData && typeof opts.serverData == "object") {
1910
+ if (!dofetch.serverData) {
1911
+ dofetch.serverData = opts.serverData;
1912
+ } else if (!opts.serverData) {
1913
+ opts.serverData = dofetch.serverData;
1914
+ }
1915
+ }
1916
+ return dofetch2(
1917
+ path,
1918
+ {
1919
+ method: "POST",
1920
+ headers: {
1921
+ "content-type": "application/json"
1922
+ },
1923
+ body: JSON.stringify(arg)
1924
+ },
1925
+ opts
1926
+ );
1927
+ } else {
1928
+ if (path[0] == "/") {
1929
+ path = path.slice(1);
1930
+ }
1931
+ const jwt = sessionStorage.getItem("jwt");
1932
+ if (jwt) {
1933
+ arg.jwt = jwt;
1934
+ }
1935
+ let url = path;
1936
+ const host = sessionStorage.getItem("hostURL") || window.testHost || "";
1937
+ if (host) {
1938
+ if (host.endsWith("/")) {
1939
+ url = host + path;
1940
+ } else {
1941
+ url = host + "/" + path;
1942
+ }
1943
+ }
1944
+ return fetch(
1945
+ new Request(url, {
1946
+ method: "POST",
1947
+ headers: {
1948
+ "content-type": "application/json"
1949
+ },
1950
+ body: JSON.stringify(arg)
1951
+ })
1952
+ ).then((r) => r.json());
1953
+ }
1954
+ }
1955
+ function dofetch2(path, init = {}, opts = {}) {
1956
+ if (path[0] == "/") {
1957
+ path = path.slice(1);
1958
+ }
1959
+ let url = path;
1960
+ const host = sessionStorage.getItem("hostURL") || window.testHost || "";
1961
+ if (host) {
1962
+ if (host.endsWith("/")) {
1963
+ url = host + path;
1964
+ } else {
1965
+ url = host + "/" + path;
1966
+ }
1967
+ }
1968
+ const body = init.body || {};
1969
+ url = mayAdjustRequest(url, init);
1970
+ if (!init.headers) {
1971
+ init.headers = {};
1972
+ }
1973
+ if (!init.headers["content-type"] && init.body) {
1974
+ init.headers["content-type"] = "application/json";
1975
+ }
1976
+ const jwt = sessionStorage.getItem("jwt");
1977
+ if (jwt) {
1978
+ init.headers.authorization = "Bearer " + jwt;
1979
+ }
1980
+ return mayShowAuthUi(init, url).then(async () => {
1981
+ if (!jwt) mayAddJwtToRequest(init, body, url);
1982
+ if (opts.serverData) {
1983
+ return namedFetch(url, init, opts);
1984
+ } else {
1985
+ return fetch(url, init).then(processResponse);
1986
+ }
1987
+ });
1988
+ }
1989
+ var optsServerDataNames = /* @__PURE__ */ new WeakMap();
1990
+ async function namedFetch(url, init, opts = {}) {
1991
+ if (!opts.serverData) throw `use ezFetch() from fetch-helpers if a fetched response is not meant to be cached`;
1992
+ if (typeof opts.serverData != "object") throw `opts.serverData is not an object`;
1993
+ let result;
1994
+ const dataName = await getDataName(url, init);
1995
+ if (opts.serverData[dataName]) {
1996
+ if (init.signal) {
1997
+ await sleep(0);
1998
+ if (init.signal.aborted) throw `stale sequenceId`;
1999
+ }
2000
+ result = structuredClone(opts.serverData[dataName]);
2001
+ }
2002
+ if (!result || typeof result != "object" && !(result instanceof Promise)) {
2003
+ delete opts.serverData[dataName];
2004
+ result = void 0;
2005
+ }
2006
+ if (!result) {
2007
+ try {
2008
+ const res = await fetch(url, init);
2009
+ result = await processResponse(res);
2010
+ if (typeof result == "object" && !(result instanceof Promise)) {
2011
+ deepFreeze(result);
2012
+ opts.serverData[dataName] = result;
2013
+ result = structuredClone(result);
2014
+ }
2015
+ } catch (e) {
2016
+ delete opts.serverData[dataName];
2017
+ throw e;
2018
+ }
2019
+ }
2020
+ if (!optsServerDataNames.has(opts.serverData)) optsServerDataNames.set(opts.serverData, []);
2021
+ const keys = optsServerDataNames.get(opts.serverData);
2022
+ const i = keys.indexOf(dataName);
2023
+ if (i > 0) {
2024
+ keys.splice(i, 1);
2025
+ }
2026
+ keys.unshift(dataName);
2027
+ const maxKeys = 360;
2028
+ while (keys.length > maxKeys) {
2029
+ const oldestDataKey = keys.pop();
2030
+ delete opts.serverData[oldestDataKey];
2031
+ }
2032
+ return result;
2033
+ }
2034
+ var defaultServerDataCache = {};
2035
+ function dofetch3(path, init = {}, opts = {}) {
2036
+ if (!init.signal && this) {
2037
+ init.signal = this.getAbortSignal?.() || this.app?.getAbortSignal?.();
2038
+ }
2039
+ opts.serverData = defaultServerDataCache;
2040
+ return dofetch2(path, init, opts);
2041
+ }
2042
+ function clearServerDataCache(opts = {}) {
2043
+ const cache = opts?.serverData || defaultServerDataCache;
2044
+ if (!cache) return;
2045
+ for (const k of Object.keys(cache)) {
2046
+ delete cache[k];
2047
+ }
2048
+ }
2049
+ var urlMaxLength = 2e3;
2050
+ function mayAdjustRequest(url, init) {
2051
+ const hostname = window.location.hostname;
2052
+ const method = init.method && init.method.toUpperCase() || "GET";
2053
+ if (method == "POST") {
2054
+ if (typeof init.body == "string") init.body = JSON.parse(init.body);
2055
+ if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2056
+ init.body = JSON.stringify(init.body);
2057
+ return url;
2058
+ }
2059
+ if (method != "GET" && method != "DELETE" && method != "PUT") {
2060
+ throw `unsupported init.method='${method}': must be undefined or GET or POST or DELETE or PUT`;
2061
+ }
2062
+ if (init.body) {
2063
+ if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2064
+ const params = encode(init.body);
2065
+ if (!url.includes("?")) url += "?";
2066
+ url += params;
2067
+ }
2068
+ if (!url.includes("embedder=") && includeEmbedder) {
2069
+ const sep = url.includes("?") ? "&" : "?";
2070
+ url += `${sep}embedder=${hostname}`;
2071
+ }
2072
+ if (url.length < urlMaxLength) {
2073
+ if (init.body) delete init.body;
2074
+ return url;
2075
+ }
2076
+ init.method = "POST";
2077
+ const [hostpath, query] = url.split("?");
2078
+ if (init.body) {
2079
+ init.body = JSON.stringify(init.body);
2080
+ } else {
2081
+ const params = {};
2082
+ if (query)
2083
+ query.split("&").forEach((p) => {
2084
+ const [k, v] = p.split("=");
2085
+ const decodedVal = decodeURIComponent(v);
2086
+ try {
2087
+ params[k] = JSON.parse(decodedVal);
2088
+ } catch {
2089
+ params[k] = decodedVal;
2090
+ }
2091
+ });
2092
+ if (!params.embedder && includeEmbedder) params.embedder = hostname;
2093
+ init.body = JSON.stringify(params);
2094
+ }
2095
+ return hostpath;
2096
+ }
2097
+ function setAuth(opts) {
2098
+ setDsAuthOk(opts, dofetch3);
2099
+ }
2100
+
2101
+ export {
2102
+ boxplot_getvalue,
2103
+ init_bulk_flag,
2104
+ parsesample,
2105
+ clusterMethodLst,
2106
+ distanceMethodLst,
2107
+ computePercentile,
2108
+ processFormData,
2109
+ fileSize,
2110
+ ssmIdFieldsSeparator,
2111
+ summarize_mclass,
2112
+ guessSsmid,
2113
+ xAxisOffSet,
2114
+ yAxisOffSet,
2115
+ getCoordinate,
2116
+ calculatePadding,
2117
+ compute_bins,
2118
+ get_bin_label,
2119
+ get_bin_range_equation,
2120
+ initBinConfig,
2121
+ isUsableTerm,
2122
+ formatElapsedTime,
2123
+ vcfparsemeta,
2124
+ vcfparseline,
2125
+ setTokenByDsRoute,
2126
+ getSavedToken,
2127
+ mayAddJwtToRequest,
2128
+ includeEmbedder,
2129
+ setDsAuthOk,
2130
+ getRequiredAuth,
2131
+ isInSession,
2132
+ mayShowAuthUi,
2133
+ dofetch,
2134
+ dofetch2,
2135
+ namedFetch,
2136
+ dofetch3,
2137
+ clearServerDataCache,
2138
+ setAuth
2139
+ };
2140
+ //# sourceMappingURL=chunk-VMRO6DMC.js.map